@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/CHANGELOG.md +9 -0
- package/dist/src/input/ox-input-fill-style.d.ts +1 -0
- package/dist/src/input/ox-input-fill-style.js +25 -16
- package/dist/src/input/ox-input-fill-style.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/input/ox-input-fill-style.ts +23 -16
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.
|
|
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": "
|
|
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
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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>
|