@descope/web-components-ui 1.125.0 → 1.126.0
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/dist/cjs/index.cjs.js +24 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +24 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-outbound-app-button.js +1 -1
- package/dist/umd/descope-outbound-app-button.js.map +1 -1
- package/package.json +4 -4
package/dist/cjs/index.cjs.js
CHANGED
@@ -22161,7 +22161,7 @@ class RawOutboundAppButton extends createBaseClass$1({
|
|
22161
22161
|
baseSelector: ':host > descope-button',
|
22162
22162
|
}) {
|
22163
22163
|
static get observedAttributes() {
|
22164
|
-
return ['label', 'icon-src'];
|
22164
|
+
return ['label', 'icon-src', 'icon-fill-current-color'];
|
22165
22165
|
}
|
22166
22166
|
|
22167
22167
|
constructor() {
|
@@ -22191,7 +22191,15 @@ class RawOutboundAppButton extends createBaseClass$1({
|
|
22191
22191
|
init() {
|
22192
22192
|
super.init?.();
|
22193
22193
|
|
22194
|
-
forwardAttrs(this, this.button, {
|
22194
|
+
forwardAttrs(this, this.button, {
|
22195
|
+
excludeAttrs: [
|
22196
|
+
'style',
|
22197
|
+
'class',
|
22198
|
+
'label',
|
22199
|
+
'icon-src',
|
22200
|
+
'icon-fill-current-color',
|
22201
|
+
]
|
22202
|
+
});
|
22195
22203
|
}
|
22196
22204
|
|
22197
22205
|
updateLabel(val = '') {
|
@@ -22220,7 +22228,14 @@ class RawOutboundAppButton extends createBaseClass$1({
|
|
22220
22228
|
const OutboundAppButtonClass = compose(
|
22221
22229
|
createStyleMixin$1({
|
22222
22230
|
mappings: {
|
22223
|
-
hostWidth: {
|
22231
|
+
hostWidth: {
|
22232
|
+
selector: () => ':host',
|
22233
|
+
property: 'width'
|
22234
|
+
},
|
22235
|
+
iconFillCurrentColor: {
|
22236
|
+
selector: () => 'descope-icon',
|
22237
|
+
property: ButtonClass.cssVarList.iconColor
|
22238
|
+
}
|
22224
22239
|
},
|
22225
22240
|
}),
|
22226
22241
|
draggableMixin$1,
|
@@ -22230,6 +22245,12 @@ const OutboundAppButtonClass = compose(
|
|
22230
22245
|
const compVars = OutboundAppButtonClass.cssVarList;
|
22231
22246
|
|
22232
22247
|
const outboundAppButton = {
|
22248
|
+
[compVars.iconFill]: 'inherit',
|
22249
|
+
|
22250
|
+
_iconFillCurrentColor: {
|
22251
|
+
[compVars.iconFillCurrentColor]: 'currentColor',
|
22252
|
+
},
|
22253
|
+
|
22233
22254
|
_fullWidth: {
|
22234
22255
|
[compVars.hostWidth]: '100%',
|
22235
22256
|
},
|