@brightspot/ui 1.7.0 → 1.9.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.
Files changed (70) hide show
  1. package/dist/LucideDynamicLoader.js +1 -1
  2. package/dist/LucideDynamicLoader.js.map +1 -1
  3. package/dist/LucideDynamicLoader.ts +1 -1
  4. package/dist/components/icon/Icon.d.ts +1 -0
  5. package/dist/components/icon/Icon.d.ts.map +1 -1
  6. package/dist/components/icon/Icon.js +2 -1
  7. package/dist/components/icon/Icon.js.map +1 -1
  8. package/dist/components/icon-button/IconButton.d.ts +85 -0
  9. package/dist/components/icon-button/IconButton.d.ts.map +1 -0
  10. package/dist/components/icon-button/IconButton.js +171 -0
  11. package/dist/components/icon-button/IconButton.js.map +1 -0
  12. package/dist/components/pagination/Pagination.d.ts +0 -1
  13. package/dist/components/pagination/Pagination.d.ts.map +1 -1
  14. package/dist/components/pagination/Pagination.js +22 -22
  15. package/dist/components/pagination/Pagination.js.map +1 -1
  16. package/dist/custom-elements.json +321 -102
  17. package/dist/storybook/assets/{Avatar.stories-BAaSlDF7.js → Avatar.stories-Du1qM73U.js} +1 -1
  18. package/dist/storybook/assets/{AvatarGroup.stories-CgoDB4N4.js → AvatarGroup.stories-DxwZQE-q.js} +1 -1
  19. package/dist/storybook/assets/{Badge.stories-uexxdmo6.js → Badge.stories-CfvkMIx2.js} +1 -1
  20. package/dist/storybook/assets/{Button.stories-T9UJUPHI.js → Button.stories-hDMDDh81.js} +1 -1
  21. package/dist/storybook/assets/{CircularProgress.stories-DW-VJA5j.js → CircularProgress.stories-rPzKwQYD.js} +1 -1
  22. package/dist/storybook/assets/{ClipboardMixin.stories-DzU4vxu5.js → ClipboardMixin.stories-BlUeYDSi.js} +1 -1
  23. package/dist/storybook/assets/{Color-6BZIO3FS-DRk2xjoN.js → Color-6BZIO3FS-C_nQSB2u.js} +1 -1
  24. package/dist/storybook/assets/{Colors.stories-_UPdvuhY.js → Colors.stories-BspfjZ5q.js} +1 -1
  25. package/dist/storybook/assets/{ComponentStatesMixin-BIu5SKeV.js → ComponentStatesMixin-eTV7XXqB.js} +1 -1
  26. package/dist/storybook/assets/{ComponentStatesMixin.stories-C0FLaqLu.js → ComponentStatesMixin.stories-BbLSY3df.js} +1 -1
  27. package/dist/storybook/assets/{CopyToClipboard.stories-D31zoUVI.js → CopyToClipboard.stories-B2ailiFF.js} +1 -1
  28. package/dist/storybook/assets/{Debounce.stories-CgPPl5Ee.js → Debounce.stories-DJmp4eNo.js} +1 -1
  29. package/dist/storybook/assets/{DocsRenderer-LL677BLK-iwiwOzX9.js → DocsRenderer-LL677BLK-56Pige1J.js} +6 -6
  30. package/dist/storybook/assets/{Dropdown.stories-CDcl6rmG.js → Dropdown.stories-Dd6vKiDd.js} +1 -1
  31. package/dist/storybook/assets/{Events.stories-DS6UC9dZ.js → Events.stories-Byj-VOM9.js} +1 -1
  32. package/dist/storybook/assets/{Heading.stories-CAQfEGE2.js → Heading.stories-Dqw-wzpx.js} +1 -1
  33. package/dist/storybook/assets/{Icon.stories-C7msWlHs.js → Icon.stories-Bp1nvWER.js} +32 -13
  34. package/dist/storybook/assets/IconButton.stories-o9g9mGdh.js +748 -0
  35. package/dist/storybook/assets/{LinearProgress.stories-DBGJ5a2-.js → LinearProgress.stories-DnXQVpzX.js} +1 -1
  36. package/dist/storybook/assets/LucideDynamicLoader-jmdq8YDM.js +1 -0
  37. package/dist/storybook/assets/{Pagination.stories-C58bGOdf.js → Pagination.stories-DQD8uvDc.js} +1 -1
  38. package/dist/storybook/assets/{Popover.stories-C9zU0sEX.js → Popover.stories-BvavsRfq.js} +1 -1
  39. package/dist/storybook/assets/{ReadyMixin-qf8SAjMu.js → ReadyMixin-6On1MFFr.js} +1 -1
  40. package/dist/storybook/assets/{Rtc.stories-k9tKHNhD.js → Rtc.stories-Bb5Y-908.js} +1 -1
  41. package/dist/storybook/assets/{ScrollShadow.stories-Bp42zyLH.js → ScrollShadow.stories-ZovRXpte.js} +1 -1
  42. package/dist/storybook/assets/{Throttle.stories-B5YU-Nms.js → Throttle.stories-DmP-yKke.js} +1 -1
  43. package/dist/storybook/assets/{Tooltip.stories-COQcvOnL.js → Tooltip.stories-Dl6xHBaM.js} +1 -1
  44. package/dist/storybook/assets/{Widget.stories-D3Sq5-_A.js → Widget.stories-BjXfgNjZ.js} +1 -1
  45. package/dist/storybook/assets/{WithTooltip-65CFNBJE-Cox81aM_.js → WithTooltip-65CFNBJE-CGB5q-AN.js} +1 -1
  46. package/dist/storybook/assets/{formatter-EIJCOSYU-3ErcoV9q.js → formatter-EIJCOSYU-BhNtSFM9.js} +1 -1
  47. package/dist/storybook/assets/if-defined-BFyUeSVF.js +1 -0
  48. package/dist/storybook/assets/{iframe-CM6gBkqA.js → iframe-BeKreX-l.js} +100 -100
  49. package/dist/storybook/assets/{iframe-D3r2Ciu8.css → iframe-CNxIA3cQ.css} +1 -1
  50. package/dist/storybook/assets/{index-iwfnMgqg.js → index-Uz2kGy8J.js} +1 -1
  51. package/dist/storybook/assets/{onFind.stories-CDtoTN6S.js → onFind.stories-B2GYLrjV.js} +1 -1
  52. package/dist/storybook/assets/{onRemove.stories-CSTeFCLU.js → onRemove.stories-CoLJFkWa.js} +1 -1
  53. package/dist/storybook/assets/{onVisible.stories-C-yiw9n4.js → onVisible.stories-DOeZx7wi.js} +1 -1
  54. package/dist/storybook/assets/{style-map-BJGdSb_D.js → style-map-CmHqpCu1.js} +1 -1
  55. package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-BEudYlVi.js → syntaxhighlighter-ED5Y7EFY-BqFfcc7x.js} +1 -1
  56. package/dist/storybook/iframe.html +2 -2
  57. package/dist/storybook/index.json +1 -1
  58. package/dist/storybook/project.json +1 -1
  59. package/dist/tailwind-plugin-pagination.js +9 -21
  60. package/dist/tailwind-plugin-pagination.js.map +1 -1
  61. package/dist/tailwind-plugin-pagination.ts +10 -21
  62. package/dist/util/EventEmitterMixin.d.ts +4 -0
  63. package/dist/util/EventEmitterMixin.d.ts.map +1 -1
  64. package/dist/util/EventEmitterMixin.js.map +1 -1
  65. package/docs/components/Icon.md +6 -5
  66. package/docs/components/IconButton.md +63 -0
  67. package/docs/components/Pagination.md +9 -9
  68. package/docs/components/README.md +1 -0
  69. package/package.json +1 -1
  70. package/dist/storybook/assets/if-defined-Bv2_qPJg.js +0 -1
@@ -295,67 +295,45 @@
295
295
  },
296
296
  {
297
297
  "kind": "javascript-module",
298
- "path": "src/components/badge/Badge.ts",
298
+ "path": "src/components/circular-progress/CircularProgress.ts",
299
299
  "declarations": [
300
300
  {
301
301
  "kind": "class",
302
- "description": "A badge component for highlighting important information.\n\nBadges help highlight notifications, status, or new messages.\nPrimarily used for communicating secondary or additional information.",
303
- "name": "Badge",
302
+ "description": "A circular progress indicator for showing loading states or progress.",
303
+ "name": "CircularProgress",
304
304
  "cssProperties": [
305
305
  {
306
- "description": "Text color (overrides theme color)",
307
- "name": "--badge-color-foreground"
308
- },
309
- {
310
- "description": "Background color (overrides theme color)",
311
- "name": "--badge-color-background"
312
- },
313
- {
314
- "description": "Border radius size (overrides shape default, default: 999px)",
315
- "name": "--badge-radius-size"
316
- },
317
- {
318
- "description": "Horizontal padding (overrides size default)",
319
- "name": "--badge-px"
306
+ "description": "Custom progress indicator color (overrides theme color)",
307
+ "name": "--progress-color"
320
308
  },
321
309
  {
322
- "description": "Vertical padding (overrides size default)",
323
- "name": "--badge-py"
310
+ "description": "Track/background color (overrides default gray-100)",
311
+ "name": "--track-color"
324
312
  },
325
313
  {
326
- "description": "Size of the dot affordance (default: 6px)",
327
- "name": "--badge-dot-size"
314
+ "description": "Custom size in pixels (overrides size preset)",
315
+ "name": "--progress-size"
328
316
  }
329
317
  ],
330
318
  "members": [
331
319
  {
332
320
  "kind": "field",
333
- "name": "variant",
334
- "type": {
335
- "text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
336
- },
337
- "default": "'info'",
338
- "description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
339
- "attribute": "variant"
340
- },
341
- {
342
- "kind": "field",
343
- "name": "dot",
321
+ "name": "indeterminate",
344
322
  "type": {
345
323
  "text": "boolean"
346
324
  },
347
- "default": "false",
348
- "description": "Should a dot be displayed before the label?",
349
- "attribute": "dot"
325
+ "default": "true",
326
+ "description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
327
+ "attribute": "indeterminate"
350
328
  },
351
329
  {
352
330
  "kind": "field",
353
331
  "name": "size",
354
332
  "type": {
355
- "text": "string"
333
+ "text": "'sm' | 'md' | 'lg'"
356
334
  },
357
335
  "default": "'sm'",
358
- "description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
336
+ "description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
359
337
  "attribute": "size"
360
338
  }
361
339
  ],
@@ -365,42 +343,43 @@
365
343
  "text": "CustomEvent"
366
344
  },
367
345
  "description": "Fired after first render and initialization",
368
- "name": "btu-badge-ready"
369
- }
370
- ],
371
- "attributes": [
346
+ "name": "btu-progress-ready"
347
+ },
372
348
  {
373
- "name": "variant",
374
349
  "type": {
375
- "text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
350
+ "text": "CustomEvent"
376
351
  },
377
- "default": "'info'",
378
- "description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
379
- "fieldName": "variant",
380
- "attribute": "variant"
381
- },
352
+ "description": "Fired when determinate progress reaches 100",
353
+ "name": "btu-progress-complete"
354
+ }
355
+ ],
356
+ "attributes": [
382
357
  {
383
- "name": "dot",
358
+ "name": "indeterminate",
384
359
  "type": {
385
360
  "text": "boolean"
386
361
  },
387
- "default": "false",
388
- "description": "Should a dot be displayed before the label?",
389
- "fieldName": "dot",
390
- "attribute": "dot"
362
+ "default": "true",
363
+ "description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
364
+ "fieldName": "indeterminate",
365
+ "attribute": "indeterminate"
391
366
  },
392
367
  {
393
368
  "name": "size",
394
369
  "type": {
395
- "text": "string"
370
+ "text": "'sm' | 'md' | 'lg'"
396
371
  },
397
372
  "default": "'sm'",
398
- "description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
373
+ "description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
399
374
  "fieldName": "size",
400
375
  "attribute": "size"
401
376
  }
402
377
  ],
403
378
  "mixins": [
379
+ {
380
+ "name": "ProgressMixin",
381
+ "module": "/src/util/ProgressMixin.js"
382
+ },
404
383
  {
405
384
  "name": "EventEmitterMixin",
406
385
  "module": "/src/util/EventEmitterMixin.js"
@@ -414,7 +393,7 @@
414
393
  "name": "LitElement",
415
394
  "package": "lit"
416
395
  },
417
- "tagName": "btu-badge",
396
+ "tagName": "btu-circular-progress",
418
397
  "customElement": true
419
398
  }
420
399
  ],
@@ -423,61 +402,83 @@
423
402
  "kind": "js",
424
403
  "name": "default",
425
404
  "declaration": {
426
- "name": "Badge",
427
- "module": "src/components/badge/Badge.ts"
405
+ "name": "CircularProgress",
406
+ "module": "src/components/circular-progress/CircularProgress.ts"
428
407
  }
429
408
  },
430
409
  {
431
410
  "kind": "custom-element-definition",
432
- "name": "btu-badge",
411
+ "name": "btu-circular-progress",
433
412
  "declaration": {
434
- "name": "Badge",
435
- "module": "src/components/badge/Badge.ts"
413
+ "name": "CircularProgress",
414
+ "module": "src/components/circular-progress/CircularProgress.ts"
436
415
  }
437
416
  }
438
417
  ]
439
418
  },
440
419
  {
441
420
  "kind": "javascript-module",
442
- "path": "src/components/circular-progress/CircularProgress.ts",
421
+ "path": "src/components/badge/Badge.ts",
443
422
  "declarations": [
444
423
  {
445
424
  "kind": "class",
446
- "description": "A circular progress indicator for showing loading states or progress.",
447
- "name": "CircularProgress",
425
+ "description": "A badge component for highlighting important information.\n\nBadges help highlight notifications, status, or new messages.\nPrimarily used for communicating secondary or additional information.",
426
+ "name": "Badge",
448
427
  "cssProperties": [
449
428
  {
450
- "description": "Custom progress indicator color (overrides theme color)",
451
- "name": "--progress-color"
429
+ "description": "Text color (overrides theme color)",
430
+ "name": "--badge-color-foreground"
452
431
  },
453
432
  {
454
- "description": "Track/background color (overrides default gray-100)",
455
- "name": "--track-color"
433
+ "description": "Background color (overrides theme color)",
434
+ "name": "--badge-color-background"
456
435
  },
457
436
  {
458
- "description": "Custom size in pixels (overrides size preset)",
459
- "name": "--progress-size"
437
+ "description": "Border radius size (overrides shape default, default: 999px)",
438
+ "name": "--badge-radius-size"
439
+ },
440
+ {
441
+ "description": "Horizontal padding (overrides size default)",
442
+ "name": "--badge-px"
443
+ },
444
+ {
445
+ "description": "Vertical padding (overrides size default)",
446
+ "name": "--badge-py"
447
+ },
448
+ {
449
+ "description": "Size of the dot affordance (default: 6px)",
450
+ "name": "--badge-dot-size"
460
451
  }
461
452
  ],
462
453
  "members": [
463
454
  {
464
455
  "kind": "field",
465
- "name": "indeterminate",
456
+ "name": "variant",
457
+ "type": {
458
+ "text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
459
+ },
460
+ "default": "'info'",
461
+ "description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
462
+ "attribute": "variant"
463
+ },
464
+ {
465
+ "kind": "field",
466
+ "name": "dot",
466
467
  "type": {
467
468
  "text": "boolean"
468
469
  },
469
- "default": "true",
470
- "description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
471
- "attribute": "indeterminate"
470
+ "default": "false",
471
+ "description": "Should a dot be displayed before the label?",
472
+ "attribute": "dot"
472
473
  },
473
474
  {
474
475
  "kind": "field",
475
476
  "name": "size",
476
477
  "type": {
477
- "text": "'sm' | 'md' | 'lg'"
478
+ "text": "string"
478
479
  },
479
480
  "default": "'sm'",
480
- "description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
481
+ "description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
481
482
  "attribute": "size"
482
483
  }
483
484
  ],
@@ -487,43 +488,42 @@
487
488
  "text": "CustomEvent"
488
489
  },
489
490
  "description": "Fired after first render and initialization",
490
- "name": "btu-progress-ready"
491
- },
492
- {
493
- "type": {
494
- "text": "CustomEvent"
495
- },
496
- "description": "Fired when determinate progress reaches 100",
497
- "name": "btu-progress-complete"
491
+ "name": "btu-badge-ready"
498
492
  }
499
493
  ],
500
494
  "attributes": [
501
495
  {
502
- "name": "indeterminate",
496
+ "name": "variant",
497
+ "type": {
498
+ "text": "'info' | 'primary' | 'error' | 'success' | 'warning'"
499
+ },
500
+ "default": "'info'",
501
+ "description": "Style of the badge.\n- 'info': Informational (default)\n- 'primary': Primary action or emphasis\n- 'error': Error or danger state\n- 'success': Success or completion state\n- 'warning': Warning or caution state",
502
+ "fieldName": "variant",
503
+ "attribute": "variant"
504
+ },
505
+ {
506
+ "name": "dot",
503
507
  "type": {
504
508
  "text": "boolean"
505
509
  },
506
- "default": "true",
507
- "description": "Whether the progress indicator is indeterminate (animated spinner).\nWhen false, shows determinate progress based on the progress value.",
508
- "fieldName": "indeterminate",
509
- "attribute": "indeterminate"
510
+ "default": "false",
511
+ "description": "Should a dot be displayed before the label?",
512
+ "fieldName": "dot",
513
+ "attribute": "dot"
510
514
  },
511
515
  {
512
516
  "name": "size",
513
517
  "type": {
514
- "text": "'sm' | 'md' | 'lg'"
518
+ "text": "string"
515
519
  },
516
520
  "default": "'sm'",
517
- "description": "Size variant.\n- 'sm': Small (16px) - default\n- 'md': Medium (32px)\n- 'lg': Large (48px)",
521
+ "description": "Size variant.\n- 'sm': Small (default)\n- 'md': Medium\n- 'lg': Large",
518
522
  "fieldName": "size",
519
523
  "attribute": "size"
520
524
  }
521
525
  ],
522
526
  "mixins": [
523
- {
524
- "name": "ProgressMixin",
525
- "module": "/src/util/ProgressMixin.js"
526
- },
527
527
  {
528
528
  "name": "EventEmitterMixin",
529
529
  "module": "/src/util/EventEmitterMixin.js"
@@ -537,7 +537,7 @@
537
537
  "name": "LitElement",
538
538
  "package": "lit"
539
539
  },
540
- "tagName": "btu-circular-progress",
540
+ "tagName": "btu-badge",
541
541
  "customElement": true
542
542
  }
543
543
  ],
@@ -546,16 +546,16 @@
546
546
  "kind": "js",
547
547
  "name": "default",
548
548
  "declaration": {
549
- "name": "CircularProgress",
550
- "module": "src/components/circular-progress/CircularProgress.ts"
549
+ "name": "Badge",
550
+ "module": "src/components/badge/Badge.ts"
551
551
  }
552
552
  },
553
553
  {
554
554
  "kind": "custom-element-definition",
555
- "name": "btu-circular-progress",
555
+ "name": "btu-badge",
556
556
  "declaration": {
557
- "name": "CircularProgress",
558
- "module": "src/components/circular-progress/CircularProgress.ts"
557
+ "name": "Badge",
558
+ "module": "src/components/badge/Badge.ts"
559
559
  }
560
560
  }
561
561
  ]
@@ -1683,6 +1683,10 @@
1683
1683
  "description": "Icon size (overrides size default)",
1684
1684
  "name": "--Icon-size"
1685
1685
  },
1686
+ {
1687
+ "description": "SVG stroke width as a unitless number in viewBox units; scales visually with icon size (default: 2)",
1688
+ "name": "--Icon-stroke-width"
1689
+ },
1686
1690
  {
1687
1691
  "description": "Icon fill color for filled icons (e.g., \"currentColor\")",
1688
1692
  "name": "--Icon-fill"
@@ -1806,6 +1810,221 @@
1806
1810
  }
1807
1811
  ]
1808
1812
  },
1813
+ {
1814
+ "kind": "javascript-module",
1815
+ "path": "src/components/icon-button/IconButton.ts",
1816
+ "declarations": [
1817
+ {
1818
+ "kind": "class",
1819
+ "description": "Surfaces the different actions someone can perform in an interface where space is limited.\n\nUses an icon to communicate the action and supports multiple visual types and sizes.\nTooltip support is built-in for accessibility in compact layouts.",
1820
+ "name": "IconButton",
1821
+ "members": [
1822
+ {
1823
+ "kind": "field",
1824
+ "name": "name",
1825
+ "type": {
1826
+ "text": "string | undefined"
1827
+ },
1828
+ "description": "Optional name for the button which can be used to identify the button in a callback.",
1829
+ "attribute": "name"
1830
+ },
1831
+ {
1832
+ "kind": "field",
1833
+ "name": "type",
1834
+ "type": {
1835
+ "text": "IconButtonType"
1836
+ },
1837
+ "default": "'primary'",
1838
+ "description": "Specifies the type of icon-button, controlling the visual style.",
1839
+ "attribute": "type"
1840
+ },
1841
+ {
1842
+ "kind": "field",
1843
+ "name": "iconSymbol",
1844
+ "type": {
1845
+ "text": "string | undefined"
1846
+ },
1847
+ "description": "Lucide icon name.",
1848
+ "attribute": "icon-symbol"
1849
+ },
1850
+ {
1851
+ "kind": "field",
1852
+ "name": "size",
1853
+ "type": {
1854
+ "text": "IconButtonSize"
1855
+ },
1856
+ "default": "'medium'",
1857
+ "description": "Specifies the size of icon-button.",
1858
+ "attribute": "size"
1859
+ },
1860
+ {
1861
+ "kind": "field",
1862
+ "name": "destructive",
1863
+ "type": {
1864
+ "text": "boolean"
1865
+ },
1866
+ "default": "false",
1867
+ "description": "Specifies an icon-button will be used to take any destructive action overriding the\ndefault color used for the icon-button type with the error color.",
1868
+ "attribute": "destructive"
1869
+ },
1870
+ {
1871
+ "kind": "field",
1872
+ "name": "disabled",
1873
+ "type": {
1874
+ "text": "boolean"
1875
+ },
1876
+ "default": "false",
1877
+ "description": "Disables the button, preventing interaction and indicating an inactive state.",
1878
+ "attribute": "disabled"
1879
+ },
1880
+ {
1881
+ "kind": "method",
1882
+ "name": "_relayTooltipAttrs",
1883
+ "privacy": "private",
1884
+ "return": {
1885
+ "type": {
1886
+ "text": "void"
1887
+ }
1888
+ }
1889
+ },
1890
+ {
1891
+ "kind": "method",
1892
+ "name": "_handleClick",
1893
+ "privacy": "private",
1894
+ "return": {
1895
+ "type": {
1896
+ "text": "void"
1897
+ }
1898
+ }
1899
+ },
1900
+ {
1901
+ "kind": "method",
1902
+ "name": "_buildButtonClasses",
1903
+ "privacy": "private",
1904
+ "return": {
1905
+ "type": {
1906
+ "text": "string"
1907
+ }
1908
+ }
1909
+ }
1910
+ ],
1911
+ "events": [
1912
+ {
1913
+ "type": {
1914
+ "text": "CustomEvent"
1915
+ },
1916
+ "description": "Fired after first render and initialization",
1917
+ "name": "btu-icon-button-ready"
1918
+ },
1919
+ {
1920
+ "type": {
1921
+ "text": "CustomEvent<{name: string | undefined}>"
1922
+ },
1923
+ "description": "Fired when the button is clicked",
1924
+ "name": "btu-icon-button-click"
1925
+ }
1926
+ ],
1927
+ "attributes": [
1928
+ {
1929
+ "name": "name",
1930
+ "type": {
1931
+ "text": "string | undefined"
1932
+ },
1933
+ "description": "Optional name for the button which can be used to identify the button in a callback.",
1934
+ "fieldName": "name",
1935
+ "attribute": "name"
1936
+ },
1937
+ {
1938
+ "name": "type",
1939
+ "type": {
1940
+ "text": "IconButtonType"
1941
+ },
1942
+ "default": "'primary'",
1943
+ "description": "Specifies the type of icon-button, controlling the visual style.",
1944
+ "fieldName": "type",
1945
+ "attribute": "type"
1946
+ },
1947
+ {
1948
+ "name": "icon-symbol",
1949
+ "type": {
1950
+ "text": "string | undefined"
1951
+ },
1952
+ "description": "Lucide icon name.",
1953
+ "fieldName": "iconSymbol",
1954
+ "attribute": "icon-symbol"
1955
+ },
1956
+ {
1957
+ "name": "size",
1958
+ "type": {
1959
+ "text": "IconButtonSize"
1960
+ },
1961
+ "default": "'medium'",
1962
+ "description": "Specifies the size of icon-button.",
1963
+ "fieldName": "size",
1964
+ "attribute": "size"
1965
+ },
1966
+ {
1967
+ "name": "destructive",
1968
+ "type": {
1969
+ "text": "boolean"
1970
+ },
1971
+ "default": "false",
1972
+ "description": "Specifies an icon-button will be used to take any destructive action overriding the\ndefault color used for the icon-button type with the error color.",
1973
+ "fieldName": "destructive",
1974
+ "attribute": "destructive"
1975
+ },
1976
+ {
1977
+ "name": "disabled",
1978
+ "type": {
1979
+ "text": "boolean"
1980
+ },
1981
+ "default": "false",
1982
+ "description": "Disables the button, preventing interaction and indicating an inactive state.",
1983
+ "fieldName": "disabled",
1984
+ "attribute": "disabled"
1985
+ }
1986
+ ],
1987
+ "mixins": [
1988
+ {
1989
+ "name": "TooltipMixin",
1990
+ "module": "/src/util/TooltipMixin.js"
1991
+ },
1992
+ {
1993
+ "name": "EventEmitterMixin",
1994
+ "module": "/src/util/EventEmitterMixin.js"
1995
+ },
1996
+ {
1997
+ "name": "ReadyMixin",
1998
+ "module": "/src/util/ReadyMixin.js"
1999
+ }
2000
+ ],
2001
+ "superclass": {
2002
+ "name": "LitElement",
2003
+ "package": "lit"
2004
+ },
2005
+ "tagName": "btu-icon-button",
2006
+ "customElement": true
2007
+ }
2008
+ ],
2009
+ "exports": [
2010
+ {
2011
+ "kind": "js",
2012
+ "name": "default",
2013
+ "declaration": {
2014
+ "name": "IconButton",
2015
+ "module": "src/components/icon-button/IconButton.ts"
2016
+ }
2017
+ },
2018
+ {
2019
+ "kind": "custom-element-definition",
2020
+ "name": "btu-icon-button",
2021
+ "declaration": {
2022
+ "name": "IconButton",
2023
+ "module": "src/components/icon-button/IconButton.ts"
2024
+ }
2025
+ }
2026
+ ]
2027
+ },
1809
2028
  {
1810
2029
  "kind": "javascript-module",
1811
2030
  "path": "src/components/linear-progress/LinearProgress.ts",
@@ -2151,7 +2370,7 @@
2151
2370
  {
2152
2371
  "name": "clickedButton",
2153
2372
  "type": {
2154
- "text": "HTMLButtonElement"
2373
+ "text": "IconButton"
2155
2374
  }
2156
2375
  }
2157
2376
  ]