@brightspot/ui 5.1.0 → 5.3.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/esca-avatar/EscaAvatar.d.ts +70 -0
- package/dist/components/esca-avatar/EscaAvatar.d.ts.map +1 -0
- package/dist/components/esca-avatar/EscaAvatar.js +218 -0
- package/dist/components/esca-avatar/EscaAvatar.js.map +1 -0
- package/dist/components/esca-avatar/animations/esca-search.json +1 -0
- package/dist/components/esca-avatar/animations/esca-task-complete.json +1 -0
- package/dist/components/esca-avatar/animations/esca-wave.json +1 -0
- package/dist/custom-elements.json +619 -387
- package/dist/storybook/assets/{ActionBar.stories-D9ok2eVg.js → ActionBar.stories-1Iqfy4PV.js} +1 -1
- package/dist/storybook/assets/{ActionItem.stories-DjPfYpgA.js → ActionItem.stories-DjKyE7m_.js} +1 -1
- package/dist/storybook/assets/{Avatar.stories-Di3s5wxK.js → Avatar.stories-Dy36fKQN.js} +1 -1
- package/dist/storybook/assets/{AvatarGroup.stories-CT7lYX_U.js → AvatarGroup.stories-Bh8TY9-P.js} +1 -1
- package/dist/storybook/assets/{Badge.stories-9unZqfhH.js → Badge.stories-Bn0aBHka.js} +1 -1
- package/dist/storybook/assets/{Button-DuuAvVjP.js → Button-D8Sr8A-v.js} +1 -1
- package/dist/storybook/assets/{Button.stories-KDBmJ9xt.js → Button.stories-CtRBI4gv.js} +1 -1
- package/dist/storybook/assets/{ButtonGroup.stories-BeWYMkDy.js → ButtonGroup.stories-CVjQWgMD.js} +1 -1
- package/dist/storybook/assets/{Card.stories-BNMJ-H5I.js → Card.stories-DXTqqbXb.js} +1 -1
- package/dist/storybook/assets/{Celebrate.stories-Cue8O4hb.js → Celebrate.stories-DwQeQ1VN.js} +1 -1
- package/dist/storybook/assets/{Checkbox.stories-DLe4npId.js → Checkbox.stories-D4AyVy-V.js} +1 -1
- package/dist/storybook/assets/{CircularProgress.stories-BHB2K82M.js → CircularProgress.stories-D6dHpD70.js} +1 -1
- package/dist/storybook/assets/{ClipboardMixin.stories-mU-JGoHp.js → ClipboardMixin.stories-CvYj7bwY.js} +1 -1
- package/dist/storybook/assets/{Color-6BZIO3FS-D3GAvUXG.js → Color-6BZIO3FS-o6fp9dCO.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-a83X2cLQ.js → Colors.stories-Bg-Xuo05.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-sLTopxBQ.js → CombinedEffects.stories-C4SNTP9M.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin-CJ9pmXHc.js → ComponentStatesMixin-Dj1V-e8c.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-DSkFzAxR.js → ComponentStatesMixin.stories-CUoagWLT.js} +1 -1
- package/dist/storybook/assets/{CopyToClipboard.stories-DqMxtd4b.js → CopyToClipboard.stories-ynkFni9d.js} +1 -1
- package/dist/storybook/assets/{Debounce.stories-DV30whKw.js → Debounce.stories-xAZ6AOUR.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-DmVtYsJx.js → DocsRenderer-LL677BLK-DeoiTMLA.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-sCz8_Hkw.js → Dropdown.stories-BQzwsyHE.js} +1 -1
- package/dist/storybook/assets/{EmptyState.stories-kBKfr87C.js → EmptyState.stories-CrckJlBX.js} +1 -1
- package/dist/storybook/assets/EscaAvatar.stories-BikckAep.js +138 -0
- package/dist/storybook/assets/{Events.stories-BXdHEFJR.js → Events.stories-DC0XMBhF.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-B2XJMBD8.js → Heading.stories-7YtY0gNK.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-BfzsAQYM.js → HueRipple.stories-hRstwRnF.js} +1 -1
- package/dist/storybook/assets/{Icon.stories--pcHe1x-.js → Icon.stories-4-2N4UlX.js} +1 -1
- package/dist/storybook/assets/{IconButton.stories-dbXfrgH3.js → IconButton.stories-ClpNoAT9.js} +1 -1
- package/dist/storybook/assets/{LinearProgress.stories-CApOBX0x.js → LinearProgress.stories-BlH24bsJ.js} +1 -1
- package/dist/storybook/assets/{OnFindMixin.stories-df6ckqw3.js → OnFindMixin.stories-CKoPIaks.js} +1 -1
- package/dist/storybook/assets/{Pagination.stories-_MiDRipW.js → Pagination.stories-CER9zwKW.js} +1 -1
- package/dist/storybook/assets/{Popover.stories-9hVZFeMx.js → Popover.stories-CO7t4Pl8.js} +1 -1
- package/dist/storybook/assets/{ReadyMixin-HHwtCrVi.js → ReadyMixin-C_H-s0cp.js} +1 -1
- package/dist/storybook/assets/{RovingTabindexMixin.stories-B6MPGbVh.js → RovingTabindexMixin.stories-0Sny7BQc.js} +1 -1
- package/dist/storybook/assets/{Rtc.stories-D3tZOSkM.js → Rtc.stories-Ci7CnFM6.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-B1dTcJR4.js → ScrollShadow.stories-CSbM9xdE.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-Bp-Guy3z.js → Switch.stories-D-SGY0dL.js} +1 -1
- package/dist/storybook/assets/{Tab.stories-Caxi7G_1.js → Tab.stories-DXeloL5R.js} +1 -1
- package/dist/storybook/assets/{Tabs.stories-g5Nb7YDi.js → Tabs.stories-KGjrQHnj.js} +1 -1
- package/dist/storybook/assets/{Throttle.stories-BzWv-mzN.js → Throttle.stories-SjszmCVX.js} +1 -1
- package/dist/storybook/assets/{Tooltip.stories-BlaTc14X.js → Tooltip.stories-DZty4zmq.js} +1 -1
- package/dist/storybook/assets/{Upload.stories-a9edmUmW.js → Upload.stories-CoM7bgt1.js} +1 -1
- package/dist/storybook/assets/{UploadItem.stories-BOIu5j_i.js → UploadItem.stories-CRrp-ZTV.js} +1 -1
- package/dist/storybook/assets/{Welcome.stories-D33npbIl.js → Welcome.stories-lQ_IWtd1.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-D0vHPAyP.js → Widget.stories-rY-A2yAZ.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-WOhnQufs.js → WithTooltip-65CFNBJE-asVkTqyz.js} +1 -1
- package/dist/storybook/assets/{blocks-B17JEOI8.js → blocks-D-cAwpi5.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU-QKmiwKu7.js → formatter-EIJCOSYU-CaSK-GPg.js} +1 -1
- package/dist/storybook/assets/if-defined-aps73Iby.js +1 -0
- package/dist/storybook/assets/iframe-1F7Ef_8q.css +1 -0
- package/dist/storybook/assets/{iframe-BqpRijx3.js → iframe-DpPeZoRd.js} +9 -9
- package/dist/storybook/assets/{index-CpksO7cK.js → index-Eb_LP-gw.js} +1 -1
- package/dist/storybook/assets/{onFind-C_VPLxg8.js → onFind-D8gPkhwL.js} +1 -1
- package/dist/storybook/assets/{onFind.stories-BuZMC3tk.js → onFind.stories-C_2tTxBq.js} +1 -1
- package/dist/storybook/assets/{onRemove.stories-HDkMhdmO.js → onRemove.stories-D-gjr3kA.js} +1 -1
- package/dist/storybook/assets/{onVisible.stories-CRCllRfN.js → onVisible.stories-DGfzNLoX.js} +1 -1
- package/dist/storybook/assets/{style-map-DukvFNCc.js → style-map-WEdc6AkA.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-BUo_WYvV.js → syntaxhighlighter-ED5Y7EFY-CCM2wmJ3.js} +1 -1
- package/dist/storybook/iframe.html +2 -2
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/tailwind-plugin-button.js +5 -5
- package/dist/tailwind-plugin-button.js.map +1 -1
- package/dist/tailwind-plugin-button.ts +5 -5
- package/dist/tailwind.config.d.ts.map +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/tailwind.config.js.map +1 -1
- package/dist/tailwind.config.ts +1 -2
- package/dist/util/EventEmitterMixin.d.ts +4 -0
- package/dist/util/EventEmitterMixin.d.ts.map +1 -1
- package/dist/util/EventEmitterMixin.js.map +1 -1
- package/docs/components/EscaAvatar.md +70 -0
- package/docs/components/README.md +1 -0
- package/package.json +3 -1
- package/src/legacy/tool-ui/src/ContentForm.css +1 -1
- package/src/legacy/tool-ui/src/Guide.css +1 -1
- package/src/legacy/tool-ui/src/Notification.css +1 -1
- package/src/legacy/tool-ui/src/Popup.css +4 -1
- package/src/legacy/tool-ui/src/RepeatableContentInputGroup.css +3 -3
- package/src/legacy/tool-ui/src/dropdown/index.ts +2 -2
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.c6f3142a97caa5cd3c21.js +500 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v4.c1c3bde6e394b2a2b75c.css +3 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v4.b892feb8ec199202fd18.js → v4.da15ce3ce45e85b4880a.js} +3 -3
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.4edf99db4a5f4969d041.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v5.493c3ddf65c4fa599ff0.js → v5.8491d982a282935a3058.js} +4 -4
- package/src/legacy/tool-ui/src/main/webapp/v4/ContentForm.less +1 -1
- package/src/legacy/tool-ui/src/main/webapp/v4/ContentSelector.less +3 -3
- package/src/legacy/tool-ui/src/v5.ts +1 -1
- package/dist/storybook/assets/if-defined-0srVwUDm.js +0 -1
- package/dist/storybook/assets/iframe-DfU9RLLj.css +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.e8344eaeea387c600257.js +0 -500
- package/src/legacy/tool-ui/src/main/webapp/dist/v4.a6f53058dbb04a69aa5c.css +0 -3
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.d49a759cb0b7cffd76e4.css +0 -5
- /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.e8344eaeea387c600257.js.LICENSE.txt → RTEProseMirror.c6f3142a97caa5cd3c21.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.b892feb8ec199202fd18.js.LICENSE.txt → v4.da15ce3ce45e85b4880a.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.493c3ddf65c4fa599ff0.js.LICENSE.txt → v5.8491d982a282935a3058.js.LICENSE.txt} +0 -0
|
@@ -2103,234 +2103,114 @@
|
|
|
2103
2103
|
},
|
|
2104
2104
|
{
|
|
2105
2105
|
"kind": "javascript-module",
|
|
2106
|
-
"path": "src/components/
|
|
2106
|
+
"path": "src/components/card/Card.ts",
|
|
2107
2107
|
"declarations": [
|
|
2108
2108
|
{
|
|
2109
2109
|
"kind": "class",
|
|
2110
|
-
"description": "A
|
|
2111
|
-
"name": "
|
|
2110
|
+
"description": "A flexible content container for presenting and organizing information.\n\nThe layout is driven by composition:\n\n- a direct `<img>` or `<btu-icon>` child renders the media layout (image area);\n the icon shows in the image area as the fallback.\n- neither child renders a text-only card.\n- the `compact` attribute renders a quick-start tile; only a\n featured `<btu-icon>` and the `action` slot are used.\n\nComposable children, all relocated into the layout automatically:\n- `<img>` — the thumbnail.\n- `<btu-icon>` — the featured icon (compact) or the media image fallback (shown\n when no `<img>` is provided or it fails to load; defaults to `file-text`). The card sizes it.\n- `<btu-badge>` — a status badge.\n- `slot=\"action\"` / `slot=\"secondary-action\"` — a control in the top-right corner\n or next to the title. A `<btu-checkbox>` there stays visible and toggles the\n selected styling (listen for the bubbling `btu-checkbox-change` event); buttons\n reveal on hover/focus.\n\nCards are full-width by default and rely on the parent layout (grid or flex) to\ncontrol their size.",
|
|
2111
|
+
"name": "Card",
|
|
2112
2112
|
"cssProperties": [
|
|
2113
2113
|
{
|
|
2114
|
-
"description": "
|
|
2115
|
-
"name": "--
|
|
2114
|
+
"description": "Minimum width of the card (default: 160px)",
|
|
2115
|
+
"name": "--card-min-width"
|
|
2116
2116
|
},
|
|
2117
2117
|
{
|
|
2118
|
-
"description": "
|
|
2119
|
-
"name": "--
|
|
2118
|
+
"description": "Background color (default: var(--btu-theme-white))",
|
|
2119
|
+
"name": "--card-background"
|
|
2120
2120
|
},
|
|
2121
2121
|
{
|
|
2122
|
-
"description": "Border
|
|
2123
|
-
"name": "--
|
|
2122
|
+
"description": "Border style (default: 1px solid gray-200)",
|
|
2123
|
+
"name": "--card-border"
|
|
2124
2124
|
},
|
|
2125
2125
|
{
|
|
2126
|
-
"description": "Corner rounding
|
|
2127
|
-
"name": "--
|
|
2126
|
+
"description": "Corner rounding (default: 8px)",
|
|
2127
|
+
"name": "--card-radius"
|
|
2128
2128
|
},
|
|
2129
2129
|
{
|
|
2130
|
-
"description": "
|
|
2131
|
-
"name": "--
|
|
2130
|
+
"description": "Fixed aspect ratio for the thumbnail when an `<img>` child is present (default: 16 / 9)",
|
|
2131
|
+
"name": "--card-img-ratio"
|
|
2132
2132
|
},
|
|
2133
2133
|
{
|
|
2134
|
-
"description": "
|
|
2135
|
-
"name": "--
|
|
2134
|
+
"description": "Object-fit mode for the `<img>` child thumbnail (default: contain)",
|
|
2135
|
+
"name": "--card-img-fit"
|
|
2136
2136
|
},
|
|
2137
2137
|
{
|
|
2138
|
-
"description": "
|
|
2139
|
-
"name": "--
|
|
2138
|
+
"description": "Background color behind the composed icon (compact card and media-image fallback) (default: gray-100)",
|
|
2139
|
+
"name": "--card-icon-background"
|
|
2140
2140
|
}
|
|
2141
2141
|
],
|
|
2142
|
-
"
|
|
2143
|
-
{
|
|
2144
|
-
"kind": "field",
|
|
2145
|
-
"name": "label",
|
|
2146
|
-
"type": {
|
|
2147
|
-
"text": "string | undefined"
|
|
2148
|
-
},
|
|
2149
|
-
"description": "The text label displayed next to the checkbox.",
|
|
2150
|
-
"attribute": "label"
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
"kind": "field",
|
|
2154
|
-
"name": "description",
|
|
2155
|
-
"type": {
|
|
2156
|
-
"text": "string | undefined"
|
|
2157
|
-
},
|
|
2158
|
-
"description": "Optional helper text displayed below the label.",
|
|
2159
|
-
"attribute": "description"
|
|
2160
|
-
},
|
|
2142
|
+
"slots": [
|
|
2161
2143
|
{
|
|
2162
|
-
"
|
|
2163
|
-
"name": "
|
|
2164
|
-
"type": {
|
|
2165
|
-
"text": "'sm' | 'md'"
|
|
2166
|
-
},
|
|
2167
|
-
"default": "'sm'",
|
|
2168
|
-
"description": "Controls the scale of the checkbox and associated typography.",
|
|
2169
|
-
"attribute": "size",
|
|
2170
|
-
"reflects": true
|
|
2144
|
+
"description": "Intended for a single action in the top-right corner of the card.",
|
|
2145
|
+
"name": "action"
|
|
2171
2146
|
},
|
|
2172
2147
|
{
|
|
2173
|
-
"
|
|
2174
|
-
"name": "
|
|
2175
|
-
"type": {
|
|
2176
|
-
"text": "boolean"
|
|
2177
|
-
},
|
|
2178
|
-
"default": "false",
|
|
2179
|
-
"description": "Whether the checkbox is currently selected.",
|
|
2180
|
-
"attribute": "checked",
|
|
2181
|
-
"reflects": true
|
|
2148
|
+
"description": "Intended for a single action next to the title.",
|
|
2149
|
+
"name": "secondary-action"
|
|
2182
2150
|
},
|
|
2183
2151
|
{
|
|
2184
|
-
"
|
|
2185
|
-
"name": "
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
"default": "false",
|
|
2190
|
-
"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.",
|
|
2191
|
-
"attribute": "indeterminate",
|
|
2192
|
-
"reflects": true
|
|
2193
|
-
},
|
|
2152
|
+
"description": "Intended for additional metadata fields displayed below the title & description",
|
|
2153
|
+
"name": "fields"
|
|
2154
|
+
}
|
|
2155
|
+
],
|
|
2156
|
+
"members": [
|
|
2194
2157
|
{
|
|
2195
2158
|
"kind": "field",
|
|
2196
|
-
"name": "
|
|
2159
|
+
"name": "heading",
|
|
2197
2160
|
"type": {
|
|
2198
|
-
"text": "
|
|
2161
|
+
"text": "string"
|
|
2199
2162
|
},
|
|
2200
|
-
"default": "
|
|
2201
|
-
"description": "
|
|
2202
|
-
"attribute": "
|
|
2203
|
-
"reflects": true
|
|
2163
|
+
"default": "''",
|
|
2164
|
+
"description": "Heading text displayed on the card.",
|
|
2165
|
+
"attribute": "heading"
|
|
2204
2166
|
},
|
|
2205
2167
|
{
|
|
2206
2168
|
"kind": "field",
|
|
2207
|
-
"name": "
|
|
2169
|
+
"name": "headingLevel",
|
|
2208
2170
|
"type": {
|
|
2209
|
-
"text": "
|
|
2171
|
+
"text": "number"
|
|
2210
2172
|
},
|
|
2211
|
-
"default": "
|
|
2212
|
-
"description": "
|
|
2213
|
-
"attribute": "
|
|
2214
|
-
"reflects": true
|
|
2173
|
+
"default": "2",
|
|
2174
|
+
"description": "Heading level (1-6) for the card heading element. Drives the semantic h1–h6 tag.\nInvalid values log a warning and fall back to the default (2).",
|
|
2175
|
+
"attribute": "heading-level"
|
|
2215
2176
|
},
|
|
2216
2177
|
{
|
|
2217
2178
|
"kind": "field",
|
|
2218
|
-
"name": "
|
|
2179
|
+
"name": "description",
|
|
2219
2180
|
"type": {
|
|
2220
2181
|
"text": "string | undefined"
|
|
2221
2182
|
},
|
|
2222
|
-
"description": "
|
|
2223
|
-
"attribute": "
|
|
2183
|
+
"description": "Supporting body text. Truncated to 3 lines via CSS.",
|
|
2184
|
+
"attribute": "description"
|
|
2224
2185
|
},
|
|
2225
2186
|
{
|
|
2226
2187
|
"kind": "field",
|
|
2227
|
-
"name": "
|
|
2188
|
+
"name": "compact",
|
|
2228
2189
|
"type": {
|
|
2229
2190
|
"text": "boolean"
|
|
2230
2191
|
},
|
|
2231
2192
|
"default": "false",
|
|
2232
|
-
"description": "
|
|
2233
|
-
"attribute": "
|
|
2234
|
-
"reflects": true
|
|
2235
|
-
},
|
|
2236
|
-
{
|
|
2237
|
-
"kind": "field",
|
|
2238
|
-
"name": "name",
|
|
2239
|
-
"type": {
|
|
2240
|
-
"text": "string | undefined"
|
|
2241
|
-
},
|
|
2242
|
-
"description": "Name of the form control submitted with the form data.",
|
|
2243
|
-
"attribute": "name"
|
|
2244
|
-
},
|
|
2245
|
-
{
|
|
2246
|
-
"kind": "field",
|
|
2247
|
-
"name": "value",
|
|
2248
|
-
"type": {
|
|
2249
|
-
"text": "string"
|
|
2250
|
-
},
|
|
2251
|
-
"default": "'on'",
|
|
2252
|
-
"description": "Value associated with the checkbox when submitted.",
|
|
2253
|
-
"attribute": "value"
|
|
2254
|
-
},
|
|
2255
|
-
{
|
|
2256
|
-
"kind": "field",
|
|
2257
|
-
"name": "_userInitiated",
|
|
2258
|
-
"type": {
|
|
2259
|
-
"text": "boolean"
|
|
2260
|
-
},
|
|
2261
|
-
"privacy": "private",
|
|
2262
|
-
"default": "false"
|
|
2263
|
-
},
|
|
2264
|
-
{
|
|
2265
|
-
"kind": "field",
|
|
2266
|
-
"name": "_initialClasses",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "string[]"
|
|
2269
|
-
},
|
|
2270
|
-
"privacy": "private",
|
|
2271
|
-
"default": "[]"
|
|
2193
|
+
"description": "Renders the card as a compact quick-start tile.\nBadge, image, fields, and secondary-action children are ignored in this case.",
|
|
2194
|
+
"attribute": "compact"
|
|
2272
2195
|
},
|
|
2273
2196
|
{
|
|
2274
2197
|
"kind": "field",
|
|
2275
|
-
"name": "
|
|
2198
|
+
"name": "disabled",
|
|
2276
2199
|
"type": {
|
|
2277
2200
|
"text": "boolean"
|
|
2278
2201
|
},
|
|
2279
|
-
"
|
|
2280
|
-
"
|
|
2281
|
-
|
|
2282
|
-
{
|
|
2283
|
-
"kind": "field",
|
|
2284
|
-
"name": "_descId",
|
|
2285
|
-
"privacy": "private",
|
|
2286
|
-
"default": "`checkbox-desc-${crypto.randomUUID()}`"
|
|
2287
|
-
},
|
|
2288
|
-
{
|
|
2289
|
-
"kind": "field",
|
|
2290
|
-
"name": "_errorId",
|
|
2291
|
-
"privacy": "private",
|
|
2292
|
-
"default": "`checkbox-error-${crypto.randomUUID()}`"
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"kind": "method",
|
|
2296
|
-
"name": "_onInputChange",
|
|
2297
|
-
"privacy": "private",
|
|
2298
|
-
"return": {
|
|
2299
|
-
"type": {
|
|
2300
|
-
"text": "void"
|
|
2301
|
-
}
|
|
2302
|
-
},
|
|
2303
|
-
"parameters": [
|
|
2304
|
-
{
|
|
2305
|
-
"name": "e",
|
|
2306
|
-
"type": {
|
|
2307
|
-
"text": "Event"
|
|
2308
|
-
}
|
|
2309
|
-
}
|
|
2310
|
-
]
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
"kind": "field",
|
|
2314
|
-
"name": "_handleClick",
|
|
2315
|
-
"privacy": "private"
|
|
2202
|
+
"default": "false",
|
|
2203
|
+
"description": "Whether the card is disabled.",
|
|
2204
|
+
"attribute": "disabled"
|
|
2316
2205
|
},
|
|
2317
2206
|
{
|
|
2318
2207
|
"kind": "field",
|
|
2319
|
-
"name": "
|
|
2208
|
+
"name": "href",
|
|
2320
2209
|
"type": {
|
|
2321
2210
|
"text": "string | undefined"
|
|
2322
2211
|
},
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2325
|
-
},
|
|
2326
|
-
{
|
|
2327
|
-
"kind": "field",
|
|
2328
|
-
"name": "_iconSymbol",
|
|
2329
|
-
"type": {
|
|
2330
|
-
"text": "'minus' | 'check'"
|
|
2331
|
-
},
|
|
2332
|
-
"privacy": "private",
|
|
2333
|
-
"readonly": true
|
|
2212
|
+
"description": "Navigation URL for the entire card surface.\nWhen set, the card renders as a link.",
|
|
2213
|
+
"attribute": "href"
|
|
2334
2214
|
},
|
|
2335
2215
|
{
|
|
2336
2216
|
"kind": "method",
|
|
@@ -2362,72 +2242,91 @@
|
|
|
2362
2242
|
"name": "EventEmitterMixin",
|
|
2363
2243
|
"module": "src/util/EventEmitterMixin.ts"
|
|
2364
2244
|
}
|
|
2365
|
-
}
|
|
2366
|
-
],
|
|
2367
|
-
"events": [
|
|
2245
|
+
},
|
|
2368
2246
|
{
|
|
2247
|
+
"kind": "field",
|
|
2248
|
+
"name": "#stopFns",
|
|
2249
|
+
"privacy": "private",
|
|
2369
2250
|
"type": {
|
|
2370
|
-
"text": "
|
|
2251
|
+
"text": "Array<() => void>"
|
|
2371
2252
|
},
|
|
2372
|
-
"
|
|
2373
|
-
"
|
|
2253
|
+
"default": "[]",
|
|
2254
|
+
"inheritedFrom": {
|
|
2255
|
+
"name": "OnFindMixin",
|
|
2256
|
+
"module": "src/util/OnFindMixin.ts"
|
|
2257
|
+
}
|
|
2374
2258
|
},
|
|
2375
2259
|
{
|
|
2376
|
-
"
|
|
2377
|
-
|
|
2260
|
+
"kind": "method",
|
|
2261
|
+
"name": "onFindRegistration",
|
|
2262
|
+
"return": {
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "OnFindRegistration | OnFindRegistration[] | null"
|
|
2265
|
+
}
|
|
2378
2266
|
},
|
|
2379
|
-
"
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2267
|
+
"inheritedFrom": {
|
|
2268
|
+
"name": "OnFindMixin",
|
|
2269
|
+
"module": "src/util/OnFindMixin.ts"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2384
2272
|
{
|
|
2385
|
-
"
|
|
2386
|
-
"
|
|
2387
|
-
|
|
2273
|
+
"kind": "method",
|
|
2274
|
+
"name": "#armFind",
|
|
2275
|
+
"privacy": "private",
|
|
2276
|
+
"inheritedFrom": {
|
|
2277
|
+
"name": "OnFindMixin",
|
|
2278
|
+
"module": "src/util/OnFindMixin.ts"
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
],
|
|
2282
|
+
"events": [
|
|
2283
|
+
{
|
|
2284
|
+
"type": {
|
|
2285
|
+
"text": "CustomEvent"
|
|
2388
2286
|
},
|
|
2389
|
-
"description": "
|
|
2390
|
-
"
|
|
2391
|
-
|
|
2392
|
-
|
|
2287
|
+
"description": "Fired after first render and initialization",
|
|
2288
|
+
"name": "btu-card-ready"
|
|
2289
|
+
}
|
|
2290
|
+
],
|
|
2291
|
+
"attributes": [
|
|
2393
2292
|
{
|
|
2394
|
-
"name": "
|
|
2293
|
+
"name": "heading",
|
|
2395
2294
|
"type": {
|
|
2396
|
-
"text": "string
|
|
2295
|
+
"text": "string"
|
|
2397
2296
|
},
|
|
2398
|
-
"
|
|
2399
|
-
"
|
|
2400
|
-
"
|
|
2297
|
+
"default": "''",
|
|
2298
|
+
"description": "Heading text displayed on the card.",
|
|
2299
|
+
"fieldName": "heading",
|
|
2300
|
+
"attribute": "heading"
|
|
2401
2301
|
},
|
|
2402
2302
|
{
|
|
2403
|
-
"name": "
|
|
2303
|
+
"name": "heading-level",
|
|
2404
2304
|
"type": {
|
|
2405
|
-
"text": "
|
|
2305
|
+
"text": "number"
|
|
2406
2306
|
},
|
|
2407
|
-
"default": "
|
|
2408
|
-
"description": "
|
|
2409
|
-
"fieldName": "
|
|
2410
|
-
"attribute": "
|
|
2307
|
+
"default": "2",
|
|
2308
|
+
"description": "Heading level (1-6) for the card heading element. Drives the semantic h1–h6 tag.\nInvalid values log a warning and fall back to the default (2).",
|
|
2309
|
+
"fieldName": "headingLevel",
|
|
2310
|
+
"attribute": "heading-level"
|
|
2411
2311
|
},
|
|
2412
2312
|
{
|
|
2413
|
-
"name": "
|
|
2313
|
+
"name": "description",
|
|
2414
2314
|
"type": {
|
|
2415
|
-
"text": "
|
|
2315
|
+
"text": "string | undefined"
|
|
2416
2316
|
},
|
|
2417
|
-
"
|
|
2418
|
-
"
|
|
2419
|
-
"
|
|
2420
|
-
"attribute": "checked"
|
|
2317
|
+
"description": "Supporting body text. Truncated to 3 lines via CSS.",
|
|
2318
|
+
"fieldName": "description",
|
|
2319
|
+
"attribute": "description"
|
|
2421
2320
|
},
|
|
2422
2321
|
{
|
|
2423
|
-
"name": "
|
|
2322
|
+
"name": "compact",
|
|
2424
2323
|
"type": {
|
|
2425
2324
|
"text": "boolean"
|
|
2426
2325
|
},
|
|
2427
2326
|
"default": "false",
|
|
2428
|
-
"description": "
|
|
2429
|
-
"fieldName": "
|
|
2430
|
-
"attribute": "
|
|
2327
|
+
"description": "Renders the card as a compact quick-start tile.\nBadge, image, fields, and secondary-action children are ignored in this case.",
|
|
2328
|
+
"fieldName": "compact",
|
|
2329
|
+
"attribute": "compact"
|
|
2431
2330
|
},
|
|
2432
2331
|
{
|
|
2433
2332
|
"name": "disabled",
|
|
@@ -2435,57 +2334,18 @@
|
|
|
2435
2334
|
"text": "boolean"
|
|
2436
2335
|
},
|
|
2437
2336
|
"default": "false",
|
|
2438
|
-
"description": "
|
|
2337
|
+
"description": "Whether the card is disabled.",
|
|
2439
2338
|
"fieldName": "disabled",
|
|
2440
2339
|
"attribute": "disabled"
|
|
2441
2340
|
},
|
|
2442
2341
|
{
|
|
2443
|
-
"name": "
|
|
2444
|
-
"type": {
|
|
2445
|
-
"text": "boolean"
|
|
2446
|
-
},
|
|
2447
|
-
"default": "false",
|
|
2448
|
-
"description": "If true, displays error styling on the checkbox.",
|
|
2449
|
-
"fieldName": "invalid",
|
|
2450
|
-
"attribute": "invalid"
|
|
2451
|
-
},
|
|
2452
|
-
{
|
|
2453
|
-
"name": "error",
|
|
2454
|
-
"type": {
|
|
2455
|
-
"text": "string | undefined"
|
|
2456
|
-
},
|
|
2457
|
-
"description": "Error message text displayed below the checkbox when validation fails.\nSetting this also activates error styling without needing to set invalid.",
|
|
2458
|
-
"fieldName": "error",
|
|
2459
|
-
"attribute": "error"
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
"name": "required",
|
|
2463
|
-
"type": {
|
|
2464
|
-
"text": "boolean"
|
|
2465
|
-
},
|
|
2466
|
-
"default": "false",
|
|
2467
|
-
"description": "Marks the field as mandatory for form submission.",
|
|
2468
|
-
"fieldName": "required",
|
|
2469
|
-
"attribute": "required"
|
|
2470
|
-
},
|
|
2471
|
-
{
|
|
2472
|
-
"name": "name",
|
|
2342
|
+
"name": "href",
|
|
2473
2343
|
"type": {
|
|
2474
2344
|
"text": "string | undefined"
|
|
2475
2345
|
},
|
|
2476
|
-
"description": "
|
|
2477
|
-
"fieldName": "
|
|
2478
|
-
"attribute": "
|
|
2479
|
-
},
|
|
2480
|
-
{
|
|
2481
|
-
"name": "value",
|
|
2482
|
-
"type": {
|
|
2483
|
-
"text": "string"
|
|
2484
|
-
},
|
|
2485
|
-
"default": "'on'",
|
|
2486
|
-
"description": "Value associated with the checkbox when submitted.",
|
|
2487
|
-
"fieldName": "value",
|
|
2488
|
-
"attribute": "value"
|
|
2346
|
+
"description": "Navigation URL for the entire card surface.\nWhen set, the card renders as a link.",
|
|
2347
|
+
"fieldName": "href",
|
|
2348
|
+
"attribute": "href"
|
|
2489
2349
|
}
|
|
2490
2350
|
],
|
|
2491
2351
|
"mixins": [
|
|
@@ -2493,6 +2353,10 @@
|
|
|
2493
2353
|
"name": "EventEmitterMixin",
|
|
2494
2354
|
"module": "/src/util/EventEmitterMixin.js"
|
|
2495
2355
|
},
|
|
2356
|
+
{
|
|
2357
|
+
"name": "OnFindMixin",
|
|
2358
|
+
"module": "/src/util/OnFindMixin.js"
|
|
2359
|
+
},
|
|
2496
2360
|
{
|
|
2497
2361
|
"name": "ReadyMixin",
|
|
2498
2362
|
"module": "/src/util/ReadyMixin.js"
|
|
@@ -2502,7 +2366,7 @@
|
|
|
2502
2366
|
"name": "LitElement",
|
|
2503
2367
|
"package": "lit"
|
|
2504
2368
|
},
|
|
2505
|
-
"tagName": "btu-
|
|
2369
|
+
"tagName": "btu-card",
|
|
2506
2370
|
"customElement": true
|
|
2507
2371
|
}
|
|
2508
2372
|
],
|
|
@@ -2511,130 +2375,250 @@
|
|
|
2511
2375
|
"kind": "js",
|
|
2512
2376
|
"name": "default",
|
|
2513
2377
|
"declaration": {
|
|
2514
|
-
"name": "
|
|
2515
|
-
"module": "src/components/
|
|
2378
|
+
"name": "Card",
|
|
2379
|
+
"module": "src/components/card/Card.ts"
|
|
2516
2380
|
}
|
|
2517
2381
|
},
|
|
2518
2382
|
{
|
|
2519
2383
|
"kind": "custom-element-definition",
|
|
2520
|
-
"name": "btu-
|
|
2384
|
+
"name": "btu-card",
|
|
2521
2385
|
"declaration": {
|
|
2522
|
-
"name": "
|
|
2523
|
-
"module": "src/components/
|
|
2386
|
+
"name": "Card",
|
|
2387
|
+
"module": "src/components/card/Card.ts"
|
|
2524
2388
|
}
|
|
2525
2389
|
}
|
|
2526
2390
|
]
|
|
2527
2391
|
},
|
|
2528
2392
|
{
|
|
2529
2393
|
"kind": "javascript-module",
|
|
2530
|
-
"path": "src/components/
|
|
2394
|
+
"path": "src/components/checkbox/Checkbox.ts",
|
|
2531
2395
|
"declarations": [
|
|
2532
2396
|
{
|
|
2533
2397
|
"kind": "class",
|
|
2534
|
-
"description": "A
|
|
2535
|
-
"name": "
|
|
2398
|
+
"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).",
|
|
2399
|
+
"name": "Checkbox",
|
|
2536
2400
|
"cssProperties": [
|
|
2537
2401
|
{
|
|
2538
|
-
"description": "
|
|
2539
|
-
"name": "--
|
|
2402
|
+
"description": "Background and border color when checked or indeterminate, and tinted background/border on unchecked hover (default: oklch(var(--btu-theme-primary-700)))",
|
|
2403
|
+
"name": "--checkbox-color-primary"
|
|
2540
2404
|
},
|
|
2541
2405
|
{
|
|
2542
|
-
"description": "
|
|
2543
|
-
"name": "--
|
|
2406
|
+
"description": "Border color in the unchecked state (default: oklch(var(--btu-theme-gray-300)))",
|
|
2407
|
+
"name": "--checkbox-color-border"
|
|
2544
2408
|
},
|
|
2545
2409
|
{
|
|
2546
|
-
"description": "Border
|
|
2547
|
-
"name": "--
|
|
2410
|
+
"description": "Border and text color in the error state (default: oklch(var(--btu-theme-error-600)))",
|
|
2411
|
+
"name": "--checkbox-color-error"
|
|
2548
2412
|
},
|
|
2549
2413
|
{
|
|
2550
|
-
"description": "Corner rounding (default:
|
|
2551
|
-
"name": "--
|
|
2414
|
+
"description": "Corner rounding of the checkbox square (default: 4px)",
|
|
2415
|
+
"name": "--checkbox-border-radius"
|
|
2552
2416
|
},
|
|
2553
2417
|
{
|
|
2554
|
-
"description": "
|
|
2555
|
-
"name": "--
|
|
2418
|
+
"description": "Distance between the checkbox and the label (default: 0.75rem)",
|
|
2419
|
+
"name": "--checkbox-label-spacing"
|
|
2556
2420
|
},
|
|
2557
2421
|
{
|
|
2558
|
-
"description": "
|
|
2559
|
-
"name": "--
|
|
2422
|
+
"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.",
|
|
2423
|
+
"name": "--checkbox-box-size"
|
|
2560
2424
|
},
|
|
2561
2425
|
{
|
|
2562
|
-
"description": "
|
|
2563
|
-
"name": "--
|
|
2426
|
+
"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.",
|
|
2427
|
+
"name": "--checkbox-icon-size"
|
|
2564
2428
|
}
|
|
2565
2429
|
],
|
|
2566
|
-
"
|
|
2430
|
+
"members": [
|
|
2567
2431
|
{
|
|
2568
|
-
"
|
|
2569
|
-
"name": "
|
|
2432
|
+
"kind": "field",
|
|
2433
|
+
"name": "label",
|
|
2434
|
+
"type": {
|
|
2435
|
+
"text": "string | undefined"
|
|
2436
|
+
},
|
|
2437
|
+
"description": "The text label displayed next to the checkbox.",
|
|
2438
|
+
"attribute": "label"
|
|
2570
2439
|
},
|
|
2571
2440
|
{
|
|
2572
|
-
"
|
|
2573
|
-
"name": "
|
|
2441
|
+
"kind": "field",
|
|
2442
|
+
"name": "description",
|
|
2443
|
+
"type": {
|
|
2444
|
+
"text": "string | undefined"
|
|
2445
|
+
},
|
|
2446
|
+
"description": "Optional helper text displayed below the label.",
|
|
2447
|
+
"attribute": "description"
|
|
2574
2448
|
},
|
|
2575
2449
|
{
|
|
2576
|
-
"
|
|
2577
|
-
"name": "
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2450
|
+
"kind": "field",
|
|
2451
|
+
"name": "size",
|
|
2452
|
+
"type": {
|
|
2453
|
+
"text": "'sm' | 'md'"
|
|
2454
|
+
},
|
|
2455
|
+
"default": "'sm'",
|
|
2456
|
+
"description": "Controls the scale of the checkbox and associated typography.",
|
|
2457
|
+
"attribute": "size",
|
|
2458
|
+
"reflects": true
|
|
2459
|
+
},
|
|
2581
2460
|
{
|
|
2582
2461
|
"kind": "field",
|
|
2583
|
-
"name": "
|
|
2462
|
+
"name": "checked",
|
|
2584
2463
|
"type": {
|
|
2585
|
-
"text": "
|
|
2464
|
+
"text": "boolean"
|
|
2586
2465
|
},
|
|
2587
|
-
"default": "
|
|
2588
|
-
"description": "
|
|
2589
|
-
"attribute": "
|
|
2466
|
+
"default": "false",
|
|
2467
|
+
"description": "Whether the checkbox is currently selected.",
|
|
2468
|
+
"attribute": "checked",
|
|
2469
|
+
"reflects": true
|
|
2590
2470
|
},
|
|
2591
2471
|
{
|
|
2592
2472
|
"kind": "field",
|
|
2593
|
-
"name": "
|
|
2473
|
+
"name": "indeterminate",
|
|
2594
2474
|
"type": {
|
|
2595
|
-
"text": "
|
|
2475
|
+
"text": "boolean"
|
|
2596
2476
|
},
|
|
2597
|
-
"default": "
|
|
2598
|
-
"description": "
|
|
2599
|
-
"attribute": "
|
|
2477
|
+
"default": "false",
|
|
2478
|
+
"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.",
|
|
2479
|
+
"attribute": "indeterminate",
|
|
2480
|
+
"reflects": true
|
|
2600
2481
|
},
|
|
2601
2482
|
{
|
|
2602
2483
|
"kind": "field",
|
|
2603
|
-
"name": "
|
|
2484
|
+
"name": "disabled",
|
|
2604
2485
|
"type": {
|
|
2605
|
-
"text": "
|
|
2486
|
+
"text": "boolean"
|
|
2606
2487
|
},
|
|
2607
|
-
"
|
|
2608
|
-
"
|
|
2488
|
+
"default": "false",
|
|
2489
|
+
"description": "If true, the checkbox is non-interactive and visually muted.",
|
|
2490
|
+
"attribute": "disabled",
|
|
2491
|
+
"reflects": true
|
|
2609
2492
|
},
|
|
2610
2493
|
{
|
|
2611
2494
|
"kind": "field",
|
|
2612
|
-
"name": "
|
|
2495
|
+
"name": "invalid",
|
|
2613
2496
|
"type": {
|
|
2614
2497
|
"text": "boolean"
|
|
2615
2498
|
},
|
|
2616
2499
|
"default": "false",
|
|
2617
|
-
"description": "
|
|
2618
|
-
"attribute": "
|
|
2500
|
+
"description": "If true, displays error styling on the checkbox.",
|
|
2501
|
+
"attribute": "invalid",
|
|
2502
|
+
"reflects": true
|
|
2619
2503
|
},
|
|
2620
2504
|
{
|
|
2621
2505
|
"kind": "field",
|
|
2622
|
-
"name": "
|
|
2506
|
+
"name": "error",
|
|
2507
|
+
"type": {
|
|
2508
|
+
"text": "string | undefined"
|
|
2509
|
+
},
|
|
2510
|
+
"description": "Error message text displayed below the checkbox when validation fails.\nSetting this also activates error styling without needing to set invalid.",
|
|
2511
|
+
"attribute": "error"
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
"kind": "field",
|
|
2515
|
+
"name": "required",
|
|
2623
2516
|
"type": {
|
|
2624
2517
|
"text": "boolean"
|
|
2625
2518
|
},
|
|
2626
2519
|
"default": "false",
|
|
2627
|
-
"description": "
|
|
2628
|
-
"attribute": "
|
|
2520
|
+
"description": "Marks the field as mandatory for form submission.",
|
|
2521
|
+
"attribute": "required",
|
|
2522
|
+
"reflects": true
|
|
2629
2523
|
},
|
|
2630
2524
|
{
|
|
2631
2525
|
"kind": "field",
|
|
2632
|
-
"name": "
|
|
2526
|
+
"name": "name",
|
|
2633
2527
|
"type": {
|
|
2634
2528
|
"text": "string | undefined"
|
|
2635
2529
|
},
|
|
2636
|
-
"description": "
|
|
2637
|
-
"attribute": "
|
|
2530
|
+
"description": "Name of the form control submitted with the form data.",
|
|
2531
|
+
"attribute": "name"
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"kind": "field",
|
|
2535
|
+
"name": "value",
|
|
2536
|
+
"type": {
|
|
2537
|
+
"text": "string"
|
|
2538
|
+
},
|
|
2539
|
+
"default": "'on'",
|
|
2540
|
+
"description": "Value associated with the checkbox when submitted.",
|
|
2541
|
+
"attribute": "value"
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"kind": "field",
|
|
2545
|
+
"name": "_userInitiated",
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "boolean"
|
|
2548
|
+
},
|
|
2549
|
+
"privacy": "private",
|
|
2550
|
+
"default": "false"
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"kind": "field",
|
|
2554
|
+
"name": "_initialClasses",
|
|
2555
|
+
"type": {
|
|
2556
|
+
"text": "string[]"
|
|
2557
|
+
},
|
|
2558
|
+
"privacy": "private",
|
|
2559
|
+
"default": "[]"
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"kind": "field",
|
|
2563
|
+
"name": "_initialClassesCaptured",
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "boolean"
|
|
2566
|
+
},
|
|
2567
|
+
"privacy": "private",
|
|
2568
|
+
"default": "false"
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "field",
|
|
2572
|
+
"name": "_descId",
|
|
2573
|
+
"privacy": "private",
|
|
2574
|
+
"default": "`checkbox-desc-${crypto.randomUUID()}`"
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"kind": "field",
|
|
2578
|
+
"name": "_errorId",
|
|
2579
|
+
"privacy": "private",
|
|
2580
|
+
"default": "`checkbox-error-${crypto.randomUUID()}`"
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"kind": "method",
|
|
2584
|
+
"name": "_onInputChange",
|
|
2585
|
+
"privacy": "private",
|
|
2586
|
+
"return": {
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "void"
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2591
|
+
"parameters": [
|
|
2592
|
+
{
|
|
2593
|
+
"name": "e",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "Event"
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
]
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"kind": "field",
|
|
2602
|
+
"name": "_handleClick",
|
|
2603
|
+
"privacy": "private"
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"kind": "field",
|
|
2607
|
+
"name": "_describedBy",
|
|
2608
|
+
"type": {
|
|
2609
|
+
"text": "string | undefined"
|
|
2610
|
+
},
|
|
2611
|
+
"privacy": "private",
|
|
2612
|
+
"readonly": true
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
"kind": "field",
|
|
2616
|
+
"name": "_iconSymbol",
|
|
2617
|
+
"type": {
|
|
2618
|
+
"text": "'minus' | 'check'"
|
|
2619
|
+
},
|
|
2620
|
+
"privacy": "private",
|
|
2621
|
+
"readonly": true
|
|
2638
2622
|
},
|
|
2639
2623
|
{
|
|
2640
2624
|
"kind": "method",
|
|
@@ -2666,110 +2650,130 @@
|
|
|
2666
2650
|
"name": "EventEmitterMixin",
|
|
2667
2651
|
"module": "src/util/EventEmitterMixin.ts"
|
|
2668
2652
|
}
|
|
2653
|
+
}
|
|
2654
|
+
],
|
|
2655
|
+
"events": [
|
|
2656
|
+
{
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "CustomEvent"
|
|
2659
|
+
},
|
|
2660
|
+
"description": "Fired after the checkbox is first rendered and initialized",
|
|
2661
|
+
"name": "btu-checkbox-ready"
|
|
2669
2662
|
},
|
|
2670
2663
|
{
|
|
2671
|
-
"kind": "field",
|
|
2672
|
-
"name": "#stopFns",
|
|
2673
|
-
"privacy": "private",
|
|
2674
2664
|
"type": {
|
|
2675
|
-
"text": "
|
|
2665
|
+
"text": "CustomEvent<{ checked: boolean }>"
|
|
2676
2666
|
},
|
|
2677
|
-
"
|
|
2678
|
-
"
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2667
|
+
"description": "Fired when the user toggles the checked state",
|
|
2668
|
+
"name": "btu-checkbox-change"
|
|
2669
|
+
}
|
|
2670
|
+
],
|
|
2671
|
+
"attributes": [
|
|
2672
|
+
{
|
|
2673
|
+
"name": "label",
|
|
2674
|
+
"type": {
|
|
2675
|
+
"text": "string | undefined"
|
|
2676
|
+
},
|
|
2677
|
+
"description": "The text label displayed next to the checkbox.",
|
|
2678
|
+
"fieldName": "label",
|
|
2679
|
+
"attribute": "label"
|
|
2682
2680
|
},
|
|
2683
2681
|
{
|
|
2684
|
-
"
|
|
2685
|
-
"
|
|
2686
|
-
|
|
2687
|
-
"type": {
|
|
2688
|
-
"text": "OnFindRegistration | OnFindRegistration[] | null"
|
|
2689
|
-
}
|
|
2682
|
+
"name": "description",
|
|
2683
|
+
"type": {
|
|
2684
|
+
"text": "string | undefined"
|
|
2690
2685
|
},
|
|
2691
|
-
"
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
}
|
|
2686
|
+
"description": "Optional helper text displayed below the label.",
|
|
2687
|
+
"fieldName": "description",
|
|
2688
|
+
"attribute": "description"
|
|
2695
2689
|
},
|
|
2696
2690
|
{
|
|
2697
|
-
"
|
|
2698
|
-
"
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
"events": [
|
|
2691
|
+
"name": "size",
|
|
2692
|
+
"type": {
|
|
2693
|
+
"text": "'sm' | 'md'"
|
|
2694
|
+
},
|
|
2695
|
+
"default": "'sm'",
|
|
2696
|
+
"description": "Controls the scale of the checkbox and associated typography.",
|
|
2697
|
+
"fieldName": "size",
|
|
2698
|
+
"attribute": "size"
|
|
2699
|
+
},
|
|
2707
2700
|
{
|
|
2701
|
+
"name": "checked",
|
|
2708
2702
|
"type": {
|
|
2709
|
-
"text": "
|
|
2703
|
+
"text": "boolean"
|
|
2710
2704
|
},
|
|
2711
|
-
"
|
|
2712
|
-
"
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2705
|
+
"default": "false",
|
|
2706
|
+
"description": "Whether the checkbox is currently selected.",
|
|
2707
|
+
"fieldName": "checked",
|
|
2708
|
+
"attribute": "checked"
|
|
2709
|
+
},
|
|
2716
2710
|
{
|
|
2717
|
-
"name": "
|
|
2711
|
+
"name": "indeterminate",
|
|
2718
2712
|
"type": {
|
|
2719
|
-
"text": "
|
|
2713
|
+
"text": "boolean"
|
|
2720
2714
|
},
|
|
2721
|
-
"default": "
|
|
2722
|
-
"description": "
|
|
2723
|
-
"fieldName": "
|
|
2724
|
-
"attribute": "
|
|
2715
|
+
"default": "false",
|
|
2716
|
+
"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.",
|
|
2717
|
+
"fieldName": "indeterminate",
|
|
2718
|
+
"attribute": "indeterminate"
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "disabled",
|
|
2722
|
+
"type": {
|
|
2723
|
+
"text": "boolean"
|
|
2724
|
+
},
|
|
2725
|
+
"default": "false",
|
|
2726
|
+
"description": "If true, the checkbox is non-interactive and visually muted.",
|
|
2727
|
+
"fieldName": "disabled",
|
|
2728
|
+
"attribute": "disabled"
|
|
2725
2729
|
},
|
|
2726
2730
|
{
|
|
2727
|
-
"name": "
|
|
2731
|
+
"name": "invalid",
|
|
2728
2732
|
"type": {
|
|
2729
|
-
"text": "
|
|
2733
|
+
"text": "boolean"
|
|
2730
2734
|
},
|
|
2731
|
-
"default": "
|
|
2732
|
-
"description": "
|
|
2733
|
-
"fieldName": "
|
|
2734
|
-
"attribute": "
|
|
2735
|
+
"default": "false",
|
|
2736
|
+
"description": "If true, displays error styling on the checkbox.",
|
|
2737
|
+
"fieldName": "invalid",
|
|
2738
|
+
"attribute": "invalid"
|
|
2735
2739
|
},
|
|
2736
2740
|
{
|
|
2737
|
-
"name": "
|
|
2741
|
+
"name": "error",
|
|
2738
2742
|
"type": {
|
|
2739
2743
|
"text": "string | undefined"
|
|
2740
2744
|
},
|
|
2741
|
-
"description": "
|
|
2742
|
-
"fieldName": "
|
|
2743
|
-
"attribute": "
|
|
2745
|
+
"description": "Error message text displayed below the checkbox when validation fails.\nSetting this also activates error styling without needing to set invalid.",
|
|
2746
|
+
"fieldName": "error",
|
|
2747
|
+
"attribute": "error"
|
|
2744
2748
|
},
|
|
2745
2749
|
{
|
|
2746
|
-
"name": "
|
|
2750
|
+
"name": "required",
|
|
2747
2751
|
"type": {
|
|
2748
2752
|
"text": "boolean"
|
|
2749
2753
|
},
|
|
2750
2754
|
"default": "false",
|
|
2751
|
-
"description": "
|
|
2752
|
-
"fieldName": "
|
|
2753
|
-
"attribute": "
|
|
2755
|
+
"description": "Marks the field as mandatory for form submission.",
|
|
2756
|
+
"fieldName": "required",
|
|
2757
|
+
"attribute": "required"
|
|
2754
2758
|
},
|
|
2755
2759
|
{
|
|
2756
|
-
"name": "
|
|
2760
|
+
"name": "name",
|
|
2757
2761
|
"type": {
|
|
2758
|
-
"text": "
|
|
2762
|
+
"text": "string | undefined"
|
|
2759
2763
|
},
|
|
2760
|
-
"
|
|
2761
|
-
"
|
|
2762
|
-
"
|
|
2763
|
-
"attribute": "disabled"
|
|
2764
|
+
"description": "Name of the form control submitted with the form data.",
|
|
2765
|
+
"fieldName": "name",
|
|
2766
|
+
"attribute": "name"
|
|
2764
2767
|
},
|
|
2765
2768
|
{
|
|
2766
|
-
"name": "
|
|
2769
|
+
"name": "value",
|
|
2767
2770
|
"type": {
|
|
2768
|
-
"text": "string
|
|
2771
|
+
"text": "string"
|
|
2769
2772
|
},
|
|
2770
|
-
"
|
|
2771
|
-
"
|
|
2772
|
-
"
|
|
2773
|
+
"default": "'on'",
|
|
2774
|
+
"description": "Value associated with the checkbox when submitted.",
|
|
2775
|
+
"fieldName": "value",
|
|
2776
|
+
"attribute": "value"
|
|
2773
2777
|
}
|
|
2774
2778
|
],
|
|
2775
2779
|
"mixins": [
|
|
@@ -2777,10 +2781,6 @@
|
|
|
2777
2781
|
"name": "EventEmitterMixin",
|
|
2778
2782
|
"module": "/src/util/EventEmitterMixin.js"
|
|
2779
2783
|
},
|
|
2780
|
-
{
|
|
2781
|
-
"name": "OnFindMixin",
|
|
2782
|
-
"module": "/src/util/OnFindMixin.js"
|
|
2783
|
-
},
|
|
2784
2784
|
{
|
|
2785
2785
|
"name": "ReadyMixin",
|
|
2786
2786
|
"module": "/src/util/ReadyMixin.js"
|
|
@@ -2790,7 +2790,7 @@
|
|
|
2790
2790
|
"name": "LitElement",
|
|
2791
2791
|
"package": "lit"
|
|
2792
2792
|
},
|
|
2793
|
-
"tagName": "btu-
|
|
2793
|
+
"tagName": "btu-checkbox",
|
|
2794
2794
|
"customElement": true
|
|
2795
2795
|
}
|
|
2796
2796
|
],
|
|
@@ -2799,16 +2799,16 @@
|
|
|
2799
2799
|
"kind": "js",
|
|
2800
2800
|
"name": "default",
|
|
2801
2801
|
"declaration": {
|
|
2802
|
-
"name": "
|
|
2803
|
-
"module": "src/components/
|
|
2802
|
+
"name": "Checkbox",
|
|
2803
|
+
"module": "src/components/checkbox/Checkbox.ts"
|
|
2804
2804
|
}
|
|
2805
2805
|
},
|
|
2806
2806
|
{
|
|
2807
2807
|
"kind": "custom-element-definition",
|
|
2808
|
-
"name": "btu-
|
|
2808
|
+
"name": "btu-checkbox",
|
|
2809
2809
|
"declaration": {
|
|
2810
|
-
"name": "
|
|
2811
|
-
"module": "src/components/
|
|
2810
|
+
"name": "Checkbox",
|
|
2811
|
+
"module": "src/components/checkbox/Checkbox.ts"
|
|
2812
2812
|
}
|
|
2813
2813
|
}
|
|
2814
2814
|
]
|
|
@@ -5157,6 +5157,238 @@
|
|
|
5157
5157
|
}
|
|
5158
5158
|
]
|
|
5159
5159
|
},
|
|
5160
|
+
{
|
|
5161
|
+
"kind": "javascript-module",
|
|
5162
|
+
"path": "src/components/esca-avatar/EscaAvatar.ts",
|
|
5163
|
+
"declarations": [
|
|
5164
|
+
{
|
|
5165
|
+
"kind": "class",
|
|
5166
|
+
"description": "The animated avatar for the Esca AI assistant, driven entirely by its `state` attribute so the same\nelement works wherever the assistant appears.\n\nAccessibility: the avatar is a visual indicator, not a status channel. By default it exposes a static\naccessible name (`role=\"img\"`, `aria-label=\"Esca\"`) so it reads like an author/identity avatar; both\nare only set when absent, so consumers can override them.\n- When the assistant is already named in the surrounding UI (the common case in a chat), treat the\n avatar as decorative: set `aria-hidden=\"true\"` to avoid a redundant announcement.\n- Do NOT convey activity (thinking / done) by changing this element's ARIA per `state` — a looping\n `search` would announce repeatedly. Surface status as text in a polite `aria-live` region owned by\n the chat UI, which has the context to word and time announcements. This component intentionally\n does not announce its own state.",
|
|
5167
|
+
"name": "EscaAvatar",
|
|
5168
|
+
"cssProperties": [
|
|
5169
|
+
{
|
|
5170
|
+
"description": "Width and height of the avatar; overrides the `size` attribute (default: 2.5rem)",
|
|
5171
|
+
"name": "--esca-avatar-size"
|
|
5172
|
+
}
|
|
5173
|
+
],
|
|
5174
|
+
"members": [
|
|
5175
|
+
{
|
|
5176
|
+
"kind": "field",
|
|
5177
|
+
"name": "state",
|
|
5178
|
+
"type": {
|
|
5179
|
+
"text": "EscaAvatarState"
|
|
5180
|
+
},
|
|
5181
|
+
"default": "'idle'",
|
|
5182
|
+
"description": "Animation to play; changing it swaps the clip.",
|
|
5183
|
+
"attribute": "state",
|
|
5184
|
+
"reflects": true
|
|
5185
|
+
},
|
|
5186
|
+
{
|
|
5187
|
+
"kind": "field",
|
|
5188
|
+
"name": "size",
|
|
5189
|
+
"type": {
|
|
5190
|
+
"text": "EscaAvatarSize"
|
|
5191
|
+
},
|
|
5192
|
+
"default": "'md'",
|
|
5193
|
+
"description": "Size of the avatar, mirroring `<btu-avatar>`'s scale. `--esca-avatar-size` overrides it.",
|
|
5194
|
+
"attribute": "size",
|
|
5195
|
+
"reflects": true
|
|
5196
|
+
},
|
|
5197
|
+
{
|
|
5198
|
+
"kind": "field",
|
|
5199
|
+
"name": "_containerRef",
|
|
5200
|
+
"type": {
|
|
5201
|
+
"text": "Ref<HTMLDivElement>"
|
|
5202
|
+
},
|
|
5203
|
+
"privacy": "private"
|
|
5204
|
+
},
|
|
5205
|
+
{
|
|
5206
|
+
"kind": "field",
|
|
5207
|
+
"name": "_animation",
|
|
5208
|
+
"type": {
|
|
5209
|
+
"text": "AnimationItem | null"
|
|
5210
|
+
},
|
|
5211
|
+
"privacy": "private",
|
|
5212
|
+
"default": "null"
|
|
5213
|
+
},
|
|
5214
|
+
{
|
|
5215
|
+
"kind": "field",
|
|
5216
|
+
"name": "_rendered",
|
|
5217
|
+
"type": {
|
|
5218
|
+
"text": "EscaAvatarState | null"
|
|
5219
|
+
},
|
|
5220
|
+
"privacy": "private",
|
|
5221
|
+
"default": "null"
|
|
5222
|
+
},
|
|
5223
|
+
{
|
|
5224
|
+
"kind": "field",
|
|
5225
|
+
"name": "_reduceMotion",
|
|
5226
|
+
"type": {
|
|
5227
|
+
"text": "boolean"
|
|
5228
|
+
},
|
|
5229
|
+
"privacy": "private",
|
|
5230
|
+
"default": "false"
|
|
5231
|
+
},
|
|
5232
|
+
{
|
|
5233
|
+
"kind": "field",
|
|
5234
|
+
"name": "_loadToken",
|
|
5235
|
+
"type": {
|
|
5236
|
+
"text": "number"
|
|
5237
|
+
},
|
|
5238
|
+
"privacy": "private",
|
|
5239
|
+
"default": "0"
|
|
5240
|
+
},
|
|
5241
|
+
{
|
|
5242
|
+
"kind": "field",
|
|
5243
|
+
"name": "_resizeObserver",
|
|
5244
|
+
"type": {
|
|
5245
|
+
"text": "ResizeObserver | undefined"
|
|
5246
|
+
},
|
|
5247
|
+
"privacy": "private"
|
|
5248
|
+
},
|
|
5249
|
+
{
|
|
5250
|
+
"kind": "field",
|
|
5251
|
+
"name": "_intersectionObserver",
|
|
5252
|
+
"type": {
|
|
5253
|
+
"text": "IntersectionObserver | undefined"
|
|
5254
|
+
},
|
|
5255
|
+
"privacy": "private"
|
|
5256
|
+
},
|
|
5257
|
+
{
|
|
5258
|
+
"kind": "field",
|
|
5259
|
+
"name": "_motionQuery",
|
|
5260
|
+
"type": {
|
|
5261
|
+
"text": "MediaQueryList | undefined"
|
|
5262
|
+
},
|
|
5263
|
+
"privacy": "private"
|
|
5264
|
+
},
|
|
5265
|
+
{
|
|
5266
|
+
"kind": "method",
|
|
5267
|
+
"name": "_applySize",
|
|
5268
|
+
"privacy": "private"
|
|
5269
|
+
},
|
|
5270
|
+
{
|
|
5271
|
+
"kind": "field",
|
|
5272
|
+
"name": "_onMotionChange",
|
|
5273
|
+
"privacy": "private"
|
|
5274
|
+
},
|
|
5275
|
+
{
|
|
5276
|
+
"kind": "method",
|
|
5277
|
+
"name": "_play",
|
|
5278
|
+
"privacy": "private"
|
|
5279
|
+
},
|
|
5280
|
+
{
|
|
5281
|
+
"kind": "method",
|
|
5282
|
+
"name": "_destroy",
|
|
5283
|
+
"privacy": "private"
|
|
5284
|
+
},
|
|
5285
|
+
{
|
|
5286
|
+
"kind": "method",
|
|
5287
|
+
"name": "emit",
|
|
5288
|
+
"parameters": [
|
|
5289
|
+
{
|
|
5290
|
+
"name": "type",
|
|
5291
|
+
"type": {
|
|
5292
|
+
"text": "K"
|
|
5293
|
+
},
|
|
5294
|
+
"description": "Event name from CustomEventMap"
|
|
5295
|
+
},
|
|
5296
|
+
{
|
|
5297
|
+
"name": "detail",
|
|
5298
|
+
"optional": true,
|
|
5299
|
+
"type": {
|
|
5300
|
+
"text": "UnpackCustomEvent<CustomEventMap[K]>"
|
|
5301
|
+
},
|
|
5302
|
+
"description": "Optional event detail payload"
|
|
5303
|
+
}
|
|
5304
|
+
],
|
|
5305
|
+
"description": "Dispatches a type-safe CustomEvent with standardized configuration.\n\nAll events are configured with:\n- bubbles: true (event propagates up the DOM tree)\n- cancelable: false (event cannot be cancelled)\n- composed: true (event crosses shadow DOM boundaries)",
|
|
5306
|
+
"return": {
|
|
5307
|
+
"type": {
|
|
5308
|
+
"text": "boolean"
|
|
5309
|
+
}
|
|
5310
|
+
},
|
|
5311
|
+
"inheritedFrom": {
|
|
5312
|
+
"name": "EventEmitterMixin",
|
|
5313
|
+
"module": "src/util/EventEmitterMixin.ts"
|
|
5314
|
+
}
|
|
5315
|
+
}
|
|
5316
|
+
],
|
|
5317
|
+
"events": [
|
|
5318
|
+
{
|
|
5319
|
+
"type": {
|
|
5320
|
+
"text": "CustomEvent"
|
|
5321
|
+
},
|
|
5322
|
+
"description": "Fired after the first render",
|
|
5323
|
+
"name": "btu-esca-avatar-ready"
|
|
5324
|
+
},
|
|
5325
|
+
{
|
|
5326
|
+
"type": {
|
|
5327
|
+
"text": "CustomEvent<{state: string}>"
|
|
5328
|
+
},
|
|
5329
|
+
"description": "Fired when a non-looping animation finishes",
|
|
5330
|
+
"name": "btu-esca-avatar-complete"
|
|
5331
|
+
}
|
|
5332
|
+
],
|
|
5333
|
+
"attributes": [
|
|
5334
|
+
{
|
|
5335
|
+
"name": "state",
|
|
5336
|
+
"type": {
|
|
5337
|
+
"text": "EscaAvatarState"
|
|
5338
|
+
},
|
|
5339
|
+
"default": "'idle'",
|
|
5340
|
+
"description": "Animation to play; changing it swaps the clip.",
|
|
5341
|
+
"fieldName": "state",
|
|
5342
|
+
"attribute": "state"
|
|
5343
|
+
},
|
|
5344
|
+
{
|
|
5345
|
+
"name": "size",
|
|
5346
|
+
"type": {
|
|
5347
|
+
"text": "EscaAvatarSize"
|
|
5348
|
+
},
|
|
5349
|
+
"default": "'md'",
|
|
5350
|
+
"description": "Size of the avatar, mirroring `<btu-avatar>`'s scale. `--esca-avatar-size` overrides it.",
|
|
5351
|
+
"fieldName": "size",
|
|
5352
|
+
"attribute": "size"
|
|
5353
|
+
}
|
|
5354
|
+
],
|
|
5355
|
+
"mixins": [
|
|
5356
|
+
{
|
|
5357
|
+
"name": "EventEmitterMixin",
|
|
5358
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
"name": "ReadyMixin",
|
|
5362
|
+
"module": "/src/util/ReadyMixin.js"
|
|
5363
|
+
}
|
|
5364
|
+
],
|
|
5365
|
+
"superclass": {
|
|
5366
|
+
"name": "LitElement",
|
|
5367
|
+
"package": "lit"
|
|
5368
|
+
},
|
|
5369
|
+
"tagName": "btu-esca-avatar",
|
|
5370
|
+
"customElement": true
|
|
5371
|
+
}
|
|
5372
|
+
],
|
|
5373
|
+
"exports": [
|
|
5374
|
+
{
|
|
5375
|
+
"kind": "js",
|
|
5376
|
+
"name": "default",
|
|
5377
|
+
"declaration": {
|
|
5378
|
+
"name": "EscaAvatar",
|
|
5379
|
+
"module": "src/components/esca-avatar/EscaAvatar.ts"
|
|
5380
|
+
}
|
|
5381
|
+
},
|
|
5382
|
+
{
|
|
5383
|
+
"kind": "custom-element-definition",
|
|
5384
|
+
"name": "btu-esca-avatar",
|
|
5385
|
+
"declaration": {
|
|
5386
|
+
"name": "EscaAvatar",
|
|
5387
|
+
"module": "src/components/esca-avatar/EscaAvatar.ts"
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
]
|
|
5391
|
+
},
|
|
5160
5392
|
{
|
|
5161
5393
|
"kind": "javascript-module",
|
|
5162
5394
|
"path": "src/components/icon/Icon.ts",
|