@bitrix24/b24ui-nuxt 2.4.1 → 2.4.2
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 +2 -1
- 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/utils/tv.js +1 -0
- package/dist/shared/{b24ui-nuxt.C0de-Y4w.mjs → b24ui-nuxt.C-GSAtA1.mjs} +153 -113
- 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.4.
|
|
11
|
+
const version = "2.4.2";
|
|
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 sm:gap-6 flex-1 overflow-y-auto
|
|
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 sm:gap-6 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 ps-4 pe-4 py-2 scrollbar-thin scrollbar-transparent",
|
|
2950
|
+
footer: [
|
|
2951
|
+
"shrink-0 flex items-center gap-1.5 ps-4 pe-4 py-2",
|
|
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,11 @@ 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)"
|
|
6012
6040
|
].join(" "),
|
|
6013
6041
|
linkTrailingIcon: "size-[16px]",
|
|
6014
6042
|
linkLeadingBadge: "-top-[6px] -right-[14px] -translate-x-1/2",
|
|
@@ -6028,7 +6056,8 @@ const navigationMenu = {
|
|
|
6028
6056
|
content: "absolute top-0 left-0 w-full max-h-[70vh] overflow-y-auto scrollbar-thin scrollbar-transparent"
|
|
6029
6057
|
},
|
|
6030
6058
|
vertical: {
|
|
6031
|
-
root: "flex-col w-full ps-
|
|
6059
|
+
root: "flex-col w-full ps-0 pe-0 rtl:pe-0 rtl:ps-0",
|
|
6060
|
+
// ps-(--menu-items-block-padding-x) rtl:pe-(--menu-items-block-padding-x)
|
|
6032
6061
|
list: "flex flex-col",
|
|
6033
6062
|
item: [
|
|
6034
6063
|
"mt-(--menu-item-block-stack-space)",
|
|
@@ -6074,9 +6103,14 @@ const navigationMenu = {
|
|
|
6074
6103
|
},
|
|
6075
6104
|
active: {
|
|
6076
6105
|
true: {
|
|
6106
|
+
/**
|
|
6107
|
+
* @memo Special color for `light` mode - see b24.settings.
|
|
6108
|
+
* @see src/runtime/air-design-tokens/components/navigation-menu.css
|
|
6109
|
+
*/
|
|
6110
|
+
link: "light:font-semibold",
|
|
6077
6111
|
childLink: [
|
|
6078
|
-
"text-(--ui-color-accent-main-primary)
|
|
6079
|
-
|
|
6112
|
+
"text-(--ui-color-accent-main-primary)",
|
|
6113
|
+
"hover:text-(--ui-color-accent-main-primary)"
|
|
6080
6114
|
].join(" "),
|
|
6081
6115
|
childLinkIcon: "text-(--ui-color-accent-main-primary)"
|
|
6082
6116
|
},
|
|
@@ -6161,7 +6195,10 @@ const navigationMenu = {
|
|
|
6161
6195
|
active: true,
|
|
6162
6196
|
orientation: "horizontal",
|
|
6163
6197
|
class: {
|
|
6164
|
-
link:
|
|
6198
|
+
link: [
|
|
6199
|
+
"leading-7 menu-item-horizontal-active border-(--menu-item-border)",
|
|
6200
|
+
"bitrix-mobile:text-(--ui-color-base-2) bitrix-mobile:bg-transparent bitrix-mobile:border-(--ui-color-base-2)"
|
|
6201
|
+
].join(" ")
|
|
6165
6202
|
}
|
|
6166
6203
|
},
|
|
6167
6204
|
{
|
|
@@ -6977,13 +7014,12 @@ const pinInput = () => ({
|
|
|
6977
7014
|
"px-0 py-0",
|
|
6978
7015
|
"border-0 focus:outline-none",
|
|
6979
7016
|
"disabled:cursor-not-allowed",
|
|
6980
|
-
"disabled:pointer-events-
|
|
7017
|
+
"disabled:pointer-events-auto",
|
|
6981
7018
|
"disabled:select-none",
|
|
6982
7019
|
"disabled:opacity-30",
|
|
6983
7020
|
"disabled:resize-none",
|
|
6984
7021
|
"text-center",
|
|
6985
|
-
"appearance-none transition duration-300 ease-linear",
|
|
6986
|
-
// transition-colors
|
|
7022
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
6987
7023
|
"text-(--ui-color-base-1)",
|
|
6988
7024
|
"style-blurred-bg-input",
|
|
6989
7025
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -7023,7 +7059,7 @@ const pinInput = () => ({
|
|
|
7023
7059
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
7024
7060
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
7025
7061
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
7026
|
-
// @deprecate ////
|
|
7062
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
7027
7063
|
"default": { base: "style-old-default" },
|
|
7028
7064
|
"danger": { base: "style-old-danger" },
|
|
7029
7065
|
"success": { base: "style-old-success" },
|
|
@@ -7824,19 +7860,19 @@ const select = () => {
|
|
|
7824
7860
|
{
|
|
7825
7861
|
slots: {
|
|
7826
7862
|
root: () => "isolate relative inline-flex items-center",
|
|
7827
|
-
// @todo !!! ? w-full need
|
|
7828
7863
|
base: () => [
|
|
7829
7864
|
"relative inline-flex items-center group",
|
|
7830
7865
|
"px-3",
|
|
7831
7866
|
"w-full py-0 border-0 focus:outline-none",
|
|
7832
7867
|
"cursor-pointer",
|
|
7833
7868
|
"disabled:cursor-not-allowed",
|
|
7834
|
-
"disabled:pointer-events-
|
|
7869
|
+
"disabled:pointer-events-auto",
|
|
7870
|
+
// fix ! 'disabled:pointer-events-none',
|
|
7835
7871
|
"disabled:select-none",
|
|
7836
7872
|
"disabled:opacity-30",
|
|
7837
7873
|
"disabled:resize-none",
|
|
7838
|
-
"appearance-none transition duration-300 ease-linear",
|
|
7839
|
-
// transition
|
|
7874
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
7875
|
+
// fix ! transition
|
|
7840
7876
|
"text-(--ui-color-base-1)",
|
|
7841
7877
|
"style-blurred-bg-input",
|
|
7842
7878
|
"hover:text-(--ui-color-base-1)",
|
|
@@ -7849,12 +7885,10 @@ const select = () => {
|
|
|
7849
7885
|
value: "truncate pointer-events-none",
|
|
7850
7886
|
placeholder: "truncate text-(--ui-color-design-plain-na-content-secondary)",
|
|
7851
7887
|
content: [
|
|
7852
|
-
// w-(--reka-combobox-trigger-width)
|
|
7853
7888
|
"base-mode",
|
|
7854
7889
|
"bg-(--ui-color-bg-content-primary)",
|
|
7855
7890
|
"shadow-(--popup-window-box-shadow)",
|
|
7856
7891
|
"rounded-(--ui-border-radius-xl) will-change-[opacity]",
|
|
7857
|
-
// 'ring ring-(--ui-color-divider-default)',
|
|
7858
7892
|
"motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
7859
7893
|
"origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
7860
7894
|
"font-[family-name:var(--ui-font-family-primary)]",
|
|
@@ -7868,10 +7902,8 @@ const select = () => {
|
|
|
7868
7902
|
"scroll-py-1",
|
|
7869
7903
|
"w-[240px] max-h-[40vh]",
|
|
7870
7904
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
7871
|
-
// scrollbar-transparent
|
|
7872
7905
|
].join(" "),
|
|
7873
7906
|
arrow: "fill-(--ui-color-bg-content-primary)",
|
|
7874
|
-
// stroke-(--ui-color-divider-default) for content bottom|top::start -> ml-[12px]
|
|
7875
7907
|
group: "grid",
|
|
7876
7908
|
empty: [
|
|
7877
7909
|
"h-(--popup-window-delimiter-section-height)",
|
|
@@ -7998,6 +8030,7 @@ const select = () => {
|
|
|
7998
8030
|
"air-primary-alert": { item: "style-filled-alert" },
|
|
7999
8031
|
"air-primary-copilot": { item: "style-filled-copilot" },
|
|
8000
8032
|
"air-primary-warning": { item: "style-filled-warning" },
|
|
8033
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
8001
8034
|
"default": { item: "style-old-default" },
|
|
8002
8035
|
"danger": { item: "style-old-danger" },
|
|
8003
8036
|
"success": { item: "style-old-success" },
|
|
@@ -8010,7 +8043,7 @@ const select = () => {
|
|
|
8010
8043
|
},
|
|
8011
8044
|
compoundVariants: (prev) => {
|
|
8012
8045
|
return [
|
|
8013
|
-
// from dropdown-menu
|
|
8046
|
+
// @memo from dropdown-menu
|
|
8014
8047
|
{
|
|
8015
8048
|
colorItem: ["air-primary", "air-primary-success", "air-primary-alert", "air-primary-copilot", "air-primary-warning"],
|
|
8016
8049
|
active: false,
|
|
@@ -8057,6 +8090,7 @@ const select = () => {
|
|
|
8057
8090
|
].join(" ")
|
|
8058
8091
|
}
|
|
8059
8092
|
},
|
|
8093
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
8060
8094
|
{
|
|
8061
8095
|
colorItem: ["danger", "success", "warning", "primary", "secondary", "collab", "ai"],
|
|
8062
8096
|
active: true,
|
|
@@ -8093,12 +8127,10 @@ const selectMenu = () => {
|
|
|
8093
8127
|
"scroll-py-1",
|
|
8094
8128
|
"w-[240px] max-h-[40vh]",
|
|
8095
8129
|
"overflow-x-hidden overflow-y-auto scrollbar-thin"
|
|
8096
|
-
// scrollbar-transparent
|
|
8097
8130
|
].join(" "),
|
|
8098
8131
|
content: (content) => [
|
|
8099
8132
|
content,
|
|
8100
|
-
"origin-(--reka-combobox-content-transform-origin)
|
|
8101
|
-
// w-(--reka-combobox-trigger-width)
|
|
8133
|
+
"origin-(--reka-combobox-content-transform-origin)"
|
|
8102
8134
|
],
|
|
8103
8135
|
trailingClear: "p-0"
|
|
8104
8136
|
},
|
|
@@ -8109,13 +8141,11 @@ const selectMenu = () => {
|
|
|
8109
8141
|
},
|
|
8110
8142
|
false: {
|
|
8111
8143
|
viewport: ""
|
|
8112
|
-
// divide-y divide-(--ui-color-design-tinted-na-stroke)
|
|
8113
8144
|
}
|
|
8114
8145
|
},
|
|
8115
8146
|
addNew: {
|
|
8116
8147
|
true: {
|
|
8117
8148
|
group: "",
|
|
8118
|
-
// p-0 isolate -m-px
|
|
8119
8149
|
item: [
|
|
8120
8150
|
"text-(--b24ui-typography-legend-color)",
|
|
8121
8151
|
"data-highlighted:not-data-disabled:text-(--b24ui-typography-label-color)",
|
|
@@ -8841,10 +8871,11 @@ const table$1 = {
|
|
|
8841
8871
|
root: "relative overflow-auto",
|
|
8842
8872
|
base: [
|
|
8843
8873
|
"min-w-full",
|
|
8844
|
-
"font-[family-name:var(--ui-font-family-primary)]"
|
|
8874
|
+
"font-[family-name:var(--ui-font-family-primary)]",
|
|
8875
|
+
"table-fixed border-separate border-spacing-0"
|
|
8845
8876
|
].join(" "),
|
|
8846
8877
|
caption: "sr-only",
|
|
8847
|
-
thead: "relative",
|
|
8878
|
+
thead: "relative [&>tr]:[&>th]:h-[45px]",
|
|
8848
8879
|
tbody: [
|
|
8849
8880
|
"isolate",
|
|
8850
8881
|
"[&>tr]:data-[selectable=true]:hover:bg-(--ui-color-bg-content-secondary)",
|
|
@@ -8852,7 +8883,8 @@ const table$1 = {
|
|
|
8852
8883
|
"[&>tr]:data-[selectable=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)",
|
|
8853
8884
|
"[&>tr]:data-[selected=true]:hover:bg-(--ui-color-bg-content-secondary)",
|
|
8854
8885
|
"light:[&>tr]:data-[selected=true]:hover:bg-(#eff7d7)",
|
|
8855
|
-
"[&>tr]:data-[selected=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)"
|
|
8886
|
+
"[&>tr]:data-[selected=true]:focus-visible:outline-(--ui-color-accent-soft-element-blue)",
|
|
8887
|
+
"[&>tr]:last:[&>td]:border-b-0"
|
|
8856
8888
|
].join(" "),
|
|
8857
8889
|
tfoot: "relative",
|
|
8858
8890
|
tr: [
|
|
@@ -8860,14 +8892,15 @@ const table$1 = {
|
|
|
8860
8892
|
"light:data-[selected=true]:bg-[#f4fcde]"
|
|
8861
8893
|
].join(" "),
|
|
8862
8894
|
th: [
|
|
8863
|
-
"px-4 py-
|
|
8895
|
+
"px-4 py-2",
|
|
8864
8896
|
"text-(length:--ui-font-size-md)/(--ui-font-line-height-md)",
|
|
8865
8897
|
"text-(--b24ui-typography-label-color)",
|
|
8866
8898
|
"whitespace-nowrap",
|
|
8867
8899
|
"text-left rtl:text-right",
|
|
8868
8900
|
"font-(--ui-font-weight-normal)",
|
|
8869
8901
|
"[&:has([role=checkbox])]:pe-0",
|
|
8870
|
-
"align-middle"
|
|
8902
|
+
"align-middle",
|
|
8903
|
+
"border-b border-(--ui-color-divider-default)"
|
|
8871
8904
|
].join(" "),
|
|
8872
8905
|
td: [
|
|
8873
8906
|
"p-4",
|
|
@@ -8876,7 +8909,8 @@ const table$1 = {
|
|
|
8876
8909
|
"whitespace-nowrap",
|
|
8877
8910
|
"font-(--ui-font-weight-normal)",
|
|
8878
8911
|
"[&:has([role=checkbox])]:pe-0",
|
|
8879
|
-
"align-middle"
|
|
8912
|
+
"align-middle",
|
|
8913
|
+
"border-b border-(--ui-color-divider-default)"
|
|
8880
8914
|
].join(" "),
|
|
8881
8915
|
separator: [
|
|
8882
8916
|
"absolute z-1 left-0",
|
|
@@ -8894,11 +8928,11 @@ const table$1 = {
|
|
|
8894
8928
|
variants: {
|
|
8895
8929
|
virtualize: {
|
|
8896
8930
|
true: {
|
|
8897
|
-
tr: "relative before:absolute before:z-1 before:w-full before:border-b before:border-b-(--ui-color-
|
|
8931
|
+
tr: "relative before:absolute before:z-1 before:w-full before:border-b before:border-b-(--ui-color-divider-default)"
|
|
8898
8932
|
},
|
|
8899
8933
|
false: {
|
|
8900
8934
|
base: "overflow-clip",
|
|
8901
|
-
tbody: "divide-y divide-(--ui-color-
|
|
8935
|
+
tbody: "divide-y divide-(--ui-color-divider-default)"
|
|
8902
8936
|
}
|
|
8903
8937
|
},
|
|
8904
8938
|
pinned: {
|
|
@@ -9254,17 +9288,15 @@ const tabs$1 = {
|
|
|
9254
9288
|
const textarea = {
|
|
9255
9289
|
slots: {
|
|
9256
9290
|
root: "isolate relative inline-flex items-center",
|
|
9257
|
-
// remove ? w-full
|
|
9258
9291
|
base: [
|
|
9259
9292
|
"px-3",
|
|
9260
9293
|
"w-full pt-[7px] pb-[8px] border-0 focus:outline-none",
|
|
9261
9294
|
"disabled:cursor-not-allowed",
|
|
9262
|
-
"disabled:pointer-events-
|
|
9295
|
+
"disabled:pointer-events-auto",
|
|
9263
9296
|
"disabled:select-none",
|
|
9264
9297
|
"disabled:opacity-30",
|
|
9265
9298
|
"disabled:resize-none",
|
|
9266
|
-
"appearance-none transition duration-300 ease-linear",
|
|
9267
|
-
// transition-colors
|
|
9299
|
+
"appearance-none transition-colors duration-300 ease-linear",
|
|
9268
9300
|
"text-(--ui-color-base-1)",
|
|
9269
9301
|
"style-blurred-bg-input",
|
|
9270
9302
|
"placeholder:text-(--ui-color-design-plain-na-content-secondary)",
|
|
@@ -9307,7 +9339,7 @@ const textarea = {
|
|
|
9307
9339
|
"air-primary-alert": { base: "style-filled-alert" },
|
|
9308
9340
|
"air-primary-copilot": { base: "style-filled-copilot" },
|
|
9309
9341
|
"air-primary-warning": { base: "style-filled-warning" },
|
|
9310
|
-
// @deprecate ////
|
|
9342
|
+
// @deprecate This rule is deprecated and will be removed in version `3.0.0` ////
|
|
9311
9343
|
"default": { base: "style-old-default" },
|
|
9312
9344
|
"danger": { base: "style-old-danger" },
|
|
9313
9345
|
"success": { base: "style-old-success" },
|
|
@@ -9380,7 +9412,7 @@ const textarea = {
|
|
|
9380
9412
|
class: {
|
|
9381
9413
|
base: [
|
|
9382
9414
|
"focus-visible:border-(--b24ui-border-color)",
|
|
9383
|
-
"hover:border-(--b24ui-border-color)",
|
|
9415
|
+
"hover:not-disabled:not-data-disabled:border-(--b24ui-border-color)",
|
|
9384
9416
|
"data-[state=open]:border-(--b24ui-border-color)"
|
|
9385
9417
|
].join(" ")
|
|
9386
9418
|
}
|
|
@@ -9413,6 +9445,11 @@ const textarea = {
|
|
|
9413
9445
|
noPadding: false,
|
|
9414
9446
|
class: "ps-[34px]"
|
|
9415
9447
|
},
|
|
9448
|
+
{
|
|
9449
|
+
leading: true,
|
|
9450
|
+
loading: true,
|
|
9451
|
+
class: "ps-[34px]"
|
|
9452
|
+
},
|
|
9416
9453
|
// endregion ////
|
|
9417
9454
|
// region trailing ////
|
|
9418
9455
|
{
|
|
@@ -9802,6 +9839,7 @@ const sidebarLayout = {
|
|
|
9802
9839
|
].join(" "),
|
|
9803
9840
|
sidebar: [
|
|
9804
9841
|
// @memo use src/runtime/air-design-tokens/components/navigation-menu.css
|
|
9842
|
+
// @deprecate This rule (air-sidebar) is deprecated and will be removed in version `3.0.0` ////
|
|
9805
9843
|
"air-sidebar",
|
|
9806
9844
|
"before:absolute before:inset-0 before:z-[-1]",
|
|
9807
9845
|
"before:bg-(--leftmenu-bg-expanded)",
|
|
@@ -9830,6 +9868,7 @@ const sidebarLayout = {
|
|
|
9830
9868
|
].join(" "),
|
|
9831
9869
|
header: [
|
|
9832
9870
|
// @memo use src/runtime/air-design-tokens/components/navigation-menu.css
|
|
9871
|
+
// @deprecate This rule (air-header) is deprecated and will be removed in version `3.0.0` ////
|
|
9833
9872
|
"air-header",
|
|
9834
9873
|
"px-(--content-area-shift) min-h-(--topbar-height)",
|
|
9835
9874
|
"flex items-center gap-x-1"
|
|
@@ -11092,7 +11131,7 @@ const field = {
|
|
|
11092
11131
|
};
|
|
11093
11132
|
|
|
11094
11133
|
const fieldGroup = {
|
|
11095
|
-
base: "my-[20px] divide-y divide-(--ui-color-
|
|
11134
|
+
base: "my-[20px] divide-y divide-(--ui-color-divider-default) *:not-last:pb-[20px]"
|
|
11096
11135
|
};
|
|
11097
11136
|
|
|
11098
11137
|
const ol = {
|
|
@@ -11660,9 +11699,10 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
|
|
|
11660
11699
|
body {
|
|
11661
11700
|
scrollbar-gutter: stable;
|
|
11662
11701
|
background: var(--air-theme-background);
|
|
11663
|
-
@apply ${prefix}antialiased ${prefix}font-(family-name:--ui-font-family-system) ${prefix}
|
|
11702
|
+
@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
11703
|
}
|
|
11665
11704
|
|
|
11705
|
+
/* @deprecate This rule is deprecated and will be removed in version 3.0.0 */
|
|
11666
11706
|
.sidebar-layout.--inner {
|
|
11667
11707
|
background: var(--air-theme-background);
|
|
11668
11708
|
}
|