@onereach/styles 6.8.1 → 6.8.2-beta.4091.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/styles",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.2-beta.4091.0",
|
|
4
4
|
"description": "Styles for or-ui-next",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "./main.css",
|
|
@@ -57,6 +57,5 @@
|
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
|
-
}
|
|
61
|
-
"gitHead": "58e950c37838f334f3afe90a90bf1eb48ff24f5c"
|
|
60
|
+
}
|
|
62
61
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
};
|
|
@@ -47,13 +47,13 @@ module.exports = {
|
|
|
47
47
|
return {
|
|
48
48
|
[variants['children']]: {
|
|
49
49
|
'&:not(:first-child)': {
|
|
50
|
-
borderInlineStartStyle: '
|
|
51
|
-
borderInlineStartWidth: '1px',
|
|
52
|
-
borderInlineStartColor: theme(`borderColor.${token}` + suffix, token),
|
|
50
|
+
borderInlineStartStyle: 'none !important',
|
|
53
51
|
},
|
|
54
52
|
|
|
55
53
|
'&:not(:last-child)': {
|
|
56
|
-
borderInlineEndStyle: '
|
|
54
|
+
borderInlineEndStyle: 'solid',
|
|
55
|
+
borderInlineEndWidth: '1px',
|
|
56
|
+
borderInlineEndColor: theme(`borderColor.${token}` + suffix, token),
|
|
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(:last-child)': {
|
|
67
|
+
borderInlineEndColor: `${theme('borderColor.disabled' + suffix)} !important`,
|
|
68
68
|
},
|
|
69
69
|
},
|
|
70
70
|
},
|
package/tailwind.config.json
CHANGED
|
@@ -3,6 +3,7 @@ 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');
|
|
6
7
|
|
|
7
8
|
const { plugin: themePreset } = require('./tailwind/plugins/theme-preset');
|
|
8
9
|
const { plugin: themeForeground } = require('./tailwind/plugins/theme-foreground');
|
|
@@ -198,6 +199,7 @@ module.exports = {
|
|
|
198
199
|
interactivity,
|
|
199
200
|
typography,
|
|
200
201
|
iconography,
|
|
202
|
+
scrollbar,
|
|
201
203
|
|
|
202
204
|
themePreset,
|
|
203
205
|
themeForeground,
|