@solexllc/usx-react 0.12.0 → 1.0.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 (97) hide show
  1. package/README.md +15 -0
  2. package/dist/{Popover-BzDCTuQM.cjs → Popover-Bg4-2-cU.cjs} +3 -0
  3. package/dist/{Popover-LToVWsWc.js → Popover-CqHczzNE.js} +3 -0
  4. package/dist/chat.cjs +7 -2
  5. package/dist/chat.js +7 -2
  6. package/dist/index.cjs +83 -56
  7. package/dist/index.js +86 -59
  8. package/package.json +4 -4
  9. package/src/components/accordion/Accordion.tsx +9 -57
  10. package/src/components/accordion/accordion.django.html +10 -20
  11. package/src/components/accordion/config.json +8 -2
  12. package/src/components/accordion-item/AccordionItem.tsx +54 -0
  13. package/src/components/accordion-item/accordion-item.django.html +19 -0
  14. package/src/components/accordion-item/accordion-item.html +8 -0
  15. package/src/components/accordion-item/config.json +55 -0
  16. package/src/components/alert/alert.django-snapshot.html +4 -4
  17. package/src/components/avatar/avatar.django-snapshot.html +6 -2
  18. package/src/components/avatar/avatar.react-snapshot.html +6 -3
  19. package/src/components/avatar/config.json +4 -2
  20. package/src/components/avatar-group/avatar-group.django-snapshot.html +176 -176
  21. package/src/components/avatar-group/avatar-group.react-snapshot.html +198 -167
  22. package/src/components/avatar-group/config.json +12 -6
  23. package/src/components/banner/banner.django-snapshot.html +2 -2
  24. package/src/components/button/Button.tsx +3 -0
  25. package/src/components/button/button.django-snapshot.html +64 -0
  26. package/src/components/button/button.django.html +2 -0
  27. package/src/components/button/button.react-snapshot.html +64 -0
  28. package/src/components/button/config.json +6 -1
  29. package/src/components/card/card.django-snapshot.html +43 -0
  30. package/src/components/card/card.react-snapshot.html +36 -0
  31. package/src/components/chat/chat.django-snapshot.html +90 -26
  32. package/src/components/chat/chat.html +10 -10
  33. package/src/components/chat/chat.react-snapshot.html +49 -49
  34. package/src/components/chat-composer/ChatComposer.tsx +3 -0
  35. package/src/components/chat-composer/chat-composer.django-snapshot.html +10 -10
  36. package/src/components/chat-composer/chat-composer.django.html +2 -2
  37. package/src/components/chat-composer/chat-composer.html +10 -10
  38. package/src/components/chat-composer/chat-composer.react-snapshot.html +10 -10
  39. package/src/components/chat-composer/chat-formatting.django.html +8 -8
  40. package/src/components/chat-window/ChatWindow.tsx +3 -1
  41. package/src/components/chat-window/chat-window.django-snapshot.html +7 -5
  42. package/src/components/chat-window/chat-window.django.html +3 -3
  43. package/src/components/chat-window/chat-window.html +1 -1
  44. package/src/components/chat-window/chat-window.react-snapshot.html +7 -7
  45. package/src/components/checkbox/checkbox.django-snapshot.html +2 -2
  46. package/src/components/data-table/data-table.django-snapshot.html +4 -5
  47. package/src/components/data-table/data-table.react-snapshot.html +4 -4
  48. package/src/components/drawer/drawer.django-snapshot.html +53 -30
  49. package/src/components/error-page/error-page.django-snapshot.html +20 -7
  50. package/src/components/fieldset/fieldset.django-snapshot.html +1 -6
  51. package/src/components/form-group/form-group.django-snapshot.html +0 -2
  52. package/src/components/header/header.django-snapshot.html +3 -3
  53. package/src/components/header/header.html +1 -1
  54. package/src/components/header/header.react-snapshot.html +3 -3
  55. package/src/components/identifier/config.json +4 -2
  56. package/src/components/identifier/identifier.django-snapshot.html +13 -16
  57. package/src/components/identifier/identifier.react-snapshot.html +13 -15
  58. package/src/components/image/image.django-snapshot.html +6 -6
  59. package/src/components/layout/layout.django-snapshot.html +2 -0
  60. package/src/components/modal/Modal.tsx +4 -3
  61. package/src/components/modal/config.json +3 -2
  62. package/src/components/modal/modal.django-snapshot.html +70 -14
  63. package/src/components/modal/modal.django.html +7 -9
  64. package/src/components/modal/modal.html +4 -4
  65. package/src/components/modal/modal.react-snapshot.html +64 -4
  66. package/src/components/page/Page.tsx +10 -7
  67. package/src/components/page/page.django-snapshot.html +5 -8
  68. package/src/components/page/page.django.html +2 -2
  69. package/src/components/page/page.html +1 -2
  70. package/src/components/page/page.react-snapshot.html +5 -8
  71. package/src/components/pagination/navigation/PaginationNavigation.tsx +2 -0
  72. package/src/components/pagination/navigation/pagination-navigation.django.html +2 -0
  73. package/src/components/pagination/pagination.django-snapshot.html +62 -0
  74. package/src/components/pagination/pagination.django.html +3 -1
  75. package/src/components/pagination/pagination.html +46 -0
  76. package/src/components/pagination/pagination.react-snapshot.html +48 -0
  77. package/src/components/pagination/summary/PaginationSummary.tsx +1 -1
  78. package/src/components/pagination/summary/pagination-summary.django.html +1 -1
  79. package/src/components/popover/Popover.tsx +1 -0
  80. package/src/components/popover/popover.django-snapshot.html +37 -1
  81. package/src/components/popover/popover.django.html +1 -1
  82. package/src/components/popover/popover.react-snapshot.html +30 -3
  83. package/src/components/section/Section.tsx +3 -1
  84. package/src/components/site-alert/site-alert.django-snapshot.html +8 -8
  85. package/src/components/swap/Swap.tsx +35 -3
  86. package/src/components/swap/config.json +28 -1
  87. package/src/components/swap/swap.django-snapshot.html +29 -7
  88. package/src/components/swap/swap.django.html +15 -1
  89. package/src/components/swap/swap.react-snapshot.html +34 -4
  90. package/src/components/theme-picker/ThemePicker.tsx +48 -42
  91. package/src/components/theme-picker/config.json +27 -29
  92. package/src/components/theme-picker/theme-picker-select.django.html +1 -1
  93. package/src/components/theme-picker/theme-picker.django-snapshot.html +283 -78
  94. package/src/components/theme-picker/theme-picker.django.html +24 -11
  95. package/src/components/theme-picker/theme-picker.html +155 -54
  96. package/src/components/theme-picker/theme-picker.react-snapshot.html +265 -67
  97. package/src/index.js +1 -0
@@ -70,14 +70,14 @@
70
70
  <form class="usx-chat-composer usx-chat__composer" method="post" enctype="multipart/form-data">
71
71
  <div id="chat-example-formatting" class="usx-chat__formatting" aria-label="Message formatting" hidden>
72
72
  <ul class="usa-button-group usx-button-group usa-button-group--segmented usx-chat__format-buttons">
73
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="bold" aria-label="Bold" title="Bold (Ctrl/⌘+B)"><strong>B</strong></button></li>
74
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="italic" aria-label="Italic" title="Italic (Ctrl/⌘+I)"><em>I</em></button></li>
75
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="underline" aria-label="Underline" title="Underline (Ctrl/⌘+U)"><u>U</u></button></li>
76
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="strike" aria-label="Strikethrough" title="Strikethrough (Ctrl/⌘+Shift+X)"><s>S</s></button></li>
77
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="ordered" aria-label="Numbered list" title="Numbered list (Ctrl/⌘+Shift+7)">1.</button></li>
78
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="unordered" aria-label="Bulleted list" title="Bulleted list (Ctrl/⌘+Shift+8)"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#list"></use></svg></button></li>
79
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="quote" aria-label="Block quote" title="Block quote (Ctrl/⌘+Shift+9)"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#format_quote"></use></svg></button></li>
80
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-chat__format-button" data-usx-chat-format="code" aria-label="Code block" title="Code block (Ctrl/⌘+Alt+Shift+C)"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#code"></use></svg></button></li>
73
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="bold" aria-label="Bold" title="Bold (Ctrl/⌘+B)"><strong>B</strong></button></li>
74
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="italic" aria-label="Italic" title="Italic (Ctrl/⌘+I)"><em>I</em></button></li>
75
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="underline" aria-label="Underline" title="Underline (Ctrl/⌘+U)"><u>U</u></button></li>
76
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="strike" aria-label="Strikethrough" title="Strikethrough (Ctrl/⌘+Shift+X)"><s>S</s></button></li>
77
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="ordered" aria-label="Numbered list" title="Numbered list (Ctrl/⌘+Shift+7)">1.</button></li>
78
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="unordered" aria-label="Bulleted list" title="Bulleted list (Ctrl/⌘+Shift+8)"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#list"></use></svg></button></li>
79
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="quote" aria-label="Block quote" title="Block quote (Ctrl/⌘+Shift+9)"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#format_quote"></use></svg></button></li>
80
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button" data-usx-chat-format="code" aria-label="Code block" title="Code block (Ctrl/⌘+Alt+Shift+C)"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#code"></use></svg></button></li>
81
81
  </ul>
82
82
  </div>
83
83
  <label class="usa-sr-only" for="chat-example-message">Message</label>
@@ -91,8 +91,8 @@
91
91
  <div class="usx-chat__composer-actions">
92
92
  <div class="usx-chat__attach usx-chat__attach--with-emoji">
93
93
  <ul class="usa-button-group usx-button-group usa-button-group--segmented usx-chat__composer-tools">
94
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline" data-usx-chat-attach aria-label="Attach files" title="Attach files"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#attach_file"></use></svg></button></li>
95
- <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline" data-usx-chat-toggle-formatting aria-label="Show formatting" aria-controls="chat-example-formatting" aria-expanded="false" title="Show formatting"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#text_fields"></use></svg></button></li>
94
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight" data-usx-chat-attach aria-label="Attach files" title="Attach files"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#attach_file"></use></svg></button></li>
95
+ <li class="usa-button-group__item"><button type="button" class="usa-button usx-button usa-button--outline usx-button--tight" data-usx-chat-toggle-formatting aria-label="Show formatting" aria-controls="chat-example-formatting" aria-expanded="false" title="Show formatting"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#text_fields"></use></svg></button></li>
96
96
  </ul>
97
97
  <details class="usx-popover usx-chat__emoji-picker" data-side="top" data-align="start">
98
98
  <summary class="usa-button usx-button usa-button--outline" aria-label="Choose emoji" title="Choose emoji"><svg class="usa-icon usx-icon" aria-hidden="true"><use href="img/sprite.svg#sentiment_satisfied"></use></svg></summary>
@@ -20,7 +20,7 @@
20
20
  <div class="usx-popover__header-right-actions">
21
21
  <button
22
22
  type="button"
23
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
23
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
24
24
  aria-label="Close chat"
25
25
  data-usx-popover-close="react-chat-default"
26
26
  >
@@ -1286,7 +1286,7 @@
1286
1286
  <div class="usx-popover__header-right-actions">
1287
1287
  <button
1288
1288
  type="button"
1289
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
1289
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
1290
1290
  aria-label="New message"
1291
1291
  data-usx-chat-new=""
1292
1292
  >
@@ -1295,7 +1295,7 @@
1295
1295
  </svg></button
1296
1296
  ><button
1297
1297
  type="button"
1298
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
1298
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
1299
1299
  aria-label="Close chat"
1300
1300
  data-usx-popover-close="react-chat-inbox-journey"
1301
1301
  >
@@ -1403,7 +1403,7 @@
1403
1403
  <div class="usx-popover__header-right-actions">
1404
1404
  <button
1405
1405
  type="button"
1406
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
1406
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
1407
1407
  aria-label="New message"
1408
1408
  data-usx-chat-new=""
1409
1409
  >
@@ -1412,7 +1412,7 @@
1412
1412
  </svg></button
1413
1413
  ><button
1414
1414
  type="button"
1415
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
1415
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
1416
1416
  aria-label="Close chat"
1417
1417
  data-usx-popover-close="react-chat-empty-inbox"
1418
1418
  >
@@ -1460,7 +1460,7 @@
1460
1460
  <div class="usx-popover__header-right-actions">
1461
1461
  <button
1462
1462
  type="button"
1463
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
1463
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
1464
1464
  aria-label="Close chat"
1465
1465
  data-usx-popover-close="react-chat-group-inbox"
1466
1466
  >
@@ -1609,7 +1609,7 @@
1609
1609
  <div class="usx-popover__header-right-actions">
1610
1610
  <button
1611
1611
  type="button"
1612
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
1612
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
1613
1613
  aria-label="Close chat"
1614
1614
  data-usx-popover-close="react-chat-group"
1615
1615
  >
@@ -2213,7 +2213,7 @@
2213
2213
  <div class="usx-popover__header-right-actions">
2214
2214
  <button
2215
2215
  type="button"
2216
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
2216
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
2217
2217
  aria-label="Close chat"
2218
2218
  data-usx-popover-close="react-chat-bot-history"
2219
2219
  >
@@ -3445,7 +3445,7 @@
3445
3445
  <div class="usx-popover__header-right-actions">
3446
3446
  <button
3447
3447
  type="button"
3448
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
3448
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
3449
3449
  aria-label="Close chat"
3450
3450
  data-usx-popover-close="react-chat-attachments"
3451
3451
  >
@@ -3591,7 +3591,7 @@
3591
3591
  <li class="usa-button-group__item">
3592
3592
  <button
3593
3593
  type="button"
3594
- class="usa-button usx-button usa-button--outline"
3594
+ class="usa-button usx-button usa-button--outline usx-button--tight"
3595
3595
  aria-label="Attach files"
3596
3596
  title="Attach files"
3597
3597
  data-usx-chat-attach=""
@@ -3644,7 +3644,7 @@
3644
3644
  <div class="usx-popover__header-left-actions">
3645
3645
  <button
3646
3646
  type="button"
3647
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
3647
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
3648
3648
  aria-label="Back"
3649
3649
  data-usx-chat-back=""
3650
3650
  >
@@ -3661,7 +3661,7 @@
3661
3661
  <div class="usx-popover__header-right-actions">
3662
3662
  <details class="usx-popover usx-chat__actions" data-side="bottom" data-align="end">
3663
3663
  <summary
3664
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
3664
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
3665
3665
  aria-label="Conversation actions"
3666
3666
  >
3667
3667
  <svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
@@ -3732,7 +3732,7 @@
3732
3732
  </details>
3733
3733
  <button
3734
3734
  type="button"
3735
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
3735
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
3736
3736
  aria-label="Close chat"
3737
3737
  data-usx-popover-close="react-chat-actions"
3738
3738
  >
@@ -4005,7 +4005,7 @@
4005
4005
  <div class="usx-popover__header-left-actions">
4006
4006
  <button
4007
4007
  type="button"
4008
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
4008
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
4009
4009
  aria-label="Back"
4010
4010
  data-usx-chat-back=""
4011
4011
  >
@@ -4022,7 +4022,7 @@
4022
4022
  <div class="usx-popover__header-right-actions">
4023
4023
  <button
4024
4024
  type="button"
4025
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
4025
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
4026
4026
  aria-label="Close chat"
4027
4027
  data-usx-popover-close="react-chat-message-actions"
4028
4028
  >
@@ -4933,7 +4933,7 @@
4933
4933
  <div class="usx-popover__header-right-actions">
4934
4934
  <button
4935
4935
  type="button"
4936
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
4936
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
4937
4937
  aria-label="Close chat"
4938
4938
  data-usx-popover-close="react-chat-formatting"
4939
4939
  >
@@ -9210,7 +9210,7 @@ const ready = true;
9210
9210
  <li class="usa-button-group__item">
9211
9211
  <button
9212
9212
  type="button"
9213
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9213
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9214
9214
  aria-label="Bold"
9215
9215
  title="Bold (Ctrl/⌘+B)"
9216
9216
  data-usx-chat-format="bold"
@@ -9221,7 +9221,7 @@ const ready = true;
9221
9221
  <li class="usa-button-group__item">
9222
9222
  <button
9223
9223
  type="button"
9224
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9224
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9225
9225
  aria-label="Italic"
9226
9226
  title="Italic (Ctrl/⌘+I)"
9227
9227
  data-usx-chat-format="italic"
@@ -9232,7 +9232,7 @@ const ready = true;
9232
9232
  <li class="usa-button-group__item">
9233
9233
  <button
9234
9234
  type="button"
9235
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9235
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9236
9236
  aria-label="Underline"
9237
9237
  title="Underline (Ctrl/⌘+U)"
9238
9238
  data-usx-chat-format="underline"
@@ -9243,7 +9243,7 @@ const ready = true;
9243
9243
  <li class="usa-button-group__item">
9244
9244
  <button
9245
9245
  type="button"
9246
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9246
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9247
9247
  aria-label="Strikethrough"
9248
9248
  title="Strikethrough (Ctrl/⌘+Shift+X)"
9249
9249
  data-usx-chat-format="strike"
@@ -9254,7 +9254,7 @@ const ready = true;
9254
9254
  <li class="usa-button-group__item">
9255
9255
  <button
9256
9256
  type="button"
9257
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9257
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9258
9258
  aria-label="Numbered list"
9259
9259
  title="Numbered list (Ctrl/⌘+Shift+7)"
9260
9260
  data-usx-chat-format="ordered"
@@ -9265,7 +9265,7 @@ const ready = true;
9265
9265
  <li class="usa-button-group__item">
9266
9266
  <button
9267
9267
  type="button"
9268
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9268
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9269
9269
  aria-label="Bulleted list"
9270
9270
  title="Bulleted list (Ctrl/⌘+Shift+8)"
9271
9271
  data-usx-chat-format="unordered"
@@ -9278,7 +9278,7 @@ const ready = true;
9278
9278
  <li class="usa-button-group__item">
9279
9279
  <button
9280
9280
  type="button"
9281
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9281
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9282
9282
  aria-label="Block quote"
9283
9283
  title="Block quote (Ctrl/⌘+Shift+9)"
9284
9284
  data-usx-chat-format="quote"
@@ -9291,7 +9291,7 @@ const ready = true;
9291
9291
  <li class="usa-button-group__item">
9292
9292
  <button
9293
9293
  type="button"
9294
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
9294
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
9295
9295
  aria-label="Code block"
9296
9296
  title="Code block (Ctrl/⌘+Alt+Shift+C)"
9297
9297
  data-usx-chat-format="code"
@@ -9318,7 +9318,7 @@ const ready = true;
9318
9318
  <li class="usa-button-group__item">
9319
9319
  <button
9320
9320
  type="button"
9321
- class="usa-button usx-button usa-button--outline"
9321
+ class="usa-button usx-button usa-button--outline usx-button--tight"
9322
9322
  aria-label="Attach files"
9323
9323
  title="Attach files"
9324
9324
  data-usx-chat-attach=""
@@ -9331,7 +9331,7 @@ const ready = true;
9331
9331
  <li class="usa-button-group__item">
9332
9332
  <button
9333
9333
  type="button"
9334
- class="usa-button usx-button usa-button--outline"
9334
+ class="usa-button usx-button usa-button--outline usx-button--tight"
9335
9335
  aria-label="Show formatting"
9336
9336
  title="Show formatting"
9337
9337
  aria-expanded="false"
@@ -10457,7 +10457,7 @@ const ready = true;
10457
10457
  <div class="usx-popover__header-right-actions">
10458
10458
  <button
10459
10459
  type="button"
10460
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
10460
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
10461
10461
  aria-label="Close chat"
10462
10462
  data-usx-popover-close="react-chat-custom-emoji-pack"
10463
10463
  >
@@ -10717,7 +10717,7 @@ const ready = true;
10717
10717
  <div class="usx-popover__header-left-actions">
10718
10718
  <button
10719
10719
  type="button"
10720
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
10720
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
10721
10721
  aria-label="Back to conversation"
10722
10722
  data-usx-chat-back=""
10723
10723
  >
@@ -10734,7 +10734,7 @@ const ready = true;
10734
10734
  <div class="usx-popover__header-right-actions">
10735
10735
  <button
10736
10736
  type="button"
10737
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
10737
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
10738
10738
  aria-label="Close chat"
10739
10739
  data-usx-popover-close="react-chat-thread-history"
10740
10740
  >
@@ -11174,7 +11174,7 @@ const ready = true;
11174
11174
  <div class="usx-popover__header-right-actions">
11175
11175
  <button
11176
11176
  type="button"
11177
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
11177
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
11178
11178
  aria-label="Close chat"
11179
11179
  data-usx-popover-close="react-chat-long-history"
11180
11180
  >
@@ -11807,7 +11807,7 @@ const ready = true;
11807
11807
  <div class="usx-popover__header-right-actions">
11808
11808
  <button
11809
11809
  type="button"
11810
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
11810
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
11811
11811
  aria-label="Close chat"
11812
11812
  data-usx-popover-close="react-chat-contextual-inbox"
11813
11813
  >
@@ -11890,7 +11890,7 @@ const ready = true;
11890
11890
  <div class="usx-popover__header-left-actions">
11891
11891
  <button
11892
11892
  type="button"
11893
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
11893
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
11894
11894
  aria-label="Back"
11895
11895
  data-usx-chat-back=""
11896
11896
  >
@@ -11907,7 +11907,7 @@ const ready = true;
11907
11907
  <div class="usx-popover__header-right-actions">
11908
11908
  <button
11909
11909
  type="button"
11910
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
11910
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
11911
11911
  aria-label="Close chat"
11912
11912
  data-usx-popover-close="react-chat-mixed-unread"
11913
11913
  >
@@ -12326,7 +12326,7 @@ const ready = true;
12326
12326
  <li class="usa-button-group__item">
12327
12327
  <button
12328
12328
  type="button"
12329
- class="usa-button usx-button usa-button--outline"
12329
+ class="usa-button usx-button usa-button--outline usx-button--tight"
12330
12330
  aria-label="Attach files"
12331
12331
  title="Attach files"
12332
12332
  data-usx-chat-attach=""
@@ -12388,7 +12388,7 @@ const ready = true;
12388
12388
  <div class="usx-popover__header-right-actions">
12389
12389
  <button
12390
12390
  type="button"
12391
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
12391
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
12392
12392
  aria-label="New message"
12393
12393
  data-usx-chat-new=""
12394
12394
  >
@@ -12397,7 +12397,7 @@ const ready = true;
12397
12397
  </svg></button
12398
12398
  ><button
12399
12399
  type="button"
12400
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
12400
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
12401
12401
  aria-label="Close chat"
12402
12402
  data-usx-popover-close="react-chat-linked-navigation"
12403
12403
  >
@@ -12501,7 +12501,7 @@ const ready = true;
12501
12501
  <div class="usx-popover__header-right-actions">
12502
12502
  <button
12503
12503
  type="button"
12504
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
12504
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
12505
12505
  aria-label="Close chat"
12506
12506
  data-usx-popover-close="react-chat-failed-send"
12507
12507
  >
@@ -12715,7 +12715,7 @@ const ready = true;
12715
12715
  <li class="usa-button-group__item">
12716
12716
  <button
12717
12717
  type="button"
12718
- class="usa-button usx-button usa-button--outline"
12718
+ class="usa-button usx-button usa-button--outline usx-button--tight"
12719
12719
  aria-label="Attach files"
12720
12720
  title="Attach files"
12721
12721
  data-usx-chat-attach=""
@@ -12773,7 +12773,7 @@ const ready = true;
12773
12773
  <div class="usx-popover__header-right-actions">
12774
12774
  <button
12775
12775
  type="button"
12776
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
12776
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
12777
12777
  aria-label="Close chat"
12778
12778
  data-usx-popover-close="react-chat-floating"
12779
12779
  >
@@ -12929,7 +12929,7 @@ const ready = true;
12929
12929
  <div class="usx-popover__header-right-actions">
12930
12930
  <button
12931
12931
  type="button"
12932
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
12932
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
12933
12933
  aria-label="Close chat"
12934
12934
  data-usx-popover-close="react-chat-text-launcher"
12935
12935
  >
@@ -13069,7 +13069,7 @@ const ready = true;
13069
13069
  <div class="usx-popover__header-left-actions">
13070
13070
  <button
13071
13071
  type="button"
13072
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
13072
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
13073
13073
  aria-label="Back to conversation"
13074
13074
  data-usx-chat-back=""
13075
13075
  >
@@ -13090,7 +13090,7 @@ const ready = true;
13090
13090
  <div class="usx-popover__header-right-actions">
13091
13091
  <button
13092
13092
  type="button"
13093
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
13093
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
13094
13094
  aria-label="Close chat"
13095
13095
  data-usx-popover-close="react-chat-unavailable-thread"
13096
13096
  >
@@ -13142,7 +13142,7 @@ const ready = true;
13142
13142
  <div class="usx-popover__header-left-actions">
13143
13143
  <button
13144
13144
  type="button"
13145
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
13145
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
13146
13146
  aria-label="Back"
13147
13147
  data-usx-chat-back=""
13148
13148
  >
@@ -13159,7 +13159,7 @@ const ready = true;
13159
13159
  <div class="usx-popover__header-right-actions">
13160
13160
  <button
13161
13161
  type="button"
13162
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
13162
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
13163
13163
  aria-label="Close chat"
13164
13164
  data-usx-popover-close="react-chat-new-group"
13165
13165
  >
@@ -13292,7 +13292,7 @@ const ready = true;
13292
13292
  <div class="usx-popover__header-left-actions">
13293
13293
  <button
13294
13294
  type="button"
13295
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
13295
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
13296
13296
  aria-label="Back"
13297
13297
  data-usx-chat-back=""
13298
13298
  >
@@ -13313,7 +13313,7 @@ const ready = true;
13313
13313
  <div class="usx-popover__header-right-actions">
13314
13314
  <details class="usx-popover usx-chat__actions" data-side="bottom" data-align="end">
13315
13315
  <summary
13316
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
13316
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
13317
13317
  aria-label="Conversation actions"
13318
13318
  >
13319
13319
  <svg class="usa-icon usx-icon" aria-hidden="true" focusable="false" role="img">
@@ -13350,7 +13350,7 @@ const ready = true;
13350
13350
  </details>
13351
13351
  <button
13352
13352
  type="button"
13353
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
13353
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
13354
13354
  aria-label="Close chat"
13355
13355
  data-usx-popover-close="react-chat-conversation-actions"
13356
13356
  >
@@ -16605,7 +16605,7 @@ const ready = true;
16605
16605
  <div class="usx-popover__header-left-actions">
16606
16606
  <button
16607
16607
  type="button"
16608
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action"
16608
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action"
16609
16609
  aria-label="Back"
16610
16610
  data-usx-chat-back=""
16611
16611
  >
@@ -16622,7 +16622,7 @@ const ready = true;
16622
16622
  <div class="usx-popover__header-right-actions">
16623
16623
  <button
16624
16624
  type="button"
16625
- class="usa-button usx-button usa-button--unstyled usx-popover__header-action usx-popover__header-close"
16625
+ class="usa-button usx-button usa-button--unstyled usx-button--tight usx-popover__header-action usx-popover__header-close"
16626
16626
  aria-label="Close chat"
16627
16627
  data-usx-popover-close="react-chat-action-defaults"
16628
16628
  >
@@ -95,6 +95,7 @@ export default function ChatComposer({
95
95
  ).map(([format, label, shortcut, icon]) => ({
96
96
  type: 'button' as const,
97
97
  variant: 'outline' as const,
98
+ tighten: true,
98
99
  className: 'usx-chat__format-button',
99
100
  disabled,
100
101
  'aria-label': label,
@@ -127,6 +128,7 @@ export default function ChatComposer({
127
128
  {
128
129
  type: 'button' as const,
129
130
  variant: 'outline' as const,
131
+ tighten: true,
130
132
  'aria-label': 'Attach files',
131
133
  title: 'Attach files',
132
134
  extraAttributes: { 'data-usx-chat-attach': '' },
@@ -140,6 +142,7 @@ export default function ChatComposer({
140
142
  {
141
143
  type: 'button' as const,
142
144
  variant: 'outline' as const,
145
+ tighten: true,
143
146
  'aria-label': 'Show formatting',
144
147
  title: 'Show formatting',
145
148
  'aria-expanded': false,
@@ -128,7 +128,7 @@
128
128
  <li class="usa-button-group__item">
129
129
  <button
130
130
  type="button"
131
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
131
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
132
132
  data-usx-chat-format="bold"
133
133
  aria-label="Bold"
134
134
  title="Bold (Ctrl/⌘+B)"
@@ -140,7 +140,7 @@
140
140
  <li class="usa-button-group__item">
141
141
  <button
142
142
  type="button"
143
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
143
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
144
144
  data-usx-chat-format="italic"
145
145
  aria-label="Italic"
146
146
  title="Italic (Ctrl/⌘+I)"
@@ -152,7 +152,7 @@
152
152
  <li class="usa-button-group__item">
153
153
  <button
154
154
  type="button"
155
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
155
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
156
156
  data-usx-chat-format="underline"
157
157
  aria-label="Underline"
158
158
  title="Underline (Ctrl/⌘+U)"
@@ -164,7 +164,7 @@
164
164
  <li class="usa-button-group__item">
165
165
  <button
166
166
  type="button"
167
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
167
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
168
168
  data-usx-chat-format="strike"
169
169
  aria-label="Strikethrough"
170
170
  title="Strikethrough (Ctrl/⌘+Shift+X)"
@@ -176,7 +176,7 @@
176
176
  <li class="usa-button-group__item">
177
177
  <button
178
178
  type="button"
179
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
179
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
180
180
  data-usx-chat-format="ordered"
181
181
  aria-label="Numbered list"
182
182
  title="Numbered list (Ctrl/⌘+Shift+7)"
@@ -188,7 +188,7 @@
188
188
  <li class="usa-button-group__item">
189
189
  <button
190
190
  type="button"
191
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
191
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
192
192
  data-usx-chat-format="unordered"
193
193
  aria-label="Bulleted list"
194
194
  title="Bulleted list (Ctrl/⌘+Shift+8)"
@@ -202,7 +202,7 @@
202
202
  <li class="usa-button-group__item">
203
203
  <button
204
204
  type="button"
205
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
205
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
206
206
  data-usx-chat-format="quote"
207
207
  aria-label="Block quote"
208
208
  title="Block quote (Ctrl/⌘+Shift+9)"
@@ -216,7 +216,7 @@
216
216
  <li class="usa-button-group__item">
217
217
  <button
218
218
  type="button"
219
- class="usa-button usx-button usa-button--outline usx-chat__format-button"
219
+ class="usa-button usx-button usa-button--outline usx-button--tight usx-chat__format-button"
220
220
  data-usx-chat-format="code"
221
221
  aria-label="Code block"
222
222
  title="Code block (Ctrl/⌘+Alt+Shift+C)"
@@ -247,7 +247,7 @@
247
247
  <li class="usa-button-group__item">
248
248
  <button
249
249
  type="button"
250
- class="usa-button usx-button usa-button--outline"
250
+ class="usa-button usx-button usa-button--outline usx-button--tight"
251
251
  data-usx-chat-toggle-formatting=""
252
252
  aria-label="Show formatting"
253
253
  title="Show formatting"
@@ -377,7 +377,7 @@
377
377
  <li class="usa-button-group__item">
378
378
  <button
379
379
  type="button"
380
- class="usa-button usx-button usa-button--outline"
380
+ class="usa-button usx-button usa-button--outline usx-button--tight"
381
381
  data-usx-chat-attach=""
382
382
  aria-label="Attach files"
383
383
  title="Attach files"
@@ -30,7 +30,7 @@
30
30
  {% if allowAttachments %}
31
31
  {% dict data_usx_chat_attach='' aria_label='Attach files' title='Attach files' as attachAttrs %}
32
32
  <li class="usa-button-group__item">
33
- {% button variant='outline' disabled=disabled extraAttributes=attachAttrs %}
33
+ {% button variant='outline' tighten=True disabled=disabled extraAttributes=attachAttrs %}
34
34
  {% icon name='attach_file' %}{% endicon %}
35
35
  {% endbutton %}
36
36
  </li>
@@ -38,7 +38,7 @@
38
38
  {% if allowFormatting %}
39
39
  {% dict data_usx_chat_toggle_formatting='' aria_label='Show formatting' title='Show formatting' aria_expanded='false' aria_controls=id|add:'-formatting' as formatAttrs %}
40
40
  <li class="usa-button-group__item">
41
- {% button variant='outline' disabled=disabled extraAttributes=formatAttrs %}
41
+ {% button variant='outline' tighten=True disabled=disabled extraAttributes=formatAttrs %}
42
42
  {% icon name='text_fields' %}{% endicon %}
43
43
  {% endbutton %}
44
44
  </li>