@appscode/design-system 1.1.0-beta.72 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.1.0-beta.72",
3
+ "version": "1.1.0-beta.73",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -20,7 +20,7 @@ const props = withDefaults(defineProps<Props>(), {
20
20
  showMinimap: false,
21
21
  editorHeight: 40,
22
22
  editorTheme: "",
23
- wordWrap: "off",
23
+ wordWrap: "on",
24
24
  });
25
25
 
26
26
  const emit = defineEmits(["update:modelValue"]);
@@ -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>
@@ -85,6 +85,7 @@ const closeModal = () => {
85
85
  :read-only="true"
86
86
  language="json"
87
87
  :show-minimap="false"
88
+ word-wrap="on"
88
89
  />
89
90
  </modal>
90
91
  </template>