@unocss/preset-mini 0.61.5 → 0.61.7

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
@@ -3,7 +3,7 @@ import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants
3
3
  import { g as globalKeywords } from './shared/preset-mini.B66ZMXnT.mjs';
4
4
  export { k as parseColor } from './shared/preset-mini.B66ZMXnT.mjs';
5
5
  import { t as theme } from './shared/preset-mini.Cx7ylRNC.mjs';
6
- import { r as rules } from './shared/preset-mini.CivfOauF.mjs';
6
+ import { r as rules } from './shared/preset-mini.CT54FBqM.mjs';
7
7
  import { j as variants } from './shared/preset-mini.BsntrdsY.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
package/dist/rules.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.CivfOauF.mjs';
1
+ export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.CT54FBqM.mjs';
2
2
  export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, q as transformBase, s as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.BWouCBA3.mjs';
3
3
  import './shared/preset-mini.B66ZMXnT.mjs';
4
4
  import '@unocss/core';
@@ -1,7 +1,7 @@
1
1
  import { g as globalKeywords, f as h, t as isCSSMathFn, l as colorResolver, d as directionMap, n as hasParseableColor, c as cornerMap, k as parseColor, u as isSize, q as makeGlobalStaticRules, m as colorableShadows, s as splitShorthand, i as insetMap, r as resolveBreakpoints, j as directionSize } from './preset-mini.B66ZMXnT.mjs';
2
2
  import { colorToString, colorOpacityToString } from '@unocss/rule-utils';
3
3
  import { warnOnce, toArray } from '@unocss/core';
4
- import { d as displays, i as contentVisibility, j as contents, l as textOverflows, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, f as cursors, e as appearances, p as pointerEvents, h as resizes, u as userSelects, w as whitespaces, k as breaks, s as transforms, g as contains, t as textWraps } from './preset-mini.BWouCBA3.mjs';
4
+ import { g as contains, p as pointerEvents, e as appearances, d as displays, s as transforms, f as cursors, u as userSelects, h as resizes, l as textOverflows, w as whitespaces, k as breaks, t as textWraps, m as textTransforms, n as fontStyles, o as fontSmoothings, c as boxShadows, a as rings, i as contentVisibility, j as contents } from './preset-mini.BWouCBA3.mjs';
5
5
 
6
6
  const verticalAlignAlias = {
7
7
  "mid": "middle",
@@ -741,12 +741,16 @@ const floats = [
741
741
  // floats
742
742
  ["float-left", { float: "left" }],
743
743
  ["float-right", { float: "right" }],
744
+ ["float-start", { float: "inline-start" }],
745
+ ["float-end", { float: "inline-end" }],
744
746
  ["float-none", { float: "none" }],
745
747
  ...makeGlobalStaticRules("float"),
746
748
  // clears
747
749
  ["clear-left", { clear: "left" }],
748
750
  ["clear-right", { clear: "right" }],
749
751
  ["clear-both", { clear: "both" }],
752
+ ["clear-start", { clear: "inline-start" }],
753
+ ["clear-end", { clear: "inline-end" }],
750
754
  ["clear-none", { clear: "none" }],
751
755
  ...makeGlobalStaticRules("clear")
752
756
  ];
@@ -962,61 +966,61 @@ function handleColorOrWidth(match, ctx) {
962
966
  const rules = [
963
967
  cssVariables,
964
968
  cssProperty,
965
- paddings,
969
+ contains,
970
+ pointerEvents,
971
+ appearances,
972
+ positions,
973
+ insets,
974
+ zIndexes,
975
+ orders,
976
+ grids,
977
+ floats,
966
978
  margins,
979
+ boxSizing,
967
980
  displays,
968
- opacity,
981
+ aspectRatio,
982
+ sizes,
983
+ flex,
984
+ transforms,
985
+ cursors,
986
+ userSelects,
987
+ resizes,
988
+ appearance,
989
+ placements,
990
+ alignments,
991
+ justifies,
992
+ gaps,
993
+ flexGridJustifiesAlignments,
994
+ overflows,
995
+ textOverflows,
996
+ whitespaces,
997
+ breaks,
998
+ borders,
969
999
  bgColors,
970
1000
  colorScheme,
971
1001
  svgUtilities,
972
- borders,
973
- contentVisibility,
974
- contents,
975
- fonts,
976
- tabSizes,
1002
+ paddings,
1003
+ textAligns,
977
1004
  textIndents,
978
- textOverflows,
979
- textDecorations,
980
- textStrokes,
981
- textShadows,
1005
+ textWraps,
1006
+ verticalAligns,
1007
+ fonts,
982
1008
  textTransforms,
983
- textAligns,
984
1009
  fontStyles,
1010
+ textDecorations,
985
1011
  fontSmoothings,
1012
+ tabSizes,
1013
+ textStrokes,
1014
+ textShadows,
1015
+ opacity,
986
1016
  boxShadows,
987
- rings,
988
- flex,
989
- grids,
990
- gaps,
991
- positions,
992
- sizes,
993
- aspectRatio,
994
- cursors,
995
- appearances,
996
- pointerEvents,
997
- resizes,
998
- verticalAligns,
999
- userSelects,
1000
- whitespaces,
1001
- breaks,
1002
- overflows,
1003
1017
  outline,
1004
- appearance,
1005
- orders,
1006
- justifies,
1007
- alignments,
1008
- placements,
1009
- flexGridJustifiesAlignments,
1010
- insets,
1011
- floats,
1012
- zIndexes,
1013
- boxSizing,
1018
+ rings,
1014
1019
  transitions,
1015
- transforms,
1016
1020
  willChange,
1021
+ contentVisibility,
1022
+ contents,
1017
1023
  containerParent,
1018
- contains,
1019
- textWraps,
1020
1024
  // should be the last
1021
1025
  questionMark
1022
1026
  ].flat(1);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
3
  "type": "module",
4
- "version": "0.61.5",
4
+ "version": "0.61.7",
5
5
  "description": "The minimal preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -56,9 +56,9 @@
56
56
  "dist"
57
57
  ],
58
58
  "dependencies": {
59
- "@unocss/core": "0.61.5",
60
- "@unocss/rule-utils": "0.61.5",
61
- "@unocss/extractor-arbitrary-variants": "0.61.5"
59
+ "@unocss/core": "0.61.7",
60
+ "@unocss/rule-utils": "0.61.7",
61
+ "@unocss/extractor-arbitrary-variants": "0.61.7"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",