@salesforce/design-system-react 11.0.0-alpha.2 → 11.0.0-alpha.3

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 (311) hide show
  1. package/dist/cjs/components/combobox/combobox.cjs +1 -1
  2. package/dist/cjs/components/combobox/combobox.cjs.map +1 -1
  3. package/dist/cjs/components/data-table/highlight-cell.cjs +1 -1
  4. package/dist/cjs/components/data-table/index.cjs +1 -1
  5. package/dist/cjs/components/date-picker/date-picker.cjs +1 -1
  6. package/dist/cjs/components/date-picker/date-picker.cjs.map +1 -1
  7. package/dist/cjs/components/date-picker/index.cjs +1 -1
  8. package/dist/cjs/components/date-picker/index.cjs.map +1 -1
  9. package/dist/cjs/components/illustration/check-props.cjs +2 -0
  10. package/dist/cjs/components/illustration/check-props.cjs.map +1 -0
  11. package/dist/cjs/components/illustration/index.cjs +1 -1
  12. package/dist/cjs/components/illustration/index.cjs.map +1 -1
  13. package/dist/cjs/components/index.cjs +1 -1
  14. package/dist/cjs/components/modal/trigger.cjs +1 -1
  15. package/dist/cjs/components/pill/index.cjs +1 -1
  16. package/dist/cjs/components/pill/index.cjs.map +1 -1
  17. package/dist/cjs/components/pill-container/index.cjs +1 -1
  18. package/dist/cjs/components/pill-container/index.cjs.map +1 -1
  19. package/dist/cjs/components/pill-container/private/selected-listbox.cjs +1 -1
  20. package/dist/cjs/components/pill-container/private/selected-listbox.cjs.map +1 -1
  21. package/dist/cjs/components/tree/private/item.cjs +1 -1
  22. package/dist/cjs/components/tree/private/render-branch.cjs +1 -1
  23. package/dist/cjs/components/utilities/dialog/index.cjs +1 -1
  24. package/dist/cjs/components/utilities/dialog/index.cjs.map +1 -1
  25. package/dist/cjs/utilities/constants.cjs +1 -1
  26. package/dist/cjs/utilities/constants.cjs.map +1 -1
  27. package/dist/es/components/combobox/combobox.js +131 -117
  28. package/dist/es/components/combobox/combobox.js.map +1 -1
  29. package/dist/es/components/data-table/highlight-cell.js +4 -4
  30. package/dist/es/components/data-table/index.js +9 -9
  31. package/dist/es/components/date-picker/date-picker.js +150 -145
  32. package/dist/es/components/date-picker/date-picker.js.map +1 -1
  33. package/dist/es/components/date-picker/index.js +6 -18
  34. package/dist/es/components/date-picker/index.js.map +1 -1
  35. package/dist/es/components/illustration/check-props.js +11 -0
  36. package/dist/es/components/illustration/check-props.js.map +1 -0
  37. package/dist/es/components/illustration/index.js +37 -25
  38. package/dist/es/components/illustration/index.js.map +1 -1
  39. package/dist/es/components/index.js +89 -115
  40. package/dist/es/components/modal/trigger.js +4 -4
  41. package/dist/es/components/pill/index.js +32 -30
  42. package/dist/es/components/pill/index.js.map +1 -1
  43. package/dist/es/components/pill-container/index.js +1 -0
  44. package/dist/es/components/pill-container/index.js.map +1 -1
  45. package/dist/es/components/pill-container/private/selected-listbox.js +3 -1
  46. package/dist/es/components/pill-container/private/selected-listbox.js.map +1 -1
  47. package/dist/es/components/tree/private/item.js +4 -4
  48. package/dist/es/components/tree/private/render-branch.js +9 -9
  49. package/dist/es/components/utilities/dialog/index.js +2 -2
  50. package/dist/es/components/utilities/dialog/index.js.map +1 -1
  51. package/dist/es/utilities/constants.js +2 -2
  52. package/dist/es/utilities/constants.js.map +1 -1
  53. package/dist/types/components/combobox/combobox.d.ts.map +1 -1
  54. package/dist/types/components/date-picker/date-picker.d.ts.map +1 -1
  55. package/dist/types/components/date-picker/index.d.ts +6 -2
  56. package/dist/types/components/date-picker/index.d.ts.map +1 -1
  57. package/dist/types/components/illustration/index.d.ts.map +1 -1
  58. package/dist/types/components/index.d.ts +0 -52
  59. package/dist/types/components/index.d.ts.map +1 -1
  60. package/dist/types/components/pill/index.d.ts +4 -0
  61. package/dist/types/components/pill/index.d.ts.map +1 -1
  62. package/dist/types/components/pill-container/index.d.ts.map +1 -1
  63. package/dist/types/components/pill-container/private/selected-listbox.d.ts +7 -1
  64. package/dist/types/components/pill-container/private/selected-listbox.d.ts.map +1 -1
  65. package/package.json +4 -1
  66. package/dist/cjs/components/app-launcher/check-props.cjs +0 -2
  67. package/dist/cjs/components/app-launcher/check-props.cjs.map +0 -1
  68. package/dist/cjs/components/app-launcher/component.cjs +0 -2
  69. package/dist/cjs/components/app-launcher/component.cjs.map +0 -1
  70. package/dist/cjs/components/app-launcher/expandable-section.cjs +0 -2
  71. package/dist/cjs/components/app-launcher/expandable-section.cjs.map +0 -1
  72. package/dist/cjs/components/app-launcher/index.cjs +0 -2
  73. package/dist/cjs/components/app-launcher/index.cjs.map +0 -1
  74. package/dist/cjs/components/app-launcher/link.cjs +0 -2
  75. package/dist/cjs/components/app-launcher/link.cjs.map +0 -1
  76. package/dist/cjs/components/app-launcher/tile.cjs +0 -2
  77. package/dist/cjs/components/app-launcher/tile.cjs.map +0 -1
  78. package/dist/cjs/components/app-launcher.cjs +0 -1
  79. package/dist/cjs/components/brand-band/index.cjs +0 -2
  80. package/dist/cjs/components/brand-band/index.cjs.map +0 -1
  81. package/dist/cjs/components/brand-band.cjs +0 -1
  82. package/dist/cjs/components/expression/condition.cjs +0 -2
  83. package/dist/cjs/components/expression/condition.cjs.map +0 -1
  84. package/dist/cjs/components/expression/formula.cjs +0 -2
  85. package/dist/cjs/components/expression/formula.cjs.map +0 -1
  86. package/dist/cjs/components/expression/group.cjs +0 -2
  87. package/dist/cjs/components/expression/group.cjs.map +0 -1
  88. package/dist/cjs/components/expression/index.cjs +0 -2
  89. package/dist/cjs/components/expression/index.cjs.map +0 -1
  90. package/dist/cjs/components/expression.cjs +0 -1
  91. package/dist/cjs/components/global-header/button.cjs +0 -2
  92. package/dist/cjs/components/global-header/button.cjs.map +0 -1
  93. package/dist/cjs/components/global-header/check-props.cjs +0 -2
  94. package/dist/cjs/components/global-header/check-props.cjs.map +0 -1
  95. package/dist/cjs/components/global-header/dropdown.cjs +0 -2
  96. package/dist/cjs/components/global-header/dropdown.cjs.map +0 -1
  97. package/dist/cjs/components/global-header/favorites.cjs +0 -2
  98. package/dist/cjs/components/global-header/favorites.cjs.map +0 -1
  99. package/dist/cjs/components/global-header/help.cjs +0 -2
  100. package/dist/cjs/components/global-header/help.cjs.map +0 -1
  101. package/dist/cjs/components/global-header/index.cjs +0 -2
  102. package/dist/cjs/components/global-header/index.cjs.map +0 -1
  103. package/dist/cjs/components/global-header/notifications.cjs +0 -2
  104. package/dist/cjs/components/global-header/notifications.cjs.map +0 -1
  105. package/dist/cjs/components/global-header/private/dropdown-trigger.cjs +0 -2
  106. package/dist/cjs/components/global-header/private/dropdown-trigger.cjs.map +0 -1
  107. package/dist/cjs/components/global-header/profile.cjs +0 -2
  108. package/dist/cjs/components/global-header/profile.cjs.map +0 -1
  109. package/dist/cjs/components/global-header/search.cjs +0 -2
  110. package/dist/cjs/components/global-header/search.cjs.map +0 -1
  111. package/dist/cjs/components/global-header/setup.cjs +0 -2
  112. package/dist/cjs/components/global-header/setup.cjs.map +0 -1
  113. package/dist/cjs/components/global-header/task.cjs +0 -2
  114. package/dist/cjs/components/global-header/task.cjs.map +0 -1
  115. package/dist/cjs/components/global-header.cjs +0 -1
  116. package/dist/cjs/components/global-navigation-bar/button.cjs +0 -2
  117. package/dist/cjs/components/global-navigation-bar/button.cjs.map +0 -1
  118. package/dist/cjs/components/global-navigation-bar/check-props.cjs +0 -2
  119. package/dist/cjs/components/global-navigation-bar/check-props.cjs.map +0 -1
  120. package/dist/cjs/components/global-navigation-bar/component.cjs +0 -2
  121. package/dist/cjs/components/global-navigation-bar/component.cjs.map +0 -1
  122. package/dist/cjs/components/global-navigation-bar/dropdown-trigger.cjs +0 -2
  123. package/dist/cjs/components/global-navigation-bar/dropdown-trigger.cjs.map +0 -1
  124. package/dist/cjs/components/global-navigation-bar/dropdown.cjs +0 -2
  125. package/dist/cjs/components/global-navigation-bar/dropdown.cjs.map +0 -1
  126. package/dist/cjs/components/global-navigation-bar/index.cjs +0 -2
  127. package/dist/cjs/components/global-navigation-bar/index.cjs.map +0 -1
  128. package/dist/cjs/components/global-navigation-bar/label.cjs +0 -2
  129. package/dist/cjs/components/global-navigation-bar/label.cjs.map +0 -1
  130. package/dist/cjs/components/global-navigation-bar/link.cjs +0 -2
  131. package/dist/cjs/components/global-navigation-bar/link.cjs.map +0 -1
  132. package/dist/cjs/components/global-navigation-bar/region.cjs +0 -2
  133. package/dist/cjs/components/global-navigation-bar/region.cjs.map +0 -1
  134. package/dist/cjs/components/global-navigation-bar.cjs +0 -1
  135. package/dist/cjs/components/location-map/index.cjs +0 -2
  136. package/dist/cjs/components/location-map/index.cjs.map +0 -1
  137. package/dist/cjs/components/location-map.cjs +0 -1
  138. package/dist/cjs/components/utilities/truncate/index.cjs +0 -2
  139. package/dist/cjs/components/utilities/truncate/index.cjs.map +0 -1
  140. package/dist/cjs/components/utilities/truncate.cjs +0 -1
  141. package/dist/cjs/utilities/warning/one-of-component.cjs +0 -2
  142. package/dist/cjs/utilities/warning/one-of-component.cjs.map +0 -1
  143. package/dist/es/components/app-launcher/check-props.js +0 -17
  144. package/dist/es/components/app-launcher/check-props.js.map +0 -1
  145. package/dist/es/components/app-launcher/component.js +0 -31
  146. package/dist/es/components/app-launcher/component.js.map +0 -1
  147. package/dist/es/components/app-launcher/expandable-section.js +0 -42
  148. package/dist/es/components/app-launcher/expandable-section.js.map +0 -1
  149. package/dist/es/components/app-launcher/index.js +0 -96
  150. package/dist/es/components/app-launcher/index.js.map +0 -1
  151. package/dist/es/components/app-launcher/link.js +0 -29
  152. package/dist/es/components/app-launcher/link.js.map +0 -1
  153. package/dist/es/components/app-launcher/tile.js +0 -101
  154. package/dist/es/components/app-launcher/tile.js.map +0 -1
  155. package/dist/es/components/app-launcher.js +0 -2
  156. package/dist/es/components/brand-band/index.js +0 -27
  157. package/dist/es/components/brand-band/index.js.map +0 -1
  158. package/dist/es/components/brand-band.js +0 -2
  159. package/dist/es/components/expression/condition.js +0 -124
  160. package/dist/es/components/expression/condition.js.map +0 -1
  161. package/dist/es/components/expression/formula.js +0 -105
  162. package/dist/es/components/expression/formula.js.map +0 -1
  163. package/dist/es/components/expression/group.js +0 -153
  164. package/dist/es/components/expression/group.js.map +0 -1
  165. package/dist/es/components/expression/index.js +0 -33
  166. package/dist/es/components/expression/index.js.map +0 -1
  167. package/dist/es/components/expression.js +0 -2
  168. package/dist/es/components/global-header/button.js +0 -19
  169. package/dist/es/components/global-header/button.js.map +0 -1
  170. package/dist/es/components/global-header/check-props.js +0 -20
  171. package/dist/es/components/global-header/check-props.js.map +0 -1
  172. package/dist/es/components/global-header/dropdown.js +0 -33
  173. package/dist/es/components/global-header/dropdown.js.map +0 -1
  174. package/dist/es/components/global-header/favorites.js +0 -74
  175. package/dist/es/components/global-header/favorites.js.map +0 -1
  176. package/dist/es/components/global-header/help.js +0 -39
  177. package/dist/es/components/global-header/help.js.map +0 -1
  178. package/dist/es/components/global-header/index.js +0 -90
  179. package/dist/es/components/global-header/index.js.map +0 -1
  180. package/dist/es/components/global-header/notifications.js +0 -51
  181. package/dist/es/components/global-header/notifications.js.map +0 -1
  182. package/dist/es/components/global-header/private/dropdown-trigger.js +0 -50
  183. package/dist/es/components/global-header/private/dropdown-trigger.js.map +0 -1
  184. package/dist/es/components/global-header/profile.js +0 -47
  185. package/dist/es/components/global-header/profile.js.map +0 -1
  186. package/dist/es/components/global-header/search.js +0 -12
  187. package/dist/es/components/global-header/search.js.map +0 -1
  188. package/dist/es/components/global-header/setup.js +0 -39
  189. package/dist/es/components/global-header/setup.js.map +0 -1
  190. package/dist/es/components/global-header/task.js +0 -38
  191. package/dist/es/components/global-header/task.js.map +0 -1
  192. package/dist/es/components/global-header.js +0 -2
  193. package/dist/es/components/global-navigation-bar/button.js +0 -22
  194. package/dist/es/components/global-navigation-bar/button.js.map +0 -1
  195. package/dist/es/components/global-navigation-bar/check-props.js +0 -13
  196. package/dist/es/components/global-navigation-bar/check-props.js.map +0 -1
  197. package/dist/es/components/global-navigation-bar/component.js +0 -43
  198. package/dist/es/components/global-navigation-bar/component.js.map +0 -1
  199. package/dist/es/components/global-navigation-bar/dropdown-trigger.js +0 -66
  200. package/dist/es/components/global-navigation-bar/dropdown-trigger.js.map +0 -1
  201. package/dist/es/components/global-navigation-bar/dropdown.js +0 -34
  202. package/dist/es/components/global-navigation-bar/dropdown.js.map +0 -1
  203. package/dist/es/components/global-navigation-bar/index.js +0 -27
  204. package/dist/es/components/global-navigation-bar/index.js.map +0 -1
  205. package/dist/es/components/global-navigation-bar/label.js +0 -25
  206. package/dist/es/components/global-navigation-bar/label.js.map +0 -1
  207. package/dist/es/components/global-navigation-bar/link.js +0 -50
  208. package/dist/es/components/global-navigation-bar/link.js.map +0 -1
  209. package/dist/es/components/global-navigation-bar/region.js +0 -50
  210. package/dist/es/components/global-navigation-bar/region.js.map +0 -1
  211. package/dist/es/components/global-navigation-bar.js +0 -2
  212. package/dist/es/components/location-map/index.js +0 -75
  213. package/dist/es/components/location-map/index.js.map +0 -1
  214. package/dist/es/components/location-map.js +0 -2
  215. package/dist/es/components/utilities/truncate/index.js +0 -91
  216. package/dist/es/components/utilities/truncate/index.js.map +0 -1
  217. package/dist/es/components/utilities/truncate.js +0 -2
  218. package/dist/es/utilities/warning/one-of-component.js +0 -15
  219. package/dist/es/utilities/warning/one-of-component.js.map +0 -1
  220. package/dist/types/components/app-launcher/check-props.d.ts +0 -3
  221. package/dist/types/components/app-launcher/check-props.d.ts.map +0 -1
  222. package/dist/types/components/app-launcher/expandable-section.d.ts +0 -62
  223. package/dist/types/components/app-launcher/expandable-section.d.ts.map +0 -1
  224. package/dist/types/components/app-launcher/index.d.ts +0 -48
  225. package/dist/types/components/app-launcher/index.d.ts.map +0 -1
  226. package/dist/types/components/app-launcher/link.d.ts +0 -39
  227. package/dist/types/components/app-launcher/link.d.ts.map +0 -1
  228. package/dist/types/components/app-launcher/section.d.ts +0 -55
  229. package/dist/types/components/app-launcher/section.d.ts.map +0 -1
  230. package/dist/types/components/app-launcher/tile.d.ts +0 -74
  231. package/dist/types/components/app-launcher/tile.d.ts.map +0 -1
  232. package/dist/types/components/app-launcher.d.ts +0 -2
  233. package/dist/types/components/brand-band/check-props.d.ts +0 -3
  234. package/dist/types/components/brand-band/check-props.d.ts.map +0 -1
  235. package/dist/types/components/brand-band/index.d.ts +0 -39
  236. package/dist/types/components/brand-band/index.d.ts.map +0 -1
  237. package/dist/types/components/brand-band.d.ts +0 -2
  238. package/dist/types/components/bread-crumb/index.d.ts +0 -3
  239. package/dist/types/components/bread-crumb/index.d.ts.map +0 -1
  240. package/dist/types/components/bread-crumb.d.ts +0 -2
  241. package/dist/types/components/expression/condition.d.ts +0 -105
  242. package/dist/types/components/expression/condition.d.ts.map +0 -1
  243. package/dist/types/components/expression/formula.d.ts +0 -88
  244. package/dist/types/components/expression/formula.d.ts.map +0 -1
  245. package/dist/types/components/expression/group.d.ts +0 -114
  246. package/dist/types/components/expression/group.d.ts.map +0 -1
  247. package/dist/types/components/expression/index.d.ts +0 -72
  248. package/dist/types/components/expression/index.d.ts.map +0 -1
  249. package/dist/types/components/expression.d.ts +0 -2
  250. package/dist/types/components/forms/input/index.d.ts +0 -3
  251. package/dist/types/components/forms/input/index.d.ts.map +0 -1
  252. package/dist/types/components/forms/input/search.d.ts +0 -3
  253. package/dist/types/components/forms/input/search.d.ts.map +0 -1
  254. package/dist/types/components/forms/input.d.ts +0 -2
  255. package/dist/types/components/forms/radio/index.d.ts +0 -3
  256. package/dist/types/components/forms/radio/index.d.ts.map +0 -1
  257. package/dist/types/components/forms/radio.d.ts +0 -2
  258. package/dist/types/components/forms/textarea/index.d.ts +0 -3
  259. package/dist/types/components/forms/textarea/index.d.ts.map +0 -1
  260. package/dist/types/components/forms/textarea.d.ts +0 -2
  261. package/dist/types/components/global-header/button.d.ts +0 -15
  262. package/dist/types/components/global-header/button.d.ts.map +0 -1
  263. package/dist/types/components/global-header/check-props.d.ts +0 -3
  264. package/dist/types/components/global-header/check-props.d.ts.map +0 -1
  265. package/dist/types/components/global-header/dropdown.d.ts +0 -59
  266. package/dist/types/components/global-header/dropdown.d.ts.map +0 -1
  267. package/dist/types/components/global-header/favorites.d.ts +0 -42
  268. package/dist/types/components/global-header/favorites.d.ts.map +0 -1
  269. package/dist/types/components/global-header/help.d.ts +0 -25
  270. package/dist/types/components/global-header/help.d.ts.map +0 -1
  271. package/dist/types/components/global-header/index.d.ts +0 -38
  272. package/dist/types/components/global-header/index.d.ts.map +0 -1
  273. package/dist/types/components/global-header/notifications.d.ts +0 -33
  274. package/dist/types/components/global-header/notifications.d.ts.map +0 -1
  275. package/dist/types/components/global-header/private/dropdown-trigger.d.ts +0 -78
  276. package/dist/types/components/global-header/private/dropdown-trigger.d.ts.map +0 -1
  277. package/dist/types/components/global-header/profile.d.ts +0 -38
  278. package/dist/types/components/global-header/profile.d.ts.map +0 -1
  279. package/dist/types/components/global-header/search.d.ts +0 -14
  280. package/dist/types/components/global-header/search.d.ts.map +0 -1
  281. package/dist/types/components/global-header/setup.d.ts +0 -25
  282. package/dist/types/components/global-header/setup.d.ts.map +0 -1
  283. package/dist/types/components/global-header/task.d.ts +0 -25
  284. package/dist/types/components/global-header/task.d.ts.map +0 -1
  285. package/dist/types/components/global-header.d.ts +0 -2
  286. package/dist/types/components/global-navigation-bar/button.d.ts +0 -18
  287. package/dist/types/components/global-navigation-bar/button.d.ts.map +0 -1
  288. package/dist/types/components/global-navigation-bar/check-props.d.ts +0 -3
  289. package/dist/types/components/global-navigation-bar/check-props.d.ts.map +0 -1
  290. package/dist/types/components/global-navigation-bar/dropdown-trigger.d.ts +0 -88
  291. package/dist/types/components/global-navigation-bar/dropdown-trigger.d.ts.map +0 -1
  292. package/dist/types/components/global-navigation-bar/dropdown.d.ts +0 -64
  293. package/dist/types/components/global-navigation-bar/dropdown.d.ts.map +0 -1
  294. package/dist/types/components/global-navigation-bar/index.d.ts +0 -35
  295. package/dist/types/components/global-navigation-bar/index.d.ts.map +0 -1
  296. package/dist/types/components/global-navigation-bar/label.d.ts +0 -25
  297. package/dist/types/components/global-navigation-bar/label.d.ts.map +0 -1
  298. package/dist/types/components/global-navigation-bar/link.d.ts +0 -84
  299. package/dist/types/components/global-navigation-bar/link.d.ts.map +0 -1
  300. package/dist/types/components/global-navigation-bar/region.d.ts +0 -36
  301. package/dist/types/components/global-navigation-bar/region.d.ts.map +0 -1
  302. package/dist/types/components/global-navigation-bar.d.ts +0 -2
  303. package/dist/types/components/location-map/index.d.ts +0 -49
  304. package/dist/types/components/location-map/index.d.ts.map +0 -1
  305. package/dist/types/components/location-map.d.ts +0 -2
  306. package/dist/types/components/navigation/index.d.ts +0 -3
  307. package/dist/types/components/navigation/index.d.ts.map +0 -1
  308. package/dist/types/components/navigation.d.ts +0 -2
  309. package/dist/types/components/popover-tooltip/index.d.ts +0 -3
  310. package/dist/types/components/popover-tooltip/index.d.ts.map +0 -1
  311. package/dist/types/components/popover-tooltip.d.ts +0 -2
@@ -1,2 +1,2 @@
1
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../utilities/event.cjs"),n=require("../../../utilities/key-code.cjs"),r=require("../../button/index.cjs"),i=require("../../utilities/highlighter/index.cjs"),a=require("../../../utilities/key-callbacks.cjs");let o=require("react");o=e.__toESM(o,1);let s=require("classnames");s=e.__toESM(s,1);let c=require("react/jsx-runtime"),l=require("lodash.isfunction");l=e.__toESM(l,1);let u=require("lodash.findindex");u=e.__toESM(u,1);var d=(e,n)=>{t.default.trap(e),(0,l.default)(n.onExpand)&&n.onExpand({event:e,data:{node:n.node,expand:!n.node.expanded,treeIndex:n.treeIndex}})},f=({event:e,props:n,fromFocus:r})=>{t.default.trap(e),(0,l.default)(n.onSelect)&&n.onSelect({event:e,data:{node:n.node,select:!n.node.selected,treeIndex:n.treeIndex},fromFocus:r})},p=(e,t)=>{let n=e.map(e=>e.node);return e[((0,u.default)(n,{id:t.id})+1)%e.length]},m=(e,t)=>{let n=e.map(e=>e.node),r=(0,u.default)(n,{id:t.id})-1;return r<0&&(r+=e.length),e[r]},h=(e,t)=>{if(t.focusedNodeIndex===t.treeIndex){let n=p(t.flattenedNodes,t.node);t.onSelect?.({event:e,data:{node:n.node,select:!0,treeIndex:n.treeIndex},clearSelectedNodes:!0})}},g=(e,t)=>{if(t.focusedNodeIndex===t.treeIndex){let n=m(t.flattenedNodes,t.node);t.onSelect?.({event:e,data:{node:n.node,select:!0,treeIndex:n.treeIndex},clearSelectedNodes:!0})}},_=(e,t)=>{if(t.node.expanded){let n=t.getNodes?.(t.node);n&&n.length>0&&h(e,t)}else d(e,t)},v=(e,t)=>{if(t.node.expanded)d(e,t);else{let n=t.flattenedNodes.map(e=>e.node),r=t.parent,i=(0,u.default)(n,{id:r?.id});i!==-1&&t.onExpand({event:e,data:{node:r,select:!0,expand:!r.expanded,treeIndex:t.flattenedNodes[i].treeIndex}})}},y=(e,t)=>{f({event:e,props:t})},b=(e,t)=>{a.default(e,{callbacks:{[n.default.DOWN]:{callback:e=>h(e,t)},[n.default.UP]:{callback:e=>g(e,t)},[n.default.RIGHT]:{callback:e=>_(e,t)},[n.default.LEFT]:{callback:e=>v(e,t)},[n.default.ENTER]:{callback:e=>y(e,t)}}})},x=(e,t)=>{!t.treeHasFocus&&!t.focusedNodeIndex&&e.target===e.currentTarget&&f({event:e,props:t,fromFocus:!0})},S=e=>{let t=e.selectedNodeIndexes.length===0&&e.treeIndex===e.flattenedNodes[0]?.treeIndex;return e.treeIndex===e.focusedNodeIndex||t?0:-1},C=(e,t)=>{let n=t.node.expanded,a=t.node.selected,o=t.treeIndex===t.focusedNodeIndex,l=t.node.loading,u=(0,c.jsxs)(`div`,{style:{display:`block`,paddingLeft:`${1.5*t.level+1.5}rem`,marginTop:`.5rem`},children:[(0,c.jsx)(`div`,{style:{borderRadius:`15rem`,display:`block`,marginBottom:`.75rem`,height:`.5rem`,backgroundColor:`rgb(224, 229, 238)`,width:`40%`}}),(0,c.jsx)(`div`,{style:{borderRadius:`15rem`,display:`block`,marginBottom:`.75rem`,height:`.5rem`,backgroundColor:`rgb(224, 229, 238)`,width:`80%`}}),(0,c.jsx)(`div`,{style:{borderRadius:`15rem`,display:`block`,marginBottom:`.75rem`,height:`.5rem`,backgroundColor:`rgb(224, 229, 238)`,width:`60%`}})]}),p=t.node.assistiveText||(typeof t.node.label==`string`?t.node.label:null),m={"aria-level":t.level,"aria-expanded":n?`true`:`false`,"aria-label":t.node.nodes&&t.node.nodes.length>0?p:void 0};return(0,c.jsxs)(`li`,{id:String(t.htmlId),role:`treeitem`,...m,tabIndex:S(t),onKeyDown:e=>b(e,t),onFocus:e=>x(e,t),onBlur:t.onNodeBlur,ref:e=>{t.treeHasFocus&&e&&o&&e.focus()},children:[(0,c.jsxs)(`div`,{className:(0,s.default)(`slds-tree__item`,{"slds-is-selected":a}),onClick:e=>f({event:e,props:t}),children:[(0,c.jsx)(r.default,{assistiveText:{icon:`Expand Tree Branch`},iconCategory:`utility`,iconName:`chevronright`,iconSize:`small`,variant:`icon`,className:`slds-m-right_small`,onClick:e=>d(e,t),tabIndex:-1}),(0,c.jsx)(`span`,{className:`slds-size_1-of-1`,id:`${t.htmlId}__label`,children:(0,c.jsx)(i.default,{search:t.searchTerm,className:`slds-tree__item-label slds-truncate`,children:t.label})})]}),l?u:null,(0,c.jsx)(`ul`,{className:(0,s.default)({"slds-is-expanded":n,"slds-is-collapsed":!n}),role:`group`,"aria-labelledby":`${t.htmlId}__label`,children:n&&!l?e:null})]})};C.displayName=`Branch`,exports.default=C;
1
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../utilities/event.cjs"),n=require("../../../utilities/key-code.cjs"),r=require("../../button/index.cjs"),i=require("../../../utilities/key-callbacks.cjs"),a=require("../../utilities/highlighter/index.cjs");let o=require("react");o=e.__toESM(o,1);let s=require("classnames");s=e.__toESM(s,1);let c=require("react/jsx-runtime"),l=require("lodash.isfunction");l=e.__toESM(l,1);let u=require("lodash.findindex");u=e.__toESM(u,1);var d=(e,n)=>{t.default.trap(e),(0,l.default)(n.onExpand)&&n.onExpand({event:e,data:{node:n.node,expand:!n.node.expanded,treeIndex:n.treeIndex}})},f=({event:e,props:n,fromFocus:r})=>{t.default.trap(e),(0,l.default)(n.onSelect)&&n.onSelect({event:e,data:{node:n.node,select:!n.node.selected,treeIndex:n.treeIndex},fromFocus:r})},p=(e,t)=>{let n=e.map(e=>e.node);return e[((0,u.default)(n,{id:t.id})+1)%e.length]},m=(e,t)=>{let n=e.map(e=>e.node),r=(0,u.default)(n,{id:t.id})-1;return r<0&&(r+=e.length),e[r]},h=(e,t)=>{if(t.focusedNodeIndex===t.treeIndex){let n=p(t.flattenedNodes,t.node);t.onSelect?.({event:e,data:{node:n.node,select:!0,treeIndex:n.treeIndex},clearSelectedNodes:!0})}},g=(e,t)=>{if(t.focusedNodeIndex===t.treeIndex){let n=m(t.flattenedNodes,t.node);t.onSelect?.({event:e,data:{node:n.node,select:!0,treeIndex:n.treeIndex},clearSelectedNodes:!0})}},_=(e,t)=>{if(t.node.expanded){let n=t.getNodes?.(t.node);n&&n.length>0&&h(e,t)}else d(e,t)},v=(e,t)=>{if(t.node.expanded)d(e,t);else{let n=t.flattenedNodes.map(e=>e.node),r=t.parent,i=(0,u.default)(n,{id:r?.id});i!==-1&&t.onExpand({event:e,data:{node:r,select:!0,expand:!r.expanded,treeIndex:t.flattenedNodes[i].treeIndex}})}},y=(e,t)=>{f({event:e,props:t})},b=(e,t)=>{i.default(e,{callbacks:{[n.default.DOWN]:{callback:e=>h(e,t)},[n.default.UP]:{callback:e=>g(e,t)},[n.default.RIGHT]:{callback:e=>_(e,t)},[n.default.LEFT]:{callback:e=>v(e,t)},[n.default.ENTER]:{callback:e=>y(e,t)}}})},x=(e,t)=>{!t.treeHasFocus&&!t.focusedNodeIndex&&e.target===e.currentTarget&&f({event:e,props:t,fromFocus:!0})},S=e=>{let t=e.selectedNodeIndexes.length===0&&e.treeIndex===e.flattenedNodes[0]?.treeIndex;return e.treeIndex===e.focusedNodeIndex||t?0:-1},C=(e,t)=>{let n=t.node.expanded,i=t.node.selected,o=t.treeIndex===t.focusedNodeIndex,l=t.node.loading,u=(0,c.jsxs)(`div`,{style:{display:`block`,paddingLeft:`${1.5*t.level+1.5}rem`,marginTop:`.5rem`},children:[(0,c.jsx)(`div`,{style:{borderRadius:`15rem`,display:`block`,marginBottom:`.75rem`,height:`.5rem`,backgroundColor:`rgb(224, 229, 238)`,width:`40%`}}),(0,c.jsx)(`div`,{style:{borderRadius:`15rem`,display:`block`,marginBottom:`.75rem`,height:`.5rem`,backgroundColor:`rgb(224, 229, 238)`,width:`80%`}}),(0,c.jsx)(`div`,{style:{borderRadius:`15rem`,display:`block`,marginBottom:`.75rem`,height:`.5rem`,backgroundColor:`rgb(224, 229, 238)`,width:`60%`}})]}),p=t.node.assistiveText||(typeof t.node.label==`string`?t.node.label:null),m={"aria-level":t.level,"aria-expanded":n?`true`:`false`,"aria-label":t.node.nodes&&t.node.nodes.length>0?p:void 0};return(0,c.jsxs)(`li`,{id:String(t.htmlId),role:`treeitem`,...m,tabIndex:S(t),onKeyDown:e=>b(e,t),onFocus:e=>x(e,t),onBlur:t.onNodeBlur,ref:e=>{t.treeHasFocus&&e&&o&&e.focus()},children:[(0,c.jsxs)(`div`,{className:(0,s.default)(`slds-tree__item`,{"slds-is-selected":i}),onClick:e=>f({event:e,props:t}),children:[(0,c.jsx)(r.default,{assistiveText:{icon:`Expand Tree Branch`},iconCategory:`utility`,iconName:`chevronright`,iconSize:`small`,variant:`icon`,className:`slds-m-right_small`,onClick:e=>d(e,t),tabIndex:-1}),(0,c.jsx)(`span`,{className:`slds-size_1-of-1`,id:`${t.htmlId}__label`,children:(0,c.jsx)(a.default,{search:t.searchTerm,className:`slds-tree__item-label slds-truncate`,children:t.label})})]}),l?u:null,(0,c.jsx)(`ul`,{className:(0,s.default)({"slds-is-expanded":n,"slds-is-collapsed":!n}),role:`group`,"aria-labelledby":`${t.htmlId}__label`,children:n&&!l?e:null})]})};C.displayName=`Branch`,exports.default=C;
2
2
  //# sourceMappingURL=render-branch.cjs.map
@@ -1,2 +1,2 @@
1
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../utilities/constants.cjs"),n=require("../UNSAFE_direction/index.cjs"),r=require("../UNSAFE_direction/private/language-direction.cjs"),i=require("../../icon-settings/index.cjs"),a=require("../../../utilities/event.cjs"),o=require("./portal.cjs"),s=require("../../../utilities/key-code.cjs"),c=require("../../../utilities/dom-element-focus.cjs"),l=require("../../../utilities/dialog-helpers.cjs");let u=require("react");u=e.__toESM(u,1);let d=require("classnames");d=e.__toESM(d,1);let f=require("react/jsx-runtime"),p=require("prop-types");p=e.__toESM(p,1);let m=require("@floating-ui/dom"),h=require("dequal");var g=class extends u.default.Component{static displayName=t.DIALOG;static propTypes={align:p.default.oneOf([`top`,`top left`,`top right`,`right`,`right top`,`right bottom`,`bottom`,`bottom left`,`bottom right`,`left`,`left top`,`left bottom`]),className:p.default.oneOfType([p.default.array,p.default.object,p.default.string]),contentsClassName:p.default.oneOfType([p.default.array,p.default.object,p.default.string]),children:p.default.node.isRequired,closeOnTabKey:p.default.bool,containerProps:p.default.object,direction:p.default.oneOf([n.DIRECTIONS.LTR,n.DIRECTIONS.RTL]),hasNubbin:p.default.bool,hasStaticAlignment:p.default.bool,inheritWidthOf:p.default.oneOf([`target`,`menu`,`none`]),offset:p.default.string,onClose:p.default.func,onKeyDown:p.default.func,onMouseEnter:p.default.func,onMouseLeave:p.default.func,onOpen:p.default.func,onRequestTargetElement:p.default.func.isRequired,outsideClickIgnoreClass:p.default.string,portalMount:p.default.func,position:p.default.oneOf([`absolute`,`overflowBoundaryElement`,`relative`]).isRequired,style:p.default.object,variant:p.default.oneOf([`dropdown`,`popover`,`tooltip`])};static defaultProps={align:`bottom left`,direction:n.DIRECTIONS.LTR,offset:`0px 0px`,outsideClickIgnoreClass:`ignore-react-onclickoutside`};state={triggerPopperJS:!1,isOpen:!1};componentDidMount(){(this.props.position===`absolute`||this.props.position===`relative`)&&this.handleOpen()}componentDidUpdate(e,t){this.floatingUpdate&&this.floatingUpdate(),this.state.triggerPopperJS===!0&&t.triggerPopperJS===!1&&(this.props.position===`absolute`||this.props.position===`overflowBoundaryElement`)&&this.dialogContent&&this.props.onRequestTargetElement()&&this.createPopper()}componentWillUnmount(){this.props.variant===`popover`&&(c.default.teardownScopedFocus(),c.default.returnFocusToStoredElement()),(this.props.position===`absolute`||this.props.position===`overflowBoundaryElement`)&&this.destroyPopper(),this.handleClose(void 0,{componentWillUnmount:!0})}getPropOffsetsInPixels=e=>{let t=e.split(` `);return{vertical:parseInt(t[0],10),horizontal:parseInt(t[1],10)}};getPopperStyles=()=>{let{popperData:e}=this.state;if(!this.floatingUpdate||!e)return{position:`absolute`,pointerEvents:`none`};let{position:t}=e.offsets.popper,n=this.getPropOffsetsInPixels(this.props.offset),r=this.props.hasNubbin?l.getNubbinMargins(this.state.popperData):{left:0,top:0},i=e.offsets.popper.left+r.left+n.horizontal,a=e.offsets.popper.top+r.top+n.vertical;return{...e.style,left:isNaN(i)?0:i,top:isNaN(a)?0:a,right:`inherit`,position:t}};setDialogContent=e=>{this.dialogContent=e,this.state.triggerPopperJS||this.setState({triggerPopperJS:!0})};handleClickOutside=()=>{this.handleClose()};handleClose=(e,t={})=>{t.componentWillUnmount||this.setState({triggerPopperJS:!0}),this.props.onClose&&this.props.onClose(e,t)};handleClick=e=>{e.nativeEvent&&(e.nativeEvent.preventDefault(),e.nativeEvent.stopPropagation())};handleKeyDown=e=>{e.keyCode===s.default.TAB&&this.props.closeOnTabKey&&(a.default.trap(e),this.handleClose(e)),this.props.onKeyDown&&this.props.onKeyDown(e)};handleOpen=()=>{this.props.variant===`popover`&&this.dialogContent&&(c.default.storeActiveElement(),c.default.setupScopedFocus({ancestorElement:this.dialogContent}),c.default.hasOrAncestorHasFocus()||c.default.focusAncestor({isPortal:this.props.position===`overflowBoundaryElement`})),this.props.onOpen&&this.props.onOpen(void 0,{portal:this.dialogContent})};computeFloatingData=(e,t)=>{let n=l.mapPropToPopperPlacement(this.props.align,this.props.direction);return(0,m.computePosition)(e,t,{placement:n,strategy:`absolute`,middleware:this.props.hasStaticAlignment?[]:[(0,m.flip)(),(0,m.shift)()]}).then(({x:t,y:r,placement:i})=>{let a=e.getBoundingClientRect();return{placement:i,flipped:i!==n,offsets:{popper:{left:t,top:r,position:`absolute`},reference:{width:a.width,height:a.height}},style:{}}})};createPopper=()=>{let e=this.props.onRequestTargetElement(),t=this.dialogContent;if(e||console.error(`Target node not found!`,e),t||console.error(`Popper node not found!`,t),!e||!t)return;let n=()=>{this.computeFloatingData(e,t).then(e=>{(!this.state.popperData||!(0,h.dequal)(e.offsets,this.state.popperData.offsets)||e.placement!==this.state.popperData.placement)&&this.setState({popperData:e})})};this.cleanupFloating=(0,m.autoUpdate)(e,t,n),this.floatingUpdate=n,n()};destroyPopper=()=>{this.cleanupFloating&&=(this.cleanupFloating(),null),this.floatingUpdate=null};render(){let e={},t=this.props.variant===`popover`?`dialog`:this.props.variant;(this.props.position===`absolute`||this.props.position===`overflowBoundaryElement`)&&(e={...e,outline:0,...this.getPopperStyles()}),this.props.inheritWidthOf===`target`&&this.props.onRequestTargetElement()?e.width=this.props.onRequestTargetElement().getBoundingClientRect().width:this.props.inheritWidthOf===`menu`&&this.dialogContent&&this.dialogContent.querySelector(`.slds-listbox`)&&(e.width=this.dialogContent.querySelector(`.slds-listbox`).getBoundingClientRect().width),e={...e,...this.props.style};let r=this.props.variant===`popover`?`section`:`div`,a=u.default.createElement(r,{className:(0,d.default)({"absolute-positioned":this.props.position===`absolute`,"portal-positioned":this.props.position===`overflowBoundaryElement`,[`${this.props.outsideClickIgnoreClass}`]:this.props.position===`overflowBoundaryElement`},this.props.hasNubbin&&l.getNubbinClassName(this.props.align,this.state.popperData),this.props.contentsClassName)||void 0,style:e,onMouseDown:this.props.onMouseDown,onKeyDown:this.handleKeyDown,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,ref:this.setDialogContent,role:t,tabIndex:this.props.variant===`popover`?`-1`:void 0,...this.props.containerProps},this.props.children),s={absolute:()=>a,relative:()=>a,overflowBoundaryElement:()=>{let e=Object.keys(this.context).filter(e=>!!this.context[e]).reduce((e,t)=>({...e,[t]:this.context[t]}),{}),t=(0,f.jsx)(n.default.Provider,{value:this.props.direction,children:(0,f.jsx)(i.default,{...e,children:a})});return(0,f.jsx)(o.default,{onOpen:this.handleOpen,portalMount:this.props.portalMount,children:t})}};return s[this.props.position]&&s[this.props.position]()}};g.contextType=i.IconSettingsContext;var _=r.default(g);exports.default=_;
1
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../utilities/constants.cjs"),n=require("../UNSAFE_direction/index.cjs"),r=require("../UNSAFE_direction/private/language-direction.cjs"),i=require("../../icon-settings/index.cjs"),a=require("../../../utilities/event.cjs"),o=require("./portal.cjs"),s=require("../../../utilities/key-code.cjs"),c=require("../../../utilities/dom-element-focus.cjs"),l=require("../../../utilities/dialog-helpers.cjs");let u=require("react");u=e.__toESM(u,1);let d=require("classnames");d=e.__toESM(d,1);let f=require("react/jsx-runtime"),p=require("prop-types");p=e.__toESM(p,1);let m=require("@floating-ui/dom"),h=require("dequal");var g=class extends u.default.Component{static displayName=t.DIALOG;static propTypes={align:p.default.oneOf([`top`,`top left`,`top right`,`right`,`right top`,`right bottom`,`bottom`,`bottom left`,`bottom right`,`left`,`left top`,`left bottom`]),className:p.default.oneOfType([p.default.array,p.default.object,p.default.string]),contentsClassName:p.default.oneOfType([p.default.array,p.default.object,p.default.string]),children:p.default.node.isRequired,closeOnTabKey:p.default.bool,containerProps:p.default.object,direction:p.default.oneOf([n.DIRECTIONS.LTR,n.DIRECTIONS.RTL]),hasNubbin:p.default.bool,hasStaticAlignment:p.default.bool,inheritWidthOf:p.default.oneOf([`target`,`menu`,`none`]),offset:p.default.string,onClose:p.default.func,onKeyDown:p.default.func,onMouseEnter:p.default.func,onMouseLeave:p.default.func,onOpen:p.default.func,onRequestTargetElement:p.default.func.isRequired,outsideClickIgnoreClass:p.default.string,portalMount:p.default.func,position:p.default.oneOf([`absolute`,`overflowBoundaryElement`,`relative`]).isRequired,style:p.default.object,variant:p.default.oneOf([`dropdown`,`popover`,`tooltip`])};static defaultProps={align:`bottom left`,direction:n.DIRECTIONS.LTR,offset:`0px 0px`,outsideClickIgnoreClass:`ignore-react-onclickoutside`};state={triggerPopperJS:!1,isOpen:!1};componentDidMount(){(this.props.position===`absolute`||this.props.position===`relative`)&&this.handleOpen()}componentDidUpdate(e,t){this.floatingUpdate&&(e.align!==this.props.align||e.direction!==this.props.direction||e.hasStaticAlignment!==this.props.hasStaticAlignment)&&this.floatingUpdate(),this.state.triggerPopperJS===!0&&t.triggerPopperJS===!1&&(this.props.position===`absolute`||this.props.position===`overflowBoundaryElement`)&&this.dialogContent&&this.props.onRequestTargetElement()&&this.createPopper()}componentWillUnmount(){this.props.variant===`popover`&&(c.default.teardownScopedFocus(),c.default.returnFocusToStoredElement()),(this.props.position===`absolute`||this.props.position===`overflowBoundaryElement`)&&this.destroyPopper(),this.handleClose(void 0,{componentWillUnmount:!0})}getPropOffsetsInPixels=e=>{let t=e.split(` `);return{vertical:parseInt(t[0],10),horizontal:parseInt(t[1],10)}};getPopperStyles=()=>{let{popperData:e}=this.state;if(!this.floatingUpdate||!e)return{position:`absolute`,pointerEvents:`none`};let{position:t}=e.offsets.popper,n=this.getPropOffsetsInPixels(this.props.offset),r=this.props.hasNubbin?l.getNubbinMargins(this.state.popperData):{left:0,top:0},i=e.offsets.popper.left+r.left+n.horizontal,a=e.offsets.popper.top+r.top+n.vertical;return{...e.style,left:isNaN(i)?0:i,top:isNaN(a)?0:a,right:`inherit`,position:t}};setDialogContent=e=>{this.dialogContent=e,this.state.triggerPopperJS||this.setState({triggerPopperJS:!0})};handleClickOutside=()=>{this.handleClose()};handleClose=(e,t={})=>{t.componentWillUnmount||this.setState({triggerPopperJS:!0}),this.props.onClose&&this.props.onClose(e,t)};handleClick=e=>{e.nativeEvent&&(e.nativeEvent.preventDefault(),e.nativeEvent.stopPropagation())};handleKeyDown=e=>{e.keyCode===s.default.TAB&&this.props.closeOnTabKey&&(a.default.trap(e),this.handleClose(e)),this.props.onKeyDown&&this.props.onKeyDown(e)};handleOpen=()=>{this.props.variant===`popover`&&this.dialogContent&&(c.default.storeActiveElement(),c.default.setupScopedFocus({ancestorElement:this.dialogContent}),c.default.hasOrAncestorHasFocus()||c.default.focusAncestor({isPortal:this.props.position===`overflowBoundaryElement`})),this.props.onOpen&&this.props.onOpen(void 0,{portal:this.dialogContent})};computeFloatingData=(e,t)=>{let n=l.mapPropToPopperPlacement(this.props.align,this.props.direction);return(0,m.computePosition)(e,t,{placement:n,strategy:`absolute`,middleware:this.props.hasStaticAlignment?[]:[(0,m.flip)(),(0,m.shift)()]}).then(({x:t,y:r,placement:i})=>{let a=e.getBoundingClientRect();return{placement:i,flipped:i!==n,offsets:{popper:{left:t,top:r,position:`absolute`},reference:{width:a.width,height:a.height}},style:{}}})};createPopper=()=>{let e=this.props.onRequestTargetElement(),t=this.dialogContent;if(e||console.error(`Target node not found!`,e),t||console.error(`Popper node not found!`,t),!e||!t)return;let n=()=>{this.computeFloatingData(e,t).then(e=>{(!this.state.popperData||!(0,h.dequal)(e.offsets,this.state.popperData.offsets)||e.placement!==this.state.popperData.placement)&&this.setState({popperData:e})})};this.cleanupFloating=(0,m.autoUpdate)(e,t,n),this.floatingUpdate=n};destroyPopper=()=>{this.cleanupFloating&&=(this.cleanupFloating(),null),this.floatingUpdate=null};render(){let e={},t=this.props.variant===`popover`?`dialog`:this.props.variant;(this.props.position===`absolute`||this.props.position===`overflowBoundaryElement`)&&(e={...e,outline:0,...this.getPopperStyles()}),this.props.inheritWidthOf===`target`&&this.props.onRequestTargetElement()?e.width=this.props.onRequestTargetElement().getBoundingClientRect().width:this.props.inheritWidthOf===`menu`&&this.dialogContent&&this.dialogContent.querySelector(`.slds-listbox`)&&(e.width=this.dialogContent.querySelector(`.slds-listbox`).getBoundingClientRect().width),e={...e,...this.props.style};let r=this.props.variant===`popover`?`section`:`div`,a=u.default.createElement(r,{className:(0,d.default)({"absolute-positioned":this.props.position===`absolute`,"portal-positioned":this.props.position===`overflowBoundaryElement`,[`${this.props.outsideClickIgnoreClass}`]:this.props.position===`overflowBoundaryElement`},this.props.hasNubbin&&l.getNubbinClassName(this.props.align,this.state.popperData),this.props.contentsClassName)||void 0,style:e,onMouseDown:this.props.onMouseDown,onKeyDown:this.handleKeyDown,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,ref:this.setDialogContent,role:t,tabIndex:this.props.variant===`popover`?`-1`:void 0,...this.props.containerProps},this.props.children),s={absolute:()=>a,relative:()=>a,overflowBoundaryElement:()=>{let e=Object.keys(this.context).filter(e=>!!this.context[e]).reduce((e,t)=>({...e,[t]:this.context[t]}),{}),t=(0,f.jsx)(n.default.Provider,{value:this.props.direction,children:(0,f.jsx)(i.default,{...e,children:a})});return(0,f.jsx)(o.default,{onOpen:this.handleOpen,portalMount:this.props.portalMount,children:t})}};return s[this.props.position]&&s[this.props.position]()}};g.contextType=i.IconSettingsContext;var _=r.default(g);exports.default=_;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":[],"sources":["../../../../../components/utilities/dialog/index.jsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\nimport React from 'react';\n\nimport PropTypes from 'prop-types';\n\nimport { computePosition, autoUpdate, flip, shift } from '@floating-ui/dom';\nimport { dequal as isEqual } from 'dequal';\n\n// ### classNames\n// [github.com/JedWatson/classnames](https://github.com/JedWatson/classnames)\n// This project uses `classnames`, \"a simple javascript utility for conditionally\n// joining classNames together.\"\nimport classNames from 'classnames';\n\nimport Portal from './portal';\nimport EventUtil from '../../../utilities/event';\nimport KEYS from '../../../utilities/key-code';\nimport DOMElementFocus from '../../../utilities/dom-element-focus';\nimport {\n\tgetNubbinMargins,\n\tgetNubbinClassName,\n\tmapPropToPopperPlacement,\n} from '../../../utilities/dialog-helpers';\n\nimport { DIALOG } from '../../../utilities/constants';\n\n// #### Dialog doesn't pass down <IconSettings> context so repassing it here.\nimport IconSettings, { IconSettingsContext } from '../../icon-settings';\n// eslint-disable-next-line camelcase\nimport UNSAFE_DirectionSettings, { DIRECTIONS } from '../UNSAFE_direction';\nimport LanguageDirection from '../UNSAFE_direction/private/language-direction';\n\n/*\n * A Dialog is content that is separate from the typical flow of a page. It typically overlays other elements in the document flow. This is achieved with elevation (`z-index`) and one of the following: relative position, absolute position, or a new top-level React render tree (portal). A boundary element is a scrolling ancestor element or the edge of the browser (window/viewport). This element typically has an overflow (overflow-y/overflow-x) style that is scroll, hidden, or auto. Inverted placement is the flipping of the overlay element from top to bottom or left to right in order stay within a boundary element.\n *\n * * Dropdown menu (Combobox, DatePicker, et al.) placement is typically bottom-aligned and should be allowed to invert its placement when inside a boundary element this often happens within a modal. Dropdowns should not overflow boundary elements , since most boundary elements scroll vertically and have space for the menu.\n *\n * * If they are hidden, left and right placed overlay elements (such as Popover and Tooltip) should be placed within a portal element attached to the DOM <body>, but styled to align to its target/trigger. Since scrolling typically occurs on the vertical axis, this allows them to overflow boundary elements and still allow scrolling of content, yet still invert placement for the browser viewport. Portal elements are only necessary if an original ancestor boundary element exists. **No portals are created by default.**\n *\n * * Nubbins/arrows should be repositioned for any new placement/alignment.\n *\n * Allow Overflowing of Boundary Element: Allow applications to create a portal element attached to the DOM <body> to be outside of boundary elements if manual testing shows confusing alignment/poor usability/readability. This should be exception and not the default.\n *\n * Allow Inverted placement: Allow applications to prevent inverted placement if manual testing shows confusing alignment/poor usability/readability.\n *\n * ### How this new Dialog component works\n * * There is no longer an inline render within components. All overlays should go through `Dialog`. `position: relative` just passes on the markup with some additional event listeners. No positional library is used.\n * * The default `position: absolute` will run through three renders. It will first render the overlay at `0px/0px` offset of its parent. It will then store the target DOM node, once the DOM node is set, a state change will occur and tell a PopperJS instance to be created on update, once it is created, a third render is done to update the styles created by PopperJS.\n * * `position: overflowBoundaryElement` will do the same three renders as `absolute` except that the initial render will create a disconnected render tree (portal) on the `body`. Then, the position will change once the target is stored. The portal itself will be rendered multiple times. The first will result in `onOpen` executing. Each update will result in a re-render of the disconnected render-tree.\n *\n * This component is private.\n */\nclass Dialog extends React.Component {\n\tstatic displayName = DIALOG;\n\n\tstatic propTypes = {\n\t\t/**\n\t\t * Alignment of the dialog with respect to the target (assuming left-to-right language direction). For example,\n\t\t * a value of 'left bottom' indicates that the dialog will be rendered below and left-aligned with the target.\n\t\t * Note that setting the direction prop to \"rtl\" will flip the resulting dialog alignment.\n\t\t */\n\t\talign: PropTypes.oneOf([\n\t\t\t'top',\n\t\t\t'top left',\n\t\t\t'top right',\n\t\t\t'right',\n\t\t\t'right top',\n\t\t\t'right bottom',\n\t\t\t'bottom',\n\t\t\t'bottom left',\n\t\t\t'bottom right',\n\t\t\t'left',\n\t\t\t'left top',\n\t\t\t'left bottom',\n\t\t]),\n\t\t/**\n\t\t * CSS classes to be added to the absolutely positioned element.\n\t\t */\n\t\tclassName: PropTypes.oneOfType([\n\t\t\tPropTypes.array,\n\t\t\tPropTypes.object,\n\t\t\tPropTypes.string,\n\t\t]),\n\t\t/**\n\t\t * CSS classes to be added to the wrapping `div` of the contents of the dialog.\n\t\t */\n\t\tcontentsClassName: PropTypes.oneOfType([\n\t\t\tPropTypes.array,\n\t\t\tPropTypes.object,\n\t\t\tPropTypes.string,\n\t\t]),\n\t\t/**\n\t\t * Contents of dialog\n\t\t */\n\t\tchildren: PropTypes.node.isRequired,\n\t\t/**\n\t\t * Closes dialog when tab key is pressed\n\t\t */\n\t\tcloseOnTabKey: PropTypes.bool,\n\t\t/**\n\t\t * Props passed along to wrapping div. This allows one less wrapping `div` to be in the markup. dialog children are expected to be wrapper in a single `div`.\n\t\t */\n\t\tcontainerProps: PropTypes.object,\n\t\t/**\n\t\t * Establishes directional context for component. Defaults to left-to-right.\n\t\t */\n\t\tdirection: PropTypes.oneOf([DIRECTIONS.LTR, DIRECTIONS.RTL]),\n\t\t/**\n\t\t * Will show the nubbin pointing from the dialog to the reference element. Positioning and offsets will be handled.\n\t\t */\n\t\thasNubbin: PropTypes.bool,\n\t\t/**\n\t\t * By default, dialogs will flip their alignment (such as bottom to top) if they extend beyond a boundary element such as a scrolling parent or a window/viewpoint. `hasStaticAlignment` disables this behavior and allows this component to extend beyond boundary elements.\n\t\t */\n\t\thasStaticAlignment: PropTypes.bool,\n\t\t/**\n\t\t * Sets the dialog width to the width of either 'target' (Menus attached to `input` typically follow this UX pattern), 'menu' or 'none.\n\t\t */\n\t\tinheritWidthOf: PropTypes.oneOf(['target', 'menu', 'none']),\n\t\t/**\n\t\t * DEPRECATED - do not add checkProp deprecation message at this level. It is handled at higher level components.\n\t\t * TODO - to be removed.\n\t\t * Offset adds pixels to the absolutely positioned dropdown menu in the format: ([vertical]px [horizontal]px). SHOULD BE OBJECT -----------\n\t\t */\n\t\toffset: PropTypes.string,\n\t\t/**\n\t\t * Called when dialog closes and unmounts.\n\t\t */\n\t\tonClose: PropTypes.func,\n\t\t/**\n\t\t * Called when a key pressed.\n\t\t */\n\t\tonKeyDown: PropTypes.func,\n\t\t/**\n\t\t * Called when mouse hovers over the trigger button. This is only called if `this.props.openOn` is set to `hover`.\n\t\t */\n\t\tonMouseEnter: PropTypes.func,\n\t\t/**\n\t\t * Called when mouse hover leaves the trigger button. This is only called if `this.props.openOn` is set to `hover`.\n\t\t */\n\t\tonMouseLeave: PropTypes.func,\n\t\t/**\n\t\t * Called when dialog opens (that is mounts). The parameters are `undefined, { portal: this.portal }`.\n\t\t */\n\t\tonOpen: PropTypes.func,\n\t\t/**\n\t\t * React component to be aligned with. Function should return a DOM `ref` from the parent component.\n\t\t */\n\t\tonRequestTargetElement: PropTypes.func.isRequired,\n\t\t/**\n\t\t * Triggered when an item in the menu is clicked.\n\t\t */\n\t\toutsideClickIgnoreClass: PropTypes.string,\n\t\t/**\n\t\t * If a dialog is `positione=\"overflowBoundaryElement\"`, it will be rendered in a portal or separate render tree. This `portalMount` callback will be triggered instead of the the default `ReactDOM.unstable_renderSubtreeIntoContainer` and the function will mount the portal itself. Consider the following code that bypasses the internal mount and uses an Enzyme wrapper to mount the React root tree to the DOM.\n\t\t *\n\t\t * ```\n\t\t * <Popover\n\t\t * isOpen\n\t\t * portalMount={({ instance, reactElement, domContainerNode }) => {\n\t\t * portalWrapper = Enzyme.mount(reactElement, { attachTo: domContainerNode });\n\t\t * }}\n\t\t * onOpen={() => {\n\t\t * expect(portalWrapper.find(`#my-heading`)).to.exist;\n\t\t * done();\n\t\t * }}\n\t\t * />\n\t\t * ```\n\t\t */\n\t\tportalMount: PropTypes.func,\n\t\t/**\n\t\t * Please select one of the following:\n\t\t * * `absolute` - (default) The dialog will use `position: absolute` and style attributes to position itself. This allows inverted placement or flipping of the dialog.\n\t\t * * `overflowBoundaryElement` - The dialog will overflow scrolling parents. Use on elements that are aligned to the left or right of their target and don't care about the target being within a scrolling parent. Typically this is a popover or tooltip. Dropdown menus can usually open up and down if no room exists. In order to achieve this a portal element will be created and attached to `body`. This element will render into that detached render tree.\n\t\t * * `relative` - No styling or portals will be used. Menus will be positioned relative to their triggers. This is a great choice for HTML snapshot testing.\n\t\t */\n\t\tposition: PropTypes.oneOf([\n\t\t\t'absolute',\n\t\t\t'overflowBoundaryElement',\n\t\t\t'relative',\n\t\t]).isRequired,\n\t\t/**\n\t\t * An object of CSS styles that are applied to the immediate parent `div` of the contents. Use this instead of margin props.\n\t\t */\n\t\tstyle: PropTypes.object,\n\n\t\t/**\n\t\t * Sets which focus UX pattern to follow. For instance, popovers trap focus and must be exited to regain focus. Dropdowns and Tooltips never have focus.\n\t\t */\n\t\tvariant: PropTypes.oneOf(['dropdown', 'popover', 'tooltip']),\n\t};\n\n\tstatic defaultProps = {\n\t\talign: 'bottom left',\n\t\tdirection: DIRECTIONS.LTR,\n\t\toffset: '0px 0px',\n\t\toutsideClickIgnoreClass: 'ignore-react-onclickoutside',\n\t};\n\n\tstate = {\n\t\ttriggerPopperJS: false,\n\t\tisOpen: false,\n\t};\n\n\tcomponentDidMount() {\n\t\tif (\n\t\t\tthis.props.position === 'absolute' ||\n\t\t\tthis.props.position === 'relative'\n\t\t) {\n\t\t\tthis.handleOpen();\n\t\t}\n\t}\n\n\tcomponentDidUpdate(prevProps, prevState) {\n\t\tif (this.floatingUpdate) {\n\t\t\tthis.floatingUpdate();\n\t\t}\n\t\tif (\n\t\t\tthis.state.triggerPopperJS === true &&\n\t\t\tprevState.triggerPopperJS === false &&\n\t\t\t(this.props.position === 'absolute' ||\n\t\t\t\tthis.props.position === 'overflowBoundaryElement') &&\n\t\t\tthis.dialogContent &&\n\t\t\tthis.props.onRequestTargetElement()\n\t\t) {\n\t\t\tthis.createPopper();\n\t\t}\n\t}\n\n\tcomponentWillUnmount() {\n\t\tif (this.props.variant === 'popover') {\n\t\t\tDOMElementFocus.teardownScopedFocus();\n\t\t\tDOMElementFocus.returnFocusToStoredElement();\n\t\t}\n\n\t\tif (\n\t\t\tthis.props.position === 'absolute' ||\n\t\t\tthis.props.position === 'overflowBoundaryElement'\n\t\t) {\n\t\t\tthis.destroyPopper();\n\t\t}\n\n\t\tthis.handleClose(undefined, { componentWillUnmount: true });\n\t}\n\n\tgetPropOffsetsInPixels = (offsetString) => {\n\t\tconst offsetArray = offsetString.split(' ');\n\t\treturn {\n\t\t\tvertical: parseInt(offsetArray[0], 10),\n\t\t\thorizontal: parseInt(offsetArray[1], 10),\n\t\t};\n\t};\n\n\tgetPopperStyles = () => {\n\t\tconst { popperData } = this.state;\n\t\tif (!this.floatingUpdate || !popperData) {\n\t\t\treturn {\n\t\t\t\tposition: 'absolute',\n\t\t\t\tpointerEvents: 'none',\n\t\t\t};\n\t\t}\n\n\t\tconst { position } = popperData.offsets.popper;\n\t\tconst propOffsets = this.getPropOffsetsInPixels(this.props.offset);\n\n\t\t// FIXME before merge - gotta rename from margin to offset\n\t\tconst nubbinOffsets = this.props.hasNubbin\n\t\t\t? getNubbinMargins(this.state.popperData)\n\t\t\t: { left: 0, top: 0 };\n\n\t\tconst left =\n\t\t\tpopperData.offsets.popper.left +\n\t\t\tnubbinOffsets.left +\n\t\t\tpropOffsets.horizontal;\n\t\tconst top =\n\t\t\tpopperData.offsets.popper.top + nubbinOffsets.top + propOffsets.vertical;\n\n\t\t// A Dropdown with overflowBoundaryElement position and 'align=right' uses max-width instead of inherited children width\n\t\tconst right = 'inherit';\n\n\t\treturn {\n\t\t\t...popperData.style,\n\t\t\tleft: isNaN(left) ? 0 : left,\n\t\t\ttop: isNaN(top) ? 0 : top,\n\t\t\tright,\n\t\t\tposition,\n\t\t};\n\t};\n\n\t// Render\n\tsetDialogContent = (component) => {\n\t\tthis.dialogContent = component;\n\t\tif (!this.state.triggerPopperJS) {\n\t\t\tthis.setState({ triggerPopperJS: true });\n\t\t}\n\t};\n\n\t/**\n\t * Events\n\t */\n\thandleClickOutside = () => {\n\t\tthis.handleClose();\n\t};\n\n\thandleClose = (event, data = {}) => {\n\t\tif (!data.componentWillUnmount) {\n\t\t\tthis.setState({ triggerPopperJS: true });\n\t\t}\n\t\tif (this.props.onClose) {\n\t\t\tthis.props.onClose(event, data);\n\t\t}\n\t};\n\n\thandleClick = (event) => {\n\t\tif (event.nativeEvent) {\n\t\t\tevent.nativeEvent.preventDefault();\n\t\t\tevent.nativeEvent.stopPropagation();\n\t\t}\n\t};\n\n\thandleKeyDown = (event) => {\n\t\tif (event.keyCode === KEYS.TAB) {\n\t\t\tif (this.props.closeOnTabKey) {\n\t\t\t\tEventUtil.trap(event);\n\t\t\t\tthis.handleClose(event);\n\t\t\t}\n\t\t}\n\n\t\tif (this.props.onKeyDown) {\n\t\t\tthis.props.onKeyDown(event);\n\t\t}\n\t};\n\n\thandleOpen = () => {\n\t\tif (this.props.variant === 'popover' && this.dialogContent) {\n\t\t\tDOMElementFocus.storeActiveElement();\n\t\t\tDOMElementFocus.setupScopedFocus({\n\t\t\t\tancestorElement: this.dialogContent,\n\t\t\t}); // eslint-disable-line react/no-find-dom-node\n\t\t\t// Don't steal focus from inner elements\n\t\t\tif (!DOMElementFocus.hasOrAncestorHasFocus()) {\n\t\t\t\tDOMElementFocus.focusAncestor({\n\t\t\t\t\tisPortal: this.props.position === 'overflowBoundaryElement',\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tif (this.props.onOpen) {\n\t\t\tthis.props.onOpen(undefined, { portal: this.dialogContent });\n\t\t}\n\t};\n\n\t/**\n\t * Positioning API and helper functions\n\t *\n\t * Uses `@floating-ui/dom` for positioning. Floating UI shares popper v1's\n\t * placement vocabulary (`bottom-start`, etc.) and its offset-parent\n\t * positioning model, so `mapPropToPopperPlacement` and the nubbin/offset math\n\t * in `dialog-helpers` carry over unchanged. `computeFloatingData` reshapes\n\t * Floating UI's output into the `popperData` object the rest of this\n\t * component and the helpers already consume (`offsets.popper`,\n\t * `offsets.reference`, `placement`, `flipped`, `style`).\n\t */\n\n\tcomputeFloatingData = (reference, floating) => {\n\t\tconst requestedPlacement = mapPropToPopperPlacement(\n\t\t\tthis.props.align,\n\t\t\tthis.props.direction\n\t\t);\n\n\t\t// `strategy: 'absolute'` matches popper v1, which positioned relative to\n\t\t// the offset parent. Floating UI returns `x`/`y` in that same coordinate\n\t\t// space, so the downstream nubbin/offset math is unaffected.\n\t\treturn computePosition(reference, floating, {\n\t\t\tplacement: requestedPlacement,\n\t\t\tstrategy: 'absolute',\n\t\t\t// Flip (invert placement) and shift (nudge to stay in view) replace\n\t\t\t// popper v1's `flip` + `preventOverflow` modifiers. Both are disabled\n\t\t\t// when `hasStaticAlignment` is set, matching the prior behavior.\n\t\t\tmiddleware: this.props.hasStaticAlignment ? [] : [flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tconst referenceRect = reference.getBoundingClientRect();\n\t\t\treturn {\n\t\t\t\tplacement,\n\t\t\t\t// Floating UI resolves flips into the final `placement`; a flip\n\t\t\t\t// occurred whenever it differs from what we requested. The nubbin\n\t\t\t\t// class helper keys off this.\n\t\t\t\tflipped: placement !== requestedPlacement,\n\t\t\t\toffsets: {\n\t\t\t\t\tpopper: { left: x, top: y, position: 'absolute' },\n\t\t\t\t\treference: {\n\t\t\t\t\t\twidth: referenceRect.width,\n\t\t\t\t\t\theight: referenceRect.height,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tstyle: {},\n\t\t\t};\n\t\t});\n\t};\n\n\tcreatePopper = () => {\n\t\tconst reference = this.props.onRequestTargetElement(); // eslint-disable-line react/no-find-dom-node\n\t\tconst floating = this.dialogContent;\n\n\t\tif (!reference) {\n\t\t\tconsole.error('Target node not found!', reference); // eslint-disable-line no-console\n\t\t}\n\t\tif (!floating) {\n\t\t\tconsole.error('Popper node not found!', floating); // eslint-disable-line no-console\n\t\t}\n\t\tif (!reference || !floating) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst update = () => {\n\t\t\tthis.computeFloatingData(reference, floating).then((popperData) => {\n\t\t\t\tif (\n\t\t\t\t\t!this.state.popperData ||\n\t\t\t\t\t!isEqual(popperData.offsets, this.state.popperData.offsets) ||\n\t\t\t\t\tpopperData.placement !== this.state.popperData.placement\n\t\t\t\t) {\n\t\t\t\t\tthis.setState({ popperData });\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\n\t\t// `autoUpdate` re-runs positioning on scroll, resize, and layout shifts —\n\t\t// the equivalent of popper v1's `eventsEnabled`. It returns a cleanup\n\t\t// function stored for teardown.\n\t\tthis.cleanupFloating = autoUpdate(reference, floating, update);\n\t\tthis.floatingUpdate = update;\n\t\tupdate();\n\t};\n\n\tdestroyPopper = () => {\n\t\tif (this.cleanupFloating) {\n\t\t\tthis.cleanupFloating();\n\t\t\tthis.cleanupFloating = null;\n\t\t}\n\t\tthis.floatingUpdate = null;\n\t};\n\n\trender() {\n\t\tlet style = {};\n\t\tconst role =\n\t\t\tthis.props.variant === 'popover' ? 'dialog' : this.props.variant;\n\t\tif (\n\t\t\tthis.props.position === 'absolute' ||\n\t\t\tthis.props.position === 'overflowBoundaryElement'\n\t\t) {\n\t\t\tstyle = {\n\t\t\t\t...style,\n\t\t\t\toutline: 0,\n\t\t\t\t...this.getPopperStyles(),\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.props.inheritWidthOf === 'target' &&\n\t\t\tthis.props.onRequestTargetElement()\n\t\t) {\n\t\t\tstyle.width = this.props\n\t\t\t\t.onRequestTargetElement()\n\t\t\t\t.getBoundingClientRect().width;\n\t\t} else if (\n\t\t\tthis.props.inheritWidthOf === 'menu' &&\n\t\t\tthis.dialogContent &&\n\t\t\tthis.dialogContent.querySelector('.slds-listbox')\n\t\t) {\n\t\t\t// inherit menu renderer width\n\t\t\tstyle.width = this.dialogContent\n\t\t\t\t.querySelector('.slds-listbox')\n\t\t\t\t.getBoundingClientRect().width;\n\t\t}\n\n\t\tstyle = {\n\t\t\t...style,\n\t\t\t...this.props.style,\n\t\t};\n\n\t\tconst outerTag = this.props.variant === 'popover' ? 'section' : 'div';\n\n\t\tconst contents = React.createElement(\n\t\t\touterTag,\n\t\t\t{\n\t\t\t\tclassName:\n\t\t\t\t\tclassNames(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t'absolute-positioned': this.props.position === 'absolute',\n\t\t\t\t\t\t\t'portal-positioned':\n\t\t\t\t\t\t\t\tthis.props.position === 'overflowBoundaryElement',\n\t\t\t\t\t\t\t[`${this.props.outsideClickIgnoreClass}`]:\n\t\t\t\t\t\t\t\tthis.props.position === 'overflowBoundaryElement',\n\t\t\t\t\t\t},\n\t\t\t\t\t\tthis.props.hasNubbin &&\n\t\t\t\t\t\t\tgetNubbinClassName(this.props.align, this.state.popperData),\n\t\t\t\t\t\tthis.props.contentsClassName\n\t\t\t\t\t) || undefined,\n\n\t\t\t\tstyle,\n\t\t\t\tonMouseDown: this.props.onMouseDown,\n\t\t\t\tonKeyDown: this.handleKeyDown,\n\t\t\t\tonMouseEnter: this.props.onMouseEnter,\n\t\t\t\tonMouseLeave: this.props.onMouseLeave,\n\t\t\t\tref: this.setDialogContent,\n\t\t\t\trole,\n\t\t\t\ttabIndex: this.props.variant === 'popover' ? '-1' : undefined,\n\t\t\t\t...this.props.containerProps,\n\t\t\t},\n\n\t\t\tthis.props.children\n\t\t);\n\n\t\tconst subRenders = {\n\t\t\tabsolute: () => contents,\n\t\t\trelative: () => contents,\n\t\t\toverflowBoundaryElement: () => {\n\t\t\t\t// Cycle through current context, create object of\n\t\t\t\t// truthy values, and pass into Portal's context.\n\n\t\t\t\t// TODO: Add test when switched to `ReactDOM.createPortal`\n\t\t\t\tconst truthyIconSettingsContext = Object.keys(this.context)\n\t\t\t\t\t.filter((key) => Boolean(this.context[key]))\n\t\t\t\t\t.reduce(\n\t\t\t\t\t\t(accumulatedContext, key) => ({\n\t\t\t\t\t\t\t...accumulatedContext,\n\t\t\t\t\t\t\t...{ [key]: this.context[key] },\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t{}\n\t\t\t\t\t);\n\t\t\t\tconst wrapped = (\n\t\t\t\t\t// eslint-disable-next-line\n\t\t\t\t\t<UNSAFE_DirectionSettings.Provider value={this.props.direction}>\n\t\t\t\t\t\t<IconSettings {...truthyIconSettingsContext}>\n\t\t\t\t\t\t\t{contents}\n\t\t\t\t\t\t</IconSettings>\n\t\t\t\t\t</UNSAFE_DirectionSettings.Provider>\n\t\t\t\t);\n\t\t\t\treturn (\n\t\t\t\t\t<Portal onOpen={this.handleOpen} portalMount={this.props.portalMount}>\n\t\t\t\t\t\t{wrapped}\n\t\t\t\t\t</Portal>\n\t\t\t\t);\n\t\t\t},\n\t\t};\n\n\t\treturn subRenders[this.props.position] && subRenders[this.props.position]();\n\t}\n}\n\nDialog.contextType = IconSettingsContext;\n\nexport default LanguageDirection(Dialog);\n"],"mappings":"grBAqDA,IAAM,EAAN,cAAqB,EAAA,QAAM,SAAU,CACpC,OAAO,YAAc,EAAA,OAErB,OAAO,UAAY,CAMlB,MAAO,EAAA,QAAU,MAAM,CACtB,MACA,WACA,YACA,QACA,YACA,eACA,SACA,cACA,eACA,OACA,WACA,aACD,C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../../../../components/utilities/dialog/index.jsx"],"sourcesContent":["/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */\n/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */\nimport React from 'react';\n\nimport PropTypes from 'prop-types';\n\nimport { computePosition, autoUpdate, flip, shift } from '@floating-ui/dom';\nimport { dequal as isEqual } from 'dequal';\n\n// ### classNames\n// [github.com/JedWatson/classnames](https://github.com/JedWatson/classnames)\n// This project uses `classnames`, \"a simple javascript utility for conditionally\n// joining classNames together.\"\nimport classNames from 'classnames';\n\nimport Portal from './portal';\nimport EventUtil from '../../../utilities/event';\nimport KEYS from '../../../utilities/key-code';\nimport DOMElementFocus from '../../../utilities/dom-element-focus';\nimport {\n\tgetNubbinMargins,\n\tgetNubbinClassName,\n\tmapPropToPopperPlacement,\n} from '../../../utilities/dialog-helpers';\n\nimport { DIALOG } from '../../../utilities/constants';\n\n// #### Dialog doesn't pass down <IconSettings> context so repassing it here.\nimport IconSettings, { IconSettingsContext } from '../../icon-settings';\n// eslint-disable-next-line camelcase\nimport UNSAFE_DirectionSettings, { DIRECTIONS } from '../UNSAFE_direction';\nimport LanguageDirection from '../UNSAFE_direction/private/language-direction';\n\n/*\n * A Dialog is content that is separate from the typical flow of a page. It typically overlays other elements in the document flow. This is achieved with elevation (`z-index`) and one of the following: relative position, absolute position, or a new top-level React render tree (portal). A boundary element is a scrolling ancestor element or the edge of the browser (window/viewport). This element typically has an overflow (overflow-y/overflow-x) style that is scroll, hidden, or auto. Inverted placement is the flipping of the overlay element from top to bottom or left to right in order stay within a boundary element.\n *\n * * Dropdown menu (Combobox, DatePicker, et al.) placement is typically bottom-aligned and should be allowed to invert its placement when inside a boundary element this often happens within a modal. Dropdowns should not overflow boundary elements , since most boundary elements scroll vertically and have space for the menu.\n *\n * * If they are hidden, left and right placed overlay elements (such as Popover and Tooltip) should be placed within a portal element attached to the DOM <body>, but styled to align to its target/trigger. Since scrolling typically occurs on the vertical axis, this allows them to overflow boundary elements and still allow scrolling of content, yet still invert placement for the browser viewport. Portal elements are only necessary if an original ancestor boundary element exists. **No portals are created by default.**\n *\n * * Nubbins/arrows should be repositioned for any new placement/alignment.\n *\n * Allow Overflowing of Boundary Element: Allow applications to create a portal element attached to the DOM <body> to be outside of boundary elements if manual testing shows confusing alignment/poor usability/readability. This should be exception and not the default.\n *\n * Allow Inverted placement: Allow applications to prevent inverted placement if manual testing shows confusing alignment/poor usability/readability.\n *\n * ### How this new Dialog component works\n * * There is no longer an inline render within components. All overlays should go through `Dialog`. `position: relative` just passes on the markup with some additional event listeners. No positional library is used.\n * * The default `position: absolute` will run through three renders. It will first render the overlay at `0px/0px` offset of its parent. It will then store the target DOM node, once the DOM node is set, a state change will occur and tell a PopperJS instance to be created on update, once it is created, a third render is done to update the styles created by PopperJS.\n * * `position: overflowBoundaryElement` will do the same three renders as `absolute` except that the initial render will create a disconnected render tree (portal) on the `body`. Then, the position will change once the target is stored. The portal itself will be rendered multiple times. The first will result in `onOpen` executing. Each update will result in a re-render of the disconnected render-tree.\n *\n * This component is private.\n */\nclass Dialog extends React.Component {\n\tstatic displayName = DIALOG;\n\n\tstatic propTypes = {\n\t\t/**\n\t\t * Alignment of the dialog with respect to the target (assuming left-to-right language direction). For example,\n\t\t * a value of 'left bottom' indicates that the dialog will be rendered below and left-aligned with the target.\n\t\t * Note that setting the direction prop to \"rtl\" will flip the resulting dialog alignment.\n\t\t */\n\t\talign: PropTypes.oneOf([\n\t\t\t'top',\n\t\t\t'top left',\n\t\t\t'top right',\n\t\t\t'right',\n\t\t\t'right top',\n\t\t\t'right bottom',\n\t\t\t'bottom',\n\t\t\t'bottom left',\n\t\t\t'bottom right',\n\t\t\t'left',\n\t\t\t'left top',\n\t\t\t'left bottom',\n\t\t]),\n\t\t/**\n\t\t * CSS classes to be added to the absolutely positioned element.\n\t\t */\n\t\tclassName: PropTypes.oneOfType([\n\t\t\tPropTypes.array,\n\t\t\tPropTypes.object,\n\t\t\tPropTypes.string,\n\t\t]),\n\t\t/**\n\t\t * CSS classes to be added to the wrapping `div` of the contents of the dialog.\n\t\t */\n\t\tcontentsClassName: PropTypes.oneOfType([\n\t\t\tPropTypes.array,\n\t\t\tPropTypes.object,\n\t\t\tPropTypes.string,\n\t\t]),\n\t\t/**\n\t\t * Contents of dialog\n\t\t */\n\t\tchildren: PropTypes.node.isRequired,\n\t\t/**\n\t\t * Closes dialog when tab key is pressed\n\t\t */\n\t\tcloseOnTabKey: PropTypes.bool,\n\t\t/**\n\t\t * Props passed along to wrapping div. This allows one less wrapping `div` to be in the markup. dialog children are expected to be wrapper in a single `div`.\n\t\t */\n\t\tcontainerProps: PropTypes.object,\n\t\t/**\n\t\t * Establishes directional context for component. Defaults to left-to-right.\n\t\t */\n\t\tdirection: PropTypes.oneOf([DIRECTIONS.LTR, DIRECTIONS.RTL]),\n\t\t/**\n\t\t * Will show the nubbin pointing from the dialog to the reference element. Positioning and offsets will be handled.\n\t\t */\n\t\thasNubbin: PropTypes.bool,\n\t\t/**\n\t\t * By default, dialogs will flip their alignment (such as bottom to top) if they extend beyond a boundary element such as a scrolling parent or a window/viewpoint. `hasStaticAlignment` disables this behavior and allows this component to extend beyond boundary elements.\n\t\t */\n\t\thasStaticAlignment: PropTypes.bool,\n\t\t/**\n\t\t * Sets the dialog width to the width of either 'target' (Menus attached to `input` typically follow this UX pattern), 'menu' or 'none.\n\t\t */\n\t\tinheritWidthOf: PropTypes.oneOf(['target', 'menu', 'none']),\n\t\t/**\n\t\t * DEPRECATED - do not add checkProp deprecation message at this level. It is handled at higher level components.\n\t\t * TODO - to be removed.\n\t\t * Offset adds pixels to the absolutely positioned dropdown menu in the format: ([vertical]px [horizontal]px). SHOULD BE OBJECT -----------\n\t\t */\n\t\toffset: PropTypes.string,\n\t\t/**\n\t\t * Called when dialog closes and unmounts.\n\t\t */\n\t\tonClose: PropTypes.func,\n\t\t/**\n\t\t * Called when a key pressed.\n\t\t */\n\t\tonKeyDown: PropTypes.func,\n\t\t/**\n\t\t * Called when mouse hovers over the trigger button. This is only called if `this.props.openOn` is set to `hover`.\n\t\t */\n\t\tonMouseEnter: PropTypes.func,\n\t\t/**\n\t\t * Called when mouse hover leaves the trigger button. This is only called if `this.props.openOn` is set to `hover`.\n\t\t */\n\t\tonMouseLeave: PropTypes.func,\n\t\t/**\n\t\t * Called when dialog opens (that is mounts). The parameters are `undefined, { portal: this.portal }`.\n\t\t */\n\t\tonOpen: PropTypes.func,\n\t\t/**\n\t\t * React component to be aligned with. Function should return a DOM `ref` from the parent component.\n\t\t */\n\t\tonRequestTargetElement: PropTypes.func.isRequired,\n\t\t/**\n\t\t * Triggered when an item in the menu is clicked.\n\t\t */\n\t\toutsideClickIgnoreClass: PropTypes.string,\n\t\t/**\n\t\t * If a dialog is `positione=\"overflowBoundaryElement\"`, it will be rendered in a portal or separate render tree. This `portalMount` callback will be triggered instead of the the default `ReactDOM.unstable_renderSubtreeIntoContainer` and the function will mount the portal itself. Consider the following code that bypasses the internal mount and uses an Enzyme wrapper to mount the React root tree to the DOM.\n\t\t *\n\t\t * ```\n\t\t * <Popover\n\t\t * isOpen\n\t\t * portalMount={({ instance, reactElement, domContainerNode }) => {\n\t\t * portalWrapper = Enzyme.mount(reactElement, { attachTo: domContainerNode });\n\t\t * }}\n\t\t * onOpen={() => {\n\t\t * expect(portalWrapper.find(`#my-heading`)).to.exist;\n\t\t * done();\n\t\t * }}\n\t\t * />\n\t\t * ```\n\t\t */\n\t\tportalMount: PropTypes.func,\n\t\t/**\n\t\t * Please select one of the following:\n\t\t * * `absolute` - (default) The dialog will use `position: absolute` and style attributes to position itself. This allows inverted placement or flipping of the dialog.\n\t\t * * `overflowBoundaryElement` - The dialog will overflow scrolling parents. Use on elements that are aligned to the left or right of their target and don't care about the target being within a scrolling parent. Typically this is a popover or tooltip. Dropdown menus can usually open up and down if no room exists. In order to achieve this a portal element will be created and attached to `body`. This element will render into that detached render tree.\n\t\t * * `relative` - No styling or portals will be used. Menus will be positioned relative to their triggers. This is a great choice for HTML snapshot testing.\n\t\t */\n\t\tposition: PropTypes.oneOf([\n\t\t\t'absolute',\n\t\t\t'overflowBoundaryElement',\n\t\t\t'relative',\n\t\t]).isRequired,\n\t\t/**\n\t\t * An object of CSS styles that are applied to the immediate parent `div` of the contents. Use this instead of margin props.\n\t\t */\n\t\tstyle: PropTypes.object,\n\n\t\t/**\n\t\t * Sets which focus UX pattern to follow. For instance, popovers trap focus and must be exited to regain focus. Dropdowns and Tooltips never have focus.\n\t\t */\n\t\tvariant: PropTypes.oneOf(['dropdown', 'popover', 'tooltip']),\n\t};\n\n\tstatic defaultProps = {\n\t\talign: 'bottom left',\n\t\tdirection: DIRECTIONS.LTR,\n\t\toffset: '0px 0px',\n\t\toutsideClickIgnoreClass: 'ignore-react-onclickoutside',\n\t};\n\n\tstate = {\n\t\ttriggerPopperJS: false,\n\t\tisOpen: false,\n\t};\n\n\tcomponentDidMount() {\n\t\tif (\n\t\t\tthis.props.position === 'absolute' ||\n\t\t\tthis.props.position === 'relative'\n\t\t) {\n\t\t\tthis.handleOpen();\n\t\t}\n\t}\n\n\tcomponentDidUpdate(prevProps, prevState) {\n\t\t// Re-run positioning only when a prop that actually feeds the position\n\t\t// calculation changes. `autoUpdate` (set up in `createPopper`) already\n\t\t// re-runs on scroll/resize/layout shifts, so calling `floatingUpdate()`\n\t\t// on *every* render — including the re-renders our own `setState`\n\t\t// triggers — just recomputes the same position repeatedly. Under jsdom\n\t\t// (where each recompute is pure overhead) this multiplied menu-open cost\n\t\t// several-fold; in real browsers it was redundant work.\n\t\tif (\n\t\t\tthis.floatingUpdate &&\n\t\t\t(prevProps.align !== this.props.align ||\n\t\t\t\tprevProps.direction !== this.props.direction ||\n\t\t\t\tprevProps.hasStaticAlignment !== this.props.hasStaticAlignment)\n\t\t) {\n\t\t\tthis.floatingUpdate();\n\t\t}\n\t\tif (\n\t\t\tthis.state.triggerPopperJS === true &&\n\t\t\tprevState.triggerPopperJS === false &&\n\t\t\t(this.props.position === 'absolute' ||\n\t\t\t\tthis.props.position === 'overflowBoundaryElement') &&\n\t\t\tthis.dialogContent &&\n\t\t\tthis.props.onRequestTargetElement()\n\t\t) {\n\t\t\tthis.createPopper();\n\t\t}\n\t}\n\n\tcomponentWillUnmount() {\n\t\tif (this.props.variant === 'popover') {\n\t\t\tDOMElementFocus.teardownScopedFocus();\n\t\t\tDOMElementFocus.returnFocusToStoredElement();\n\t\t}\n\n\t\tif (\n\t\t\tthis.props.position === 'absolute' ||\n\t\t\tthis.props.position === 'overflowBoundaryElement'\n\t\t) {\n\t\t\tthis.destroyPopper();\n\t\t}\n\n\t\tthis.handleClose(undefined, { componentWillUnmount: true });\n\t}\n\n\tgetPropOffsetsInPixels = (offsetString) => {\n\t\tconst offsetArray = offsetString.split(' ');\n\t\treturn {\n\t\t\tvertical: parseInt(offsetArray[0], 10),\n\t\t\thorizontal: parseInt(offsetArray[1], 10),\n\t\t};\n\t};\n\n\tgetPopperStyles = () => {\n\t\tconst { popperData } = this.state;\n\t\tif (!this.floatingUpdate || !popperData) {\n\t\t\treturn {\n\t\t\t\tposition: 'absolute',\n\t\t\t\tpointerEvents: 'none',\n\t\t\t};\n\t\t}\n\n\t\tconst { position } = popperData.offsets.popper;\n\t\tconst propOffsets = this.getPropOffsetsInPixels(this.props.offset);\n\n\t\t// FIXME before merge - gotta rename from margin to offset\n\t\tconst nubbinOffsets = this.props.hasNubbin\n\t\t\t? getNubbinMargins(this.state.popperData)\n\t\t\t: { left: 0, top: 0 };\n\n\t\tconst left =\n\t\t\tpopperData.offsets.popper.left +\n\t\t\tnubbinOffsets.left +\n\t\t\tpropOffsets.horizontal;\n\t\tconst top =\n\t\t\tpopperData.offsets.popper.top + nubbinOffsets.top + propOffsets.vertical;\n\n\t\t// A Dropdown with overflowBoundaryElement position and 'align=right' uses max-width instead of inherited children width\n\t\tconst right = 'inherit';\n\n\t\treturn {\n\t\t\t...popperData.style,\n\t\t\tleft: isNaN(left) ? 0 : left,\n\t\t\ttop: isNaN(top) ? 0 : top,\n\t\t\tright,\n\t\t\tposition,\n\t\t};\n\t};\n\n\t// Render\n\tsetDialogContent = (component) => {\n\t\tthis.dialogContent = component;\n\t\tif (!this.state.triggerPopperJS) {\n\t\t\tthis.setState({ triggerPopperJS: true });\n\t\t}\n\t};\n\n\t/**\n\t * Events\n\t */\n\thandleClickOutside = () => {\n\t\tthis.handleClose();\n\t};\n\n\thandleClose = (event, data = {}) => {\n\t\tif (!data.componentWillUnmount) {\n\t\t\tthis.setState({ triggerPopperJS: true });\n\t\t}\n\t\tif (this.props.onClose) {\n\t\t\tthis.props.onClose(event, data);\n\t\t}\n\t};\n\n\thandleClick = (event) => {\n\t\tif (event.nativeEvent) {\n\t\t\tevent.nativeEvent.preventDefault();\n\t\t\tevent.nativeEvent.stopPropagation();\n\t\t}\n\t};\n\n\thandleKeyDown = (event) => {\n\t\tif (event.keyCode === KEYS.TAB) {\n\t\t\tif (this.props.closeOnTabKey) {\n\t\t\t\tEventUtil.trap(event);\n\t\t\t\tthis.handleClose(event);\n\t\t\t}\n\t\t}\n\n\t\tif (this.props.onKeyDown) {\n\t\t\tthis.props.onKeyDown(event);\n\t\t}\n\t};\n\n\thandleOpen = () => {\n\t\tif (this.props.variant === 'popover' && this.dialogContent) {\n\t\t\tDOMElementFocus.storeActiveElement();\n\t\t\tDOMElementFocus.setupScopedFocus({\n\t\t\t\tancestorElement: this.dialogContent,\n\t\t\t}); // eslint-disable-line react/no-find-dom-node\n\t\t\t// Don't steal focus from inner elements\n\t\t\tif (!DOMElementFocus.hasOrAncestorHasFocus()) {\n\t\t\t\tDOMElementFocus.focusAncestor({\n\t\t\t\t\tisPortal: this.props.position === 'overflowBoundaryElement',\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tif (this.props.onOpen) {\n\t\t\tthis.props.onOpen(undefined, { portal: this.dialogContent });\n\t\t}\n\t};\n\n\t/**\n\t * Positioning API and helper functions\n\t *\n\t * Uses `@floating-ui/dom` for positioning. Floating UI shares popper v1's\n\t * placement vocabulary (`bottom-start`, etc.) and its offset-parent\n\t * positioning model, so `mapPropToPopperPlacement` and the nubbin/offset math\n\t * in `dialog-helpers` carry over unchanged. `computeFloatingData` reshapes\n\t * Floating UI's output into the `popperData` object the rest of this\n\t * component and the helpers already consume (`offsets.popper`,\n\t * `offsets.reference`, `placement`, `flipped`, `style`).\n\t */\n\n\tcomputeFloatingData = (reference, floating) => {\n\t\tconst requestedPlacement = mapPropToPopperPlacement(\n\t\t\tthis.props.align,\n\t\t\tthis.props.direction\n\t\t);\n\n\t\t// `strategy: 'absolute'` matches popper v1, which positioned relative to\n\t\t// the offset parent. Floating UI returns `x`/`y` in that same coordinate\n\t\t// space, so the downstream nubbin/offset math is unaffected.\n\t\treturn computePosition(reference, floating, {\n\t\t\tplacement: requestedPlacement,\n\t\t\tstrategy: 'absolute',\n\t\t\t// Flip (invert placement) and shift (nudge to stay in view) replace\n\t\t\t// popper v1's `flip` + `preventOverflow` modifiers. Both are disabled\n\t\t\t// when `hasStaticAlignment` is set, matching the prior behavior.\n\t\t\tmiddleware: this.props.hasStaticAlignment ? [] : [flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tconst referenceRect = reference.getBoundingClientRect();\n\t\t\treturn {\n\t\t\t\tplacement,\n\t\t\t\t// Floating UI resolves flips into the final `placement`; a flip\n\t\t\t\t// occurred whenever it differs from what we requested. The nubbin\n\t\t\t\t// class helper keys off this.\n\t\t\t\tflipped: placement !== requestedPlacement,\n\t\t\t\toffsets: {\n\t\t\t\t\tpopper: { left: x, top: y, position: 'absolute' },\n\t\t\t\t\treference: {\n\t\t\t\t\t\twidth: referenceRect.width,\n\t\t\t\t\t\theight: referenceRect.height,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tstyle: {},\n\t\t\t};\n\t\t});\n\t};\n\n\tcreatePopper = () => {\n\t\tconst reference = this.props.onRequestTargetElement(); // eslint-disable-line react/no-find-dom-node\n\t\tconst floating = this.dialogContent;\n\n\t\tif (!reference) {\n\t\t\tconsole.error('Target node not found!', reference); // eslint-disable-line no-console\n\t\t}\n\t\tif (!floating) {\n\t\t\tconsole.error('Popper node not found!', floating); // eslint-disable-line no-console\n\t\t}\n\t\tif (!reference || !floating) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst update = () => {\n\t\t\tthis.computeFloatingData(reference, floating).then((popperData) => {\n\t\t\t\tif (\n\t\t\t\t\t!this.state.popperData ||\n\t\t\t\t\t!isEqual(popperData.offsets, this.state.popperData.offsets) ||\n\t\t\t\t\tpopperData.placement !== this.state.popperData.placement\n\t\t\t\t) {\n\t\t\t\t\tthis.setState({ popperData });\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\n\t\t// `autoUpdate` re-runs positioning on scroll, resize, and layout shifts —\n\t\t// the equivalent of popper v1's `eventsEnabled`. It also invokes `update`\n\t\t// once synchronously to establish the initial position, so no separate\n\t\t// `update()` call is needed here (a manual call would just recompute the\n\t\t// same position a second time). It returns a cleanup function stored for\n\t\t// teardown.\n\t\tthis.cleanupFloating = autoUpdate(reference, floating, update);\n\t\tthis.floatingUpdate = update;\n\t};\n\n\tdestroyPopper = () => {\n\t\tif (this.cleanupFloating) {\n\t\t\tthis.cleanupFloating();\n\t\t\tthis.cleanupFloating = null;\n\t\t}\n\t\tthis.floatingUpdate = null;\n\t};\n\n\trender() {\n\t\tlet style = {};\n\t\tconst role =\n\t\t\tthis.props.variant === 'popover' ? 'dialog' : this.props.variant;\n\t\tif (\n\t\t\tthis.props.position === 'absolute' ||\n\t\t\tthis.props.position === 'overflowBoundaryElement'\n\t\t) {\n\t\t\tstyle = {\n\t\t\t\t...style,\n\t\t\t\toutline: 0,\n\t\t\t\t...this.getPopperStyles(),\n\t\t\t};\n\t\t}\n\n\t\tif (\n\t\t\tthis.props.inheritWidthOf === 'target' &&\n\t\t\tthis.props.onRequestTargetElement()\n\t\t) {\n\t\t\tstyle.width = this.props\n\t\t\t\t.onRequestTargetElement()\n\t\t\t\t.getBoundingClientRect().width;\n\t\t} else if (\n\t\t\tthis.props.inheritWidthOf === 'menu' &&\n\t\t\tthis.dialogContent &&\n\t\t\tthis.dialogContent.querySelector('.slds-listbox')\n\t\t) {\n\t\t\t// inherit menu renderer width\n\t\t\tstyle.width = this.dialogContent\n\t\t\t\t.querySelector('.slds-listbox')\n\t\t\t\t.getBoundingClientRect().width;\n\t\t}\n\n\t\tstyle = {\n\t\t\t...style,\n\t\t\t...this.props.style,\n\t\t};\n\n\t\tconst outerTag = this.props.variant === 'popover' ? 'section' : 'div';\n\n\t\tconst contents = React.createElement(\n\t\t\touterTag,\n\t\t\t{\n\t\t\t\tclassName:\n\t\t\t\t\tclassNames(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t'absolute-positioned': this.props.position === 'absolute',\n\t\t\t\t\t\t\t'portal-positioned':\n\t\t\t\t\t\t\t\tthis.props.position === 'overflowBoundaryElement',\n\t\t\t\t\t\t\t[`${this.props.outsideClickIgnoreClass}`]:\n\t\t\t\t\t\t\t\tthis.props.position === 'overflowBoundaryElement',\n\t\t\t\t\t\t},\n\t\t\t\t\t\tthis.props.hasNubbin &&\n\t\t\t\t\t\t\tgetNubbinClassName(this.props.align, this.state.popperData),\n\t\t\t\t\t\tthis.props.contentsClassName\n\t\t\t\t\t) || undefined,\n\n\t\t\t\tstyle,\n\t\t\t\tonMouseDown: this.props.onMouseDown,\n\t\t\t\tonKeyDown: this.handleKeyDown,\n\t\t\t\tonMouseEnter: this.props.onMouseEnter,\n\t\t\t\tonMouseLeave: this.props.onMouseLeave,\n\t\t\t\tref: this.setDialogContent,\n\t\t\t\trole,\n\t\t\t\ttabIndex: this.props.variant === 'popover' ? '-1' : undefined,\n\t\t\t\t...this.props.containerProps,\n\t\t\t},\n\n\t\t\tthis.props.children\n\t\t);\n\n\t\tconst subRenders = {\n\t\t\tabsolute: () => contents,\n\t\t\trelative: () => contents,\n\t\t\toverflowBoundaryElement: () => {\n\t\t\t\t// Cycle through current context, create object of\n\t\t\t\t// truthy values, and pass into Portal's context.\n\n\t\t\t\t// TODO: Add test when switched to `ReactDOM.createPortal`\n\t\t\t\tconst truthyIconSettingsContext = Object.keys(this.context)\n\t\t\t\t\t.filter((key) => Boolean(this.context[key]))\n\t\t\t\t\t.reduce(\n\t\t\t\t\t\t(accumulatedContext, key) => ({\n\t\t\t\t\t\t\t...accumulatedContext,\n\t\t\t\t\t\t\t...{ [key]: this.context[key] },\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t{}\n\t\t\t\t\t);\n\t\t\t\tconst wrapped = (\n\t\t\t\t\t// eslint-disable-next-line\n\t\t\t\t\t<UNSAFE_DirectionSettings.Provider value={this.props.direction}>\n\t\t\t\t\t\t<IconSettings {...truthyIconSettingsContext}>\n\t\t\t\t\t\t\t{contents}\n\t\t\t\t\t\t</IconSettings>\n\t\t\t\t\t</UNSAFE_DirectionSettings.Provider>\n\t\t\t\t);\n\t\t\t\treturn (\n\t\t\t\t\t<Portal onOpen={this.handleOpen} portalMount={this.props.portalMount}>\n\t\t\t\t\t\t{wrapped}\n\t\t\t\t\t</Portal>\n\t\t\t\t);\n\t\t\t},\n\t\t};\n\n\t\treturn subRenders[this.props.position] && subRenders[this.props.position]();\n\t}\n}\n\nDialog.contextType = IconSettingsContext;\n\nexport default LanguageDirection(Dialog);\n"],"mappings":"grBAqDA,IAAM,EAAN,cAAqB,EAAA,QAAM,SAAU,CACpC,OAAO,YAAc,EAAA,OAErB,OAAO,UAAY,CAMlB,MAAO,EAAA,QAAU,MAAM,CACtB,MACA,WACA,YACA,QACA,YACA,eACA,SACA,cACA,eACA,OACA,WACA,aACD,CAAC,EAID,UAAW,EAAA,QAAU,UAAU,CAC9B,EAAA,QAAU,MACV,EAAA,QAAU,OACV,EAAA,QAAU,MACX,CAAC,EAID,kBAAmB,EAAA,QAAU,UAAU,CACtC,EAAA,QAAU,MACV,EAAA,QAAU,OACV,EAAA,QAAU,MACX,CAAC,EAID,SAAU,EAAA,QAAU,KAAK,WAIzB,cAAe,E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AppLauncherTile`,l=`SLDSAvatar`,u=`SLDSBadge`,d=`SLDSBrandBand`,f=`SLDSBreadcrumb`,p=`SLDSBuilderHeader`,m=`SLDSBuilderHeaderMisc`,h=`SLDSBuilderHeaderUtilities`,g=`SLDSBuilderHeaderNav`,_=`SLDSBuilderHeaderNavDropdown`,v=`SLDSBuilderHeaderNavLink`,y=`SLDSBuilderHeaderToolbar`,b=`SLDSButton`,x=`SLDSButtonGroup`,S=`SLDSButtonStateful`,C=`SLDSButtonIcon`,w=`SLDSCard`,T=`SLDSCardBody`,E=`SLDSCardEmpty`,D=`SLDSCardFilter`,O=`SLDSCardFooter`,k=`SLDSCardHeader`,A=`SLDSCarousel`,j=`SLDSCarouselIndicators`,M=`SLDSCarouselItem`,N=`SLDSCarouselNavigators`,P=`SLDSCarouselAutoplayButton`,F=`SLDSColorPicker`,I=`SLDSCombobox`,L=`SLDSDataTable`,R=`SLDSDataTableCell`,z=`SLDSDataTableColumn`,B=`SLDSDataTableHead`,V=`SLDSDataTableHeaderCell`,H=`SLDSDataTableRowActions`,U=`SLDSDataTableRow`,W=`SLDSDatePicker`,G=`SLDSDynamicIcon`,K=`SLDSDialog`,q=`SLDSFiles`,J=`SLDSFilesFile`,Y=`SLDSFilesMore`,X=`SLDSFilesFigure`,Z=`SLDSFilesActions`,Q=`SLDSExpandableSection`,$=`SLDSExpression`,ee=`SLDSExpressionGroup`,te=`SLDSExpressionCondition`,ne=`SLDSExpressionFormula`,re=`SLDSFilter`,ie=`SLDSCheckbox`,ae=`SLDSInlineEdit`,oe=`SLDSInput`,se=`SLDSTextarea`,ce=`SLDSSearch`,le=`SLDSGlobalHeader`,ue=`SLDSGlobalHeaderButton`,de=`SLDSGlobalHeaderDropdown`,fe=`SLDSGlobalHeaderFavorites`,pe=`SLDSGlobalHeaderHelp`,me=`SLDSGlobalHeaderNotifications`,he=`SLDSGlobalHeaderProfile`,ge=`SLDSGlobalHeaderSearch`,_e=`SLDSGlobalHeaderSetup`,ve=`SLDSGlobalHeaderTask`,ye=`SLDSGlobalHeaderTool`,be=`SLDSGlobalNavigationBar`,xe=`SLDSGlobalNavigationBarButton`,Se=`SLDSGlobalNavigationBarDropdown`,Ce=`SLDSGlobalNavigationBarLabel`,we=`SLDSGlobalNavigationBarLink`,Te=`SLDSGlobalNavigationBarRegion`,Ee=`SLDSHighlighter`,De=`SLDSIcon`,Oe=`SLDSIconSettings`,ke=`SLDSIconInput`,Ae=`SLDSIllustration`,je=`SLDSList`,Me=`SLDSListItem`,Ne=`SLDSListItemLabel`,Pe=`SLDSLocationMap`,Fe=`SLDSLookup`,Ie=`SLDSMediaObject`,Le=`SLDSMenuDropdown`,Re=`SLDSMenuDropdownTrigger`,ze=`SLDSModal`,Be=`SLDSPanel`,Ve=`SLDSFilterGroup`,He=`SLDSFilterList`,Ue=`SLDSPanelFilterListHeading`,We=`SLDSPageHeader`,Ge=`SLDSPageHeaderControl`,Ke=`SLDSPill`,qe=`SLDSPillContainer`,Je=`SLDSPortalSettings`,Ye=`SLDSPopover`,Xe=`SLDSPopoverEditDialog`,Ze=`SLDSPopoverTooltip`,Qe=`SLDSProgressIndicator`,$e=`SLDSProgressIndicatorProgress`,et=`SLDSProgressIndicatorStep`,tt=`SLDSProgressIndicatorStepVertical`,nt=`SLDSProgressRing`,rt=`SLDSProgressBar`,it=`SLDSSetupAssistant`,at=`SLDSSetupAssistantStep`,ot=`SLDSScopedNotification`,st=`SLDSSlider`,ct=`SLDSSpinner`,lt=`SLDSSplitView`,ut=`SLDSSplitViewHeader`,dt=`SLDSSplitViewListbox`,ft=`SLDSRadio`,pt=`SLDSRadioGroup`,mt=`SLDSRadioButtonGroup`,ht=`SLDSTab`,gt=`SLDSTabPanel`,_t=`SLDSTabs`,vt=`SLDSTabsList`,yt=`SLDSTabsPanel`,bt=`SLDSTimepicker`,xt=`SLDSToast`,St=`SLDSToastContainer`,Ct=`SLDSTree`,wt=`SLDSTreeBranch`,Tt=`SLDSTreeItem`,Et=`SLDSTrialBar`,Dt=`SLDSTrialBarDropdown`,Ot=`SLDSTrialBarButton`,kt=`SLDSVerticalNavigation`,At=`SLDSVerticalNavigationItem`,jt=`SLDSVisualPicker`,Mt=`SLDSVisualPickerLink`,Nt=`SLDSWelcomeMat`,Pt=`SLDSWelcomeMatTile`,Ft=`SLDSWelcomeMatBadge`;exports.ACCORDION=e,exports.ACCORDION_PANEL=t,exports.ALERT=n,exports.ALERT_CONTAINER=r,exports.APP_LAUNCHER=i,exports.APP_LAUNCHER_EXPANDABLE_SECTION=a,exports.APP_LAUNCHER_LINK=s,exports.APP_LAUNCHER_SECTION=o,exports.APP_LAUNCHER_TILE=c,exports.AVATAR=l,exports.BADGE=u,exports.BRAND_BAND=d,exports.BREADCRUMB=f,exports.BUILDER_HEADER=p,exports.BUILDER_HEADER_MISC=m,exports.BUILDER_HEADER_NAV=g,exports.BUILDER_HEADER_NAV_DROPDOWN=_,exports.BUILDER_HEADER_NAV_LINK=v,exports.BUILDER_HEADER_TOOLBAR=y,exports.BUILDER_HEADER_UTILITIES=h,exports.BUTTON=b,exports.BUTTON_GROUP=x,exports.BUTTON_ICON=C,exports.BUTTON_STATEFUL=S,exports.CARD=w,exports.CARD_BODY=T,exports.CARD_EMPTY=E,exports.CARD_FILTER=D,exports.CARD_FOOTER=O,exports.CARD_HEADER=k,exports.CAROUSEL=A,exports.CAROUSEL_AUTOPLAY_BUTTON=P,exports.CAROUSEL_INDICATORS=j,exports.CAROUSEL_ITEM=M,exports.CAROUSEL_NAVIGATORS=N,exports.CHECKBOX=ie,exports.COLOR_PICKER=F,exports.COMBOBOX=I,exports.DATA_TABLE=L,exports.DATA_TABLE_CELL=R,exports.DATA_TABLE_COLUMN=z,exports.DATA_TABLE_HEAD=B,exports.DATA_TABLE_HEADER_CELL=V,exports.DATA_TABLE_ROW=U,exports.DATA_TABLE_ROW_ACTIONS=H,exports.DATE_PICKER=W,exports.DIALOG=K,exports.DYNAMIC_ICON=G,exports.EXPANDABLE_SECTION=Q,exports.EXPRESSION=$,exports.EXPRESSION_CONDITION=te,exports.EXPRESSION_FORMULA=ne,exports.EXPRESSION_GROUP=ee,exports.FILES=q,exports.FILES_ACTIONS=Z,exports.FILES_FIGURE=X,exports.FILES_FILE=J,exports.FILES_MORE=Y,exports.FILTER=re,exports.FORMS_INLINE_EDIT=ae,exports.GLOBAL_HEADER=le,exports.GLOBAL_HEADER_BUTTON=ue,exports.GLOBAL_HEADER_DROPDOWN=de,exports.GLOBAL_HEADER_FAVORITES=fe,exports.GLOBAL_HEADER_HELP=pe,exports.GLOBAL_HEADER_NOTIFICATIONS=me,exports.GLOBAL_HEADER_PROFILE=he,exports.GLOBAL_HEADER_SEARCH=ge,exports.GLOBAL_HEADER_SETUP=_e,exports.GLOBAL_HEADER_TASK=ve,exports.GLOBAL_HEADER_TOOL=ye,exports.GLOBAL_NAVIGATION_BAR=be,exports.GLOBAL_NAVIGATION_BAR_BUTTON=xe,exports.GLOBAL_NAVIGATION_BAR_DROPDOWN=Se,exports.GLOBAL_NAVIGATION_BAR_LABEL=Ce,exports.GLOBAL_NAVIGATION_BAR_LINK=we,exports.GLOBAL_NAVIGATION_BAR_REGION=Te,exports.HIGHLIGHTER=Ee,exports.ICON=De,exports.ICON_INPUT=ke,exports.ICON_SETTINGS=Oe,exports.ILLUSTRATION=Ae,exports.INPUT=oe,exports.LIST=je,exports.LIST_ITEM=Me,exports.LIST_ITEM_LABEL=Ne,exports.LOCATION_MAP=Pe,exports.LOOKUP=Fe,exports.MEDIA_OBJECT=Ie,exports.MENU_DROPDOWN=Le,exports.MENU_DROPDOWN_TRIGGER=Re,exports.MODAL=ze,exports.PAGE_HEADER=We,exports.PAGE_HEADER_CONTROL=Ge,exports.PANEL=Be,exports.PANEL_FILTER_GROUP=Ve,exports.PANEL_FILTER_LIST=He,exports.PANEL_FILTER_LIST_HEADING=Ue,exports.PILL=Ke,exports.PILL_CONTAINER=qe,exports.POPOVER=Ye,exports.POPOVER_EDIT_DIALOG=Xe,exports.POPOVER_TOOLTIP=Ze,exports.PORTAL_SETTINGS=Je,exports.PROGRESS_BAR=rt,exports.PROGRESS_INDICATOR=Qe,exports.PROGRESS_INDICATOR_PROGRESS=$e,exports.PROGRESS_INDICATOR_STEP=et,exports.PROGRESS_INDICATOR_STEP_VERTICAL=tt,exports.PROGRESS_RING=nt,exports.RADIO=ft,exports.RADIO_BUTTON_GROUP=mt,exports.RADIO_GROUP=pt,exports.SCOPED_NOTIFICATION=ot,exports.SEARCH=ce,exports.SETUP_ASSISTANT=it,exports.SETUP_ASSISTANT_STEP=at,exports.SLIDER=st,exports.SPINNER=ct,exports.SPLIT_VIEW=lt,exports.SPLIT_VIEW_HEADER=ut,exports.SPLIT_VIEW_LISTBOX=dt,exports.TAB=ht,exports.TABS=_t,exports.TABS_LIST=vt,exports.TABS_PANEL=yt,exports.TAB_PANEL=gt,exports.TEXTAREA=se,exports.TIME_PICKER=bt,exports.TOAST=xt,exports.TOAST_CONTAINER=St,exports.TREE=Ct,exports.TREE_BRANCH=wt,exports.TREE_ITEM=Tt,exports.TRIAL_BAR=Et,exports.TRIAL_BAR_BUTTON=Ot,exports.TRIAL_BAR_DROPDOWN=Dt,exports.VERTICAL_NAVIGATION=kt,exports.VERTICAL_NAVIGATION_ITEM=At,exports.VISUAL_PICKER=jt,exports.VISUAL_PICKER_LINK=Mt,exports.WELCOME_MAT=Nt,exports.WELCOME_MAT_BADGE=Ft,exports.WELCOME_MAT_TILE=Pt;
1
+ var e=`SLDSAccordion`,t=`SLDSAccordionPanel`,n=`SLDSAlert`,r=`SLDSAlertContainer`,i=`SLDSAvatar`,a=`SLDSBadge`,o=`SLDSBreadcrumb`,s=`SLDSBuilderHeader`,c=`SLDSBuilderHeaderMisc`,l=`SLDSBuilderHeaderUtilities`,u=`SLDSBuilderHeaderNav`,d=`SLDSBuilderHeaderNavDropdown`,f=`SLDSBuilderHeaderNavLink`,p=`SLDSBuilderHeaderToolbar`,m=`SLDSButton`,h=`SLDSButtonGroup`,g=`SLDSButtonStateful`,_=`SLDSButtonIcon`,v=`SLDSCard`,y=`SLDSCardBody`,b=`SLDSCardEmpty`,x=`SLDSCardFilter`,S=`SLDSCardFooter`,C=`SLDSCardHeader`,w=`SLDSCarousel`,T=`SLDSCarouselIndicators`,E=`SLDSCarouselItem`,D=`SLDSCarouselNavigators`,O=`SLDSCarouselAutoplayButton`,k=`SLDSColorPicker`,A=`SLDSCombobox`,j=`SLDSDataTable`,M=`SLDSDataTableCell`,N=`SLDSDataTableColumn`,P=`SLDSDataTableHead`,F=`SLDSDataTableHeaderCell`,I=`SLDSDataTableRowActions`,L=`SLDSDataTableRow`,R=`SLDSDatePicker`,z=`SLDSDynamicIcon`,B=`SLDSDialog`,V=`SLDSFiles`,H=`SLDSFilesFile`,U=`SLDSFilesMore`,W=`SLDSFilesFigure`,G=`SLDSFilesActions`,K=`SLDSExpandableSection`,q=`SLDSFilter`,J=`SLDSCheckbox`,Y=`SLDSInlineEdit`,X=`SLDSInput`,Z=`SLDSTextarea`,Q=`SLDSSearch`,$=`SLDSHighlighter`,ee=`SLDSIcon`,te=`SLDSIconSettings`,ne=`SLDSIconInput`,re=`SLDSIllustration`,ie=`SLDSList`,ae=`SLDSListItem`,oe=`SLDSListItemLabel`,se=`SLDSLookup`,ce=`SLDSMediaObject`,le=`SLDSMenuDropdown`,ue=`SLDSMenuDropdownTrigger`,de=`SLDSModal`,fe=`SLDSPanel`,pe=`SLDSFilterGroup`,me=`SLDSFilterList`,he=`SLDSPanelFilterListHeading`,ge=`SLDSPageHeader`,_e=`SLDSPageHeaderControl`,ve=`SLDSPill`,ye=`SLDSPillContainer`,be=`SLDSPortalSettings`,xe=`SLDSPopover`,Se=`SLDSPopoverEditDialog`,Ce=`SLDSPopoverTooltip`,we=`SLDSProgressIndicator`,Te=`SLDSProgressIndicatorProgress`,Ee=`SLDSProgressIndicatorStep`,De=`SLDSProgressIndicatorStepVertical`,Oe=`SLDSProgressRing`,ke=`SLDSProgressBar`,Ae=`SLDSSetupAssistant`,je=`SLDSSetupAssistantStep`,Me=`SLDSScopedNotification`,Ne=`SLDSSlider`,Pe=`SLDSSpinner`,Fe=`SLDSSplitView`,Ie=`SLDSSplitViewHeader`,Le=`SLDSSplitViewListbox`,Re=`SLDSRadio`,ze=`SLDSRadioGroup`,Be=`SLDSRadioButtonGroup`,Ve=`SLDSTab`,He=`SLDSTabPanel`,Ue=`SLDSTabs`,We=`SLDSTabsList`,Ge=`SLDSTabsPanel`,Ke=`SLDSTimepicker`,qe=`SLDSToast`,Je=`SLDSToastContainer`,Ye=`SLDSTree`,Xe=`SLDSTreeBranch`,Ze=`SLDSTreeItem`,Qe=`SLDSTrialBar`,$e=`SLDSTrialBarDropdown`,et=`SLDSTrialBarButton`,tt=`SLDSVerticalNavigation`,nt=`SLDSVerticalNavigationItem`,rt=`SLDSVisualPicker`,it=`SLDSVisualPickerLink`,at=`SLDSWelcomeMat`,ot=`SLDSWelcomeMatTile`,st=`SLDSWelcomeMatBadge`;exports.ACCORDION=e,exports.ACCORDION_PANEL=t,exports.ALERT=n,exports.ALERT_CONTAINER=r,exports.AVATAR=i,exports.BADGE=a,exports.BREADCRUMB=o,exports.BUILDER_HEADER=s,exports.BUILDER_HEADER_MISC=c,exports.BUILDER_HEADER_NAV=u,exports.BUILDER_HEADER_NAV_DROPDOWN=d,exports.BUILDER_HEADER_NAV_LINK=f,exports.BUILDER_HEADER_TOOLBAR=p,exports.BUILDER_HEADER_UTILITIES=l,exports.BUTTON=m,exports.BUTTON_GROUP=h,exports.BUTTON_ICON=_,exports.BUTTON_STATEFUL=g,exports.CARD=v,exports.CARD_BODY=y,exports.CARD_EMPTY=b,exports.CARD_FILTER=x,exports.CARD_FOOTER=S,exports.CARD_HEADER=C,exports.CAROUSEL=w,exports.CAROUSEL_AUTOPLAY_BUTTON=O,exports.CAROUSEL_INDICATORS=T,exports.CAROUSEL_ITEM=E,exports.CAROUSEL_NAVIGATORS=D,exports.CHECKBOX=J,exports.COLOR_PICKER=k,exports.COMBOBOX=A,exports.DATA_TABLE=j,exports.DATA_TABLE_CELL=M,exports.DATA_TABLE_COLUMN=N,exports.DATA_TABLE_HEAD=P,exports.DATA_TABLE_HEADER_CELL=F,exports.DATA_TABLE_ROW=L,exports.DATA_TABLE_ROW_ACTIONS=I,exports.DATE_PICKER=R,exports.DIALOG=B,exports.DYNAMIC_ICON=z,exports.EXPANDABLE_SECTION=K,exports.FILES=V,exports.FILES_ACTIONS=G,exports.FILES_FIGURE=W,exports.FILES_FILE=H,exports.FILES_MORE=U,exports.FILTER=q,exports.FORMS_INLINE_EDIT=Y,exports.HIGHLIGHTER=$,exports.ICON=ee,exports.ICON_INPUT=ne,exports.ICON_SETTINGS=te,exports.ILLUSTRATION=re,exports.INPUT=X,exports.LIST=ie,exports.LIST_ITEM=ae,exports.LIST_ITEM_LABEL=oe,exports.LOOKUP=se,exports.MEDIA_OBJECT=ce,exports.MENU_DROPDOWN=le,exports.MENU_DROPDOWN_TRIGGER=ue,exports.MODAL=de,exports.PAGE_HEADER=ge,exports.PAGE_HEADER_CONTROL=_e,exports.PANEL=fe,exports.PANEL_FILTER_GROUP=pe,exports.PANEL_FILTER_LIST=me,exports.PANEL_FILTER_LIST_HEADING=he,exports.PILL=ve,exports.PILL_CONTAINER=ye,exports.POPOVER=xe,exports.POPOVER_EDIT_DIALOG=Se,exports.POPOVER_TOOLTIP=Ce,exports.PORTAL_SETTINGS=be,exports.PROGRESS_BAR=ke,exports.PROGRESS_INDICATOR=we,exports.PROGRESS_INDICATOR_PROGRESS=Te,exports.PROGRESS_INDICATOR_STEP=Ee,exports.PROGRESS_INDICATOR_STEP_VERTICAL=De,exports.PROGRESS_RING=Oe,exports.RADIO=Re,exports.RADIO_BUTTON_GROUP=Be,exports.RADIO_GROUP=ze,exports.SCOPED_NOTIFICATION=Me,exports.SEARCH=Q,exports.SETUP_ASSISTANT=Ae,exports.SETUP_ASSISTANT_STEP=je,exports.SLIDER=Ne,exports.SPINNER=Pe,exports.SPLIT_VIEW=Fe,exports.SPLIT_VIEW_HEADER=Ie,exports.SPLIT_VIEW_LISTBOX=Le,exports.TAB=Ve,exports.TABS=Ue,exports.TABS_LIST=We,exports.TABS_PANEL=Ge,exports.TAB_PANEL=He,exports.TEXTAREA=Z,exports.TIME_PICKER=Ke,exports.TOAST=qe,exports.TOAST_CONTAINER=Je,exports.TREE=Ye,exports.TREE_BRANCH=Xe,exports.TREE_ITEM=Ze,exports.TRIAL_BAR=Qe,exports.TRIAL_BAR_BUTTON=et,exports.TRIAL_BAR_DROPDOWN=$e,exports.VERTICAL_NAVIGATION=tt,exports.VERTICAL_NAVIGATION_ITEM=nt,exports.VISUAL_PICKER=rt,exports.VISUAL_PICKER_LINK=it,exports.WELCOME_MAT=at,exports.WELCOME_MAT_BADGE=st,exports.WELCOME_MAT_TILE=ot;
2
2
  //# sourceMappingURL=constants.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.cjs","names":[],"sources":["../../../utilities/constants.js"],"sourcesContent":["// ## Components\nexport const ACCORDION = 'SLDSAccordion';\nexport const ACCORDION_PANEL = 'SLDSAccordionPanel';\nexport const ALERT = 'SLDSAlert';\nexport const ALERT_CONTAINER = 'SLDSAlertContainer';\nexport const APP_LAUNCHER = 'SLDSAppLauncher';\nexport const APP_LAUNCHER_EXPANDABLE_SECTION =\n\t'SLDSAppLauncherExpandableSection';\n/* Remove at next breaking change */\nexport const APP_LAUNCHER_SECTION = 'SLDSAppLauncherSection';\nexport const APP_LAUNCHER_LINK = 'SLDSAppLauncherLink';\nexport const APP_LAUNCHER_TILE = 'SLDSAppLauncherTile';\nexport const APP_LAUNCHER_HEADER = 'SLDSAppLauncherHeader';\nexport const AVATAR = 'SLDSAvatar';\nexport const BADGE = 'SLDSBadge';\n\nexport const BRAND_BAND = 'SLDSBrandBand';\n\n/* Remove at next breaking change */\nexport const BREAD_CRUMB = 'SLDSBreadcrumb';\n\nexport const BREADCRUMB = 'SLDSBreadcrumb';\nexport const BUILDER_HEADER = 'SLDSBuilderHeader';\nexport const BUILDER_HEADER_MISC = 'SLDSBuilderHeaderMisc';\nexport const BUILDER_HEADER_UTILITIES = 'SLDSBuilderHeaderUtilities';\nexport const BUILDER_HEADER_NAV = 'SLDSBuilderHeaderNav';\nexport const BUILDER_HEADER_NAV_DROPDOWN = 'SLDSBuilderHeaderNavDropdown';\nexport const BUILDER_HEADER_NAV_LINK = 'SLDSBuilderHeaderNavLink';\nexport const BUILDER_HEADER_TOOLBAR = 'SLDSBuilderHeaderToolbar';\nexport const BUTTON = 'SLDSButton';\nexport const BUTTON_GROUP = 'SLDSButtonGroup';\nexport const BUTTON_STATEFUL = 'SLDSButtonStateful';\nexport const BUTTON_ICON = 'SLDSButtonIcon'; // a non-interctive icon wrapper for SLDSUtilityIcon\nexport const CARD = 'SLDSCard';\nexport const CARD_BODY = 'SLDSCardBody';\nexport const CARD_EMPTY = 'SLDSCardEmpty';\nexport const CARD_FILTER = 'SLDSCardFilter';\nexport const CARD_FOOTER = 'SLDSCardFooter';\nexport const CARD_HEADER = 'SLDSCardHeader';\nexport const CAROUSEL = 'SLDSCarousel';\nexport const CAROUSEL_INDICATORS = 'SLDSCarouselIndicators';\nexport const CAROUSEL_ITEM = 'SLDSCarouselItem';\nexport const CAROUSEL_NAVIGATORS = 'SLDSCarouselNavigators';\nexport const CAROUSEL_AUTOPLAY_BUTTON = 'SLDSCarouselAutoplayButton';\nexport const COLOR_PICKER = 'SLDSColorPicker';\nexport const COMBOBOX = 'SLDSCombobox';\nexport const DATA_TABLE = 'SLDSDataTable';\nexport const DATA_TABLE_CELL = 'SLDSDataTableCell';\nexport const DATA_TABLE_COLUMN = 'SLDSDataTableColumn';\nexport const DATA_TABLE_HEAD = 'SLDSDataTableHead';\nexport const DATA_TABLE_HEADER_CELL = 'SLDSDataTableHeaderCell';\nexport const DATA_TABLE_ROW_ACTIONS = 'SLDSDataTableRowActions';\nexport const DATA_TABLE_ROW = 'SLDSDataTableRow';\nexport const DATE_PICKER = 'SLDSDatePicker';\nexport const DEPRECATED_WARNING = 'SLDSDeprecatedWarning';\nexport const DYNAMIC_ICON = 'SLDSDynamicIcon';\nexport const DIALOG = 'SLDSDialog';\nexport const FILES = 'SLDSFiles';\nexport const FILES_FILE = `SLDSFilesFile`;\nexport const FILES_MORE = `SLDSFilesMore`;\nexport const FILES_FIGURE = 'SLDSFilesFigure';\nexport const FILES_ACTIONS = 'SLDSFilesActions';\nexport const EXPANDABLE_SECTION = 'SLDSExpandableSection';\nexport const EXPRESSION = 'SLDSExpression';\nexport const EXPRESSION_GROUP = 'SLDSExpressionGroup';\nexport const EXPRESSION_CONDITION = 'SLDSExpressionCondition';\nexport const EXPRESSION_FORMULA = 'SLDSExpressionFormula';\nexport const FILTER = 'SLDSFilter';\nexport const CHECKBOX = 'SLDSCheckbox';\nexport const FORMS_INLINE_EDIT = 'SLDSInlineEdit';\nexport const INPUT = 'SLDSInput';\nexport const TEXTAREA = 'SLDSTextarea';\nexport const SEARCH = 'SLDSSearch';\nexport const GLOBAL_HEADER = 'SLDSGlobalHeader';\nexport const GLOBAL_HEADER_BUTTON = 'SLDSGlobalHeaderButton';\nexport const GLOBAL_HEADER_DROPDOWN = 'SLDSGlobalHeaderDropdown';\nexport const GLOBAL_HEADER_FAVORITES = 'SLDSGlobalHeaderFavorites';\nexport const GLOBAL_HEADER_HELP = 'SLDSGlobalHeaderHelp';\nexport const GLOBAL_HEADER_NOTIFICATIONS = 'SLDSGlobalHeaderNotifications';\nexport const GLOBAL_HEADER_PROFILE = 'SLDSGlobalHeaderProfile';\nexport const GLOBAL_HEADER_SEARCH = 'SLDSGlobalHeaderSearch';\nexport const GLOBAL_HEADER_SETUP = 'SLDSGlobalHeaderSetup';\nexport const GLOBAL_HEADER_TASK = 'SLDSGlobalHeaderTask';\nexport const GLOBAL_HEADER_TOOL = 'SLDSGlobalHeaderTool';\nexport const GLOBAL_NAVIGATION_BAR = 'SLDSGlobalNavigationBar';\nexport const GLOBAL_NAVIGATION_BAR_BUTTON = 'SLDSGlobalNavigationBarButton';\nexport const GLOBAL_NAVIGATION_BAR_DROPDOWN = 'SLDSGlobalNavigationBarDropdown';\nexport const GLOBAL_NAVIGATION_BAR_LABEL = 'SLDSGlobalNavigationBarLabel';\nexport const GLOBAL_NAVIGATION_BAR_LINK = 'SLDSGlobalNavigationBarLink';\nexport const GLOBAL_NAVIGATION_BAR_REGION = 'SLDSGlobalNavigationBarRegion';\nexport const GLOBAL_NAVIGATION_BAR_APP_LAUNCHER =\n\t'SLDSGlobalNavigationBarAppLauncher';\nexport const GRID = 'SLDSGrid';\nexport const HIGHLIGHTER = 'SLDSHighlighter';\nexport const ICON = 'SLDSIcon';\nexport const ICON_SETTINGS = 'SLDSIconSettings';\nexport const ICON_INPUT = 'SLDSIconInput';\nexport const ILLUSTRATION = 'SLDSIllustration';\nexport const LIST = 'SLDSList';\nexport const LIST_ITEM = 'SLDSListItem';\nexport const LIST_ITEM_LABEL = 'SLDSListItemLabel';\nexport const LISTBOX_OF_PILL_OPTIONS = 'SLDSListboxOfPillOptions';\nexport const LOCATION_MAP = 'SLDSLocationMap';\nexport const LOOKUP = 'SLDSLookup';\nexport const MEDIA_OBJECT = 'SLDSMediaObject';\nexport const MENU_DROPDOWN = 'SLDSMenuDropdown';\nexport const MENU_DROPDOWN_TRIGGER = 'SLDSMenuDropdownTrigger';\nexport const MENU_PICKLIST = 'SLDSMenuPicklist';\nexport const MODAL = 'SLDSModal';\nexport const NOTIFICATION = 'SLDSNotification';\nexport const PANEL = 'SLDSPanel';\nexport const PANEL_FILTER_GROUP = 'SLDSFilterGroup';\nexport const PANEL_FILTER_LIST = 'SLDSFilterList';\nexport const PANEL_FILTER_LIST_HEADING = 'SLDSPanelFilterListHeading';\nexport const PAGE_HEADER = 'SLDSPageHeader';\nexport const PAGE_HEADER_CONTROL = 'SLDSPageHeaderControl';\nexport const PILL = 'SLDSPill';\nexport const PILL_CONTAINER = 'SLDSPillContainer';\nexport const PORTAL_SETTINGS = 'SLDSPortalSettings';\nexport const POPOVER = 'SLDSPopover';\nexport const POPOVER_EDIT_DIALOG = 'SLDSPopoverEditDialog';\nexport const POPOVER_TOOLTIP = 'SLDSPopoverTooltip';\nexport const PROGRESS_INDICATOR = 'SLDSProgressIndicator';\nexport const PROGRESS_INDICATOR_PROGRESS = 'SLDSProgressIndicatorProgress';\nexport const PROGRESS_INDICATOR_STEP = 'SLDSProgressIndicatorStep';\nexport const PROGRESS_INDICATOR_STEP_VERTICAL =\n\t'SLDSProgressIndicatorStepVertical';\nexport const PROGRESS_RING = 'SLDSProgressRing';\nexport const PROGRESS_BAR = 'SLDSProgressBar';\nexport const SETUP_ASSISTANT = 'SLDSSetupAssistant';\nexport const SETUP_ASSISTANT_STEP = 'SLDSSetupAssistantStep';\nexport const SCOPED_NOTIFICATION = 'SLDSScopedNotification';\nexport const SLIDER = 'SLDSSlider';\nexport const SPINNER = 'SLDSSpinner';\nexport const SPLIT_VIEW = 'SLDSSplitView';\nexport const SPLIT_VIEW_HEADER = 'SLDSSplitViewHeader';\nexport const SPLIT_VIEW_LISTBOX = 'SLDSSplitViewListbox';\nexport const RADIO = 'SLDSRadio';\nexport const RADIO_GROUP = 'SLDSRadioGroup';\nexport const RADIO_BUTTON_GROUP = 'SLDSRadioButtonGroup';\nexport const TAB = 'SLDSTab';\nexport const TAB_ITEM = 'SLDSTabItem';\nexport const TAB_PANEL = 'SLDSTabPanel';\nexport const TABS = 'SLDSTabs';\nexport const TABS_LIST = 'SLDSTabsList';\nexport const TABS_PANEL = 'SLDSTabsPanel';\nexport const TIME_PICKER = 'SLDSTimepicker';\nexport const TOAST = 'SLDSToast';\nexport const TOAST_CONTAINER = 'SLDSToastContainer';\nexport const TREE = 'SLDSTree';\nexport const TREE_BRANCH = 'SLDSTreeBranch';\nexport const TREE_ITEM = 'SLDSTreeItem';\nexport const TRIAL_BAR = 'SLDSTrialBar';\nexport const TRIAL_BAR_DROPDOWN = 'SLDSTrialBarDropdown';\nexport const TRIAL_BAR_BUTTON = 'SLDSTrialBarButton';\nexport const VERTICAL_NAVIGATION = 'SLDSVerticalNavigation';\nexport const VERTICAL_NAVIGATION_ITEM = 'SLDSVerticalNavigationItem';\nexport const VISUAL_PICKER = 'SLDSVisualPicker';\nexport const VISUAL_PICKER_LINK = 'SLDSVisualPickerLink';\nexport const WELCOME_MAT = 'SLDSWelcomeMat';\nexport const WELCOME_MAT_TILE = 'SLDSWelcomeMatTile';\nexport const WELCOME_MAT_BADGE = 'SLDSWelcomeMatBadge';\nexport const DOCKED_COMPOSER = 'SLDSDockedComposer';\n"],"mappings":"AACA,IAAa,EAAY,gBACZ,EAAkB,qBAClB,EAAQ,YACR,EAAkB,qBAClB,EAAe,kBACf,EACZ,mCAEY,EAAuB,yBACvB,EAAoB,sBACpB,EAAoB,sBAEpB,EAAS,aACT,EAAQ,YAER,EAAa,gBAKb,EAAa,iBACb,EAAiB,oBACjB,EAAsB,wBACtB,EAA2B,6BAC3B,EAAqB,uBACrB,EAA8B,+BAC9B,EAA0B,2BAC1B,EAAyB,2BACzB,EAAS,aACT,EAAe,kBACf,EAAkB,qBAClB,EAAc,iBACd,EAAO,WACP,EAAY,eACZ,EAAa,gBACb,EAAc,iBACd,EAAc,iBACd,EAAc,iBACd,EAAW,eACX,EAAsB,yBACtB,EAAgB,mBAChB,EAAsB,yBACtB,EAA2B,6BAC3B,EAAe,kBACf,EAAW,eACX,EAAa,gBACb,EAAkB,oBAClB,EAAoB,sBACpB,EAAkB,oBAClB,EAAyB,0BACzB,EAAyB,0BACzB,EAAiB,mBACjB,EAAc,iBAEd,EAAe,kBACf,EAAS,aACT,EAAQ,YACR,EAAa,gBACb,EAAa,gBACb,EAAe,kBACf,EAAgB,mBAChB,EAAqB,wBACrB,EAAa,iBACb,GAAmB,sBACnB,GAAuB,0BACvB,GAAqB,wBACrB,GAAS,aACT,GAAW,eACX,GAAoB,iBACpB,GAAQ,YACR,GAAW,eACX,GAAS,aACT,GAAgB,mBAChB,GAAuB,yBACvB,GAAyB,2BACzB,GAA0B,4BAC1B,GAAqB,uBACrB,GAA8B,gCAC9B,GAAwB,0BACxB,GAAuB,yBACvB,GAAsB,wBACtB,GAAqB,uBACrB,GAAqB,uBACrB,GAAwB,0BACxB,GAA+B,gCAC/B,GAAiC,kCACjC,GAA8B,+BAC9B,GAA6B,8BAC7B,GAA+B,gCAI/B,GAAc,kBACd,GAAO,WACP,GAAgB,mBAChB,GAAa,gBACb,GAAe,mBACf,GAAO,WACP,GAAY,eACZ,GAAkB,oBAElB,GAAe,kBACf,GAAS,aACT,GAAe,kBACf,GAAgB,mBAChB,GAAwB,0BAExB,GAAQ,YAER,GAAQ,YACR,GAAqB,kBACrB,GAAoB,iBACpB,GAA4B,6BAC5B,GAAc,iBACd,GAAsB,wBACtB,GAAO,WACP,GAAiB,oBACjB,GAAkB,qBAClB,GAAU,cACV,GAAsB,wBACtB,GAAkB,qBAClB,GAAqB,wBACrB,GAA8B,gCAC9B,GAA0B,4BAC1B,GACZ,oCACY,GAAgB,mBAChB,GAAe,kBACf,GAAkB,qBAClB,GAAuB,yBACvB,GAAsB,yBACtB,GAAS,aACT,GAAU,cACV,GAAa,gBACb,GAAoB,sBACpB,GAAqB,uBACrB,GAAQ,YACR,GAAc,iBACd,GAAqB,uBACrB,GAAM,UAEN,GAAY,eACZ,GAAO,WACP,GAAY,eACZ,GAAa,gBACb,GAAc,iBACd,GAAQ,YACR,GAAkB,qBAClB,GAAO,WACP,GAAc,iBACd,GAAY,eACZ,GAAY,eACZ,GAAqB,uBACrB,GAAmB,qBACnB,GAAsB,yBACtB,GAA2B,6BAC3B,GAAgB,mBAChB,GAAqB,uBACrB,GAAc,iBACd,GAAmB,qBACnB,GAAoB"}
1
+ {"version":3,"file":"constants.cjs","names":[],"sources":["../../../utilities/constants.js"],"sourcesContent":["// ## Components\nexport const ACCORDION = 'SLDSAccordion';\nexport const ACCORDION_PANEL = 'SLDSAccordionPanel';\nexport const ALERT = 'SLDSAlert';\nexport const ALERT_CONTAINER = 'SLDSAlertContainer';\nexport const APP_LAUNCHER = 'SLDSAppLauncher';\nexport const APP_LAUNCHER_EXPANDABLE_SECTION =\n\t'SLDSAppLauncherExpandableSection';\n/* Remove at next breaking change */\nexport const APP_LAUNCHER_SECTION = 'SLDSAppLauncherSection';\nexport const APP_LAUNCHER_LINK = 'SLDSAppLauncherLink';\nexport const APP_LAUNCHER_TILE = 'SLDSAppLauncherTile';\nexport const APP_LAUNCHER_HEADER = 'SLDSAppLauncherHeader';\nexport const AVATAR = 'SLDSAvatar';\nexport const BADGE = 'SLDSBadge';\n\nexport const BRAND_BAND = 'SLDSBrandBand';\n\n/* Remove at next breaking change */\nexport const BREAD_CRUMB = 'SLDSBreadcrumb';\n\nexport const BREADCRUMB = 'SLDSBreadcrumb';\nexport const BUILDER_HEADER = 'SLDSBuilderHeader';\nexport const BUILDER_HEADER_MISC = 'SLDSBuilderHeaderMisc';\nexport const BUILDER_HEADER_UTILITIES = 'SLDSBuilderHeaderUtilities';\nexport const BUILDER_HEADER_NAV = 'SLDSBuilderHeaderNav';\nexport const BUILDER_HEADER_NAV_DROPDOWN = 'SLDSBuilderHeaderNavDropdown';\nexport const BUILDER_HEADER_NAV_LINK = 'SLDSBuilderHeaderNavLink';\nexport const BUILDER_HEADER_TOOLBAR = 'SLDSBuilderHeaderToolbar';\nexport const BUTTON = 'SLDSButton';\nexport const BUTTON_GROUP = 'SLDSButtonGroup';\nexport const BUTTON_STATEFUL = 'SLDSButtonStateful';\nexport const BUTTON_ICON = 'SLDSButtonIcon'; // a non-interctive icon wrapper for SLDSUtilityIcon\nexport const CARD = 'SLDSCard';\nexport const CARD_BODY = 'SLDSCardBody';\nexport const CARD_EMPTY = 'SLDSCardEmpty';\nexport const CARD_FILTER = 'SLDSCardFilter';\nexport const CARD_FOOTER = 'SLDSCardFooter';\nexport const CARD_HEADER = 'SLDSCardHeader';\nexport const CAROUSEL = 'SLDSCarousel';\nexport const CAROUSEL_INDICATORS = 'SLDSCarouselIndicators';\nexport const CAROUSEL_ITEM = 'SLDSCarouselItem';\nexport const CAROUSEL_NAVIGATORS = 'SLDSCarouselNavigators';\nexport const CAROUSEL_AUTOPLAY_BUTTON = 'SLDSCarouselAutoplayButton';\nexport const COLOR_PICKER = 'SLDSColorPicker';\nexport const COMBOBOX = 'SLDSCombobox';\nexport const DATA_TABLE = 'SLDSDataTable';\nexport const DATA_TABLE_CELL = 'SLDSDataTableCell';\nexport const DATA_TABLE_COLUMN = 'SLDSDataTableColumn';\nexport const DATA_TABLE_HEAD = 'SLDSDataTableHead';\nexport const DATA_TABLE_HEADER_CELL = 'SLDSDataTableHeaderCell';\nexport const DATA_TABLE_ROW_ACTIONS = 'SLDSDataTableRowActions';\nexport const DATA_TABLE_ROW = 'SLDSDataTableRow';\nexport const DATE_PICKER = 'SLDSDatePicker';\nexport const DEPRECATED_WARNING = 'SLDSDeprecatedWarning';\nexport const DYNAMIC_ICON = 'SLDSDynamicIcon';\nexport const DIALOG = 'SLDSDialog';\nexport const FILES = 'SLDSFiles';\nexport const FILES_FILE = `SLDSFilesFile`;\nexport const FILES_MORE = `SLDSFilesMore`;\nexport const FILES_FIGURE = 'SLDSFilesFigure';\nexport const FILES_ACTIONS = 'SLDSFilesActions';\nexport const EXPANDABLE_SECTION = 'SLDSExpandableSection';\nexport const EXPRESSION = 'SLDSExpression';\nexport const EXPRESSION_GROUP = 'SLDSExpressionGroup';\nexport const EXPRESSION_CONDITION = 'SLDSExpressionCondition';\nexport const EXPRESSION_FORMULA = 'SLDSExpressionFormula';\nexport const FILTER = 'SLDSFilter';\nexport const CHECKBOX = 'SLDSCheckbox';\nexport const FORMS_INLINE_EDIT = 'SLDSInlineEdit';\nexport const INPUT = 'SLDSInput';\nexport const TEXTAREA = 'SLDSTextarea';\nexport const SEARCH = 'SLDSSearch';\nexport const GLOBAL_HEADER = 'SLDSGlobalHeader';\nexport const GLOBAL_HEADER_BUTTON = 'SLDSGlobalHeaderButton';\nexport const GLOBAL_HEADER_DROPDOWN = 'SLDSGlobalHeaderDropdown';\nexport const GLOBAL_HEADER_FAVORITES = 'SLDSGlobalHeaderFavorites';\nexport const GLOBAL_HEADER_HELP = 'SLDSGlobalHeaderHelp';\nexport const GLOBAL_HEADER_NOTIFICATIONS = 'SLDSGlobalHeaderNotifications';\nexport const GLOBAL_HEADER_PROFILE = 'SLDSGlobalHeaderProfile';\nexport const GLOBAL_HEADER_SEARCH = 'SLDSGlobalHeaderSearch';\nexport const GLOBAL_HEADER_SETUP = 'SLDSGlobalHeaderSetup';\nexport const GLOBAL_HEADER_TASK = 'SLDSGlobalHeaderTask';\nexport const GLOBAL_HEADER_TOOL = 'SLDSGlobalHeaderTool';\nexport const GLOBAL_NAVIGATION_BAR = 'SLDSGlobalNavigationBar';\nexport const GLOBAL_NAVIGATION_BAR_BUTTON = 'SLDSGlobalNavigationBarButton';\nexport const GLOBAL_NAVIGATION_BAR_DROPDOWN = 'SLDSGlobalNavigationBarDropdown';\nexport const GLOBAL_NAVIGATION_BAR_LABEL = 'SLDSGlobalNavigationBarLabel';\nexport const GLOBAL_NAVIGATION_BAR_LINK = 'SLDSGlobalNavigationBarLink';\nexport const GLOBAL_NAVIGATION_BAR_REGION = 'SLDSGlobalNavigationBarRegion';\nexport const GLOBAL_NAVIGATION_BAR_APP_LAUNCHER =\n\t'SLDSGlobalNavigationBarAppLauncher';\nexport const GRID = 'SLDSGrid';\nexport const HIGHLIGHTER = 'SLDSHighlighter';\nexport const ICON = 'SLDSIcon';\nexport const ICON_SETTINGS = 'SLDSIconSettings';\nexport const ICON_INPUT = 'SLDSIconInput';\nexport const ILLUSTRATION = 'SLDSIllustration';\nexport const LIST = 'SLDSList';\nexport const LIST_ITEM = 'SLDSListItem';\nexport const LIST_ITEM_LABEL = 'SLDSListItemLabel';\nexport const LISTBOX_OF_PILL_OPTIONS = 'SLDSListboxOfPillOptions';\nexport const LOCATION_MAP = 'SLDSLocationMap';\nexport const LOOKUP = 'SLDSLookup';\nexport const MEDIA_OBJECT = 'SLDSMediaObject';\nexport const MENU_DROPDOWN = 'SLDSMenuDropdown';\nexport const MENU_DROPDOWN_TRIGGER = 'SLDSMenuDropdownTrigger';\nexport const MENU_PICKLIST = 'SLDSMenuPicklist';\nexport const MODAL = 'SLDSModal';\nexport const NOTIFICATION = 'SLDSNotification';\nexport const PANEL = 'SLDSPanel';\nexport const PANEL_FILTER_GROUP = 'SLDSFilterGroup';\nexport const PANEL_FILTER_LIST = 'SLDSFilterList';\nexport const PANEL_FILTER_LIST_HEADING = 'SLDSPanelFilterListHeading';\nexport const PAGE_HEADER = 'SLDSPageHeader';\nexport const PAGE_HEADER_CONTROL = 'SLDSPageHeaderControl';\nexport const PILL = 'SLDSPill';\nexport const PILL_CONTAINER = 'SLDSPillContainer';\nexport const PORTAL_SETTINGS = 'SLDSPortalSettings';\nexport const POPOVER = 'SLDSPopover';\nexport const POPOVER_EDIT_DIALOG = 'SLDSPopoverEditDialog';\nexport const POPOVER_TOOLTIP = 'SLDSPopoverTooltip';\nexport const PROGRESS_INDICATOR = 'SLDSProgressIndicator';\nexport const PROGRESS_INDICATOR_PROGRESS = 'SLDSProgressIndicatorProgress';\nexport const PROGRESS_INDICATOR_STEP = 'SLDSProgressIndicatorStep';\nexport const PROGRESS_INDICATOR_STEP_VERTICAL =\n\t'SLDSProgressIndicatorStepVertical';\nexport const PROGRESS_RING = 'SLDSProgressRing';\nexport const PROGRESS_BAR = 'SLDSProgressBar';\nexport const SETUP_ASSISTANT = 'SLDSSetupAssistant';\nexport const SETUP_ASSISTANT_STEP = 'SLDSSetupAssistantStep';\nexport const SCOPED_NOTIFICATION = 'SLDSScopedNotification';\nexport const SLIDER = 'SLDSSlider';\nexport const SPINNER = 'SLDSSpinner';\nexport const SPLIT_VIEW = 'SLDSSplitView';\nexport const SPLIT_VIEW_HEADER = 'SLDSSplitViewHeader';\nexport const SPLIT_VIEW_LISTBOX = 'SLDSSplitViewListbox';\nexport const RADIO = 'SLDSRadio';\nexport const RADIO_GROUP = 'SLDSRadioGroup';\nexport const RADIO_BUTTON_GROUP = 'SLDSRadioButtonGroup';\nexport const TAB = 'SLDSTab';\nexport const TAB_ITEM = 'SLDSTabItem';\nexport const TAB_PANEL = 'SLDSTabPanel';\nexport const TABS = 'SLDSTabs';\nexport const TABS_LIST = 'SLDSTabsList';\nexport const TABS_PANEL = 'SLDSTabsPanel';\nexport const TIME_PICKER = 'SLDSTimepicker';\nexport const TOAST = 'SLDSToast';\nexport const TOAST_CONTAINER = 'SLDSToastContainer';\nexport const TREE = 'SLDSTree';\nexport const TREE_BRANCH = 'SLDSTreeBranch';\nexport const TREE_ITEM = 'SLDSTreeItem';\nexport const TRIAL_BAR = 'SLDSTrialBar';\nexport const TRIAL_BAR_DROPDOWN = 'SLDSTrialBarDropdown';\nexport const TRIAL_BAR_BUTTON = 'SLDSTrialBarButton';\nexport const VERTICAL_NAVIGATION = 'SLDSVerticalNavigation';\nexport const VERTICAL_NAVIGATION_ITEM = 'SLDSVerticalNavigationItem';\nexport const VISUAL_PICKER = 'SLDSVisualPicker';\nexport const VISUAL_PICKER_LINK = 'SLDSVisualPickerLink';\nexport const WELCOME_MAT = 'SLDSWelcomeMat';\nexport const WELCOME_MAT_TILE = 'SLDSWelcomeMatTile';\nexport const WELCOME_MAT_BADGE = 'SLDSWelcomeMatBadge';\nexport const DOCKED_COMPOSER = 'SLDSDockedComposer';\n"],"mappings":"AACA,IAAa,EAAY,gBACZ,EAAkB,qBAClB,EAAQ,YACR,EAAkB,qBASlB,EAAS,aACT,EAAQ,YAOR,EAAa,iBACb,EAAiB,oBACjB,EAAsB,wBACtB,EAA2B,6BAC3B,EAAqB,uBACrB,EAA8B,+BAC9B,EAA0B,2BAC1B,EAAyB,2BACzB,EAAS,aACT,EAAe,kBACf,EAAkB,qBAClB,EAAc,iBACd,EAAO,WACP,EAAY,eACZ,EAAa,gBACb,EAAc,iBACd,EAAc,iBACd,EAAc,iBACd,EAAW,eACX,EAAsB,yBACtB,EAAgB,mBAChB,EAAsB,yBACtB,E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