@regardio/react 0.7.9 → 0.7.10

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.
@@ -59,8 +59,12 @@ const MarkdownContainer = (props) => {
59
59
  options: {
60
60
  disableParsingRawHTML: false,
61
61
  forceWrapper: true,
62
- tagfilter: false,
63
- ...props.markdownOverrides ? { overrides: props.markdownOverrides } : {}
62
+ overrides: {
63
+ br: { component: () => /* @__PURE__ */ jsx("br", {}) },
64
+ hr: { component: () => /* @__PURE__ */ jsx("hr", {}) },
65
+ ...props.markdownOverrides
66
+ },
67
+ tagfilter: false
64
68
  },
65
69
  children: processedText
66
70
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package.json",
3
3
  "name": "@regardio/react",
4
- "version": "0.7.9",
4
+ "version": "0.7.10",
5
5
  "private": false,
6
6
  "description": "Regardio React UI components",
7
7
  "keywords": [
@@ -220,14 +220,14 @@
220
220
  "@mdx-js/react": "3.1.1",
221
221
  "@regardio/js": "0.7.3",
222
222
  "@regardio/tailwind": "0.3.3",
223
- "@supabase/supabase-js": "2.95.3",
223
+ "@supabase/supabase-js": "2.96.0",
224
224
  "cmdk": "1.1.1",
225
225
  "embla-carousel": "8.6.0",
226
226
  "embla-carousel-react": "8.6.0",
227
227
  "input-otp": "1.4.2",
228
228
  "intl-parse-accept-language": "1.0.0",
229
229
  "leaflet": "alpha",
230
- "lucide-react": "0.564.0",
230
+ "lucide-react": "0.574.0",
231
231
  "markdown-to-jsx": "9.7.4",
232
232
  "react": "19.2.4",
233
233
  "react-day-picker": "9.13.2",
@@ -241,10 +241,10 @@
241
241
  },
242
242
  "devDependencies": {
243
243
  "@regardio/dev": "1.13.5",
244
- "@storybook/addon-a11y": "10.2.8",
245
- "@storybook/addon-docs": "10.2.8",
246
- "@storybook/addon-vitest": "10.2.8",
247
- "@storybook/react-vite": "10.2.8",
244
+ "@storybook/addon-a11y": "10.2.10",
245
+ "@storybook/addon-docs": "10.2.10",
246
+ "@storybook/addon-vitest": "10.2.10",
247
+ "@storybook/react-vite": "10.2.10",
248
248
  "@tailwindcss/vite": "4.1.18",
249
249
  "@testing-library/jest-dom": "6.9.1",
250
250
  "@testing-library/react": "16.3.2",
@@ -259,7 +259,7 @@
259
259
  "@vitest/ui": "4.0.18",
260
260
  "jsdom": "28.1.0",
261
261
  "playwright": "1.58.2",
262
- "storybook": "10.2.8",
262
+ "storybook": "10.2.10",
263
263
  "tailwindcss": "4.1.18",
264
264
  "tsdown": "0.20.3",
265
265
  "typescript": "5.9.3",
@@ -144,8 +144,12 @@ export const MarkdownContainer: React.FC<MarkdownContainerProps> = (props) => {
144
144
  options={{
145
145
  disableParsingRawHTML: false,
146
146
  forceWrapper: true,
147
+ overrides: {
148
+ br: { component: () => <br /> },
149
+ hr: { component: () => <hr /> },
150
+ ...props.markdownOverrides,
151
+ },
147
152
  tagfilter: false,
148
- ...(props.markdownOverrides ? { overrides: props.markdownOverrides } : {}),
149
153
  }}
150
154
  >
151
155
  {processedText}