@onereach/styles 2.37.1-beta.2397.0 → 2.37.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/styles",
3
- "version": "2.37.1-beta.2397.0",
3
+ "version": "2.37.1",
4
4
  "description": "Styles for or-ui-next",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./main.css",
@@ -54,5 +54,6 @@
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"
57
- }
57
+ },
58
+ "gitHead": "f6c7667bfd43d7f97b2cf355dd328722267b9fd8"
58
59
  }
package/scrollbar.css CHANGED
@@ -1,50 +1,48 @@
1
- /* Webkit */
1
+ /*!* Webkit *!*/
2
2
  ::-webkit-scrollbar {
3
3
  width: theme('width.xs');
4
+ height: theme('width.xs');
5
+ background-color: transparent;
6
+ }
7
+
8
+ ::-webkit-scrollbar-corner {
9
+ background: transparent;
4
10
  }
5
11
 
6
12
  /* Webkit (light) */
7
13
  ::-webkit-scrollbar-track {
8
- background-color: theme('backgroundColor.surface-variant');
9
-
10
- /* @media (prefers-color-scheme: dark) {
11
- background-color: theme('backgroundColor.surface-variant-dark');
12
- } */
14
+ background-color: transparent;
13
15
 
14
16
  border-radius: theme('borderRadius.sm');
15
17
  }
16
18
 
17
19
  ::-webkit-scrollbar-thumb {
18
- background-color: theme('textColor.on-disabled');
19
-
20
- /* @media (prefers-color-scheme: dark) {
21
- background-color: theme('textColor.on-disabled-dark');
22
- } */
20
+ background-color: transparent;
23
21
 
24
22
  border-radius: theme('borderRadius.sm');
25
23
  }
26
24
 
27
- /* Webkit (dark) */
28
- :is(.dark, [data-theme="dark"]) ::-webkit-scrollbar-track {
29
- background-color: theme('backgroundColor.surface-variant-dark');
25
+ *:hover::-webkit-scrollbar-thumb {
26
+ background-color: theme('textColor.on-disabled');
30
27
  }
31
28
 
32
- :is(.dark, [data-theme="dark"]) ::-webkit-scrollbar-thumb {
29
+ :is(.dark, [data-theme="dark"]) :hover::-webkit-scrollbar-thumb {
33
30
  background-color: theme('textColor.on-disabled-dark');
34
31
  }
35
32
 
36
- /* Gecko (light) */
33
+ /* Gecko */
37
34
  * {
38
- scrollbar-color: theme('textColor.on-disabled') theme('backgroundColor.surface-variant');
39
-
40
- /* @media (prefers-color-scheme: dark) {
41
- scrollbar-color: theme('textColor.on-disabled-dark') theme('backgroundColor.surface-variant-dark');
42
- } */
35
+ scrollbar-color: transparent transparent;
43
36
 
44
37
  scrollbar-width: thin;
45
38
  }
46
39
 
40
+ /* Gecko (light) */
41
+ *:hover {
42
+ scrollbar-color: theme('textColor.on-disabled') transparent;
43
+ }
44
+
47
45
  /* Gecko (dark) */
48
- :is(.dark, [data-theme="dark"]) * {
49
- scrollbar-color: theme('textColor.on-disabled-dark') theme('backgroundColor.surface-variant-dark');
46
+ :is(.dark, [data-theme="dark"]) *:hover {
47
+ scrollbar-color: theme('textColor.on-disabled-dark') transparent;
50
48
  }
@@ -244,23 +244,16 @@ module.exports = {
244
244
  return {
245
245
  display: prefix + 'flex',
246
246
  flexDirection: direction,
247
- flex: prefix === 'inline-' ? '0 0 auto' : undefined,
248
- alignItems: direction === 'row' ? 'center' : undefined,
247
+ alignItems: direction === 'row' ? 'center' : 'normal',
249
248
  };
250
249
  },
251
250
  }, {
252
251
  values: {
253
252
  'row': 'row',
254
- 'row-reverse': 'row-reverse',
255
-
256
253
  'column': 'column',
257
- 'column-reverse': 'column-reverse',
258
254
 
259
255
  'inline-row': 'inline-..row',
260
- 'inline-row-reverse': 'inline-..row-reverse',
261
-
262
256
  'inline-column': 'inline-..column',
263
- 'inline-column-reverse': 'inline-..column-reverse',
264
257
  },
265
258
  });
266
259
  }),
@@ -633,7 +626,6 @@ module.exports = {
633
626
  'surface-inverse-dark': 'inverse-surface..-dark',
634
627
 
635
628
  'transparent': 'transparent',
636
- 'transparent-dark': 'transparent..-dark',
637
629
  },
638
630
  });
639
631
 
@@ -764,10 +756,7 @@ module.exports = {
764
756
  'on-surface-inverse-dark': 'inverse-on-surface..-dark',
765
757
 
766
758
  'transparent': 'transparent',
767
- 'transparent-dark': 'transparent..-dark',
768
-
769
759
  'inherit': 'inherit',
770
- 'inherit-dark': 'inherit..-dark',
771
760
  },
772
761
  });
773
762
 
@@ -813,10 +802,7 @@ module.exports = {
813
802
  'error-dark': 'error..-dark',
814
803
 
815
804
  'transparent': 'transparent',
816
- 'transparent-dark': 'transparent..-dark',
817
-
818
805
  'current': 'current',
819
- 'current-dark': 'current..-dark',
820
806
  },
821
807
  });
822
808
 
@@ -861,10 +847,7 @@ module.exports = {
861
847
  'error-dark': 'error..-dark',
862
848
 
863
849
  'transparent': 'transparent',
864
- 'transparent-dark': 'transparent..-dark',
865
-
866
850
  'current': 'current',
867
- 'current-dark': 'current..-dark',
868
851
  },
869
852
  });
870
853
 
@@ -912,10 +895,7 @@ module.exports = {
912
895
  'error-dark': 'error..-dark',
913
896
 
914
897
  'transparent': 'transparent',
915
- 'transparent-dark': 'transparent..-dark',
916
-
917
898
  'current': 'current',
918
- 'current-dark': 'current..-dark',
919
899
  },
920
900
  });
921
901
  }),