@bolio-ui/core 3.0.0-alpha.0 → 3.0.0-alpha.2

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 (249) hide show
  1. package/dist/BolioUIProvider/index.js +3 -3
  2. package/dist/Calendar/Calendar.d.ts +1 -0
  3. package/dist/Calendar/index.js +2 -2
  4. package/dist/Carousel/Carousel.d.ts +21 -0
  5. package/dist/Carousel/index.d.ts +3 -0
  6. package/dist/Carousel/index.js +14 -0
  7. package/dist/Collapse/Collapse.d.ts +3 -0
  8. package/dist/Collapse/index.js +3 -3
  9. package/dist/ColorInput/ColorInput.d.ts +24 -0
  10. package/dist/ColorInput/index.d.ts +3 -0
  11. package/dist/ColorInput/index.js +20 -0
  12. package/dist/ColorPicker/ColorPicker.d.ts +17 -0
  13. package/dist/ColorPicker/color-utils.d.ts +10 -0
  14. package/dist/ColorPicker/index.d.ts +3 -0
  15. package/dist/ColorPicker/index.js +14 -0
  16. package/dist/Command/index.js +4 -4
  17. package/dist/ContextMenu/ContextMenu.d.ts +13 -0
  18. package/dist/ContextMenu/index.d.ts +3 -0
  19. package/dist/ContextMenu/index.js +25 -0
  20. package/dist/CssBaseline/index.js +2 -2
  21. package/dist/DatePicker/index.js +3 -3
  22. package/dist/DateRangePicker/DateRangePicker.d.ts +29 -0
  23. package/dist/DateRangePicker/index.d.ts +3 -0
  24. package/dist/DateRangePicker/index.js +19 -0
  25. package/dist/Drawer/index.js +2 -2
  26. package/dist/Dropzone/Dropzone.d.ts +25 -0
  27. package/dist/Dropzone/DropzoneThumbnail.d.ts +9 -0
  28. package/dist/Dropzone/index.d.ts +3 -0
  29. package/dist/Dropzone/index.js +14 -0
  30. package/dist/ImageZoom/ImageZoom.d.ts +14 -0
  31. package/dist/ImageZoom/index.d.ts +3 -0
  32. package/dist/ImageZoom/index.js +17 -0
  33. package/dist/Menu/index.js +3 -3
  34. package/dist/Modal/index.js +2 -2
  35. package/dist/PinInput/PinInput.d.ts +25 -0
  36. package/dist/PinInput/index.d.ts +3 -0
  37. package/dist/PinInput/index.js +16 -0
  38. package/dist/SegmentedControl/SegmentedControl.d.ts +16 -0
  39. package/dist/SegmentedControl/SegmentedControlContext.d.ts +10 -0
  40. package/dist/SegmentedControl/SegmentedControlItem.d.ts +13 -0
  41. package/dist/SegmentedControl/index.d.ts +10 -0
  42. package/dist/SegmentedControl/index.js +14 -0
  43. package/dist/Select/SelectDropdown.d.ts +2 -0
  44. package/dist/Select/index.js +6 -6
  45. package/dist/Slider/index.js +3 -3
  46. package/dist/Splitter/Splitter.d.ts +14 -0
  47. package/dist/Splitter/SplitterContext.d.ts +6 -0
  48. package/dist/Splitter/SplitterPanel.d.ts +13 -0
  49. package/dist/Splitter/index.d.ts +9 -0
  50. package/dist/Splitter/index.js +14 -0
  51. package/dist/Table/Table.d.ts +11 -1
  52. package/dist/Table/TableBody.d.ts +8 -2
  53. package/dist/Table/TableColumn.d.ts +2 -0
  54. package/dist/Table/TableHead.d.ts +9 -1
  55. package/dist/Table/TableSelectBox.d.ts +9 -0
  56. package/dist/Table/TableTypes.d.ts +8 -0
  57. package/dist/Table/index.d.ts +1 -1
  58. package/dist/Table/index.js +3 -3
  59. package/dist/TagsInput/TagsInput.d.ts +26 -0
  60. package/dist/TagsInput/index.d.ts +3 -0
  61. package/dist/TagsInput/index.js +17 -0
  62. package/dist/Tour/Tour.d.ts +26 -0
  63. package/dist/Tour/index.d.ts +3 -0
  64. package/dist/Tour/index.js +23 -0
  65. package/dist/Tree/Tree.d.ts +17 -0
  66. package/dist/Tree/TreeContext.d.ts +17 -0
  67. package/dist/Tree/TreeNode.d.ts +8 -0
  68. package/dist/Tree/index.d.ts +3 -0
  69. package/dist/Tree/index.js +14 -0
  70. package/dist/chunk-2A4BSQ66.js +130 -0
  71. package/dist/{chunk-HIFS4JIO.js → chunk-2EYJZXS4.js} +7 -7
  72. package/dist/chunk-3S6G7WGK.js +109 -0
  73. package/dist/chunk-4X4ELIMQ.js +231 -0
  74. package/dist/{chunk-UVVBMWR4.js → chunk-AG2NWQYL.js} +18 -4
  75. package/dist/chunk-BHQRX76X.js +275 -0
  76. package/dist/{chunk-YHZFOVVI.js → chunk-DIMJQLWY.js} +27 -37
  77. package/dist/chunk-FFEAKF3A.js +220 -0
  78. package/dist/{chunk-6BCLZSSK.js → chunk-FL6J36B7.js} +5 -4
  79. package/dist/chunk-G4KB56RO.js +217 -0
  80. package/dist/chunk-IJGIEX5J.js +211 -0
  81. package/dist/chunk-K6UULETP.js +244 -0
  82. package/dist/chunk-MDSRXACM.js +212 -0
  83. package/dist/chunk-OKZRHSSG.js +271 -0
  84. package/dist/{chunk-IBC5BABS.js → chunk-P245HSVB.js} +190 -155
  85. package/dist/chunk-REWKR7S3.js +109 -0
  86. package/dist/chunk-STYC6O24.js +232 -0
  87. package/dist/{chunk-FQU5SKDF.js → chunk-WFGUAR7K.js} +58 -24
  88. package/dist/{chunk-6KMHJRCY.js → chunk-WIIDIZYK.js} +4 -1
  89. package/dist/chunk-X4TPC7HS.js +160 -0
  90. package/dist/{chunk-TKICX5R6.js → chunk-ZNDN2VPZ.js} +225 -33
  91. package/dist/css/Button-ButtonIcon.css +3 -2
  92. package/dist/css/ButtonDropdown-ButtonDropdownItem.css +0 -1
  93. package/dist/css/Calendar.css +11 -1
  94. package/dist/css/Carousel.css +127 -0
  95. package/dist/css/Collapse.css +29 -9
  96. package/dist/css/ColorInput.css +95 -0
  97. package/dist/css/ColorPicker.css +183 -0
  98. package/dist/css/ContextMenu.css +17 -0
  99. package/dist/css/DatePicker.css +1 -1
  100. package/dist/css/DateRangePicker.css +113 -0
  101. package/dist/css/Dropzone.css +160 -0
  102. package/dist/css/ImageZoom.css +93 -0
  103. package/dist/css/Input.css +3 -3
  104. package/dist/css/NumberInput.css +4 -4
  105. package/dist/css/PinInput.css +40 -0
  106. package/dist/css/SegmentedControl-SegmentedControlItem.css +65 -0
  107. package/dist/css/SegmentedControl.css +13 -0
  108. package/dist/css/Select-SelectDropdown.css +4 -2
  109. package/dist/css/Select-SelectMultipleValue.css +1 -0
  110. package/dist/css/Select-SelectOption.css +27 -7
  111. package/dist/css/Select.css +2 -1
  112. package/dist/css/Splitter.css +77 -0
  113. package/dist/css/Table-TableBody.css +10 -0
  114. package/dist/css/Table-TableHead.css +41 -0
  115. package/dist/css/Table-TableSelectBox.css +11 -0
  116. package/dist/css/TagsInput.css +99 -0
  117. package/dist/css/Tour.css +81 -0
  118. package/dist/css/Tree.css +88 -0
  119. package/dist/index.d.ts +27 -1
  120. package/dist/index.js +98 -46
  121. package/dist/styles.css +3902 -2520
  122. package/esm/BolioUIProvider/index.js +2 -2
  123. package/esm/Calendar/Calendar.d.ts +1 -0
  124. package/esm/Calendar/index.js +1 -1
  125. package/esm/Carousel/Carousel.d.ts +21 -0
  126. package/esm/Carousel/index.d.ts +3 -0
  127. package/esm/Carousel/index.js +14 -0
  128. package/esm/Collapse/Collapse.d.ts +3 -0
  129. package/esm/Collapse/index.js +2 -2
  130. package/esm/ColorInput/ColorInput.d.ts +24 -0
  131. package/esm/ColorInput/index.d.ts +3 -0
  132. package/esm/ColorInput/index.js +20 -0
  133. package/esm/ColorPicker/ColorPicker.d.ts +17 -0
  134. package/esm/ColorPicker/color-utils.d.ts +10 -0
  135. package/esm/ColorPicker/index.d.ts +3 -0
  136. package/esm/ColorPicker/index.js +14 -0
  137. package/esm/Command/index.js +4 -4
  138. package/esm/ContextMenu/ContextMenu.d.ts +13 -0
  139. package/esm/ContextMenu/index.d.ts +3 -0
  140. package/esm/ContextMenu/index.js +25 -0
  141. package/esm/CssBaseline/index.js +1 -1
  142. package/esm/DatePicker/index.js +2 -2
  143. package/esm/DateRangePicker/DateRangePicker.d.ts +29 -0
  144. package/esm/DateRangePicker/index.d.ts +3 -0
  145. package/esm/DateRangePicker/index.js +19 -0
  146. package/esm/Drawer/index.js +2 -2
  147. package/esm/Dropzone/Dropzone.d.ts +25 -0
  148. package/esm/Dropzone/DropzoneThumbnail.d.ts +9 -0
  149. package/esm/Dropzone/index.d.ts +3 -0
  150. package/esm/Dropzone/index.js +14 -0
  151. package/esm/ImageZoom/ImageZoom.d.ts +14 -0
  152. package/esm/ImageZoom/index.d.ts +3 -0
  153. package/esm/ImageZoom/index.js +17 -0
  154. package/esm/Menu/index.js +2 -2
  155. package/esm/Modal/index.js +2 -2
  156. package/esm/PinInput/PinInput.d.ts +25 -0
  157. package/esm/PinInput/index.d.ts +3 -0
  158. package/esm/PinInput/index.js +16 -0
  159. package/esm/SegmentedControl/SegmentedControl.d.ts +16 -0
  160. package/esm/SegmentedControl/SegmentedControlContext.d.ts +10 -0
  161. package/esm/SegmentedControl/SegmentedControlItem.d.ts +13 -0
  162. package/esm/SegmentedControl/index.d.ts +10 -0
  163. package/esm/SegmentedControl/index.js +14 -0
  164. package/esm/Select/SelectDropdown.d.ts +2 -0
  165. package/esm/Select/index.js +5 -5
  166. package/esm/Slider/index.js +2 -2
  167. package/esm/Splitter/Splitter.d.ts +14 -0
  168. package/esm/Splitter/SplitterContext.d.ts +6 -0
  169. package/esm/Splitter/SplitterPanel.d.ts +13 -0
  170. package/esm/Splitter/index.d.ts +9 -0
  171. package/esm/Splitter/index.js +14 -0
  172. package/esm/Table/Table.d.ts +11 -1
  173. package/esm/Table/TableBody.d.ts +8 -2
  174. package/esm/Table/TableColumn.d.ts +2 -0
  175. package/esm/Table/TableHead.d.ts +9 -1
  176. package/esm/Table/TableSelectBox.d.ts +9 -0
  177. package/esm/Table/TableTypes.d.ts +8 -0
  178. package/esm/Table/index.d.ts +1 -1
  179. package/esm/Table/index.js +2 -2
  180. package/esm/TagsInput/TagsInput.d.ts +26 -0
  181. package/esm/TagsInput/index.d.ts +3 -0
  182. package/esm/TagsInput/index.js +17 -0
  183. package/esm/Tour/Tour.d.ts +26 -0
  184. package/esm/Tour/index.d.ts +3 -0
  185. package/esm/Tour/index.js +23 -0
  186. package/esm/Tree/Tree.d.ts +17 -0
  187. package/esm/Tree/TreeContext.d.ts +17 -0
  188. package/esm/Tree/TreeNode.d.ts +8 -0
  189. package/esm/Tree/index.d.ts +3 -0
  190. package/esm/Tree/index.js +14 -0
  191. package/esm/chunk-2A4BSQ66.js +130 -0
  192. package/esm/{chunk-HIFS4JIO.js → chunk-2EYJZXS4.js} +4 -4
  193. package/esm/chunk-3S6G7WGK.js +109 -0
  194. package/esm/chunk-4X4ELIMQ.js +231 -0
  195. package/esm/{chunk-UVVBMWR4.js → chunk-AG2NWQYL.js} +18 -4
  196. package/esm/chunk-BHQRX76X.js +275 -0
  197. package/esm/{chunk-YHZFOVVI.js → chunk-DIMJQLWY.js} +27 -37
  198. package/esm/chunk-FFEAKF3A.js +220 -0
  199. package/esm/{chunk-6BCLZSSK.js → chunk-FL6J36B7.js} +4 -3
  200. package/esm/chunk-G4KB56RO.js +217 -0
  201. package/esm/chunk-IJGIEX5J.js +211 -0
  202. package/esm/chunk-K6UULETP.js +244 -0
  203. package/esm/chunk-MDSRXACM.js +212 -0
  204. package/esm/chunk-OKZRHSSG.js +271 -0
  205. package/esm/chunk-P245HSVB.js +450 -0
  206. package/esm/chunk-REWKR7S3.js +109 -0
  207. package/esm/chunk-STYC6O24.js +232 -0
  208. package/esm/{chunk-FQU5SKDF.js → chunk-WFGUAR7K.js} +60 -26
  209. package/esm/{chunk-6KMHJRCY.js → chunk-WIIDIZYK.js} +4 -1
  210. package/esm/chunk-X4TPC7HS.js +160 -0
  211. package/esm/chunk-ZNDN2VPZ.js +543 -0
  212. package/esm/css/Button-ButtonIcon.css +3 -2
  213. package/esm/css/ButtonDropdown-ButtonDropdownItem.css +0 -1
  214. package/esm/css/Calendar.css +11 -1
  215. package/esm/css/Carousel.css +127 -0
  216. package/esm/css/Collapse.css +29 -9
  217. package/esm/css/ColorInput.css +95 -0
  218. package/esm/css/ColorPicker.css +183 -0
  219. package/esm/css/ContextMenu.css +17 -0
  220. package/esm/css/DatePicker.css +1 -1
  221. package/esm/css/DateRangePicker.css +113 -0
  222. package/esm/css/Dropzone.css +160 -0
  223. package/esm/css/ImageZoom.css +93 -0
  224. package/esm/css/Input.css +3 -3
  225. package/esm/css/NumberInput.css +4 -4
  226. package/esm/css/PinInput.css +40 -0
  227. package/esm/css/SegmentedControl-SegmentedControlItem.css +65 -0
  228. package/esm/css/SegmentedControl.css +13 -0
  229. package/esm/css/Select-SelectDropdown.css +4 -2
  230. package/esm/css/Select-SelectMultipleValue.css +1 -0
  231. package/esm/css/Select-SelectOption.css +27 -7
  232. package/esm/css/Select.css +2 -1
  233. package/esm/css/Splitter.css +77 -0
  234. package/esm/css/Table-TableBody.css +10 -0
  235. package/esm/css/Table-TableHead.css +41 -0
  236. package/esm/css/Table-TableSelectBox.css +11 -0
  237. package/esm/css/TagsInput.css +99 -0
  238. package/esm/css/Tour.css +81 -0
  239. package/esm/css/Tree.css +88 -0
  240. package/esm/index.d.ts +27 -1
  241. package/esm/index.js +115 -63
  242. package/esm/styles.css +3564 -2182
  243. package/package.json +3 -3
  244. package/esm/chunk-IBC5BABS.js +0 -415
  245. package/esm/chunk-TKICX5R6.js +0 -351
  246. package/dist/{chunk-2PRUFY2Q.js → chunk-4ZGR7UMX.js} +2 -2
  247. package/dist/{chunk-FLK7EAOE.js → chunk-IUZV5Y27.js} +2 -2
  248. package/esm/{chunk-2PRUFY2Q.js → chunk-4ZGR7UMX.js} +3 -3
  249. package/esm/{chunk-FLK7EAOE.js → chunk-IUZV5Y27.js} +3 -3
@@ -0,0 +1,160 @@
1
+ @layer Dropzone {
2
+ .Dropzone-module_dropzone__-6nFN {
3
+ position: relative;
4
+ display: block;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ .Dropzone-module_input__-FpKo {
9
+ position: absolute;
10
+ opacity: 0;
11
+ overflow: hidden;
12
+ width: 1px;
13
+ height: 1px;
14
+ margin: 0;
15
+ font-size: 0;
16
+ }
17
+
18
+ .Dropzone-module_content__Uafwo {
19
+ display: flex;
20
+ flex-direction: column;
21
+ align-items: center;
22
+ justify-content: center;
23
+ gap: 0.5em;
24
+ box-sizing: border-box;
25
+ min-height: 8em;
26
+ padding: 1.5em;
27
+ text-align: center;
28
+ color: var(--dropzone-color);
29
+ background-color: var(--dropzone-bg);
30
+ border: 1px dashed var(--dropzone-border);
31
+ border-radius: var(--dropzone-radius);
32
+ cursor: pointer;
33
+ transition:
34
+ border-color 0.2s ease,
35
+ background-color 0.2s ease;
36
+ }
37
+
38
+ .Dropzone-module_dropzone__-6nFN:hover .Dropzone-module_content__Uafwo {
39
+ border-color: var(--dropzone-hover-border);
40
+ }
41
+
42
+ .Dropzone-module_dragging__z9VG8 .Dropzone-module_content__Uafwo {
43
+ border-color: var(--dropzone-active);
44
+ background-color: color-mix(in srgb, var(--dropzone-active) 8%, var(--dropzone-bg));
45
+ }
46
+
47
+ .Dropzone-module_input__-FpKo:focus-visible + .Dropzone-module_content__Uafwo {
48
+ border-color: var(--dropzone-active);
49
+ outline: 2px solid var(--dropzone-active);
50
+ outline-offset: 2px;
51
+ }
52
+
53
+ .Dropzone-module_disabled__rvXlc .Dropzone-module_content__Uafwo {
54
+ cursor: not-allowed;
55
+ opacity: 0.5;
56
+ }
57
+
58
+ .Dropzone-module_disabled__rvXlc:hover .Dropzone-module_content__Uafwo {
59
+ border-color: var(--dropzone-border);
60
+ }
61
+
62
+ .Dropzone-module_thumbnails__x67bm {
63
+ display: flex;
64
+ flex-wrap: wrap;
65
+ gap: 0.75em;
66
+ margin: 0.75em 0 0;
67
+ padding: 0;
68
+ list-style: none;
69
+ }
70
+
71
+ .Dropzone-module_thumbnail__-ke6R {
72
+ width: 6em;
73
+ margin: 0;
74
+ padding: 0;
75
+ }
76
+
77
+ .Dropzone-module_tile__o-TLL {
78
+ position: relative;
79
+ display: flex;
80
+ align-items: center;
81
+ justify-content: center;
82
+ box-sizing: border-box;
83
+ width: 6em;
84
+ height: 6em;
85
+ overflow: hidden;
86
+ color: var(--dropzone-tile-color);
87
+ background-color: var(--dropzone-tile-bg);
88
+ border: 1px solid var(--dropzone-border);
89
+ border-radius: var(--dropzone-radius);
90
+ }
91
+
92
+ .Dropzone-module_preview__pQ3gz {
93
+ width: 100%;
94
+ height: 100%;
95
+ object-fit: cover;
96
+ }
97
+
98
+ .Dropzone-module_fileIcon__hnpZV {
99
+ flex-shrink: 0;
100
+ }
101
+
102
+ .Dropzone-module_format__oEMEw {
103
+ position: absolute;
104
+ bottom: 0.375em;
105
+ left: 0.375em;
106
+ padding: 0.125em 0.4em;
107
+ font-size: 0.75em;
108
+ font-weight: 600;
109
+ line-height: 1.4;
110
+ color: var(--dropzone-badge-color);
111
+ background-color: var(--dropzone-badge-bg);
112
+ border-radius: 4px;
113
+ }
114
+
115
+ .Dropzone-module_remove__pjfHy {
116
+ position: absolute;
117
+ top: 0.25em;
118
+ right: 0.25em;
119
+ display: flex;
120
+ align-items: center;
121
+ justify-content: center;
122
+ width: 1.75em;
123
+ height: 1.75em;
124
+ margin: 0;
125
+ padding: 0;
126
+ font: inherit;
127
+ color: var(--dropzone-remove-color);
128
+ cursor: pointer;
129
+ background-color: var(--dropzone-remove-bg);
130
+ border: 1px solid var(--dropzone-border);
131
+ border-radius: 50%;
132
+ appearance: none;
133
+ -webkit-appearance: none;
134
+ }
135
+
136
+ .Dropzone-module_remove__pjfHy:hover:not(:disabled) {
137
+ color: var(--dropzone-remove-hover-color);
138
+ }
139
+
140
+ .Dropzone-module_remove__pjfHy:focus-visible {
141
+ outline: 2px solid var(--dropzone-active);
142
+ outline-offset: 1px;
143
+ }
144
+
145
+ .Dropzone-module_remove__pjfHy:disabled {
146
+ cursor: not-allowed;
147
+ opacity: 0.5;
148
+ }
149
+
150
+ .Dropzone-module_name__OAPKM {
151
+ display: block;
152
+ margin-top: 0.375em;
153
+ overflow: hidden;
154
+ font-size: 0.8125em;
155
+ color: var(--dropzone-name-color);
156
+ text-overflow: ellipsis;
157
+ white-space: nowrap;
158
+ }
159
+
160
+ }
@@ -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
@@ -22,7 +22,7 @@
22
22
  box-sizing: border-box;
23
23
  border: 1px solid var(--input-border);
24
24
  border-radius: var(--input-radius);
25
- background: var(--input-bg);
25
+ background-color: var(--input-bg);
26
26
  transition:
27
27
  border 0.2s ease 0s,
28
28
  color 0.2s ease 0s;
@@ -30,7 +30,7 @@
30
30
 
31
31
  .Input-module_inputWrapper__WpYTp:hover {
32
32
  border-color: var(--input-hover-border);
33
- background: var(--input-hover-bg);
33
+ background-color: var(--input-hover-bg);
34
34
  }
35
35
 
36
36
  .Input-module_inputWrapper__WpYTp.Input-module_leftLabel__7MeVJ {
@@ -101,7 +101,7 @@
101
101
  transform: translateY(-50%);
102
102
  padding: 0 4px;
103
103
  color: var(--input-placeholder-color, inherit);
104
- background: var(--input-floating-bg);
104
+ background-color: var(--input-floating-bg);
105
105
  pointer-events: none;
106
106
  transition:
107
107
  top 0.15s ease,
@@ -11,13 +11,13 @@
11
11
  height: var(--input-height);
12
12
  border: 1px solid var(--input-border);
13
13
  border-radius: var(--input-radius);
14
- background: var(--input-bg);
14
+ background-color: var(--input-bg);
15
15
  transition: border 0.2s ease;
16
16
  }
17
17
 
18
18
  .NumberInput-module_numberInput__hOY3x:hover {
19
19
  border-color: var(--input-hover-border);
20
- background: var(--input-hover-bg);
20
+ background-color: var(--input-hover-bg);
21
21
  }
22
22
 
23
23
  .NumberInput-module_numberInput__hOY3x:focus-within {
@@ -36,7 +36,7 @@
36
36
  padding: 0;
37
37
  font: inherit;
38
38
  color: var(--input-color);
39
- background: transparent;
39
+ background-color: transparent;
40
40
  border: none;
41
41
  outline: none;
42
42
  }
@@ -60,7 +60,7 @@
60
60
  padding: 0;
61
61
  font: inherit;
62
62
  color: var(--control-color);
63
- background: none;
63
+ background-color: none;
64
64
  border: 0;
65
65
  appearance: none;
66
66
  -webkit-appearance: none;
@@ -0,0 +1,40 @@
1
+ @layer PinInput {
2
+ .PinInput-module_pin__XgaDZ {
3
+ display: inline-flex;
4
+ gap: 0.5em;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ .PinInput-module_box__DIU85 {
9
+ box-sizing: border-box;
10
+ width: var(--pin-size);
11
+ height: var(--pin-size);
12
+ margin: 0;
13
+ padding: 0;
14
+ font: inherit;
15
+ font-weight: 500;
16
+ text-align: center;
17
+ color: var(--input-color);
18
+ background-color: var(--input-bg);
19
+ border: 1px solid var(--input-border);
20
+ border-radius: var(--input-radius);
21
+ outline: none;
22
+ transition:
23
+ border-color 0.2s ease,
24
+ background-color 0.2s ease;
25
+ }
26
+
27
+ .PinInput-module_box__DIU85:hover {
28
+ border-color: var(--input-hover-border);
29
+ background-color: var(--input-hover-bg);
30
+ }
31
+
32
+ .PinInput-module_box__DIU85:focus {
33
+ border-color: var(--input-focus-border);
34
+ }
35
+
36
+ .PinInput-module_box__DIU85:disabled {
37
+ cursor: not-allowed;
38
+ }
39
+
40
+ }
@@ -0,0 +1,65 @@
1
+ @layer SegmentedControl-SegmentedControlItem {
2
+ .SegmentedControlItem-module_item__R48V1 {
3
+ position: relative;
4
+ display: flex;
5
+ flex: 1 1 auto;
6
+ }
7
+
8
+ .SegmentedControlItem-module_input__Q8UWL {
9
+ position: absolute;
10
+ opacity: 0;
11
+ overflow: hidden;
12
+ width: 1px;
13
+ height: 1px;
14
+ margin: 0;
15
+ font-size: 0;
16
+ }
17
+
18
+ .SegmentedControlItem-module_text__7YVZC {
19
+ display: flex;
20
+ flex: 1;
21
+ align-items: center;
22
+ justify-content: center;
23
+ gap: 0.5em;
24
+ box-sizing: border-box;
25
+ padding: 0 0.875em;
26
+ font-weight: 500;
27
+ white-space: nowrap;
28
+ color: var(--segmented-color);
29
+ border-radius: calc(var(--segmented-radius) - 2px);
30
+ cursor: pointer;
31
+ user-select: none;
32
+ transition:
33
+ color 0.15s ease,
34
+ background-color 0.15s ease,
35
+ box-shadow 0.15s ease;
36
+ }
37
+
38
+ .SegmentedControlItem-module_text__7YVZC:hover {
39
+ color: var(--segmented-hover-color);
40
+ }
41
+
42
+ .SegmentedControlItem-module_input__Q8UWL:checked + .SegmentedControlItem-module_text__7YVZC {
43
+ color: var(--segmented-active-color);
44
+ background: var(--segmented-active-bg);
45
+ box-shadow: var(--segmented-shadow);
46
+ }
47
+
48
+ .SegmentedControlItem-module_input__Q8UWL:focus-visible + .SegmentedControlItem-module_text__7YVZC {
49
+ box-shadow: 0 0 0 2px var(--segmented-focus);
50
+ }
51
+
52
+ .SegmentedControlItem-module_input__Q8UWL:disabled + .SegmentedControlItem-module_text__7YVZC {
53
+ opacity: 0.5;
54
+ cursor: not-allowed;
55
+ }
56
+
57
+ .SegmentedControlItem-module_input__Q8UWL:disabled + .SegmentedControlItem-module_text__7YVZC:hover {
58
+ color: var(--segmented-color);
59
+ }
60
+
61
+ .SegmentedControlItem-module_input__Q8UWL:disabled:checked + .SegmentedControlItem-module_text__7YVZC:hover {
62
+ color: var(--segmented-active-color);
63
+ }
64
+
65
+ }
@@ -0,0 +1,13 @@
1
+ @layer SegmentedControl {
2
+ .SegmentedControl-module_segmented__DCgXM {
3
+ display: flex;
4
+ align-items: stretch;
5
+ box-sizing: border-box;
6
+ gap: 2px;
7
+ padding: 3px;
8
+ background-color: var(--segmented-bg);
9
+ border: 1px solid var(--segmented-border);
10
+ border-radius: var(--segmented-radius);
11
+ }
12
+
13
+ }
@@ -1,12 +1,14 @@
1
1
  @layer Select-SelectDropdown {
2
2
  .SelectDropdown-module_selectDropdown__gcGH- {
3
3
  border-radius: var(--select-dropdown-radius);
4
+ border: 1px solid var(--select-dropdown-border);
4
5
  box-shadow: var(--select-dropdown-shadow);
5
6
  background-color: var(--select-dropdown-bg);
6
- max-height: 17em;
7
+ color: var(--select-dropdown-color);
8
+ max-height: 15em;
7
9
  overflow-y: auto;
8
10
  overflow-anchor: none;
9
- padding: 0.38em 0;
11
+ padding: 0.25em;
10
12
  scroll-behavior: smooth;
11
13
  }
12
14
 
@@ -19,6 +19,7 @@
19
19
  padding: 0;
20
20
  margin: 0;
21
21
  color: inherit;
22
+ font-weight: inherit;
22
23
  }
23
24
 
24
25
  }
@@ -6,10 +6,10 @@
6
6
  justify-content: flex-start;
7
7
  align-items: center;
8
8
  font-weight: normal;
9
- background-color: var(--select-option-bg);
10
- color: var(--select-option-color);
9
+ color: inherit;
11
10
  user-select: none;
12
11
  border: 0;
12
+ border-radius: 4px;
13
13
  cursor: var(--select-option-cursor);
14
14
  transition:
15
15
  background 0.2s ease 0s,
@@ -24,14 +24,28 @@
24
24
  }
25
25
 
26
26
  .SelectOption-module_option__NAlFp:hover {
27
- background-color: var(--select-option-hover-bg);
28
- color: var(--select-option-hover-color);
27
+ background-color: color-mix(in srgb, currentColor 12%, transparent);
28
+ }
29
+
30
+ .SelectOption-module_label__NtVM7:hover,
31
+ .SelectOption-module_divider__mmqJj:hover {
32
+ background-color: transparent;
33
+ }
34
+
35
+ .SelectOption-module_disabled__cDMWS,
36
+ .SelectOption-module_disabled__cDMWS:hover {
37
+ opacity: 0.5;
38
+ background-color: transparent;
39
+ }
40
+
41
+ .SelectOption-module_selected__HOwTO {
42
+ font-weight: 600;
29
43
  }
30
44
 
31
45
  .SelectOption-module_divider__mmqJj {
32
46
  line-height: 0;
33
47
  overflow: hidden;
34
- border-top: 1px solid var(--select-option-divider-border);
48
+ border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
35
49
  width: var(--select-option-width);
36
50
  height: var(--select-option-divider-height);
37
51
  padding: var(--select-option-divider-padding-top)
@@ -44,9 +58,15 @@
44
58
  var(--select-option-divider-margin-left);
45
59
  }
46
60
 
61
+ .SelectOption-module_label__NtVM7:not(:first-child) {
62
+ margin-top: 0.25em;
63
+ }
64
+
47
65
  .SelectOption-module_label__NtVM7 {
48
- color: var(--select-option-label-color);
49
- border-bottom: 1px solid var(--select-option-divider-border);
66
+ color: color-mix(in srgb, currentColor 80%, transparent);
67
+ border-radius: 0;
68
+ margin-bottom: 0.25em;
69
+ border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent);
50
70
  text-transform: capitalize;
51
71
  cursor: default;
52
72
  font-size: var(--select-option-label-font-size);
@@ -15,7 +15,7 @@
15
15
  border: 1px solid var(--select-border-color);
16
16
  border-radius: var(--select-radius);
17
17
  background-color: var(--select-bg-color);
18
- min-width: 11.5em;
18
+ min-width: 12.5em;
19
19
  width: var(--select-width);
20
20
  height: var(--select-height);
21
21
  padding: var(--select-padding-top) var(--select-padding-right)
@@ -65,6 +65,7 @@
65
65
  padding: 0;
66
66
  margin: 0;
67
67
  color: inherit;
68
+ font-weight: inherit;
68
69
  }
69
70
 
70
71
  .Select-module_placeholder__dhhM0 {
@@ -0,0 +1,77 @@
1
+ @layer Splitter {
2
+ .Splitter-module_splitter__ZxGeO {
3
+ display: grid;
4
+ box-sizing: border-box;
5
+ min-width: 0;
6
+ min-height: 0;
7
+ }
8
+
9
+ .Splitter-module_horizontal__1LuP6 {
10
+ grid-template-columns: var(--splitter-template);
11
+ grid-template-rows: minmax(0, 1fr);
12
+ }
13
+
14
+ .Splitter-module_vertical__APNTT {
15
+ grid-template-columns: minmax(0, 1fr);
16
+ grid-template-rows: var(--splitter-template);
17
+ }
18
+
19
+ /* the panels share the room in proportion to their size, and the lines keep
20
+ their own width */
21
+ .Splitter-module_panel__UyXwt {
22
+ min-width: 0;
23
+ min-height: 0;
24
+ overflow: auto;
25
+ }
26
+
27
+ .Splitter-module_handle__zkBUq {
28
+ position: relative;
29
+ background: var(--splitter-line);
30
+ outline: none;
31
+ touch-action: none;
32
+ transition: background-color 0.15s ease;
33
+ }
34
+
35
+ .Splitter-module_horizontal__1LuP6 > .Splitter-module_handle__zkBUq {
36
+ width: 1px;
37
+ cursor: col-resize;
38
+ }
39
+
40
+ .Splitter-module_vertical__APNTT > .Splitter-module_handle__zkBUq {
41
+ height: 1px;
42
+ cursor: row-resize;
43
+ }
44
+
45
+ /* a wider area to grab, around the line */
46
+ .Splitter-module_handle__zkBUq::before {
47
+ position: absolute;
48
+ content: '';
49
+ }
50
+
51
+ .Splitter-module_horizontal__1LuP6 > .Splitter-module_handle__zkBUq::before {
52
+ inset: 0 -4px;
53
+ }
54
+
55
+ .Splitter-module_vertical__APNTT > .Splitter-module_handle__zkBUq::before {
56
+ inset: -4px 0;
57
+ }
58
+
59
+ .Splitter-module_handle__zkBUq:hover,
60
+ .Splitter-module_handle__zkBUq:focus-visible,
61
+ .Splitter-module_handle__zkBUq:active {
62
+ background: var(--splitter-active);
63
+ }
64
+
65
+ .Splitter-module_horizontal__1LuP6 > .Splitter-module_handle__zkBUq:hover,
66
+ .Splitter-module_horizontal__1LuP6 > .Splitter-module_handle__zkBUq:focus-visible,
67
+ .Splitter-module_horizontal__1LuP6 > .Splitter-module_handle__zkBUq:active {
68
+ box-shadow: 0 0 0 1px var(--splitter-active);
69
+ }
70
+
71
+ .Splitter-module_vertical__APNTT > .Splitter-module_handle__zkBUq:hover,
72
+ .Splitter-module_vertical__APNTT > .Splitter-module_handle__zkBUq:focus-visible,
73
+ .Splitter-module_vertical__APNTT > .Splitter-module_handle__zkBUq:active {
74
+ box-shadow: 0 0 0 1px var(--splitter-active);
75
+ }
76
+
77
+ }
@@ -24,4 +24,14 @@
24
24
  flex-flow: row wrap;
25
25
  }
26
26
 
27
+ .TableBody-module_selected__7adtQ,
28
+ .TableBody-module_selected__7adtQ:hover {
29
+ background-color: var(--table-body-selected-bg);
30
+ }
31
+
32
+ .TableBody-module_tr__lTn-M td.TableBody-module_selectCell__S8ZZn {
33
+ width: 1%;
34
+ white-space: nowrap;
35
+ }
36
+
27
37
  }
@@ -44,4 +44,45 @@
44
44
  text-transform: uppercase;
45
45
  }
46
46
 
47
+ .TableHead-module_selectCell__JRdGg {
48
+ width: 1%;
49
+ white-space: nowrap;
50
+ }
51
+
52
+ .TableHead-module_sortButton__whwp3 {
53
+ display: inline-flex;
54
+ align-items: center;
55
+ gap: 0.375em;
56
+ margin: 0;
57
+ padding: 0;
58
+ font: inherit;
59
+ color: inherit;
60
+ text-transform: inherit;
61
+ cursor: pointer;
62
+ background: none;
63
+ border: 0;
64
+ appearance: none;
65
+ -webkit-appearance: none;
66
+ }
67
+
68
+ .TableHead-module_sortButton__whwp3:hover {
69
+ color: var(--table-head-sorted-color);
70
+ }
71
+
72
+ .TableHead-module_sortButton__whwp3:focus-visible {
73
+ outline: 2px solid var(--table-head-focus-color);
74
+ outline-offset: 2px;
75
+ border-radius: 4px;
76
+ }
77
+
78
+ .TableHead-module_sortIcon__VsHqp {
79
+ opacity: 0.5;
80
+ transition: opacity 0.15s ease;
81
+ }
82
+
83
+ .TableHead-module_sorted__-6XtK {
84
+ color: var(--table-head-sorted-color);
85
+ opacity: 1;
86
+ }
87
+
47
88
  }
@@ -0,0 +1,11 @@
1
+ @layer Table-TableSelectBox {
2
+ .TableSelectBox-module_box__UXj-E {
3
+ display: block;
4
+ width: 1em;
5
+ height: 1em;
6
+ margin: 0;
7
+ cursor: pointer;
8
+ accent-color: var(--table-select-accent);
9
+ }
10
+
11
+ }