@unocss/preset-uno 0.7.6 → 0.9.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOFR2H3GIjs = require('./chunk-OFR2H3GI.js');
3
+ var _chunkY6EUTGDCjs = require('./chunk-Y6EUTGDC.js');
4
4
 
5
5
  // src/rules/transition.ts
6
6
  var transitionBasicProps = [
@@ -130,7 +130,7 @@ var xyzMap = {
130
130
 
131
131
  // src/utils/handlers/handlers.ts
132
132
  var handlers_exports = {};
133
- _chunkOFR2H3GIjs.__export.call(void 0, handlers_exports, {
133
+ _chunkY6EUTGDCjs.__export.call(void 0, handlers_exports, {
134
134
  bracket: () => bracket,
135
135
  cssvar: () => cssvar,
136
136
  fraction: () => fraction,
@@ -584,7 +584,8 @@ var flex = [
584
584
  ["flex-shrink", { "flex-shrink": 1 }],
585
585
  ["flex-shrink-0", { "flex-shrink": 0 }],
586
586
  ["flex", { display: "flex" }],
587
- ["inline-flex", { display: "inline-flex" }]
587
+ ["inline-flex", { display: "inline-flex" }],
588
+ ["flex-inline", { display: "inline-flex" }]
588
589
  ];
589
590
 
590
591
  // src/rules/typography.ts
@@ -672,21 +673,29 @@ var textDecorationOffsets = [
672
673
  }]
673
674
  ];
674
675
  var textIndents = [
675
- [/^indent-?([^-]*)$/, ([, s], { theme }) => {
676
+ [/^indent(?:-(.+))?$/, ([, s], { theme }) => {
676
677
  var _a;
677
- const v = ((_a = theme.textIndent) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.fraction.rem(s);
678
+ const v = ((_a = theme.textIndent) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.cssvar.fraction.rem(s);
678
679
  if (v != null)
679
680
  return { "text-indent": v };
680
681
  }]
681
682
  ];
682
683
  var textStrokeWidths = [
683
- [/^text-stroke-?([^-]*)$/, ([, s], { theme }) => {
684
+ [/^text-stroke(?:-(.+))?$/, ([, s], { theme }) => {
684
685
  var _a;
685
- const v = ((_a = theme.textStrokeWidth) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.px(s);
686
+ const v = ((_a = theme.textStrokeWidth) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.cssvar.px(s);
686
687
  if (v != null)
687
688
  return { "-webkit-text-stroke-width": v };
688
689
  }]
689
690
  ];
691
+ var textShadows = [
692
+ [/^text-shadow(?:-(.+))?$/, ([, s], { theme }) => {
693
+ var _a;
694
+ const v = ((_a = theme.textShadow) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.cssvar(s);
695
+ if (v != null)
696
+ return { "text-shadow": v };
697
+ }]
698
+ ];
690
699
  var fonts = [
691
700
  fontsFamilies,
692
701
  fontSizes,
@@ -955,15 +964,14 @@ var mixBlendModes = [
955
964
  ["mix-blend-color", { "mix-blend-mode": "color" }],
956
965
  ["mix-blend-luminosity", { "mix-blend-mode": "luminosity" }]
957
966
  ];
958
- var shadows = [
967
+ var boxShadows = [
959
968
  [/^shadow-?(.*)$/, ([, d], { theme }) => {
960
969
  var _a;
961
- const value = (_a = theme == null ? void 0 : theme.textShadow) == null ? void 0 : _a[d || "DEFAULT"];
970
+ const value = (_a = theme == null ? void 0 : theme.boxShadow) == null ? void 0 : _a[d || "DEFAULT"];
962
971
  if (value) {
963
972
  return {
964
973
  "--un-shadow-color": "0,0,0",
965
974
  "--un-shadow": value,
966
- "-webkit-box-shadow": "var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)",
967
975
  "box-shadow": "var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"
968
976
  };
969
977
  }
@@ -974,6 +982,13 @@ var shadows = [
974
982
  ];
975
983
 
976
984
  // src/rules/size.ts
985
+ function getPropName(minmax, hw) {
986
+ const minMaxMap = {
987
+ w: "width",
988
+ h: "height"
989
+ };
990
+ return `${minmax ? `${minmax}-` : ""}${minMaxMap[hw]}`;
991
+ }
977
992
  var sizes = [
978
993
  ["w-full", { width: "100%" }],
979
994
  ["h-full", { height: "100%" }],
@@ -991,24 +1006,22 @@ var sizes = [
991
1006
  ["min-h-none", { "min-height": "none" }],
992
1007
  ["min-h-full", { "min-height": "100%" }],
993
1008
  ["min-h-screen", { "min-height": "100vh" }],
994
- [/^(((min|max)-)?(w|h))-([^-]+)$/, ([, , , m, w, s]) => ({ [getPropName(m, w)]: handler.bracket.fraction.rem(s) })],
995
- [/^(((min|max)-)?(w))-screen-([a-z]+)$/, ([, , , m, w, s], { theme }) => {
1009
+ [/^(?:(min|max)-)?(w|h)-(.+)$/, ([, m, w, s]) => ({ [getPropName(m, w)]: handler.bracket.cssvar.fraction.rem(s) })],
1010
+ [/^(?:(min|max)-)?(w)-screen-(.+)$/, ([, m, w, s], { theme }) => {
996
1011
  var _a;
997
1012
  const v = (_a = theme.breakpoints) == null ? void 0 : _a[s];
998
1013
  if (v != null)
999
1014
  return { [getPropName(m, w)]: v };
1000
1015
  }]
1001
1016
  ];
1002
- function getPropName(minmax, hw) {
1003
- var _a;
1004
- const minMaxMap = {
1005
- w: "width",
1006
- h: "height",
1007
- min: "min-",
1008
- max: "max-"
1009
- };
1010
- return `${(_a = minMaxMap[minmax]) != null ? _a : ""}${minMaxMap[hw]}`;
1011
- }
1017
+ var aspectRatio = [
1018
+ ["aspect-ratio-auto", { "aspect-ratio": "auto" }],
1019
+ [/^aspect-ratio-(.+)$/, ([, d]) => {
1020
+ const v = (/^\d+\/\d+$/.test(d) ? d : null) || handler.bracket.cssvar.number(d);
1021
+ if (v != null)
1022
+ return { "aspect-ratio": v };
1023
+ }]
1024
+ ];
1012
1025
 
1013
1026
  // src/rules/spacing.ts
1014
1027
  var directionSize = (prefix) => ([_, direction, size]) => {
@@ -1496,10 +1509,6 @@ ${constructCSS({ animation: `${name} 1s linear infinite` })}`;
1496
1509
 
1497
1510
  // src/rules/variables.ts
1498
1511
  var variablesAbbrMap = {
1499
- "w": "width",
1500
- "h": "height",
1501
- "max-w": "max-width",
1502
- "max-h": "max-height",
1503
1512
  "visible": "visibility",
1504
1513
  "select": "user-select",
1505
1514
  "vertical": "vertical-align",
@@ -1523,7 +1532,6 @@ var variablesAbbrMap = {
1523
1532
  "tab": "tab-size",
1524
1533
  "underline": "text-decoration-thickness",
1525
1534
  "underline-offset": "text-underline-offset",
1526
- "indent": "text-indent",
1527
1535
  "text": "color",
1528
1536
  "grid-cols": "grid-template-columns",
1529
1537
  "grid-rows": "grid-template-rows",
@@ -1637,6 +1645,7 @@ var rules = [
1637
1645
  textDecorationOffsets,
1638
1646
  textStrokeWidths,
1639
1647
  textStrokeColors,
1648
+ textShadows,
1640
1649
  textTransforms,
1641
1650
  textAligns,
1642
1651
  textColors,
@@ -1646,13 +1655,14 @@ var rules = [
1646
1655
  writingModes,
1647
1656
  writingOrientations,
1648
1657
  mixBlendModes,
1649
- shadows,
1658
+ boxShadows,
1650
1659
  rings,
1651
1660
  flex,
1652
1661
  grids,
1653
1662
  gaps,
1654
1663
  positions,
1655
1664
  sizes,
1665
+ aspectRatio,
1656
1666
  cursors,
1657
1667
  appearances,
1658
1668
  pointerEvents,
File without changes
@@ -374,6 +374,14 @@ var textStrokeWidth = {
374
374
  md: "medium",
375
375
  lg: "thick"
376
376
  };
377
+ var textShadow = {
378
+ DEFAULT: "0px 0px 1px rgb(0 0 0/20%), 0px 0px 1px rgb(1 0 5/10%)",
379
+ sm: "1px 1px 3px rgb(36 37 47 / 25%)",
380
+ md: "0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)",
381
+ lg: "3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)",
382
+ xl: "1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)",
383
+ none: "none"
384
+ };
377
385
  var lineHeight = {
378
386
  none: "1",
379
387
  tight: "1.25",
@@ -410,7 +418,7 @@ var borderRadius = {
410
418
  "3xl": "1.5rem",
411
419
  "full": "9999px"
412
420
  };
413
- var textShadow = {
421
+ var boxShadow = {
414
422
  "DEFAULT": "0 1px 3px 0 rgba(var(--un-shadow-color), 0.1), 0 1px 2px 0 rgba(var(--un-shadow-color), 0.06)",
415
423
  "sm": "0 1px 2px 0 rgba(var(--un-shadow-color), 0.05)",
416
424
  "md": "0 4px 6px -1px rgba(var(--un-shadow-color), 0.1), 0 2px 4px -1px rgba(var(--un-shadow-color), 0.06)",
@@ -451,8 +459,9 @@ var theme = {
451
459
  borderRadius,
452
460
  lineHeight,
453
461
  letterSpacing,
454
- textShadow,
462
+ boxShadow,
455
463
  textIndent,
464
+ textShadow,
456
465
  textStrokeWidth,
457
466
  blur,
458
467
  dropShadow
@@ -374,6 +374,14 @@ var textStrokeWidth = {
374
374
  md: "medium",
375
375
  lg: "thick"
376
376
  };
377
+ var textShadow = {
378
+ DEFAULT: "0px 0px 1px rgb(0 0 0/20%), 0px 0px 1px rgb(1 0 5/10%)",
379
+ sm: "1px 1px 3px rgb(36 37 47 / 25%)",
380
+ md: "0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)",
381
+ lg: "3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)",
382
+ xl: "1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)",
383
+ none: "none"
384
+ };
377
385
  var lineHeight = {
378
386
  none: "1",
379
387
  tight: "1.25",
@@ -410,7 +418,7 @@ var borderRadius = {
410
418
  "3xl": "1.5rem",
411
419
  "full": "9999px"
412
420
  };
413
- var textShadow = {
421
+ var boxShadow = {
414
422
  "DEFAULT": "0 1px 3px 0 rgba(var(--un-shadow-color), 0.1), 0 1px 2px 0 rgba(var(--un-shadow-color), 0.06)",
415
423
  "sm": "0 1px 2px 0 rgba(var(--un-shadow-color), 0.05)",
416
424
  "md": "0 4px 6px -1px rgba(var(--un-shadow-color), 0.1), 0 2px 4px -1px rgba(var(--un-shadow-color), 0.06)",
@@ -451,8 +459,9 @@ var theme = {
451
459
  borderRadius,
452
460
  lineHeight,
453
461
  letterSpacing,
454
- textShadow,
462
+ boxShadow,
455
463
  textIndent,
464
+ textShadow,
456
465
  textStrokeWidth,
457
466
  blur,
458
467
  dropShadow
File without changes
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./chunk-YI4MPAID.mjs";
3
+ } from "./chunk-5SH5BFJ4.mjs";
4
4
 
5
5
  // src/rules/transition.ts
6
6
  var transitionBasicProps = [
@@ -584,7 +584,8 @@ var flex = [
584
584
  ["flex-shrink", { "flex-shrink": 1 }],
585
585
  ["flex-shrink-0", { "flex-shrink": 0 }],
586
586
  ["flex", { display: "flex" }],
587
- ["inline-flex", { display: "inline-flex" }]
587
+ ["inline-flex", { display: "inline-flex" }],
588
+ ["flex-inline", { display: "inline-flex" }]
588
589
  ];
589
590
 
590
591
  // src/rules/typography.ts
@@ -672,21 +673,29 @@ var textDecorationOffsets = [
672
673
  }]
673
674
  ];
674
675
  var textIndents = [
675
- [/^indent-?([^-]*)$/, ([, s], { theme }) => {
676
+ [/^indent(?:-(.+))?$/, ([, s], { theme }) => {
676
677
  var _a;
677
- const v = ((_a = theme.textIndent) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.fraction.rem(s);
678
+ const v = ((_a = theme.textIndent) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.cssvar.fraction.rem(s);
678
679
  if (v != null)
679
680
  return { "text-indent": v };
680
681
  }]
681
682
  ];
682
683
  var textStrokeWidths = [
683
- [/^text-stroke-?([^-]*)$/, ([, s], { theme }) => {
684
+ [/^text-stroke(?:-(.+))?$/, ([, s], { theme }) => {
684
685
  var _a;
685
- const v = ((_a = theme.textStrokeWidth) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.px(s);
686
+ const v = ((_a = theme.textStrokeWidth) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.cssvar.px(s);
686
687
  if (v != null)
687
688
  return { "-webkit-text-stroke-width": v };
688
689
  }]
689
690
  ];
691
+ var textShadows = [
692
+ [/^text-shadow(?:-(.+))?$/, ([, s], { theme }) => {
693
+ var _a;
694
+ const v = ((_a = theme.textShadow) == null ? void 0 : _a[s || "DEFAULT"]) || handler.bracket.cssvar(s);
695
+ if (v != null)
696
+ return { "text-shadow": v };
697
+ }]
698
+ ];
690
699
  var fonts = [
691
700
  fontsFamilies,
692
701
  fontSizes,
@@ -955,15 +964,14 @@ var mixBlendModes = [
955
964
  ["mix-blend-color", { "mix-blend-mode": "color" }],
956
965
  ["mix-blend-luminosity", { "mix-blend-mode": "luminosity" }]
957
966
  ];
958
- var shadows = [
967
+ var boxShadows = [
959
968
  [/^shadow-?(.*)$/, ([, d], { theme }) => {
960
969
  var _a;
961
- const value = (_a = theme == null ? void 0 : theme.textShadow) == null ? void 0 : _a[d || "DEFAULT"];
970
+ const value = (_a = theme == null ? void 0 : theme.boxShadow) == null ? void 0 : _a[d || "DEFAULT"];
962
971
  if (value) {
963
972
  return {
964
973
  "--un-shadow-color": "0,0,0",
965
974
  "--un-shadow": value,
966
- "-webkit-box-shadow": "var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)",
967
975
  "box-shadow": "var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"
968
976
  };
969
977
  }
@@ -974,6 +982,13 @@ var shadows = [
974
982
  ];
975
983
 
976
984
  // src/rules/size.ts
985
+ function getPropName(minmax, hw) {
986
+ const minMaxMap = {
987
+ w: "width",
988
+ h: "height"
989
+ };
990
+ return `${minmax ? `${minmax}-` : ""}${minMaxMap[hw]}`;
991
+ }
977
992
  var sizes = [
978
993
  ["w-full", { width: "100%" }],
979
994
  ["h-full", { height: "100%" }],
@@ -991,24 +1006,22 @@ var sizes = [
991
1006
  ["min-h-none", { "min-height": "none" }],
992
1007
  ["min-h-full", { "min-height": "100%" }],
993
1008
  ["min-h-screen", { "min-height": "100vh" }],
994
- [/^(((min|max)-)?(w|h))-([^-]+)$/, ([, , , m, w, s]) => ({ [getPropName(m, w)]: handler.bracket.fraction.rem(s) })],
995
- [/^(((min|max)-)?(w))-screen-([a-z]+)$/, ([, , , m, w, s], { theme }) => {
1009
+ [/^(?:(min|max)-)?(w|h)-(.+)$/, ([, m, w, s]) => ({ [getPropName(m, w)]: handler.bracket.cssvar.fraction.rem(s) })],
1010
+ [/^(?:(min|max)-)?(w)-screen-(.+)$/, ([, m, w, s], { theme }) => {
996
1011
  var _a;
997
1012
  const v = (_a = theme.breakpoints) == null ? void 0 : _a[s];
998
1013
  if (v != null)
999
1014
  return { [getPropName(m, w)]: v };
1000
1015
  }]
1001
1016
  ];
1002
- function getPropName(minmax, hw) {
1003
- var _a;
1004
- const minMaxMap = {
1005
- w: "width",
1006
- h: "height",
1007
- min: "min-",
1008
- max: "max-"
1009
- };
1010
- return `${(_a = minMaxMap[minmax]) != null ? _a : ""}${minMaxMap[hw]}`;
1011
- }
1017
+ var aspectRatio = [
1018
+ ["aspect-ratio-auto", { "aspect-ratio": "auto" }],
1019
+ [/^aspect-ratio-(.+)$/, ([, d]) => {
1020
+ const v = (/^\d+\/\d+$/.test(d) ? d : null) || handler.bracket.cssvar.number(d);
1021
+ if (v != null)
1022
+ return { "aspect-ratio": v };
1023
+ }]
1024
+ ];
1012
1025
 
1013
1026
  // src/rules/spacing.ts
1014
1027
  var directionSize = (prefix) => ([_, direction, size]) => {
@@ -1496,10 +1509,6 @@ ${constructCSS({ animation: `${name} 1s linear infinite` })}`;
1496
1509
 
1497
1510
  // src/rules/variables.ts
1498
1511
  var variablesAbbrMap = {
1499
- "w": "width",
1500
- "h": "height",
1501
- "max-w": "max-width",
1502
- "max-h": "max-height",
1503
1512
  "visible": "visibility",
1504
1513
  "select": "user-select",
1505
1514
  "vertical": "vertical-align",
@@ -1523,7 +1532,6 @@ var variablesAbbrMap = {
1523
1532
  "tab": "tab-size",
1524
1533
  "underline": "text-decoration-thickness",
1525
1534
  "underline-offset": "text-underline-offset",
1526
- "indent": "text-indent",
1527
1535
  "text": "color",
1528
1536
  "grid-cols": "grid-template-columns",
1529
1537
  "grid-rows": "grid-template-rows",
@@ -1637,6 +1645,7 @@ var rules = [
1637
1645
  textDecorationOffsets,
1638
1646
  textStrokeWidths,
1639
1647
  textStrokeColors,
1648
+ textShadows,
1640
1649
  textTransforms,
1641
1650
  textAligns,
1642
1651
  textColors,
@@ -1646,13 +1655,14 @@ var rules = [
1646
1655
  writingModes,
1647
1656
  writingOrientations,
1648
1657
  mixBlendModes,
1649
- shadows,
1658
+ boxShadows,
1650
1659
  rings,
1651
1660
  flex,
1652
1661
  grids,
1653
1662
  gaps,
1654
1663
  positions,
1655
1664
  sizes,
1665
+ aspectRatio,
1656
1666
  cursors,
1657
1667
  appearances,
1658
1668
  pointerEvents,
@@ -1,4 +1,4 @@
1
- import { T as Theme } from './index-1149fe4d';
1
+ import { T as Theme } from './index-617c3a40';
2
2
 
3
3
  declare const colors: Theme['colors'];
4
4
 
@@ -6,8 +6,9 @@ interface Theme {
6
6
  fontSize?: Record<string, [string, string]>;
7
7
  lineHeight?: Record<string, string>;
8
8
  letterSpacing?: Record<string, string>;
9
- textShadow?: Record<string, string>;
9
+ boxShadow?: Record<string, string>;
10
10
  textIndent?: Record<string, string>;
11
+ textShadow?: Record<string, string>;
11
12
  textStrokeWidth?: Record<string, string>;
12
13
  blur?: Record<string, string>;
13
14
  dropShadow?: Record<string, string | string[]>;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { Preset } from '@unocss/core';
2
- export { t as theme } from './index-1149fe4d';
3
- export { c as colors } from './colors-11c6cb9f';
2
+ import { T as Theme } from './index-617c3a40';
3
+ export { t as theme } from './index-617c3a40';
4
+ export { c as colors } from './colors-c48e51c6';
4
5
 
5
- declare const preset: () => Preset;
6
+ declare const preset: () => Preset<Theme>;
6
7
 
7
8
  export { preset as default, preset };
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk34AMC765js = require('./chunk-34AMC765.js');
3
+ var _chunk42CFKKVUjs = require('./chunk-42CFKKVU.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk3PTRS5N3js = require('./chunk-3PTRS5N3.js');
7
+ var _chunkCPLQ3FYNjs = require('./chunk-CPLQ3FYN.js');
8
8
 
9
9
 
10
10
  var _chunkNMJBNI4Pjs = require('./chunk-NMJBNI4P.js');
11
- require('./chunk-OFR2H3GI.js');
11
+ require('./chunk-Y6EUTGDC.js');
12
12
 
13
13
  // src/index.ts
14
14
  var preset = () => ({
15
15
  name: "@unocss/preset-uno",
16
- theme: _chunk3PTRS5N3js.theme,
17
- rules: _chunk34AMC765js.rules,
16
+ theme: _chunkCPLQ3FYNjs.theme,
17
+ rules: _chunk42CFKKVUjs.rules,
18
18
  variants: _chunkNMJBNI4Pjs.variants
19
19
  });
20
20
  var src_default = preset;
@@ -23,4 +23,4 @@ var src_default = preset;
23
23
 
24
24
 
25
25
 
26
- exports.colors = _chunk3PTRS5N3js.colors; exports.default = src_default; exports.preset = preset; exports.theme = _chunk3PTRS5N3js.theme;
26
+ exports.colors = _chunkCPLQ3FYNjs.colors; exports.default = src_default; exports.preset = preset; exports.theme = _chunkCPLQ3FYNjs.theme;
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  rules
3
- } from "./chunk-NTFGEALE.mjs";
3
+ } from "./chunk-Y7KPZLM4.mjs";
4
4
  import {
5
5
  colors,
6
6
  theme
7
- } from "./chunk-WRKYDT4G.mjs";
7
+ } from "./chunk-HO34ND5Y.mjs";
8
8
  import {
9
9
  variants
10
10
  } from "./chunk-PZW27IKH.mjs";
11
- import "./chunk-YI4MPAID.mjs";
11
+ import "./chunk-5SH5BFJ4.mjs";
12
12
 
13
13
  // src/index.ts
14
14
  var preset = () => ({
package/dist/rules.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk34AMC765js = require('./chunk-34AMC765.js');
4
- require('./chunk-OFR2H3GI.js');
3
+ var _chunk42CFKKVUjs = require('./chunk-42CFKKVU.js');
4
+ require('./chunk-Y6EUTGDC.js');
5
5
 
6
6
 
7
- exports.rules = _chunk34AMC765js.rules;
7
+ exports.rules = _chunk42CFKKVUjs.rules;
package/dist/rules.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  rules
3
- } from "./chunk-NTFGEALE.mjs";
4
- import "./chunk-YI4MPAID.mjs";
3
+ } from "./chunk-Y7KPZLM4.mjs";
4
+ import "./chunk-5SH5BFJ4.mjs";
5
5
  export {
6
6
  rules
7
7
  };
package/dist/theme.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { T as Theme, t as theme } from './index-1149fe4d';
2
- export { c as colors } from './colors-11c6cb9f';
1
+ export { T as Theme, t as theme } from './index-617c3a40';
2
+ export { c as colors } from './colors-c48e51c6';
package/dist/theme.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk3PTRS5N3js = require('./chunk-3PTRS5N3.js');
5
- require('./chunk-OFR2H3GI.js');
4
+ var _chunkCPLQ3FYNjs = require('./chunk-CPLQ3FYN.js');
5
+ require('./chunk-Y6EUTGDC.js');
6
6
 
7
7
 
8
8
 
9
- exports.colors = _chunk3PTRS5N3js.colors; exports.theme = _chunk3PTRS5N3js.theme;
9
+ exports.colors = _chunkCPLQ3FYNjs.colors; exports.theme = _chunkCPLQ3FYNjs.theme;
package/dist/theme.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  colors,
3
3
  theme
4
- } from "./chunk-WRKYDT4G.mjs";
5
- import "./chunk-YI4MPAID.mjs";
4
+ } from "./chunk-HO34ND5Y.mjs";
5
+ import "./chunk-5SH5BFJ4.mjs";
6
6
  export {
7
7
  colors,
8
8
  theme
@@ -1,5 +1,5 @@
1
1
  import { Variant, VariantFunction, VariantObject } from '@unocss/core';
2
- import { T as Theme } from './index-1149fe4d';
2
+ import { T as Theme } from './index-617c3a40';
3
3
 
4
4
  declare const variantBreakpoints: Variant<Theme>;
5
5
 
package/dist/variants.js CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
  var _chunkNMJBNI4Pjs = require('./chunk-NMJBNI4P.js');
14
- require('./chunk-OFR2H3GI.js');
14
+ require('./chunk-Y6EUTGDC.js');
15
15
 
16
16
 
17
17
 
package/dist/variants.mjs CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  variantSpace,
12
12
  variants
13
13
  } from "./chunk-PZW27IKH.mjs";
14
- import "./chunk-YI4MPAID.mjs";
14
+ import "./chunk-5SH5BFJ4.mjs";
15
15
  export {
16
16
  PseudoClasses,
17
17
  variantBreakpoints,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-uno",
3
- "version": "0.7.6",
3
+ "version": "0.9.0",
4
4
  "description": "The default preset for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -45,7 +45,7 @@
45
45
  "*.css"
46
46
  ],
47
47
  "dependencies": {
48
- "@unocss/core": "0.7.6"
48
+ "@unocss/core": "0.9.0"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsup",