@jobber/components 6.20.7 → 6.21.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.
Files changed (127) hide show
  1. package/dist/Banner/index.cjs +1 -0
  2. package/dist/Banner/index.mjs +1 -0
  3. package/dist/Button/Button.d.ts +8 -74
  4. package/dist/Button/Button.types.d.ts +92 -0
  5. package/dist/Button/ButtonInternals.d.ts +10 -0
  6. package/dist/Button/ButtonProvider.d.ts +10 -0
  7. package/dist/Button/index.cjs +4 -1
  8. package/dist/Button/index.d.ts +4 -1
  9. package/dist/Button/index.mjs +3 -2
  10. package/dist/Button/useButtonStyles.d.ts +17 -0
  11. package/dist/Button-cjs.js +67 -22
  12. package/dist/Button-es.js +67 -24
  13. package/dist/ButtonDismiss/index.cjs +2 -1
  14. package/dist/ButtonDismiss/index.mjs +2 -1
  15. package/dist/ButtonDismiss-cjs.js +1 -0
  16. package/dist/ButtonDismiss-es.js +1 -0
  17. package/dist/Card/index.cjs +1 -0
  18. package/dist/Card/index.mjs +1 -0
  19. package/dist/Chips/InternalChipDismissible/index.cjs +1 -1
  20. package/dist/Chips/InternalChipDismissible/index.mjs +1 -1
  21. package/dist/Chips/index.cjs +1 -1
  22. package/dist/Chips/index.mjs +1 -1
  23. package/dist/Combobox/components/ComboboxActivator/index.cjs +2 -2
  24. package/dist/Combobox/components/ComboboxActivator/index.mjs +2 -2
  25. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +1 -0
  26. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +1 -0
  27. package/dist/ComboboxActivator-cjs.js +1 -0
  28. package/dist/ComboboxActivator-es.js +1 -0
  29. package/dist/ComboboxContentHeader-cjs.js +1 -0
  30. package/dist/ComboboxContentHeader-es.js +1 -0
  31. package/dist/ConfirmationModal/index.cjs +1 -0
  32. package/dist/ConfirmationModal/index.mjs +1 -0
  33. package/dist/DataDump/index.cjs +1 -0
  34. package/dist/DataDump/index.mjs +1 -0
  35. package/dist/DataList/components/DataListActions/index.cjs +1 -0
  36. package/dist/DataList/components/DataListActions/index.mjs +1 -0
  37. package/dist/DataList/components/DataListBulkActions/index.cjs +1 -0
  38. package/dist/DataList/components/DataListBulkActions/index.mjs +1 -0
  39. package/dist/DataList/components/DataListHeader/index.cjs +1 -1
  40. package/dist/DataList/components/DataListHeader/index.mjs +1 -1
  41. package/dist/DataList/components/DataListItem/index.cjs +1 -1
  42. package/dist/DataList/components/DataListItem/index.mjs +1 -1
  43. package/dist/DataList/components/DataListItemActions/index.cjs +1 -0
  44. package/dist/DataList/components/DataListItemActions/index.mjs +1 -0
  45. package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +2 -1
  46. package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +2 -1
  47. package/dist/DataList/components/DataListItems/index.cjs +1 -1
  48. package/dist/DataList/components/DataListItems/index.mjs +1 -1
  49. package/dist/DataList/components/DataListLayout/index.cjs +1 -1
  50. package/dist/DataList/components/DataListLayout/index.mjs +1 -1
  51. package/dist/DataList/components/DataListLayoutActions/index.cjs +2 -2
  52. package/dist/DataList/components/DataListLayoutActions/index.mjs +2 -2
  53. package/dist/DataList/components/DataListLoadMore/index.cjs +1 -0
  54. package/dist/DataList/components/DataListLoadMore/index.mjs +1 -0
  55. package/dist/DataList/components/DataListSearch/index.cjs +1 -1
  56. package/dist/DataList/components/DataListSearch/index.mjs +1 -1
  57. package/dist/DataListActions-cjs.js +1 -0
  58. package/dist/DataListActions-es.js +1 -0
  59. package/dist/DataListEmptyState-cjs.js +1 -0
  60. package/dist/DataListEmptyState-es.js +1 -0
  61. package/dist/DataListItemActionsOverflow-cjs.js +1 -0
  62. package/dist/DataListItemActionsOverflow-es.js +1 -0
  63. package/dist/DataListLoadMore-cjs.js +1 -0
  64. package/dist/DataListLoadMore-es.js +1 -0
  65. package/dist/DatePicker/index.cjs +1 -0
  66. package/dist/DatePicker/index.mjs +1 -0
  67. package/dist/Drawer/index.cjs +1 -0
  68. package/dist/Drawer/index.mjs +1 -0
  69. package/dist/FeatureSwitch/index.cjs +1 -0
  70. package/dist/FeatureSwitch/index.mjs +1 -0
  71. package/dist/FormField/index.cjs +1 -1
  72. package/dist/FormField/index.mjs +1 -1
  73. package/dist/FormatFile/index.cjs +1 -1
  74. package/dist/FormatFile/index.mjs +1 -1
  75. package/dist/InputAvatar-cjs.js +1 -0
  76. package/dist/InputAvatar-es.js +1 -0
  77. package/dist/InputDate/index.cjs +3 -3
  78. package/dist/InputDate/index.mjs +3 -3
  79. package/dist/InputEmail/index.cjs +1 -1
  80. package/dist/InputEmail/index.mjs +1 -1
  81. package/dist/InputEmail-cjs.js +1 -1
  82. package/dist/InputEmail-es.js +1 -1
  83. package/dist/InputNumber/index.cjs +1 -1
  84. package/dist/InputNumber/index.mjs +1 -1
  85. package/dist/InputNumber-cjs.js +1 -1
  86. package/dist/InputNumber-es.js +1 -1
  87. package/dist/InputPassword/index.cjs +1 -1
  88. package/dist/InputPassword/index.mjs +1 -1
  89. package/dist/InputPassword-cjs.js +1 -1
  90. package/dist/InputPassword-es.js +1 -1
  91. package/dist/InputPhoneNumber-cjs.js +1 -1
  92. package/dist/InputPhoneNumber-es.js +1 -1
  93. package/dist/InputText/index.cjs +3 -3
  94. package/dist/InputText/index.mjs +3 -3
  95. package/dist/InputTime-cjs.js +1 -1
  96. package/dist/InputTime-es.js +1 -1
  97. package/dist/LightBox/LightBox.d.ts +8 -1
  98. package/dist/LightBox/index.cjs +1 -0
  99. package/dist/LightBox/index.mjs +1 -0
  100. package/dist/LightBox-cjs.js +4 -2
  101. package/dist/LightBox-es.js +4 -2
  102. package/dist/Menu/index.cjs +1 -0
  103. package/dist/Menu/index.mjs +1 -0
  104. package/dist/Modal/index.cjs +1 -0
  105. package/dist/Modal/index.mjs +1 -0
  106. package/dist/Option-cjs.js +1 -1
  107. package/dist/Option-es.js +1 -1
  108. package/dist/Page/index.cjs +1 -0
  109. package/dist/Page/index.mjs +1 -0
  110. package/dist/Popover/index.cjs +1 -0
  111. package/dist/Popover/index.mjs +1 -0
  112. package/dist/RecurringSelect/index.cjs +1 -1
  113. package/dist/RecurringSelect/index.mjs +1 -1
  114. package/dist/Select/index.cjs +1 -1
  115. package/dist/Select/index.mjs +1 -1
  116. package/dist/SideDrawer/index.cjs +1 -0
  117. package/dist/SideDrawer/index.mjs +1 -0
  118. package/dist/Toast/index.cjs +2 -1
  119. package/dist/Toast/index.mjs +2 -1
  120. package/dist/Typography/Typography.d.ts +1 -2
  121. package/dist/index.cjs +2 -0
  122. package/dist/index.mjs +1 -1
  123. package/dist/showToast-cjs.js +1 -0
  124. package/dist/showToast-es.js +1 -0
  125. package/dist/styles.css +17 -18
  126. package/dist/utils/meta/meta.json +2 -0
  127. package/package.json +2 -2
package/dist/styles.css CHANGED
@@ -562,7 +562,7 @@
562
562
  }
563
563
 
564
564
  ._3RdwgIvvnZo- {
565
- color: hsl(207, 87%, 94%);
565
+ color: hsl(206, 61%, 23%);
566
566
  color: var(--color-payments--onSurface);
567
567
  }
568
568
 
@@ -1143,6 +1143,8 @@
1143
1143
  align-items: center;
1144
1144
  -ms-flex-pack: center;
1145
1145
  justify-content: center;
1146
+ gap: 4px;
1147
+ gap: var(--space-smaller);
1146
1148
  }
1147
1149
 
1148
1150
  ._7BLGtYNuJOU- * {
@@ -1345,34 +1347,25 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
1345
1347
  flex-shrink: 0;
1346
1348
  }
1347
1349
 
1348
- .tZGQ0DACs7g- {
1350
+ .H8uYM7Udc4o-:has(> svg:only-child) {
1349
1351
  width: var(--button--size);
1350
1352
  padding: 0;
1351
1353
  }
1352
1354
 
1353
- ._27LqTbyLaOM- {
1354
- width: auto;
1355
- gap: 4px;
1356
- gap: var(--space-smaller);
1357
- }
1355
+ /** Icon on Right */
1358
1356
 
1359
- ._27LqTbyLaOM- > * {
1360
- text-align: left;
1357
+ .H8uYM7Udc4o- > span ~ svg {
1358
+ margin-right: calc(4px * -1);
1359
+ margin-right: calc(var(--space-smaller) * -1);
1361
1360
  }
1362
1361
 
1363
- ._27LqTbyLaOM- > *:first-child {
1362
+ /** Icon on Left */
1363
+
1364
+ .H8uYM7Udc4o- > svg:has(+ span:nth-child(2)) {
1364
1365
  margin-left: calc(4px * -1);
1365
1366
  margin-left: calc(var(--space-smaller) * -1);
1366
1367
  }
1367
1368
 
1368
- ._3Mqs2Gu3Z2M- > *:first-child {
1369
- -ms-flex-order: 1;
1370
- order: 1;
1371
- margin-left: 0;
1372
- margin-right: calc(4px * -1);
1373
- margin-right: calc(var(--space-smaller) * -1);
1374
- }
1375
-
1376
1369
  .yBId-F-geAA- {
1377
1370
  width: 100%;
1378
1371
  }
@@ -7464,6 +7457,7 @@ html.atlantisLightBoxActive {
7464
7457
  background-color: rgba(3, 43, 58, 0.25);
7465
7458
  }
7466
7459
  ._3TfQLQEE3GQ- {
7460
+ --lightbox--box-sizing: content-box;
7467
7461
  display: -ms-flexbox;
7468
7462
  display: flex;
7469
7463
  position: relative;
@@ -7471,6 +7465,8 @@ html.atlantisLightBoxActive {
7471
7465
  z-index: var(--elevation-base);
7472
7466
  width: 100%;
7473
7467
  min-height: 92px;
7468
+ box-sizing: content-box;
7469
+ box-sizing: var(--lightbox--box-sizing);
7474
7470
  margin-bottom: 8px;
7475
7471
  margin-bottom: var(--space-small);
7476
7472
  padding-bottom: 8px;
@@ -7508,6 +7504,9 @@ html.atlantisLightBoxActive {
7508
7504
  background: var(--color-interactive--subtle);
7509
7505
  }
7510
7506
  }
7507
+ ._3TfQLQEE3GQ- * {
7508
+ box-sizing: var(--lightbox--box-sizing);
7509
+ }
7511
7510
  .eBMzUOlcfQ4- {
7512
7511
  width: 100%;
7513
7512
  height: 100%;
@@ -14,6 +14,8 @@
14
14
  "Body",
15
15
  "Box",
16
16
  "Button",
17
+ "Button.Icon",
18
+ "Button.Label",
17
19
  "ButtonDismiss",
18
20
  "Card",
19
21
  "Cell",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.20.7",
3
+ "version": "6.21.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -489,5 +489,5 @@
489
489
  "> 1%",
490
490
  "IE 10"
491
491
  ],
492
- "gitHead": "802e3d976a30349c459a432d32a9a2a346bfbbd0"
492
+ "gitHead": "28e267f721a53c3aa458cdc30ea15b9aaf11c66e"
493
493
  }