@onereach/styles 6.8.1-beta.4084.0 → 6.8.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": "6.8.1
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Styles for or-ui-next",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "./main.css",
|
|
@@ -57,5 +57,6 @@
|
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
|
-
}
|
|
60
|
+
},
|
|
61
|
+
"gitHead": "58e950c37838f334f3afe90a90bf1eb48ff24f5c"
|
|
61
62
|
}
|
|
@@ -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,6 +3,7 @@
|
|
|
3
3
|
"screens": {},
|
|
4
4
|
"spacing": {
|
|
5
5
|
"0": "0px",
|
|
6
|
+
"none": "0px",
|
|
6
7
|
"xs": "4px",
|
|
7
8
|
"xs*": "3px",
|
|
8
9
|
"sm": "8px",
|
|
@@ -1722,6 +1723,7 @@
|
|
|
1722
1723
|
},
|
|
1723
1724
|
"borderRadius": {
|
|
1724
1725
|
"0": "0px",
|
|
1726
|
+
"none": "0px",
|
|
1725
1727
|
"sm": "2px",
|
|
1726
1728
|
"md": "4px",
|
|
1727
1729
|
"lg": "8px",
|
|
@@ -2202,6 +2204,7 @@
|
|
|
2202
2204
|
},
|
|
2203
2205
|
"borderSpacing": {
|
|
2204
2206
|
"0": "0px",
|
|
2207
|
+
"none": "0px",
|
|
2205
2208
|
"xs": "4px",
|
|
2206
2209
|
"xs*": "3px",
|
|
2207
2210
|
"sm": "8px",
|
|
@@ -2599,6 +2602,7 @@
|
|
|
2599
2602
|
"flexBasis": {
|
|
2600
2603
|
"0": "0px",
|
|
2601
2604
|
"auto": "auto",
|
|
2605
|
+
"none": "0px",
|
|
2602
2606
|
"xs": "4px",
|
|
2603
2607
|
"xs*": "3px",
|
|
2604
2608
|
"sm": "8px",
|
|
@@ -2659,6 +2663,7 @@
|
|
|
2659
2663
|
},
|
|
2660
2664
|
"gap": {
|
|
2661
2665
|
"0": "0px",
|
|
2666
|
+
"none": "0px",
|
|
2662
2667
|
"xs": "4px",
|
|
2663
2668
|
"xs*": "3px",
|
|
2664
2669
|
"sm": "8px",
|
|
@@ -2827,6 +2832,7 @@
|
|
|
2827
2832
|
"height": {
|
|
2828
2833
|
"0": "0px",
|
|
2829
2834
|
"auto": "auto",
|
|
2835
|
+
"none": "0px",
|
|
2830
2836
|
"xs": "4px",
|
|
2831
2837
|
"xs*": "3px",
|
|
2832
2838
|
"sm": "8px",
|
|
@@ -2881,6 +2887,7 @@
|
|
|
2881
2887
|
"inset": {
|
|
2882
2888
|
"0": "0px",
|
|
2883
2889
|
"auto": "auto",
|
|
2890
|
+
"none": "0px",
|
|
2884
2891
|
"xs": "4px",
|
|
2885
2892
|
"xs*": "3px",
|
|
2886
2893
|
"sm": "8px",
|
|
@@ -2950,6 +2957,7 @@
|
|
|
2950
2957
|
"margin": {
|
|
2951
2958
|
"0": "0px",
|
|
2952
2959
|
"auto": "auto",
|
|
2960
|
+
"none": "0px",
|
|
2953
2961
|
"xs": "4px",
|
|
2954
2962
|
"xs*": "3px",
|
|
2955
2963
|
"sm": "8px",
|
|
@@ -2983,6 +2991,7 @@
|
|
|
2983
2991
|
},
|
|
2984
2992
|
"maxHeight": {
|
|
2985
2993
|
"0": "0px",
|
|
2994
|
+
"none": "none",
|
|
2986
2995
|
"xs": "4px",
|
|
2987
2996
|
"xs*": "3px",
|
|
2988
2997
|
"sm": "8px",
|
|
@@ -3005,7 +3014,6 @@
|
|
|
3005
3014
|
"md+*": "19px",
|
|
3006
3015
|
"lg+": "28px",
|
|
3007
3016
|
"lg+*": "27px",
|
|
3008
|
-
"none": "none",
|
|
3009
3017
|
"full": "100%",
|
|
3010
3018
|
"screen": "100vh",
|
|
3011
3019
|
"min": "min-content",
|
|
@@ -3101,6 +3109,7 @@
|
|
|
3101
3109
|
},
|
|
3102
3110
|
"padding": {
|
|
3103
3111
|
"0": "0px",
|
|
3112
|
+
"none": "0px",
|
|
3104
3113
|
"xs": "4px",
|
|
3105
3114
|
"xs*": "3px",
|
|
3106
3115
|
"sm": "8px",
|
|
@@ -3211,6 +3220,7 @@
|
|
|
3211
3220
|
},
|
|
3212
3221
|
"scrollMargin": {
|
|
3213
3222
|
"0": "0px",
|
|
3223
|
+
"none": "0px",
|
|
3214
3224
|
"xs": "4px",
|
|
3215
3225
|
"xs*": "3px",
|
|
3216
3226
|
"sm": "8px",
|
|
@@ -3236,6 +3246,7 @@
|
|
|
3236
3246
|
},
|
|
3237
3247
|
"scrollPadding": {
|
|
3238
3248
|
"0": "0px",
|
|
3249
|
+
"none": "0px",
|
|
3239
3250
|
"xs": "4px",
|
|
3240
3251
|
"xs*": "3px",
|
|
3241
3252
|
"sm": "8px",
|
|
@@ -3273,6 +3284,7 @@
|
|
|
3273
3284
|
},
|
|
3274
3285
|
"space": {
|
|
3275
3286
|
"0": "0px",
|
|
3287
|
+
"none": "0px",
|
|
3276
3288
|
"xs": "4px",
|
|
3277
3289
|
"xs*": "3px",
|
|
3278
3290
|
"sm": "8px",
|
|
@@ -3315,6 +3327,7 @@
|
|
|
3315
3327
|
},
|
|
3316
3328
|
"textIndent": {
|
|
3317
3329
|
"0": "0px",
|
|
3330
|
+
"none": "0px",
|
|
3318
3331
|
"xs": "4px",
|
|
3319
3332
|
"xs*": "3px",
|
|
3320
3333
|
"sm": "8px",
|
|
@@ -3396,6 +3409,7 @@
|
|
|
3396
3409
|
},
|
|
3397
3410
|
"translate": {
|
|
3398
3411
|
"0": "0px",
|
|
3412
|
+
"none": "0px",
|
|
3399
3413
|
"xs": "4px",
|
|
3400
3414
|
"xs*": "3px",
|
|
3401
3415
|
"sm": "8px",
|
|
@@ -3429,6 +3443,7 @@
|
|
|
3429
3443
|
"width": {
|
|
3430
3444
|
"0": "0px",
|
|
3431
3445
|
"auto": "auto",
|
|
3446
|
+
"none": "0px",
|
|
3432
3447
|
"xs": "4px",
|
|
3433
3448
|
"xs*": "3px",
|
|
3434
3449
|
"sm": "8px",
|
|
@@ -3687,7 +3702,6 @@
|
|
|
3687
3702
|
{},
|
|
3688
3703
|
{},
|
|
3689
3704
|
{},
|
|
3690
|
-
{},
|
|
3691
3705
|
{}
|
|
3692
3706
|
],
|
|
3693
3707
|
"darkMode": [
|
|
@@ -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');
|
|
@@ -40,6 +39,7 @@ module.exports = {
|
|
|
40
39
|
screens: {},
|
|
41
40
|
|
|
42
41
|
spacing: {
|
|
42
|
+
'none': '0px', // Deprecated, major update required
|
|
43
43
|
...parseSpacingTokens(spacingTokens),
|
|
44
44
|
},
|
|
45
45
|
|
|
@@ -144,6 +144,7 @@ module.exports = {
|
|
|
144
144
|
},
|
|
145
145
|
|
|
146
146
|
borderRadius: {
|
|
147
|
+
'none': '0px', // Deprecated, major update required
|
|
147
148
|
'0': '0px',
|
|
148
149
|
...parseBorderRadiusTokens(borderRadiusTokens),
|
|
149
150
|
'full': '9999px',
|
|
@@ -197,7 +198,6 @@ module.exports = {
|
|
|
197
198
|
interactivity,
|
|
198
199
|
typography,
|
|
199
200
|
iconography,
|
|
200
|
-
scrollbar,
|
|
201
201
|
|
|
202
202
|
themePreset,
|
|
203
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
|
-
};
|