@sps-woodland/core 8.50.2 → 8.51.1

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 (737) hide show
  1. package/lib/action-bar/action-bar/ActionBar.css.d.ts +10 -0
  2. package/lib/action-bar/action-bar/ActionBar.css.d.ts.map +1 -0
  3. package/lib/action-bar/action-bar/ActionBar.css.js +12 -0
  4. package/lib/action-bar/action-bar/ActionBar.d.ts +9 -0
  5. package/lib/action-bar/action-bar/ActionBar.d.ts.map +1 -0
  6. package/lib/action-bar/action-bar/ActionBar.js +61 -0
  7. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts +4 -0
  8. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.d.ts.map +1 -0
  9. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +24 -0
  10. package/lib/action-bar/index.d.ts +3 -0
  11. package/lib/action-bar/index.d.ts.map +1 -0
  12. package/lib/action-bar/index.js +79 -0
  13. package/lib/action-bar/index.umd.cjs +1 -0
  14. package/lib/action-bar/style.css +1 -0
  15. package/lib/add-to-list/add-to-list/AddToList.css.d.ts +91 -0
  16. package/lib/add-to-list/add-to-list/AddToList.css.d.ts.map +1 -0
  17. package/lib/add-to-list/add-to-list/AddToList.css.js +25 -0
  18. package/lib/add-to-list/add-to-list/AddToList.d.ts +31 -0
  19. package/lib/add-to-list/add-to-list/AddToList.d.ts.map +1 -0
  20. package/lib/add-to-list/add-to-list/AddToList.js +284 -0
  21. package/lib/add-to-list/add-to-list/ItemsList.d.ts +17 -0
  22. package/lib/add-to-list/add-to-list/ItemsList.d.ts.map +1 -0
  23. package/lib/add-to-list/add-to-list/ItemsList.js +67 -0
  24. package/lib/add-to-list/add-to-list/ListItem.d.ts +8 -0
  25. package/lib/add-to-list/add-to-list/ListItem.d.ts.map +1 -0
  26. package/lib/add-to-list/add-to-list/ListItem.js +51 -0
  27. package/lib/add-to-list/index.d.ts +2 -0
  28. package/lib/add-to-list/index.d.ts.map +1 -0
  29. package/lib/add-to-list/index.js +441 -0
  30. package/lib/add-to-list/index.umd.cjs +1 -0
  31. package/lib/add-to-list/style.css +1 -0
  32. package/lib/buttons/button/Button.css.d.ts +15 -0
  33. package/lib/buttons/button/Button.css.d.ts.map +1 -0
  34. package/lib/buttons/button/Button.css.js +10 -0
  35. package/lib/buttons/button/Button.d.ts +19 -0
  36. package/lib/buttons/button/Button.d.ts.map +1 -0
  37. package/lib/buttons/button/Button.js +116 -0
  38. package/lib/buttons/index.d.ts +2 -0
  39. package/lib/buttons/index.d.ts.map +1 -0
  40. package/lib/buttons/index.js +169 -0
  41. package/lib/buttons/index.umd.cjs +1 -0
  42. package/lib/buttons/style.css +1 -0
  43. package/lib/cards/card/Card.css.d.ts +2 -0
  44. package/lib/cards/card/Card.css.d.ts.map +1 -0
  45. package/lib/cards/card/Card.css.js +5 -0
  46. package/lib/cards/card/Card.d.ts +4 -0
  47. package/lib/cards/card/Card.d.ts.map +1 -0
  48. package/lib/cards/card/Card.js +28 -0
  49. package/lib/cards/card-footer/CardFooter.css.d.ts +2 -0
  50. package/lib/cards/card-footer/CardFooter.css.d.ts.map +1 -0
  51. package/lib/cards/card-footer/CardFooter.css.js +5 -0
  52. package/lib/cards/card-footer/CardFooter.d.ts +4 -0
  53. package/lib/cards/card-footer/CardFooter.d.ts.map +1 -0
  54. package/lib/cards/card-footer/CardFooter.js +14 -0
  55. package/lib/cards/card-header/CardHeader.css.d.ts +2 -0
  56. package/lib/cards/card-header/CardHeader.css.d.ts.map +1 -0
  57. package/lib/cards/card-header/CardHeader.css.js +5 -0
  58. package/lib/cards/card-header/CardHeader.d.ts +4 -0
  59. package/lib/cards/card-header/CardHeader.d.ts.map +1 -0
  60. package/lib/cards/card-header/CardHeader.js +14 -0
  61. package/lib/cards/card-title/CardTitle.css.d.ts +2 -0
  62. package/lib/cards/card-title/CardTitle.css.d.ts.map +1 -0
  63. package/lib/cards/card-title/CardTitle.css.js +5 -0
  64. package/lib/cards/card-title/CardTitle.d.ts +4 -0
  65. package/lib/cards/card-title/CardTitle.d.ts.map +1 -0
  66. package/lib/cards/card-title/CardTitle.js +14 -0
  67. package/lib/cards/index.d.ts +5 -0
  68. package/lib/cards/index.d.ts.map +1 -0
  69. package/lib/cards/index.js +56 -0
  70. package/lib/cards/index.umd.cjs +1 -0
  71. package/lib/cards/style.css +1 -0
  72. package/lib/column-manager/column-manager/ColumnManager.d.ts +23 -0
  73. package/lib/column-manager/column-manager/ColumnManager.d.ts.map +1 -0
  74. package/lib/column-manager/column-manager/ColumnManager.js +114 -0
  75. package/lib/column-manager/column-manager/useColumnManager.d.ts +27 -0
  76. package/lib/column-manager/column-manager/useColumnManager.d.ts.map +1 -0
  77. package/lib/column-manager/column-manager/useColumnManager.js +49 -0
  78. package/lib/column-manager/index.d.ts +3 -0
  79. package/lib/column-manager/index.d.ts.map +1 -0
  80. package/lib/column-manager/index.js +6 -0
  81. package/lib/components/app-root/AppRoot.css.d.ts +2 -1
  82. package/lib/components/app-root/AppRoot.css.d.ts.map +1 -0
  83. package/lib/components/app-root/AppRoot.d.ts +1 -0
  84. package/lib/components/app-root/AppRoot.d.ts.map +1 -0
  85. package/lib/components/box/Box.d.ts +1 -0
  86. package/lib/components/box/Box.d.ts.map +1 -0
  87. package/lib/components/cap-content/CapContent.css.d.ts +1 -0
  88. package/lib/components/cap-content/CapContent.css.d.ts.map +1 -0
  89. package/lib/components/cap-content/CapContent.d.ts +1 -0
  90. package/lib/components/cap-content/CapContent.d.ts.map +1 -0
  91. package/lib/components/cap-content/CapContentTitle.d.ts +1 -0
  92. package/lib/components/cap-content/CapContentTitle.d.ts.map +1 -0
  93. package/lib/components/content/Content.css.d.ts +1 -0
  94. package/lib/components/content/Content.css.d.ts.map +1 -0
  95. package/lib/components/content/Content.d.ts +1 -0
  96. package/lib/components/content/Content.d.ts.map +1 -0
  97. package/lib/components/icon/Icon.css.d.ts +2 -1
  98. package/lib/components/icon/Icon.css.d.ts.map +1 -0
  99. package/lib/components/icon/Icon.d.ts +1 -0
  100. package/lib/components/icon/Icon.d.ts.map +1 -0
  101. package/lib/components/icon/icons/index.d.ts +1 -0
  102. package/lib/components/icon/icons/index.d.ts.map +1 -0
  103. package/lib/components/input-panel/InputPanel.css.d.ts +1 -0
  104. package/lib/components/input-panel/InputPanel.css.d.ts.map +1 -0
  105. package/lib/components/input-panel/InputPanel.d.ts +1 -0
  106. package/lib/components/input-panel/InputPanel.d.ts.map +1 -0
  107. package/lib/components/reorder-wrapper/ReorderWrapper.d.ts +1 -0
  108. package/lib/components/reorder-wrapper/ReorderWrapper.d.ts.map +1 -0
  109. package/lib/components/spinner/Spinner.css.d.ts +2 -1
  110. package/lib/components/spinner/Spinner.css.d.ts.map +1 -0
  111. package/lib/components/spinner/Spinner.d.ts +1 -0
  112. package/lib/components/spinner/Spinner.d.ts.map +1 -0
  113. package/lib/components/spinner/Spinner.examples.d.ts +1 -0
  114. package/lib/components/spinner/Spinner.examples.d.ts.map +1 -0
  115. package/lib/components/title/Title.css.d.ts +2 -1
  116. package/lib/components/title/Title.css.d.ts.map +1 -0
  117. package/lib/components/title/Title.d.ts +1 -0
  118. package/lib/components/title/Title.d.ts.map +1 -0
  119. package/lib/components/vertical-rule/VerticalRule.css.d.ts +1 -0
  120. package/lib/components/vertical-rule/VerticalRule.css.d.ts.map +1 -0
  121. package/lib/components/vertical-rule/VerticalRule.d.ts +1 -0
  122. package/lib/components/vertical-rule/VerticalRule.d.ts.map +1 -0
  123. package/lib/content-row/content-row/ContentRow.css.d.ts +150 -0
  124. package/lib/content-row/content-row/ContentRow.css.d.ts.map +1 -0
  125. package/lib/content-row/content-row/ContentRow.css.js +19 -0
  126. package/lib/content-row/content-row/ContentRow.d.ts +27 -0
  127. package/lib/content-row/content-row/ContentRow.d.ts.map +1 -0
  128. package/lib/content-row/content-row/ContentRow.js +175 -0
  129. package/lib/content-row/content-row-col/ContentRowCol.css.d.ts +51 -0
  130. package/lib/content-row/content-row-col/ContentRowCol.css.d.ts.map +1 -0
  131. package/lib/content-row/content-row-col/ContentRowCol.css.js +8 -0
  132. package/lib/content-row/content-row-col/ContentRowCol.d.ts +11 -0
  133. package/lib/content-row/content-row-col/ContentRowCol.d.ts.map +1 -0
  134. package/lib/content-row/content-row-col/ContentRowCol.js +50 -0
  135. package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts +6 -0
  136. package/lib/content-row/content-row-expansion/ContentRowExpansion.d.ts.map +1 -0
  137. package/lib/content-row/content-row-expansion/ContentRowExpansion.js +25 -0
  138. package/lib/content-row/index.d.ts +5 -0
  139. package/lib/content-row/index.d.ts.map +1 -0
  140. package/lib/content-row/index.js +336 -0
  141. package/lib/content-row/index.umd.cjs +1 -0
  142. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts +9 -0
  143. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.d.ts.map +1 -0
  144. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.css.js +6 -0
  145. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts +6 -0
  146. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.d.ts.map +1 -0
  147. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +48 -0
  148. package/lib/content-row/style.css +1 -0
  149. package/lib/content-tiles/content-tile/ContentTile.css.d.ts +59 -0
  150. package/lib/content-tiles/content-tile/ContentTile.css.d.ts.map +1 -0
  151. package/lib/content-tiles/content-tile/ContentTile.css.js +15 -0
  152. package/lib/content-tiles/content-tile/ContentTile.d.ts +16 -0
  153. package/lib/content-tiles/content-tile/ContentTile.d.ts.map +1 -0
  154. package/lib/content-tiles/content-tile/ContentTile.js +62 -0
  155. package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts +3 -0
  156. package/lib/content-tiles/content-tile-list/ContentTileList.css.d.ts.map +1 -0
  157. package/lib/content-tiles/content-tile-list/ContentTileList.css.js +6 -0
  158. package/lib/content-tiles/content-tile-list/ContentTileList.d.ts +3 -0
  159. package/lib/content-tiles/content-tile-list/ContentTileList.d.ts.map +1 -0
  160. package/lib/content-tiles/content-tile-list/ContentTileList.js +14 -0
  161. package/lib/content-tiles/index.d.ts +3 -0
  162. package/lib/content-tiles/index.d.ts.map +1 -0
  163. package/lib/content-tiles/index.js +124 -0
  164. package/lib/content-tiles/index.umd.cjs +1 -0
  165. package/lib/content-tiles/style.css +1 -0
  166. package/lib/core.css +1 -0
  167. package/lib/dropdowns/dropdown/Dropdown.css.d.ts +74 -0
  168. package/lib/dropdowns/dropdown/Dropdown.css.d.ts.map +1 -0
  169. package/lib/dropdowns/dropdown/Dropdown.css.js +9 -0
  170. package/lib/dropdowns/dropdown/Dropdown.d.ts +16 -0
  171. package/lib/dropdowns/dropdown/Dropdown.d.ts.map +1 -0
  172. package/lib/dropdowns/dropdown/Dropdown.js +70 -0
  173. package/lib/dropdowns/index.d.ts +4 -0
  174. package/lib/dropdowns/index.d.ts.map +1 -0
  175. package/lib/dropdowns/index.js +180 -0
  176. package/lib/dropdowns/index.umd.cjs +1 -0
  177. package/lib/dropdowns/option-list/Option.css.d.ts +3 -0
  178. package/lib/dropdowns/option-list/Option.css.d.ts.map +1 -0
  179. package/lib/dropdowns/option-list/Option.css.js +6 -0
  180. package/lib/dropdowns/option-list/Option.d.ts +5 -0
  181. package/lib/dropdowns/option-list/Option.d.ts.map +1 -0
  182. package/lib/dropdowns/option-list/Option.js +22 -0
  183. package/lib/dropdowns/option-list/OptionList.css.d.ts +3 -0
  184. package/lib/dropdowns/option-list/OptionList.css.d.ts.map +1 -0
  185. package/lib/dropdowns/option-list/OptionList.css.js +6 -0
  186. package/lib/dropdowns/option-list/OptionList.d.ts +11 -0
  187. package/lib/dropdowns/option-list/OptionList.d.ts.map +1 -0
  188. package/lib/dropdowns/option-list/OptionList.js +46 -0
  189. package/lib/dropdowns/style.css +1 -0
  190. package/lib/editable-table/EditableTable.d.ts +6 -0
  191. package/lib/editable-table/EditableTable.d.ts.map +1 -0
  192. package/lib/editable-table/EditableTable.js +71 -0
  193. package/lib/editable-table/index.d.ts +2 -0
  194. package/lib/editable-table/index.d.ts.map +1 -0
  195. package/lib/editable-table/index.js +4 -0
  196. package/lib/editable-table/style.css +157 -0
  197. package/lib/examples.d.ts +1 -0
  198. package/lib/examples.d.ts.map +1 -0
  199. package/lib/feedback-block/FeedbackBlock.css.d.ts +12 -0
  200. package/lib/feedback-block/FeedbackBlock.css.d.ts.map +1 -0
  201. package/lib/feedback-block/FeedbackBlock.css.js +8 -0
  202. package/lib/feedback-block/FeedbackBlock.d.ts +10 -0
  203. package/lib/feedback-block/FeedbackBlock.d.ts.map +1 -0
  204. package/lib/feedback-block/FeedbackBlock.js +38 -0
  205. package/lib/feedback-block/index.d.ts +2 -0
  206. package/lib/feedback-block/index.d.ts.map +1 -0
  207. package/lib/feedback-block/index.js +91 -0
  208. package/lib/feedback-block/index.umd.cjs +1 -0
  209. package/lib/feedback-block/style.css +1 -0
  210. package/lib/file-upload/file-upload/FileUpload.css.d.ts +95 -0
  211. package/lib/file-upload/file-upload/FileUpload.css.d.ts.map +1 -0
  212. package/lib/file-upload/file-upload/FileUpload.css.js +19 -0
  213. package/lib/file-upload/file-upload/FileUpload.d.ts +20 -0
  214. package/lib/file-upload/file-upload/FileUpload.d.ts.map +1 -0
  215. package/lib/file-upload/file-upload/FileUpload.js +197 -0
  216. package/lib/file-upload/file-upload/mime-type.enum.d.ts +98 -0
  217. package/lib/file-upload/file-upload/mime-type.enum.d.ts.map +1 -0
  218. package/lib/file-upload/file-upload/mime-type.enum.js +106 -0
  219. package/lib/file-upload/index.d.ts +2 -0
  220. package/lib/file-upload/index.d.ts.map +1 -0
  221. package/lib/file-upload/index.js +352 -0
  222. package/lib/file-upload/index.umd.cjs +1 -0
  223. package/lib/file-upload/style.css +1 -0
  224. package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts +37 -0
  225. package/lib/filter-tiles/filter-tile/FilterTile.css.d.ts.map +1 -0
  226. package/lib/filter-tiles/filter-tile/FilterTile.css.js +10 -0
  227. package/lib/filter-tiles/filter-tile/FilterTile.d.ts +9 -0
  228. package/lib/filter-tiles/filter-tile/FilterTile.d.ts.map +1 -0
  229. package/lib/filter-tiles/filter-tile/FilterTile.js +35 -0
  230. package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts +2 -0
  231. package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.d.ts.map +1 -0
  232. package/lib/filter-tiles/filter-tile-set/FilterTileSet.css.js +5 -0
  233. package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts +4 -0
  234. package/lib/filter-tiles/filter-tile-set/FilterTileSet.d.ts.map +1 -0
  235. package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +16 -0
  236. package/lib/filter-tiles/index.d.ts +3 -0
  237. package/lib/filter-tiles/index.d.ts.map +1 -0
  238. package/lib/filter-tiles/index.js +100 -0
  239. package/lib/filter-tiles/index.umd.cjs +1 -0
  240. package/lib/filter-tiles/style.css +1 -0
  241. package/lib/focused-task/focused-task/FocusedTask.css.d.ts +15 -0
  242. package/lib/focused-task/focused-task/FocusedTask.css.d.ts.map +1 -0
  243. package/lib/focused-task/focused-task/FocusedTask.css.js +13 -0
  244. package/lib/focused-task/focused-task/FocusedTask.d.ts +17 -0
  245. package/lib/focused-task/focused-task/FocusedTask.d.ts.map +1 -0
  246. package/lib/focused-task/focused-task/FocusedTask.js +77 -0
  247. package/lib/focused-task/focused-task/useFocusedTask.d.ts +17 -0
  248. package/lib/focused-task/focused-task/useFocusedTask.d.ts.map +1 -0
  249. package/lib/focused-task/focused-task/useFocusedTask.js +19 -0
  250. package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts +4 -0
  251. package/lib/focused-task/focused-task-actions/FocusedTaskActions.d.ts.map +1 -0
  252. package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +14 -0
  253. package/lib/focused-task/index.d.ts +4 -0
  254. package/lib/focused-task/index.d.ts.map +1 -0
  255. package/lib/focused-task/index.js +154 -0
  256. package/lib/focused-task/index.umd.cjs +1 -0
  257. package/lib/focused-task/style.css +1 -0
  258. package/lib/growler/Growler.css.d.ts +18 -0
  259. package/lib/growler/Growler.css.d.ts.map +1 -0
  260. package/lib/growler/Growler.css.js +13 -0
  261. package/lib/growler/Growler.d.ts +23 -0
  262. package/lib/growler/Growler.d.ts.map +1 -0
  263. package/lib/growler/Growler.js +93 -0
  264. package/lib/growler/GrowlerListProvider.d.ts +14 -0
  265. package/lib/growler/GrowlerListProvider.d.ts.map +1 -0
  266. package/lib/growler/GrowlerListProvider.js +42 -0
  267. package/lib/growler/Sonner.css.d.ts +17 -0
  268. package/lib/growler/Sonner.css.d.ts.map +1 -0
  269. package/lib/growler/Sonner.css.js +13 -0
  270. package/lib/growler/index.d.ts +4 -0
  271. package/lib/growler/index.d.ts.map +1 -0
  272. package/lib/growler/index.js +267 -0
  273. package/lib/growler/index.umd.cjs +1 -0
  274. package/lib/growler/sonner.d.ts +87 -0
  275. package/lib/growler/sonner.d.ts.map +1 -0
  276. package/lib/growler/sonner.js +86 -0
  277. package/lib/growler/style.css +1 -0
  278. package/lib/index.d.ts +1 -0
  279. package/lib/index.d.ts.map +1 -0
  280. package/lib/index.js +8 -8
  281. package/lib/index.umd.cjs +1 -1
  282. package/lib/insight-card/InsightCard.css.d.ts +20 -0
  283. package/lib/insight-card/InsightCard.css.d.ts.map +1 -0
  284. package/lib/insight-card/InsightCard.css.js +14 -0
  285. package/lib/insight-card/InsightCard.d.ts +15 -0
  286. package/lib/insight-card/InsightCard.d.ts.map +1 -0
  287. package/lib/insight-card/InsightCard.js +69 -0
  288. package/lib/insight-card/InsightCardSet.d.ts +3 -0
  289. package/lib/insight-card/InsightCardSet.d.ts.map +1 -0
  290. package/lib/insight-card/InsightCardSet.js +13 -0
  291. package/lib/insight-card/index.d.ts +3 -0
  292. package/lib/insight-card/index.d.ts.map +1 -0
  293. package/lib/insight-card/index.js +130 -0
  294. package/lib/insight-card/index.umd.cjs +1 -0
  295. package/lib/insight-card/style.css +1 -0
  296. package/lib/key-value-set/index.d.ts +3 -0
  297. package/lib/key-value-set/index.d.ts.map +1 -0
  298. package/lib/key-value-set/index.js +95 -0
  299. package/lib/key-value-set/index.umd.cjs +1 -0
  300. package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts +7 -0
  301. package/lib/key-value-set/key-value-set/KeyValueSet.css.d.ts.map +1 -0
  302. package/lib/key-value-set/key-value-set/KeyValueSet.css.js +6 -0
  303. package/lib/key-value-set/key-value-set/KeyValueSet.d.ts +6 -0
  304. package/lib/key-value-set/key-value-set/KeyValueSet.d.ts.map +1 -0
  305. package/lib/key-value-set/key-value-set/KeyValueSet.js +23 -0
  306. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts +14 -0
  307. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.d.ts.map +1 -0
  308. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.css.js +8 -0
  309. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts +7 -0
  310. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.d.ts.map +1 -0
  311. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +23 -0
  312. package/lib/key-value-set/style.css +1 -0
  313. package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts +11 -0
  314. package/lib/list-bar/advanced-search/AdvancedSearch.css.d.ts.map +1 -0
  315. package/lib/list-bar/advanced-search/AdvancedSearch.css.js +9 -0
  316. package/lib/list-bar/advanced-search/AdvancedSearch.d.ts +16 -0
  317. package/lib/list-bar/advanced-search/AdvancedSearch.d.ts.map +1 -0
  318. package/lib/list-bar/advanced-search/AdvancedSearch.js +56 -0
  319. package/lib/list-bar/index.d.ts +8 -0
  320. package/lib/list-bar/index.d.ts.map +1 -0
  321. package/lib/list-bar/index.js +317 -0
  322. package/lib/list-bar/index.umd.cjs +1 -0
  323. package/lib/list-bar/list-bar/InputGroupWrapper.d.ts +4 -0
  324. package/lib/list-bar/list-bar/InputGroupWrapper.d.ts.map +1 -0
  325. package/lib/list-bar/list-bar/InputGroupWrapper.js +20 -0
  326. package/lib/list-bar/list-bar/ListBar.css.d.ts +39 -0
  327. package/lib/list-bar/list-bar/ListBar.css.d.ts.map +1 -0
  328. package/lib/list-bar/list-bar/ListBar.css.js +18 -0
  329. package/lib/list-bar/list-bar/ListBar.d.ts +20 -0
  330. package/lib/list-bar/list-bar/ListBar.d.ts.map +1 -0
  331. package/lib/list-bar/list-bar/ListBar.js +123 -0
  332. package/lib/list-bar/list-bar/ListBarSearch.d.ts +6 -0
  333. package/lib/list-bar/list-bar/ListBarSearch.d.ts.map +1 -0
  334. package/lib/list-bar/list-bar/ListBarSearch.js +23 -0
  335. package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts +4 -0
  336. package/lib/list-bar/list-bar/ListBarSearchInfo.d.ts.map +1 -0
  337. package/lib/list-bar/list-bar/ListBarSearchInfo.js +13 -0
  338. package/lib/list-bar/list-bar/ListBarSortBy.d.ts +16 -0
  339. package/lib/list-bar/list-bar/ListBarSortBy.d.ts.map +1 -0
  340. package/lib/list-bar/list-bar/ListBarSortBy.js +40 -0
  341. package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts +10 -0
  342. package/lib/list-bar/search-results-bar/SearchResultsBar.css.d.ts.map +1 -0
  343. package/lib/list-bar/search-results-bar/SearchResultsBar.css.js +14 -0
  344. package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts +11 -0
  345. package/lib/list-bar/search-results-bar/SearchResultsBar.d.ts.map +1 -0
  346. package/lib/list-bar/search-results-bar/SearchResultsBar.js +30 -0
  347. package/lib/list-bar/style.css +1 -0
  348. package/lib/manifest.d.ts +1 -0
  349. package/lib/manifest.d.ts.map +1 -0
  350. package/lib/matrix/index.d.ts +7 -0
  351. package/lib/matrix/index.d.ts.map +1 -0
  352. package/lib/matrix/index.js +95 -0
  353. package/lib/matrix/index.umd.cjs +1 -0
  354. package/lib/matrix/matrix/Matrix.css.d.ts +5 -0
  355. package/lib/matrix/matrix/Matrix.css.d.ts.map +1 -0
  356. package/lib/matrix/matrix/Matrix.css.js +8 -0
  357. package/lib/matrix/matrix/Matrix.d.ts +6 -0
  358. package/lib/matrix/matrix/Matrix.d.ts.map +1 -0
  359. package/lib/matrix/matrix/Matrix.js +28 -0
  360. package/lib/matrix/matrix-body/MatrixBody.d.ts +4 -0
  361. package/lib/matrix/matrix-body/MatrixBody.d.ts.map +1 -0
  362. package/lib/matrix/matrix-body/MatrixBody.js +15 -0
  363. package/lib/matrix/matrix-cell/MatrixCell.d.ts +4 -0
  364. package/lib/matrix/matrix-cell/MatrixCell.d.ts.map +1 -0
  365. package/lib/matrix/matrix-cell/MatrixCell.js +19 -0
  366. package/lib/matrix/matrix-head/MatrixHead.d.ts +4 -0
  367. package/lib/matrix/matrix-head/MatrixHead.d.ts.map +1 -0
  368. package/lib/matrix/matrix-head/MatrixHead.js +15 -0
  369. package/lib/matrix/matrix-header/MatrixHeader.d.ts +16 -0
  370. package/lib/matrix/matrix-header/MatrixHeader.d.ts.map +1 -0
  371. package/lib/matrix/matrix-header/MatrixHeader.js +25 -0
  372. package/lib/matrix/matrix-row/MatrixRow.d.ts +4 -0
  373. package/lib/matrix/matrix-row/MatrixRow.d.ts.map +1 -0
  374. package/lib/matrix/matrix-row/MatrixRow.js +15 -0
  375. package/lib/matrix/style.css +1 -0
  376. package/lib/metadata/metadata.d.ts +1 -0
  377. package/lib/metadata/metadata.d.ts.map +1 -0
  378. package/lib/modal/index.d.ts +4 -0
  379. package/lib/modal/index.d.ts.map +1 -0
  380. package/lib/modal/index.js +197 -0
  381. package/lib/modal/index.umd.cjs +1 -0
  382. package/lib/modal/modal/Modal.css.d.ts +20 -0
  383. package/lib/modal/modal/Modal.css.d.ts.map +1 -0
  384. package/lib/modal/modal/Modal.css.js +14 -0
  385. package/lib/modal/modal/Modal.d.ts +27 -0
  386. package/lib/modal/modal/Modal.d.ts.map +1 -0
  387. package/lib/modal/modal/Modal.js +113 -0
  388. package/lib/modal/modal/useModal.d.ts +17 -0
  389. package/lib/modal/modal/useModal.d.ts.map +1 -0
  390. package/lib/modal/modal/useModal.js +26 -0
  391. package/lib/modal/modal-footer/ModalFooter.d.ts +4 -0
  392. package/lib/modal/modal-footer/ModalFooter.d.ts.map +1 -0
  393. package/lib/modal/modal-footer/ModalFooter.js +14 -0
  394. package/lib/modal/style.css +1 -0
  395. package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +57 -0
  396. package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.js +11 -0
  397. package/lib/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js +4 -0
  398. package/lib/page-title/index.d.ts +3 -0
  399. package/lib/page-title/index.d.ts.map +1 -0
  400. package/lib/page-title/index.js +32 -0
  401. package/lib/page-title/index.umd.cjs +1 -0
  402. package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts +3 -0
  403. package/lib/page-title/page-subtitle/PageSubtitle.css.d.ts.map +1 -0
  404. package/lib/page-title/page-subtitle/PageSubtitle.css.js +6 -0
  405. package/lib/page-title/page-subtitle/PageSubtitle.d.ts +4 -0
  406. package/lib/page-title/page-subtitle/PageSubtitle.d.ts.map +1 -0
  407. package/lib/page-title/page-subtitle/PageSubtitle.js +19 -0
  408. package/lib/page-title/page-title/PageTitle.css.d.ts +4 -0
  409. package/lib/page-title/page-title/PageTitle.css.d.ts.map +1 -0
  410. package/lib/page-title/page-title/PageTitle.css.js +7 -0
  411. package/lib/page-title/page-title/PageTitle.d.ts +4 -0
  412. package/lib/page-title/page-title/PageTitle.d.ts.map +1 -0
  413. package/lib/page-title/page-title/PageTitle.js +17 -0
  414. package/lib/page-title/style.css +1 -0
  415. package/lib/photo/index.d.ts +3 -0
  416. package/lib/photo/index.d.ts.map +1 -0
  417. package/lib/photo/index.js +179 -0
  418. package/lib/photo/index.umd.cjs +1 -0
  419. package/lib/photo/photo/Photo.css.d.ts +12 -0
  420. package/lib/photo/photo/Photo.css.d.ts.map +1 -0
  421. package/lib/photo/photo/Photo.css.js +8 -0
  422. package/lib/photo/photo/Photo.d.ts +11 -0
  423. package/lib/photo/photo/Photo.d.ts.map +1 -0
  424. package/lib/photo/photo/Photo.js +83 -0
  425. package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts +13 -0
  426. package/lib/photo/photo-carousel/PhotoCarousel.css.d.ts.map +1 -0
  427. package/lib/photo/photo-carousel/PhotoCarousel.css.js +10 -0
  428. package/lib/photo/photo-carousel/PhotoCarousel.d.ts +4 -0
  429. package/lib/photo/photo-carousel/PhotoCarousel.d.ts.map +1 -0
  430. package/lib/photo/photo-carousel/PhotoCarousel.js +48 -0
  431. package/lib/photo/style.css +1 -0
  432. package/lib/product-bar/hooks/usePriorityPlus.d.ts +33 -0
  433. package/lib/product-bar/hooks/usePriorityPlus.d.ts.map +1 -0
  434. package/lib/product-bar/hooks/usePriorityPlus.js +106 -0
  435. package/lib/product-bar/index.d.ts +5 -0
  436. package/lib/product-bar/index.d.ts.map +1 -0
  437. package/lib/product-bar/index.js +397 -0
  438. package/lib/product-bar/index.umd.cjs +1 -0
  439. package/lib/product-bar/product-bar/ProductBar.css.d.ts +43 -0
  440. package/lib/product-bar/product-bar/ProductBar.css.d.ts.map +1 -0
  441. package/lib/product-bar/product-bar/ProductBar.css.js +15 -0
  442. package/lib/product-bar/product-bar/ProductBar.d.ts +14 -0
  443. package/lib/product-bar/product-bar/ProductBar.d.ts.map +1 -0
  444. package/lib/product-bar/product-bar/ProductBar.js +107 -0
  445. package/lib/product-bar/product-bar-name/ProductBarName.d.ts +12 -0
  446. package/lib/product-bar/product-bar-name/ProductBarName.d.ts.map +1 -0
  447. package/lib/product-bar/product-bar-name/ProductBarName.js +33 -0
  448. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts +23 -0
  449. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.d.ts.map +1 -0
  450. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.css.js +9 -0
  451. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts +13 -0
  452. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.d.ts.map +1 -0
  453. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +71 -0
  454. package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts +16 -0
  455. package/lib/product-bar/product-bar-tab/ProductBarTab.d.ts.map +1 -0
  456. package/lib/product-bar/product-bar-tab/ProductBarTab.js +24 -0
  457. package/lib/product-bar/slack-link/SlackLink.css.d.ts +3 -0
  458. package/lib/product-bar/slack-link/SlackLink.css.d.ts.map +1 -0
  459. package/lib/product-bar/slack-link/SlackLink.css.js +6 -0
  460. package/lib/product-bar/slack-link/SlackLink.d.ts +6 -0
  461. package/lib/product-bar/slack-link/SlackLink.d.ts.map +1 -0
  462. package/lib/product-bar/slack-link/SlackLink.js +32 -0
  463. package/lib/product-bar/style.css +1 -0
  464. package/lib/product-bar-vertical/index.d.ts +5 -0
  465. package/lib/product-bar-vertical/index.d.ts.map +1 -0
  466. package/lib/product-bar-vertical/index.js +261 -0
  467. package/lib/product-bar-vertical/index.umd.cjs +1 -0
  468. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts +78 -0
  469. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.d.ts.map +1 -0
  470. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.css.js +24 -0
  471. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts +8 -0
  472. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.d.ts.map +1 -0
  473. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +62 -0
  474. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts +9 -0
  475. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.d.ts.map +1 -0
  476. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +44 -0
  477. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts +15 -0
  478. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.d.ts.map +1 -0
  479. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +91 -0
  480. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts +10 -0
  481. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.d.ts.map +1 -0
  482. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +30 -0
  483. package/lib/product-bar-vertical/style.css +1 -0
  484. package/lib/progress-indicators/index.d.ts +4 -0
  485. package/lib/progress-indicators/index.d.ts.map +1 -0
  486. package/lib/progress-indicators/index.js +264 -0
  487. package/lib/progress-indicators/index.umd.cjs +1 -0
  488. package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts +19 -0
  489. package/lib/progress-indicators/progress-bar/ProgressBar.css.d.ts.map +1 -0
  490. package/lib/progress-indicators/progress-bar/ProgressBar.css.js +14 -0
  491. package/lib/progress-indicators/progress-bar/ProgressBar.d.ts +13 -0
  492. package/lib/progress-indicators/progress-bar/ProgressBar.d.ts.map +1 -0
  493. package/lib/progress-indicators/progress-bar/ProgressBar.js +112 -0
  494. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts +14 -0
  495. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.d.ts.map +1 -0
  496. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.css.js +9 -0
  497. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts +14 -0
  498. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.d.ts.map +1 -0
  499. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +56 -0
  500. package/lib/progress-indicators/progress-ring/ProgressRing.d.ts +8 -0
  501. package/lib/progress-indicators/progress-ring/ProgressRing.d.ts.map +1 -0
  502. package/lib/progress-indicators/progress-ring/ProgressRing.js +54 -0
  503. package/lib/progress-indicators/style.css +1 -0
  504. package/lib/rich-text-editor/index.d.ts +3 -0
  505. package/lib/rich-text-editor/index.d.ts.map +1 -0
  506. package/lib/rich-text-editor/index.js +588 -0
  507. package/lib/rich-text-editor/index.umd.cjs +13 -0
  508. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts +13 -0
  509. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.d.ts.map +1 -0
  510. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +35 -0
  511. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts +16 -0
  512. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.d.ts.map +1 -0
  513. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.css.js +7 -0
  514. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts +11 -0
  515. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.d.ts.map +1 -0
  516. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +38 -0
  517. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts +15 -0
  518. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.d.ts.map +1 -0
  519. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.css.js +9 -0
  520. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts +8 -0
  521. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.d.ts.map +1 -0
  522. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +81 -0
  523. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts +2 -0
  524. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.d.ts.map +1 -0
  525. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +20 -0
  526. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts +2 -0
  527. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.d.ts.map +1 -0
  528. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +22 -0
  529. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts +14 -0
  530. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.d.ts.map +1 -0
  531. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +28 -0
  532. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts +6 -0
  533. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.d.ts.map +1 -0
  534. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +94 -0
  535. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts +7 -0
  536. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.d.ts.map +1 -0
  537. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +37 -0
  538. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts +15 -0
  539. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.d.ts.map +1 -0
  540. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +214 -0
  541. package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -0
  542. package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -0
  543. package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -0
  544. package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -0
  545. package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -0
  546. package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -0
  547. package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -0
  548. package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -0
  549. package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -0
  550. package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -0
  551. package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts +12 -0
  552. package/lib/rich-text-editor/rich-text-editor/icons/index.d.ts.map +1 -0
  553. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts +10 -0
  554. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.d.ts.map +1 -0
  555. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +13 -0
  556. package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts +3 -0
  557. package/lib/rich-text-editor/rich-text-editor/utils/utils.d.ts.map +1 -0
  558. package/lib/rich-text-editor/rich-text-editor/utils/utils.js +16 -0
  559. package/lib/rich-text-editor/style.css +1 -0
  560. package/lib/scrollable-container/ScrollableContainer.css.d.ts +2 -0
  561. package/lib/scrollable-container/ScrollableContainer.css.d.ts.map +1 -0
  562. package/lib/scrollable-container/ScrollableContainer.css.js +5 -0
  563. package/lib/scrollable-container/ScrollableContainer.d.ts +6 -0
  564. package/lib/scrollable-container/ScrollableContainer.d.ts.map +1 -0
  565. package/lib/scrollable-container/ScrollableContainer.js +29 -0
  566. package/lib/scrollable-container/index.d.ts +2 -0
  567. package/lib/scrollable-container/index.d.ts.map +1 -0
  568. package/lib/scrollable-container/index.js +29 -0
  569. package/lib/scrollable-container/index.umd.cjs +1 -0
  570. package/lib/scrollable-container/style.css +1 -0
  571. package/lib/side-nav/index.d.ts +5 -0
  572. package/lib/side-nav/index.d.ts.map +1 -0
  573. package/lib/side-nav/index.js +228 -0
  574. package/lib/side-nav/index.umd.cjs +1 -0
  575. package/lib/side-nav/side-nav/SideNav.css.d.ts +30 -0
  576. package/lib/side-nav/side-nav/SideNav.css.d.ts.map +1 -0
  577. package/lib/side-nav/side-nav/SideNav.css.js +17 -0
  578. package/lib/side-nav/side-nav/SideNav.d.ts +9 -0
  579. package/lib/side-nav/side-nav/SideNav.d.ts.map +1 -0
  580. package/lib/side-nav/side-nav/SideNav.js +62 -0
  581. package/lib/side-nav/side-nav/navContext.d.ts +5 -0
  582. package/lib/side-nav/side-nav/navContext.d.ts.map +1 -0
  583. package/lib/side-nav/side-nav/navContext.js +8 -0
  584. package/lib/side-nav/side-nav-header/SideNavHeader.d.ts +4 -0
  585. package/lib/side-nav/side-nav-header/SideNavHeader.d.ts.map +1 -0
  586. package/lib/side-nav/side-nav-header/SideNavHeader.js +17 -0
  587. package/lib/side-nav/side-nav-item/SideNavItem.d.ts +25 -0
  588. package/lib/side-nav/side-nav-item/SideNavItem.d.ts.map +1 -0
  589. package/lib/side-nav/side-nav-item/SideNavItem.js +84 -0
  590. package/lib/side-nav/side-nav-section/SideNavSection.d.ts +7 -0
  591. package/lib/side-nav/side-nav-section/SideNavSection.d.ts.map +1 -0
  592. package/lib/side-nav/side-nav-section/SideNavSection.js +28 -0
  593. package/lib/side-nav/style.css +1 -0
  594. package/lib/sorting-header/caret/caret.css.d.ts +21 -0
  595. package/lib/sorting-header/caret/caret.css.d.ts.map +1 -0
  596. package/lib/sorting-header/caret/caret.css.js +6 -0
  597. package/lib/sorting-header/index.d.ts +3 -0
  598. package/lib/sorting-header/index.d.ts.map +1 -0
  599. package/lib/sorting-header/index.js +250 -0
  600. package/lib/sorting-header/index.umd.cjs +1 -0
  601. package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts +39 -0
  602. package/lib/sorting-header/sorting-header/SortingHeader.css.d.ts.map +1 -0
  603. package/lib/sorting-header/sorting-header/SortingHeader.css.js +7 -0
  604. package/lib/sorting-header/sorting-header/SortingHeader.d.ts +9 -0
  605. package/lib/sorting-header/sorting-header/SortingHeader.d.ts.map +1 -0
  606. package/lib/sorting-header/sorting-header/SortingHeader.js +126 -0
  607. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts +35 -0
  608. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.d.ts.map +1 -0
  609. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.css.js +6 -0
  610. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts +12 -0
  611. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.d.ts.map +1 -0
  612. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +77 -0
  613. package/lib/sorting-header/style.css +1 -0
  614. package/lib/style.css +1 -1
  615. package/lib/tabs/index.d.ts +4 -0
  616. package/lib/tabs/index.d.ts.map +1 -0
  617. package/lib/tabs/index.js +206 -0
  618. package/lib/tabs/index.umd.cjs +1 -0
  619. package/lib/tabs/style.css +1 -0
  620. package/lib/tabs/tab/Tab.css.d.ts +12 -0
  621. package/lib/tabs/tab/Tab.css.d.ts.map +1 -0
  622. package/lib/tabs/tab/Tab.css.js +7 -0
  623. package/lib/tabs/tab/Tab.d.ts +10 -0
  624. package/lib/tabs/tab/Tab.d.ts.map +1 -0
  625. package/lib/tabs/tab/Tab.js +28 -0
  626. package/lib/tabs/tab-panel/TabPanel.d.ts +9 -0
  627. package/lib/tabs/tab-panel/TabPanel.d.ts.map +1 -0
  628. package/lib/tabs/tab-panel/TabPanel.js +24 -0
  629. package/lib/tabs/tabs/Tabs.css.d.ts +30 -0
  630. package/lib/tabs/tabs/Tabs.css.d.ts.map +1 -0
  631. package/lib/tabs/tabs/Tabs.css.js +11 -0
  632. package/lib/tabs/tabs/Tabs.d.ts +6 -0
  633. package/lib/tabs/tabs/Tabs.d.ts.map +1 -0
  634. package/lib/tabs/tabs/Tabs.js +113 -0
  635. package/lib/tags/clickable-tag/ClickableTag.css.d.ts +17 -0
  636. package/lib/tags/clickable-tag/ClickableTag.css.d.ts.map +1 -0
  637. package/lib/tags/clickable-tag/ClickableTag.css.js +10 -0
  638. package/lib/tags/clickable-tag/ClickableTag.d.ts +13 -0
  639. package/lib/tags/clickable-tag/ClickableTag.d.ts.map +1 -0
  640. package/lib/tags/clickable-tag/ClickableTag.js +72 -0
  641. package/lib/tags/index.d.ts +4 -0
  642. package/lib/tags/index.d.ts.map +1 -0
  643. package/lib/tags/index.js +189 -0
  644. package/lib/tags/index.umd.cjs +1 -0
  645. package/lib/tags/split-tag/SplitTag.css.d.ts +67 -0
  646. package/lib/tags/split-tag/SplitTag.css.d.ts.map +1 -0
  647. package/lib/tags/split-tag/SplitTag.css.js +10 -0
  648. package/lib/tags/split-tag/SplitTag.d.ts +14 -0
  649. package/lib/tags/split-tag/SplitTag.d.ts.map +1 -0
  650. package/lib/tags/split-tag/SplitTag.js +32 -0
  651. package/lib/tags/style.css +1 -0
  652. package/lib/tags/tag/Tag.css.d.ts +24 -0
  653. package/lib/tags/tag/Tag.css.d.ts.map +1 -0
  654. package/lib/tags/tag/Tag.css.js +7 -0
  655. package/lib/tags/tag/Tag.d.ts +11 -0
  656. package/lib/tags/tag/Tag.d.ts.map +1 -0
  657. package/lib/tags/tag/Tag.js +41 -0
  658. package/lib/types/table.d.ts +1 -0
  659. package/lib/types/table.d.ts.map +1 -0
  660. package/lib/utils/ChildrenFn.d.ts +1 -0
  661. package/lib/utils/ChildrenFn.d.ts.map +1 -0
  662. package/lib/utils/ComponentProps.d.ts +1 -0
  663. package/lib/utils/ComponentProps.d.ts.map +1 -0
  664. package/lib/utils/Provide.d.ts +1 -0
  665. package/lib/utils/Provide.d.ts.map +1 -0
  666. package/lib/utils/VariantDefinitions.d.ts +1 -0
  667. package/lib/utils/VariantDefinitions.d.ts.map +1 -0
  668. package/lib/utils/addClassName.d.ts +1 -0
  669. package/lib/utils/addClassName.d.ts.map +1 -0
  670. package/lib/utils/addProps.d.ts +1 -0
  671. package/lib/utils/addProps.d.ts.map +1 -0
  672. package/lib/utils/bindProps.d.ts +1 -0
  673. package/lib/utils/bindProps.d.ts.map +1 -0
  674. package/lib/utils/cl.d.ts +1 -0
  675. package/lib/utils/cl.d.ts.map +1 -0
  676. package/lib/utils/combineEventHandlers.d.ts +1 -0
  677. package/lib/utils/combineEventHandlers.d.ts.map +1 -0
  678. package/lib/utils/contentOf.d.ts +1 -0
  679. package/lib/utils/contentOf.d.ts.map +1 -0
  680. package/lib/utils/getScrollParent.d.ts +1 -0
  681. package/lib/utils/getScrollParent.d.ts.map +1 -0
  682. package/lib/utils/modChildren.d.ts +1 -0
  683. package/lib/utils/modChildren.d.ts.map +1 -0
  684. package/lib/utils/selectChildren.d.ts +1 -0
  685. package/lib/utils/selectChildren.d.ts.map +1 -0
  686. package/lib/utils/useChildTestIdAttrBuilder.d.ts +1 -0
  687. package/lib/utils/useChildTestIdAttrBuilder.d.ts.map +1 -0
  688. package/lib/utils/useElementId.d.ts +1 -0
  689. package/lib/utils/useElementId.d.ts.map +1 -0
  690. package/lib/utils/usePatchReducer.d.ts +1 -0
  691. package/lib/utils/usePatchReducer.d.ts.map +1 -0
  692. package/lib/utils/usePortal.d.ts +1 -0
  693. package/lib/utils/usePortal.d.ts.map +1 -0
  694. package/lib/zero-state/ZeroState.css.d.ts +41 -0
  695. package/lib/zero-state/ZeroState.css.d.ts.map +1 -0
  696. package/lib/zero-state/ZeroState.css.js +12 -0
  697. package/lib/zero-state/ZeroState.d.ts +12 -0
  698. package/lib/zero-state/ZeroState.d.ts.map +1 -0
  699. package/lib/zero-state/ZeroState.js +31 -0
  700. package/lib/zero-state/index.d.ts +2 -0
  701. package/lib/zero-state/index.d.ts.map +1 -0
  702. package/lib/zero-state/index.js +84 -0
  703. package/lib/zero-state/index.umd.cjs +1 -0
  704. package/lib/zero-state/style.css +1 -0
  705. package/package.json +755 -6
  706. package/vite.action-bar.config.mjs +40 -0
  707. package/vite.add-to-list.config.mjs +40 -0
  708. package/vite.buttons.config.mjs +41 -0
  709. package/vite.cards.config.mjs +40 -0
  710. package/vite.config.mjs +7 -1
  711. package/vite.content-row.config.mjs +40 -0
  712. package/vite.content-tiles.config.mjs +40 -0
  713. package/vite.dropdowns.config.mjs +41 -0
  714. package/vite.editable-table.config.mjs +68 -0
  715. package/vite.feedback-block.config.mjs +40 -0
  716. package/vite.file-upload.config.mjs +40 -0
  717. package/vite.filter-tiles.config.mjs +40 -0
  718. package/vite.focused-task.config.mjs +40 -0
  719. package/vite.growler.config.mjs +41 -0
  720. package/vite.insight-card.config.mjs +40 -0
  721. package/vite.key-value-set.config.mjs +40 -0
  722. package/vite.list-bar.config.mjs +40 -0
  723. package/vite.matrix.config.mjs +40 -0
  724. package/vite.modal.config.mjs +40 -0
  725. package/vite.page-title.config.mjs +40 -0
  726. package/vite.photo.config.mjs +40 -0
  727. package/vite.product-bar-vertical.config.mjs +40 -0
  728. package/vite.product-bar.config.mjs +42 -0
  729. package/vite.progress-indicators.config.mjs +40 -0
  730. package/vite.rich-text-editor.config.mjs +48 -0
  731. package/vite.scrollable-container.config.mjs +40 -0
  732. package/vite.side-nav.config.mjs +40 -0
  733. package/vite.sorting-header.config.mjs +40 -0
  734. package/vite.subpaths.config.mjs +246 -0
  735. package/vite.tabs.config.mjs +43 -0
  736. package/vite.tags.config.mjs +40 -0
  737. package/vite.zero-state.config.mjs +40 -0
@@ -0,0 +1,13 @@
1
+ (function(u,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("@sps-woodland/core"),require("react"),require("@spscommerce/ds-react"),require("@sps-woodland/core/button"),require("@spscommerce/i18n"),require("@sps-woodland/tokens"),require("remark-parse"),require("remark-rehype"),require("rehype-sanitize"),require("rehype-stringify"),require("unified"),require("unist-util-visit"),require("rehype-parse"),require("rehype-remark"),require("remark-stringify")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react","@spscommerce/ds-react","@sps-woodland/core/button","@spscommerce/i18n","@sps-woodland/tokens","remark-parse","remark-rehype","rehype-sanitize","rehype-stringify","unified","unist-util-visit","rehype-parse","rehype-remark","remark-stringify"],w):(u=typeof globalThis<"u"?globalThis:u||self,w(u.RichTextEditor={},u.core,u.React,u.dsReact,u.button$1,u.i18n,u.tokens,u.remarkParse,u.remarkRehype,u.rehypeSanitize,u.rehypeStringify,u.unified,u.unistUtilVisit,u.rehypeParse,u.rehypeRemark,u.remarkStringify))})(this,(function(u,w,f,v,A,B,x,D,U,P,V,T,H,F,q,$){"use strict";function j(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const d=j(f);function Z({onClose:t,selectionDOMContextFind:n,selectionRange:e}){const{t:r}=B.useWoodlandLanguage(),o=d.useRef(e),s=d.useRef(!1),{formValue:i,formMeta:c,updateForm:a}=v.useSpsForm({text:e?.toString()||"",link:""});return d.useEffect(()=>{if(!s.current){const l=n(g=>g.tagName==="A");l&&(a({text:l.textContent||"",link:l.getAttribute("href")||""}),s.current=!0)}},[n]),d.createElement(v.SpsModal,{title:"Add Link",onClose:()=>t(o.current)},d.createElement("div",{className:"sg-row"},d.createElement("div",{className:"sg-col-12"},d.createElement(v.SpsLabel,{for:c.fields.text},r("richTextEditor.linkModal.text",{defaultValue:"Text"})),d.createElement(v.SpsTextInput,{formMeta:c.fields.text,value:i.text}))),d.createElement("div",{className:"sg-row"},d.createElement("div",{className:"sg-col-12"},d.createElement(v.SpsLabel,{for:c.fields.link},r("richTextEditor.linkModal.link",{defaultValue:"Link"})),d.createElement(v.SpsTextInput,{formMeta:c.fields.link,value:i.link}))),d.createElement(v.SpsModalFooter,null,d.createElement(A.Button,{onClick:()=>t(o.current,i)},r("richTextEditor.linkModal.ok",{defaultValue:"OK"}))))}function G(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function S(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),e.push.apply(e,r)}return e}function M(t){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?S(Object(e),!0).forEach(function(r){G(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):S(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}var z=(t,n,e)=>{for(var r of Object.keys(t)){var o;if(t[r]!==((o=n[r])!==null&&o!==void 0?o:e[r]))return!1}return!0},E=t=>n=>{var e=t.defaultClassName,r=M(M({},t.defaultVariants),n);for(var o in r){var s,i=(s=r[o])!==null&&s!==void 0?s:t.defaultVariants[o];if(i!=null){var c=i;typeof c=="boolean"&&(c=c===!0?"true":"false");var a=t.variantClassNames[o][c];a&&(e+=" "+a)}}for(var[l,g]of t.compoundVariants)z(l,r,t.defaultVariants)&&(e+=" "+g);return e},K=E({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1903a6n0",variantClassNames:{active:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1903a6n1",false:"pkg_sps-woodland_core__version_8_51_1__hash_1903a6n2"}},defaultVariants:{},compoundVariants:[]}),W={icon:"pkg_sps-woodland_core__version_8_51_1__hash_1903a6n3"};function J({icon:t,onClick:n,selectionDOMContextFind:e,activeTest:r,isSimpleToggle:o=!1,...s}){const[i,c]=d.useState(!1);d.useEffect(()=>{r&&c(!!e(r))},[e]);const a=d.useCallback(()=>{n&&n(i),o&&c(!i)},[n,i]);return d.createElement("button",{className:K({active:i}),onClick:a,onMouseDown:l=>l.preventDefault(),...s},d.createElement("span",{className:W.icon,style:{backgroundImage:'url("'+t+'")'},"aria-hidden":"true"}))}var Q=E({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss0",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss1",false:"pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss2"}},defaultVariants:{disabled:!1},compoundVariants:[]}),X=E({defaultClassName:"pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss3",variantClassNames:{disabled:{true:"pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss4",false:"pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss5"}},defaultVariants:{},compoundVariants:[]}),Y="pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss6",e0="pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss7";function t0(){return t=>(H.visit(t,"listItem",n=>{const e=Array.from(n.children);if(e.length>0&&e[0].type==="paragraph"){const r=e[0],s=Array.from(r.children).concat(e.slice(1));n.children=s}}),t)}function n0(){const t=f.useMemo(()=>T.unified().use(D).use(t0).use(U).use(P).use(V),[]);return f.useMemo(()=>function(e){return t.process(e).then(String)},[t])}function r0(){const t=f.useMemo(()=>T.unified().use(F).use(q).use($),[]);return f.useMemo(()=>function(e){return t.process(e).then(String)},[])}function o0(t="",n=""){const[e,r]=f.useState(),[o,s]=f.useState({html:n}),i=r0(),c=n0(),a=f.useCallback(async m=>{const h=await c(m),p={md:m,html:h};return r(p),p},[c]),l=f.useCallback(async m=>{const p={md:await i(m),html:m};return r(p),p},[i]);f.useEffect(()=>{!n&&t!==e?.md?a(t).then(({html:m})=>{s({html:m})}):!t&&n&&n!==e?.html&&l(n)},[t,n]);function g(m){m.current&&l(m.current.innerHTML)}return{aggValue:e,editableDivInnerHtml:o,updateStateFromDiv:g}}function i0(t){if(t instanceof HTMLElement){for(const n of Array.from(t.attributes))/(style|class|data-[^=]+)/.test(n.name)&&t.removeAttribute(n.name);t.innerHTML=t.innerHTML.replace(/(style|class|data-[^=]+)="[^"]+"/g,"")}}const s0=[{regex:/\*\*([^*]+)\*\*/,command:"bold"},{regex:new RegExp("(?<!\\*)\\*([^*]+)\\*"),command:"italic"},{regex:/^\*[ \u00a0]/,command:"insertUnorderedList"},{regex:/^1\.[ \u00a0]/,command:"insertOrderedList"},{regex:/\[([^\]]+)\]\(([^)]+)\)/,command:"createLink",getCommandArg:([,,t])=>/^https?:\/\//.test(t)?t:`https://${t}`}];function c0(t,n,e){const r=document.createRange();r.setStart(t,n),r.setEnd(t,e);const o=window.getSelection();o?.removeAllRanges(),o?.addRange(r)}function k(t){const n=document.createRange();n.setStartAfter(t),n.setEndAfter(t);const e=window.getSelection();e?.removeAllRanges(),e?.addRange(n)}function a0(t){const n=document.createRange();n.setStartBefore(t),n.setEndBefore(t);const e=window.getSelection();e?.removeAllRanges(),e?.addRange(n)}function l0(t){const n=f.useRef(null),e=f.useMemo(()=>new MutationObserver(([r])=>{if(r.type==="characterData"&&r.oldValue&&r.target.textContent){for(const o of s0)if(!o.regex.test(r.oldValue)&&o.regex.test(r.target.textContent)){const s=o.regex.exec(r.target.textContent),[i,c=""]=s,a=r.target.textContent.indexOf(i);r.target.textContent=r.target.textContent.replace(i,c);const l=a+c.length;c0(r.target,a,l);const g=o.getCommandArg?o.getCommandArg(s):void 0;document.execCommand(o.command,void 0,g),c&&(k(r.target.parentNode),document.execCommand(o.command))}}else r.type==="childList"&&Array.from(r.addedNodes).forEach(o=>{let s;if(o instanceof HTMLElement&&o.tagName==="LI"?s=o:o?.parentElement?.tagName==="LI"&&(s=o?.parentElement),s){const i=s.nextElementSibling,c=i?.childNodes?.[0];if(c instanceof HTMLElement&&["UL","OL"].includes(c.tagName)){const l=document.createElement("br");i.insertBefore(l,c),a0(l)}}i0(o)});t(n)}),[]);return f.useEffect(()=>()=>{e&&e.disconnect()},[]),f.useEffect(()=>{n.current!==null&&e.observe(n.current,{childList:!0,subtree:!0,characterDataOldValue:!0})},[e,n]),n}function d0(t){const[n,e]=f.useState();f.useEffect(()=>{function o(){const s=window.getSelection();Number(s?.rangeCount)>0&&e(s?.getRangeAt(0))}return document.addEventListener("selectionchange",o),()=>{document.removeEventListener("selectionchange",o)}},[]);const r=f.useCallback(o=>{if(!n)return null;const s=n.commonAncestorContainer;if(!t.current||!t.current.contains(s))return null;let i=s instanceof HTMLElement?s:s.parentElement;for(;i&&i!==t.current;){if(o(i))return i;i=i.parentElement}return null},[n]);return{selectionRange:n,selectionDOMContextFind:r}}const g0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='10px'%20height='12px'%20viewBox='0%200%2010%2012'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eBold%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---New-icons'%20transform='translate(-53.000000,%20-103.000000)'%20fill='%234B5356'%20fill-rule='nonzero'%3e%3cg%20id='Group'%20transform='translate(50.000000,%2099.000000)'%3e%3cg%20transform='translate(0.000000,%202.000000)'%20id='B'%3e%3cg%20transform='translate(3.550000,%202.130000)'%3e%3cpath%20d='M0,0%20L4.014,0%20C4.626,0%205.193,0.045%205.715,0.135%20C6.237,0.225%206.693,0.384%207.083,0.612%20C7.473,0.84%207.779,1.14%208.001,1.512%20C8.223,1.884%208.334,2.352%208.334,2.916%20C8.334,3.18%208.295,3.444%208.217,3.708%20C8.139,3.972%208.022,4.218%207.866,4.446%20C7.71,4.674%207.506,4.878%207.254,5.058%20C7.002,5.238%206.708,5.37%206.372,5.454%20L6.372,5.526%20C7.212,5.682%207.845,5.982%208.271,6.426%20C8.697,6.87%208.91,7.488%208.91,8.28%20C8.91,8.88%208.793,9.396%208.559,9.828%20C8.325,10.26%208.001,10.617%207.587,10.899%20C7.173,11.181%206.69,11.391%206.138,11.529%20C5.586,11.667%204.992,11.736%204.356,11.736%20L0,11.736%20L0,0%20Z%20M3.888,4.734%20C4.536,4.734%205.007,4.605%205.301,4.347%20C5.595,4.089%205.742,3.738%205.742,3.294%20C5.742,2.85%205.592,2.532%205.292,2.34%20C4.992,2.148%204.53,2.052%203.906,2.052%20L2.646,2.052%20L2.646,4.734%20L3.888,4.734%20Z%20M4.14,9.684%20C5.592,9.684%206.318,9.15%206.318,8.082%20C6.318,7.566%206.138,7.191%205.778,6.957%20C5.418,6.723%204.872,6.606%204.14,6.606%20L2.646,6.606%20L2.646,9.684%20L4.14,9.684%20Z'%20id='Shape'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",m0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='14px'%20viewBox='0%200%2016%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIndent%20short%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---New-icons'%20transform='translate(-50.000000,%20-282.000000)'%20fill='%234B5356'%3e%3cg%20id='Group'%20transform='translate(50.000000,%2099.000000)'%3e%3cg%20transform='translate(0.000000,%20182.000000)'%3e%3crect%20id='Rectangle-223'%20x='0'%20y='1.6'%20width='16'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='0'%20y='12.4'%20width='16'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='7'%20y='8.8'%20width='9'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='7'%20y='5.2'%20width='9'%20height='2'%3e%3c/rect%3e%3cpath%20d='M5.20857552,7.99286089%20C5.20857552,8.06428955%205.18178977,8.14464678%205.12821828,8.19821828%20L2.27107201,11.0553645%20C2.21750052,11.108936%202.13714328,11.1357218%202.06571463,11.1357218%20C1.91392873,11.1357218%201.78,11.001793%201.78,10.85%20L1.78,5.13571463%20C1.78,4.97500015%201.90500015,4.85%202.06571463,4.85%20C2.14607186,4.85%202.21750052,4.88571433%202.28,4.93928582%20L5.12821828,7.7875035%20C5.18178977,7.84107499%205.20857552,7.92143223%205.20857552,7.99286089%20Z'%20id='Path'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",u0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='10px'%20height='12px'%20viewBox='0%200%2010%2012'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eItalics%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---New-icons'%20transform='translate(-53.000000,%20-148.000000)'%20fill='%234B5356'%3e%3cg%20id='Group'%20transform='translate(50.000000,%2099.000000)'%3e%3cg%20transform='translate(0.000000,%2047.000000)'%3e%3cg%20id='I'%20transform='translate(5.600000,%202.130000)'%20fill-rule='nonzero'%3e%3cpolygon%20id='Path'%20points='2.358%200%204.824%200%202.484%2011.736%200%2011.736'%3e%3c/polygon%3e%3c/g%3e%3crect%20id='Rectangle'%20x='5.5'%20y='2'%20width='7'%20height='1.5'%3e%3c/rect%3e%3crect%20id='Rectangle-Copy'%20x='3.5'%20y='12.5'%20width='7'%20height='1.5'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",f0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='14px'%20height='14px'%20viewBox='0%200%2014%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIcon/icon-ellipses%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---Schematics'%20transform='translate(-401.000000,%20-200.000000)'%20fill='%234B5356'%3e%3cg%20id='Group-5'%20transform='translate(146.000000,%20167.000000)'%3e%3cg%20id='Icon/icon-link'%20transform='translate(254.000000,%2032.000000)'%3e%3cpath%20d='M9.28515625,6.03125%20C9.33984402,6.06770852%209.39908822,6.11328098%209.46289062,6.16796875%20C9.52669303,6.22265652%209.58593723,6.26822898%209.640625,6.3046875%20L9.6953125,6.359375%20C10.3333365,7.01562828%2010.6523438,7.79947461%2010.6523438,8.7109375%20C10.6523438,9.62240039%2010.3333365,10.4062467%209.6953125,11.0625%20L6.6875,14.0429688%20C6.04947598,14.6809928%205.27474414,15%204.36328125,15%20C3.45181836,15%202.66797203,14.6809928%202.01171875,14.0429688%20L1.95703125,13.9882812%20C1.31900723,13.332028%201,12.5481816%201,11.6367188%20C1,10.7252559%201.31900723,9.95052402%201.95703125,9.3125%20L4.0625,7.20703125%20C4.04427074,7.51692863%204.06249973,7.82682137%204.1171875,8.13671875%20C4.17187527,8.44661613%204.2630202,8.73827988%204.390625,9.01171875%20L3.05078125,10.3789062%20C2.68619609,10.7252621%202.50390625,11.1445288%202.50390625,11.6367188%20C2.50390625,12.1289087%202.68619609,12.5481754%203.05078125,12.8945312%20L3.10546875,12.9492188%20C3.45182465,13.3138039%203.87109129,13.4960938%204.36328125,13.4960938%20C4.85547121,13.4960938%205.27473785,13.3138039%205.62109375,12.9492188%20L8.6015625,9.96875%20C8.9479184,9.6223941%209.12109375,9.20312746%209.12109375,8.7109375%20C9.12109375,8.21874754%208.9479184,7.7994809%208.6015625,7.453125%20L8.546875,7.3984375%20C8.49218723,7.34374973%208.43750027,7.29362002%208.3828125,7.24804688%20C8.32812473,7.20247373%208.26432328,7.16145852%208.19140625,7.125%20L9.28515625,6.03125%20Z%20M11.6367188,1%20C12.5481816,1%2013.332028,1.31900723%2013.9882812,1.95703125%20L14.0429688,2.01171875%20C14.6809928,2.66797203%2015,3.45181836%2015,4.36328125%20C15,5.27474414%2014.6809928,6.04947598%2014.0429688,6.6875%20L11.9375,8.79296875%20C11.9557293,8.48307137%2011.9375003,8.17317863%2011.8828125,7.86328125%20C11.8281247,7.55338387%2011.7369798,7.26172012%2011.609375,6.98828125%20L12.9492188,5.62109375%20C13.3138039,5.27473785%2013.4960938,4.85547121%2013.4960938,4.36328125%20C13.4960938,3.87109129%2013.3138039,3.45182465%2012.9492188,3.10546875%20L12.8945312,3.05078125%20C12.5481754,2.68619609%2012.1289087,2.50390625%2011.6367188,2.50390625%20C11.1445288,2.50390625%2010.7252621,2.68619609%2010.3789062,3.05078125%20L7.3984375,6.03125%20C7.0520816,6.3776059%206.87890625,6.79687254%206.87890625,7.2890625%20C6.87890625,7.78125246%207.0520816,8.2005191%207.3984375,8.546875%20L7.453125,8.6015625%20C7.50781277,8.65625027%207.56249973,8.70637998%207.6171875,8.75195312%20C7.67187527,8.79752627%207.73567672,8.83854148%207.80859375,8.875%20L6.71484375,9.96875%20C6.66015598,9.93229148%206.60091178,9.88671902%206.53710938,9.83203125%20C6.47330697,9.77734348%206.41406277,9.73177102%206.359375,9.6953125%20L6.3046875,9.640625%20C5.66666348,8.98437172%205.34765625,8.20052539%205.34765625,7.2890625%20C5.34765625,6.37759961%205.66666348,5.59375328%206.3046875,4.9375%20L9.3125,1.95703125%20C9.95052402,1.31900723%2010.7252559,1%2011.6367188,1%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",h0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='15px'%20height='14px'%20viewBox='0%200%2015%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eOrdered%20list%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---New-icons'%20transform='translate(-51.000000,%20-192.000000)'%20fill='%234B5356'%3e%3cg%20id='Group'%20transform='translate(50.000000,%2099.000000)'%3e%3cg%20transform='translate(0.000000,%2092.000000)'%3e%3crect%20id='Rectangle-223-Copy-3'%20x='5'%20y='2.5'%20width='11'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223-Copy-2'%20x='5'%20y='7'%20width='11'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223-Copy'%20x='5'%20y='11.5'%20width='11'%20height='2'%3e%3c/rect%3e%3cg%20id='1'%20transform='translate(1.500000,%201.900000)'%20fill-rule='nonzero'%3e%3cpath%20d='M0,2.58%20L0.69,2.58%20L0.69,0.745%20L0.095,0.745%20L0.095,0.29%20C0.268333333,0.256666667%200.415,0.216666667%200.535,0.17%20C0.655,0.123333333%200.771666667,0.0666666667%200.885,0%20L1.425,0%20L1.425,2.58%20L2.02,2.58%20L2.02,3.175%20L0,3.175%20L0,2.58%20Z'%20id='Path'%3e%3c/path%3e%3c/g%3e%3cg%20id='2'%20transform='translate(1.355000,%206.400000)'%20fill-rule='nonzero'%3e%3cpath%20d='M0.035,2.815%20C0.238333333,2.625%200.424166667,2.4475%200.5925,2.2825%20C0.760833333,2.1175%200.905833333,1.9625%201.0275,1.8175%20C1.14916667,1.6725%201.24416667,1.5375%201.3125,1.4125%20C1.38083333,1.2875%201.415,1.16833333%201.415,1.055%20C1.415,0.898333333%201.375,0.779166667%201.295,0.6975%20C1.215,0.615833333%201.105,0.575%200.965,0.575%20C0.848333333,0.575%200.745,0.6075%200.655,0.6725%20C0.565,0.7375%200.48,0.813333333%200.4,0.9%20L0,0.505%20C0.156666667,0.338333333%200.316666667,0.2125%200.48,0.1275%20C0.643333333,0.0425%200.838333333,0%201.065,0%20C1.22166667,0%201.36416667,0.0241666667%201.4925,0.0725%20C1.62083333,0.120833333%201.73166667,0.189166667%201.825,0.2775%20C1.91833333,0.365833333%201.99,0.471666667%202.04,0.595%20C2.09,0.718333333%202.115,0.856666667%202.115,1.01%20C2.115,1.14333333%202.08666667,1.27916667%202.03,1.4175%20C1.97333333,1.55583333%201.8975,1.69416667%201.8025,1.8325%20C1.7075,1.97083333%201.59916667,2.10916667%201.4775,2.2475%20C1.35583333,2.38583333%201.23,2.52166667%201.1,2.655%20C1.18,2.645%201.26916667,2.63583333%201.3675,2.6275%20C1.46583333,2.61916667%201.55333333,2.615%201.63,2.615%20L2.27,2.615%20L2.27,3.235%20L0.035,3.235%20L0.035,2.815%20Z'%20id='Path'%3e%3c/path%3e%3c/g%3e%3cg%20id='3'%20transform='translate(1.350000,%2010.800000)'%20fill-rule='nonzero'%3e%3cpath%20d='M0.34,2.38%20C0.436666667,2.47333333%200.5425,2.55%200.6575,2.61%20C0.7725,2.67%200.898333333,2.7%201.035,2.7%20C1.19166667,2.7%201.31666667,2.6675%201.41,2.6025%20C1.50333333,2.5375%201.55,2.445%201.55,2.325%20C1.55,2.255%201.5375,2.19166667%201.5125,2.135%20C1.4875,2.07833333%201.44333333,2.03083333%201.38,1.9925%20C1.31666667,1.95416667%201.23,1.92416667%201.12,1.9025%20C1.01,1.88083333%200.868333333,1.87%200.695,1.87%20L0.695,1.35%20C0.838333333,1.35%200.9575,1.34%201.0525,1.32%20C1.1475,1.3%201.22416667,1.27083333%201.2825,1.2325%20C1.34083333,1.19416667%201.3825,1.14916667%201.4075,1.0975%20C1.4325,1.04583333%201.445,0.988333333%201.445,0.925%20C1.445,0.815%201.41166667,0.729166667%201.345,0.6675%20C1.27833333,0.605833333%201.18166667,0.575%201.055,0.575%20C0.941666667,0.575%200.839166667,0.6%200.7475,0.65%20C0.655833333,0.7%200.56,0.768333333%200.46,0.855%20L0.09,0.405%20C0.236666667,0.278333333%200.390833333,0.179166667%200.5525,0.1075%20C0.714166667,0.0358333333%200.893333333,0%201.09,0%20C1.25333333,0%201.4025,0.0191666667%201.5375,0.0575%20C1.6725,0.0958333333%201.7875,0.1525%201.8825,0.2275%20C1.9775,0.3025%202.05166667,0.393333333%202.105,0.5%20C2.15833333,0.606666667%202.185,0.73%202.185,0.87%20C2.185,1.03666667%202.13916667,1.1775%202.0475,1.2925%20C1.95583333,1.4075%201.825,1.50166667%201.655,1.575%20L1.655,1.595%20C1.83833333,1.64833333%201.98916667,1.73916667%202.1075,1.8675%20C2.22583333,1.99583333%202.285,2.16333333%202.285,2.37%20C2.285,2.51666667%202.25333333,2.6475%202.19,2.7625%20C2.12666667,2.8775%202.04166667,2.97416667%201.935,3.0525%20C1.82833333,3.13083333%201.70333333,3.19083333%201.56,3.2325%20C1.41666667,3.27416667%201.265,3.295%201.105,3.295%20C0.845,3.295%200.625,3.25416667%200.445,3.1725%20C0.265,3.09083333%200.116666667,2.98166667%200,2.845%20L0.34,2.38%20Z'%20id='Path'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",p0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='14px'%20viewBox='0%200%2016%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eOutdent%20short%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---New-icons'%20transform='translate(-50.000000,%20-327.000000)'%20fill='%234B5356'%3e%3cg%20id='Group'%20transform='translate(50.000000,%2099.000000)'%3e%3cg%20transform='translate(0.000000,%20227.000000)'%3e%3crect%20id='Rectangle-223'%20x='0'%20y='1.6'%20width='16'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='0'%20y='12.4'%20width='16'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='7'%20y='8.8'%20width='9'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='7'%20y='5.2'%20width='9'%20height='2'%3e%3c/rect%3e%3cpath%20d='M5.21357552,10.85%20C5.21357552,11.001793%205.08857537,11.1357218%204.92786089,11.1357218%20C4.84750365,11.1357218%204.77607499,11.1000075%204.71357492,11.046436%20L1.86535724,8.1892897%20C1.81178575,8.1357182%201.785,8.06428955%201.785,7.99286089%20C1.785,7.91250365%201.81178575,7.84107499%201.86535724,7.7875035%20L4.7225035,4.93035724%20C4.77607499,4.87678575%204.85643223,4.85%204.92786089,4.85%20C5.07964678,4.85%205.21357552,4.97500015%205.21357552,5.13571463%20L5.21357552,10.85%20Z'%20id='Path'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",C0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='14px'%20height='14px'%20viewBox='0%200%2014%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIcon/icon-ellipses%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---Schematics'%20transform='translate(-520.000000,%20-200.000000)'%20fill='%234B5356'%3e%3cg%20id='Group-5'%20transform='translate(146.000000,%20167.000000)'%3e%3cg%20id='Button/2.-Icon/6.-Default-Copy-8'%20transform='translate(363.000000,%2025.000000)'%3e%3cg%20id='Icon/icon-undo'%20transform='translate(10.000000,%207.000000)'%3e%3cpath%20d='M15,2.16666667%20C15,1.9296875%2014.8541667,1.72005208%2014.6445312,1.62890625%20C14.4257812,1.53776042%2014.1705729,1.58333333%2014.0065104,1.75651042%20L12.8216146,2.93229167%20C11.5364583,1.72005208%209.79557292,1%208,1%20C4.14453125,1%201,4.14453125%201,8%20C1,11.8554688%204.14453125,15%208,15%20C10.0872396,15%2012.0559896,14.0794271%2013.3867188,12.4752604%20C13.4778646,12.3567708%2013.4778646,12.1835938%2013.3684896,12.0833333%20L12.1197917,10.8255208%20C12.0559896,10.7708333%2011.9739583,10.7434896%2011.8919271,10.7434896%20C11.8098958,10.7526042%2011.7278646,10.7890625%2011.6822917,10.8528646%20C10.7890625,12.0104167%209.44921875,12.6666667%208,12.6666667%20C5.4296875,12.6666667%203.33333333,10.5703125%203.33333333,8%20C3.33333333,5.4296875%205.4296875,3.33333333%208,3.33333333%20C9.19401042,3.33333333%2010.3242188,3.7890625%2011.1809896,4.58203125%20L9.92317708,5.83984375%20C9.75,6.00390625%209.70442708,6.25911458%209.79557292,6.46875%20C9.88671875,6.6875%2010.0963542,6.83333333%2010.3333333,6.83333333%20L14.4166667,6.83333333%20C14.7356771,6.83333333%2015,6.56901042%2015,6.25%20L15,2.16666667%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",w0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='14px'%20height='14px'%20viewBox='0%200%2014%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eIcon/icon-ellipses%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---Schematics'%20transform='translate(-484.000000,%20-200.000000)'%20fill='%234B5356'%3e%3cg%20id='Group-5'%20transform='translate(146.000000,%20167.000000)'%3e%3cg%20id='Button/2.-Icon/6.-Default-Copy-9'%20transform='translate(345.000000,%2040.000000)%20scale(-1,%201)%20translate(-345.000000,%20-40.000000)%20translate(327.000000,%2025.000000)'%3e%3cg%20id='Icon/icon-undo'%20transform='translate(10.000000,%207.000000)'%3e%3cpath%20d='M15,2.16666667%20C15,1.9296875%2014.8541667,1.72005208%2014.6445312,1.62890625%20C14.4257812,1.53776042%2014.1705729,1.58333333%2014.0065104,1.75651042%20L12.8216146,2.93229167%20C11.5364583,1.72005208%209.79557292,1%208,1%20C4.14453125,1%201,4.14453125%201,8%20C1,11.8554688%204.14453125,15%208,15%20C10.0872396,15%2012.0559896,14.0794271%2013.3867188,12.4752604%20C13.4778646,12.3567708%2013.4778646,12.1835938%2013.3684896,12.0833333%20L12.1197917,10.8255208%20C12.0559896,10.7708333%2011.9739583,10.7434896%2011.8919271,10.7434896%20C11.8098958,10.7526042%2011.7278646,10.7890625%2011.6822917,10.8528646%20C10.7890625,12.0104167%209.44921875,12.6666667%208,12.6666667%20C5.4296875,12.6666667%203.33333333,10.5703125%203.33333333,8%20C3.33333333,5.4296875%205.4296875,3.33333333%208,3.33333333%20C9.19401042,3.33333333%2010.3242188,3.7890625%2011.1809896,4.58203125%20L9.92317708,5.83984375%20C9.75,6.00390625%209.70442708,6.25911458%209.79557292,6.46875%20C9.88671875,6.6875%2010.0963542,6.83333333%2010.3333333,6.83333333%20L14.4166667,6.83333333%20C14.7356771,6.83333333%2015,6.56901042%2015,6.25%20L15,2.16666667%20Z'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",v0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='14px'%20height='16px'%20viewBox='0%200%2014%2016'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eUnlink%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---New-icons'%20transform='translate(-51.000000,%20-371.000000)'%20fill='%234B5356'%3e%3cg%20id='Group'%20transform='translate(50.000000,%2099.000000)'%3e%3cg%20transform='translate(0.000000,%20272.000000)'%3e%3cpath%20d='M14.0429688,2.01171875%20C14.6809928,2.66797203%2015,3.45181836%2015,4.36328125%20C15,5.27474414%2014.6809928,6.04947598%2014.0429688,6.6875%20L11.1027446,9.58420181%20L10.3518996,8.27890801%20L12.9492188,5.62109375%20C13.3138039,5.27473785%2013.4960938,4.85547121%2013.4960938,4.36328125%20C13.4960938,3.87109129%2013.3138039,3.45182465%2012.9492188,3.10546875%20L12.8945313,3.05078125%20C12.5481754,2.68619609%2012.1289087,2.50390625%2011.6367188,2.50390625%20C11.1445288,2.50390625%2010.7252621,2.68619609%2010.3789063,3.05078125%20L8.41457939,4.92175579%20L7.64047964,3.57621944%20L9.3125,1.95703125%20C9.95052402,1.31900723%2010.7252559,1%2011.6367188,1%20C12.5481816,1%2013.332028,1.31900723%2013.9882813,1.95703125%20L14.0429688,2.01171875%20Z'%20id='Path'%3e%3c/path%3e%3cpath%20d='M8.02641916,12.7072184%20L6.6875,14.0429687%20C6.04947598,14.6809928%205.27474414,15%204.36328125,15%20C3.45181836,15%202.66797203,14.6809928%202.01171875,14.0429687%20L1.95703125,13.9882812%20C1.31900723,13.332028%201,12.5481816%201,11.6367187%20C1,10.7252559%201.31900723,9.95052402%201.95703125,9.3125%20L4.57246065,6.71787083%20L5.34566408,8.05009655%20L3.05078125,10.3789062%20C2.68619609,10.7252621%202.50390625,11.1445288%202.50390625,11.6367187%20C2.50390625,12.1289087%202.68619609,12.5481754%203.05078125,12.8945312%20L3.10546875,12.9492187%20C3.45182465,13.3138039%203.87109129,13.4960937%204.36328125,13.4960937%20C4.85547121,13.4960937%205.27473785,13.3138039%205.62109375,12.9492187%20L7.2646265,11.388324%20L8.02641916,12.7072184%20Z'%20id='Path'%3e%3c/path%3e%3crect%20id='Rectangle'%20transform='translate(7.750000,%208.000000)%20rotate(-30.000000)%20translate(-7.750000,%20-8.000000)%20'%20x='7'%20y='0'%20width='1.5'%20height='16'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",x0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='15px'%20height='12px'%20viewBox='0%200%2015%2012'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eUnordered%20list%3c/title%3e%3cg%20id='Components'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Markdown-Editor---New-icons'%20transform='translate(-51.000000,%20-238.000000)'%20fill='%234B5356'%3e%3cg%20id='Group'%20transform='translate(50.000000,%2099.000000)'%3e%3cg%20transform='translate(0.000000,%20137.000000)'%3e%3cg%20transform='translate(1.000000,%202.000000)'%3e%3crect%20id='Rectangle-223'%20x='4'%20y='0.5'%20width='11'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='4'%20y='5'%20width='11'%20height='2'%3e%3c/rect%3e%3crect%20id='Rectangle-223'%20x='4'%20y='9.5'%20width='11'%20height='2'%3e%3c/rect%3e%3ccircle%20id='Oval'%20cx='1.5'%20cy='1.5'%20r='1.5'%3e%3c/circle%3e%3ccircle%20id='Oval-Copy'%20cx='1.5'%20cy='6'%20r='1.5'%3e%3c/circle%3e%3ccircle%20id='Oval-Copy-2'%20cx='1.5'%20cy='10.5'%20r='1.5'%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",L=(t,n)=>{let e=t;for(;e.parentElement&&!n.includes(e.parentElement.tagName);)e=e.parentElement;return e.parentElement&&n.includes(e.parentElement.tagName)?e.parentElement:null},b=t=>{const n=[];let e=t;for(;e.nextElementSibling;)n.push(e.nextElementSibling),e=e.nextElementSibling;return n},L0={key:"bold",icon:g0,onClick:()=>document.execCommand("bold"),activeTest:t=>["B","STRONG"].includes(t.tagName),isSimpleToggle:!0},E0={key:"italics",icon:u0,onClick:()=>document.execCommand("italic"),activeTest:t=>["I","EM"].includes(t.tagName),isSimpleToggle:!0},k0={key:"ul",icon:x0,onClick:()=>document.execCommand("insertUnorderedList"),activeTest:t=>t.tagName==="UL"},_0={key:"ol",icon:h0,onClick:()=>document.execCommand("insertOrderedList"),activeTest:t=>t.tagName==="OL"},y0={key:"indent",icon:m0,onClick:()=>{try{const t=window.getSelection();if(t?.type==="Range"){const n=t.getRangeAt(0),e=n.commonAncestorContainer;if(!(e instanceof HTMLElement)||(e.tagName==="UL"||e.tagName==="OL"||e.tagName==="LI")&&e.firstElementChild&&n.intersectsNode(e.firstElementChild))return;const r=[];let o;if(e.childNodes.forEach(s=>{n.intersectsNode(s)&&s instanceof HTMLElement&&s.tagName==="LI"&&(r.length===0&&(o=s.previousSibling),r.push(s))}),o instanceof HTMLElement&&o.tagName==="LI"){r.forEach(i=>i.remove());const s=o.parentElement?.tagName.toLowerCase();if(s){const i=document.createElement(s);r.forEach(c=>i.appendChild(c)),o.appendChild(i)}return}}else if(t){const{anchorNode:n}=t;let e;if(n instanceof HTMLElement&&n.tagName==="LI"?e=n:n&&(e=L(n,["LI"])),e){const r=e.previousElementSibling,o=e.parentElement.tagName.toLowerCase();if(r&&r.tagName==="LI"){e.remove();const s=r.querySelector(o);if(s)s.appendChild(e);else{const i=document.createElement(o);i.appendChild(e),r.appendChild(i)}n&&k(n.childNodes?.[0]||n)}return}}}catch{}document.execCommand("indent")}},N0={key:"outdent",icon:p0,onClick:()=>{try{const t=window.getSelection();if(t?.type==="Range"){const n=t.getRangeAt(0),e=n.commonAncestorContainer;if(!(e instanceof HTMLElement))return;const r=[];let o;if(e.tagName==="UL"||e.tagName==="OL"?o=e:e.tagName==="LI"&&(o=e.parentElement),o){o.childNodes.forEach(i=>{n.intersectsNode(i)&&i instanceof HTMLElement&&i.tagName==="LI"&&r.push(i)});const s=o.parentElement;s?.tagName==="LI"&&(r.forEach((i,c)=>{if(c===r.length-1){const a=b(i);if(a.length>0){const l=o.tagName.toLowerCase(),g=i.querySelector(l);if(g)for(const m of a)m.remove(),g.appendChild(m);else{const m=document.createElement(l);i.appendChild(m);for(const h of a)h.remove(),m.appendChild(h)}}}i.remove()}),o.childElementCount===0&&o.remove(),r.reverse().forEach(i=>s.after(i)));return}}else if(t){const{anchorNode:n}=t;let e=null,r=null;n instanceof HTMLElement&&(n.tagName==="UL"||n.tagName==="OL")?(e=n,r=n.querySelector("li")):n&&(e=L(n,["UL","OL"]),r=n instanceof HTMLElement&&n.tagName==="LI"?n:L(n,["LI"]));const o=e?L(e,["UL","OL"]):null;if(e&&o){const s=L(e,["LI"]);if(e.childElementCount===1&&e.remove(),r){const i=b(r);if(i.length>0){const c=document.createElement(e.tagName.toLowerCase());r.appendChild(c);for(const a of i)a.remove(),c.appendChild(a)}s?.after(r),r.lastChild&&k(r.lastChild)}return}}}catch{}document.execCommand("outdent")}},T0={key:"undo",icon:w0,onClick:()=>document.execCommand("undo")},S0={key:"redo",icon:C0,onClick:()=>document.execCommand("redo")};function M0(t,n){const[e,r]=f.useState(!1),o=f.useCallback((a,l)=>{r(!1);const g=a.cloneRange(),m=window.getSelection();if((m?.rangeCount??0)>0&&m?.removeAllRanges(),m?.addRange(g),!g?.toString()&&l?.text&&m){const h=document.createTextNode(l.text),{anchorNode:p}=m;if(p instanceof HTMLElement){const C=p.lastElementChild;C&&C.tagName==="BR"?p.insertBefore(h,C):p.appendChild(h)}else if(p){const C=g.cloneRange();C.selectNodeContents(p),C.setEnd(g.endContainer,g.endOffset);const _=C.toString().length;p.parentElement?.insertBefore(h,p.splitText(_))}g.setStart(h,0),g.setEnd(h,l.text.length)}if(l){const h=g?.startContainer?.parentElement;h&&h.tagName==="A"?(h.setAttribute("href",l.link),h.textContent=l.text,window.getSelection()?.getRangeAt(0)?.selectNodeContents(h)):document.execCommand("createLink",void 0,l.link)}},[]),s=f.useMemo(()=>({key:"link",icon:f0,onClick:()=>{const a=window.getSelection(),l=(a?.rangeCount??0)>0?a?.getRangeAt(0).commonAncestorContainer:null;n.current&&l&&n.current.contains(l)&&r(!0)},activeTest:a=>a.tagName==="A"}),[]),i=f.useMemo(()=>({key:"unlink",icon:v0,onClick:()=>{const a=t(s.activeTest);a&&(window.getSelection()?.getRangeAt(0).selectNodeContents(a),document.execCommand("unlink"))}}),[t]);return{toolbarButtons:[L0,E0,"vr",k0,_0,y0,N0,"vr",s,i,"vr",T0,S0],showLinkModal:e,handleLinkModalClose:o}}function I({className:t,md:n,html:e,disabled:r,onChange:o,...s}){const i=w.useChildTestIdAttrBuilder(s),{aggValue:c,editableDivInnerHtml:a,updateStateFromDiv:l}=o0(n,e);d.useEffect(()=>{o&&c&&o(c)},[c]);const g=l0(l);d.useEffect(()=>{a&&g.current&&(g.current.innerHTML=a.html)},[a]);const{selectionRange:m,selectionDOMContextFind:h}=d0(g),{toolbarButtons:p,showLinkModal:C,handleLinkModalClose:_}=M0(h,g),{height:O,minHeight:R}=s.style??{},y={};return O?y.height=`
2
+ calc(
3
+ ${O}
4
+ - ${x.Tokens.component["rich-text-editor"].vr.height}
5
+ - (2 * ${x.Tokens.component["rich-text-editor"].border.width})
6
+ - (2 * ${x.Tokens.component["rich-text-editor"].padding.input.y})
7
+ )`:R&&(y.minHeight=`
8
+ calc(
9
+ ${R}
10
+ - ${x.Tokens.component["rich-text-editor"].vr.height}
11
+ - (2 * ${x.Tokens.component["rich-text-editor"].border.width})
12
+ - (2 * ${x.Tokens.component["rich-text-editor"].padding.input.y})
13
+ )`),d.createElement("div",{className:w.cl(Q({disabled:r}),t),...s},!r&&d.createElement(d.Fragment,null,d.createElement("div",{className:Y,...i("toolbar")},p.map((N,b0)=>N==="vr"?d.createElement("div",{className:e0,key:`vr-${b0}`}):d.createElement(J,{...N,selectionDOMContextFind:h,...i(`button-${N.key}`)}))),C&&d.createElement(Z,{onClose:_,selectionDOMContextFind:h,selectionRange:m})),d.createElement("div",{className:X({disabled:r}),ref:g,contentEditable:!r,...i("input"),style:y}))}w.Metadata.set(I,{name:"RichTextEditor",props:{md:"string",html:"string",disabled:{type:"boolean",default:"false"},onChange:"(newValue: RichTextEditorAggregateValue) => void"}}),u.RichTextEditor=I,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,13 @@
1
+ import type { ComponentProps } from "@sps-woodland/core";
2
+ import * as React from "react";
3
+ import type { SelectionDOMContextFind } from "./hooks/useRTESelectionListener";
4
+ export interface LinkConfig {
5
+ text: string;
6
+ link: string;
7
+ }
8
+ export declare function RTELinkModal({ onClose, selectionDOMContextFind, selectionRange, }: ComponentProps<{
9
+ onClose: (range?: Range, config?: LinkConfig) => void;
10
+ selectionDOMContextFind: SelectionDOMContextFind;
11
+ selectionRange?: Range;
12
+ }>): React.ReactElement;
13
+ //# sourceMappingURL=RTELinkModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTELinkModal.d.ts","sourceRoot":"","sources":["../../../src/rich-text-editor/rich-text-editor/RTELinkModal.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,uBAAuB,EACvB,cAAc,GACf,EAAE,cAAc,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACtD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB,CAAC,GAAG,KAAK,CAAC,YAAY,CAmDtB"}
@@ -0,0 +1,35 @@
1
+ import { useSpsForm as E, SpsModal as k, SpsLabel as c, SpsTextInput as u, SpsModalFooter as x } from "@spscommerce/ds-react";
2
+ import { Button as p } from "@sps-woodland/core/button";
3
+ import { useWoodlandLanguage as g } from "@spscommerce/i18n";
4
+ import * as e from "react";
5
+ function T({
6
+ onClose: o,
7
+ selectionDOMContextFind: n,
8
+ selectionRange: i
9
+ }) {
10
+ const { t: l } = g(), m = e.useRef(i), s = e.useRef(!1), { formValue: r, formMeta: t, updateForm: f } = E({
11
+ text: i?.toString() || "",
12
+ link: ""
13
+ });
14
+ return e.useEffect(() => {
15
+ if (!s.current) {
16
+ const a = n((d) => d.tagName === "A");
17
+ a && (f({
18
+ text: a.textContent || "",
19
+ link: a.getAttribute("href") || ""
20
+ }), s.current = !0);
21
+ }
22
+ }, [n]), /* @__PURE__ */ e.createElement(
23
+ k,
24
+ {
25
+ title: "Add Link",
26
+ onClose: () => o(m.current)
27
+ },
28
+ /* @__PURE__ */ e.createElement("div", { className: "sg-row" }, /* @__PURE__ */ e.createElement("div", { className: "sg-col-12" }, /* @__PURE__ */ e.createElement(c, { for: t.fields.text }, l("richTextEditor.linkModal.text", { defaultValue: "Text" })), /* @__PURE__ */ e.createElement(u, { formMeta: t.fields.text, value: r.text }))),
29
+ /* @__PURE__ */ e.createElement("div", { className: "sg-row" }, /* @__PURE__ */ e.createElement("div", { className: "sg-col-12" }, /* @__PURE__ */ e.createElement(c, { for: t.fields.link }, l("richTextEditor.linkModal.link", { defaultValue: "Link" })), /* @__PURE__ */ e.createElement(u, { formMeta: t.fields.link, value: r.link }))),
30
+ /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement(p, { onClick: () => o(m.current, r) }, l("richTextEditor.linkModal.ok", { defaultValue: "OK" })))
31
+ );
32
+ }
33
+ export {
34
+ T as RTELinkModal
35
+ };
@@ -0,0 +1,16 @@
1
+ export declare const button: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
2
+ active: {
3
+ true: {
4
+ backgroundColor: string;
5
+ borderColor: string;
6
+ };
7
+ false: {
8
+ backgroundColor: string;
9
+ borderColor: string;
10
+ };
11
+ };
12
+ }>;
13
+ export declare const className: {
14
+ icon: string;
15
+ };
16
+ //# sourceMappingURL=RTEToolbarButton.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTEToolbarButton.css.d.ts","sourceRoot":"","sources":["../../../src/rich-text-editor/rich-text-editor/RTEToolbarButton.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;EA4BjB,CAAC;AAEH,eAAO,MAAM,SAAS;;CAQrB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /* empty css */
2
+ import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
3
+ var o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1903a6n0", variantClassNames: { active: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1903a6n1", false: "pkg_sps-woodland_core__version_8_51_1__hash_1903a6n2" } }, defaultVariants: {}, compoundVariants: [] }), e = { icon: "pkg_sps-woodland_core__version_8_51_1__hash_1903a6n3" };
4
+ export {
5
+ o as button,
6
+ e as className
7
+ };
@@ -0,0 +1,11 @@
1
+ import type { ComponentProps } from "@sps-woodland/core";
2
+ import * as React from "react";
3
+ import type { ElementTest, SelectionDOMContextFind } from "./hooks/useRTESelectionListener";
4
+ export declare function RTEToolbarButton({ icon, onClick, selectionDOMContextFind, activeTest, isSimpleToggle, ...rest }: ComponentProps<{
5
+ icon: string;
6
+ onClick: (isActive: boolean) => void;
7
+ selectionDOMContextFind: SelectionDOMContextFind;
8
+ activeTest?: ElementTest;
9
+ isSimpleToggle?: boolean;
10
+ }, HTMLButtonElement>): React.ReactElement;
11
+ //# sourceMappingURL=RTEToolbarButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RTEToolbarButton.d.ts","sourceRoot":"","sources":["../../../src/rich-text-editor/rich-text-editor/RTEToolbarButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG5F,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,OAAO,EACP,uBAAuB,EACvB,UAAU,EACV,cAAsB,EACtB,GAAG,IAAI,EACR,EAAE,cAAc,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,EAAE,iBAAiB,CAAC,GAAG,KAAK,CAAC,YAAY,CA4BzC"}
@@ -0,0 +1,38 @@
1
+ import * as e from "react";
2
+ import { button as i, className as m } from "./RTEToolbarButton.css.js";
3
+ function p({
4
+ icon: r,
5
+ onClick: t,
6
+ selectionDOMContextFind: s,
7
+ activeTest: o,
8
+ isSimpleToggle: c = !1,
9
+ ...l
10
+ }) {
11
+ const [a, n] = e.useState(!1);
12
+ e.useEffect(() => {
13
+ o && n(!!s(o));
14
+ }, [s]);
15
+ const u = e.useCallback(() => {
16
+ t && t(a), c && n(!a);
17
+ }, [t, a]);
18
+ return /* @__PURE__ */ e.createElement(
19
+ "button",
20
+ {
21
+ className: i({ active: a }),
22
+ onClick: u,
23
+ onMouseDown: (f) => f.preventDefault(),
24
+ ...l
25
+ },
26
+ /* @__PURE__ */ e.createElement(
27
+ "span",
28
+ {
29
+ className: m.icon,
30
+ style: { backgroundImage: 'url("' + r + '")' },
31
+ "aria-hidden": "true"
32
+ }
33
+ )
34
+ );
35
+ }
36
+ export {
37
+ p as RTEToolbarButton
38
+ };
@@ -0,0 +1,15 @@
1
+ export declare const richTextEditor: import("node_modules/@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
2
+ disabled: {
3
+ true: {
4
+ borderColor: string;
5
+ };
6
+ false: {
7
+ borderColor: string;
8
+ };
9
+ };
10
+ }>;
11
+ export type RichTextEditorVariants = Required<Parameters<typeof richTextEditor>>[0];
12
+ export declare const rteEditableDiv: typeof richTextEditor;
13
+ export declare const rteToolbar: string;
14
+ export declare const vr: string;
15
+ //# sourceMappingURL=RichTextEditor.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextEditor.css.d.ts","sourceRoot":"","sources":["../../../src/rich-text-editor/rich-text-editor/RichTextEditor.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;EAwBzB,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEpF,eAAO,MAAM,cAAc,EAAE,OAAO,cAoBlC,CAAC;AAEH,eAAO,MAAM,UAAU,QAUrB,CAAC;AAEH,eAAO,MAAM,EAAE,QAMZ,CAAC"}
@@ -0,0 +1,9 @@
1
+ /* empty css */
2
+ import { createRuntimeFn as _ } from "../../node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.17.4/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js";
3
+ var o = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss0", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss1", false: "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss2" } }, defaultVariants: { disabled: !1 }, compoundVariants: [] }), e = _({ defaultClassName: "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss3", variantClassNames: { disabled: { true: "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss4", false: "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss5" } }, defaultVariants: {}, compoundVariants: [] }), r = "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss6", d = "pkg_sps-woodland_core__version_8_51_1__hash_1f3v2ss7";
4
+ export {
5
+ o as richTextEditor,
6
+ e as rteEditableDiv,
7
+ r as rteToolbar,
8
+ d as vr
9
+ };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import type { ComponentProps } from "@sps-woodland/core";
3
+ import type { RichTextEditorAggregateValue } from "./hooks/useRTEContent";
4
+ import type { RichTextEditorVariants } from "./RichTextEditor.css";
5
+ export declare function RichTextEditor({ className, md: mdProp, html: htmlProp, disabled, onChange, ...rest }: ComponentProps<RichTextEditorVariants & Partial<RichTextEditorAggregateValue> & {
6
+ onChange?: (newValue: RichTextEditorAggregateValue) => void;
7
+ }, HTMLDivElement>): React.ReactElement;
8
+ //# sourceMappingURL=RichTextEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../../src/rich-text-editor/rich-text-editor/RichTextEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAEnE,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,QAAQ,EACd,QAAQ,EACR,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,cAAc,CACf,sBAAsB,GACpB,OAAO,CAAC,4BAA4B,CAAC,GAAG;IACtC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,4BAA4B,KAAK,IAAI,CAAC;CAC7D,EACH,cAAc,CACf,GAAG,KAAK,CAAC,YAAY,CAkFrB"}
@@ -0,0 +1,81 @@
1
+ import { Metadata as $, useChildTestIdAttrBuilder as y, cl as k } from "@sps-woodland/core";
2
+ import * as e from "react";
3
+ import { RTELinkModal as M } from "./RTELinkModal.js";
4
+ import { RTEToolbarButton as C } from "./RTEToolbarButton.js";
5
+ import { Tokens as t } from "@sps-woodland/tokens";
6
+ import { richTextEditor as D, rteToolbar as L, vr as w, rteEditableDiv as B } from "./RichTextEditor.css.js";
7
+ import { useRTEContent as H } from "./hooks/useRTEContent.js";
8
+ import { useRTEObserver as N } from "./hooks/useRTEObserver.js";
9
+ import { useRTESelectionListener as F } from "./hooks/useRTESelectionListener.js";
10
+ import { useRTEToolbarButtons as I } from "./hooks/useRTEToolbarButtons.js";
11
+ function S({
12
+ className: f,
13
+ md: u,
14
+ html: E,
15
+ disabled: i,
16
+ onChange: s,
17
+ ...r
18
+ }) {
19
+ const n = y(r), { aggValue: c, editableDivInnerHtml: a, updateStateFromDiv: g } = H(u, E);
20
+ e.useEffect(() => {
21
+ s && c && s(c);
22
+ }, [c]);
23
+ const o = N(g);
24
+ e.useEffect(() => {
25
+ a && o.current && (o.current.innerHTML = a.html);
26
+ }, [a]);
27
+ const { selectionRange: T, selectionDOMContextFind: l } = F(o), { toolbarButtons: v, showLinkModal: x, handleLinkModalClose: R } = I(
28
+ l,
29
+ o
30
+ ), { height: h, minHeight: p } = r.style ?? {}, m = {};
31
+ return h ? m.height = `
32
+ calc(
33
+ ${h}
34
+ - ${t.component["rich-text-editor"].vr.height}
35
+ - (2 * ${t.component["rich-text-editor"].border.width})
36
+ - (2 * ${t.component["rich-text-editor"].padding.input.y})
37
+ )` : p && (m.minHeight = `
38
+ calc(
39
+ ${p}
40
+ - ${t.component["rich-text-editor"].vr.height}
41
+ - (2 * ${t.component["rich-text-editor"].border.width})
42
+ - (2 * ${t.component["rich-text-editor"].padding.input.y})
43
+ )`), /* @__PURE__ */ e.createElement("div", { className: k(D({ disabled: i }), f), ...r }, !i && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: L, ...n("toolbar") }, v.map(
44
+ (d, b) => d === "vr" ? /* @__PURE__ */ e.createElement("div", { className: w, key: `vr-${b}` }) : /* @__PURE__ */ e.createElement(
45
+ C,
46
+ {
47
+ ...d,
48
+ selectionDOMContextFind: l,
49
+ ...n(`button-${d.key}`)
50
+ }
51
+ )
52
+ )), x && /* @__PURE__ */ e.createElement(
53
+ M,
54
+ {
55
+ onClose: R,
56
+ selectionDOMContextFind: l,
57
+ selectionRange: T
58
+ }
59
+ )), /* @__PURE__ */ e.createElement(
60
+ "div",
61
+ {
62
+ className: B({ disabled: i }),
63
+ ref: o,
64
+ contentEditable: !i,
65
+ ...n("input"),
66
+ style: m
67
+ }
68
+ ));
69
+ }
70
+ $.set(S, {
71
+ name: "RichTextEditor",
72
+ props: {
73
+ md: "string",
74
+ html: "string",
75
+ disabled: { type: "boolean", default: "false" },
76
+ onChange: "(newValue: RichTextEditorAggregateValue) => void"
77
+ }
78
+ });
79
+ export {
80
+ S as RichTextEditor
81
+ };
@@ -0,0 +1,2 @@
1
+ export declare function useHtmlToMd(): (html: string) => Promise<string>;
2
+ //# sourceMappingURL=useHtmlToMd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useHtmlToMd.d.ts","sourceRoot":"","sources":["../../../../src/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.ts"],"names":[],"mappings":"AAMA,wBAAgB,WAAW,IAAI,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAiB/D"}
@@ -0,0 +1,20 @@
1
+ import { useMemo as r } from "react";
2
+ import t from "rehype-parse";
3
+ import m from "rehype-remark";
4
+ import i from "remark-stringify";
5
+ import { unified as n } from "unified";
6
+ function a() {
7
+ const e = r(
8
+ () => n().use(t).use(m).use(i),
9
+ []
10
+ );
11
+ return r(
12
+ () => function(o) {
13
+ return e.process(o).then(String);
14
+ },
15
+ []
16
+ );
17
+ }
18
+ export {
19
+ a as useHtmlToMd
20
+ };
@@ -0,0 +1,2 @@
1
+ export declare function useMdToHtml(): (md: string) => Promise<string>;
2
+ //# sourceMappingURL=useMdToHtml.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMdToHtml.d.ts","sourceRoot":"","sources":["../../../../src/rich-text-editor/rich-text-editor/hooks/useMdToHtml.ts"],"names":[],"mappings":"AASA,wBAAgB,WAAW,IAAI,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAmB7D"}
@@ -0,0 +1,22 @@
1
+ import { useMemo as e } from "react";
2
+ import t from "remark-parse";
3
+ import m from "remark-rehype";
4
+ import i from "rehype-sanitize";
5
+ import s from "rehype-stringify";
6
+ import { unified as p } from "unified";
7
+ import { flattenListItemParagraphs as n } from "../utils/flattenListItemParagraphs.js";
8
+ function l() {
9
+ const r = e(
10
+ () => p().use(t).use(n).use(m).use(i).use(s),
11
+ []
12
+ );
13
+ return e(
14
+ () => function(o) {
15
+ return r.process(o).then(String);
16
+ },
17
+ [r]
18
+ );
19
+ }
20
+ export {
21
+ l as useMdToHtml
22
+ };
@@ -0,0 +1,14 @@
1
+ import type { RefObject } from "react";
2
+ export interface RichTextEditorAggregateValue {
3
+ md: string;
4
+ html: string;
5
+ }
6
+ export type RTEStateUpdateFromDiv = <T extends HTMLElement>(ref: RefObject<T>) => void;
7
+ export declare function useRTEContent(initMd?: string, initHtml?: string): {
8
+ aggValue?: RichTextEditorAggregateValue;
9
+ editableDivInnerHtml: {
10
+ html: string;
11
+ };
12
+ updateStateFromDiv: RTEStateUpdateFromDiv;
13
+ };
14
+ //# sourceMappingURL=useRTEContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRTEContent.d.ts","sourceRoot":"","sources":["../../../../src/rich-text-editor/rich-text-editor/hooks/useRTEContent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,SAAS,WAAW,EAAE,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AAEvF,wBAAgB,aAAa,CAAC,MAAM,SAAK,EAAE,QAAQ,SAAK,GAAG;IACzD,QAAQ,CAAC,EAAE,4BAA4B,CAAC;IACxC,oBAAoB,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACvC,kBAAkB,EAAE,qBAAqB,CAAC;CAC3C,CA2CA"}
@@ -0,0 +1,28 @@
1
+ import { useState as l, useCallback as d, useEffect as p } from "react";
2
+ import { useMdToHtml as v } from "./useMdToHtml.js";
3
+ import { useHtmlToMd as w } from "./useHtmlToMd.js";
4
+ function E(n = "", t = "") {
5
+ const [s, r] = l(), [f, g] = l({ html: t }), c = w(), u = v(), T = d(async (e) => {
6
+ const m = await u(e), o = { md: e, html: m };
7
+ return r(o), o;
8
+ }, [u]), a = d(async (e) => {
9
+ const o = { md: await c(e), html: e };
10
+ return r(o), o;
11
+ }, [c]);
12
+ p(() => {
13
+ !t && n !== s?.md ? T(n).then(({ html: e }) => {
14
+ g({ html: e });
15
+ }) : !n && t && t !== s?.html && a(t);
16
+ }, [n, t]);
17
+ function h(e) {
18
+ e.current && a(e.current.innerHTML);
19
+ }
20
+ return {
21
+ aggValue: s,
22
+ editableDivInnerHtml: f,
23
+ updateStateFromDiv: h
24
+ };
25
+ }
26
+ export {
27
+ E as useRTEContent
28
+ };
@@ -0,0 +1,6 @@
1
+ import type { RefObject } from "react";
2
+ import type { RTEStateUpdateFromDiv } from "./useRTEContent";
3
+ export declare function moveCaretAfter(node: Node): void;
4
+ export declare function moveCaretBefore(node: Node): void;
5
+ export declare function useRTEObserver(updateStateFromDiv: RTEStateUpdateFromDiv): RefObject<HTMLDivElement>;
6
+ //# sourceMappingURL=useRTEObserver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRTEObserver.d.ts","sourceRoot":"","sources":["../../../../src/rich-text-editor/rich-text-editor/hooks/useRTEObserver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AA4D7D,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAO/C;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAOhD;AAED,wBAAgB,cAAc,CAC5B,kBAAkB,EAAE,qBAAqB,GACxC,SAAS,CAAC,cAAc,CAAC,CAiF3B"}
@@ -0,0 +1,94 @@
1
+ import { useRef as g, useMemo as f, useEffect as i } from "react";
2
+ function x(e) {
3
+ if (e instanceof HTMLElement) {
4
+ for (const t of Array.from(e.attributes))
5
+ /(style|class|data-[^=]+)/.test(t.name) && e.removeAttribute(t.name);
6
+ e.innerHTML = e.innerHTML.replace(/(style|class|data-[^=]+)="[^"]+"/g, "");
7
+ }
8
+ }
9
+ const u = [
10
+ // Bold
11
+ {
12
+ regex: /\*\*([^*]+)\*\*/,
13
+ command: "bold"
14
+ },
15
+ // Italic
16
+ {
17
+ regex: new RegExp("(?<!\\*)\\*([^*]+)\\*"),
18
+ command: "italic"
19
+ },
20
+ // Bulleted list
21
+ {
22
+ regex: /^\*[ \u00a0]/,
23
+ command: "insertUnorderedList"
24
+ },
25
+ // Numbered list
26
+ {
27
+ regex: /^1\.[ \u00a0]/,
28
+ command: "insertOrderedList"
29
+ },
30
+ // Link
31
+ {
32
+ regex: /\[([^\]]+)\]\(([^)]+)\)/,
33
+ command: "createLink",
34
+ getCommandArg: ([, , e]) => /^https?:\/\//.test(e) ? e : `https://${e}`
35
+ }
36
+ ];
37
+ function E(e, t, a) {
38
+ const n = document.createRange();
39
+ n.setStart(e, t), n.setEnd(e, a);
40
+ const r = window.getSelection();
41
+ r?.removeAllRanges(), r?.addRange(n);
42
+ }
43
+ function L(e) {
44
+ const t = document.createRange();
45
+ t.setStartAfter(e), t.setEndAfter(e);
46
+ const a = window.getSelection();
47
+ a?.removeAllRanges(), a?.addRange(t);
48
+ }
49
+ function C(e) {
50
+ const t = document.createRange();
51
+ t.setStartBefore(e), t.setEndBefore(e);
52
+ const a = window.getSelection();
53
+ a?.removeAllRanges(), a?.addRange(t);
54
+ }
55
+ function v(e) {
56
+ const t = g(null), a = f(() => new MutationObserver(([n]) => {
57
+ if (n.type === "characterData" && n.oldValue && n.target.textContent) {
58
+ for (const r of u)
59
+ if (!r.regex.test(n.oldValue) && r.regex.test(n.target.textContent)) {
60
+ const s = r.regex.exec(n.target.textContent), [o, c = ""] = s, d = n.target.textContent.indexOf(o);
61
+ n.target.textContent = n.target.textContent.replace(o, c);
62
+ const l = d + c.length;
63
+ E(n.target, d, l);
64
+ const m = r.getCommandArg ? r.getCommandArg(s) : void 0;
65
+ document.execCommand(r.command, void 0, m), c && (L(n.target.parentNode), document.execCommand(r.command));
66
+ }
67
+ } else n.type === "childList" && Array.from(n.addedNodes).forEach((r) => {
68
+ let s;
69
+ if (r instanceof HTMLElement && r.tagName === "LI" ? s = r : r?.parentElement?.tagName === "LI" && (s = r?.parentElement), s) {
70
+ const o = s.nextElementSibling, c = o?.childNodes?.[0];
71
+ if (c instanceof HTMLElement && ["UL", "OL"].includes(c.tagName)) {
72
+ const l = document.createElement("br");
73
+ o.insertBefore(l, c), C(l);
74
+ }
75
+ }
76
+ x(r);
77
+ });
78
+ e(t);
79
+ }), []);
80
+ return i(() => () => {
81
+ a && a.disconnect();
82
+ }, []), i(() => {
83
+ t.current !== null && a.observe(t.current, {
84
+ childList: !0,
85
+ subtree: !0,
86
+ characterDataOldValue: !0
87
+ });
88
+ }, [a, t]), t;
89
+ }
90
+ export {
91
+ L as moveCaretAfter,
92
+ C as moveCaretBefore,
93
+ v as useRTEObserver
94
+ };
@@ -0,0 +1,7 @@
1
+ export type ElementTest = (element: HTMLElement) => boolean;
2
+ export type SelectionDOMContextFind = (test?: ElementTest) => HTMLElement | null;
3
+ export declare function useRTESelectionListener(editableDivRef: any): {
4
+ selectionRange: Range | undefined;
5
+ selectionDOMContextFind: SelectionDOMContextFind;
6
+ };
7
+ //# sourceMappingURL=useRTESelectionListener.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRTESelectionListener.d.ts","sourceRoot":"","sources":["../../../../src/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC;AAC5D,MAAM,MAAM,uBAAuB,GAAG,CAAC,IAAI,CAAC,EAAE,WAAW,KAAK,WAAW,GAAG,IAAI,CAAC;AAEjF,wBAAgB,uBAAuB,CAAC,cAAc,KAAA;;;EA2CrD"}