@team-plain/ui-components 2.0.0 → 3.0.0
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/README.md +2 -2
- package/dist/badgeComponent.d.ts +1 -1
- package/dist/badgeComponent.d.ts.map +1 -1
- package/dist/cjs/badgeComponent.js +36 -0
- package/dist/cjs/badgeComponent.js.map +1 -0
- package/dist/cjs/containerComponent.js +35 -0
- package/dist/cjs/containerComponent.js.map +1 -0
- package/dist/cjs/copyButtonComponent.js +36 -0
- package/dist/cjs/copyButtonComponent.js.map +1 -0
- package/dist/cjs/dividerComponent.js +35 -0
- package/dist/cjs/dividerComponent.js.map +1 -0
- package/dist/cjs/index.js +50 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/linkButtonComponent.js +36 -0
- package/dist/cjs/linkButtonComponent.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/plainTextComponent.js +37 -0
- package/dist/cjs/plainTextComponent.js.map +1 -0
- package/dist/cjs/rowComponent.js +36 -0
- package/dist/cjs/rowComponent.js.map +1 -0
- package/dist/cjs/spacerComponent.js +35 -0
- package/dist/cjs/spacerComponent.js.map +1 -0
- package/dist/cjs/textComponent.js +37 -0
- package/dist/cjs/textComponent.js.map +1 -0
- package/dist/cjs/workflowButtonComponent.js +38 -0
- package/dist/cjs/workflowButtonComponent.js.map +1 -0
- package/dist/containerComponent.d.ts +1 -1
- package/dist/containerComponent.d.ts.map +1 -1
- package/dist/copyButtonComponent.d.ts +1 -1
- package/dist/copyButtonComponent.d.ts.map +1 -1
- package/dist/dividerComponent.d.ts +1 -1
- package/dist/dividerComponent.d.ts.map +1 -1
- package/dist/linkButtonComponent.d.ts +1 -1
- package/dist/linkButtonComponent.d.ts.map +1 -1
- package/dist/plainTextComponent.d.ts +1 -1
- package/dist/plainTextComponent.d.ts.map +1 -1
- package/dist/rowComponent.d.ts +1 -1
- package/dist/rowComponent.d.ts.map +1 -1
- package/dist/spacerComponent.d.ts +1 -1
- package/dist/spacerComponent.d.ts.map +1 -1
- package/dist/textComponent.d.ts +1 -1
- package/dist/textComponent.d.ts.map +1 -1
- package/dist/workflowButtonComponent.d.ts +1 -1
- package/dist/workflowButtonComponent.d.ts.map +1 -1
- package/package.json +33 -7
package/README.md
CHANGED
|
@@ -5,10 +5,10 @@ Helper functions for building Plain [UI components](https://plain.com/docs). Pro
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @team-plain/ui-components @team-plain/
|
|
8
|
+
npm install @team-plain/ui-components @team-plain/graphql
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Requires `@team-plain/
|
|
11
|
+
Requires `@team-plain/graphql` as a peer dependency.
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
package/dist/badgeComponent.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badgeComponent.d.ts","sourceRoot":"","sources":["../src/badgeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"badgeComponent.d.ts","sourceRoot":"","sources":["../src/badgeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE/E,wBAAgB,cAAc,CAAC,IAAI,EAAE;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,GAAG,cAAc,CAOjB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var badgeComponent_exports = {};
|
|
20
|
+
__export(badgeComponent_exports, {
|
|
21
|
+
badgeComponent: () => badgeComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(badgeComponent_exports);
|
|
24
|
+
function badgeComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentBadge: {
|
|
27
|
+
badgeLabel: args.label,
|
|
28
|
+
badgeColor: args.color ?? null
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
badgeComponent
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=badgeComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/badgeComponent.ts"],"sourcesContent":["import type { ComponentBadgeColor, ComponentInput } from \"@team-plain/graphql\";\n\nexport function badgeComponent(args: {\n label: string;\n color?: ComponentBadgeColor;\n}): ComponentInput {\n return {\n componentBadge: {\n badgeLabel: args.label,\n badgeColor: args.color ?? null,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,eAAe,MAGZ;AACjB,SAAO;AAAA,IACL,gBAAgB;AAAA,MACd,YAAY,KAAK;AAAA,MACjB,YAAY,KAAK,SAAS;AAAA,IAC5B;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var containerComponent_exports = {};
|
|
20
|
+
__export(containerComponent_exports, {
|
|
21
|
+
containerComponent: () => containerComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(containerComponent_exports);
|
|
24
|
+
function containerComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentContainer: {
|
|
27
|
+
containerContent: args.content
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
containerComponent
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=containerComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/containerComponent.ts"],"sourcesContent":["import type { ComponentInput } from \"@team-plain/graphql\";\n\nexport function containerComponent(args: { content: ComponentInput[] }): ComponentInput {\n return {\n componentContainer: {\n containerContent: args.content,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,mBAAmB,MAAqD;AACtF,SAAO;AAAA,IACL,oBAAoB;AAAA,MAClB,kBAAkB,KAAK;AAAA,IACzB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var copyButtonComponent_exports = {};
|
|
20
|
+
__export(copyButtonComponent_exports, {
|
|
21
|
+
copyButtonComponent: () => copyButtonComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(copyButtonComponent_exports);
|
|
24
|
+
function copyButtonComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentCopyButton: {
|
|
27
|
+
copyButtonValue: args.value,
|
|
28
|
+
copyButtonTooltipLabel: args.tooltip
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
copyButtonComponent
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=copyButtonComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/copyButtonComponent.ts"],"sourcesContent":["import type { ComponentInput } from \"@team-plain/graphql\";\n\nexport function copyButtonComponent(args: { value: string; tooltip?: string }): ComponentInput {\n return {\n componentCopyButton: {\n copyButtonValue: args.value,\n copyButtonTooltipLabel: args.tooltip,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,oBAAoB,MAA2D;AAC7F,SAAO;AAAA,IACL,qBAAqB;AAAA,MACnB,iBAAiB,KAAK;AAAA,MACtB,wBAAwB,KAAK;AAAA,IAC/B;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var dividerComponent_exports = {};
|
|
20
|
+
__export(dividerComponent_exports, {
|
|
21
|
+
dividerComponent: () => dividerComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(dividerComponent_exports);
|
|
24
|
+
function dividerComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentDivider: {
|
|
27
|
+
dividerSpacingSize: args.spacingSize ?? null
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
dividerComponent
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=dividerComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/dividerComponent.ts"],"sourcesContent":["import type { ComponentDividerSpacingSize, ComponentInput } from \"@team-plain/graphql\";\n\nexport function dividerComponent(args: {\n spacingSize?: ComponentDividerSpacingSize;\n}): ComponentInput {\n return {\n componentDivider: {\n dividerSpacingSize: args.spacingSize ?? null,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,iBAAiB,MAEd;AACjB,SAAO;AAAA,IACL,kBAAkB;AAAA,MAChB,oBAAoB,KAAK,eAAe;AAAA,IAC1C;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var index_exports = {};
|
|
20
|
+
__export(index_exports, {
|
|
21
|
+
uiComponent: () => uiComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(index_exports);
|
|
24
|
+
var import_badgeComponent = require("./badgeComponent.js");
|
|
25
|
+
var import_containerComponent = require("./containerComponent.js");
|
|
26
|
+
var import_copyButtonComponent = require("./copyButtonComponent.js");
|
|
27
|
+
var import_dividerComponent = require("./dividerComponent.js");
|
|
28
|
+
var import_linkButtonComponent = require("./linkButtonComponent.js");
|
|
29
|
+
var import_plainTextComponent = require("./plainTextComponent.js");
|
|
30
|
+
var import_rowComponent = require("./rowComponent.js");
|
|
31
|
+
var import_spacerComponent = require("./spacerComponent.js");
|
|
32
|
+
var import_textComponent = require("./textComponent.js");
|
|
33
|
+
var import_workflowButtonComponent = require("./workflowButtonComponent.js");
|
|
34
|
+
const uiComponent = {
|
|
35
|
+
badge: import_badgeComponent.badgeComponent,
|
|
36
|
+
container: import_containerComponent.containerComponent,
|
|
37
|
+
copyButton: import_copyButtonComponent.copyButtonComponent,
|
|
38
|
+
divider: import_dividerComponent.dividerComponent,
|
|
39
|
+
linkButton: import_linkButtonComponent.linkButtonComponent,
|
|
40
|
+
plainText: import_plainTextComponent.plainTextComponent,
|
|
41
|
+
row: import_rowComponent.rowComponent,
|
|
42
|
+
spacer: import_spacerComponent.spacerComponent,
|
|
43
|
+
text: import_textComponent.textComponent,
|
|
44
|
+
workflowButton: import_workflowButtonComponent.workflowButtonComponent
|
|
45
|
+
};
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
uiComponent
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { badgeComponent } from \"./badgeComponent.js\";\nimport { containerComponent } from \"./containerComponent.js\";\nimport { copyButtonComponent } from \"./copyButtonComponent.js\";\nimport { dividerComponent } from \"./dividerComponent.js\";\nimport { linkButtonComponent } from \"./linkButtonComponent.js\";\nimport { plainTextComponent } from \"./plainTextComponent.js\";\nimport { rowComponent } from \"./rowComponent.js\";\nimport { spacerComponent } from \"./spacerComponent.js\";\nimport { textComponent } from \"./textComponent.js\";\nimport { workflowButtonComponent } from \"./workflowButtonComponent.js\";\n\nexport const uiComponent = {\n badge: badgeComponent,\n container: containerComponent,\n copyButton: copyButtonComponent,\n divider: dividerComponent,\n linkButton: linkButtonComponent,\n plainText: plainTextComponent,\n row: rowComponent,\n spacer: spacerComponent,\n text: textComponent,\n workflowButton: workflowButtonComponent,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAA+B;AAC/B,gCAAmC;AACnC,iCAAoC;AACpC,8BAAiC;AACjC,iCAAoC;AACpC,gCAAmC;AACnC,0BAA6B;AAC7B,6BAAgC;AAChC,2BAA8B;AAC9B,qCAAwC;AAEjC,MAAM,cAAc;AAAA,EACzB,OAAO;AAAA,EACP,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,gBAAgB;AAClB;","names":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var linkButtonComponent_exports = {};
|
|
20
|
+
__export(linkButtonComponent_exports, {
|
|
21
|
+
linkButtonComponent: () => linkButtonComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(linkButtonComponent_exports);
|
|
24
|
+
function linkButtonComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentLinkButton: {
|
|
27
|
+
linkButtonLabel: args.label,
|
|
28
|
+
linkButtonUrl: args.url
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
linkButtonComponent
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=linkButtonComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/linkButtonComponent.ts"],"sourcesContent":["import type { ComponentInput } from \"@team-plain/graphql\";\n\nexport function linkButtonComponent(args: { label: string; url: string }): ComponentInput {\n return {\n componentLinkButton: {\n linkButtonLabel: args.label,\n linkButtonUrl: args.url,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,oBAAoB,MAAsD;AACxF,SAAO;AAAA,IACL,qBAAqB;AAAA,MACnB,iBAAiB,KAAK;AAAA,MACtB,eAAe,KAAK;AAAA,IACtB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var plainTextComponent_exports = {};
|
|
20
|
+
__export(plainTextComponent_exports, {
|
|
21
|
+
plainTextComponent: () => plainTextComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(plainTextComponent_exports);
|
|
24
|
+
function plainTextComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentPlainText: {
|
|
27
|
+
plainText: args.text,
|
|
28
|
+
plainTextColor: args.color ?? null,
|
|
29
|
+
plainTextSize: args.size ?? null
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
plainTextComponent
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=plainTextComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/plainTextComponent.ts"],"sourcesContent":["import type {\n ComponentInput,\n ComponentPlainTextColor,\n ComponentPlainTextSize,\n} from \"@team-plain/graphql\";\n\nexport function plainTextComponent(args: {\n text: string;\n size?: ComponentPlainTextSize;\n color?: ComponentPlainTextColor;\n}): ComponentInput {\n return {\n componentPlainText: {\n plainText: args.text,\n plainTextColor: args.color ?? null,\n plainTextSize: args.size ?? null,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,SAAS,mBAAmB,MAIhB;AACjB,SAAO;AAAA,IACL,oBAAoB;AAAA,MAClB,WAAW,KAAK;AAAA,MAChB,gBAAgB,KAAK,SAAS;AAAA,MAC9B,eAAe,KAAK,QAAQ;AAAA,IAC9B;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var rowComponent_exports = {};
|
|
20
|
+
__export(rowComponent_exports, {
|
|
21
|
+
rowComponent: () => rowComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(rowComponent_exports);
|
|
24
|
+
function rowComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentRow: {
|
|
27
|
+
rowMainContent: args.mainContent,
|
|
28
|
+
rowAsideContent: args.asideContent
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
rowComponent
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=rowComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/rowComponent.ts"],"sourcesContent":["import type { ComponentInput } from \"@team-plain/graphql\";\n\nexport function rowComponent(args: {\n mainContent: ComponentInput[];\n asideContent: ComponentInput[];\n}): ComponentInput {\n return {\n componentRow: {\n rowMainContent: args.mainContent,\n rowAsideContent: args.asideContent,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,aAAa,MAGV;AACjB,SAAO;AAAA,IACL,cAAc;AAAA,MACZ,gBAAgB,KAAK;AAAA,MACrB,iBAAiB,KAAK;AAAA,IACxB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var spacerComponent_exports = {};
|
|
20
|
+
__export(spacerComponent_exports, {
|
|
21
|
+
spacerComponent: () => spacerComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(spacerComponent_exports);
|
|
24
|
+
function spacerComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentSpacer: {
|
|
27
|
+
spacerSize: args.size ?? null
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
spacerComponent
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=spacerComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/spacerComponent.ts"],"sourcesContent":["import type { ComponentInput, ComponentSpacerSize } from \"@team-plain/graphql\";\n\nexport function spacerComponent(args: { size?: ComponentSpacerSize }): ComponentInput {\n return {\n componentSpacer: {\n spacerSize: args.size ?? null,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,gBAAgB,MAAsD;AACpF,SAAO;AAAA,IACL,iBAAiB;AAAA,MACf,YAAY,KAAK,QAAQ;AAAA,IAC3B;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var textComponent_exports = {};
|
|
20
|
+
__export(textComponent_exports, {
|
|
21
|
+
textComponent: () => textComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(textComponent_exports);
|
|
24
|
+
function textComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentText: {
|
|
27
|
+
text: args.text,
|
|
28
|
+
textColor: args.color ?? null,
|
|
29
|
+
textSize: args.size ?? null
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
textComponent
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=textComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/textComponent.ts"],"sourcesContent":["import type { ComponentInput, ComponentTextColor, ComponentTextSize } from \"@team-plain/graphql\";\n\nexport function textComponent(args: {\n text: string;\n size?: ComponentTextSize;\n color?: ComponentTextColor;\n}): ComponentInput {\n return {\n componentText: {\n text: args.text,\n textColor: args.color ?? null,\n textSize: args.size ?? null,\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,cAAc,MAIX;AACjB,SAAO;AAAA,IACL,eAAe;AAAA,MACb,MAAM,KAAK;AAAA,MACX,WAAW,KAAK,SAAS;AAAA,MACzB,UAAU,KAAK,QAAQ;AAAA,IACzB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var workflowButtonComponent_exports = {};
|
|
20
|
+
__export(workflowButtonComponent_exports, {
|
|
21
|
+
workflowButtonComponent: () => workflowButtonComponent
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(workflowButtonComponent_exports);
|
|
24
|
+
function workflowButtonComponent(args) {
|
|
25
|
+
return {
|
|
26
|
+
componentWorkflowButton: {
|
|
27
|
+
workflowButtonLabel: args.label,
|
|
28
|
+
workflowButtonWorkflowIdentifier: {
|
|
29
|
+
workflowId: args.workflowId
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
+
0 && (module.exports = {
|
|
36
|
+
workflowButtonComponent
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=workflowButtonComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/workflowButtonComponent.ts"],"sourcesContent":["import type { ComponentInput } from \"@team-plain/graphql\";\n\nexport function workflowButtonComponent(args: {\n label: string;\n workflowId: string;\n}): ComponentInput {\n return {\n componentWorkflowButton: {\n workflowButtonLabel: args.label,\n workflowButtonWorkflowIdentifier: {\n workflowId: args.workflowId,\n },\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,wBAAwB,MAGrB;AACjB,SAAO;AAAA,IACL,yBAAyB;AAAA,MACvB,qBAAqB,KAAK;AAAA,MAC1B,kCAAkC;AAAA,QAChC,YAAY,KAAK;AAAA,MACnB;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerComponent.d.ts","sourceRoot":"","sources":["../src/containerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"containerComponent.d.ts","sourceRoot":"","sources":["../src/containerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IAAE,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,GAAG,cAAc,CAMtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copyButtonComponent.d.ts","sourceRoot":"","sources":["../src/copyButtonComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"copyButtonComponent.d.ts","sourceRoot":"","sources":["../src/copyButtonComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAO7F"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentDividerSpacingSize, ComponentInput } from "@team-plain/
|
|
1
|
+
import type { ComponentDividerSpacingSize, ComponentInput } from "@team-plain/graphql";
|
|
2
2
|
export declare function dividerComponent(args: {
|
|
3
3
|
spacingSize?: ComponentDividerSpacingSize;
|
|
4
4
|
}): ComponentInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dividerComponent.d.ts","sourceRoot":"","sources":["../src/dividerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"dividerComponent.d.ts","sourceRoot":"","sources":["../src/dividerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEvF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE;IACrC,WAAW,CAAC,EAAE,2BAA2B,CAAC;CAC3C,GAAG,cAAc,CAMjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkButtonComponent.d.ts","sourceRoot":"","sources":["../src/linkButtonComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"linkButtonComponent.d.ts","sourceRoot":"","sources":["../src/linkButtonComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,wBAAgB,mBAAmB,CAAC,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAOxF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentInput, ComponentPlainTextColor, ComponentPlainTextSize } from "@team-plain/
|
|
1
|
+
import type { ComponentInput, ComponentPlainTextColor, ComponentPlainTextSize } from "@team-plain/graphql";
|
|
2
2
|
export declare function plainTextComponent(args: {
|
|
3
3
|
text: string;
|
|
4
4
|
size?: ComponentPlainTextSize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plainTextComponent.d.ts","sourceRoot":"","sources":["../src/plainTextComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,
|
|
1
|
+
{"version":3,"file":"plainTextComponent.d.ts","sourceRoot":"","sources":["../src/plainTextComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAC9B,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC,GAAG,cAAc,CAQjB"}
|
package/dist/rowComponent.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rowComponent.d.ts","sourceRoot":"","sources":["../src/rowComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"rowComponent.d.ts","sourceRoot":"","sources":["../src/rowComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,wBAAgB,YAAY,CAAC,IAAI,EAAE;IACjC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,YAAY,EAAE,cAAc,EAAE,CAAC;CAChC,GAAG,cAAc,CAOjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacerComponent.d.ts","sourceRoot":"","sources":["../src/spacerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"spacerComponent.d.ts","sourceRoot":"","sources":["../src/spacerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/E,wBAAgB,eAAe,CAAC,IAAI,EAAE;IAAE,IAAI,CAAC,EAAE,mBAAmB,CAAA;CAAE,GAAG,cAAc,CAMpF"}
|
package/dist/textComponent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentInput, ComponentTextColor, ComponentTextSize } from "@team-plain/
|
|
1
|
+
import type { ComponentInput, ComponentTextColor, ComponentTextSize } from "@team-plain/graphql";
|
|
2
2
|
export declare function textComponent(args: {
|
|
3
3
|
text: string;
|
|
4
4
|
size?: ComponentTextSize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textComponent.d.ts","sourceRoot":"","sources":["../src/textComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"textComponent.d.ts","sourceRoot":"","sources":["../src/textComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEjG,wBAAgB,aAAa,CAAC,IAAI,EAAE;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC5B,GAAG,cAAc,CAQjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowButtonComponent.d.ts","sourceRoot":"","sources":["../src/workflowButtonComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"workflowButtonComponent.d.ts","sourceRoot":"","sources":["../src/workflowButtonComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,wBAAgB,uBAAuB,CAAC,IAAI,EAAE;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,cAAc,CASjB"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@team-plain/ui-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "UI component builder helpers for Plain",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Plain <hello@plain.com> (https://plain.com)",
|
|
7
|
+
"homepage": "https://github.com/team-plain/sdk/tree/main/packages/ui-components#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/team-plain/sdk.git",
|
|
11
|
+
"directory": "packages/ui-components"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/team-plain/sdk/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"plain",
|
|
18
|
+
"ui-components",
|
|
19
|
+
"typescript",
|
|
20
|
+
"customer-support"
|
|
21
|
+
],
|
|
4
22
|
"type": "module",
|
|
5
|
-
"main": "./dist/index.js",
|
|
23
|
+
"main": "./dist/cjs/index.js",
|
|
24
|
+
"module": "./dist/index.js",
|
|
6
25
|
"types": "./dist/index.d.ts",
|
|
7
26
|
"exports": {
|
|
8
27
|
".": {
|
|
9
|
-
"import":
|
|
10
|
-
|
|
28
|
+
"import": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"default": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"require": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"default": "./dist/cjs/index.js"
|
|
35
|
+
}
|
|
11
36
|
}
|
|
12
37
|
},
|
|
13
38
|
"publishConfig": {
|
|
@@ -17,14 +42,15 @@
|
|
|
17
42
|
"dist"
|
|
18
43
|
],
|
|
19
44
|
"peerDependencies": {
|
|
20
|
-
"@team-plain/
|
|
45
|
+
"@team-plain/graphql": "1.1.0"
|
|
21
46
|
},
|
|
22
47
|
"devDependencies": {
|
|
48
|
+
"tsup": "^8.5.1",
|
|
23
49
|
"typescript": "^5.7.0",
|
|
24
|
-
"@team-plain/
|
|
50
|
+
"@team-plain/graphql": "1.1.0"
|
|
25
51
|
},
|
|
26
52
|
"scripts": {
|
|
27
|
-
"build": "tsc",
|
|
53
|
+
"build": "tsc && tsup",
|
|
28
54
|
"test": "vitest run"
|
|
29
55
|
}
|
|
30
56
|
}
|