@betorigami/games 1.22.1 → 1.22.2

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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1549,7 +1549,7 @@ var hr=Object.create;var{getPrototypeOf:cr,defineProperty:X6,getOwnPropertyNames
1549
1549
  }
1550
1550
 
1551
1551
  .input-inner.has-right-icon .input-field {
1552
- padding-right: 36px;
1552
+ padding-right: var(--input-right-icon-padding, 36px);
1553
1553
  }
1554
1554
 
1555
1555
  .input-inner:has(.input-left-icon) .input-field {
@@ -2209,6 +2209,10 @@ var hr=Object.create;var{getPrototypeOf:cr,defineProperty:X6,getOwnPropertyNames
2209
2209
  cursor: help;
2210
2210
  }
2211
2211
 
2212
+ .currency-display:has(.currency-text) {
2213
+ width: auto;
2214
+ }
2215
+
2212
2216
  .currency-display svg {
2213
2217
  width: 16px;
2214
2218
  height: 16px;
@@ -2239,6 +2243,7 @@ var hr=Object.create;var{getPrototypeOf:cr,defineProperty:X6,getOwnPropertyNames
2239
2243
  @blur=${this.handleBlur}
2240
2244
  @focus=${this.handleFocus}
2241
2245
  .errorMessage=${this.errorMessage}
2246
+ style=${this.gameData?.showCurrencyAsText&&!this.hideCurrencyIcon?"--input-right-icon-padding: 48px":""}
2242
2247
  >
2243
2248
  ${this.tooltip?Z` <origami-tooltip slot="tooltip" .content=${this.tooltip}></origami-tooltip> `:Q}
2244
2249
  <slot slot="right-addon" name="right-addon"></slot>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betorigami/games",
3
- "version": "1.22.1",
3
+ "version": "1.22.2",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",