@streamline-pulse/formkrafter-wc 0.2.0 → 0.4.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 +10 -8
- package/dist/components/fk-brick-actions.js +1 -1
- package/dist/components/fk-brick-list.js +1 -1
- package/dist/components/fk-brick-mold-item.js +1 -1
- package/dist/components/fk-brick-not-found.js +1 -1
- package/dist/components/fk-brick-render.js +1 -1
- package/dist/components/fk-code-editor.js +1 -1
- package/dist/components/fk-data-grid.js +1 -1
- package/dist/components/fk-drop-area.js +1 -1
- package/dist/components/fk-empty-form.js +1 -1
- package/dist/components/fk-file-input.js +1 -1
- package/dist/components/fk-form-builder.js +1 -1
- package/dist/components/fk-form-render.js +1 -1
- package/dist/components/fk-property-panel.js +1 -1
- package/dist/components/fk-rules-editor.js +1 -1
- package/dist/components/fk-select-input.js +1 -1
- package/dist/components/fk-signature-input.js +1 -1
- package/dist/components/fk-stepper.js +1 -1
- package/dist/components/fk-tabs.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-LXnm2ogM.js → p-28GBFlUX.js} +4 -4
- package/dist/components/p-BB4Llg42.js +1 -0
- package/dist/components/p-BGxmFcpL.js +1 -0
- package/dist/components/{p-BVBfbMl_.js → p-BInUBjyw.js} +1 -1
- package/dist/components/p-BietHxaT.js +1 -0
- package/dist/components/{p-C85zhhpr.js → p-BnzSarwW.js} +1 -1
- package/dist/components/p-BpkKcCCr.js +1 -0
- package/dist/components/p-C0Y8qh8R.js +1 -0
- package/dist/components/p-C5OWoRhO.js +1 -0
- package/dist/components/p-CKs1CWVz.js +1 -0
- package/dist/components/{p-BSPTuA1p.js → p-CZHykCYD.js} +1 -1
- package/dist/components/p-CehxuHtl.js +1 -0
- package/dist/components/p-CqVSd56Z.js +1 -0
- package/dist/components/p-CyZA17qf.js +1 -0
- package/dist/components/p-D4HhZxQ-.js +1 -0
- package/dist/components/p-DC6Wxbnz.js +1 -0
- package/dist/components/p-DRNycSdI.js +1 -0
- package/dist/components/{p-B0YjIsVn.js → p-Dh5Z49YD.js} +1 -1
- package/dist/components/p-DiOstAi9.js +1 -0
- package/dist/components/p-DlqnIm46.js +1 -0
- package/dist/components/{p-BDvqHJih.js → p-DshUS8Zm.js} +1 -1
- package/dist/components/p-DtcM1yw5.js +1 -0
- package/dist/components/p-NDbmiiYk.js +1 -0
- package/dist/components/p-RzeBwfwG.js +1 -0
- package/dist/components/p-ajy8ZcBX.js +1 -0
- package/dist/components/p-kYG3E0GQ.js +1 -0
- package/dist/components/p-tTJg_I4V.js +1 -0
- package/dist/formkrafter-wc/formkrafter-wc.css +1 -1
- package/dist/formkrafter-wc/formkrafter-wc.esm.js +1 -1
- package/dist/formkrafter-wc/index.esm.js +1 -1
- package/dist/formkrafter-wc/p-3579150a.entry.js +1 -0
- package/dist/formkrafter-wc/p-8b0ff66e.entry.js +1 -0
- package/dist/formkrafter-wc/p-BHZMDq2e.js +1 -0
- package/dist/formkrafter-wc/p-BietHxaT.js +1 -0
- package/dist/formkrafter-wc/p-C0Y8qh8R.js +1 -0
- package/dist/formkrafter-wc/p-CehxuHtl.js +1 -0
- package/dist/formkrafter-wc/p-DlqnIm46.js +1 -0
- package/dist/formkrafter-wc/p-DtcM1yw5.js +1 -0
- package/dist/formkrafter-wc/p-RzeBwfwG.js +1 -0
- package/dist/formkrafter-wc/p-WWmY5Z05.js +1 -0
- package/dist/formkrafter-wc/p-hcT25XX4.js +12 -0
- package/dist/formkrafter-wc/p-qLZlXROB.js +2 -0
- package/dist/types/components/fk-code-editor/fk-code-editor.d.ts +3 -1
- package/dist/types/components/fk-data-grid/fk-data-grid.d.ts +1 -0
- package/dist/types/components/fk-drop-area/fk-drop-area.d.ts +1 -0
- package/dist/types/components/fk-file-input/fk-file-input.d.ts +7 -3
- package/dist/types/components/fk-form-render/fk-form-render.d.ts +7 -1
- package/dist/types/components/fk-select-input/fk-select-input.d.ts +9 -0
- package/dist/types/components.d.ts +39 -4
- package/dist/types/index.d.ts +1 -1
- package/dist/types/registry/default-bricks.d.ts +36 -0
- package/dist/types/utils/mask.d.ts +1 -0
- package/package.json +10 -15
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/fk-brick-actions_18.cjs.entry.js +0 -26443
- package/dist/cjs/formkrafter-wc.cjs.js +0 -25
- package/dist/cjs/index-Can2MpG5.js +0 -17538
- package/dist/cjs/index-CbyFxLc_.js +0 -2114
- package/dist/cjs/index.cjs.js +0 -48
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/collection/collection-manifest.json +0 -30
- package/dist/collection/components/fk-brick-actions/fk-brick-actions.css +0 -78
- package/dist/collection/components/fk-brick-actions/fk-brick-actions.js +0 -215
- package/dist/collection/components/fk-brick-list/fk-brick-list.css +0 -71
- package/dist/collection/components/fk-brick-list/fk-brick-list.js +0 -55
- package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.css +0 -33
- package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.js +0 -73
- package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.css +0 -8
- package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.js +0 -18
- package/dist/collection/components/fk-brick-render/fk-brick-render.js +0 -447
- package/dist/collection/components/fk-code-editor/fk-code-editor.css +0 -26
- package/dist/collection/components/fk-code-editor/fk-code-editor.js +0 -136
- package/dist/collection/components/fk-data-grid/fk-data-grid.css +0 -75
- package/dist/collection/components/fk-data-grid/fk-data-grid.js +0 -300
- package/dist/collection/components/fk-drop-area/fk-drop-area.css +0 -18
- package/dist/collection/components/fk-drop-area/fk-drop-area.js +0 -98
- package/dist/collection/components/fk-empty-form/fk-empty-form.css +0 -22
- package/dist/collection/components/fk-empty-form/fk-empty-form.js +0 -19
- package/dist/collection/components/fk-file-input/fk-file-input.css +0 -95
- package/dist/collection/components/fk-file-input/fk-file-input.js +0 -196
- package/dist/collection/components/fk-form-builder/fk-form-builder.css +0 -112
- package/dist/collection/components/fk-form-builder/fk-form-builder.js +0 -431
- package/dist/collection/components/fk-form-render/fk-form-render.css +0 -7
- package/dist/collection/components/fk-form-render/fk-form-render.js +0 -352
- package/dist/collection/components/fk-property-panel/fk-property-panel.css +0 -153
- package/dist/collection/components/fk-property-panel/fk-property-panel.js +0 -384
- package/dist/collection/components/fk-rules-editor/fk-rules-editor.css +0 -166
- package/dist/collection/components/fk-rules-editor/fk-rules-editor.js +0 -250
- package/dist/collection/components/fk-select-input/fk-select-input.css +0 -144
- package/dist/collection/components/fk-select-input/fk-select-input.js +0 -356
- package/dist/collection/components/fk-signature-input/fk-signature-input.css +0 -42
- package/dist/collection/components/fk-signature-input/fk-signature-input.js +0 -158
- package/dist/collection/components/fk-stepper/fk-stepper.css +0 -85
- package/dist/collection/components/fk-stepper/fk-stepper.js +0 -282
- package/dist/collection/components/fk-tabs/fk-tabs.css +0 -38
- package/dist/collection/components/fk-tabs/fk-tabs.js +0 -236
- package/dist/collection/i18n/i18n.js +0 -257
- package/dist/collection/index.js +0 -5
- package/dist/collection/registry/create-brick.js +0 -34
- package/dist/collection/registry/default-bricks.js +0 -562
- package/dist/collection/registry/registry.js +0 -44
- package/dist/collection/utils/brick-data.js +0 -16
- package/dist/collection/utils/drop.js +0 -14
- package/dist/collection/utils/events.js +0 -1
- package/dist/collection/utils/options.js +0 -21
- package/dist/collection/utils/remote.js +0 -27
- package/dist/collection/utils/rule-condition.js +0 -72
- package/dist/collection/utils/style.js +0 -11
- package/dist/components/p-B1t0M_hN.js +0 -1
- package/dist/components/p-B21cOFRx.js +0 -1
- package/dist/components/p-B7ED8qMb.js +0 -1
- package/dist/components/p-BrOXMyOG.js +0 -1
- package/dist/components/p-CMQ_4Zfv.js +0 -1
- package/dist/components/p-CWQX0sXS.js +0 -1
- package/dist/components/p-CXEvsomA.js +0 -1
- package/dist/components/p-Cq9HSEn8.js +0 -1
- package/dist/components/p-D7bf2ztq.js +0 -1
- package/dist/components/p-DIPoAaGe.js +0 -1
- package/dist/components/p-DYBirEew.js +0 -1
- package/dist/components/p-DluDp8V5.js +0 -1
- package/dist/components/p-Do6-yRva.js +0 -1
- package/dist/components/p-GjmAhT2E.js +0 -1
- package/dist/components/p-y0xDvzJR.js +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/fk-brick-actions_18.entry.js +0 -26424
- package/dist/esm/formkrafter-wc.js +0 -21
- package/dist/esm/index-BB2OOj__.js +0 -17478
- package/dist/esm/index-DMDO6w5-.js +0 -2105
- package/dist/esm/index.js +0 -2
- package/dist/esm/loader.js +0 -11
- package/dist/formkrafter-wc/p-0de7cbe1.entry.js +0 -1
- package/dist/formkrafter-wc/p-Bp_A8oL5.js +0 -12
- package/dist/formkrafter-wc/p-DMDO6w5-.js +0 -2
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/stencil.config.js +0 -34
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { services } from "@streamline-pulse/formkrafter-core";
|
|
3
|
-
import { fkT } from "../../i18n/i18n";
|
|
4
|
-
export class FkFileInput {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.disabled = false;
|
|
7
|
-
this.uploading = false;
|
|
8
|
-
this.removing = false;
|
|
9
|
-
this.handleFile = async (event) => {
|
|
10
|
-
var _a;
|
|
11
|
-
const input = event.target;
|
|
12
|
-
const file = (_a = input.files) === null || _a === void 0 ? void 0 : _a[0];
|
|
13
|
-
if (!file)
|
|
14
|
-
return;
|
|
15
|
-
this.uploading = true;
|
|
16
|
-
this.uploadError = undefined;
|
|
17
|
-
try {
|
|
18
|
-
const uploaded = await services.fileUploadService.upload(file, {
|
|
19
|
-
url: this.uploadUrl,
|
|
20
|
-
});
|
|
21
|
-
this.fileValueChange.emit(uploaded);
|
|
22
|
-
}
|
|
23
|
-
catch (error) {
|
|
24
|
-
this.uploadError =
|
|
25
|
-
error instanceof Error ? error.message : String(error);
|
|
26
|
-
}
|
|
27
|
-
finally {
|
|
28
|
-
this.uploading = false;
|
|
29
|
-
input.value = '';
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
this.handleRemove = async (event) => {
|
|
33
|
-
var _a, _b;
|
|
34
|
-
event.preventDefault();
|
|
35
|
-
const current = this.value;
|
|
36
|
-
if (!current)
|
|
37
|
-
return;
|
|
38
|
-
this.removing = true;
|
|
39
|
-
this.uploadError = undefined;
|
|
40
|
-
try {
|
|
41
|
-
await ((_b = (_a = services.fileUploadService).remove) === null || _b === void 0 ? void 0 : _b.call(_a, current, { url: this.uploadUrl }));
|
|
42
|
-
}
|
|
43
|
-
catch (error) {
|
|
44
|
-
this.uploadError = error instanceof Error ? error.message : String(error);
|
|
45
|
-
}
|
|
46
|
-
finally {
|
|
47
|
-
this.removing = false;
|
|
48
|
-
this.fileValueChange.emit(undefined);
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
formatSize(size) {
|
|
53
|
-
if (size < 1024)
|
|
54
|
-
return `${size} B`;
|
|
55
|
-
if (size < 1024 * 1024)
|
|
56
|
-
return `${(size / 1024).toFixed(1)} KB`;
|
|
57
|
-
return `${(size / (1024 * 1024)).toFixed(1)} MB`;
|
|
58
|
-
}
|
|
59
|
-
render() {
|
|
60
|
-
return (h("div", { key: 'f7705974fe50f568094cf1f2874716fad7b2e31b', class: "fk-file" }, this.value ? (h("div", { class: "fk-file__selected" }, h("span", { class: "fk-file__icon", "aria-hidden": "true" }, h("svg", { viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }), h("polyline", { points: "14 2 14 8 20 8" }))), h("span", { class: "fk-file__meta" }, h("span", { class: "fk-file__name", title: this.value.name }, this.value.name), h("span", { class: "fk-file__size" }, this.formatSize(this.value.size))), h("button", { type: "button", class: "fk-file__remove", title: fkT('file.remove'), disabled: this.disabled || this.removing, onClick: this.handleRemove }, this.removing ? '…' : '✕'))) : (h("button", { type: "button", class: "fk-file__choose", disabled: this.disabled || this.uploading, onClick: (event) => {
|
|
61
|
-
var _a;
|
|
62
|
-
event.preventDefault();
|
|
63
|
-
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.click();
|
|
64
|
-
} }, this.uploading ? fkT('file.uploading') : fkT('file.choose'))), h("input", { key: '170b1335f87a4ffdfa6cc29e005036384c4f04a6', class: "fk-file__native", type: "file", accept: this.accept, disabled: this.disabled, ref: (element) => (this.inputEl = element), onChange: this.handleFile }), this.uploadError ? (h("span", { class: "fk-field__error" }, this.uploadError)) : null));
|
|
65
|
-
}
|
|
66
|
-
static get is() { return "fk-file-input"; }
|
|
67
|
-
static get encapsulation() { return "scoped"; }
|
|
68
|
-
static get originalStyleUrls() {
|
|
69
|
-
return {
|
|
70
|
-
"$": ["fk-file-input.css"]
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
static get styleUrls() {
|
|
74
|
-
return {
|
|
75
|
-
"$": ["fk-file-input.css"]
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
static get properties() {
|
|
79
|
-
return {
|
|
80
|
-
"value": {
|
|
81
|
-
"type": "unknown",
|
|
82
|
-
"mutable": false,
|
|
83
|
-
"complexType": {
|
|
84
|
-
"original": "UploadedFile",
|
|
85
|
-
"resolved": "UploadedFile",
|
|
86
|
-
"references": {
|
|
87
|
-
"UploadedFile": {
|
|
88
|
-
"location": "import",
|
|
89
|
-
"path": "@streamline-pulse/formkrafter-core",
|
|
90
|
-
"id": "../core/dist/index.d.ts::UploadedFile",
|
|
91
|
-
"referenceLocation": "UploadedFile"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"required": false,
|
|
96
|
-
"optional": true,
|
|
97
|
-
"docs": {
|
|
98
|
-
"tags": [],
|
|
99
|
-
"text": ""
|
|
100
|
-
},
|
|
101
|
-
"getter": false,
|
|
102
|
-
"setter": false
|
|
103
|
-
},
|
|
104
|
-
"disabled": {
|
|
105
|
-
"type": "boolean",
|
|
106
|
-
"mutable": false,
|
|
107
|
-
"complexType": {
|
|
108
|
-
"original": "boolean",
|
|
109
|
-
"resolved": "boolean",
|
|
110
|
-
"references": {}
|
|
111
|
-
},
|
|
112
|
-
"required": false,
|
|
113
|
-
"optional": false,
|
|
114
|
-
"docs": {
|
|
115
|
-
"tags": [],
|
|
116
|
-
"text": ""
|
|
117
|
-
},
|
|
118
|
-
"getter": false,
|
|
119
|
-
"setter": false,
|
|
120
|
-
"reflect": false,
|
|
121
|
-
"attribute": "disabled",
|
|
122
|
-
"defaultValue": "false"
|
|
123
|
-
},
|
|
124
|
-
"accept": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"mutable": false,
|
|
127
|
-
"complexType": {
|
|
128
|
-
"original": "string",
|
|
129
|
-
"resolved": "string",
|
|
130
|
-
"references": {}
|
|
131
|
-
},
|
|
132
|
-
"required": false,
|
|
133
|
-
"optional": true,
|
|
134
|
-
"docs": {
|
|
135
|
-
"tags": [],
|
|
136
|
-
"text": ""
|
|
137
|
-
},
|
|
138
|
-
"getter": false,
|
|
139
|
-
"setter": false,
|
|
140
|
-
"reflect": false,
|
|
141
|
-
"attribute": "accept"
|
|
142
|
-
},
|
|
143
|
-
"uploadUrl": {
|
|
144
|
-
"type": "string",
|
|
145
|
-
"mutable": false,
|
|
146
|
-
"complexType": {
|
|
147
|
-
"original": "string",
|
|
148
|
-
"resolved": "string",
|
|
149
|
-
"references": {}
|
|
150
|
-
},
|
|
151
|
-
"required": false,
|
|
152
|
-
"optional": true,
|
|
153
|
-
"docs": {
|
|
154
|
-
"tags": [],
|
|
155
|
-
"text": ""
|
|
156
|
-
},
|
|
157
|
-
"getter": false,
|
|
158
|
-
"setter": false,
|
|
159
|
-
"reflect": false,
|
|
160
|
-
"attribute": "upload-url"
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
static get states() {
|
|
165
|
-
return {
|
|
166
|
-
"uploading": {},
|
|
167
|
-
"removing": {},
|
|
168
|
-
"uploadError": {}
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
static get events() {
|
|
172
|
-
return [{
|
|
173
|
-
"method": "fileValueChange",
|
|
174
|
-
"name": "fileValueChange",
|
|
175
|
-
"bubbles": true,
|
|
176
|
-
"cancelable": true,
|
|
177
|
-
"composed": true,
|
|
178
|
-
"docs": {
|
|
179
|
-
"tags": [],
|
|
180
|
-
"text": ""
|
|
181
|
-
},
|
|
182
|
-
"complexType": {
|
|
183
|
-
"original": "UploadedFile | undefined",
|
|
184
|
-
"resolved": "UploadedFile",
|
|
185
|
-
"references": {
|
|
186
|
-
"UploadedFile": {
|
|
187
|
-
"location": "import",
|
|
188
|
-
"path": "@streamline-pulse/formkrafter-core",
|
|
189
|
-
"id": "../core/dist/index.d.ts::UploadedFile",
|
|
190
|
-
"referenceLocation": "UploadedFile"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}];
|
|
195
|
-
}
|
|
196
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
container-type: inline-size;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.fk-builder {
|
|
7
|
-
display: flex;
|
|
8
|
-
gap: calc(var(--fk-spacing) * 2);
|
|
9
|
-
align-items: flex-start;
|
|
10
|
-
font-family: var(--fk-font);
|
|
11
|
-
color: var(--fk-color-text);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@container (max-width: 820px) {
|
|
15
|
-
.fk-builder {
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.fk-builder__palette,
|
|
20
|
-
.fk-builder__inspector {
|
|
21
|
-
width: 100%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.fk-builder__main {
|
|
25
|
-
order: 2;
|
|
26
|
-
flex-basis: 100%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.fk-builder__palette {
|
|
30
|
-
order: 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.fk-builder__inspector {
|
|
34
|
-
order: 3;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.fk-builder__palette {
|
|
39
|
-
width: 220px;
|
|
40
|
-
flex-shrink: 0;
|
|
41
|
-
padding: calc(var(--fk-spacing) * 1.5);
|
|
42
|
-
border: 1px solid var(--fk-color-border);
|
|
43
|
-
border-radius: var(--fk-radius);
|
|
44
|
-
background: var(--fk-color-surface);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.fk-builder__main {
|
|
48
|
-
flex: 1;
|
|
49
|
-
min-width: 0;
|
|
50
|
-
display: flex;
|
|
51
|
-
flex-direction: column;
|
|
52
|
-
gap: var(--fk-spacing);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.fk-builder__toolbar {
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
gap: calc(var(--fk-spacing) / 2);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.fk-builder__spacer {
|
|
62
|
-
flex: 1;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.fk-builder__import-error {
|
|
66
|
-
font-size: 0.75rem;
|
|
67
|
-
color: var(--fk-color-danger);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.fk-builder__tool {
|
|
71
|
-
padding: calc(var(--fk-spacing) / 2) var(--fk-spacing);
|
|
72
|
-
border: 1px solid var(--fk-color-border);
|
|
73
|
-
border-radius: calc(var(--fk-radius) / 2);
|
|
74
|
-
background: var(--fk-color-surface);
|
|
75
|
-
color: var(--fk-color-text);
|
|
76
|
-
font-size: 0.8rem;
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.fk-builder__tool:hover:not(:disabled) {
|
|
81
|
-
border-color: var(--fk-color-primary);
|
|
82
|
-
color: var(--fk-color-primary);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.fk-builder__tool:disabled {
|
|
86
|
-
opacity: 0.4;
|
|
87
|
-
cursor: default;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.fk-builder__canvas {
|
|
91
|
-
min-height: 320px;
|
|
92
|
-
padding: calc(var(--fk-spacing) * 2);
|
|
93
|
-
border: 1px solid var(--fk-color-border);
|
|
94
|
-
border-radius: var(--fk-radius);
|
|
95
|
-
background: var(--fk-color-surface);
|
|
96
|
-
overflow-x: auto;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.fk-builder__inspector {
|
|
100
|
-
width: 260px;
|
|
101
|
-
flex-shrink: 0;
|
|
102
|
-
padding: calc(var(--fk-spacing) * 1.5);
|
|
103
|
-
border: 1px solid var(--fk-color-border);
|
|
104
|
-
border-radius: var(--fk-radius);
|
|
105
|
-
background: var(--fk-color-surface);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.fk-builder__hint {
|
|
109
|
-
margin: 0;
|
|
110
|
-
font-size: 0.8rem;
|
|
111
|
-
color: var(--fk-color-muted);
|
|
112
|
-
}
|