@brightspot/ui 6.4.2 → 6.4.3-pr.366.2026.10.5-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/dist/custom-elements.json +499 -499
- package/dist/storybook/assets/{ActionBar.stories-S00Ek6J4.js → ActionBar.stories-0ScNWOC4.js} +1 -1
- package/dist/storybook/assets/{ActionItem.stories-D4F9yCyV.js → ActionItem.stories-DXJ_yKW3.js} +1 -1
- package/dist/storybook/assets/{AiSparkle.stories-vC8jum9o.js → AiSparkle.stories-Z_5khRM7.js} +1 -1
- package/dist/storybook/assets/{Avatar.stories-BvCzPIfr.js → Avatar.stories-C9XcQNHg.js} +1 -1
- package/dist/storybook/assets/{AvatarGroup.stories-VRTsctUo.js → AvatarGroup.stories-Cdy_mkeq.js} +1 -1
- package/dist/storybook/assets/{Badge.stories-DPaTwNDd.js → Badge.stories-BUdXSprE.js} +1 -1
- package/dist/storybook/assets/{Banner.stories-Ki6o6Qnz.js → Banner.stories-D71fgNb5.js} +1 -1
- package/dist/storybook/assets/{Button-BVkUpjw-.js → Button-D7pK-2at.js} +1 -1
- package/dist/storybook/assets/{Button.stories-B4Cajufa.js → Button.stories-B6WKuxXx.js} +1 -1
- package/dist/storybook/assets/{ButtonGroup.stories--XdEhkoR.js → ButtonGroup.stories-CwiRfEal.js} +1 -1
- package/dist/storybook/assets/{Card.stories-DdaTXloZ.js → Card.stories-CxCcO9k6.js} +1 -1
- package/dist/storybook/assets/{Celebrate.stories-5krJLBnV.js → Celebrate.stories-DNVFUrhg.js} +1 -1
- package/dist/storybook/assets/{Checkbox.stories-DJiir-4S.js → Checkbox.stories-SuP4ltMI.js} +1 -1
- package/dist/storybook/assets/{CircularProgress.stories-FoLbJ02D.js → CircularProgress.stories-BB0twcGv.js} +1 -1
- package/dist/storybook/assets/{ClipboardMixin.stories-C_Y93Vvc.js → ClipboardMixin.stories-DaPV19jG.js} +1 -1
- package/dist/storybook/assets/{Color-6BZIO3FS-Cal-f26G.js → Color-6BZIO3FS-DQ34tmQu.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-BIOYpAZL.js → Colors.stories-CMFJai_a.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-z1_xU5i7.js → CombinedEffects.stories-BIHfDsN0.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin-DCnHVb7T.js → ComponentStatesMixin-Bq-OGuus.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-Crysvxtr.js → ComponentStatesMixin.stories-DMxDqidh.js} +1 -1
- package/dist/storybook/assets/{CopyToClipboard.stories-CMpzwyh6.js → CopyToClipboard.stories-CkdYHm8U.js} +1 -1
- package/dist/storybook/assets/{Debounce.stories-C2FgBZXP.js → Debounce.stories-CZSMfS-h.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-CxHYlXfz.js → DocsRenderer-LL677BLK-CCAvPHmY.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-DhBn1nVs.js → Dropdown.stories-BTqSRQiC.js} +1 -1
- package/dist/storybook/assets/{EmptyState.stories-CBIvJ1Tk.js → EmptyState.stories-CjIkNVv4.js} +1 -1
- package/dist/storybook/assets/{EscaAvatar.stories-DKPhkhvA.js → EscaAvatar.stories-ORFCzxQw.js} +1 -1
- package/dist/storybook/assets/{Events.stories-DLbfdSXr.js → Events.stories-DHFT6dZM.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-B6CIwwiJ.js → Heading.stories-CRgKl3Ve.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-C8E72qX_.js → HueRipple.stories-YiQHrWPS.js} +1 -1
- package/dist/storybook/assets/{Icon.stories-YUubIb9i.js → Icon.stories-Bv4QRZNL.js} +1 -1
- package/dist/storybook/assets/{IconButton.stories-07ADapHQ.js → IconButton.stories-ErFc860x.js} +1 -1
- package/dist/storybook/assets/{LinearProgress.stories-DZk0i6LC.js → LinearProgress.stories-DUAAMzdt.js} +1 -1
- package/dist/storybook/assets/{Message.stories-BaTncCPY.js → Message.stories-DxJEEd1I.js} +1 -1
- package/dist/storybook/assets/{OnFindMixin.stories-BKgCI6zb.js → OnFindMixin.stories-CoKUEhb4.js} +1 -1
- package/dist/storybook/assets/{Pagination.stories-BrD-TcnC.js → Pagination.stories-6k02-Zb5.js} +1 -1
- package/dist/storybook/assets/{Popover.stories-CUe375fR.js → Popover.stories-Cd7P1nw_.js} +1 -1
- package/dist/storybook/assets/{ReadyMixin-XQ_tHzRU.js → ReadyMixin-BL65bbm_.js} +1 -1
- package/dist/storybook/assets/{RovingTabindexMixin.stories-BBc7zdjl.js → RovingTabindexMixin.stories-CvtQ9Om6.js} +1 -1
- package/dist/storybook/assets/{Rtc.stories-CkEgMrqd.js → Rtc.stories-BBmO6Ses.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-DdOKLFJ5.js → ScrollShadow.stories-BUiypzkp.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-Dw9Jic7Y.js → Switch.stories-BndbX0N7.js} +1 -1
- package/dist/storybook/assets/{Tab.stories-CUAvvpwI.js → Tab.stories-DVMyUFjq.js} +1 -1
- package/dist/storybook/assets/{Tabs.stories--iRj2mWu.js → Tabs.stories-BQPYcQ6j.js} +1 -1
- package/dist/storybook/assets/{Throttle.stories-BDuNJMQg.js → Throttle.stories-CKYOCVnj.js} +1 -1
- package/dist/storybook/assets/{Tooltip.stories-RaSZ71_I.js → Tooltip.stories-B3DmBl8X.js} +1 -1
- package/dist/storybook/assets/{Upload.stories-hhhR_V85.js → Upload.stories-nzkKN-_d.js} +1 -1
- package/dist/storybook/assets/{UploadItem.stories-B-1lkPzO.js → UploadItem.stories-CL3oKT8D.js} +1 -1
- package/dist/storybook/assets/{Welcome.stories-BycQWbzd.js → Welcome.stories-DfHnb5cA.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-BDcpbQXU.js → Widget.stories-CcVwc0wv.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-CHL0JiUq.js → WithTooltip-65CFNBJE-CxSJYFKf.js} +1 -1
- package/dist/storybook/assets/{blocks-DllEBdtP.js → blocks-A7XjcsrR.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU-LrYXshB9.js → formatter-EIJCOSYU-BJ6Z7p9H.js} +1 -1
- package/dist/storybook/assets/if-defined-C9mNa1xD.js +1 -0
- package/dist/storybook/assets/{iframe-Bp7-_nUZ.js → iframe-ChxxW2FZ.js} +4 -4
- package/dist/storybook/assets/iframe-DI_vgyKl.css +1 -0
- package/dist/storybook/assets/{index-Cc3M657Z.js → index-ChSJHRK6.js} +1 -1
- package/dist/storybook/assets/{onFind-Du4z1ObO.js → onFind-C-gvwlyW.js} +1 -1
- package/dist/storybook/assets/{onFind.stories-BCUiC6a9.js → onFind.stories-8tPEGWhS.js} +1 -1
- package/dist/storybook/assets/{onRemove.stories-B-ICGMhl.js → onRemove.stories-CSuoNbAk.js} +1 -1
- package/dist/storybook/assets/{onVisible.stories-DijYge1X.js → onVisible.stories-LFpM1FnE.js} +1 -1
- package/dist/storybook/assets/{style-map-DaohL-ne.js → style-map-4fqj8G4H.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-CH5_k0Po.js → syntaxhighlighter-ED5Y7EFY-DCcLcHdT.js} +1 -1
- package/dist/storybook/iframe.html +2 -2
- package/dist/storybook/project.json +1 -1
- package/dist/tailwind-plugin-badge.js +2 -1
- package/dist/tailwind-plugin-badge.js.map +1 -1
- package/dist/tailwind-plugin-badge.ts +2 -1
- package/dist/tailwind-plugin-message.js +3 -0
- package/dist/tailwind-plugin-message.js.map +1 -1
- package/dist/tailwind-plugin-message.ts +3 -0
- package/package.json +1 -1
- package/src/legacy/tool-ui/src/Conversation.css +14 -3
- package/src/legacy/tool-ui/src/Conversation.ts +3 -0
- package/src/legacy/tool-ui/src/Entry.ts +4 -3
- package/src/legacy/tool-ui/src/SharePreview.css +209 -4
- package/src/legacy/tool-ui/src/SharePreviewCommenting.ts +659 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/LocationMap.8c328ae48113c22fec31.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.ef21fd86df209b8f772b.js → RTEProseMirror.f533e0166603af6cdd79.js} +5 -5
- package/src/legacy/tool-ui/src/main/webapp/dist/RegionMap.17d7cd9f92c923b593d5.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v4.83bc23585a616647b793.js → v4.a4e299758310db43579e.js} +8 -8
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.22ce1a2b135f2c813878.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v5.dae3cbc9fb1335ca0f1f.js → v5.867287a6c5d4d25aa41b.js} +6 -6
- package/dist/storybook/assets/if-defined-DONC-k_n.js +0 -1
- package/dist/storybook/assets/iframe-D7jBrFjV.css +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/LocationMap.72a510c0f5ff236f596e.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/RegionMap.f6f963eda2cb616b9661.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.d87bbcc711f912ae68db.css +0 -5
- /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.ef21fd86df209b8f772b.js.LICENSE.txt → RTEProseMirror.f533e0166603af6cdd79.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.83bc23585a616647b793.js.LICENSE.txt → v4.a4e299758310db43579e.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.dae3cbc9fb1335ca0f1f.js.LICENSE.txt → v5.867287a6c5d4d25aa41b.js.LICENSE.txt} +0 -0
|
@@ -7207,133 +7207,151 @@
|
|
|
7207
7207
|
},
|
|
7208
7208
|
{
|
|
7209
7209
|
"kind": "javascript-module",
|
|
7210
|
-
"path": "src/components/
|
|
7210
|
+
"path": "src/components/pagination/Pagination.ts",
|
|
7211
7211
|
"declarations": [
|
|
7212
7212
|
{
|
|
7213
7213
|
"kind": "class",
|
|
7214
|
-
"description": "A
|
|
7215
|
-
"name": "
|
|
7214
|
+
"description": "A pagination component for navigating through paged content.\n\nSupports multiple layout variants (Search, Widget, Widget Small, Calendar)\nthrough configurable props and pseudo-slots.\n\n**Page size modes:**\n\n- **Built-in** (default): When no `slot=\"page-size\"` is provided and `page-size-changer`\n is true, Pagination renders its own `btu-dropdown` from the `page-size-options` attribute.\n Events, label sync, and page size changes are managed automatically.\n\n- **Custom slot**: When a child has `slot=\"page-size\"`, the built-in dropdown is suppressed.\n The consumer owns all behavior — event handling, label sync, etc. Use this for non-standard\n selectors like a calendar week/month toggle.\n\n**Page jumper modes:**\n\n- **Built-in**: When `page-jumper` is true and no `slot=\"jumper\"` is provided, Pagination\n renders a dropdown with \"Page 1\" through \"Page N\" items. Fully reactive — updates\n automatically when page, page size, or total items change.\n\n- **Custom slot**: When a child has `slot=\"jumper\"`, the built-in dropdown is suppressed.\n The consumer owns all behavior. Use this for custom jumper content like a \"Today\" button.",
|
|
7215
|
+
"name": "Pagination",
|
|
7216
7216
|
"cssProperties": [
|
|
7217
7217
|
{
|
|
7218
|
-
"description": "
|
|
7219
|
-
"name": "--
|
|
7218
|
+
"description": "Background color for dropdowns, buttons, and jumper",
|
|
7219
|
+
"name": "--pagination-color-background"
|
|
7220
7220
|
},
|
|
7221
7221
|
{
|
|
7222
|
-
"description": "
|
|
7223
|
-
"name": "--
|
|
7224
|
-
}
|
|
7222
|
+
"description": "Text/icon color",
|
|
7223
|
+
"name": "--pagination-color-foreground"
|
|
7224
|
+
}
|
|
7225
|
+
],
|
|
7226
|
+
"slots": [
|
|
7225
7227
|
{
|
|
7226
|
-
"description": "
|
|
7227
|
-
"name": "
|
|
7228
|
+
"description": "Custom page-size selector (replaces built-in dropdown). Consumer manages all behavior.",
|
|
7229
|
+
"name": "page-size"
|
|
7228
7230
|
},
|
|
7229
7231
|
{
|
|
7230
|
-
"description": "
|
|
7231
|
-
"name": "
|
|
7232
|
-
}
|
|
7232
|
+
"description": "Custom jumper content (replaces built-in page jumper dropdown). Consumer manages all behavior.",
|
|
7233
|
+
"name": "jumper"
|
|
7234
|
+
}
|
|
7235
|
+
],
|
|
7236
|
+
"members": [
|
|
7233
7237
|
{
|
|
7234
|
-
"
|
|
7235
|
-
"name": "
|
|
7238
|
+
"kind": "field",
|
|
7239
|
+
"name": "page",
|
|
7240
|
+
"type": {
|
|
7241
|
+
"text": "number"
|
|
7242
|
+
},
|
|
7243
|
+
"default": "1",
|
|
7244
|
+
"description": "Current page number (1-based)",
|
|
7245
|
+
"attribute": "page"
|
|
7236
7246
|
},
|
|
7237
7247
|
{
|
|
7238
|
-
"
|
|
7239
|
-
"name": "
|
|
7248
|
+
"kind": "field",
|
|
7249
|
+
"name": "pageSize",
|
|
7250
|
+
"type": {
|
|
7251
|
+
"text": "number"
|
|
7252
|
+
},
|
|
7253
|
+
"default": "0",
|
|
7254
|
+
"description": "Number of items per page",
|
|
7255
|
+
"attribute": "page-size"
|
|
7240
7256
|
},
|
|
7241
7257
|
{
|
|
7242
|
-
"
|
|
7243
|
-
"name": "
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
"description": "
|
|
7249
|
-
"
|
|
7258
|
+
"kind": "field",
|
|
7259
|
+
"name": "disabled",
|
|
7260
|
+
"type": {
|
|
7261
|
+
"text": "boolean"
|
|
7262
|
+
},
|
|
7263
|
+
"default": "false",
|
|
7264
|
+
"description": "Disables all pagination controls",
|
|
7265
|
+
"attribute": "disabled"
|
|
7250
7266
|
},
|
|
7251
7267
|
{
|
|
7252
|
-
"
|
|
7253
|
-
"name": "
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7268
|
+
"kind": "field",
|
|
7269
|
+
"name": "loading",
|
|
7270
|
+
"type": {
|
|
7271
|
+
"text": "boolean"
|
|
7272
|
+
},
|
|
7273
|
+
"default": "false",
|
|
7274
|
+
"description": "Shows loading spinner and dims controls",
|
|
7275
|
+
"attribute": "loading"
|
|
7276
|
+
},
|
|
7257
7277
|
{
|
|
7258
7278
|
"kind": "field",
|
|
7259
|
-
"name": "
|
|
7279
|
+
"name": "hideOnSinglePage",
|
|
7260
7280
|
"type": {
|
|
7261
|
-
"text": "
|
|
7281
|
+
"text": "boolean"
|
|
7262
7282
|
},
|
|
7263
|
-
"default": "
|
|
7264
|
-
"description": "
|
|
7265
|
-
"attribute": "
|
|
7283
|
+
"default": "true",
|
|
7284
|
+
"description": "Hide controls when there is only one page",
|
|
7285
|
+
"attribute": "hide-on-single-page"
|
|
7266
7286
|
},
|
|
7267
7287
|
{
|
|
7268
7288
|
"kind": "field",
|
|
7269
|
-
"name": "
|
|
7289
|
+
"name": "pageSizeChanger",
|
|
7270
7290
|
"type": {
|
|
7271
|
-
"text": "
|
|
7291
|
+
"text": "boolean"
|
|
7272
7292
|
},
|
|
7273
|
-
"default": "
|
|
7274
|
-
"description": "
|
|
7275
|
-
"attribute": "
|
|
7293
|
+
"default": "true",
|
|
7294
|
+
"description": "Show the page size dropdown",
|
|
7295
|
+
"attribute": "page-size-changer"
|
|
7276
7296
|
},
|
|
7277
7297
|
{
|
|
7278
7298
|
"kind": "field",
|
|
7279
|
-
"name": "
|
|
7299
|
+
"name": "pageSizeOptions",
|
|
7280
7300
|
"type": {
|
|
7281
|
-
"text": "
|
|
7301
|
+
"text": "string"
|
|
7282
7302
|
},
|
|
7283
|
-
"default": "
|
|
7284
|
-
"description": "
|
|
7285
|
-
"attribute": "
|
|
7303
|
+
"default": "'10, 20, 50'",
|
|
7304
|
+
"description": "Comma-separated page size options",
|
|
7305
|
+
"attribute": "page-size-options"
|
|
7286
7306
|
},
|
|
7287
7307
|
{
|
|
7288
7308
|
"kind": "field",
|
|
7289
|
-
"name": "
|
|
7309
|
+
"name": "totalItems",
|
|
7290
7310
|
"type": {
|
|
7291
|
-
"text": "
|
|
7311
|
+
"text": "number"
|
|
7292
7312
|
},
|
|
7293
|
-
"default": "
|
|
7294
|
-
"description": "
|
|
7295
|
-
"attribute": "
|
|
7313
|
+
"default": "0",
|
|
7314
|
+
"description": "Total number of items across all pages",
|
|
7315
|
+
"attribute": "total-items"
|
|
7296
7316
|
},
|
|
7297
7317
|
{
|
|
7298
7318
|
"kind": "field",
|
|
7299
|
-
"name": "
|
|
7319
|
+
"name": "boundaryButtons",
|
|
7300
7320
|
"type": {
|
|
7301
7321
|
"text": "boolean"
|
|
7302
7322
|
},
|
|
7303
|
-
"default": "
|
|
7304
|
-
"description": "
|
|
7305
|
-
"attribute": "
|
|
7323
|
+
"default": "true",
|
|
7324
|
+
"description": "Show first and last page buttons",
|
|
7325
|
+
"attribute": "boundary-buttons"
|
|
7306
7326
|
},
|
|
7307
7327
|
{
|
|
7308
7328
|
"kind": "field",
|
|
7309
|
-
"name": "
|
|
7329
|
+
"name": "hideTotalCount",
|
|
7310
7330
|
"type": {
|
|
7311
7331
|
"text": "boolean"
|
|
7312
7332
|
},
|
|
7313
7333
|
"default": "false",
|
|
7314
|
-
"description": "
|
|
7315
|
-
"attribute": "
|
|
7334
|
+
"description": "Hide the item count display (e.g., \"1-10 of 200\")",
|
|
7335
|
+
"attribute": "hide-total-count"
|
|
7316
7336
|
},
|
|
7317
7337
|
{
|
|
7318
7338
|
"kind": "field",
|
|
7319
|
-
"name": "
|
|
7339
|
+
"name": "pageJumper",
|
|
7320
7340
|
"type": {
|
|
7321
7341
|
"text": "boolean"
|
|
7322
7342
|
},
|
|
7323
7343
|
"default": "false",
|
|
7324
|
-
"description": "
|
|
7325
|
-
"attribute": "
|
|
7326
|
-
"reflects": true
|
|
7344
|
+
"description": "Show the page jumper dropdown. Intended for moderate page counts (under ~100 pages).\nFor large datasets, use a custom `slot=\"jumper\"` with a virtualized or input-based control.",
|
|
7345
|
+
"attribute": "page-jumper"
|
|
7327
7346
|
},
|
|
7328
7347
|
{
|
|
7329
7348
|
"kind": "field",
|
|
7330
|
-
"name": "
|
|
7349
|
+
"name": "label",
|
|
7331
7350
|
"type": {
|
|
7332
|
-
"text": "string"
|
|
7351
|
+
"text": "string | undefined"
|
|
7333
7352
|
},
|
|
7334
|
-
"
|
|
7335
|
-
"
|
|
7336
|
-
"attribute": "panel-label"
|
|
7353
|
+
"description": "Accessible label for the pagination nav landmark",
|
|
7354
|
+
"attribute": "label"
|
|
7337
7355
|
},
|
|
7338
7356
|
{
|
|
7339
7357
|
"kind": "field",
|
|
@@ -7346,43 +7364,175 @@
|
|
|
7346
7364
|
},
|
|
7347
7365
|
{
|
|
7348
7366
|
"kind": "field",
|
|
7349
|
-
"name": "
|
|
7350
|
-
"
|
|
7367
|
+
"name": "_parsedPageSizeOptions",
|
|
7368
|
+
"type": {
|
|
7369
|
+
"text": "number[]"
|
|
7370
|
+
},
|
|
7371
|
+
"privacy": "private",
|
|
7372
|
+
"readonly": true
|
|
7351
7373
|
},
|
|
7352
7374
|
{
|
|
7353
7375
|
"kind": "field",
|
|
7354
|
-
"name": "
|
|
7355
|
-
"
|
|
7376
|
+
"name": "_totalPages",
|
|
7377
|
+
"type": {
|
|
7378
|
+
"text": "number"
|
|
7379
|
+
},
|
|
7380
|
+
"privacy": "private",
|
|
7381
|
+
"readonly": true
|
|
7356
7382
|
},
|
|
7357
7383
|
{
|
|
7358
7384
|
"kind": "field",
|
|
7359
|
-
"name": "
|
|
7360
|
-
"
|
|
7385
|
+
"name": "_startItem",
|
|
7386
|
+
"type": {
|
|
7387
|
+
"text": "number"
|
|
7388
|
+
},
|
|
7389
|
+
"privacy": "private",
|
|
7390
|
+
"readonly": true
|
|
7361
7391
|
},
|
|
7362
7392
|
{
|
|
7363
7393
|
"kind": "field",
|
|
7364
|
-
"name": "
|
|
7365
|
-
"
|
|
7394
|
+
"name": "_endItem",
|
|
7395
|
+
"type": {
|
|
7396
|
+
"text": "number"
|
|
7397
|
+
},
|
|
7398
|
+
"privacy": "private",
|
|
7399
|
+
"readonly": true
|
|
7366
7400
|
},
|
|
7367
7401
|
{
|
|
7368
|
-
"kind": "
|
|
7369
|
-
"name": "
|
|
7370
|
-
"privacy": "private"
|
|
7402
|
+
"kind": "method",
|
|
7403
|
+
"name": "_setupSlots",
|
|
7404
|
+
"privacy": "private",
|
|
7405
|
+
"return": {
|
|
7406
|
+
"type": {
|
|
7407
|
+
"text": "void"
|
|
7408
|
+
}
|
|
7409
|
+
}
|
|
7371
7410
|
},
|
|
7372
7411
|
{
|
|
7373
|
-
"kind": "
|
|
7374
|
-
"name": "
|
|
7375
|
-
"privacy": "private"
|
|
7412
|
+
"kind": "method",
|
|
7413
|
+
"name": "_goToFirstPage",
|
|
7414
|
+
"privacy": "private",
|
|
7415
|
+
"return": {
|
|
7416
|
+
"type": {
|
|
7417
|
+
"text": "void"
|
|
7418
|
+
}
|
|
7419
|
+
},
|
|
7420
|
+
"parameters": [
|
|
7421
|
+
{
|
|
7422
|
+
"name": "e",
|
|
7423
|
+
"type": {
|
|
7424
|
+
"text": "Event"
|
|
7425
|
+
}
|
|
7426
|
+
}
|
|
7427
|
+
]
|
|
7376
7428
|
},
|
|
7377
7429
|
{
|
|
7378
|
-
"kind": "
|
|
7379
|
-
"name": "
|
|
7380
|
-
"privacy": "private"
|
|
7430
|
+
"kind": "method",
|
|
7431
|
+
"name": "_goToPreviousPage",
|
|
7432
|
+
"privacy": "private",
|
|
7433
|
+
"return": {
|
|
7434
|
+
"type": {
|
|
7435
|
+
"text": "void"
|
|
7436
|
+
}
|
|
7437
|
+
},
|
|
7438
|
+
"parameters": [
|
|
7439
|
+
{
|
|
7440
|
+
"name": "e",
|
|
7441
|
+
"type": {
|
|
7442
|
+
"text": "Event"
|
|
7443
|
+
}
|
|
7444
|
+
}
|
|
7445
|
+
]
|
|
7381
7446
|
},
|
|
7382
7447
|
{
|
|
7383
|
-
"kind": "
|
|
7384
|
-
"name": "
|
|
7385
|
-
"privacy": "private"
|
|
7448
|
+
"kind": "method",
|
|
7449
|
+
"name": "_goToNextPage",
|
|
7450
|
+
"privacy": "private",
|
|
7451
|
+
"return": {
|
|
7452
|
+
"type": {
|
|
7453
|
+
"text": "void"
|
|
7454
|
+
}
|
|
7455
|
+
},
|
|
7456
|
+
"parameters": [
|
|
7457
|
+
{
|
|
7458
|
+
"name": "e",
|
|
7459
|
+
"type": {
|
|
7460
|
+
"text": "Event"
|
|
7461
|
+
}
|
|
7462
|
+
}
|
|
7463
|
+
]
|
|
7464
|
+
},
|
|
7465
|
+
{
|
|
7466
|
+
"kind": "method",
|
|
7467
|
+
"name": "_goToLastPage",
|
|
7468
|
+
"privacy": "private",
|
|
7469
|
+
"return": {
|
|
7470
|
+
"type": {
|
|
7471
|
+
"text": "void"
|
|
7472
|
+
}
|
|
7473
|
+
},
|
|
7474
|
+
"parameters": [
|
|
7475
|
+
{
|
|
7476
|
+
"name": "e",
|
|
7477
|
+
"type": {
|
|
7478
|
+
"text": "Event"
|
|
7479
|
+
}
|
|
7480
|
+
}
|
|
7481
|
+
]
|
|
7482
|
+
},
|
|
7483
|
+
{
|
|
7484
|
+
"kind": "method",
|
|
7485
|
+
"name": "_manageBoundaryFocus",
|
|
7486
|
+
"privacy": "private",
|
|
7487
|
+
"return": {
|
|
7488
|
+
"type": {
|
|
7489
|
+
"text": "void"
|
|
7490
|
+
}
|
|
7491
|
+
},
|
|
7492
|
+
"parameters": [
|
|
7493
|
+
{
|
|
7494
|
+
"name": "clickedButton",
|
|
7495
|
+
"type": {
|
|
7496
|
+
"text": "IconButton"
|
|
7497
|
+
}
|
|
7498
|
+
}
|
|
7499
|
+
]
|
|
7500
|
+
},
|
|
7501
|
+
{
|
|
7502
|
+
"kind": "method",
|
|
7503
|
+
"name": "_onBuiltinPageSizeSelect",
|
|
7504
|
+
"privacy": "private",
|
|
7505
|
+
"return": {
|
|
7506
|
+
"type": {
|
|
7507
|
+
"text": "void"
|
|
7508
|
+
}
|
|
7509
|
+
},
|
|
7510
|
+
"parameters": [
|
|
7511
|
+
{
|
|
7512
|
+
"name": "e",
|
|
7513
|
+
"type": {
|
|
7514
|
+
"text": "Event"
|
|
7515
|
+
}
|
|
7516
|
+
}
|
|
7517
|
+
]
|
|
7518
|
+
},
|
|
7519
|
+
{
|
|
7520
|
+
"kind": "method",
|
|
7521
|
+
"name": "_onBuiltinJumperSelect",
|
|
7522
|
+
"privacy": "private",
|
|
7523
|
+
"return": {
|
|
7524
|
+
"type": {
|
|
7525
|
+
"text": "void"
|
|
7526
|
+
}
|
|
7527
|
+
},
|
|
7528
|
+
"parameters": [
|
|
7529
|
+
{
|
|
7530
|
+
"name": "e",
|
|
7531
|
+
"type": {
|
|
7532
|
+
"text": "Event"
|
|
7533
|
+
}
|
|
7534
|
+
}
|
|
7535
|
+
]
|
|
7386
7536
|
},
|
|
7387
7537
|
{
|
|
7388
7538
|
"kind": "method",
|
|
@@ -7421,473 +7571,360 @@
|
|
|
7421
7571
|
"type": {
|
|
7422
7572
|
"text": "CustomEvent"
|
|
7423
7573
|
},
|
|
7424
|
-
"description": "Fired
|
|
7425
|
-
"name": "btu-
|
|
7426
|
-
},
|
|
7427
|
-
{
|
|
7428
|
-
"type": {
|
|
7429
|
-
"text": "CustomEvent"
|
|
7430
|
-
},
|
|
7431
|
-
"description": "Fired when the popover closes",
|
|
7432
|
-
"name": "btu-popover-hide"
|
|
7433
|
-
}
|
|
7434
|
-
],
|
|
7435
|
-
"attributes": [
|
|
7436
|
-
{
|
|
7437
|
-
"name": "position",
|
|
7438
|
-
"type": {
|
|
7439
|
-
"text": "'top' | 'bottom' | 'left' | 'right'"
|
|
7440
|
-
},
|
|
7441
|
-
"default": "'bottom'",
|
|
7442
|
-
"description": "Position relative to the trigger element.\nAuto-flips when constrained by the viewport.",
|
|
7443
|
-
"fieldName": "position",
|
|
7444
|
-
"attribute": "position"
|
|
7445
|
-
},
|
|
7446
|
-
{
|
|
7447
|
-
"name": "trigger",
|
|
7448
|
-
"type": {
|
|
7449
|
-
"text": "'click' | 'hover' | 'focus'"
|
|
7450
|
-
},
|
|
7451
|
-
"default": "'click'",
|
|
7452
|
-
"description": "How the popover is activated.\n- 'click': Toggle on click with light dismiss\n- 'hover': Show on mouseenter with delay\n- 'focus': Show on focusin",
|
|
7453
|
-
"fieldName": "trigger",
|
|
7454
|
-
"attribute": "trigger"
|
|
7455
|
-
},
|
|
7456
|
-
{
|
|
7457
|
-
"name": "delay",
|
|
7458
|
-
"type": {
|
|
7459
|
-
"text": "number"
|
|
7460
|
-
},
|
|
7461
|
-
"default": "300",
|
|
7462
|
-
"description": "Show delay in milliseconds (hover trigger only).",
|
|
7463
|
-
"fieldName": "delay",
|
|
7464
|
-
"attribute": "delay"
|
|
7465
|
-
},
|
|
7466
|
-
{
|
|
7467
|
-
"name": "offset",
|
|
7468
|
-
"type": {
|
|
7469
|
-
"text": "PopoverOffset | null"
|
|
7470
|
-
},
|
|
7471
|
-
"default": "null",
|
|
7472
|
-
"description": "Gap between trigger and popover (sm=4px, md=8px, lg=12px, xl=16px).",
|
|
7473
|
-
"fieldName": "offset",
|
|
7474
|
-
"attribute": "offset"
|
|
7475
|
-
},
|
|
7476
|
-
{
|
|
7477
|
-
"name": "noArrow",
|
|
7478
|
-
"type": {
|
|
7479
|
-
"text": "boolean"
|
|
7480
|
-
},
|
|
7481
|
-
"default": "false",
|
|
7482
|
-
"description": "Hide the arrow pseudo-element.",
|
|
7483
|
-
"fieldName": "noArrow"
|
|
7484
|
-
},
|
|
7485
|
-
{
|
|
7486
|
-
"name": "inverted",
|
|
7487
|
-
"type": {
|
|
7488
|
-
"text": "boolean"
|
|
7489
|
-
},
|
|
7490
|
-
"default": "false",
|
|
7491
|
-
"description": "Invert the panel surface (dark on light pages, light on dark pages).\nOpt-in, since the panel holds arbitrary rich content.",
|
|
7492
|
-
"fieldName": "inverted",
|
|
7493
|
-
"attribute": "inverted"
|
|
7494
|
-
},
|
|
7495
|
-
{
|
|
7496
|
-
"name": "open",
|
|
7497
|
-
"type": {
|
|
7498
|
-
"text": "boolean"
|
|
7499
|
-
},
|
|
7500
|
-
"default": "false",
|
|
7501
|
-
"description": "Programmatic open/close state (reflected).",
|
|
7502
|
-
"fieldName": "open",
|
|
7503
|
-
"attribute": "open"
|
|
7504
|
-
},
|
|
7505
|
-
{
|
|
7506
|
-
"name": "panel-label",
|
|
7507
|
-
"type": {
|
|
7508
|
-
"text": "string"
|
|
7509
|
-
},
|
|
7510
|
-
"default": "''",
|
|
7511
|
-
"description": "Accessible label for the popover panel (applied as aria-label on the dialog).",
|
|
7512
|
-
"fieldName": "panelLabel",
|
|
7513
|
-
"attribute": "panel-label"
|
|
7574
|
+
"description": "Fired after first render",
|
|
7575
|
+
"name": "btu-pagination-ready"
|
|
7514
7576
|
},
|
|
7515
7577
|
{
|
|
7516
|
-
"name": "no-arrow",
|
|
7517
7578
|
"type": {
|
|
7518
|
-
"text": "
|
|
7579
|
+
"text": "CustomEvent<{page: number, pageSize: number}>"
|
|
7519
7580
|
},
|
|
7520
|
-
"
|
|
7521
|
-
"
|
|
7522
|
-
"attribute": "noArrow",
|
|
7523
|
-
"fieldName": "noArrow"
|
|
7524
|
-
}
|
|
7525
|
-
],
|
|
7526
|
-
"mixins": [
|
|
7527
|
-
{
|
|
7528
|
-
"name": "EventEmitterMixin",
|
|
7529
|
-
"module": "/src/util/EventEmitterMixin.js"
|
|
7530
|
-
},
|
|
7531
|
-
{
|
|
7532
|
-
"name": "ReadyMixin",
|
|
7533
|
-
"module": "/src/util/ReadyMixin.js"
|
|
7534
|
-
}
|
|
7535
|
-
],
|
|
7536
|
-
"superclass": {
|
|
7537
|
-
"name": "LitElement",
|
|
7538
|
-
"package": "lit"
|
|
7539
|
-
},
|
|
7540
|
-
"tagName": "btu-popover",
|
|
7541
|
-
"customElement": true
|
|
7542
|
-
}
|
|
7543
|
-
],
|
|
7544
|
-
"exports": [
|
|
7545
|
-
{
|
|
7546
|
-
"kind": "js",
|
|
7547
|
-
"name": "default",
|
|
7548
|
-
"declaration": {
|
|
7549
|
-
"name": "Popover",
|
|
7550
|
-
"module": "src/components/popover/Popover.ts"
|
|
7551
|
-
}
|
|
7552
|
-
},
|
|
7553
|
-
{
|
|
7554
|
-
"kind": "custom-element-definition",
|
|
7555
|
-
"name": "btu-popover",
|
|
7556
|
-
"declaration": {
|
|
7557
|
-
"name": "Popover",
|
|
7558
|
-
"module": "src/components/popover/Popover.ts"
|
|
7559
|
-
}
|
|
7560
|
-
}
|
|
7561
|
-
]
|
|
7562
|
-
},
|
|
7563
|
-
{
|
|
7564
|
-
"kind": "javascript-module",
|
|
7565
|
-
"path": "src/components/pagination/Pagination.ts",
|
|
7566
|
-
"declarations": [
|
|
7567
|
-
{
|
|
7568
|
-
"kind": "class",
|
|
7569
|
-
"description": "A pagination component for navigating through paged content.\n\nSupports multiple layout variants (Search, Widget, Widget Small, Calendar)\nthrough configurable props and pseudo-slots.\n\n**Page size modes:**\n\n- **Built-in** (default): When no `slot=\"page-size\"` is provided and `page-size-changer`\n is true, Pagination renders its own `btu-dropdown` from the `page-size-options` attribute.\n Events, label sync, and page size changes are managed automatically.\n\n- **Custom slot**: When a child has `slot=\"page-size\"`, the built-in dropdown is suppressed.\n The consumer owns all behavior — event handling, label sync, etc. Use this for non-standard\n selectors like a calendar week/month toggle.\n\n**Page jumper modes:**\n\n- **Built-in**: When `page-jumper` is true and no `slot=\"jumper\"` is provided, Pagination\n renders a dropdown with \"Page 1\" through \"Page N\" items. Fully reactive — updates\n automatically when page, page size, or total items change.\n\n- **Custom slot**: When a child has `slot=\"jumper\"`, the built-in dropdown is suppressed.\n The consumer owns all behavior. Use this for custom jumper content like a \"Today\" button.",
|
|
7570
|
-
"name": "Pagination",
|
|
7571
|
-
"cssProperties": [
|
|
7572
|
-
{
|
|
7573
|
-
"description": "Background color for dropdowns, buttons, and jumper",
|
|
7574
|
-
"name": "--pagination-color-background"
|
|
7575
|
-
},
|
|
7576
|
-
{
|
|
7577
|
-
"description": "Text/icon color",
|
|
7578
|
-
"name": "--pagination-color-foreground"
|
|
7579
|
-
}
|
|
7580
|
-
],
|
|
7581
|
-
"slots": [
|
|
7582
|
-
{
|
|
7583
|
-
"description": "Custom page-size selector (replaces built-in dropdown). Consumer manages all behavior.",
|
|
7584
|
-
"name": "page-size"
|
|
7581
|
+
"description": "Fired on page navigation",
|
|
7582
|
+
"name": "btu-pagination-change"
|
|
7585
7583
|
},
|
|
7586
7584
|
{
|
|
7587
|
-
"
|
|
7588
|
-
|
|
7585
|
+
"type": {
|
|
7586
|
+
"text": "CustomEvent<{page: number, pageSize: number}>"
|
|
7587
|
+
},
|
|
7588
|
+
"description": "Fired on page size change",
|
|
7589
|
+
"name": "btu-pagination-page-size-change"
|
|
7589
7590
|
}
|
|
7590
7591
|
],
|
|
7591
|
-
"
|
|
7592
|
+
"attributes": [
|
|
7592
7593
|
{
|
|
7593
|
-
"kind": "field",
|
|
7594
7594
|
"name": "page",
|
|
7595
7595
|
"type": {
|
|
7596
7596
|
"text": "number"
|
|
7597
7597
|
},
|
|
7598
7598
|
"default": "1",
|
|
7599
7599
|
"description": "Current page number (1-based)",
|
|
7600
|
+
"fieldName": "page",
|
|
7600
7601
|
"attribute": "page"
|
|
7601
7602
|
},
|
|
7602
7603
|
{
|
|
7603
|
-
"
|
|
7604
|
-
"name": "pageSize",
|
|
7604
|
+
"name": "page-size",
|
|
7605
7605
|
"type": {
|
|
7606
7606
|
"text": "number"
|
|
7607
7607
|
},
|
|
7608
7608
|
"default": "0",
|
|
7609
7609
|
"description": "Number of items per page",
|
|
7610
|
+
"fieldName": "pageSize",
|
|
7610
7611
|
"attribute": "page-size"
|
|
7611
7612
|
},
|
|
7612
7613
|
{
|
|
7613
|
-
"kind": "field",
|
|
7614
7614
|
"name": "disabled",
|
|
7615
7615
|
"type": {
|
|
7616
7616
|
"text": "boolean"
|
|
7617
7617
|
},
|
|
7618
7618
|
"default": "false",
|
|
7619
7619
|
"description": "Disables all pagination controls",
|
|
7620
|
+
"fieldName": "disabled",
|
|
7620
7621
|
"attribute": "disabled"
|
|
7621
7622
|
},
|
|
7622
7623
|
{
|
|
7623
|
-
"kind": "field",
|
|
7624
7624
|
"name": "loading",
|
|
7625
7625
|
"type": {
|
|
7626
7626
|
"text": "boolean"
|
|
7627
7627
|
},
|
|
7628
7628
|
"default": "false",
|
|
7629
7629
|
"description": "Shows loading spinner and dims controls",
|
|
7630
|
+
"fieldName": "loading",
|
|
7630
7631
|
"attribute": "loading"
|
|
7631
7632
|
},
|
|
7632
7633
|
{
|
|
7633
|
-
"
|
|
7634
|
-
"name": "hideOnSinglePage",
|
|
7634
|
+
"name": "hide-on-single-page",
|
|
7635
7635
|
"type": {
|
|
7636
7636
|
"text": "boolean"
|
|
7637
7637
|
},
|
|
7638
7638
|
"default": "true",
|
|
7639
7639
|
"description": "Hide controls when there is only one page",
|
|
7640
|
+
"fieldName": "hideOnSinglePage",
|
|
7640
7641
|
"attribute": "hide-on-single-page"
|
|
7641
7642
|
},
|
|
7642
7643
|
{
|
|
7643
|
-
"
|
|
7644
|
-
"name": "pageSizeChanger",
|
|
7644
|
+
"name": "page-size-changer",
|
|
7645
7645
|
"type": {
|
|
7646
7646
|
"text": "boolean"
|
|
7647
7647
|
},
|
|
7648
7648
|
"default": "true",
|
|
7649
7649
|
"description": "Show the page size dropdown",
|
|
7650
|
+
"fieldName": "pageSizeChanger",
|
|
7650
7651
|
"attribute": "page-size-changer"
|
|
7651
7652
|
},
|
|
7652
7653
|
{
|
|
7653
|
-
"
|
|
7654
|
-
"name": "pageSizeOptions",
|
|
7654
|
+
"name": "page-size-options",
|
|
7655
7655
|
"type": {
|
|
7656
7656
|
"text": "string"
|
|
7657
7657
|
},
|
|
7658
7658
|
"default": "'10, 20, 50'",
|
|
7659
7659
|
"description": "Comma-separated page size options",
|
|
7660
|
+
"fieldName": "pageSizeOptions",
|
|
7660
7661
|
"attribute": "page-size-options"
|
|
7661
7662
|
},
|
|
7662
7663
|
{
|
|
7663
|
-
"
|
|
7664
|
-
"name": "totalItems",
|
|
7664
|
+
"name": "total-items",
|
|
7665
7665
|
"type": {
|
|
7666
7666
|
"text": "number"
|
|
7667
7667
|
},
|
|
7668
7668
|
"default": "0",
|
|
7669
7669
|
"description": "Total number of items across all pages",
|
|
7670
|
+
"fieldName": "totalItems",
|
|
7670
7671
|
"attribute": "total-items"
|
|
7671
7672
|
},
|
|
7672
7673
|
{
|
|
7673
|
-
"
|
|
7674
|
-
"name": "boundaryButtons",
|
|
7674
|
+
"name": "boundary-buttons",
|
|
7675
7675
|
"type": {
|
|
7676
7676
|
"text": "boolean"
|
|
7677
7677
|
},
|
|
7678
7678
|
"default": "true",
|
|
7679
7679
|
"description": "Show first and last page buttons",
|
|
7680
|
+
"fieldName": "boundaryButtons",
|
|
7680
7681
|
"attribute": "boundary-buttons"
|
|
7681
7682
|
},
|
|
7682
7683
|
{
|
|
7683
|
-
"
|
|
7684
|
-
"name": "hideTotalCount",
|
|
7684
|
+
"name": "hide-total-count",
|
|
7685
7685
|
"type": {
|
|
7686
7686
|
"text": "boolean"
|
|
7687
7687
|
},
|
|
7688
7688
|
"default": "false",
|
|
7689
7689
|
"description": "Hide the item count display (e.g., \"1-10 of 200\")",
|
|
7690
|
+
"fieldName": "hideTotalCount",
|
|
7690
7691
|
"attribute": "hide-total-count"
|
|
7691
7692
|
},
|
|
7692
7693
|
{
|
|
7693
|
-
"
|
|
7694
|
-
"name": "pageJumper",
|
|
7694
|
+
"name": "page-jumper",
|
|
7695
7695
|
"type": {
|
|
7696
7696
|
"text": "boolean"
|
|
7697
7697
|
},
|
|
7698
7698
|
"default": "false",
|
|
7699
7699
|
"description": "Show the page jumper dropdown. Intended for moderate page counts (under ~100 pages).\nFor large datasets, use a custom `slot=\"jumper\"` with a virtualized or input-based control.",
|
|
7700
|
+
"fieldName": "pageJumper",
|
|
7700
7701
|
"attribute": "page-jumper"
|
|
7701
7702
|
},
|
|
7702
7703
|
{
|
|
7703
|
-
"kind": "field",
|
|
7704
7704
|
"name": "label",
|
|
7705
7705
|
"type": {
|
|
7706
7706
|
"text": "string | undefined"
|
|
7707
7707
|
},
|
|
7708
7708
|
"description": "Accessible label for the pagination nav landmark",
|
|
7709
|
+
"fieldName": "label",
|
|
7709
7710
|
"attribute": "label"
|
|
7711
|
+
}
|
|
7712
|
+
],
|
|
7713
|
+
"mixins": [
|
|
7714
|
+
{
|
|
7715
|
+
"name": "EventEmitterMixin",
|
|
7716
|
+
"module": "/src/util/EventEmitterMixin.js"
|
|
7717
|
+
},
|
|
7718
|
+
{
|
|
7719
|
+
"name": "ReadyMixin",
|
|
7720
|
+
"module": "/src/util/ReadyMixin.js"
|
|
7721
|
+
}
|
|
7722
|
+
],
|
|
7723
|
+
"superclass": {
|
|
7724
|
+
"name": "LitElement",
|
|
7725
|
+
"package": "lit"
|
|
7726
|
+
},
|
|
7727
|
+
"tagName": "btu-pagination",
|
|
7728
|
+
"customElement": true
|
|
7729
|
+
}
|
|
7730
|
+
],
|
|
7731
|
+
"exports": [
|
|
7732
|
+
{
|
|
7733
|
+
"kind": "js",
|
|
7734
|
+
"name": "default",
|
|
7735
|
+
"declaration": {
|
|
7736
|
+
"name": "Pagination",
|
|
7737
|
+
"module": "src/components/pagination/Pagination.ts"
|
|
7738
|
+
}
|
|
7739
|
+
},
|
|
7740
|
+
{
|
|
7741
|
+
"kind": "custom-element-definition",
|
|
7742
|
+
"name": "btu-pagination",
|
|
7743
|
+
"declaration": {
|
|
7744
|
+
"name": "Pagination",
|
|
7745
|
+
"module": "src/components/pagination/Pagination.ts"
|
|
7746
|
+
}
|
|
7747
|
+
}
|
|
7748
|
+
]
|
|
7749
|
+
},
|
|
7750
|
+
{
|
|
7751
|
+
"kind": "javascript-module",
|
|
7752
|
+
"path": "src/components/popover/Popover.ts",
|
|
7753
|
+
"declarations": [
|
|
7754
|
+
{
|
|
7755
|
+
"kind": "class",
|
|
7756
|
+
"description": "A popover component for displaying rich interactive content anchored to a trigger element.\n\nUses the native HTML Popover API for top-layer rendering, light dismiss (click-outside\nand Escape for click triggers), and focus management. CSS anchor positioning handles\nviewport-aware placement.\n\nFor click triggers (`popover=\"auto\"`), the browser provides:\n- Light dismiss (Escape key and click-outside)\n- Top-layer rendering (no z-index needed)\n- Focus restoration on close\n- `autofocus` support — add `autofocus` to an element inside `slot=\"content\"`\n to have it receive focus when the popover opens",
|
|
7757
|
+
"name": "Popover",
|
|
7758
|
+
"cssProperties": [
|
|
7759
|
+
{
|
|
7760
|
+
"description": "Panel background color (default: var(--btu-theme-white); inverted: var(--btu-theme-black))",
|
|
7761
|
+
"name": "--popover-color-background"
|
|
7762
|
+
},
|
|
7763
|
+
{
|
|
7764
|
+
"description": "Panel text color (default: oklch(var(--btu-theme-gray-900)); inverted: var(--btu-theme-white))",
|
|
7765
|
+
"name": "--popover-color-content"
|
|
7766
|
+
},
|
|
7767
|
+
{
|
|
7768
|
+
"description": "Panel corner radius (default: theme borderRadius.lg)",
|
|
7769
|
+
"name": "--popover-border-radius"
|
|
7770
|
+
},
|
|
7771
|
+
{
|
|
7772
|
+
"description": "Edge width, panel and arrow (default: 1px; 0 removes it)",
|
|
7773
|
+
"name": "--popover-border-width"
|
|
7774
|
+
},
|
|
7775
|
+
{
|
|
7776
|
+
"description": "Edge color, panel and arrow (default: oklch(var(--btu-theme-gray-200)))",
|
|
7777
|
+
"name": "--popover-border-color"
|
|
7778
|
+
},
|
|
7779
|
+
{
|
|
7780
|
+
"description": "Gap between trigger and panel (default: 8px; see btu-popover-offset-{sm|md|lg|xl})",
|
|
7781
|
+
"name": "--popover-offset"
|
|
7782
|
+
},
|
|
7783
|
+
{
|
|
7784
|
+
"description": "Width/height of the pointer arrow (default: 8px)",
|
|
7785
|
+
"name": "--popover-arrow-size"
|
|
7786
|
+
}
|
|
7787
|
+
],
|
|
7788
|
+
"slots": [
|
|
7789
|
+
{
|
|
7790
|
+
"description": "The element that activates the popover",
|
|
7791
|
+
"name": "trigger"
|
|
7710
7792
|
},
|
|
7793
|
+
{
|
|
7794
|
+
"description": "Rich HTML content displayed inside the popover panel",
|
|
7795
|
+
"name": "content"
|
|
7796
|
+
}
|
|
7797
|
+
],
|
|
7798
|
+
"members": [
|
|
7711
7799
|
{
|
|
7712
7800
|
"kind": "field",
|
|
7713
|
-
"name": "
|
|
7801
|
+
"name": "position",
|
|
7714
7802
|
"type": {
|
|
7715
|
-
"text": "
|
|
7803
|
+
"text": "'top' | 'bottom' | 'left' | 'right'"
|
|
7716
7804
|
},
|
|
7717
|
-
"
|
|
7718
|
-
"
|
|
7805
|
+
"default": "'bottom'",
|
|
7806
|
+
"description": "Position relative to the trigger element.\nAuto-flips when constrained by the viewport.",
|
|
7807
|
+
"attribute": "position"
|
|
7719
7808
|
},
|
|
7720
7809
|
{
|
|
7721
7810
|
"kind": "field",
|
|
7722
|
-
"name": "
|
|
7811
|
+
"name": "trigger",
|
|
7723
7812
|
"type": {
|
|
7724
|
-
"text": "
|
|
7813
|
+
"text": "'click' | 'hover' | 'focus'"
|
|
7725
7814
|
},
|
|
7726
|
-
"
|
|
7727
|
-
"
|
|
7815
|
+
"default": "'click'",
|
|
7816
|
+
"description": "How the popover is activated.\n- 'click': Toggle on click with light dismiss\n- 'hover': Show on mouseenter with delay\n- 'focus': Show on focusin",
|
|
7817
|
+
"attribute": "trigger"
|
|
7728
7818
|
},
|
|
7729
7819
|
{
|
|
7730
7820
|
"kind": "field",
|
|
7731
|
-
"name": "
|
|
7821
|
+
"name": "delay",
|
|
7732
7822
|
"type": {
|
|
7733
7823
|
"text": "number"
|
|
7734
7824
|
},
|
|
7735
|
-
"
|
|
7736
|
-
"
|
|
7825
|
+
"default": "300",
|
|
7826
|
+
"description": "Show delay in milliseconds (hover trigger only).",
|
|
7827
|
+
"attribute": "delay"
|
|
7737
7828
|
},
|
|
7738
7829
|
{
|
|
7739
7830
|
"kind": "field",
|
|
7740
|
-
"name": "
|
|
7831
|
+
"name": "offset",
|
|
7741
7832
|
"type": {
|
|
7742
|
-
"text": "
|
|
7833
|
+
"text": "PopoverOffset | null"
|
|
7743
7834
|
},
|
|
7744
|
-
"
|
|
7745
|
-
"
|
|
7835
|
+
"default": "null",
|
|
7836
|
+
"description": "Gap between trigger and popover (sm=4px, md=8px, lg=12px, xl=16px).",
|
|
7837
|
+
"attribute": "offset"
|
|
7746
7838
|
},
|
|
7747
7839
|
{
|
|
7748
7840
|
"kind": "field",
|
|
7749
|
-
"name": "
|
|
7841
|
+
"name": "noArrow",
|
|
7750
7842
|
"type": {
|
|
7751
|
-
"text": "
|
|
7843
|
+
"text": "boolean"
|
|
7752
7844
|
},
|
|
7753
|
-
"
|
|
7754
|
-
"
|
|
7845
|
+
"default": "false",
|
|
7846
|
+
"description": "Hide the arrow pseudo-element.",
|
|
7847
|
+
"attribute": "no-arrow"
|
|
7755
7848
|
},
|
|
7756
7849
|
{
|
|
7757
|
-
"kind": "
|
|
7758
|
-
"name": "
|
|
7759
|
-
"
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7850
|
+
"kind": "field",
|
|
7851
|
+
"name": "inverted",
|
|
7852
|
+
"type": {
|
|
7853
|
+
"text": "boolean"
|
|
7854
|
+
},
|
|
7855
|
+
"default": "false",
|
|
7856
|
+
"description": "Invert the panel surface (dark on light pages, light on dark pages).\nOpt-in, since the panel holds arbitrary rich content.",
|
|
7857
|
+
"attribute": "inverted"
|
|
7765
7858
|
},
|
|
7766
7859
|
{
|
|
7767
|
-
"kind": "
|
|
7768
|
-
"name": "
|
|
7769
|
-
"
|
|
7770
|
-
|
|
7771
|
-
"type": {
|
|
7772
|
-
"text": "void"
|
|
7773
|
-
}
|
|
7860
|
+
"kind": "field",
|
|
7861
|
+
"name": "open",
|
|
7862
|
+
"type": {
|
|
7863
|
+
"text": "boolean"
|
|
7774
7864
|
},
|
|
7775
|
-
"
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
"text": "Event"
|
|
7780
|
-
}
|
|
7781
|
-
}
|
|
7782
|
-
]
|
|
7865
|
+
"default": "false",
|
|
7866
|
+
"description": "Programmatic open/close state (reflected).",
|
|
7867
|
+
"attribute": "open",
|
|
7868
|
+
"reflects": true
|
|
7783
7869
|
},
|
|
7784
7870
|
{
|
|
7785
|
-
"kind": "
|
|
7786
|
-
"name": "
|
|
7787
|
-
"
|
|
7788
|
-
|
|
7789
|
-
"type": {
|
|
7790
|
-
"text": "void"
|
|
7791
|
-
}
|
|
7871
|
+
"kind": "field",
|
|
7872
|
+
"name": "panelLabel",
|
|
7873
|
+
"type": {
|
|
7874
|
+
"text": "string"
|
|
7792
7875
|
},
|
|
7793
|
-
"
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7876
|
+
"default": "''",
|
|
7877
|
+
"description": "Accessible label for the popover panel (applied as aria-label on the dialog).",
|
|
7878
|
+
"attribute": "panel-label"
|
|
7879
|
+
},
|
|
7880
|
+
{
|
|
7881
|
+
"kind": "field",
|
|
7882
|
+
"name": "_initialClassesCaptured",
|
|
7883
|
+
"type": {
|
|
7884
|
+
"text": "boolean"
|
|
7885
|
+
},
|
|
7886
|
+
"privacy": "private",
|
|
7887
|
+
"default": "false"
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"kind": "field",
|
|
7891
|
+
"name": "_onTriggerMouseLeave",
|
|
7892
|
+
"privacy": "private"
|
|
7893
|
+
},
|
|
7894
|
+
{
|
|
7895
|
+
"kind": "field",
|
|
7896
|
+
"name": "_onTriggerFocusIn",
|
|
7897
|
+
"privacy": "private"
|
|
7801
7898
|
},
|
|
7802
7899
|
{
|
|
7803
|
-
"kind": "
|
|
7804
|
-
"name": "
|
|
7805
|
-
"privacy": "private"
|
|
7806
|
-
"return": {
|
|
7807
|
-
"type": {
|
|
7808
|
-
"text": "void"
|
|
7809
|
-
}
|
|
7810
|
-
},
|
|
7811
|
-
"parameters": [
|
|
7812
|
-
{
|
|
7813
|
-
"name": "e",
|
|
7814
|
-
"type": {
|
|
7815
|
-
"text": "Event"
|
|
7816
|
-
}
|
|
7817
|
-
}
|
|
7818
|
-
]
|
|
7900
|
+
"kind": "field",
|
|
7901
|
+
"name": "_onTriggerFocusOut",
|
|
7902
|
+
"privacy": "private"
|
|
7819
7903
|
},
|
|
7820
7904
|
{
|
|
7821
|
-
"kind": "
|
|
7822
|
-
"name": "
|
|
7823
|
-
"privacy": "private"
|
|
7824
|
-
"return": {
|
|
7825
|
-
"type": {
|
|
7826
|
-
"text": "void"
|
|
7827
|
-
}
|
|
7828
|
-
},
|
|
7829
|
-
"parameters": [
|
|
7830
|
-
{
|
|
7831
|
-
"name": "e",
|
|
7832
|
-
"type": {
|
|
7833
|
-
"text": "Event"
|
|
7834
|
-
}
|
|
7835
|
-
}
|
|
7836
|
-
]
|
|
7905
|
+
"kind": "field",
|
|
7906
|
+
"name": "_onPanelMouseEnter",
|
|
7907
|
+
"privacy": "private"
|
|
7837
7908
|
},
|
|
7838
7909
|
{
|
|
7839
|
-
"kind": "
|
|
7840
|
-
"name": "
|
|
7841
|
-
"privacy": "private"
|
|
7842
|
-
"return": {
|
|
7843
|
-
"type": {
|
|
7844
|
-
"text": "void"
|
|
7845
|
-
}
|
|
7846
|
-
},
|
|
7847
|
-
"parameters": [
|
|
7848
|
-
{
|
|
7849
|
-
"name": "clickedButton",
|
|
7850
|
-
"type": {
|
|
7851
|
-
"text": "IconButton"
|
|
7852
|
-
}
|
|
7853
|
-
}
|
|
7854
|
-
]
|
|
7910
|
+
"kind": "field",
|
|
7911
|
+
"name": "_onPanelMouseLeave",
|
|
7912
|
+
"privacy": "private"
|
|
7855
7913
|
},
|
|
7856
7914
|
{
|
|
7857
|
-
"kind": "
|
|
7858
|
-
"name": "
|
|
7859
|
-
"privacy": "private"
|
|
7860
|
-
"return": {
|
|
7861
|
-
"type": {
|
|
7862
|
-
"text": "void"
|
|
7863
|
-
}
|
|
7864
|
-
},
|
|
7865
|
-
"parameters": [
|
|
7866
|
-
{
|
|
7867
|
-
"name": "e",
|
|
7868
|
-
"type": {
|
|
7869
|
-
"text": "Event"
|
|
7870
|
-
}
|
|
7871
|
-
}
|
|
7872
|
-
]
|
|
7915
|
+
"kind": "field",
|
|
7916
|
+
"name": "_onNativeToggle",
|
|
7917
|
+
"privacy": "private"
|
|
7873
7918
|
},
|
|
7874
7919
|
{
|
|
7875
|
-
"kind": "
|
|
7876
|
-
"name": "
|
|
7877
|
-
"privacy": "private"
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
"parameters": [
|
|
7884
|
-
{
|
|
7885
|
-
"name": "e",
|
|
7886
|
-
"type": {
|
|
7887
|
-
"text": "Event"
|
|
7888
|
-
}
|
|
7889
|
-
}
|
|
7890
|
-
]
|
|
7920
|
+
"kind": "field",
|
|
7921
|
+
"name": "_onKeyDown",
|
|
7922
|
+
"privacy": "private"
|
|
7923
|
+
},
|
|
7924
|
+
{
|
|
7925
|
+
"kind": "field",
|
|
7926
|
+
"name": "_onViewportChange",
|
|
7927
|
+
"privacy": "private"
|
|
7891
7928
|
},
|
|
7892
7929
|
{
|
|
7893
7930
|
"kind": "method",
|
|
@@ -7926,143 +7963,106 @@
|
|
|
7926
7963
|
"type": {
|
|
7927
7964
|
"text": "CustomEvent"
|
|
7928
7965
|
},
|
|
7929
|
-
"description": "Fired
|
|
7930
|
-
"name": "btu-
|
|
7931
|
-
},
|
|
7932
|
-
{
|
|
7933
|
-
"type": {
|
|
7934
|
-
"text": "CustomEvent<{page: number, pageSize: number}>"
|
|
7935
|
-
},
|
|
7936
|
-
"description": "Fired on page navigation",
|
|
7937
|
-
"name": "btu-pagination-change"
|
|
7966
|
+
"description": "Fired when the popover opens",
|
|
7967
|
+
"name": "btu-popover-show"
|
|
7938
7968
|
},
|
|
7939
7969
|
{
|
|
7940
7970
|
"type": {
|
|
7941
|
-
"text": "CustomEvent
|
|
7971
|
+
"text": "CustomEvent"
|
|
7942
7972
|
},
|
|
7943
|
-
"description": "Fired
|
|
7944
|
-
"name": "btu-
|
|
7973
|
+
"description": "Fired when the popover closes",
|
|
7974
|
+
"name": "btu-popover-hide"
|
|
7945
7975
|
}
|
|
7946
7976
|
],
|
|
7947
7977
|
"attributes": [
|
|
7948
7978
|
{
|
|
7949
|
-
"name": "
|
|
7979
|
+
"name": "position",
|
|
7950
7980
|
"type": {
|
|
7951
|
-
"text": "
|
|
7981
|
+
"text": "'top' | 'bottom' | 'left' | 'right'"
|
|
7952
7982
|
},
|
|
7953
|
-
"default": "
|
|
7954
|
-
"description": "
|
|
7955
|
-
"fieldName": "
|
|
7956
|
-
"attribute": "
|
|
7983
|
+
"default": "'bottom'",
|
|
7984
|
+
"description": "Position relative to the trigger element.\nAuto-flips when constrained by the viewport.",
|
|
7985
|
+
"fieldName": "position",
|
|
7986
|
+
"attribute": "position"
|
|
7957
7987
|
},
|
|
7958
7988
|
{
|
|
7959
|
-
"name": "
|
|
7989
|
+
"name": "trigger",
|
|
7960
7990
|
"type": {
|
|
7961
|
-
"text": "
|
|
7991
|
+
"text": "'click' | 'hover' | 'focus'"
|
|
7962
7992
|
},
|
|
7963
|
-
"default": "
|
|
7964
|
-
"description": "
|
|
7965
|
-
"fieldName": "
|
|
7966
|
-
"attribute": "
|
|
7993
|
+
"default": "'click'",
|
|
7994
|
+
"description": "How the popover is activated.\n- 'click': Toggle on click with light dismiss\n- 'hover': Show on mouseenter with delay\n- 'focus': Show on focusin",
|
|
7995
|
+
"fieldName": "trigger",
|
|
7996
|
+
"attribute": "trigger"
|
|
7967
7997
|
},
|
|
7968
7998
|
{
|
|
7969
|
-
"name": "
|
|
7999
|
+
"name": "delay",
|
|
7970
8000
|
"type": {
|
|
7971
|
-
"text": "
|
|
8001
|
+
"text": "number"
|
|
7972
8002
|
},
|
|
7973
|
-
"default": "
|
|
7974
|
-
"description": "
|
|
7975
|
-
"fieldName": "
|
|
7976
|
-
"attribute": "
|
|
8003
|
+
"default": "300",
|
|
8004
|
+
"description": "Show delay in milliseconds (hover trigger only).",
|
|
8005
|
+
"fieldName": "delay",
|
|
8006
|
+
"attribute": "delay"
|
|
7977
8007
|
},
|
|
7978
8008
|
{
|
|
7979
|
-
"name": "
|
|
8009
|
+
"name": "offset",
|
|
7980
8010
|
"type": {
|
|
7981
|
-
"text": "
|
|
8011
|
+
"text": "PopoverOffset | null"
|
|
7982
8012
|
},
|
|
7983
|
-
"default": "
|
|
7984
|
-
"description": "
|
|
7985
|
-
"fieldName": "
|
|
7986
|
-
"attribute": "
|
|
8013
|
+
"default": "null",
|
|
8014
|
+
"description": "Gap between trigger and popover (sm=4px, md=8px, lg=12px, xl=16px).",
|
|
8015
|
+
"fieldName": "offset",
|
|
8016
|
+
"attribute": "offset"
|
|
7987
8017
|
},
|
|
7988
8018
|
{
|
|
7989
|
-
"name": "
|
|
8019
|
+
"name": "noArrow",
|
|
7990
8020
|
"type": {
|
|
7991
8021
|
"text": "boolean"
|
|
7992
8022
|
},
|
|
7993
|
-
"default": "
|
|
7994
|
-
"description": "Hide
|
|
7995
|
-
"fieldName": "
|
|
7996
|
-
"attribute": "hide-on-single-page"
|
|
8023
|
+
"default": "false",
|
|
8024
|
+
"description": "Hide the arrow pseudo-element.",
|
|
8025
|
+
"fieldName": "noArrow"
|
|
7997
8026
|
},
|
|
7998
8027
|
{
|
|
7999
|
-
"name": "
|
|
8028
|
+
"name": "inverted",
|
|
8000
8029
|
"type": {
|
|
8001
8030
|
"text": "boolean"
|
|
8002
8031
|
},
|
|
8003
|
-
"default": "
|
|
8004
|
-
"description": "
|
|
8005
|
-
"fieldName": "
|
|
8006
|
-
"attribute": "
|
|
8007
|
-
},
|
|
8008
|
-
{
|
|
8009
|
-
"name": "page-size-options",
|
|
8010
|
-
"type": {
|
|
8011
|
-
"text": "string"
|
|
8012
|
-
},
|
|
8013
|
-
"default": "'10, 20, 50'",
|
|
8014
|
-
"description": "Comma-separated page size options",
|
|
8015
|
-
"fieldName": "pageSizeOptions",
|
|
8016
|
-
"attribute": "page-size-options"
|
|
8017
|
-
},
|
|
8018
|
-
{
|
|
8019
|
-
"name": "total-items",
|
|
8020
|
-
"type": {
|
|
8021
|
-
"text": "number"
|
|
8022
|
-
},
|
|
8023
|
-
"default": "0",
|
|
8024
|
-
"description": "Total number of items across all pages",
|
|
8025
|
-
"fieldName": "totalItems",
|
|
8026
|
-
"attribute": "total-items"
|
|
8032
|
+
"default": "false",
|
|
8033
|
+
"description": "Invert the panel surface (dark on light pages, light on dark pages).\nOpt-in, since the panel holds arbitrary rich content.",
|
|
8034
|
+
"fieldName": "inverted",
|
|
8035
|
+
"attribute": "inverted"
|
|
8027
8036
|
},
|
|
8028
8037
|
{
|
|
8029
|
-
"name": "
|
|
8038
|
+
"name": "open",
|
|
8030
8039
|
"type": {
|
|
8031
8040
|
"text": "boolean"
|
|
8032
8041
|
},
|
|
8033
|
-
"default": "
|
|
8034
|
-
"description": "
|
|
8035
|
-
"fieldName": "
|
|
8036
|
-
"attribute": "
|
|
8042
|
+
"default": "false",
|
|
8043
|
+
"description": "Programmatic open/close state (reflected).",
|
|
8044
|
+
"fieldName": "open",
|
|
8045
|
+
"attribute": "open"
|
|
8037
8046
|
},
|
|
8038
8047
|
{
|
|
8039
|
-
"name": "
|
|
8048
|
+
"name": "panel-label",
|
|
8040
8049
|
"type": {
|
|
8041
|
-
"text": "
|
|
8050
|
+
"text": "string"
|
|
8042
8051
|
},
|
|
8043
|
-
"default": "
|
|
8044
|
-
"description": "
|
|
8045
|
-
"fieldName": "
|
|
8046
|
-
"attribute": "
|
|
8052
|
+
"default": "''",
|
|
8053
|
+
"description": "Accessible label for the popover panel (applied as aria-label on the dialog).",
|
|
8054
|
+
"fieldName": "panelLabel",
|
|
8055
|
+
"attribute": "panel-label"
|
|
8047
8056
|
},
|
|
8048
8057
|
{
|
|
8049
|
-
"name": "
|
|
8058
|
+
"name": "no-arrow",
|
|
8050
8059
|
"type": {
|
|
8051
8060
|
"text": "boolean"
|
|
8052
8061
|
},
|
|
8053
8062
|
"default": "false",
|
|
8054
|
-
"description": "
|
|
8055
|
-
"
|
|
8056
|
-
"
|
|
8057
|
-
},
|
|
8058
|
-
{
|
|
8059
|
-
"name": "label",
|
|
8060
|
-
"type": {
|
|
8061
|
-
"text": "string | undefined"
|
|
8062
|
-
},
|
|
8063
|
-
"description": "Accessible label for the pagination nav landmark",
|
|
8064
|
-
"fieldName": "label",
|
|
8065
|
-
"attribute": "label"
|
|
8063
|
+
"description": "Hide the arrow pseudo-element.",
|
|
8064
|
+
"attribute": "noArrow",
|
|
8065
|
+
"fieldName": "noArrow"
|
|
8066
8066
|
}
|
|
8067
8067
|
],
|
|
8068
8068
|
"mixins": [
|
|
@@ -8079,7 +8079,7 @@
|
|
|
8079
8079
|
"name": "LitElement",
|
|
8080
8080
|
"package": "lit"
|
|
8081
8081
|
},
|
|
8082
|
-
"tagName": "btu-
|
|
8082
|
+
"tagName": "btu-popover",
|
|
8083
8083
|
"customElement": true
|
|
8084
8084
|
}
|
|
8085
8085
|
],
|
|
@@ -8088,16 +8088,16 @@
|
|
|
8088
8088
|
"kind": "js",
|
|
8089
8089
|
"name": "default",
|
|
8090
8090
|
"declaration": {
|
|
8091
|
-
"name": "
|
|
8092
|
-
"module": "src/components/
|
|
8091
|
+
"name": "Popover",
|
|
8092
|
+
"module": "src/components/popover/Popover.ts"
|
|
8093
8093
|
}
|
|
8094
8094
|
},
|
|
8095
8095
|
{
|
|
8096
8096
|
"kind": "custom-element-definition",
|
|
8097
|
-
"name": "btu-
|
|
8097
|
+
"name": "btu-popover",
|
|
8098
8098
|
"declaration": {
|
|
8099
|
-
"name": "
|
|
8100
|
-
"module": "src/components/
|
|
8099
|
+
"name": "Popover",
|
|
8100
|
+
"module": "src/components/popover/Popover.ts"
|
|
8101
8101
|
}
|
|
8102
8102
|
}
|
|
8103
8103
|
]
|