@brightspot/ui 6.8.0 → 6.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +661 -0
- package/README.md +18 -2
- package/dist/storybook/CHANGELOG.md +661 -0
- package/dist/storybook/README.md +195 -0
- package/dist/storybook/assets/{ActionBar.stories-CJBn-mku.js → ActionBar.stories-TlhuCumU.js} +31 -28
- package/dist/storybook/assets/ActionItem-CjtyGLd5.js +16 -0
- package/dist/storybook/assets/{ActionItem.stories-DXzC9C1u.js → ActionItem.stories-BVlNQvfP.js} +2 -2
- package/dist/storybook/assets/AiSparkle.stories-DMzc8JUe.js +73 -0
- package/dist/storybook/assets/Avatar-C6Li1sPI.js +4 -0
- package/dist/storybook/assets/Avatar.stories-COj6XrPn.js +213 -0
- package/dist/storybook/assets/AvatarGroup-DgxRTZBe.js +1 -0
- package/dist/storybook/assets/AvatarGroup.stories-Dh3e7iN2.js +225 -0
- package/dist/storybook/assets/Badge-bWrvpEgX.js +1 -0
- package/dist/storybook/assets/{Badge.stories-DEpoJpUZ.js → Badge.stories-KXpmEXpt.js} +4 -4
- package/dist/storybook/assets/Banner-FSFX1AIb.css +1 -0
- package/dist/storybook/assets/{Banner.stories--jeU6fKq.js → Banner.stories-Cnhm3dXK.js} +14 -14
- package/dist/storybook/assets/Button-DE0s-gat.js +10 -0
- package/dist/storybook/assets/Button.stories-Cwg1YZEb.js +54 -0
- package/dist/storybook/assets/ButtonGroup-CoLI5nGO.js +1 -0
- package/dist/storybook/assets/{ButtonGroup.stories-CerE_0AC.js → ButtonGroup.stories-VhnKPP1n.js} +7 -7
- package/dist/storybook/assets/Card-DyntwdY-.css +1 -0
- package/dist/storybook/assets/{Card.stories-5SxHtU3Y.js → Card.stories-BgpL90zB.js} +60 -29
- package/dist/storybook/assets/{Celebrate.stories-COS789GX.js → Celebrate.stories-D3NJgYcX.js} +5 -5
- package/dist/storybook/assets/Checkbox-BC1T_KxW.js +30 -0
- package/dist/storybook/assets/{Checkbox.stories-DuQu38Gv.js → Checkbox.stories-AFQNz7dQ.js} +10 -10
- package/dist/storybook/assets/CircularProgress-eqVb2jUD.js +42 -0
- package/dist/storybook/assets/{CircularProgress.stories-Lf2Ws46Y.js → CircularProgress.stories-B6t8VhmJ.js} +2 -2
- package/dist/storybook/assets/ClipboardMixin-DcxrOy5B.js +1 -0
- package/dist/storybook/assets/{ClipboardMixin.stories-BT5KfLZ_.js → ClipboardMixin.stories-BqtQMjmS.js} +6 -6
- package/dist/storybook/assets/{Color-6BZIO3FS-BNBxjqrS.js → Color-6BZIO3FS-CDluohEc.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-Ck6bXbd0.js → Colors.stories-CqTniDIa.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-DLELdAMr.js → CombinedEffects.stories-FwW0chy5.js} +2 -2
- package/dist/storybook/assets/{ComponentStatesMixin-B6uJL_2c.js → ComponentStatesMixin-hUqOL2aW.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-fiyrALkY.js → ComponentStatesMixin.stories-CwGoq685.js} +1 -1
- package/dist/storybook/assets/{CopyToClipboard.stories-2OfBH19_.js → CopyToClipboard.stories-DUGjgtQx.js} +18 -10
- package/dist/storybook/assets/{Debounce.stories-C9qo3lIN.js → Debounce.stories-CrWfXhKS.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-CBVYZYjR.js → DocsRenderer-LL677BLK-9e51z9Xc.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-15ZDMkRz.js → Dropdown.stories-BsBxV0wp.js} +2 -2
- package/dist/storybook/assets/DropdownMenu-B-LvOIGj.js +42 -0
- package/dist/storybook/assets/EmptyState-h0A4Qpiu.css +1 -0
- package/dist/storybook/assets/{EmptyState.stories-Bjb8hzYj.js → EmptyState.stories-CJ1w8Tp2.js} +33 -21
- package/dist/storybook/assets/EscaAvatar.stories-BoLLSj9q.js +140 -0
- package/dist/storybook/assets/{Events.stories-BV0vMF2I.js → Events.stories-C3sTBwPJ.js} +2 -2
- package/dist/storybook/assets/{Heading.stories-CEUJqUbQ.js → Heading.stories-jmXDRBmM.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-CwvtcOM_.js → HueRipple.stories-BPx5aSYd.js} +2 -2
- package/dist/storybook/assets/Icon-CWyJRQf7.js +34409 -0
- package/dist/storybook/assets/{Icon.stories-AB_v-61c.js → Icon.stories-iYBxmv2x.js} +10 -10
- package/dist/storybook/assets/IconButton-Di5Rgs7F.js +12 -0
- package/dist/storybook/assets/{IconButton.stories-BHuHsM3k.js → IconButton.stories-DENLoxVk.js} +2 -2
- package/dist/storybook/assets/LinearProgress-D9ngIVlv.js +25 -0
- package/dist/storybook/assets/{LinearProgress.stories-BNN5SXe3.js → LinearProgress.stories-u90B_VJR.js} +2 -2
- package/dist/storybook/assets/Message-CM3eexdu.css +1 -0
- package/dist/storybook/assets/Message-nFAa55c_.js +28 -0
- package/dist/storybook/assets/{Message.stories-DdLhMXnb.js → Message.stories-B4rpz5rI.js} +2 -2
- package/dist/storybook/assets/OnFindMixin-oL1bvTFj.js +1 -0
- package/dist/storybook/assets/{OnFindMixin.stories-B-5TeBOF.js → OnFindMixin.stories-CdeS5sFA.js} +9 -9
- package/dist/storybook/assets/Pagination-CSWcjuDU.js +88 -0
- package/dist/storybook/assets/{Pagination.stories-C9zsOdb2.js → Pagination.stories-Da2WzJkv.js} +33 -33
- package/dist/storybook/assets/{Popover.stories-BiqIwebU.js → Popover.stories-CVljlVHc.js} +16 -16
- package/dist/storybook/assets/ProgressMixin-CeSrn0_P.js +1 -0
- package/dist/storybook/assets/Radio-rvfGhZwK.js +25 -0
- package/dist/storybook/assets/{Radio.stories-BmrEdPkm.js → Radio.stories-B0wHdJuc.js} +6 -6
- package/dist/storybook/assets/{RadioGroup.stories-ChARVXs3.js → RadioGroup.stories-D8krOSlP.js} +22 -22
- package/dist/storybook/assets/{ReadyMixin-BbuzH3uO.js → ReadyMixin-CvX_eidU.js} +1 -1
- package/dist/storybook/assets/RovingTabindexMixin-9z8lwaM9.js +1 -0
- package/dist/storybook/assets/{RovingTabindexMixin.stories-xm4b394_.js → RovingTabindexMixin.stories-Y8vBWjJp.js} +5 -5
- package/dist/storybook/assets/{Rtc.stories-DdcMaELA.js → Rtc.stories-D3Y-z8y_.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-CI67Ougx.js → ScrollShadow.stories-1KD0lWHX.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-DOqrRkxc.js → Switch.stories-Bsqvm_HE.js} +60 -27
- package/dist/storybook/assets/{Tab.stories-DN8o4cf_.js → Tab.stories-CzcTisNs.js} +7 -7
- package/dist/storybook/assets/Tabs-DdpYNZSW.js +17 -0
- package/dist/storybook/assets/{Tabs.stories-BEowfCcl.js → Tabs.stories-UOS3V0J4.js} +6 -6
- package/dist/storybook/assets/{Throttle.stories-BZ_nsuw1.js → Throttle.stories-C8jgzh6e.js} +1 -1
- package/dist/storybook/assets/Tooltip.stories-B5BoI0cH.js +143 -0
- package/dist/storybook/assets/TooltipMixin-CVKslCDt.js +1 -0
- package/dist/storybook/assets/{Upload.stories-sAEiabwq.js → Upload.stories-BsQDCDqo.js} +102 -52
- package/dist/storybook/assets/UploadItem-CYQqNwUF.js +54 -0
- package/dist/storybook/assets/{UploadItem.stories-C19JMfmB.js → UploadItem.stories-_le7XBTV.js} +4 -4
- package/dist/storybook/assets/{Welcome.stories-C30jg0r1.js → Welcome.stories-rramKkhd.js} +38 -8
- package/dist/storybook/assets/Widget-elBzGg8w.css +1 -0
- package/dist/storybook/assets/Widget.stories-DtbAaklk.js +279 -0
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-PFRy5maL.js → WithTooltip-65CFNBJE-DK6GcBuR.js} +1 -1
- package/dist/storybook/assets/ai-sparkle-BZMJJAxY.js +1 -0
- package/dist/storybook/assets/aria-D5THOgos.js +1 -0
- package/dist/storybook/assets/{blocks-DLjjvsFT.js → blocks-DHnzPh43.js} +5 -5
- package/dist/storybook/assets/esca-glow-BwdhBvIX.js +2 -0
- package/dist/storybook/assets/esca-idle-B-fumiIb.js +1 -0
- package/dist/storybook/assets/esca-search-rwNfo19I.js +1 -0
- package/dist/storybook/assets/esca-task-complete-BAJP2dY2.js +1 -0
- package/dist/storybook/assets/esca-wave-Bjs4CUR7.js +1 -0
- package/dist/storybook/assets/{formatter-EIJCOSYU-D39uscG_.js → formatter-EIJCOSYU-qig-qWlG.js} +1 -1
- package/dist/storybook/assets/i18n-BQ-Uj-0B.js +1 -0
- package/dist/storybook/assets/if-defined-DerKRcyC.js +1 -0
- package/dist/storybook/assets/{iframe-B9buZjP7.js → iframe-DlBK9Drk.js} +24 -24
- package/dist/storybook/assets/{index-BdEHup-4.js → index-CItQyB37.js} +1 -1
- package/dist/storybook/assets/lottie_svg-C3v6xdng.js +2 -0
- package/dist/storybook/assets/{onFind-CGzSFqNN.js → onFind-Ci35eu2y.js} +1 -1
- package/dist/storybook/assets/{onFind.stories-Dq71qO14.js → onFind.stories-BmbwWWo1.js} +1 -1
- package/dist/storybook/assets/{onRemove.stories-B1GqLH_U.js → onRemove.stories-DFWCIgE4.js} +1 -1
- package/dist/storybook/assets/{onVisible.stories-BNKxOfLw.js → onVisible.stories-B-onpgE-.js} +1 -1
- package/dist/storybook/assets/property-Bmq4RTSP.js +1 -0
- package/dist/storybook/assets/ref-BhKk4SDh.js +1 -0
- package/dist/storybook/assets/state-DVIUS0Gf.js +1 -0
- package/dist/storybook/assets/{style-map-qCiIYcp5.js → style-map-DE4G47KD.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-CUM-CaRF.js → syntaxhighlighter-ED5Y7EFY-Dfgnal1d.js} +1 -1
- package/dist/storybook/custom-elements.json +11835 -0
- package/dist/storybook/docs/components/ActionBar.md +55 -0
- package/dist/storybook/docs/components/ActionItem.md +50 -0
- package/dist/storybook/docs/components/AiSparkle.md +33 -0
- package/dist/storybook/docs/components/Avatar.md +45 -0
- package/dist/storybook/docs/components/AvatarGroup.md +34 -0
- package/dist/storybook/docs/components/Badge.md +47 -0
- package/dist/storybook/docs/components/Banner.md +35 -0
- package/dist/storybook/docs/components/ButtonGroup.md +65 -0
- package/dist/storybook/docs/components/Card.md +67 -0
- package/dist/storybook/docs/components/Checkbox.md +49 -0
- package/dist/storybook/docs/components/CircularProgress.md +40 -0
- package/dist/storybook/docs/components/CopyToClipboard.md +51 -0
- package/dist/storybook/docs/components/Dropdown.md +74 -0
- package/dist/storybook/docs/components/DropdownItem.md +45 -0
- package/dist/storybook/docs/components/DropdownMenu.md +41 -0
- package/dist/storybook/docs/components/EmptyState.md +62 -0
- package/dist/storybook/docs/components/EscaAvatar.md +40 -0
- package/dist/storybook/docs/components/Icon.md +40 -0
- package/dist/storybook/docs/components/IconButton.md +36 -0
- package/dist/storybook/docs/components/LinearProgress.md +37 -0
- package/dist/storybook/docs/components/Message.md +50 -0
- package/dist/storybook/docs/components/Pagination.md +70 -0
- package/dist/storybook/docs/components/Popover.md +59 -0
- package/dist/storybook/docs/components/README.md +48 -0
- package/dist/storybook/docs/components/Radio.md +55 -0
- package/dist/storybook/docs/components/RadioGroup.md +34 -0
- package/dist/storybook/docs/components/Switch.md +48 -0
- package/dist/storybook/docs/components/Tab.md +40 -0
- package/dist/storybook/docs/components/Tabs.md +49 -0
- package/dist/storybook/docs/components/Upload.md +63 -0
- package/dist/storybook/docs/components/UploadItem.md +30 -0
- package/dist/storybook/docs/components/Widget.md +88 -0
- package/dist/storybook/docs/dari-elements.md +55 -0
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.html +29 -2
- package/dist/storybook/llms-full.txt +1721 -0
- package/dist/storybook/llms.txt +65 -0
- package/dist/storybook/project.json +1 -1
- package/dist/storybook/robots.txt +7 -0
- package/dist/storybook/sb-addons/storybook-3/manager-bundle.js +1 -1
- package/dist/storybook/sitemap.xml +90 -0
- package/docs/components/ActionBar.md +41 -64
- package/docs/components/ActionItem.md +50 -96
- package/docs/components/AiSparkle.md +23 -60
- package/docs/components/Avatar.md +45 -88
- package/docs/components/AvatarGroup.md +24 -44
- package/docs/components/Badge.md +34 -62
- package/docs/components/Banner.md +25 -39
- package/docs/components/ButtonGroup.md +65 -99
- package/docs/components/Card.md +67 -83
- package/docs/components/Checkbox.md +49 -91
- package/docs/components/CircularProgress.md +40 -84
- package/docs/components/CopyToClipboard.md +35 -40
- package/docs/components/Dropdown.md +74 -120
- package/docs/components/DropdownItem.md +45 -81
- package/docs/components/DropdownMenu.md +30 -70
- package/docs/components/EmptyState.md +45 -62
- package/docs/components/EscaAvatar.md +30 -61
- package/docs/components/Icon.md +29 -62
- package/docs/components/IconButton.md +36 -83
- package/docs/components/LinearProgress.md +28 -70
- package/docs/components/Message.md +38 -63
- package/docs/components/Pagination.md +70 -100
- package/docs/components/Popover.md +46 -79
- package/docs/components/README.md +34 -40
- package/docs/components/Radio.md +55 -105
- package/docs/components/RadioGroup.md +26 -55
- package/docs/components/Switch.md +48 -84
- package/docs/components/Tab.md +30 -70
- package/docs/components/Tabs.md +49 -86
- package/docs/components/Upload.md +63 -112
- package/docs/components/UploadItem.md +22 -53
- package/docs/components/Widget.md +66 -67
- package/llms.txt +63 -0
- package/package.json +9 -6
- package/dist/storybook/assets/AiSparkle.stories-BfjT5jrJ.js +0 -72
- package/dist/storybook/assets/Avatar.stories-D8lnIZaY.js +0 -213
- package/dist/storybook/assets/AvatarGroup.stories-Cz9oVah0.js +0 -225
- package/dist/storybook/assets/Button-2ucj5lUP.js +0 -10
- package/dist/storybook/assets/Button.stories-ndl1RJd7.js +0 -54
- package/dist/storybook/assets/EscaAvatar.stories-Rc2MSzCX.js +0 -139
- package/dist/storybook/assets/LucideDynamicLoader-BuoNL33C.js +0 -1
- package/dist/storybook/assets/Tooltip.stories-3bar43ZN.js +0 -143
- package/dist/storybook/assets/Widget.stories-9-1XpZNl.js +0 -233
- package/dist/storybook/assets/if-defined-BwWBCoAU.js +0 -1
|
@@ -1,84 +1,40 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
| `
|
|
24
|
-
| `
|
|
25
|
-
| `
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
| `
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
| Name | Privacy | Description | Parameters | Return | Inherited From |
|
|
43
|
-
| ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
44
|
-
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
45
|
-
|
|
46
|
-
### Events
|
|
47
|
-
|
|
48
|
-
| Name | Type | Description | Inherited From |
|
|
49
|
-
| -------------------------------- | ------------- | ------------------------------------------- | -------------- |
|
|
50
|
-
| `btu-circular-progress-ready` | `CustomEvent` | Fired after first render and initialization | |
|
|
51
|
-
| `btu-circular-progress-complete` | `CustomEvent` | Fired when determinate progress reaches 100 | |
|
|
52
|
-
|
|
53
|
-
### Attributes
|
|
54
|
-
|
|
55
|
-
| Name | Field | Inherited From |
|
|
56
|
-
| ------------------------- | ---------------------- | -------------- |
|
|
57
|
-
| `indeterminate` | indeterminate | |
|
|
58
|
-
| `size` | size | |
|
|
59
|
-
| `color` | color | ProgressMixin |
|
|
60
|
-
| `thickness` | thickness | ProgressMixin |
|
|
61
|
-
| `progress` | progress | ProgressMixin |
|
|
62
|
-
| `label` | label | ProgressMixin |
|
|
63
|
-
| `initial-animation` | initialAnimation | ProgressMixin |
|
|
64
|
-
| `aria-label` | ariaLabel | ProgressMixin |
|
|
65
|
-
| `aria-labelledby` | ariaLabelledBy | ProgressMixin |
|
|
66
|
-
| `aria-valuetext` | ariaValueText | ProgressMixin |
|
|
67
|
-
| `completion-announcement` | completionAnnouncement | ProgressMixin |
|
|
68
|
-
|
|
69
|
-
### CSS Properties
|
|
70
|
-
|
|
71
|
-
| Name | Default | Description |
|
|
72
|
-
| ------------------ | ------- | ------------------------------------------------------- |
|
|
73
|
-
| `--progress-color` | | Custom progress indicator color (overrides theme color) |
|
|
74
|
-
| `--track-color` | | Track/background color (overrides default gray-100) |
|
|
75
|
-
| `--progress-size` | | Custom size in pixels (overrides size preset) |
|
|
76
|
-
|
|
77
|
-
<hr/>
|
|
78
|
-
|
|
79
|
-
## Exports
|
|
80
|
-
|
|
81
|
-
| Kind | Name | Declaration | Module | Package |
|
|
82
|
-
| --------------------------- | ----------------------- | ---------------- | ---------------------------------------------------- | ------- |
|
|
83
|
-
| `js` | `default` | CircularProgress | src/components/circular-progress/CircularProgress.ts | |
|
|
84
|
-
| `custom-element-definition` | `btu-circular-progress` | CircularProgress | src/components/circular-progress/CircularProgress.ts | |
|
|
1
|
+
# `<btu-circular-progress>`
|
|
2
|
+
|
|
3
|
+
A circular progress indicator for showing loading states or progress.
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
import '@brightspot/ui/components/circular-progress/CircularProgress.js'
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Interactive examples: https://ui.brightspot.com/?path=/docs/components-circular-progress--docs
|
|
10
|
+
|
|
11
|
+
## Attributes
|
|
12
|
+
|
|
13
|
+
| Attribute | Property | Type | Default | Description |
|
|
14
|
+
| --- | --- | --- | --- | --- |
|
|
15
|
+
| `indeterminate` | `indeterminate` | `boolean` | `true` | Whether the progress indicator is indeterminate (animated spinner). When false, shows determinate progress based on the progress value. |
|
|
16
|
+
| `size` | `size` | `'sm' \| 'md' \| 'lg'` | `'sm'` | Size variant. - 'sm': Small (16px) - default - 'md': Medium (32px) - 'lg': Large (48px) |
|
|
17
|
+
| `color` | `color` | `ProgressColors` | `'primary'` | Color theme of the progress indicator. Supports: black, white, primary, teal, gray, purple, rose, error, warning, success |
|
|
18
|
+
| `thickness` | `thickness` | `number \| undefined` | | Stroke width of the progress indicator. |
|
|
19
|
+
| `progress` | `progress` | `number` | | Progress value for determinate variant. Clamped to 0–100. |
|
|
20
|
+
| `label` | `label` | `string \| undefined` | | Optional label text to display with the progress indicator. |
|
|
21
|
+
| `initial-animation` | `initialAnimation` | `boolean` | `true` | Whether to animate progress from 0 to target value when component first becomes visible. |
|
|
22
|
+
| `aria-label` | `ariaLabel` | `string \| null` | `null` | Optional aria-label attribute for screen readers. Describes what the progress indicator represents. |
|
|
23
|
+
| `aria-labelledby` | `ariaLabelledBy` | `string \| null` | `null` | Optional aria-labelledby attribute for screen readers. References the ID of an element that labels the progress indicator. |
|
|
24
|
+
| `aria-valuetext` | `ariaValueText` | `string \| null` | `null` | Optional aria-valuetext attribute for screen readers. Provides human-readable text alternative for progress value. |
|
|
25
|
+
| `completion-announcement` | `completionAnnouncement` | `string \| undefined` | | Optional message to announce to screen readers when progress reaches 100%. If not provided, no announcement will be made on completion. |
|
|
26
|
+
|
|
27
|
+
## Events
|
|
28
|
+
|
|
29
|
+
| Event | Detail | Description |
|
|
30
|
+
| --- | --- | --- |
|
|
31
|
+
| `btu-circular-progress-ready` | | Fired after first render and initialization |
|
|
32
|
+
| `btu-circular-progress-complete` | | Fired when determinate progress reaches 100 |
|
|
33
|
+
|
|
34
|
+
## CSS custom properties
|
|
35
|
+
|
|
36
|
+
| Property | Description |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| `--progress-color` | Custom progress indicator color (overrides theme color) |
|
|
39
|
+
| `--track-color` | Track/background color (overrides default gray-100) |
|
|
40
|
+
| `--progress-size` | Custom size in pixels (overrides size preset) |
|
|
@@ -1,56 +1,51 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `<btu-copy-to-clipboard>`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A button component that copies text to the system clipboard.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Provides visual feedback when text is successfully copied by applying
|
|
6
|
+
a temporary state that can be styled with CSS.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
| `LitElement` | | lit |
|
|
8
|
+
Button styling is inherited from `btu-button-*` classes. Override appearance
|
|
9
|
+
by passing custom classes via the `buttonclasses` attribute.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
```js
|
|
12
|
+
import '@brightspot/ui/components/copy-to-clipboard/CopyToClipboard.js'
|
|
13
|
+
```
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
| ---------------------- | --------------------------------- | ------- |
|
|
15
|
-
| `ClipboardMixin` | /src/util/ClipboardMixin.js | |
|
|
16
|
-
| `ComponentStatesMixin` | /src/util/ComponentStatesMixin.js | |
|
|
17
|
-
| `EventEmitterMixin` | /src/util/EventEmitterMixin.js | |
|
|
18
|
-
| `ReadyMixin` | /src/util/ReadyMixin.js | |
|
|
15
|
+
The CMS page defines this element itself, so a plugin can use it there without the import.
|
|
19
16
|
|
|
20
|
-
|
|
17
|
+
Interactive examples: https://ui.brightspot.com/?path=/docs/components-copy-to-clipboard--docs
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
| ---------------- | ------- | -------------------------------- | ------- | ------------------------------------------------------------------------------- | -------------- |
|
|
24
|
-
| `copydata` | | `string \| undefined` | | The text to be copied to the system clipboard. | |
|
|
25
|
-
| `buttonClasses` | | `string \| undefined` | | Custom CSS classes for the button. If provided, replaces the default classes. | |
|
|
26
|
-
| `copiedStateKey` | | `'btu-copy-to-clipboard-copied'` | | Custom state applied briefly after a successful copy; also emitted as an event. | ClipboardMixin |
|
|
19
|
+
## Attributes
|
|
27
20
|
|
|
28
|
-
|
|
21
|
+
| Attribute | Property | Type | Default | Description |
|
|
22
|
+
| --- | --- | --- | --- | --- |
|
|
23
|
+
| `copydata` | `copydata` | `string \| undefined` | | The text to be copied to the system clipboard. |
|
|
24
|
+
| `buttonclasses` | `buttonClasses` | `string \| undefined` | | Custom CSS classes for the button. If provided, replaces the default classes. |
|
|
29
25
|
|
|
30
|
-
|
|
31
|
-
| ------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | --------- | ----------------- |
|
|
32
|
-
| `copy` | | Copies the copydata to the system clipboard.
Displays a success state for 3 seconds after copying. | `text: string, timeout` | | ClipboardMixin |
|
|
33
|
-
| `emit` | | Dispatches a type-safe CustomEvent with standardized configuration.

All events are configured with:
- bubbles: true (event propagates up the DOM tree)
- cancelable: false (event cannot be cancelled)
- composed: true (event crosses shadow DOM boundaries) | `type: K, detail: UnpackCustomEvent<CustomEventMap[K]>` | `boolean` | EventEmitterMixin |
|
|
26
|
+
## Properties
|
|
34
27
|
|
|
35
|
-
|
|
28
|
+
These have no attribute; set them from JavaScript.
|
|
36
29
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
| `btu-copy-to-clipboard-
|
|
40
|
-
| `btu-copy-to-clipboard-copied` | `CustomEvent` | Fired when text is successfully copied to clipboard | |
|
|
30
|
+
| Property | Type | Default | Description |
|
|
31
|
+
| --- | --- | --- | --- |
|
|
32
|
+
| `copiedStateKey` (read-only) | `'btu-copy-to-clipboard-copied'` | | Custom state applied briefly after a successful copy; also emitted as an event. |
|
|
41
33
|
|
|
42
|
-
|
|
34
|
+
## Methods
|
|
43
35
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
| `
|
|
47
|
-
| `buttonclasses` | buttonClasses | |
|
|
36
|
+
| Method | Description |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| `copy(text: string, timeout: unknown)` | Copies the copydata to the system clipboard. Displays a success state for 3 seconds after copying. |
|
|
48
39
|
|
|
49
|
-
|
|
40
|
+
## Events
|
|
50
41
|
|
|
51
|
-
|
|
42
|
+
| Event | Detail | Description |
|
|
43
|
+
| --- | --- | --- |
|
|
44
|
+
| `btu-copy-to-clipboard-ready` | | Fired after first render and initialization |
|
|
45
|
+
| `btu-copy-to-clipboard-copied` | | Fired when text is successfully copied to clipboard |
|
|
52
46
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
|
56
|
-
|
|
|
47
|
+
## CSS states
|
|
48
|
+
|
|
49
|
+
| State | Description |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| `:state(btu-copy-to-clipboard-copied)` | Applied briefly after a successful copy, targetable via :state(btu-copy-to-clipboard-copied) |
|
|
@@ -1,120 +1,74 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
| `
|
|
25
|
-
| `
|
|
26
|
-
| `
|
|
27
|
-
| `
|
|
28
|
-
| `
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
34
|
-
| `
|
|
35
|
-
| `
|
|
36
|
-
| `
|
|
37
|
-
| `
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
40
|
-
| `
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
| `
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
| `
|
|
72
|
-
| `
|
|
73
|
-
| `
|
|
74
|
-
| `
|
|
75
|
-
| `disabled` | disabled | |
|
|
76
|
-
| `variant` | variant | |
|
|
77
|
-
| `symbol` | symbol | |
|
|
78
|
-
| `icon-position` | iconPosition | |
|
|
79
|
-
| `icon-only` | iconOnly | |
|
|
80
|
-
| `stay-open-on-select` | stayOpenOnSelect | |
|
|
81
|
-
| `no-chevron` | noChevron | |
|
|
82
|
-
| `tooltip` | tooltip | TooltipMixin |
|
|
83
|
-
| `tooltip-position` | tooltipPosition | TooltipMixin |
|
|
84
|
-
| `tooltip-delay` | tooltipDelay | TooltipMixin |
|
|
85
|
-
| `tooltip-offset` | tooltipOffset | TooltipMixin |
|
|
86
|
-
| `tooltip-no-arrow` | tooltipNoArrow | TooltipMixin |
|
|
87
|
-
| `tooltip-trigger` | tooltipTrigger | TooltipMixin |
|
|
88
|
-
|
|
89
|
-
### CSS Properties
|
|
90
|
-
|
|
91
|
-
| Name | Default | Description |
|
|
92
|
-
| ------------------------------------- | ------- | ------------------------------------------------------------- |
|
|
93
|
-
| `--dropdown-panel-background` | | Panel background color (default: white) |
|
|
94
|
-
| `--dropdown-panel-border-color` | | Panel border color (default: gray-200) |
|
|
95
|
-
| `--dropdown-panel-border-radius` | | Panel border radius (default: borderRadius.lg) |
|
|
96
|
-
| `--dropdown-panel-min-width` | | Panel minimum width (default: max(12rem, anchor-size(width))) |
|
|
97
|
-
| `--dropdown-item-background` | | Item background color (default: transparent) |
|
|
98
|
-
| `--dropdown-item-color` | | Item text color (default: gray-700) |
|
|
99
|
-
| `--dropdown-item-hover-background` | | Item hover background (default: gray-100) |
|
|
100
|
-
| `--dropdown-item-hover-color` | | Item hover text color (default: gray-900) |
|
|
101
|
-
| `--dropdown-item-selected-background` | | Selected item background (default: primary-50) |
|
|
102
|
-
| `--dropdown-item-selected-color` | | Selected item text color (default: primary-700) |
|
|
103
|
-
| `--dropdown-item-font-size` | | Item font size (default: fontSize.sm) |
|
|
104
|
-
| `--dropdown-divider-color` | | Divider line color (default: gray-200) |
|
|
105
|
-
| `--dropdown-empty-color` | | Empty state text color (default: gray-400) |
|
|
106
|
-
|
|
107
|
-
### Slots
|
|
108
|
-
|
|
109
|
-
| Name | Description |
|
|
110
|
-
| ---- | ------------------------------------------------------------------------- |
|
|
111
|
-
| | A \`btu-dropdown-menu\` element containing \`btu-dropdown-item\` children |
|
|
112
|
-
|
|
113
|
-
<hr/>
|
|
114
|
-
|
|
115
|
-
## Exports
|
|
116
|
-
|
|
117
|
-
| Kind | Name | Declaration | Module | Package |
|
|
118
|
-
| --------------------------- | -------------- | ----------- | ----------------------------------- | ------- |
|
|
119
|
-
| `js` | `default` | Dropdown | src/components/dropdown/Dropdown.ts | |
|
|
120
|
-
| `custom-element-definition` | `btu-dropdown` | Dropdown | src/components/dropdown/Dropdown.ts | |
|
|
1
|
+
# `<btu-dropdown>`
|
|
2
|
+
|
|
3
|
+
A dropdown component that renders a trigger button and manages a floating panel
|
|
4
|
+
containing a `btu-dropdown-menu`.
|
|
5
|
+
|
|
6
|
+
Uses the native Popover API and CSS anchor positioning for panel management.
|
|
7
|
+
The trigger button is built with existing `btu-button-*` classes.
|
|
8
|
+
|
|
9
|
+
**Trigger button styling:** Set `--button-*` CSS custom properties on `<btu-dropdown>`
|
|
10
|
+
or a parent element to customize the trigger via CSS inheritance (e.g.,
|
|
11
|
+
`--button-border-radius`, `--button-color-background`). See
|
|
12
|
+
`tailwind-plugin-button.ts` for available props.
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
import '@brightspot/ui/components/dropdown/Dropdown.js'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Interactive examples: https://ui.brightspot.com/?path=/docs/components-dropdown--docs
|
|
19
|
+
|
|
20
|
+
## Attributes
|
|
21
|
+
|
|
22
|
+
| Attribute | Property | Type | Default | Description |
|
|
23
|
+
| --- | --- | --- | --- | --- |
|
|
24
|
+
| `label` | `label` | `string` | `''` | Trigger button text. |
|
|
25
|
+
| `open` | `open` | `boolean` | `false` | Panel visibility state. Can be set programmatically (e.g., for tour UIs) — syncs to `showPopover()`/`hidePopover()` in `updated()`. |
|
|
26
|
+
| `placement` | `placement` | `'bottom-start' \| 'bottom-end' \| 'top-start' \| 'top-end'` | `'bottom-start'` | Panel placement: 'bottom-start', 'bottom-end', 'top-start', 'top-end'. |
|
|
27
|
+
| `size` | `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Button size: 'sm', 'md', 'lg'. |
|
|
28
|
+
| `disabled` | `disabled` | `boolean` | `false` | Prevents opening. |
|
|
29
|
+
| `variant` | `variant` | `'primary' \| 'secondary' \| 'tertiary' \| 'primary-clear' \| 'secondary-clear' \| 'tertiary-clear'` | `'secondary'` | Button variant: 'primary', 'secondary', 'tertiary', 'primary-clear', 'secondary-clear', 'tertiary-clear'. |
|
|
30
|
+
| `symbol` | `symbol` | `string` | `''` | Lucide icon symbol for the trigger. |
|
|
31
|
+
| `icon-position` | `iconPosition` | `'leading' \| 'trailing'` | `'leading'` | Icon position: 'leading' or 'trailing'. |
|
|
32
|
+
| `icon-only` | `iconOnly` | `boolean` | `false` | Hides label, shows icon only. |
|
|
33
|
+
| `stay-open-on-select` | `stayOpenOnSelect` | `boolean` | `false` | Keeps panel open on item click. |
|
|
34
|
+
| `no-chevron` | `noChevron` | `boolean` | `false` | Hides the chevron icon on the trigger button. |
|
|
35
|
+
| `tooltip` | `tooltip` | `string` | `''` | Tooltip text content. Set to empty string to remove the tooltip. |
|
|
36
|
+
| `tooltip-position` | `tooltipPosition` | `'top' \| 'bottom' \| 'left' \| 'right'` | `'top'` | Position relative to the host element. Auto-flips when constrained by the viewport. |
|
|
37
|
+
| `tooltip-delay` | `tooltipDelay` | `number` | `300` | Show delay in milliseconds (hover trigger only). |
|
|
38
|
+
| `tooltip-offset` | `tooltipOffset` | `'sm' \| 'md' \| 'lg' \| 'xl' \| null` | `null` | Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px). |
|
|
39
|
+
| `tooltip-no-arrow` | `tooltipNoArrow` | `boolean` | `false` | Hide the arrow pseudo-element. |
|
|
40
|
+
| `tooltip-trigger` | `tooltipTrigger` | `string` | `'hover focus'` | Space-separated trigger types: 'hover', 'focus', 'click'. |
|
|
41
|
+
|
|
42
|
+
## Events
|
|
43
|
+
|
|
44
|
+
| Event | Detail | Description |
|
|
45
|
+
| --- | --- | --- |
|
|
46
|
+
| `btu-dropdown-ready` | | Fired after first render and initialization |
|
|
47
|
+
| `btu-dropdown-show` | | Fired when the dropdown panel opens |
|
|
48
|
+
| `btu-dropdown-hide` | | Fired when the dropdown panel closes |
|
|
49
|
+
| `btu-dropdown-item-select` | `{label: string, value: string, selected: boolean}` | Fired when a menu item is activated (bubbles from btu-dropdown-item) |
|
|
50
|
+
| `btu-dropdown-item-favorite` | `{label: string, favorited: boolean}` | Fired when a menu item's favorite is toggled (bubbles from btu-dropdown-item) |
|
|
51
|
+
|
|
52
|
+
## Slots
|
|
53
|
+
|
|
54
|
+
| Slot | Description |
|
|
55
|
+
| --- | --- |
|
|
56
|
+
| (default) | A `btu-dropdown-menu` element containing `btu-dropdown-item` children |
|
|
57
|
+
|
|
58
|
+
## CSS custom properties
|
|
59
|
+
|
|
60
|
+
| Property | Description |
|
|
61
|
+
| --- | --- |
|
|
62
|
+
| `--dropdown-panel-background` | Panel background color (default: white) |
|
|
63
|
+
| `--dropdown-panel-border-color` | Panel border color (default: gray-200) |
|
|
64
|
+
| `--dropdown-panel-border-radius` | Panel border radius (default: borderRadius.lg) |
|
|
65
|
+
| `--dropdown-panel-min-width` | Panel minimum width (default: max(12rem, anchor-size(width))) |
|
|
66
|
+
| `--dropdown-item-background` | Item background color (default: transparent) |
|
|
67
|
+
| `--dropdown-item-color` | Item text color (default: gray-700) |
|
|
68
|
+
| `--dropdown-item-hover-background` | Item hover background (default: gray-100) |
|
|
69
|
+
| `--dropdown-item-hover-color` | Item hover text color (default: gray-900) |
|
|
70
|
+
| `--dropdown-item-selected-background` | Selected item background (default: primary-50) |
|
|
71
|
+
| `--dropdown-item-selected-color` | Selected item text color (default: primary-700) |
|
|
72
|
+
| `--dropdown-item-font-size` | Item font size (default: fontSize.sm) |
|
|
73
|
+
| `--dropdown-divider-color` | Divider line color (default: gray-200) |
|
|
74
|
+
| `--dropdown-empty-color` | Empty state text color (default: gray-400) |
|
|
@@ -1,81 +1,45 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
| `
|
|
23
|
-
| `
|
|
24
|
-
| `
|
|
25
|
-
| `
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
| `btu-dropdown-item-favorite` | `CustomEvent<{label: string, favorited: boolean}>` | Fired when favorite is toggled | |
|
|
47
|
-
|
|
48
|
-
### Attributes
|
|
49
|
-
|
|
50
|
-
| Name | Field | Inherited From |
|
|
51
|
-
| ----------- | --------- | -------------- |
|
|
52
|
-
| `label` | label | |
|
|
53
|
-
| `type` | type | |
|
|
54
|
-
| `symbol` | symbol | |
|
|
55
|
-
| `shortcut` | shortcut | |
|
|
56
|
-
| `value` | value | |
|
|
57
|
-
| `disabled` | disabled | |
|
|
58
|
-
| `selected` | selected | |
|
|
59
|
-
| `favorited` | favorited | |
|
|
60
|
-
| `error` | error | |
|
|
61
|
-
|
|
62
|
-
### CSS Properties
|
|
63
|
-
|
|
64
|
-
| Name | Default | Description |
|
|
65
|
-
| ------------------------------------- | ------- | ----------------------------------------------- |
|
|
66
|
-
| `--dropdown-item-font-size` | | Item font size (default: theme fontSize.sm) |
|
|
67
|
-
| `--dropdown-item-color` | | Item text color (default: gray-700) |
|
|
68
|
-
| `--dropdown-item-background` | | Item background color (default: transparent) |
|
|
69
|
-
| `--dropdown-item-hover-background` | | Background on hover (default: gray-100) |
|
|
70
|
-
| `--dropdown-item-hover-color` | | Text color on hover (default: gray-900) |
|
|
71
|
-
| `--dropdown-item-selected-background` | | Background when selected (default: primary-50) |
|
|
72
|
-
| `--dropdown-item-selected-color` | | Text color when selected (default: primary-700) |
|
|
73
|
-
|
|
74
|
-
<hr/>
|
|
75
|
-
|
|
76
|
-
## Exports
|
|
77
|
-
|
|
78
|
-
| Kind | Name | Declaration | Module | Package |
|
|
79
|
-
| --------------------------- | ------------------- | ------------ | --------------------------------------- | ------- |
|
|
80
|
-
| `js` | `default` | DropdownItem | src/components/dropdown/DropdownItem.ts | |
|
|
81
|
-
| `custom-element-definition` | `btu-dropdown-item` | DropdownItem | src/components/dropdown/DropdownItem.ts | |
|
|
1
|
+
# `<btu-dropdown-item>`
|
|
2
|
+
|
|
3
|
+
A menu item component for use inside `btu-dropdown-menu`.
|
|
4
|
+
|
|
5
|
+
Renders as a menu item, divider, or subhead depending on the `type` property.
|
|
6
|
+
Supports checkbox mode (inherited from parent menu), icons, keyboard shortcuts,
|
|
7
|
+
and favorite toggles.
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import '@brightspot/ui/components/dropdown/DropdownItem.js'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Attributes
|
|
14
|
+
|
|
15
|
+
| Attribute | Property | Type | Default | Description |
|
|
16
|
+
| --- | --- | --- | --- | --- |
|
|
17
|
+
| `label` | `label` | `string` | `''` | Display text for the item. |
|
|
18
|
+
| `type` | `type` | `'default' \| 'divider' \| 'subhead'` | `'default'` | Item type: 'default', 'divider', or 'subhead'. |
|
|
19
|
+
| `symbol` | `symbol` | `string` | `''` | Lucide icon symbol. |
|
|
20
|
+
| `shortcut` | `shortcut` | `string` | `''` | Keyboard shortcut display text. |
|
|
21
|
+
| `value` | `value` | `string` | `''` | Optional data value associated with the item. |
|
|
22
|
+
| `disabled` | `disabled` | `boolean` | `false` | Whether the item is disabled. |
|
|
23
|
+
| `selected` | `selected` | `boolean` | `false` | Whether the item is selected/checked. |
|
|
24
|
+
| `favorited` | `favorited` | `boolean` | `false` | Whether the item is favorited. |
|
|
25
|
+
| `error` | `error` | `boolean` | `false` | Whether the item has an error. |
|
|
26
|
+
|
|
27
|
+
## Events
|
|
28
|
+
|
|
29
|
+
| Event | Detail | Description |
|
|
30
|
+
| --- | --- | --- |
|
|
31
|
+
| `btu-dropdown-item-ready` | | Fired after first render |
|
|
32
|
+
| `btu-dropdown-item-select` | `{label: string, value: string, selected: boolean}` | Fired when item is activated |
|
|
33
|
+
| `btu-dropdown-item-favorite` | `{label: string, favorited: boolean}` | Fired when favorite is toggled |
|
|
34
|
+
|
|
35
|
+
## CSS custom properties
|
|
36
|
+
|
|
37
|
+
| Property | Description |
|
|
38
|
+
| --- | --- |
|
|
39
|
+
| `--dropdown-item-font-size` | Item font size (default: theme fontSize.sm) |
|
|
40
|
+
| `--dropdown-item-color` | Item text color (default: gray-700) |
|
|
41
|
+
| `--dropdown-item-background` | Item background color (default: transparent) |
|
|
42
|
+
| `--dropdown-item-hover-background` | Background on hover (default: gray-100) |
|
|
43
|
+
| `--dropdown-item-hover-color` | Text color on hover (default: gray-900) |
|
|
44
|
+
| `--dropdown-item-selected-background` | Background when selected (default: primary-50) |
|
|
45
|
+
| `--dropdown-item-selected-color` | Text color when selected (default: primary-700) |
|