@weavy/uikit-react 13.0.0 → 14.0.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 (371) hide show
  1. package/changelog.md +30 -0
  2. package/dist/cjs/{types/client → client}/WeavyClient.d.ts +0 -0
  3. package/dist/cjs/{types/components → components}/Attachment.d.ts +0 -0
  4. package/dist/cjs/{types/components → components}/Avatar.d.ts +0 -0
  5. package/dist/{esm/types → cjs}/components/Chat.d.ts +1 -1
  6. package/dist/cjs/{types/components → components}/Conversation.d.ts +0 -0
  7. package/dist/cjs/{types/components → components}/ConversationBadge.d.ts +0 -0
  8. package/dist/cjs/{types/components → components}/ConversationForm.d.ts +0 -0
  9. package/dist/cjs/{types/components → components}/ConversationList.d.ts +0 -0
  10. package/dist/cjs/{types/components → components}/ConversationListItem.d.ts +0 -0
  11. package/dist/cjs/{types/components → components}/File.d.ts +0 -0
  12. package/dist/cjs/{types/components → components}/FileBrowser.d.ts +0 -0
  13. package/dist/cjs/{types/components → components}/Image.d.ts +0 -0
  14. package/dist/cjs/{types/components → components}/Meeting.d.ts +0 -0
  15. package/dist/cjs/{types/components → components}/MeetingCard.d.ts +0 -0
  16. package/dist/cjs/{types/components → components}/Meetings.d.ts +0 -0
  17. package/dist/cjs/{types/components → components}/Message.d.ts +0 -0
  18. package/dist/{esm/types → cjs}/components/Messages.d.ts +3 -1
  19. package/dist/cjs/{types/components → components}/Messenger.d.ts +0 -0
  20. package/dist/cjs/{types/components → components}/NewConversation.d.ts +0 -0
  21. package/dist/cjs/{types/components → components}/PdfViewer.d.ts +0 -0
  22. package/dist/cjs/{types/components → components}/Presence.d.ts +0 -0
  23. package/dist/cjs/{types/components → components}/Preview.d.ts +0 -0
  24. package/dist/cjs/{types/components → components}/Reactions.d.ts +0 -0
  25. package/dist/cjs/{types/components → components}/SearchUsers.d.ts +0 -0
  26. package/dist/cjs/{types/components → components}/SeenBy.d.ts +0 -0
  27. package/dist/cjs/{types/components → components}/Typing.d.ts +0 -0
  28. package/dist/cjs/{types/contexts → contexts}/MessengerContext.d.ts +0 -0
  29. package/dist/cjs/{types/contexts → contexts}/PreviewContext.d.ts +0 -0
  30. package/dist/cjs/{types/contexts → contexts}/UserContext.d.ts +0 -0
  31. package/dist/cjs/{types/contexts → contexts}/WeavyContext.d.ts +0 -0
  32. package/dist/cjs/{types/hooks → hooks}/useBadge.d.ts +0 -0
  33. package/dist/cjs/{types/hooks → hooks}/useChat.d.ts +0 -0
  34. package/dist/cjs/{types/hooks → hooks}/useConversation.d.ts +0 -0
  35. package/dist/cjs/hooks/useConversations.d.ts +1 -0
  36. package/dist/cjs/{types/hooks → hooks}/useDebounce.d.ts +0 -0
  37. package/dist/cjs/{types/hooks → hooks}/useEvents.d.ts +0 -0
  38. package/dist/cjs/{types/hooks → hooks}/useFileUploader.d.ts +0 -0
  39. package/dist/cjs/{types/hooks → hooks}/useMembers.d.ts +0 -0
  40. package/dist/cjs/{types/hooks → hooks}/useMessages.d.ts +0 -0
  41. package/dist/cjs/{types/hooks → hooks}/useMutateChat.d.ts +0 -0
  42. package/dist/cjs/{types/hooks → hooks}/useMutateConversation.d.ts +0 -0
  43. package/dist/cjs/{types/hooks → hooks}/useMutateConversationName.d.ts +0 -0
  44. package/dist/cjs/{types/hooks → hooks}/useMutateDeleteReaction.d.ts +0 -0
  45. package/dist/cjs/{types/hooks → hooks}/useMutateExternalBlobs.d.ts +0 -0
  46. package/dist/cjs/{types/hooks → hooks}/useMutateMeeting.d.ts +0 -0
  47. package/dist/cjs/{types/hooks → hooks}/useMutateMembers.d.ts +0 -0
  48. package/dist/{esm/types → cjs}/hooks/useMutateMessage.d.ts +1 -1
  49. package/dist/cjs/{types/hooks → hooks}/useMutatePinned.d.ts +0 -0
  50. package/dist/cjs/{types/hooks → hooks}/useMutateReaction.d.ts +0 -0
  51. package/dist/cjs/{types/hooks → hooks}/useMutateRead.d.ts +1 -0
  52. package/dist/cjs/{types/hooks → hooks}/useMutateRemoveMembers.d.ts +0 -0
  53. package/dist/cjs/{types/hooks → hooks}/useMutateTyping.d.ts +0 -0
  54. package/dist/cjs/{types/hooks → hooks}/usePresence.d.ts +0 -0
  55. package/dist/cjs/{types/hooks → hooks}/usePreview.d.ts +0 -0
  56. package/dist/cjs/{types/hooks → hooks}/useReactions.d.ts +0 -0
  57. package/dist/cjs/{types/hooks → hooks}/useSearchUsers.d.ts +0 -0
  58. package/dist/cjs/{types/hooks → hooks}/useThrottle.d.ts +0 -0
  59. package/dist/cjs/{types/hooks → hooks}/useUser.d.ts +0 -0
  60. package/dist/cjs/{types/index.d.ts → index.d.ts} +0 -0
  61. package/dist/cjs/index.js +6 -28
  62. package/dist/cjs/index.js.map +1 -1
  63. package/dist/cjs/types/{types/Chat.d.ts → Chat.d.ts} +1 -0
  64. package/dist/cjs/types/{types/Conversation.d.ts → Conversation.d.ts} +0 -0
  65. package/dist/cjs/types/{types/ConversationListItem.d.ts → ConversationListItem.d.ts} +0 -0
  66. package/dist/{esm/types → cjs}/types/Message.d.ts +2 -0
  67. package/dist/cjs/types/{types/Messenger.d.ts → Messenger.d.ts} +0 -0
  68. package/dist/cjs/types/{types/types.d.ts → types.d.ts} +47 -4
  69. package/dist/cjs/{types/ui → ui}/Button.d.ts +0 -0
  70. package/dist/cjs/{types/ui → ui}/Dropdown.d.ts +0 -0
  71. package/dist/cjs/{types/ui → ui}/Icon.d.ts +0 -0
  72. package/dist/cjs/{types/ui → ui}/Overlay.d.ts +0 -0
  73. package/dist/cjs/{types/ui → ui}/Spinner.d.ts +2 -1
  74. package/dist/cjs/{types/utils → utils}/fileUtilities.d.ts +0 -0
  75. package/dist/css/weavy-chat.css +1543 -959
  76. package/dist/css/weavy-messenger.css +1903 -1302
  77. package/dist/css/weavy.css +1703 -1102
  78. package/dist/esm/{types/client → client}/WeavyClient.d.ts +0 -0
  79. package/dist/esm/{types/components → components}/Attachment.d.ts +0 -0
  80. package/dist/esm/{types/components → components}/Avatar.d.ts +0 -0
  81. package/dist/{cjs/types → esm}/components/Chat.d.ts +1 -1
  82. package/dist/esm/{types/components → components}/Conversation.d.ts +0 -0
  83. package/dist/esm/{types/components → components}/ConversationBadge.d.ts +0 -0
  84. package/dist/esm/{types/components → components}/ConversationForm.d.ts +0 -0
  85. package/dist/esm/{types/components → components}/ConversationList.d.ts +0 -0
  86. package/dist/esm/{types/components → components}/ConversationListItem.d.ts +0 -0
  87. package/dist/esm/{types/components → components}/File.d.ts +0 -0
  88. package/dist/esm/{types/components → components}/FileBrowser.d.ts +0 -0
  89. package/dist/esm/{types/components → components}/Image.d.ts +0 -0
  90. package/dist/esm/{types/components → components}/Meeting.d.ts +0 -0
  91. package/dist/esm/{types/components → components}/MeetingCard.d.ts +0 -0
  92. package/dist/esm/{types/components → components}/Meetings.d.ts +0 -0
  93. package/dist/esm/{types/components → components}/Message.d.ts +0 -0
  94. package/dist/{cjs/types → esm}/components/Messages.d.ts +3 -1
  95. package/dist/esm/{types/components → components}/Messenger.d.ts +0 -0
  96. package/dist/esm/{types/components → components}/NewConversation.d.ts +0 -0
  97. package/dist/esm/{types/components → components}/PdfViewer.d.ts +0 -0
  98. package/dist/esm/{types/components → components}/Presence.d.ts +0 -0
  99. package/dist/esm/{types/components → components}/Preview.d.ts +0 -0
  100. package/dist/esm/{types/components → components}/Reactions.d.ts +0 -0
  101. package/dist/esm/{types/components → components}/SearchUsers.d.ts +0 -0
  102. package/dist/esm/{types/components → components}/SeenBy.d.ts +0 -0
  103. package/dist/esm/{types/components → components}/Typing.d.ts +0 -0
  104. package/dist/esm/{types/contexts → contexts}/MessengerContext.d.ts +0 -0
  105. package/dist/esm/{types/contexts → contexts}/PreviewContext.d.ts +0 -0
  106. package/dist/esm/{types/contexts → contexts}/UserContext.d.ts +0 -0
  107. package/dist/esm/{types/contexts → contexts}/WeavyContext.d.ts +0 -0
  108. package/dist/esm/{types/hooks → hooks}/useBadge.d.ts +0 -0
  109. package/dist/esm/{types/hooks → hooks}/useChat.d.ts +0 -0
  110. package/dist/esm/{types/hooks → hooks}/useConversation.d.ts +0 -0
  111. package/dist/esm/hooks/useConversations.d.ts +1 -0
  112. package/dist/esm/{types/hooks → hooks}/useDebounce.d.ts +0 -0
  113. package/dist/esm/{types/hooks → hooks}/useEvents.d.ts +0 -0
  114. package/dist/esm/{types/hooks → hooks}/useFileUploader.d.ts +0 -0
  115. package/dist/esm/{types/hooks → hooks}/useMembers.d.ts +0 -0
  116. package/dist/esm/{types/hooks → hooks}/useMessages.d.ts +0 -0
  117. package/dist/esm/{types/hooks → hooks}/useMutateChat.d.ts +0 -0
  118. package/dist/esm/{types/hooks → hooks}/useMutateConversation.d.ts +0 -0
  119. package/dist/esm/{types/hooks → hooks}/useMutateConversationName.d.ts +0 -0
  120. package/dist/esm/{types/hooks → hooks}/useMutateDeleteReaction.d.ts +0 -0
  121. package/dist/esm/{types/hooks → hooks}/useMutateExternalBlobs.d.ts +0 -0
  122. package/dist/esm/{types/hooks → hooks}/useMutateMeeting.d.ts +0 -0
  123. package/dist/esm/{types/hooks → hooks}/useMutateMembers.d.ts +0 -0
  124. package/dist/{cjs/types → esm}/hooks/useMutateMessage.d.ts +1 -1
  125. package/dist/esm/{types/hooks → hooks}/useMutatePinned.d.ts +0 -0
  126. package/dist/esm/{types/hooks → hooks}/useMutateReaction.d.ts +0 -0
  127. package/dist/esm/{types/hooks → hooks}/useMutateRead.d.ts +1 -0
  128. package/dist/esm/{types/hooks → hooks}/useMutateRemoveMembers.d.ts +0 -0
  129. package/dist/esm/{types/hooks → hooks}/useMutateTyping.d.ts +0 -0
  130. package/dist/esm/{types/hooks → hooks}/usePresence.d.ts +0 -0
  131. package/dist/esm/{types/hooks → hooks}/usePreview.d.ts +0 -0
  132. package/dist/esm/{types/hooks → hooks}/useReactions.d.ts +0 -0
  133. package/dist/esm/{types/hooks → hooks}/useSearchUsers.d.ts +0 -0
  134. package/dist/esm/{types/hooks → hooks}/useThrottle.d.ts +0 -0
  135. package/dist/esm/{types/hooks → hooks}/useUser.d.ts +0 -0
  136. package/dist/esm/{types/index.d.ts → index.d.ts} +0 -0
  137. package/dist/esm/index.js +6 -28
  138. package/dist/esm/index.js.map +1 -1
  139. package/dist/esm/types/{types/Chat.d.ts → Chat.d.ts} +1 -0
  140. package/dist/esm/types/{types/Conversation.d.ts → Conversation.d.ts} +0 -0
  141. package/dist/esm/types/{types/ConversationListItem.d.ts → ConversationListItem.d.ts} +0 -0
  142. package/dist/{cjs/types → esm}/types/Message.d.ts +2 -0
  143. package/dist/esm/types/{types/Messenger.d.ts → Messenger.d.ts} +0 -0
  144. package/dist/esm/types/{types/types.d.ts → types.d.ts} +47 -4
  145. package/dist/esm/{types/ui → ui}/Button.d.ts +0 -0
  146. package/dist/esm/{types/ui → ui}/Dropdown.d.ts +0 -0
  147. package/dist/esm/{types/ui → ui}/Icon.d.ts +0 -0
  148. package/dist/esm/{types/ui → ui}/Overlay.d.ts +0 -0
  149. package/dist/esm/{types/ui → ui}/Spinner.d.ts +2 -1
  150. package/dist/esm/{types/utils → utils}/fileUtilities.d.ts +0 -0
  151. package/dist/index.d.ts +2 -1
  152. package/package.json +18 -15
  153. package/{rollup.config.js → rollup.config.mjs} +10 -3
  154. package/src/client/WeavyClient.ts +12 -17
  155. package/src/components/Attachment.tsx +5 -5
  156. package/src/components/Chat.tsx +6 -5
  157. package/src/components/Conversation.tsx +26 -20
  158. package/src/components/ConversationBadge.tsx +7 -5
  159. package/src/components/ConversationForm.tsx +1 -1
  160. package/src/components/ConversationList.tsx +59 -11
  161. package/src/components/ConversationListItem.tsx +94 -58
  162. package/src/components/FileBrowser.tsx +53 -50
  163. package/src/components/Image.tsx +2 -1
  164. package/src/components/MeetingCard.tsx +35 -13
  165. package/src/components/Meetings.tsx +1 -1
  166. package/src/components/Message.tsx +41 -42
  167. package/src/components/Messages.tsx +61 -60
  168. package/src/components/Messenger.tsx +7 -2
  169. package/src/components/NewConversation.tsx +1 -1
  170. package/src/components/PdfViewer.tsx +5 -5
  171. package/src/components/Preview.tsx +2 -2
  172. package/src/components/Reactions.tsx +11 -5
  173. package/src/components/SearchUsers.tsx +19 -9
  174. package/src/components/SeenBy.tsx +13 -7
  175. package/src/components/Typing.tsx +11 -12
  176. package/src/contexts/UserContext.tsx +1 -1
  177. package/src/contexts/WeavyContext.tsx +3 -3
  178. package/src/hooks/useConversations.ts +15 -5
  179. package/src/hooks/useMutateMessage.ts +1 -5
  180. package/src/hooks/useMutateRead.ts +5 -3
  181. package/src/hooks/usePresence.ts +2 -3
  182. package/src/hooks/useReactions.ts +11 -12
  183. package/src/scss/theme/_alert.scss +61 -63
  184. package/src/scss/theme/_appbar.scss +105 -30
  185. package/src/scss/theme/_avatar.scss +23 -28
  186. package/src/scss/theme/_badge.scss +26 -18
  187. package/src/scss/theme/_buttons.scss +107 -52
  188. package/src/scss/theme/_card.scss +102 -4
  189. package/src/scss/theme/_checkbox.scss +16 -20
  190. package/src/scss/theme/_code-vscode-dark.scss +3 -3
  191. package/src/scss/theme/_code-vscode-light.scss +3 -3
  192. package/src/scss/theme/_code.scss +0 -2
  193. package/src/scss/theme/_comment-editor-cm.scss +97 -0
  194. package/src/scss/theme/_comment-editor.scss +129 -0
  195. package/src/scss/theme/_comments.scss +66 -0
  196. package/src/scss/theme/_content.scss +33 -5
  197. package/src/scss/theme/_conversations.scss +19 -78
  198. package/src/scss/theme/_dropdown.scss +102 -15
  199. package/src/scss/theme/_embed.scss +135 -0
  200. package/src/scss/theme/_facepile.scss +11 -0
  201. package/src/scss/theme/_filebrowser.scss +1 -1
  202. package/src/scss/theme/_files.scss +76 -47
  203. package/src/scss/theme/_grid.scss +8 -0
  204. package/src/scss/theme/_icons.scss +155 -19
  205. package/src/scss/theme/_image-grid.scss +7 -12
  206. package/src/scss/theme/_input.scss +160 -0
  207. package/src/scss/theme/_item.scss +169 -0
  208. package/src/scss/theme/_list.scss +57 -0
  209. package/src/scss/theme/_meeting.scss +11 -0
  210. package/src/scss/theme/_message-editor-cm.scss +95 -0
  211. package/src/scss/theme/_message-editor.scss +65 -19
  212. package/src/scss/theme/_messages.scss +51 -105
  213. package/src/scss/theme/_meta.scss +12 -0
  214. package/src/scss/theme/_overlays.scss +31 -76
  215. package/src/scss/theme/_pager.scss +5 -1
  216. package/src/scss/theme/_pane.scss +13 -2
  217. package/src/scss/theme/_panels.scss +33 -28
  218. package/src/scss/theme/_picker-list.scss +5 -3
  219. package/src/scss/theme/_placeholder.scss +19 -0
  220. package/src/scss/theme/_poll.scss +49 -0
  221. package/src/scss/theme/_post-editor-cm.scss +100 -0
  222. package/src/scss/theme/_post-editor.scss +127 -0
  223. package/src/scss/theme/_post.scss +83 -0
  224. package/src/scss/theme/_preview-code.scss +11 -2
  225. package/src/scss/theme/_preview-embed.scss +8 -2
  226. package/src/scss/theme/_preview-image.scss +8 -26
  227. package/src/scss/theme/_preview-media.scss +1 -0
  228. package/src/scss/theme/_preview-pdf.scss +10 -15
  229. package/src/scss/theme/_preview.scss +57 -79
  230. package/src/scss/theme/_reactions.scss +48 -17
  231. package/src/scss/theme/_sheet.scss +59 -0
  232. package/src/scss/theme/_sidebar.scss +86 -0
  233. package/src/scss/theme/_spinner.scss +11 -7
  234. package/src/scss/theme/_tab.scss +72 -0
  235. package/src/scss/theme/_tables.scss +70 -23
  236. package/src/scss/theme/_toasts.scss +56 -26
  237. package/src/scss/theme/_type.scss +41 -0
  238. package/src/scss/theme/{mixins → base}/_backdrop.scss +0 -0
  239. package/src/scss/theme/{bootstrap/mixins → base}/_breakpoints.scss +9 -0
  240. package/src/scss/theme/base/_colors.scss +315 -0
  241. package/src/scss/theme/base/_md.scss +19 -0
  242. package/src/scss/theme/base/_palette.scss +130 -0
  243. package/src/scss/theme/{mixins → base}/_position.scss +5 -5
  244. package/src/scss/theme/base/_reboot.scss +51 -0
  245. package/src/scss/theme/base/_scroll.scss +180 -0
  246. package/src/scss/theme/base/_svg.scss +49 -0
  247. package/src/scss/theme/base/_text.scss +23 -0
  248. package/src/scss/theme/base/_vars.scss +203 -0
  249. package/src/scss/theme/{fonts → base/fonts}/_fontmapping-roboto.scss +0 -0
  250. package/src/scss/theme/{fonts → base/fonts}/_fontmapping-segoe-ui.scss +0 -0
  251. package/src/scss/theme/base/fonts/_index.scss +2 -0
  252. package/src/scss/weavy-chat.scss +10 -4
  253. package/src/scss/weavy-messenger.scss +37 -21
  254. package/src/types/Chat.ts +2 -1
  255. package/src/types/Message.ts +3 -1
  256. package/src/types/types.ts +56 -5
  257. package/src/ui/Icon.tsx +1 -1
  258. package/src/ui/Spinner.tsx +3 -2
  259. package/src/utils/infiniteScroll.js +12 -3
  260. package/src/utils/postal-parent.js +398 -0
  261. package/src/utils/promise.js +187 -0
  262. package/src/utils/scrollbarDetection.js +71 -9
  263. package/src/utils/utils.js +547 -0
  264. package/dist/cjs/types/hooks/useConversations.d.ts +0 -1
  265. package/dist/esm/types/hooks/useConversations.d.ts +0 -1
  266. package/src/scss/theme/_attachments.scss +0 -74
  267. package/src/scss/theme/_cm-editor.scss +0 -42
  268. package/src/scss/theme/_colors.scss +0 -520
  269. package/src/scss/theme/_config.scss +0 -6
  270. package/src/scss/theme/_inputs.scss +0 -28
  271. package/src/scss/theme/_nav.scss +0 -52
  272. package/src/scss/theme/_palette.scss +0 -165
  273. package/src/scss/theme/_preview-icon.scss +0 -41
  274. package/src/scss/theme/_reboot.scss +0 -41
  275. package/src/scss/theme/_root.scss +0 -2
  276. package/src/scss/theme/_scroll.scss +0 -55
  277. package/src/scss/theme/_search.scss +0 -68
  278. package/src/scss/theme/_turbo.scss +0 -17
  279. package/src/scss/theme/_variables.scss +0 -139
  280. package/src/scss/theme/bootstrap/_accordion.scss +0 -146
  281. package/src/scss/theme/bootstrap/_alert.scss +0 -71
  282. package/src/scss/theme/bootstrap/_badge.scss +0 -38
  283. package/src/scss/theme/bootstrap/_breadcrumb.scss +0 -40
  284. package/src/scss/theme/bootstrap/_button-group.scss +0 -142
  285. package/src/scss/theme/bootstrap/_buttons.scss +0 -186
  286. package/src/scss/theme/bootstrap/_card.scss +0 -234
  287. package/src/scss/theme/bootstrap/_carousel.scss +0 -229
  288. package/src/scss/theme/bootstrap/_close.scss +0 -40
  289. package/src/scss/theme/bootstrap/_containers.scss +0 -41
  290. package/src/scss/theme/bootstrap/_dropdown.scss +0 -248
  291. package/src/scss/theme/bootstrap/_forms.scss +0 -9
  292. package/src/scss/theme/bootstrap/_functions.scss +0 -302
  293. package/src/scss/theme/bootstrap/_grid.scss +0 -33
  294. package/src/scss/theme/bootstrap/_helpers.scss +0 -10
  295. package/src/scss/theme/bootstrap/_images.scss +0 -42
  296. package/src/scss/theme/bootstrap/_list-group.scss +0 -191
  297. package/src/scss/theme/bootstrap/_maps.scss +0 -54
  298. package/src/scss/theme/bootstrap/_mixins.scss +0 -43
  299. package/src/scss/theme/bootstrap/_modal.scss +0 -237
  300. package/src/scss/theme/bootstrap/_nav.scss +0 -172
  301. package/src/scss/theme/bootstrap/_navbar.scss +0 -276
  302. package/src/scss/theme/bootstrap/_offcanvas.scss +0 -143
  303. package/src/scss/theme/bootstrap/_pagination.scss +0 -109
  304. package/src/scss/theme/bootstrap/_placeholders.scss +0 -51
  305. package/src/scss/theme/bootstrap/_popover.scss +0 -196
  306. package/src/scss/theme/bootstrap/_progress.scss +0 -59
  307. package/src/scss/theme/bootstrap/_reboot.scss +0 -610
  308. package/src/scss/theme/bootstrap/_root.scss +0 -73
  309. package/src/scss/theme/bootstrap/_spinners.scss +0 -85
  310. package/src/scss/theme/bootstrap/_tables.scss +0 -164
  311. package/src/scss/theme/bootstrap/_toasts.scss +0 -70
  312. package/src/scss/theme/bootstrap/_tooltip.scss +0 -120
  313. package/src/scss/theme/bootstrap/_transitions.scss +0 -27
  314. package/src/scss/theme/bootstrap/_type.scss +0 -106
  315. package/src/scss/theme/bootstrap/_utilities.scss +0 -647
  316. package/src/scss/theme/bootstrap/_variables.scss +0 -1633
  317. package/src/scss/theme/bootstrap/forms/_floating-labels.scss +0 -74
  318. package/src/scss/theme/bootstrap/forms/_form-check.scss +0 -175
  319. package/src/scss/theme/bootstrap/forms/_form-control.scss +0 -194
  320. package/src/scss/theme/bootstrap/forms/_form-range.scss +0 -91
  321. package/src/scss/theme/bootstrap/forms/_form-select.scss +0 -71
  322. package/src/scss/theme/bootstrap/forms/_form-text.scss +0 -11
  323. package/src/scss/theme/bootstrap/forms/_input-group.scss +0 -129
  324. package/src/scss/theme/bootstrap/forms/_labels.scss +0 -36
  325. package/src/scss/theme/bootstrap/forms/_validation.scss +0 -12
  326. package/src/scss/theme/bootstrap/helpers/_clearfix.scss +0 -3
  327. package/src/scss/theme/bootstrap/helpers/_color-bg.scss +0 -10
  328. package/src/scss/theme/bootstrap/helpers/_colored-links.scss +0 -12
  329. package/src/scss/theme/bootstrap/helpers/_position.scss +0 -36
  330. package/src/scss/theme/bootstrap/helpers/_ratio.scss +0 -26
  331. package/src/scss/theme/bootstrap/helpers/_stacks.scss +0 -15
  332. package/src/scss/theme/bootstrap/helpers/_stretched-link.scss +0 -15
  333. package/src/scss/theme/bootstrap/helpers/_text-truncation.scss +0 -7
  334. package/src/scss/theme/bootstrap/helpers/_visually-hidden.scss +0 -8
  335. package/src/scss/theme/bootstrap/helpers/_vr.scss +0 -8
  336. package/src/scss/theme/bootstrap/mixins/_alert.scss +0 -15
  337. package/src/scss/theme/bootstrap/mixins/_backdrop.scss +0 -14
  338. package/src/scss/theme/bootstrap/mixins/_banner.scss +0 -9
  339. package/src/scss/theme/bootstrap/mixins/_border-radius.scss +0 -78
  340. package/src/scss/theme/bootstrap/mixins/_box-shadow.scss +0 -18
  341. package/src/scss/theme/bootstrap/mixins/_buttons.scss +0 -70
  342. package/src/scss/theme/bootstrap/mixins/_caret.scss +0 -64
  343. package/src/scss/theme/bootstrap/mixins/_clearfix.scss +0 -9
  344. package/src/scss/theme/bootstrap/mixins/_color-scheme.scss +0 -7
  345. package/src/scss/theme/bootstrap/mixins/_container.scss +0 -11
  346. package/src/scss/theme/bootstrap/mixins/_deprecate.scss +0 -10
  347. package/src/scss/theme/bootstrap/mixins/_forms.scss +0 -152
  348. package/src/scss/theme/bootstrap/mixins/_gradients.scss +0 -47
  349. package/src/scss/theme/bootstrap/mixins/_grid.scss +0 -151
  350. package/src/scss/theme/bootstrap/mixins/_image.scss +0 -16
  351. package/src/scss/theme/bootstrap/mixins/_list-group.scss +0 -24
  352. package/src/scss/theme/bootstrap/mixins/_lists.scss +0 -7
  353. package/src/scss/theme/bootstrap/mixins/_pagination.scss +0 -10
  354. package/src/scss/theme/bootstrap/mixins/_reset-text.scss +0 -17
  355. package/src/scss/theme/bootstrap/mixins/_resize.scss +0 -6
  356. package/src/scss/theme/bootstrap/mixins/_table-variants.scss +0 -24
  357. package/src/scss/theme/bootstrap/mixins/_text-truncate.scss +0 -8
  358. package/src/scss/theme/bootstrap/mixins/_transition.scss +0 -26
  359. package/src/scss/theme/bootstrap/mixins/_utilities.scss +0 -97
  360. package/src/scss/theme/bootstrap/mixins/_visually-hidden.scss +0 -29
  361. package/src/scss/theme/bootstrap/utilities/_api.scss +0 -47
  362. package/src/scss/theme/bootstrap/vendor/_rfs.scss +0 -354
  363. package/src/scss/theme/bs/_badge.scss +0 -20
  364. package/src/scss/theme/bs/_buttons.scss +0 -185
  365. package/src/scss/theme/bs/_dropdown.scss +0 -86
  366. package/src/scss/theme/bs/_forms.scss +0 -161
  367. package/src/scss/theme/bs/_list-group.scss +0 -73
  368. package/src/scss/theme/bs/_tables.scss +0 -46
  369. package/src/scss/theme/fonts/_index.scss +0 -2
  370. package/src/scss/theme/mixins/_palette.scss +0 -165
  371. package/src/scss/theme/mixins/_scrollbar.scss +0 -110
@@ -1,90 +1,145 @@
1
- @use "config" as *;
2
- @use "bs/buttons";
1
+ @use "base/vars";
2
+ @use "base/colors";
3
+ @use "base/svg";
4
+
5
+ :where(:root, :host > *) {
6
+ --wy-btn-padding-x: 1.5rem;
7
+ --wy-btn-padding-y: .5rem;
8
+ --wy-btn-font-family: var(--wy-font-family);
9
+ --wy-btn-font-size: #{vars.$font-size-base};
10
+ --wy-btn-font-weight: #{vars.$font-weight-normal};
11
+ --wy-btn-line-height: #{vars.$line-height-base};
12
+ --wy-btn-border-width: 0;
13
+ --wy-btn-border-color: transparent;
14
+ --wy-btn-border-radius: 1.25rem;
15
+ }
3
16
 
4
17
  // basic unstyled button with support for icon and text
5
18
  .wy-button {
6
- @extend %btn;
19
+ --wy-component-color: #{colors.$primary};
20
+ //--wy-component-background-color: var(--wy-component-background-color, transparent); // #{colors.$surface-3};
21
+
22
+ color: var(--wy-component-color);
23
+ background: var(--wy-component-background-color, transparent);
24
+
25
+ padding: var(--wy-btn-padding-y) var(--wy-btn-padding-x);
26
+ font-family: var(--wy-btn-font-family);
27
+ font-size: var(--wy-btn-font-size);
28
+ font-weight: var(--wy-btn-font-weight);
29
+ line-height: var(--wy-btn-line-height);
30
+ text-align: center;
31
+ text-decoration: none;
32
+ white-space: null; // Set to `nowrap` to prevent text wrapping;
33
+ vertical-align: middle;
7
34
 
35
+ cursor: pointer;
36
+ user-select: none;
37
+ border: var(--wy-btn-border-width) solid var(--wy-btn-border-color);
38
+ border-radius: var(--wy-btn-border-radius);
39
+
8
40
  display: inline-flex;
9
41
  align-items: center;
10
42
  justify-content: center;
11
43
  gap: .25rem;
44
+ position: relative;
45
+
46
+ // State layer
47
+ &:not(.wy-button-link, :disabled){
48
+
49
+ > * {
50
+ z-index: 3;
51
+ }
52
+
53
+ &::before {
54
+ content: "";
55
+ z-index: 2;
56
+ position: absolute;
57
+ top: 0;
58
+ left: 0;
59
+ width: 100%;
60
+ height: 100%;
61
+ border-radius: inherit;
62
+ background: var(--wy-component-color);
63
+ opacity: 0%;
64
+ }
65
+
66
+ &:hover {
67
+ &::before {
68
+ opacity: 8%;
69
+ }
70
+ }
71
+
72
+ &:focus, &:active, &.wy-active {
73
+ &::before {
74
+ opacity: 12%;
75
+ }
76
+ }
77
+ }
12
78
 
13
79
  // align icons
14
80
  &:not(.wy-button-icon) {
15
81
  .wy-icon {
16
82
  &:first-child {
17
- margin-left: -.25rem;
83
+ margin-left: -.5rem;
18
84
  }
19
85
 
20
86
  &:last-child {
21
- margin-right: -.25rem;
87
+ margin-right: -.5rem;
22
88
  }
23
89
  }
24
90
  }
25
91
 
26
- }
27
-
28
- // default button
29
- .wy-button:not(.wy-button-link, .wy-button-primary) {
30
- --#{$prefix}btn-hover-border-color: transparent;
31
- --#{$prefix}btn-active-border-color: transparent;
32
- --#{$prefix}btn-hover-color: var(--#{$prefix}btn-color);
33
- --#{$prefix}btn-hover-bg: #{$btn-hover-bg};
34
- --#{$prefix}btn-focus-bg: #{$btn-hover-bg};
35
- --#{$prefix}btn-active-color: var(--#{$prefix}btn-color);
36
- --#{$prefix}btn-active-bg: #{$btn-active-bg};
37
-
38
- // dark mode
39
- .wy-dark & {
40
- color: var(--#{$prefix}white);
41
- }
92
+ &:disabled {
93
+ opacity: vars.$opacity-disabled;
94
+ cursor: unset;
95
+ pointer-events: none;
96
+ }
42
97
  }
43
98
 
44
99
  // button with only icon (no text)
45
- .wy-button-icon {
46
- width: 2rem;
47
- height: 2rem;
48
- padding: .25rem;
100
+ .wy-button-icon {
101
+ --wy-component-color: #{colors.$on-surface-variant};
102
+ //--wy-component-background-color: var(--wy-component-background-color, transparent);
103
+ width: 2.5rem;
104
+ height: 2.5rem;
105
+ padding: .5rem;
49
106
  line-height: 1;
50
- border-radius: 50%;
107
+ border-radius: #{vars.$border-radius-pill};
51
108
  border-width: 0;
52
- }
53
-
54
- // default icon button
55
- .wy-button-icon:not(.wy-button-primary) {
56
- color: $icon-color;
57
109
 
58
- &:hover {
59
- .wy-icon {
60
- color: $icon-hover-color;
61
- }
62
- }
63
-
64
- // dark mode
65
- .wy-dark & {
66
- color: $icon-light-color;
67
- .wy-icon {
68
- color: $icon-light-color;
69
- }
70
-
71
- &:hover {
72
- color: $icon-light-hover-color;
73
- .wy-icon {
74
- color: $icon-light-hover-color;
75
- }
76
- }
110
+ &.wy-active {
111
+ --wy-component-color: #{colors.$primary};
77
112
  }
78
113
  }
79
114
 
80
115
  // primary button
81
116
  .wy-button-primary {
82
- @extend %btn-primary;
117
+ --wy-component-background-color: #{colors.$primary};
118
+ --wy-component-color: #{colors.$on-primary};
119
+ }
120
+
121
+ .wy-button-variant {
122
+ --wy-component-background-color: #{colors.$surface-variant};
123
+ --wy-component-color: #{colors.$on-surface-variant};
124
+ }
125
+
126
+ // primary button (text only)
127
+ .wy-button-primary-text {
128
+ --wy-component-color: #{colors.$primary};
83
129
  }
84
130
 
85
131
  // button that looks and behaves like a link
86
132
  .wy-button-link {
87
- @extend %btn-link;
133
+ //--wy-component-background-color: transparent;
134
+ padding: 0;
135
+ color: var(--wy-link-color, #{colors.$primary});
136
+
137
+ text-decoration: var(--wy-link-decoration, #{vars.$link-decoration});
138
+
139
+ &:hover,
140
+ &:focus {
141
+ text-decoration: var(--wy-link-hover-decoration, #{vars.$link-hover-decoration});
142
+ }
88
143
  }
89
144
 
90
145
  // container for proper spacing and alignment of buttons
@@ -1,7 +1,105 @@
1
- .wy-card-header {
2
- border-bottom: none;
1
+ @use "base/colors";
2
+ @use "base/text";
3
+ @use "base/vars";
4
+
5
+ .wy-card {
6
+ --wy-component-background-color: #{colors.$surface-1};
7
+ --wy-component-color: #{colors.$on-surface};
8
+ --wy-component-border-radius: #{vars.$border-radius-lg};
9
+
10
+ background-color: var(--wy-component-background-color);
11
+ color: var(--wy-component-color);
12
+ border-radius: var(--wy-component-border-radius);
13
+
14
+ position: relative;
15
+ display: flex;
16
+ flex-direction: column;
17
+ min-width: 0;
18
+ word-wrap: break-word;
19
+ background-clip: border-box;
20
+
21
+ > hr {
22
+ margin-right: 0;
23
+ margin-left: 0;
24
+ }
25
+ }
26
+
27
+ .wy-card-primary {
28
+ --wy-component-background-color: #{colors.$primary-container};
29
+ --wy-component-color: #{colors.$on-primary-container};
30
+ }
31
+
32
+ .wy-card-hover {
33
+ cursor: pointer;
34
+ user-select: none;
35
+
36
+ // State layer
37
+ &::before {
38
+ content: "";
39
+ position: absolute;
40
+ top: 0;
41
+ left: 0;
42
+ width: 100%;
43
+ height: 100%;
44
+ border-radius: inherit;
45
+ background: var(--wy-component-color);
46
+ opacity: 0%;
47
+ }
48
+
49
+ &:hover {
50
+ &::before {
51
+ opacity: vars.$opacity-state-hover; //8%;
52
+ }
53
+ }
54
+ &:focus {
55
+ &::before {
56
+ opacity: vars.$opacity-state-focus; //12%;
57
+ }
58
+ }
59
+ &:active, &.wy-active {
60
+ &::before {
61
+ opacity: vars.$opacity-state-active; //12%;
62
+ }
63
+ }
64
+ }
65
+
66
+ .wy-card-actions {
67
+ position: absolute;
68
+ top: min(.25rem, calc(100% - 2.5rem)); // Account for small heights
69
+ right: .25rem;
70
+
71
+ > .wy-button-icon, > .wy-dropdown > .wy-button-icon {
72
+ background-clip: content-box;
73
+ }
74
+ }
75
+
76
+ .wy-card-content {
77
+ flex: 1 0 auto;
78
+
79
+ &:first-child, .wy-card-actions + &:nth-child(2) {
80
+ padding-block-start: .5rem;
81
+ }
82
+
83
+ padding-block-end: .5rem;
84
+ padding-inline-start: .5rem;
85
+ padding-inline-end: .5rem;
86
+ }
87
+
88
+ .wy-card-top {
89
+ border-radius: var(--wy-component-border-radius);
90
+ object-fit: cover;
91
+ object-position: top center;
92
+ flex: 1 1 100%;
93
+ max-height: 10rem;
94
+ }
95
+
96
+ .wy-card-top-image {
97
+ object-position: 50% 38%;
3
98
  }
4
99
 
5
- .wy-card-footer {
6
- border-top: none;
100
+ .wy-card-trashed {
101
+ > *:not(.wy-card-actions) {
102
+ opacity: vars.$opacity-disabled;
103
+ }
104
+ text-decoration: line-through;
7
105
  }
@@ -1,56 +1,52 @@
1
- @use "config" as *;
1
+ @use "base/vars";
2
2
 
3
3
  // Include mixin in the relative class that should be suffixed with -check
4
- @mixin button-check {
5
-
4
+ .wy-button {
6
5
  // From bootstrap/scss/forms/_form_check
7
6
  &-check {
8
7
  position: absolute;
9
8
  clip: rect(0, 0, 0, 0);
10
9
  pointer-events: none;
11
-
10
+
12
11
  &[disabled] + &,
13
12
  &:disabled + & {
14
13
  pointer-events: none;
15
14
  filter: none;
16
- opacity: $form-check-btn-check-disabled-opacity;
15
+ opacity: vars.$opacity-disabled;
17
16
  }
18
17
  }
19
-
20
18
  // From bootstrap/scss/_buttons
21
19
  &-check:focus + &,
22
20
  &:focus {
23
21
  outline: 0;
24
- box-shadow: $btn-focus-box-shadow;
22
+ //box-shadow: vars.$btn-focus-box-shadow;
25
23
  }
26
- &-check:checked + &,
24
+ /*&-check:checked + &,
27
25
  &-check:active + & {
28
- @include box-shadow($btn-active-box-shadow);
26
+ box-shadow: vars.$btn-active-box-shadow;
29
27
 
30
28
  &:focus {
31
- @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
29
+ box-shadow: vars.$btn-focus-box-shadow, vars.$btn-active-box-shadow;
32
30
  }
33
- }
34
-
31
+ }*/
35
32
  // Custom icons
36
- &-check + .#{wy}-button-icon {
33
+ &-check + .wy-button-icon {
37
34
  svg:last-child {
38
35
  display: none;
39
36
  }
40
37
  }
41
38
 
42
- &-check:checked + .#{wy}-button-icon {
39
+ &-check:disabled + .wy-button-icon {
40
+ opacity: vars.$opacity-disabled;
41
+ }
42
+
43
+ &-check:checked + .wy-button-icon {
43
44
  svg:first-child {
44
45
  display: none;
45
46
  }
46
-
47
+
47
48
  svg:last-child {
48
49
  display: inline-block;
49
50
  }
50
51
  }
51
52
  }
52
-
53
- // Create a suffixed subclass from .wy-button -> .wy-button-check
54
- .wy-button {
55
- @include button-check;
56
- }
@@ -5,10 +5,10 @@ pre[class*="language-"] {
5
5
  color: #d4d4d4;
6
6
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
7
7
  text-align: left;
8
- white-space: pre;
8
+ white-space: pre-wrap;
9
9
  word-spacing: normal;
10
10
  word-break: normal;
11
- word-wrap: normal;
11
+ word-wrap: break-word;
12
12
  line-height: 1.5;
13
13
 
14
14
  -moz-tab-size: 4;
@@ -181,4 +181,4 @@ pre[class*="language-"] {
181
181
 
182
182
  .token.italic {
183
183
  font-style: italic;
184
- }
184
+ }
@@ -5,10 +5,10 @@ pre[class*="language-"] {
5
5
  color: #000000;
6
6
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
7
7
  text-align: left;
8
- white-space: pre;
8
+ white-space: pre-wrap;
9
9
  word-spacing: normal;
10
10
  word-break: normal;
11
- word-wrap: normal;
11
+ word-wrap: break-word;
12
12
  line-height: 1.5;
13
13
 
14
14
  -moz-tab-size: 4;
@@ -176,4 +176,4 @@ pre[class*="language-"] {
176
176
 
177
177
  .token.italic {
178
178
  font-style: italic;
179
- }
179
+ }
@@ -1,5 +1,3 @@
1
- @use "config" as *;
2
-
3
1
  // Themes generated from VS Code using https://prism.dotenv.dev/
4
2
  .wy-code {
5
3
  :not(.wy-dark) &, &:not(.wy-dark) {
@@ -0,0 +1,97 @@
1
+ @use "base/vars";
2
+ @use "base/colors";
3
+ @use "base/scroll";
4
+ @use "base/svg";
5
+ @use "comment-editor";
6
+
7
+ .wy-comment-editor {
8
+ position: relative;
9
+
10
+ .ͼ1 .cm-scroller {
11
+ font-family: unset;
12
+ line-height: 1.5;
13
+ }
14
+
15
+ .ͼ1 .cm-widgetBuffer {
16
+ vertical-align: unset;
17
+ }
18
+
19
+ .ͼ1 .cm-placeholder {
20
+ color: #{colors.$outline};
21
+ }
22
+
23
+ .ͼ1.cm-editor {
24
+ @extend %comment-editor-textfield;
25
+
26
+ &.cm-focused {
27
+ /* default theme in codemirror seems difficult to override */
28
+ --wy-component-color: #{colors.$on-background};
29
+ color: var(--wy-component-color);
30
+ border-color: #{colors.$primary};
31
+ outline: 0;
32
+ }
33
+
34
+ .cm-content {
35
+ @extend %comment-editor-textcontent;
36
+ }
37
+
38
+ .cm-scroller {
39
+ overflow: auto;
40
+
41
+ .wy-scrollbars & {
42
+ @include scroll.custom-scrollbar;
43
+ // scrollbar offsets
44
+ @include scroll.scrollbar-top-padding(0.375rem);
45
+ @include scroll.scrollbar-bottom-padding(0.375rem);
46
+ }
47
+ }
48
+ }
49
+
50
+ .wy-is-invalid + .cm-editor {
51
+ border-color: colors.$error !important;
52
+ }
53
+ // autocomplete dropdown menu
54
+ .ͼ1 {
55
+ .cm-tooltip.cm-tooltip-autocomplete > ul {
56
+ font-family: unset;
57
+ max-height: 15rem; // room for 5 items
58
+
59
+ > li {
60
+ padding: 0;
61
+ }
62
+ }
63
+ }
64
+
65
+ .ͼ2 {
66
+ .cm-tooltip {
67
+ border: none;
68
+ background-clip: padding-box;
69
+ background-color: #{colors.$surface-2};
70
+ color: #{colors.$on-surface};
71
+ border-radius: vars.$border-radius;
72
+ box-shadow: vars.$shadow-level1;
73
+ overflow: hidden;
74
+ z-index: vars.$zindex-dropdown;
75
+ }
76
+
77
+ .cm-tooltip-autocomplete ul li[aria-selected] {
78
+ background: #{colors.$primary-container};
79
+ color: unset;
80
+ }
81
+ }
82
+
83
+ .cm-tooltip-autocomplete {
84
+ .cm-completionLabel {
85
+ display: none;
86
+ }
87
+
88
+ .wy-item-hover:hover, .wy-item-hover:focus {
89
+ background: #{colors.$surface-variant};
90
+ }
91
+
92
+ .wy-avatar {
93
+ width: 32px;
94
+ height: 32px;
95
+ }
96
+ }
97
+ }
@@ -0,0 +1,129 @@
1
+ @use "base/vars";
2
+ @use "base/colors";
3
+ @use "base/backdrop";
4
+ @use "base/position";
5
+
6
+
7
+ .wy-comment-editor {
8
+ .wy-spinner {
9
+ display: none;
10
+ }
11
+
12
+ &.wy-uploading {
13
+ .wy-spinner {
14
+ display: block;
15
+ }
16
+
17
+ [data-icon=plus] {
18
+ display: none;
19
+ }
20
+ }
21
+
22
+ .wy-picker-list:not(:empty) {
23
+ border-top: 1px solid #{colors.$outline-variant};
24
+ }
25
+ }
26
+
27
+
28
+ .wy-comment-editor-bottom {
29
+ // we need the editor to appear below dropdowns
30
+ position: sticky;
31
+ bottom: 0;
32
+ z-index: #{vars.$zindex-dropdown - 1};
33
+ background-color: var(--wy-component-background-color);
34
+ color: var(--wy-component-color);
35
+ }
36
+
37
+ .wy-comment-editor-dragging {
38
+ &::after {
39
+ content: "Drop files here to upload.";
40
+ background-color: rgba(255, 255, 255, .5);
41
+ display: flex;
42
+ justify-content: center;
43
+ align-items: center;
44
+ border: 2px dashed colors.$primary;
45
+ font-weight: vars.$font-weight-bold;
46
+ z-index: 10000;
47
+ position: absolute;
48
+ top: 0;
49
+ left: 0;
50
+ bottom: 0;
51
+ right: 0;
52
+ }
53
+ }
54
+
55
+ .wy-comment-editor-inputs {
56
+ display: flex;
57
+ flex-direction: row;
58
+ align-items: flex-end;
59
+ //border-top: 1px solid #{colors.$outline-variant};
60
+ padding: .5rem .25rem;
61
+ min-height: 3.5rem;
62
+
63
+ > :not(:last-child) {
64
+ margin-right: .25rem;
65
+ }
66
+ }
67
+
68
+ .wy-comment-editor-buttons {
69
+ flex: 1 0 auto;
70
+ }
71
+
72
+ .wy-comment-editor-text {
73
+ flex: 1 1 100%;
74
+ display: flex;
75
+ flex-direction: column;
76
+ }
77
+
78
+ .wy-comment-editor-mention {
79
+ background: blue;
80
+ color: white;
81
+ }
82
+
83
+ .wy-comment-editor-link {
84
+ background: blue;
85
+ color: white;
86
+ }
87
+
88
+ %comment-editor-textfield,
89
+ .wy-comment-editor-textfield {
90
+ flex: 1 1 100%;
91
+ max-height: 11.25rem;
92
+ background-color: colors.$background;
93
+ color: colors.$on-background;
94
+ border-radius: 1.25rem;
95
+ border: vars.$input-border-width solid #{colors.$outline-variant};
96
+
97
+ &:focus {
98
+ border-color: #{colors.$primary};
99
+ }
100
+
101
+ }
102
+
103
+ %comment-editor-textcontent,
104
+ .wy-comment-editor-textcontent {
105
+ font-family: vars.$font-family-base;
106
+ font-size: vars.$font-size-base;
107
+ padding: vars.$input-padding-y vars.$input-padding-x;
108
+ }
109
+
110
+ %comment-editor-grow,
111
+ .wy-comment-editor-grow {
112
+ display: grid;
113
+
114
+ &::after, > textarea {
115
+ @extend %comment-editor-textfield;
116
+ grid-area: 1 / 1 / 2 / 2;
117
+ }
118
+
119
+ &::after {
120
+ content: attr(data-replicated-value) " ";
121
+ white-space: pre-wrap;
122
+ visibility: hidden;
123
+ }
124
+
125
+ > textarea {
126
+ resize: none;
127
+ overflow: hidden;
128
+ }
129
+ }