@solexllc/usx-react 0.11.0 → 0.12.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 (181) hide show
  1. package/README.md +16 -0
  2. package/dist/Popover-BzDCTuQM.cjs +984 -0
  3. package/dist/Popover-LToVWsWc.js +985 -0
  4. package/dist/chat.cjs +1391 -0
  5. package/dist/chat.js +1391 -0
  6. package/dist/index.cjs +4428 -5290
  7. package/dist/index.js +58 -917
  8. package/package.json +7 -3
  9. package/src/chat.js +15 -0
  10. package/src/components/avatar/Avatar.tsx +54 -16
  11. package/src/components/avatar/avatar.django-snapshot.html +112 -0
  12. package/src/components/avatar/avatar.django.html +2 -2
  13. package/src/components/avatar/avatar.html +25 -0
  14. package/src/components/avatar/avatar.react-snapshot.html +104 -0
  15. package/src/components/avatar/config.json +13 -15
  16. package/src/components/avatar-group/AvatarGroup.tsx +17 -15
  17. package/src/components/avatar-group/avatar-group.django-snapshot.html +22 -0
  18. package/src/components/avatar-group/avatar-group.django.html +1 -1
  19. package/src/components/avatar-group/avatar-group.react-snapshot.html +20 -0
  20. package/src/components/avatar-group/config.json +2 -2
  21. package/src/components/back-to-top/BackToTop.tsx +21 -57
  22. package/src/components/back-to-top/back-to-top.django-snapshot.html +101 -202
  23. package/src/components/back-to-top/back-to-top.django.html +11 -38
  24. package/src/components/back-to-top/back-to-top.html +22 -106
  25. package/src/components/back-to-top/back-to-top.react-snapshot.html +94 -148
  26. package/src/components/back-to-top/config.json +41 -10
  27. package/src/components/button/Button.tsx +12 -3
  28. package/src/components/button/button.django-snapshot.html +18 -0
  29. package/src/components/button/button.django.html +3 -2
  30. package/src/components/button/button.react-snapshot.html +16 -0
  31. package/src/components/button/config.json +11 -2
  32. package/src/components/callout/callout.django.html +1 -1
  33. package/src/components/callout/config.json +7 -16
  34. package/src/components/character-count/CharacterCount.tsx +2 -0
  35. package/src/components/character-count/character-count.react-snapshot.html +7 -0
  36. package/src/components/chat/Chat.tsx +575 -0
  37. package/src/components/chat/README.md +174 -0
  38. package/src/components/chat/avatarProps.ts +32 -0
  39. package/src/components/chat/chat.django-snapshot.html +23515 -0
  40. package/src/components/chat/chat.django.html +75 -0
  41. package/src/components/chat/chat.html +116 -0
  42. package/src/components/chat/chat.react-snapshot.html +16895 -0
  43. package/src/components/chat/config.json +1241 -0
  44. package/src/components/chat-attachment/ChatAttachment.tsx +39 -0
  45. package/src/components/chat-attachment/chat-attachment.django.html +24 -0
  46. package/src/components/chat-attachment/chat-attachment.html +10 -0
  47. package/src/components/chat-attachment/config.json +27 -0
  48. package/src/components/chat-attachments/ChatAttachments.tsx +17 -0
  49. package/src/components/chat-attachments/chat-attachments.django-snapshot.html +58 -0
  50. package/src/components/chat-attachments/chat-attachments.django.html +10 -0
  51. package/src/components/chat-attachments/chat-attachments.html +14 -0
  52. package/src/components/chat-attachments/chat-attachments.react-snapshot.html +46 -0
  53. package/src/components/chat-attachments/config.json +25 -0
  54. package/src/components/chat-bubble/ChatBubble.tsx +39 -0
  55. package/src/components/chat-bubble/ChatFormattedText.tsx +138 -0
  56. package/src/components/chat-bubble/chat-bubble.django-snapshot.html +128 -0
  57. package/src/components/chat-bubble/chat-bubble.django.html +19 -0
  58. package/src/components/chat-bubble/chat-bubble.html +1 -0
  59. package/src/components/chat-bubble/chat-bubble.react-snapshot.html +118 -0
  60. package/src/components/chat-bubble/config.json +70 -0
  61. package/src/components/chat-composer/ChatComposer.tsx +210 -0
  62. package/src/components/chat-composer/README.md +15 -0
  63. package/src/components/chat-composer/chat-composer.django-snapshot.html +575 -0
  64. package/src/components/chat-composer/chat-composer.django.html +77 -0
  65. package/src/components/chat-composer/chat-composer.html +44 -0
  66. package/src/components/chat-composer/chat-composer.react-snapshot.html +519 -0
  67. package/src/components/chat-composer/chat-formatting.django.html +59 -0
  68. package/src/components/chat-composer/config.json +137 -0
  69. package/src/components/chat-context/ChatContext.tsx +46 -0
  70. package/src/components/chat-context/chat-context.django-snapshot.html +35 -0
  71. package/src/components/chat-context/chat-context.django.html +20 -0
  72. package/src/components/chat-context/chat-context.html +9 -0
  73. package/src/components/chat-context/chat-context.react-snapshot.html +30 -0
  74. package/src/components/chat-context/config.json +36 -0
  75. package/src/components/chat-controls/ChatControls.tsx +67 -0
  76. package/src/components/chat-controls/chat-controls.django-snapshot.html +114 -0
  77. package/src/components/chat-controls/chat-controls.django.html +36 -0
  78. package/src/components/chat-controls/chat-controls.html +11 -0
  79. package/src/components/chat-controls/chat-controls.react-snapshot.html +107 -0
  80. package/src/components/chat-controls/config.json +67 -0
  81. package/src/components/chat-directory/ChatDirectory.tsx +168 -0
  82. package/src/components/chat-directory/chat-directory.django-snapshot.html +546 -0
  83. package/src/components/chat-directory/chat-directory.django.html +14 -0
  84. package/src/components/chat-directory/chat-directory.html +4 -0
  85. package/src/components/chat-directory/chat-directory.react-snapshot.html +471 -0
  86. package/src/components/chat-directory/config.json +242 -0
  87. package/src/components/chat-directory-item/ChatDirectoryItem.tsx +150 -0
  88. package/src/components/chat-directory-item/chat-directory-item.django-snapshot.html +281 -0
  89. package/src/components/chat-directory-item/chat-directory-item.django.html +38 -0
  90. package/src/components/chat-directory-item/chat-directory-item.html +9 -0
  91. package/src/components/chat-directory-item/chat-directory-item.react-snapshot.html +249 -0
  92. package/src/components/chat-directory-item/config.json +103 -0
  93. package/src/components/chat-history/ChatHistory.tsx +30 -0
  94. package/src/components/chat-history/chat-history.django-snapshot.html +113 -0
  95. package/src/components/chat-history/chat-history.django.html +20 -0
  96. package/src/components/chat-history/chat-history.html +9 -0
  97. package/src/components/chat-history/chat-history.react-snapshot.html +111 -0
  98. package/src/components/chat-history/config.json +24 -0
  99. package/src/components/chat-message/ChatMessage.tsx +148 -0
  100. package/src/components/chat-message/chat-message.django-snapshot.html +758 -0
  101. package/src/components/chat-message/chat-message.django.html +56 -0
  102. package/src/components/chat-message/chat-message.html +12 -0
  103. package/src/components/chat-message/chat-message.react-snapshot.html +627 -0
  104. package/src/components/chat-message/config.json +278 -0
  105. package/src/components/chat-message-actions/ChatMessageActions.tsx +133 -0
  106. package/src/components/chat-message-actions/chat-message-actions.django-snapshot.html +345 -0
  107. package/src/components/chat-message-actions/chat-message-actions.django.html +29 -0
  108. package/src/components/chat-message-actions/chat-message-actions.html +53 -0
  109. package/src/components/chat-message-actions/chat-message-actions.react-snapshot.html +295 -0
  110. package/src/components/chat-message-actions/config.json +121 -0
  111. package/src/components/chat-window/ChatWindow.tsx +133 -0
  112. package/src/components/chat-window/chat-window.django-snapshot.html +448 -0
  113. package/src/components/chat-window/chat-window.django.html +39 -0
  114. package/src/components/chat-window/chat-window.html +26 -0
  115. package/src/components/chat-window/chat-window.react-snapshot.html +286 -0
  116. package/src/components/chat-window/config.json +123 -0
  117. package/src/components/clickable/Clickable.tsx +19 -5
  118. package/src/components/clickable/clickable.django-snapshot.html +11 -2
  119. package/src/components/clickable/clickable.django.html +2 -0
  120. package/src/components/clickable/clickable.react-snapshot.html +10 -2
  121. package/src/components/clickable/config.json +4 -0
  122. package/src/components/code/code.django-snapshot.html +25 -18
  123. package/src/components/code/code.react-snapshot.html +41 -4
  124. package/src/components/copy-to-clipboard/CopyToClipboard.tsx +2 -7
  125. package/src/components/copy-to-clipboard/copy-to-clipboard.django-snapshot.html +6 -4
  126. package/src/components/copy-to-clipboard/copy-to-clipboard.django.html +3 -2
  127. package/src/components/copy-to-clipboard/copy-to-clipboard.react-snapshot.html +14 -2
  128. package/src/components/file-list/FileList.tsx +3 -2
  129. package/src/components/file-list/config.json +5 -0
  130. package/src/components/file-list/file-list.django-snapshot.html +63 -0
  131. package/src/components/file-list/file-list.django.html +1 -1
  132. package/src/components/file-list/file-list.react-snapshot.html +53 -0
  133. package/src/components/footer/footer.django-snapshot.html +0 -3
  134. package/src/components/header/header.django-snapshot.html +0 -160
  135. package/src/components/header/header.django.html +2 -2
  136. package/src/components/hero/hero.django-snapshot.html +0 -20
  137. package/src/components/hero/hero.django.html +3 -3
  138. package/src/components/image/image.django.html +4 -4
  139. package/src/components/input/Input.tsx +1 -1
  140. package/src/components/input/config.json +2 -3
  141. package/src/components/input/input.django-snapshot.html +4 -21
  142. package/src/components/input/input.django.html +2 -2
  143. package/src/components/link/Link.tsx +7 -4
  144. package/src/components/link/config.json +2 -3
  145. package/src/components/link/link.django-snapshot.html +8 -0
  146. package/src/components/link/link.django.html +2 -2
  147. package/src/components/link/link.html +4 -1
  148. package/src/components/link/link.react-snapshot.html +8 -0
  149. package/src/components/memorable-date/memorable-date.django-snapshot.html +0 -8
  150. package/src/components/memorable-date/memorable-date.django.html +2 -2
  151. package/src/components/misc-banner/misc-banner.django-snapshot.html +12 -12
  152. package/src/components/misc-banner/misc-banner.django.html +4 -2
  153. package/src/components/popover/Popover.tsx +60 -9
  154. package/src/components/popover/PopoverMenu.tsx +33 -15
  155. package/src/components/popover/config.json +88 -14
  156. package/src/components/popover/popover-menu.django.html +13 -2
  157. package/src/components/popover/popover.django-snapshot.html +229 -7
  158. package/src/components/popover/popover.django.html +3 -2
  159. package/src/components/popover/popover.react-snapshot.html +127 -4
  160. package/src/components/process-list/config.json +41 -3
  161. package/src/components/quote/Quote.tsx +9 -2
  162. package/src/components/search/Search.tsx +1 -1
  163. package/src/components/search/config.json +3 -4
  164. package/src/components/search/search.django-snapshot.html +262 -1684
  165. package/src/components/search/search.django.html +1 -20
  166. package/src/components/select/select.django-snapshot.html +7 -7
  167. package/src/components/select/select.react-snapshot.html +7 -7
  168. package/src/components/summary/Summary.tsx +4 -2
  169. package/src/components/summary/config.json +4 -0
  170. package/src/components/summary/summary.django.html +4 -4
  171. package/src/components/table/Table.tsx +58 -25
  172. package/src/components/table/config.json +61 -13
  173. package/src/components/tag/Tag.tsx +40 -7
  174. package/src/components/tag/config.json +18 -2
  175. package/src/components/tag/tag.django-snapshot.html +16 -1
  176. package/src/components/tag/tag.django.html +12 -6
  177. package/src/components/tag/tag.html +4 -0
  178. package/src/components/tag/tag.react-snapshot.html +16 -1
  179. package/src/components/tag-group/TagGroup.tsx +6 -9
  180. package/src/components/tag-group/config.json +4 -0
  181. package/src/components/tag-group/tag-group.django.html +1 -1
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import ClassNames from 'classnames';
3
3
  import Link from '../link/Link';
4
+ import Icon, { type IconProps } from '../icon/Icon';
4
5
  import type { SummaryProps } from '../summary/Summary';
5
6
  import Popover, { type PopoverPanelShape } from './Popover';
6
7
 
@@ -9,10 +10,15 @@ interface PopoverMenuItemBase {
9
10
  id?: string;
10
11
  }
11
12
 
12
- export interface PopoverMenuLinkItem extends PopoverMenuItemBase {
13
- type: 'link';
14
- href: string;
13
+ export interface PopoverMenuRowItem extends PopoverMenuItemBase {
14
+ type?: 'button';
15
15
  text: string;
16
+ href?: string;
17
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
18
+ disabled?: boolean;
19
+ /** Optional icon before the label of an action row. */
20
+ icon?: IconProps;
21
+ extraAttributes?: Record<string, unknown>;
16
22
  }
17
23
 
18
24
  export interface PopoverMenuDetailsItem extends PopoverMenuItemBase {
@@ -22,15 +28,10 @@ export interface PopoverMenuDetailsItem extends PopoverMenuItemBase {
22
28
  items: PopoverMenuItem[];
23
29
  }
24
30
 
25
- export interface PopoverMenuTextItem extends PopoverMenuItemBase {
26
- type: 'text';
27
- text: string;
28
- }
29
-
30
- export type PopoverMenuItem = PopoverMenuLinkItem | PopoverMenuDetailsItem | PopoverMenuTextItem;
31
+ export type PopoverMenuItem = PopoverMenuDetailsItem | PopoverMenuRowItem;
31
32
 
32
33
  export interface PopoverMenuProps extends Omit<React.HTMLAttributes<HTMLUListElement>, 'children'> {
33
- /** Links, nested menus, or plain text. */
34
+ /** Links, actions, nested menus, or plain text. */
34
35
  items: PopoverMenuItem[];
35
36
  /** Prefix for generated panel IDs and the native details group name. Generated if omitted. */
36
37
  prefix?: string;
@@ -40,7 +41,13 @@ export interface PopoverMenuProps extends Omit<React.HTMLAttributes<HTMLUListEle
40
41
  }
41
42
 
42
43
  /** A stacked list of rows; `details` items open nested PopoverMenus beside their row. */
43
- export default function PopoverMenu({ items, prefix, panelShape, className, ...props }: PopoverMenuProps) {
44
+ export default function PopoverMenu({
45
+ items,
46
+ prefix,
47
+ panelShape,
48
+ className,
49
+ ...props
50
+ }: PopoverMenuProps) {
44
51
  const generatedPrefix = React.useId();
45
52
  const base = prefix ?? generatedPrefix;
46
53
 
@@ -51,7 +58,7 @@ export default function PopoverMenu({ items, prefix, panelShape, className, ...p
51
58
 
52
59
  return (
53
60
  <li key={id}>
54
- {item.type === 'details' && (
61
+ {item.type === 'details' ? (
55
62
  <Popover
56
63
  id={id}
57
64
  summaryProps={{
@@ -63,15 +70,26 @@ export default function PopoverMenu({ items, prefix, panelShape, className, ...p
63
70
  panelShape={panelShape}
64
71
  menuItems={item.items}
65
72
  />
66
- )}
67
- {item.type === 'link' && (
73
+ ) : item.type === 'button' || item.onClick ? (
74
+ <button
75
+ {...item.extraAttributes}
76
+ type="button"
77
+ className="usx-popover__menu-item"
78
+ onClick={item.onClick}
79
+ disabled={item.disabled}
80
+ >
81
+ {item.icon && <Icon {...item.icon} />}
82
+ {item.text}
83
+ </button>
84
+ ) : item.href ? (
68
85
  <Link
69
86
  href={item.href}
70
87
  text={item.text}
71
88
  className="usx-no-visited usx-popover__menu-item"
72
89
  />
90
+ ) : (
91
+ <span className="usx-popover__menu-item">{item.text}</span>
73
92
  )}
74
- {item.type === 'text' && <span className="usx-popover__menu-item">{item.text}</span>}
75
93
  </li>
76
94
  );
77
95
  })}
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "popover",
3
3
  "template": "popover/popover.django.html",
4
- "version": 6,
5
- "required": ["id"],
4
+ "version": 7,
5
+ "required": [
6
+ "id"
7
+ ],
6
8
  "default": {
7
9
  "id": "popover-default",
8
10
  "summaryProps": {
@@ -27,15 +29,18 @@
27
29
  },
28
30
  "menuItems": {
29
31
  "type": "array",
30
- "description": "Rows for a stacked menu rendered in the panel before children. Each item sets `type`: \"link\" ({href, text}), \"details\" ({summaryProps, items}) which opens a nested Popover to the right, or \"text\" ({text}).",
32
+ "description": "Menu rows use onClick for a native button, href for a link, or neither for text. Button rows may include icon. Nested rows use type: \"details\" with summaryProps and items.",
31
33
  "items": {
32
34
  "type": "object",
33
- "description": "A link, details, or text row, chosen by `type`.",
35
+ "description": "A button, link, text, or nested details row.",
34
36
  "properties": {
35
37
  "type": {
36
38
  "type": "select",
37
- "options": ["link", "details", "text"],
38
- "description": "Required. Selects how the row renders."
39
+ "options": [
40
+ "details",
41
+ "button"
42
+ ],
43
+ "description": "Use button for a native action row with delegated behavior, or details for a nested row."
39
44
  },
40
45
  "id": {
41
46
  "type": "string",
@@ -43,40 +48,71 @@
43
48
  },
44
49
  "text": {
45
50
  "type": "string",
46
- "description": "Link or plain text."
51
+ "description": "Link, action, or plain text."
47
52
  },
48
53
  "href": {
49
54
  "type": "string",
50
- "description": "Link destination. Only for type \"link\"."
55
+ "description": "Link destination. Used when onClick is absent."
51
56
  },
52
57
  "summaryProps": {
53
58
  "type": "object",
54
59
  "component": "summary",
55
- "omit": ["unstyled"],
60
+ "omit": [
61
+ "unstyled"
62
+ ],
56
63
  "description": "Props passed to the details row summary. Only for type \"details\"."
57
64
  },
58
65
  "items": {
59
66
  "type": "array",
60
67
  "description": "Nested menu rows with the same shape. Only for type \"details\"."
68
+ },
69
+ "onClick": {
70
+ "type": "function",
71
+ "description": "Click handler for a native button row. Takes precedence over href. Django accepts an inline JavaScript string; use a truthy marker when behavior is delegated through data attributes."
72
+ },
73
+ "disabled": {
74
+ "type": "boolean",
75
+ "description": "Disable a button row."
76
+ },
77
+ "extraAttributes": {
78
+ "type": "object",
79
+ "description": "Additional attributes for a button row, including data attributes."
80
+ },
81
+ "icon": {
82
+ "type": "object",
83
+ "component": "icon",
84
+ "description": "Optional Icon props rendered before a button row label. Only for rows with onClick."
61
85
  }
62
86
  }
63
87
  }
64
88
  },
65
89
  "side": {
66
90
  "type": "select",
67
- "options": ["top", "right", "bottom", "left"],
91
+ "options": [
92
+ "top",
93
+ "right",
94
+ "bottom",
95
+ "left"
96
+ ],
68
97
  "default": "bottom",
69
98
  "description": "Physical side of the trigger where CSS places the floating panel. Choose a side and alignment with enough space for the panel."
70
99
  },
71
100
  "align": {
72
101
  "type": "select",
73
- "options": ["start", "center", "end"],
102
+ "options": [
103
+ "start",
104
+ "center",
105
+ "end"
106
+ ],
74
107
  "default": "start",
75
108
  "description": "Alignment along the chosen side. Start and end follow text direction for top and bottom."
76
109
  },
77
110
  "panelShape": {
78
111
  "type": "select",
79
- "options": ["rounded", "square"],
112
+ "options": [
113
+ "rounded",
114
+ "square"
115
+ ],
80
116
  "default": "rounded",
81
117
  "description": "Rounded keeps the original border radius and extra vertical padding; square removes the radius and uses equal outer padding on all sides. Nested menuItems flyouts inherit the shape."
82
118
  },
@@ -85,6 +121,11 @@
85
121
  "default": false,
86
122
  "description": "Open initially. Native details owns subsequent disclosure state."
87
123
  },
124
+ "dismissOnOutside": {
125
+ "type": "boolean",
126
+ "default": true,
127
+ "description": "When false, keep the disclosure open as users interact with the rest of the page. Escape and close controls still close it."
128
+ },
88
129
  "name": {
89
130
  "type": "string",
90
131
  "description": "Optional native details group: opening one closes another with the same name. Use unique group names for unrelated groups and each nesting level."
@@ -92,20 +133,53 @@
92
133
  "showClose": {
93
134
  "type": "boolean",
94
135
  "default": false,
95
- "description": "Add a visible close button after panel content. The shared enhancement enables it, outside dismissal, and Escape with focus return. The summary toggles natively without JavaScript."
136
+ "description": "Add a visible close button after panel content. The shared enhancement enables it and Escape with focus return. Outside dismissal is controlled by dismissOnOutside. The summary toggles natively without JavaScript."
96
137
  },
97
138
  "closeLabel": {
98
139
  "type": "string",
99
140
  "default": "Close",
100
141
  "description": "Visible text for the optional close button."
101
142
  },
143
+ "headerLeftActions": {
144
+ "type": "slot",
145
+ "description": "Optional controls before the panel heading, such as a back button."
146
+ },
147
+ "headerRightActions": {
148
+ "type": "slot",
149
+ "description": "Optional controls on the right side of the panel header, before the close icon. Can contain another Popover for an action menu."
150
+ },
151
+ "showCloseIcon": {
152
+ "type": "boolean",
153
+ "default": false,
154
+ "description": "Show a close icon in the panel header. React handles closing directly; HTML and Django require the Popover enhancement for dismissal and focus return."
155
+ },
156
+ "closeIconLabel": {
157
+ "type": "string",
158
+ "default": "Close",
159
+ "description": "Accessible name for the header close icon."
160
+ },
161
+ "headerClassName": {
162
+ "type": "string",
163
+ "description": "Additional class names for the panel header."
164
+ },
102
165
  "panelHeading": {
103
166
  "type": "string",
104
167
  "description": "Optional visible heading for the panel."
105
168
  },
169
+ "panelHeadingId": {
170
+ "type": "string",
171
+ "description": "Optional heading ID for labeling panel content and restoring focus after a view change. Makes the heading programmatically focusable."
172
+ },
106
173
  "headingAs": {
107
174
  "type": "select",
108
- "options": ["h1", "h2", "h3", "h4", "h5", "h6"],
175
+ "options": [
176
+ "h1",
177
+ "h2",
178
+ "h3",
179
+ "h4",
180
+ "h5",
181
+ "h6"
182
+ ],
109
183
  "default": "h2",
110
184
  "description": "Heading element used for panelHeading. Choose the level that fits the surrounding page outline."
111
185
  },
@@ -21,9 +21,20 @@
21
21
  {% include "popover/popover-menu.django.html" with items=item.items prefix=id panelShape=panelShape only %}
22
22
  </div>
23
23
  </details>
24
- {% elif item.type == 'link' %}
24
+ {% elif item.type == 'button' or item.onClick %}
25
+ <button
26
+ type="button"
27
+ class="usx-popover__menu-item"
28
+ {% if item.disabled %}disabled{% endif %}
29
+ {% if item.onClick and item.onClick is not True %}onclick="{{ item.onClick }}"{% endif %}
30
+ {% for attr, value in item.extraAttributes.items %}{{ attr }}="{% if value is True %}true{% elif value is False %}false{% else %}{{ value }}{% endif %}"{% endfor %}
31
+ >
32
+ {% if item.icon %}{% icon props=item.icon %}{% endicon %}{% endif %}
33
+ {{ item.text|force_escape }}
34
+ </button>
35
+ {% elif item.href %}
25
36
  {% link href=item.href text=item.text className="usx-no-visited usx-popover__menu-item" %}{{ item.text|force_escape }}{% endlink %}
26
- {% elif item.type == 'text' %}
37
+ {% else %}
27
38
  <span class="usx-popover__menu-item">{{ item.text|force_escape }}</span>
28
39
  {% endif %}
29
40
  </li>