@rebilly/instruments 9.47.3 → 9.48.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/CHANGELOG.md +6 -1
- package/dist/index.js +23 -0
- package/dist/index.min.js +10 -10
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [9.
|
|
1
|
+
## [9.48.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.47.3...instruments/core-v9.48.0) (2024-05-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **Instruments:** Manage instruments Make Default action ([#5266](https://github.com/Rebilly/rebilly/issues/5266)) ([f34dc2a](https://github.com/Rebilly/rebilly/commit/f34dc2a55d45fb8220d8f6eff0e97056841a55c7)), closes [#5425](https://github.com/Rebilly/rebilly/issues/5425)
|
package/dist/index.js
CHANGED
|
@@ -16670,10 +16670,14 @@ class DataInstance {
|
|
|
16670
16670
|
(product) => product.requiresShipping
|
|
16671
16671
|
);
|
|
16672
16672
|
}
|
|
16673
|
+
get hasPurchaseData() {
|
|
16674
|
+
return this.isPayment || this.inPurchase || this.isDepositTransaction;
|
|
16675
|
+
}
|
|
16673
16676
|
toPostmatesModel() {
|
|
16674
16677
|
return JSON.parse(
|
|
16675
16678
|
JSON.stringify({
|
|
16676
16679
|
...this,
|
|
16680
|
+
hasPurchaseData: this.hasPurchaseData,
|
|
16677
16681
|
amountAndCurrency: this.amountAndCurrency,
|
|
16678
16682
|
isPayment: this.isPayment,
|
|
16679
16683
|
isInvoice: this.isInvoice,
|
|
@@ -26379,6 +26383,24 @@ const properties = {
|
|
|
26379
26383
|
value: "#CD5C5C"
|
|
26380
26384
|
}
|
|
26381
26385
|
},
|
|
26386
|
+
colorSuccess: {
|
|
26387
|
+
fallback: {
|
|
26388
|
+
type: "static",
|
|
26389
|
+
value: "#22BC32"
|
|
26390
|
+
}
|
|
26391
|
+
},
|
|
26392
|
+
colorSuccessMuted: {
|
|
26393
|
+
fallback: {
|
|
26394
|
+
type: "static",
|
|
26395
|
+
value: "#DDF5E0"
|
|
26396
|
+
}
|
|
26397
|
+
},
|
|
26398
|
+
colorSuccessDark: {
|
|
26399
|
+
fallback: {
|
|
26400
|
+
type: "static",
|
|
26401
|
+
value: "#0C4112"
|
|
26402
|
+
}
|
|
26403
|
+
},
|
|
26382
26404
|
/** Base Fonts */
|
|
26383
26405
|
fontFamily: {
|
|
26384
26406
|
fallback: {
|
|
@@ -27411,6 +27433,7 @@ const vars = (theme2) => `
|
|
|
27411
27433
|
--rebilly-fontSizeS: calc(var(--rebilly-fontSizeBase) * var(--rebilly-fontScaleFactorS));
|
|
27412
27434
|
--rebilly-fontLineHeightS: calc(var(--rebilly-fontSizeS) * 1);
|
|
27413
27435
|
|
|
27436
|
+
--rebilly-fontSizeXs: calc(var(--rebilly-fontSizeS) * var(--rebilly-fontScaleFactorS));
|
|
27414
27437
|
--rebilly-fontSizeL: calc(var(--rebilly-fontSizeBase) * var(--rebilly-fontScaleFactor));
|
|
27415
27438
|
--rebilly-fontLineHeightL: calc(var(--rebilly-fontLineHeightBase) * 2);
|
|
27416
27439
|
--rebilly-fontMarginTopL: 0;
|