@rebilly/instruments 8.25.0 → 8.25.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.
- package/CHANGELOG.md +14 -0
- package/dist/index.js +183 -12
- package/dist/index.min.js +10 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [8.25.2](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.25.1...instruments/core-v8.25.2) (2024-01-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **instruments:** Update secondary button style ([#2984](https://github.com/Rebilly/rebilly/issues/2984)) ([878e4cb](https://github.com/Rebilly/rebilly/commit/878e4cb694fdbaa00f2f414e292c4e42aee79831))
|
|
7
|
+
|
|
8
|
+
## [8.25.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.25.0...instruments/core-v8.25.1) (2024-01-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **instruments:** Fix issues with Framepay's theme ([#2978](https://github.com/Rebilly/rebilly/issues/2978)) ([1eca2f5](https://github.com/Rebilly/rebilly/commit/1eca2f58b7e8e72d00d94fa16dddc6437adce2ff))
|
|
14
|
+
|
|
1
15
|
## [8.25.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.24.1...instruments/core-v8.25.0) (2024-01-19)
|
|
2
16
|
|
|
3
17
|
|
package/dist/index.js
CHANGED
|
@@ -22562,6 +22562,15 @@ const themeSchema = {
|
|
|
22562
22562
|
type: "string",
|
|
22563
22563
|
default: "1px solid transparent"
|
|
22564
22564
|
}),
|
|
22565
|
+
buttonBorderColor: optional({
|
|
22566
|
+
type: "string"
|
|
22567
|
+
}),
|
|
22568
|
+
buttonBorderWidth: optional({
|
|
22569
|
+
type: "string"
|
|
22570
|
+
}),
|
|
22571
|
+
buttonBorderType: optional({
|
|
22572
|
+
type: "string"
|
|
22573
|
+
}),
|
|
22565
22574
|
buttonBorderRadius: optional({
|
|
22566
22575
|
type: "string"
|
|
22567
22576
|
}),
|
|
@@ -22570,8 +22579,7 @@ const themeSchema = {
|
|
|
22570
22579
|
default: "none"
|
|
22571
22580
|
}),
|
|
22572
22581
|
buttonSecondaryColorText: optional({
|
|
22573
|
-
type: "string"
|
|
22574
|
-
default: "#0044D4"
|
|
22582
|
+
type: "string"
|
|
22575
22583
|
}),
|
|
22576
22584
|
buttonSecondaryFontFamily: optional({
|
|
22577
22585
|
type: "string"
|
|
@@ -22586,8 +22594,16 @@ const themeSchema = {
|
|
|
22586
22594
|
type: "string"
|
|
22587
22595
|
}),
|
|
22588
22596
|
buttonSecondaryBorder: optional({
|
|
22589
|
-
type: "string"
|
|
22590
|
-
|
|
22597
|
+
type: "string"
|
|
22598
|
+
}),
|
|
22599
|
+
buttonSecondaryBorderColor: optional({
|
|
22600
|
+
type: "string"
|
|
22601
|
+
}),
|
|
22602
|
+
buttonSecondaryBorderWidth: optional({
|
|
22603
|
+
type: "string"
|
|
22604
|
+
}),
|
|
22605
|
+
buttonSecondaryBorderType: optional({
|
|
22606
|
+
type: "string"
|
|
22591
22607
|
}),
|
|
22592
22608
|
buttonSecondaryBorderRadius: optional({
|
|
22593
22609
|
type: "string"
|
|
@@ -22618,6 +22634,15 @@ const themeSchema = {
|
|
|
22618
22634
|
buttonHoverBorder: optional({
|
|
22619
22635
|
type: "string"
|
|
22620
22636
|
}),
|
|
22637
|
+
buttonHoverBorderColor: optional({
|
|
22638
|
+
type: "string"
|
|
22639
|
+
}),
|
|
22640
|
+
buttonHoverBorderWidth: optional({
|
|
22641
|
+
type: "string"
|
|
22642
|
+
}),
|
|
22643
|
+
buttonHoverBorderType: optional({
|
|
22644
|
+
type: "string"
|
|
22645
|
+
}),
|
|
22621
22646
|
buttonHoverBorderRadius: optional({
|
|
22622
22647
|
type: "string"
|
|
22623
22648
|
}),
|
|
@@ -22646,6 +22671,15 @@ const themeSchema = {
|
|
|
22646
22671
|
buttonSecondaryHoverBorder: optional({
|
|
22647
22672
|
type: "string"
|
|
22648
22673
|
}),
|
|
22674
|
+
buttonSecondaryHoverBorderColor: optional({
|
|
22675
|
+
type: "string"
|
|
22676
|
+
}),
|
|
22677
|
+
buttonSecondaryHoverBorderWidth: optional({
|
|
22678
|
+
type: "string"
|
|
22679
|
+
}),
|
|
22680
|
+
buttonSecondaryHoverBorderType: optional({
|
|
22681
|
+
type: "string"
|
|
22682
|
+
}),
|
|
22649
22683
|
buttonSecondaryHoverBorderRadius: optional({
|
|
22650
22684
|
type: "string"
|
|
22651
22685
|
}),
|
|
@@ -22675,6 +22709,15 @@ const themeSchema = {
|
|
|
22675
22709
|
buttonActiveBorder: optional({
|
|
22676
22710
|
type: "string"
|
|
22677
22711
|
}),
|
|
22712
|
+
buttonActiveBorderColor: optional({
|
|
22713
|
+
type: "string"
|
|
22714
|
+
}),
|
|
22715
|
+
buttonActiveBorderWidth: optional({
|
|
22716
|
+
type: "string"
|
|
22717
|
+
}),
|
|
22718
|
+
buttonActiveBorderType: optional({
|
|
22719
|
+
type: "string"
|
|
22720
|
+
}),
|
|
22678
22721
|
buttonActiveBorderRadius: optional({
|
|
22679
22722
|
type: "string"
|
|
22680
22723
|
}),
|
|
@@ -22703,6 +22746,15 @@ const themeSchema = {
|
|
|
22703
22746
|
buttonSecondaryActiveBorder: optional({
|
|
22704
22747
|
type: "string"
|
|
22705
22748
|
}),
|
|
22749
|
+
buttonSecondaryActiveBorderColor: optional({
|
|
22750
|
+
type: "string"
|
|
22751
|
+
}),
|
|
22752
|
+
buttonSecondaryActiveBorderWidth: optional({
|
|
22753
|
+
type: "string"
|
|
22754
|
+
}),
|
|
22755
|
+
buttonSecondaryActiveBorderType: optional({
|
|
22756
|
+
type: "string"
|
|
22757
|
+
}),
|
|
22706
22758
|
buttonSecondaryActiveBorderRadius: optional({
|
|
22707
22759
|
type: "string"
|
|
22708
22760
|
}),
|
|
@@ -23297,7 +23349,7 @@ function handleComputedProperty(options) {
|
|
|
23297
23349
|
var _a;
|
|
23298
23350
|
return Object.assign({}, options, {
|
|
23299
23351
|
_computed: {
|
|
23300
|
-
version: "8.
|
|
23352
|
+
version: "8.25.1",
|
|
23301
23353
|
paymentMethodsUrl: ((_a = options._dev) == null ? void 0 : _a.paymentMethodsUrl) ?? "https://forms.secure-payments.app"
|
|
23302
23354
|
}
|
|
23303
23355
|
});
|
|
@@ -24223,6 +24275,24 @@ const properties = {
|
|
|
24223
24275
|
value: "1px solid transparent"
|
|
24224
24276
|
}
|
|
24225
24277
|
},
|
|
24278
|
+
buttonBorderColor: {
|
|
24279
|
+
fallback: {
|
|
24280
|
+
type: "variable",
|
|
24281
|
+
value: "colorPrimary"
|
|
24282
|
+
}
|
|
24283
|
+
},
|
|
24284
|
+
buttonBorderWidth: {
|
|
24285
|
+
fallback: {
|
|
24286
|
+
type: "static",
|
|
24287
|
+
value: "1px"
|
|
24288
|
+
}
|
|
24289
|
+
},
|
|
24290
|
+
buttonBorderType: {
|
|
24291
|
+
fallback: {
|
|
24292
|
+
type: "static",
|
|
24293
|
+
value: "solid"
|
|
24294
|
+
}
|
|
24295
|
+
},
|
|
24226
24296
|
buttonBorderRadius: {
|
|
24227
24297
|
fallback: {
|
|
24228
24298
|
type: "variable",
|
|
@@ -24245,7 +24315,7 @@ const properties = {
|
|
|
24245
24315
|
buttonSecondaryColorText: {
|
|
24246
24316
|
fallback: {
|
|
24247
24317
|
type: "variable",
|
|
24248
|
-
value: "
|
|
24318
|
+
value: "colorText"
|
|
24249
24319
|
}
|
|
24250
24320
|
},
|
|
24251
24321
|
buttonSecondaryFontFamily: {
|
|
@@ -24275,7 +24345,25 @@ const properties = {
|
|
|
24275
24345
|
buttonSecondaryBorder: {
|
|
24276
24346
|
fallback: {
|
|
24277
24347
|
type: "func",
|
|
24278
|
-
value: (theme2) => `1px solid ${theme2.
|
|
24348
|
+
value: (theme2) => `1px solid ${theme2.colorMutedBorder}`
|
|
24349
|
+
}
|
|
24350
|
+
},
|
|
24351
|
+
buttonSecondaryBorderColor: {
|
|
24352
|
+
fallback: {
|
|
24353
|
+
type: "variable",
|
|
24354
|
+
value: "colorMutedBorder"
|
|
24355
|
+
}
|
|
24356
|
+
},
|
|
24357
|
+
buttonSecondaryBorderWidth: {
|
|
24358
|
+
fallback: {
|
|
24359
|
+
type: "static",
|
|
24360
|
+
value: "1px"
|
|
24361
|
+
}
|
|
24362
|
+
},
|
|
24363
|
+
buttonSecondaryBorderType: {
|
|
24364
|
+
fallback: {
|
|
24365
|
+
type: "static",
|
|
24366
|
+
value: "solid"
|
|
24279
24367
|
}
|
|
24280
24368
|
},
|
|
24281
24369
|
buttonSecondaryBorderRadius: {
|
|
@@ -24346,6 +24434,24 @@ const properties = {
|
|
|
24346
24434
|
}
|
|
24347
24435
|
}
|
|
24348
24436
|
},
|
|
24437
|
+
buttonHoverBorderColor: {
|
|
24438
|
+
fallback: {
|
|
24439
|
+
type: "variable",
|
|
24440
|
+
value: "colorPrimary"
|
|
24441
|
+
}
|
|
24442
|
+
},
|
|
24443
|
+
buttonHoverBorderWidth: {
|
|
24444
|
+
fallback: {
|
|
24445
|
+
type: "variable",
|
|
24446
|
+
value: "buttonBorderWidth"
|
|
24447
|
+
}
|
|
24448
|
+
},
|
|
24449
|
+
buttonHoverBorderType: {
|
|
24450
|
+
fallback: {
|
|
24451
|
+
type: "variable",
|
|
24452
|
+
value: "buttonBorderType"
|
|
24453
|
+
}
|
|
24454
|
+
},
|
|
24349
24455
|
buttonHoverBorderRadius: {
|
|
24350
24456
|
fallback: {
|
|
24351
24457
|
type: "variable",
|
|
@@ -24361,14 +24467,19 @@ const properties = {
|
|
|
24361
24467
|
/** Buttons Secondary: Hover */
|
|
24362
24468
|
buttonSecondaryHoverColorBackground: {
|
|
24363
24469
|
fallback: {
|
|
24364
|
-
type: "
|
|
24365
|
-
value:
|
|
24470
|
+
type: "func",
|
|
24471
|
+
value: (theme2) => {
|
|
24472
|
+
if (theme2.colorBackgroundProvided) {
|
|
24473
|
+
return darken(theme2.colorBackground, 3);
|
|
24474
|
+
}
|
|
24475
|
+
return darken(theme2.colorBackground, 3);
|
|
24476
|
+
}
|
|
24366
24477
|
}
|
|
24367
24478
|
},
|
|
24368
24479
|
buttonSecondaryHoverColorText: {
|
|
24369
24480
|
fallback: {
|
|
24370
24481
|
type: "variable",
|
|
24371
|
-
value: "
|
|
24482
|
+
value: "colorText"
|
|
24372
24483
|
}
|
|
24373
24484
|
},
|
|
24374
24485
|
buttonSecondaryHoverFontFamily: {
|
|
@@ -24401,6 +24512,24 @@ const properties = {
|
|
|
24401
24512
|
value: "buttonSecondaryBorder"
|
|
24402
24513
|
}
|
|
24403
24514
|
},
|
|
24515
|
+
buttonSecondaryHoverBorderColor: {
|
|
24516
|
+
fallback: {
|
|
24517
|
+
type: "variable",
|
|
24518
|
+
value: "buttonSecondaryBorderColor"
|
|
24519
|
+
}
|
|
24520
|
+
},
|
|
24521
|
+
buttonSecondaryHoverBorderWidth: {
|
|
24522
|
+
fallback: {
|
|
24523
|
+
type: "variable",
|
|
24524
|
+
value: "buttonSecondaryBorderWidth"
|
|
24525
|
+
}
|
|
24526
|
+
},
|
|
24527
|
+
buttonSecondaryHoverBorderType: {
|
|
24528
|
+
fallback: {
|
|
24529
|
+
type: "variable",
|
|
24530
|
+
value: "buttonSecondaryBorderType"
|
|
24531
|
+
}
|
|
24532
|
+
},
|
|
24404
24533
|
buttonSecondaryHoverBorderRadius: {
|
|
24405
24534
|
fallback: {
|
|
24406
24535
|
type: "variable",
|
|
@@ -24456,6 +24585,24 @@ const properties = {
|
|
|
24456
24585
|
value: "buttonHoverBorder"
|
|
24457
24586
|
}
|
|
24458
24587
|
},
|
|
24588
|
+
buttonActiveBorderColor: {
|
|
24589
|
+
fallback: {
|
|
24590
|
+
type: "variable",
|
|
24591
|
+
value: "buttonHoverBorderColor"
|
|
24592
|
+
}
|
|
24593
|
+
},
|
|
24594
|
+
buttonActiveBorderWidth: {
|
|
24595
|
+
fallback: {
|
|
24596
|
+
type: "variable",
|
|
24597
|
+
value: "buttonHoverBorderWidth"
|
|
24598
|
+
}
|
|
24599
|
+
},
|
|
24600
|
+
buttonActiveBorderType: {
|
|
24601
|
+
fallback: {
|
|
24602
|
+
type: "variable",
|
|
24603
|
+
value: "buttonHoverBorderType"
|
|
24604
|
+
}
|
|
24605
|
+
},
|
|
24459
24606
|
buttonActiveBorderRadius: {
|
|
24460
24607
|
fallback: {
|
|
24461
24608
|
type: "variable",
|
|
@@ -24511,6 +24658,24 @@ const properties = {
|
|
|
24511
24658
|
value: "buttonSecondaryHoverBorder"
|
|
24512
24659
|
}
|
|
24513
24660
|
},
|
|
24661
|
+
buttonSecondaryActiveBorderColor: {
|
|
24662
|
+
fallback: {
|
|
24663
|
+
type: "variable",
|
|
24664
|
+
value: "buttonSecondaryHoverBorderColor"
|
|
24665
|
+
}
|
|
24666
|
+
},
|
|
24667
|
+
buttonSecondaryActiveBorderWidth: {
|
|
24668
|
+
fallback: {
|
|
24669
|
+
type: "variable",
|
|
24670
|
+
value: "buttonSecondaryHoverBorderWidth"
|
|
24671
|
+
}
|
|
24672
|
+
},
|
|
24673
|
+
buttonSecondaryActiveBorderType: {
|
|
24674
|
+
fallback: {
|
|
24675
|
+
type: "variable",
|
|
24676
|
+
value: "buttonSecondaryHoverBorderType"
|
|
24677
|
+
}
|
|
24678
|
+
},
|
|
24514
24679
|
buttonSecondaryActiveBorderRadius: {
|
|
24515
24680
|
fallback: {
|
|
24516
24681
|
type: "variable",
|
|
@@ -25814,7 +25979,10 @@ const getStyleProps = (obj, particle = "") => {
|
|
|
25814
25979
|
fontWeight: obj[`--rebilly-${particle}FontWeight`],
|
|
25815
25980
|
lineHeight: obj[`--rebilly-${particle}FontLineHeight`],
|
|
25816
25981
|
background: obj[`--rebilly-${particle}ColorBackground`],
|
|
25817
|
-
boxShadow: obj[`--rebilly-${particle}BoxShadow`]
|
|
25982
|
+
boxShadow: obj[`--rebilly-${particle}BoxShadow`],
|
|
25983
|
+
borderColor: obj[`--rebilly-${particle}BorderColor`],
|
|
25984
|
+
borderWidth: obj[`--rebilly-${particle}BorderWidth`],
|
|
25985
|
+
borderType: obj[`--rebilly-${particle}BorderType`]
|
|
25818
25986
|
};
|
|
25819
25987
|
return output;
|
|
25820
25988
|
};
|
|
@@ -25861,6 +26029,9 @@ const setupFramepayTheme = () => {
|
|
|
25861
26029
|
"buttonSecondaryActive"
|
|
25862
26030
|
)
|
|
25863
26031
|
},
|
|
26032
|
+
focus: {
|
|
26033
|
+
...getStyleProps(resolvedCssVarsObj, "buttonSecondary")
|
|
26034
|
+
},
|
|
25864
26035
|
active: {
|
|
25865
26036
|
...getStyleProps(resolvedCssVarsObj, "button"),
|
|
25866
26037
|
":hover": getStyleProps(resolvedCssVarsObj, "buttonHover"),
|
|
@@ -26496,7 +26667,7 @@ class RebillyInstrumentsInstance {
|
|
|
26496
26667
|
await show({ componentName, payload });
|
|
26497
26668
|
}
|
|
26498
26669
|
get version() {
|
|
26499
|
-
return `RebillyInstruments Ver.${"8.
|
|
26670
|
+
return `RebillyInstruments Ver.${"8.25.1"}`;
|
|
26500
26671
|
}
|
|
26501
26672
|
on(eventName, callback) {
|
|
26502
26673
|
on({ eventName, callback });
|