@una-ui/preset-edge 0.52.1-29105331.a95651e → 0.52.1-29105367.3151a32
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 { colors } from '@unocss/preset-mini/colors';
|
|
|
3
3
|
import { fonts } from '@unocss/preset-mini/rules';
|
|
4
4
|
import { handler, parseColor } from '@unocss/preset-mini/utils';
|
|
5
5
|
import { mergeDeep } from 'unocss';
|
|
6
|
-
import { s as shortcuts } from './shared/preset-edge.
|
|
6
|
+
import { s as shortcuts } from './shared/preset-edge.BuoWhQPI.mjs';
|
|
7
7
|
|
|
8
8
|
function presetUna(options = {
|
|
9
9
|
// TODO: add options
|
|
@@ -72,11 +72,11 @@ const staticAlertDialog = {
|
|
|
72
72
|
// sub-components
|
|
73
73
|
"alert-dialog-cancel": "mt-2 sm:mt-0",
|
|
74
74
|
"alert-dialog-overlay": "fixed inset-0 z-50 bg-black/80",
|
|
75
|
-
"alert-dialog-content": "fixed
|
|
75
|
+
"alert-dialog-content": "bg-background fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
76
76
|
"alert-dialog-title": "text-lg font-semibold",
|
|
77
77
|
"alert-dialog-description": "text-muted text-sm",
|
|
78
78
|
"alert-dialog-header": "flex flex-col gap-2 text-center sm:text-left",
|
|
79
|
-
"alert-dialog-footer": "flex flex-col gap-2 sm:flex-row sm:justify-end"
|
|
79
|
+
"alert-dialog-footer": "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end"
|
|
80
80
|
};
|
|
81
81
|
const dynamicAlertDialog = [
|
|
82
82
|
// dynamic preset
|
package/dist/shortcuts.mjs
CHANGED