@jobber/components 6.112.2 → 6.113.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.
package/dist/styles.css CHANGED
@@ -46,6 +46,7 @@
46
46
  padding: 8px;
47
47
  padding: var(--space-small);
48
48
  border: none;
49
+ outline: none;
49
50
  background-color: transparent;
50
51
  cursor: pointer;
51
52
  }
@@ -85,6 +86,7 @@
85
86
  box-sizing: border-box;
86
87
  padding: 8px;
87
88
  padding: var(--space-small);
89
+ outline: none;
88
90
  cursor: pointer;
89
91
  }
90
92
 
@@ -137,6 +139,139 @@
137
139
  cursor: default;
138
140
  }
139
141
 
142
+ /* Multiple mode: FormFieldWrapper-based container */
143
+
144
+ .AWoK6-P8fFE- [data-testid="Form-Field-Wrapper"] > div:first-child {
145
+ height: auto;
146
+ min-height: var(--field--height);
147
+ }
148
+
149
+ .zJm0oR5x4qY- {
150
+ display: -ms-flexbox;
151
+ display: flex;
152
+ -ms-flex-wrap: wrap;
153
+ flex-wrap: wrap;
154
+ -ms-flex-align: center;
155
+ align-items: center;
156
+ -ms-flex-line-pack: start;
157
+ align-content: flex-start;
158
+ gap: 4px;
159
+ gap: var(--space-smaller);
160
+ padding: var(--field--padding-top) var(--field--padding-right)
161
+ var(--field--padding-bottom) var(--field--padding-left);
162
+ cursor: text;
163
+ }
164
+
165
+ .Oa26ZaVEi3g- {
166
+ min-width: 80px;
167
+ padding: 0;
168
+ border: none;
169
+ outline: none;
170
+ color: inherit;
171
+ font-family: inherit;
172
+ font-size: inherit;
173
+ line-height: var(--field--value-lineHeight);
174
+ background: transparent;
175
+ -ms-flex: 1 1 auto;
176
+ flex: 1 1 auto;
177
+ }
178
+
179
+ .Oa26ZaVEi3g-:focus {
180
+ outline: none;
181
+ }
182
+
183
+ .Oa26ZaVEi3g-:disabled {
184
+ color: hsl(0, 0%, 58%);
185
+ color: var(--color-disabled);
186
+ }
187
+
188
+ .IarOrfyYExE- {
189
+ display: -ms-inline-flexbox;
190
+ display: inline-flex;
191
+ padding: 2px 8px;
192
+ padding: var(--space-smallest) var(--space-small);
193
+ border-radius: 16px;
194
+ border-radius: var(--radius-large);
195
+ outline: none;
196
+ overflow: hidden;
197
+ color: hsl(197, 90%, 12%);
198
+ color: var(--color-heading);
199
+ background-color: hsl(51, 17%, 85%);
200
+ background-color: var(--color-interactive--background);
201
+ cursor: default;
202
+ transition: 200ms;
203
+ transition: var(--timing-base);
204
+ -ms-flex-align: center;
205
+ align-items: center;
206
+ gap: 8px;
207
+ gap: var(--space-small);
208
+ }
209
+
210
+ .pmtAk9HEhF4- {
211
+ background-color: hsl(49, 7%, 70%);
212
+ background-color: var(--color-interactive--background--hover);
213
+ }
214
+
215
+ .nmXqlAV-DJo- {
216
+ border: 1px solid hsl(200, 13%, 87%);
217
+ border: var(--border-base) solid var(--color-border);
218
+ color: hsl(0, 0%, 58%);
219
+ color: var(--color-disabled);
220
+ background-color: hsl(0, 0%, 93%);
221
+ background-color: var(--color-disabled--secondary);
222
+ cursor: default;
223
+ }
224
+
225
+ .SmrmwoOlZDo- {
226
+ display: -ms-inline-flexbox;
227
+ display: inline-flex;
228
+ position: relative;
229
+ z-index: 0;
230
+ -ms-flex-align: center;
231
+ align-items: center;
232
+ -ms-flex-pack: center;
233
+ justify-content: center;
234
+ -ms-flex-negative: 0;
235
+ flex-shrink: 0;
236
+ padding: 0;
237
+ border: none;
238
+ background: transparent;
239
+ cursor: pointer;
240
+ }
241
+
242
+ .SmrmwoOlZDo-::before {
243
+ content: "";
244
+ position: absolute;
245
+ top: calc(-1 * 24px);
246
+ top: calc(-1 * var(--space-large));
247
+ right: calc(-1 * 8px);
248
+ right: calc(-1 * var(--space-small));
249
+ bottom: calc(-1 * 24px);
250
+ bottom: calc(-1 * var(--space-large));
251
+ left: calc(-1 * 4px);
252
+ left: calc(-1 * var(--space-smaller));
253
+ z-index: -1;
254
+ }
255
+
256
+ .SmrmwoOlZDo-:hover::before {
257
+ background-color: hsl(49, 7%, 70%);
258
+ background-color: var(--color-interactive--background--hover);
259
+ }
260
+
261
+ .pqwAJ8VczCU- {
262
+ display: -ms-inline-flexbox;
263
+ display: inline-flex;
264
+ -ms-flex-align: center;
265
+ align-items: center;
266
+ padding: 2px 8px;
267
+ padding: var(--space-smallest) var(--space-small);
268
+ color: hsl(197, 15%, 43%);
269
+ color: var(--color-text--secondary);
270
+ cursor: default;
271
+ transition: all 200ms;
272
+ transition: all var(--timing-base);
273
+ }
274
+
140
275
  .j4h-0Mxa5gk- {
141
276
  margin: 0;
142
277
  padding: 0;
@@ -624,25 +759,254 @@
624
759
  text-align: center;
625
760
  }
626
761
 
627
- .oOJPwUQFllQ- {
628
- text-align: right;
762
+ .oOJPwUQFllQ- {
763
+ text-align: right;
764
+ }
765
+
766
+ .V9SSKxs15xE- {
767
+ font-family: Inter, Helvetica, Arial, sans-serif;
768
+ font-family: var(--typography--fontFamily-normal);
769
+ }
770
+
771
+ .dvw7zxC9s9g- {
772
+ font-family: Jobber Pro, Poppins, Helvetica, Arial, sans-serif;
773
+ font-family: var(--typography--fontFamily-display);
774
+ }
775
+
776
+ .qp8E5e4q-so- {
777
+ text-decoration-line: underline;
778
+ text-decoration-thickness: 1px;
779
+ text-underline-offset: 4px;
780
+ text-underline-offset: var(--space-smaller);
781
+ }
782
+
783
+ .-lyJkOGbceo- {
784
+ --glimmer-background: var(--color-surface--reverse);
785
+ --glimmer-background-opacity: 7.5%;
786
+ --glimmer-shine-opacity: 75%;
787
+ --glimmer-shine: rgba(var(--color-white--rgb), var(--glimmer-shine-opacity));
788
+ --duration-base: calc(var(--timing-slowest) * 4); /* 2s */
789
+ --duration-fast: calc(var(--duration-base) / 2); /* 1s */
790
+ position: relative;
791
+ width: 100%;
792
+ height: 100%;
793
+ border-radius: 8px;
794
+ border-radius: var(--radius-base);
795
+ overflow: hidden;
796
+ }
797
+
798
+ .-lyJkOGbceo-::before,
799
+ .-lyJkOGbceo-::after {
800
+ content: "";
801
+ position: absolute;
802
+ top: 0;
803
+ left: 0;
804
+ width: 100%;
805
+ height: 100%;
806
+ }
807
+
808
+ .-lyJkOGbceo-::before {
809
+ background-color: var(--glimmer-background);
810
+ opacity: var(--glimmer-background-opacity);
811
+ }
812
+
813
+ .-lyJkOGbceo-::after {
814
+ background-image: linear-gradient(
815
+ 90deg,
816
+ transparent 0px,
817
+ var(--glimmer-shine) 32px,
818
+ transparent 64px
819
+ );
820
+ background-image: linear-gradient(
821
+ 90deg,
822
+ transparent 0px,
823
+ var(--glimmer-shine) var(--space-larger),
824
+ transparent var(--space-extravagant)
825
+ );
826
+ background-repeat: no-repeat;
827
+ background-size: 64px 100%;
828
+ background-size: var(--space-extravagant) 100%;
829
+ -webkit-animation: -lyJkOGbceo- 2s infinite linear;
830
+ animation: -lyJkOGbceo- 2s infinite linear;
831
+ }
832
+
833
+ [data-theme="dark"] .-lyJkOGbceo-,
834
+ .NH-8hViLjFA- {
835
+ --glimmer-shine-opacity: 20%;
836
+ }
837
+
838
+ .NH-8hViLjFA- {
839
+ --glimmer-background: var(--color-surface);
840
+ }
841
+
842
+ [data-theme="dark"] .NH-8hViLjFA- {
843
+ --glimmer-shine-opacity: 75%;
844
+ --glimmer-background-opacity: 7.5%;
845
+ }
846
+
847
+ @-webkit-keyframes -lyJkOGbceo- {
848
+ 0%,
849
+ 20% {
850
+ background-position-x: calc(64px * -1);
851
+ background-position-x: calc(var(--space-extravagant) * -1);
852
+ }
853
+
854
+ 100% {
855
+ background-position-x: calc(100% + 64px);
856
+ background-position-x: calc(100% + var(--space-extravagant));
857
+ }
858
+ }
859
+
860
+ @keyframes -lyJkOGbceo- {
861
+ 0%,
862
+ 20% {
863
+ background-position-x: calc(64px * -1);
864
+ background-position-x: calc(var(--space-extravagant) * -1);
865
+ }
866
+
867
+ 100% {
868
+ background-position-x: calc(100% + 64px);
869
+ background-position-x: calc(100% + var(--space-extravagant));
870
+ }
871
+ }
872
+
873
+ ._6-ozsHDHcVI- {
874
+ width: 30%;
875
+ max-width: 180px;
876
+ min-width: 120px;
877
+ }
878
+
879
+ ._7AvaYGpXkLU- {
880
+ display: inline-block;
881
+ width: 100px;
882
+ height: 36px;
883
+ }
884
+
885
+ .sm9yBV3e4Qg- {
886
+ display: block;
887
+ width: 100%;
888
+ min-width: 100px;
889
+ }
890
+
891
+ .bjemHBSLuQ0- {
892
+ height: 8px;
893
+ height: var(--space-small);
894
+ }
895
+
896
+ .MXFqgzJq5jw- {
897
+ height: 16px;
898
+ height: var(--space-base);
899
+ }
900
+
901
+ .B2DzIy8pibk- {
902
+ height: 24px;
903
+ height: var(--space-large);
904
+ }
905
+
906
+ .-ll1bKXJm9s- {
907
+ height: 32px;
908
+ height: var(--space-larger);
909
+ }
910
+
911
+ .jieKjQ6-Scs- {
912
+ height: 48px;
913
+ height: var(--space-largest);
914
+ }
915
+
916
+ ._8qp0RoxJfHE- {
917
+ height: 100%;
918
+ min-width: 16px;
919
+ min-width: var(--space-base);
920
+ min-height: 16px;
921
+ min-height: var(--space-base);
922
+ }
923
+
924
+ .vAVS-6e-jJo- {
925
+ width: 100%;
926
+ }
927
+
928
+ .tZgae6SZ8WA- {
929
+ width: 85%;
930
+ }
931
+
932
+ .ec-sGgENoOw- {
933
+ width: 70%;
934
+ }
935
+
936
+ .ONvR3LocsA4-,
937
+ .j-gTsb6UsQs- {
938
+ width: auto;
939
+ aspect-ratio: 1;
940
+ }
941
+
942
+ .j-gTsb6UsQs- {
943
+ border-radius: 100%;
944
+ border-radius: var(--radius-circle);
945
+ }
946
+
947
+ ._6dlpcG-oxT4- {
948
+ -webkit-animation-duration: var(--duration-base);
949
+ animation-duration: var(--duration-base);
950
+ }
951
+
952
+ .NlRB1Xq-sFE- {
953
+ -webkit-animation-duration: calc(var(--duration-fast));
954
+ animation-duration: calc(var(--duration-fast));
955
+ }
956
+
957
+ .B1cBkstNQhM- > :not(:last-child) {
958
+ margin-bottom: 1px;
959
+ margin-bottom: var(--space-minuscule);
960
+ }
961
+
962
+ .rjAxJwaso0s- > :not(:last-child) {
963
+ margin-bottom: 2px;
964
+ margin-bottom: var(--space-smallest);
965
+ }
966
+
967
+ .Chezd5Sqtmk- > :not(:last-child) {
968
+ margin-bottom: 4px;
969
+ margin-bottom: var(--space-smaller);
970
+ }
971
+
972
+ .hzVGRy-KUeY- > :not(:last-child) {
973
+ margin-bottom: 8px;
974
+ margin-bottom: var(--space-small);
975
+ }
976
+
977
+ .B67dzZpuwr4- > :not(:last-child) {
978
+ margin-bottom: 12px;
979
+ margin-bottom: var(--space-slim);
980
+ }
981
+
982
+ .XFi-EWH3Rc0- > :not(:last-child) {
983
+ margin-bottom: 16px;
984
+ margin-bottom: var(--space-base);
985
+ }
986
+
987
+ .JTt98vS-CLk- > :not(:last-child) {
988
+ margin-bottom: 24px;
989
+ margin-bottom: var(--space-large);
990
+ }
991
+
992
+ .-h5Dm7qvnss- > :not(:last-child) {
993
+ margin-bottom: 32px;
994
+ margin-bottom: var(--space-larger);
629
995
  }
630
996
 
631
- .V9SSKxs15xE- {
632
- font-family: Inter, Helvetica, Arial, sans-serif;
633
- font-family: var(--typography--fontFamily-normal);
997
+ .K7DP0lB9veI- > :not(:last-child) {
998
+ margin-bottom: 48px;
999
+ margin-bottom: var(--space-largest);
634
1000
  }
635
1001
 
636
- .dvw7zxC9s9g- {
637
- font-family: Jobber Pro, Poppins, Helvetica, Arial, sans-serif;
638
- font-family: var(--typography--fontFamily-display);
1002
+ .d8bHHzbOHk4- > :not(:last-child) {
1003
+ margin-bottom: 64px;
1004
+ margin-bottom: var(--space-extravagant);
639
1005
  }
640
1006
 
641
- .qp8E5e4q-so- {
642
- text-decoration-line: underline;
643
- text-decoration-thickness: 1px;
644
- text-underline-offset: 4px;
645
- text-underline-offset: var(--space-smaller);
1007
+ .cftWh-00zXM- {
1008
+ padding: 0;
1009
+ padding: var(--public-content--padding, 0);
646
1010
  }
647
1011
 
648
1012
  :root {
@@ -1651,235 +2015,6 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
1651
2015
  vertical-align: middle;
1652
2016
  }
1653
2017
 
1654
- .-lyJkOGbceo- {
1655
- --glimmer-background: var(--color-surface--reverse);
1656
- --glimmer-background-opacity: 7.5%;
1657
- --glimmer-shine-opacity: 75%;
1658
- --glimmer-shine: rgba(var(--color-white--rgb), var(--glimmer-shine-opacity));
1659
- --duration-base: calc(var(--timing-slowest) * 4); /* 2s */
1660
- --duration-fast: calc(var(--duration-base) / 2); /* 1s */
1661
- position: relative;
1662
- width: 100%;
1663
- height: 100%;
1664
- border-radius: 8px;
1665
- border-radius: var(--radius-base);
1666
- overflow: hidden;
1667
- }
1668
-
1669
- .-lyJkOGbceo-::before,
1670
- .-lyJkOGbceo-::after {
1671
- content: "";
1672
- position: absolute;
1673
- top: 0;
1674
- left: 0;
1675
- width: 100%;
1676
- height: 100%;
1677
- }
1678
-
1679
- .-lyJkOGbceo-::before {
1680
- background-color: var(--glimmer-background);
1681
- opacity: var(--glimmer-background-opacity);
1682
- }
1683
-
1684
- .-lyJkOGbceo-::after {
1685
- background-image: linear-gradient(
1686
- 90deg,
1687
- transparent 0px,
1688
- var(--glimmer-shine) 32px,
1689
- transparent 64px
1690
- );
1691
- background-image: linear-gradient(
1692
- 90deg,
1693
- transparent 0px,
1694
- var(--glimmer-shine) var(--space-larger),
1695
- transparent var(--space-extravagant)
1696
- );
1697
- background-repeat: no-repeat;
1698
- background-size: 64px 100%;
1699
- background-size: var(--space-extravagant) 100%;
1700
- -webkit-animation: -lyJkOGbceo- 2s infinite linear;
1701
- animation: -lyJkOGbceo- 2s infinite linear;
1702
- }
1703
-
1704
- [data-theme="dark"] .-lyJkOGbceo-,
1705
- .NH-8hViLjFA- {
1706
- --glimmer-shine-opacity: 20%;
1707
- }
1708
-
1709
- .NH-8hViLjFA- {
1710
- --glimmer-background: var(--color-surface);
1711
- }
1712
-
1713
- [data-theme="dark"] .NH-8hViLjFA- {
1714
- --glimmer-shine-opacity: 75%;
1715
- --glimmer-background-opacity: 7.5%;
1716
- }
1717
-
1718
- @-webkit-keyframes -lyJkOGbceo- {
1719
- 0%,
1720
- 20% {
1721
- background-position-x: calc(64px * -1);
1722
- background-position-x: calc(var(--space-extravagant) * -1);
1723
- }
1724
-
1725
- 100% {
1726
- background-position-x: calc(100% + 64px);
1727
- background-position-x: calc(100% + var(--space-extravagant));
1728
- }
1729
- }
1730
-
1731
- @keyframes -lyJkOGbceo- {
1732
- 0%,
1733
- 20% {
1734
- background-position-x: calc(64px * -1);
1735
- background-position-x: calc(var(--space-extravagant) * -1);
1736
- }
1737
-
1738
- 100% {
1739
- background-position-x: calc(100% + 64px);
1740
- background-position-x: calc(100% + var(--space-extravagant));
1741
- }
1742
- }
1743
-
1744
- ._6-ozsHDHcVI- {
1745
- width: 30%;
1746
- max-width: 180px;
1747
- min-width: 120px;
1748
- }
1749
-
1750
- ._7AvaYGpXkLU- {
1751
- display: inline-block;
1752
- width: 100px;
1753
- height: 36px;
1754
- }
1755
-
1756
- .sm9yBV3e4Qg- {
1757
- display: block;
1758
- width: 100%;
1759
- min-width: 100px;
1760
- }
1761
-
1762
- .bjemHBSLuQ0- {
1763
- height: 8px;
1764
- height: var(--space-small);
1765
- }
1766
-
1767
- .MXFqgzJq5jw- {
1768
- height: 16px;
1769
- height: var(--space-base);
1770
- }
1771
-
1772
- .B2DzIy8pibk- {
1773
- height: 24px;
1774
- height: var(--space-large);
1775
- }
1776
-
1777
- .-ll1bKXJm9s- {
1778
- height: 32px;
1779
- height: var(--space-larger);
1780
- }
1781
-
1782
- .jieKjQ6-Scs- {
1783
- height: 48px;
1784
- height: var(--space-largest);
1785
- }
1786
-
1787
- ._8qp0RoxJfHE- {
1788
- height: 100%;
1789
- min-width: 16px;
1790
- min-width: var(--space-base);
1791
- min-height: 16px;
1792
- min-height: var(--space-base);
1793
- }
1794
-
1795
- .vAVS-6e-jJo- {
1796
- width: 100%;
1797
- }
1798
-
1799
- .tZgae6SZ8WA- {
1800
- width: 85%;
1801
- }
1802
-
1803
- .ec-sGgENoOw- {
1804
- width: 70%;
1805
- }
1806
-
1807
- .ONvR3LocsA4-,
1808
- .j-gTsb6UsQs- {
1809
- width: auto;
1810
- aspect-ratio: 1;
1811
- }
1812
-
1813
- .j-gTsb6UsQs- {
1814
- border-radius: 100%;
1815
- border-radius: var(--radius-circle);
1816
- }
1817
-
1818
- ._6dlpcG-oxT4- {
1819
- -webkit-animation-duration: var(--duration-base);
1820
- animation-duration: var(--duration-base);
1821
- }
1822
-
1823
- .NlRB1Xq-sFE- {
1824
- -webkit-animation-duration: calc(var(--duration-fast));
1825
- animation-duration: calc(var(--duration-fast));
1826
- }
1827
-
1828
- .B1cBkstNQhM- > :not(:last-child) {
1829
- margin-bottom: 1px;
1830
- margin-bottom: var(--space-minuscule);
1831
- }
1832
-
1833
- .rjAxJwaso0s- > :not(:last-child) {
1834
- margin-bottom: 2px;
1835
- margin-bottom: var(--space-smallest);
1836
- }
1837
-
1838
- .Chezd5Sqtmk- > :not(:last-child) {
1839
- margin-bottom: 4px;
1840
- margin-bottom: var(--space-smaller);
1841
- }
1842
-
1843
- .hzVGRy-KUeY- > :not(:last-child) {
1844
- margin-bottom: 8px;
1845
- margin-bottom: var(--space-small);
1846
- }
1847
-
1848
- .B67dzZpuwr4- > :not(:last-child) {
1849
- margin-bottom: 12px;
1850
- margin-bottom: var(--space-slim);
1851
- }
1852
-
1853
- .XFi-EWH3Rc0- > :not(:last-child) {
1854
- margin-bottom: 16px;
1855
- margin-bottom: var(--space-base);
1856
- }
1857
-
1858
- .JTt98vS-CLk- > :not(:last-child) {
1859
- margin-bottom: 24px;
1860
- margin-bottom: var(--space-large);
1861
- }
1862
-
1863
- .-h5Dm7qvnss- > :not(:last-child) {
1864
- margin-bottom: 32px;
1865
- margin-bottom: var(--space-larger);
1866
- }
1867
-
1868
- .K7DP0lB9veI- > :not(:last-child) {
1869
- margin-bottom: 48px;
1870
- margin-bottom: var(--space-largest);
1871
- }
1872
-
1873
- .d8bHHzbOHk4- > :not(:last-child) {
1874
- margin-bottom: 64px;
1875
- margin-bottom: var(--space-extravagant);
1876
- }
1877
-
1878
- .cftWh-00zXM- {
1879
- padding: 0;
1880
- padding: var(--public-content--padding, 0);
1881
- }
1882
-
1883
2018
  ._7mObJiwfPh4- {
1884
2019
  position: relative;
1885
2020
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.112.2",
3
+ "version": "6.113.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -538,5 +538,5 @@
538
538
  "> 1%",
539
539
  "IE 10"
540
540
  ],
541
- "gitHead": "5c6d2a8ba2313768db2fd1147c74de0b4e8c3710"
541
+ "gitHead": "9639efb029df5399aac0b13382e2e89eac579b8a"
542
542
  }