@windward/core 0.4.2 → 0.4.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.
@@ -0,0 +1,14 @@
1
+ image: atlassian/default-image:3
2
+
3
+ pipelines:
4
+ custom:
5
+ create-release:
6
+ import: infrastructure-automation:master:create-release
7
+ publish-release:
8
+ import: infrastructure-automation:master:publish-release
9
+
10
+ branches:
11
+ "release/*":
12
+ import: infrastructure-automation:master:auto-update
13
+ "hotfix/*":
14
+ import: infrastructure-automation:master:auto-update
@@ -6,6 +6,9 @@
6
6
  (isDarkTheme ? '--theme-dark' : '--theme-light')
7
7
  "
8
8
  >
9
+ <label v-if="value && label" class="editor-label">{{
10
+ label
11
+ }}</label>
9
12
  <Editor
10
13
  :key="seed + (isDarkTheme ? '-theme-dark' : '-theme-light')"
11
14
  v-model="text"
@@ -44,7 +47,7 @@
44
47
  </v-btn-toggle>
45
48
 
46
49
  <v-btn
47
- v-if="render"
50
+ v-if="render && !inline"
48
51
  color="primary"
49
52
  elevation="0"
50
53
  outlined
@@ -142,6 +145,7 @@ export default {
142
145
  },
143
146
  root_block: { type: String, required: false, default: 'div' },
144
147
  label: { type: String, required: true, default: '' },
148
+ inline: { type: Boolean, required: false, default: false },
145
149
  allowRead: { type: Boolean, required: false, default: false },
146
150
  },
147
151
  beforeMount() {
@@ -242,6 +246,7 @@ export default {
242
246
  'WindwardToolKit',
243
247
  ],
244
248
  toolbar: this.filteredToolbar,
249
+ inline: this.inline,
245
250
  table_advtab: false,
246
251
  table_cell_advtab: false,
247
252
  table_row_advtab: false,
@@ -543,4 +548,11 @@ html:has(body.theme--dark) {
543
548
  @import './assets/tinymce/ui/dark/content.scss';
544
549
  @import './assets/tinymce/ui/dark/skin.scss';
545
550
  }
551
+ .editor-label {
552
+ font-size: 1rem;
553
+ margin-top: -1rem;
554
+ display: block;
555
+ transform-origin: top left;
556
+ transform: scale(0.75);
557
+ }
546
558
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windward/core",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Windward UI Core Plugins",
5
5
  "main": "plugin.js",
6
6
  "scripts": {