@onereach/styles 6.8.2-beta.4091.0 → 6.8.2-beta.4102.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/package.json +3 -2
- package/screens.json +6 -0
- package/tailwind/plugins/core.js +1 -7
- package/tailwind/plugins/theme-divider.js +6 -6
- package/tailwind/plugins/typography.js +1 -1
- package/tailwind.config.json +0 -1
- package/tailwind.config.preset.js +0 -2
- package/tailwind/plugins/scrollbar.js +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/styles",
|
|
3
|
-
"version": "6.8.2-beta.
|
|
3
|
+
"version": "6.8.2-beta.4102.0",
|
|
4
4
|
"description": "Styles for or-ui-next",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "./main.css",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"tailwind.config.preset.js",
|
|
25
25
|
"temporary-dark-v2.css",
|
|
26
26
|
"tokens.css",
|
|
27
|
-
"tw-color-variables.css"
|
|
27
|
+
"tw-color-variables.css",
|
|
28
|
+
"screens.json"
|
|
28
29
|
],
|
|
29
30
|
"scripts": {
|
|
30
31
|
"dev": "pnpm build:scss -- --watch",
|
package/screens.json
ADDED
package/tailwind/plugins/core.js
CHANGED
|
@@ -47,13 +47,13 @@ module.exports = {
|
|
|
47
47
|
return {
|
|
48
48
|
[variants['children']]: {
|
|
49
49
|
'&:not(:first-child)': {
|
|
50
|
-
borderInlineStartStyle: '
|
|
50
|
+
borderInlineStartStyle: 'solid',
|
|
51
|
+
borderInlineStartWidth: '1px',
|
|
52
|
+
borderInlineStartColor: theme(`borderColor.${token}` + suffix, token),
|
|
51
53
|
},
|
|
52
54
|
|
|
53
55
|
'&:not(:last-child)': {
|
|
54
|
-
borderInlineEndStyle: '
|
|
55
|
-
borderInlineEndWidth: '1px',
|
|
56
|
-
borderInlineEndColor: theme(`borderColor.${token}` + suffix, token),
|
|
56
|
+
borderInlineEndStyle: 'none !important',
|
|
57
57
|
},
|
|
58
58
|
|
|
59
59
|
transitionProperty: 'color, background-color, border-color, outline-color',
|
|
@@ -63,8 +63,8 @@ module.exports = {
|
|
|
63
63
|
|
|
64
64
|
[variants['disabled']]: ['transparent'].includes(token) ? null : {
|
|
65
65
|
[variants['children']]: {
|
|
66
|
-
'&:not(:
|
|
67
|
-
|
|
66
|
+
'&:not(:first-child)': {
|
|
67
|
+
borderInlineStartColor: `${theme('borderColor.disabled' + suffix)} !important`,
|
|
68
68
|
},
|
|
69
69
|
},
|
|
70
70
|
},
|
package/tailwind.config.json
CHANGED
|
@@ -3,7 +3,6 @@ const { plugin: layout } = require('./tailwind/plugins/layout');
|
|
|
3
3
|
const { plugin: interactivity } = require('./tailwind/plugins/interactivity');
|
|
4
4
|
const { plugin: typography } = require('./tailwind/plugins/typography');
|
|
5
5
|
const { plugin: iconography } = require('./tailwind/plugins/iconography');
|
|
6
|
-
const { plugin: scrollbar } = require('./tailwind/plugins/scrollbar');
|
|
7
6
|
|
|
8
7
|
const { plugin: themePreset } = require('./tailwind/plugins/theme-preset');
|
|
9
8
|
const { plugin: themeForeground } = require('./tailwind/plugins/theme-foreground');
|
|
@@ -199,7 +198,6 @@ module.exports = {
|
|
|
199
198
|
interactivity,
|
|
200
199
|
typography,
|
|
201
200
|
iconography,
|
|
202
|
-
scrollbar,
|
|
203
201
|
|
|
204
202
|
themePreset,
|
|
205
203
|
themeForeground,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const plugin = require('tailwindcss/plugin');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
plugin: plugin(({ addComponents }) => {
|
|
5
|
-
addComponents({
|
|
6
|
-
'.scrollbar-hidden': {
|
|
7
|
-
// Webkit
|
|
8
|
-
'&::-webkit-scrollbar': {
|
|
9
|
-
width: 0,
|
|
10
|
-
height: 0,
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
// Gecko
|
|
14
|
-
scrollbarWidth: 'none',
|
|
15
|
-
},
|
|
16
|
-
});
|
|
17
|
-
}),
|
|
18
|
-
};
|