banhaten 0.3.0 → 0.4.0
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/CHANGELOG.md +27 -0
- package/README.md +4 -4
- package/docs/design-system/component-implementation-ownership-audit.md +2 -1
- package/docs/design-system/component-quality-audit-2026-08-20.md +4 -2
- package/docs/design-system/components/alert-dialog.md +1 -1
- package/docs/design-system/components/alert.md +2 -2
- package/docs/design-system/components/attribute.md +1 -1
- package/docs/design-system/components/avatar.md +2 -2
- package/docs/design-system/components/banner.md +2 -2
- package/docs/design-system/components/breadcrumbs.md +2 -2
- package/docs/design-system/components/button-group.md +2 -2
- package/docs/design-system/components/button.md +2 -2
- package/docs/design-system/components/date-picker.md +3 -1
- package/docs/design-system/components/file-upload.md +1 -1
- package/docs/design-system/components/input.md +8 -6
- package/docs/design-system/components/item.md +3 -1
- package/docs/design-system/components/kbd.md +11 -8
- package/docs/design-system/components/menu.md +2 -2
- package/docs/design-system/components/modal.md +1 -1
- package/docs/design-system/components/onboarding-step-list-item.md +2 -2
- package/docs/design-system/components/pagination.md +2 -2
- package/docs/design-system/components/radio-card.md +1 -1
- package/docs/design-system/components/select.md +1 -1
- package/docs/design-system/components/sidebar.md +59 -19
- package/docs/design-system/components/table.md +1 -1
- package/docs/design-system/components/tag.md +3 -3
- package/docs/design-system/components/toolbar.md +1 -1
- package/docs/design-system/density-and-elevation.md +16 -12
- package/docs/design-system/icons.md +6 -1
- package/docs/design-system/installation.md +1 -1
- package/docs/design-system/token-governance.md +7 -8
- package/package.json +1 -1
- package/registry/components/alert-dialog.tsx +1 -1
- package/registry/components/alert.tsx +3 -3
- package/registry/components/attribute.tsx +8 -2
- package/registry/components/avatar.tsx +21 -17
- package/registry/components/button-group.tsx +1 -1
- package/registry/components/button.tsx +1 -1
- package/registry/components/date-picker.tsx +16 -4
- package/registry/components/expanded/OnboardingStepListItem.tsx +6 -5
- package/registry/components/expanded/banner.css +10 -5
- package/registry/components/expanded/breadcrumbs.css +4 -4
- package/registry/components/expanded/fileUpload.css +3 -3
- package/registry/components/expanded/onboardingStepListItem.css +14 -5
- package/registry/components/expanded/table.css +5 -2
- package/registry/components/input.tsx +12 -5
- package/registry/components/item.tsx +1 -1
- package/registry/components/kbd.tsx +109 -15
- package/registry/components/menu.tsx +1 -1
- package/registry/components/modal.tsx +1 -1
- package/registry/components/pagination.tsx +12 -7
- package/registry/components/radio-card.tsx +1 -2
- package/registry/components/select.tsx +1 -1
- package/registry/components/sidebar.tsx +929 -57
- package/registry/components/tag.tsx +1 -1
- package/registry/components/toolbar.tsx +1 -1
- package/registry/examples/attribute-demo.tsx +1 -1
- package/registry/examples/command-palette-demo.tsx +0 -1
- package/registry/examples/kbd-demo.tsx +2 -1
- package/registry/examples/sidebar-demo.tsx +60 -16
- package/registry/guidance/USAGE.md +1 -1
- package/registry/index.json +233 -31
- package/registry/styles/globals.css +152 -118
- package/registry.json +4 -3
- package/tokens/banhaten.tokens.json +169 -49
package/registry/index.json
CHANGED
|
@@ -278,6 +278,7 @@
|
|
|
278
278
|
"--bh-avatar-icon-size-sm",
|
|
279
279
|
"--bh-avatar-icon-size-xl",
|
|
280
280
|
"--bh-avatar-icon-size-xs",
|
|
281
|
+
"--bh-avatar-icon-slot-size",
|
|
281
282
|
"--bh-avatar-radius",
|
|
282
283
|
"--bh-avatar-size",
|
|
283
284
|
"--bh-avatar-size-2xl",
|
|
@@ -311,6 +312,7 @@
|
|
|
311
312
|
"--bh-content-default",
|
|
312
313
|
"--bh-content-on-brand",
|
|
313
314
|
"--bh-font-weight-semibold",
|
|
315
|
+
"--bh-icon-slot-size-default",
|
|
314
316
|
"--bh-icon-stroke-210",
|
|
315
317
|
"--bh-icon-stroke-240",
|
|
316
318
|
"--bh-icon-stroke-260",
|
|
@@ -567,6 +569,8 @@
|
|
|
567
569
|
"--bh-content-on-neutral",
|
|
568
570
|
"--bh-control-default",
|
|
569
571
|
"--bh-control-md",
|
|
572
|
+
"--bh-icon-size-default",
|
|
573
|
+
"--bh-icon-slot-size-default",
|
|
570
574
|
"--bh-icon-stroke-200",
|
|
571
575
|
"--bh-icon-stroke-225",
|
|
572
576
|
"--bh-interactive-ghost-hover",
|
|
@@ -674,6 +678,8 @@
|
|
|
674
678
|
"--bh-border-subtle",
|
|
675
679
|
"--bh-content-default",
|
|
676
680
|
"--bh-content-subtle",
|
|
681
|
+
"--bh-icon-size-default",
|
|
682
|
+
"--bh-icon-slot-size-default",
|
|
677
683
|
"--bh-radius-2xl-12",
|
|
678
684
|
"--bh-radius-full",
|
|
679
685
|
"--bh-radius-lg-8",
|
|
@@ -798,6 +804,7 @@
|
|
|
798
804
|
"--bh-button-gap-xs",
|
|
799
805
|
"--bh-button-icon-offset",
|
|
800
806
|
"--bh-button-icon-size",
|
|
807
|
+
"--bh-button-icon-slot-size",
|
|
801
808
|
"--bh-button-label-padding-x",
|
|
802
809
|
"--bh-button-lg-height",
|
|
803
810
|
"--bh-button-lg-padding-x",
|
|
@@ -1231,6 +1238,7 @@
|
|
|
1231
1238
|
"--bh-button-group-content-disabled",
|
|
1232
1239
|
"--bh-button-group-divider",
|
|
1233
1240
|
"--bh-button-group-icon-size",
|
|
1241
|
+
"--bh-button-group-icon-slot-size",
|
|
1234
1242
|
"--bh-button-group-item-active-bg",
|
|
1235
1243
|
"--bh-button-group-item-bg",
|
|
1236
1244
|
"--bh-button-group-item-disabled-bg",
|
|
@@ -1594,6 +1602,7 @@
|
|
|
1594
1602
|
"--bh-menu-item-slot-gap",
|
|
1595
1603
|
"--bh-menu-label-padding-x",
|
|
1596
1604
|
"--bh-menu-leading-icon-size",
|
|
1605
|
+
"--bh-menu-leading-icon-slot-size",
|
|
1597
1606
|
"--bh-menu-padding-y",
|
|
1598
1607
|
"--bh-menu-progress-gap",
|
|
1599
1608
|
"--bh-menu-progress-height",
|
|
@@ -2367,8 +2376,8 @@
|
|
|
2367
2376
|
"--bh-text-heading-sm-semibold-letter-spacing",
|
|
2368
2377
|
"--bh-text-heading-sm-semibold-line-height",
|
|
2369
2378
|
"--bh-z-overlay",
|
|
2379
|
+
"--shadow-2xl",
|
|
2370
2380
|
"--shadow-button-focus",
|
|
2371
|
-
"--shadow-lg",
|
|
2372
2381
|
"--shadow-modal"
|
|
2373
2382
|
]
|
|
2374
2383
|
},
|
|
@@ -2488,7 +2497,7 @@
|
|
|
2488
2497
|
"--bh-text-heading-sm-semibold-letter-spacing",
|
|
2489
2498
|
"--bh-text-heading-sm-semibold-line-height",
|
|
2490
2499
|
"--bh-z-overlay",
|
|
2491
|
-
"--shadow-
|
|
2500
|
+
"--shadow-2xl",
|
|
2492
2501
|
"--shadow-modal"
|
|
2493
2502
|
]
|
|
2494
2503
|
},
|
|
@@ -2817,6 +2826,8 @@
|
|
|
2817
2826
|
"--bh-content-default",
|
|
2818
2827
|
"--bh-content-disabled",
|
|
2819
2828
|
"--bh-content-subtle",
|
|
2829
|
+
"--bh-icon-size-default",
|
|
2830
|
+
"--bh-icon-slot-size-default",
|
|
2820
2831
|
"--bh-icon-stroke-180",
|
|
2821
2832
|
"--bh-icon-stroke-200",
|
|
2822
2833
|
"--bh-interactive-radiobutton-default",
|
|
@@ -2986,6 +2997,7 @@
|
|
|
2986
2997
|
"--bh-pagination-control-text-rtl-padding-x",
|
|
2987
2998
|
"--bh-pagination-font-size",
|
|
2988
2999
|
"--bh-pagination-icon-size",
|
|
3000
|
+
"--bh-pagination-icon-slot-size",
|
|
2989
3001
|
"--bh-pagination-item-size",
|
|
2990
3002
|
"--bh-pagination-label-font-weight",
|
|
2991
3003
|
"--bh-pagination-letter-spacing",
|
|
@@ -3136,6 +3148,7 @@
|
|
|
3136
3148
|
"--bh-button-gap-xs",
|
|
3137
3149
|
"--bh-button-icon-offset",
|
|
3138
3150
|
"--bh-button-icon-size",
|
|
3151
|
+
"--bh-button-icon-slot-size",
|
|
3139
3152
|
"--bh-button-label-padding-x",
|
|
3140
3153
|
"--bh-button-md-height",
|
|
3141
3154
|
"--bh-button-md-padding-x",
|
|
@@ -3391,7 +3404,7 @@
|
|
|
3391
3404
|
"leadingIcon": {
|
|
3392
3405
|
"type": "React.ReactNode | false",
|
|
3393
3406
|
"default": null,
|
|
3394
|
-
"description": "Supplies and enables a custom leading
|
|
3407
|
+
"description": "Supplies and enables a custom 16px glyph inside the shared 20px leading slot; false always removes the slot."
|
|
3395
3408
|
},
|
|
3396
3409
|
"hasInformationIcon": {
|
|
3397
3410
|
"type": "boolean",
|
|
@@ -3417,12 +3430,12 @@
|
|
|
3417
3430
|
"shortcutKeys": {
|
|
3418
3431
|
"type": "readonly string[]",
|
|
3419
3432
|
"default": "Mod,K",
|
|
3420
|
-
"description": "Renders the shortcut kind
|
|
3433
|
+
"description": "Renders the shortcut kind as one compact platform-aware Shortcut chip. Use Mod for the primary modifier."
|
|
3421
3434
|
},
|
|
3422
3435
|
"shortcut": {
|
|
3423
3436
|
"type": "React.ReactNode",
|
|
3424
3437
|
"default": null,
|
|
3425
|
-
"description": "Deprecated
|
|
3438
|
+
"description": "Deprecated compact-chip content escape hatch. Prefer shortcutKeys for a structured platform-aware chord.",
|
|
3426
3439
|
"deprecated": true
|
|
3427
3440
|
}
|
|
3428
3441
|
},
|
|
@@ -3469,7 +3482,7 @@
|
|
|
3469
3482
|
],
|
|
3470
3483
|
"recommendedFor": [
|
|
3471
3484
|
"Text, email, URL, number, and other native text-entry controls",
|
|
3472
|
-
"Search fields
|
|
3485
|
+
"Search fields composed with a 16px search glyph in the shared 20px icon slot and a compact Shortcut chip"
|
|
3473
3486
|
],
|
|
3474
3487
|
"avoidWhen": [
|
|
3475
3488
|
"Calendar date or date-range selection; use DatePicker or DateRangePicker",
|
|
@@ -3519,6 +3532,7 @@
|
|
|
3519
3532
|
"--bh-input-content-gap",
|
|
3520
3533
|
"--bh-input-helper-gap",
|
|
3521
3534
|
"--bh-input-icon-size",
|
|
3535
|
+
"--bh-input-icon-slot-size",
|
|
3522
3536
|
"--bh-input-info-icon-size",
|
|
3523
3537
|
"--bh-input-inline-gap",
|
|
3524
3538
|
"--bh-input-inline-tags-gap",
|
|
@@ -3715,13 +3729,14 @@
|
|
|
3715
3729
|
]
|
|
3716
3730
|
},
|
|
3717
3731
|
"kbd": {
|
|
3718
|
-
"description": "Keyboard key and platform-aware shortcut primitives
|
|
3732
|
+
"description": "Keyboard key and platform-aware shortcut primitives: physical keycaps, separated chords, and compact combined hints for inputs and command rows.",
|
|
3719
3733
|
"dependencies": {
|
|
3720
3734
|
"class-variance-authority": "^0.7.1"
|
|
3721
3735
|
},
|
|
3722
3736
|
"parts": [
|
|
3723
3737
|
"Kbd",
|
|
3724
|
-
"KbdShortcut"
|
|
3738
|
+
"KbdShortcut",
|
|
3739
|
+
"Shortcut"
|
|
3725
3740
|
],
|
|
3726
3741
|
"supportedExports": [
|
|
3727
3742
|
{
|
|
@@ -3729,7 +3744,9 @@
|
|
|
3729
3744
|
"values": [
|
|
3730
3745
|
"Kbd",
|
|
3731
3746
|
"KbdShortcut",
|
|
3732
|
-
"
|
|
3747
|
+
"Shortcut",
|
|
3748
|
+
"kbdVariants",
|
|
3749
|
+
"shortcutVariants"
|
|
3733
3750
|
]
|
|
3734
3751
|
}
|
|
3735
3752
|
],
|
|
@@ -3737,7 +3754,7 @@
|
|
|
3737
3754
|
"keys": {
|
|
3738
3755
|
"type": "readonly string[]",
|
|
3739
3756
|
"default": null,
|
|
3740
|
-
"description": "
|
|
3757
|
+
"description": "Used by KbdShortcut and Shortcut. Use Mod for the platform primary modifier; KbdShortcut separates keys while Shortcut combines them."
|
|
3741
3758
|
},
|
|
3742
3759
|
"platform": {
|
|
3743
3760
|
"type": "\"auto\" | \"mac\" | \"windows\" | \"linux\"",
|
|
@@ -3759,10 +3776,11 @@
|
|
|
3759
3776
|
},
|
|
3760
3777
|
"recommendedFor": [
|
|
3761
3778
|
"Single keyboard keys",
|
|
3762
|
-
"Multi-key shortcuts rendered as separate, consistently spaced keycaps"
|
|
3779
|
+
"Multi-key shortcuts rendered as separate, consistently spaced keycaps",
|
|
3780
|
+
"Compact combined shortcut hints inside inputs and constrained action rows"
|
|
3763
3781
|
],
|
|
3764
3782
|
"avoidWhen": [
|
|
3765
|
-
"
|
|
3783
|
+
"Rebuilding shortcut badges locally instead of using Shortcut or KbdShortcut"
|
|
3766
3784
|
],
|
|
3767
3785
|
"rtl": {
|
|
3768
3786
|
"inheritsDirection": false,
|
|
@@ -3786,12 +3804,18 @@
|
|
|
3786
3804
|
"--bh-interactive-soft-default",
|
|
3787
3805
|
"--bh-interactive-soft-disabled",
|
|
3788
3806
|
"--bh-radius-md-6",
|
|
3807
|
+
"--bh-radius-sm-4",
|
|
3808
|
+
"--bh-space-4xl-20",
|
|
3789
3809
|
"--bh-space-5xl-24",
|
|
3790
3810
|
"--bh-space-6xl-32",
|
|
3791
3811
|
"--bh-space-md-8",
|
|
3792
3812
|
"--bh-space-sm-6",
|
|
3793
3813
|
"--bh-space-xs-4",
|
|
3794
3814
|
"--bh-space-xxs-2",
|
|
3815
|
+
"--bh-text-body-2xs-medium-font-size",
|
|
3816
|
+
"--bh-text-body-2xs-medium-font-weight",
|
|
3817
|
+
"--bh-text-body-2xs-medium-letter-spacing",
|
|
3818
|
+
"--bh-text-body-2xs-medium-line-height",
|
|
3795
3819
|
"--bh-text-body-xs-medium-font-size",
|
|
3796
3820
|
"--bh-text-body-xs-medium-font-weight",
|
|
3797
3821
|
"--bh-text-body-xs-medium-letter-spacing",
|
|
@@ -3881,6 +3905,7 @@
|
|
|
3881
3905
|
"--bh-item-gap",
|
|
3882
3906
|
"--bh-item-group-gap",
|
|
3883
3907
|
"--bh-item-icon-size",
|
|
3908
|
+
"--bh-item-icon-slot-size",
|
|
3884
3909
|
"--bh-item-media-radius",
|
|
3885
3910
|
"--bh-item-media-size",
|
|
3886
3911
|
"--bh-item-min-height-lg",
|
|
@@ -4269,6 +4294,7 @@
|
|
|
4269
4294
|
"--bh-content-on-color",
|
|
4270
4295
|
"--bh-content-subtle",
|
|
4271
4296
|
"--bh-font-weight-semibold",
|
|
4297
|
+
"--bh-icon-size-default",
|
|
4272
4298
|
"--bh-icon-stroke-200",
|
|
4273
4299
|
"--bh-icon-stroke-220",
|
|
4274
4300
|
"--bh-interactive-checkbox-default",
|
|
@@ -4566,22 +4592,35 @@
|
|
|
4566
4592
|
]
|
|
4567
4593
|
},
|
|
4568
4594
|
"sidebar": {
|
|
4569
|
-
"description": "
|
|
4595
|
+
"description": "Figma-aligned application sidebar with 280px expanded and 48px collapsed shells, brand and workspace headers, search and actions, default/avatar/nested/tree menu variants, badges, group actions, user footers, controlled state, tooltips, logical placement, and RTL mirroring.",
|
|
4570
4596
|
"dependencies": {
|
|
4571
4597
|
"@radix-ui/react-slot": "^1.2.3",
|
|
4572
4598
|
"lucide-react": "^1.17.0"
|
|
4573
4599
|
},
|
|
4600
|
+
"registryDependencies": [
|
|
4601
|
+
"tooltip"
|
|
4602
|
+
],
|
|
4574
4603
|
"parts": [
|
|
4575
4604
|
"SidebarProvider",
|
|
4576
4605
|
"Sidebar",
|
|
4577
4606
|
"SidebarHeader",
|
|
4607
|
+
"SidebarHeaderAction",
|
|
4608
|
+
"SidebarHeaderBrand",
|
|
4609
|
+
"SidebarHeaderWorkspaceSwitch",
|
|
4578
4610
|
"SidebarBody",
|
|
4579
4611
|
"SidebarFooter",
|
|
4612
|
+
"SidebarFooterUser",
|
|
4580
4613
|
"SidebarGroup",
|
|
4614
|
+
"SidebarGroupAction",
|
|
4581
4615
|
"SidebarGroupLabel",
|
|
4582
4616
|
"SidebarMenu",
|
|
4583
4617
|
"SidebarMenuItem",
|
|
4618
|
+
"SidebarMenuBadge",
|
|
4584
4619
|
"SidebarMenuButton",
|
|
4620
|
+
"SidebarMenuSub",
|
|
4621
|
+
"SidebarMenuSubButton",
|
|
4622
|
+
"SidebarMenuTreeItem",
|
|
4623
|
+
"SidebarTreeGroup",
|
|
4585
4624
|
"SidebarToggle",
|
|
4586
4625
|
"SidebarTrigger",
|
|
4587
4626
|
"SidebarInset",
|
|
@@ -4594,70 +4633,224 @@
|
|
|
4594
4633
|
"Sidebar",
|
|
4595
4634
|
"SidebarBody",
|
|
4596
4635
|
"SidebarFooter",
|
|
4636
|
+
"SidebarFooterUser",
|
|
4597
4637
|
"SidebarGroup",
|
|
4638
|
+
"SidebarGroupAction",
|
|
4598
4639
|
"SidebarGroupLabel",
|
|
4599
4640
|
"SidebarHeader",
|
|
4641
|
+
"SidebarHeaderAction",
|
|
4642
|
+
"SidebarHeaderBrand",
|
|
4643
|
+
"SidebarHeaderWorkspaceSwitch",
|
|
4600
4644
|
"SidebarInset",
|
|
4601
4645
|
"SidebarMenu",
|
|
4646
|
+
"SidebarMenuBadge",
|
|
4602
4647
|
"SidebarMenuButton",
|
|
4603
4648
|
"SidebarMenuItem",
|
|
4649
|
+
"SidebarMenuSub",
|
|
4650
|
+
"SidebarMenuSubButton",
|
|
4651
|
+
"SidebarMenuTreeItem",
|
|
4604
4652
|
"SidebarProvider",
|
|
4605
4653
|
"SidebarRail",
|
|
4606
4654
|
"SidebarToggle",
|
|
4655
|
+
"SidebarTreeGroup",
|
|
4607
4656
|
"SidebarTrigger"
|
|
4608
4657
|
]
|
|
4609
4658
|
}
|
|
4610
4659
|
],
|
|
4660
|
+
"props": {
|
|
4661
|
+
"collapsed": {
|
|
4662
|
+
"type": "boolean",
|
|
4663
|
+
"default": false,
|
|
4664
|
+
"description": "Controls the provider-owned 280px expanded or 48px rail state. Pair with onCollapsedChange for controlled usage."
|
|
4665
|
+
},
|
|
4666
|
+
"defaultCollapsed": {
|
|
4667
|
+
"type": "boolean",
|
|
4668
|
+
"default": false,
|
|
4669
|
+
"description": "Sets the initial rail state when SidebarProvider owns collapse state internally."
|
|
4670
|
+
},
|
|
4671
|
+
"side": {
|
|
4672
|
+
"type": "\"start\" | \"end\"",
|
|
4673
|
+
"default": "start",
|
|
4674
|
+
"description": "Places Sidebar on the logical start or end edge and selects the matching logical border."
|
|
4675
|
+
},
|
|
4676
|
+
"variant": {
|
|
4677
|
+
"type": "SidebarMenuButtonVariant | SidebarWorkspaceVariant | \"default\" | \"supporting-text\"",
|
|
4678
|
+
"default": "part-specific",
|
|
4679
|
+
"description": "Selects default/avatar/nested menu rows, action/card workspace headers, or default/supporting-text footers on the part that owns it."
|
|
4680
|
+
},
|
|
4681
|
+
"active": {
|
|
4682
|
+
"type": "boolean",
|
|
4683
|
+
"default": false,
|
|
4684
|
+
"description": "Applies the selected menu or tree treatment and exposes aria-current=\"page\"."
|
|
4685
|
+
},
|
|
4686
|
+
"state": {
|
|
4687
|
+
"type": "\"default\" | \"hover\" | \"active\" | \"focus\"",
|
|
4688
|
+
"default": "default",
|
|
4689
|
+
"description": "Deterministic interaction state for documentation matrices; product hover and focus remain native CSS interactions."
|
|
4690
|
+
},
|
|
4691
|
+
"showLine": {
|
|
4692
|
+
"type": "boolean",
|
|
4693
|
+
"default": false,
|
|
4694
|
+
"description": "Selects the neutral/brand line-guided Level 2 treatment on SidebarMenuSubButton."
|
|
4695
|
+
},
|
|
4696
|
+
"level": {
|
|
4697
|
+
"type": "1 | 2 | 3 | 4",
|
|
4698
|
+
"default": 1,
|
|
4699
|
+
"description": "Controls tokenized logical indentation for SidebarMenuTreeItem."
|
|
4700
|
+
},
|
|
4701
|
+
"expandable": {
|
|
4702
|
+
"type": "boolean",
|
|
4703
|
+
"default": false,
|
|
4704
|
+
"description": "Adds a disclosure affordance to group labels or tree-group headings."
|
|
4705
|
+
},
|
|
4706
|
+
"asChild": {
|
|
4707
|
+
"type": "boolean",
|
|
4708
|
+
"default": false,
|
|
4709
|
+
"description": "Renders menu, tree, or inset content through Radix Slot while preserving sidebar layout and semantics."
|
|
4710
|
+
}
|
|
4711
|
+
},
|
|
4712
|
+
"defaults": {
|
|
4713
|
+
"directions": "ltr",
|
|
4714
|
+
"sides": "start",
|
|
4715
|
+
"states": "default",
|
|
4716
|
+
"variants": "default menu"
|
|
4717
|
+
},
|
|
4718
|
+
"directions": [
|
|
4719
|
+
"ltr",
|
|
4720
|
+
"rtl"
|
|
4721
|
+
],
|
|
4722
|
+
"sides": [
|
|
4723
|
+
"start",
|
|
4724
|
+
"end"
|
|
4725
|
+
],
|
|
4726
|
+
"states": [
|
|
4727
|
+
"default",
|
|
4728
|
+
"hover",
|
|
4729
|
+
"active",
|
|
4730
|
+
"focus",
|
|
4731
|
+
"expanded",
|
|
4732
|
+
"collapsed"
|
|
4733
|
+
],
|
|
4734
|
+
"variants": [
|
|
4735
|
+
"default menu",
|
|
4736
|
+
"avatar menu",
|
|
4737
|
+
"Level 2 menu",
|
|
4738
|
+
"Level 2 line menu",
|
|
4739
|
+
"workspace actions",
|
|
4740
|
+
"workspace card",
|
|
4741
|
+
"default footer",
|
|
4742
|
+
"supporting-text footer"
|
|
4743
|
+
],
|
|
4611
4744
|
"features": [
|
|
4612
|
-
"
|
|
4745
|
+
"280px expanded and 48px collapsed shells",
|
|
4613
4746
|
"controlled collapse",
|
|
4614
4747
|
"uncontrolled collapse",
|
|
4615
|
-
"
|
|
4616
|
-
"
|
|
4617
|
-
"
|
|
4748
|
+
"brand header with search and collapse actions",
|
|
4749
|
+
"workspace action and card headers",
|
|
4750
|
+
"default, avatar, Level 2, and Level 2 line menu rows",
|
|
4751
|
+
"supporting text, count badge, and trailing action slots",
|
|
4752
|
+
"group labels with disclosure and icon actions",
|
|
4753
|
+
"four-level tree navigation",
|
|
4754
|
+
"supporting-text and bordered user footers",
|
|
4755
|
+
"icon-only rail with tooltips",
|
|
4756
|
+
"logical side placement and RTL mirroring"
|
|
4618
4757
|
],
|
|
4619
4758
|
"tokens": [
|
|
4759
|
+
"--bh-bg-brand-default",
|
|
4760
|
+
"--bh-bg-default",
|
|
4761
|
+
"--bh-bg-default-hover",
|
|
4762
|
+
"--bh-bg-neutral-subtle",
|
|
4763
|
+
"--bh-border-focus",
|
|
4764
|
+
"--bh-border-subtle",
|
|
4765
|
+
"--bh-border-width-default",
|
|
4766
|
+
"--bh-border-width-strong",
|
|
4620
4767
|
"--bh-content-default",
|
|
4768
|
+
"--bh-content-disabled",
|
|
4621
4769
|
"--bh-content-muted",
|
|
4770
|
+
"--bh-content-on-brand",
|
|
4622
4771
|
"--bh-content-subtle",
|
|
4772
|
+
"--bh-control-sm",
|
|
4623
4773
|
"--bh-icon-stroke-200",
|
|
4774
|
+
"--bh-interactive-ghost-active",
|
|
4775
|
+
"--bh-interactive-ghost-default",
|
|
4624
4776
|
"--bh-interactive-ghost-hover",
|
|
4777
|
+
"--bh-opacity-0",
|
|
4778
|
+
"--bh-opacity-100",
|
|
4779
|
+
"--bh-radius-full",
|
|
4625
4780
|
"--bh-radius-lg-8",
|
|
4781
|
+
"--bh-radius-md-6",
|
|
4782
|
+
"--bh-sidebar-active-guide-height",
|
|
4626
4783
|
"--bh-sidebar-bg",
|
|
4627
4784
|
"--bh-sidebar-bg-collapsed",
|
|
4628
4785
|
"--bh-sidebar-border",
|
|
4786
|
+
"--bh-sidebar-brand-height",
|
|
4787
|
+
"--bh-sidebar-compact-control-size",
|
|
4788
|
+
"--bh-sidebar-header-action-size",
|
|
4629
4789
|
"--bh-sidebar-icon-size",
|
|
4790
|
+
"--bh-sidebar-icon-size-collapsed",
|
|
4791
|
+
"--bh-sidebar-icon-slot-size",
|
|
4630
4792
|
"--bh-sidebar-item-bg-active",
|
|
4631
4793
|
"--bh-sidebar-item-bg-hover",
|
|
4632
4794
|
"--bh-sidebar-item-content",
|
|
4633
4795
|
"--bh-sidebar-item-content-active",
|
|
4634
|
-
"--bh-sidebar-item-gap",
|
|
4635
4796
|
"--bh-sidebar-item-height",
|
|
4797
|
+
"--bh-sidebar-item-height-collapsed",
|
|
4636
4798
|
"--bh-sidebar-item-padding-x",
|
|
4799
|
+
"--bh-sidebar-level-2-indent-width",
|
|
4637
4800
|
"--bh-sidebar-padding",
|
|
4638
4801
|
"--bh-sidebar-rail-width",
|
|
4802
|
+
"--bh-sidebar-tree-indent-step",
|
|
4803
|
+
"--bh-sidebar-tree-item-height",
|
|
4639
4804
|
"--bh-sidebar-width",
|
|
4640
4805
|
"--bh-sidebar-width-collapsed",
|
|
4806
|
+
"--bh-sidebar-workspace-card-height",
|
|
4807
|
+
"--bh-sidebar-workspace-trigger-max-width",
|
|
4808
|
+
"--bh-sidebar-workspace-trigger-width",
|
|
4641
4809
|
"--bh-space-19xl-384",
|
|
4810
|
+
"--bh-space-3xl-16",
|
|
4811
|
+
"--bh-space-4xl-20",
|
|
4642
4812
|
"--bh-space-5xl-24",
|
|
4813
|
+
"--bh-space-6xl-32",
|
|
4814
|
+
"--bh-space-8xl-48",
|
|
4815
|
+
"--bh-space-lg-10",
|
|
4643
4816
|
"--bh-space-md-8",
|
|
4817
|
+
"--bh-space-sm-6",
|
|
4644
4818
|
"--bh-space-xl-12",
|
|
4645
4819
|
"--bh-space-xs-4",
|
|
4820
|
+
"--bh-space-xxs-2",
|
|
4821
|
+
"--bh-space-xxxs-1",
|
|
4822
|
+
"--bh-text-body-2xs-regular-font-size",
|
|
4823
|
+
"--bh-text-body-2xs-regular-font-weight",
|
|
4824
|
+
"--bh-text-body-2xs-regular-letter-spacing",
|
|
4825
|
+
"--bh-text-body-2xs-regular-line-height",
|
|
4826
|
+
"--bh-text-body-3xs-semibold-font-size",
|
|
4827
|
+
"--bh-text-body-3xs-semibold-font-weight",
|
|
4828
|
+
"--bh-text-body-3xs-semibold-letter-spacing",
|
|
4829
|
+
"--bh-text-body-3xs-semibold-line-height",
|
|
4646
4830
|
"--bh-text-body-sm-medium-font-size",
|
|
4647
4831
|
"--bh-text-body-sm-medium-font-weight",
|
|
4648
4832
|
"--bh-text-body-sm-medium-letter-spacing",
|
|
4649
4833
|
"--bh-text-body-sm-medium-line-height",
|
|
4650
|
-
"--bh-text-body-
|
|
4651
|
-
"--bh-text-body-
|
|
4652
|
-
"--bh-text-body-
|
|
4653
|
-
"--bh-text-body-
|
|
4654
|
-
"--
|
|
4655
|
-
"--
|
|
4834
|
+
"--bh-text-body-sm-regular-font-size",
|
|
4835
|
+
"--bh-text-body-sm-regular-font-weight",
|
|
4836
|
+
"--bh-text-body-sm-regular-letter-spacing",
|
|
4837
|
+
"--bh-text-body-sm-regular-line-height",
|
|
4838
|
+
"--bh-text-body-xl-semibold-font-size",
|
|
4839
|
+
"--bh-text-body-xl-semibold-font-weight",
|
|
4840
|
+
"--bh-text-body-xl-semibold-letter-spacing",
|
|
4841
|
+
"--bh-text-body-xl-semibold-line-height",
|
|
4842
|
+
"--bh-text-body-xs-regular-font-size",
|
|
4843
|
+
"--bh-text-body-xs-regular-font-weight",
|
|
4844
|
+
"--bh-text-body-xs-regular-letter-spacing",
|
|
4845
|
+
"--bh-text-body-xs-regular-line-height",
|
|
4846
|
+
"--bh-text-body-xs-semibold-font-weight",
|
|
4847
|
+
"--shadow-button-focus"
|
|
4656
4848
|
],
|
|
4657
4849
|
"rtl": {
|
|
4658
4850
|
"inheritsDirection": true,
|
|
4659
|
-
"placement": "Use side=\"start\" or side=\"end\" with dir on SidebarProvider for logical placement.",
|
|
4660
|
-
"spacing": "
|
|
4851
|
+
"placement": "Use side=\"start\" or side=\"end\" with dir on SidebarProvider for logical placement and border selection.",
|
|
4852
|
+
"spacing": "Headers, menu rows, nested guides, tree indentation, group actions, and footer content use logical inline spacing.",
|
|
4853
|
+
"icons": "Directional collapse, disclosure, and tree chevrons mirror in RTL; semantic icons retain their orientation."
|
|
4661
4854
|
},
|
|
4662
4855
|
"files": [
|
|
4663
4856
|
{
|
|
@@ -5087,6 +5280,7 @@
|
|
|
5087
5280
|
"--bh-date-month-year-spacer-height",
|
|
5088
5281
|
"--bh-date-nav-button-size",
|
|
5089
5282
|
"--bh-date-nav-icon-size",
|
|
5283
|
+
"--bh-date-nav-icon-slot-size",
|
|
5090
5284
|
"--bh-date-picker-width",
|
|
5091
5285
|
"--bh-date-presets-width",
|
|
5092
5286
|
"--bh-date-range-month-width",
|
|
@@ -5100,6 +5294,7 @@
|
|
|
5100
5294
|
"--bh-date-trigger-border",
|
|
5101
5295
|
"--bh-date-trigger-height",
|
|
5102
5296
|
"--bh-date-trigger-icon-size",
|
|
5297
|
+
"--bh-date-trigger-icon-slot-size",
|
|
5103
5298
|
"--bh-date-trigger-shadow",
|
|
5104
5299
|
"--bh-date-trigger-width",
|
|
5105
5300
|
"--bh-icon-stroke-180",
|
|
@@ -6090,6 +6285,7 @@
|
|
|
6090
6285
|
"--bh-alert-expanded-radius",
|
|
6091
6286
|
"--bh-alert-expanded-width",
|
|
6092
6287
|
"--bh-alert-icon-size",
|
|
6288
|
+
"--bh-alert-icon-slot-size",
|
|
6093
6289
|
"--bh-bg-danger-subtle",
|
|
6094
6290
|
"--bh-bg-info-subtle",
|
|
6095
6291
|
"--bh-bg-neutral-subtle",
|
|
@@ -6205,6 +6401,8 @@
|
|
|
6205
6401
|
"--bh-font-family",
|
|
6206
6402
|
"--bh-font-weight-regular",
|
|
6207
6403
|
"--bh-font-weight-semibold",
|
|
6404
|
+
"--bh-icon-size-default",
|
|
6405
|
+
"--bh-icon-slot-size-default",
|
|
6208
6406
|
"--bh-icon-stroke-210",
|
|
6209
6407
|
"--bh-icon-stroke-225",
|
|
6210
6408
|
"--bh-input-width",
|
|
@@ -6212,7 +6410,6 @@
|
|
|
6212
6410
|
"--bh-space-17xl-288",
|
|
6213
6411
|
"--bh-space-19xl-384",
|
|
6214
6412
|
"--bh-space-3xl-16",
|
|
6215
|
-
"--bh-space-4xl-20",
|
|
6216
6413
|
"--bh-space-8xl-48",
|
|
6217
6414
|
"--bh-space-lg-10",
|
|
6218
6415
|
"--bh-space-md-8",
|
|
@@ -6230,7 +6427,7 @@
|
|
|
6230
6427
|
"--bh-text-body-md-medium-font-weight",
|
|
6231
6428
|
"--bh-text-body-md-medium-letter-spacing",
|
|
6232
6429
|
"--bh-text-body-md-medium-line-height",
|
|
6233
|
-
"--shadow-
|
|
6430
|
+
"--shadow-xl"
|
|
6234
6431
|
]
|
|
6235
6432
|
},
|
|
6236
6433
|
"catalog-components": {
|
|
@@ -6410,6 +6607,8 @@
|
|
|
6410
6607
|
"--bh-focus-ring-width",
|
|
6411
6608
|
"--bh-font-family",
|
|
6412
6609
|
"--bh-font-weight-medium",
|
|
6610
|
+
"--bh-icon-size-default",
|
|
6611
|
+
"--bh-icon-slot-size-default",
|
|
6413
6612
|
"--bh-icon-stroke-190",
|
|
6414
6613
|
"--bh-icon-stroke-200",
|
|
6415
6614
|
"--bh-icon-stroke-225",
|
|
@@ -6417,7 +6616,6 @@
|
|
|
6417
6616
|
"--bh-radius-lg-8",
|
|
6418
6617
|
"--bh-radius-sm-4",
|
|
6419
6618
|
"--bh-space-3xl-16",
|
|
6420
|
-
"--bh-space-4xl-20",
|
|
6421
6619
|
"--bh-space-6xl-32",
|
|
6422
6620
|
"--bh-space-md-8",
|
|
6423
6621
|
"--bh-space-xl-12",
|
|
@@ -6536,6 +6734,7 @@
|
|
|
6536
6734
|
"--bh-font-weight-medium",
|
|
6537
6735
|
"--bh-font-weight-regular",
|
|
6538
6736
|
"--bh-font-weight-semibold",
|
|
6737
|
+
"--bh-icon-size-default",
|
|
6539
6738
|
"--bh-icon-stroke-200",
|
|
6540
6739
|
"--bh-icon-stroke-220",
|
|
6541
6740
|
"--bh-radius-2xl-12",
|
|
@@ -6574,7 +6773,7 @@
|
|
|
6574
6773
|
"--bh-text-body-xs-regular-line-height",
|
|
6575
6774
|
"--bh-underline-offset-default",
|
|
6576
6775
|
"--shadow-component-default",
|
|
6577
|
-
"--shadow-
|
|
6776
|
+
"--shadow-sm"
|
|
6578
6777
|
]
|
|
6579
6778
|
},
|
|
6580
6779
|
"table": {
|
|
@@ -6707,6 +6906,8 @@
|
|
|
6707
6906
|
"--bh-focus-ring-width",
|
|
6708
6907
|
"--bh-font-family",
|
|
6709
6908
|
"--bh-font-weight-semibold",
|
|
6909
|
+
"--bh-icon-size-default",
|
|
6910
|
+
"--bh-icon-slot-size-default",
|
|
6710
6911
|
"--bh-icon-stroke-190",
|
|
6711
6912
|
"--bh-icon-stroke-225",
|
|
6712
6913
|
"--bh-input-width",
|
|
@@ -6887,10 +7088,11 @@
|
|
|
6887
7088
|
"--bh-content-success-default",
|
|
6888
7089
|
"--bh-control-default",
|
|
6889
7090
|
"--bh-font-family",
|
|
7091
|
+
"--bh-icon-size-default",
|
|
7092
|
+
"--bh-icon-slot-size-default",
|
|
6890
7093
|
"--bh-icon-stroke-225",
|
|
6891
7094
|
"--bh-space-17xl-288",
|
|
6892
7095
|
"--bh-space-2xl-14",
|
|
6893
|
-
"--bh-space-4xl-20",
|
|
6894
7096
|
"--bh-space-5xl-24",
|
|
6895
7097
|
"--bh-space-7xl-40",
|
|
6896
7098
|
"--bh-space-lg-10",
|