@oneblink/apps-react 5.5.1-beta.1 → 5.5.1-beta.3

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 (33) hide show
  1. package/dist/OneBlinkFormBase.js +2 -2
  2. package/dist/OneBlinkFormBase.js.map +1 -1
  3. package/dist/components/renderer/PageFormElements.js +20 -1
  4. package/dist/components/renderer/PageFormElements.js.map +1 -1
  5. package/dist/components/renderer/ToggleAllCheckbox.js +1 -1
  6. package/dist/components/renderer/ToggleAllCheckbox.js.map +1 -1
  7. package/dist/components/renderer/attachments/FileCard.d.ts +2 -1
  8. package/dist/components/renderer/attachments/FileCard.js +2 -2
  9. package/dist/components/renderer/attachments/FileCard.js.map +1 -1
  10. package/dist/components/renderer/attachments/FileCardContent.d.ts +2 -2
  11. package/dist/components/renderer/attachments/FileCardContent.js +2 -2
  12. package/dist/components/renderer/attachments/FileCardContent.js.map +1 -1
  13. package/dist/form-elements/FormElementBoolean.js +1 -1
  14. package/dist/form-elements/FormElementBoolean.js.map +1 -1
  15. package/dist/form-elements/FormElementCamera.js +1 -1
  16. package/dist/form-elements/FormElementCamera.js.map +1 -1
  17. package/dist/form-elements/FormElementCheckBoxes.js +1 -1
  18. package/dist/form-elements/FormElementCheckBoxes.js.map +1 -1
  19. package/dist/form-elements/FormElementFile.d.ts +1 -0
  20. package/dist/form-elements/FormElementFile.js +2 -2
  21. package/dist/form-elements/FormElementFile.js.map +1 -1
  22. package/dist/form-elements/FormElementFiles.js +2 -2
  23. package/dist/form-elements/FormElementFiles.js.map +1 -1
  24. package/dist/form-elements/FormElementRadio.js +1 -1
  25. package/dist/form-elements/FormElementRadio.js.map +1 -1
  26. package/dist/form-elements/FormElementSection.js +5 -1
  27. package/dist/form-elements/FormElementSection.js.map +1 -1
  28. package/dist/form-elements/FormElementSignature.js +3 -3
  29. package/dist/form-elements/FormElementSignature.js.map +1 -1
  30. package/dist/styles/buttons.scss +5 -0
  31. package/dist/styles.css +18 -13
  32. package/dist/styles.scss +4 -0
  33. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -5046,11 +5046,11 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5046
5046
  color: hsl(0, 0%, 21%);
5047
5047
  }
5048
5048
  .button:focus, .button.is-focused {
5049
- border-color: hsl(229, 53%, 53%);
5050
- color: hsl(0, 0%, 21%);
5049
+ border-color: inherit;
5050
+ color: inherit;
5051
5051
  }
5052
5052
  .button:focus:not(:active), .button.is-focused:not(:active) {
5053
- box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25);
5053
+ box-shadow: 0 0 rgba(72, 95, 199, 0.25);
5054
5054
  }
5055
5055
  .button:active, .button.is-active {
5056
5056
  border-color: hsl(0, 0%, 29%);
@@ -5100,7 +5100,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5100
5100
  color: hsl(0, 0%, 4%);
5101
5101
  }
5102
5102
  .button.is-white:focus:not(:active), .button.is-white.is-focused:not(:active) {
5103
- box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.25);
5103
+ box-shadow: 0 0 rgba(255, 255, 255, 0.25);
5104
5104
  }
5105
5105
  .button.is-white:active, .button.is-white.is-active {
5106
5106
  background-color: #f2f2f2;
@@ -5183,7 +5183,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5183
5183
  color: hsl(0, 0%, 100%);
5184
5184
  }
5185
5185
  .button.is-black:focus:not(:active), .button.is-black.is-focused:not(:active) {
5186
- box-shadow: 0 0 0 0.125em rgba(10, 10, 10, 0.25);
5186
+ box-shadow: 0 0 rgba(10, 10, 10, 0.25);
5187
5187
  }
5188
5188
  .button.is-black:active, .button.is-black.is-active {
5189
5189
  background-color: black;
@@ -5266,7 +5266,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5266
5266
  color: rgba(0, 0, 0, 0.7);
5267
5267
  }
5268
5268
  .button.is-light:focus:not(:active), .button.is-light.is-focused:not(:active) {
5269
- box-shadow: 0 0 0 0.125em rgba(245, 245, 245, 0.25);
5269
+ box-shadow: 0 0 rgba(245, 245, 245, 0.25);
5270
5270
  }
5271
5271
  .button.is-light:active, .button.is-light.is-active {
5272
5272
  background-color: #e8e8e8;
@@ -5349,7 +5349,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5349
5349
  color: #fff;
5350
5350
  }
5351
5351
  .button.is-dark:focus:not(:active), .button.is-dark.is-focused:not(:active) {
5352
- box-shadow: 0 0 0 0.125em rgba(54, 54, 54, 0.25);
5352
+ box-shadow: 0 0 rgba(54, 54, 54, 0.25);
5353
5353
  }
5354
5354
  .button.is-dark:active, .button.is-dark.is-active {
5355
5355
  background-color: #292929;
@@ -5432,7 +5432,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5432
5432
  color: #fff;
5433
5433
  }
5434
5434
  .button.is-primary:focus:not(:active), .button.is-primary.is-focused:not(:active) {
5435
- box-shadow: 0 0 0 0.125em rgba(64, 126, 140, 0.25);
5435
+ box-shadow: 0 0 rgba(64, 126, 140, 0.25);
5436
5436
  }
5437
5437
  .button.is-primary:active, .button.is-primary.is-active {
5438
5438
  background-color: #386e7b;
@@ -5529,7 +5529,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5529
5529
  color: #fff;
5530
5530
  }
5531
5531
  .button.is-link:focus:not(:active), .button.is-link.is-focused:not(:active) {
5532
- box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25);
5532
+ box-shadow: 0 0 rgba(72, 95, 199, 0.25);
5533
5533
  }
5534
5534
  .button.is-link:active, .button.is-link.is-active {
5535
5535
  background-color: #3a51bb;
@@ -5626,7 +5626,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5626
5626
  color: #fff;
5627
5627
  }
5628
5628
  .button.is-info:focus:not(:active), .button.is-info.is-focused:not(:active) {
5629
- box-shadow: 0 0 0 0.125em rgba(45, 122, 185, 0.25);
5629
+ box-shadow: 0 0 rgba(45, 122, 185, 0.25);
5630
5630
  }
5631
5631
  .button.is-info:active, .button.is-info.is-active {
5632
5632
  background-color: #286ca4;
@@ -5723,7 +5723,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5723
5723
  color: #fff;
5724
5724
  }
5725
5725
  .button.is-success:focus:not(:active), .button.is-success.is-focused:not(:active) {
5726
- box-shadow: 0 0 0 0.125em rgba(58, 131, 60, 0.25);
5726
+ box-shadow: 0 0 rgba(58, 131, 60, 0.25);
5727
5727
  }
5728
5728
  .button.is-success:active, .button.is-success.is-active {
5729
5729
  background-color: #327134;
@@ -5820,7 +5820,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5820
5820
  color: #fff;
5821
5821
  }
5822
5822
  .button.is-warning:focus:not(:active), .button.is-warning.is-focused:not(:active) {
5823
- box-shadow: 0 0 0 0.125em rgba(184, 80, 0, 0.25);
5823
+ box-shadow: 0 0 rgba(184, 80, 0, 0.25);
5824
5824
  }
5825
5825
  .button.is-warning:active, .button.is-warning.is-active {
5826
5826
  background-color: #9f4500;
@@ -5917,7 +5917,7 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
5917
5917
  color: #fff;
5918
5918
  }
5919
5919
  .button.is-danger:focus:not(:active), .button.is-danger.is-focused:not(:active) {
5920
- box-shadow: 0 0 0 0.125em rgba(232, 17, 60, 0.25);
5920
+ box-shadow: 0 0 rgba(232, 17, 60, 0.25);
5921
5921
  }
5922
5922
  .button.is-danger:active, .button.is-danger.is-active {
5923
5923
  background-color: #d00f36;
@@ -9562,6 +9562,11 @@ textarea:disabled {
9562
9562
  margin-right: 0;
9563
9563
  }
9564
9564
 
9565
+ .button:focus-visible {
9566
+ outline-offset: 0.25rem;
9567
+ outline: hsl(229, 53%, 53%) auto 3px;
9568
+ }
9569
+
9565
9570
  .flatpickr-calendar {
9566
9571
  background: transparent;
9567
9572
  opacity: 0;
package/dist/styles.scss CHANGED
@@ -11,6 +11,10 @@ $danger: #E8113C;
11
11
  //bulma grey is #7A7A7A which is slightly too light
12
12
  $grey: #757575;
13
13
 
14
+ $button-focus-color: inherit;
15
+ $button-focus-border-color: inherit;
16
+ $button-focus-box-shadow-size: 0 0;
17
+
14
18
  // Elevations for Box Shadows
15
19
  $elevation-1: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
16
20
  0 2px 1px -1px rgba(0, 0, 0, 0.12);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneblink/apps-react",
3
3
  "description": "Helper functions for OneBlink apps in ReactJS.",
4
- "version": "5.5.1-beta.1",
4
+ "version": "5.5.1-beta.3",
5
5
  "author": "OneBlink <developers@oneblink.io> (https://oneblink.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/oneblink/apps-react/issues"