@mittwald/flow-react-components 0.2.0-alpha.121 → 0.2.0-alpha.122
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 +4 -0
- package/dist/assets/doc-properties.json +3375 -3401
- package/dist/js/components/src/components/List/components/Items/components/Item/components/ListItemSkeletonView/ListItemSkeletonView.mjs +3 -4
- package/dist/js/components/src/components/List/components/Items/components/Item/components/ListItemSkeletonView/ListItemSkeletonView.mjs.map +1 -1
- package/dist/js/components/src/components/List/components/ListItemView/ListItemView.mjs +6 -7
- package/dist/js/components/src/components/List/components/ListItemView/ListItemView.mjs.map +1 -1
- package/dist/js/index.mjs +0 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/types/components/List/components/Items/components/Item/components/ListItemSkeletonView/ListItemSkeletonView.d.ts.map +1 -1
- package/dist/types/components/List/components/ListItemView/ListItemView.d.ts.map +1 -1
- package/dist/types/components/public.d.ts +0 -1
- package/dist/types/components/public.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/js/components/src/components/Fragment/Fragment.mjs +0 -11
- package/dist/js/components/src/components/Fragment/Fragment.mjs.map +0 -1
- package/dist/js/components/src/views/FragmentView.mjs +0 -14
- package/dist/js/components/src/views/FragmentView.mjs.map +0 -1
- package/dist/types/components/Fragment/Fragment.d.ts +0 -6
- package/dist/types/components/Fragment/Fragment.d.ts.map +0 -1
- package/dist/types/components/Fragment/index.d.ts +0 -4
- package/dist/types/components/Fragment/index.d.ts.map +0 -1
- package/dist/types/components/Fragment/view.d.ts +0 -8
- package/dist/types/components/Fragment/view.d.ts.map +0 -1
- package/dist/types/views/FragmentView.d.ts +0 -5
- package/dist/types/views/FragmentView.d.ts.map +0 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import AvatarView from '../../../../../../../../views/AvatarView.mjs';
|
|
5
|
-
import FragmentView from '../../../../../../../../views/FragmentView.mjs';
|
|
6
5
|
import HeadingView from '../../../../../../../../views/HeadingView.mjs';
|
|
7
6
|
import ListItemViewContentView from '../../../../../../../../views/ListItemViewContentView.mjs';
|
|
8
7
|
import SkeletonTextView from '../../../../../../../../views/SkeletonTextView.mjs';
|
|
@@ -16,9 +15,9 @@ const ListItemSkeletonView = (props) => {
|
|
|
16
15
|
ListItemViewContentView,
|
|
17
16
|
{
|
|
18
17
|
viewMode,
|
|
19
|
-
title: /* @__PURE__ */ jsx(
|
|
20
|
-
avatar: showTiles && /* @__PURE__ */ jsx(
|
|
21
|
-
subTitle: /* @__PURE__ */ jsx(
|
|
18
|
+
title: /* @__PURE__ */ jsx(HeadingView, { children: /* @__PURE__ */ jsx(SkeletonTextView, { width: "200px" }) }),
|
|
19
|
+
avatar: showTiles && /* @__PURE__ */ jsx(AvatarView, { children: /* @__PURE__ */ jsx(SkeletonView, { style: { aspectRatio: 16 / 9 } }) }),
|
|
20
|
+
subTitle: /* @__PURE__ */ jsx(TextView, { children: /* @__PURE__ */ jsx(SkeletonTextView, { width: "300px" }) })
|
|
22
21
|
}
|
|
23
22
|
);
|
|
24
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemSkeletonView.mjs","sources":["../../../../../../../../../../../../src/components/List/components/Items/components/Item/components/ListItemSkeletonView/ListItemSkeletonView.tsx"],"sourcesContent":["import type { ListViewMode } from \"@/components/List/model/types\";\nimport AvatarView from \"@/views/AvatarView\";\nimport
|
|
1
|
+
{"version":3,"file":"ListItemSkeletonView.mjs","sources":["../../../../../../../../../../../../src/components/List/components/Items/components/Item/components/ListItemSkeletonView/ListItemSkeletonView.tsx"],"sourcesContent":["import type { ListViewMode } from \"@/components/List/model/types\";\nimport AvatarView from \"@/views/AvatarView\";\nimport HeadingView from \"@/views/HeadingView\";\nimport ListItemViewContentView from \"@/views/ListItemViewContentView\";\nimport SkeletonTextView from \"@/views/SkeletonTextView\";\nimport SkeletonView from \"@/views/SkeletonView\";\nimport TextView from \"@/views/TextView\";\nimport type { FC } from \"react\";\n\nexport interface ListItemSkeletonViewProps {\n viewMode: ListViewMode;\n}\n\nexport const ListItemSkeletonView: FC<ListItemSkeletonViewProps> = (props) => {\n const { viewMode } = props;\n\n const showTiles = viewMode === \"tiles\";\n\n return (\n <ListItemViewContentView\n viewMode={viewMode}\n title={\n <HeadingView>\n <SkeletonTextView width=\"200px\" />\n </HeadingView>\n }\n avatar={\n showTiles && (\n <AvatarView>\n <SkeletonView style={{ aspectRatio: 16 / 9 }} />\n </AvatarView>\n )\n }\n subTitle={\n <TextView>\n <SkeletonTextView width=\"300px\" />\n </TextView>\n }\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;;AAaa,MAAA,oBAAA,GAAsD,CAAC,KAAU,KAAA;AAC5E,EAAM,MAAA,EAAE,UAAa,GAAA,KAAA;AAErB,EAAA,MAAM,YAAY,QAAa,KAAA,OAAA;AAE/B,EACE,uBAAA,GAAA;AAAA,IAAC,uBAAA;AAAA,IAAA;AAAA,MACC,QAAA;AAAA,MACA,uBACG,GAAA,CAAA,WAAA,EAAA,EACC,8BAAC,gBAAiB,EAAA,EAAA,KAAA,EAAM,SAAQ,CAClC,EAAA,CAAA;AAAA,MAEF,MACE,EAAA,SAAA,oBACG,GAAA,CAAA,UAAA,EAAA,EACC,QAAC,kBAAA,GAAA,CAAA,YAAA,EAAA,EAAa,KAAO,EAAA,EAAE,WAAa,EAAA,EAAA,GAAK,CAAE,EAAA,EAAG,CAChD,EAAA,CAAA;AAAA,MAGJ,0BACG,GAAA,CAAA,QAAA,EAAA,EACC,8BAAC,gBAAiB,EAAA,EAAA,KAAA,EAAM,SAAQ,CAClC,EAAA;AAAA;AAAA,GAEJ;AAEJ;;;;"}
|
|
@@ -5,7 +5,6 @@ import 'react';
|
|
|
5
5
|
import styles from './ListItemView.module.scss.mjs';
|
|
6
6
|
import { TunnelProvider, TunnelExit } from '@mittwald/react-tunnel';
|
|
7
7
|
import ListItemViewContentView from '../../../../views/ListItemViewContentView.mjs';
|
|
8
|
-
import FragmentView from '../../../../views/FragmentView.mjs';
|
|
9
8
|
import '../../../../lib/propsContext/propsContext.mjs';
|
|
10
9
|
import '../../../../lib/viewComponentContext/viewComponentContext.mjs';
|
|
11
10
|
import { dynamic } from '../../../../lib/propsContext/dynamicProps/dynamic.mjs';
|
|
@@ -69,12 +68,12 @@ const ListItemView = (props) => {
|
|
|
69
68
|
ListItemViewContentView,
|
|
70
69
|
{
|
|
71
70
|
viewMode: list.viewMode,
|
|
72
|
-
title: /* @__PURE__ */ jsx(
|
|
73
|
-
avatar: /* @__PURE__ */ jsx(
|
|
74
|
-
button: /* @__PURE__ */ jsx(
|
|
75
|
-
subTitle: /* @__PURE__ */ jsx(
|
|
76
|
-
bottom: /* @__PURE__ */ jsx(
|
|
77
|
-
checkbox: /* @__PURE__ */ jsx(
|
|
71
|
+
title: /* @__PURE__ */ jsx(TunnelExit, { id: "title" }),
|
|
72
|
+
avatar: /* @__PURE__ */ jsx(TunnelExit, { id: "avatar" }),
|
|
73
|
+
button: /* @__PURE__ */ jsx(TunnelExit, { id: "button" }),
|
|
74
|
+
subTitle: /* @__PURE__ */ jsx(TunnelExit, { id: "text" }),
|
|
75
|
+
bottom: /* @__PURE__ */ jsx(TunnelExit, { id: "bottom" }),
|
|
76
|
+
checkbox: /* @__PURE__ */ jsx(TunnelExit, { id: "checkbox" }),
|
|
78
77
|
children
|
|
79
78
|
}
|
|
80
79
|
) }) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemView.mjs","sources":["../../../../../../../../src/components/List/components/ListItemView/ListItemView.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport styles from \"./ListItemView.module.scss\";\nimport { TunnelExit, TunnelProvider } from \"@mittwald/react-tunnel\";\nimport ListItemViewContentView from \"@/views/ListItemViewContentView\";\nimport
|
|
1
|
+
{"version":3,"file":"ListItemView.mjs","sources":["../../../../../../../../src/components/List/components/ListItemView/ListItemView.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport styles from \"./ListItemView.module.scss\";\nimport { TunnelExit, TunnelProvider } from \"@mittwald/react-tunnel\";\nimport ListItemViewContentView from \"@/views/ListItemViewContentView\";\nimport {\n dynamic,\n type PropsContext,\n PropsContextProvider,\n} from \"@/lib/propsContext\";\nimport { OptionsButton } from \"@/components/List/components/Items/components/Item/components/OptionsButton\";\nimport { useList } from \"@/components/List\";\n\nexport type ListItemViewProps = PropsWithChildren;\n\nexport const ListItemView = (props: ListItemViewProps) => {\n const { children } = props;\n const list = useList();\n\n const propsContext: PropsContext = {\n ContextMenu: {\n tunnelId: \"button\",\n wrapWith: <OptionsButton className={styles.action} />,\n },\n Button: {\n tunnelId: \"button\",\n },\n ActionGroup: {\n tunnelId: \"button\",\n Button: {\n tunnelId: null,\n },\n },\n Avatar: {\n tunnelId: \"avatar\",\n },\n Heading: {\n tunnelId: \"title\",\n },\n Text: {\n tunnelId: \"text\",\n },\n Content: {\n tunnelId: dynamic((p) => (p.slot === \"bottom\" ? \"bottom\" : undefined)),\n },\n Checkbox: {\n tunnelId: \"checkbox\",\n },\n };\n\n return (\n <PropsContextProvider props={propsContext} mergeInParentContext>\n <TunnelProvider>\n <ListItemViewContentView\n viewMode={list.viewMode}\n title={<TunnelExit id=\"title\" />}\n avatar={<TunnelExit id=\"avatar\" />}\n button={<TunnelExit id=\"button\" />}\n subTitle={<TunnelExit id=\"text\" />}\n bottom={<TunnelExit id=\"bottom\" />}\n checkbox={<TunnelExit id=\"checkbox\" />}\n >\n {children}\n </ListItemViewContentView>\n </TunnelProvider>\n </PropsContextProvider>\n );\n};\n\nexport default ListItemView;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAea,MAAA,YAAA,GAAe,CAAC,KAA6B,KAAA;AACxD,EAAM,MAAA,EAAE,UAAa,GAAA,KAAA;AACrB,EAAA,MAA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UAAW,EAAA,EAAA,EAAA,EAAG,MAAO,EAAA,CAAA;AAAA,MAChC,MAAQ,kBAAA,GAAA,CAAC,UAAW,EAAA,EAAA,EAAA,EAAG,QAAS,EAAA,CAAA;AAAA,MAChC,QAAU,kBAAA,GAAA,CAAC,UAAW,EAAA,EAAA,EAAA,EAAG,UAAW,EAAA,CAAA;AAAA,MAEnC;AAAA;AAAA,KAEL,CACF,EAAA,CAAA;AAEJ;;;;"}
|
package/dist/js/index.mjs
CHANGED
|
@@ -45,7 +45,6 @@ export { FileCardList } from './components/src/components/FileCardList/FileCardL
|
|
|
45
45
|
export { FileDropZone } from './components/src/components/FileDropZone/FileDropZone.mjs';
|
|
46
46
|
export { FileField } from './components/src/components/FileField/FileField.mjs';
|
|
47
47
|
export { Flex } from './components/src/components/Flex/Flex.mjs';
|
|
48
|
-
export { Fragment } from './components/src/components/Fragment/Fragment.mjs';
|
|
49
48
|
export { Header } from './components/src/components/Header/Header.mjs';
|
|
50
49
|
export { HeaderNavigation } from './components/src/components/HeaderNavigation/HeaderNavigation.mjs';
|
|
51
50
|
export { Heading } from './components/src/components/Heading/Heading.mjs';
|
package/dist/js/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemSkeletonView.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/List/components/Items/components/Item/components/ListItemSkeletonView/ListItemSkeletonView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemSkeletonView.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/List/components/Items/components/Item/components/ListItemSkeletonView/ListItemSkeletonView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAOlE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA2B9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/ListItemView/ListItemView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/components/ListItemView/ListItemView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAa/C,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;AAElD,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAoDpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/public.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CA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
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.122",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@chakra-ui/live-region": "^2.1.0",
|
|
55
55
|
"@internationalized/string-compiler": "^3.2.6",
|
|
56
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
56
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.122",
|
|
57
57
|
"@mittwald/react-use-promise": "^3.0.3",
|
|
58
58
|
"@react-aria/form": "^3.0.14",
|
|
59
59
|
"@react-aria/utils": "^3.28.1",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@faker-js/faker": "^9.6.0",
|
|
94
94
|
"@internationalized/date": "^3.7.0",
|
|
95
95
|
"@mfalkenberg/remote-dom-react": "1.2.3",
|
|
96
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
96
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.122",
|
|
97
97
|
"@mittwald/react-use-promise": "^2.6.0",
|
|
98
98
|
"@mittwald/typescript-config": "",
|
|
99
99
|
"@nx/storybook": "^20.5.0",
|
|
@@ -173,5 +173,5 @@
|
|
|
173
173
|
"optional": true
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
|
-
"gitHead": "
|
|
176
|
+
"gitHead": "0a76c08c4fb890fea379e21d3e4196d3ee025987"
|
|
177
177
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import { jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
4
|
-
import 'react';
|
|
5
|
-
|
|
6
|
-
const Fragment = (props) => {
|
|
7
|
-
return /* @__PURE__ */ jsx(Fragment$1, { children: props.children });
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export { Fragment, Fragment as default };
|
|
11
|
-
//# sourceMappingURL=Fragment.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Fragment.mjs","sources":["../../../../../../src/components/Fragment/Fragment.tsx"],"sourcesContent":["import type { FC, PropsWithChildren } from \"react\";\nimport React from \"react\";\n\nexport type FragmentProps = PropsWithChildren;\n\n/** @flr-generate all */\nexport const Fragment: FC<FragmentProps> = (props) => {\n return <>{props.children}</>;\n};\n\nexport default Fragment;\n"],"names":["Fragment"],"mappings":";;;AAMa,MAAA,QAAA,GAA8B,CAAC,KAAU,KAAA;AACpD,EAAA,uBAAOA,GAAAA,CAAAA,UAAAA,EAAA,EAAG,QAAA,EAAA,KAAA,CAAM,QAAS,EAAA,CAAA;AAC3B;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
import { useContext } from 'react';
|
|
5
|
-
import { Fragment } from '../components/Fragment/Fragment.mjs';
|
|
6
|
-
import { viewComponentContext } from '../lib/viewComponentContext/viewComponentContext.mjs';
|
|
7
|
-
|
|
8
|
-
const FragmentView = (props) => {
|
|
9
|
-
const View = useContext(viewComponentContext)["Fragment"] ?? Fragment;
|
|
10
|
-
return /* @__PURE__ */ jsx(View, { ...props });
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { FragmentView as default };
|
|
14
|
-
//# sourceMappingURL=FragmentView.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FragmentView.mjs","sources":["../../../../../src/views/FragmentView.tsx"],"sourcesContent":["/* prettier-ignore */\n/* This file is auto-generated with the remote-components-generator */\nimport React, { type FC, useContext } from \"react\";\nimport { Fragment, type FragmentProps } from \"@/components/Fragment\";\nimport { viewComponentContext } from \"@/lib/viewComponentContext/viewComponentContext\";\n\nconst FragmentView: FC<FragmentProps> = (props) => {\n const View = useContext(viewComponentContext)[\"Fragment\"] ?? Fragment;\n return <View {...props} />;\n};\n\nexport default FragmentView;\n"],"names":[],"mappings":";;;;;AAMM,MAAA,YAAA,GAAkC,CAAC,KAAU,KAAA;AACjD,EAAA,MAAM,IAAO,GAAA,UAAA,CAAW,oBAAoB,CAAA,CAAE,UAAU,CAAK,IAAA,QAAA;AAC7D,EAAO,uBAAA,GAAA,CAAC,IAAM,EAAA,EAAA,GAAG,KAAO,EAAA,CAAA;AAC1B;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Fragment.d.ts","sourceRoot":"","sources":["../../../../src/components/Fragment/Fragment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAE9C,wBAAwB;AACxB,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAEtC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Fragment/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAEvB,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/components/Fragment/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,QAAQ,EAAE,aAAa,CAAC,OAAO,QAAQ,CAAC,CAAC;KAC1C;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FragmentView.d.ts","sourceRoot":"","sources":["../../../src/views/FragmentView.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AACnD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGrE,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,aAAa,CAGnC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|