@sps-woodland/core 8.56.2 → 8.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/lib/action-bar/action-bar/ActionBar.js +44 -59
  2. package/lib/action-bar/action-bar/ActionBar.ve.js +4 -11
  3. package/lib/action-bar/action-bar-additional-content/ActionBarAdditionalContent.js +14 -22
  4. package/lib/action-bar/index.js +54 -74
  5. package/lib/action-bar/index.umd.cjs +1 -1
  6. package/lib/action-bar/style.css +2 -1
  7. package/lib/add-to-list/add-to-list/AddToList.js +220 -302
  8. package/lib/add-to-list/add-to-list/AddToList.ve.js +79 -24
  9. package/lib/add-to-list/add-to-list/ItemsList.js +42 -67
  10. package/lib/add-to-list/add-to-list/ListItem.js +24 -50
  11. package/lib/add-to-list/index.js +393 -453
  12. package/lib/add-to-list/index.umd.cjs +1 -1
  13. package/lib/add-to-list/style.css +2 -1
  14. package/lib/buttons/button/Button.js +95 -121
  15. package/lib/buttons/button/Button.ve.js +150 -9
  16. package/lib/buttons/index.js +281 -171
  17. package/lib/buttons/index.umd.cjs +1 -1
  18. package/lib/buttons/style.css +2 -1
  19. package/lib/cards/card/Card.js +19 -27
  20. package/lib/cards/card/Card.ve.js +4 -4
  21. package/lib/cards/card-footer/CardFooter.js +12 -13
  22. package/lib/cards/card-footer/CardFooter.ve.js +4 -4
  23. package/lib/cards/card-header/CardHeader.js +12 -13
  24. package/lib/cards/card-header/CardHeader.ve.js +4 -4
  25. package/lib/cards/card-title/CardTitle.js +11 -12
  26. package/lib/cards/card-title/CardTitle.ve.js +4 -4
  27. package/lib/cards/index.js +52 -52
  28. package/lib/cards/index.umd.cjs +1 -1
  29. package/lib/cards/style.css +2 -1
  30. package/lib/column-manager/column-manager/ColumnManager.js +95 -112
  31. package/lib/column-manager/column-manager/useColumnManager.js +59 -48
  32. package/lib/column-manager/index.js +2 -5
  33. package/lib/components/icon/Icon.ve.js +15 -5
  34. package/lib/components/icon/icons/sprite.svg.js +4 -4
  35. package/lib/content-row/content-row/ContentRow.js +146 -173
  36. package/lib/content-row/content-row/ContentRow.ve.js +105 -18
  37. package/lib/content-row/content-row-col/ContentRowCol.js +37 -48
  38. package/lib/content-row/content-row-col/ContentRowCol.ve.js +49 -6
  39. package/lib/content-row/content-row-expansion/ContentRowExpansion.js +16 -24
  40. package/lib/content-row/index.js +407 -318
  41. package/lib/content-row/index.umd.cjs +1 -1
  42. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.js +24 -39
  43. package/lib/content-row/row-list-auto-layout/RowListAutoLayout.ve.js +13 -5
  44. package/lib/content-row/style.css +2 -1
  45. package/lib/content-tiles/content-tile/ContentTile.js +71 -60
  46. package/lib/content-tiles/content-tile/ContentTile.ve.js +36 -14
  47. package/lib/content-tiles/content-tile-list/ContentTileList.js +12 -13
  48. package/lib/content-tiles/content-tile-list/ContentTileList.ve.js +4 -5
  49. package/lib/content-tiles/index.js +156 -118
  50. package/lib/content-tiles/index.umd.cjs +1 -1
  51. package/lib/content-tiles/style.css +2 -1
  52. package/lib/core.css +2 -1
  53. package/lib/dropdowns/dropdown/Dropdown.js +56 -68
  54. package/lib/dropdowns/dropdown/Dropdown.ve.js +37 -8
  55. package/lib/dropdowns/index.js +171 -171
  56. package/lib/dropdowns/index.umd.cjs +1 -1
  57. package/lib/dropdowns/option-list/Option.js +14 -18
  58. package/lib/dropdowns/option-list/Option.ve.js +4 -5
  59. package/lib/dropdowns/option-list/OptionList.js +28 -44
  60. package/lib/dropdowns/option-list/OptionList.ve.js +4 -5
  61. package/lib/dropdowns/style.css +2 -1
  62. package/lib/editable-table/EditableTable.js +68 -85
  63. package/lib/editable-table/index.js +1 -4
  64. package/lib/feedback-block/FeedbackBlock.js +40 -35
  65. package/lib/feedback-block/FeedbackBlock.ve.js +56 -7
  66. package/lib/feedback-block/index.js +132 -85
  67. package/lib/feedback-block/index.umd.cjs +1 -1
  68. package/lib/feedback-block/style.css +2 -1
  69. package/lib/file-upload/file-upload/FileUpload.js +164 -202
  70. package/lib/file-upload/file-upload/FileUpload.ve.js +84 -18
  71. package/lib/file-upload/file-upload/mime-type.enum.js +106 -106
  72. package/lib/file-upload/index.js +390 -353
  73. package/lib/file-upload/index.umd.cjs +1 -1
  74. package/lib/file-upload/style.css +2 -1
  75. package/lib/filter-tiles/filter-tile/FilterTile.js +41 -46
  76. package/lib/filter-tiles/filter-tile/FilterTile.ve.js +51 -9
  77. package/lib/filter-tiles/filter-tile-set/FilterTileSet.js +12 -15
  78. package/lib/filter-tiles/filter-tile-set/FilterTileSet.ve.js +4 -4
  79. package/lib/filter-tiles/index.js +142 -107
  80. package/lib/filter-tiles/index.umd.cjs +1 -1
  81. package/lib/filter-tiles/style.css +2 -1
  82. package/lib/focused-task/focused-task/FocusedTask.js +52 -74
  83. package/lib/focused-task/focused-task/FocusedTask.ve.js +13 -12
  84. package/lib/focused-task/focused-task/useFocusedTask.js +20 -18
  85. package/lib/focused-task/focused-task-actions/FocusedTaskActions.js +12 -13
  86. package/lib/focused-task/index.js +127 -144
  87. package/lib/focused-task/index.umd.cjs +1 -1
  88. package/lib/focused-task/style.css +2 -1
  89. package/lib/growler/Growler.js +78 -90
  90. package/lib/growler/Growler.ve.js +23 -12
  91. package/lib/growler/GrowlerListProvider.js +38 -39
  92. package/lib/growler/Sonner.ve.js +17 -12
  93. package/lib/growler/index.js +249 -274
  94. package/lib/growler/index.umd.cjs +1 -1
  95. package/lib/growler/sonner.js +73 -102
  96. package/lib/growler/style.css +2 -1
  97. package/lib/index.js +520 -501
  98. package/lib/index.umd.cjs +4 -4
  99. package/lib/insight-card/InsightCard.js +90 -84
  100. package/lib/insight-card/InsightCard.ve.js +148 -15
  101. package/lib/insight-card/InsightCardSet.js +12 -12
  102. package/lib/insight-card/index.js +269 -141
  103. package/lib/insight-card/index.umd.cjs +1 -1
  104. package/lib/insight-card/style.css +2 -1
  105. package/lib/key-value-set/index.js +97 -87
  106. package/lib/key-value-set/index.umd.cjs +1 -1
  107. package/lib/key-value-set/key-value-set/KeyValueSet.js +17 -21
  108. package/lib/key-value-set/key-value-set/KeyValueSet.ve.js +10 -5
  109. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.js +25 -21
  110. package/lib/key-value-set/key-value-set-item/KeyValueSetItem.ve.js +13 -6
  111. package/lib/key-value-set/style.css +2 -1
  112. package/lib/list-bar/advanced-search/AdvancedSearch.js +51 -54
  113. package/lib/list-bar/advanced-search/AdvancedSearch.ve.js +30 -8
  114. package/lib/list-bar/index.js +305 -301
  115. package/lib/list-bar/index.umd.cjs +1 -1
  116. package/lib/list-bar/list-bar/InputGroupWrapper.js +10 -19
  117. package/lib/list-bar/list-bar/ListBar.js +105 -121
  118. package/lib/list-bar/list-bar/ListBar.ve.js +13 -17
  119. package/lib/list-bar/list-bar/ListBarSearch.js +20 -21
  120. package/lib/list-bar/list-bar/ListBarSearchInfo.js +8 -12
  121. package/lib/list-bar/list-bar/ListBarSortBy.js +28 -38
  122. package/lib/list-bar/search-results-bar/SearchResultsBar.js +38 -28
  123. package/lib/list-bar/search-results-bar/SearchResultsBar.ve.js +4 -11
  124. package/lib/list-bar/style.css +2 -1
  125. package/lib/matrix/index.js +79 -87
  126. package/lib/matrix/index.umd.cjs +1 -1
  127. package/lib/matrix/matrix/Matrix.js +18 -26
  128. package/lib/matrix/matrix/Matrix.ve.js +4 -7
  129. package/lib/matrix/matrix-body/MatrixBody.js +10 -13
  130. package/lib/matrix/matrix-cell/MatrixCell.js +23 -18
  131. package/lib/matrix/matrix-head/MatrixHead.js +10 -13
  132. package/lib/matrix/matrix-header/MatrixHeader.js +20 -23
  133. package/lib/matrix/matrix-row/MatrixRow.js +10 -13
  134. package/lib/matrix/style.css +2 -1
  135. package/lib/modal/index.js +197 -187
  136. package/lib/modal/index.umd.cjs +1 -1
  137. package/lib/modal/modal/Modal.js +90 -108
  138. package/lib/modal/modal/Modal.ve.js +43 -13
  139. package/lib/modal/modal/useModal.js +19 -24
  140. package/lib/modal/modal-footer/ModalFooter.js +11 -12
  141. package/lib/modal/style.css +2 -1
  142. package/lib/node_modules/.pnpm/@vanilla-extract_recipes@0.2.5_@vanilla-extract_css@1.21.2/node_modules/@vanilla-extract/recipes/createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.esm.js +49 -0
  143. package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/index.browser.js +8 -10
  144. package/lib/node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js +4 -4
  145. package/lib/page-title/heading-level/HeadingLevel.js +8 -12
  146. package/lib/page-title/index.js +33 -40
  147. package/lib/page-title/index.umd.cjs +1 -1
  148. package/lib/page-title/page-subtitle/PageSubtitle.js +13 -18
  149. package/lib/page-title/page-subtitle/PageSubtitle.ve.js +4 -5
  150. package/lib/page-title/page-title/PageTitle.js +15 -19
  151. package/lib/page-title/page-title/PageTitle.ve.js +4 -7
  152. package/lib/page-title/style.css +2 -1
  153. package/lib/photo/index.js +174 -177
  154. package/lib/photo/index.umd.cjs +1 -1
  155. package/lib/photo/photo/Photo.js +72 -81
  156. package/lib/photo/photo/Photo.ve.js +21 -7
  157. package/lib/photo/photo-carousel/PhotoCarousel.js +36 -51
  158. package/lib/photo/photo-carousel/PhotoCarousel.ve.js +13 -9
  159. package/lib/photo/style.css +2 -1
  160. package/lib/product-bar/hooks/usePriorityPlus.js +88 -104
  161. package/lib/product-bar/index.js +372 -395
  162. package/lib/product-bar/index.umd.cjs +1 -1
  163. package/lib/product-bar/product-bar/ProductBar.js +77 -103
  164. package/lib/product-bar/product-bar/ProductBar.ve.js +46 -15
  165. package/lib/product-bar/product-bar-name/ProductBarName.js +37 -40
  166. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.js +48 -70
  167. package/lib/product-bar/product-bar-overflow-menu/ProductBarOverflowMenu.ve.js +4 -8
  168. package/lib/product-bar/product-bar-tab/ProductBarTab.js +28 -26
  169. package/lib/product-bar/slack-link/SlackLink.js +26 -30
  170. package/lib/product-bar/slack-link/SlackLink.ve.js +4 -5
  171. package/lib/product-bar/style.css +2 -1
  172. package/lib/product-bar-vertical/index.js +240 -251
  173. package/lib/product-bar-vertical/index.umd.cjs +1 -1
  174. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.js +42 -61
  175. package/lib/product-bar-vertical/product-bar-vertical/ProductBarVertical.ve.js +53 -23
  176. package/lib/product-bar-vertical/product-bar-vertical-header/ProductBarVerticalHeader.js +30 -42
  177. package/lib/product-bar-vertical/product-bar-vertical-item/ProductBarVerticalItem.js +71 -89
  178. package/lib/product-bar-vertical/product-bar-vertical-section/ProductBarVerticalSection.js +22 -29
  179. package/lib/product-bar-vertical/style.css +2 -1
  180. package/lib/progress-indicators/index.js +372 -255
  181. package/lib/progress-indicators/index.umd.cjs +1 -1
  182. package/lib/progress-indicators/progress-bar/ProgressBar.js +66 -110
  183. package/lib/progress-indicators/progress-bar/ProgressBar.ve.js +66 -13
  184. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.js +34 -54
  185. package/lib/progress-indicators/progress-bar/progress-bar-step/ProgressBarStep.ve.js +136 -8
  186. package/lib/progress-indicators/progress-ring/ProgressRing.js +45 -52
  187. package/lib/progress-indicators/style.css +2 -1
  188. package/lib/rich-text-editor/index.js +556 -582
  189. package/lib/rich-text-editor/index.umd.cjs +11 -11
  190. package/lib/rich-text-editor/rich-text-editor/RTELinkModal.js +29 -33
  191. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.js +23 -37
  192. package/lib/rich-text-editor/rich-text-editor/RTEToolbarButton.ve.js +13 -6
  193. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.js +68 -77
  194. package/lib/rich-text-editor/rich-text-editor/RichTextEditor.ve.js +21 -8
  195. package/lib/rich-text-editor/rich-text-editor/hooks/useHtmlToMd.js +14 -20
  196. package/lib/rich-text-editor/rich-text-editor/hooks/useMdToHtml.js +14 -20
  197. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEContent.js +33 -27
  198. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEObserver.js +79 -88
  199. package/lib/rich-text-editor/rich-text-editor/hooks/useRTESelectionListener.js +28 -36
  200. package/lib/rich-text-editor/rich-text-editor/hooks/useRTEToolbarButtons.js +195 -211
  201. package/lib/rich-text-editor/rich-text-editor/icons/BOLD.svg.js +4 -4
  202. package/lib/rich-text-editor/rich-text-editor/icons/INDENT.svg.js +4 -4
  203. package/lib/rich-text-editor/rich-text-editor/icons/ITALICS.svg.js +4 -4
  204. package/lib/rich-text-editor/rich-text-editor/icons/LINK.svg.js +4 -4
  205. package/lib/rich-text-editor/rich-text-editor/icons/ORDERED_LIST.svg.js +4 -4
  206. package/lib/rich-text-editor/rich-text-editor/icons/OUTDENT.svg.js +4 -4
  207. package/lib/rich-text-editor/rich-text-editor/icons/REDO.svg.js +4 -4
  208. package/lib/rich-text-editor/rich-text-editor/icons/UNDO.svg.js +4 -4
  209. package/lib/rich-text-editor/rich-text-editor/icons/UNLINK.svg.js +4 -4
  210. package/lib/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg.js +4 -4
  211. package/lib/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.js +12 -12
  212. package/lib/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.js +20 -19
  213. package/lib/rich-text-editor/rich-text-editor/utils/utils.js +11 -15
  214. package/lib/rich-text-editor/style.css +2 -1
  215. package/lib/scrollable-container/ScrollableContainer.js +18 -27
  216. package/lib/scrollable-container/ScrollableContainer.ve.js +4 -4
  217. package/lib/scrollable-container/index.js +20 -27
  218. package/lib/scrollable-container/index.umd.cjs +1 -1
  219. package/lib/scrollable-container/style.css +2 -1
  220. package/lib/side-nav/index.js +190 -228
  221. package/lib/side-nav/index.umd.cjs +1 -1
  222. package/lib/side-nav/side-nav/SideNav.js +43 -60
  223. package/lib/side-nav/side-nav/SideNav.ve.js +22 -16
  224. package/lib/side-nav/side-nav/navContext.js +7 -7
  225. package/lib/side-nav/side-nav-header/SideNavHeader.js +14 -15
  226. package/lib/side-nav/side-nav-item/SideNavItem.js +68 -94
  227. package/lib/side-nav/side-nav-section/SideNavSection.js +16 -26
  228. package/lib/side-nav/style.css +2 -1
  229. package/lib/sorting-header/caret/caret.ve.js +13 -5
  230. package/lib/sorting-header/index.js +269 -251
  231. package/lib/sorting-header/index.umd.cjs +1 -1
  232. package/lib/sorting-header/sorting-header/SortingHeader.js +110 -124
  233. package/lib/sorting-header/sorting-header/SortingHeader.ve.js +30 -6
  234. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.js +69 -83
  235. package/lib/sorting-header/sorting-header-cell/SortingHeaderCell.ve.js +21 -7
  236. package/lib/sorting-header/style.css +2 -1
  237. package/lib/style.css +2 -1
  238. package/lib/tabs/index.js +255 -201
  239. package/lib/tabs/index.umd.cjs +1 -1
  240. package/lib/tabs/style.css +2 -1
  241. package/lib/tabs/tab/Tab.js +24 -27
  242. package/lib/tabs/tab/Tab.ve.js +76 -6
  243. package/lib/tabs/tab-panel/TabPanel.js +16 -25
  244. package/lib/tabs/tabs/Tabs.js +101 -112
  245. package/lib/tabs/tabs/Tabs.ve.js +13 -11
  246. package/lib/tags/clickable-tag/ClickableTag.js +86 -90
  247. package/lib/tags/clickable-tag/ClickableTag.ve.js +66 -9
  248. package/lib/tags/index.js +342 -199
  249. package/lib/tags/index.umd.cjs +1 -1
  250. package/lib/tags/split-tag/SplitTag.js +49 -30
  251. package/lib/tags/split-tag/SplitTag.ve.js +35 -9
  252. package/lib/tags/style.css +2 -1
  253. package/lib/tags/tag/Tag.js +42 -38
  254. package/lib/tags/tag/Tag.ve.js +41 -6
  255. package/lib/utils/cl.js +5 -5
  256. package/lib/zero-state/ZeroState.js +36 -29
  257. package/lib/zero-state/ZeroState.ve.js +29 -11
  258. package/lib/zero-state/index.js +103 -78
  259. package/lib/zero-state/index.umd.cjs +1 -1
  260. package/lib/zero-state/style.css +2 -1
  261. package/package.json +12 -12
  262. 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 +0 -57
@@ -1,4 +1,4 @@
1
- const e = "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";
2
- export {
3
- e as default
4
- };
1
+ //#region src/rich-text-editor/rich-text-editor/icons/UNORDERED_LIST.svg
2
+ var e = "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";
3
+ //#endregion
4
+ export { e as default };
@@ -1,13 +1,13 @@
1
- import { visit as i } from "unist-util-visit";
2
- function c() {
3
- return (n) => (i(n, "listItem", (a) => {
4
- const r = Array.from(a.children);
5
- if (r.length > 0 && r[0].type === "paragraph") {
6
- const t = r[0], e = Array.from(t.children).concat(r.slice(1));
7
- a.children = e;
8
- }
9
- }), n);
1
+ import { visit as e } from "unist-util-visit";
2
+ //#region src/rich-text-editor/rich-text-editor/utils/flattenListItemParagraphs.ts
3
+ function t() {
4
+ return (t) => (e(t, "listItem", (e) => {
5
+ let t = Array.from(e.children);
6
+ if (t.length > 0 && t[0].type === "paragraph") {
7
+ let n = t[0];
8
+ e.children = Array.from(n.children).concat(t.slice(1));
9
+ }
10
+ }), t);
10
11
  }
11
- export {
12
- c as flattenListItemParagraphs
13
- };
12
+ //#endregion
13
+ export { t as flattenListItemParagraphs };
@@ -1,21 +1,22 @@
1
- const l = /* @__PURE__ */ new Set(["strong", "emphasis", "delete", "link", "linkReference"]), c = /* @__PURE__ */ new Set([...l, "paragraph"]);
2
- function i(r) {
3
- return "children" in r;
1
+ //#region src/rich-text-editor/rich-text-editor/utils/removeUnrepresentableBreaks.ts
2
+ var e = /* @__PURE__ */ new Set([
3
+ "strong",
4
+ "emphasis",
5
+ "delete",
6
+ "link",
7
+ "linkReference"
8
+ ]), t = /* @__PURE__ */ new Set([...e, "paragraph"]);
9
+ function n(e) {
10
+ return "children" in e;
4
11
  }
5
- function h() {
6
- return (r) => {
7
- function t(e) {
8
- for (const n of e.children)
9
- i(n) && t(n);
10
- if (e.children = e.children.filter(
11
- (n) => !(c.has(n.type) && i(n) && n.children.length === 0)
12
- ), l.has(e.type))
13
- for (; e.children.at(-1)?.type === "break"; )
14
- e.children.pop();
15
- }
16
- return t(r), r;
17
- };
12
+ function r() {
13
+ return (r) => {
14
+ function i(r) {
15
+ for (let e of r.children) n(e) && i(e);
16
+ if (r.children = r.children.filter((e) => !(t.has(e.type) && n(e) && e.children.length === 0)), e.has(r.type)) for (; r.children.at(-1)?.type === "break";) r.children.pop();
17
+ }
18
+ return i(r), r;
19
+ };
18
20
  }
19
- export {
20
- h as removeUnrepresentableBreaks
21
- };
21
+ //#endregion
22
+ export { r as removeUnrepresentableBreaks };
@@ -1,16 +1,12 @@
1
- const l = (t, n) => {
2
- let e = t;
3
- for (; e.parentElement && !n.includes(e.parentElement.tagName); )
4
- e = e.parentElement;
5
- return e.parentElement && n.includes(e.parentElement.tagName) ? e.parentElement : null;
6
- }, r = (t) => {
7
- const n = [];
8
- let e = t;
9
- for (; e.nextElementSibling; )
10
- n.push(e.nextElementSibling), e = e.nextElementSibling;
11
- return n;
12
- };
13
- export {
14
- l as getParentElement,
15
- r as getSiblingElementsAfter
1
+ //#region src/rich-text-editor/rich-text-editor/utils/utils.ts
2
+ var e = (e, t) => {
3
+ let n = e;
4
+ for (; n.parentElement && !t.includes(n.parentElement.tagName);) n = n.parentElement;
5
+ return n.parentElement && t.includes(n.parentElement.tagName) ? n.parentElement : null;
6
+ }, t = (e) => {
7
+ let t = [], n = e;
8
+ for (; n.nextElementSibling;) t.push(n.nextElementSibling), n = n.nextElementSibling;
9
+ return t;
16
10
  };
11
+ //#endregion
12
+ export { e as getParentElement, t as getSiblingElementsAfter };
@@ -1 +1,2 @@
1
- .pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1903a6n0{border-radius:.25rem;border-style:solid;border-width:.0625rem;padding:.25rem .5rem}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1903a6n0:hover{background-color:#d2d4d4;border-color:#d2d4d4}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1903a6n0:focus{outline-color:#007db8;outline-style:solid;outline-offset:.125rem;outline-width:.125rem;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1903a6n1{background-color:#e6f2f8;border-color:#007db8}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1903a6n2{background-color:#fff;border-color:#fff}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1903a6n3{background-position:center;background-repeat:no-repeat;display:block;height:1.125rem;width:.875rem}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss0{background-color:#fff;border-radius:.25rem;border-style:solid;border-width:.0625rem;font-size:.875rem;line-height:1.25rem}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss1{border-color:#d2d4d4}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss2{border-color:#717779}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss3{padding:.25rem .5rem;min-height:8rem;overflow:scroll}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss4{color:#717779}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss5{box-shadow:inset 0 .25rem #e9e9ea}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss6{align-items:center;border-color:#717779;border-style:solid;border-bottom-width:.0625rem;border-top-width:0;border-left-width:0;border-right-width:0;display:flex;padding:.25rem}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_2__hash_1f3v2ss7{background-color:#d2d4d4;margin-left:.25rem;margin-right:.25rem;height:1.75rem;width:.0625rem}
1
+ .pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1903a6n0{border-style:solid;border-width:.0625rem;border-radius:.25rem;padding:.25rem .5rem}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1903a6n0:hover{background-color:#d2d4d4;border-color:#d2d4d4}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1903a6n0:focus{outline-offset:.125rem;outline:.125rem solid #007db8;box-shadow:0 0 0 6px #fff}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1903a6n1{background-color:#e6f2f8;border-color:#007db8}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1903a6n2{background-color:#fff;border-color:#fff}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1903a6n3{background-position:50%;background-repeat:no-repeat;width:.875rem;height:1.125rem;display:block}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss0{background-color:#fff;border-style:solid;border-width:.0625rem;border-radius:.25rem;font-size:.875rem;line-height:1.25rem}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss1{border-color:#d2d4d4}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss2{border-color:#717779}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss3{min-height:8rem;padding:.25rem .5rem;overflow:scroll}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss4{color:#717779}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss5{box-shadow:inset 0 .25rem #e9e9ea}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss6{border:0 solid #717779;border-bottom-width:.0625rem;align-items:center;padding:.25rem;display:flex}.pkg_sps-woodland_core__family_rich-text-editor__version_8_56_3__hash_1f3v2ss7{background-color:#d2d4d4;width:.0625rem;height:1.75rem;margin-left:.25rem;margin-right:.25rem}
2
+ /*$vite$:1*/
@@ -1,29 +1,20 @@
1
- import { Metadata as l, cl as n } from "@sps-woodland/core";
2
- import * as i from "react";
3
- import { scrollableContainer as m } from "./ScrollableContainer.ve.js";
4
- function c({
5
- children: e,
6
- className: r,
7
- maxHeight: t,
8
- style: a,
9
- ...o
10
- }) {
11
- return /* @__PURE__ */ i.createElement(
12
- "div",
13
- {
14
- className: n(m, r),
15
- style: { ...a, maxHeight: t },
16
- ...o
17
- },
18
- e
19
- );
1
+ import { scrollableContainer as e } from "./ScrollableContainer.ve.js";
2
+ import { Metadata as t, cl as n } from "@sps-woodland/core";
3
+ import * as r from "react";
4
+ //#region src/scrollable-container/ScrollableContainer.tsx
5
+ function i({ children: t, className: i, maxHeight: a, style: o, ...s }) {
6
+ return /* @__PURE__ */ r.createElement("div", {
7
+ className: n(e, i),
8
+ style: {
9
+ ...o,
10
+ maxHeight: a
11
+ },
12
+ ...s
13
+ }, t);
20
14
  }
21
- l.set(c, {
22
- name: "ScrollableContainer",
23
- props: {
24
- maxHeight: "string"
25
- }
15
+ t.set(i, {
16
+ name: "ScrollableContainer",
17
+ props: { maxHeight: "string" }
26
18
  });
27
- export {
28
- c as ScrollableContainer
29
- };
19
+ //#endregion
20
+ export { i as ScrollableContainer };
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- var o = "pkg_sps-woodland_core__family_scrollable-container__version_8_56_2__hash_xsjxqv0";
3
- export {
4
- o as scrollableContainer
5
- };
2
+ //#region src/scrollable-container/ScrollableContainer.css.ts
3
+ var e = "pkg_sps-woodland_core__family_scrollable-container__version_8_56_3__hash_xsjxqv0";
4
+ //#endregion
5
+ export { e as scrollableContainer };
@@ -1,29 +1,22 @@
1
- import { Metadata as t, cl as n } from "@sps-woodland/core";
2
- import * as s from "react";
3
- var _ = "pkg_sps-woodland_core__family_scrollable-container__version_8_56_2__hash_xsjxqv0";
4
- function i({
5
- children: e,
6
- className: a,
7
- maxHeight: r,
8
- style: o,
9
- ...l
10
- }) {
11
- return /* @__PURE__ */ s.createElement(
12
- "div",
13
- {
14
- className: n(_, a),
15
- style: { ...o, maxHeight: r },
16
- ...l
17
- },
18
- e
19
- );
1
+ import { Metadata as e, cl as t } from "@sps-woodland/core";
2
+ import * as n from "react";
3
+ //#region src/scrollable-container/ScrollableContainer.css.ts
4
+ var r = "pkg_sps-woodland_core__family_scrollable-container__version_8_56_3__hash_xsjxqv0";
5
+ //#endregion
6
+ //#region src/scrollable-container/ScrollableContainer.tsx
7
+ function i({ children: e, className: i, maxHeight: a, style: o, ...s }) {
8
+ return /* @__PURE__ */ n.createElement("div", {
9
+ className: t(r, i),
10
+ style: {
11
+ ...o,
12
+ maxHeight: a
13
+ },
14
+ ...s
15
+ }, e);
20
16
  }
21
- t.set(i, {
22
- name: "ScrollableContainer",
23
- props: {
24
- maxHeight: "string"
25
- }
17
+ e.set(i, {
18
+ name: "ScrollableContainer",
19
+ props: { maxHeight: "string" }
26
20
  });
27
- export {
28
- i as ScrollableContainer
29
- };
21
+ //#endregion
22
+ export { i as ScrollableContainer };
@@ -1 +1 @@
1
- (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("@sps-woodland/core"),require("react")):typeof define=="function"&&define.amd?define(["exports","@sps-woodland/core","react"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.ScrollableContainer={},e.spsWoodlandCore,e.react))})(this,(function(e,n,i){"use strict";function c(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(r,o,a.get?a:{enumerable:!0,get:()=>t[o]})}}return r.default=t,Object.freeze(r)}const s=c(i);var d="pkg_sps-woodland_core__family_scrollable-container__version_8_56_2__hash_xsjxqv0";function l({children:t,className:r,maxHeight:o,style:a,...f}){return s.createElement("div",{className:n.cl(d,r),style:{...a,maxHeight:o},...f},t)}n.Metadata.set(l,{name:"ScrollableContainer",props:{maxHeight:"string"}}),e.ScrollableContainer=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("@sps-woodland/core"),require("react")):typeof define==`function`&&define.amd?define([`exports`,`@sps-woodland/core`,`react`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.ScrollableContainer={},e.spsWoodlandCore,e.react))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e};n=((e,t,n)=>(n=e==null?{}:r(s(e)),l(t||!e||!e.__esModule||!c.call(e,`default`)?i(n,`default`,{value:e,enumerable:!0}):n,e)))(n,1);var u=`pkg_sps-woodland_core__family_scrollable-container__version_8_56_3__hash_xsjxqv0`;function d({children:e,className:r,maxHeight:i,style:a,...o}){return n.createElement(`div`,{className:(0,t.cl)(u,r),style:{...a,maxHeight:i},...o},e)}t.Metadata.set(d,{name:`ScrollableContainer`,props:{maxHeight:`string`}}),e.ScrollableContainer=d});
@@ -1 +1,2 @@
1
- .pkg_sps-woodland_core__family_scrollable-container__version_8_56_2__hash_xsjxqv0{overflow:scroll;background-attachment:local,local,scroll,scroll;background-color:#fff;background-image:linear-gradient(0deg,#fff,#fff0),linear-gradient(180deg,#fff,#fff0),linear-gradient(0deg,#00000026,#fff0),linear-gradient(180deg,#00000026,#fff0);background-position:100% 100%,0 0,100% 100%,0 0;background-repeat:no-repeat;background-size:100% 3.125rem,100% 3.125rem,100% .625rem,100% .625rem;display:block;overflow-x:hidden;overflow-y:auto}.pkg_sps-woodland_core__family_scrollable-container__version_8_56_2__hash_xsjxqv0 .sps-clickable-tag{background-color:#acd4e84d}
1
+ .pkg_sps-woodland_core__family_scrollable-container__version_8_56_3__hash_xsjxqv0{background-color:#fff;background-image:linear-gradient(#fff0,#fff),linear-gradient(#fff,#fff0),linear-gradient(#fff0,#00000026),linear-gradient(#00000026,#fff0);background-position:100% 100%,0 0,100% 100%,0 0;background-repeat:no-repeat;background-size:100% 3.125rem,100% 3.125rem,100% .625rem,100% .625rem;background-attachment:local,local,scroll,scroll;display:block;overflow:hidden auto}.pkg_sps-woodland_core__family_scrollable-container__version_8_56_3__hash_xsjxqv0 .sps-clickable-tag{background-color:#acd4e84d}
2
+ /*$vite$:1*/