@bolio-ui/core 3.0.0-alpha.1 → 3.0.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 (254) hide show
  1. package/dist/Alert/Alert.d.ts +20 -0
  2. package/dist/Alert/index.d.ts +3 -0
  3. package/dist/Alert/index.js +16 -0
  4. package/dist/BolioUIProvider/index.js +7 -6
  5. package/dist/Button/index.js +3 -3
  6. package/dist/ButtonDropdown/index.js +3 -2
  7. package/dist/Calendar/index.js +2 -2
  8. package/dist/Chip/Chip.d.ts +17 -0
  9. package/dist/Chip/ChipContext.d.ts +11 -0
  10. package/dist/Chip/ChipGroup.d.ts +16 -0
  11. package/dist/Chip/index.d.ts +9 -0
  12. package/dist/Chip/index.js +15 -0
  13. package/dist/ColorInput/index.js +3 -2
  14. package/dist/Combobox/index.js +3 -2
  15. package/dist/Command/index.js +9 -8
  16. package/dist/ContextMenu/index.js +5 -4
  17. package/dist/CssBaseline/index.js +2 -2
  18. package/dist/DatePicker/index.js +4 -3
  19. package/dist/DateRangePicker/index.js +4 -3
  20. package/dist/Drawer/index.js +6 -5
  21. package/dist/Grid/Grid.d.ts +16 -16
  22. package/dist/Grid/GridContainer.d.ts +16 -16
  23. package/dist/ImageZoom/ImageZoom.d.ts +14 -0
  24. package/dist/ImageZoom/index.d.ts +3 -0
  25. package/dist/ImageZoom/index.js +17 -0
  26. package/dist/Mention/Mention.d.ts +25 -0
  27. package/dist/Mention/index.d.ts +3 -0
  28. package/dist/Mention/index.js +17 -0
  29. package/dist/Menu/index.js +4 -3
  30. package/dist/Modal/index.js +8 -7
  31. package/dist/Note/Note.d.ts +10 -0
  32. package/dist/Note/index.js +3 -2
  33. package/dist/Popover/index.js +4 -3
  34. package/dist/Select/index.js +7 -6
  35. package/dist/Splitter/Splitter.d.ts +14 -0
  36. package/dist/Splitter/SplitterContext.d.ts +6 -0
  37. package/dist/Splitter/SplitterPanel.d.ts +13 -0
  38. package/dist/Splitter/index.d.ts +9 -0
  39. package/dist/Splitter/index.js +14 -0
  40. package/dist/Table/Table.d.ts +11 -1
  41. package/dist/Table/TableBody.d.ts +8 -2
  42. package/dist/Table/TableColumn.d.ts +2 -0
  43. package/dist/Table/TableHead.d.ts +9 -1
  44. package/dist/Table/TableSelectBox.d.ts +9 -0
  45. package/dist/Table/TableTypes.d.ts +8 -0
  46. package/dist/Table/index.d.ts +1 -1
  47. package/dist/Table/index.js +3 -3
  48. package/dist/Toolbar/Toolbar.d.ts +11 -0
  49. package/dist/Toolbar/ToolbarSeparator.d.ts +4 -0
  50. package/dist/Toolbar/index.d.ts +9 -0
  51. package/dist/Toolbar/index.js +14 -0
  52. package/dist/Tooltip/index.js +3 -2
  53. package/dist/Tour/Tour.d.ts +26 -0
  54. package/dist/Tour/index.d.ts +3 -0
  55. package/dist/Tour/index.js +24 -0
  56. package/dist/{chunk-PGQYW6YF.js → chunk-25NFUHLR.js} +12 -8
  57. package/dist/{chunk-AFBCMW2I.js → chunk-26KDVRFS.js} +1 -3
  58. package/dist/{chunk-4ZGR7UMX.js → chunk-4DH6SOK4.js} +10 -6
  59. package/dist/chunk-CGS2MT3G.js +10 -0
  60. package/dist/{chunk-6ZBFUZSL.js → chunk-CU6SNPIM.js} +25 -22
  61. package/dist/chunk-CY5KTINE.js +107 -0
  62. package/dist/{chunk-IJGIEX5J.js → chunk-DEMQXB46.js} +6 -2
  63. package/dist/{chunk-AVO2SK2I.js → chunk-DYYSUJ35.js} +2 -2
  64. package/dist/chunk-EUYSKHRS.js +13 -0
  65. package/dist/chunk-FFEAKF3A.js +220 -0
  66. package/dist/{chunk-XLPOECCE.js → chunk-FLUNRVVG.js} +12 -7
  67. package/dist/chunk-FQWH4PDK.js +165 -0
  68. package/dist/chunk-FSO65ZAH.js +249 -0
  69. package/dist/{chunk-2EYJZXS4.js → chunk-ICACLCJR.js} +13 -8
  70. package/dist/{chunk-XF4TPE2W.js → chunk-IL7L3BEL.js} +7 -2
  71. package/dist/{chunk-MGHMAZRL.js → chunk-KRSISARC.js} +7 -3
  72. package/dist/{chunk-4QA7Z7VP.js → chunk-M64V32WO.js} +6 -3
  73. package/dist/chunk-Q3I54DUS.js +131 -0
  74. package/dist/chunk-REWKR7S3.js +109 -0
  75. package/dist/{chunk-SGWX6H4Y.js → chunk-RWRFOGCU.js} +6 -2
  76. package/dist/chunk-SJVWKNGY.js +236 -0
  77. package/dist/{chunk-P245HSVB.js → chunk-TLVSZCKU.js} +2 -1
  78. package/dist/{chunk-AG2NWQYL.js → chunk-WCTANCLG.js} +3 -1
  79. package/dist/{chunk-TDJGMSGT.js → chunk-WIIDIZYK.js} +3 -1
  80. package/dist/{chunk-DIMJQLWY.js → chunk-XUNC7RB7.js} +9 -5
  81. package/dist/{chunk-GGCVPMXO.js → chunk-Y432C24Z.js} +2 -2
  82. package/dist/{chunk-TKICX5R6.js → chunk-Y5CFWIGV.js} +227 -35
  83. package/dist/{chunk-GYFW5NLU.js → chunk-YLLPYRJH.js} +34 -11
  84. package/dist/css/Alert.css +53 -0
  85. package/dist/css/ButtonDropdown-ButtonDropdownItem.css +0 -1
  86. package/dist/css/ButtonGroup.css +0 -1
  87. package/dist/css/Calendar.css +0 -1
  88. package/dist/css/Carousel.css +0 -1
  89. package/dist/css/Chip-ChipGroup.css +8 -0
  90. package/dist/css/Chip.css +65 -0
  91. package/dist/css/ColorInput.css +7 -3
  92. package/dist/css/ColorPicker.css +5 -4
  93. package/dist/css/Combobox.css +1 -2
  94. package/dist/css/DatePicker.css +1 -3
  95. package/dist/css/DateRangePicker.css +7 -3
  96. package/dist/css/Dropzone.css +0 -3
  97. package/dist/css/Fieldset-FieldsetGroup.css +0 -1
  98. package/dist/css/ImageZoom.css +93 -0
  99. package/dist/css/Input.css +1 -1
  100. package/dist/css/Mention.css +93 -0
  101. package/dist/css/Menu-MenuList.css +0 -1
  102. package/dist/css/Modal-ModalAction.css +6 -1
  103. package/dist/css/Modal-ModalActions.css +9 -2
  104. package/dist/css/NumberInput.css +1 -1
  105. package/dist/css/PinInput.css +1 -1
  106. package/dist/css/Radio.css +0 -1
  107. package/dist/css/SegmentedControl.css +0 -1
  108. package/dist/css/Select-SelectDropdown.css +0 -1
  109. package/dist/css/Select-SelectOption.css +0 -1
  110. package/dist/css/Select.css +0 -1
  111. package/dist/css/Splitter.css +77 -0
  112. package/dist/css/Table-TableBody.css +10 -0
  113. package/dist/css/Table-TableHead.css +41 -0
  114. package/dist/css/Table-TableSelectBox.css +11 -0
  115. package/dist/css/TagsInput.css +1 -2
  116. package/dist/css/Textarea.css +1 -1
  117. package/dist/css/Toggle.css +0 -1
  118. package/dist/css/Toolbar.css +32 -0
  119. package/dist/css/Tour.css +81 -0
  120. package/dist/css/use-toasts-toast-item.css +0 -1
  121. package/dist/index.d.ts +15 -1
  122. package/dist/index.js +92 -62
  123. package/dist/styles.css +3571 -2997
  124. package/dist/utils/surface.d.ts +6 -0
  125. package/esm/Alert/Alert.d.ts +20 -0
  126. package/esm/Alert/index.d.ts +3 -0
  127. package/esm/Alert/index.js +16 -0
  128. package/esm/BolioUIProvider/index.js +6 -5
  129. package/esm/Button/index.js +2 -2
  130. package/esm/ButtonDropdown/index.js +2 -1
  131. package/esm/Calendar/index.js +1 -1
  132. package/esm/Chip/Chip.d.ts +17 -0
  133. package/esm/Chip/ChipContext.d.ts +11 -0
  134. package/esm/Chip/ChipGroup.d.ts +16 -0
  135. package/esm/Chip/index.d.ts +9 -0
  136. package/esm/Chip/index.js +15 -0
  137. package/esm/ColorInput/index.js +2 -1
  138. package/esm/Combobox/index.js +2 -1
  139. package/esm/Command/index.js +8 -7
  140. package/esm/ContextMenu/index.js +4 -3
  141. package/esm/CssBaseline/index.js +1 -1
  142. package/esm/DatePicker/index.js +3 -2
  143. package/esm/DateRangePicker/index.js +3 -2
  144. package/esm/Drawer/index.js +5 -4
  145. package/esm/Grid/Grid.d.ts +16 -16
  146. package/esm/Grid/GridContainer.d.ts +16 -16
  147. package/esm/ImageZoom/ImageZoom.d.ts +14 -0
  148. package/esm/ImageZoom/index.d.ts +3 -0
  149. package/esm/ImageZoom/index.js +17 -0
  150. package/esm/Mention/Mention.d.ts +25 -0
  151. package/esm/Mention/index.d.ts +3 -0
  152. package/esm/Mention/index.js +17 -0
  153. package/esm/Menu/index.js +3 -2
  154. package/esm/Modal/index.js +7 -6
  155. package/esm/Note/Note.d.ts +10 -0
  156. package/esm/Note/index.js +2 -1
  157. package/esm/Popover/index.js +3 -2
  158. package/esm/Select/index.js +6 -5
  159. package/esm/Splitter/Splitter.d.ts +14 -0
  160. package/esm/Splitter/SplitterContext.d.ts +6 -0
  161. package/esm/Splitter/SplitterPanel.d.ts +13 -0
  162. package/esm/Splitter/index.d.ts +9 -0
  163. package/esm/Splitter/index.js +14 -0
  164. package/esm/Table/Table.d.ts +11 -1
  165. package/esm/Table/TableBody.d.ts +8 -2
  166. package/esm/Table/TableColumn.d.ts +2 -0
  167. package/esm/Table/TableHead.d.ts +9 -1
  168. package/esm/Table/TableSelectBox.d.ts +9 -0
  169. package/esm/Table/TableTypes.d.ts +8 -0
  170. package/esm/Table/index.d.ts +1 -1
  171. package/esm/Table/index.js +2 -2
  172. package/esm/Toolbar/Toolbar.d.ts +11 -0
  173. package/esm/Toolbar/ToolbarSeparator.d.ts +4 -0
  174. package/esm/Toolbar/index.d.ts +9 -0
  175. package/esm/Toolbar/index.js +14 -0
  176. package/esm/Tooltip/index.js +2 -1
  177. package/esm/Tour/Tour.d.ts +26 -0
  178. package/esm/Tour/index.d.ts +3 -0
  179. package/esm/Tour/index.js +24 -0
  180. package/esm/{chunk-PGQYW6YF.js → chunk-25NFUHLR.js} +7 -3
  181. package/esm/{chunk-AFBCMW2I.js → chunk-26KDVRFS.js} +2 -4
  182. package/esm/{chunk-4ZGR7UMX.js → chunk-4DH6SOK4.js} +10 -6
  183. package/esm/chunk-CGS2MT3G.js +10 -0
  184. package/esm/{chunk-6ZBFUZSL.js → chunk-CU6SNPIM.js} +15 -12
  185. package/esm/chunk-CY5KTINE.js +107 -0
  186. package/esm/{chunk-IJGIEX5J.js → chunk-DEMQXB46.js} +6 -2
  187. package/esm/{chunk-AVO2SK2I.js → chunk-DYYSUJ35.js} +1 -1
  188. package/esm/chunk-EUYSKHRS.js +13 -0
  189. package/esm/chunk-FFEAKF3A.js +220 -0
  190. package/esm/{chunk-XLPOECCE.js → chunk-FLUNRVVG.js} +11 -6
  191. package/esm/chunk-FQWH4PDK.js +165 -0
  192. package/esm/chunk-FSO65ZAH.js +249 -0
  193. package/esm/{chunk-2EYJZXS4.js → chunk-ICACLCJR.js} +8 -3
  194. package/esm/{chunk-XF4TPE2W.js → chunk-IL7L3BEL.js} +7 -2
  195. package/esm/{chunk-MGHMAZRL.js → chunk-KRSISARC.js} +7 -3
  196. package/esm/{chunk-4QA7Z7VP.js → chunk-M64V32WO.js} +5 -2
  197. package/esm/chunk-Q3I54DUS.js +131 -0
  198. package/esm/chunk-REWKR7S3.js +109 -0
  199. package/esm/{chunk-SGWX6H4Y.js → chunk-RWRFOGCU.js} +6 -2
  200. package/esm/chunk-SJVWKNGY.js +236 -0
  201. package/esm/{chunk-P245HSVB.js → chunk-TLVSZCKU.js} +2 -1
  202. package/esm/{chunk-AG2NWQYL.js → chunk-WCTANCLG.js} +3 -1
  203. package/esm/{chunk-TDJGMSGT.js → chunk-WIIDIZYK.js} +3 -1
  204. package/esm/{chunk-DIMJQLWY.js → chunk-XUNC7RB7.js} +9 -5
  205. package/esm/{chunk-GGCVPMXO.js → chunk-Y432C24Z.js} +1 -1
  206. package/esm/chunk-Y5CFWIGV.js +543 -0
  207. package/esm/{chunk-GYFW5NLU.js → chunk-YLLPYRJH.js} +30 -7
  208. package/esm/css/Alert.css +53 -0
  209. package/esm/css/ButtonDropdown-ButtonDropdownItem.css +0 -1
  210. package/esm/css/ButtonGroup.css +0 -1
  211. package/esm/css/Calendar.css +0 -1
  212. package/esm/css/Carousel.css +0 -1
  213. package/esm/css/Chip-ChipGroup.css +8 -0
  214. package/esm/css/Chip.css +65 -0
  215. package/esm/css/ColorInput.css +7 -3
  216. package/esm/css/ColorPicker.css +5 -4
  217. package/esm/css/Combobox.css +1 -2
  218. package/esm/css/DatePicker.css +1 -3
  219. package/esm/css/DateRangePicker.css +7 -3
  220. package/esm/css/Dropzone.css +0 -3
  221. package/esm/css/Fieldset-FieldsetGroup.css +0 -1
  222. package/esm/css/ImageZoom.css +93 -0
  223. package/esm/css/Input.css +1 -1
  224. package/esm/css/Mention.css +93 -0
  225. package/esm/css/Menu-MenuList.css +0 -1
  226. package/esm/css/Modal-ModalAction.css +6 -1
  227. package/esm/css/Modal-ModalActions.css +9 -2
  228. package/esm/css/NumberInput.css +1 -1
  229. package/esm/css/PinInput.css +1 -1
  230. package/esm/css/Radio.css +0 -1
  231. package/esm/css/SegmentedControl.css +0 -1
  232. package/esm/css/Select-SelectDropdown.css +0 -1
  233. package/esm/css/Select-SelectOption.css +0 -1
  234. package/esm/css/Select.css +0 -1
  235. package/esm/css/Splitter.css +77 -0
  236. package/esm/css/Table-TableBody.css +10 -0
  237. package/esm/css/Table-TableHead.css +41 -0
  238. package/esm/css/Table-TableSelectBox.css +11 -0
  239. package/esm/css/TagsInput.css +1 -2
  240. package/esm/css/Textarea.css +1 -1
  241. package/esm/css/Toggle.css +0 -1
  242. package/esm/css/Toolbar.css +32 -0
  243. package/esm/css/Tour.css +81 -0
  244. package/esm/css/use-toasts-toast-item.css +0 -1
  245. package/esm/index.d.ts +15 -1
  246. package/esm/index.js +109 -79
  247. package/esm/styles.css +3206 -2632
  248. package/esm/utils/surface.d.ts +6 -0
  249. package/package.json +1 -1
  250. package/esm/chunk-TKICX5R6.js +0 -351
  251. package/dist/{chunk-DXHNQANX.js → chunk-TPZUTHTQ.js} +3 -3
  252. package/dist/{chunk-TKIUVNKP.js → chunk-XKJDF225.js} +2 -2
  253. package/esm/{chunk-DXHNQANX.js → chunk-TPZUTHTQ.js} +3 -3
  254. package/esm/{chunk-TKIUVNKP.js → chunk-XKJDF225.js} +3 -3
@@ -0,0 +1,53 @@
1
+ @layer Alert {
2
+ .Alert-module_alert__Ghxl7 {
3
+ display: flex;
4
+ align-items: flex-start;
5
+ gap: 0.75em;
6
+ box-sizing: border-box;
7
+ line-height: 1.6;
8
+ }
9
+
10
+ .Alert-module_alert__Ghxl7 p {
11
+ margin: 0;
12
+ }
13
+
14
+ .Alert-module_icon__hcZdu {
15
+ display: inline-flex;
16
+ flex: none;
17
+ margin-top: 0.2em;
18
+ }
19
+
20
+ .Alert-module_body__SuUYD {
21
+ flex: 1;
22
+ min-width: 0;
23
+ }
24
+
25
+ .Alert-module_title__8yipK {
26
+ font-weight: 600;
27
+ }
28
+
29
+ .Alert-module_close__ZPg5d {
30
+ display: inline-flex;
31
+ flex: none;
32
+ align-items: center;
33
+ justify-content: center;
34
+ margin: 0.15em -0.25em 0 0;
35
+ padding: 0.25em;
36
+ color: inherit;
37
+ background: none;
38
+ border: 0;
39
+ border-radius: 4px;
40
+ opacity: 0.7;
41
+ cursor: pointer;
42
+ }
43
+
44
+ .Alert-module_close__ZPg5d:hover {
45
+ opacity: 1;
46
+ }
47
+
48
+ .Alert-module_close__ZPg5d:focus-visible {
49
+ outline: 2px solid currentColor;
50
+ outline-offset: 1px;
51
+ }
52
+
53
+ }
@@ -2,7 +2,6 @@
2
2
  .ButtonDropdownItem-module_button__R-hYv {
3
3
  position: relative;
4
4
  -webkit-appearance: button;
5
- text-rendering: auto;
6
5
  display: inline-flex;
7
6
  flex: 1;
8
7
  justify-content: center;
@@ -5,7 +5,6 @@
5
5
  overflow: hidden;
6
6
  border: 1px solid var(--btn-group-border);
7
7
  border-radius: var(--btn-group-radius);
8
- background-clip: padding-box;
9
8
  }
10
9
 
11
10
  .ButtonGroup-module_vertical__ueNfm {
@@ -62,7 +62,6 @@
62
62
  border-radius: var(--calendar-radius);
63
63
  appearance: none;
64
64
  -webkit-appearance: none;
65
- background-clip: padding-box;
66
65
  }
67
66
 
68
67
  .Calendar-module_navButton__jmnwu {
@@ -64,7 +64,6 @@
64
64
  border-radius: 50%;
65
65
  appearance: none;
66
66
  -webkit-appearance: none;
67
- background-clip: padding-box;
68
67
  }
69
68
 
70
69
  .Carousel-module_control__SdAV-:hover:not(:disabled) {
@@ -0,0 +1,8 @@
1
+ @layer Chip-ChipGroup {
2
+ .ChipGroup-module_group__6ARIk {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ gap: 0.5em;
6
+ }
7
+
8
+ }
@@ -0,0 +1,65 @@
1
+ @layer Chip {
2
+ .Chip-module_chip__r494r {
3
+ position: relative;
4
+ display: inline-flex;
5
+ }
6
+
7
+ .Chip-module_input__GhNGk {
8
+ position: absolute;
9
+ opacity: 0;
10
+ overflow: hidden;
11
+ width: 1px;
12
+ height: 1px;
13
+ margin: 0;
14
+ font-size: 0;
15
+ }
16
+
17
+ .Chip-module_text__sYRMh {
18
+ display: inline-flex;
19
+ align-items: center;
20
+ gap: 0.4em;
21
+ box-sizing: border-box;
22
+ height: 100%;
23
+ padding: 0 0.875em;
24
+ font-weight: 500;
25
+ white-space: nowrap;
26
+ color: var(--chip-color);
27
+ border: 1px solid var(--chip-border);
28
+ border-radius: 999px;
29
+ cursor: pointer;
30
+ user-select: none;
31
+ transition:
32
+ color 0.15s ease,
33
+ background-color 0.15s ease,
34
+ border-color 0.15s ease;
35
+ }
36
+
37
+ .Chip-module_text__sYRMh:hover {
38
+ background-color: var(--chip-hover-bg);
39
+ }
40
+
41
+ .Chip-module_input__GhNGk:checked + .Chip-module_text__sYRMh {
42
+ color: var(--chip-checked-color);
43
+ background-color: var(--chip-checked-bg);
44
+ border-color: var(--chip-checked-border);
45
+ }
46
+
47
+ .Chip-module_input__GhNGk:focus-visible + .Chip-module_text__sYRMh {
48
+ outline: 2px solid var(--chip-focus);
49
+ outline-offset: 2px;
50
+ }
51
+
52
+ .Chip-module_input__GhNGk:disabled + .Chip-module_text__sYRMh {
53
+ opacity: 0.5;
54
+ cursor: not-allowed;
55
+ }
56
+
57
+ .Chip-module_input__GhNGk:disabled + .Chip-module_text__sYRMh:hover {
58
+ background-color: transparent;
59
+ }
60
+
61
+ .Chip-module_input__GhNGk:disabled:checked + .Chip-module_text__sYRMh:hover {
62
+ background-color: var(--chip-checked-bg);
63
+ }
64
+
65
+ }
@@ -22,7 +22,6 @@
22
22
  transition:
23
23
  border-color 0.15s ease,
24
24
  background-color 0.15s ease;
25
- background-clip: padding-box;
26
25
  }
27
26
 
28
27
  .ColorInput-module_field__JQwJJ:hover {
@@ -32,6 +31,7 @@
32
31
 
33
32
  .ColorInput-module_field__JQwJJ:focus-within {
34
33
  border-color: var(--colorinput-focus-border);
34
+ background-clip: padding-box;
35
35
  }
36
36
 
37
37
  .ColorInput-module_swatch__sLvyf {
@@ -42,10 +42,15 @@
42
42
  margin: 0;
43
43
  padding: 0;
44
44
  cursor: pointer;
45
- border: 1px solid var(--colorinput-popup-border);
45
+ border: 0;
46
46
  border-radius: 6px;
47
47
  appearance: none;
48
48
  -webkit-appearance: none;
49
+ transition: transform 0.15s ease;
50
+ }
51
+
52
+ .ColorInput-module_swatch__sLvyf:not(:disabled):active {
53
+ transform: scale(0.9);
49
54
  }
50
55
 
51
56
  .ColorInput-module_swatch__sLvyf:focus-visible {
@@ -91,7 +96,6 @@
91
96
  border: 1px solid var(--colorinput-popup-border);
92
97
  border-radius: var(--colorinput-popup-radius);
93
98
  box-shadow: var(--colorinput-shadow);
94
- background-clip: padding-box;
95
99
  }
96
100
 
97
101
  }
@@ -19,7 +19,6 @@
19
19
  height: 10em;
20
20
  cursor: crosshair;
21
21
  touch-action: none;
22
- border: 1px solid var(--picker-border);
23
22
  border-radius: var(--picker-radius);
24
23
  background-image:
25
24
  linear-gradient(to top, #000, transparent),
@@ -40,6 +39,11 @@
40
39
  border-radius: 50%;
41
40
  box-shadow: 0 0 0 1px rgb(0 0 0 / 40%);
42
41
  outline: none;
42
+ transition: transform 0.15s ease;
43
+ }
44
+
45
+ .ColorPicker-module_picker__b-U0f:not(.ColorPicker-module_disabled__jM1X3) .ColorPicker-module_panel__kComH:active .ColorPicker-module_thumb__Vi5yp {
46
+ transform: scale(1.2);
43
47
  }
44
48
 
45
49
  .ColorPicker-module_thumb__Vi5yp:focus-visible {
@@ -82,7 +86,6 @@
82
86
  box-shadow: 0 0 0 1px rgb(0 0 0 / 40%);
83
87
  appearance: none;
84
88
  -webkit-appearance: none;
85
- background-clip: padding-box;
86
89
  }
87
90
 
88
91
  .ColorPicker-module_hue__VKHj-::-moz-range-thumb {
@@ -93,7 +96,6 @@
93
96
  border: 2px solid #fff;
94
97
  border-radius: 50%;
95
98
  box-shadow: 0 0 0 1px rgb(0 0 0 / 40%);
96
- background-clip: padding-box;
97
99
  }
98
100
 
99
101
  .ColorPicker-module_hue__VKHj-:focus-visible {
@@ -112,7 +114,6 @@
112
114
  border-radius: var(--picker-radius);
113
115
  background-color: var(--picker-bg);
114
116
  transition: border-color 0.15s ease;
115
- background-clip: padding-box;
116
117
  }
117
118
 
118
119
  .ColorPicker-module_field__v7-7F:hover {
@@ -26,7 +26,6 @@
26
26
  transition:
27
27
  border-color 0.15s ease,
28
28
  background-color 0.15s ease;
29
- background-clip: padding-box;
30
29
  }
31
30
 
32
31
  .Combobox-module_input__ti3bv::placeholder {
@@ -40,6 +39,7 @@
40
39
 
41
40
  .Combobox-module_input__ti3bv:focus {
42
41
  border-color: var(--combobox-focus-border-color);
42
+ background-clip: padding-box;
43
43
  }
44
44
 
45
45
  .Combobox-module_input__ti3bv:disabled {
@@ -58,7 +58,6 @@
58
58
  border: 1px solid var(--combobox-border-color);
59
59
  border-radius: var(--combobox-popup-radius);
60
60
  box-shadow: var(--combobox-shadow);
61
- background-clip: padding-box;
62
61
  }
63
62
 
64
63
  .Combobox-module_list__2otmP {
@@ -26,7 +26,6 @@
26
26
  transition:
27
27
  border-color 0.15s ease,
28
28
  background-color 0.15s ease;
29
- background-clip: padding-box;
30
29
  }
31
30
 
32
31
  .DatePicker-module_input__e7dhN::placeholder {
@@ -40,6 +39,7 @@
40
39
 
41
40
  .DatePicker-module_input__e7dhN:focus {
42
41
  border-color: var(--datepicker-focus-border-color);
42
+ background-clip: padding-box;
43
43
  }
44
44
 
45
45
  .DatePicker-module_input__e7dhN:disabled {
@@ -62,7 +62,6 @@
62
62
  border-radius: var(--datepicker-radius);
63
63
  appearance: none;
64
64
  -webkit-appearance: none;
65
- background-clip: padding-box;
66
65
  }
67
66
 
68
67
  .DatePicker-module_toggle__I8ARg:hover:not(:disabled) {
@@ -89,7 +88,6 @@
89
88
  border: 1px solid var(--datepicker-border-color);
90
89
  border-radius: var(--datepicker-popup-radius);
91
90
  box-shadow: var(--datepicker-shadow);
92
- background-clip: padding-box;
93
91
  }
94
92
 
95
93
  }
@@ -24,7 +24,6 @@
24
24
  transition:
25
25
  border-color 0.15s ease,
26
26
  background-color 0.15s ease;
27
- background-clip: padding-box;
28
27
  }
29
28
 
30
29
  .DateRangePicker-module_field__4UZhH:hover {
@@ -34,6 +33,7 @@
34
33
 
35
34
  .DateRangePicker-module_field__4UZhH:focus-within {
36
35
  border-color: var(--daterange-focus-border-color);
36
+ background-clip: padding-box;
37
37
  }
38
38
 
39
39
  .DateRangePicker-module_input__h9sDj {
@@ -78,7 +78,6 @@
78
78
  border-radius: var(--daterange-radius);
79
79
  appearance: none;
80
80
  -webkit-appearance: none;
81
- background-clip: padding-box;
82
81
  }
83
82
 
84
83
  .DateRangePicker-module_toggle__gNukh:hover:not(:disabled) {
@@ -104,7 +103,12 @@
104
103
  border: 1px solid var(--daterange-border-color);
105
104
  border-radius: var(--daterange-popup-radius);
106
105
  box-shadow: var(--daterange-shadow);
107
- background-clip: padding-box;
106
+ }
107
+
108
+ /* a field near the right edge: the popup grows to the left */
109
+ .DateRangePicker-module_alignEnd__DgOia {
110
+ right: 0;
111
+ left: auto;
108
112
  }
109
113
 
110
114
  }
@@ -33,7 +33,6 @@
33
33
  transition:
34
34
  border-color 0.2s ease,
35
35
  background-color 0.2s ease;
36
- background-clip: padding-box;
37
36
  }
38
37
 
39
38
  .Dropzone-module_dropzone__-6nFN:hover .Dropzone-module_content__Uafwo {
@@ -88,7 +87,6 @@
88
87
  background-color: var(--dropzone-tile-bg);
89
88
  border: 1px solid var(--dropzone-border);
90
89
  border-radius: var(--dropzone-radius);
91
- background-clip: padding-box;
92
90
  }
93
91
 
94
92
  .Dropzone-module_preview__pQ3gz {
@@ -133,7 +131,6 @@
133
131
  border-radius: 50%;
134
132
  appearance: none;
135
133
  -webkit-appearance: none;
136
- background-clip: padding-box;
137
134
  }
138
135
 
139
136
  .Dropzone-module_remove__pjfHy:hover:not(:disabled) {
@@ -35,7 +35,6 @@
35
35
  border: 1px solid var(--fieldset-group-border);
36
36
  text-decoration: none;
37
37
  outline: none;
38
- background-clip: padding-box;
39
38
  }
40
39
 
41
40
  .FieldsetGroup-module_button__kXAoU.FieldsetGroup-module_active__tJFHM {
@@ -0,0 +1,93 @@
1
+ @layer ImageZoom {
2
+ .ImageZoom-module_trigger__-42Bz {
3
+ display: inline-block;
4
+ max-width: 100%;
5
+ margin: 0;
6
+ padding: 0;
7
+ line-height: 0;
8
+ color: inherit;
9
+ cursor: zoom-in;
10
+ background: none;
11
+ border: 0;
12
+ border-radius: inherit;
13
+ appearance: none;
14
+ -webkit-appearance: none;
15
+ }
16
+
17
+ .ImageZoom-module_trigger__-42Bz:focus-visible {
18
+ outline: 2px solid currentColor;
19
+ outline-offset: 2px;
20
+ }
21
+
22
+ .ImageZoom-module_dialog__TjA9E {
23
+ box-sizing: border-box;
24
+ max-width: 100vw;
25
+ max-height: 100vh;
26
+ padding: 1rem;
27
+ overflow: visible;
28
+ color: #fff;
29
+ background: transparent;
30
+ border: 0;
31
+ }
32
+
33
+ .ImageZoom-module_dialog__TjA9E::backdrop {
34
+ background: rgb(0 0 0 / 85%);
35
+ }
36
+
37
+ /* the page behind does not scroll while it is open */
38
+ body:has(.ImageZoom-module_dialog__TjA9E[open]) {
39
+ overflow: hidden;
40
+ }
41
+
42
+ .ImageZoom-module_figure__YIBq1 {
43
+ display: flex;
44
+ flex-direction: column;
45
+ align-items: center;
46
+ gap: 0.75rem;
47
+ margin: 0;
48
+ }
49
+
50
+ .ImageZoom-module_zoomed__7gfCP {
51
+ display: block;
52
+ max-width: calc(100vw - 2rem);
53
+ max-height: calc(100vh - 6rem);
54
+ object-fit: contain;
55
+ cursor: zoom-out;
56
+ border-radius: 8px;
57
+ }
58
+
59
+ .ImageZoom-module_caption__6SFRA {
60
+ font-size: 0.875rem;
61
+ text-align: center;
62
+ }
63
+
64
+ .ImageZoom-module_close__iEiwJ {
65
+ position: fixed;
66
+ top: 1rem;
67
+ right: 1rem;
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: center;
71
+ width: 2.5rem;
72
+ height: 2.5rem;
73
+ margin: 0;
74
+ padding: 0;
75
+ color: #fff;
76
+ cursor: pointer;
77
+ background: rgb(255 255 255 / 12%);
78
+ border: 0;
79
+ border-radius: 50%;
80
+ appearance: none;
81
+ -webkit-appearance: none;
82
+ }
83
+
84
+ .ImageZoom-module_close__iEiwJ:hover {
85
+ background: rgb(255 255 255 / 24%);
86
+ }
87
+
88
+ .ImageZoom-module_close__iEiwJ:focus-visible {
89
+ outline: 2px solid #fff;
90
+ outline-offset: 2px;
91
+ }
92
+
93
+ }
package/esm/css/Input.css CHANGED
@@ -26,7 +26,6 @@
26
26
  transition:
27
27
  border 0.2s ease 0s,
28
28
  color 0.2s ease 0s;
29
- background-clip: padding-box;
30
29
  }
31
30
 
32
31
  .Input-module_inputWrapper__WpYTp:hover {
@@ -54,6 +53,7 @@
54
53
 
55
54
  .Input-module_inputWrapper__WpYTp.Input-module_hover__Gq-MR {
56
55
  border-color: var(--input-focus-border);
56
+ background-clip: padding-box;
57
57
  }
58
58
 
59
59
  .Input-module_input__hCma0 {
@@ -0,0 +1,93 @@
1
+ @layer Mention {
2
+ .Mention-module_mention__R3-5t {
3
+ position: relative;
4
+ display: inline-block;
5
+ box-sizing: border-box;
6
+ font-size: var(--mention-font-size);
7
+ width: var(--mention-width);
8
+ height: var(--mention-height);
9
+ margin: var(--mention-margin-top) var(--mention-margin-right)
10
+ var(--mention-margin-bottom) var(--mention-margin-left);
11
+ }
12
+
13
+ .Mention-module_field__U5FXf {
14
+ display: block;
15
+ box-sizing: border-box;
16
+ width: 100%;
17
+ min-width: 12.5em;
18
+ padding: 0.625em 0.875em;
19
+ font: inherit;
20
+ line-height: 1.5;
21
+ color: var(--mention-field-color);
22
+ background-color: var(--mention-field-bg);
23
+ border: 1px solid var(--mention-field-border);
24
+ border-radius: var(--mention-radius);
25
+ outline: none;
26
+ resize: vertical;
27
+ transition:
28
+ border-color 0.15s ease,
29
+ background-color 0.15s ease;
30
+ }
31
+
32
+ .Mention-module_field__U5FXf::placeholder {
33
+ color: var(--mention-placeholder-color);
34
+ }
35
+
36
+ .Mention-module_field__U5FXf:hover {
37
+ border-color: var(--mention-field-hover-border);
38
+ background-color: var(--mention-field-hover-bg);
39
+ }
40
+
41
+ .Mention-module_field__U5FXf:focus {
42
+ border-color: var(--mention-focus-border-color);
43
+ background-clip: padding-box;
44
+ }
45
+
46
+ .Mention-module_field__U5FXf:disabled {
47
+ cursor: not-allowed;
48
+ }
49
+
50
+ .Mention-module_list__QQ5RM,
51
+ .Mention-module_empty__YkZOO {
52
+ position: absolute;
53
+ top: calc(100% + 4px);
54
+ left: 0;
55
+ right: 0;
56
+ z-index: 1100;
57
+ box-sizing: border-box;
58
+ background-color: var(--mention-bg);
59
+ border: 1px solid var(--mention-border-color);
60
+ border-radius: var(--mention-radius);
61
+ box-shadow: var(--mention-shadow);
62
+ }
63
+
64
+ .Mention-module_list__QQ5RM {
65
+ max-height: 15em;
66
+ overflow-y: auto;
67
+ margin: 0;
68
+ padding: 0.25em;
69
+ list-style: none;
70
+ }
71
+
72
+ .Mention-module_option__8CupI {
73
+ padding: 0.5em 0.75em;
74
+ border-radius: 4px;
75
+ cursor: pointer;
76
+ color: var(--mention-text-color);
77
+ }
78
+
79
+ .Mention-module_active__8GmDl {
80
+ background-color: var(--mention-active-bg);
81
+ }
82
+
83
+ .Mention-module_disabled__4PL94 {
84
+ cursor: not-allowed;
85
+ color: var(--mention-empty-color);
86
+ }
87
+
88
+ .Mention-module_empty__YkZOO {
89
+ padding: 0.75em;
90
+ color: var(--mention-empty-color);
91
+ }
92
+
93
+ }
@@ -10,7 +10,6 @@
10
10
  border-radius: var(--menu-list-radius);
11
11
  box-shadow: var(--menu-list-shadow);
12
12
  outline: none;
13
- background-clip: padding-box;
14
13
  }
15
14
 
16
15
  .MenuList-module_sub__Bjn8e {
@@ -1,8 +1,13 @@
1
1
  @layer Modal-ModalAction {
2
2
  .ModalAction-module_action__hEtmQ.ModalAction-module_btn__If5jI:hover,
3
- .ModalAction-module_action__hEtmQ.ModalAction-module_btn__If5jI:focus {
3
+ .ModalAction-module_action__hEtmQ.ModalAction-module_btn__If5jI:focus-visible {
4
4
  color: var(--modal-action-hover-color);
5
5
  background-color: var(--modal-action-hover-bg);
6
6
  }
7
7
 
8
+ /* Shrinking the pressed action exposes the footer around it as an edge */
9
+ .ModalAction-module_action__hEtmQ.btn:active {
10
+ transform: none;
11
+ }
12
+
8
13
  }
@@ -10,8 +10,15 @@
10
10
  right: 0;
11
11
  }
12
12
 
13
- .ModalActions-module_footer__gDr-2 > button.btn + button.btn {
14
- border-left: 1px solid var(--modal-actions-border);
13
+ /* The action sets its border inline, so the divider is drawn as a pseudo-element */
14
+ .ModalActions-module_footer__gDr-2 > button.btn + button.btn::before {
15
+ content: '';
16
+ position: absolute;
17
+ top: 0;
18
+ bottom: 0;
19
+ left: 0;
20
+ width: 1px;
21
+ background-color: var(--modal-actions-border);
15
22
  }
16
23
 
17
24
  .ModalActions-module_spacer__zek5w {
@@ -13,7 +13,6 @@
13
13
  border-radius: var(--input-radius);
14
14
  background-color: var(--input-bg);
15
15
  transition: border 0.2s ease;
16
- background-clip: padding-box;
17
16
  }
18
17
 
19
18
  .NumberInput-module_numberInput__hOY3x:hover {
@@ -23,6 +22,7 @@
23
22
 
24
23
  .NumberInput-module_numberInput__hOY3x:focus-within {
25
24
  border-color: var(--input-focus-border);
25
+ background-clip: padding-box;
26
26
  }
27
27
 
28
28
  .NumberInput-module_numberInput__hOY3x.NumberInput-module_disabled__gDhCu {
@@ -22,7 +22,6 @@
22
22
  transition:
23
23
  border-color 0.2s ease,
24
24
  background-color 0.2s ease;
25
- background-clip: padding-box;
26
25
  }
27
26
 
28
27
  .PinInput-module_box__DIU85:hover {
@@ -32,6 +31,7 @@
32
31
 
33
32
  .PinInput-module_box__DIU85:focus {
34
33
  border-color: var(--input-focus-border);
34
+ background-clip: padding-box;
35
35
  }
36
36
 
37
37
  .PinInput-module_box__DIU85:disabled {
package/esm/css/Radio.css CHANGED
@@ -53,7 +53,6 @@
53
53
  display: inline-grid;
54
54
  place-items: center;
55
55
  margin-right: calc(var(--radio-size) * 0.5);
56
- background-clip: padding-box;
57
56
  }
58
57
 
59
58
  .Radio-module_point__O2nmm:before {
@@ -8,7 +8,6 @@
8
8
  background-color: var(--segmented-bg);
9
9
  border: 1px solid var(--segmented-border);
10
10
  border-radius: var(--segmented-radius);
11
- background-clip: padding-box;
12
11
  }
13
12
 
14
13
  }
@@ -10,7 +10,6 @@
10
10
  overflow-anchor: none;
11
11
  padding: 0.25em;
12
12
  scroll-behavior: smooth;
13
- background-clip: padding-box;
14
13
  }
15
14
 
16
15
  }
@@ -21,7 +21,6 @@
21
21
  var(--select-option-padding-bottom) var(--select-option-padding-left);
22
22
  margin: var(--select-option-margin-top) var(--select-option-margin-right)
23
23
  var(--select-option-margin-bottom) var(--select-option-margin-left);
24
- background-clip: padding-box;
25
24
  }
26
25
 
27
26
  .SelectOption-module_option__NAlFp:hover {
@@ -22,7 +22,6 @@
22
22
  var(--select-padding-bottom) var(--select-padding-left);
23
23
  margin: var(--select-margin-top) var(--select-margin-right)
24
24
  var(--select-margin-bottom) var(--select-margin-left);
25
- background-clip: padding-box;
26
25
  }
27
26
 
28
27
  .Select-module_multiple__QrOT5 {