@bpmn-io/form-js-playground 0.7.2 → 0.8.0-alpha.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.
@@ -1,86 +0,0 @@
1
- {
2
- "components": [
3
- {
4
- "type": "text",
5
- "text": "# Invoice\nLorem _ipsum_ __dolor__ `sit`.\n \n \nA list of BPMN symbols:\n* Start Event\n* Task\nLearn more about [forms](https://bpmn.io).\n \n \nThis [malicious link](javascript:throw onerror=alert,'some string',123,'haha') __should not work__."
6
- },
7
- {
8
- "key": "creditor",
9
- "label": "Creditor",
10
- "type": "textfield",
11
- "validate": {
12
- "required": true
13
- }
14
- },
15
- {
16
- "description": "An invoice number in the format: C-123.",
17
- "key": "invoiceNumber",
18
- "label": "Invoice Number",
19
- "type": "textfield",
20
- "validate": {
21
- "pattern": "^C-[0-9]+$"
22
- }
23
- },
24
- {
25
- "key": "amount",
26
- "label": "Amount",
27
- "type": "number",
28
- "validate": {
29
- "min": 0,
30
- "max": 1000
31
- }
32
- },
33
- {
34
- "key": "approved",
35
- "label": "Approved",
36
- "type": "checkbox"
37
- },
38
- {
39
- "key": "approvedBy",
40
- "label": "Approved By",
41
- "type": "textfield"
42
- },
43
- {
44
- "key": "product",
45
- "label": "Product",
46
- "type": "radio",
47
- "values": [
48
- {
49
- "label": "Camunda Platform",
50
- "value": "camunda-platform"
51
- },
52
- {
53
- "label": "Camunda Cloud",
54
- "value": "camunda-cloud"
55
- }
56
- ]
57
- },
58
- {
59
- "key": "language",
60
- "label": "Language",
61
- "type": "select",
62
- "values": [
63
- {
64
- "label": "German",
65
- "value": "german"
66
- },
67
- {
68
- "label": "English",
69
- "value": "english"
70
- }
71
- ]
72
- },
73
- {
74
- "key": "submit",
75
- "label": "Submit",
76
- "type": "button"
77
- },
78
- {
79
- "action": "reset",
80
- "key": "reset",
81
- "label": "Reset",
82
- "type": "button"
83
- }
84
- ],
85
- "type": "default"
86
- }
@@ -1,11 +0,0 @@
1
- {
2
- "components": [
3
- {
4
- "action": "reset",
5
- "key": "reset",
6
- "label": "Reset",
7
- "type": "button"
8
- }
9
- ],
10
- "type": "default"
11
- }
package/test/test.css DELETED
@@ -1,9 +0,0 @@
1
- body {
2
- font-family: sans-serif;
3
- font-size: 16px;
4
- margin: 1rem;
5
- }
6
-
7
- h1 {
8
- margin: 0 0 1rem 0;
9
- }
@@ -1,4 +0,0 @@
1
- // @ts-ignore-next-line
2
- const allTests = require.context('.', true, /.spec\.js$/);
3
-
4
- allTests.keys().forEach(allTests);