@brightspot/ui 5.0.1 → 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 +781 -769
- package/dist/storybook/assets/{ActionBar.stories-IDc5Jeit.js → ActionBar.stories-DpBBnIiE.js} +1 -1
- package/dist/storybook/assets/{ActionItem.stories-FKbziuZR.js → ActionItem.stories-D-SD3oRh.js} +1 -1
- package/dist/storybook/assets/{Avatar.stories-BsAnn4F7.js → Avatar.stories-BDy6f75b.js} +1 -1
- package/dist/storybook/assets/{AvatarGroup.stories-BmNNGA4K.js → AvatarGroup.stories-D--M5Pyp.js} +5 -5
- package/dist/storybook/assets/{Badge.stories-BMb_-0Io.js → Badge.stories-BOAvuQtE.js} +1 -1
- package/dist/storybook/assets/{Button-D3vjfsjz.js → Button-DskBi-a0.js} +1 -1
- package/dist/storybook/assets/{Button.stories-VndkwLDv.js → Button.stories--V5okepx.js} +1 -1
- package/dist/storybook/assets/{ButtonGroup.stories-BvbNykTx.js → ButtonGroup.stories-DsuXsM9v.js} +48 -48
- package/dist/storybook/assets/{Celebrate.stories-DrrL3txs.js → Celebrate.stories-CgK_ukcB.js} +7 -7
- package/dist/storybook/assets/{Checkbox.stories-BS4H3-cO.js → Checkbox.stories-CahQXA2h.js} +1 -1
- package/dist/storybook/assets/{CircularProgress.stories-YQfbjx-O.js → CircularProgress.stories-BcZsN6ZV.js} +1 -1
- package/dist/storybook/assets/{ClipboardMixin.stories-DjsApoGs.js → ClipboardMixin.stories-iKXLs_Lx.js} +2 -2
- package/dist/storybook/assets/{Color-6BZIO3FS-D23VaL29.js → Color-6BZIO3FS-7ncXlNfS.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-B0Eo-AgP.js → Colors.stories-CMI52WH8.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-CJv4PhDZ.js → CombinedEffects.stories-pGE5o60x.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin-Bn8b1Qpq.js → ComponentStatesMixin-sjcdg7YH.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-CM9Nn1Vr.js → ComponentStatesMixin.stories-Dbxiy4qv.js} +3 -3
- package/dist/storybook/assets/{CopyToClipboard.stories-DdwTxinQ.js → CopyToClipboard.stories-BnYR5mPG.js} +1 -1
- package/dist/storybook/assets/{Debounce.stories-bdqs8xGz.js → Debounce.stories-nc7GvHdK.js} +3 -3
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-CdjX43FI.js → DocsRenderer-LL677BLK-K-gJNtRC.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-wY7jzy1b.js → Dropdown.stories-l-P53HBT.js} +3 -3
- package/dist/storybook/assets/{EmptyState.stories-FpHAx68-.js → EmptyState.stories-Bsui95Si.js} +15 -15
- package/dist/storybook/assets/{Events.stories-gJAakVdu.js → Events.stories-DcmUxFWp.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-BqFtaYkf.js → Heading.stories-lvQ63fpM.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-Bk1g8tT8.js → HueRipple.stories-BQ9jucCA.js} +1 -1
- package/dist/storybook/assets/{Icon.stories-sxRLpE9W.js → Icon.stories-DvL4qxSb.js} +7 -7
- package/dist/storybook/assets/{IconButton.stories-DjmbahEP.js → IconButton.stories-1W6ODsaX.js} +1 -1
- package/dist/storybook/assets/{LinearProgress.stories-DwJQwdLl.js → LinearProgress.stories-DUmR1GTa.js} +1 -1
- package/dist/storybook/assets/{Pagination.stories-Cp-E5mN-.js → Pagination.stories-Du0hsZpT.js} +3 -3
- package/dist/storybook/assets/{Popover.stories-BRW3tYFh.js → Popover.stories-DjJv1kBn.js} +18 -18
- package/dist/storybook/assets/{ReadyMixin-Btxswj_k.js → ReadyMixin-BNk5yZSB.js} +1 -1
- package/dist/storybook/assets/{RovingTabindexMixin.stories-CU7heX4w.js → RovingTabindexMixin.stories-DavyM2GK.js} +6 -6
- package/dist/storybook/assets/{Rtc.stories-CGkrXg7-.js → Rtc.stories-CfLCEC6Z.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-HPqnieYi.js → ScrollShadow.stories-w4P92oTn.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-SIix50Dz.js → Switch.stories-wLB1lmhw.js} +5 -5
- package/dist/storybook/assets/{Tab.stories-BJ0Dl--1.js → Tab.stories-DBpVHDFv.js} +1 -1
- package/dist/storybook/assets/{Tabs.stories-DEV7dhqr.js → Tabs.stories-pOx3oPd9.js} +1 -1
- package/dist/storybook/assets/{Throttle.stories-5l5dcEMx.js → Throttle.stories-BbNaSo1Q.js} +5 -5
- package/dist/storybook/assets/{Tooltip.stories-CJrvBRM9.js → Tooltip.stories-CYopQvk8.js} +1 -1
- package/dist/storybook/assets/{Upload.stories-HAndUW3D.js → Upload.stories-D7YbbCD8.js} +1 -1
- package/dist/storybook/assets/{UploadItem.stories-B-8IM6rL.js → UploadItem.stories-BCd0JZXJ.js} +1 -1
- package/dist/storybook/assets/{Welcome.stories-Cy7QZEXf.js → Welcome.stories-CmC1Tq-c.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-DyTOXrSZ.js → Widget.stories-D6B4UeXS.js} +12 -12
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-BF-px3XD.js → WithTooltip-65CFNBJE-DJFeVQni.js} +1 -1
- package/dist/storybook/assets/{blocks-B-r6Fucc.js → blocks-B3SR9dnr.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU-BhTCWHea.js → formatter-EIJCOSYU-ByY8vaiA.js} +1 -1
- package/dist/storybook/assets/if-defined-DzbkssR9.js +1 -0
- package/dist/storybook/assets/{iframe-XJ17FJi7.js → iframe-CMPv_g6-.js} +5 -5
- package/dist/storybook/assets/iframe-PeGbyIdX.css +1 -0
- package/dist/storybook/assets/{index-CQ_bLab5.js → index-DJyZoz0Z.js} +1 -1
- package/dist/storybook/assets/{onFind-RCD4BqgZ.js → onFind-B81tRmr7.js} +1 -1
- package/dist/storybook/assets/{onFind.stories-CD7vXuRn.js → onFind.stories-u0gQBbXV.js} +25 -25
- package/dist/storybook/assets/{onRemove.stories-Dm8HrW-w.js → onRemove.stories-Bo0PhHGT.js} +3 -3
- package/dist/storybook/assets/{onVisible.stories-CigtHPTK.js → onVisible.stories-Db1s-swH.js} +1 -1
- package/dist/storybook/assets/{style-map-C3PJ2niZ.js → style-map-968Ye5qo.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-DIlzdeob.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 +1 -1
- 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 -1
- 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/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 +1 -1
- 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/{2111.a937b0cafa8cf7c039d2.css → 7718.70d9e2ee26ead4bd147b.css} +1 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/{v4.de442a0b430071a7803d.js → v4.ab96a7dd75fa7af9c970.js} +2 -2
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.844c5f9e05e351ee0579.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v5.5ce74760f3fb482bec5e.js → v5.e48c1d8f41b5e088bef0.js} +2 -2
- package/dist/storybook/assets/if-defined-CxLwFifW.js +0 -1
- package/dist/storybook/assets/iframe-D0roG0J-.css +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.68dab4082aba302779ed.css +0 -5
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.de442a0b430071a7803d.js.LICENSE.txt → v4.ab96a7dd75fa7af9c970.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.5ce74760f3fb482bec5e.js.LICENSE.txt → v5.e48c1d8f41b5e088bef0.js.LICENSE.txt} +0 -0
|
@@ -1712,96 +1712,92 @@
|
|
|
1712
1712
|
},
|
|
1713
1713
|
{
|
|
1714
1714
|
"kind": "javascript-module",
|
|
1715
|
-
"path": "src/components/
|
|
1715
|
+
"path": "src/components/checkbox/Checkbox.ts",
|
|
1716
1716
|
"declarations": [
|
|
1717
1717
|
{
|
|
1718
1718
|
"kind": "class",
|
|
1719
|
-
"description": "A
|
|
1720
|
-
"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",
|
|
1721
1721
|
"cssProperties": [
|
|
1722
1722
|
{
|
|
1723
|
-
"description": "
|
|
1724
|
-
"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"
|
|
1725
1725
|
},
|
|
1726
1726
|
{
|
|
1727
|
-
"description": "
|
|
1728
|
-
"name": "--
|
|
1727
|
+
"description": "Border color in the unchecked state (default: oklch(var(--btu-theme-gray-300)))",
|
|
1728
|
+
"name": "--checkbox-color-border"
|
|
1729
1729
|
},
|
|
1730
1730
|
{
|
|
1731
|
-
"description": "
|
|
1732
|
-
"name": "--
|
|
1731
|
+
"description": "Border and text color in the error state (default: oklch(var(--btu-theme-error-600)))",
|
|
1732
|
+
"name": "--checkbox-color-error"
|
|
1733
1733
|
},
|
|
1734
1734
|
{
|
|
1735
|
-
"description": "
|
|
1736
|
-
"name": "--
|
|
1735
|
+
"description": "Corner rounding of the checkbox square (default: 4px)",
|
|
1736
|
+
"name": "--checkbox-border-radius"
|
|
1737
1737
|
},
|
|
1738
1738
|
{
|
|
1739
|
-
"description": "
|
|
1740
|
-
"name": "--
|
|
1739
|
+
"description": "Distance between the checkbox and the label (default: 0.75rem)",
|
|
1740
|
+
"name": "--checkbox-label-spacing"
|
|
1741
1741
|
},
|
|
1742
1742
|
{
|
|
1743
|
-
"description": "
|
|
1744
|
-
"name": "--
|
|
1745
|
-
}
|
|
1746
|
-
],
|
|
1747
|
-
"slots": [
|
|
1748
|
-
{
|
|
1749
|
-
"description": "One or more btu-button or btu-icon-button elements to display in the group",
|
|
1750
|
-
"name": ""
|
|
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"
|
|
1751
1745
|
},
|
|
1752
1746
|
{
|
|
1753
|
-
"description": "
|
|
1754
|
-
"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"
|
|
1755
1749
|
}
|
|
1756
1750
|
],
|
|
1757
1751
|
"members": [
|
|
1758
1752
|
{
|
|
1759
1753
|
"kind": "field",
|
|
1760
|
-
"name": "
|
|
1761
|
-
"
|
|
1762
|
-
|
|
1754
|
+
"name": "label",
|
|
1755
|
+
"type": {
|
|
1756
|
+
"text": "string | undefined"
|
|
1757
|
+
},
|
|
1758
|
+
"description": "The text label displayed next to the checkbox.",
|
|
1759
|
+
"attribute": "label"
|
|
1763
1760
|
},
|
|
1764
1761
|
{
|
|
1765
1762
|
"kind": "field",
|
|
1766
|
-
"name": "
|
|
1763
|
+
"name": "description",
|
|
1767
1764
|
"type": {
|
|
1768
|
-
"text": "string"
|
|
1765
|
+
"text": "string | undefined"
|
|
1769
1766
|
},
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1772
|
-
"attribute": "label"
|
|
1767
|
+
"description": "Optional helper text displayed below the label.",
|
|
1768
|
+
"attribute": "description"
|
|
1773
1769
|
},
|
|
1774
1770
|
{
|
|
1775
1771
|
"kind": "field",
|
|
1776
|
-
"name": "
|
|
1772
|
+
"name": "size",
|
|
1777
1773
|
"type": {
|
|
1778
|
-
"text": "'
|
|
1774
|
+
"text": "'sm' | 'md'"
|
|
1779
1775
|
},
|
|
1780
|
-
"default": "'
|
|
1781
|
-
"description": "
|
|
1782
|
-
"attribute": "
|
|
1776
|
+
"default": "'sm'",
|
|
1777
|
+
"description": "Controls the scale of the checkbox and associated typography.",
|
|
1778
|
+
"attribute": "size",
|
|
1783
1779
|
"reflects": true
|
|
1784
1780
|
},
|
|
1785
1781
|
{
|
|
1786
1782
|
"kind": "field",
|
|
1787
|
-
"name": "
|
|
1783
|
+
"name": "checked",
|
|
1788
1784
|
"type": {
|
|
1789
|
-
"text": "
|
|
1785
|
+
"text": "boolean"
|
|
1790
1786
|
},
|
|
1791
|
-
"default": "
|
|
1792
|
-
"description": "
|
|
1793
|
-
"attribute": "
|
|
1787
|
+
"default": "false",
|
|
1788
|
+
"description": "Whether the checkbox is currently selected.",
|
|
1789
|
+
"attribute": "checked",
|
|
1794
1790
|
"reflects": true
|
|
1795
1791
|
},
|
|
1796
1792
|
{
|
|
1797
1793
|
"kind": "field",
|
|
1798
|
-
"name": "
|
|
1794
|
+
"name": "indeterminate",
|
|
1799
1795
|
"type": {
|
|
1800
|
-
"text": "
|
|
1796
|
+
"text": "boolean"
|
|
1801
1797
|
},
|
|
1802
|
-
"default": "
|
|
1803
|
-
"description": "
|
|
1804
|
-
"attribute": "
|
|
1798
|
+
"default": "false",
|
|
1799
|
+
"description": "Whether the checkbox is in a partially selected state. Sets `aria-checked='mixed'`\nand activates the native `:indeterminate` pseudo-class. Cleared automatically when\nthe user clicks the checkbox.",
|
|
1800
|
+
"attribute": "indeterminate",
|
|
1805
1801
|
"reflects": true
|
|
1806
1802
|
},
|
|
1807
1803
|
{
|
|
@@ -1811,41 +1807,140 @@
|
|
|
1811
1807
|
"text": "boolean"
|
|
1812
1808
|
},
|
|
1813
1809
|
"default": "false",
|
|
1814
|
-
"description": "
|
|
1815
|
-
"attribute": "disabled"
|
|
1810
|
+
"description": "If true, the checkbox is non-interactive and visually muted.",
|
|
1811
|
+
"attribute": "disabled",
|
|
1812
|
+
"reflects": true
|
|
1816
1813
|
},
|
|
1817
1814
|
{
|
|
1818
1815
|
"kind": "field",
|
|
1819
|
-
"name": "
|
|
1816
|
+
"name": "invalid",
|
|
1820
1817
|
"type": {
|
|
1821
|
-
"text": "
|
|
1818
|
+
"text": "boolean"
|
|
1822
1819
|
},
|
|
1823
|
-
"default": "
|
|
1824
|
-
"description": "
|
|
1825
|
-
"attribute": "
|
|
1820
|
+
"default": "false",
|
|
1821
|
+
"description": "If true, displays error styling on the checkbox.",
|
|
1822
|
+
"attribute": "invalid",
|
|
1826
1823
|
"reflects": true
|
|
1827
1824
|
},
|
|
1828
1825
|
{
|
|
1829
1826
|
"kind": "field",
|
|
1830
|
-
"name": "
|
|
1827
|
+
"name": "error",
|
|
1831
1828
|
"type": {
|
|
1832
|
-
"text": "string"
|
|
1829
|
+
"text": "string | undefined"
|
|
1833
1830
|
},
|
|
1834
|
-
"
|
|
1835
|
-
"
|
|
1836
|
-
|
|
1831
|
+
"description": "Error message text displayed below the checkbox when validation fails.\nSetting this also activates error styling without needing to set invalid.",
|
|
1832
|
+
"attribute": "error"
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"kind": "field",
|
|
1836
|
+
"name": "required",
|
|
1837
|
+
"type": {
|
|
1838
|
+
"text": "boolean"
|
|
1839
|
+
},
|
|
1840
|
+
"default": "false",
|
|
1841
|
+
"description": "Marks the field as mandatory for form submission.",
|
|
1842
|
+
"attribute": "required",
|
|
1837
1843
|
"reflects": true
|
|
1838
1844
|
},
|
|
1839
1845
|
{
|
|
1840
1846
|
"kind": "field",
|
|
1841
1847
|
"name": "name",
|
|
1842
1848
|
"type": {
|
|
1843
|
-
"text": "string"
|
|
1849
|
+
"text": "string | undefined"
|
|
1844
1850
|
},
|
|
1845
|
-
"
|
|
1846
|
-
"description": "When set, creates hidden input(s) for native form participation.",
|
|
1851
|
+
"description": "Name of the form control submitted with the form data.",
|
|
1847
1852
|
"attribute": "name"
|
|
1848
1853
|
},
|
|
1854
|
+
{
|
|
1855
|
+
"kind": "field",
|
|
1856
|
+
"name": "value",
|
|
1857
|
+
"type": {
|
|
1858
|
+
"text": "string"
|
|
1859
|
+
},
|
|
1860
|
+
"default": "'on'",
|
|
1861
|
+
"description": "Value associated with the checkbox when submitted.",
|
|
1862
|
+
"attribute": "value"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"kind": "field",
|
|
1866
|
+
"name": "_userInitiated",
|
|
1867
|
+
"type": {
|
|
1868
|
+
"text": "boolean"
|
|
1869
|
+
},
|
|
1870
|
+
"privacy": "private",
|
|
1871
|
+
"default": "false"
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"kind": "field",
|
|
1875
|
+
"name": "_initialClasses",
|
|
1876
|
+
"type": {
|
|
1877
|
+
"text": "string[]"
|
|
1878
|
+
},
|
|
1879
|
+
"privacy": "private",
|
|
1880
|
+
"default": "[]"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"kind": "field",
|
|
1884
|
+
"name": "_initialClassesCaptured",
|
|
1885
|
+
"type": {
|
|
1886
|
+
"text": "boolean"
|
|
1887
|
+
},
|
|
1888
|
+
"privacy": "private",
|
|
1889
|
+
"default": "false"
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
"kind": "field",
|
|
1893
|
+
"name": "_descId",
|
|
1894
|
+
"privacy": "private",
|
|
1895
|
+
"default": "`checkbox-desc-${crypto.randomUUID()}`"
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "field",
|
|
1899
|
+
"name": "_errorId",
|
|
1900
|
+
"privacy": "private",
|
|
1901
|
+
"default": "`checkbox-error-${crypto.randomUUID()}`"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"kind": "method",
|
|
1905
|
+
"name": "_onInputChange",
|
|
1906
|
+
"privacy": "private",
|
|
1907
|
+
"return": {
|
|
1908
|
+
"type": {
|
|
1909
|
+
"text": "void"
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1912
|
+
"parameters": [
|
|
1913
|
+
{
|
|
1914
|
+
"name": "e",
|
|
1915
|
+
"type": {
|
|
1916
|
+
"text": "Event"
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
]
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"kind": "field",
|
|
1923
|
+
"name": "_handleClick",
|
|
1924
|
+
"privacy": "private"
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"kind": "field",
|
|
1928
|
+
"name": "_describedBy",
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "string | undefined"
|
|
1931
|
+
},
|
|
1932
|
+
"privacy": "private",
|
|
1933
|
+
"readonly": true
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
"kind": "field",
|
|
1937
|
+
"name": "_iconSymbol",
|
|
1938
|
+
"type": {
|
|
1939
|
+
"text": "'minus' | 'check'"
|
|
1940
|
+
},
|
|
1941
|
+
"privacy": "private",
|
|
1942
|
+
"readonly": true
|
|
1943
|
+
},
|
|
1849
1944
|
{
|
|
1850
1945
|
"kind": "method",
|
|
1851
1946
|
"name": "emit",
|
|
@@ -1883,137 +1978,126 @@
|
|
|
1883
1978
|
"type": {
|
|
1884
1979
|
"text": "CustomEvent"
|
|
1885
1980
|
},
|
|
1886
|
-
"description": "Fired after first
|
|
1887
|
-
"name": "btu-
|
|
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"
|
|
1981
|
+
"description": "Fired after the checkbox is first rendered and initialized",
|
|
1982
|
+
"name": "btu-checkbox-ready"
|
|
1895
1983
|
},
|
|
1896
1984
|
{
|
|
1897
1985
|
"type": {
|
|
1898
|
-
"text": "CustomEvent<{
|
|
1986
|
+
"text": "CustomEvent<{ checked: boolean }>"
|
|
1899
1987
|
},
|
|
1900
|
-
"description": "
|
|
1901
|
-
"name": "btu-
|
|
1988
|
+
"description": "Fired when the user toggles the checked state",
|
|
1989
|
+
"name": "btu-checkbox-change"
|
|
1902
1990
|
}
|
|
1903
1991
|
],
|
|
1904
1992
|
"attributes": [
|
|
1905
1993
|
{
|
|
1906
1994
|
"name": "label",
|
|
1907
1995
|
"type": {
|
|
1908
|
-
"text": "string"
|
|
1996
|
+
"text": "string | undefined"
|
|
1909
1997
|
},
|
|
1910
|
-
"
|
|
1911
|
-
"description": "Accessible name for the group, announced by assistive devices via aria-label.",
|
|
1998
|
+
"description": "The text label displayed next to the checkbox.",
|
|
1912
1999
|
"fieldName": "label",
|
|
1913
2000
|
"attribute": "label"
|
|
1914
2001
|
},
|
|
1915
2002
|
{
|
|
1916
|
-
"name": "
|
|
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",
|
|
2003
|
+
"name": "description",
|
|
1927
2004
|
"type": {
|
|
1928
|
-
"text": "
|
|
2005
|
+
"text": "string | undefined"
|
|
1929
2006
|
},
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
1932
|
-
"
|
|
1933
|
-
"attribute": "variant"
|
|
2007
|
+
"description": "Optional helper text displayed below the label.",
|
|
2008
|
+
"fieldName": "description",
|
|
2009
|
+
"attribute": "description"
|
|
1934
2010
|
},
|
|
1935
2011
|
{
|
|
1936
2012
|
"name": "size",
|
|
1937
2013
|
"type": {
|
|
1938
|
-
"text": "'sm' | 'md'
|
|
2014
|
+
"text": "'sm' | 'md'"
|
|
1939
2015
|
},
|
|
1940
|
-
"default": "'
|
|
1941
|
-
"description": "
|
|
2016
|
+
"default": "'sm'",
|
|
2017
|
+
"description": "Controls the scale of the checkbox and associated typography.",
|
|
1942
2018
|
"fieldName": "size",
|
|
1943
2019
|
"attribute": "size"
|
|
1944
2020
|
},
|
|
1945
2021
|
{
|
|
1946
|
-
"name": "
|
|
2022
|
+
"name": "checked",
|
|
1947
2023
|
"type": {
|
|
1948
2024
|
"text": "boolean"
|
|
1949
2025
|
},
|
|
1950
2026
|
"default": "false",
|
|
1951
|
-
"description": "
|
|
1952
|
-
"fieldName": "
|
|
1953
|
-
"attribute": "
|
|
2027
|
+
"description": "Whether the checkbox is currently selected.",
|
|
2028
|
+
"fieldName": "checked",
|
|
2029
|
+
"attribute": "checked"
|
|
1954
2030
|
},
|
|
1955
2031
|
{
|
|
1956
|
-
"name": "
|
|
2032
|
+
"name": "indeterminate",
|
|
1957
2033
|
"type": {
|
|
1958
|
-
"text": "
|
|
2034
|
+
"text": "boolean"
|
|
1959
2035
|
},
|
|
1960
|
-
"default": "
|
|
1961
|
-
"description": "
|
|
1962
|
-
"fieldName": "
|
|
1963
|
-
"attribute": "
|
|
2036
|
+
"default": "false",
|
|
2037
|
+
"description": "Whether the checkbox is in a partially selected state. Sets `aria-checked='mixed'`\nand activates the native `:indeterminate` pseudo-class. Cleared automatically when\nthe user clicks the checkbox.",
|
|
2038
|
+
"fieldName": "indeterminate",
|
|
2039
|
+
"attribute": "indeterminate"
|
|
1964
2040
|
},
|
|
1965
2041
|
{
|
|
1966
|
-
"name": "
|
|
2042
|
+
"name": "disabled",
|
|
1967
2043
|
"type": {
|
|
1968
|
-
"text": "
|
|
2044
|
+
"text": "boolean"
|
|
1969
2045
|
},
|
|
1970
|
-
"default": "
|
|
1971
|
-
"description": "
|
|
1972
|
-
"fieldName": "
|
|
1973
|
-
"attribute": "
|
|
2046
|
+
"default": "false",
|
|
2047
|
+
"description": "If true, the checkbox is non-interactive and visually muted.",
|
|
2048
|
+
"fieldName": "disabled",
|
|
2049
|
+
"attribute": "disabled"
|
|
1974
2050
|
},
|
|
1975
2051
|
{
|
|
1976
|
-
"name": "
|
|
2052
|
+
"name": "invalid",
|
|
1977
2053
|
"type": {
|
|
1978
|
-
"text": "
|
|
2054
|
+
"text": "boolean"
|
|
1979
2055
|
},
|
|
1980
|
-
"default": "
|
|
1981
|
-
"description": "
|
|
1982
|
-
"fieldName": "
|
|
1983
|
-
"attribute": "
|
|
1984
|
-
}
|
|
1985
|
-
],
|
|
1986
|
-
"cssStates": [
|
|
1987
|
-
{
|
|
1988
|
-
"description": "Applied when variant=\"connected\", targetable via :state(btu-connected)",
|
|
1989
|
-
"name": "btu-connected"
|
|
2056
|
+
"default": "false",
|
|
2057
|
+
"description": "If true, displays error styling on the checkbox.",
|
|
2058
|
+
"fieldName": "invalid",
|
|
2059
|
+
"attribute": "invalid"
|
|
1990
2060
|
},
|
|
1991
2061
|
{
|
|
1992
|
-
"
|
|
1993
|
-
"
|
|
2062
|
+
"name": "error",
|
|
2063
|
+
"type": {
|
|
2064
|
+
"text": "string | undefined"
|
|
2065
|
+
},
|
|
2066
|
+
"description": "Error message text displayed below the checkbox when validation fails.\nSetting this also activates error styling without needing to set invalid.",
|
|
2067
|
+
"fieldName": "error",
|
|
2068
|
+
"attribute": "error"
|
|
1994
2069
|
},
|
|
1995
2070
|
{
|
|
1996
|
-
"
|
|
1997
|
-
"
|
|
2071
|
+
"name": "required",
|
|
2072
|
+
"type": {
|
|
2073
|
+
"text": "boolean"
|
|
2074
|
+
},
|
|
2075
|
+
"default": "false",
|
|
2076
|
+
"description": "Marks the field as mandatory for form submission.",
|
|
2077
|
+
"fieldName": "required",
|
|
2078
|
+
"attribute": "required"
|
|
1998
2079
|
},
|
|
1999
2080
|
{
|
|
2000
|
-
"
|
|
2001
|
-
"
|
|
2081
|
+
"name": "name",
|
|
2082
|
+
"type": {
|
|
2083
|
+
"text": "string | undefined"
|
|
2084
|
+
},
|
|
2085
|
+
"description": "Name of the form control submitted with the form data.",
|
|
2086
|
+
"fieldName": "name",
|
|
2087
|
+
"attribute": "name"
|
|
2002
2088
|
},
|
|
2003
2089
|
{
|
|
2004
|
-
"
|
|
2005
|
-
"
|
|
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"
|
|
2006
2098
|
}
|
|
2007
2099
|
],
|
|
2008
2100
|
"mixins": [
|
|
2009
|
-
{
|
|
2010
|
-
"name": "RovingTabindexMixin",
|
|
2011
|
-
"module": "/src/util/RovingTabindexMixin.js"
|
|
2012
|
-
},
|
|
2013
|
-
{
|
|
2014
|
-
"name": "ComponentStatesMixin",
|
|
2015
|
-
"module": "/src/util/ComponentStatesMixin.js"
|
|
2016
|
-
},
|
|
2017
2101
|
{
|
|
2018
2102
|
"name": "EventEmitterMixin",
|
|
2019
2103
|
"module": "/src/util/EventEmitterMixin.js"
|
|
@@ -2027,7 +2111,7 @@
|
|
|
2027
2111
|
"name": "LitElement",
|
|
2028
2112
|
"package": "lit"
|
|
2029
2113
|
},
|
|
2030
|
-
"tagName": "btu-
|
|
2114
|
+
"tagName": "btu-checkbox",
|
|
2031
2115
|
"customElement": true
|
|
2032
2116
|
}
|
|
2033
2117
|
],
|
|
@@ -2036,250 +2120,245 @@
|
|
|
2036
2120
|
"kind": "js",
|
|
2037
2121
|
"name": "default",
|
|
2038
2122
|
"declaration": {
|
|
2039
|
-
"name": "
|
|
2040
|
-
"module": "src/components/
|
|
2123
|
+
"name": "Checkbox",
|
|
2124
|
+
"module": "src/components/checkbox/Checkbox.ts"
|
|
2041
2125
|
}
|
|
2042
2126
|
},
|
|
2043
2127
|
{
|
|
2044
2128
|
"kind": "custom-element-definition",
|
|
2045
|
-
"name": "btu-
|
|
2129
|
+
"name": "btu-checkbox",
|
|
2046
2130
|
"declaration": {
|
|
2047
|
-
"name": "
|
|
2048
|
-
"module": "src/components/
|
|
2131
|
+
"name": "Checkbox",
|
|
2132
|
+
"module": "src/components/checkbox/Checkbox.ts"
|
|
2049
2133
|
}
|
|
2050
2134
|
}
|
|
2051
2135
|
]
|
|
2052
2136
|
},
|
|
2053
2137
|
{
|
|
2054
2138
|
"kind": "javascript-module",
|
|
2055
|
-
"path": "src/components/
|
|
2139
|
+
"path": "src/components/circular-progress/CircularProgress.ts",
|
|
2056
2140
|
"declarations": [
|
|
2057
2141
|
{
|
|
2058
2142
|
"kind": "class",
|
|
2059
|
-
"description": "A
|
|
2060
|
-
"name": "
|
|
2143
|
+
"description": "A circular progress indicator for showing loading states or progress.",
|
|
2144
|
+
"name": "CircularProgress",
|
|
2061
2145
|
"cssProperties": [
|
|
2062
2146
|
{
|
|
2063
|
-
"description": "
|
|
2064
|
-
"name": "--
|
|
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"
|
|
2147
|
+
"description": "Custom progress indicator color (overrides theme color)",
|
|
2148
|
+
"name": "--progress-color"
|
|
2081
2149
|
},
|
|
2082
2150
|
{
|
|
2083
|
-
"description": "
|
|
2084
|
-
"name": "--
|
|
2151
|
+
"description": "Track/background color (overrides default gray-100)",
|
|
2152
|
+
"name": "--track-color"
|
|
2085
2153
|
},
|
|
2086
2154
|
{
|
|
2087
|
-
"description": "
|
|
2088
|
-
"name": "--
|
|
2155
|
+
"description": "Custom size in pixels (overrides size preset)",
|
|
2156
|
+
"name": "--progress-size"
|
|
2089
2157
|
}
|
|
2090
2158
|
],
|
|
2091
2159
|
"members": [
|
|
2092
2160
|
{
|
|
2093
2161
|
"kind": "field",
|
|
2094
|
-
"name": "
|
|
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",
|
|
2162
|
+
"name": "indeterminate",
|
|
2104
2163
|
"type": {
|
|
2105
|
-
"text": "
|
|
2164
|
+
"text": "boolean"
|
|
2106
2165
|
},
|
|
2107
|
-
"
|
|
2108
|
-
"
|
|
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"
|
|
2109
2169
|
},
|
|
2110
2170
|
{
|
|
2111
2171
|
"kind": "field",
|
|
2112
2172
|
"name": "size",
|
|
2113
2173
|
"type": {
|
|
2114
|
-
"text": "'sm' | 'md'"
|
|
2174
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2115
2175
|
},
|
|
2116
2176
|
"default": "'sm'",
|
|
2117
|
-
"description": "
|
|
2118
|
-
"attribute": "size"
|
|
2119
|
-
"reflects": true
|
|
2177
|
+
"description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
|
|
2178
|
+
"attribute": "size"
|
|
2120
2179
|
},
|
|
2121
2180
|
{
|
|
2122
2181
|
"kind": "field",
|
|
2123
|
-
"name": "
|
|
2182
|
+
"name": "color",
|
|
2124
2183
|
"type": {
|
|
2125
|
-
"text": "
|
|
2184
|
+
"text": "ProgressColors"
|
|
2126
2185
|
},
|
|
2127
|
-
"default": "
|
|
2128
|
-
"description": "
|
|
2129
|
-
"attribute": "
|
|
2130
|
-
"
|
|
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
|
+
}
|
|
2131
2193
|
},
|
|
2132
2194
|
{
|
|
2133
2195
|
"kind": "field",
|
|
2134
|
-
"name": "
|
|
2196
|
+
"name": "thickness",
|
|
2135
2197
|
"type": {
|
|
2136
|
-
"text": "
|
|
2198
|
+
"text": "number | undefined"
|
|
2137
2199
|
},
|
|
2138
|
-
"
|
|
2139
|
-
"
|
|
2140
|
-
"
|
|
2141
|
-
|
|
2200
|
+
"description": "Stroke width of the progress indicator.",
|
|
2201
|
+
"attribute": "thickness",
|
|
2202
|
+
"inheritedFrom": {
|
|
2203
|
+
"name": "ProgressMixin",
|
|
2204
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2205
|
+
}
|
|
2142
2206
|
},
|
|
2143
2207
|
{
|
|
2144
2208
|
"kind": "field",
|
|
2145
|
-
"name": "
|
|
2209
|
+
"name": "_progress",
|
|
2146
2210
|
"type": {
|
|
2147
|
-
"text": "
|
|
2211
|
+
"text": "number"
|
|
2148
2212
|
},
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2151
|
-
"
|
|
2152
|
-
|
|
2213
|
+
"privacy": "private",
|
|
2214
|
+
"default": "0",
|
|
2215
|
+
"inheritedFrom": {
|
|
2216
|
+
"name": "ProgressMixin",
|
|
2217
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2218
|
+
}
|
|
2153
2219
|
},
|
|
2154
2220
|
{
|
|
2155
2221
|
"kind": "field",
|
|
2156
|
-
"name": "
|
|
2157
|
-
"
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
"reflects": true
|
|
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
|
+
}
|
|
2164
2229
|
},
|
|
2165
2230
|
{
|
|
2166
2231
|
"kind": "field",
|
|
2167
|
-
"name": "
|
|
2232
|
+
"name": "label",
|
|
2168
2233
|
"type": {
|
|
2169
2234
|
"text": "string | undefined"
|
|
2170
2235
|
},
|
|
2171
|
-
"description": "
|
|
2172
|
-
"attribute": "
|
|
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
|
+
}
|
|
2173
2242
|
},
|
|
2174
2243
|
{
|
|
2175
2244
|
"kind": "field",
|
|
2176
|
-
"name": "
|
|
2245
|
+
"name": "initialAnimation",
|
|
2177
2246
|
"type": {
|
|
2178
2247
|
"text": "boolean"
|
|
2179
2248
|
},
|
|
2180
|
-
"default": "
|
|
2181
|
-
"description": "
|
|
2182
|
-
"attribute": "
|
|
2183
|
-
"
|
|
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
|
+
}
|
|
2184
2256
|
},
|
|
2185
2257
|
{
|
|
2186
2258
|
"kind": "field",
|
|
2187
|
-
"name": "
|
|
2259
|
+
"name": "ariaLabel",
|
|
2188
2260
|
"type": {
|
|
2189
|
-
"text": "string |
|
|
2261
|
+
"text": "string | null"
|
|
2190
2262
|
},
|
|
2191
|
-
"
|
|
2192
|
-
"
|
|
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
|
+
}
|
|
2193
2270
|
},
|
|
2194
2271
|
{
|
|
2195
2272
|
"kind": "field",
|
|
2196
|
-
"name": "
|
|
2273
|
+
"name": "ariaLabelledBy",
|
|
2197
2274
|
"type": {
|
|
2198
|
-
"text": "string"
|
|
2275
|
+
"text": "string | null"
|
|
2199
2276
|
},
|
|
2200
|
-
"default": "
|
|
2201
|
-
"description": "
|
|
2202
|
-
"attribute": "
|
|
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
|
+
}
|
|
2203
2284
|
},
|
|
2204
2285
|
{
|
|
2205
2286
|
"kind": "field",
|
|
2206
|
-
"name": "
|
|
2287
|
+
"name": "ariaValueText",
|
|
2207
2288
|
"type": {
|
|
2208
|
-
"text": "
|
|
2289
|
+
"text": "string | null"
|
|
2209
2290
|
},
|
|
2210
|
-
"
|
|
2211
|
-
"
|
|
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
|
+
}
|
|
2212
2298
|
},
|
|
2213
2299
|
{
|
|
2214
2300
|
"kind": "field",
|
|
2215
|
-
"name": "
|
|
2301
|
+
"name": "completionAnnouncement",
|
|
2216
2302
|
"type": {
|
|
2217
|
-
"text": "string
|
|
2303
|
+
"text": "string | undefined"
|
|
2218
2304
|
},
|
|
2219
|
-
"
|
|
2220
|
-
"
|
|
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
|
+
}
|
|
2221
2311
|
},
|
|
2222
2312
|
{
|
|
2223
2313
|
"kind": "field",
|
|
2224
|
-
"name": "
|
|
2314
|
+
"name": "_isAnimationInitialized",
|
|
2225
2315
|
"type": {
|
|
2226
2316
|
"text": "boolean"
|
|
2227
2317
|
},
|
|
2228
2318
|
"privacy": "private",
|
|
2229
|
-
"default": "false"
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
"privacy": "private",
|
|
2235
|
-
"default": "`checkbox-desc-${crypto.randomUUID()}`"
|
|
2319
|
+
"default": "false",
|
|
2320
|
+
"inheritedFrom": {
|
|
2321
|
+
"name": "ProgressMixin",
|
|
2322
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2323
|
+
}
|
|
2236
2324
|
},
|
|
2237
2325
|
{
|
|
2238
2326
|
"kind": "field",
|
|
2239
|
-
"name": "
|
|
2240
|
-
"
|
|
2241
|
-
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"kind": "method",
|
|
2245
|
-
"name": "_onInputChange",
|
|
2246
|
-
"privacy": "private",
|
|
2247
|
-
"return": {
|
|
2248
|
-
"type": {
|
|
2249
|
-
"text": "void"
|
|
2250
|
-
}
|
|
2327
|
+
"name": "_intersectionObserver",
|
|
2328
|
+
"type": {
|
|
2329
|
+
"text": "IntersectionObserver | undefined"
|
|
2251
2330
|
},
|
|
2252
|
-
"
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
}
|
|
2258
|
-
}
|
|
2259
|
-
]
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"kind": "field",
|
|
2263
|
-
"name": "_handleClick",
|
|
2264
|
-
"privacy": "private"
|
|
2331
|
+
"privacy": "private",
|
|
2332
|
+
"inheritedFrom": {
|
|
2333
|
+
"name": "ProgressMixin",
|
|
2334
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2335
|
+
}
|
|
2265
2336
|
},
|
|
2266
2337
|
{
|
|
2267
2338
|
"kind": "field",
|
|
2268
|
-
"name": "
|
|
2339
|
+
"name": "_hasCompletedAt100",
|
|
2269
2340
|
"type": {
|
|
2270
|
-
"text": "
|
|
2341
|
+
"text": "boolean"
|
|
2271
2342
|
},
|
|
2272
2343
|
"privacy": "private",
|
|
2273
|
-
"
|
|
2344
|
+
"default": "false",
|
|
2345
|
+
"inheritedFrom": {
|
|
2346
|
+
"name": "ProgressMixin",
|
|
2347
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2348
|
+
}
|
|
2274
2349
|
},
|
|
2275
2350
|
{
|
|
2276
2351
|
"kind": "field",
|
|
2277
|
-
"name": "
|
|
2352
|
+
"name": "_hostTag",
|
|
2278
2353
|
"type": {
|
|
2279
|
-
"text": "'
|
|
2354
|
+
"text": "'btu-linear-progress' | 'btu-circular-progress'"
|
|
2280
2355
|
},
|
|
2281
2356
|
"privacy": "private",
|
|
2282
|
-
"readonly": true
|
|
2357
|
+
"readonly": true,
|
|
2358
|
+
"inheritedFrom": {
|
|
2359
|
+
"name": "ProgressMixin",
|
|
2360
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2361
|
+
}
|
|
2283
2362
|
},
|
|
2284
2363
|
{
|
|
2285
2364
|
"kind": "method",
|
|
@@ -2318,126 +2397,163 @@
|
|
|
2318
2397
|
"type": {
|
|
2319
2398
|
"text": "CustomEvent"
|
|
2320
2399
|
},
|
|
2321
|
-
"description": "Fired after
|
|
2322
|
-
"name": "btu-
|
|
2400
|
+
"description": "Fired after first render and initialization",
|
|
2401
|
+
"name": "btu-circular-progress-ready"
|
|
2323
2402
|
},
|
|
2324
2403
|
{
|
|
2325
2404
|
"type": {
|
|
2326
|
-
"text": "CustomEvent
|
|
2405
|
+
"text": "CustomEvent"
|
|
2327
2406
|
},
|
|
2328
|
-
"description": "Fired when
|
|
2329
|
-
"name": "btu-
|
|
2407
|
+
"description": "Fired when determinate progress reaches 100",
|
|
2408
|
+
"name": "btu-circular-progress-complete"
|
|
2330
2409
|
}
|
|
2331
2410
|
],
|
|
2332
2411
|
"attributes": [
|
|
2333
2412
|
{
|
|
2334
|
-
"name": "
|
|
2335
|
-
"type": {
|
|
2336
|
-
"text": "string | undefined"
|
|
2337
|
-
},
|
|
2338
|
-
"description": "The text label displayed next to the checkbox.",
|
|
2339
|
-
"fieldName": "label",
|
|
2340
|
-
"attribute": "label"
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"name": "description",
|
|
2413
|
+
"name": "indeterminate",
|
|
2344
2414
|
"type": {
|
|
2345
|
-
"text": "
|
|
2415
|
+
"text": "boolean"
|
|
2346
2416
|
},
|
|
2347
|
-
"
|
|
2348
|
-
"
|
|
2349
|
-
"
|
|
2417
|
+
"default": "true",
|
|
2418
|
+
"description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
|
|
2419
|
+
"fieldName": "indeterminate",
|
|
2420
|
+
"attribute": "indeterminate"
|
|
2350
2421
|
},
|
|
2351
2422
|
{
|
|
2352
2423
|
"name": "size",
|
|
2353
2424
|
"type": {
|
|
2354
|
-
"text": "'sm' | 'md'"
|
|
2425
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2355
2426
|
},
|
|
2356
2427
|
"default": "'sm'",
|
|
2357
|
-
"description": "
|
|
2428
|
+
"description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
|
|
2358
2429
|
"fieldName": "size",
|
|
2359
2430
|
"attribute": "size"
|
|
2360
2431
|
},
|
|
2361
2432
|
{
|
|
2362
|
-
"name": "
|
|
2433
|
+
"name": "color",
|
|
2363
2434
|
"type": {
|
|
2364
|
-
"text": "
|
|
2435
|
+
"text": "ProgressColors"
|
|
2365
2436
|
},
|
|
2366
|
-
"default": "
|
|
2367
|
-
"description": "
|
|
2368
|
-
"fieldName": "
|
|
2369
|
-
"attribute": "
|
|
2437
|
+
"default": "'primary'",
|
|
2438
|
+
"description": "Color theme of the progress indicator.\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success",
|
|
2439
|
+
"fieldName": "color",
|
|
2440
|
+
"attribute": "color",
|
|
2441
|
+
"inheritedFrom": {
|
|
2442
|
+
"name": "ProgressMixin",
|
|
2443
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2444
|
+
}
|
|
2370
2445
|
},
|
|
2371
2446
|
{
|
|
2372
|
-
"name": "
|
|
2447
|
+
"name": "thickness",
|
|
2373
2448
|
"type": {
|
|
2374
|
-
"text": "
|
|
2449
|
+
"text": "number | undefined"
|
|
2375
2450
|
},
|
|
2376
|
-
"
|
|
2377
|
-
"
|
|
2378
|
-
"
|
|
2379
|
-
"
|
|
2451
|
+
"description": "Stroke width of the progress indicator.",
|
|
2452
|
+
"fieldName": "thickness",
|
|
2453
|
+
"attribute": "thickness",
|
|
2454
|
+
"inheritedFrom": {
|
|
2455
|
+
"name": "ProgressMixin",
|
|
2456
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2457
|
+
}
|
|
2380
2458
|
},
|
|
2381
2459
|
{
|
|
2382
|
-
"name": "
|
|
2460
|
+
"name": "progress",
|
|
2461
|
+
"description": "Progress value for determinate variant. Clamped to 0–100.",
|
|
2462
|
+
"fieldName": "progress",
|
|
2463
|
+
"attribute": "progress",
|
|
2464
|
+
"inheritedFrom": {
|
|
2465
|
+
"name": "ProgressMixin",
|
|
2466
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"name": "label",
|
|
2383
2471
|
"type": {
|
|
2384
|
-
"text": "
|
|
2472
|
+
"text": "string | undefined"
|
|
2385
2473
|
},
|
|
2386
|
-
"
|
|
2387
|
-
"
|
|
2388
|
-
"
|
|
2389
|
-
"
|
|
2474
|
+
"description": "Optional label text to display with the progress indicator.",
|
|
2475
|
+
"fieldName": "label",
|
|
2476
|
+
"attribute": "label",
|
|
2477
|
+
"inheritedFrom": {
|
|
2478
|
+
"name": "ProgressMixin",
|
|
2479
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2480
|
+
}
|
|
2390
2481
|
},
|
|
2391
2482
|
{
|
|
2392
|
-
"name": "
|
|
2483
|
+
"name": "initial-animation",
|
|
2393
2484
|
"type": {
|
|
2394
2485
|
"text": "boolean"
|
|
2395
2486
|
},
|
|
2396
|
-
"default": "
|
|
2397
|
-
"description": "
|
|
2398
|
-
"fieldName": "
|
|
2399
|
-
"attribute": "
|
|
2487
|
+
"default": "true",
|
|
2488
|
+
"description": "Whether to animate progress from 0 to target value when component first becomes visible.",
|
|
2489
|
+
"fieldName": "initialAnimation",
|
|
2490
|
+
"attribute": "initial-animation",
|
|
2491
|
+
"inheritedFrom": {
|
|
2492
|
+
"name": "ProgressMixin",
|
|
2493
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2494
|
+
}
|
|
2400
2495
|
},
|
|
2401
2496
|
{
|
|
2402
|
-
"name": "
|
|
2497
|
+
"name": "aria-label",
|
|
2403
2498
|
"type": {
|
|
2404
|
-
"text": "string |
|
|
2499
|
+
"text": "string | null"
|
|
2405
2500
|
},
|
|
2406
|
-
"
|
|
2407
|
-
"
|
|
2408
|
-
"
|
|
2501
|
+
"default": "null",
|
|
2502
|
+
"description": "Optional aria-label attribute for screen readers.\nDescribes what the progress indicator represents.",
|
|
2503
|
+
"fieldName": "ariaLabel",
|
|
2504
|
+
"attribute": "aria-label",
|
|
2505
|
+
"inheritedFrom": {
|
|
2506
|
+
"name": "ProgressMixin",
|
|
2507
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2508
|
+
}
|
|
2409
2509
|
},
|
|
2410
2510
|
{
|
|
2411
|
-
"name": "
|
|
2511
|
+
"name": "aria-labelledby",
|
|
2412
2512
|
"type": {
|
|
2413
|
-
"text": "
|
|
2513
|
+
"text": "string | null"
|
|
2414
2514
|
},
|
|
2415
|
-
"default": "
|
|
2416
|
-
"description": "
|
|
2417
|
-
"fieldName": "
|
|
2418
|
-
"attribute": "
|
|
2515
|
+
"default": "null",
|
|
2516
|
+
"description": "Optional aria-labelledby attribute for screen readers.\nReferences the ID of an element that labels the progress indicator.",
|
|
2517
|
+
"fieldName": "ariaLabelledBy",
|
|
2518
|
+
"attribute": "aria-labelledby",
|
|
2519
|
+
"inheritedFrom": {
|
|
2520
|
+
"name": "ProgressMixin",
|
|
2521
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2522
|
+
}
|
|
2419
2523
|
},
|
|
2420
2524
|
{
|
|
2421
|
-
"name": "
|
|
2525
|
+
"name": "aria-valuetext",
|
|
2422
2526
|
"type": {
|
|
2423
|
-
"text": "string |
|
|
2527
|
+
"text": "string | null"
|
|
2424
2528
|
},
|
|
2425
|
-
"
|
|
2426
|
-
"
|
|
2427
|
-
"
|
|
2529
|
+
"default": "null",
|
|
2530
|
+
"description": "Optional aria-valuetext attribute for screen readers.\nProvides human-readable text alternative for progress value.",
|
|
2531
|
+
"fieldName": "ariaValueText",
|
|
2532
|
+
"attribute": "aria-valuetext",
|
|
2533
|
+
"inheritedFrom": {
|
|
2534
|
+
"name": "ProgressMixin",
|
|
2535
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2536
|
+
}
|
|
2428
2537
|
},
|
|
2429
2538
|
{
|
|
2430
|
-
"name": "
|
|
2539
|
+
"name": "completion-announcement",
|
|
2431
2540
|
"type": {
|
|
2432
|
-
"text": "string"
|
|
2541
|
+
"text": "string | undefined"
|
|
2433
2542
|
},
|
|
2434
|
-
"
|
|
2435
|
-
"
|
|
2436
|
-
"
|
|
2437
|
-
"
|
|
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",
|
|
2545
|
+
"attribute": "completion-announcement",
|
|
2546
|
+
"inheritedFrom": {
|
|
2547
|
+
"name": "ProgressMixin",
|
|
2548
|
+
"module": "src/util/ProgressMixin.ts"
|
|
2549
|
+
}
|
|
2438
2550
|
}
|
|
2439
2551
|
],
|
|
2440
2552
|
"mixins": [
|
|
2553
|
+
{
|
|
2554
|
+
"name": "ProgressMixin",
|
|
2555
|
+
"module": "/src/util/ProgressMixin.js"
|
|
2556
|
+
},
|
|
2441
2557
|
{
|
|
2442
2558
|
"name": "EventEmitterMixin",
|
|
2443
2559
|
"module": "/src/util/EventEmitterMixin.js"
|
|
@@ -2451,7 +2567,7 @@
|
|
|
2451
2567
|
"name": "LitElement",
|
|
2452
2568
|
"package": "lit"
|
|
2453
2569
|
},
|
|
2454
|
-
"tagName": "btu-
|
|
2570
|
+
"tagName": "btu-circular-progress",
|
|
2455
2571
|
"customElement": true
|
|
2456
2572
|
}
|
|
2457
2573
|
],
|
|
@@ -2460,244 +2576,86 @@
|
|
|
2460
2576
|
"kind": "js",
|
|
2461
2577
|
"name": "default",
|
|
2462
2578
|
"declaration": {
|
|
2463
|
-
"name": "
|
|
2464
|
-
"module": "src/components/
|
|
2579
|
+
"name": "CircularProgress",
|
|
2580
|
+
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
2465
2581
|
}
|
|
2466
2582
|
},
|
|
2467
2583
|
{
|
|
2468
2584
|
"kind": "custom-element-definition",
|
|
2469
|
-
"name": "btu-
|
|
2585
|
+
"name": "btu-circular-progress",
|
|
2470
2586
|
"declaration": {
|
|
2471
|
-
"name": "
|
|
2472
|
-
"module": "src/components/
|
|
2587
|
+
"name": "CircularProgress",
|
|
2588
|
+
"module": "src/components/circular-progress/CircularProgress.ts"
|
|
2473
2589
|
}
|
|
2474
2590
|
}
|
|
2475
2591
|
]
|
|
2476
2592
|
},
|
|
2477
2593
|
{
|
|
2478
2594
|
"kind": "javascript-module",
|
|
2479
|
-
"path": "src/components/
|
|
2595
|
+
"path": "src/components/copy-to-clipboard/CopyToClipboard.ts",
|
|
2480
2596
|
"declarations": [
|
|
2481
2597
|
{
|
|
2482
2598
|
"kind": "class",
|
|
2483
|
-
"description": "A
|
|
2484
|
-
"name": "
|
|
2485
|
-
"cssProperties": [
|
|
2486
|
-
{
|
|
2487
|
-
"description": "Custom progress indicator color (overrides theme color)",
|
|
2488
|
-
"name": "--progress-color"
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
"description": "Track/background color (overrides default gray-100)",
|
|
2492
|
-
"name": "--track-color"
|
|
2493
|
-
},
|
|
2494
|
-
{
|
|
2495
|
-
"description": "Custom size in pixels (overrides size preset)",
|
|
2496
|
-
"name": "--progress-size"
|
|
2497
|
-
}
|
|
2498
|
-
],
|
|
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",
|
|
2499
2601
|
"members": [
|
|
2500
2602
|
{
|
|
2501
2603
|
"kind": "field",
|
|
2502
|
-
"name": "
|
|
2503
|
-
"type": {
|
|
2504
|
-
"text": "boolean"
|
|
2505
|
-
},
|
|
2506
|
-
"default": "true",
|
|
2507
|
-
"description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
|
|
2508
|
-
"attribute": "indeterminate"
|
|
2509
|
-
},
|
|
2510
|
-
{
|
|
2511
|
-
"kind": "field",
|
|
2512
|
-
"name": "size",
|
|
2513
|
-
"type": {
|
|
2514
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
2515
|
-
},
|
|
2516
|
-
"default": "'sm'",
|
|
2517
|
-
"description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
|
|
2518
|
-
"attribute": "size"
|
|
2519
|
-
},
|
|
2520
|
-
{
|
|
2521
|
-
"kind": "field",
|
|
2522
|
-
"name": "color",
|
|
2523
|
-
"type": {
|
|
2524
|
-
"text": "ProgressColors"
|
|
2525
|
-
},
|
|
2526
|
-
"default": "'primary'",
|
|
2527
|
-
"description": "Color theme of the progress indicator.\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success",
|
|
2528
|
-
"attribute": "color",
|
|
2529
|
-
"inheritedFrom": {
|
|
2530
|
-
"name": "ProgressMixin",
|
|
2531
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2532
|
-
}
|
|
2533
|
-
},
|
|
2534
|
-
{
|
|
2535
|
-
"kind": "field",
|
|
2536
|
-
"name": "thickness",
|
|
2537
|
-
"type": {
|
|
2538
|
-
"text": "number | undefined"
|
|
2539
|
-
},
|
|
2540
|
-
"description": "Stroke width of the progress indicator.",
|
|
2541
|
-
"attribute": "thickness",
|
|
2542
|
-
"inheritedFrom": {
|
|
2543
|
-
"name": "ProgressMixin",
|
|
2544
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2545
|
-
}
|
|
2546
|
-
},
|
|
2547
|
-
{
|
|
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
|
-
"name": "progress",
|
|
2563
|
-
"description": "Progress value for determinate variant. Clamped to 0–100.",
|
|
2564
|
-
"attribute": "progress",
|
|
2565
|
-
"inheritedFrom": {
|
|
2566
|
-
"name": "ProgressMixin",
|
|
2567
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2568
|
-
}
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
"kind": "field",
|
|
2572
|
-
"name": "label",
|
|
2604
|
+
"name": "copydata",
|
|
2573
2605
|
"type": {
|
|
2574
2606
|
"text": "string | undefined"
|
|
2575
2607
|
},
|
|
2576
|
-
"description": "
|
|
2577
|
-
"attribute": "
|
|
2578
|
-
"inheritedFrom": {
|
|
2579
|
-
"name": "ProgressMixin",
|
|
2580
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2581
|
-
}
|
|
2582
|
-
},
|
|
2583
|
-
{
|
|
2584
|
-
"kind": "field",
|
|
2585
|
-
"name": "initialAnimation",
|
|
2586
|
-
"type": {
|
|
2587
|
-
"text": "boolean"
|
|
2588
|
-
},
|
|
2589
|
-
"default": "true",
|
|
2590
|
-
"description": "Whether to animate progress from 0 to target value when component first becomes visible.",
|
|
2591
|
-
"attribute": "initial-animation",
|
|
2592
|
-
"inheritedFrom": {
|
|
2593
|
-
"name": "ProgressMixin",
|
|
2594
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2595
|
-
}
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
"kind": "field",
|
|
2599
|
-
"name": "ariaLabel",
|
|
2600
|
-
"type": {
|
|
2601
|
-
"text": "string | null"
|
|
2602
|
-
},
|
|
2603
|
-
"default": "null",
|
|
2604
|
-
"description": "Optional aria-label attribute for screen readers.\nDescribes what the progress indicator represents.",
|
|
2605
|
-
"attribute": "aria-label",
|
|
2606
|
-
"inheritedFrom": {
|
|
2607
|
-
"name": "ProgressMixin",
|
|
2608
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2609
|
-
}
|
|
2610
|
-
},
|
|
2611
|
-
{
|
|
2612
|
-
"kind": "field",
|
|
2613
|
-
"name": "ariaLabelledBy",
|
|
2614
|
-
"type": {
|
|
2615
|
-
"text": "string | null"
|
|
2616
|
-
},
|
|
2617
|
-
"default": "null",
|
|
2618
|
-
"description": "Optional aria-labelledby attribute for screen readers.\nReferences the ID of an element that labels the progress indicator.",
|
|
2619
|
-
"attribute": "aria-labelledby",
|
|
2620
|
-
"inheritedFrom": {
|
|
2621
|
-
"name": "ProgressMixin",
|
|
2622
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2623
|
-
}
|
|
2624
|
-
},
|
|
2625
|
-
{
|
|
2626
|
-
"kind": "field",
|
|
2627
|
-
"name": "ariaValueText",
|
|
2628
|
-
"type": {
|
|
2629
|
-
"text": "string | null"
|
|
2630
|
-
},
|
|
2631
|
-
"default": "null",
|
|
2632
|
-
"description": "Optional aria-valuetext attribute for screen readers.\nProvides human-readable text alternative for progress value.",
|
|
2633
|
-
"attribute": "aria-valuetext",
|
|
2634
|
-
"inheritedFrom": {
|
|
2635
|
-
"name": "ProgressMixin",
|
|
2636
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2637
|
-
}
|
|
2608
|
+
"description": "The text to be copied to the system clipboard.",
|
|
2609
|
+
"attribute": "copydata"
|
|
2638
2610
|
},
|
|
2639
2611
|
{
|
|
2640
2612
|
"kind": "field",
|
|
2641
|
-
"name": "
|
|
2613
|
+
"name": "buttonClasses",
|
|
2642
2614
|
"type": {
|
|
2643
2615
|
"text": "string | undefined"
|
|
2644
2616
|
},
|
|
2645
|
-
"description": "
|
|
2646
|
-
"attribute": "
|
|
2647
|
-
"inheritedFrom": {
|
|
2648
|
-
"name": "ProgressMixin",
|
|
2649
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2650
|
-
}
|
|
2651
|
-
},
|
|
2652
|
-
{
|
|
2653
|
-
"kind": "field",
|
|
2654
|
-
"name": "_isAnimationInitialized",
|
|
2655
|
-
"type": {
|
|
2656
|
-
"text": "boolean"
|
|
2657
|
-
},
|
|
2658
|
-
"privacy": "private",
|
|
2659
|
-
"default": "false",
|
|
2660
|
-
"inheritedFrom": {
|
|
2661
|
-
"name": "ProgressMixin",
|
|
2662
|
-
"module": "src/util/ProgressMixin.ts"
|
|
2663
|
-
}
|
|
2664
|
-
},
|
|
2665
|
-
{
|
|
2666
|
-
"kind": "field",
|
|
2667
|
-
"name": "_intersectionObserver",
|
|
2668
|
-
"type": {
|
|
2669
|
-
"text": "IntersectionObserver | undefined"
|
|
2670
|
-
},
|
|
2671
|
-
"privacy": "private",
|
|
2672
|
-
"inheritedFrom": {
|
|
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
|
]
|