@una-ui/preset-edge 0.55.4-29131275.2dff107 → 0.55.4-29132301.5a8843e

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.4c3iYh9E.mjs';
6
+ import { s as shortcuts } from './shared/preset-edge.B_VKOxG6.mjs';
7
7
 
8
8
  function presetUna(options = {
9
9
  // TODO: add options
package/dist/prefixes.mjs CHANGED
@@ -188,9 +188,10 @@ const prefixes = [
188
188
  "table-loading",
189
189
  "table-row",
190
190
  "tabs",
191
+ "tabs-active",
192
+ "tabs-inactive",
191
193
  "tabs-content",
192
194
  "tabs-list",
193
- "tabs-root",
194
195
  "tabs-trigger",
195
196
  "theme-switcher",
196
197
  "toast",
@@ -1127,17 +1127,16 @@ const table = [
1127
1127
 
1128
1128
  const staticTabs = {
1129
1129
  // configurations
1130
- "tabs": "transition-colors duration-200 ease-out",
1131
- "tabs-default-variant": "tabs-soft-black",
1130
+ "tabs": "flex flex-col gap-2",
1132
1131
  "tabs-disabled": "n-disabled",
1133
1132
  // components
1134
- "tabs-root": "flex flex-col w-full",
1135
- "tabs-trigger": "w-full focus-visible:z-10",
1136
- "tabs-list": "flex bg-muted items-center justify-center rounded-md p-1 w-full",
1137
- "tabs-content": "mt-4 text-base"
1133
+ "tabs-trigger": "",
1134
+ "tabs-list": "bg-muted text-muted inline-flex h-2.5714285714285716em w-fit items-center justify-center rounded-lg p-[3px]",
1135
+ "tabs-content": "flex-1 outline-none"
1138
1136
  };
1139
1137
  const dynamicTabs = [
1140
- [/^tabs-([^-]+)-([^-]+)$/, ([, v = "solid", c = "primary"]) => `data-[state=active]:btn-${v}-${c}`]
1138
+ [/^tabs-active-([^-]+)-([^-]+)$/, ([, v = "solid", c = "primary"]) => `data-[state=active]:btn-${v}-${c}`],
1139
+ [/^tabs-inactive-([^-]+)-([^-]+)$/, ([, v = "solid", c = "primary"]) => `data-[state=inactive]:btn-${v}-${c}`]
1141
1140
  ];
1142
1141
  const tabs = [
1143
1142
  ...dynamicTabs,
@@ -1,3 +1,3 @@
1
- export { s as shortcuts } from './shared/preset-edge.4c3iYh9E.mjs';
1
+ export { s as shortcuts } from './shared/preset-edge.B_VKOxG6.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": "0.55.4-29131275.2dff107",
3
+ "version": "0.55.4-29132301.5a8843e",
4
4
  "description": "The default preset for @una-ui",
5
5
  "author": "Phojie Rengel <phojrengel@gmail.com>",
6
6
  "license": "MIT",