@unocss/preset-wind4 66.1.0-beta.3 → 66.1.0-beta.4

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/dist/index.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  import { LAYER_PREFLIGHTS, definePreset } from '@unocss/core';
2
2
  import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
3
- import { E as compressCSS, D as camelToHyphen, g as globalKeywords } from './shared/preset-wind4.C2WJ-LPg.mjs';
3
+ import { F as compressCSS, E as camelToHyphen, g as globalKeywords } from './shared/preset-wind4.D40diWvF.mjs';
4
4
  import { alphaPlaceholdersRE } from '@unocss/rule-utils';
5
5
  import { p as passThemeKey } from './shared/preset-wind4.DRtKeBWc.mjs';
6
6
  import { postprocessors } from './postprocess.mjs';
7
- import { l as variants } from './shared/preset-wind4.D0X5sI2o.mjs';
7
+ import { l as variants } from './shared/preset-wind4.BxOT-c8M.mjs';
8
8
  import { theme as theme$1 } from './theme.mjs';
9
- import { s as shortcuts } from './shared/preset-wind4.DAFeae-M.mjs';
10
- import { r as rules } from './shared/preset-wind4.kLLgLvQk.mjs';
9
+ import { s as shortcuts } from './shared/preset-wind4.Bv7psfuU.mjs';
10
+ import { r as rules } from './shared/preset-wind4.BJgjgPep.mjs';
11
11
  import './colors.mjs';
12
- import './shared/preset-wind4.Bjnac6Vf.mjs';
12
+ import './shared/preset-wind4.DRtfClGs.mjs';
13
13
 
14
14
  const resetCSS = `
15
15
  /*
@@ -45,7 +45,7 @@ html,
45
45
  -webkit-text-size-adjust: 100%; /* 2 */
46
46
  tab-size: 4; /* 3 */
47
47
  font-family: var(
48
- --default-font-family,
48
+ --defaults-font-family,
49
49
  ui-sans-serif,
50
50
  system-ui,
51
51
  sans-serif,
@@ -54,8 +54,8 @@ html,
54
54
  'Segoe UI Symbol',
55
55
  'Noto Color Emoji'
56
56
  ); /* 4 */
57
- font-feature-settings: var(--default-font-feature-settings, normal); /* 5 */
58
- font-variation-settings: var(--default-font-variation-settings, normal); /* 6 */
57
+ font-feature-settings: var(--defaults-font-feature-settings, normal); /* 5 */
58
+ font-variation-settings: var(--defaults-font-variation-settings, normal); /* 6 */
59
59
  -webkit-tap-highlight-color: transparent; /* 7 */
60
60
  }
61
61
 
@@ -133,7 +133,7 @@ kbd,
133
133
  samp,
134
134
  pre {
135
135
  font-family: var(
136
- --default-mono-font-family,
136
+ --defaults-mono-font-family,
137
137
  ui-monospace,
138
138
  SFMono-Regular,
139
139
  Menlo,
@@ -143,8 +143,8 @@ pre {
143
143
  'Courier New',
144
144
  monospace
145
145
  ); /* 1 */
146
- font-feature-settings: var(--default-mono-font-feature-settings, normal); /* 2 */
147
- font-variation-settings: var(--default-mono-font-variation-settings, normal); /* 3 */
146
+ font-feature-settings: var(--defaults-mono-font-feature-settings, normal); /* 2 */
147
+ font-variation-settings: var(--defaults-mono-font-variation-settings, normal); /* 3 */
148
148
  font-size: 1em; /* 4 */
149
149
  }
150
150
 
package/dist/rules.d.mts CHANGED
@@ -40,28 +40,6 @@ declare const textDecorations: Rule<Theme>[];
40
40
 
41
41
  declare const divides: Rule<Theme>[];
42
42
 
43
- declare const filterBase: {
44
- '--un-blur': string;
45
- '--un-brightness': string;
46
- '--un-contrast': string;
47
- '--un-drop-shadow': string;
48
- '--un-grayscale': string;
49
- '--un-hue-rotate': string;
50
- '--un-invert': string;
51
- '--un-saturate': string;
52
- '--un-sepia': string;
53
- };
54
- declare const backdropFilterBase: {
55
- '--un-backdrop-blur': string;
56
- '--un-backdrop-brightness': string;
57
- '--un-backdrop-contrast': string;
58
- '--un-backdrop-grayscale': string;
59
- '--un-backdrop-hue-rotate': string;
60
- '--un-backdrop-invert': string;
61
- '--un-backdrop-opacity': string;
62
- '--un-backdrop-saturate': string;
63
- '--un-backdrop-sepia': string;
64
- };
65
43
  declare const filters: Rule<Theme>[];
66
44
 
67
45
  declare const flex: Rule<Theme>[];
@@ -98,26 +76,23 @@ declare const boxSizing: Rule<Theme>[];
98
76
  */
99
77
  declare const questionMark: Rule<Theme>[];
100
78
 
101
- declare const ringBase: {
102
- '--un-ring-inset': string;
103
- '--un-ring-offset-width': string;
104
- '--un-ring-offset-color': string;
105
- '--un-ring-width': string;
106
- '--un-ring-color': string;
107
- '--un-shadow': string;
108
- };
109
79
  declare const rings: Rule<Theme>[];
110
80
 
111
- declare const scrollSnapTypeBase: {
112
- '--un-scroll-snap-strictness': string;
113
- };
114
81
  declare const scrolls: Rule<Theme>[];
115
82
 
116
- declare const boxShadowsBase: {
117
- '--un-ring-offset-shadow': string;
118
- '--un-ring-shadow': string;
119
- '--un-shadow-inset': string;
120
- '--un-shadow': string;
83
+ declare const shadowProperties: {
84
+ shadow: string;
85
+ shadowColor: string;
86
+ insetShadow: string;
87
+ insetShadowColor: string;
88
+ ringColor: string;
89
+ ringShadow: string;
90
+ insetRingColor: string;
91
+ insetRingShadow: string;
92
+ ringInset: string;
93
+ ringOffsetWidth: string;
94
+ ringOffsetColor: string;
95
+ ringOffsetShadow: string;
121
96
  };
122
97
  declare const boxShadows: Rule<Theme>[];
123
98
 
@@ -129,7 +104,6 @@ declare const margins: Rule<Theme>[];
129
104
  declare const spaces: Rule<Theme>[];
130
105
  declare function notLastChildSelector(s: string): string;
131
106
 
132
- declare const varEmpty = " ";
133
107
  declare const displays: Rule<Theme>[];
134
108
  declare const appearances: Rule<Theme>[];
135
109
  declare const cursors: Rule<Theme>[];
@@ -159,17 +133,8 @@ declare const accessibility: Rule<Theme>[];
159
133
 
160
134
  declare const svgUtilities: Rule<Theme>[];
161
135
 
162
- declare const borderSpacingBase: {
163
- '--un-border-spacing-x': number;
164
- '--un-border-spacing-y': number;
165
- };
166
136
  declare const tables: Rule<Theme>[];
167
137
 
168
- declare const touchActionBase: {
169
- '--un-pan-x': string;
170
- '--un-pan-y': string;
171
- '--un-pinch-zoom': string;
172
- };
173
138
  declare const touchActions: Rule<Theme>[];
174
139
 
175
140
  declare const transformBase: {
@@ -191,13 +156,6 @@ declare const tabSizes: Rule<Theme>[];
191
156
  declare const textIndents: Rule<Theme>[];
192
157
  declare const textStrokes: Rule<Theme>[];
193
158
  declare const textShadows: Rule<Theme>[];
194
- declare const fontVariantNumericBase: {
195
- '--un-ordinal': string;
196
- '--un-slashed-zero': string;
197
- '--un-numeric-figure': string;
198
- '--un-numeric-spacing': string;
199
- '--un-numeric-fraction': string;
200
- };
201
159
  declare const fontVariantNumeric: Rule<Theme>[];
202
160
  declare function splitShorthand(body: string, type: string): string[] | undefined;
203
161
 
@@ -206,4 +164,4 @@ declare const cssProperty: Rule<Theme>[];
206
164
 
207
165
  declare const viewTransition: Rule<Theme>[];
208
166
 
209
- export { accents, accessibility, alignments, animations, appearance, appearances, aspectRatio, backdropFilterBase, backgroundBlendModes, backgroundStyles, bgColors, borderSpacingBase, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, carets, colorScheme, columns, container, containerParent, containerShortcuts, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, divides, dynamicViewportHeight, filterBase, filters, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fontVariantNumeric, fontVariantNumericBase, fonts, gaps, grids, handlerBorderStyle, hyphens, imageRenderings, insets, isolations, justifies, lineClamps, listStyle, margins, mixBlendModes, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, ringBase, rings, screenReadersAccess, scrollBehaviors, scrollSnapTypeBase, scrolls, sizes, spaces, splitShorthand, svgUtilities, tabSizes, tables, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, touchActionBase, touchActions, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, viewTransition, whitespaces, willChange, writingModes, writingOrientations, zIndexes };
167
+ export { accents, accessibility, alignments, animations, appearance, appearances, aspectRatio, backgroundBlendModes, backgroundStyles, bgColors, borderStyles, borders, boxShadows, boxSizing, breaks, carets, colorScheme, columns, container, containerParent, containerShortcuts, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, divides, dynamicViewportHeight, filters, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fontVariantNumeric, fonts, gaps, grids, handlerBorderStyle, hyphens, imageRenderings, insets, isolations, justifies, lineClamps, listStyle, margins, mixBlendModes, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, rings, screenReadersAccess, scrollBehaviors, scrolls, shadowProperties, sizes, spaces, splitShorthand, svgUtilities, tabSizes, tables, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, touchActions, transformBase, transforms, transitions, userSelects, verticalAligns, viewTransition, whitespaces, willChange, writingModes, writingOrientations, zIndexes };
package/dist/rules.d.ts CHANGED
@@ -40,28 +40,6 @@ declare const textDecorations: Rule<Theme>[];
40
40
 
41
41
  declare const divides: Rule<Theme>[];
42
42
 
43
- declare const filterBase: {
44
- '--un-blur': string;
45
- '--un-brightness': string;
46
- '--un-contrast': string;
47
- '--un-drop-shadow': string;
48
- '--un-grayscale': string;
49
- '--un-hue-rotate': string;
50
- '--un-invert': string;
51
- '--un-saturate': string;
52
- '--un-sepia': string;
53
- };
54
- declare const backdropFilterBase: {
55
- '--un-backdrop-blur': string;
56
- '--un-backdrop-brightness': string;
57
- '--un-backdrop-contrast': string;
58
- '--un-backdrop-grayscale': string;
59
- '--un-backdrop-hue-rotate': string;
60
- '--un-backdrop-invert': string;
61
- '--un-backdrop-opacity': string;
62
- '--un-backdrop-saturate': string;
63
- '--un-backdrop-sepia': string;
64
- };
65
43
  declare const filters: Rule<Theme>[];
66
44
 
67
45
  declare const flex: Rule<Theme>[];
@@ -98,26 +76,23 @@ declare const boxSizing: Rule<Theme>[];
98
76
  */
99
77
  declare const questionMark: Rule<Theme>[];
100
78
 
101
- declare const ringBase: {
102
- '--un-ring-inset': string;
103
- '--un-ring-offset-width': string;
104
- '--un-ring-offset-color': string;
105
- '--un-ring-width': string;
106
- '--un-ring-color': string;
107
- '--un-shadow': string;
108
- };
109
79
  declare const rings: Rule<Theme>[];
110
80
 
111
- declare const scrollSnapTypeBase: {
112
- '--un-scroll-snap-strictness': string;
113
- };
114
81
  declare const scrolls: Rule<Theme>[];
115
82
 
116
- declare const boxShadowsBase: {
117
- '--un-ring-offset-shadow': string;
118
- '--un-ring-shadow': string;
119
- '--un-shadow-inset': string;
120
- '--un-shadow': string;
83
+ declare const shadowProperties: {
84
+ shadow: string;
85
+ shadowColor: string;
86
+ insetShadow: string;
87
+ insetShadowColor: string;
88
+ ringColor: string;
89
+ ringShadow: string;
90
+ insetRingColor: string;
91
+ insetRingShadow: string;
92
+ ringInset: string;
93
+ ringOffsetWidth: string;
94
+ ringOffsetColor: string;
95
+ ringOffsetShadow: string;
121
96
  };
122
97
  declare const boxShadows: Rule<Theme>[];
123
98
 
@@ -129,7 +104,6 @@ declare const margins: Rule<Theme>[];
129
104
  declare const spaces: Rule<Theme>[];
130
105
  declare function notLastChildSelector(s: string): string;
131
106
 
132
- declare const varEmpty = " ";
133
107
  declare const displays: Rule<Theme>[];
134
108
  declare const appearances: Rule<Theme>[];
135
109
  declare const cursors: Rule<Theme>[];
@@ -159,17 +133,8 @@ declare const accessibility: Rule<Theme>[];
159
133
 
160
134
  declare const svgUtilities: Rule<Theme>[];
161
135
 
162
- declare const borderSpacingBase: {
163
- '--un-border-spacing-x': number;
164
- '--un-border-spacing-y': number;
165
- };
166
136
  declare const tables: Rule<Theme>[];
167
137
 
168
- declare const touchActionBase: {
169
- '--un-pan-x': string;
170
- '--un-pan-y': string;
171
- '--un-pinch-zoom': string;
172
- };
173
138
  declare const touchActions: Rule<Theme>[];
174
139
 
175
140
  declare const transformBase: {
@@ -191,13 +156,6 @@ declare const tabSizes: Rule<Theme>[];
191
156
  declare const textIndents: Rule<Theme>[];
192
157
  declare const textStrokes: Rule<Theme>[];
193
158
  declare const textShadows: Rule<Theme>[];
194
- declare const fontVariantNumericBase: {
195
- '--un-ordinal': string;
196
- '--un-slashed-zero': string;
197
- '--un-numeric-figure': string;
198
- '--un-numeric-spacing': string;
199
- '--un-numeric-fraction': string;
200
- };
201
159
  declare const fontVariantNumeric: Rule<Theme>[];
202
160
  declare function splitShorthand(body: string, type: string): string[] | undefined;
203
161
 
@@ -206,4 +164,4 @@ declare const cssProperty: Rule<Theme>[];
206
164
 
207
165
  declare const viewTransition: Rule<Theme>[];
208
166
 
209
- export { accents, accessibility, alignments, animations, appearance, appearances, aspectRatio, backdropFilterBase, backgroundBlendModes, backgroundStyles, bgColors, borderSpacingBase, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, carets, colorScheme, columns, container, containerParent, containerShortcuts, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, divides, dynamicViewportHeight, filterBase, filters, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fontVariantNumeric, fontVariantNumericBase, fonts, gaps, grids, handlerBorderStyle, hyphens, imageRenderings, insets, isolations, justifies, lineClamps, listStyle, margins, mixBlendModes, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, ringBase, rings, screenReadersAccess, scrollBehaviors, scrollSnapTypeBase, scrolls, sizes, spaces, splitShorthand, svgUtilities, tabSizes, tables, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, touchActionBase, touchActions, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, viewTransition, whitespaces, willChange, writingModes, writingOrientations, zIndexes };
167
+ export { accents, accessibility, alignments, animations, appearance, appearances, aspectRatio, backgroundBlendModes, backgroundStyles, bgColors, borderStyles, borders, boxShadows, boxSizing, breaks, carets, colorScheme, columns, container, containerParent, containerShortcuts, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, divides, dynamicViewportHeight, filters, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fontVariantNumeric, fonts, gaps, grids, handlerBorderStyle, hyphens, imageRenderings, insets, isolations, justifies, lineClamps, listStyle, margins, mixBlendModes, notLastChildSelector, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, placeholders, placements, pointerEvents, positions, questionMark, resizes, rings, screenReadersAccess, scrollBehaviors, scrolls, shadowProperties, sizes, spaces, splitShorthand, svgUtilities, tabSizes, tables, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, touchActions, transformBase, transforms, transitions, userSelects, verticalAligns, viewTransition, whitespaces, willChange, writingModes, writingOrientations, zIndexes };
package/dist/rules.mjs CHANGED
@@ -1,6 +1,6 @@
1
- export { d as accents, ar as accessibility, J as alignments, a as animations, c as appearance, a3 as appearances, Y as aspectRatio, y as backdropFilterBase, ao as backgroundBlendModes, b as backgroundStyles, m as bgColors, at as borderSpacingBase, g as borderStyles, h as borders, W as boxShadows, V as boxShadowsBase, P as boxSizing, ac as breaks, e as carets, n as colorScheme, p as columns, a5 as contains, aa as contentVisibility, ab as contents, aJ as cssProperty, aI as cssVariables, a4 as cursors, a2 as displays, u as divides, aq as dynamicViewportHeight, x as filterBase, z as filters, A as flex, L as flexGridJustifiesAlignments, N as floats, ah as fontSmoothings, ag as fontStyles, aG as fontVariantNumeric, aF as fontVariantNumericBase, aA as fonts, B as gaps, C as grids, j as handlerBorderStyle, ai as hyphens, i as imageRenderings, M as insets, am as isolations, H as justifies, E as lineClamps, l as listStyle, _ as margins, ap as mixBlendModes, a0 as notLastChildSelector, an as objectPositions, k as opacity, I as orders, o as outline, D as overflows, f as overscrolls, Z as paddings, F as placeholders, K as placements, a6 as pointerEvents, G as positions, Q as questionMark, a7 as resizes, R as ringBase, S as rings, r as rules, al as screenReadersAccess, s as scrollBehaviors, T as scrollSnapTypeBase, U as scrolls, X as sizes, $ as spaces, aH as splitShorthand, as as svgUtilities, aB as tabSizes, au as tables, t as textAligns, q as textDecorations, aC as textIndents, ae as textOverflows, aE as textShadows, aD as textStrokes, af as textTransforms, ad as textWraps, av as touchActionBase, aw as touchActions, ax as transformBase, ay as transforms, az as transitions, a8 as userSelects, a1 as varEmpty, v as verticalAligns, aK as viewTransition, a9 as whitespaces, w as willChange, aj as writingModes, ak as writingOrientations, O as zIndexes } from './shared/preset-wind4.kLLgLvQk.mjs';
2
- export { a as container, c as containerParent, b as containerShortcuts } from './shared/preset-wind4.Bjnac6Vf.mjs';
3
- import './shared/preset-wind4.C2WJ-LPg.mjs';
1
+ export { d as accents, am as accessibility, H as alignments, a as animations, c as appearance, _ as appearances, U as aspectRatio, aj as backgroundBlendModes, b as backgroundStyles, m as bgColors, g as borderStyles, h as borders, S as boxShadows, N as boxSizing, a7 as breaks, e as carets, n as colorScheme, p as columns, a0 as contains, a5 as contentVisibility, a6 as contents, aB as cssProperty, aA as cssVariables, $ as cursors, Z as displays, u as divides, al as dynamicViewportHeight, x as filters, y as flex, J as flexGridJustifiesAlignments, L as floats, ac as fontSmoothings, ab as fontStyles, ay as fontVariantNumeric, at as fonts, z as gaps, A as grids, j as handlerBorderStyle, ad as hyphens, i as imageRenderings, K as insets, ah as isolations, F as justifies, C as lineClamps, l as listStyle, W as margins, ak as mixBlendModes, Y as notLastChildSelector, ai as objectPositions, k as opacity, G as orders, o as outline, B as overflows, f as overscrolls, V as paddings, D as placeholders, I as placements, a1 as pointerEvents, E as positions, O as questionMark, a2 as resizes, P as rings, r as rules, ag as screenReadersAccess, s as scrollBehaviors, Q as scrolls, R as shadowProperties, T as sizes, X as spaces, az as splitShorthand, an as svgUtilities, au as tabSizes, ao as tables, t as textAligns, q as textDecorations, av as textIndents, a9 as textOverflows, ax as textShadows, aw as textStrokes, aa as textTransforms, a8 as textWraps, ap as touchActions, aq as transformBase, ar as transforms, as as transitions, a3 as userSelects, v as verticalAligns, aC as viewTransition, a4 as whitespaces, w as willChange, ae as writingModes, af as writingOrientations, M as zIndexes } from './shared/preset-wind4.BJgjgPep.mjs';
2
+ export { a as container, c as containerParent, b as containerShortcuts } from './shared/preset-wind4.DRtfClGs.mjs';
3
+ import './shared/preset-wind4.D40diWvF.mjs';
4
4
  import '@unocss/core';
5
5
  import '@unocss/rule-utils';
6
6
  import './shared/preset-wind4.DRtKeBWc.mjs';