@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.
|
|
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
|
@@ -1127,17 +1127,16 @@ const table = [
|
|
|
1127
1127
|
|
|
1128
1128
|
const staticTabs = {
|
|
1129
1129
|
// configurations
|
|
1130
|
-
"tabs": "
|
|
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-
|
|
1135
|
-
"tabs-
|
|
1136
|
-
"tabs-
|
|
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,
|
package/dist/shortcuts.mjs
CHANGED