@nyaruka/temba-components 0.156.3 → 0.156.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/CHANGELOG.md +11 -0
- package/dist/temba-components.js +395 -286
- package/dist/temba-components.js.map +1 -1
- package/package.json +1 -1
- package/src/flow/CanvasNode.ts +20 -0
- package/src/flow/Editor.ts +260 -502
- package/src/flow/EditorToolbar.ts +566 -0
- package/src/flow/StickyNote.ts +29 -5
- package/src/flow/actions/set_contact_language.ts +4 -13
- package/src/flow/utils.ts +11 -0
- package/temba-modules.ts +2 -0
package/package.json
CHANGED
package/src/flow/CanvasNode.ts
CHANGED
|
@@ -107,6 +107,26 @@ export class CanvasNode extends RapidElement {
|
|
|
107
107
|
user-select: none;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
.shift-held > temba-flow-node,
|
|
111
|
+
.shift-held > temba-flow-node * {
|
|
112
|
+
cursor: copy !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.shift-held > temba-flow-node .exit,
|
|
116
|
+
.shift-held > temba-flow-node .exit *,
|
|
117
|
+
.shift-held > temba-flow-node .linked-name,
|
|
118
|
+
.shift-held > temba-flow-node .linked-name *,
|
|
119
|
+
.shift-held > temba-flow-node .remove-button,
|
|
120
|
+
.shift-held > temba-flow-node .remove-button * {
|
|
121
|
+
cursor: pointer !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
temba-flow-node.drag-copy .node {
|
|
125
|
+
outline: 3px dashed var(--color-primary, #3b82f6);
|
|
126
|
+
outline-offset: 2px;
|
|
127
|
+
opacity: 0.7;
|
|
128
|
+
}
|
|
129
|
+
|
|
110
130
|
/* Flow start indicator */
|
|
111
131
|
temba-flow-node.flow-start .node::before {
|
|
112
132
|
content: 'FLOW START';
|