@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.C3-vTPWa.mjs';
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
@@ -155,6 +155,7 @@ const prefixes = [
155
155
  "sheet-description",
156
156
  "sheet-footer",
157
157
  "sheet-header",
158
+ "sheet-overlay",
158
159
  "sheet-title",
159
160
  "sheet-trigger",
160
161
  "sidebar",
@@ -978,19 +978,19 @@ const staticSheet = {
978
978
  // base
979
979
  "sheet": "",
980
980
  // sub components
981
- "sheet-content": "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
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-reverse sm:flex-row sm:justify-end sm:gap-x-2",
987
- "sheet-header": "flex flex-col gap-y-2 text-center sm:text-left",
988
- "sheet-title": "text-lg font-semibold text-foreground",
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-top": "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
991
- "sheet-right": "inset-y-0 right-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
992
- "sheet-bottom": "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
993
- "sheet-left": "inset-y-0 left-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm"
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
@@ -1,3 +1,3 @@
1
- export { s as shortcuts } from './shared/preset-edge.C3-vTPWa.mjs';
1
+ export { s as shortcuts } from './shared/preset-edge.DxMSB2Ce.mjs';
2
2
  import '@unocss/preset-mini/utils';
3
3
  import '@unocss/preset-mini';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@una-ui/preset-edge",
3
- "version": "1.0.0-alpha.0-29175660.d51c006",
3
+ "version": "1.0.0-alpha.0-29176511.c6828ac",
4
4
  "description": "The default preset for @una-ui",
5
5
  "author": "Phojie Rengel <phojrengel@gmail.com>",
6
6
  "license": "MIT",