@pega/cosmos-react-demos 4.0.0-dev.19.3 → 4.0.0-dev.19.4
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/jsx/core/NoValue/NoValue.stories.d.ts +6 -0
- package/jsx/core/NoValue/NoValue.stories.d.ts.map +1 -0
- package/jsx/core/NoValue/NoValue.stories.jsx +30 -0
- package/jsx/core/NoValue/NoValue.stories.jsx.map +1 -0
- package/lib/core/NoValue/NoValue.stories.d.ts +6 -0
- package/lib/core/NoValue/NoValue.stories.d.ts.map +1 -0
- package/lib/core/NoValue/NoValue.stories.js +29 -0
- package/lib/core/NoValue/NoValue.stories.js.map +1 -0
- package/package.json +9 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoValue.stories.d.ts","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,IAAI,EAAE,KAElB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KA0BnB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FieldValueList, NoValue, Status, Text } from '@pega/cosmos-react-core';
|
|
2
|
+
export default {
|
|
3
|
+
title: 'Core/NoValue',
|
|
4
|
+
component: NoValue
|
|
5
|
+
};
|
|
6
|
+
export const Base = () => {
|
|
7
|
+
return <NoValue />;
|
|
8
|
+
};
|
|
9
|
+
export const InFVL = () => {
|
|
10
|
+
return (<FieldValueList fields={[
|
|
11
|
+
{
|
|
12
|
+
id: 'dynamic',
|
|
13
|
+
name: 'Name',
|
|
14
|
+
value: <NoValue />
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: 'id',
|
|
18
|
+
name: 'ID',
|
|
19
|
+
value: (<Text variant='h1' as='span'>
|
|
20
|
+
C-1234
|
|
21
|
+
</Text>)
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 'status',
|
|
25
|
+
name: 'Status',
|
|
26
|
+
value: <Status variant='pending'>pending</Status>
|
|
27
|
+
}
|
|
28
|
+
]}/>);
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=NoValue.stories.jsx.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoValue.stories.jsx","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEhF,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAO;CACX,CAAC;AAEV,MAAM,CAAC,MAAM,IAAI,GAAU,GAAG,EAAE;IAC9B,OAAO,CAAC,OAAO,CAAC,AAAD,EAAG,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU,GAAG,EAAE;IAC/B,OAAO,CACL,CAAC,cAAc,CACb,MAAM,CAAC,CAAC;YACN;gBACE,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,CAAC,OAAO,CAAC,AAAD,EAAG;aACnB;YACD;gBACE,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,CACL,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAC1B;;YACF,EAAE,IAAI,CAAC,CACR;aACF;YACD;gBACE,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;aAClD;SACF,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { FieldValueList, NoValue, Status, Text } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/NoValue',\n component: NoValue\n} as Meta;\n\nexport const Base: Story = () => {\n return <NoValue />;\n};\n\nexport const InFVL: Story = () => {\n return (\n <FieldValueList\n fields={[\n {\n id: 'dynamic',\n name: 'Name',\n value: <NoValue />\n },\n {\n id: 'id',\n name: 'ID',\n value: (\n <Text variant='h1' as='span'>\n C-1234\n </Text>\n )\n },\n {\n id: 'status',\n name: 'Status',\n value: <Status variant='pending'>pending</Status>\n }\n ]}\n />\n );\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoValue.stories.d.ts","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;;AAI/C,wBAGU;AAEV,eAAO,MAAM,IAAI,EAAE,KAElB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KA0BnB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FieldValueList, NoValue, Status, Text } from '@pega/cosmos-react-core';
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Core/NoValue',
|
|
5
|
+
component: NoValue
|
|
6
|
+
};
|
|
7
|
+
export const Base = () => {
|
|
8
|
+
return _jsx(NoValue, {});
|
|
9
|
+
};
|
|
10
|
+
export const InFVL = () => {
|
|
11
|
+
return (_jsx(FieldValueList, { fields: [
|
|
12
|
+
{
|
|
13
|
+
id: 'dynamic',
|
|
14
|
+
name: 'Name',
|
|
15
|
+
value: _jsx(NoValue, {})
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
id: 'id',
|
|
19
|
+
name: 'ID',
|
|
20
|
+
value: (_jsx(Text, { variant: 'h1', as: 'span', children: "C-1234" }))
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: 'status',
|
|
24
|
+
name: 'Status',
|
|
25
|
+
value: _jsx(Status, { variant: 'pending', children: "pending" })
|
|
26
|
+
}
|
|
27
|
+
] }));
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=NoValue.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NoValue.stories.js","sourceRoot":"","sources":["../../../src/core/NoValue/NoValue.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEhF,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,OAAO;CACX,CAAC;AAEV,MAAM,CAAC,MAAM,IAAI,GAAU,GAAG,EAAE;IAC9B,OAAO,KAAC,OAAO,KAAG,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU,GAAG,EAAE;IAC/B,OAAO,CACL,KAAC,cAAc,IACb,MAAM,EAAE;YACN;gBACE,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,KAAC,OAAO,KAAG;aACnB;YACD;gBACE,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,CACL,KAAC,IAAI,IAAC,OAAO,EAAC,IAAI,EAAC,EAAE,EAAC,MAAM,uBAErB,CACR;aACF;YACD;gBACE,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,wBAAiB;aAClD;SACF,GACD,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Meta, Story } from '@storybook/react';\n\nimport { FieldValueList, NoValue, Status, Text } from '@pega/cosmos-react-core';\n\nexport default {\n title: 'Core/NoValue',\n component: NoValue\n} as Meta;\n\nexport const Base: Story = () => {\n return <NoValue />;\n};\n\nexport const InFVL: Story = () => {\n return (\n <FieldValueList\n fields={[\n {\n id: 'dynamic',\n name: 'Name',\n value: <NoValue />\n },\n {\n id: 'id',\n name: 'ID',\n value: (\n <Text variant='h1' as='span'>\n C-1234\n </Text>\n )\n },\n {\n id: 'status',\n name: 'Status',\n value: <Status variant='pending'>pending</Status>\n }\n ]}\n />\n );\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pega/cosmos-react-demos",
|
|
3
|
-
"version": "4.0.0-dev.19.
|
|
3
|
+
"version": "4.0.0-dev.19.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/pegasystems/cosmos-react.git",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"build": "tsc -b"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@pega/cosmos-react-build": "4.0.0-dev.19.
|
|
24
|
-
"@pega/cosmos-react-condition-builder": "4.0.0-dev.19.
|
|
25
|
-
"@pega/cosmos-react-core": "4.0.0-dev.19.
|
|
26
|
-
"@pega/cosmos-react-cs": "4.0.0-dev.19.
|
|
27
|
-
"@pega/cosmos-react-dnd": "4.0.0-dev.19.
|
|
28
|
-
"@pega/cosmos-react-rte": "4.0.0-dev.19.
|
|
29
|
-
"@pega/cosmos-react-social": "4.0.0-dev.19.
|
|
30
|
-
"@pega/cosmos-react-work": "4.0.0-dev.19.
|
|
23
|
+
"@pega/cosmos-react-build": "4.0.0-dev.19.4",
|
|
24
|
+
"@pega/cosmos-react-condition-builder": "4.0.0-dev.19.4",
|
|
25
|
+
"@pega/cosmos-react-core": "4.0.0-dev.19.4",
|
|
26
|
+
"@pega/cosmos-react-cs": "4.0.0-dev.19.4",
|
|
27
|
+
"@pega/cosmos-react-dnd": "4.0.0-dev.19.4",
|
|
28
|
+
"@pega/cosmos-react-rte": "4.0.0-dev.19.4",
|
|
29
|
+
"@pega/cosmos-react-social": "4.0.0-dev.19.4",
|
|
30
|
+
"@pega/cosmos-react-work": "4.0.0-dev.19.4",
|
|
31
31
|
"@storybook/addon-a11y": "^6.4.19",
|
|
32
32
|
"@storybook/addon-actions": "^6.4.19",
|
|
33
33
|
"@storybook/addon-links": "^6.5.16",
|