@appscode/design-system 2.0.23-alpha.1 → 2.0.23-alpha.3

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": "2.0.23-alpha.1",
3
+ "version": "2.0.23-alpha.3",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  // }
24
24
 
25
25
  .ac-preview {
26
- padding-inline: 20px;
26
+ // padding-inline: 20px;
27
27
  // position: fixed;
28
28
  // width: calc(100% - 90px);
29
29
  // height: 100%;
@@ -144,6 +144,17 @@
144
144
  }
145
145
  }
146
146
 
147
+ .footer-bottom-fixed {
148
+ position: fixed!important;
149
+ bottom: 8px!important;
150
+ width: calc(100% - 280px);
151
+ border-top: 1px solid $primary-90;
152
+ padding-top: 8px;
153
+ margin-left: -20px;
154
+ margin-right: -20px;
155
+ padding-inline: 20px;
156
+ }
157
+
147
158
  // nested elements end
148
159
 
149
160
  // .table-wrapper {
@@ -124,15 +124,12 @@ watch(
124
124
  </script>
125
125
 
126
126
  <template>
127
- <div class="ac-preview is-not-fixed pl-20 pr-20">
127
+ <div class="ac-preview is-not-fixed">
128
128
  <div class="ac-preview-inner">
129
129
  <!-- preview body start -->
130
- <div
131
- class="ac-preview-body mt-0"
132
- :class="{
133
- 'is-justify-content-center': isYamlsEmpty && !isPreviewLoading,
134
- }"
135
- >
130
+ <div class="ac-preview-body mt-0" :class="{
131
+ 'is-justify-content-center': isYamlsEmpty && !isPreviewLoading,
132
+ }">
136
133
  <strong v-if="isYamlsEmpty && !isPreviewLoading">
137
134
  No Data Available
138
135
  <i class="pl-5 fa fa-exclamation-circle" aria-hidden="true"></i>
@@ -141,19 +138,12 @@ watch(
141
138
  <div v-if="!isPreviewLoading && previewYamls" class="left-content">
142
139
  <div class="ac-files ac-hscrollbar ac-vscrollbar pt-0">
143
140
  <ul v-if="!isPreviewLoading">
144
- <li
145
- v-for="(previewYaml, idx) in filteredYamls"
146
- :key="previewYaml.name + idx"
147
- :class="{ 'is-active': activeKey === previewYaml.uid }"
148
- :title="previewYaml.name"
149
- data-testid="filtered-file-editor-file-name"
150
- >
141
+ <li v-for="(previewYaml, idx) in filteredYamls" :key="previewYaml.name + idx"
142
+ :class="{ 'is-active': activeKey === previewYaml.uid }" :title="previewYaml.name"
143
+ data-testid="filtered-file-editor-file-name">
151
144
  <a @click.prevent="setActivePreview(previewYaml.uid)">
152
145
  <span>
153
- <img
154
- src="~@appscode/design-system-images/icons/file-icon.svg"
155
- alt=""
156
- />
146
+ <img src="~@appscode/design-system-images/icons/file-icon.svg" alt="" />
157
147
  </span>
158
148
  <span>{{ previewYaml.name }}</span>
159
149
  </a>
@@ -164,20 +154,11 @@ watch(
164
154
  </div>
165
155
  <div class="right-content" data-testid="filtered-file-editor-content">
166
156
  <resource-loader v-if="isPreviewLoading" />
167
- <strong v-else-if="isYamlsNotSelected"
168
- >Selecet a data from sidebar</strong
169
- >
157
+ <strong v-else-if="isYamlsNotSelected">Selecet a data from sidebar</strong>
170
158
  <strong v-else-if="hideValue"> *************** </strong>
171
- <editor
172
- v-else
173
- v-model="activeFile.content"
174
- :original-value="originalValue"
175
- :language="activeFile.type"
176
- :read-only="isEditorReadOnly"
177
- :editor-height="editorHeight"
178
- :show-minimap="showMinimap"
179
- :word-wrap="wordWrap"
180
- />
159
+ <editor v-else v-model="activeFile.content" :original-value="originalValue" :language="activeFile.type"
160
+ :read-only="isEditorReadOnly" :editor-height="editorHeight" :show-minimap="showMinimap"
161
+ :word-wrap="wordWrap" />
181
162
  </div>
182
163
  </template>
183
164
  </div>