@bitrix24/b24ui-nuxt 2.4.1 → 2.5.1
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/.nuxt/b24ui.css +4 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -1
- package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -1
- package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -1
- package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -1
- package/dist/runtime/air-design-tokens/013_b24_mobile_light.css +1 -1
- package/dist/runtime/air-design-tokens/014_b24_mobile_dark.css +1 -1
- package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -1
- package/dist/runtime/components/CommandPalette.d.vue.ts +2 -2
- package/dist/runtime/components/CommandPalette.vue +1 -1
- package/dist/runtime/components/CommandPalette.vue.d.ts +2 -2
- package/dist/runtime/components/DashboardSidebar.vue +1 -1
- package/dist/runtime/components/Slideover.d.vue.ts +0 -12
- package/dist/runtime/components/Slideover.vue +65 -90
- package/dist/runtime/components/Slideover.vue.d.ts +0 -12
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/utils/tv.js +1 -0
- package/dist/shared/{b24ui-nuxt.C0de-Y4w.mjs → b24ui-nuxt.DMHr4spo.mjs} +202 -189
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { globSync } from 'tinyglobby';
|
|
|
8
8
|
import { defuFn } from 'defu';
|
|
9
9
|
|
|
10
10
|
const name = "@bitrix24/b24ui-nuxt";
|
|
11
|
-
const version = "2.
|
|
11
|
+
const version = "2.5.1";
|
|
12
12
|
|
|
13
13
|
function getDefaultConfig(theme) {
|
|
14
14
|
return {
|
|
@@ -2425,11 +2425,11 @@ const commandPalette = {
|
|
|
2425
2425
|
root: [
|
|
2426
2426
|
"flex flex-col",
|
|
2427
2427
|
"min-h-0 min-w-0",
|
|
2428
|
-
"divide-y divide-(--ui-color-
|
|
2428
|
+
"divide-y divide-(--ui-color-divider-default)"
|
|
2429
2429
|
].join(" "),
|
|
2430
2430
|
input: "",
|
|
2431
2431
|
close: "",
|
|
2432
|
-
back: "p-0",
|
|
2432
|
+
back: "p-0 -ms-1.5 me-1",
|
|
2433
2433
|
content: "relative overflow-hidden flex flex-col",
|
|
2434
2434
|
footer: "p-1",
|
|
2435
2435
|
viewport: [
|
|
@@ -2489,7 +2489,6 @@ const commandPalette = {
|
|
|
2489
2489
|
},
|
|
2490
2490
|
false: {
|
|
2491
2491
|
viewport: ""
|
|
2492
|
-
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
2493
2492
|
}
|
|
2494
2493
|
},
|
|
2495
2494
|
size: {
|
|
@@ -2854,12 +2853,12 @@ const dashboardGroup = {
|
|
|
2854
2853
|
|
|
2855
2854
|
const dashboardNavbar = {
|
|
2856
2855
|
slots: {
|
|
2857
|
-
root: "h-(--b24ui-header-height) shrink-0 flex items-center justify-between
|
|
2856
|
+
root: "h-(--b24ui-header-height) shrink-0 flex items-center justify-between ps-2 pe-4 lg:ps-4 lg:pe-4 gap-1.5",
|
|
2858
2857
|
left: "flex items-center gap-1.5 min-w-0",
|
|
2859
2858
|
icon: "shrink-0 size-5 self-center me-1.5",
|
|
2860
|
-
title: "flex items-center gap-1.5
|
|
2859
|
+
title: "flex items-center gap-1.5 text-[length:25px] bitrix-mobile:text-[length:18px] font-medium text-(--ui-color-base-1) truncate",
|
|
2861
2860
|
center: "hidden lg:flex",
|
|
2862
|
-
right: "flex items-center shrink-0 gap-
|
|
2861
|
+
right: "flex items-center shrink-0 gap-3",
|
|
2863
2862
|
toggle: ""
|
|
2864
2863
|
},
|
|
2865
2864
|
variants: {
|
|
@@ -2876,8 +2875,8 @@ const dashboardNavbar = {
|
|
|
2876
2875
|
|
|
2877
2876
|
const dashboardPanel = {
|
|
2878
2877
|
slots: {
|
|
2879
|
-
root: "relative flex flex-col min-w-0 min-h-svh lg:not-last:border-e lg:not-last:border-(--ui-color-divider-default) shrink-0",
|
|
2880
|
-
body: "flex flex-col gap-4
|
|
2878
|
+
root: "relative flex flex-col min-w-0 min-h-svh lg:not-last:border-e lg:not-last:border-e-0 lg:not-last:border-(--ui-color-divider-default) shrink-0",
|
|
2879
|
+
body: "flex flex-col gap-4 flex-1 overflow-y-auto sm:p-4 sm:pt-0 scrollbar-thin",
|
|
2881
2880
|
handle: ""
|
|
2882
2881
|
},
|
|
2883
2882
|
variants: {
|
|
@@ -2941,10 +2940,18 @@ const dashboardSearchButton = {
|
|
|
2941
2940
|
|
|
2942
2941
|
const dashboardSidebar = {
|
|
2943
2942
|
slots: {
|
|
2944
|
-
root:
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2943
|
+
root: [
|
|
2944
|
+
"relative hidden lg:flex flex-col min-h-svh min-w-16 w-(--width) shrink-0",
|
|
2945
|
+
"backdrop-blur-sm bg-(--ui-color-bg-content-primary)/20 light:bg-transparent dark:bg-(--ui-color-bg-content-primary)/70",
|
|
2946
|
+
"light:bg-transparent light:[--leftmenu-group-stroke:var(--ui-color-base-30)]"
|
|
2947
|
+
].join(" "),
|
|
2948
|
+
header: "h-(--b24ui-header-height) shrink-0 flex items-center gap-1.5 ps-4 pe-4",
|
|
2949
|
+
body: "flex flex-col gap-4 flex-1 overflow-y-auto py-2 ps-4 pe-4 md:pe-2 scrollbar-thin scrollbar-transparent",
|
|
2950
|
+
footer: [
|
|
2951
|
+
"shrink-0 flex items-center gap-1.5 py-2 ps-4 pe-4",
|
|
2952
|
+
"lg:border-t lg:border-(--ui-color-divider-default)",
|
|
2953
|
+
"light:lg:border-(--ui-color-base-30)"
|
|
2954
|
+
].join(" "),
|
|
2948
2955
|
toggle: "",
|
|
2949
2956
|
handle: "",
|
|
2950
2957
|
content: "lg:hidden",
|
|
@@ -2960,7 +2967,7 @@ const dashboardSidebar = {
|
|
|
2960
2967
|
},
|
|
2961
2968
|
side: {
|
|
2962
2969
|
left: {
|
|
2963
|
-
root: "border-e border-(--ui-color-divider-
|
|
2970
|
+
root: "border-e border-e-0 border-(--ui-color-divider-accent)"
|
|
2964
2971
|
},
|
|
2965
2972
|
right: {
|
|
2966
2973
|
root: ""
|
|
@@ -2999,7 +3006,7 @@ const dashboardSidebarToggle = {
|
|
|
2999
3006
|
|
|
3000
3007
|
const dashboardToolbar = {
|
|
3001
3008
|
slots: {
|
|
3002
|
-
root: "shrink-0 flex items-center justify-between border-
|
|
3009
|
+
root: "shrink-0 flex items-center justify-between border-0 px-4 gap-1.5 overflow-x-auto min-h-[49px]",
|
|
3003
3010
|
left: "flex items-center gap-1.5",
|
|
3004
3011
|
right: "flex items-center gap-1.5"
|
|
3005
3012
|
}
|
|
@@ -3254,62 +3261,70 @@ const dropdownMenu = {
|
|
|
3254
3261
|
"bg-(--ui-color-bg-content-primary)",
|
|
3255
3262
|
"shadow-(--popup-window-box-shadow)",
|
|
3256
3263
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
3257
|
-
// 'ring ring-(--ui-color-divider-default)',
|
|
3258
3264
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
3259
3265
|
"origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
3260
3266
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
3261
3267
|
"relative",
|
|
3262
3268
|
"isolate",
|
|
3263
|
-
"px-0 py-(--menu-popup-padding)",
|
|
3269
|
+
"px-0 py-(--menu-popup-padding) bitrix-mobile:py-0!",
|
|
3264
3270
|
"pointer-events-auto"
|
|
3265
3271
|
].join(" "),
|
|
3266
3272
|
viewport: [
|
|
3267
3273
|
"relative",
|
|
3268
3274
|
"w-full max-h-[40vh] min-w-[192px]",
|
|
3269
3275
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
3270
|
-
// scrollbar-transparent
|
|
3271
3276
|
].join(" "),
|
|
3272
3277
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
3273
|
-
// stroke-(--ui-color-divider-default) for content bottom|top::start -> ml-[12px]
|
|
3274
3278
|
group: "grid",
|
|
3275
|
-
// p-1 isolate
|
|
3276
3279
|
label: [
|
|
3277
3280
|
"w-full h-(--popup-window-delimiter-section-height)",
|
|
3278
|
-
|
|
3281
|
+
"bitrix-mobile:h-[27px]",
|
|
3279
3282
|
"px-[18px] mt-(--menu-item-block-stack-space)",
|
|
3283
|
+
"bitrix-mobile:pe-0 bitrix-mobile:mt-0 bitrix-mobile:-mb-[12px]",
|
|
3280
3284
|
"flex flex-row rtl:flex-row-reverse items-center",
|
|
3281
3285
|
"select-none outline-none whitespace-nowrap",
|
|
3282
3286
|
"text-start",
|
|
3283
3287
|
"text-(length:--ui-size-sm)",
|
|
3284
|
-
"text-(--
|
|
3288
|
+
"text-(--ui-color-base-3)",
|
|
3289
|
+
'bitrix-mobile:[&_[data-slot="itemLabel"]]:text-(--ui-color-base-5)',
|
|
3285
3290
|
"font-(--ui-font-weight-normal)",
|
|
3286
3291
|
"after:ms-[10px] after:block after:flex-1 after:min-w-[15px] after:h-px after:bg-(--ui-color-divider-vibrant-default)"
|
|
3287
3292
|
].join(" "),
|
|
3288
|
-
separator:
|
|
3293
|
+
separator: [
|
|
3294
|
+
"bg-(--ui-color-divider-vibrant-default)",
|
|
3295
|
+
"my-2 mx-4.5 h-px",
|
|
3296
|
+
"bitrix-mobile:my-0 bitrix-mobile:mx-0 bitrix-mobile:h-1.5"
|
|
3297
|
+
].join(" "),
|
|
3289
3298
|
item: [
|
|
3290
3299
|
"group",
|
|
3291
3300
|
"w-full h-[36px]",
|
|
3292
|
-
|
|
3293
|
-
"px-
|
|
3301
|
+
"bitrix-mobile:h-[42px]",
|
|
3302
|
+
"px-4.5 pe-2 mt-(--menu-item-block-stack-space)",
|
|
3303
|
+
"bitrix-mobile:mt-0",
|
|
3294
3304
|
"relative",
|
|
3295
|
-
"flex flex-row rtl:flex-row-reverse items-center",
|
|
3305
|
+
"flex flex-row rtl:flex-row-reverse items-center gap-2",
|
|
3296
3306
|
"select-none outline-none whitespace-nowrap",
|
|
3297
3307
|
"cursor-pointer",
|
|
3298
3308
|
"data-disabled:cursor-not-allowed data-disabled:opacity-30",
|
|
3299
3309
|
"text-start",
|
|
3300
3310
|
"text-(length:--ui-font-size-md)",
|
|
3301
|
-
"text-(--
|
|
3302
|
-
"
|
|
3303
|
-
"data-
|
|
3311
|
+
"text-(--ui-color-base-1)",
|
|
3312
|
+
"hover:text-(--ui-color-base-1)",
|
|
3313
|
+
"data-highlighted:text-(--ui-color-base-1)",
|
|
3314
|
+
"data-[state=open]:text-(--ui-color-base-1)",
|
|
3304
3315
|
"hover:bg-(--ui-color-divider-optical-1-alt)",
|
|
3305
3316
|
"data-highlighted:bg-(--ui-color-divider-optical-1-alt)",
|
|
3306
3317
|
"data-[state=open]:bg-(--ui-color-divider-optical-1-alt)",
|
|
3307
|
-
"
|
|
3318
|
+
"bitrix-mobile:data-[state=open]:bg-(--ui-color-bg-state-hover-default)",
|
|
3319
|
+
"transition-colors",
|
|
3320
|
+
'bitrix-mobile:[[data-slot="item"]+&]:border-t',
|
|
3321
|
+
"bitrix-mobile:border-t-(--ui-color-divider-vibrant-default)",
|
|
3322
|
+
"bitrix-mobile:data-highlighted:bg-(--ui-color-bg-state-hover-default)"
|
|
3308
3323
|
].join(" "),
|
|
3309
3324
|
itemLeadingIcon: [
|
|
3310
3325
|
"shrink-0",
|
|
3311
|
-
"size-[
|
|
3312
|
-
"text-(--ui-color-
|
|
3326
|
+
"size-[25px]",
|
|
3327
|
+
"text-(--ui-color-base-5)",
|
|
3313
3328
|
"group-data-highlighted:text-(--ui-color-accent-main-primary)",
|
|
3314
3329
|
"group-data-[state=open]:text-(--ui-color-accent-main-primary)",
|
|
3315
3330
|
"group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
|
|
@@ -3320,7 +3335,7 @@ const dropdownMenu = {
|
|
|
3320
3335
|
itemLeadingAvatarSize: "2xs",
|
|
3321
3336
|
// @memo this wrong
|
|
3322
3337
|
itemTrailing: "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
|
|
3323
|
-
itemTrailingIcon: "shrink-0 size-[
|
|
3338
|
+
itemTrailingIcon: "shrink-0 size-[25px] text-(--ui-color-accent-main-primary)",
|
|
3324
3339
|
itemTrailingKbds: "shrink-0 hidden lg:inline-flex items-center gap-0.5",
|
|
3325
3340
|
itemTrailingKbdsSize: "md",
|
|
3326
3341
|
itemWrapper: "flex-1 flex flex-col text-start min-w-0",
|
|
@@ -3329,7 +3344,7 @@ const dropdownMenu = {
|
|
|
3329
3344
|
"group-data-[state=checked]:text-(--ui-color-accent-main-primary)"
|
|
3330
3345
|
].join(" "),
|
|
3331
3346
|
itemDescription: "max-w-[240px] truncate -mt-[6px] text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)",
|
|
3332
|
-
itemLabelExternalIcon: "inline-block size-[
|
|
3347
|
+
itemLabelExternalIcon: "inline-block size-[25px] text-(--ui-color-base-5)"
|
|
3333
3348
|
},
|
|
3334
3349
|
variants: {
|
|
3335
3350
|
color: {
|
|
@@ -3338,7 +3353,7 @@ const dropdownMenu = {
|
|
|
3338
3353
|
"air-primary-alert": { item: "style-filled-alert" },
|
|
3339
3354
|
"air-primary-copilot": { item: "style-filled-copilot" },
|
|
3340
3355
|
"air-primary-warning": { item: "style-filled-warning" },
|
|
3341
|
-
|
|
3356
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
3342
3357
|
"default": { item: "style-old-default" },
|
|
3343
3358
|
"danger": { item: "style-old-danger" },
|
|
3344
3359
|
"success": { item: "style-old-success" },
|
|
@@ -3403,6 +3418,7 @@ const dropdownMenu = {
|
|
|
3403
3418
|
active: true,
|
|
3404
3419
|
class: ""
|
|
3405
3420
|
},
|
|
3421
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
3406
3422
|
{
|
|
3407
3423
|
color: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
3408
3424
|
active: false,
|
|
@@ -3415,6 +3431,7 @@ const dropdownMenu = {
|
|
|
3415
3431
|
].join(" ")
|
|
3416
3432
|
}
|
|
3417
3433
|
},
|
|
3434
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
3418
3435
|
{
|
|
3419
3436
|
color: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
3420
3437
|
active: true,
|
|
@@ -4168,17 +4185,15 @@ const header = {
|
|
|
4168
4185
|
const input = {
|
|
4169
4186
|
slots: {
|
|
4170
4187
|
root: "isolate relative inline-flex items-center",
|
|
4171
|
-
// remove ? w-full -> see select
|
|
4172
4188
|
base: [
|
|
4173
4189
|
"px-3",
|
|
4174
4190
|
"w-full py-0 border-0 focus:outline-none",
|
|
4175
4191
|
"disabled:cursor-not-allowed",
|
|
4176
|
-
"disabled:pointer-events-
|
|
4192
|
+
"disabled:pointer-events-auto",
|
|
4177
4193
|
"disabled:select-none",
|
|
4178
4194
|
"disabled:opacity-30",
|
|
4179
4195
|
"disabled:resize-none",
|
|
4180
|
-
"appearance-none transition duration-300 ease-linear",
|
|
4181
|
-
// transition-colors
|
|
4196
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
4182
4197
|
"text-(--ui-color-base-1)",
|
|
4183
4198
|
"style-blurred-bg-input",
|
|
4184
4199
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -4268,7 +4283,7 @@ const input = {
|
|
|
4268
4283
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
4269
4284
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
4270
4285
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
4271
|
-
// @deprecate ////
|
|
4286
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4272
4287
|
"default": { base: "style-old-default" },
|
|
4273
4288
|
"danger": { base: "style-old-danger" },
|
|
4274
4289
|
"success": { base: "style-old-success" },
|
|
@@ -4347,7 +4362,7 @@ const input = {
|
|
|
4347
4362
|
class: {
|
|
4348
4363
|
base: [
|
|
4349
4364
|
"focus-visible:border-(--b24ui-border-color)",
|
|
4350
|
-
"hover:border-(--b24ui-border-color)",
|
|
4365
|
+
"hover:not-disabled:not-data-disabled:border-(--b24ui-border-color)",
|
|
4351
4366
|
"data-[state=open]:border-(--b24ui-border-color)"
|
|
4352
4367
|
].join(" ")
|
|
4353
4368
|
}
|
|
@@ -4498,6 +4513,23 @@ const input = {
|
|
|
4498
4513
|
trailingIcon: "size-[21px]"
|
|
4499
4514
|
}
|
|
4500
4515
|
},
|
|
4516
|
+
{
|
|
4517
|
+
loading: true,
|
|
4518
|
+
leading: true,
|
|
4519
|
+
noPadding: true,
|
|
4520
|
+
class: {
|
|
4521
|
+
base: "ps-[34px]"
|
|
4522
|
+
}
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
loading: true,
|
|
4526
|
+
leading: false,
|
|
4527
|
+
trailing: true,
|
|
4528
|
+
noPadding: true,
|
|
4529
|
+
class: {
|
|
4530
|
+
base: "pe-[34px]"
|
|
4531
|
+
}
|
|
4532
|
+
},
|
|
4501
4533
|
// endregion ////
|
|
4502
4534
|
// region fieldGroup ////
|
|
4503
4535
|
{
|
|
@@ -4585,7 +4617,7 @@ const inputDate = () => {
|
|
|
4585
4617
|
"data-[segment=literal]:text-(--ui-color-base-6)",
|
|
4586
4618
|
"data-invalid:text-(--ui-color-accent-main-alert)",
|
|
4587
4619
|
"data-disabled:cursor-not-allowed",
|
|
4588
|
-
"data-disabled:pointer-events-
|
|
4620
|
+
"data-disabled:pointer-events-auto",
|
|
4589
4621
|
"data-disabled:select-none",
|
|
4590
4622
|
"data-disabled:opacity-30",
|
|
4591
4623
|
"transition-colors",
|
|
@@ -4632,12 +4664,11 @@ const inputMenu = () => {
|
|
|
4632
4664
|
base: [
|
|
4633
4665
|
"w-full py-0 border-0 focus:outline-none",
|
|
4634
4666
|
"disabled:cursor-not-allowed",
|
|
4635
|
-
"disabled:pointer-events-
|
|
4667
|
+
"disabled:pointer-events-auto",
|
|
4636
4668
|
"disabled:select-none",
|
|
4637
4669
|
"disabled:opacity-30",
|
|
4638
4670
|
"disabled:resize-none",
|
|
4639
|
-
"appearance-none transition duration-300 ease-linear
|
|
4640
|
-
// transition-colors
|
|
4671
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
4641
4672
|
"text-(--ui-color-base-1)",
|
|
4642
4673
|
"style-blurred-bg-input",
|
|
4643
4674
|
"hover:text-(--ui-color-base-1)",
|
|
@@ -4657,11 +4688,9 @@ const inputMenu = () => {
|
|
|
4657
4688
|
trailingClear: "p-0",
|
|
4658
4689
|
content: [
|
|
4659
4690
|
"base-mode",
|
|
4660
|
-
// w-(--reka-combobox-trigger-width)
|
|
4661
4691
|
"bg-(--ui-color-bg-content-primary)",
|
|
4662
4692
|
"shadow-(--popup-window-box-shadow)",
|
|
4663
4693
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
4664
|
-
// 'ring ring-(--ui-color-divider-default)',
|
|
4665
4694
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
4666
4695
|
"origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
4667
4696
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
@@ -4675,14 +4704,11 @@ const inputMenu = () => {
|
|
|
4675
4704
|
"scroll-py-1",
|
|
4676
4705
|
"w-[240px] max-h-[40vh]",
|
|
4677
4706
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
4678
|
-
// scrollbar-transparent
|
|
4679
4707
|
].join(" "),
|
|
4680
4708
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
4681
|
-
// stroke-(--ui-color-divider-default) for content bottom|top::start -> ml-[12px]
|
|
4682
4709
|
group: "grid",
|
|
4683
4710
|
empty: [
|
|
4684
4711
|
"h-(--popup-window-delimiter-section-height)",
|
|
4685
|
-
// 'mt-(--menu-item-block-stack-space)',
|
|
4686
4712
|
"py-[8px]",
|
|
4687
4713
|
"select-none outline-none whitespace-nowrap",
|
|
4688
4714
|
"text-center",
|
|
@@ -4762,7 +4788,8 @@ const inputMenu = () => {
|
|
|
4762
4788
|
tagsItemDelete: [
|
|
4763
4789
|
"cursor-pointer",
|
|
4764
4790
|
"inline-flex items-center",
|
|
4765
|
-
"disabled:
|
|
4791
|
+
"disabled:cursor-not-allowed",
|
|
4792
|
+
"disabled:pointer-events-auto",
|
|
4766
4793
|
"text-(--b24ui-icon-color-secondary)",
|
|
4767
4794
|
"hover:text-(--b24ui-icon-color-secondary-hover)",
|
|
4768
4795
|
"transition-none"
|
|
@@ -4777,13 +4804,11 @@ const inputMenu = () => {
|
|
|
4777
4804
|
},
|
|
4778
4805
|
false: {
|
|
4779
4806
|
viewport: ""
|
|
4780
|
-
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
4781
4807
|
}
|
|
4782
4808
|
},
|
|
4783
4809
|
addNew: {
|
|
4784
4810
|
true: {
|
|
4785
4811
|
group: "",
|
|
4786
|
-
// p-0 isolate -m-px
|
|
4787
4812
|
item: [
|
|
4788
4813
|
"text-(--b24ui-typography-legend-color)",
|
|
4789
4814
|
"data-highlighted:not-data-disabled:text-(--b24ui-typography-label-color)",
|
|
@@ -4815,7 +4840,7 @@ const inputMenu = () => {
|
|
|
4815
4840
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
4816
4841
|
"focus:outline-none",
|
|
4817
4842
|
"disabled:cursor-not-allowed",
|
|
4818
|
-
"disabled:pointer-events-
|
|
4843
|
+
"disabled:pointer-events-auto",
|
|
4819
4844
|
"disabled:select-none",
|
|
4820
4845
|
"disabled:opacity-30",
|
|
4821
4846
|
"focus:ring-0 focus-visible:ring-0"
|
|
@@ -4827,7 +4852,7 @@ const inputMenu = () => {
|
|
|
4827
4852
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
4828
4853
|
"focus:outline-none",
|
|
4829
4854
|
"disabled:cursor-not-allowed",
|
|
4830
|
-
"disabled:pointer-events-
|
|
4855
|
+
"disabled:pointer-events-auto",
|
|
4831
4856
|
"disabled:select-none",
|
|
4832
4857
|
"disabled:opacity-30"
|
|
4833
4858
|
].join(" ")
|
|
@@ -4932,6 +4957,7 @@ const inputMenu = () => {
|
|
|
4932
4957
|
"air-primary-alert": { item: "style-filled-alert" },
|
|
4933
4958
|
"air-primary-copilot": { item: "style-filled-copilot" },
|
|
4934
4959
|
"air-primary-warning": { item: "style-filled-warning" },
|
|
4960
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4935
4961
|
"default": { item: "style-old-default" },
|
|
4936
4962
|
"danger": { item: "style-old-danger" },
|
|
4937
4963
|
"success": { item: "style-old-success" },
|
|
@@ -4943,7 +4969,6 @@ const inputMenu = () => {
|
|
|
4943
4969
|
}
|
|
4944
4970
|
},
|
|
4945
4971
|
compoundVariants: [
|
|
4946
|
-
// 'has-focus-visible:ring-1 has-focus-visible:ring-red-500'
|
|
4947
4972
|
// from dropdown-menu
|
|
4948
4973
|
{
|
|
4949
4974
|
colorItem: ["air-primary", "air-primary-success", "air-primary-alert", "air-primary-copilot", "air-primary-warning"],
|
|
@@ -4979,6 +5004,7 @@ const inputMenu = () => {
|
|
|
4979
5004
|
active: true,
|
|
4980
5005
|
class: ""
|
|
4981
5006
|
},
|
|
5007
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4982
5008
|
{
|
|
4983
5009
|
colorItem: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
4984
5010
|
active: false,
|
|
@@ -4991,6 +5017,7 @@ const inputMenu = () => {
|
|
|
4991
5017
|
].join(" ")
|
|
4992
5018
|
}
|
|
4993
5019
|
},
|
|
5020
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
4994
5021
|
{
|
|
4995
5022
|
colorItem: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
4996
5023
|
active: true,
|
|
@@ -5047,11 +5074,11 @@ const inputNumber = () => {
|
|
|
5047
5074
|
base: [
|
|
5048
5075
|
"w-full py-0 border-0 focus:outline-none",
|
|
5049
5076
|
"disabled:cursor-not-allowed",
|
|
5050
|
-
"disabled:pointer-events-
|
|
5077
|
+
"disabled:pointer-events-auto",
|
|
5078
|
+
"disabled:select-none",
|
|
5051
5079
|
"disabled:opacity-30",
|
|
5052
5080
|
"disabled:resize-none",
|
|
5053
|
-
"appearance-none transition duration-300 ease-linear",
|
|
5054
|
-
// transition-colors
|
|
5081
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
5055
5082
|
"text-(--ui-color-base-1)",
|
|
5056
5083
|
"style-blurred-bg-input",
|
|
5057
5084
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -5082,7 +5109,7 @@ const inputNumber = () => {
|
|
|
5082
5109
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
5083
5110
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
5084
5111
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
5085
|
-
// @deprecate ////
|
|
5112
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
5086
5113
|
"default": { base: "style-old-default" },
|
|
5087
5114
|
"danger": { base: "style-old-danger" },
|
|
5088
5115
|
"success": { base: "style-old-success" },
|
|
@@ -5092,10 +5119,6 @@ const inputNumber = () => {
|
|
|
5092
5119
|
"collab": { base: "style-old-collab" },
|
|
5093
5120
|
"ai": { base: "style-old-ai" }
|
|
5094
5121
|
},
|
|
5095
|
-
/**
|
|
5096
|
-
* @memo now get from Badge
|
|
5097
|
-
*/
|
|
5098
|
-
// tagColor: {},
|
|
5099
5122
|
rounded: {
|
|
5100
5123
|
...input$1.variants.rounded
|
|
5101
5124
|
},
|
|
@@ -5148,7 +5171,7 @@ const inputNumber = () => {
|
|
|
5148
5171
|
"focus-visible:ring-1",
|
|
5149
5172
|
"focus-visible:ring-inset",
|
|
5150
5173
|
"focus-visible:ring-(--b24ui-border-color)",
|
|
5151
|
-
"hover:ring-1 hover:ring-inset hover:ring-(--b24ui-border-color)",
|
|
5174
|
+
"hover:not-disabled:not-data-disabled:ring-1 hover:not-disabled:not-data-disabled:ring-inset hover:not-disabled:not-data-disabled:ring-(--b24ui-border-color)",
|
|
5152
5175
|
"data-[state=open]:ring-1 data-[state=open]:ring-inset data-[state=open]:ring-(--b24ui-border-color)"
|
|
5153
5176
|
].join(" ")
|
|
5154
5177
|
}
|
|
@@ -5477,12 +5500,11 @@ const inputTags = () => {
|
|
|
5477
5500
|
base: [
|
|
5478
5501
|
"border-0 focus:outline-none",
|
|
5479
5502
|
"disabled:cursor-not-allowed",
|
|
5480
|
-
"disabled:pointer-events-
|
|
5503
|
+
"disabled:pointer-events-auto",
|
|
5481
5504
|
"disabled:select-none",
|
|
5482
5505
|
"disabled:opacity-30",
|
|
5483
5506
|
"disabled:resize-none",
|
|
5484
|
-
"appearance-none transition duration-300 ease-linear
|
|
5485
|
-
// transition-colors
|
|
5507
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
5486
5508
|
"text-(--ui-color-base-1)",
|
|
5487
5509
|
"style-blurred-bg-input",
|
|
5488
5510
|
"hover:text-(--ui-color-base-1)",
|
|
@@ -5500,8 +5522,9 @@ const inputTags = () => {
|
|
|
5500
5522
|
"leading-(--main-ui-square-item-height)",
|
|
5501
5523
|
"font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular)",
|
|
5502
5524
|
"inline-flex items-center gap-1",
|
|
5503
|
-
"data-disabled:cursor-not-allowed
|
|
5504
|
-
"data-disabled:
|
|
5525
|
+
"data-disabled:cursor-not-allowed",
|
|
5526
|
+
"data-disabled:opacity-30",
|
|
5527
|
+
"data-disabled:pointer-events-auto",
|
|
5505
5528
|
"data-disabled:select-none",
|
|
5506
5529
|
"text-(--ui-color-design-tinted-content)",
|
|
5507
5530
|
"bg-(--ui-color-design-tinted-bg-alt)"
|
|
@@ -5512,7 +5535,8 @@ const inputTags = () => {
|
|
|
5512
5535
|
itemDelete: [
|
|
5513
5536
|
"cursor-pointer",
|
|
5514
5537
|
"inline-flex items-center",
|
|
5515
|
-
"disabled:
|
|
5538
|
+
"disabled:cursor-not-allowed",
|
|
5539
|
+
"disabled:pointer-events-auto",
|
|
5516
5540
|
"disabled:select-none",
|
|
5517
5541
|
"text-(--b24ui-icon-color-secondary)",
|
|
5518
5542
|
"hover:text-(--b24ui-icon-color-secondary-hover)",
|
|
@@ -5527,7 +5551,7 @@ const inputTags = () => {
|
|
|
5527
5551
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
5528
5552
|
"focus:outline-none",
|
|
5529
5553
|
"disabled:cursor-not-allowed",
|
|
5530
|
-
"disabled:pointer-events-
|
|
5554
|
+
"disabled:pointer-events-auto",
|
|
5531
5555
|
"disabled:select-none",
|
|
5532
5556
|
"disabled:opacity-30",
|
|
5533
5557
|
"focus:ring-0",
|
|
@@ -5673,7 +5697,7 @@ const inputTime = () => {
|
|
|
5673
5697
|
"data-[segment=literal]:text-(--ui-color-base-6)",
|
|
5674
5698
|
"data-invalid:text-(--ui-color-accent-main-alert)",
|
|
5675
5699
|
"data-disabled:cursor-not-allowed",
|
|
5676
|
-
"data-disabled:pointer-events-
|
|
5700
|
+
"data-disabled:pointer-events-auto",
|
|
5677
5701
|
"data-disabled:select-none",
|
|
5678
5702
|
"data-disabled:opacity-30",
|
|
5679
5703
|
"data-disabled:resize-none",
|
|
@@ -5910,7 +5934,7 @@ const navigationMenu = {
|
|
|
5910
5934
|
list: "isolate min-w-0",
|
|
5911
5935
|
label: [
|
|
5912
5936
|
"w-full h-[22px] overflow-hidden mt-[10px]",
|
|
5913
|
-
"opacity-70 text-(length:--ui-font-size-sm)"
|
|
5937
|
+
"opacity-70 text-legend text-(length:--ui-font-size-sm)"
|
|
5914
5938
|
].join(" "),
|
|
5915
5939
|
item: "min-w-0",
|
|
5916
5940
|
link: [
|
|
@@ -6008,7 +6032,14 @@ const navigationMenu = {
|
|
|
6008
6032
|
"menu-item-horizontal",
|
|
6009
6033
|
"h-[32px] min-h-[32px]",
|
|
6010
6034
|
"px-[10px]",
|
|
6011
|
-
"
|
|
6035
|
+
"leading-7",
|
|
6036
|
+
"border border-(--menu-item-background) hover:border-(--ui-color-design-plain-na-focused-stroke) data-[state=open]:bg-(--ui-color-design-plain-na-focused-stroke)",
|
|
6037
|
+
"bitrix-mobile:px-3",
|
|
6038
|
+
"bitrix-mobile:h-[34px] bitrix-mobile:min-h-[34px]",
|
|
6039
|
+
"bitrix-mobile:text-(--ui-color-base-4) bitrix-mobile:border-(--ui-color-base-7)",
|
|
6040
|
+
"bitrix-mobile:leading-6 bitrix-mobile:text-(length:--ui-font-size-md)",
|
|
6041
|
+
// @memo This is a temporary solution until we connect the required font.
|
|
6042
|
+
"bitrix-mobile:scale-x-[0.92]"
|
|
6012
6043
|
].join(" "),
|
|
6013
6044
|
linkTrailingIcon: "size-[16px]",
|
|
6014
6045
|
linkLeadingBadge: "-top-[6px] -right-[14px] -translate-x-1/2",
|
|
@@ -6028,7 +6059,8 @@ const navigationMenu = {
|
|
|
6028
6059
|
content: "absolute top-0 left-0 w-full max-h-[70vh] overflow-y-auto scrollbar-thin scrollbar-transparent"
|
|
6029
6060
|
},
|
|
6030
6061
|
vertical: {
|
|
6031
|
-
root: "flex-col w-full ps-
|
|
6062
|
+
root: "flex-col w-full ps-0 pe-0 rtl:pe-0 rtl:ps-0",
|
|
6063
|
+
// ps-(--menu-items-block-padding-x) rtl:pe-(--menu-items-block-padding-x)
|
|
6032
6064
|
list: "flex flex-col",
|
|
6033
6065
|
item: [
|
|
6034
6066
|
"mt-(--menu-item-block-stack-space)",
|
|
@@ -6074,9 +6106,10 @@ const navigationMenu = {
|
|
|
6074
6106
|
},
|
|
6075
6107
|
active: {
|
|
6076
6108
|
true: {
|
|
6109
|
+
link: "",
|
|
6077
6110
|
childLink: [
|
|
6078
|
-
"text-(--ui-color-accent-main-primary)
|
|
6079
|
-
|
|
6111
|
+
"text-(--ui-color-accent-main-primary)",
|
|
6112
|
+
"hover:text-(--ui-color-accent-main-primary)"
|
|
6080
6113
|
].join(" "),
|
|
6081
6114
|
childLinkIcon: "text-(--ui-color-accent-main-primary)"
|
|
6082
6115
|
},
|
|
@@ -6114,7 +6147,7 @@ const navigationMenu = {
|
|
|
6114
6147
|
collapsed: false,
|
|
6115
6148
|
class: {
|
|
6116
6149
|
item: "data-[state=open]:bg-(--leftmenu-group-bg)",
|
|
6117
|
-
childList: "",
|
|
6150
|
+
childList: "mb-0.5",
|
|
6118
6151
|
childItem: "",
|
|
6119
6152
|
content: "motion-safe:data-[state=open]:animate-[collapsible-down_200ms_ease-out] motion-safe:data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",
|
|
6120
6153
|
linkLabel: "ms-[9px]"
|
|
@@ -6161,7 +6194,10 @@ const navigationMenu = {
|
|
|
6161
6194
|
active: true,
|
|
6162
6195
|
orientation: "horizontal",
|
|
6163
6196
|
class: {
|
|
6164
|
-
link:
|
|
6197
|
+
link: [
|
|
6198
|
+
"leading-7 menu-item-horizontal-active border-(--menu-item-border)",
|
|
6199
|
+
"bitrix-mobile:text-(--ui-color-base-2) bitrix-mobile:bg-transparent bitrix-mobile:border-(--ui-color-base-2)"
|
|
6200
|
+
].join(" ")
|
|
6165
6201
|
}
|
|
6166
6202
|
},
|
|
6167
6203
|
{
|
|
@@ -6977,13 +7013,12 @@ const pinInput = () => ({
|
|
|
6977
7013
|
"px-0 py-0",
|
|
6978
7014
|
"border-0 focus:outline-none",
|
|
6979
7015
|
"disabled:cursor-not-allowed",
|
|
6980
|
-
"disabled:pointer-events-
|
|
7016
|
+
"disabled:pointer-events-auto",
|
|
6981
7017
|
"disabled:select-none",
|
|
6982
7018
|
"disabled:opacity-30",
|
|
6983
7019
|
"disabled:resize-none",
|
|
6984
7020
|
"text-center",
|
|
6985
|
-
"appearance-none transition duration-300 ease-linear",
|
|
6986
|
-
// transition-colors
|
|
7021
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
6987
7022
|
"text-(--ui-color-base-1)",
|
|
6988
7023
|
"style-blurred-bg-input",
|
|
6989
7024
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -7023,7 +7058,7 @@ const pinInput = () => ({
|
|
|
7023
7058
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
7024
7059
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
7025
7060
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
7026
|
-
// @deprecate ////
|
|
7061
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
7027
7062
|
"default": { base: "style-old-default" },
|
|
7028
7063
|
"danger": { base: "style-old-danger" },
|
|
7029
7064
|
"success": { base: "style-old-success" },
|
|
@@ -7824,19 +7859,19 @@ const select = () => {
|
|
|
7824
7859
|
{
|
|
7825
7860
|
slots: {
|
|
7826
7861
|
root: () => "isolate relative inline-flex items-center",
|
|
7827
|
-
// @todo !!! ? w-full need
|
|
7828
7862
|
base: () => [
|
|
7829
7863
|
"relative inline-flex items-center group",
|
|
7830
7864
|
"px-3",
|
|
7831
7865
|
"w-full py-0 border-0 focus:outline-none",
|
|
7832
7866
|
"cursor-pointer",
|
|
7833
7867
|
"disabled:cursor-not-allowed",
|
|
7834
|
-
"disabled:pointer-events-
|
|
7868
|
+
"disabled:pointer-events-auto",
|
|
7869
|
+
// fix ! 'disabled:pointer-events-none',
|
|
7835
7870
|
"disabled:select-none",
|
|
7836
7871
|
"disabled:opacity-30",
|
|
7837
7872
|
"disabled:resize-none",
|
|
7838
|
-
"appearance-none transition duration-300 ease-linear",
|
|
7839
|
-
// transition
|
|
7873
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
7874
|
+
// fix ! transition
|
|
7840
7875
|
"text-(--ui-color-base-1)",
|
|
7841
7876
|
"style-blurred-bg-input",
|
|
7842
7877
|
"hover:text-(--ui-color-base-1)",
|
|
@@ -7849,12 +7884,10 @@ const select = () => {
|
|
|
7849
7884
|
value: "truncate pointer-events-none",
|
|
7850
7885
|
placeholder: "truncate text-(--ui-color-design-plain-na-content-secondary)",
|
|
7851
7886
|
content: [
|
|
7852
|
-
// w-(--reka-combobox-trigger-width)
|
|
7853
7887
|
"base-mode",
|
|
7854
7888
|
"bg-(--ui-color-bg-content-primary)",
|
|
7855
7889
|
"shadow-(--popup-window-box-shadow)",
|
|
7856
7890
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
7857
|
-
// 'ring ring-(--ui-color-divider-default)',
|
|
7858
7891
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
7859
7892
|
"origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
7860
7893
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
@@ -7868,10 +7901,8 @@ const select = () => {
|
|
|
7868
7901
|
"scroll-py-1",
|
|
7869
7902
|
"w-[240px] max-h-[40vh]",
|
|
7870
7903
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
7871
|
-
// scrollbar-transparent
|
|
7872
7904
|
].join(" "),
|
|
7873
7905
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
7874
|
-
// stroke-(--ui-color-divider-default) for content bottom|top::start -> ml-[12px]
|
|
7875
7906
|
group: "grid",
|
|
7876
7907
|
empty: [
|
|
7877
7908
|
"h-(--popup-window-delimiter-section-height)",
|
|
@@ -7998,6 +8029,7 @@ const select = () => {
|
|
|
7998
8029
|
"air-primary-alert": { item: "style-filled-alert" },
|
|
7999
8030
|
"air-primary-copilot": { item: "style-filled-copilot" },
|
|
8000
8031
|
"air-primary-warning": { item: "style-filled-warning" },
|
|
8032
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
8001
8033
|
"default": { item: "style-old-default" },
|
|
8002
8034
|
"danger": { item: "style-old-danger" },
|
|
8003
8035
|
"success": { item: "style-old-success" },
|
|
@@ -8010,7 +8042,7 @@ const select = () => {
|
|
|
8010
8042
|
},
|
|
8011
8043
|
compoundVariants: (prev) => {
|
|
8012
8044
|
return [
|
|
8013
|
-
// from dropdown-menu
|
|
8045
|
+
// @memo from dropdown-menu
|
|
8014
8046
|
{
|
|
8015
8047
|
colorItem: ["air-primary", "air-primary-success", "air-primary-alert", "air-primary-copilot", "air-primary-warning"],
|
|
8016
8048
|
active: false,
|
|
@@ -8057,6 +8089,7 @@ const select = () => {
|
|
|
8057
8089
|
].join(" ")
|
|
8058
8090
|
}
|
|
8059
8091
|
},
|
|
8092
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
8060
8093
|
{
|
|
8061
8094
|
colorItem: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
8062
8095
|
active: true,
|
|
@@ -8093,12 +8126,10 @@ const selectMenu = () => {
|
|
|
8093
8126
|
"scroll-py-1",
|
|
8094
8127
|
"w-[240px] max-h-[40vh]",
|
|
8095
8128
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
8096
|
-
// scrollbar-transparent
|
|
8097
8129
|
].join(" "),
|
|
8098
8130
|
content: (content) => [
|
|
8099
8131
|
content,
|
|
8100
|
-
"origin-(--reka-combobox-content-transform-origin)
|
|
8101
|
-
// w-(--reka-combobox-trigger-width)
|
|
8132
|
+
"origin-(--reka-combobox-content-transform-origin)"
|
|
8102
8133
|
],
|
|
8103
8134
|
trailingClear: "p-0"
|
|
8104
8135
|
},
|
|
@@ -8109,13 +8140,11 @@ const selectMenu = () => {
|
|
|
8109
8140
|
},
|
|
8110
8141
|
false: {
|
|
8111
8142
|
viewport: ""
|
|
8112
|
-
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
8113
8143
|
}
|
|
8114
8144
|
},
|
|
8115
8145
|
addNew: {
|
|
8116
8146
|
true: {
|
|
8117
8147
|
group: "",
|
|
8118
|
-
// p-0 isolate -m-px
|
|
8119
8148
|
item: [
|
|
8120
8149
|
"text-(--b24ui-typography-legend-color)",
|
|
8121
8150
|
"data-highlighted:not-data-disabled:text-(--b24ui-typography-label-color)",
|
|
@@ -8269,25 +8298,35 @@ const safeList = [
|
|
|
8269
8298
|
const slideover = {
|
|
8270
8299
|
slots: {
|
|
8271
8300
|
overlay: "fixed inset-0 bg-linear-to-b from-[#00204e]/52 to-[#00204e]",
|
|
8272
|
-
//
|
|
8273
8301
|
content: [
|
|
8302
|
+
"base-mode",
|
|
8274
8303
|
"fixed",
|
|
8304
|
+
"bg-(--ui-color-gray-05) dark:bg-(--ui-color-base-black-fixed)",
|
|
8275
8305
|
"sm:shadow-lg",
|
|
8276
8306
|
"flex flex-col focus:outline-none",
|
|
8277
8307
|
"h-full"
|
|
8278
8308
|
].join(" "),
|
|
8279
|
-
sidebarLayoutRoot: "relative",
|
|
8280
|
-
sidebarLayoutHeaderWrapper: "relative",
|
|
8281
|
-
sidebarLayoutPageWrapper: "min-h-full pb-[calc(53px_+_10px)] px-[20px] ps-[20px] pe-[20px] pb-[20px] overflow-y-auto scrollbar-thin",
|
|
8282
|
-
sidebarLayoutContainer: "gap-[22px]",
|
|
8283
|
-
sidebarLayoutPageBottomWrapper: "relative",
|
|
8284
|
-
sidebarLayoutLoadingWrapper: "",
|
|
8285
|
-
sidebarLayoutLoadingIcon: "",
|
|
8286
8309
|
header: [
|
|
8287
|
-
"
|
|
8288
|
-
"flex
|
|
8310
|
+
"py-[20px] px-[20px]",
|
|
8311
|
+
"flex items-center gap-x-[12px] gap-y-1.5",
|
|
8312
|
+
"overflow-hidden"
|
|
8289
8313
|
].join(" "),
|
|
8290
8314
|
wrapper: "min-h-[30px]",
|
|
8315
|
+
body: [
|
|
8316
|
+
"size-full",
|
|
8317
|
+
"flex-1 overflow-y-auto pb-2.5 px-[20px]"
|
|
8318
|
+
].join(" "),
|
|
8319
|
+
footer: [
|
|
8320
|
+
"absolute inset-x-0 bottom-0",
|
|
8321
|
+
"base-mode",
|
|
8322
|
+
"bg-(--ui-color-bg-content-primary)",
|
|
8323
|
+
"flex items-center justify-center gap-2.5",
|
|
8324
|
+
//
|
|
8325
|
+
"border-t border-t-1 border-t-(--ui-color-divider-less)",
|
|
8326
|
+
"shadow-top-md",
|
|
8327
|
+
"py-[13px] px-[13px]"
|
|
8328
|
+
// pr-(--scrollbar-width)
|
|
8329
|
+
].join(" "),
|
|
8291
8330
|
title: [
|
|
8292
8331
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
8293
8332
|
"text-(--b24ui-typography-label-color)",
|
|
@@ -8301,26 +8340,12 @@ const slideover = {
|
|
|
8301
8340
|
"text-(length:--ui-font-size-sm)"
|
|
8302
8341
|
].join(" "),
|
|
8303
8342
|
close: "absolute",
|
|
8304
|
-
body: [
|
|
8305
|
-
"size-full",
|
|
8306
|
-
"flex-1"
|
|
8307
|
-
].join(" "),
|
|
8308
|
-
footer: [
|
|
8309
|
-
"absolute inset-x-0 bottom-0",
|
|
8310
|
-
"bg-(--ui-color-bg-content-primary)",
|
|
8311
|
-
// --ui-color-bg-content-primary
|
|
8312
|
-
"flex items-center justify-center gap-3",
|
|
8313
|
-
"border-t border-t-1 border-t-(--ui-color-divider-less)",
|
|
8314
|
-
"shadow-top-md",
|
|
8315
|
-
"py-[9px] px-2 pr-(--scrollbar-width)"
|
|
8316
|
-
].join(" "),
|
|
8317
8343
|
safeList
|
|
8318
8344
|
},
|
|
8319
8345
|
variants: {
|
|
8320
8346
|
useFooter: {
|
|
8321
8347
|
true: {
|
|
8322
|
-
|
|
8323
|
-
// -_18px
|
|
8348
|
+
body: "mb-[64px]"
|
|
8324
8349
|
}
|
|
8325
8350
|
},
|
|
8326
8351
|
overlayBlur: {
|
|
@@ -8335,34 +8360,24 @@ const slideover = {
|
|
|
8335
8360
|
}
|
|
8336
8361
|
},
|
|
8337
8362
|
side: {
|
|
8338
|
-
// @todo fix if parent SidebarLayout.isUseSideBar > w-[calc(100%-135x)] > w-[calc(100%-150px)]
|
|
8339
8363
|
top: {
|
|
8340
|
-
content: ""
|
|
8341
|
-
// 'sm:rounded-t-none'
|
|
8342
|
-
sidebarLayoutRoot: ""
|
|
8343
|
-
// sm:rounded-t-none
|
|
8364
|
+
content: ""
|
|
8344
8365
|
},
|
|
8345
8366
|
right: {
|
|
8346
|
-
content: ""
|
|
8347
|
-
// sm:rounded-t-none
|
|
8348
|
-
sidebarLayoutRoot: ""
|
|
8367
|
+
content: ""
|
|
8349
8368
|
// sm:rounded-t-none
|
|
8350
8369
|
},
|
|
8351
8370
|
bottom: {
|
|
8352
|
-
content: ""
|
|
8353
|
-
sidebarLayoutRoot: ""
|
|
8371
|
+
content: ""
|
|
8354
8372
|
},
|
|
8355
8373
|
left: {
|
|
8356
|
-
content: ""
|
|
8357
|
-
// sm:rounded-t-none
|
|
8358
|
-
sidebarLayoutRoot: ""
|
|
8374
|
+
content: ""
|
|
8359
8375
|
// sm:rounded-t-none
|
|
8360
8376
|
}
|
|
8361
8377
|
},
|
|
8362
8378
|
inset: {
|
|
8363
8379
|
true: {
|
|
8364
|
-
content: "rounded-
|
|
8365
|
-
sidebarLayoutRoot: "rounded-[18px]"
|
|
8380
|
+
content: "rounded-4.5"
|
|
8366
8381
|
}
|
|
8367
8382
|
},
|
|
8368
8383
|
transition: {
|
|
@@ -8380,13 +8395,12 @@ const slideover = {
|
|
|
8380
8395
|
content: "max-h-[calc(100%-2rem)] inset-x-4 top-4"
|
|
8381
8396
|
}
|
|
8382
8397
|
},
|
|
8398
|
+
// @todo remove this ?
|
|
8383
8399
|
{
|
|
8384
8400
|
side: "top",
|
|
8385
8401
|
inset: true,
|
|
8386
8402
|
useFooter: true,
|
|
8387
|
-
class: {
|
|
8388
|
-
sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px-2rem)]"
|
|
8389
|
-
}
|
|
8403
|
+
class: {}
|
|
8390
8404
|
},
|
|
8391
8405
|
{
|
|
8392
8406
|
side: "top",
|
|
@@ -8402,13 +8416,12 @@ const slideover = {
|
|
|
8402
8416
|
content: "w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] inset-y-4 right-4 "
|
|
8403
8417
|
}
|
|
8404
8418
|
},
|
|
8419
|
+
// @todo remove this ?
|
|
8405
8420
|
{
|
|
8406
8421
|
side: "right",
|
|
8407
8422
|
inset: true,
|
|
8408
8423
|
useFooter: true,
|
|
8409
|
-
class: {
|
|
8410
|
-
sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px-2rem)]"
|
|
8411
|
-
}
|
|
8424
|
+
class: {}
|
|
8412
8425
|
},
|
|
8413
8426
|
{
|
|
8414
8427
|
side: "right",
|
|
@@ -8421,18 +8434,15 @@ const slideover = {
|
|
|
8421
8434
|
side: "bottom",
|
|
8422
8435
|
inset: true,
|
|
8423
8436
|
class: {
|
|
8424
|
-
content: [
|
|
8425
|
-
"max-h-[calc(100%-2rem)] w-[calc(100%-2rem)] end-4 bottom-4"
|
|
8426
|
-
].join(" ")
|
|
8437
|
+
content: "max-h-[calc(100%-2rem)] w-[calc(100%-2rem)] end-4 bottom-4"
|
|
8427
8438
|
}
|
|
8428
8439
|
},
|
|
8440
|
+
// @todo remove this ?
|
|
8429
8441
|
{
|
|
8430
8442
|
side: "bottom",
|
|
8431
8443
|
inset: true,
|
|
8432
8444
|
useFooter: true,
|
|
8433
|
-
class: {
|
|
8434
|
-
sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px_-_2rem)]"
|
|
8435
|
-
}
|
|
8445
|
+
class: {}
|
|
8436
8446
|
},
|
|
8437
8447
|
{
|
|
8438
8448
|
side: "bottom",
|
|
@@ -8442,8 +8452,7 @@ const slideover = {
|
|
|
8442
8452
|
"max-h-full sm:max-h-[calc(100%-18px)] right-[5px] top-0 sm:top-[18px] bottom-0",
|
|
8443
8453
|
"w-[calc(100%-60px-5px)] sm:w-[calc(100%-150px-70px)]",
|
|
8444
8454
|
"sm:rounded-t-[18px]"
|
|
8445
|
-
].join(" ")
|
|
8446
|
-
sidebarLayoutRoot: "sm:rounded-t-[18px]"
|
|
8455
|
+
].join(" ")
|
|
8447
8456
|
}
|
|
8448
8457
|
},
|
|
8449
8458
|
{
|
|
@@ -8453,13 +8462,12 @@ const slideover = {
|
|
|
8453
8462
|
content: "w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] inset-y-4 left-4"
|
|
8454
8463
|
}
|
|
8455
8464
|
},
|
|
8465
|
+
// @todo remove this ?
|
|
8456
8466
|
{
|
|
8457
8467
|
side: "left",
|
|
8458
8468
|
inset: true,
|
|
8459
8469
|
useFooter: true,
|
|
8460
|
-
class: {
|
|
8461
|
-
sidebarLayoutPageWrapper: "min-h-[calc(100vh_-_53px-2rem)]"
|
|
8462
|
-
}
|
|
8470
|
+
class: {}
|
|
8463
8471
|
},
|
|
8464
8472
|
{
|
|
8465
8473
|
side: "left",
|
|
@@ -8470,13 +8478,12 @@ const slideover = {
|
|
|
8470
8478
|
},
|
|
8471
8479
|
// endregion ////
|
|
8472
8480
|
// region bottom & footer -> min-h ////
|
|
8481
|
+
// @todo remove this ?
|
|
8473
8482
|
{
|
|
8474
8483
|
side: "bottom",
|
|
8475
8484
|
inset: false,
|
|
8476
8485
|
useFooter: true,
|
|
8477
|
-
class: {
|
|
8478
|
-
sidebarLayoutPageWrapper: "sm:min-h-[calc(100vh_-_53px_-18px)]"
|
|
8479
|
-
}
|
|
8486
|
+
class: {}
|
|
8480
8487
|
},
|
|
8481
8488
|
// endregion ////
|
|
8482
8489
|
// region btn.close ////
|
|
@@ -8486,7 +8493,7 @@ const slideover = {
|
|
|
8486
8493
|
class: {
|
|
8487
8494
|
close: [
|
|
8488
8495
|
"pl-1.5 pr-[4px]",
|
|
8489
|
-
"top-[17px] -translate-x-full left-
|
|
8496
|
+
"top-[17px] -translate-x-full left-0",
|
|
8490
8497
|
"rounded-l-full"
|
|
8491
8498
|
].join(" ")
|
|
8492
8499
|
}
|
|
@@ -8497,7 +8504,7 @@ const slideover = {
|
|
|
8497
8504
|
class: {
|
|
8498
8505
|
close: [
|
|
8499
8506
|
"pr-1.5 pl-[4px]",
|
|
8500
|
-
"top-[17px] translate-x-full right-
|
|
8507
|
+
"top-[17px] translate-x-full right-0",
|
|
8501
8508
|
"rounded-r-full",
|
|
8502
8509
|
"[&>div]:flex-row-reverse"
|
|
8503
8510
|
].join(" ")
|
|
@@ -8507,17 +8514,13 @@ const slideover = {
|
|
|
8507
8514
|
// side: 'top',
|
|
8508
8515
|
inset: true,
|
|
8509
8516
|
class: {
|
|
8510
|
-
close:
|
|
8511
|
-
"top-4 end-4"
|
|
8512
|
-
].join(" ")
|
|
8517
|
+
close: "top-4 end-4"
|
|
8513
8518
|
}
|
|
8514
8519
|
},
|
|
8515
8520
|
{
|
|
8516
8521
|
side: "top",
|
|
8517
8522
|
class: {
|
|
8518
|
-
close:
|
|
8519
|
-
"top-4 end-4"
|
|
8520
|
-
].join(" ")
|
|
8523
|
+
close: "top-4 end-4"
|
|
8521
8524
|
}
|
|
8522
8525
|
},
|
|
8523
8526
|
// endregion ////
|
|
@@ -8841,10 +8844,11 @@ const table$1 = {
|
|
|
8841
8844
|
root: "relative overflow-auto",
|
|
8842
8845
|
base: [
|
|
8843
8846
|
"min-w-full",
|
|
8844
|
-
"font-[family-name:var(--ui-font-family-primary)]"
|
|
8847
|
+
"font-[family-name:var(--ui-font-family-primary)]",
|
|
8848
|
+
"table-fixed border-separate border-spacing-0"
|
|
8845
8849
|
].join(" "),
|
|
8846
8850
|
caption: "sr-only",
|
|
8847
|
-
thead: "relative",
|
|
8851
|
+
thead: "relative [&>tr]:[&>th]:h-[45px]",
|
|
8848
8852
|
tbody: [
|
|
8849
8853
|
"isolate",
|
|
8850
8854
|
"[&>tr]:data-[selectable=true]:hover:bg-(--ui-color-bg-content-secondary)",
|
|
@@ -8852,7 +8856,8 @@ const table$1 = {
|
|
|
8852
8856
|
"[&>tr]:data-[selectable=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)",
|
|
8853
8857
|
"[&>tr]:data-[selected=true]:hover:bg-(--ui-color-bg-content-secondary)",
|
|
8854
8858
|
"light:[&>tr]:data-[selected=true]:hover:bg-(#eff7d7)",
|
|
8855
|
-
"[&>tr]:data-[selected=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)"
|
|
8859
|
+
"[&>tr]:data-[selected=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)",
|
|
8860
|
+
"[&>tr]:last:[&>td]:border-b-0"
|
|
8856
8861
|
].join(" "),
|
|
8857
8862
|
tfoot: "relative",
|
|
8858
8863
|
tr: [
|
|
@@ -8860,14 +8865,15 @@ const table$1 = {
|
|
|
8860
8865
|
"light:data-[selected=true]:bg-[#f4fcde]"
|
|
8861
8866
|
].join(" "),
|
|
8862
8867
|
th: [
|
|
8863
|
-
"px-4 py-
|
|
8868
|
+
"px-4 py-2",
|
|
8864
8869
|
"text-(length:--ui-font-size-md)/(--ui-font-line-height-md)",
|
|
8865
8870
|
"text-(--b24ui-typography-label-color)",
|
|
8866
8871
|
"whitespace-nowrap",
|
|
8867
8872
|
"text-left rtl:text-right",
|
|
8868
8873
|
"font-(--ui-font-weight-normal)",
|
|
8869
8874
|
"[&:has([role=checkbox])]:pe-0",
|
|
8870
|
-
"align-middle"
|
|
8875
|
+
"align-middle",
|
|
8876
|
+
"border-b border-(--ui-color-divider-default)"
|
|
8871
8877
|
].join(" "),
|
|
8872
8878
|
td: [
|
|
8873
8879
|
"p-4",
|
|
@@ -8876,7 +8882,8 @@ const table$1 = {
|
|
|
8876
8882
|
"whitespace-nowrap",
|
|
8877
8883
|
"font-(--ui-font-weight-normal)",
|
|
8878
8884
|
"[&:has([role=checkbox])]:pe-0",
|
|
8879
|
-
"align-middle"
|
|
8885
|
+
"align-middle",
|
|
8886
|
+
"border-b border-(--ui-color-divider-default)"
|
|
8880
8887
|
].join(" "),
|
|
8881
8888
|
separator: [
|
|
8882
8889
|
"absolute z-1 left-0",
|
|
@@ -8894,11 +8901,11 @@ const table$1 = {
|
|
|
8894
8901
|
variants: {
|
|
8895
8902
|
virtualize: {
|
|
8896
8903
|
true: {
|
|
8897
|
-
tr: "relative before:absolute before:z-1 before:w-full before:border-b before:border-b-(--ui-color-
|
|
8904
|
+
tr: "relative before:absolute before:z-1 before:w-full before:border-b before:border-b-(--ui-color-divider-default)"
|
|
8898
8905
|
},
|
|
8899
8906
|
false: {
|
|
8900
8907
|
base: "overflow-clip",
|
|
8901
|
-
tbody: "divide-y divide-(--ui-color-
|
|
8908
|
+
tbody: "divide-y divide-(--ui-color-divider-default)"
|
|
8902
8909
|
}
|
|
8903
8910
|
},
|
|
8904
8911
|
pinned: {
|
|
@@ -9254,17 +9261,15 @@ const tabs$1 = {
|
|
|
9254
9261
|
const textarea = {
|
|
9255
9262
|
slots: {
|
|
9256
9263
|
root: "isolate relative inline-flex items-center",
|
|
9257
|
-
// remove ? w-full
|
|
9258
9264
|
base: [
|
|
9259
9265
|
"px-3",
|
|
9260
9266
|
"w-full pt-[7px] pb-[8px] border-0 focus:outline-none",
|
|
9261
9267
|
"disabled:cursor-not-allowed",
|
|
9262
|
-
"disabled:pointer-events-
|
|
9268
|
+
"disabled:pointer-events-auto",
|
|
9263
9269
|
"disabled:select-none",
|
|
9264
9270
|
"disabled:opacity-30",
|
|
9265
9271
|
"disabled:resize-none",
|
|
9266
|
-
"appearance-none transition duration-300 ease-linear",
|
|
9267
|
-
// transition-colors
|
|
9272
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
9268
9273
|
"text-(--ui-color-base-1)",
|
|
9269
9274
|
"style-blurred-bg-input",
|
|
9270
9275
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -9307,7 +9312,7 @@ const textarea = {
|
|
|
9307
9312
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
9308
9313
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
9309
9314
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
9310
|
-
// @deprecate ////
|
|
9315
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
9311
9316
|
"default": { base: "style-old-default" },
|
|
9312
9317
|
"danger": { base: "style-old-danger" },
|
|
9313
9318
|
"success": { base: "style-old-success" },
|
|
@@ -9380,7 +9385,7 @@ const textarea = {
|
|
|
9380
9385
|
class: {
|
|
9381
9386
|
base: [
|
|
9382
9387
|
"focus-visible:border-(--b24ui-border-color)",
|
|
9383
|
-
"hover:border-(--b24ui-border-color)",
|
|
9388
|
+
"hover:not-disabled:not-data-disabled:border-(--b24ui-border-color)",
|
|
9384
9389
|
"data-[state=open]:border-(--b24ui-border-color)"
|
|
9385
9390
|
].join(" ")
|
|
9386
9391
|
}
|
|
@@ -9413,6 +9418,11 @@ const textarea = {
|
|
|
9413
9418
|
noPadding: false,
|
|
9414
9419
|
class: "ps-[34px]"
|
|
9415
9420
|
},
|
|
9421
|
+
{
|
|
9422
|
+
leading: true,
|
|
9423
|
+
loading: true,
|
|
9424
|
+
class: "ps-[34px]"
|
|
9425
|
+
},
|
|
9416
9426
|
// endregion ////
|
|
9417
9427
|
// region trailing ////
|
|
9418
9428
|
{
|
|
@@ -9630,11 +9640,11 @@ const toast = {
|
|
|
9630
9640
|
root: [
|
|
9631
9641
|
"dark",
|
|
9632
9642
|
"relative group overflow-hidden",
|
|
9633
|
-
"rounded-[
|
|
9634
|
-
"flex
|
|
9643
|
+
"rounded-[8px] p-4",
|
|
9644
|
+
"flex gap-4",
|
|
9635
9645
|
"focus-visible:outline-(length:--ui-design-outline-stroke-weight) focus-visible:outline-offset-2 focus-visible:outline-(--ui-color-design-outline-content-divider)",
|
|
9636
9646
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
9637
|
-
"bg-(--ui-color-
|
|
9647
|
+
"bg-(--ui-color-base-black-fixed)/80",
|
|
9638
9648
|
"text-(--ui-color-design-plain-na-focused-content)",
|
|
9639
9649
|
"text-(length:--ui-font-size-sm) font-(--ui-font-weight-normal)"
|
|
9640
9650
|
].join(" "),
|
|
@@ -9646,8 +9656,7 @@ const toast = {
|
|
|
9646
9656
|
avatarSize: "xl",
|
|
9647
9657
|
actions: "flex gap-1.5 shrink-0",
|
|
9648
9658
|
progress: "absolute inset-x-0 bottom-0",
|
|
9649
|
-
|
|
9650
|
-
close: "p-0"
|
|
9659
|
+
close: "p-0 absolute top-2 right-2"
|
|
9651
9660
|
},
|
|
9652
9661
|
variants: {
|
|
9653
9662
|
color: {
|
|
@@ -9657,7 +9666,7 @@ const toast = {
|
|
|
9657
9666
|
"air-primary-copilot": { root: "style-filled-copilot" },
|
|
9658
9667
|
"air-primary-warning": { root: "style-filled-warning" },
|
|
9659
9668
|
"air-secondary": { root: "style-filled-inverted" },
|
|
9660
|
-
// @deprecate ////
|
|
9669
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
9661
9670
|
"default": { root: "old-style-default" },
|
|
9662
9671
|
"danger": { root: "old-style-danger" },
|
|
9663
9672
|
"success": { root: "old-style-success" },
|
|
@@ -9802,6 +9811,7 @@ const sidebarLayout = {
|
|
|
9802
9811
|
].join(" "),
|
|
9803
9812
|
sidebar: [
|
|
9804
9813
|
// @memo use src/runtime/air-design-tokens/components/navigation-menu.css
|
|
9814
|
+
// @deprecate This rule (air-sidebar) is deprecated and will be removed in version `3.0.0` ////
|
|
9805
9815
|
"air-sidebar",
|
|
9806
9816
|
"before:absolute before:inset-0 before:z-[-1]",
|
|
9807
9817
|
"before:bg-(--leftmenu-bg-expanded)",
|
|
@@ -9830,6 +9840,7 @@ const sidebarLayout = {
|
|
|
9830
9840
|
].join(" "),
|
|
9831
9841
|
header: [
|
|
9832
9842
|
// @memo use src/runtime/air-design-tokens/components/navigation-menu.css
|
|
9843
|
+
// @deprecate This rule (air-header) is deprecated and will be removed in version `3.0.0` ////
|
|
9833
9844
|
"air-header",
|
|
9834
9845
|
"px-(--content-area-shift) min-h-(--topbar-height)",
|
|
9835
9846
|
"flex items-center gap-x-1"
|
|
@@ -11092,7 +11103,7 @@ const field = {
|
|
|
11092
11103
|
};
|
|
11093
11104
|
|
|
11094
11105
|
const fieldGroup = {
|
|
11095
|
-
base: "my-[20px] divide-y divide-(--ui-color-
|
|
11106
|
+
base: "my-[20px] divide-y divide-(--ui-color-divider-default) *:not-last:pb-[20px]"
|
|
11096
11107
|
};
|
|
11097
11108
|
|
|
11098
11109
|
const ol = {
|
|
@@ -11660,10 +11671,12 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
|
|
|
11660
11671
|
body {
|
|
11661
11672
|
scrollbar-gutter: stable;
|
|
11662
11673
|
background: var(--air-theme-background);
|
|
11663
|
-
@apply ${prefix}antialiased ${prefix}font-(family-name:--ui-font-family-system) ${prefix}
|
|
11674
|
+
@apply ${prefix}antialiased ${prefix}font-(family-name:--ui-font-family-system) ${prefix}scheme-light ${prefix}dark:scheme-dark ${prefix}edge-light:scheme-light ${prefix}edge-dark:scheme-light;
|
|
11664
11675
|
}
|
|
11665
11676
|
|
|
11666
|
-
.
|
|
11677
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
11678
|
+
.sidebar-layout.--inner,
|
|
11679
|
+
.air-custom-bg {
|
|
11667
11680
|
background: var(--air-theme-background);
|
|
11668
11681
|
}
|
|
11669
11682
|
}
|