@jobber/components 6.93.1 → 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
@@ -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 */
8779
+
8780
+ .xxMbKnv30VQ- > :first-child:not(.xxMbKnv30VQ-) {
8781
+ --public-field--top-left-radius: var(--radius-base);
8782
+ --public-field--bottom-left-radius: var(--radius-base);
8783
+ }
8784
+
8785
+ .xxMbKnv30VQ- > :last-child:not(.xxMbKnv30VQ-) {
8786
+ --public-field--top-right-radius: var(--radius-base);
8787
+ --public-field--bottom-right-radius: var(--radius-base);
8788
+ }
8789
+
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
+ }
8807
+
8808
+ /* Vertical group containing horizontal rows: control top/bottom rounding */
8777
8809
 
8778
- .xxMbKnv30VQ-:first-child > :first-child {
8810
+ /* First row: round only the outer top corners */
8811
+
8812
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:first-child > :first-child {
8779
8813
  --public-field--top-left-radius: var(--radius-base);
8780
8814
  }
8781
8815
 
8782
- .xxMbKnv30VQ-:first-child > :last-child {
8816
+ .RwhScbXCXw0- > .xxMbKnv30VQ-:first-child > :last-child {
8783
8817
  --public-field--top-right-radius: var(--radius-base);
8784
8818
  }
8785
8819
 
8786
- /* Last Horizontal Input Group */
8820
+ /* Last row: round only the outer bottom corners */
8787
8821
 
8788
- .xxMbKnv30VQ-:last-child > :first-child {
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.93.1",
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": "7335511721601761dd9eddf3182e8862f796ac21"
544
+ "gitHead": "984558732e670b00c502dca7145c3e9e8b729a92"
545
545
  }