camunda-bpmn-js 5.11.0 → 5.12.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.
Files changed (90) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +88 -88
  3. package/dist/assets/base-modeler.css +5 -5
  4. package/dist/assets/base-navigated-viewer.css +1 -1
  5. package/dist/assets/base-viewer.css +1 -1
  6. package/dist/assets/bpmn-js.css +145 -145
  7. package/dist/assets/camunda-cloud-modeler.css +2 -2
  8. package/dist/assets/camunda-platform-modeler.css +1 -1
  9. package/dist/assets/element-templates.css +117 -117
  10. package/dist/assets/properties-panel.css +1 -1
  11. package/dist/base-modeler.development.js +40821 -39486
  12. package/dist/base-modeler.production.min.js +35 -35
  13. package/dist/base-navigated-viewer.development.js +8481 -7984
  14. package/dist/base-navigated-viewer.production.min.js +1 -1
  15. package/dist/base-viewer.development.js +9090 -8593
  16. package/dist/base-viewer.production.min.js +1 -1
  17. package/dist/camunda-cloud-modeler.development.js +45978 -43904
  18. package/dist/camunda-cloud-modeler.production.min.js +41 -41
  19. package/dist/camunda-cloud-navigated-viewer.development.js +6176 -5668
  20. package/dist/camunda-cloud-navigated-viewer.production.min.js +1 -1
  21. package/dist/camunda-cloud-viewer.development.js +9143 -8635
  22. package/dist/camunda-cloud-viewer.production.min.js +1 -1
  23. package/dist/camunda-platform-modeler.development.js +80532 -78995
  24. package/dist/camunda-platform-modeler.production.min.js +37 -37
  25. package/dist/camunda-platform-navigated-viewer.development.js +8506 -8009
  26. package/dist/camunda-platform-navigated-viewer.production.min.js +1 -1
  27. package/dist/camunda-platform-viewer.development.js +9117 -8620
  28. package/dist/camunda-platform-viewer.production.min.js +1 -1
  29. package/lib/base/Modeler.d.ts +20 -20
  30. package/lib/base/Modeler.js +65 -65
  31. package/lib/base/NavigatedViewer.d.ts +2 -2
  32. package/lib/base/NavigatedViewer.js +2 -2
  33. package/lib/base/Viewer.d.ts +2 -2
  34. package/lib/base/Viewer.js +2 -2
  35. package/lib/camunda-cloud/ElementTemplatesValidator.d.ts +1 -1
  36. package/lib/camunda-cloud/Modeler.d.ts +3 -3
  37. package/lib/camunda-cloud/NavigatedViewer.d.ts +9 -9
  38. package/lib/camunda-cloud/NavigatedViewer.js +36 -36
  39. package/lib/camunda-cloud/Viewer.d.ts +9 -9
  40. package/lib/camunda-cloud/Viewer.js +36 -36
  41. package/lib/camunda-cloud/features/external-resources/ResourceLoader.d.ts +6 -6
  42. package/lib/camunda-cloud/features/external-resources/Resources.d.ts +7 -7
  43. package/lib/camunda-cloud/features/external-resources/cmd/ComposedCommandHandler.d.ts +12 -12
  44. package/lib/camunda-cloud/features/external-resources/cmd/index.d.ts +4 -4
  45. package/lib/camunda-cloud/features/external-resources/handlers/decision/AppendMenuProvider.d.ts +5 -5
  46. package/lib/camunda-cloud/features/external-resources/handlers/decision/CreateMenuProvider.d.ts +5 -5
  47. package/lib/camunda-cloud/features/external-resources/handlers/decision/ReplaceMenuProvider.d.ts +5 -5
  48. package/lib/camunda-cloud/features/external-resources/handlers/decision/createElement.d.ts +13 -13
  49. package/lib/camunda-cloud/features/external-resources/handlers/decision/index.d.ts +8 -8
  50. package/lib/camunda-cloud/features/external-resources/handlers/decision/replaceElement.d.ts +15 -15
  51. package/lib/camunda-cloud/features/external-resources/handlers/decision/searchTerms.d.ts +1 -1
  52. package/lib/camunda-cloud/features/external-resources/handlers/form/AppendMenuProvider.d.ts +5 -5
  53. package/lib/camunda-cloud/features/external-resources/handlers/form/CreateMenuProvider.d.ts +5 -5
  54. package/lib/camunda-cloud/features/external-resources/handlers/form/ReplaceMenuProvider.d.ts +5 -5
  55. package/lib/camunda-cloud/features/external-resources/handlers/form/createElement.d.ts +9 -9
  56. package/lib/camunda-cloud/features/external-resources/handlers/form/index.d.ts +8 -8
  57. package/lib/camunda-cloud/features/external-resources/handlers/form/replaceElement.d.ts +15 -15
  58. package/lib/camunda-cloud/features/external-resources/handlers/form/searchTerms.d.ts +1 -1
  59. package/lib/camunda-cloud/features/external-resources/handlers/process/AppendMenuProvider.d.ts +5 -5
  60. package/lib/camunda-cloud/features/external-resources/handlers/process/CreateMenuProvider.d.ts +5 -5
  61. package/lib/camunda-cloud/features/external-resources/handlers/process/ReplaceMenuProvider.d.ts +5 -5
  62. package/lib/camunda-cloud/features/external-resources/handlers/process/createElement.d.ts +14 -14
  63. package/lib/camunda-cloud/features/external-resources/handlers/process/index.d.ts +8 -8
  64. package/lib/camunda-cloud/features/external-resources/handlers/process/replaceElement.d.ts +16 -16
  65. package/lib/camunda-cloud/features/external-resources/handlers/process/searchTerms.d.ts +1 -1
  66. package/lib/camunda-cloud/features/external-resources/handlers/util/BaseAppendMenuProvider.d.ts +18 -18
  67. package/lib/camunda-cloud/features/external-resources/handlers/util/BaseCreateMenuProvider.d.ts +17 -17
  68. package/lib/camunda-cloud/features/external-resources/handlers/util/BaseReplaceMenuProvider.d.ts +22 -22
  69. package/lib/camunda-cloud/features/external-resources/index.d.ts +23 -23
  70. package/lib/camunda-cloud/features/popup-menu/CamundaDetailsPopupMenuProvider.d.ts +26 -26
  71. package/lib/camunda-cloud/features/popup-menu/CamundaDetailsPopupMenuProvider.js +153 -153
  72. package/lib/camunda-cloud/features/popup-menu/index.d.ts +6 -6
  73. package/lib/camunda-cloud/util/commonModules.d.ts +9 -9
  74. package/lib/camunda-cloud/util/commonModules.js +15 -15
  75. package/lib/camunda-platform/Modeler.d.ts +3 -3
  76. package/lib/camunda-platform/Modeler.js +68 -68
  77. package/lib/camunda-platform/NavigatedViewer.d.ts +9 -9
  78. package/lib/camunda-platform/NavigatedViewer.js +27 -27
  79. package/lib/camunda-platform/Viewer.d.ts +9 -9
  80. package/lib/camunda-platform/Viewer.js +27 -27
  81. package/lib/camunda-platform/util/commonModules.d.ts +9 -9
  82. package/lib/camunda-platform/util/commonModules.js +11 -11
  83. package/lib/util/ExtensionElementsUtil.d.ts +24 -24
  84. package/lib/util/ExtensionElementsUtil.js +68 -68
  85. package/package.json +141 -141
  86. package/styles/base-modeler.css +5 -5
  87. package/styles/base-navigated-viewer.css +1 -1
  88. package/styles/base-viewer.css +1 -1
  89. package/styles/camunda-cloud-modeler.css +2 -2
  90. package/styles/camunda-platform-modeler.css +1 -1
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021-present Camunda Services GmbH
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021-present Camunda Services GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
package/README.md CHANGED
@@ -1,88 +1,88 @@
1
- # camunda-bpmn-js
2
-
3
- [![CI](https://github.com/camunda/camunda-bpmn-js/workflows/CI/badge.svg)](https://github.com/camunda/camunda-bpmn-js/actions?query=workflow%3ACI)
4
-
5
- Embeddable Camunda modeling distributions based on [bpmn-js](https://github.com/bpmn-io/bpmn-js).
6
-
7
- ## Usage
8
-
9
- This project is designed to deliver different BPMN modeling distributions. Instead of creating custom Modeler implementations based on [bpmn-js](https://github.com/bpmn-io/bpmn-js), choose one of the existing packages to mirror the modeling experience of [Camunda's modeling](https://github.com/camunda/camunda-modeler/) products.
10
-
11
- Use a pre-packaged distribution
12
-
13
- ```html
14
- <link rel="stylesheet" href="https://unpkg.com/camunda-bpmn-js@0.1.0/dist/assets/camunda-platform-modeler.css" />
15
-
16
- <script src="https://unpkg.com/camunda-bpmn-js@0.1.0/dist/camunda-platform-modeler.development.js"></script>
17
- ```
18
-
19
- or install it via npm
20
-
21
- ```js
22
- import BpmnModeler from 'camunda-bpmn-js/lib/camunda-platform/Modeler';
23
-
24
- import 'camunda-bpmn-js/dist/assets/camunda-platform-modeler.css';
25
- ```
26
-
27
- into your web-application.
28
-
29
- ```js
30
- var bpmnModeler = new BpmnModeler({
31
- container: '#canvas',
32
- propertiesPanel: {
33
- parent: '#properties'
34
- }
35
- });
36
-
37
- try {
38
-
39
- await bpmnModeler.importXML(someDiagram);
40
-
41
- console.log('success!');
42
- bpmnModeler.get('canvas').zoom('fit-viewport');
43
- } catch (err) {
44
-
45
- console.error('something went wrong:', err);
46
- }
47
- ```
48
-
49
- Checkout [the docs](./docs/DISTRIBUTIONS.md) to learn more about the available distributions.
50
-
51
- ## Build and Run
52
-
53
- Prepare the project by installing all dependencies:
54
-
55
- ```sh
56
- npm install
57
- ```
58
-
59
- Then, depending on your use-case, you may run any of the following commands:
60
-
61
- ```sh
62
- # build the library and run all tests
63
- npm run all
64
-
65
- # spin up a single local camunda platform modeler instance
66
- npm run start:platform
67
-
68
- # run the full development setup
69
- npm run dev
70
- ```
71
-
72
- ## Related
73
-
74
- camunda-bpmn-js builds on top of a few powerful tools:
75
-
76
- * [bpmn-js](https://github.com/bpmn-io/bpmn-js): View and edit BPMN 2.0 diagrams in the browser
77
- * [diagram-js](https://github.com/bpmn-io/diagram-js): Diagram rendering and editing toolkit
78
- * [bpmn-js-properties-panel](https://github.com/bpmn-io/bpmn-js-properties-panel): A panel for (technical) properties editing
79
- * [bpmn-js-element-templates](https://github.com/bpmn-io/bpmn-js-element-templates): Domain specific editing for bpmn-js
80
- * [bpmn-js-create-append-anything](bpmn-js-create-append-anything): A create/append anything extension for bpmn-js
81
- * [bpmn-moddle](https://github.com/bpmn-io/bpmn-moddle): A BPMN 2.0 diagram reader/writer with extensions for [Camunda 7](https://github.com/camunda/camunda-bpmn-moddle) and [Camunda 8](https://github.com/camunda/zeebe-bpmn-moddle)
82
- * [camunda-bpmn-js-behaviors](https://github.com/camunda/camunda-bpmn-js-behaviors): Camunda specific behaviors for bpmn-js
83
-
84
- ## License
85
-
86
- MIT
87
-
88
- Uses [bpmn-js](https://github.com/bpmn-io/bpmn-js) licensed under the bpmn.io license.
1
+ # camunda-bpmn-js
2
+
3
+ [![CI](https://github.com/camunda/camunda-bpmn-js/workflows/CI/badge.svg)](https://github.com/camunda/camunda-bpmn-js/actions?query=workflow%3ACI)
4
+
5
+ Embeddable Camunda modeling distributions based on [bpmn-js](https://github.com/bpmn-io/bpmn-js).
6
+
7
+ ## Usage
8
+
9
+ This project is designed to deliver different BPMN modeling distributions. Instead of creating custom Modeler implementations based on [bpmn-js](https://github.com/bpmn-io/bpmn-js), choose one of the existing packages to mirror the modeling experience of [Camunda's modeling](https://github.com/camunda/camunda-modeler/) products.
10
+
11
+ Use a pre-packaged distribution
12
+
13
+ ```html
14
+ <link rel="stylesheet" href="https://unpkg.com/camunda-bpmn-js@0.1.0/dist/assets/camunda-platform-modeler.css" />
15
+
16
+ <script src="https://unpkg.com/camunda-bpmn-js@0.1.0/dist/camunda-platform-modeler.development.js"></script>
17
+ ```
18
+
19
+ or install it via npm
20
+
21
+ ```js
22
+ import BpmnModeler from 'camunda-bpmn-js/lib/camunda-platform/Modeler';
23
+
24
+ import 'camunda-bpmn-js/dist/assets/camunda-platform-modeler.css';
25
+ ```
26
+
27
+ into your web-application.
28
+
29
+ ```js
30
+ var bpmnModeler = new BpmnModeler({
31
+ container: '#canvas',
32
+ propertiesPanel: {
33
+ parent: '#properties'
34
+ }
35
+ });
36
+
37
+ try {
38
+
39
+ await bpmnModeler.importXML(someDiagram);
40
+
41
+ console.log('success!');
42
+ bpmnModeler.get('canvas').zoom('fit-viewport');
43
+ } catch (err) {
44
+
45
+ console.error('something went wrong:', err);
46
+ }
47
+ ```
48
+
49
+ Checkout [the docs](./docs/DISTRIBUTIONS.md) to learn more about the available distributions.
50
+
51
+ ## Build and Run
52
+
53
+ Prepare the project by installing all dependencies:
54
+
55
+ ```sh
56
+ npm install
57
+ ```
58
+
59
+ Then, depending on your use-case, you may run any of the following commands:
60
+
61
+ ```sh
62
+ # build the library and run all tests
63
+ npm run all
64
+
65
+ # spin up a single local camunda platform modeler instance
66
+ npm run start:platform
67
+
68
+ # run the full development setup
69
+ npm run dev
70
+ ```
71
+
72
+ ## Related
73
+
74
+ camunda-bpmn-js builds on top of a few powerful tools:
75
+
76
+ * [bpmn-js](https://github.com/bpmn-io/bpmn-js): View and edit BPMN 2.0 diagrams in the browser
77
+ * [diagram-js](https://github.com/bpmn-io/diagram-js): Diagram rendering and editing toolkit
78
+ * [bpmn-js-properties-panel](https://github.com/bpmn-io/bpmn-js-properties-panel): A panel for (technical) properties editing
79
+ * [bpmn-js-element-templates](https://github.com/bpmn-io/bpmn-js-element-templates): Domain specific editing for bpmn-js
80
+ * [bpmn-js-create-append-anything](bpmn-js-create-append-anything): A create/append anything extension for bpmn-js
81
+ * [bpmn-moddle](https://github.com/bpmn-io/bpmn-moddle): A BPMN 2.0 diagram reader/writer with extensions for [Camunda 7](https://github.com/camunda/camunda-bpmn-moddle) and [Camunda 8](https://github.com/camunda/zeebe-bpmn-moddle)
82
+ * [camunda-bpmn-js-behaviors](https://github.com/camunda/camunda-bpmn-js-behaviors): Camunda specific behaviors for bpmn-js
83
+
84
+ ## License
85
+
86
+ MIT
87
+
88
+ Uses [bpmn-js](https://github.com/bpmn-io/bpmn-js) licensed under the bpmn.io license.
@@ -1,6 +1,6 @@
1
- @import './diagram-js.css';
2
- @import './bpmn-js.css';
3
- @import './bpmn-font/css/bpmn-embedded.css';
4
- @import './diagram-js-minimap.css';
5
- @import './properties-panel.css';
1
+ @import './diagram-js.css';
2
+ @import './bpmn-js.css';
3
+ @import './bpmn-font/css/bpmn-embedded.css';
4
+ @import './diagram-js-minimap.css';
5
+ @import './properties-panel.css';
6
6
  @import './color-picker.css';
@@ -1,2 +1,2 @@
1
- @import './diagram-js.css';
1
+ @import './diagram-js.css';
2
2
  @import './bpmn-js.css';
@@ -1,2 +1,2 @@
1
- @import './diagram-js.css';
1
+ @import './diagram-js.css';
2
2
  @import './bpmn-js.css';
@@ -1,145 +1,145 @@
1
- .bjs-container {
2
- --bjs-font-family: Arial, sans-serif;
3
-
4
- --color-grey-225-10-15: hsl(225, 10%, 15%);
5
- --color-grey-225-10-35: hsl(225, 10%, 35%);
6
- --color-grey-225-10-55: hsl(225, 10%, 55%);
7
- --color-grey-225-10-75: hsl(225, 10%, 75%);
8
- --color-grey-225-10-80: hsl(225, 10%, 80%);
9
- --color-grey-225-10-85: hsl(225, 10%, 85%);
10
- --color-grey-225-10-90: hsl(225, 10%, 90%);
11
- --color-grey-225-10-95: hsl(225, 10%, 95%);
12
- --color-grey-225-10-97: hsl(225, 10%, 97%);
13
-
14
- --color-blue-205-100-45: hsl(205, 100%, 45%);
15
- --color-blue-205-100-45-opacity-30: hsla(205, 100%, 45%, 30%);
16
- --color-blue-205-100-50: hsl(205, 100%, 50%);
17
- --color-blue-205-100-95: hsl(205, 100%, 95%);
18
-
19
- --color-green-150-86-44: hsl(150, 86%, 44%);
20
-
21
- --color-red-360-100-40: hsl(360, 100%, 40%);
22
- --color-red-360-100-45: hsl(360, 100%, 45%);
23
- --color-red-360-100-92: hsl(360, 100%, 92%);
24
- --color-red-360-100-97: hsl(360, 100%, 97%);
25
-
26
- --color-white: hsl(0, 0%, 100%);
27
- --color-black: hsl(0, 0%, 0%);
28
- --color-black-opacity-05: hsla(0, 0%, 0%, 5%);
29
- --color-black-opacity-10: hsla(0, 0%, 0%, 10%);
30
-
31
- --breadcrumbs-font-family: var(--bjs-font-family);
32
- --breadcrumbs-item-color: var(--color-blue-205-100-50);
33
- --breadcrumbs-arrow-color: var(--color-black);
34
- --drilldown-fill-color: var(--color-white);
35
- --drilldown-background-color: var(--color-blue-205-100-50);
36
- }
37
-
38
- .bjs-breadcrumbs {
39
- position: absolute;
40
- display: none;
41
- flex-wrap: wrap;
42
- align-items: center;
43
- top: 30px;
44
- left: 30px;
45
- padding: 0px;
46
- margin: 0px;
47
- font-family: var(--breadcrumbs-font-family);
48
- font-size: 16px;
49
- line-height: normal;
50
- }
51
-
52
- .bjs-breadcrumbs-shown .bjs-breadcrumbs {
53
- display: flex;
54
- }
55
-
56
- .djs-palette-shown .bjs-breadcrumbs {
57
- left: 90px;
58
- }
59
-
60
- .djs-palette-shown.djs-palette-two-column .bjs-breadcrumbs {
61
- left: 140px;
62
- }
63
-
64
- .bjs-breadcrumbs li {
65
- display: inline-flex;
66
- padding-bottom: 5px;
67
- align-items: center;
68
- }
69
-
70
- .bjs-breadcrumbs li a {
71
- cursor: pointer;
72
- color: var(--breadcrumbs-item-color);
73
- }
74
-
75
- .bjs-breadcrumbs li:last-of-type a {
76
- color: inherit;
77
- cursor: default;
78
- }
79
-
80
- .bjs-breadcrumbs li:not(:first-child)::before {
81
- content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /><path d="M0 0h24v24H0z" fill="none" /></svg>');
82
- padding: 0 8px;
83
- color: var(--breadcrumbs-arrow-color);
84
- height: 1em;
85
- }
86
-
87
- .bjs-breadcrumbs .bjs-crumb {
88
- display: inline-block;
89
- max-width: 200px;
90
- overflow: hidden;
91
- text-overflow: ellipsis;
92
- white-space: nowrap;
93
- }
94
-
95
- .bjs-drilldown {
96
- width: 20px;
97
- height: 20px;
98
-
99
- padding: 0px;
100
- margin-left: -20px;
101
-
102
- cursor: pointer;
103
- border: none;
104
- border-radius: 2px;
105
- outline: none;
106
-
107
- fill: var(--drilldown-fill-color);
108
- background-color: var(--drilldown-background-color);
109
- }
110
-
111
- .bjs-drilldown-empty {
112
- display: none;
113
- }
114
-
115
- .selected .bjs-drilldown-empty {
116
- display: inherit;
117
- }
118
-
119
- [data-popup="align-elements"] .djs-popup-results {
120
- display: flex;
121
- }
122
-
123
- [data-popup="align-elements"] .djs-popup-body [data-group] + [data-group] {
124
- border-left: 1px solid var(--popup-border-color);
125
- }
126
-
127
- [data-popup="align-elements"] [data-group="align"] {
128
- display: grid;
129
- grid-template-columns: repeat(3, 1fr);
130
- }
131
-
132
- [data-popup="align-elements"] .djs-popup-body .entry {
133
- padding: 6px 8px;
134
- }
135
-
136
- [data-popup="align-elements"] .djs-popup-body .entry:not(:first-child) {
137
- margin-top: 0;
138
- }
139
-
140
- [data-popup="align-elements"] .djs-popup-entry-icon {
141
- display: block;
142
- margin: 0;
143
- height: 20px;
144
- width: 20px;
145
- }
1
+ .bjs-container {
2
+ --bjs-font-family: Arial, sans-serif;
3
+
4
+ --color-grey-225-10-15: hsl(225, 10%, 15%);
5
+ --color-grey-225-10-35: hsl(225, 10%, 35%);
6
+ --color-grey-225-10-55: hsl(225, 10%, 55%);
7
+ --color-grey-225-10-75: hsl(225, 10%, 75%);
8
+ --color-grey-225-10-80: hsl(225, 10%, 80%);
9
+ --color-grey-225-10-85: hsl(225, 10%, 85%);
10
+ --color-grey-225-10-90: hsl(225, 10%, 90%);
11
+ --color-grey-225-10-95: hsl(225, 10%, 95%);
12
+ --color-grey-225-10-97: hsl(225, 10%, 97%);
13
+
14
+ --color-blue-205-100-45: hsl(205, 100%, 45%);
15
+ --color-blue-205-100-45-opacity-30: hsla(205, 100%, 45%, 30%);
16
+ --color-blue-205-100-50: hsl(205, 100%, 50%);
17
+ --color-blue-205-100-95: hsl(205, 100%, 95%);
18
+
19
+ --color-green-150-86-44: hsl(150, 86%, 44%);
20
+
21
+ --color-red-360-100-40: hsl(360, 100%, 40%);
22
+ --color-red-360-100-45: hsl(360, 100%, 45%);
23
+ --color-red-360-100-92: hsl(360, 100%, 92%);
24
+ --color-red-360-100-97: hsl(360, 100%, 97%);
25
+
26
+ --color-white: hsl(0, 0%, 100%);
27
+ --color-black: hsl(0, 0%, 0%);
28
+ --color-black-opacity-05: hsla(0, 0%, 0%, 5%);
29
+ --color-black-opacity-10: hsla(0, 0%, 0%, 10%);
30
+
31
+ --breadcrumbs-font-family: var(--bjs-font-family);
32
+ --breadcrumbs-item-color: var(--color-blue-205-100-50);
33
+ --breadcrumbs-arrow-color: var(--color-black);
34
+ --drilldown-fill-color: var(--color-white);
35
+ --drilldown-background-color: var(--color-blue-205-100-50);
36
+ }
37
+
38
+ .bjs-breadcrumbs {
39
+ position: absolute;
40
+ display: none;
41
+ flex-wrap: wrap;
42
+ align-items: center;
43
+ top: 30px;
44
+ left: 30px;
45
+ padding: 0px;
46
+ margin: 0px;
47
+ font-family: var(--breadcrumbs-font-family);
48
+ font-size: 16px;
49
+ line-height: normal;
50
+ }
51
+
52
+ .bjs-breadcrumbs-shown .bjs-breadcrumbs {
53
+ display: flex;
54
+ }
55
+
56
+ .djs-palette-shown .bjs-breadcrumbs {
57
+ left: 90px;
58
+ }
59
+
60
+ .djs-palette-shown.djs-palette-two-column .bjs-breadcrumbs {
61
+ left: 140px;
62
+ }
63
+
64
+ .bjs-breadcrumbs li {
65
+ display: inline-flex;
66
+ padding-bottom: 5px;
67
+ align-items: center;
68
+ }
69
+
70
+ .bjs-breadcrumbs li a {
71
+ cursor: pointer;
72
+ color: var(--breadcrumbs-item-color);
73
+ }
74
+
75
+ .bjs-breadcrumbs li:last-of-type a {
76
+ color: inherit;
77
+ cursor: default;
78
+ }
79
+
80
+ .bjs-breadcrumbs li:not(:first-child)::before {
81
+ content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /><path d="M0 0h24v24H0z" fill="none" /></svg>');
82
+ padding: 0 8px;
83
+ color: var(--breadcrumbs-arrow-color);
84
+ height: 1em;
85
+ }
86
+
87
+ .bjs-breadcrumbs .bjs-crumb {
88
+ display: inline-block;
89
+ max-width: 200px;
90
+ overflow: hidden;
91
+ text-overflow: ellipsis;
92
+ white-space: nowrap;
93
+ }
94
+
95
+ .bjs-drilldown {
96
+ width: 20px;
97
+ height: 20px;
98
+
99
+ padding: 0px;
100
+ margin-left: -20px;
101
+
102
+ cursor: pointer;
103
+ border: none;
104
+ border-radius: 2px;
105
+ outline: none;
106
+
107
+ fill: var(--drilldown-fill-color);
108
+ background-color: var(--drilldown-background-color);
109
+ }
110
+
111
+ .bjs-drilldown-empty {
112
+ display: none;
113
+ }
114
+
115
+ .selected .bjs-drilldown-empty {
116
+ display: inherit;
117
+ }
118
+
119
+ [data-popup="align-elements"] .djs-popup-results {
120
+ display: flex;
121
+ }
122
+
123
+ [data-popup="align-elements"] .djs-popup-body [data-group] + [data-group] {
124
+ border-left: 1px solid var(--popup-border-color);
125
+ }
126
+
127
+ [data-popup="align-elements"] [data-group="align"] {
128
+ display: grid;
129
+ grid-template-columns: repeat(3, 1fr);
130
+ }
131
+
132
+ [data-popup="align-elements"] .djs-popup-body .entry {
133
+ padding: 6px 8px;
134
+ }
135
+
136
+ [data-popup="align-elements"] .djs-popup-body .entry:not(:first-child) {
137
+ margin-top: 0;
138
+ }
139
+
140
+ [data-popup="align-elements"] .djs-popup-entry-icon {
141
+ display: block;
142
+ margin: 0;
143
+ height: 20px;
144
+ width: 20px;
145
+ }
@@ -1,3 +1,3 @@
1
- @import './base-modeler.css';
2
- @import './element-templates.css';
1
+ @import './base-modeler.css';
2
+ @import './element-templates.css';
3
3
  @import './element-template-chooser.css';
@@ -1,2 +1,2 @@
1
- @import './base-modeler.css';
1
+ @import './base-modeler.css';
2
2
  @import './element-templates.css';