@structured-field/widget-editor 1.0.1 → 1.1.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/dist/structured-widget-editor.css +1 -1
- package/dist/structured-widget-editor.esm.js +801 -481
- package/dist/structured-widget-editor.esm.js.map +1 -1
- package/dist/structured-widget-editor.iife.js +6 -5
- package/dist/structured-widget-editor.js +5 -4
- package/dist/structured-widget-editor.js.map +1 -1
- package/package.json +10 -1
- package/src/SchemaForm.vue +1 -0
- package/src/editors/ArrayEditor.vue +74 -9
- package/src/editors/NullableEditor.vue +10 -4
- package/src/editors/ObjectEditor.vue +39 -5
- package/src/editors/RelationEditor.vue +5 -3
- package/src/editors/SchemaEditor.vue +13 -0
- package/src/editors/SfIcon.vue +45 -0
- package/src/editors/UnionEditor.vue +6 -2
- package/src/index.js +5 -132
- package/src/scss/components/editors.scss +92 -0
- package/src/scss/components/form.scss +6 -1
- package/src/scss/main.scss +3 -3
|
@@ -46,8 +46,13 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.sf-select {
|
|
49
|
-
appearance:
|
|
49
|
+
appearance: none;
|
|
50
50
|
cursor: pointer;
|
|
51
|
+
padding-right: 28px;
|
|
52
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12'%3E%3Cpath fill='%23888' d='M12 15L5 8h14z'/%3E%3C/svg%3E");
|
|
53
|
+
background-repeat: no-repeat;
|
|
54
|
+
background-position: right 8px center;
|
|
55
|
+
background-size: 12px 12px;
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
.sf-checkbox {
|
package/src/scss/main.scss
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use './components/form';
|
|
2
|
+
@use './components/editors';
|
|
3
|
+
@use './components/relation';
|