@rebilly/instruments 8.25.0 → 8.25.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [8.25.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.25.0...instruments/core-v8.25.1) (2024-01-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **instruments:** Fix issues with Framepay's theme ([#2978](https://github.com/Rebilly/rebilly/issues/2978)) ([1eca2f5](https://github.com/Rebilly/rebilly/commit/1eca2f58b7e8e72d00d94fa16dddc6437adce2ff))
7
+
1
8
  ## [8.25.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v8.24.1...instruments/core-v8.25.0) (2024-01-19)
2
9
 
3
10
 
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
- default: "1px solid #0044D4"
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.24.1",
23352
+ version: "8.25.0",
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",
@@ -24278,6 +24348,24 @@ const properties = {
24278
24348
  value: (theme2) => `1px solid ${theme2.colorPrimary}`
24279
24349
  }
24280
24350
  },
24351
+ buttonSecondaryBorderColor: {
24352
+ fallback: {
24353
+ type: "variable",
24354
+ value: "colorPrimary"
24355
+ }
24356
+ },
24357
+ buttonSecondaryBorderWidth: {
24358
+ fallback: {
24359
+ type: "static",
24360
+ value: "1px"
24361
+ }
24362
+ },
24363
+ buttonSecondaryBorderType: {
24364
+ fallback: {
24365
+ type: "static",
24366
+ value: "solid"
24367
+ }
24368
+ },
24281
24369
  buttonSecondaryBorderRadius: {
24282
24370
  fallback: {
24283
24371
  type: "variable",
@@ -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",
@@ -24401,6 +24507,24 @@ const properties = {
24401
24507
  value: "buttonSecondaryBorder"
24402
24508
  }
24403
24509
  },
24510
+ buttonSecondaryHoverBorderColor: {
24511
+ fallback: {
24512
+ type: "variable",
24513
+ value: "colorPrimary"
24514
+ }
24515
+ },
24516
+ buttonSecondaryHoverBorderWidth: {
24517
+ fallback: {
24518
+ type: "variable",
24519
+ value: "buttonSecondaryBorderWidth"
24520
+ }
24521
+ },
24522
+ buttonSecondaryHoverBorderType: {
24523
+ fallback: {
24524
+ type: "variable",
24525
+ value: "buttonSecondaryBorderType"
24526
+ }
24527
+ },
24404
24528
  buttonSecondaryHoverBorderRadius: {
24405
24529
  fallback: {
24406
24530
  type: "variable",
@@ -24456,6 +24580,24 @@ const properties = {
24456
24580
  value: "buttonHoverBorder"
24457
24581
  }
24458
24582
  },
24583
+ buttonActiveBorderColor: {
24584
+ fallback: {
24585
+ type: "variable",
24586
+ value: "buttonHoverBorderColor"
24587
+ }
24588
+ },
24589
+ buttonActiveBorderWidth: {
24590
+ fallback: {
24591
+ type: "variable",
24592
+ value: "buttonHoverBorderWidth"
24593
+ }
24594
+ },
24595
+ buttonActiveBorderType: {
24596
+ fallback: {
24597
+ type: "variable",
24598
+ value: "buttonHoverBorderType"
24599
+ }
24600
+ },
24459
24601
  buttonActiveBorderRadius: {
24460
24602
  fallback: {
24461
24603
  type: "variable",
@@ -24511,6 +24653,24 @@ const properties = {
24511
24653
  value: "buttonSecondaryHoverBorder"
24512
24654
  }
24513
24655
  },
24656
+ buttonSecondaryActiveBorderColor: {
24657
+ fallback: {
24658
+ type: "variable",
24659
+ value: "buttonSecondaryHoverBorderColor"
24660
+ }
24661
+ },
24662
+ buttonSecondaryActiveBorderWidth: {
24663
+ fallback: {
24664
+ type: "variable",
24665
+ value: "buttonSecondaryHoverBorderWidth"
24666
+ }
24667
+ },
24668
+ buttonSecondaryActiveBorderType: {
24669
+ fallback: {
24670
+ type: "variable",
24671
+ value: "buttonSecondaryHoverBorderType"
24672
+ }
24673
+ },
24514
24674
  buttonSecondaryActiveBorderRadius: {
24515
24675
  fallback: {
24516
24676
  type: "variable",
@@ -25814,7 +25974,10 @@ const getStyleProps = (obj, particle = "") => {
25814
25974
  fontWeight: obj[`--rebilly-${particle}FontWeight`],
25815
25975
  lineHeight: obj[`--rebilly-${particle}FontLineHeight`],
25816
25976
  background: obj[`--rebilly-${particle}ColorBackground`],
25817
- boxShadow: obj[`--rebilly-${particle}BoxShadow`]
25977
+ boxShadow: obj[`--rebilly-${particle}BoxShadow`],
25978
+ borderColor: obj[`--rebilly-${particle}BorderColor`],
25979
+ borderWidth: obj[`--rebilly-${particle}BorderWidth`],
25980
+ borderType: obj[`--rebilly-${particle}BorderType`]
25818
25981
  };
25819
25982
  return output;
25820
25983
  };
@@ -25861,6 +26024,9 @@ const setupFramepayTheme = () => {
25861
26024
  "buttonSecondaryActive"
25862
26025
  )
25863
26026
  },
26027
+ focus: {
26028
+ ...getStyleProps(resolvedCssVarsObj, "buttonSecondary")
26029
+ },
25864
26030
  active: {
25865
26031
  ...getStyleProps(resolvedCssVarsObj, "button"),
25866
26032
  ":hover": getStyleProps(resolvedCssVarsObj, "buttonHover"),
@@ -26496,7 +26662,7 @@ class RebillyInstrumentsInstance {
26496
26662
  await show({ componentName, payload });
26497
26663
  }
26498
26664
  get version() {
26499
- return `RebillyInstruments Ver.${"8.24.1"}`;
26665
+ return `RebillyInstruments Ver.${"8.25.0"}`;
26500
26666
  }
26501
26667
  on(eventName, callback) {
26502
26668
  on({ eventName, callback });