@operato/app 1.21.0 → 1.22.1

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
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/app",
3
3
  "description": "WebApplication production supporting components following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "1.21.0",
5
+ "version": "1.22.1",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -142,15 +142,15 @@
142
142
  "@material/mwc-button": "^0.27.0",
143
143
  "@material/mwc-icon": "^0.27.0",
144
144
  "@material/mwc-icon-button": "^0.27.0",
145
- "@operato/attachment": "^1.21.0",
146
- "@operato/data-grist": "^1.21.0",
147
- "@operato/font": "^1.21.0",
145
+ "@operato/attachment": "^1.22.0",
146
+ "@operato/data-grist": "^1.22.0",
147
+ "@operato/font": "^1.22.0",
148
148
  "@operato/form": "^1.21.0",
149
149
  "@operato/graphql": "^1.21.0",
150
150
  "@operato/i18n": "^1.21.0",
151
- "@operato/input": "^1.21.0",
151
+ "@operato/input": "^1.22.0",
152
152
  "@operato/layout": "^1.21.0",
153
- "@operato/property-editor": "^1.21.0",
153
+ "@operato/property-editor": "^1.22.0",
154
154
  "@operato/shell": "^1.21.0",
155
155
  "@operato/styles": "^1.21.0",
156
156
  "@operato/utils": "^1.21.0",
@@ -194,5 +194,5 @@
194
194
  "prettier --write"
195
195
  ]
196
196
  },
197
- "gitHead": "79d1e82260200f827d67bbd90771ef800864bb9a"
197
+ "gitHead": "9e174e080a8c4c7fcb588d6d7961c03dbda7b3dd"
198
198
  }
@@ -20,6 +20,7 @@ export type BackgroundPatternOption = {
20
20
  width?: number
21
21
  height?: number
22
22
  fitPattern?: boolean
23
+ guideOnly?: boolean
23
24
  noRepeat?: boolean
24
25
  }
25
26
 
@@ -170,6 +171,11 @@ export class OxInputBackgroundPattern extends OxFormField {
170
171
  <input value-key="noRepeat" type="checkbox" .checked=${value.noRepeat} required />
171
172
  <label> <ox-i18n msgid="label.no-repeat" auto="">no repeat</ox-i18n> </label>
172
173
  </div>
174
+
175
+ <div class="grid-10">
176
+ <input value-key="guideOnly" type="checkbox" .checked=${value.guideOnly} required />
177
+ <label> <ox-i18n msgid="label.guide-only" auto="">guide only</ox-i18n> </label>
178
+ </div>
173
179
  `
174
180
  }
175
181
 
@@ -182,7 +188,7 @@ export class OxInputBackgroundPattern extends OxFormField {
182
188
  var key = element.getAttribute('value-key')
183
189
  var value: any = element.value
184
190
 
185
- if (key === 'fitPattern' || key === 'noRepeat') {
191
+ if (key === 'fitPattern' || key === 'noRepeat' || key == 'guideOnly') {
186
192
  value = element.checked
187
193
  }
188
194
 
@@ -30,6 +30,7 @@ export type FillStyle =
30
30
  align?: 'left-top' | 'top' | 'right-top' | 'left' | 'center' | 'right' | 'left-bottom' | 'bottom' | 'right-bottom'
31
31
  fitPattern?: boolean
32
32
  noRepeat?: boolean
33
+ guideOnly?: boolean
33
34
  color?: string
34
35
  }
35
36
  | 'no'