@una-ui/preset-edge 0.52.1-29105367.3151a32 → 0.53.0-29106309.6ed7bf0
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.B0rOKURV.mjs';
|
|
7
7
|
|
|
8
8
|
function presetUna(options = {
|
|
9
9
|
// TODO: add options
|
|
@@ -342,7 +342,7 @@ const staticDialog = {
|
|
|
342
342
|
"dialog": "",
|
|
343
343
|
// sub-components
|
|
344
344
|
"dialog-overlay": "fixed inset-0 z-50 bg-black/80",
|
|
345
|
-
"dialog-content": "fixed
|
|
345
|
+
"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",
|
|
346
346
|
"dialog-scroll-overlay": "fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80",
|
|
347
347
|
"dialog-scroll-content": "relative z-50 grid w-full max-w-lg my-8 gap-4 border border-base bg-base p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",
|
|
348
348
|
"dialog-header": "flex flex-col gap-y-1.5 text-center sm:text-left",
|
|
@@ -610,7 +610,7 @@ const kbd = [
|
|
|
610
610
|
|
|
611
611
|
const staticLabel = {
|
|
612
612
|
// base
|
|
613
|
-
"label-base": "text-sm font-medium
|
|
613
|
+
"label-base": "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50"
|
|
614
614
|
};
|
|
615
615
|
const dynamicLabel = [
|
|
616
616
|
// dynamic preset
|
package/dist/shortcuts.mjs
CHANGED