@jobber/components 6.93.0 → 6.94.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.
@@ -32,8 +32,8 @@ require('../InputValidation-cjs.js');
32
32
  require('../Spinner-cjs.js');
33
33
  require('react-hook-form');
34
34
  require('../InputNumber/index.cjs');
35
- require('../clsx-cjs.js');
36
35
  require('react-dom');
36
+ require('../clsx-cjs.js');
37
37
  require('../InputGroup-cjs.js');
38
38
  require('../Content-cjs.js');
39
39
  require('../RadioGroup-cjs.js');
@@ -30,8 +30,8 @@ import '../InputValidation-es.js';
30
30
  import '../Spinner-es.js';
31
31
  import 'react-hook-form';
32
32
  import '../InputNumber/index.mjs';
33
- import '../clsx-es.js';
34
33
  import 'react-dom';
34
+ import '../clsx-es.js';
35
35
  import '../InputGroup-es.js';
36
36
  import '../Content-es.js';
37
37
  import '../RadioGroup-es.js';
package/dist/styles.css CHANGED
@@ -442,7 +442,7 @@
442
442
  }
443
443
 
444
444
  .W4Fsewoz1sg- {
445
- color: hsl(0, 0%, 72%);
445
+ color: hsl(0, 0%, 58%);
446
446
  color: var(--color-disabled);
447
447
  }
448
448
 
@@ -1336,14 +1336,14 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-,
1336
1336
  a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
1337
1337
  border-color: hsl(0, 0%, 93%);
1338
1338
  border-color: var(--color-disabled--secondary);
1339
- color: hsl(0, 0%, 72%);
1339
+ color: hsl(0, 0%, 58%);
1340
1340
  color: var(--color-disabled);
1341
1341
  -webkit-user-select: none;
1342
1342
  -ms-user-select: none;
1343
1343
  user-select: none;
1344
1344
  background-color: hsl(0, 0%, 93%);
1345
1345
  background-color: var(--color-disabled--secondary);
1346
- fill: hsl(0, 0%, 72%);
1346
+ fill: hsl(0, 0%, 58%);
1347
1347
  fill: var(--color-disabled);
1348
1348
  pointer-events: none;
1349
1349
  cursor: not-allowed;
@@ -3305,7 +3305,7 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
3305
3305
  }
3306
3306
 
3307
3307
  .TKr3J-6ARFo- p {
3308
- color: hsl(0, 0%, 72%);
3308
+ color: hsl(0, 0%, 58%);
3309
3309
  color: var(--color-disabled);
3310
3310
  }
3311
3311
 
@@ -3536,7 +3536,7 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
3536
3536
  ._3uJEejbZvig-:hover,
3537
3537
  ._3uJEejbZvig-:focus-visible {
3538
3538
  --chip-border-color: var(--color-disabled--secondary);
3539
- color: hsl(0, 0%, 72%);
3539
+ color: hsl(0, 0%, 58%);
3540
3540
  color: var(--color-disabled);
3541
3541
  --chip-base-bg-color: var(--color-disabled--secondary);
3542
3542
  --chip-base-hover-bg-color: var(--color-disabled--secondary);
@@ -3544,7 +3544,7 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
3544
3544
  }
3545
3545
 
3546
3546
  ._3uJEejbZvig- .oV7kqacWv-U- {
3547
- background-color: hsl(0, 0%, 72%);
3547
+ background-color: hsl(0, 0%, 58%);
3548
3548
  background-color: var(--color-disabled);
3549
3549
  }
3550
3550
 
@@ -3554,7 +3554,7 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
3554
3554
  }
3555
3555
 
3556
3556
  .FJNLweTKlm4-._3uJEejbZvig- .OufFSBZ4gLc- path {
3557
- fill: hsl(0, 0%, 72%);
3557
+ fill: hsl(0, 0%, 58%);
3558
3558
  fill: var(--color-disabled);
3559
3559
  }
3560
3560
 
@@ -6339,12 +6339,12 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
6339
6339
 
6340
6340
  /* Disabled groups and their options */
6341
6341
  optgroup[disabled] {
6342
- color: hsl(0, 0%, 72%);
6342
+ color: hsl(0, 0%, 58%);
6343
6343
  color: var(--color-disabled);
6344
6344
  }
6345
6345
  optgroup[disabled] option,
6346
6346
  option[disabled] {
6347
- color: hsl(0, 0%, 72%);
6347
+ color: hsl(0, 0%, 58%);
6348
6348
  color: var(--color-disabled);
6349
6349
  cursor: default;
6350
6350
  }
@@ -7236,7 +7236,7 @@ h2.react-datepicker__current-month {
7236
7236
  background: var(--color-interactive--background);
7237
7237
  }
7238
7238
  .Ma55F5Y-XhE- .react-datepicker__day--disabled {
7239
- color: hsl(0, 0%, 72%);
7239
+ color: hsl(0, 0%, 58%);
7240
7240
  color: var(--color-disabled);
7241
7241
  cursor: default;
7242
7242
  }
@@ -7806,12 +7806,12 @@ h2.react-datepicker__current-month {
7806
7806
  .e-cSZjkHGw8- .PiwOCJz7Zto- {
7807
7807
  border-color: hsl(0, 0%, 93%);
7808
7808
  border-color: var(--color-disabled--secondary);
7809
- background-color: hsl(0, 0%, 72%);
7809
+ background-color: hsl(0, 0%, 58%);
7810
7810
  background-color: var(--color-disabled);
7811
7811
  }
7812
7812
 
7813
7813
  .e-cSZjkHGw8- {
7814
- border-color: hsl(0, 0%, 72%);
7814
+ border-color: hsl(0, 0%, 58%);
7815
7815
  border-color: var(--color-disabled);
7816
7816
  background-color: rgba(255, 255, 255, 1);
7817
7817
  background-color: var(--color-surface);
@@ -7819,7 +7819,7 @@ h2.react-datepicker__current-month {
7819
7819
  }
7820
7820
 
7821
7821
  ._40c6OIH33p8-.e-cSZjkHGw8- {
7822
- background-color: hsl(0, 0%, 72%);
7822
+ background-color: hsl(0, 0%, 58%);
7823
7823
  background-color: var(--color-disabled);
7824
7824
  }
7825
7825
 
@@ -7829,7 +7829,7 @@ h2.react-datepicker__current-month {
7829
7829
  }
7830
7830
 
7831
7831
  .e-cSZjkHGw8-:hover {
7832
- border-color: hsl(0, 0%, 72%);
7832
+ border-color: hsl(0, 0%, 58%);
7833
7833
  border-color: var(--color-disabled);
7834
7834
  }
7835
7835
 
@@ -8754,7 +8754,7 @@ html.atlantisLightBoxActive {
8754
8754
  margin-right: -1px;
8755
8755
  }
8756
8756
 
8757
- /* Border corners are rounded on the outside edges of the group */
8757
+ /* Reset radii inside a group; specific rules will re-add outer rounding */
8758
8758
 
8759
8759
  .l87dJm2JnlA- {
8760
8760
  --public-field--top-left-radius: 0;
@@ -8763,6 +8763,8 @@ html.atlantisLightBoxActive {
8763
8763
  --public-field--bottom-right-radius: 0;
8764
8764
  }
8765
8765
 
8766
+ /* Vertical: restore outer rounding on first/last items */
8767
+
8766
8768
  .RwhScbXCXw0- > :first-child:not(.xxMbKnv30VQ-) {
8767
8769
  --public-field--top-left-radius: var(--radius-base);
8768
8770
  --public-field--top-right-radius: var(--radius-base);
@@ -8773,26 +8775,72 @@ html.atlantisLightBoxActive {
8773
8775
  --public-field--bottom-right-radius: var(--radius-base);
8774
8776
  }
8775
8777
 
8776
- /* First Horizontal Input Group */
8778
+ /* Horizontal: restore outer rounding on left/right items */
8777
8779
 
8778
- .xxMbKnv30VQ-:first-child > :first-child {
8780
+ .xxMbKnv30VQ- > :first-child:not(.xxMbKnv30VQ-) {
8779
8781
  --public-field--top-left-radius: var(--radius-base);
8782
+ --public-field--bottom-left-radius: var(--radius-base);
8780
8783
  }
8781
8784
 
8782
- .xxMbKnv30VQ-:first-child > :last-child {
8785
+ .xxMbKnv30VQ- > :last-child:not(.xxMbKnv30VQ-) {
8783
8786
  --public-field--top-right-radius: var(--radius-base);
8787
+ --public-field--bottom-right-radius: var(--radius-base);
8784
8788
  }
8785
8789
 
8786
- /* Last Horizontal Input Group */
8790
+ /* Nested horizontal groups inside a horizontal parent */
8791
+
8792
+ /* If the nested group is the first child, round its first field's left corners */
8793
+
8794
+ /* If the nested group is not at the left edge, flatten its first field's left corners */
8795
+
8796
+ .xxMbKnv30VQ- > .xxMbKnv30VQ-:not(:first-child) > :first-child {
8797
+ --public-field--top-left-radius: 0;
8798
+ --public-field--bottom-left-radius: 0;
8799
+ }
8800
+
8801
+ /* If the nested group is not at the right edge, flatten its last field's right corners */
8802
+
8803
+ .xxMbKnv30VQ- > .xxMbKnv30VQ-:not(:last-child) > :last-child {
8804
+ --public-field--top-right-radius: 0;
8805
+ --public-field--bottom-right-radius: 0;
8806
+ }
8787
8807
 
8788
- .xxMbKnv30VQ-:last-child > :first-child {
8808
+ /* Vertical group containing horizontal rows: control top/bottom rounding */
8809
+
8810
+ /* First row: round only the outer top corners */
8811
+
8812
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:first-child > :first-child {
8813
+ --public-field--top-left-radius: var(--radius-base);
8814
+ }
8815
+
8816
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:first-child > :last-child {
8817
+ --public-field--top-right-radius: var(--radius-base);
8818
+ }
8819
+
8820
+ /* Last row: round only the outer bottom corners */
8821
+
8822
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:last-child > :first-child {
8789
8823
  --public-field--bottom-left-radius: var(--radius-base);
8790
8824
  }
8791
8825
 
8792
- .xxMbKnv30VQ-:last-child > :last-child {
8826
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:last-child > :last-child {
8793
8827
  --public-field--bottom-right-radius: var(--radius-base);
8794
8828
  }
8795
8829
 
8830
+ /* Middle rows: flatten top/bottom on both row edges */
8831
+
8832
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:not(:first-child) > :first-child,
8833
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:not(:first-child) > :last-child {
8834
+ --public-field--top-left-radius: 0;
8835
+ --public-field--top-right-radius: 0;
8836
+ }
8837
+
8838
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:not(:last-child) > :first-child,
8839
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:not(:last-child) > :last-child {
8840
+ --public-field--bottom-left-radius: 0;
8841
+ --public-field--bottom-right-radius: 0;
8842
+ }
8843
+
8796
8844
  /*****************************************************************************
8797
8845
  * In Atlantis, these `--public-field` properties are used in other components such
8798
8846
  * as InputGroup, therefore they must stay on :root
@@ -9697,7 +9745,7 @@ input.oOrjwubmsVA- {
9697
9745
  }
9698
9746
 
9699
9747
  .w1Rr3bk2t5g-[disabled] + .gN41T07x0l0- {
9700
- color: hsl(0, 0%, 72%);
9748
+ color: hsl(0, 0%, 58%);
9701
9749
  color: var(--color-disabled);
9702
9750
  cursor: not-allowed;
9703
9751
  }
@@ -9710,7 +9758,7 @@ input.oOrjwubmsVA- {
9710
9758
  .w1Rr3bk2t5g-[disabled]:checked + .gN41T07x0l0-::before {
9711
9759
  --radio--checked-shadow: 0px 0px 0px var(--space-minuscule)
9712
9760
  var(--color-disabled);
9713
- border-color: hsl(0, 0%, 72%);
9761
+ border-color: hsl(0, 0%, 58%);
9714
9762
  border-color: var(--color-disabled);
9715
9763
  }
9716
9764
 
@@ -9725,7 +9773,7 @@ input.oOrjwubmsVA- {
9725
9773
  }
9726
9774
 
9727
9775
  .w1Rr3bk2t5g-[disabled] + .gN41T07x0l0- + .Ke2WKKuvmRo- > p {
9728
- color: hsl(0, 0%, 72%);
9776
+ color: hsl(0, 0%, 58%);
9729
9777
  color: var(--color-disabled);
9730
9778
  }
9731
9779
 
@@ -9823,7 +9871,7 @@ input.oOrjwubmsVA- {
9823
9871
  }
9824
9872
 
9825
9873
  .XGjk9DHJAmw-:disabled + .zulupkPyEs8- {
9826
- color: hsl(0, 0%, 72%);
9874
+ color: hsl(0, 0%, 58%);
9827
9875
  color: var(--color-disabled);
9828
9876
  background: hsl(0, 0%, 93%);
9829
9877
  background: var(--color-disabled--secondary);
@@ -9847,7 +9895,7 @@ input.oOrjwubmsVA- {
9847
9895
  .XGjk9DHJAmw-:disabled:checked + .zulupkPyEs8- {
9848
9896
  color: hsl(0, 0%, 93%);
9849
9897
  color: var(--color-disabled--secondary);
9850
- background: hsl(0, 0%, 72%);
9898
+ background: hsl(0, 0%, 58%);
9851
9899
  background: var(--color-disabled);
9852
9900
  }
9853
9901
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.93.0",
3
+ "version": "6.94.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -485,7 +485,7 @@
485
485
  "filesize": "^6.1.0",
486
486
  "framer-motion": "^11.0.3",
487
487
  "lodash": "^4.17.21",
488
- "react-aria-components": "^1.7.1",
488
+ "react-aria-components": "^1.11.0",
489
489
  "react-countdown": "^2.3.2",
490
490
  "react-datepicker": "^8.7.0",
491
491
  "react-dropzone": "^11.0.2",
@@ -541,5 +541,5 @@
541
541
  "> 1%",
542
542
  "IE 10"
543
543
  ],
544
- "gitHead": "d480a80ad2846af668deb353e70c9604b1343e0b"
544
+ "gitHead": "984558732e670b00c502dca7145c3e9e8b729a92"
545
545
  }