@operato/app 1.4.39 → 1.4.45

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.4.39",
5
+ "version": "1.4.45",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -178,5 +178,5 @@
178
178
  "prettier --write"
179
179
  ]
180
180
  },
181
- "gitHead": "e2c0291a2c1050d911df43414b4eefc7cd939157"
181
+ "gitHead": "6f517108ba957c3c692cf8f35be21144b6eab278"
182
182
  }
@@ -90,6 +90,8 @@ export class OxInputColorStyle extends OxFormField {
90
90
  @property({ type: Object }) gradient?: GradientOption
91
91
  @property({ type: Object }) pattern?: BackgroundPatternOption
92
92
 
93
+ @property({ type: Boolean, attribute: 'color-only' }) colorOnly: boolean = false
94
+
93
95
  private _block_reset: boolean = false
94
96
 
95
97
  updated(changes: PropertyValues<this>) {
@@ -109,22 +111,27 @@ export class OxInputColorStyle extends OxFormField {
109
111
  <label for="fill-type-no"><ox-i18n msgid="label.no-fill">no fill</ox-i18n></label>
110
112
  <input type="radio" id="fill-type-solid" name="fill-type" value="solid" .checked=${this.fillType == 'solid'} />
111
113
  <label for="fill-type-solid"><ox-i18n msgid="label.solid">solid</ox-i18n></label>
112
- <input
113
- type="radio"
114
- id="fill-type-gradient"
115
- name="fill-type"
116
- value="gradient"
117
- .checked=${this.fillType == 'gradient'}
118
- />
119
- <label for="fill-type-gradient"><ox-i18n msgid="label.gradient">gradient</ox-i18n></label>
120
- <input
121
- type="radio"
122
- id="fill-type-pattern"
123
- name="fill-type"
124
- value="pattern"
125
- .checked=${this.fillType == 'pattern'}
126
- />
127
- <label for="fill-type-pattern"><ox-i18n msgid="label.pattern">pattern</ox-i18n></label>
114
+ ${this.colorOnly
115
+ ? html``
116
+ : html`
117
+ <input
118
+ type="radio"
119
+ id="fill-type-gradient"
120
+ name="fill-type"
121
+ value="gradient"
122
+ .checked=${this.fillType == 'gradient'}
123
+ />
124
+
125
+ <label for="fill-type-gradient"><ox-i18n msgid="label.gradient">gradient</ox-i18n></label>
126
+ <input
127
+ type="radio"
128
+ id="fill-type-pattern"
129
+ name="fill-type"
130
+ value="pattern"
131
+ .checked=${this.fillType == 'pattern'}
132
+ />
133
+ <label for="fill-type-pattern"><ox-i18n msgid="label.pattern">pattern</ox-i18n></label>
134
+ `}
128
135
  </div>
129
136
 
130
137
  <div editors>