@brightspot/ui 5.0.2 → 5.0.3-css-bloat.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/dist/components/button-group/ButtonGroup.d.ts +14 -4
- package/dist/components/button-group/ButtonGroup.d.ts.map +1 -1
- package/dist/components/button-group/ButtonGroup.js +14 -4
- package/dist/components/button-group/ButtonGroup.js.map +1 -1
- package/dist/components/circular-progress/CircularProgress.js +2 -2
- package/dist/components/dropdown/DropdownItem.d.ts.map +1 -1
- package/dist/components/dropdown/DropdownItem.js +3 -4
- package/dist/components/dropdown/DropdownItem.js.map +1 -1
- package/dist/components/icon/Icon.d.ts.map +1 -1
- package/dist/components/icon/Icon.js +7 -4
- package/dist/components/icon/Icon.js.map +1 -1
- package/dist/components/linear-progress/LinearProgress.js +1 -1
- package/dist/components/tabs/Tab.js +1 -1
- package/dist/components/tabs/Tab.js.map +1 -1
- package/dist/components/upload/UploadItem.js +1 -1
- package/dist/components/upload/UploadItem.js.map +1 -1
- package/dist/components/widget/Widget.css +1 -1
- package/dist/components/widget/Widget.js +1 -1
- package/dist/custom-elements.json +904 -892
- package/dist/storybook/assets/{ActionBar.stories-DR8qKNFC.js → ActionBar.stories-DpBBnIiE.js} +1 -1
- package/dist/storybook/assets/{ActionItem.stories-n0lxOjIK.js → ActionItem.stories-D-SD3oRh.js} +1 -1
- package/dist/storybook/assets/{Avatar.stories-DWNXboUH.js → Avatar.stories-BDy6f75b.js} +1 -1
- package/dist/storybook/assets/{AvatarGroup.stories-CJy1A8Mq.js → AvatarGroup.stories-D--M5Pyp.js} +5 -5
- package/dist/storybook/assets/{Badge.stories-BkrU56BA.js → Badge.stories-BOAvuQtE.js} +1 -1
- package/dist/storybook/assets/{Button-DqChP2U6.js → Button-DskBi-a0.js} +1 -1
- package/dist/storybook/assets/{Button.stories-C1SqU1BT.js → Button.stories--V5okepx.js} +1 -1
- package/dist/storybook/assets/{ButtonGroup.stories-CF1Mh2ug.js → ButtonGroup.stories-DsuXsM9v.js} +48 -48
- package/dist/storybook/assets/{Celebrate.stories-ClqAmUk2.js → Celebrate.stories-CgK_ukcB.js} +7 -7
- package/dist/storybook/assets/{Checkbox.stories-hmxev_eW.js → Checkbox.stories-CahQXA2h.js} +1 -1
- package/dist/storybook/assets/{CircularProgress.stories-cWJl_EBP.js → CircularProgress.stories-BcZsN6ZV.js} +1 -1
- package/dist/storybook/assets/{ClipboardMixin.stories-E6G4v8eu.js → ClipboardMixin.stories-iKXLs_Lx.js} +2 -2
- package/dist/storybook/assets/{Color-6BZIO3FS-mGoabL41.js → Color-6BZIO3FS-7ncXlNfS.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-CjWwNT2v.js → Colors.stories-CMI52WH8.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-DahZszMM.js → CombinedEffects.stories-pGE5o60x.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin-iXss03sN.js → ComponentStatesMixin-sjcdg7YH.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-C1b3zMgf.js → ComponentStatesMixin.stories-Dbxiy4qv.js} +3 -3
- package/dist/storybook/assets/{CopyToClipboard.stories-BEFwR9iw.js → CopyToClipboard.stories-BnYR5mPG.js} +1 -1
- package/dist/storybook/assets/{Debounce.stories-m7227tf1.js → Debounce.stories-nc7GvHdK.js} +3 -3
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-ByZAmSPf.js → DocsRenderer-LL677BLK-K-gJNtRC.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-CELZm3nV.js → Dropdown.stories-l-P53HBT.js} +3 -3
- package/dist/storybook/assets/{EmptyState.stories-DbIlZsvG.js → EmptyState.stories-Bsui95Si.js} +15 -15
- package/dist/storybook/assets/{Events.stories-E8SpdK9f.js → Events.stories-DcmUxFWp.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-DIHkdyir.js → Heading.stories-lvQ63fpM.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-TE5VhBNI.js → HueRipple.stories-BQ9jucCA.js} +1 -1
- package/dist/storybook/assets/{Icon.stories-V9A8zx3l.js → Icon.stories-DvL4qxSb.js} +7 -7
- package/dist/storybook/assets/{IconButton.stories-kyYFPqat.js → IconButton.stories-1W6ODsaX.js} +1 -1
- package/dist/storybook/assets/{LinearProgress.stories-DMQkVCfc.js → LinearProgress.stories-DUmR1GTa.js} +1 -1
- package/dist/storybook/assets/{Pagination.stories-B4Kikiss.js → Pagination.stories-Du0hsZpT.js} +3 -3
- package/dist/storybook/assets/{Popover.stories-DKYzeCVX.js → Popover.stories-DjJv1kBn.js} +18 -18
- package/dist/storybook/assets/{ReadyMixin-CfbnRH2m.js → ReadyMixin-BNk5yZSB.js} +1 -1
- package/dist/storybook/assets/{RovingTabindexMixin.stories-B1QUtSUN.js → RovingTabindexMixin.stories-DavyM2GK.js} +6 -6
- package/dist/storybook/assets/{Rtc.stories-DPk94cW8.js → Rtc.stories-CfLCEC6Z.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-BzsVosZE.js → ScrollShadow.stories-w4P92oTn.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-2ixJ66i0.js → Switch.stories-wLB1lmhw.js} +5 -5
- package/dist/storybook/assets/{Tab.stories-DjPAaRUe.js → Tab.stories-DBpVHDFv.js} +1 -1
- package/dist/storybook/assets/{Tabs.stories-DNGYpwdL.js → Tabs.stories-pOx3oPd9.js} +1 -1
- package/dist/storybook/assets/{Throttle.stories-DqiX39Q4.js → Throttle.stories-BbNaSo1Q.js} +5 -5
- package/dist/storybook/assets/{Tooltip.stories-RWvjZUq6.js → Tooltip.stories-CYopQvk8.js} +1 -1
- package/dist/storybook/assets/{Upload.stories-BPImkf-w.js → Upload.stories-D7YbbCD8.js} +1 -1
- package/dist/storybook/assets/{UploadItem.stories-sF91eklH.js → UploadItem.stories-BCd0JZXJ.js} +1 -1
- package/dist/storybook/assets/{Welcome.stories-C7T0lxjn.js → Welcome.stories-CmC1Tq-c.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-hIm4Mgoy.js → Widget.stories-D6B4UeXS.js} +12 -12
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-FBY88pP9.js → WithTooltip-65CFNBJE-DJFeVQni.js} +1 -1
- package/dist/storybook/assets/{blocks-DNAwNK2O.js → blocks-B3SR9dnr.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU--IWOLjx2.js → formatter-EIJCOSYU-ByY8vaiA.js} +1 -1
- package/dist/storybook/assets/if-defined-DzbkssR9.js +1 -0
- package/dist/storybook/assets/{iframe-apn1Lgr_.js → iframe-CMPv_g6-.js} +5 -5
- package/dist/storybook/assets/iframe-PeGbyIdX.css +1 -0
- package/dist/storybook/assets/{index-BSiX30xx.js → index-DJyZoz0Z.js} +1 -1
- package/dist/storybook/assets/{onFind-BrtZPfAg.js → onFind-B81tRmr7.js} +1 -1
- package/dist/storybook/assets/{onFind.stories-CdBIAJjT.js → onFind.stories-u0gQBbXV.js} +25 -25
- package/dist/storybook/assets/{onRemove.stories-BhaBwi44.js → onRemove.stories-Bo0PhHGT.js} +3 -3
- package/dist/storybook/assets/{onVisible.stories-BOsxDhRj.js → onVisible.stories-Db1s-swH.js} +1 -1
- package/dist/storybook/assets/{style-map-CAjfRbcg.js → style-map-968Ye5qo.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-5ISl-7xc.js → syntaxhighlighter-ED5Y7EFY-yvF0gUqy.js} +1 -1
- package/dist/storybook/iframe.html +2 -2
- package/dist/storybook/project.json +1 -1
- package/dist/tailwind-plugin-button-group.js +43 -44
- package/dist/tailwind-plugin-button-group.js.map +1 -1
- package/dist/tailwind-plugin-button-group.ts +43 -43
- package/dist/tailwind-plugin-button.js +22 -2
- package/dist/tailwind-plugin-button.js.map +1 -1
- package/dist/tailwind-plugin-button.ts +22 -2
- package/dist/tailwind-plugin-dropdown.js +6 -2
- package/dist/tailwind-plugin-dropdown.js.map +1 -1
- package/dist/tailwind-plugin-dropdown.ts +6 -2
- package/dist/tailwind-plugin-pagination.js +12 -8
- package/dist/tailwind-plugin-pagination.js.map +1 -1
- package/dist/tailwind-plugin-pagination.ts +12 -8
- package/dist/tailwind-plugin-upload.js +3 -2
- package/dist/tailwind-plugin-upload.js.map +1 -1
- package/dist/tailwind-plugin-upload.ts +3 -2
- package/dist/tailwind.config.d.ts +1 -4
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tailwind.config.js +74 -6
- package/dist/tailwind.config.js.map +1 -1
- package/dist/tailwind.config.ts +74 -6
- package/docs/adr/0001-monolith-css-delivery.md +20 -0
- package/docs/adr/0002-complete-component-preset.md +26 -0
- package/docs/adr/0003-plugin-selector-isolation.md +24 -0
- package/docs/adr/0004-dynamic-icon-names-route-through-runtime-injectors.md +50 -0
- package/docs/adr/0005-rtl-conditional-overlay.md +44 -0
- package/docs/adr/0006-editor-has-runtime-perf.md +33 -0
- package/docs/components/ButtonGroup.md +15 -12
- package/package.json +4 -3
- package/src/legacy/tool-ui/src/AIInline.css +1 -1
- package/src/legacy/tool-ui/src/Admin.css +2 -2
- package/src/legacy/tool-ui/src/Base.css +1 -1
- package/src/legacy/tool-ui/src/BulkUpload.css +1 -1
- package/src/legacy/tool-ui/src/CIGCluster.css +1 -1
- package/src/legacy/tool-ui/src/Card.css +1 -1
- package/src/legacy/tool-ui/src/CodeMirror.css +4 -4
- package/src/legacy/tool-ui/src/ColorInputSpectrum.css +2 -2
- package/src/legacy/tool-ui/src/ComboInput.css +3 -3
- package/src/legacy/tool-ui/src/Compat.css +1 -1
- package/src/legacy/tool-ui/src/ContentEdit.css +12 -12
- package/src/legacy/tool-ui/src/ContentEditDrawer.css +6 -6
- package/src/legacy/tool-ui/src/ContentInputGroup.css +5 -10
- package/src/legacy/tool-ui/src/ContentReporting.css +2 -2
- package/src/legacy/tool-ui/src/ContentSelector.css +5 -5
- package/src/legacy/tool-ui/src/ContentSummary.css +1 -3
- package/src/legacy/tool-ui/src/ContentTemplatesWidget.css +1 -1
- package/src/legacy/tool-ui/src/ContentTools.css +1 -1
- package/src/legacy/tool-ui/src/Conversation.css +2 -2
- package/src/legacy/tool-ui/src/Conversation.ts +10 -54
- package/src/legacy/tool-ui/src/Crosslinker.css +3 -3
- package/src/legacy/tool-ui/src/DashboardWidget.css +1 -1
- package/src/legacy/tool-ui/src/Dialog.css +4 -2
- package/src/legacy/tool-ui/src/Diff.css +1 -1
- package/src/legacy/tool-ui/src/Dropdown.css +2 -2
- package/src/legacy/tool-ui/src/Enhancement.css +1 -1
- package/src/legacy/tool-ui/src/FileInput.css +2 -2
- package/src/legacy/tool-ui/src/FormFilter.css +3 -3
- package/src/legacy/tool-ui/src/FullscreenView.css +4 -4
- package/src/legacy/tool-ui/src/Guide.css +6 -6
- package/src/legacy/tool-ui/src/Hierarchy.css +4 -4
- package/src/legacy/tool-ui/src/ImageEditor.css +13 -13
- package/src/legacy/tool-ui/src/LinkCarousel.css +1 -1
- package/src/legacy/tool-ui/src/LiveBlog.css +2 -2
- package/src/legacy/tool-ui/src/LocationMap.css +1 -1
- package/src/legacy/tool-ui/src/MailPublishing.css +1 -1
- package/src/legacy/tool-ui/src/MenuView.css +4 -4
- package/src/legacy/tool-ui/src/Message.css +1 -1
- package/src/legacy/tool-ui/src/Page.css +35 -16
- package/src/legacy/tool-ui/src/Popup.css +8 -3
- package/src/legacy/tool-ui/src/ProseMirror.css +1 -1
- package/src/legacy/tool-ui/src/ProseMirrorContainer.css +1 -1
- package/src/legacy/tool-ui/src/ProseMirrorEnhancementMenu.css +2 -2
- package/src/legacy/tool-ui/src/ProseMirrorFindReplace.css +2 -2
- package/src/legacy/tool-ui/src/QueryField.css +1 -1
- package/src/legacy/tool-ui/src/RepeatableContentInputGroup.css +1 -1
- package/src/legacy/tool-ui/src/RepeatableContentSelector.css +1 -1
- package/src/legacy/tool-ui/src/RichText.css +1 -1
- package/src/legacy/tool-ui/src/SearchFields.css +1 -1
- package/src/legacy/tool-ui/src/SearchResult.css +3 -3
- package/src/legacy/tool-ui/src/SearchWidget.css +1 -1
- package/src/legacy/tool-ui/src/SearchWidgetAdvanced.css +1 -1
- package/src/legacy/tool-ui/src/StyleEmbeddedContent.css +3 -3
- package/src/legacy/tool-ui/src/TabBar.css +1 -1
- package/src/legacy/tool-ui/src/Table.css +1 -1
- package/src/legacy/tool-ui/src/Taxonomy.css +4 -4
- package/src/legacy/tool-ui/src/ThemeBundleEditor.css +1 -1
- package/src/legacy/tool-ui/src/TimedContent.css +2 -2
- package/src/legacy/tool-ui/src/ViewWatchers.css +1 -1
- package/src/legacy/tool-ui/src/Widget.css +3 -2
- package/src/legacy/tool-ui/src/Workflow.css +3 -3
- package/src/legacy/tool-ui/src/main/webapp/dist/{7718.a937b0cafa8cf7c039d2.css → 2111.70d9e2ee26ead4bd147b.css} +1 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/{6216.2d532054fcb8e634f96b.js → 6216.cf8adc1990ee1111f065.js} +1 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/{2111.a937b0cafa8cf7c039d2.css → 7718.70d9e2ee26ead4bd147b.css} +1 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.945bd28778b1a3e937c7.js → RTEProseMirror.e8521581e28e90ef6f30.js} +2 -2
- package/src/legacy/tool-ui/src/main/webapp/dist/{v4.dc7d7c1a18ddb6117061.js → v4.ab96a7dd75fa7af9c970.js} +3 -3
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.844c5f9e05e351ee0579.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v5.7eea426a9a47341f03f8.js → v5.e48c1d8f41b5e088bef0.js} +3 -3
- package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/table_manager/views/ProseMirror-table.less +1 -28
- package/dist/storybook/assets/if-defined-Cxz6E-2i.js +0 -1
- package/dist/storybook/assets/iframe-D0roG0J-.css +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.951c664100c4fb201fd8.css +0 -5
- /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.945bd28778b1a3e937c7.js.LICENSE.txt → RTEProseMirror.e8521581e28e90ef6f30.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.dc7d7c1a18ddb6117061.js.LICENSE.txt → v4.ab96a7dd75fa7af9c970.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.7eea426a9a47341f03f8.js.LICENSE.txt → v5.e48c1d8f41b5e088bef0.js.LICENSE.txt} +0 -0
|
@@ -876,6 +876,187 @@
|
|
|
876
876
|
}
|
|
877
877
|
]
|
|
878
878
|
},
|
|
879
|
+
{
|
|
880
|
+
"kind": "javascript-module",
|
|
881
|
+
"path": "src/components/badge/Badge.ts",
|
|
882
|
+
"declarations": [
|
|
883
|
+
{
|
|
884
|
+
"kind": "class",
|
|
885
|
+
"description": "A badge component for highlighting important information.\n\nBadges help highlight notifications, status, or new messages.\nPrimarily used for communicating secondary or additional information.",
|
|
886
|
+
"name": "Badge",
|
|
887
|
+
"cssProperties": [
|
|
888
|
+
{
|
|
889
|
+
"description": "Text color (overrides theme color)",
|
|
890
|
+
"name": "--badge-color-foreground"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"description": "Background color (overrides theme color)",
|
|
894
|
+
"name": "--badge-color-background"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"description": "Border radius size (overrides shape default, default: 999px)",
|
|
898
|
+
"name": "--badge-radius-size"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"description": "Horizontal padding (overrides size default)",
|
|
902
|
+
"name": "--badge-px"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"description": "Vertical padding (overrides size default)",
|
|
906
|
+
"name": "--badge-py"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"description": "Size of the dot affordance (default: 6px)",
|
|
910
|
+
"name": "--badge-dot-size"
|
|
911
|
+
}
|
|
912
|
+
],
|
|
913
|
+
"slots": [
|
|
914
|
+
{
|
|
915
|
+
"description": "Label text or child elements (e.g., btu-icon + text)",
|
|
916
|
+
"name": ""
|
|
917
|
+
}
|
|
918
|
+
],
|
|
919
|
+
"members": [
|
|
920
|
+
{
|
|
921
|
+
"kind": "field",
|
|
922
|
+
"name": "variant",
|
|
923
|
+
"type": {
|
|
924
|
+
"text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
|
|
925
|
+
},
|
|
926
|
+
"default": "'info'",
|
|
927
|
+
"description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
|
|
928
|
+
"attribute": "variant"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"kind": "field",
|
|
932
|
+
"name": "dot",
|
|
933
|
+
"type": {
|
|
934
|
+
"text": "boolean"
|
|
935
|
+
},
|
|
936
|
+
"default": "false",
|
|
937
|
+
"description": "Should a dot be displayed before the label?",
|
|
938
|
+
"attribute": "dot"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"kind": "field",
|
|
942
|
+
"name": "size",
|
|
943
|
+
"type": {
|
|
944
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
945
|
+
},
|
|
946
|
+
"default": "'sm'",
|
|
947
|
+
"description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
|
|
948
|
+
"attribute": "size"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"kind": "method",
|
|
952
|
+
"name": "emit",
|
|
953
|
+
"parameters": [
|
|
954
|
+
{
|
|
955
|
+
"name": "type",
|
|
956
|
+
"type": {
|
|
957
|
+
"text": "K"
|
|
958
|
+
},
|
|
959
|
+
"description": "Event name from CustomEventMap"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "detail",
|
|
963
|
+
"optional": true,
|
|
964
|
+
"type": {
|
|
965
|
+
"text": "UnpackCustomEvent<CustomEventMap[K]>"
|
|
966
|
+
},
|
|
967
|
+
"description": "Optional event detail payload"
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"description": "Dispatches a type-safe CustomEvent with standardized configuration.\n\nAll events are configured with:\n- bubbles: true (event propagates up the DOM tree)\n- cancelable: false (event cannot be cancelled)\n- composed: true (event crosses shadow DOM boundaries)",
|
|
971
|
+
"return": {
|
|
972
|
+
"type": {
|
|
973
|
+
"text": "boolean"
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
"inheritedFrom": {
|
|
977
|
+
"name": "EventEmitterMixin",
|
|
978
|
+
"module": "src/util/EventEmitterMixin.ts"
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
],
|
|
982
|
+
"events": [
|
|
983
|
+
{
|
|
984
|
+
"type": {
|
|
985
|
+
"text": "CustomEvent"
|
|
986
|
+
},
|
|
987
|
+
"description": "Fired after first render and initialization",
|
|
988
|
+
"name": "btu-badge-ready"
|
|
989
|
+
}
|
|
990
|
+
],
|
|
991
|
+
"attributes": [
|
|
992
|
+
{
|
|
993
|
+
"name": "variant",
|
|
994
|
+
"type": {
|
|
995
|
+
"text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
|
|
996
|
+
},
|
|
997
|
+
"default": "'info'",
|
|
998
|
+
"description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
|
|
999
|
+
"fieldName": "variant",
|
|
1000
|
+
"attribute": "variant"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "dot",
|
|
1004
|
+
"type": {
|
|
1005
|
+
"text": "boolean"
|
|
1006
|
+
},
|
|
1007
|
+
"default": "false",
|
|
1008
|
+
"description": "Should a dot be displayed before the label?",
|
|
1009
|
+
"fieldName": "dot",
|
|
1010
|
+
"attribute": "dot"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "size",
|
|
1014
|
+
"type": {
|
|
1015
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1016
|
+
},
|
|
1017
|
+
"default": "'sm'",
|
|
1018
|
+
"description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
|
|
1019
|
+
"fieldName": "size",
|
|
1020
|
+
"attribute": "size"
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1023
|
+
"mixins": [
|
|
1024
|
+
{
|
|
1025
|
+
"name": "EventEmitterMixin",
|
|
1026
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "ReadyMixin",
|
|
1030
|
+
"module": "/src/util/ReadyMixin.js"
|
|
1031
|
+
}
|
|
1032
|
+
],
|
|
1033
|
+
"superclass": {
|
|
1034
|
+
"name": "LitElement",
|
|
1035
|
+
"package": "lit"
|
|
1036
|
+
},
|
|
1037
|
+
"tagName": "btu-badge",
|
|
1038
|
+
"customElement": true
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"exports": [
|
|
1042
|
+
{
|
|
1043
|
+
"kind": "js",
|
|
1044
|
+
"name": "default",
|
|
1045
|
+
"declaration": {
|
|
1046
|
+
"name": "Badge",
|
|
1047
|
+
"module": "src/components/badge/Badge.ts"
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"kind": "custom-element-definition",
|
|
1052
|
+
"name": "btu-badge",
|
|
1053
|
+
"declaration": {
|
|
1054
|
+
"name": "Badge",
|
|
1055
|
+
"module": "src/components/badge/Badge.ts"
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
879
1060
|
{
|
|
880
1061
|
"kind": "javascript-module",
|
|
881
1062
|
"path": "src/components/avatar/Avatar.ts",
|
|
@@ -1531,592 +1712,71 @@
|
|
|
1531
1712
|
},
|
|
1532
1713
|
{
|
|
1533
1714
|
"kind": "javascript-module",
|
|
1534
|
-
"path": "src/components/
|
|
1715
|
+
"path": "src/components/checkbox/Checkbox.ts",
|
|
1535
1716
|
"declarations": [
|
|
1536
1717
|
{
|
|
1537
1718
|
"kind": "class",
|
|
1538
|
-
"description": "A
|
|
1539
|
-
"name": "
|
|
1719
|
+
"description": "A checkbox component for selecting one or more options from a set.\n\nUses a hidden native checkbox internally for accessibility and form\nparticipation. Styled via the `btu-checkbox` Tailwind plugin classes.\nThe component manages its own `className` — do not modify it externally\nafter initialization (classes present at connection time are preserved).",
|
|
1720
|
+
"name": "Checkbox",
|
|
1540
1721
|
"cssProperties": [
|
|
1541
1722
|
{
|
|
1542
|
-
"description": "
|
|
1543
|
-
"name": "--
|
|
1723
|
+
"description": "Background and border color when checked or indeterminate, and tinted background/border on unchecked hover (default: oklch(var(--btu-theme-primary-700)))",
|
|
1724
|
+
"name": "--checkbox-color-primary"
|
|
1544
1725
|
},
|
|
1545
1726
|
{
|
|
1546
|
-
"description": "
|
|
1547
|
-
"name": "--
|
|
1727
|
+
"description": "Border color in the unchecked state (default: oklch(var(--btu-theme-gray-300)))",
|
|
1728
|
+
"name": "--checkbox-color-border"
|
|
1548
1729
|
},
|
|
1549
1730
|
{
|
|
1550
|
-
"description": "Border
|
|
1551
|
-
"name": "--
|
|
1731
|
+
"description": "Border and text color in the error state (default: oklch(var(--btu-theme-error-600)))",
|
|
1732
|
+
"name": "--checkbox-color-error"
|
|
1552
1733
|
},
|
|
1553
1734
|
{
|
|
1554
|
-
"description": "
|
|
1555
|
-
"name": "--
|
|
1735
|
+
"description": "Corner rounding of the checkbox square (default: 4px)",
|
|
1736
|
+
"name": "--checkbox-border-radius"
|
|
1556
1737
|
},
|
|
1557
1738
|
{
|
|
1558
|
-
"description": "
|
|
1559
|
-
"name": "--
|
|
1739
|
+
"description": "Distance between the checkbox and the label (default: 0.75rem)",
|
|
1740
|
+
"name": "--checkbox-label-spacing"
|
|
1560
1741
|
},
|
|
1561
1742
|
{
|
|
1562
|
-
"description": "
|
|
1563
|
-
"name": "--
|
|
1564
|
-
}
|
|
1565
|
-
],
|
|
1566
|
-
"slots": [
|
|
1743
|
+
"description": "[Internal] Width and height of the checkbox square, set by the size variant (sm: 1rem, md: 1.25rem). Use the `size` attribute instead of overriding directly — the icon must scale in tandem.",
|
|
1744
|
+
"name": "--checkbox-box-size"
|
|
1745
|
+
},
|
|
1567
1746
|
{
|
|
1568
|
-
"description": "
|
|
1569
|
-
"name": ""
|
|
1747
|
+
"description": "[Internal] Width and height of the icon inside the box, set by the size variant (sm: 0.75rem, md: 0.875rem). Use the `size` attribute instead of overriding directly.",
|
|
1748
|
+
"name": "--checkbox-icon-size"
|
|
1570
1749
|
}
|
|
1571
1750
|
],
|
|
1572
1751
|
"members": [
|
|
1573
1752
|
{
|
|
1574
1753
|
"kind": "field",
|
|
1575
|
-
"name": "
|
|
1754
|
+
"name": "label",
|
|
1576
1755
|
"type": {
|
|
1577
|
-
"text": "
|
|
1756
|
+
"text": "string | undefined"
|
|
1578
1757
|
},
|
|
1579
|
-
"
|
|
1580
|
-
"
|
|
1581
|
-
"attribute": "variant"
|
|
1758
|
+
"description": "The text label displayed next to the checkbox.",
|
|
1759
|
+
"attribute": "label"
|
|
1582
1760
|
},
|
|
1583
1761
|
{
|
|
1584
1762
|
"kind": "field",
|
|
1585
|
-
"name": "
|
|
1763
|
+
"name": "description",
|
|
1586
1764
|
"type": {
|
|
1587
|
-
"text": "
|
|
1765
|
+
"text": "string | undefined"
|
|
1588
1766
|
},
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
"attribute": "dot"
|
|
1767
|
+
"description": "Optional helper text displayed below the label.",
|
|
1768
|
+
"attribute": "description"
|
|
1592
1769
|
},
|
|
1593
1770
|
{
|
|
1594
1771
|
"kind": "field",
|
|
1595
1772
|
"name": "size",
|
|
1596
1773
|
"type": {
|
|
1597
|
-
"text": "'sm' | 'md'
|
|
1774
|
+
"text": "'sm' | 'md'"
|
|
1598
1775
|
},
|
|
1599
1776
|
"default": "'sm'",
|
|
1600
|
-
"description": "
|
|
1601
|
-
"attribute": "size"
|
|
1602
|
-
|
|
1603
|
-
{
|
|
1604
|
-
"kind": "method",
|
|
1605
|
-
"name": "emit",
|
|
1606
|
-
"parameters": [
|
|
1607
|
-
{
|
|
1608
|
-
"name": "type",
|
|
1609
|
-
"type": {
|
|
1610
|
-
"text": "K"
|
|
1611
|
-
},
|
|
1612
|
-
"description": "Event name from CustomEventMap"
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
"name": "detail",
|
|
1616
|
-
"optional": true,
|
|
1617
|
-
"type": {
|
|
1618
|
-
"text": "UnpackCustomEvent<CustomEventMap[K]>"
|
|
1619
|
-
},
|
|
1620
|
-
"description": "Optional event detail payload"
|
|
1621
|
-
}
|
|
1622
|
-
],
|
|
1623
|
-
"description": "Dispatches a type-safe CustomEvent with standardized configuration.\n\nAll events are configured with:\n- bubbles: true (event propagates up the DOM tree)\n- cancelable: false (event cannot be cancelled)\n- composed: true (event crosses shadow DOM boundaries)",
|
|
1624
|
-
"return": {
|
|
1625
|
-
"type": {
|
|
1626
|
-
"text": "boolean"
|
|
1627
|
-
}
|
|
1628
|
-
},
|
|
1629
|
-
"inheritedFrom": {
|
|
1630
|
-
"name": "EventEmitterMixin",
|
|
1631
|
-
"module": "src/util/EventEmitterMixin.ts"
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
],
|
|
1635
|
-
"events": [
|
|
1636
|
-
{
|
|
1637
|
-
"type": {
|
|
1638
|
-
"text": "CustomEvent"
|
|
1639
|
-
},
|
|
1640
|
-
"description": "Fired after first render and initialization",
|
|
1641
|
-
"name": "btu-badge-ready"
|
|
1642
|
-
}
|
|
1643
|
-
],
|
|
1644
|
-
"attributes": [
|
|
1645
|
-
{
|
|
1646
|
-
"name": "variant",
|
|
1647
|
-
"type": {
|
|
1648
|
-
"text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
|
|
1649
|
-
},
|
|
1650
|
-
"default": "'info'",
|
|
1651
|
-
"description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
|
|
1652
|
-
"fieldName": "variant",
|
|
1653
|
-
"attribute": "variant"
|
|
1654
|
-
},
|
|
1655
|
-
{
|
|
1656
|
-
"name": "dot",
|
|
1657
|
-
"type": {
|
|
1658
|
-
"text": "boolean"
|
|
1659
|
-
},
|
|
1660
|
-
"default": "false",
|
|
1661
|
-
"description": "Should a dot be displayed before the label?",
|
|
1662
|
-
"fieldName": "dot",
|
|
1663
|
-
"attribute": "dot"
|
|
1664
|
-
},
|
|
1665
|
-
{
|
|
1666
|
-
"name": "size",
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
1669
|
-
},
|
|
1670
|
-
"default": "'sm'",
|
|
1671
|
-
"description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
|
|
1672
|
-
"fieldName": "size",
|
|
1673
|
-
"attribute": "size"
|
|
1674
|
-
}
|
|
1675
|
-
],
|
|
1676
|
-
"mixins": [
|
|
1677
|
-
{
|
|
1678
|
-
"name": "EventEmitterMixin",
|
|
1679
|
-
"module": "/src/util/EventEmitterMixin.js"
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"name": "ReadyMixin",
|
|
1683
|
-
"module": "/src/util/ReadyMixin.js"
|
|
1684
|
-
}
|
|
1685
|
-
],
|
|
1686
|
-
"superclass": {
|
|
1687
|
-
"name": "LitElement",
|
|
1688
|
-
"package": "lit"
|
|
1689
|
-
},
|
|
1690
|
-
"tagName": "btu-badge",
|
|
1691
|
-
"customElement": true
|
|
1692
|
-
}
|
|
1693
|
-
],
|
|
1694
|
-
"exports": [
|
|
1695
|
-
{
|
|
1696
|
-
"kind": "js",
|
|
1697
|
-
"name": "default",
|
|
1698
|
-
"declaration": {
|
|
1699
|
-
"name": "Badge",
|
|
1700
|
-
"module": "src/components/badge/Badge.ts"
|
|
1701
|
-
}
|
|
1702
|
-
},
|
|
1703
|
-
{
|
|
1704
|
-
"kind": "custom-element-definition",
|
|
1705
|
-
"name": "btu-badge",
|
|
1706
|
-
"declaration": {
|
|
1707
|
-
"name": "Badge",
|
|
1708
|
-
"module": "src/components/badge/Badge.ts"
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
]
|
|
1712
|
-
},
|
|
1713
|
-
{
|
|
1714
|
-
"kind": "javascript-module",
|
|
1715
|
-
"path": "src/components/button-group/ButtonGroup.ts",
|
|
1716
|
-
"declarations": [
|
|
1717
|
-
{
|
|
1718
|
-
"kind": "class",
|
|
1719
|
-
"description": "A semantic container for grouping related buttons together.\n\nSupports connected (joined) and spaced layouts, horizontal and vertical\norientation, group-level size and disabled propagation, and optional\ntoggle/selection modes (single-select or multi-select).",
|
|
1720
|
-
"name": "ButtonGroup",
|
|
1721
|
-
"cssProperties": [
|
|
1722
|
-
{
|
|
1723
|
-
"description": "Space between buttons when variant=\"spaced\" (default: spacing.sm)",
|
|
1724
|
-
"name": "--button-group-gap"
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
"description": "Corner radius of outer edges when variant=\"connected\" (default: 0.5rem)",
|
|
1728
|
-
"name": "--button-group-border-radius"
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"description": "Internal divider color between connected buttons (default: gray-300)",
|
|
1732
|
-
"name": "--button-group-border-color"
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
"description": "Background of a toggled/selected child (default: primary-50)",
|
|
1736
|
-
"name": "--button-group-selection-bg"
|
|
1737
|
-
},
|
|
1738
|
-
{
|
|
1739
|
-
"description": "Text/icon color of a toggled/selected child (default: primary-700)",
|
|
1740
|
-
"name": "--button-group-selection-color"
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
"description": "Highlight color of the selection shimmer effect (default: primary-200)",
|
|
1744
|
-
"name": "--button-group-shimmer-highlight"
|
|
1745
|
-
}
|
|
1746
|
-
],
|
|
1747
|
-
"slots": [
|
|
1748
|
-
{
|
|
1749
|
-
"description": "One or more btu-button or btu-icon-button elements to display in the group",
|
|
1750
|
-
"name": ""
|
|
1751
|
-
},
|
|
1752
|
-
{
|
|
1753
|
-
"description": "Pushes the child to the end of the group via auto-margin (vertical: bottom, horizontal: right)",
|
|
1754
|
-
"name": "end"
|
|
1755
|
-
}
|
|
1756
|
-
],
|
|
1757
|
-
"members": [
|
|
1758
|
-
{
|
|
1759
|
-
"kind": "field",
|
|
1760
|
-
"name": "tagName",
|
|
1761
|
-
"static": true,
|
|
1762
|
-
"readonly": true
|
|
1763
|
-
},
|
|
1764
|
-
{
|
|
1765
|
-
"kind": "field",
|
|
1766
|
-
"name": "label",
|
|
1767
|
-
"type": {
|
|
1768
|
-
"text": "string"
|
|
1769
|
-
},
|
|
1770
|
-
"default": "''",
|
|
1771
|
-
"description": "Accessible name for the group, announced by assistive devices via aria-label.",
|
|
1772
|
-
"attribute": "label"
|
|
1773
|
-
},
|
|
1774
|
-
{
|
|
1775
|
-
"kind": "field",
|
|
1776
|
-
"name": "orientation",
|
|
1777
|
-
"type": {
|
|
1778
|
-
"text": "'horizontal' | 'vertical'"
|
|
1779
|
-
},
|
|
1780
|
-
"default": "'horizontal'",
|
|
1781
|
-
"description": "Layout direction of the buttons.",
|
|
1782
|
-
"attribute": "orientation",
|
|
1783
|
-
"reflects": true
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "field",
|
|
1787
|
-
"name": "variant",
|
|
1788
|
-
"type": {
|
|
1789
|
-
"text": "'connected' | 'spaced'"
|
|
1790
|
-
},
|
|
1791
|
-
"default": "'connected'",
|
|
1792
|
-
"description": "`connected` collapses shared borders for a joined appearance.\n`spaced` renders buttons with a gap.",
|
|
1793
|
-
"attribute": "variant",
|
|
1794
|
-
"reflects": true
|
|
1795
|
-
},
|
|
1796
|
-
{
|
|
1797
|
-
"kind": "field",
|
|
1798
|
-
"name": "size",
|
|
1799
|
-
"type": {
|
|
1800
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
1801
|
-
},
|
|
1802
|
-
"default": "'md'",
|
|
1803
|
-
"description": "Propagates a uniform size to all child buttons.",
|
|
1804
|
-
"attribute": "size",
|
|
1805
|
-
"reflects": true
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
"kind": "field",
|
|
1809
|
-
"name": "disabled",
|
|
1810
|
-
"type": {
|
|
1811
|
-
"text": "boolean"
|
|
1812
|
-
},
|
|
1813
|
-
"default": "false",
|
|
1814
|
-
"description": "When true, disables all child buttons as a group.",
|
|
1815
|
-
"attribute": "disabled"
|
|
1816
|
-
},
|
|
1817
|
-
{
|
|
1818
|
-
"kind": "field",
|
|
1819
|
-
"name": "selection",
|
|
1820
|
-
"type": {
|
|
1821
|
-
"text": "'none' | 'single' | 'multiple'"
|
|
1822
|
-
},
|
|
1823
|
-
"default": "'none'",
|
|
1824
|
-
"description": "Enables toggle/selection behavior.\n`single` allows one active button; `multiple` allows many.",
|
|
1825
|
-
"attribute": "selection",
|
|
1826
|
-
"reflects": true
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"kind": "field",
|
|
1830
|
-
"name": "value",
|
|
1831
|
-
"type": {
|
|
1832
|
-
"text": "string"
|
|
1833
|
-
},
|
|
1834
|
-
"default": "''",
|
|
1835
|
-
"description": "Reflects the currently selected button value(s).\nFor `single`, the value of the active button.\nFor `multiple`, a comma-delimited list of active values.",
|
|
1836
|
-
"attribute": "value",
|
|
1837
|
-
"reflects": true
|
|
1838
|
-
},
|
|
1839
|
-
{
|
|
1840
|
-
"kind": "field",
|
|
1841
|
-
"name": "name",
|
|
1842
|
-
"type": {
|
|
1843
|
-
"text": "string"
|
|
1844
|
-
},
|
|
1845
|
-
"default": "''",
|
|
1846
|
-
"description": "When set, creates hidden input(s) for native form participation.",
|
|
1847
|
-
"attribute": "name"
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
"kind": "method",
|
|
1851
|
-
"name": "emit",
|
|
1852
|
-
"parameters": [
|
|
1853
|
-
{
|
|
1854
|
-
"name": "type",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "K"
|
|
1857
|
-
},
|
|
1858
|
-
"description": "Event name from CustomEventMap"
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
"name": "detail",
|
|
1862
|
-
"optional": true,
|
|
1863
|
-
"type": {
|
|
1864
|
-
"text": "UnpackCustomEvent<CustomEventMap[K]>"
|
|
1865
|
-
},
|
|
1866
|
-
"description": "Optional event detail payload"
|
|
1867
|
-
}
|
|
1868
|
-
],
|
|
1869
|
-
"description": "Dispatches a type-safe CustomEvent with standardized configuration.\n\nAll events are configured with:\n- bubbles: true (event propagates up the DOM tree)\n- cancelable: false (event cannot be cancelled)\n- composed: true (event crosses shadow DOM boundaries)",
|
|
1870
|
-
"return": {
|
|
1871
|
-
"type": {
|
|
1872
|
-
"text": "boolean"
|
|
1873
|
-
}
|
|
1874
|
-
},
|
|
1875
|
-
"inheritedFrom": {
|
|
1876
|
-
"name": "EventEmitterMixin",
|
|
1877
|
-
"module": "src/util/EventEmitterMixin.ts"
|
|
1878
|
-
}
|
|
1879
|
-
}
|
|
1880
|
-
],
|
|
1881
|
-
"events": [
|
|
1882
|
-
{
|
|
1883
|
-
"type": {
|
|
1884
|
-
"text": "CustomEvent"
|
|
1885
|
-
},
|
|
1886
|
-
"description": "Fired after first render and initialization",
|
|
1887
|
-
"name": "btu-button-group-ready"
|
|
1888
|
-
},
|
|
1889
|
-
{
|
|
1890
|
-
"type": {
|
|
1891
|
-
"text": "CustomEvent<{value: string}>"
|
|
1892
|
-
},
|
|
1893
|
-
"description": "Fired when selection changes (single/multiple modes only)",
|
|
1894
|
-
"name": "btu-button-group-change"
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"type": {
|
|
1898
|
-
"text": "CustomEvent<{name: string | undefined}>"
|
|
1899
|
-
},
|
|
1900
|
-
"description": "Bubbles from child btu-icon-button elements when clicked",
|
|
1901
|
-
"name": "btu-icon-button-click"
|
|
1902
|
-
}
|
|
1903
|
-
],
|
|
1904
|
-
"attributes": [
|
|
1905
|
-
{
|
|
1906
|
-
"name": "label",
|
|
1907
|
-
"type": {
|
|
1908
|
-
"text": "string"
|
|
1909
|
-
},
|
|
1910
|
-
"default": "''",
|
|
1911
|
-
"description": "Accessible name for the group, announced by assistive devices via aria-label.",
|
|
1912
|
-
"fieldName": "label",
|
|
1913
|
-
"attribute": "label"
|
|
1914
|
-
},
|
|
1915
|
-
{
|
|
1916
|
-
"name": "orientation",
|
|
1917
|
-
"type": {
|
|
1918
|
-
"text": "'horizontal' | 'vertical'"
|
|
1919
|
-
},
|
|
1920
|
-
"default": "'horizontal'",
|
|
1921
|
-
"description": "Layout direction of the buttons.",
|
|
1922
|
-
"fieldName": "orientation",
|
|
1923
|
-
"attribute": "orientation"
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"name": "variant",
|
|
1927
|
-
"type": {
|
|
1928
|
-
"text": "'connected' | 'spaced'"
|
|
1929
|
-
},
|
|
1930
|
-
"default": "'connected'",
|
|
1931
|
-
"description": "`connected` collapses shared borders for a joined appearance.\n`spaced` renders buttons with a gap.",
|
|
1932
|
-
"fieldName": "variant",
|
|
1933
|
-
"attribute": "variant"
|
|
1934
|
-
},
|
|
1935
|
-
{
|
|
1936
|
-
"name": "size",
|
|
1937
|
-
"type": {
|
|
1938
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
1939
|
-
},
|
|
1940
|
-
"default": "'md'",
|
|
1941
|
-
"description": "Propagates a uniform size to all child buttons.",
|
|
1942
|
-
"fieldName": "size",
|
|
1943
|
-
"attribute": "size"
|
|
1944
|
-
},
|
|
1945
|
-
{
|
|
1946
|
-
"name": "disabled",
|
|
1947
|
-
"type": {
|
|
1948
|
-
"text": "boolean"
|
|
1949
|
-
},
|
|
1950
|
-
"default": "false",
|
|
1951
|
-
"description": "When true, disables all child buttons as a group.",
|
|
1952
|
-
"fieldName": "disabled",
|
|
1953
|
-
"attribute": "disabled"
|
|
1954
|
-
},
|
|
1955
|
-
{
|
|
1956
|
-
"name": "selection",
|
|
1957
|
-
"type": {
|
|
1958
|
-
"text": "'none' | 'single' | 'multiple'"
|
|
1959
|
-
},
|
|
1960
|
-
"default": "'none'",
|
|
1961
|
-
"description": "Enables toggle/selection behavior.\n`single` allows one active button; `multiple` allows many.",
|
|
1962
|
-
"fieldName": "selection",
|
|
1963
|
-
"attribute": "selection"
|
|
1964
|
-
},
|
|
1965
|
-
{
|
|
1966
|
-
"name": "value",
|
|
1967
|
-
"type": {
|
|
1968
|
-
"text": "string"
|
|
1969
|
-
},
|
|
1970
|
-
"default": "''",
|
|
1971
|
-
"description": "Reflects the currently selected button value(s).\nFor `single`, the value of the active button.\nFor `multiple`, a comma-delimited list of active values.",
|
|
1972
|
-
"fieldName": "value",
|
|
1973
|
-
"attribute": "value"
|
|
1974
|
-
},
|
|
1975
|
-
{
|
|
1976
|
-
"name": "name",
|
|
1977
|
-
"type": {
|
|
1978
|
-
"text": "string"
|
|
1979
|
-
},
|
|
1980
|
-
"default": "''",
|
|
1981
|
-
"description": "When set, creates hidden input(s) for native form participation.",
|
|
1982
|
-
"fieldName": "name",
|
|
1983
|
-
"attribute": "name"
|
|
1984
|
-
}
|
|
1985
|
-
],
|
|
1986
|
-
"cssStates": [
|
|
1987
|
-
{
|
|
1988
|
-
"description": "Applied when variant=\"connected\", targetable via :state(btu-connected)",
|
|
1989
|
-
"name": "btu-connected"
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
"description": "Applied when variant=\"spaced\", targetable via :state(btu-spaced)",
|
|
1993
|
-
"name": "btu-spaced"
|
|
1994
|
-
},
|
|
1995
|
-
{
|
|
1996
|
-
"description": "Applied when orientation=\"horizontal\", targetable via :state(btu-horizontal)",
|
|
1997
|
-
"name": "btu-horizontal"
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"description": "Applied when orientation=\"vertical\", targetable via :state(btu-vertical)",
|
|
2001
|
-
"name": "btu-vertical"
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
"description": "Applied when the group is disabled, targetable via :state(btu-disabled)",
|
|
2005
|
-
"name": "btu-disabled"
|
|
2006
|
-
}
|
|
2007
|
-
],
|
|
2008
|
-
"mixins": [
|
|
2009
|
-
{
|
|
2010
|
-
"name": "RovingTabindexMixin",
|
|
2011
|
-
"module": "/src/util/RovingTabindexMixin.js"
|
|
2012
|
-
},
|
|
2013
|
-
{
|
|
2014
|
-
"name": "ComponentStatesMixin",
|
|
2015
|
-
"module": "/src/util/ComponentStatesMixin.js"
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
"name": "EventEmitterMixin",
|
|
2019
|
-
"module": "/src/util/EventEmitterMixin.js"
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"name": "ReadyMixin",
|
|
2023
|
-
"module": "/src/util/ReadyMixin.js"
|
|
2024
|
-
}
|
|
2025
|
-
],
|
|
2026
|
-
"superclass": {
|
|
2027
|
-
"name": "LitElement",
|
|
2028
|
-
"package": "lit"
|
|
2029
|
-
},
|
|
2030
|
-
"tagName": "btu-button-group",
|
|
2031
|
-
"customElement": true
|
|
2032
|
-
}
|
|
2033
|
-
],
|
|
2034
|
-
"exports": [
|
|
2035
|
-
{
|
|
2036
|
-
"kind": "js",
|
|
2037
|
-
"name": "default",
|
|
2038
|
-
"declaration": {
|
|
2039
|
-
"name": "ButtonGroup",
|
|
2040
|
-
"module": "src/components/button-group/ButtonGroup.ts"
|
|
2041
|
-
}
|
|
2042
|
-
},
|
|
2043
|
-
{
|
|
2044
|
-
"kind": "custom-element-definition",
|
|
2045
|
-
"name": "btu-button-group",
|
|
2046
|
-
"declaration": {
|
|
2047
|
-
"name": "ButtonGroup",
|
|
2048
|
-
"module": "src/components/button-group/ButtonGroup.ts"
|
|
2049
|
-
}
|
|
2050
|
-
}
|
|
2051
|
-
]
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"kind": "javascript-module",
|
|
2055
|
-
"path": "src/components/checkbox/Checkbox.ts",
|
|
2056
|
-
"declarations": [
|
|
2057
|
-
{
|
|
2058
|
-
"kind": "class",
|
|
2059
|
-
"description": "A checkbox component for selecting one or more options from a set.\n\nUses a hidden native checkbox internally for accessibility and form\nparticipation. Styled via the `btu-checkbox` Tailwind plugin classes.\nThe component manages its own `className` — do not modify it externally\nafter initialization (classes present at connection time are preserved).",
|
|
2060
|
-
"name": "Checkbox",
|
|
2061
|
-
"cssProperties": [
|
|
2062
|
-
{
|
|
2063
|
-
"description": "Background and border color when checked or indeterminate, and tinted background/border on unchecked hover (default: oklch(var(--btu-theme-primary-700)))",
|
|
2064
|
-
"name": "--checkbox-color-primary"
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
"description": "Border color in the unchecked state (default: oklch(var(--btu-theme-gray-300)))",
|
|
2068
|
-
"name": "--checkbox-color-border"
|
|
2069
|
-
},
|
|
2070
|
-
{
|
|
2071
|
-
"description": "Border and text color in the error state (default: oklch(var(--btu-theme-error-600)))",
|
|
2072
|
-
"name": "--checkbox-color-error"
|
|
2073
|
-
},
|
|
2074
|
-
{
|
|
2075
|
-
"description": "Corner rounding of the checkbox square (default: 4px)",
|
|
2076
|
-
"name": "--checkbox-border-radius"
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
"description": "Distance between the checkbox and the label (default: 0.75rem)",
|
|
2080
|
-
"name": "--checkbox-label-spacing"
|
|
2081
|
-
},
|
|
2082
|
-
{
|
|
2083
|
-
"description": "[Internal] Width and height of the checkbox square, set by the size variant (sm: 1rem, md: 1.25rem). Use the `size` attribute instead of overriding directly — the icon must scale in tandem.",
|
|
2084
|
-
"name": "--checkbox-box-size"
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"description": "[Internal] Width and height of the icon inside the box, set by the size variant (sm: 0.75rem, md: 0.875rem). Use the `size` attribute instead of overriding directly.",
|
|
2088
|
-
"name": "--checkbox-icon-size"
|
|
2089
|
-
}
|
|
2090
|
-
],
|
|
2091
|
-
"members": [
|
|
2092
|
-
{
|
|
2093
|
-
"kind": "field",
|
|
2094
|
-
"name": "label",
|
|
2095
|
-
"type": {
|
|
2096
|
-
"text": "string | undefined"
|
|
2097
|
-
},
|
|
2098
|
-
"description": "The text label displayed next to the checkbox.",
|
|
2099
|
-
"attribute": "label"
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
"kind": "field",
|
|
2103
|
-
"name": "description",
|
|
2104
|
-
"type": {
|
|
2105
|
-
"text": "string | undefined"
|
|
2106
|
-
},
|
|
2107
|
-
"description": "Optional helper text displayed below the label.",
|
|
2108
|
-
"attribute": "description"
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"kind": "field",
|
|
2112
|
-
"name": "size",
|
|
2113
|
-
"type": {
|
|
2114
|
-
"text": "'sm' | 'md'"
|
|
2115
|
-
},
|
|
2116
|
-
"default": "'sm'",
|
|
2117
|
-
"description": "Controls the scale of the checkbox and associated typography.",
|
|
2118
|
-
"attribute": "size",
|
|
2119
|
-
"reflects": true
|
|
1777
|
+
"description": "Controls the scale of the checkbox and associated typography.",
|
|
1778
|
+
"attribute": "size",
|
|
1779
|
+
"reflects": true
|
|
2120
1780
|
},
|
|
2121
1781
|
{
|
|
2122
1782
|
"kind": "field",
|
|
@@ -2427,104 +2087,356 @@
|
|
|
2427
2087
|
"attribute": "name"
|
|
2428
2088
|
},
|
|
2429
2089
|
{
|
|
2430
|
-
"name": "value",
|
|
2090
|
+
"name": "value",
|
|
2091
|
+
"type": {
|
|
2092
|
+
"text": "string"
|
|
2093
|
+
},
|
|
2094
|
+
"default": "'on'",
|
|
2095
|
+
"description": "Value associated with the checkbox when submitted.",
|
|
2096
|
+
"fieldName": "value",
|
|
2097
|
+
"attribute": "value"
|
|
2098
|
+
}
|
|
2099
|
+
],
|
|
2100
|
+
"mixins": [
|
|
2101
|
+
{
|
|
2102
|
+
"name": "EventEmitterMixin",
|
|
2103
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"name": "ReadyMixin",
|
|
2107
|
+
"module": "/src/util/ReadyMixin.js"
|
|
2108
|
+
}
|
|
2109
|
+
],
|
|
2110
|
+
"superclass": {
|
|
2111
|
+
"name": "LitElement",
|
|
2112
|
+
"package": "lit"
|
|
2113
|
+
},
|
|
2114
|
+
"tagName": "btu-checkbox",
|
|
2115
|
+
"customElement": true
|
|
2116
|
+
}
|
|
2117
|
+
],
|
|
2118
|
+
"exports": [
|
|
2119
|
+
{
|
|
2120
|
+
"kind": "js",
|
|
2121
|
+
"name": "default",
|
|
2122
|
+
"declaration": {
|
|
2123
|
+
"name": "Checkbox",
|
|
2124
|
+
"module": "src/components/checkbox/Checkbox.ts"
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"kind": "custom-element-definition",
|
|
2129
|
+
"name": "btu-checkbox",
|
|
2130
|
+
"declaration": {
|
|
2131
|
+
"name": "Checkbox",
|
|
2132
|
+
"module": "src/components/checkbox/Checkbox.ts"
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
]
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"kind": "javascript-module",
|
|
2139
|
+
"path": "src/components/circular-progress/CircularProgress.ts",
|
|
2140
|
+
"declarations": [
|
|
2141
|
+
{
|
|
2142
|
+
"kind": "class",
|
|
2143
|
+
"description": "A circular progress indicator for showing loading states or progress.",
|
|
2144
|
+
"name": "CircularProgress",
|
|
2145
|
+
"cssProperties": [
|
|
2146
|
+
{
|
|
2147
|
+
"description": "Custom progress indicator color (overrides theme color)",
|
|
2148
|
+
"name": "--progress-color"
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"description": "Track/background color (overrides default gray-100)",
|
|
2152
|
+
"name": "--track-color"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"description": "Custom size in pixels (overrides size preset)",
|
|
2156
|
+
"name": "--progress-size"
|
|
2157
|
+
}
|
|
2158
|
+
],
|
|
2159
|
+
"members": [
|
|
2160
|
+
{
|
|
2161
|
+
"kind": "field",
|
|
2162
|
+
"name": "indeterminate",
|
|
2163
|
+
"type": {
|
|
2164
|
+
"text": "boolean"
|
|
2165
|
+
},
|
|
2166
|
+
"default": "true",
|
|
2167
|
+
"description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
|
|
2168
|
+
"attribute": "indeterminate"
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"kind": "field",
|
|
2172
|
+
"name": "size",
|
|
2173
|
+
"type": {
|
|
2174
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2175
|
+
},
|
|
2176
|
+
"default": "'sm'",
|
|
2177
|
+
"description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
|
|
2178
|
+
"attribute": "size"
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"kind": "field",
|
|
2182
|
+
"name": "color",
|
|
2183
|
+
"type": {
|
|
2184
|
+
"text": "ProgressColors"
|
|
2185
|
+
},
|
|
2186
|
+
"default": "'primary'",
|
|
2187
|
+
"description": "Color theme of the progress indicator.\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success",
|
|
2188
|
+
"attribute": "color",
|
|
2189
|
+
"inheritedFrom": {
|
|
2190
|
+
"name": "ProgressMixin",
|
|
2191
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2192
|
+
}
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"kind": "field",
|
|
2196
|
+
"name": "thickness",
|
|
2197
|
+
"type": {
|
|
2198
|
+
"text": "number | undefined"
|
|
2199
|
+
},
|
|
2200
|
+
"description": "Stroke width of the progress indicator.",
|
|
2201
|
+
"attribute": "thickness",
|
|
2202
|
+
"inheritedFrom": {
|
|
2203
|
+
"name": "ProgressMixin",
|
|
2204
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2205
|
+
}
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"kind": "field",
|
|
2209
|
+
"name": "_progress",
|
|
2210
|
+
"type": {
|
|
2211
|
+
"text": "number"
|
|
2212
|
+
},
|
|
2213
|
+
"privacy": "private",
|
|
2214
|
+
"default": "0",
|
|
2215
|
+
"inheritedFrom": {
|
|
2216
|
+
"name": "ProgressMixin",
|
|
2217
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"kind": "field",
|
|
2222
|
+
"name": "progress",
|
|
2223
|
+
"description": "Progress value for determinate variant. Clamped to 0–100.",
|
|
2224
|
+
"attribute": "progress",
|
|
2225
|
+
"inheritedFrom": {
|
|
2226
|
+
"name": "ProgressMixin",
|
|
2227
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"kind": "field",
|
|
2232
|
+
"name": "label",
|
|
2233
|
+
"type": {
|
|
2234
|
+
"text": "string | undefined"
|
|
2235
|
+
},
|
|
2236
|
+
"description": "Optional label text to display with the progress indicator.",
|
|
2237
|
+
"attribute": "label",
|
|
2238
|
+
"inheritedFrom": {
|
|
2239
|
+
"name": "ProgressMixin",
|
|
2240
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2241
|
+
}
|
|
2242
|
+
},
|
|
2243
|
+
{
|
|
2244
|
+
"kind": "field",
|
|
2245
|
+
"name": "initialAnimation",
|
|
2246
|
+
"type": {
|
|
2247
|
+
"text": "boolean"
|
|
2248
|
+
},
|
|
2249
|
+
"default": "true",
|
|
2250
|
+
"description": "Whether to animate progress from 0 to target value when component first becomes visible.",
|
|
2251
|
+
"attribute": "initial-animation",
|
|
2252
|
+
"inheritedFrom": {
|
|
2253
|
+
"name": "ProgressMixin",
|
|
2254
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2255
|
+
}
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"kind": "field",
|
|
2259
|
+
"name": "ariaLabel",
|
|
2260
|
+
"type": {
|
|
2261
|
+
"text": "string | null"
|
|
2262
|
+
},
|
|
2263
|
+
"default": "null",
|
|
2264
|
+
"description": "Optional aria-label attribute for screen readers.\nDescribes what the progress indicator represents.",
|
|
2265
|
+
"attribute": "aria-label",
|
|
2266
|
+
"inheritedFrom": {
|
|
2267
|
+
"name": "ProgressMixin",
|
|
2268
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2269
|
+
}
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"kind": "field",
|
|
2273
|
+
"name": "ariaLabelledBy",
|
|
2274
|
+
"type": {
|
|
2275
|
+
"text": "string | null"
|
|
2276
|
+
},
|
|
2277
|
+
"default": "null",
|
|
2278
|
+
"description": "Optional aria-labelledby attribute for screen readers.\nReferences the ID of an element that labels the progress indicator.",
|
|
2279
|
+
"attribute": "aria-labelledby",
|
|
2280
|
+
"inheritedFrom": {
|
|
2281
|
+
"name": "ProgressMixin",
|
|
2282
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"kind": "field",
|
|
2287
|
+
"name": "ariaValueText",
|
|
2288
|
+
"type": {
|
|
2289
|
+
"text": "string | null"
|
|
2290
|
+
},
|
|
2291
|
+
"default": "null",
|
|
2292
|
+
"description": "Optional aria-valuetext attribute for screen readers.\nProvides human-readable text alternative for progress value.",
|
|
2293
|
+
"attribute": "aria-valuetext",
|
|
2294
|
+
"inheritedFrom": {
|
|
2295
|
+
"name": "ProgressMixin",
|
|
2296
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"kind": "field",
|
|
2301
|
+
"name": "completionAnnouncement",
|
|
2302
|
+
"type": {
|
|
2303
|
+
"text": "string | undefined"
|
|
2304
|
+
},
|
|
2305
|
+
"description": "Optional message to announce to screen readers when progress reaches 100%.\nIf not provided, no announcement will be made on completion.",
|
|
2306
|
+
"attribute": "completion-announcement",
|
|
2307
|
+
"inheritedFrom": {
|
|
2308
|
+
"name": "ProgressMixin",
|
|
2309
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2310
|
+
}
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
"kind": "field",
|
|
2314
|
+
"name": "_isAnimationInitialized",
|
|
2315
|
+
"type": {
|
|
2316
|
+
"text": "boolean"
|
|
2317
|
+
},
|
|
2318
|
+
"privacy": "private",
|
|
2319
|
+
"default": "false",
|
|
2320
|
+
"inheritedFrom": {
|
|
2321
|
+
"name": "ProgressMixin",
|
|
2322
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2323
|
+
}
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"kind": "field",
|
|
2327
|
+
"name": "_intersectionObserver",
|
|
2328
|
+
"type": {
|
|
2329
|
+
"text": "IntersectionObserver | undefined"
|
|
2330
|
+
},
|
|
2331
|
+
"privacy": "private",
|
|
2332
|
+
"inheritedFrom": {
|
|
2333
|
+
"name": "ProgressMixin",
|
|
2334
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
"kind": "field",
|
|
2339
|
+
"name": "_hasCompletedAt100",
|
|
2340
|
+
"type": {
|
|
2341
|
+
"text": "boolean"
|
|
2342
|
+
},
|
|
2343
|
+
"privacy": "private",
|
|
2344
|
+
"default": "false",
|
|
2345
|
+
"inheritedFrom": {
|
|
2346
|
+
"name": "ProgressMixin",
|
|
2347
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"kind": "field",
|
|
2352
|
+
"name": "_hostTag",
|
|
2431
2353
|
"type": {
|
|
2432
|
-
"text": "
|
|
2354
|
+
"text": "'btu-linear-progress' | 'btu-circular-progress'"
|
|
2433
2355
|
},
|
|
2434
|
-
"
|
|
2435
|
-
"
|
|
2436
|
-
"
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
"mixins": [
|
|
2441
|
-
{
|
|
2442
|
-
"name": "EventEmitterMixin",
|
|
2443
|
-
"module": "/src/util/EventEmitterMixin.js"
|
|
2356
|
+
"privacy": "private",
|
|
2357
|
+
"readonly": true,
|
|
2358
|
+
"inheritedFrom": {
|
|
2359
|
+
"name": "ProgressMixin",
|
|
2360
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2361
|
+
}
|
|
2444
2362
|
},
|
|
2445
2363
|
{
|
|
2446
|
-
"
|
|
2447
|
-
"
|
|
2364
|
+
"kind": "method",
|
|
2365
|
+
"name": "emit",
|
|
2366
|
+
"parameters": [
|
|
2367
|
+
{
|
|
2368
|
+
"name": "type",
|
|
2369
|
+
"type": {
|
|
2370
|
+
"text": "K"
|
|
2371
|
+
},
|
|
2372
|
+
"description": "Event name from CustomEventMap"
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"name": "detail",
|
|
2376
|
+
"optional": true,
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "UnpackCustomEvent<CustomEventMap[K]>"
|
|
2379
|
+
},
|
|
2380
|
+
"description": "Optional event detail payload"
|
|
2381
|
+
}
|
|
2382
|
+
],
|
|
2383
|
+
"description": "Dispatches a type-safe CustomEvent with standardized configuration.\n\nAll events are configured with:\n- bubbles: true (event propagates up the DOM tree)\n- cancelable: false (event cannot be cancelled)\n- composed: true (event crosses shadow DOM boundaries)",
|
|
2384
|
+
"return": {
|
|
2385
|
+
"type": {
|
|
2386
|
+
"text": "boolean"
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
"inheritedFrom": {
|
|
2390
|
+
"name": "EventEmitterMixin",
|
|
2391
|
+
"module": "src/util/EventEmitterMixin.ts"
|
|
2392
|
+
}
|
|
2448
2393
|
}
|
|
2449
2394
|
],
|
|
2450
|
-
"
|
|
2451
|
-
"name": "LitElement",
|
|
2452
|
-
"package": "lit"
|
|
2453
|
-
},
|
|
2454
|
-
"tagName": "btu-checkbox",
|
|
2455
|
-
"customElement": true
|
|
2456
|
-
}
|
|
2457
|
-
],
|
|
2458
|
-
"exports": [
|
|
2459
|
-
{
|
|
2460
|
-
"kind": "js",
|
|
2461
|
-
"name": "default",
|
|
2462
|
-
"declaration": {
|
|
2463
|
-
"name": "Checkbox",
|
|
2464
|
-
"module": "src/components/checkbox/Checkbox.ts"
|
|
2465
|
-
}
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"kind": "custom-element-definition",
|
|
2469
|
-
"name": "btu-checkbox",
|
|
2470
|
-
"declaration": {
|
|
2471
|
-
"name": "Checkbox",
|
|
2472
|
-
"module": "src/components/checkbox/Checkbox.ts"
|
|
2473
|
-
}
|
|
2474
|
-
}
|
|
2475
|
-
]
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"kind": "javascript-module",
|
|
2479
|
-
"path": "src/components/circular-progress/CircularProgress.ts",
|
|
2480
|
-
"declarations": [
|
|
2481
|
-
{
|
|
2482
|
-
"kind": "class",
|
|
2483
|
-
"description": "A circular progress indicator for showing loading states or progress.",
|
|
2484
|
-
"name": "CircularProgress",
|
|
2485
|
-
"cssProperties": [
|
|
2486
|
-
{
|
|
2487
|
-
"description": "Custom progress indicator color (overrides theme color)",
|
|
2488
|
-
"name": "--progress-color"
|
|
2489
|
-
},
|
|
2395
|
+
"events": [
|
|
2490
2396
|
{
|
|
2491
|
-
"
|
|
2492
|
-
|
|
2397
|
+
"type": {
|
|
2398
|
+
"text": "CustomEvent"
|
|
2399
|
+
},
|
|
2400
|
+
"description": "Fired after first render and initialization",
|
|
2401
|
+
"name": "btu-circular-progress-ready"
|
|
2493
2402
|
},
|
|
2494
2403
|
{
|
|
2495
|
-
"
|
|
2496
|
-
|
|
2404
|
+
"type": {
|
|
2405
|
+
"text": "CustomEvent"
|
|
2406
|
+
},
|
|
2407
|
+
"description": "Fired when determinate progress reaches 100",
|
|
2408
|
+
"name": "btu-circular-progress-complete"
|
|
2497
2409
|
}
|
|
2498
2410
|
],
|
|
2499
|
-
"
|
|
2411
|
+
"attributes": [
|
|
2500
2412
|
{
|
|
2501
|
-
"kind": "field",
|
|
2502
2413
|
"name": "indeterminate",
|
|
2503
2414
|
"type": {
|
|
2504
2415
|
"text": "boolean"
|
|
2505
2416
|
},
|
|
2506
2417
|
"default": "true",
|
|
2507
2418
|
"description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
|
|
2419
|
+
"fieldName": "indeterminate",
|
|
2508
2420
|
"attribute": "indeterminate"
|
|
2509
2421
|
},
|
|
2510
2422
|
{
|
|
2511
|
-
"kind": "field",
|
|
2512
2423
|
"name": "size",
|
|
2513
2424
|
"type": {
|
|
2514
2425
|
"text": "'sm' | 'md' | 'lg'"
|
|
2515
2426
|
},
|
|
2516
2427
|
"default": "'sm'",
|
|
2517
2428
|
"description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
|
|
2429
|
+
"fieldName": "size",
|
|
2518
2430
|
"attribute": "size"
|
|
2519
2431
|
},
|
|
2520
2432
|
{
|
|
2521
|
-
"kind": "field",
|
|
2522
2433
|
"name": "color",
|
|
2523
2434
|
"type": {
|
|
2524
2435
|
"text": "ProgressColors"
|
|
2525
2436
|
},
|
|
2526
2437
|
"default": "'primary'",
|
|
2527
2438
|
"description": "Color theme of the progress indicator.\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success",
|
|
2439
|
+
"fieldName": "color",
|
|
2528
2440
|
"attribute": "color",
|
|
2529
2441
|
"inheritedFrom": {
|
|
2530
2442
|
"name": "ProgressMixin",
|
|
@@ -2532,12 +2444,12 @@
|
|
|
2532
2444
|
}
|
|
2533
2445
|
},
|
|
2534
2446
|
{
|
|
2535
|
-
"kind": "field",
|
|
2536
2447
|
"name": "thickness",
|
|
2537
2448
|
"type": {
|
|
2538
2449
|
"text": "number | undefined"
|
|
2539
2450
|
},
|
|
2540
2451
|
"description": "Stroke width of the progress indicator.",
|
|
2452
|
+
"fieldName": "thickness",
|
|
2541
2453
|
"attribute": "thickness",
|
|
2542
2454
|
"inheritedFrom": {
|
|
2543
2455
|
"name": "ProgressMixin",
|
|
@@ -2545,22 +2457,9 @@
|
|
|
2545
2457
|
}
|
|
2546
2458
|
},
|
|
2547
2459
|
{
|
|
2548
|
-
"kind": "field",
|
|
2549
|
-
"name": "_progress",
|
|
2550
|
-
"type": {
|
|
2551
|
-
"text": "number"
|
|
2552
|
-
},
|
|
2553
|
-
"privacy": "private",
|
|
2554
|
-
"default": "0",
|
|
2555
|
-
"inheritedFrom": {
|
|
2556
|
-
"name": "ProgressMixin",
|
|
2557
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2558
|
-
}
|
|
2559
|
-
},
|
|
2560
|
-
{
|
|
2561
|
-
"kind": "field",
|
|
2562
2460
|
"name": "progress",
|
|
2563
2461
|
"description": "Progress value for determinate variant. Clamped to 0–100.",
|
|
2462
|
+
"fieldName": "progress",
|
|
2564
2463
|
"attribute": "progress",
|
|
2565
2464
|
"inheritedFrom": {
|
|
2566
2465
|
"name": "ProgressMixin",
|
|
@@ -2568,12 +2467,12 @@
|
|
|
2568
2467
|
}
|
|
2569
2468
|
},
|
|
2570
2469
|
{
|
|
2571
|
-
"kind": "field",
|
|
2572
2470
|
"name": "label",
|
|
2573
2471
|
"type": {
|
|
2574
2472
|
"text": "string | undefined"
|
|
2575
2473
|
},
|
|
2576
2474
|
"description": "Optional label text to display with the progress indicator.",
|
|
2475
|
+
"fieldName": "label",
|
|
2577
2476
|
"attribute": "label",
|
|
2578
2477
|
"inheritedFrom": {
|
|
2579
2478
|
"name": "ProgressMixin",
|
|
@@ -2581,13 +2480,13 @@
|
|
|
2581
2480
|
}
|
|
2582
2481
|
},
|
|
2583
2482
|
{
|
|
2584
|
-
"
|
|
2585
|
-
"name": "initialAnimation",
|
|
2483
|
+
"name": "initial-animation",
|
|
2586
2484
|
"type": {
|
|
2587
2485
|
"text": "boolean"
|
|
2588
2486
|
},
|
|
2589
2487
|
"default": "true",
|
|
2590
2488
|
"description": "Whether to animate progress from 0 to target value when component first becomes visible.",
|
|
2489
|
+
"fieldName": "initialAnimation",
|
|
2591
2490
|
"attribute": "initial-animation",
|
|
2592
2491
|
"inheritedFrom": {
|
|
2593
2492
|
"name": "ProgressMixin",
|
|
@@ -2595,13 +2494,13 @@
|
|
|
2595
2494
|
}
|
|
2596
2495
|
},
|
|
2597
2496
|
{
|
|
2598
|
-
"
|
|
2599
|
-
"name": "ariaLabel",
|
|
2497
|
+
"name": "aria-label",
|
|
2600
2498
|
"type": {
|
|
2601
2499
|
"text": "string | null"
|
|
2602
2500
|
},
|
|
2603
2501
|
"default": "null",
|
|
2604
2502
|
"description": "Optional aria-label attribute for screen readers.\nDescribes what the progress indicator represents.",
|
|
2503
|
+
"fieldName": "ariaLabel",
|
|
2605
2504
|
"attribute": "aria-label",
|
|
2606
2505
|
"inheritedFrom": {
|
|
2607
2506
|
"name": "ProgressMixin",
|
|
@@ -2609,13 +2508,13 @@
|
|
|
2609
2508
|
}
|
|
2610
2509
|
},
|
|
2611
2510
|
{
|
|
2612
|
-
"
|
|
2613
|
-
"name": "ariaLabelledBy",
|
|
2511
|
+
"name": "aria-labelledby",
|
|
2614
2512
|
"type": {
|
|
2615
2513
|
"text": "string | null"
|
|
2616
2514
|
},
|
|
2617
2515
|
"default": "null",
|
|
2618
2516
|
"description": "Optional aria-labelledby attribute for screen readers.\nReferences the ID of an element that labels the progress indicator.",
|
|
2517
|
+
"fieldName": "ariaLabelledBy",
|
|
2619
2518
|
"attribute": "aria-labelledby",
|
|
2620
2519
|
"inheritedFrom": {
|
|
2621
2520
|
"name": "ProgressMixin",
|
|
@@ -2623,13 +2522,13 @@
|
|
|
2623
2522
|
}
|
|
2624
2523
|
},
|
|
2625
2524
|
{
|
|
2626
|
-
"
|
|
2627
|
-
"name": "ariaValueText",
|
|
2525
|
+
"name": "aria-valuetext",
|
|
2628
2526
|
"type": {
|
|
2629
2527
|
"text": "string | null"
|
|
2630
2528
|
},
|
|
2631
2529
|
"default": "null",
|
|
2632
2530
|
"description": "Optional aria-valuetext attribute for screen readers.\nProvides human-readable text alternative for progress value.",
|
|
2531
|
+
"fieldName": "ariaValueText",
|
|
2633
2532
|
"attribute": "aria-valuetext",
|
|
2634
2533
|
"inheritedFrom": {
|
|
2635
2534
|
"name": "ProgressMixin",
|
|
@@ -2637,67 +2536,126 @@
|
|
|
2637
2536
|
}
|
|
2638
2537
|
},
|
|
2639
2538
|
{
|
|
2640
|
-
"
|
|
2641
|
-
"name": "completionAnnouncement",
|
|
2539
|
+
"name": "completion-announcement",
|
|
2642
2540
|
"type": {
|
|
2643
2541
|
"text": "string | undefined"
|
|
2644
2542
|
},
|
|
2645
2543
|
"description": "Optional message to announce to screen readers when progress reaches 100%.\nIf not provided, no announcement will be made on completion.",
|
|
2544
|
+
"fieldName": "completionAnnouncement",
|
|
2646
2545
|
"attribute": "completion-announcement",
|
|
2647
2546
|
"inheritedFrom": {
|
|
2648
2547
|
"name": "ProgressMixin",
|
|
2649
2548
|
"module": "src/util/ProgressMixin.ts"
|
|
2650
2549
|
}
|
|
2550
|
+
}
|
|
2551
|
+
],
|
|
2552
|
+
"mixins": [
|
|
2553
|
+
{
|
|
2554
|
+
"name": "ProgressMixin",
|
|
2555
|
+
"module": "/src/util/ProgressMixin.js"
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"name": "EventEmitterMixin",
|
|
2559
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
2651
2560
|
},
|
|
2561
|
+
{
|
|
2562
|
+
"name": "ReadyMixin",
|
|
2563
|
+
"module": "/src/util/ReadyMixin.js"
|
|
2564
|
+
}
|
|
2565
|
+
],
|
|
2566
|
+
"superclass": {
|
|
2567
|
+
"name": "LitElement",
|
|
2568
|
+
"package": "lit"
|
|
2569
|
+
},
|
|
2570
|
+
"tagName": "btu-circular-progress",
|
|
2571
|
+
"customElement": true
|
|
2572
|
+
}
|
|
2573
|
+
],
|
|
2574
|
+
"exports": [
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "js",
|
|
2577
|
+
"name": "default",
|
|
2578
|
+
"declaration": {
|
|
2579
|
+
"name": "CircularProgress",
|
|
2580
|
+
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"kind": "custom-element-definition",
|
|
2585
|
+
"name": "btu-circular-progress",
|
|
2586
|
+
"declaration": {
|
|
2587
|
+
"name": "CircularProgress",
|
|
2588
|
+
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
]
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"kind": "javascript-module",
|
|
2595
|
+
"path": "src/components/copy-to-clipboard/CopyToClipboard.ts",
|
|
2596
|
+
"declarations": [
|
|
2597
|
+
{
|
|
2598
|
+
"kind": "class",
|
|
2599
|
+
"description": "A button component that copies text to the system clipboard.\n\nProvides visual feedback when text is successfully copied by applying\na temporary state that can be styled with CSS.\n\nButton styling is inherited from `btu-button-*` classes. Override appearance\nby passing custom classes via the `buttonClasses` attribute.",
|
|
2600
|
+
"name": "CopyToClipboard",
|
|
2601
|
+
"members": [
|
|
2652
2602
|
{
|
|
2653
2603
|
"kind": "field",
|
|
2654
|
-
"name": "
|
|
2604
|
+
"name": "copydata",
|
|
2655
2605
|
"type": {
|
|
2656
|
-
"text": "
|
|
2606
|
+
"text": "string | undefined"
|
|
2657
2607
|
},
|
|
2658
|
-
"
|
|
2659
|
-
"
|
|
2660
|
-
"inheritedFrom": {
|
|
2661
|
-
"name": "ProgressMixin",
|
|
2662
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2663
|
-
}
|
|
2608
|
+
"description": "The text to be copied to the system clipboard.",
|
|
2609
|
+
"attribute": "copydata"
|
|
2664
2610
|
},
|
|
2665
2611
|
{
|
|
2666
2612
|
"kind": "field",
|
|
2667
|
-
"name": "
|
|
2613
|
+
"name": "buttonClasses",
|
|
2668
2614
|
"type": {
|
|
2669
|
-
"text": "
|
|
2615
|
+
"text": "string | undefined"
|
|
2670
2616
|
},
|
|
2671
|
-
"
|
|
2672
|
-
"
|
|
2673
|
-
"name": "ProgressMixin",
|
|
2674
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2675
|
-
}
|
|
2617
|
+
"description": "Custom CSS classes for the button. If provided, replaces the default classes.",
|
|
2618
|
+
"attribute": "buttonClasses"
|
|
2676
2619
|
},
|
|
2677
2620
|
{
|
|
2678
|
-
"kind": "
|
|
2679
|
-
"name": "
|
|
2680
|
-
"
|
|
2681
|
-
"
|
|
2621
|
+
"kind": "method",
|
|
2622
|
+
"name": "copy",
|
|
2623
|
+
"return": {
|
|
2624
|
+
"type": {
|
|
2625
|
+
"text": ""
|
|
2626
|
+
}
|
|
2682
2627
|
},
|
|
2683
|
-
"
|
|
2684
|
-
|
|
2628
|
+
"parameters": [
|
|
2629
|
+
{
|
|
2630
|
+
"name": "text",
|
|
2631
|
+
"type": {
|
|
2632
|
+
"text": "string"
|
|
2633
|
+
},
|
|
2634
|
+
"description": "The text to copy to clipboard"
|
|
2635
|
+
},
|
|
2636
|
+
{
|
|
2637
|
+
"name": "timeout",
|
|
2638
|
+
"default": "3000",
|
|
2639
|
+
"description": "Duration in milliseconds to show success state (default: 3000)"
|
|
2640
|
+
}
|
|
2641
|
+
],
|
|
2642
|
+
"description": "Copies the copydata to the system clipboard.\nDisplays a success state for 3 seconds after copying.",
|
|
2685
2643
|
"inheritedFrom": {
|
|
2686
|
-
"name": "
|
|
2687
|
-
"module": "src/util/
|
|
2644
|
+
"name": "ClipboardMixin",
|
|
2645
|
+
"module": "src/util/ClipboardMixin.ts"
|
|
2688
2646
|
}
|
|
2689
2647
|
},
|
|
2690
2648
|
{
|
|
2691
2649
|
"kind": "field",
|
|
2692
|
-
"name": "
|
|
2650
|
+
"name": "copiedStateKey",
|
|
2693
2651
|
"type": {
|
|
2694
|
-
"text": "'btu-
|
|
2652
|
+
"text": "'btu-copy-to-clipboard-copied'"
|
|
2695
2653
|
},
|
|
2696
|
-
"
|
|
2654
|
+
"description": "Custom state applied briefly after a successful copy; also emitted as an event.",
|
|
2697
2655
|
"readonly": true,
|
|
2698
2656
|
"inheritedFrom": {
|
|
2699
|
-
"name": "
|
|
2700
|
-
"module": "src/util/
|
|
2657
|
+
"name": "ClipboardMixin",
|
|
2658
|
+
"module": "src/util/ClipboardMixin.ts"
|
|
2701
2659
|
}
|
|
2702
2660
|
},
|
|
2703
2661
|
{
|
|
@@ -2738,265 +2696,234 @@
|
|
|
2738
2696
|
"text": "CustomEvent"
|
|
2739
2697
|
},
|
|
2740
2698
|
"description": "Fired after first render and initialization",
|
|
2741
|
-
"name": "btu-
|
|
2699
|
+
"name": "btu-copy-to-clipboard-ready"
|
|
2742
2700
|
},
|
|
2743
2701
|
{
|
|
2744
2702
|
"type": {
|
|
2745
2703
|
"text": "CustomEvent"
|
|
2746
2704
|
},
|
|
2747
|
-
"description": "Fired when
|
|
2748
|
-
"name": "btu-
|
|
2705
|
+
"description": "Fired when text is successfully copied to clipboard",
|
|
2706
|
+
"name": "btu-copy-to-clipboard-copied"
|
|
2749
2707
|
}
|
|
2750
2708
|
],
|
|
2751
2709
|
"attributes": [
|
|
2752
2710
|
{
|
|
2753
|
-
"name": "
|
|
2711
|
+
"name": "copydata",
|
|
2754
2712
|
"type": {
|
|
2755
|
-
"text": "
|
|
2713
|
+
"text": "string | undefined"
|
|
2756
2714
|
},
|
|
2757
|
-
"
|
|
2758
|
-
"
|
|
2759
|
-
"
|
|
2760
|
-
"attribute": "indeterminate"
|
|
2715
|
+
"description": "The text to be copied to the system clipboard.",
|
|
2716
|
+
"fieldName": "copydata",
|
|
2717
|
+
"attribute": "copydata"
|
|
2761
2718
|
},
|
|
2762
2719
|
{
|
|
2763
|
-
"name": "
|
|
2720
|
+
"name": "buttonClasses",
|
|
2764
2721
|
"type": {
|
|
2765
|
-
"text": "
|
|
2722
|
+
"text": "string | undefined"
|
|
2766
2723
|
},
|
|
2767
|
-
"
|
|
2768
|
-
"
|
|
2769
|
-
"
|
|
2770
|
-
|
|
2724
|
+
"description": "Custom CSS classes for the button. If provided, replaces the default classes.",
|
|
2725
|
+
"fieldName": "buttonClasses",
|
|
2726
|
+
"attribute": "buttonClasses"
|
|
2727
|
+
}
|
|
2728
|
+
],
|
|
2729
|
+
"cssStates": [
|
|
2730
|
+
{
|
|
2731
|
+
"description": "Applied briefly after a successful copy, targetable via :state(btu-copy-to-clipboard-copied)",
|
|
2732
|
+
"name": "btu-copy-to-clipboard-copied"
|
|
2733
|
+
}
|
|
2734
|
+
],
|
|
2735
|
+
"mixins": [
|
|
2736
|
+
{
|
|
2737
|
+
"name": "ClipboardMixin",
|
|
2738
|
+
"module": "/src/util/ClipboardMixin.js"
|
|
2771
2739
|
},
|
|
2772
2740
|
{
|
|
2773
|
-
"name": "
|
|
2774
|
-
"
|
|
2775
|
-
"text": "ProgressColors"
|
|
2776
|
-
},
|
|
2777
|
-
"default": "'primary'",
|
|
2778
|
-
"description": "Color theme of the progress indicator.\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success",
|
|
2779
|
-
"fieldName": "color",
|
|
2780
|
-
"attribute": "color",
|
|
2781
|
-
"inheritedFrom": {
|
|
2782
|
-
"name": "ProgressMixin",
|
|
2783
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2784
|
-
}
|
|
2741
|
+
"name": "ComponentStatesMixin",
|
|
2742
|
+
"module": "/src/util/ComponentStatesMixin.js"
|
|
2785
2743
|
},
|
|
2786
2744
|
{
|
|
2787
|
-
"name": "
|
|
2788
|
-
"
|
|
2789
|
-
"text": "number | undefined"
|
|
2790
|
-
},
|
|
2791
|
-
"description": "Stroke width of the progress indicator.",
|
|
2792
|
-
"fieldName": "thickness",
|
|
2793
|
-
"attribute": "thickness",
|
|
2794
|
-
"inheritedFrom": {
|
|
2795
|
-
"name": "ProgressMixin",
|
|
2796
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2797
|
-
}
|
|
2745
|
+
"name": "EventEmitterMixin",
|
|
2746
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
2798
2747
|
},
|
|
2799
2748
|
{
|
|
2800
|
-
"name": "
|
|
2801
|
-
"
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2749
|
+
"name": "ReadyMixin",
|
|
2750
|
+
"module": "/src/util/ReadyMixin.js"
|
|
2751
|
+
}
|
|
2752
|
+
],
|
|
2753
|
+
"superclass": {
|
|
2754
|
+
"name": "LitElement",
|
|
2755
|
+
"package": "lit"
|
|
2756
|
+
},
|
|
2757
|
+
"tagName": "btu-copy-to-clipboard",
|
|
2758
|
+
"customElement": true
|
|
2759
|
+
}
|
|
2760
|
+
],
|
|
2761
|
+
"exports": [
|
|
2762
|
+
{
|
|
2763
|
+
"kind": "js",
|
|
2764
|
+
"name": "default",
|
|
2765
|
+
"declaration": {
|
|
2766
|
+
"name": "CopyToClipboard",
|
|
2767
|
+
"module": "src/components/copy-to-clipboard/CopyToClipboard.ts"
|
|
2768
|
+
}
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"kind": "custom-element-definition",
|
|
2772
|
+
"name": "btu-copy-to-clipboard",
|
|
2773
|
+
"declaration": {
|
|
2774
|
+
"name": "CopyToClipboard",
|
|
2775
|
+
"module": "src/components/copy-to-clipboard/CopyToClipboard.ts"
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
]
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"kind": "javascript-module",
|
|
2782
|
+
"path": "src/components/button-group/ButtonGroup.ts",
|
|
2783
|
+
"declarations": [
|
|
2784
|
+
{
|
|
2785
|
+
"kind": "class",
|
|
2786
|
+
"description": "A semantic container for grouping related buttons together.\n\nSupports connected (joined) and spaced layouts, horizontal and vertical\norientation, group-level size and disabled propagation, and optional\ntoggle/selection modes (single-select or multi-select).",
|
|
2787
|
+
"name": "ButtonGroup",
|
|
2788
|
+
"cssProperties": [
|
|
2789
|
+
{
|
|
2790
|
+
"description": "Space between buttons when variant=\"spaced\" (default: spacing.sm)",
|
|
2791
|
+
"name": "--button-group-gap"
|
|
2808
2792
|
},
|
|
2809
2793
|
{
|
|
2810
|
-
"
|
|
2811
|
-
"
|
|
2812
|
-
"text": "string | undefined"
|
|
2813
|
-
},
|
|
2814
|
-
"description": "Optional label text to display with the progress indicator.",
|
|
2815
|
-
"fieldName": "label",
|
|
2816
|
-
"attribute": "label",
|
|
2817
|
-
"inheritedFrom": {
|
|
2818
|
-
"name": "ProgressMixin",
|
|
2819
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2820
|
-
}
|
|
2794
|
+
"description": "Corner radius of outer edges when variant=\"connected\" (default: 0.5rem)",
|
|
2795
|
+
"name": "--button-group-border-radius"
|
|
2821
2796
|
},
|
|
2822
2797
|
{
|
|
2823
|
-
"
|
|
2824
|
-
"
|
|
2825
|
-
"text": "boolean"
|
|
2826
|
-
},
|
|
2827
|
-
"default": "true",
|
|
2828
|
-
"description": "Whether to animate progress from 0 to target value when component first becomes visible.",
|
|
2829
|
-
"fieldName": "initialAnimation",
|
|
2830
|
-
"attribute": "initial-animation",
|
|
2831
|
-
"inheritedFrom": {
|
|
2832
|
-
"name": "ProgressMixin",
|
|
2833
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2834
|
-
}
|
|
2798
|
+
"description": "Internal divider color between connected buttons (default: gray-300)",
|
|
2799
|
+
"name": "--button-group-border-color"
|
|
2835
2800
|
},
|
|
2836
2801
|
{
|
|
2837
|
-
"
|
|
2838
|
-
"
|
|
2839
|
-
"text": "string | null"
|
|
2840
|
-
},
|
|
2841
|
-
"default": "null",
|
|
2842
|
-
"description": "Optional aria-label attribute for screen readers.\nDescribes what the progress indicator represents.",
|
|
2843
|
-
"fieldName": "ariaLabel",
|
|
2844
|
-
"attribute": "aria-label",
|
|
2845
|
-
"inheritedFrom": {
|
|
2846
|
-
"name": "ProgressMixin",
|
|
2847
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2848
|
-
}
|
|
2802
|
+
"description": "Background of a toggled/selected child (default: child's --button-tint-subtle)",
|
|
2803
|
+
"name": "--button-group-selection-bg"
|
|
2849
2804
|
},
|
|
2850
2805
|
{
|
|
2851
|
-
"
|
|
2852
|
-
"
|
|
2853
|
-
"text": "string | null"
|
|
2854
|
-
},
|
|
2855
|
-
"default": "null",
|
|
2856
|
-
"description": "Optional aria-labelledby attribute for screen readers.\nReferences the ID of an element that labels the progress indicator.",
|
|
2857
|
-
"fieldName": "ariaLabelledBy",
|
|
2858
|
-
"attribute": "aria-labelledby",
|
|
2859
|
-
"inheritedFrom": {
|
|
2860
|
-
"name": "ProgressMixin",
|
|
2861
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2862
|
-
}
|
|
2806
|
+
"description": "Text/icon color of a toggled/selected child (default: child's --button-tint-strong)",
|
|
2807
|
+
"name": "--button-group-selection-color"
|
|
2863
2808
|
},
|
|
2864
2809
|
{
|
|
2865
|
-
"
|
|
2810
|
+
"description": "Highlight color of the selection shimmer effect (default: child's --button-tint-highlight) Reads the following CSS custom properties from each child button (set by the button plugin per color variant — see tailwind-plugin-button.ts):",
|
|
2811
|
+
"name": "--button-group-shimmer-highlight"
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
"description": "Subtle tint of the child button's color family (read-only here)",
|
|
2815
|
+
"name": "--button-tint-subtle"
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
"description": "Strong tint of the child button's color family (read-only here)",
|
|
2819
|
+
"name": "--button-tint-strong"
|
|
2820
|
+
},
|
|
2821
|
+
{
|
|
2822
|
+
"description": "Highlight tint of the child button's color family (read-only here)",
|
|
2823
|
+
"name": "--button-tint-highlight"
|
|
2824
|
+
}
|
|
2825
|
+
],
|
|
2826
|
+
"slots": [
|
|
2827
|
+
{
|
|
2828
|
+
"description": "One or more `<button class=\"btu-button …\">` or `<btu-icon-button>` elements to display in the group. The `connected` variant rounds the outer corners on the real `<button>`, so anchors styled as `.btu-button` slotted directly will not get rounded corners. Use `<button>` for grouped controls.",
|
|
2829
|
+
"name": ""
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"description": "Pushes the child to the end of the group via auto-margin (vertical: bottom, horizontal: right)",
|
|
2833
|
+
"name": "end"
|
|
2834
|
+
}
|
|
2835
|
+
],
|
|
2836
|
+
"members": [
|
|
2837
|
+
{
|
|
2838
|
+
"kind": "field",
|
|
2839
|
+
"name": "tagName",
|
|
2840
|
+
"static": true,
|
|
2841
|
+
"readonly": true
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"kind": "field",
|
|
2845
|
+
"name": "label",
|
|
2866
2846
|
"type": {
|
|
2867
|
-
"text": "string
|
|
2847
|
+
"text": "string"
|
|
2868
2848
|
},
|
|
2869
|
-
"default": "
|
|
2870
|
-
"description": "
|
|
2871
|
-
"
|
|
2872
|
-
"attribute": "aria-valuetext",
|
|
2873
|
-
"inheritedFrom": {
|
|
2874
|
-
"name": "ProgressMixin",
|
|
2875
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2876
|
-
}
|
|
2849
|
+
"default": "''",
|
|
2850
|
+
"description": "Accessible name for the group, announced by assistive devices via aria-label.",
|
|
2851
|
+
"attribute": "label"
|
|
2877
2852
|
},
|
|
2878
2853
|
{
|
|
2879
|
-
"
|
|
2854
|
+
"kind": "field",
|
|
2855
|
+
"name": "orientation",
|
|
2880
2856
|
"type": {
|
|
2881
|
-
"text": "
|
|
2857
|
+
"text": "'horizontal' | 'vertical'"
|
|
2882
2858
|
},
|
|
2883
|
-
"
|
|
2884
|
-
"
|
|
2885
|
-
"attribute": "
|
|
2886
|
-
"
|
|
2887
|
-
|
|
2888
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2889
|
-
}
|
|
2890
|
-
}
|
|
2891
|
-
],
|
|
2892
|
-
"mixins": [
|
|
2859
|
+
"default": "'horizontal'",
|
|
2860
|
+
"description": "Layout direction of the buttons.",
|
|
2861
|
+
"attribute": "orientation",
|
|
2862
|
+
"reflects": true
|
|
2863
|
+
},
|
|
2893
2864
|
{
|
|
2894
|
-
"
|
|
2895
|
-
"
|
|
2865
|
+
"kind": "field",
|
|
2866
|
+
"name": "variant",
|
|
2867
|
+
"type": {
|
|
2868
|
+
"text": "'connected' | 'spaced'"
|
|
2869
|
+
},
|
|
2870
|
+
"default": "'connected'",
|
|
2871
|
+
"description": "`connected` collapses shared borders for a joined appearance.\n`spaced` renders buttons with a gap.",
|
|
2872
|
+
"attribute": "variant",
|
|
2873
|
+
"reflects": true
|
|
2896
2874
|
},
|
|
2897
2875
|
{
|
|
2898
|
-
"
|
|
2899
|
-
"
|
|
2876
|
+
"kind": "field",
|
|
2877
|
+
"name": "size",
|
|
2878
|
+
"type": {
|
|
2879
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2880
|
+
},
|
|
2881
|
+
"default": "'md'",
|
|
2882
|
+
"description": "Propagates a uniform size to all child buttons.",
|
|
2883
|
+
"attribute": "size",
|
|
2884
|
+
"reflects": true
|
|
2900
2885
|
},
|
|
2901
|
-
{
|
|
2902
|
-
"name": "ReadyMixin",
|
|
2903
|
-
"module": "/src/util/ReadyMixin.js"
|
|
2904
|
-
}
|
|
2905
|
-
],
|
|
2906
|
-
"superclass": {
|
|
2907
|
-
"name": "LitElement",
|
|
2908
|
-
"package": "lit"
|
|
2909
|
-
},
|
|
2910
|
-
"tagName": "btu-circular-progress",
|
|
2911
|
-
"customElement": true
|
|
2912
|
-
}
|
|
2913
|
-
],
|
|
2914
|
-
"exports": [
|
|
2915
|
-
{
|
|
2916
|
-
"kind": "js",
|
|
2917
|
-
"name": "default",
|
|
2918
|
-
"declaration": {
|
|
2919
|
-
"name": "CircularProgress",
|
|
2920
|
-
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
2921
|
-
}
|
|
2922
|
-
},
|
|
2923
|
-
{
|
|
2924
|
-
"kind": "custom-element-definition",
|
|
2925
|
-
"name": "btu-circular-progress",
|
|
2926
|
-
"declaration": {
|
|
2927
|
-
"name": "CircularProgress",
|
|
2928
|
-
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
2929
|
-
}
|
|
2930
|
-
}
|
|
2931
|
-
]
|
|
2932
|
-
},
|
|
2933
|
-
{
|
|
2934
|
-
"kind": "javascript-module",
|
|
2935
|
-
"path": "src/components/copy-to-clipboard/CopyToClipboard.ts",
|
|
2936
|
-
"declarations": [
|
|
2937
|
-
{
|
|
2938
|
-
"kind": "class",
|
|
2939
|
-
"description": "A button component that copies text to the system clipboard.\n\nProvides visual feedback when text is successfully copied by applying\na temporary state that can be styled with CSS.\n\nButton styling is inherited from `btu-button-*` classes. Override appearance\nby passing custom classes via the `buttonClasses` attribute.",
|
|
2940
|
-
"name": "CopyToClipboard",
|
|
2941
|
-
"members": [
|
|
2942
2886
|
{
|
|
2943
2887
|
"kind": "field",
|
|
2944
|
-
"name": "
|
|
2888
|
+
"name": "disabled",
|
|
2945
2889
|
"type": {
|
|
2946
|
-
"text": "
|
|
2890
|
+
"text": "boolean"
|
|
2947
2891
|
},
|
|
2948
|
-
"
|
|
2949
|
-
"
|
|
2892
|
+
"default": "false",
|
|
2893
|
+
"description": "When true, disables all child buttons as a group.",
|
|
2894
|
+
"attribute": "disabled"
|
|
2950
2895
|
},
|
|
2951
2896
|
{
|
|
2952
2897
|
"kind": "field",
|
|
2953
|
-
"name": "
|
|
2898
|
+
"name": "selection",
|
|
2954
2899
|
"type": {
|
|
2955
|
-
"text": "
|
|
2900
|
+
"text": "'none' | 'single' | 'multiple'"
|
|
2956
2901
|
},
|
|
2957
|
-
"
|
|
2958
|
-
"
|
|
2902
|
+
"default": "'none'",
|
|
2903
|
+
"description": "Enables toggle/selection behavior.\n`single` allows one active button; `multiple` allows many.",
|
|
2904
|
+
"attribute": "selection",
|
|
2905
|
+
"reflects": true
|
|
2959
2906
|
},
|
|
2960
2907
|
{
|
|
2961
|
-
"kind": "
|
|
2962
|
-
"name": "
|
|
2963
|
-
"
|
|
2964
|
-
"
|
|
2965
|
-
"text": ""
|
|
2966
|
-
}
|
|
2908
|
+
"kind": "field",
|
|
2909
|
+
"name": "value",
|
|
2910
|
+
"type": {
|
|
2911
|
+
"text": "string"
|
|
2967
2912
|
},
|
|
2968
|
-
"
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
"text": "string"
|
|
2973
|
-
},
|
|
2974
|
-
"description": "The text to copy to clipboard"
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"name": "timeout",
|
|
2978
|
-
"default": "3000",
|
|
2979
|
-
"description": "Duration in milliseconds to show success state (default: 3000)"
|
|
2980
|
-
}
|
|
2981
|
-
],
|
|
2982
|
-
"description": "Copies the copydata to the system clipboard.\nDisplays a success state for 3 seconds after copying.",
|
|
2983
|
-
"inheritedFrom": {
|
|
2984
|
-
"name": "ClipboardMixin",
|
|
2985
|
-
"module": "src/util/ClipboardMixin.ts"
|
|
2986
|
-
}
|
|
2913
|
+
"default": "''",
|
|
2914
|
+
"description": "Reflects the currently selected button value(s).\nFor `single`, the value of the active button.\nFor `multiple`, a comma-delimited list of active values.",
|
|
2915
|
+
"attribute": "value",
|
|
2916
|
+
"reflects": true
|
|
2987
2917
|
},
|
|
2988
2918
|
{
|
|
2989
2919
|
"kind": "field",
|
|
2990
|
-
"name": "
|
|
2920
|
+
"name": "name",
|
|
2991
2921
|
"type": {
|
|
2992
|
-
"text": "
|
|
2922
|
+
"text": "string"
|
|
2993
2923
|
},
|
|
2994
|
-
"
|
|
2995
|
-
"
|
|
2996
|
-
"
|
|
2997
|
-
"name": "ClipboardMixin",
|
|
2998
|
-
"module": "src/util/ClipboardMixin.ts"
|
|
2999
|
-
}
|
|
2924
|
+
"default": "''",
|
|
2925
|
+
"description": "When set, creates hidden input(s) for native form participation.",
|
|
2926
|
+
"attribute": "name"
|
|
3000
2927
|
},
|
|
3001
2928
|
{
|
|
3002
2929
|
"kind": "method",
|
|
@@ -3036,46 +2963,131 @@
|
|
|
3036
2963
|
"text": "CustomEvent"
|
|
3037
2964
|
},
|
|
3038
2965
|
"description": "Fired after first render and initialization",
|
|
3039
|
-
"name": "btu-
|
|
2966
|
+
"name": "btu-button-group-ready"
|
|
3040
2967
|
},
|
|
3041
2968
|
{
|
|
3042
2969
|
"type": {
|
|
3043
|
-
"text": "CustomEvent"
|
|
2970
|
+
"text": "CustomEvent<{value: string}>"
|
|
3044
2971
|
},
|
|
3045
|
-
"description": "Fired when
|
|
3046
|
-
"name": "btu-
|
|
2972
|
+
"description": "Fired when selection changes (single/multiple modes only)",
|
|
2973
|
+
"name": "btu-button-group-change"
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "CustomEvent<{name: string | undefined}>"
|
|
2978
|
+
},
|
|
2979
|
+
"description": "Bubbles from child btu-icon-button elements when clicked",
|
|
2980
|
+
"name": "btu-icon-button-click"
|
|
3047
2981
|
}
|
|
3048
2982
|
],
|
|
3049
2983
|
"attributes": [
|
|
3050
2984
|
{
|
|
3051
|
-
"name": "
|
|
2985
|
+
"name": "label",
|
|
3052
2986
|
"type": {
|
|
3053
|
-
"text": "string
|
|
2987
|
+
"text": "string"
|
|
3054
2988
|
},
|
|
3055
|
-
"
|
|
3056
|
-
"
|
|
3057
|
-
"
|
|
2989
|
+
"default": "''",
|
|
2990
|
+
"description": "Accessible name for the group, announced by assistive devices via aria-label.",
|
|
2991
|
+
"fieldName": "label",
|
|
2992
|
+
"attribute": "label"
|
|
3058
2993
|
},
|
|
3059
2994
|
{
|
|
3060
|
-
"name": "
|
|
2995
|
+
"name": "orientation",
|
|
3061
2996
|
"type": {
|
|
3062
|
-
"text": "
|
|
2997
|
+
"text": "'horizontal' | 'vertical'"
|
|
3063
2998
|
},
|
|
3064
|
-
"
|
|
3065
|
-
"
|
|
3066
|
-
"
|
|
2999
|
+
"default": "'horizontal'",
|
|
3000
|
+
"description": "Layout direction of the buttons.",
|
|
3001
|
+
"fieldName": "orientation",
|
|
3002
|
+
"attribute": "orientation"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "variant",
|
|
3006
|
+
"type": {
|
|
3007
|
+
"text": "'connected' | 'spaced'"
|
|
3008
|
+
},
|
|
3009
|
+
"default": "'connected'",
|
|
3010
|
+
"description": "`connected` collapses shared borders for a joined appearance.\n`spaced` renders buttons with a gap.",
|
|
3011
|
+
"fieldName": "variant",
|
|
3012
|
+
"attribute": "variant"
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"name": "size",
|
|
3016
|
+
"type": {
|
|
3017
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
3018
|
+
},
|
|
3019
|
+
"default": "'md'",
|
|
3020
|
+
"description": "Propagates a uniform size to all child buttons.",
|
|
3021
|
+
"fieldName": "size",
|
|
3022
|
+
"attribute": "size"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"name": "disabled",
|
|
3026
|
+
"type": {
|
|
3027
|
+
"text": "boolean"
|
|
3028
|
+
},
|
|
3029
|
+
"default": "false",
|
|
3030
|
+
"description": "When true, disables all child buttons as a group.",
|
|
3031
|
+
"fieldName": "disabled",
|
|
3032
|
+
"attribute": "disabled"
|
|
3033
|
+
},
|
|
3034
|
+
{
|
|
3035
|
+
"name": "selection",
|
|
3036
|
+
"type": {
|
|
3037
|
+
"text": "'none' | 'single' | 'multiple'"
|
|
3038
|
+
},
|
|
3039
|
+
"default": "'none'",
|
|
3040
|
+
"description": "Enables toggle/selection behavior.\n`single` allows one active button; `multiple` allows many.",
|
|
3041
|
+
"fieldName": "selection",
|
|
3042
|
+
"attribute": "selection"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"name": "value",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "string"
|
|
3048
|
+
},
|
|
3049
|
+
"default": "''",
|
|
3050
|
+
"description": "Reflects the currently selected button value(s).\nFor `single`, the value of the active button.\nFor `multiple`, a comma-delimited list of active values.",
|
|
3051
|
+
"fieldName": "value",
|
|
3052
|
+
"attribute": "value"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"name": "name",
|
|
3056
|
+
"type": {
|
|
3057
|
+
"text": "string"
|
|
3058
|
+
},
|
|
3059
|
+
"default": "''",
|
|
3060
|
+
"description": "When set, creates hidden input(s) for native form participation.",
|
|
3061
|
+
"fieldName": "name",
|
|
3062
|
+
"attribute": "name"
|
|
3067
3063
|
}
|
|
3068
3064
|
],
|
|
3069
3065
|
"cssStates": [
|
|
3070
3066
|
{
|
|
3071
|
-
"description": "Applied
|
|
3072
|
-
"name": "btu-
|
|
3067
|
+
"description": "Applied when variant=\"connected\", targetable via :state(btu-connected)",
|
|
3068
|
+
"name": "btu-connected"
|
|
3069
|
+
},
|
|
3070
|
+
{
|
|
3071
|
+
"description": "Applied when variant=\"spaced\", targetable via :state(btu-spaced)",
|
|
3072
|
+
"name": "btu-spaced"
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"description": "Applied when orientation=\"horizontal\", targetable via :state(btu-horizontal)",
|
|
3076
|
+
"name": "btu-horizontal"
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"description": "Applied when orientation=\"vertical\", targetable via :state(btu-vertical)",
|
|
3080
|
+
"name": "btu-vertical"
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"description": "Applied when the group is disabled, targetable via :state(btu-disabled)",
|
|
3084
|
+
"name": "btu-disabled"
|
|
3073
3085
|
}
|
|
3074
3086
|
],
|
|
3075
3087
|
"mixins": [
|
|
3076
3088
|
{
|
|
3077
|
-
"name": "
|
|
3078
|
-
"module": "/src/util/
|
|
3089
|
+
"name": "RovingTabindexMixin",
|
|
3090
|
+
"module": "/src/util/RovingTabindexMixin.js"
|
|
3079
3091
|
},
|
|
3080
3092
|
{
|
|
3081
3093
|
"name": "ComponentStatesMixin",
|
|
@@ -3094,7 +3106,7 @@
|
|
|
3094
3106
|
"name": "LitElement",
|
|
3095
3107
|
"package": "lit"
|
|
3096
3108
|
},
|
|
3097
|
-
"tagName": "btu-
|
|
3109
|
+
"tagName": "btu-button-group",
|
|
3098
3110
|
"customElement": true
|
|
3099
3111
|
}
|
|
3100
3112
|
],
|
|
@@ -3103,16 +3115,16 @@
|
|
|
3103
3115
|
"kind": "js",
|
|
3104
3116
|
"name": "default",
|
|
3105
3117
|
"declaration": {
|
|
3106
|
-
"name": "
|
|
3107
|
-
"module": "src/components/
|
|
3118
|
+
"name": "ButtonGroup",
|
|
3119
|
+
"module": "src/components/button-group/ButtonGroup.ts"
|
|
3108
3120
|
}
|
|
3109
3121
|
},
|
|
3110
3122
|
{
|
|
3111
3123
|
"kind": "custom-element-definition",
|
|
3112
|
-
"name": "btu-
|
|
3124
|
+
"name": "btu-button-group",
|
|
3113
3125
|
"declaration": {
|
|
3114
|
-
"name": "
|
|
3115
|
-
"module": "src/components/
|
|
3126
|
+
"name": "ButtonGroup",
|
|
3127
|
+
"module": "src/components/button-group/ButtonGroup.ts"
|
|
3116
3128
|
}
|
|
3117
3129
|
}
|
|
3118
3130
|
]
|