@brandsync/wc 1.15.0 → 1.16.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 +7 -0
- package/REFERENCE.md +82 -0
- package/custom-elements.json +1293 -443
- package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
- package/dist/brandsync-wc/{p-87d44938.entry.js → p-0159f0da.entry.js} +1 -1
- package/dist/brandsync-wc/p-0228a584.entry.js +1 -0
- package/dist/brandsync-wc/{p-6df48031.entry.js → p-15f4c343.entry.js} +1 -1
- package/dist/brandsync-wc/{p-3c21d0bf.entry.js → p-298158da.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1b4c0971.entry.js → p-38fe9d07.entry.js} +1 -1
- package/dist/brandsync-wc/{p-bc97ece8.entry.js → p-42b79d95.entry.js} +1 -1
- package/dist/brandsync-wc/{p-b9c0b481.entry.js → p-521d0fc2.entry.js} +1 -1
- package/dist/brandsync-wc/{p-1bf8fbbb.entry.js → p-67629178.entry.js} +1 -1
- package/dist/brandsync-wc/{p-e294f698.entry.js → p-76748795.entry.js} +1 -1
- package/dist/brandsync-wc/p-7dc59e0b.entry.js +1 -0
- package/dist/brandsync-wc/p-949a4270.entry.js +1 -0
- package/dist/brandsync-wc/{p-7a072e64.entry.js → p-a12691d8.entry.js} +1 -1
- package/dist/brandsync-wc/{p-ac9472ec.entry.js → p-cc4c8c1d.entry.js} +1 -1
- package/dist/brandsync-wc/p-e9afb553.entry.js +1 -0
- package/dist/cjs/brandsync-wc.cjs.js +1 -1
- package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
- package/dist/cjs/bs-input_3.cjs.entry.js +2 -2
- package/dist/cjs/bs-list-item.cjs.entry.js +66 -0
- package/dist/cjs/bs-list.cjs.entry.js +103 -0
- package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
- package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
- package/dist/cjs/bs-radio.cjs.entry.js +1 -1
- package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
- package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
- package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/bs-tree-item.cjs.entry.js +94 -0
- package/dist/cjs/bs-tree.cjs.entry.js +197 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/bs-list/bs-list.cmp.test.js +99 -0
- package/dist/collection/components/bs-list/bs-list.css +15 -0
- package/dist/collection/components/bs-list/bs-list.js +241 -0
- package/dist/collection/components/bs-list/bs-list.stories.js +43 -0
- package/dist/collection/components/bs-list-item/bs-list-item.cmp.test.js +137 -0
- package/dist/collection/components/bs-list-item/bs-list-item.css +139 -0
- package/dist/collection/components/bs-list-item/bs-list-item.js +343 -0
- package/dist/collection/components/bs-list-item/bs-list-item.stories.js +86 -0
- package/dist/collection/components/bs-menu/bs-menu.js +1 -1
- package/dist/collection/components/bs-menu-item/bs-menu-item.cmp.test.js +6 -0
- package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
- package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
- package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
- package/dist/collection/components/bs-radio/bs-radio.js +1 -1
- package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
- package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
- package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
- package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
- package/dist/collection/components/bs-tree/bs-tree.cmp.test.js +166 -0
- package/dist/collection/components/bs-tree/bs-tree.css +8 -0
- package/dist/collection/components/bs-tree/bs-tree.js +354 -0
- package/dist/collection/components/bs-tree/bs-tree.stories.js +34 -0
- package/dist/collection/components/bs-tree-item/bs-tree-item.cmp.test.js +187 -0
- package/dist/collection/components/bs-tree-item/bs-tree-item.css +161 -0
- package/dist/collection/components/bs-tree-item/bs-tree-item.js +305 -0
- package/dist/collection/components/bs-tree-item/bs-tree-item.stories.js +54 -0
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
- package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
- package/dist/components/bs-breadcrumb-overflow.js +1 -1
- package/dist/components/bs-carousel.js +1 -1
- package/dist/components/bs-chatbot-header.js +1 -1
- package/dist/components/bs-citation-preview.js +1 -1
- package/dist/components/bs-datepicker.js +1 -1
- package/dist/components/bs-inline-tab.js +1 -1
- package/dist/components/bs-input.js +1 -1
- package/dist/components/bs-list-item.d.ts +11 -0
- package/dist/components/bs-list-item.js +1 -0
- package/dist/components/bs-list.d.ts +11 -0
- package/dist/components/bs-list.js +1 -0
- package/dist/components/bs-menu-item.js +1 -1
- package/dist/components/bs-menu.js +1 -1
- package/dist/components/bs-message-list.js +1 -1
- package/dist/components/bs-navigation-drawer-item.js +1 -1
- package/dist/components/bs-navigation-drawer.js +1 -1
- package/dist/components/bs-pagination.js +1 -1
- package/dist/components/bs-radio.js +1 -1
- package/dist/components/bs-session-timeout.js +1 -1
- package/dist/components/bs-source-link.js +1 -1
- package/dist/components/bs-stepper.js +1 -1
- package/dist/components/bs-timepicker.js +1 -1
- package/dist/components/bs-tooltip-trigger.js +1 -1
- package/dist/components/bs-tooltip.js +1 -1
- package/dist/components/bs-tree-item.d.ts +11 -0
- package/dist/components/bs-tree-item.js +1 -0
- package/dist/components/bs-tree.d.ts +11 -0
- package/dist/components/bs-tree.js +1 -0
- package/dist/components/p-BaJEv6rL.js +1 -0
- package/dist/components/{p-BvYkZcOU.js → p-Bb1-2M8K.js} +1 -1
- package/dist/components/{p-Bqe4waKJ.js → p-BdkE4auv.js} +1 -1
- package/dist/components/{p-ElcsxZSh.js → p-C93ymWm7.js} +1 -1
- package/dist/components/{p-ByKcHsj0.js → p-DFKc3lLA.js} +1 -1
- package/dist/components/{p-B3l4WpgS.js → p-J9cxcDhY.js} +1 -1
- package/dist/esm/brandsync-wc.js +1 -1
- package/dist/esm/bs-inline-tab.entry.js +1 -1
- package/dist/esm/bs-input_3.entry.js +2 -2
- package/dist/esm/bs-list-item.entry.js +64 -0
- package/dist/esm/bs-list.entry.js +101 -0
- package/dist/esm/bs-message-list.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
- package/dist/esm/bs-navigation-drawer.entry.js +2 -2
- package/dist/esm/bs-pagination.entry.js +1 -1
- package/dist/esm/bs-radio.entry.js +1 -1
- package/dist/esm/bs-source-link.entry.js +2 -2
- package/dist/esm/bs-stepper.entry.js +1 -1
- package/dist/esm/bs-tooltip.entry.js +1 -1
- package/dist/esm/bs-tree-item.entry.js +92 -0
- package/dist/esm/bs-tree.entry.js +195 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/bs-list/bs-list.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-list/bs-list.d.ts +42 -0
- package/dist/types/components/bs-list/bs-list.stories.d.ts +13 -0
- package/dist/types/components/bs-list-item/bs-list-item.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-list-item/bs-list-item.d.ts +85 -0
- package/dist/types/components/bs-list-item/bs-list-item.stories.d.ts +22 -0
- package/dist/types/components/bs-tree/bs-tree.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-tree/bs-tree.d.ts +53 -0
- package/dist/types/components/bs-tree/bs-tree.stories.d.ts +11 -0
- package/dist/types/components/bs-tree-item/bs-tree-item.cmp.test.d.ts +1 -0
- package/dist/types/components/bs-tree-item/bs-tree-item.d.ts +60 -0
- package/dist/types/components/bs-tree-item/bs-tree-item.stories.d.ts +19 -0
- package/dist/types/components.d.ts +675 -0
- package/package.json +1 -1
- package/reference.d.ts +12 -0
- package/reference.json +250 -0
- package/dist/components/p-Mf1jorXP.js +0 -1
package/custom-elements.json
CHANGED
|
@@ -9734,189 +9734,115 @@
|
|
|
9734
9734
|
},
|
|
9735
9735
|
{
|
|
9736
9736
|
"kind": "javascript-module",
|
|
9737
|
-
"path": "src/components/bs-
|
|
9737
|
+
"path": "src/components/bs-list/bs-list.tsx",
|
|
9738
9738
|
"declarations": [
|
|
9739
9739
|
{
|
|
9740
9740
|
"kind": "class",
|
|
9741
9741
|
"customElement": true,
|
|
9742
|
-
"tagName": "bs-
|
|
9743
|
-
"name": "
|
|
9744
|
-
"description": "
|
|
9742
|
+
"tagName": "bs-list",
|
|
9743
|
+
"name": "BsList",
|
|
9744
|
+
"description": "A vertical list of `bs-list-item` rows, optionally single-select.\n\n## When to use\n- Records, people, files or options shown as rows with leading media and descriptions.\n- `selectable` for a single-choice list (e.g. a conversation list next to a detail pane).\n\n## When not to use\n- A popup list of actions -- use `bs-menu`.\n- Navigation between app sections -- use `bs-navigation-drawer`.\n- Multi-column, sortable or paged data -- use `bs-data-table`.\n\nBuilt from `bs-list-item` children (light DOM; the list never moves nodes).",
|
|
9745
9745
|
"attributes": [
|
|
9746
9746
|
{
|
|
9747
|
-
"name": "
|
|
9748
|
-
"description": "
|
|
9747
|
+
"name": "aria-label",
|
|
9748
|
+
"description": "Accessible name of the list.",
|
|
9749
9749
|
"type": {
|
|
9750
9750
|
"text": "string"
|
|
9751
9751
|
},
|
|
9752
9752
|
"default": "null",
|
|
9753
|
-
"fieldName": "
|
|
9753
|
+
"fieldName": "ariaLabel"
|
|
9754
9754
|
},
|
|
9755
9755
|
{
|
|
9756
|
-
"name": "
|
|
9757
|
-
"description": "
|
|
9756
|
+
"name": "dividers",
|
|
9757
|
+
"description": "Draws a 1px separator between rows.",
|
|
9758
9758
|
"type": {
|
|
9759
|
-
"text": "
|
|
9760
|
-
"references": [
|
|
9761
|
-
{
|
|
9762
|
-
"name": "BsLogoBackground"
|
|
9763
|
-
}
|
|
9764
|
-
]
|
|
9759
|
+
"text": "boolean"
|
|
9765
9760
|
},
|
|
9766
|
-
"default": "
|
|
9767
|
-
"fieldName": "
|
|
9761
|
+
"default": "false",
|
|
9762
|
+
"fieldName": "dividers"
|
|
9768
9763
|
},
|
|
9769
9764
|
{
|
|
9770
|
-
"name": "
|
|
9771
|
-
"description": "
|
|
9765
|
+
"name": "selectable",
|
|
9766
|
+
"description": "Single-selection mode: role=\"listbox\", rows are `option`s with roving tabindex.",
|
|
9772
9767
|
"type": {
|
|
9773
|
-
"text": "
|
|
9768
|
+
"text": "boolean"
|
|
9774
9769
|
},
|
|
9775
|
-
"default": "
|
|
9776
|
-
"fieldName": "
|
|
9770
|
+
"default": "false",
|
|
9771
|
+
"fieldName": "selectable"
|
|
9777
9772
|
},
|
|
9778
9773
|
{
|
|
9779
|
-
"name": "
|
|
9780
|
-
"description": "
|
|
9774
|
+
"name": "value",
|
|
9775
|
+
"description": "`value` of the selected item (selectable mode).",
|
|
9781
9776
|
"type": {
|
|
9782
|
-
"text": "
|
|
9783
|
-
"references": [
|
|
9784
|
-
{
|
|
9785
|
-
"name": "BsLogoVariant"
|
|
9786
|
-
}
|
|
9787
|
-
]
|
|
9777
|
+
"text": "string"
|
|
9788
9778
|
},
|
|
9789
|
-
"default": "
|
|
9790
|
-
"fieldName": "
|
|
9779
|
+
"default": "null",
|
|
9780
|
+
"fieldName": "value"
|
|
9791
9781
|
}
|
|
9792
9782
|
],
|
|
9793
9783
|
"members": [
|
|
9794
9784
|
{
|
|
9795
9785
|
"kind": "field",
|
|
9796
|
-
"name": "
|
|
9797
|
-
"description": "
|
|
9786
|
+
"name": "ariaLabel",
|
|
9787
|
+
"description": "Accessible name of the list.",
|
|
9798
9788
|
"type": {
|
|
9799
9789
|
"text": "string"
|
|
9800
9790
|
},
|
|
9801
9791
|
"default": "null",
|
|
9802
|
-
"attribute": "
|
|
9792
|
+
"attribute": "aria-label"
|
|
9803
9793
|
},
|
|
9804
9794
|
{
|
|
9805
9795
|
"kind": "field",
|
|
9806
|
-
"name": "
|
|
9807
|
-
"description": "
|
|
9796
|
+
"name": "dividers",
|
|
9797
|
+
"description": "Draws a 1px separator between rows.",
|
|
9808
9798
|
"type": {
|
|
9809
|
-
"text": "
|
|
9810
|
-
"references": [
|
|
9811
|
-
{
|
|
9812
|
-
"name": "BsLogoBackground"
|
|
9813
|
-
}
|
|
9814
|
-
]
|
|
9799
|
+
"text": "boolean"
|
|
9815
9800
|
},
|
|
9816
|
-
"default": "
|
|
9817
|
-
"attribute": "
|
|
9801
|
+
"default": "false",
|
|
9802
|
+
"attribute": "dividers",
|
|
9803
|
+
"reflects": true
|
|
9818
9804
|
},
|
|
9819
9805
|
{
|
|
9820
9806
|
"kind": "field",
|
|
9821
|
-
"name": "
|
|
9822
|
-
"description": "
|
|
9807
|
+
"name": "selectable",
|
|
9808
|
+
"description": "Single-selection mode: role=\"listbox\", rows are `option`s with roving tabindex.",
|
|
9823
9809
|
"type": {
|
|
9824
|
-
"text": "
|
|
9810
|
+
"text": "boolean"
|
|
9825
9811
|
},
|
|
9826
|
-
"default": "
|
|
9827
|
-
"attribute": "
|
|
9812
|
+
"default": "false",
|
|
9813
|
+
"attribute": "selectable"
|
|
9828
9814
|
},
|
|
9829
9815
|
{
|
|
9830
9816
|
"kind": "field",
|
|
9831
|
-
"name": "
|
|
9832
|
-
"description": "
|
|
9817
|
+
"name": "value",
|
|
9818
|
+
"description": "`value` of the selected item (selectable mode).",
|
|
9833
9819
|
"type": {
|
|
9834
|
-
"text": "
|
|
9835
|
-
"references": [
|
|
9836
|
-
{
|
|
9837
|
-
"name": "BsLogoVariant"
|
|
9838
|
-
}
|
|
9839
|
-
]
|
|
9820
|
+
"text": "string"
|
|
9840
9821
|
},
|
|
9841
|
-
"default": "
|
|
9842
|
-
"attribute": "
|
|
9822
|
+
"default": "null",
|
|
9823
|
+
"attribute": "value",
|
|
9824
|
+
"reflects": true
|
|
9843
9825
|
}
|
|
9844
9826
|
],
|
|
9845
|
-
"
|
|
9827
|
+
"events": [
|
|
9846
9828
|
{
|
|
9847
|
-
"name": "
|
|
9848
|
-
"description": "
|
|
9829
|
+
"name": "bsChange",
|
|
9830
|
+
"description": "Fires with the new `value` when the user changes the selection.",
|
|
9831
|
+
"type": {
|
|
9832
|
+
"text": "CustomEvent<string>"
|
|
9833
|
+
}
|
|
9849
9834
|
}
|
|
9850
9835
|
],
|
|
9851
|
-
"cssProperties": [
|
|
9852
|
-
{
|
|
9853
|
-
"name": "--bs-logo-asset-dark-display",
|
|
9854
|
-
"description": "The background=\"auto\" counterpart to --bs-logo-asset-light-display above -- see that entry."
|
|
9855
|
-
},
|
|
9856
|
-
{
|
|
9857
|
-
"name": "--bs-logo-asset-light-display",
|
|
9858
|
-
"description": "Only read when background=\"auto\" (the default). Defined in src/global/base.css, not here -- that's this library's own bridge from the ambient [data-theme=\"dark\"] attribute to which full-wordmark asset shows, not a per-component override point most consumers need to touch directly."
|
|
9859
|
-
},
|
|
9860
|
-
{
|
|
9861
|
-
"name": "--bs-logo-height-custom",
|
|
9862
|
-
"description": "Height of the rendered image when variant=\"custom\". Width is `auto` (not a fixed custom property) so a consumer's own logo keeps its natural aspect ratio -- only the height is constrained, matching `full`/`mark`'s shared 44px height. Defaults to 44px."
|
|
9863
|
-
},
|
|
9864
|
-
{
|
|
9865
|
-
"name": "--bs-logo-height-full",
|
|
9866
|
-
"description": "Height of the rendered logo when variant=\"full\". 44px."
|
|
9867
|
-
},
|
|
9868
|
-
{
|
|
9869
|
-
"name": "--bs-logo-height-mark",
|
|
9870
|
-
"description": "Height of the rendered logo when variant=\"mark\". 44px."
|
|
9871
|
-
},
|
|
9872
|
-
{
|
|
9873
|
-
"name": "--bs-logo-width-full",
|
|
9874
|
-
"description": "Width of the rendered logo when variant=\"full\". 190.977px -- the light asset's natural width after its icon-to-wordmark gap was tightened from Figma's own exported spacing (see brandsync-logo-full-light.ts) -- a literal size, not a brandsync-tokens alias, since this is a fixed asset's natural dimensions rather than a themeable design token."
|
|
9875
|
-
},
|
|
9876
|
-
{
|
|
9877
|
-
"name": "--bs-logo-width-mark",
|
|
9878
|
-
"description": "Width of the rendered logo when variant=\"mark\". 44px."
|
|
9879
|
-
}
|
|
9880
|
-
]
|
|
9881
|
-
}
|
|
9882
|
-
],
|
|
9883
|
-
"exports": [
|
|
9884
|
-
{
|
|
9885
|
-
"kind": "js",
|
|
9886
|
-
"name": "BsLogo",
|
|
9887
|
-
"declaration": {
|
|
9888
|
-
"name": "BsLogo"
|
|
9889
|
-
}
|
|
9890
|
-
},
|
|
9891
|
-
{
|
|
9892
|
-
"kind": "custom-element-definition",
|
|
9893
|
-
"name": "bs-logo",
|
|
9894
|
-
"declaration": {
|
|
9895
|
-
"name": "BsLogo"
|
|
9896
|
-
}
|
|
9897
|
-
}
|
|
9898
|
-
]
|
|
9899
|
-
},
|
|
9900
|
-
{
|
|
9901
|
-
"kind": "javascript-module",
|
|
9902
|
-
"path": "src/components/bs-menu/bs-menu.tsx",
|
|
9903
|
-
"declarations": [
|
|
9904
|
-
{
|
|
9905
|
-
"kind": "class",
|
|
9906
|
-
"customElement": true,
|
|
9907
|
-
"tagName": "bs-menu",
|
|
9908
|
-
"name": "BsMenu",
|
|
9909
|
-
"description": "A generic dropdown/popup menu container: a rounded, elevated list of items (typically\n`bs-menu-item` elements).\n\n## When to use\n- A popup list of actions/options triggered by another control (e.g. a \"more options\" kebab\n button), such as `bs-chatbot-response-action`'s `menu` slot.\n\n## When not to use\n- A persistent, always-visible list of options -- this component is purpose-built as a popup\n surface (rounded corners, elevation shadow), not a plain list.",
|
|
9910
9836
|
"slots": [
|
|
9911
9837
|
{
|
|
9912
9838
|
"name": "",
|
|
9913
|
-
"description": "
|
|
9839
|
+
"description": "The `bs-list-item` rows."
|
|
9914
9840
|
}
|
|
9915
9841
|
],
|
|
9916
9842
|
"cssParts": [
|
|
9917
9843
|
{
|
|
9918
9844
|
"name": "list",
|
|
9919
|
-
"description": "The
|
|
9845
|
+
"description": "The list container."
|
|
9920
9846
|
}
|
|
9921
9847
|
]
|
|
9922
9848
|
}
|
|
@@ -9924,251 +9850,424 @@
|
|
|
9924
9850
|
"exports": [
|
|
9925
9851
|
{
|
|
9926
9852
|
"kind": "js",
|
|
9927
|
-
"name": "
|
|
9853
|
+
"name": "BsList",
|
|
9928
9854
|
"declaration": {
|
|
9929
|
-
"name": "
|
|
9855
|
+
"name": "BsList"
|
|
9930
9856
|
}
|
|
9931
9857
|
},
|
|
9932
9858
|
{
|
|
9933
9859
|
"kind": "custom-element-definition",
|
|
9934
|
-
"name": "bs-
|
|
9860
|
+
"name": "bs-list",
|
|
9935
9861
|
"declaration": {
|
|
9936
|
-
"name": "
|
|
9862
|
+
"name": "BsList"
|
|
9937
9863
|
}
|
|
9938
9864
|
}
|
|
9939
9865
|
]
|
|
9940
9866
|
},
|
|
9941
9867
|
{
|
|
9942
9868
|
"kind": "javascript-module",
|
|
9943
|
-
"path": "src/components/bs-
|
|
9869
|
+
"path": "src/components/bs-list-item/bs-list-item.tsx",
|
|
9944
9870
|
"declarations": [
|
|
9945
9871
|
{
|
|
9946
9872
|
"kind": "class",
|
|
9947
9873
|
"customElement": true,
|
|
9948
|
-
"tagName": "bs-
|
|
9949
|
-
"name": "
|
|
9950
|
-
"description": "A single
|
|
9874
|
+
"tagName": "bs-list-item",
|
|
9875
|
+
"name": "BsListItem",
|
|
9876
|
+
"description": "A single row of a list: optional leading media (avatar, icon, image), a label, a description and\noptional support text, and an optional trailing caret or custom trailing content.\n\n## When to use\n- As a child of `bs-list`, one per record, person, file or option.\n- Standalone as a plain information row (non-interactive), or with `interactive` as a button-like row.\n\n## When not to use\n- A popup list of actions -- use `bs-menu` / `bs-menu-item`.\n- App navigation with an active route -- use `bs-navigation-drawer-item`.\n- Tabular data with columns, sorting or paging -- use `bs-data-table`.\n\nComposed from: leading media (`bs-avatar`) and trailing controls (`bs-icon-button`) are supplied by the\nconsumer through the `leading` and `trailing` slots; the row itself only reserves layout. The default\ntrailing caret is inline SVG.\n\nRoles are driven by the parent `bs-list` (via `selectionRole`). Standalone, the row has no role\n(`listitem` is only valid inside a list) unless `interactive` is set, which makes it a focusable\n`role=\"button\"`.",
|
|
9951
9877
|
"attributes": [
|
|
9878
|
+
{
|
|
9879
|
+
"name": "description",
|
|
9880
|
+
"description": "Second text line (the \"paragraph\").",
|
|
9881
|
+
"type": {
|
|
9882
|
+
"text": "string"
|
|
9883
|
+
},
|
|
9884
|
+
"default": "null",
|
|
9885
|
+
"fieldName": "description"
|
|
9886
|
+
},
|
|
9952
9887
|
{
|
|
9953
9888
|
"name": "disabled",
|
|
9954
|
-
"description": "Disables the
|
|
9889
|
+
"description": "Disables the row: dimmed, not focusable, no click event.",
|
|
9955
9890
|
"type": {
|
|
9956
9891
|
"text": "boolean"
|
|
9957
9892
|
},
|
|
9958
9893
|
"default": "false",
|
|
9959
9894
|
"fieldName": "disabled"
|
|
9960
|
-
}
|
|
9961
|
-
],
|
|
9962
|
-
"members": [
|
|
9895
|
+
},
|
|
9963
9896
|
{
|
|
9964
|
-
"
|
|
9965
|
-
"
|
|
9966
|
-
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
9897
|
+
"name": "interactive",
|
|
9898
|
+
"description": "Makes a standalone row a focusable `role=\"button\"` that emits `bsItemClick`.",
|
|
9967
9899
|
"type": {
|
|
9968
9900
|
"text": "boolean"
|
|
9969
9901
|
},
|
|
9970
9902
|
"default": "false",
|
|
9971
|
-
"
|
|
9972
|
-
}
|
|
9973
|
-
],
|
|
9974
|
-
"events": [
|
|
9903
|
+
"fieldName": "interactive"
|
|
9904
|
+
},
|
|
9975
9905
|
{
|
|
9976
|
-
"name": "
|
|
9977
|
-
"description": "
|
|
9906
|
+
"name": "label",
|
|
9907
|
+
"description": "First text line (semibold).",
|
|
9978
9908
|
"type": {
|
|
9979
|
-
"text": "
|
|
9980
|
-
}
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9909
|
+
"text": "string"
|
|
9910
|
+
},
|
|
9911
|
+
"default": "null",
|
|
9912
|
+
"fieldName": "label"
|
|
9913
|
+
},
|
|
9984
9914
|
{
|
|
9985
|
-
"name": "",
|
|
9986
|
-
"description": "
|
|
9915
|
+
"name": "selected",
|
|
9916
|
+
"description": "Marks the row as selected. Managed by the parent `bs-list` when it is `selectable`.",
|
|
9917
|
+
"type": {
|
|
9918
|
+
"text": "boolean"
|
|
9919
|
+
},
|
|
9920
|
+
"default": "false",
|
|
9921
|
+
"fieldName": "selected"
|
|
9987
9922
|
},
|
|
9988
9923
|
{
|
|
9989
|
-
"name": "
|
|
9990
|
-
"description": "
|
|
9924
|
+
"name": "selection-role",
|
|
9925
|
+
"description": "Set by the parent `bs-list`: `listitem` (plain list) or `option` (selectable list). Do not set by hand.",
|
|
9926
|
+
"type": {
|
|
9927
|
+
"text": "\"listitem\" | \"option\""
|
|
9928
|
+
},
|
|
9929
|
+
"default": "null",
|
|
9930
|
+
"fieldName": "selectionRole"
|
|
9931
|
+
},
|
|
9932
|
+
{
|
|
9933
|
+
"name": "show-arrow",
|
|
9934
|
+
"description": "Shows a trailing caret (unless the `trailing` slot has content).",
|
|
9935
|
+
"type": {
|
|
9936
|
+
"text": "boolean"
|
|
9937
|
+
},
|
|
9938
|
+
"default": "false",
|
|
9939
|
+
"fieldName": "showArrow"
|
|
9940
|
+
},
|
|
9941
|
+
{
|
|
9942
|
+
"name": "support-text",
|
|
9943
|
+
"description": "Optional third text line.",
|
|
9944
|
+
"type": {
|
|
9945
|
+
"text": "string"
|
|
9946
|
+
},
|
|
9947
|
+
"default": "null",
|
|
9948
|
+
"fieldName": "supportText"
|
|
9949
|
+
},
|
|
9950
|
+
{
|
|
9951
|
+
"name": "value",
|
|
9952
|
+
"description": "Identifies the item; emitted by `bsItemClick` and matched against `bs-list`'s `value`.",
|
|
9953
|
+
"type": {
|
|
9954
|
+
"text": "string"
|
|
9955
|
+
},
|
|
9956
|
+
"default": "null",
|
|
9957
|
+
"fieldName": "value"
|
|
9991
9958
|
}
|
|
9992
9959
|
],
|
|
9993
|
-
"
|
|
9960
|
+
"members": [
|
|
9994
9961
|
{
|
|
9995
|
-
"
|
|
9996
|
-
"
|
|
9962
|
+
"kind": "field",
|
|
9963
|
+
"name": "description",
|
|
9964
|
+
"description": "Second text line (the \"paragraph\").",
|
|
9965
|
+
"type": {
|
|
9966
|
+
"text": "string"
|
|
9967
|
+
},
|
|
9968
|
+
"default": "null",
|
|
9969
|
+
"attribute": "description"
|
|
9997
9970
|
},
|
|
9998
9971
|
{
|
|
9999
|
-
"
|
|
10000
|
-
"
|
|
9972
|
+
"kind": "field",
|
|
9973
|
+
"name": "disabled",
|
|
9974
|
+
"description": "Disables the row: dimmed, not focusable, no click event.",
|
|
9975
|
+
"type": {
|
|
9976
|
+
"text": "boolean"
|
|
9977
|
+
},
|
|
9978
|
+
"default": "false",
|
|
9979
|
+
"attribute": "disabled",
|
|
9980
|
+
"reflects": true
|
|
10001
9981
|
},
|
|
10002
9982
|
{
|
|
10003
|
-
"
|
|
10004
|
-
"
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
9983
|
+
"kind": "field",
|
|
9984
|
+
"name": "interactive",
|
|
9985
|
+
"description": "Makes a standalone row a focusable `role=\"button\"` that emits `bsItemClick`.",
|
|
9986
|
+
"type": {
|
|
9987
|
+
"text": "boolean"
|
|
9988
|
+
},
|
|
9989
|
+
"default": "false",
|
|
9990
|
+
"attribute": "interactive",
|
|
9991
|
+
"reflects": true
|
|
9992
|
+
},
|
|
9993
|
+
{
|
|
9994
|
+
"kind": "field",
|
|
9995
|
+
"name": "label",
|
|
9996
|
+
"description": "First text line (semibold).",
|
|
9997
|
+
"type": {
|
|
9998
|
+
"text": "string"
|
|
9999
|
+
},
|
|
10000
|
+
"default": "null",
|
|
10001
|
+
"attribute": "label"
|
|
10002
|
+
},
|
|
10003
|
+
{
|
|
10004
|
+
"kind": "field",
|
|
10005
|
+
"name": "selected",
|
|
10006
|
+
"description": "Marks the row as selected. Managed by the parent `bs-list` when it is `selectable`.",
|
|
10007
|
+
"type": {
|
|
10008
|
+
"text": "boolean"
|
|
10009
|
+
},
|
|
10010
|
+
"default": "false",
|
|
10011
|
+
"attribute": "selected",
|
|
10012
|
+
"reflects": true
|
|
10013
|
+
},
|
|
10014
|
+
{
|
|
10015
|
+
"kind": "field",
|
|
10016
|
+
"name": "selectionRole",
|
|
10017
|
+
"description": "Set by the parent `bs-list`: `listitem` (plain list) or `option` (selectable list). Do not set by hand.",
|
|
10018
|
+
"type": {
|
|
10019
|
+
"text": "\"listitem\" | \"option\""
|
|
10020
|
+
},
|
|
10021
|
+
"default": "null",
|
|
10022
|
+
"attribute": "selection-role"
|
|
10023
|
+
},
|
|
10024
|
+
{
|
|
10025
|
+
"kind": "field",
|
|
10026
|
+
"name": "showArrow",
|
|
10027
|
+
"description": "Shows a trailing caret (unless the `trailing` slot has content).",
|
|
10028
|
+
"type": {
|
|
10029
|
+
"text": "boolean"
|
|
10030
|
+
},
|
|
10031
|
+
"default": "false",
|
|
10032
|
+
"attribute": "show-arrow"
|
|
10033
|
+
},
|
|
10034
|
+
{
|
|
10035
|
+
"kind": "field",
|
|
10036
|
+
"name": "supportText",
|
|
10037
|
+
"description": "Optional third text line.",
|
|
10038
|
+
"type": {
|
|
10039
|
+
"text": "string"
|
|
10040
|
+
},
|
|
10041
|
+
"default": "null",
|
|
10042
|
+
"attribute": "support-text"
|
|
10043
|
+
},
|
|
10044
|
+
{
|
|
10045
|
+
"kind": "field",
|
|
10046
|
+
"name": "value",
|
|
10047
|
+
"description": "Identifies the item; emitted by `bsItemClick` and matched against `bs-list`'s `value`.",
|
|
10048
|
+
"type": {
|
|
10049
|
+
"text": "string"
|
|
10050
|
+
},
|
|
10051
|
+
"default": "null",
|
|
10052
|
+
"attribute": "value"
|
|
10053
|
+
}
|
|
10054
|
+
],
|
|
10055
|
+
"events": [
|
|
10056
|
+
{
|
|
10057
|
+
"name": "bsItemClick",
|
|
10058
|
+
"description": "Fires on click / Enter / Space when the row is interactive and not disabled. Payload is `value`.",
|
|
10059
|
+
"type": {
|
|
10060
|
+
"text": "CustomEvent<string>"
|
|
10061
|
+
}
|
|
10062
|
+
}
|
|
10063
|
+
],
|
|
10064
|
+
"slots": [
|
|
10065
|
+
{
|
|
10066
|
+
"name": "",
|
|
10067
|
+
"description": "Rich content that replaces `label`, `description` and `supportText` entirely."
|
|
10068
|
+
},
|
|
10069
|
+
{
|
|
10070
|
+
"name": "leading",
|
|
10071
|
+
"description": "Leading media: a `bs-avatar size=\"lg\"` (64px), a 32px icon, or a 72x56 `<img>`."
|
|
10072
|
+
},
|
|
10073
|
+
{
|
|
10074
|
+
"name": "trailing",
|
|
10075
|
+
"description": "Replaces the default caret. Rendered when `showArrow` is set or the slot has content."
|
|
10076
|
+
}
|
|
10077
|
+
],
|
|
10078
|
+
"cssParts": [
|
|
10079
|
+
{
|
|
10080
|
+
"name": "container",
|
|
10081
|
+
"description": "The row."
|
|
10082
|
+
},
|
|
10083
|
+
{
|
|
10084
|
+
"name": "content",
|
|
10085
|
+
"description": "The text column."
|
|
10086
|
+
},
|
|
10087
|
+
{
|
|
10088
|
+
"name": "description",
|
|
10089
|
+
"description": "The description line."
|
|
10090
|
+
},
|
|
10091
|
+
{
|
|
10092
|
+
"name": "label",
|
|
10093
|
+
"description": "The label line."
|
|
10094
|
+
},
|
|
10095
|
+
{
|
|
10096
|
+
"name": "leading",
|
|
10097
|
+
"description": "Wrapper around the leading slot."
|
|
10098
|
+
},
|
|
10099
|
+
{
|
|
10100
|
+
"name": "support-text",
|
|
10101
|
+
"description": "The support text line."
|
|
10102
|
+
},
|
|
10103
|
+
{
|
|
10104
|
+
"name": "trailing",
|
|
10105
|
+
"description": "Wrapper around the trailing slot / caret."
|
|
10106
|
+
}
|
|
10107
|
+
]
|
|
10108
|
+
}
|
|
10008
10109
|
],
|
|
10009
10110
|
"exports": [
|
|
10010
10111
|
{
|
|
10011
10112
|
"kind": "js",
|
|
10012
|
-
"name": "
|
|
10113
|
+
"name": "BsListItem",
|
|
10013
10114
|
"declaration": {
|
|
10014
|
-
"name": "
|
|
10115
|
+
"name": "BsListItem"
|
|
10015
10116
|
}
|
|
10016
10117
|
},
|
|
10017
10118
|
{
|
|
10018
10119
|
"kind": "custom-element-definition",
|
|
10019
|
-
"name": "bs-
|
|
10120
|
+
"name": "bs-list-item",
|
|
10020
10121
|
"declaration": {
|
|
10021
|
-
"name": "
|
|
10122
|
+
"name": "BsListItem"
|
|
10022
10123
|
}
|
|
10023
10124
|
}
|
|
10024
10125
|
]
|
|
10025
10126
|
},
|
|
10026
10127
|
{
|
|
10027
10128
|
"kind": "javascript-module",
|
|
10028
|
-
"path": "src/components/bs-
|
|
10129
|
+
"path": "src/components/bs-logo/bs-logo.tsx",
|
|
10029
10130
|
"declarations": [
|
|
10030
10131
|
{
|
|
10031
10132
|
"kind": "class",
|
|
10032
10133
|
"customElement": true,
|
|
10033
|
-
"tagName": "bs-
|
|
10034
|
-
"name": "
|
|
10035
|
-
"description": "
|
|
10134
|
+
"tagName": "bs-logo",
|
|
10135
|
+
"name": "BsLogo",
|
|
10136
|
+
"description": "The BrandSync brand mark, as its own standalone component -- shared by `bs-navigation-header`\nand `bs-navigation-drawer`, which used to each render their own duplicated copy of this SVG\n(the drawer's collapsed state even faked an icon-only look by clipping the full wordmark asset\ndown to a narrowed box, rather than using a real icon-only asset).\n\n## When to use\n- Anywhere the BrandSync logo/icon needs to render: a navigation header, a nav drawer, etc.\n\n## When not to use\n- The Genie AI chat panel's own brand mark -- that's a different logo (`bs-chatbot-header`'s\n own inline Genie asset), not this one.\n\n`variant` mirrors Figma's \"Logo\" component set (node 10909:30421) `Device` property\n(\"Desktop\" / \"Tab and mobile\"), which was originally meant to distinguish the full lockup from\nthe icon-only mark at different responsive breakpoints -- renamed here to\n`variant: 'full' | 'mark'` since that's what it actually controls (how much of the logo\nrenders), not literally a device/breakpoint switch.\n\n`variant=\"custom\"` is not a Figma variant at all -- it's an escape hatch for a consuming app\nthat needs to show a DIFFERENT product's logo in the same slot (e.g. a white-labeled deployment,\nor a logo fetched at runtime from a service like brand.dev), via `src`/`alt`, instead of the\nbuilt-in BrandSync assets. This component deliberately does NOT fetch that image itself --\nnetwork calls, loading/error states, and caching are the consuming app's responsibility, same as\nevery other component in this library (e.g. `bs-attachment` takes `imageSrc` rather than fetching\nan image on its own). `background` has no effect on `variant=\"custom\"` -- a consumer's own image\nis already designed for whatever surface it's placed on.",
|
|
10036
10137
|
"attributes": [
|
|
10037
10138
|
{
|
|
10038
|
-
"name": "
|
|
10039
|
-
"description": "
|
|
10139
|
+
"name": "alt",
|
|
10140
|
+
"description": "`variant=\"custom\"` only: accessible alt text for the image -- a product logo is meaningful\ncontent (whose brand is this?), not decorative, so set this to something real (e.g. the\nproduct/company name). Falls back to `alt=\"\"` (marking the image decorative to assistive\ntech) when unset, rather than omitting the `alt` attribute entirely -- an `<img>` with no\n`alt` attribute at all is a harder accessibility failure than one explicitly marked\ndecorative, but an empty fallback is still worse than a real name, so don't rely on it.\nIgnored for `full`/`mark` (those already carry their own fixed `aria-label=\"BrandSync\"`).",
|
|
10040
10141
|
"type": {
|
|
10041
10142
|
"text": "string"
|
|
10042
10143
|
},
|
|
10043
|
-
"
|
|
10144
|
+
"default": "null",
|
|
10145
|
+
"fieldName": "alt"
|
|
10044
10146
|
},
|
|
10045
10147
|
{
|
|
10046
|
-
"name": "
|
|
10047
|
-
"description": "
|
|
10148
|
+
"name": "background",
|
|
10149
|
+
"description": "Which pre-built asset to use for `variant=\"full\"` -- Figma ships a genuinely separate,\ndifferently-drawn dark-background asset (every wordmark path filled solid white, and the\nicon's outer shape a single solid-white path instead of the light version's two-path\nwhite-fill-plus-border-ring), not a CSS currentColor swap of identical paths.\n\n`\"auto\"` (default) renders both assets and lets CSS pick one via\n`--bs-logo-asset-light-display`/`--bs-logo-asset-dark-display` (defined in\n`src/global/base.css`, flipped by the same `[data-theme=\"dark\"]` attribute every other\n`--bs-*` token already reacts to) -- so the logo just follows the ambient theme with no wiring\nneeded, the same way a consuming app's own dark mode already re-themes every other part of\nthis library via ordinary CSS custom property inheritance. Set `\"light\"`/`\"dark\"` explicitly\nto pin one regardless of the ambient theme -- e.g. a dark sidebar that isn't otherwise\ndark-themed.\n\nHas no effect on `variant=\"mark\"`: Figma's component set only has one real designed instance\nof the icon-only mark (`Device=\"Tab and mobile\"`, `Background=\"Default\"`) -- there's no\nseparate dark version of it, so the mark renders identically regardless of this prop.",
|
|
10048
10150
|
"type": {
|
|
10049
|
-
"text": "\"
|
|
10151
|
+
"text": "\"auto\" | \"dark\" | \"light\"",
|
|
10050
10152
|
"references": [
|
|
10051
10153
|
{
|
|
10052
|
-
"name": "
|
|
10154
|
+
"name": "BsLogoBackground"
|
|
10053
10155
|
}
|
|
10054
10156
|
]
|
|
10055
10157
|
},
|
|
10056
|
-
"default": "'
|
|
10057
|
-
"fieldName": "
|
|
10158
|
+
"default": "'auto'",
|
|
10159
|
+
"fieldName": "background"
|
|
10058
10160
|
},
|
|
10059
10161
|
{
|
|
10060
|
-
"name": "
|
|
10061
|
-
"description": "
|
|
10162
|
+
"name": "src",
|
|
10163
|
+
"description": "`variant=\"custom\"` only: the image URL to render (e.g. a URL your app already fetched from a\nlogo API). Ignored for `full`/`mark`.",
|
|
10062
10164
|
"type": {
|
|
10063
|
-
"text": "
|
|
10064
|
-
"references": [
|
|
10065
|
-
{
|
|
10066
|
-
"name": "BsMessageStatus"
|
|
10067
|
-
}
|
|
10068
|
-
]
|
|
10165
|
+
"text": "string"
|
|
10069
10166
|
},
|
|
10070
|
-
"default": "
|
|
10071
|
-
"fieldName": "
|
|
10167
|
+
"default": "null",
|
|
10168
|
+
"fieldName": "src"
|
|
10072
10169
|
},
|
|
10073
10170
|
{
|
|
10074
|
-
"name": "
|
|
10075
|
-
"description": "
|
|
10171
|
+
"name": "variant",
|
|
10172
|
+
"description": "How much of the logo to render. `full` is the icon + \"EG BrandSync\" wordmark (190.977x44\nnatural size); `mark` is just the icon (44x44 natural size), no wordmark; `custom` renders a\nconsumer-supplied image via `src`/`alt` instead of a built-in BrandSync asset -- see the class\ndoc above.",
|
|
10076
10173
|
"type": {
|
|
10077
|
-
"text": "
|
|
10174
|
+
"text": "\"custom\" | \"full\" | \"mark\"",
|
|
10175
|
+
"references": [
|
|
10176
|
+
{
|
|
10177
|
+
"name": "BsLogoVariant"
|
|
10178
|
+
}
|
|
10179
|
+
]
|
|
10078
10180
|
},
|
|
10079
|
-
"
|
|
10181
|
+
"default": "'full'",
|
|
10182
|
+
"fieldName": "variant"
|
|
10080
10183
|
}
|
|
10081
10184
|
],
|
|
10082
10185
|
"members": [
|
|
10083
10186
|
{
|
|
10084
10187
|
"kind": "field",
|
|
10085
|
-
"name": "
|
|
10086
|
-
"description": "
|
|
10188
|
+
"name": "alt",
|
|
10189
|
+
"description": "`variant=\"custom\"` only: accessible alt text for the image -- a product logo is meaningful\ncontent (whose brand is this?), not decorative, so set this to something real (e.g. the\nproduct/company name). Falls back to `alt=\"\"` (marking the image decorative to assistive\ntech) when unset, rather than omitting the `alt` attribute entirely -- an `<img>` with no\n`alt` attribute at all is a harder accessibility failure than one explicitly marked\ndecorative, but an empty fallback is still worse than a real name, so don't rely on it.\nIgnored for `full`/`mark` (those already carry their own fixed `aria-label=\"BrandSync\"`).",
|
|
10087
10190
|
"type": {
|
|
10088
10191
|
"text": "string"
|
|
10089
10192
|
},
|
|
10090
|
-
"
|
|
10193
|
+
"default": "null",
|
|
10194
|
+
"attribute": "alt"
|
|
10091
10195
|
},
|
|
10092
10196
|
{
|
|
10093
10197
|
"kind": "field",
|
|
10094
|
-
"name": "
|
|
10095
|
-
"description": "
|
|
10198
|
+
"name": "background",
|
|
10199
|
+
"description": "Which pre-built asset to use for `variant=\"full\"` -- Figma ships a genuinely separate,\ndifferently-drawn dark-background asset (every wordmark path filled solid white, and the\nicon's outer shape a single solid-white path instead of the light version's two-path\nwhite-fill-plus-border-ring), not a CSS currentColor swap of identical paths.\n\n`\"auto\"` (default) renders both assets and lets CSS pick one via\n`--bs-logo-asset-light-display`/`--bs-logo-asset-dark-display` (defined in\n`src/global/base.css`, flipped by the same `[data-theme=\"dark\"]` attribute every other\n`--bs-*` token already reacts to) -- so the logo just follows the ambient theme with no wiring\nneeded, the same way a consuming app's own dark mode already re-themes every other part of\nthis library via ordinary CSS custom property inheritance. Set `\"light\"`/`\"dark\"` explicitly\nto pin one regardless of the ambient theme -- e.g. a dark sidebar that isn't otherwise\ndark-themed.\n\nHas no effect on `variant=\"mark\"`: Figma's component set only has one real designed instance\nof the icon-only mark (`Device=\"Tab and mobile\"`, `Background=\"Default\"`) -- there's no\nseparate dark version of it, so the mark renders identically regardless of this prop.",
|
|
10096
10200
|
"type": {
|
|
10097
|
-
"text": "\"
|
|
10201
|
+
"text": "\"auto\" | \"dark\" | \"light\"",
|
|
10098
10202
|
"references": [
|
|
10099
10203
|
{
|
|
10100
|
-
"name": "
|
|
10204
|
+
"name": "BsLogoBackground"
|
|
10101
10205
|
}
|
|
10102
10206
|
]
|
|
10103
10207
|
},
|
|
10104
|
-
"default": "'
|
|
10105
|
-
"attribute": "
|
|
10106
|
-
"reflects": true
|
|
10208
|
+
"default": "'auto'",
|
|
10209
|
+
"attribute": "background"
|
|
10107
10210
|
},
|
|
10108
10211
|
{
|
|
10109
10212
|
"kind": "field",
|
|
10110
|
-
"name": "
|
|
10111
|
-
"description": "
|
|
10213
|
+
"name": "src",
|
|
10214
|
+
"description": "`variant=\"custom\"` only: the image URL to render (e.g. a URL your app already fetched from a\nlogo API). Ignored for `full`/`mark`.",
|
|
10112
10215
|
"type": {
|
|
10113
|
-
"text": "
|
|
10114
|
-
"references": [
|
|
10115
|
-
{
|
|
10116
|
-
"name": "BsMessageStatus"
|
|
10117
|
-
}
|
|
10118
|
-
]
|
|
10216
|
+
"text": "string"
|
|
10119
10217
|
},
|
|
10120
|
-
"default": "
|
|
10121
|
-
"attribute": "
|
|
10122
|
-
"reflects": true
|
|
10218
|
+
"default": "null",
|
|
10219
|
+
"attribute": "src"
|
|
10123
10220
|
},
|
|
10124
10221
|
{
|
|
10125
10222
|
"kind": "field",
|
|
10126
|
-
"name": "
|
|
10127
|
-
"description": "
|
|
10223
|
+
"name": "variant",
|
|
10224
|
+
"description": "How much of the logo to render. `full` is the icon + \"EG BrandSync\" wordmark (190.977x44\nnatural size); `mark` is just the icon (44x44 natural size), no wordmark; `custom` renders a\nconsumer-supplied image via `src`/`alt` instead of a built-in BrandSync asset -- see the class\ndoc above.",
|
|
10128
10225
|
"type": {
|
|
10129
|
-
"text": "
|
|
10226
|
+
"text": "\"custom\" | \"full\" | \"mark\"",
|
|
10227
|
+
"references": [
|
|
10228
|
+
{
|
|
10229
|
+
"name": "BsLogoVariant"
|
|
10230
|
+
}
|
|
10231
|
+
]
|
|
10130
10232
|
},
|
|
10131
|
-
"
|
|
10233
|
+
"default": "'full'",
|
|
10234
|
+
"attribute": "variant"
|
|
10132
10235
|
}
|
|
10133
10236
|
],
|
|
10134
|
-
"
|
|
10237
|
+
"cssParts": [
|
|
10135
10238
|
{
|
|
10136
|
-
"name": "",
|
|
10137
|
-
"description": "The
|
|
10138
|
-
}
|
|
10239
|
+
"name": "logo",
|
|
10240
|
+
"description": "The rendered SVG/image's wrapper."
|
|
10241
|
+
}
|
|
10242
|
+
],
|
|
10243
|
+
"cssProperties": [
|
|
10139
10244
|
{
|
|
10140
|
-
"name": "
|
|
10141
|
-
"description": "
|
|
10245
|
+
"name": "--bs-logo-asset-dark-display",
|
|
10246
|
+
"description": "The background=\"auto\" counterpart to --bs-logo-asset-light-display above -- see that entry."
|
|
10142
10247
|
},
|
|
10143
10248
|
{
|
|
10144
|
-
"name": "
|
|
10145
|
-
"description": "
|
|
10249
|
+
"name": "--bs-logo-asset-light-display",
|
|
10250
|
+
"description": "Only read when background=\"auto\" (the default). Defined in src/global/base.css, not here -- that's this library's own bridge from the ambient [data-theme=\"dark\"] attribute to which full-wordmark asset shows, not a per-component override point most consumers need to touch directly."
|
|
10146
10251
|
},
|
|
10147
10252
|
{
|
|
10148
|
-
"name": "
|
|
10149
|
-
"description": "
|
|
10150
|
-
}
|
|
10151
|
-
],
|
|
10152
|
-
"cssParts": [
|
|
10153
|
-
{
|
|
10154
|
-
"name": "avatar",
|
|
10155
|
-
"description": "The avatar wrapper."
|
|
10253
|
+
"name": "--bs-logo-height-custom",
|
|
10254
|
+
"description": "Height of the rendered image when variant=\"custom\". Width is `auto` (not a fixed custom property) so a consumer's own logo keeps its natural aspect ratio -- only the height is constrained, matching `full`/`mark`'s shared 44px height. Defaults to 44px."
|
|
10156
10255
|
},
|
|
10157
10256
|
{
|
|
10158
|
-
"name": "
|
|
10159
|
-
"description": "
|
|
10257
|
+
"name": "--bs-logo-height-full",
|
|
10258
|
+
"description": "Height of the rendered logo when variant=\"full\". 44px."
|
|
10160
10259
|
},
|
|
10161
10260
|
{
|
|
10162
|
-
"name": "
|
|
10163
|
-
"description": "
|
|
10261
|
+
"name": "--bs-logo-height-mark",
|
|
10262
|
+
"description": "Height of the rendered logo when variant=\"mark\". 44px."
|
|
10164
10263
|
},
|
|
10165
10264
|
{
|
|
10166
|
-
"name": "
|
|
10167
|
-
"description": "
|
|
10265
|
+
"name": "--bs-logo-width-full",
|
|
10266
|
+
"description": "Width of the rendered logo when variant=\"full\". 190.977px -- the light asset's natural width after its icon-to-wordmark gap was tightened from Figma's own exported spacing (see brandsync-logo-full-light.ts) -- a literal size, not a brandsync-tokens alias, since this is a fixed asset's natural dimensions rather than a themeable design token."
|
|
10168
10267
|
},
|
|
10169
10268
|
{
|
|
10170
|
-
"name": "
|
|
10171
|
-
"description": "
|
|
10269
|
+
"name": "--bs-logo-width-mark",
|
|
10270
|
+
"description": "Width of the rendered logo when variant=\"mark\". 44px."
|
|
10172
10271
|
}
|
|
10173
10272
|
]
|
|
10174
10273
|
}
|
|
@@ -10176,73 +10275,98 @@
|
|
|
10176
10275
|
"exports": [
|
|
10177
10276
|
{
|
|
10178
10277
|
"kind": "js",
|
|
10179
|
-
"name": "
|
|
10278
|
+
"name": "BsLogo",
|
|
10180
10279
|
"declaration": {
|
|
10181
|
-
"name": "
|
|
10280
|
+
"name": "BsLogo"
|
|
10182
10281
|
}
|
|
10183
10282
|
},
|
|
10184
10283
|
{
|
|
10185
10284
|
"kind": "custom-element-definition",
|
|
10186
|
-
"name": "bs-
|
|
10285
|
+
"name": "bs-logo",
|
|
10187
10286
|
"declaration": {
|
|
10188
|
-
"name": "
|
|
10287
|
+
"name": "BsLogo"
|
|
10189
10288
|
}
|
|
10190
10289
|
}
|
|
10191
10290
|
]
|
|
10192
10291
|
},
|
|
10193
10292
|
{
|
|
10194
10293
|
"kind": "javascript-module",
|
|
10195
|
-
"path": "src/components/bs-
|
|
10294
|
+
"path": "src/components/bs-menu/bs-menu.tsx",
|
|
10196
10295
|
"declarations": [
|
|
10197
10296
|
{
|
|
10198
10297
|
"kind": "class",
|
|
10199
10298
|
"customElement": true,
|
|
10200
|
-
"tagName": "bs-
|
|
10201
|
-
"name": "
|
|
10202
|
-
"description": "
|
|
10299
|
+
"tagName": "bs-menu",
|
|
10300
|
+
"name": "BsMenu",
|
|
10301
|
+
"description": "A generic dropdown/popup menu container: a rounded, elevated list of items (typically\n`bs-menu-item` elements).\n\n## When to use\n- A popup list of actions/options triggered by another control (e.g. a \"more options\" kebab\n button), such as `bs-chatbot-response-action`'s `menu` slot.\n\n## When not to use\n- A persistent, always-visible list of options -- this component is purpose-built as a popup\n surface (rounded corners, elevation shadow), not a plain list.",
|
|
10302
|
+
"slots": [
|
|
10303
|
+
{
|
|
10304
|
+
"name": "",
|
|
10305
|
+
"description": "Default slot: the menu's items (typically `bs-menu-item` elements, though anything can\nbe slotted in -- this component doesn't restrict slot content via JS)."
|
|
10306
|
+
}
|
|
10307
|
+
],
|
|
10308
|
+
"cssParts": [
|
|
10309
|
+
{
|
|
10310
|
+
"name": "list",
|
|
10311
|
+
"description": "The rounded, elevated box wrapping the slotted items."
|
|
10312
|
+
}
|
|
10313
|
+
]
|
|
10314
|
+
}
|
|
10315
|
+
],
|
|
10316
|
+
"exports": [
|
|
10317
|
+
{
|
|
10318
|
+
"kind": "js",
|
|
10319
|
+
"name": "BsMenu",
|
|
10320
|
+
"declaration": {
|
|
10321
|
+
"name": "BsMenu"
|
|
10322
|
+
}
|
|
10323
|
+
},
|
|
10324
|
+
{
|
|
10325
|
+
"kind": "custom-element-definition",
|
|
10326
|
+
"name": "bs-menu",
|
|
10327
|
+
"declaration": {
|
|
10328
|
+
"name": "BsMenu"
|
|
10329
|
+
}
|
|
10330
|
+
}
|
|
10331
|
+
]
|
|
10332
|
+
},
|
|
10333
|
+
{
|
|
10334
|
+
"kind": "javascript-module",
|
|
10335
|
+
"path": "src/components/bs-menu-item/bs-menu-item.tsx",
|
|
10336
|
+
"declarations": [
|
|
10337
|
+
{
|
|
10338
|
+
"kind": "class",
|
|
10339
|
+
"customElement": true,
|
|
10340
|
+
"tagName": "bs-menu-item",
|
|
10341
|
+
"name": "BsMenuItem",
|
|
10342
|
+
"description": "A single selectable row inside a `bs-menu`: an optional icon plus a text label, rendered as a\nreal `<button>` for correct keyboard/click semantics.\n\n## When to use\n- As a child of `bs-menu`, one per selectable action/option.\n\n## When not to use\n- Outside of `bs-menu` -- this component's sizing/hover treatment is designed to sit inside the\n menu's rounded, padded list box.",
|
|
10203
10343
|
"attributes": [
|
|
10204
10344
|
{
|
|
10205
|
-
"name": "
|
|
10206
|
-
"description": "
|
|
10345
|
+
"name": "disabled",
|
|
10346
|
+
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
10207
10347
|
"type": {
|
|
10208
|
-
"text": "
|
|
10348
|
+
"text": "boolean"
|
|
10209
10349
|
},
|
|
10210
|
-
"default": "
|
|
10211
|
-
"fieldName": "
|
|
10350
|
+
"default": "false",
|
|
10351
|
+
"fieldName": "disabled"
|
|
10212
10352
|
}
|
|
10213
10353
|
],
|
|
10214
10354
|
"members": [
|
|
10215
10355
|
{
|
|
10216
10356
|
"kind": "field",
|
|
10217
|
-
"name": "
|
|
10218
|
-
"description": "
|
|
10357
|
+
"name": "disabled",
|
|
10358
|
+
"description": "Disables the item: no hover/pressed/focus styling, no pointer cursor, not reachable by\nkeyboard tabbing, and clicking it does not emit `bsSelect`.",
|
|
10219
10359
|
"type": {
|
|
10220
|
-
"text": "
|
|
10360
|
+
"text": "boolean"
|
|
10221
10361
|
},
|
|
10222
|
-
"default": "
|
|
10223
|
-
"attribute": "
|
|
10224
|
-
},
|
|
10225
|
-
{
|
|
10226
|
-
"kind": "method",
|
|
10227
|
-
"name": "scrollToLatest",
|
|
10228
|
-
"description": "Scrolls to the newest message and re-enables auto-follow.",
|
|
10229
|
-
"return": {
|
|
10230
|
-
"type": {
|
|
10231
|
-
"text": "Promise<void>",
|
|
10232
|
-
"references": [
|
|
10233
|
-
{
|
|
10234
|
-
"name": "Promise",
|
|
10235
|
-
"package": "global:"
|
|
10236
|
-
}
|
|
10237
|
-
]
|
|
10238
|
-
}
|
|
10239
|
-
}
|
|
10362
|
+
"default": "false",
|
|
10363
|
+
"attribute": "disabled"
|
|
10240
10364
|
}
|
|
10241
10365
|
],
|
|
10242
10366
|
"events": [
|
|
10243
10367
|
{
|
|
10244
|
-
"name": "
|
|
10245
|
-
"description": "Fires when the
|
|
10368
|
+
"name": "bsSelect",
|
|
10369
|
+
"description": "Fires when the item is clicked.",
|
|
10246
10370
|
"type": {
|
|
10247
10371
|
"text": "CustomEvent<void>"
|
|
10248
10372
|
}
|
|
@@ -10251,17 +10375,25 @@
|
|
|
10251
10375
|
"slots": [
|
|
10252
10376
|
{
|
|
10253
10377
|
"name": "",
|
|
10254
|
-
"description": "
|
|
10378
|
+
"description": "Default slot: the item's text label."
|
|
10379
|
+
},
|
|
10380
|
+
{
|
|
10381
|
+
"name": "icon",
|
|
10382
|
+
"description": "Optional leading icon (24x24). When left empty, no icon space is reserved."
|
|
10255
10383
|
}
|
|
10256
10384
|
],
|
|
10257
10385
|
"cssParts": [
|
|
10258
10386
|
{
|
|
10259
|
-
"name": "
|
|
10260
|
-
"description": "The
|
|
10387
|
+
"name": "icon",
|
|
10388
|
+
"description": "The icon wrapper."
|
|
10261
10389
|
},
|
|
10262
10390
|
{
|
|
10263
|
-
"name": "
|
|
10264
|
-
"description": "The
|
|
10391
|
+
"name": "item",
|
|
10392
|
+
"description": "The button element."
|
|
10393
|
+
},
|
|
10394
|
+
{
|
|
10395
|
+
"name": "label",
|
|
10396
|
+
"description": "The label wrapper."
|
|
10265
10397
|
}
|
|
10266
10398
|
]
|
|
10267
10399
|
}
|
|
@@ -10269,155 +10401,415 @@
|
|
|
10269
10401
|
"exports": [
|
|
10270
10402
|
{
|
|
10271
10403
|
"kind": "js",
|
|
10272
|
-
"name": "
|
|
10404
|
+
"name": "BsMenuItem",
|
|
10273
10405
|
"declaration": {
|
|
10274
|
-
"name": "
|
|
10406
|
+
"name": "BsMenuItem"
|
|
10275
10407
|
}
|
|
10276
10408
|
},
|
|
10277
10409
|
{
|
|
10278
10410
|
"kind": "custom-element-definition",
|
|
10279
|
-
"name": "bs-
|
|
10411
|
+
"name": "bs-menu-item",
|
|
10280
10412
|
"declaration": {
|
|
10281
|
-
"name": "
|
|
10413
|
+
"name": "BsMenuItem"
|
|
10282
10414
|
}
|
|
10283
10415
|
}
|
|
10284
10416
|
]
|
|
10285
10417
|
},
|
|
10286
10418
|
{
|
|
10287
10419
|
"kind": "javascript-module",
|
|
10288
|
-
"path": "src/components/
|
|
10420
|
+
"path": "src/components/bs-message/bs-message.tsx",
|
|
10289
10421
|
"declarations": [
|
|
10290
10422
|
{
|
|
10291
10423
|
"kind": "class",
|
|
10292
10424
|
"customElement": true,
|
|
10293
|
-
"tagName": "bs-
|
|
10294
|
-
"name": "
|
|
10295
|
-
"description": "A
|
|
10425
|
+
"tagName": "bs-message",
|
|
10426
|
+
"name": "BsMessage",
|
|
10427
|
+
"description": "A single chat message bubble. User messages align to the end with a primary-tinted bubble;\nassistant messages align to the start on a neutral bubble. The consumer renders the content\n(e.g. markdown) into the default slot.\n\nComposed from: `bs-card` (the bubble surface).\n\n## When to use\n- One entry per turn in a chat transcript, usually inside `bs-message-list`.\n\n## When not to use\n- For transient notices or system banners -- use `bs-toast` / `bs-composer-status-banner`.",
|
|
10296
10428
|
"attributes": [
|
|
10297
10429
|
{
|
|
10298
|
-
"name": "
|
|
10299
|
-
"description": "
|
|
10300
|
-
"type": {
|
|
10301
|
-
"text": "string"
|
|
10302
|
-
},
|
|
10303
|
-
"default": "'Collapse'",
|
|
10304
|
-
"fieldName": "collapseLabel"
|
|
10305
|
-
},
|
|
10306
|
-
{
|
|
10307
|
-
"name": "collapsed",
|
|
10308
|
-
"description": "Narrows the drawer to a 96px icon-only rail (Figma node 8028:135374). Mutable and reflected\n-- clicking the collapse toggle toggles this directly (self-toggling, see the class doc above\nfor why), and this component keeps every direct-child `bs-navigation-drawer-item`'s own\n`collapsed` prop synced to match (see `syncItemsCollapsed`).",
|
|
10309
|
-
"type": {
|
|
10310
|
-
"text": "boolean"
|
|
10311
|
-
},
|
|
10312
|
-
"default": "false",
|
|
10313
|
-
"fieldName": "collapsed"
|
|
10314
|
-
},
|
|
10315
|
-
{
|
|
10316
|
-
"name": "collapsible",
|
|
10317
|
-
"description": "Whether this drawer can be collapsed at all. `false` renders no collapse toggle/chevron --\na \"fixed\" side nav (Carbon's terminology: a `Fixed Side Nav` never collapses, as opposed to a\nrail-capable one) that's always fully expanded. `collapsed` is ignored while this is `false`.",
|
|
10318
|
-
"type": {
|
|
10319
|
-
"text": "boolean"
|
|
10320
|
-
},
|
|
10321
|
-
"default": "true",
|
|
10322
|
-
"fieldName": "collapsible"
|
|
10323
|
-
},
|
|
10324
|
-
{
|
|
10325
|
-
"name": "expand-label",
|
|
10326
|
-
"description": "Accessible name of the collapse toggle while the drawer is collapsed.",
|
|
10327
|
-
"type": {
|
|
10328
|
-
"text": "string"
|
|
10329
|
-
},
|
|
10330
|
-
"default": "'Expand'",
|
|
10331
|
-
"fieldName": "expandLabel"
|
|
10332
|
-
},
|
|
10333
|
-
{
|
|
10334
|
-
"name": "heading",
|
|
10335
|
-
"description": "Heading text shown next to the collapse toggle, and used as the `<nav>` landmark's\n`aria-label` (so the landmark keeps a name even when `collapsed` hides the visible text).",
|
|
10430
|
+
"name": "datetime",
|
|
10431
|
+
"description": "Machine-readable value for the `<time>` element's `datetime` attribute.",
|
|
10336
10432
|
"type": {
|
|
10337
10433
|
"text": "string"
|
|
10338
10434
|
},
|
|
10339
|
-
"
|
|
10340
|
-
"fieldName": "heading"
|
|
10435
|
+
"fieldName": "datetime"
|
|
10341
10436
|
},
|
|
10342
10437
|
{
|
|
10343
|
-
"name": "
|
|
10344
|
-
"description": "
|
|
10438
|
+
"name": "role",
|
|
10439
|
+
"description": "Who sent the message. Controls alignment and colour.",
|
|
10345
10440
|
"type": {
|
|
10346
|
-
"text": "\"
|
|
10441
|
+
"text": "\"assistant\" | \"user\"",
|
|
10442
|
+
"references": [
|
|
10443
|
+
{
|
|
10444
|
+
"name": "BsMessageRole"
|
|
10445
|
+
}
|
|
10446
|
+
]
|
|
10347
10447
|
},
|
|
10348
|
-
"default": "'
|
|
10349
|
-
"fieldName": "
|
|
10448
|
+
"default": "'assistant'",
|
|
10449
|
+
"fieldName": "role"
|
|
10350
10450
|
},
|
|
10351
10451
|
{
|
|
10352
|
-
"name": "
|
|
10353
|
-
"description": "
|
|
10452
|
+
"name": "status",
|
|
10453
|
+
"description": "Delivery/render state. `error` uses error colours; `pending` dims the bubble and sets `aria-busy`.",
|
|
10354
10454
|
"type": {
|
|
10355
|
-
"text": "
|
|
10455
|
+
"text": "\"default\" | \"error\" | \"pending\"",
|
|
10456
|
+
"references": [
|
|
10457
|
+
{
|
|
10458
|
+
"name": "BsMessageStatus"
|
|
10459
|
+
}
|
|
10460
|
+
]
|
|
10356
10461
|
},
|
|
10357
|
-
"default": "
|
|
10358
|
-
"fieldName": "
|
|
10462
|
+
"default": "'default'",
|
|
10463
|
+
"fieldName": "status"
|
|
10359
10464
|
},
|
|
10360
10465
|
{
|
|
10361
|
-
"name": "
|
|
10362
|
-
"description": "
|
|
10466
|
+
"name": "timestamp",
|
|
10467
|
+
"description": "Human-readable timestamp text shown inside a `<time>` element. Omit to render none.",
|
|
10363
10468
|
"type": {
|
|
10364
10469
|
"text": "string"
|
|
10365
10470
|
},
|
|
10366
|
-
"
|
|
10367
|
-
"fieldName": "searchLabel"
|
|
10368
|
-
},
|
|
10369
|
-
{
|
|
10370
|
-
"name": "show-logo",
|
|
10371
|
-
"description": "Whether to render the BrandSync logo at all. Defaults to `true`. This drawer is normally the\none that owns the logo when paired with a `bs-navigation-header` (that header's own\n`with-navigation-drawer` alignment omits its logo for exactly this reason) -- but the reverse\npairing works too: a header that keeps its own logo (`alignment=\"default\"`) paired with this\ndrawer set to `showLogo={false}`, so the brand mark only ever appears once.",
|
|
10372
|
-
"type": {
|
|
10373
|
-
"text": "boolean"
|
|
10374
|
-
},
|
|
10375
|
-
"default": "true",
|
|
10376
|
-
"fieldName": "showLogo"
|
|
10471
|
+
"fieldName": "timestamp"
|
|
10377
10472
|
}
|
|
10378
10473
|
],
|
|
10379
10474
|
"members": [
|
|
10380
10475
|
{
|
|
10381
10476
|
"kind": "field",
|
|
10382
|
-
"name": "
|
|
10383
|
-
"description": "
|
|
10477
|
+
"name": "datetime",
|
|
10478
|
+
"description": "Machine-readable value for the `<time>` element's `datetime` attribute.",
|
|
10384
10479
|
"type": {
|
|
10385
10480
|
"text": "string"
|
|
10386
10481
|
},
|
|
10387
|
-
"
|
|
10388
|
-
"attribute": "collapse-label"
|
|
10482
|
+
"attribute": "datetime"
|
|
10389
10483
|
},
|
|
10390
10484
|
{
|
|
10391
10485
|
"kind": "field",
|
|
10392
|
-
"name": "
|
|
10393
|
-
"description": "
|
|
10486
|
+
"name": "role",
|
|
10487
|
+
"description": "Who sent the message. Controls alignment and colour.",
|
|
10394
10488
|
"type": {
|
|
10395
|
-
"text": "
|
|
10489
|
+
"text": "\"assistant\" | \"user\"",
|
|
10490
|
+
"references": [
|
|
10491
|
+
{
|
|
10492
|
+
"name": "BsMessageRole"
|
|
10493
|
+
}
|
|
10494
|
+
]
|
|
10396
10495
|
},
|
|
10397
|
-
"default": "
|
|
10398
|
-
"attribute": "
|
|
10496
|
+
"default": "'assistant'",
|
|
10497
|
+
"attribute": "role",
|
|
10399
10498
|
"reflects": true
|
|
10400
10499
|
},
|
|
10401
10500
|
{
|
|
10402
10501
|
"kind": "field",
|
|
10403
|
-
"name": "
|
|
10404
|
-
"description": "
|
|
10502
|
+
"name": "status",
|
|
10503
|
+
"description": "Delivery/render state. `error` uses error colours; `pending` dims the bubble and sets `aria-busy`.",
|
|
10405
10504
|
"type": {
|
|
10406
|
-
"text": "
|
|
10505
|
+
"text": "\"default\" | \"error\" | \"pending\"",
|
|
10506
|
+
"references": [
|
|
10507
|
+
{
|
|
10508
|
+
"name": "BsMessageStatus"
|
|
10509
|
+
}
|
|
10510
|
+
]
|
|
10407
10511
|
},
|
|
10408
|
-
"default": "
|
|
10409
|
-
"attribute": "
|
|
10512
|
+
"default": "'default'",
|
|
10513
|
+
"attribute": "status",
|
|
10514
|
+
"reflects": true
|
|
10410
10515
|
},
|
|
10411
10516
|
{
|
|
10412
10517
|
"kind": "field",
|
|
10413
|
-
"name": "
|
|
10414
|
-
"description": "
|
|
10518
|
+
"name": "timestamp",
|
|
10519
|
+
"description": "Human-readable timestamp text shown inside a `<time>` element. Omit to render none.",
|
|
10415
10520
|
"type": {
|
|
10416
10521
|
"text": "string"
|
|
10417
10522
|
},
|
|
10418
|
-
"
|
|
10419
|
-
|
|
10420
|
-
|
|
10523
|
+
"attribute": "timestamp"
|
|
10524
|
+
}
|
|
10525
|
+
],
|
|
10526
|
+
"slots": [
|
|
10527
|
+
{
|
|
10528
|
+
"name": "",
|
|
10529
|
+
"description": "The message content. The consumer renders markdown/rich content here."
|
|
10530
|
+
},
|
|
10531
|
+
{
|
|
10532
|
+
"name": "avatar",
|
|
10533
|
+
"description": "Optional avatar (e.g. `bs-avatar`) beside the bubble."
|
|
10534
|
+
},
|
|
10535
|
+
{
|
|
10536
|
+
"name": "footer",
|
|
10537
|
+
"description": "Optional content below the bubble (e.g. `bs-chatbot-response-action`)."
|
|
10538
|
+
},
|
|
10539
|
+
{
|
|
10540
|
+
"name": "timestamp",
|
|
10541
|
+
"description": "Overrides the default `<time>` element rendered from `timestamp`."
|
|
10542
|
+
}
|
|
10543
|
+
],
|
|
10544
|
+
"cssParts": [
|
|
10545
|
+
{
|
|
10546
|
+
"name": "avatar",
|
|
10547
|
+
"description": "The avatar wrapper."
|
|
10548
|
+
},
|
|
10549
|
+
{
|
|
10550
|
+
"name": "container",
|
|
10551
|
+
"description": "The bubble (`bs-card`)."
|
|
10552
|
+
},
|
|
10553
|
+
{
|
|
10554
|
+
"name": "content",
|
|
10555
|
+
"description": "The message content wrapper."
|
|
10556
|
+
},
|
|
10557
|
+
{
|
|
10558
|
+
"name": "footer",
|
|
10559
|
+
"description": "The footer wrapper."
|
|
10560
|
+
},
|
|
10561
|
+
{
|
|
10562
|
+
"name": "timestamp",
|
|
10563
|
+
"description": "The timestamp wrapper."
|
|
10564
|
+
}
|
|
10565
|
+
]
|
|
10566
|
+
}
|
|
10567
|
+
],
|
|
10568
|
+
"exports": [
|
|
10569
|
+
{
|
|
10570
|
+
"kind": "js",
|
|
10571
|
+
"name": "BsMessage",
|
|
10572
|
+
"declaration": {
|
|
10573
|
+
"name": "BsMessage"
|
|
10574
|
+
}
|
|
10575
|
+
},
|
|
10576
|
+
{
|
|
10577
|
+
"kind": "custom-element-definition",
|
|
10578
|
+
"name": "bs-message",
|
|
10579
|
+
"declaration": {
|
|
10580
|
+
"name": "BsMessage"
|
|
10581
|
+
}
|
|
10582
|
+
}
|
|
10583
|
+
]
|
|
10584
|
+
},
|
|
10585
|
+
{
|
|
10586
|
+
"kind": "javascript-module",
|
|
10587
|
+
"path": "src/components/bs-message-list/bs-message-list.tsx",
|
|
10588
|
+
"declarations": [
|
|
10589
|
+
{
|
|
10590
|
+
"kind": "class",
|
|
10591
|
+
"customElement": true,
|
|
10592
|
+
"tagName": "bs-message-list",
|
|
10593
|
+
"name": "BsMessageList",
|
|
10594
|
+
"description": "Scrollable chat transcript container (`role=\"log\"`, `aria-live=\"polite\"`) for `bs-message`\nchildren. It keeps itself pinned to the newest message while the user is near the bottom; when\nthe user has scrolled up and new content arrives, it shows a \"scroll to latest\" button instead\nof yanking the viewport.\n\nComposed from: `bs-icon-button` (the scroll-to-latest control).\n\n## When to use\n- Holding the messages of a chat conversation.\n\n## When not to use\n- For generic scrollable lists -- this is built around append-at-the-bottom transcripts.",
|
|
10595
|
+
"attributes": [
|
|
10596
|
+
{
|
|
10597
|
+
"name": "scroll-to-latest-label",
|
|
10598
|
+
"description": "Accessible name of the scroll-to-latest button.",
|
|
10599
|
+
"type": {
|
|
10600
|
+
"text": "string"
|
|
10601
|
+
},
|
|
10602
|
+
"default": "'Scroll to latest message'",
|
|
10603
|
+
"fieldName": "scrollToLatestLabel"
|
|
10604
|
+
}
|
|
10605
|
+
],
|
|
10606
|
+
"members": [
|
|
10607
|
+
{
|
|
10608
|
+
"kind": "field",
|
|
10609
|
+
"name": "scrollToLatestLabel",
|
|
10610
|
+
"description": "Accessible name of the scroll-to-latest button.",
|
|
10611
|
+
"type": {
|
|
10612
|
+
"text": "string"
|
|
10613
|
+
},
|
|
10614
|
+
"default": "'Scroll to latest message'",
|
|
10615
|
+
"attribute": "scroll-to-latest-label"
|
|
10616
|
+
},
|
|
10617
|
+
{
|
|
10618
|
+
"kind": "method",
|
|
10619
|
+
"name": "scrollToLatest",
|
|
10620
|
+
"description": "Scrolls to the newest message and re-enables auto-follow.",
|
|
10621
|
+
"return": {
|
|
10622
|
+
"type": {
|
|
10623
|
+
"text": "Promise<void>",
|
|
10624
|
+
"references": [
|
|
10625
|
+
{
|
|
10626
|
+
"name": "Promise",
|
|
10627
|
+
"package": "global:"
|
|
10628
|
+
}
|
|
10629
|
+
]
|
|
10630
|
+
}
|
|
10631
|
+
}
|
|
10632
|
+
}
|
|
10633
|
+
],
|
|
10634
|
+
"events": [
|
|
10635
|
+
{
|
|
10636
|
+
"name": "bsScrollToLatest",
|
|
10637
|
+
"description": "Fires when the scroll-to-latest button is activated or `scrollToLatest()` is called.",
|
|
10638
|
+
"type": {
|
|
10639
|
+
"text": "CustomEvent<void>"
|
|
10640
|
+
}
|
|
10641
|
+
}
|
|
10642
|
+
],
|
|
10643
|
+
"slots": [
|
|
10644
|
+
{
|
|
10645
|
+
"name": "",
|
|
10646
|
+
"description": "`bs-message` elements."
|
|
10647
|
+
}
|
|
10648
|
+
],
|
|
10649
|
+
"cssParts": [
|
|
10650
|
+
{
|
|
10651
|
+
"name": "scroll-to-latest",
|
|
10652
|
+
"description": "The scroll-to-latest `bs-icon-button`."
|
|
10653
|
+
},
|
|
10654
|
+
{
|
|
10655
|
+
"name": "viewport",
|
|
10656
|
+
"description": "The scrollable region."
|
|
10657
|
+
}
|
|
10658
|
+
]
|
|
10659
|
+
}
|
|
10660
|
+
],
|
|
10661
|
+
"exports": [
|
|
10662
|
+
{
|
|
10663
|
+
"kind": "js",
|
|
10664
|
+
"name": "BsMessageList",
|
|
10665
|
+
"declaration": {
|
|
10666
|
+
"name": "BsMessageList"
|
|
10667
|
+
}
|
|
10668
|
+
},
|
|
10669
|
+
{
|
|
10670
|
+
"kind": "custom-element-definition",
|
|
10671
|
+
"name": "bs-message-list",
|
|
10672
|
+
"declaration": {
|
|
10673
|
+
"name": "BsMessageList"
|
|
10674
|
+
}
|
|
10675
|
+
}
|
|
10676
|
+
]
|
|
10677
|
+
},
|
|
10678
|
+
{
|
|
10679
|
+
"kind": "javascript-module",
|
|
10680
|
+
"path": "src/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.tsx",
|
|
10681
|
+
"declarations": [
|
|
10682
|
+
{
|
|
10683
|
+
"kind": "class",
|
|
10684
|
+
"customElement": true,
|
|
10685
|
+
"tagName": "bs-navigation-drawer",
|
|
10686
|
+
"name": "BsNavigationDrawer",
|
|
10687
|
+
"description": "A left-side persistent navigation sidebar: the BrandSync logo, a \"Main Menu\" title with a\ncollapse toggle, a reserved slot for a search field, and a scrollable list of nav items.\n\n## When to use\n- The primary in-app navigation, shown alongside `bs-navigation-header` (typically that\n header's `with-navigation-drawer` alignment, which omits its own logo since this component\n already renders one -- or the reverse pairing, this drawer's own `showLogo={false}` alongside\n a header that keeps its logo instead, see that prop's own docs).\n\n## When not to use\n- The top navigation bar itself -- use `bs-navigation-header` instead.\n\nThis component renders a real `<nav>` landmark (no explicit `role` needed -- `<nav>` already\ncarries the implicit `navigation` role), labeled via `aria-label={heading}` so the landmark\nstill has a name even when collapsed (see below).\n\n`collapsed` narrows the drawer to a 96px icon-only rail, per Figma node 8028:135374\n(\"Type=Collapsed\"): the title text disappears, the logo swaps from the full \"EG BrandSync\"\nwordmark (`bs-logo variant=\"full\"`) to the real icon-only mark (`bs-logo variant=\"mark\"` -- a\nsecond, properly-designed asset, not a CSS crop of the full one) via CSS visibility toggling on\nboth, the same `:host([collapsed])` attribute-selector pattern already used for the\n`search`/`search-trigger` swap below, the `search` slot is replaced by a compact built-in\nsearch-trigger button (this component can't meaningfully shrink arbitrary slotted search-field\ncontent down to icon size itself, so it emits `bsSearchClick` instead -- e.g. to open a full\nsearch overlay), and every top-level\n`bs-navigation-drawer-item`'s layout switches from icon-beside-label to icon-above-caption.\nThat last part is real prop propagation, not a CSS trick: this component keeps each direct-child\nitem's own `collapsed` prop in sync with its own (see `syncItemsCollapsed` below), the same\ndirect-children-prop-sync approach `bs-tabs` already uses for coordinating `selected` across its\n`bs-tab` children. Clicking the toggle self-toggles `collapsed` (simple local UI state, not\nsomething needing cross-component coordination -- closer to `bs-switch`'s self-toggling\n`checked` than `bs-tab`'s non-self-toggling `selected`) and emits `bsCollapse` with the new\nvalue. The toggle's own caret icon does NOT rotate when collapsed -- Figma's collapsed mock\nreuses the identical left-pointing \"CaretLeft\" asset unchanged, confirmed by directly inspecting\nthat state, so this deliberately does not add the same \"flip on toggle\" idiom the drawer item's\nown disclosure chevron does (that one really is an unconfirmed addition; this one was checked).\n\n**Small screens (768px and below)** switch to an off-canvas overlay instead of a permanent rail:\nthe drawer is hidden until `open` is set, then slides in over the page with a backdrop, fully\nexpanded (labels visible, nested items reachable). Escape or a click on the backdrop closes it and\nemits `bsClose`; focus moves into it on open and back to whatever opened it on close. The\ncollapse toggle and the compact search trigger are not shown in this mode (nothing sits behind\nthem). The drawer has no trigger of its own -- put a button in your header and set `open` from it.\nOn wider screens `open` is ignored and nothing changes.",
|
|
10688
|
+
"attributes": [
|
|
10689
|
+
{
|
|
10690
|
+
"name": "collapse-label",
|
|
10691
|
+
"description": "Accessible name of the collapse toggle while the drawer is expanded.",
|
|
10692
|
+
"type": {
|
|
10693
|
+
"text": "string"
|
|
10694
|
+
},
|
|
10695
|
+
"default": "'Collapse'",
|
|
10696
|
+
"fieldName": "collapseLabel"
|
|
10697
|
+
},
|
|
10698
|
+
{
|
|
10699
|
+
"name": "collapsed",
|
|
10700
|
+
"description": "Narrows the drawer to a 96px icon-only rail (Figma node 8028:135374). Mutable and reflected\n-- clicking the collapse toggle toggles this directly (self-toggling, see the class doc above\nfor why), and this component keeps every direct-child `bs-navigation-drawer-item`'s own\n`collapsed` prop synced to match (see `syncItemsCollapsed`).",
|
|
10701
|
+
"type": {
|
|
10702
|
+
"text": "boolean"
|
|
10703
|
+
},
|
|
10704
|
+
"default": "false",
|
|
10705
|
+
"fieldName": "collapsed"
|
|
10706
|
+
},
|
|
10707
|
+
{
|
|
10708
|
+
"name": "collapsible",
|
|
10709
|
+
"description": "Whether this drawer can be collapsed at all. `false` renders no collapse toggle/chevron --\na \"fixed\" side nav (Carbon's terminology: a `Fixed Side Nav` never collapses, as opposed to a\nrail-capable one) that's always fully expanded. `collapsed` is ignored while this is `false`.",
|
|
10710
|
+
"type": {
|
|
10711
|
+
"text": "boolean"
|
|
10712
|
+
},
|
|
10713
|
+
"default": "true",
|
|
10714
|
+
"fieldName": "collapsible"
|
|
10715
|
+
},
|
|
10716
|
+
{
|
|
10717
|
+
"name": "expand-label",
|
|
10718
|
+
"description": "Accessible name of the collapse toggle while the drawer is collapsed.",
|
|
10719
|
+
"type": {
|
|
10720
|
+
"text": "string"
|
|
10721
|
+
},
|
|
10722
|
+
"default": "'Expand'",
|
|
10723
|
+
"fieldName": "expandLabel"
|
|
10724
|
+
},
|
|
10725
|
+
{
|
|
10726
|
+
"name": "heading",
|
|
10727
|
+
"description": "Heading text shown next to the collapse toggle, and used as the `<nav>` landmark's\n`aria-label` (so the landmark keeps a name even when `collapsed` hides the visible text).",
|
|
10728
|
+
"type": {
|
|
10729
|
+
"text": "string"
|
|
10730
|
+
},
|
|
10731
|
+
"default": "'Main Menu'",
|
|
10732
|
+
"fieldName": "heading"
|
|
10733
|
+
},
|
|
10734
|
+
{
|
|
10735
|
+
"name": "logo-background",
|
|
10736
|
+
"description": "Forwarded straight to both internal `bs-logo` elements' own `background` prop. Defaults to\n`\"auto\"`, which follows the ambient `[data-theme=\"dark\"]` state automatically (see `bs-logo`'s\nown docs) -- so if this drawer ends up on a dark surface via the normal theming mechanism, the\nlogo switches to its dedicated dark-background asset with no wiring needed. Set\n`\"light\"`/`\"dark\"` explicitly only if you've overridden `--bs-navigation-drawer-bg` to\nsomething dark yourself *without* setting `[data-theme=\"dark\"]`, and need to pin the logo\nregardless of theme. Has no visible effect on the `variant=\"mark\"` logo shown while\n`collapsed` (see `bs-logo`'s own docs -- there's only one real designed mark asset, it's\nbackground-agnostic).",
|
|
10737
|
+
"type": {
|
|
10738
|
+
"text": "\"auto\" | \"dark\" | \"light\""
|
|
10739
|
+
},
|
|
10740
|
+
"default": "'auto'",
|
|
10741
|
+
"fieldName": "logoBackground"
|
|
10742
|
+
},
|
|
10743
|
+
{
|
|
10744
|
+
"name": "open",
|
|
10745
|
+
"description": "Small screens only (768px and below): whether the off-canvas overlay is shown. Mutable and\nreflected -- the drawer sets it back to `false` itself when the user dismisses it (Escape or\nthe backdrop), and emits `bsClose`. Ignored on wider screens, where the drawer is always in\nthe page flow. There is no built-in trigger: set this from your own button.",
|
|
10746
|
+
"type": {
|
|
10747
|
+
"text": "boolean"
|
|
10748
|
+
},
|
|
10749
|
+
"default": "false",
|
|
10750
|
+
"fieldName": "open"
|
|
10751
|
+
},
|
|
10752
|
+
{
|
|
10753
|
+
"name": "search-label",
|
|
10754
|
+
"description": "Accessible name of the search trigger.",
|
|
10755
|
+
"type": {
|
|
10756
|
+
"text": "string"
|
|
10757
|
+
},
|
|
10758
|
+
"default": "'Search'",
|
|
10759
|
+
"fieldName": "searchLabel"
|
|
10760
|
+
},
|
|
10761
|
+
{
|
|
10762
|
+
"name": "show-logo",
|
|
10763
|
+
"description": "Whether to render the BrandSync logo at all. Defaults to `true`. This drawer is normally the\none that owns the logo when paired with a `bs-navigation-header` (that header's own\n`with-navigation-drawer` alignment omits its logo for exactly this reason) -- but the reverse\npairing works too: a header that keeps its own logo (`alignment=\"default\"`) paired with this\ndrawer set to `showLogo={false}`, so the brand mark only ever appears once.",
|
|
10764
|
+
"type": {
|
|
10765
|
+
"text": "boolean"
|
|
10766
|
+
},
|
|
10767
|
+
"default": "true",
|
|
10768
|
+
"fieldName": "showLogo"
|
|
10769
|
+
}
|
|
10770
|
+
],
|
|
10771
|
+
"members": [
|
|
10772
|
+
{
|
|
10773
|
+
"kind": "field",
|
|
10774
|
+
"name": "collapseLabel",
|
|
10775
|
+
"description": "Accessible name of the collapse toggle while the drawer is expanded.",
|
|
10776
|
+
"type": {
|
|
10777
|
+
"text": "string"
|
|
10778
|
+
},
|
|
10779
|
+
"default": "'Collapse'",
|
|
10780
|
+
"attribute": "collapse-label"
|
|
10781
|
+
},
|
|
10782
|
+
{
|
|
10783
|
+
"kind": "field",
|
|
10784
|
+
"name": "collapsed",
|
|
10785
|
+
"description": "Narrows the drawer to a 96px icon-only rail (Figma node 8028:135374). Mutable and reflected\n-- clicking the collapse toggle toggles this directly (self-toggling, see the class doc above\nfor why), and this component keeps every direct-child `bs-navigation-drawer-item`'s own\n`collapsed` prop synced to match (see `syncItemsCollapsed`).",
|
|
10786
|
+
"type": {
|
|
10787
|
+
"text": "boolean"
|
|
10788
|
+
},
|
|
10789
|
+
"default": "false",
|
|
10790
|
+
"attribute": "collapsed",
|
|
10791
|
+
"reflects": true
|
|
10792
|
+
},
|
|
10793
|
+
{
|
|
10794
|
+
"kind": "field",
|
|
10795
|
+
"name": "collapsible",
|
|
10796
|
+
"description": "Whether this drawer can be collapsed at all. `false` renders no collapse toggle/chevron --\na \"fixed\" side nav (Carbon's terminology: a `Fixed Side Nav` never collapses, as opposed to a\nrail-capable one) that's always fully expanded. `collapsed` is ignored while this is `false`.",
|
|
10797
|
+
"type": {
|
|
10798
|
+
"text": "boolean"
|
|
10799
|
+
},
|
|
10800
|
+
"default": "true",
|
|
10801
|
+
"attribute": "collapsible"
|
|
10802
|
+
},
|
|
10803
|
+
{
|
|
10804
|
+
"kind": "field",
|
|
10805
|
+
"name": "expandLabel",
|
|
10806
|
+
"description": "Accessible name of the collapse toggle while the drawer is collapsed.",
|
|
10807
|
+
"type": {
|
|
10808
|
+
"text": "string"
|
|
10809
|
+
},
|
|
10810
|
+
"default": "'Expand'",
|
|
10811
|
+
"attribute": "expand-label"
|
|
10812
|
+
},
|
|
10421
10813
|
{
|
|
10422
10814
|
"kind": "field",
|
|
10423
10815
|
"name": "heading",
|
|
@@ -17917,32 +18309,293 @@
|
|
|
17917
18309
|
"fieldName": "placement"
|
|
17918
18310
|
}
|
|
17919
18311
|
],
|
|
17920
|
-
"members": [
|
|
18312
|
+
"members": [
|
|
18313
|
+
{
|
|
18314
|
+
"kind": "field",
|
|
18315
|
+
"name": "placement",
|
|
18316
|
+
"description": "Which edge of the bubble the arrow points from, and therefore which side of a trigger the\nbubble should be placed on. `'top'` is the only value implemented -- it is the only variant\nconfirmed from the Figma \"EG Tooltip\" component (arrow at the top of the bubble, pointing\nup). Bottom/left/right variants aren't implemented pending further Figma design confirmation.",
|
|
18317
|
+
"type": {
|
|
18318
|
+
"text": "\"top\""
|
|
18319
|
+
},
|
|
18320
|
+
"default": "'top'",
|
|
18321
|
+
"attribute": "placement"
|
|
18322
|
+
}
|
|
18323
|
+
],
|
|
18324
|
+
"slots": [
|
|
18325
|
+
{
|
|
18326
|
+
"name": "",
|
|
18327
|
+
"description": "Default slot: the tooltip's message content."
|
|
18328
|
+
}
|
|
18329
|
+
],
|
|
18330
|
+
"cssParts": [
|
|
18331
|
+
{
|
|
18332
|
+
"name": "arrow",
|
|
18333
|
+
"description": "The triangular pointer arrow."
|
|
18334
|
+
},
|
|
18335
|
+
{
|
|
18336
|
+
"name": "bubble",
|
|
18337
|
+
"description": "The dark rounded box containing the slotted content."
|
|
18338
|
+
}
|
|
18339
|
+
]
|
|
18340
|
+
}
|
|
18341
|
+
],
|
|
18342
|
+
"exports": [
|
|
18343
|
+
{
|
|
18344
|
+
"kind": "js",
|
|
18345
|
+
"name": "BsTooltip",
|
|
18346
|
+
"declaration": {
|
|
18347
|
+
"name": "BsTooltip"
|
|
18348
|
+
}
|
|
18349
|
+
},
|
|
18350
|
+
{
|
|
18351
|
+
"kind": "custom-element-definition",
|
|
18352
|
+
"name": "bs-tooltip",
|
|
18353
|
+
"declaration": {
|
|
18354
|
+
"name": "BsTooltip"
|
|
18355
|
+
}
|
|
18356
|
+
}
|
|
18357
|
+
]
|
|
18358
|
+
},
|
|
18359
|
+
{
|
|
18360
|
+
"kind": "javascript-module",
|
|
18361
|
+
"path": "src/components/bs-tooltip-trigger/bs-tooltip-trigger.tsx",
|
|
18362
|
+
"declarations": [
|
|
18363
|
+
{
|
|
18364
|
+
"kind": "class",
|
|
18365
|
+
"customElement": true,
|
|
18366
|
+
"tagName": "bs-tooltip-trigger",
|
|
18367
|
+
"name": "BsTooltipTrigger",
|
|
18368
|
+
"description": "Wraps a trigger element and shows a `bs-tooltip` on hover or keyboard focus, after an optional\ndelay. Escape dismisses it. The tooltip is linked to the trigger with `aria-describedby`.\n\nComposed from `bs-tooltip`.\n\n## When to use\n- A short hint for an icon button or truncated label.\n\n## When not to use\n- Interactive content or long text (use `bs-popover`).",
|
|
18369
|
+
"attributes": [
|
|
18370
|
+
{
|
|
18371
|
+
"name": "delay",
|
|
18372
|
+
"description": "Milliseconds to wait before showing the tooltip.",
|
|
18373
|
+
"type": {
|
|
18374
|
+
"text": "number"
|
|
18375
|
+
},
|
|
18376
|
+
"default": "0",
|
|
18377
|
+
"fieldName": "delay"
|
|
18378
|
+
},
|
|
18379
|
+
{
|
|
18380
|
+
"name": "placement",
|
|
18381
|
+
"description": "Side of the trigger the tooltip appears on. The bs-tooltip arrow is only drawn for 'bottom'.",
|
|
18382
|
+
"type": {
|
|
18383
|
+
"text": "\"bottom\" | \"end\" | \"start\" | \"top\"",
|
|
18384
|
+
"references": [
|
|
18385
|
+
{
|
|
18386
|
+
"name": "BsTooltipTriggerPlacement"
|
|
18387
|
+
}
|
|
18388
|
+
]
|
|
18389
|
+
},
|
|
18390
|
+
"default": "'bottom'",
|
|
18391
|
+
"fieldName": "placement"
|
|
18392
|
+
},
|
|
18393
|
+
{
|
|
18394
|
+
"name": "text",
|
|
18395
|
+
"description": "Tooltip message.",
|
|
18396
|
+
"type": {
|
|
18397
|
+
"text": "string"
|
|
18398
|
+
},
|
|
18399
|
+
"default": "''",
|
|
18400
|
+
"fieldName": "text"
|
|
18401
|
+
}
|
|
18402
|
+
],
|
|
18403
|
+
"members": [
|
|
18404
|
+
{
|
|
18405
|
+
"kind": "field",
|
|
18406
|
+
"name": "delay",
|
|
18407
|
+
"description": "Milliseconds to wait before showing the tooltip.",
|
|
18408
|
+
"type": {
|
|
18409
|
+
"text": "number"
|
|
18410
|
+
},
|
|
18411
|
+
"default": "0",
|
|
18412
|
+
"attribute": "delay"
|
|
18413
|
+
},
|
|
18414
|
+
{
|
|
18415
|
+
"kind": "field",
|
|
18416
|
+
"name": "placement",
|
|
18417
|
+
"description": "Side of the trigger the tooltip appears on. The bs-tooltip arrow is only drawn for 'bottom'.",
|
|
18418
|
+
"type": {
|
|
18419
|
+
"text": "\"bottom\" | \"end\" | \"start\" | \"top\"",
|
|
18420
|
+
"references": [
|
|
18421
|
+
{
|
|
18422
|
+
"name": "BsTooltipTriggerPlacement"
|
|
18423
|
+
}
|
|
18424
|
+
]
|
|
18425
|
+
},
|
|
18426
|
+
"default": "'bottom'",
|
|
18427
|
+
"attribute": "placement",
|
|
18428
|
+
"reflects": true
|
|
18429
|
+
},
|
|
18430
|
+
{
|
|
18431
|
+
"kind": "field",
|
|
18432
|
+
"name": "text",
|
|
18433
|
+
"description": "Tooltip message.",
|
|
18434
|
+
"type": {
|
|
18435
|
+
"text": "string"
|
|
18436
|
+
},
|
|
18437
|
+
"default": "''",
|
|
18438
|
+
"attribute": "text"
|
|
18439
|
+
}
|
|
18440
|
+
],
|
|
18441
|
+
"slots": [
|
|
18442
|
+
{
|
|
18443
|
+
"name": "",
|
|
18444
|
+
"description": "Default slot: the trigger element."
|
|
18445
|
+
}
|
|
18446
|
+
],
|
|
18447
|
+
"cssParts": [
|
|
18448
|
+
{
|
|
18449
|
+
"name": "tooltip",
|
|
18450
|
+
"description": "The positioned tooltip wrapper (role=\"tooltip\")."
|
|
18451
|
+
},
|
|
18452
|
+
{
|
|
18453
|
+
"name": "trigger",
|
|
18454
|
+
"description": "The wrapper around the trigger; carries aria-describedby."
|
|
18455
|
+
}
|
|
18456
|
+
]
|
|
18457
|
+
}
|
|
18458
|
+
],
|
|
18459
|
+
"exports": [
|
|
18460
|
+
{
|
|
18461
|
+
"kind": "js",
|
|
18462
|
+
"name": "BsTooltipTrigger",
|
|
18463
|
+
"declaration": {
|
|
18464
|
+
"name": "BsTooltipTrigger"
|
|
18465
|
+
}
|
|
18466
|
+
},
|
|
18467
|
+
{
|
|
18468
|
+
"kind": "custom-element-definition",
|
|
18469
|
+
"name": "bs-tooltip-trigger",
|
|
18470
|
+
"declaration": {
|
|
18471
|
+
"name": "BsTooltipTrigger"
|
|
18472
|
+
}
|
|
18473
|
+
}
|
|
18474
|
+
]
|
|
18475
|
+
},
|
|
18476
|
+
{
|
|
18477
|
+
"kind": "javascript-module",
|
|
18478
|
+
"path": "src/components/bs-tree/bs-tree.tsx",
|
|
18479
|
+
"declarations": [
|
|
18480
|
+
{
|
|
18481
|
+
"kind": "class",
|
|
18482
|
+
"customElement": true,
|
|
18483
|
+
"tagName": "bs-tree",
|
|
18484
|
+
"name": "BsTree",
|
|
18485
|
+
"description": "A hierarchical list of `bs-tree-item` rows with single selection, expand/collapse and the\nWAI-ARIA tree keyboard pattern.\n\nThe tree owns `role=\"tree\"`, the roving `tabindex` (exactly one enabled, visible item is\ntabbable: the selected one, otherwise the first), selection (kept in sync with each item's\n`selected`) and keyboard navigation over the visible (rendered, non-disabled) items. Items own\ntheir expansion state and emit `bsSelect` / `bsToggle`.\n\nBuilt from: `bs-tree-item` rows.",
|
|
18486
|
+
"attributes": [
|
|
18487
|
+
{
|
|
18488
|
+
"name": "aria-label",
|
|
18489
|
+
"description": "Accessible name of the tree. Bound onto the internal `role=\"tree\"` element (an `aria-label`\non the host would not reach it).",
|
|
18490
|
+
"type": {
|
|
18491
|
+
"text": "string"
|
|
18492
|
+
},
|
|
18493
|
+
"default": "null",
|
|
18494
|
+
"fieldName": "ariaLabel"
|
|
18495
|
+
},
|
|
18496
|
+
{
|
|
18497
|
+
"name": "selectable",
|
|
18498
|
+
"description": "When `false`, rows do not select (clicks and Enter/Space do nothing) but parents still\nexpand and collapse.",
|
|
18499
|
+
"type": {
|
|
18500
|
+
"text": "boolean"
|
|
18501
|
+
},
|
|
18502
|
+
"default": "true",
|
|
18503
|
+
"fieldName": "selectable"
|
|
18504
|
+
},
|
|
18505
|
+
{
|
|
18506
|
+
"name": "value",
|
|
18507
|
+
"description": "The `value` (or, when empty, the `label`) of the selected item. Two-way synced with each\nitem's `selected` (single selection). Setting it from code does not emit `bsChange`.",
|
|
18508
|
+
"type": {
|
|
18509
|
+
"text": "string"
|
|
18510
|
+
},
|
|
18511
|
+
"default": "''",
|
|
18512
|
+
"fieldName": "value"
|
|
18513
|
+
}
|
|
18514
|
+
],
|
|
18515
|
+
"members": [
|
|
18516
|
+
{
|
|
18517
|
+
"kind": "field",
|
|
18518
|
+
"name": "ariaLabel",
|
|
18519
|
+
"description": "Accessible name of the tree. Bound onto the internal `role=\"tree\"` element (an `aria-label`\non the host would not reach it).",
|
|
18520
|
+
"type": {
|
|
18521
|
+
"text": "string"
|
|
18522
|
+
},
|
|
18523
|
+
"default": "null",
|
|
18524
|
+
"attribute": "aria-label"
|
|
18525
|
+
},
|
|
18526
|
+
{
|
|
18527
|
+
"kind": "field",
|
|
18528
|
+
"name": "selectable",
|
|
18529
|
+
"description": "When `false`, rows do not select (clicks and Enter/Space do nothing) but parents still\nexpand and collapse.",
|
|
18530
|
+
"type": {
|
|
18531
|
+
"text": "boolean"
|
|
18532
|
+
},
|
|
18533
|
+
"default": "true",
|
|
18534
|
+
"attribute": "selectable"
|
|
18535
|
+
},
|
|
18536
|
+
{
|
|
18537
|
+
"kind": "field",
|
|
18538
|
+
"name": "value",
|
|
18539
|
+
"description": "The `value` (or, when empty, the `label`) of the selected item. Two-way synced with each\nitem's `selected` (single selection). Setting it from code does not emit `bsChange`.",
|
|
18540
|
+
"type": {
|
|
18541
|
+
"text": "string"
|
|
18542
|
+
},
|
|
18543
|
+
"default": "''",
|
|
18544
|
+
"attribute": "value",
|
|
18545
|
+
"reflects": true
|
|
18546
|
+
},
|
|
18547
|
+
{
|
|
18548
|
+
"kind": "method",
|
|
18549
|
+
"name": "collapseAll",
|
|
18550
|
+
"description": "Collapses every parent item.",
|
|
18551
|
+
"return": {
|
|
18552
|
+
"type": {
|
|
18553
|
+
"text": "Promise<void>",
|
|
18554
|
+
"references": [
|
|
18555
|
+
{
|
|
18556
|
+
"name": "Promise",
|
|
18557
|
+
"package": "global:"
|
|
18558
|
+
}
|
|
18559
|
+
]
|
|
18560
|
+
}
|
|
18561
|
+
}
|
|
18562
|
+
},
|
|
18563
|
+
{
|
|
18564
|
+
"kind": "method",
|
|
18565
|
+
"name": "expandAll",
|
|
18566
|
+
"description": "Expands every parent item.",
|
|
18567
|
+
"return": {
|
|
18568
|
+
"type": {
|
|
18569
|
+
"text": "Promise<void>",
|
|
18570
|
+
"references": [
|
|
18571
|
+
{
|
|
18572
|
+
"name": "Promise",
|
|
18573
|
+
"package": "global:"
|
|
18574
|
+
}
|
|
18575
|
+
]
|
|
18576
|
+
}
|
|
18577
|
+
}
|
|
18578
|
+
}
|
|
18579
|
+
],
|
|
18580
|
+
"events": [
|
|
17921
18581
|
{
|
|
17922
|
-
"
|
|
17923
|
-
"
|
|
17924
|
-
"description": "Which edge of the bubble the arrow points from, and therefore which side of a trigger the\nbubble should be placed on. `'top'` is the only value implemented -- it is the only variant\nconfirmed from the Figma \"EG Tooltip\" component (arrow at the top of the bubble, pointing\nup). Bottom/left/right variants aren't implemented pending further Figma design confirmation.",
|
|
18582
|
+
"name": "bsChange",
|
|
18583
|
+
"description": "Emitted when the user changes the selection (click, Enter/Space), with the new value. Not\nemitted when `value` is set from code.",
|
|
17925
18584
|
"type": {
|
|
17926
|
-
"text": "
|
|
17927
|
-
}
|
|
17928
|
-
"default": "'top'",
|
|
17929
|
-
"attribute": "placement"
|
|
18585
|
+
"text": "CustomEvent<string>"
|
|
18586
|
+
}
|
|
17930
18587
|
}
|
|
17931
18588
|
],
|
|
17932
18589
|
"slots": [
|
|
17933
18590
|
{
|
|
17934
18591
|
"name": "",
|
|
17935
|
-
"description": "Default slot:
|
|
18592
|
+
"description": "Default slot: top-level `bs-tree-item` elements (nested ones go inside their parent item)."
|
|
17936
18593
|
}
|
|
17937
18594
|
],
|
|
17938
18595
|
"cssParts": [
|
|
17939
18596
|
{
|
|
17940
|
-
"name": "
|
|
17941
|
-
"description": "The
|
|
17942
|
-
},
|
|
17943
|
-
{
|
|
17944
|
-
"name": "bubble",
|
|
17945
|
-
"description": "The dark rounded box containing the slotted content."
|
|
18597
|
+
"name": "container",
|
|
18598
|
+
"description": "The `role=\"tree\"` wrapper."
|
|
17946
18599
|
}
|
|
17947
18600
|
]
|
|
17948
18601
|
}
|
|
@@ -17950,116 +18603,313 @@
|
|
|
17950
18603
|
"exports": [
|
|
17951
18604
|
{
|
|
17952
18605
|
"kind": "js",
|
|
17953
|
-
"name": "
|
|
18606
|
+
"name": "BsTree",
|
|
17954
18607
|
"declaration": {
|
|
17955
|
-
"name": "
|
|
18608
|
+
"name": "BsTree"
|
|
17956
18609
|
}
|
|
17957
18610
|
},
|
|
17958
18611
|
{
|
|
17959
18612
|
"kind": "custom-element-definition",
|
|
17960
|
-
"name": "bs-
|
|
18613
|
+
"name": "bs-tree",
|
|
17961
18614
|
"declaration": {
|
|
17962
|
-
"name": "
|
|
18615
|
+
"name": "BsTree"
|
|
17963
18616
|
}
|
|
17964
18617
|
}
|
|
17965
18618
|
]
|
|
17966
18619
|
},
|
|
17967
18620
|
{
|
|
17968
18621
|
"kind": "javascript-module",
|
|
17969
|
-
"path": "src/components/bs-
|
|
18622
|
+
"path": "src/components/bs-tree-item/bs-tree-item.tsx",
|
|
17970
18623
|
"declarations": [
|
|
17971
18624
|
{
|
|
17972
18625
|
"kind": "class",
|
|
17973
18626
|
"customElement": true,
|
|
17974
|
-
"tagName": "bs-
|
|
17975
|
-
"name": "
|
|
17976
|
-
"description": "
|
|
18627
|
+
"tagName": "bs-tree-item",
|
|
18628
|
+
"name": "BsTreeItem",
|
|
18629
|
+
"description": "A single row of a `bs-tree`. An item that contains child `bs-tree-item` elements is a parent\n(it gets an expand/collapse caret and a folder icon); an item without children is a leaf (no\ncaret, file icon).\n\nThe host carries `role=\"treeitem\"` and the `aria-*` state; the owning `bs-tree` manages the\nroving `tabindex`, selection and keyboard navigation. Nesting depth is computed automatically\nfrom the number of ancestor `bs-tree-item` elements and exposed as `aria-level` -- it is not a\nprop. Clicking the row selects it; clicking the caret (or pressing Right/Left in a tree) toggles\nexpansion -- the two are deliberately separate.\n\nBuilt from: inline SVG icons only (no existing `bs-*` component covers a tree row).",
|
|
17977
18630
|
"attributes": [
|
|
17978
18631
|
{
|
|
17979
|
-
"name": "
|
|
17980
|
-
"description": "
|
|
18632
|
+
"name": "disabled",
|
|
18633
|
+
"description": "Disables the row: not focusable, ignores clicks, dimmed. Reflected.",
|
|
17981
18634
|
"type": {
|
|
17982
|
-
"text": "
|
|
18635
|
+
"text": "boolean"
|
|
17983
18636
|
},
|
|
17984
|
-
"default": "
|
|
17985
|
-
"fieldName": "
|
|
18637
|
+
"default": "false",
|
|
18638
|
+
"fieldName": "disabled"
|
|
17986
18639
|
},
|
|
17987
18640
|
{
|
|
17988
|
-
"name": "
|
|
17989
|
-
"description": "
|
|
18641
|
+
"name": "expanded",
|
|
18642
|
+
"description": "Whether the child items are shown. Only meaningful for parents. Mutable: the caret, the\nkeyboard and the owning tree toggle it. Reflected.",
|
|
17990
18643
|
"type": {
|
|
17991
|
-
"text": "
|
|
17992
|
-
"references": [
|
|
17993
|
-
{
|
|
17994
|
-
"name": "BsTooltipTriggerPlacement"
|
|
17995
|
-
}
|
|
17996
|
-
]
|
|
18644
|
+
"text": "boolean"
|
|
17997
18645
|
},
|
|
17998
|
-
"default": "
|
|
17999
|
-
"fieldName": "
|
|
18646
|
+
"default": "false",
|
|
18647
|
+
"fieldName": "expanded"
|
|
18000
18648
|
},
|
|
18001
18649
|
{
|
|
18002
|
-
"name": "
|
|
18003
|
-
"description": "
|
|
18650
|
+
"name": "label",
|
|
18651
|
+
"description": "The row's text. Use the `label` slot for rich content.",
|
|
18004
18652
|
"type": {
|
|
18005
18653
|
"text": "string"
|
|
18006
18654
|
},
|
|
18007
18655
|
"default": "''",
|
|
18008
|
-
"fieldName": "
|
|
18656
|
+
"fieldName": "label"
|
|
18657
|
+
},
|
|
18658
|
+
{
|
|
18659
|
+
"name": "selected",
|
|
18660
|
+
"description": "Marks the row as selected. Owned by the tree (single selection, synced with its `value`).\nReflected.",
|
|
18661
|
+
"type": {
|
|
18662
|
+
"text": "boolean"
|
|
18663
|
+
},
|
|
18664
|
+
"default": "false",
|
|
18665
|
+
"fieldName": "selected"
|
|
18666
|
+
},
|
|
18667
|
+
{
|
|
18668
|
+
"name": "show-icon",
|
|
18669
|
+
"description": "Shows the leading icon (default folder / file, or the `icon` slot).",
|
|
18670
|
+
"type": {
|
|
18671
|
+
"text": "boolean"
|
|
18672
|
+
},
|
|
18673
|
+
"default": "true",
|
|
18674
|
+
"fieldName": "showIcon"
|
|
18675
|
+
},
|
|
18676
|
+
{
|
|
18677
|
+
"name": "value",
|
|
18678
|
+
"description": "Identifier used in events and for the tree's `value`. Falls back to `label` when empty.",
|
|
18679
|
+
"type": {
|
|
18680
|
+
"text": "string"
|
|
18681
|
+
},
|
|
18682
|
+
"default": "''",
|
|
18683
|
+
"fieldName": "value"
|
|
18009
18684
|
}
|
|
18010
18685
|
],
|
|
18011
18686
|
"members": [
|
|
18012
18687
|
{
|
|
18013
18688
|
"kind": "field",
|
|
18014
|
-
"name": "
|
|
18015
|
-
"description": "
|
|
18689
|
+
"name": "disabled",
|
|
18690
|
+
"description": "Disables the row: not focusable, ignores clicks, dimmed. Reflected.",
|
|
18016
18691
|
"type": {
|
|
18017
|
-
"text": "
|
|
18692
|
+
"text": "boolean"
|
|
18018
18693
|
},
|
|
18019
|
-
"default": "
|
|
18020
|
-
"attribute": "
|
|
18694
|
+
"default": "false",
|
|
18695
|
+
"attribute": "disabled",
|
|
18696
|
+
"reflects": true
|
|
18021
18697
|
},
|
|
18022
18698
|
{
|
|
18023
18699
|
"kind": "field",
|
|
18024
|
-
"name": "
|
|
18025
|
-
"description": "
|
|
18700
|
+
"name": "expanded",
|
|
18701
|
+
"description": "Whether the child items are shown. Only meaningful for parents. Mutable: the caret, the\nkeyboard and the owning tree toggle it. Reflected.",
|
|
18026
18702
|
"type": {
|
|
18027
|
-
"text": "
|
|
18028
|
-
"references": [
|
|
18029
|
-
{
|
|
18030
|
-
"name": "BsTooltipTriggerPlacement"
|
|
18031
|
-
}
|
|
18032
|
-
]
|
|
18703
|
+
"text": "boolean"
|
|
18033
18704
|
},
|
|
18034
|
-
"default": "
|
|
18035
|
-
"attribute": "
|
|
18705
|
+
"default": "false",
|
|
18706
|
+
"attribute": "expanded",
|
|
18036
18707
|
"reflects": true
|
|
18037
18708
|
},
|
|
18038
18709
|
{
|
|
18039
18710
|
"kind": "field",
|
|
18040
|
-
"name": "
|
|
18041
|
-
"description": "
|
|
18711
|
+
"name": "label",
|
|
18712
|
+
"description": "The row's text. Use the `label` slot for rich content.",
|
|
18042
18713
|
"type": {
|
|
18043
18714
|
"text": "string"
|
|
18044
18715
|
},
|
|
18045
18716
|
"default": "''",
|
|
18046
|
-
"attribute": "
|
|
18717
|
+
"attribute": "label"
|
|
18718
|
+
},
|
|
18719
|
+
{
|
|
18720
|
+
"kind": "field",
|
|
18721
|
+
"name": "selected",
|
|
18722
|
+
"description": "Marks the row as selected. Owned by the tree (single selection, synced with its `value`).\nReflected.",
|
|
18723
|
+
"type": {
|
|
18724
|
+
"text": "boolean"
|
|
18725
|
+
},
|
|
18726
|
+
"default": "false",
|
|
18727
|
+
"attribute": "selected",
|
|
18728
|
+
"reflects": true
|
|
18729
|
+
},
|
|
18730
|
+
{
|
|
18731
|
+
"kind": "field",
|
|
18732
|
+
"name": "showIcon",
|
|
18733
|
+
"description": "Shows the leading icon (default folder / file, or the `icon` slot).",
|
|
18734
|
+
"type": {
|
|
18735
|
+
"text": "boolean"
|
|
18736
|
+
},
|
|
18737
|
+
"default": "true",
|
|
18738
|
+
"attribute": "show-icon"
|
|
18739
|
+
},
|
|
18740
|
+
{
|
|
18741
|
+
"kind": "field",
|
|
18742
|
+
"name": "value",
|
|
18743
|
+
"description": "Identifier used in events and for the tree's `value`. Falls back to `label` when empty.",
|
|
18744
|
+
"type": {
|
|
18745
|
+
"text": "string"
|
|
18746
|
+
},
|
|
18747
|
+
"default": "''",
|
|
18748
|
+
"attribute": "value"
|
|
18749
|
+
},
|
|
18750
|
+
{
|
|
18751
|
+
"kind": "method",
|
|
18752
|
+
"name": "setExpanded",
|
|
18753
|
+
"description": "Sets `expanded` as a user action: updates the prop and emits `bsToggle`. No-op for leaves,\ndisabled items, or when the value would not change.",
|
|
18754
|
+
"parameters": [
|
|
18755
|
+
{
|
|
18756
|
+
"name": "next",
|
|
18757
|
+
"type": {
|
|
18758
|
+
"text": "boolean",
|
|
18759
|
+
"references": [
|
|
18760
|
+
{
|
|
18761
|
+
"name": "Promise",
|
|
18762
|
+
"package": "global:"
|
|
18763
|
+
}
|
|
18764
|
+
]
|
|
18765
|
+
}
|
|
18766
|
+
}
|
|
18767
|
+
],
|
|
18768
|
+
"return": {
|
|
18769
|
+
"type": {
|
|
18770
|
+
"text": "Promise<void>",
|
|
18771
|
+
"references": [
|
|
18772
|
+
{
|
|
18773
|
+
"name": "Promise",
|
|
18774
|
+
"package": "global:"
|
|
18775
|
+
}
|
|
18776
|
+
]
|
|
18777
|
+
}
|
|
18778
|
+
}
|
|
18779
|
+
}
|
|
18780
|
+
],
|
|
18781
|
+
"events": [
|
|
18782
|
+
{
|
|
18783
|
+
"name": "bsSelect",
|
|
18784
|
+
"description": "Emitted (bubbling, composed) when the user activates the row, with the item's value. The\nowning `bs-tree` listens and updates the selection.",
|
|
18785
|
+
"type": {
|
|
18786
|
+
"text": "CustomEvent<string>"
|
|
18787
|
+
}
|
|
18788
|
+
},
|
|
18789
|
+
{
|
|
18790
|
+
"name": "bsToggle",
|
|
18791
|
+
"description": "Emitted when the user toggles expansion (caret click or keyboard), with the new `expanded`\nvalue. Not emitted when `expanded` is set from code.",
|
|
18792
|
+
"type": {
|
|
18793
|
+
"text": "CustomEvent<boolean>"
|
|
18794
|
+
}
|
|
18047
18795
|
}
|
|
18048
18796
|
],
|
|
18049
18797
|
"slots": [
|
|
18050
18798
|
{
|
|
18051
18799
|
"name": "",
|
|
18052
|
-
"description": "Default slot: the
|
|
18800
|
+
"description": "Default slot: child `bs-tree-item` elements (the subtree). Only rendered, inside a\n`role=\"group\"` wrapper, while the item is expanded; collapsed children are not accessible."
|
|
18801
|
+
},
|
|
18802
|
+
{
|
|
18803
|
+
"name": "icon",
|
|
18804
|
+
"description": "Overrides the default folder / file icon. Only used when `showIcon` is `true`."
|
|
18805
|
+
},
|
|
18806
|
+
{
|
|
18807
|
+
"name": "label",
|
|
18808
|
+
"description": "Overrides the `label` text."
|
|
18053
18809
|
}
|
|
18054
18810
|
],
|
|
18055
18811
|
"cssParts": [
|
|
18056
18812
|
{
|
|
18057
|
-
"name": "
|
|
18058
|
-
"description": "The
|
|
18813
|
+
"name": "caret",
|
|
18814
|
+
"description": "The expand/collapse caret (parents only)."
|
|
18059
18815
|
},
|
|
18060
18816
|
{
|
|
18061
|
-
"name": "
|
|
18062
|
-
"description": "The
|
|
18817
|
+
"name": "container",
|
|
18818
|
+
"description": "The highlighted row pill (carries the hover / selected / focus states)."
|
|
18819
|
+
},
|
|
18820
|
+
{
|
|
18821
|
+
"name": "group",
|
|
18822
|
+
"description": "The `role=\"group\"` wrapper around the child items (while expanded)."
|
|
18823
|
+
},
|
|
18824
|
+
{
|
|
18825
|
+
"name": "icon",
|
|
18826
|
+
"description": "The icon wrapper."
|
|
18827
|
+
},
|
|
18828
|
+
{
|
|
18829
|
+
"name": "label",
|
|
18830
|
+
"description": "The label wrapper."
|
|
18831
|
+
}
|
|
18832
|
+
],
|
|
18833
|
+
"cssProperties": [
|
|
18834
|
+
{
|
|
18835
|
+
"name": "--bs-tree-item-bg-focus",
|
|
18836
|
+
"description": "Pill background, keyboard-focused. Aliased to --bs-surface-focus."
|
|
18837
|
+
},
|
|
18838
|
+
{
|
|
18839
|
+
"name": "--bs-tree-item-bg-hover",
|
|
18840
|
+
"description": "Pill background, hovered. Aliased to --bs-surface-hover."
|
|
18841
|
+
},
|
|
18842
|
+
{
|
|
18843
|
+
"name": "--bs-tree-item-bg-pressed",
|
|
18844
|
+
"description": "Pill background, pressed. Aliased to --bs-surface-pressed."
|
|
18845
|
+
},
|
|
18846
|
+
{
|
|
18847
|
+
"name": "--bs-tree-item-bg-selected",
|
|
18848
|
+
"description": "Pill background, selected. Aliased to --bs-surface-selected."
|
|
18849
|
+
},
|
|
18850
|
+
{
|
|
18851
|
+
"name": "--bs-tree-item-bg-selected-focus",
|
|
18852
|
+
"description": "Pill background, selected and keyboard-focused. Aliased to --bs-surface-selected-focus."
|
|
18853
|
+
},
|
|
18854
|
+
{
|
|
18855
|
+
"name": "--bs-tree-item-bg-selected-hover",
|
|
18856
|
+
"description": "Pill background, selected and hovered. Aliased to --bs-surface-selected-hover."
|
|
18857
|
+
},
|
|
18858
|
+
{
|
|
18859
|
+
"name": "--bs-tree-item-bg-selected-pressed",
|
|
18860
|
+
"description": "Pill background, selected and pressed. Aliased to --bs-surface-selected-pressed."
|
|
18861
|
+
},
|
|
18862
|
+
{
|
|
18863
|
+
"name": "--bs-tree-item-caret-gap",
|
|
18864
|
+
"description": "Gap between the caret and the icon/label group. Aliased to --bs-spacing-150."
|
|
18865
|
+
},
|
|
18866
|
+
{
|
|
18867
|
+
"name": "--bs-tree-item-content-gap",
|
|
18868
|
+
"description": "Gap between the icon and the label. Aliased to --bs-spacing-100."
|
|
18869
|
+
},
|
|
18870
|
+
{
|
|
18871
|
+
"name": "--bs-tree-item-focus-ring",
|
|
18872
|
+
"description": "Focus ring colour. Aliased to --bs-border-primary-hover."
|
|
18873
|
+
},
|
|
18874
|
+
{
|
|
18875
|
+
"name": "--bs-tree-item-font-size",
|
|
18876
|
+
"description": "Label font size. Aliased to --bs-font-size-md."
|
|
18877
|
+
},
|
|
18878
|
+
{
|
|
18879
|
+
"name": "--bs-tree-item-height",
|
|
18880
|
+
"description": "Row height (48px). Aliased to --bs-spacing-600."
|
|
18881
|
+
},
|
|
18882
|
+
{
|
|
18883
|
+
"name": "--bs-tree-item-icon",
|
|
18884
|
+
"description": "Icon and caret colour. Aliased to --bs-icon-default."
|
|
18885
|
+
},
|
|
18886
|
+
{
|
|
18887
|
+
"name": "--bs-tree-item-icon-disabled",
|
|
18888
|
+
"description": "Icon and caret colour, disabled. Aliased to --bs-icon-disabled."
|
|
18889
|
+
},
|
|
18890
|
+
{
|
|
18891
|
+
"name": "--bs-tree-item-indent",
|
|
18892
|
+
"description": "Extra indent per nesting level. Set directly in px (no 40px spacing token), matching Figma."
|
|
18893
|
+
},
|
|
18894
|
+
{
|
|
18895
|
+
"name": "--bs-tree-item-line-height",
|
|
18896
|
+
"description": "Label line height (unitless px number). Aliased to --bs-line-height-body-md."
|
|
18897
|
+
},
|
|
18898
|
+
{
|
|
18899
|
+
"name": "--bs-tree-item-padding-x",
|
|
18900
|
+
"description": "Pill horizontal padding. Aliased to --bs-spacing-50."
|
|
18901
|
+
},
|
|
18902
|
+
{
|
|
18903
|
+
"name": "--bs-tree-item-radius",
|
|
18904
|
+
"description": "Pill corner radius. Aliased to --bs-border-radius-100."
|
|
18905
|
+
},
|
|
18906
|
+
{
|
|
18907
|
+
"name": "--bs-tree-item-text",
|
|
18908
|
+
"description": "Label colour. Aliased to --bs-text-default."
|
|
18909
|
+
},
|
|
18910
|
+
{
|
|
18911
|
+
"name": "--bs-tree-item-text-disabled",
|
|
18912
|
+
"description": "Label colour, disabled. Aliased to --bs-text-on-disabled."
|
|
18063
18913
|
}
|
|
18064
18914
|
]
|
|
18065
18915
|
}
|
|
@@ -18067,16 +18917,16 @@
|
|
|
18067
18917
|
"exports": [
|
|
18068
18918
|
{
|
|
18069
18919
|
"kind": "js",
|
|
18070
|
-
"name": "
|
|
18920
|
+
"name": "BsTreeItem",
|
|
18071
18921
|
"declaration": {
|
|
18072
|
-
"name": "
|
|
18922
|
+
"name": "BsTreeItem"
|
|
18073
18923
|
}
|
|
18074
18924
|
},
|
|
18075
18925
|
{
|
|
18076
18926
|
"kind": "custom-element-definition",
|
|
18077
|
-
"name": "bs-
|
|
18927
|
+
"name": "bs-tree-item",
|
|
18078
18928
|
"declaration": {
|
|
18079
|
-
"name": "
|
|
18929
|
+
"name": "BsTreeItem"
|
|
18080
18930
|
}
|
|
18081
18931
|
}
|
|
18082
18932
|
]
|