@una-ui/preset-edge 1.0.0-alpha.0-29175660.d51c006 → 1.0.0-alpha.0-29176511.c6828ac
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,7 +1,7 @@
|
|
|
1
1
|
import { fonts } from '@unocss/preset-mini/rules';
|
|
2
2
|
import { handler, parseColor } from '@unocss/preset-mini/utils';
|
|
3
3
|
import { colors } from '@unocss/preset-wind4/colors';
|
|
4
|
-
import { s as shortcuts } from './shared/preset-edge.
|
|
4
|
+
import { s as shortcuts } from './shared/preset-edge.DxMSB2Ce.mjs';
|
|
5
5
|
import '@unocss/preset-mini';
|
|
6
6
|
|
|
7
7
|
function presetUna(options = {
|
package/dist/prefixes.mjs
CHANGED
|
@@ -978,19 +978,19 @@ const staticSheet = {
|
|
|
978
978
|
// base
|
|
979
979
|
"sheet": "",
|
|
980
980
|
// sub components
|
|
981
|
-
"sheet-content": "
|
|
981
|
+
"sheet-content": "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
982
982
|
"sheet-portal": "",
|
|
983
983
|
"sheet-overlay": "fixed inset-0 z-50 data-[state=closed]:animate-out data-[state=open]:animate-in bg-black/80 data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
984
984
|
"sheet-close": "absolute right-4 top-4",
|
|
985
985
|
"sheet-description": "text-sm text-muted-foreground",
|
|
986
|
-
"sheet-footer": "flex flex-col
|
|
987
|
-
"sheet-header": "flex flex-col gap-
|
|
988
|
-
"sheet-title": "text-
|
|
986
|
+
"sheet-footer": "mt-auto flex flex-col gap-2 p-4",
|
|
987
|
+
"sheet-header": "flex flex-col gap-1.5 p-4",
|
|
988
|
+
"sheet-title": "text-foreground font-semibold",
|
|
989
989
|
// static variants
|
|
990
|
-
"sheet-
|
|
991
|
-
"sheet-
|
|
992
|
-
"sheet-
|
|
993
|
-
"sheet-
|
|
990
|
+
"sheet-right": "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
991
|
+
"sheet-left": "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
992
|
+
"sheet-top": "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
993
|
+
"sheet-bottom": "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t"
|
|
994
994
|
};
|
|
995
995
|
const dynamicSheet = [
|
|
996
996
|
// dynamic preset
|
package/dist/shortcuts.mjs
CHANGED
package/package.json
CHANGED