@appscode/design-system 1.1.0-beta.71 → 1.1.0-beta.73
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/package.json +1 -1
- package/vue-components/v3/editor/Editor.vue +1 -1
- package/vue-components/v3/editor/FilteredFileEditor.vue +3 -0
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +3 -0
- package/vue-components/v3/modal/Modal.vue +1 -1
- package/vue-components/v3/modals/JsonShowModal.vue +1 -0
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ interface Props {
|
|
|
10
10
|
previewYamls?: Array<PreviewYamlType>;
|
|
11
11
|
showMinimap?: boolean;
|
|
12
12
|
editorHeight?: number;
|
|
13
|
+
wordWrap?: string;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -20,6 +21,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
20
21
|
previewYamls: () => [],
|
|
21
22
|
showMinimap: false,
|
|
22
23
|
editorHeight: 60,
|
|
24
|
+
wordWrap: "on",
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
const emit = defineEmits(["setActiveKey"]);
|
|
@@ -174,6 +176,7 @@ watch(
|
|
|
174
176
|
:read-only="isEditorReadOnly"
|
|
175
177
|
:editor-height="editorHeight"
|
|
176
178
|
:show-minimap="showMinimap"
|
|
179
|
+
:word-wrap="wordWrap"
|
|
177
180
|
/>
|
|
178
181
|
</div>
|
|
179
182
|
</template>
|
|
@@ -14,6 +14,7 @@ interface Props {
|
|
|
14
14
|
deleteModalStatus?: string;
|
|
15
15
|
editorHeight?: number;
|
|
16
16
|
hideHeader?: boolean;
|
|
17
|
+
editorWordWrap?: string;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -28,6 +29,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
28
29
|
deleteModalStatus: "closed",
|
|
29
30
|
editorHeight: 60,
|
|
30
31
|
hideHeader: false,
|
|
32
|
+
editorWordWrap: "on",
|
|
31
33
|
});
|
|
32
34
|
|
|
33
35
|
const emit = defineEmits(["activeKey"]);
|
|
@@ -95,6 +97,7 @@ watch(
|
|
|
95
97
|
:show-minimap="showMinimap"
|
|
96
98
|
:editor-height="editorHeight"
|
|
97
99
|
@setActiveKey="setActiveKey"
|
|
100
|
+
:word-wrap="editorWordWrap"
|
|
98
101
|
/>
|
|
99
102
|
</template>
|
|
100
103
|
</content-table>
|
|
@@ -97,8 +97,8 @@ watch(
|
|
|
97
97
|
<slot name="modal-header-controls" />
|
|
98
98
|
<header-item>
|
|
99
99
|
<ac-button
|
|
100
|
+
v-if="!isCloseOptionDisabled"
|
|
100
101
|
modifier-classes="is-square is-transparent"
|
|
101
|
-
:disabled="isCloseOptionDisabled"
|
|
102
102
|
:icon-image="crossIcon"
|
|
103
103
|
@click.stop="destroyModal"
|
|
104
104
|
data-testid="modal-generic-close-icon"
|