@una-ui/preset-edge 0.51.6-29102217.0e488a0 → 0.51.6-29102217.14c4532
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.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/prefixes.cjs +12 -0
- package/dist/prefixes.mjs +12 -0
- package/dist/shared/{preset-edge.dESPkp79.cjs → preset-edge.CXnwVyzt.cjs} +34 -1
- package/dist/shared/{preset-edge.Cqse67pQ.mjs → preset-edge.DTW2IypE.mjs} +34 -1
- package/dist/shortcuts.cjs +1 -1
- package/dist/shortcuts.mjs +1 -1
- package/package.json +1 -1
- package/una.css +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const colors = require('@unocss/preset-mini/colors');
|
|
|
5
5
|
const rules = require('@unocss/preset-mini/rules');
|
|
6
6
|
const utils = require('@unocss/preset-mini/utils');
|
|
7
7
|
const unocss = require('unocss');
|
|
8
|
-
const index = require('./shared/preset-edge.
|
|
8
|
+
const index = require('./shared/preset-edge.CXnwVyzt.cjs');
|
|
9
9
|
|
|
10
10
|
function presetUna(options = {
|
|
11
11
|
// TODO: add options
|
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.DTW2IypE.mjs';
|
|
7
7
|
|
|
8
8
|
function presetUna(options = {
|
|
9
9
|
// TODO: add options
|
package/dist/prefixes.cjs
CHANGED
|
@@ -31,6 +31,18 @@ const prefixes = [
|
|
|
31
31
|
"collapsible",
|
|
32
32
|
"collapsible-content",
|
|
33
33
|
"collapsible-trigger",
|
|
34
|
+
"combobox",
|
|
35
|
+
"combobox-anchor",
|
|
36
|
+
"combobox-empty",
|
|
37
|
+
"combobox-group",
|
|
38
|
+
"combobox-input",
|
|
39
|
+
"combobox-item",
|
|
40
|
+
"combobox-item-indicator",
|
|
41
|
+
"combobox-label",
|
|
42
|
+
"combobox-list",
|
|
43
|
+
"combobox-separator",
|
|
44
|
+
"combobox-trigger",
|
|
45
|
+
"combobox-viewport",
|
|
34
46
|
"dialog",
|
|
35
47
|
"dialog-close",
|
|
36
48
|
"dialog-content",
|
package/dist/prefixes.mjs
CHANGED
|
@@ -29,6 +29,18 @@ const prefixes = [
|
|
|
29
29
|
"collapsible",
|
|
30
30
|
"collapsible-content",
|
|
31
31
|
"collapsible-trigger",
|
|
32
|
+
"combobox",
|
|
33
|
+
"combobox-anchor",
|
|
34
|
+
"combobox-empty",
|
|
35
|
+
"combobox-group",
|
|
36
|
+
"combobox-input",
|
|
37
|
+
"combobox-item",
|
|
38
|
+
"combobox-item-indicator",
|
|
39
|
+
"combobox-label",
|
|
40
|
+
"combobox-list",
|
|
41
|
+
"combobox-separator",
|
|
42
|
+
"combobox-trigger",
|
|
43
|
+
"combobox-viewport",
|
|
32
44
|
"dialog",
|
|
33
45
|
"dialog-close",
|
|
34
46
|
"dialog-content",
|
|
@@ -287,6 +287,38 @@ const collapsible = [
|
|
|
287
287
|
staticCollapsible
|
|
288
288
|
];
|
|
289
289
|
|
|
290
|
+
const staticCombobox = {
|
|
291
|
+
// base
|
|
292
|
+
"combobox": "flex",
|
|
293
|
+
"combobox-trigger-info-icon": "i-info",
|
|
294
|
+
"combobox-trigger-error-icon": "i-error",
|
|
295
|
+
"combobox-trigger-success-icon": "i-success",
|
|
296
|
+
"combobox-trigger-warning-icon": "i-warning",
|
|
297
|
+
"combobox-trigger-trailing-icon": "i-lucide-chevrons-up-down",
|
|
298
|
+
"combobox-input-leading-icon": "i-lucide-search",
|
|
299
|
+
"combobox-trigger": "px-0.8571428571428571em w-full justify-between font-normal [&>span]:truncate",
|
|
300
|
+
"combobox-trigger-trailing": "size-1.4285714285714286em data-[status=error]:text-error data-[status=success]:text-success data-[status=warning]:text-warning data-[status=info]:text-info data-[status=default]:(n-disabled size-1.1428571428571428em) rtl:mr-auto ltr:ml-auto",
|
|
301
|
+
"combobox-trigger-leading": "size-1.1428571428571428em",
|
|
302
|
+
"combobox-item": "data-[highlighted]:bg-accent data-[highlighted]:text-accent relative flex cursor-default items-center gap-2 rounded-sm px-0.5714285714285714em py-0.42857142857142855em text-sm outline-none select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
|
|
303
|
+
"combobox-item-indicator": "ml-auto",
|
|
304
|
+
"combobox-item-indicator-icon": "",
|
|
305
|
+
"combobox-item-indicator-icon-name": "i-check",
|
|
306
|
+
"combobox-anchor": "min-w-200px",
|
|
307
|
+
"combobox-empty": "py-1.7142857142857142em text-center text-0.8571428571428571em",
|
|
308
|
+
"combobox-group": "overflow-hidden p-0.2857142857142857em text-foreground",
|
|
309
|
+
"combobox-label": "px-0.6666666666666666em py-0.5em text-0.8571428571428571em text-muted font-medium",
|
|
310
|
+
"combobox-list": "z-50 w-[--reka-popper-anchor-width] rounded-md border bg-popover text-popover overflow-hidden shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
311
|
+
"combobox-separator": "bg-border -mx-1 h-px",
|
|
312
|
+
"combobox-viewport": "max-h-300px scroll-py-1 overflow-x-hidden overflow-y-auto"
|
|
313
|
+
};
|
|
314
|
+
const dynamicCombobox = [
|
|
315
|
+
// dynamic preset
|
|
316
|
+
];
|
|
317
|
+
const combobox = [
|
|
318
|
+
...dynamicCombobox,
|
|
319
|
+
staticCombobox
|
|
320
|
+
];
|
|
321
|
+
|
|
290
322
|
const staticDialog = {
|
|
291
323
|
// base
|
|
292
324
|
"dialog": "",
|
|
@@ -1151,7 +1183,8 @@ const shortcuts = [
|
|
|
1151
1183
|
...scrollArea,
|
|
1152
1184
|
...navigationMenu,
|
|
1153
1185
|
...sidebar,
|
|
1154
|
-
...aspectRatio
|
|
1186
|
+
...aspectRatio,
|
|
1187
|
+
...combobox
|
|
1155
1188
|
];
|
|
1156
1189
|
|
|
1157
1190
|
exports.shortcuts = shortcuts;
|
|
@@ -285,6 +285,38 @@ const collapsible = [
|
|
|
285
285
|
staticCollapsible
|
|
286
286
|
];
|
|
287
287
|
|
|
288
|
+
const staticCombobox = {
|
|
289
|
+
// base
|
|
290
|
+
"combobox": "flex",
|
|
291
|
+
"combobox-trigger-info-icon": "i-info",
|
|
292
|
+
"combobox-trigger-error-icon": "i-error",
|
|
293
|
+
"combobox-trigger-success-icon": "i-success",
|
|
294
|
+
"combobox-trigger-warning-icon": "i-warning",
|
|
295
|
+
"combobox-trigger-trailing-icon": "i-lucide-chevrons-up-down",
|
|
296
|
+
"combobox-input-leading-icon": "i-lucide-search",
|
|
297
|
+
"combobox-trigger": "px-0.8571428571428571em w-full justify-between font-normal [&>span]:truncate",
|
|
298
|
+
"combobox-trigger-trailing": "size-1.4285714285714286em data-[status=error]:text-error data-[status=success]:text-success data-[status=warning]:text-warning data-[status=info]:text-info data-[status=default]:(n-disabled size-1.1428571428571428em) rtl:mr-auto ltr:ml-auto",
|
|
299
|
+
"combobox-trigger-leading": "size-1.1428571428571428em",
|
|
300
|
+
"combobox-item": "data-[highlighted]:bg-accent data-[highlighted]:text-accent relative flex cursor-default items-center gap-2 rounded-sm px-0.5714285714285714em py-0.42857142857142855em text-sm outline-none select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
|
|
301
|
+
"combobox-item-indicator": "ml-auto",
|
|
302
|
+
"combobox-item-indicator-icon": "",
|
|
303
|
+
"combobox-item-indicator-icon-name": "i-check",
|
|
304
|
+
"combobox-anchor": "min-w-200px",
|
|
305
|
+
"combobox-empty": "py-1.7142857142857142em text-center text-0.8571428571428571em",
|
|
306
|
+
"combobox-group": "overflow-hidden p-0.2857142857142857em text-foreground",
|
|
307
|
+
"combobox-label": "px-0.6666666666666666em py-0.5em text-0.8571428571428571em text-muted font-medium",
|
|
308
|
+
"combobox-list": "z-50 w-[--reka-popper-anchor-width] rounded-md border bg-popover text-popover overflow-hidden shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
309
|
+
"combobox-separator": "bg-border -mx-1 h-px",
|
|
310
|
+
"combobox-viewport": "max-h-300px scroll-py-1 overflow-x-hidden overflow-y-auto"
|
|
311
|
+
};
|
|
312
|
+
const dynamicCombobox = [
|
|
313
|
+
// dynamic preset
|
|
314
|
+
];
|
|
315
|
+
const combobox = [
|
|
316
|
+
...dynamicCombobox,
|
|
317
|
+
staticCombobox
|
|
318
|
+
];
|
|
319
|
+
|
|
288
320
|
const staticDialog = {
|
|
289
321
|
// base
|
|
290
322
|
"dialog": "",
|
|
@@ -1149,7 +1181,8 @@ const shortcuts = [
|
|
|
1149
1181
|
...scrollArea,
|
|
1150
1182
|
...navigationMenu,
|
|
1151
1183
|
...sidebar,
|
|
1152
|
-
...aspectRatio
|
|
1184
|
+
...aspectRatio,
|
|
1185
|
+
...combobox
|
|
1153
1186
|
];
|
|
1154
1187
|
|
|
1155
1188
|
export { shortcuts as s };
|
package/dist/shortcuts.cjs
CHANGED
package/dist/shortcuts.mjs
CHANGED
package/package.json
CHANGED
package/una.css
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
--c-muted-foreground: rgb(var(--una-gray-500));
|
|
74
74
|
--c-accent: rgb(var(--una-gray-100));
|
|
75
75
|
--c-accent-foreground: rgb(var(--una-gray-800));
|
|
76
|
-
--c-popover: rgb(
|
|
76
|
+
--c-popover: rgb(var(--una-gray-800));
|
|
77
77
|
--c-popover-foreground: rgb(var(--una-gray-950));
|
|
78
78
|
--c-border: rgb(var(--una-gray-200));
|
|
79
79
|
--c-border-foreground: rgba(var(--una-gray-700), 0.58);
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
--c-accent: rgb(var(--una-gray-800));
|
|
108
108
|
--c-accent-foreground: rgb(var(--una-gray-100));
|
|
109
109
|
--c-popover: rgb(var(--una-gray-950));
|
|
110
|
-
--c-popover-foreground: rgb(
|
|
110
|
+
--c-popover-foreground: rgb(var(--una-gray-100));
|
|
111
111
|
--c-border: rgba(var(--una-gray-700), 0.58);
|
|
112
112
|
--c-border-foreground: rgb(var(--una-gray-200));
|
|
113
113
|
--c-ring: rgba(var(--una-gray-700), 0.58);
|