@intlayer/design-system 7.6.0-canary.1 → 8.0.0-canary.0

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 (152) hide show
  1. package/dist/esm/components/CopyToClipboard/index.mjs +12 -9
  2. package/dist/esm/components/CopyToClipboard/index.mjs.map +1 -1
  3. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +32 -1
  4. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  5. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +116 -14
  6. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  7. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +5 -0
  8. package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
  9. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +11 -5
  10. package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  11. package/dist/esm/components/Flags/Flag.mjs +5 -8
  12. package/dist/esm/components/Flags/Flag.mjs.map +1 -1
  13. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +1 -1
  14. package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
  15. package/dist/esm/components/MarkDownRender/index.mjs +2 -1
  16. package/dist/esm/components/MarkDownRender/processor-adapter.mjs +57 -0
  17. package/dist/esm/components/MarkDownRender/processor-adapter.mjs.map +1 -0
  18. package/dist/esm/components/MarkDownRender/processor.mjs +5 -5
  19. package/dist/esm/components/MarkDownRender/processor.mjs.map +1 -1
  20. package/dist/esm/components/Popover/static.mjs +12 -10
  21. package/dist/esm/components/Popover/static.mjs.map +1 -1
  22. package/dist/esm/components/RightDrawer/RightDrawer.mjs +4 -5
  23. package/dist/esm/components/RightDrawer/RightDrawer.mjs.map +1 -1
  24. package/dist/esm/components/RightDrawer/index.mjs +2 -2
  25. package/dist/esm/components/RightDrawer/useRightDrawer.mjs +65 -0
  26. package/dist/esm/components/RightDrawer/useRightDrawer.mjs.map +1 -0
  27. package/dist/esm/components/index.mjs +3 -2
  28. package/dist/esm/hooks/useScrollBlockage/index.mjs +1 -6
  29. package/dist/esm/hooks/useScrollBlockage/index.mjs.map +1 -1
  30. package/dist/esm/hooks/useScrollBlockage/useScrollBlockageStore.mjs +60 -31
  31. package/dist/esm/hooks/useScrollBlockage/useScrollBlockageStore.mjs.map +1 -1
  32. package/dist/types/components/Badge/index.d.ts +2 -2
  33. package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
  34. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  35. package/dist/types/components/Browser/Browser.content.d.ts +17 -17
  36. package/dist/types/components/Browser/Browser.d.ts +2 -2
  37. package/dist/types/components/Browser/Browser.d.ts.map +1 -1
  38. package/dist/types/components/Button/Button.d.ts +7 -7
  39. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +3 -3
  40. package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
  41. package/dist/types/components/Command/index.d.ts +16 -16
  42. package/dist/types/components/Command/index.d.ts.map +1 -1
  43. package/dist/types/components/Container/index.d.ts +10 -10
  44. package/dist/types/components/Container/index.d.ts.map +1 -1
  45. package/dist/types/components/CopyButton/CopyButton.content.d.ts +3 -3
  46. package/dist/types/components/CopyButton/CopyButton.content.d.ts.map +1 -1
  47. package/dist/types/components/CopyToClipboard/index.d.ts +18 -7
  48. package/dist/types/components/CopyToClipboard/index.d.ts.map +1 -1
  49. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
  50. package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
  51. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
  52. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +265 -48
  53. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  54. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +33 -33
  55. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
  56. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts +6 -1
  57. package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
  58. package/dist/types/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
  59. package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
  60. package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
  61. package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
  62. package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
  63. package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
  64. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
  65. package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  66. package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
  67. package/dist/types/components/Form/FormBase.d.ts +2 -2
  68. package/dist/types/components/Form/FormField.d.ts +2 -2
  69. package/dist/types/components/Form/FormItem.d.ts +2 -2
  70. package/dist/types/components/Form/FormItem.d.ts.map +1 -1
  71. package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
  72. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
  73. package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
  74. package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
  75. package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
  76. package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
  77. package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
  78. package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
  79. package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -1
  80. package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
  81. package/dist/types/components/Form/elements/SelectElement.d.ts.map +1 -1
  82. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
  83. package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts.map +1 -1
  84. package/dist/types/components/IDE/CodeContext.d.ts +2 -2
  85. package/dist/types/components/IDE/CodeContext.d.ts.map +1 -1
  86. package/dist/types/components/IDE/code.content.d.ts +5 -5
  87. package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
  88. package/dist/types/components/IDE/selectors.content.d.ts +13 -13
  89. package/dist/types/components/Input/Checkbox.d.ts +4 -4
  90. package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
  91. package/dist/types/components/Input/Input.d.ts +3 -3
  92. package/dist/types/components/Input/Input.d.ts.map +1 -1
  93. package/dist/types/components/Input/OTPInput.d.ts +6 -6
  94. package/dist/types/components/Input/SearchInput.d.ts +2 -2
  95. package/dist/types/components/Link/Link.d.ts +5 -5
  96. package/dist/types/components/Loader/index.content.d.ts +3 -3
  97. package/dist/types/components/Loader/index.content.d.ts.map +1 -1
  98. package/dist/types/components/Loader/spinner.d.ts +2 -2
  99. package/dist/types/components/Loader/spinner.d.ts.map +1 -1
  100. package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
  101. package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
  102. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts +1 -1
  103. package/dist/types/components/MarkDownRender/MarkDownRender.d.ts.map +1 -1
  104. package/dist/types/components/MarkDownRender/index.d.ts +2 -1
  105. package/dist/types/components/MarkDownRender/processor-adapter.d.ts +85 -0
  106. package/dist/types/components/MarkDownRender/processor-adapter.d.ts.map +1 -0
  107. package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
  108. package/dist/types/components/Navbar/Burger.d.ts +2 -2
  109. package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
  110. package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
  111. package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
  112. package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
  113. package/dist/types/components/Navbar/index.d.ts +2 -2
  114. package/dist/types/components/Pagination/Pagination.d.ts +4 -4
  115. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  116. package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
  117. package/dist/types/components/Popover/static.d.ts +11 -9
  118. package/dist/types/components/Popover/static.d.ts.map +1 -1
  119. package/dist/types/components/RightDrawer/index.d.ts +2 -2
  120. package/dist/types/components/RightDrawer/rightDrawer.content.d.ts +5 -5
  121. package/dist/types/components/RightDrawer/useRightDrawer.d.ts +22 -0
  122. package/dist/types/components/RightDrawer/useRightDrawer.d.ts.map +1 -0
  123. package/dist/types/components/Select/Select.d.ts +3 -3
  124. package/dist/types/components/Select/Select.d.ts.map +1 -1
  125. package/dist/types/components/SocialNetworks/index.d.ts +2 -2
  126. package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
  127. package/dist/types/components/SwitchSelector/index.d.ts +7 -7
  128. package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
  129. package/dist/types/components/Tab/Tab.d.ts +6 -6
  130. package/dist/types/components/Tab/Tab.d.ts.map +1 -1
  131. package/dist/types/components/Tab/TabContext.d.ts +2 -2
  132. package/dist/types/components/Tab/TabContext.d.ts.map +1 -1
  133. package/dist/types/components/TabSelector/TabSelector.d.ts +5 -5
  134. package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
  135. package/dist/types/components/Table/table.content.d.ts +3 -3
  136. package/dist/types/components/Tag/index.d.ts +5 -5
  137. package/dist/types/components/Terminal/terminal.content.d.ts +5 -5
  138. package/dist/types/components/Terminal/terminal.content.d.ts.map +1 -1
  139. package/dist/types/components/Toaster/Toast.d.ts +2 -2
  140. package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
  141. package/dist/types/components/Toaster/Toaster.d.ts +2 -2
  142. package/dist/types/components/Toaster/Toaster.d.ts.map +1 -1
  143. package/dist/types/components/index.d.ts +3 -2
  144. package/dist/types/hooks/useDevice.d.ts.map +1 -1
  145. package/dist/types/hooks/useScrollBlockage/index.d.ts.map +1 -1
  146. package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +14 -6
  147. package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts.map +1 -1
  148. package/package.json +21 -21
  149. package/dist/esm/components/RightDrawer/useRightDrawerStore.mjs +0 -87
  150. package/dist/esm/components/RightDrawer/useRightDrawerStore.mjs.map +0 -1
  151. package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts +0 -116
  152. package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts.map +0 -1
@@ -1,11 +1,11 @@
1
- import * as _intlayer_types427 from "@intlayer/types";
1
+ import * as _intlayer_types448 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/IDE/selectors.content.d.ts
4
4
  declare const selectorsContent: {
5
5
  key: string;
6
6
  content: {
7
7
  packageManager: {
8
- placeholder: _intlayer_types427.TypedNodeModel<_intlayer_types427.NodeType.Translation, {
8
+ placeholder: _intlayer_types448.TypedNodeModel<_intlayer_types448.NodeType.Translation, {
9
9
  en: string;
10
10
  es: string;
11
11
  pt: string;
@@ -25,7 +25,7 @@ declare const selectorsContent: {
25
25
  vi: string;
26
26
  uk: string;
27
27
  }, {
28
- nodeType: "translation" | _intlayer_types427.NodeType.Translation;
28
+ nodeType: "translation" | _intlayer_types448.NodeType.Translation;
29
29
  } & {
30
30
  translation: {
31
31
  en: string;
@@ -48,7 +48,7 @@ declare const selectorsContent: {
48
48
  uk: string;
49
49
  };
50
50
  }>;
51
- label: _intlayer_types427.TypedNodeModel<_intlayer_types427.NodeType.Translation, {
51
+ label: _intlayer_types448.TypedNodeModel<_intlayer_types448.NodeType.Translation, {
52
52
  en: string;
53
53
  es: string;
54
54
  pt: string;
@@ -68,7 +68,7 @@ declare const selectorsContent: {
68
68
  vi: string;
69
69
  uk: string;
70
70
  }, {
71
- nodeType: "translation" | _intlayer_types427.NodeType.Translation;
71
+ nodeType: "translation" | _intlayer_types448.NodeType.Translation;
72
72
  } & {
73
73
  translation: {
74
74
  en: string;
@@ -93,7 +93,7 @@ declare const selectorsContent: {
93
93
  }>;
94
94
  };
95
95
  codeFormat: {
96
- placeholder: _intlayer_types427.TypedNodeModel<_intlayer_types427.NodeType.Translation, {
96
+ placeholder: _intlayer_types448.TypedNodeModel<_intlayer_types448.NodeType.Translation, {
97
97
  en: string;
98
98
  es: string;
99
99
  pt: string;
@@ -113,7 +113,7 @@ declare const selectorsContent: {
113
113
  vi: string;
114
114
  uk: string;
115
115
  }, {
116
- nodeType: "translation" | _intlayer_types427.NodeType.Translation;
116
+ nodeType: "translation" | _intlayer_types448.NodeType.Translation;
117
117
  } & {
118
118
  translation: {
119
119
  en: string;
@@ -136,7 +136,7 @@ declare const selectorsContent: {
136
136
  uk: string;
137
137
  };
138
138
  }>;
139
- label: _intlayer_types427.TypedNodeModel<_intlayer_types427.NodeType.Translation, {
139
+ label: _intlayer_types448.TypedNodeModel<_intlayer_types448.NodeType.Translation, {
140
140
  en: string;
141
141
  es: string;
142
142
  pt: string;
@@ -156,7 +156,7 @@ declare const selectorsContent: {
156
156
  vi: string;
157
157
  uk: string;
158
158
  }, {
159
- nodeType: "translation" | _intlayer_types427.NodeType.Translation;
159
+ nodeType: "translation" | _intlayer_types448.NodeType.Translation;
160
160
  } & {
161
161
  translation: {
162
162
  en: string;
@@ -181,7 +181,7 @@ declare const selectorsContent: {
181
181
  }>;
182
182
  };
183
183
  contentDeclarationFormat: {
184
- placeholder: _intlayer_types427.TypedNodeModel<_intlayer_types427.NodeType.Translation, {
184
+ placeholder: _intlayer_types448.TypedNodeModel<_intlayer_types448.NodeType.Translation, {
185
185
  en: string;
186
186
  es: string;
187
187
  pt: string;
@@ -201,7 +201,7 @@ declare const selectorsContent: {
201
201
  vi: string;
202
202
  uk: string;
203
203
  }, {
204
- nodeType: "translation" | _intlayer_types427.NodeType.Translation;
204
+ nodeType: "translation" | _intlayer_types448.NodeType.Translation;
205
205
  } & {
206
206
  translation: {
207
207
  en: string;
@@ -224,7 +224,7 @@ declare const selectorsContent: {
224
224
  uk: string;
225
225
  };
226
226
  }>;
227
- label: _intlayer_types427.TypedNodeModel<_intlayer_types427.NodeType.Translation, {
227
+ label: _intlayer_types448.TypedNodeModel<_intlayer_types448.NodeType.Translation, {
228
228
  en: string;
229
229
  es: string;
230
230
  pt: string;
@@ -244,7 +244,7 @@ declare const selectorsContent: {
244
244
  vi: string;
245
245
  uk: string;
246
246
  }, {
247
- nodeType: "translation" | _intlayer_types427.NodeType.Translation;
247
+ nodeType: "translation" | _intlayer_types448.NodeType.Translation;
248
248
  } & {
249
249
  translation: {
250
250
  en: string;
@@ -1,14 +1,14 @@
1
1
  import { DetailedHTMLProps, FC, InputHTMLAttributes, ReactNode } from "react";
2
- import * as class_variance_authority_types5 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types10 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/Input/Checkbox.d.ts
6
6
  declare const checkboxVariants: (props?: {
7
7
  variant?: "default";
8
8
  size?: "sm" | "md" | "lg";
9
- color?: "error" | "primary" | "secondary" | "neutral" | "text" | "success" | "custom" | "destructive" | "light" | "dark";
10
- validationStyleEnabled?: "enabled" | "disabled";
11
- } & class_variance_authority_types5.ClassProp) => string;
9
+ color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "error" | "success" | "custom";
10
+ validationStyleEnabled?: "disabled" | "enabled";
11
+ } & class_variance_authority_types10.ClassProp) => string;
12
12
  declare enum CheckboxSize {
13
13
  SM = "sm",
14
14
  MD = "md",
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"sourcesContent":[],"mappings":";;;;;cASa,wBAqEY;;;EArEZ,KAAA,CAAA,EAAA,OAAA,GAAA,SA6DZ,GAAA,WAAA,GAAA,SAAA,GAAA,MAAA,GAAA,SAAA,GAAA,QAAA,GAAA,aAAA,GAAA,OAAA,GAAA,MAAA;EAEW,sBAAY,CAAA,EAAA,SAAA,GAAA,UAAA;AAMxB,CAAA,GARC,+BAAA,CAAA,SAQwB,EAAA,GAAA,MAAA;AAab,aAnBA,YAAA;EAoB4B,EAAA,GAAA,IAAA;EAApB,EAAA,GAAA,IAAA;EAAuC,EAAA,GAAA,IAAA;;AAD/B,aAbhB,aAAA;EAmBF,OAAA,GAAA,SAAA;EAEc,SAAA,GAAA,WAAA;EAApB,WAAA,GAAA,aAAA;EADA,OAAA,GAAA,SAAA;EAIO,KAAA,GAAA,OAAA;EAAkB,IAAA,GAAA,MAAA;EACjB,IAAA,GAAA,MAAA;EAAmB,KAAA,GAAA,OAAA;EAAa,OAAA,GAAA,SAAA;EA8B/B,MAAA,GAAA,QAiBZ;;KA3DW,aAAA,GAAgB,KAC1B,kBAAkB,oBAAoB,mBAAmB;;;UAKjD;IACN,KACA,oBAAoB;SAGb,kBAAkB;UACjB,mBAAmB;;;cA8BlB,UAAU,GAAG"}
1
+ {"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"sourcesContent":[],"mappings":";;;;;cASa,wBAqEY;;;EArEZ,KAAA,CAAA,EAAA,SAAA,GA6DZ,WAAA,GAAA,aAAA,GAAA,SAAA,GAAA,OAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,SAAA,GAAA,QAAA;EAEW,sBAAY,CAAA,EAAA,UAAA,GAAA,SAAA;AAMxB,CAAA,GARC,gCAAA,CAAA,SAQwB,EAAA,GAAA,MAAA;AAab,aAnBA,YAAA;EAoB4B,EAAA,GAAA,IAAA;EAApB,EAAA,GAAA,IAAA;EAAuC,EAAA,GAAA,IAAA;;AAD/B,aAbhB,aAAA;EAmBF,OAAA,GAAA,SAAA;EAEc,SAAA,GAAA,WAAA;EAApB,WAAA,GAAA,aAAA;EADA,OAAA,GAAA,SAAA;EAIO,KAAA,GAAA,OAAA;EAAkB,IAAA,GAAA,MAAA;EACjB,IAAA,GAAA,MAAA;EAAmB,KAAA,GAAA,OAAA;EAAa,OAAA,GAAA,SAAA;EA8B/B,MAAA,GAAA,QAiBZ;;KA3DW,aAAA,GAAgB,KAC1B,kBAAkB,oBAAoB,mBAAmB;;;UAKjD;IACN,KACA,oBAAoB;SAGb,kBAAkB;UACjB,mBAAmB;;;cA8BlB,UAAU,GAAG"}
@@ -1,13 +1,13 @@
1
1
  import { DetailedHTMLProps, FC, InputHTMLAttributes } from "react";
2
- import * as class_variance_authority_types6 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types11 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region src/components/Input/Input.d.ts
6
6
  declare const inputVariants: (props?: {
7
7
  variant?: "default" | "invisible";
8
8
  size?: "sm" | "md" | "lg";
9
- validationStyleEnabled?: "enabled" | "disabled";
10
- } & class_variance_authority_types6.ClassProp) => string;
9
+ validationStyleEnabled?: "disabled" | "enabled";
10
+ } & class_variance_authority_types11.ClassProp) => string;
11
11
  declare enum InputVariant {
12
12
  DEFAULT = "default",
13
13
  INVISIBLE = "invisible",
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","names":[],"sources":["../../../../src/components/Input/Input.tsx"],"sourcesContent":[],"mappings":";;;;;cAOa,qBAmDW;;;EAnDX,sBAiDZ,CAAA,EAAA,SAAA,GAAA,UAAA;AAED,CAAA,GAFC,+BAAA,CAAA,SAEuB,EAAA,GAAA,MAAA;AAKZ,aALA,YAAA;EAUA,OAAA,GAAA,SAAU;EACkB,SAAA,GAAA,WAAA;;AAAmB,aAN/C,SAAA;EAMV,EAAA,GAAA,IAAA;EADuB,EAAA,GAAA,IAAA;;AAKhB,KALG,UAAA,GAAa,IAKhB,CAJP,iBAIO,CAJW,mBAIX,CAJ+B,gBAI/B,CAAA,EAJkD,gBAIlD,CAAA,EAAA,MAAA,CAAA,GAAA;EAAL,sBAAA,CAAA,EAAA,OAAA;CAAI,GAAJ,IAAI,CAAC,YAAD,CAAA,OAAqB,aAArB,CAAA,EAAA,wBAAA,CAAA;AAEK,cAAA,KAAU,EAAH,EAAG,CAAA,UAAD,CAAA"}
1
+ {"version":3,"file":"Input.d.ts","names":[],"sources":["../../../../src/components/Input/Input.tsx"],"sourcesContent":[],"mappings":";;;;;cAOa,qBAmDW;;;EAnDX,sBAiDZ,CAAA,EAAA,UAAA,GAAA,SAAA;AAED,CAAA,GAFC,gCAAA,CAAA,SAEuB,EAAA,GAAA,MAAA;AAKZ,aALA,YAAA;EAUA,OAAA,GAAA,SAAU;EACkB,SAAA,GAAA,WAAA;;AAAmB,aAN/C,SAAA;EAMV,EAAA,GAAA,IAAA;EADuB,EAAA,GAAA,IAAA;;AAKhB,KALG,UAAA,GAAa,IAKhB,CAJP,iBAIO,CAJW,mBAIX,CAJ+B,gBAI/B,CAAA,EAJkD,gBAIlD,CAAA,EAAA,MAAA,CAAA,GAAA;EAAL,sBAAA,CAAA,EAAA,OAAA;CAAI,GAAJ,IAAI,CAAC,YAAD,CAAA,OAAqB,aAArB,CAAA,EAAA,wBAAA,CAAA;AAEK,cAAA,KAAU,EAAH,EAAG,CAAA,UAAD,CAAA"}
@@ -1,9 +1,9 @@
1
1
  import { ButtonProps } from "../Button/Button.js";
2
2
  import "../Button/index.js";
3
- import * as react21 from "react";
3
+ import * as react17 from "react";
4
4
  import { ComponentProps, FC, InputHTMLAttributes, ReactNode, RefObject } from "react";
5
- import * as class_variance_authority_types7 from "class-variance-authority/types";
6
- import * as react_jsx_runtime14 from "react/jsx-runtime";
5
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
6
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
7
7
 
8
8
  //#region src/components/Input/OTPInput.d.ts
9
9
  type SlotProps = {
@@ -54,17 +54,17 @@ declare const usePasswordManagerBadge: ({
54
54
  PWM_BADGE_SPACE_WIDTH: "40px";
55
55
  };
56
56
  declare const usePrevious: <T>(value: T) => T | undefined;
57
- declare const OTPInputContext: react21.Context<RenderProps>;
57
+ declare const OTPInputContext: react17.Context<RenderProps>;
58
58
  declare const OTPInput: FC<OTPInputProps>;
59
59
  type InputOTPProps = Omit<ComponentProps<typeof OTPInput>, 'children'>;
60
60
  declare const inputSlotVariants: (props?: {
61
61
  size?: "sm" | "md" | "lg" | "xl";
62
- } & class_variance_authority_types7.ClassProp) => string;
62
+ } & class_variance_authority_types8.ClassProp) => string;
63
63
  declare const InputOTP: FC<InputOTPProps>;
64
64
  declare const InputOTPGroup: ({
65
65
  className,
66
66
  ...props
67
- }: ComponentProps<"div">) => react_jsx_runtime14.JSX.Element;
67
+ }: ComponentProps<"div">) => react_jsx_runtime11.JSX.Element;
68
68
  type InputOTPSlotProps = Omit<ButtonProps, 'variant' | 'label'> & {
69
69
  index: number;
70
70
  };
@@ -1,11 +1,11 @@
1
1
  import { InputProps } from "./Input.js";
2
- import * as react_jsx_runtime13 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime22 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/Input/SearchInput.d.ts
5
5
  declare const SearchInput: ({
6
6
  className,
7
7
  ...props
8
- }: InputProps) => react_jsx_runtime13.JSX.Element;
8
+ }: InputProps) => react_jsx_runtime22.JSX.Element;
9
9
  //#endregion
10
10
  export { SearchInput };
11
11
  //# sourceMappingURL=SearchInput.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { AnchorHTMLAttributes, DetailedHTMLProps, FC, ReactNode } from "react";
2
- import * as class_variance_authority_types8 from "class-variance-authority/types";
2
+ import * as class_variance_authority_types3 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import { LocalesValues } from "@intlayer/types";
5
5
 
@@ -54,11 +54,11 @@ declare enum LinkUnderlined {
54
54
  }
55
55
  declare const linkVariants: (props?: {
56
56
  variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
57
- roundedSize?: "none" | "lg" | "md" | "sm" | "xl" | "2xl" | "3xl" | "full";
58
- color?: "text" | "error" | "custom" | "success" | "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text-inverse";
59
- size?: "lg" | "md" | "custom" | "sm" | "xl";
57
+ roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
58
+ color?: "primary" | "secondary" | "destructive" | "neutral" | "light" | "dark" | "text" | "text-inverse" | "error" | "success" | "custom";
59
+ size?: "sm" | "md" | "lg" | "xl" | "custom";
60
60
  underlined?: boolean | LinkUnderlined.DEFAULT;
61
- } & class_variance_authority_types8.ClassProp) => string;
61
+ } & class_variance_authority_types3.ClassProp) => string;
62
62
  type LinkProps = DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & VariantProps<typeof linkVariants> & {
63
63
  label: string;
64
64
  isExternalLink?: boolean;
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types8 from "@intlayer/types";
1
+ import * as _intlayer_types67 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/Loader/index.content.d.ts
4
4
  declare const loaderContent: {
5
5
  key: string;
6
6
  content: {
7
- label: _intlayer_types8.TypedNodeModel<_intlayer_types8.NodeType.Translation, {
7
+ label: _intlayer_types67.TypedNodeModel<_intlayer_types67.NodeType.Translation, {
8
8
  en: string;
9
9
  'en-GB': string;
10
10
  fr: string;
@@ -24,7 +24,7 @@ declare const loaderContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: "translation" | _intlayer_types8.NodeType.Translation;
27
+ nodeType: "translation" | _intlayer_types67.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.content.d.ts","names":[],"sources":["../../../../src/components/Loader/index.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,iCA4BS,wCAAA"}
1
+ {"version":3,"file":"index.content.d.ts","names":[],"sources":["../../../../src/components/Loader/index.content.ts"],"sourcesContent":[],"mappings":";;;cAEa;;;IAAA,KAAA,kCA4BS,yCAAA"}
@@ -1,5 +1,5 @@
1
1
  import { SVGProps } from "react";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/Loader/spinner.d.ts
5
5
  /**
@@ -64,7 +64,7 @@ type SpinnerProps = SVGProps<SVGSVGElement> & {
64
64
  declare const Spinner: ({
65
65
  className,
66
66
  strokeWidth
67
- }: SpinnerProps) => react_jsx_runtime15.JSX.Element;
67
+ }: SpinnerProps) => react_jsx_runtime1.JSX.Element;
68
68
  //#endregion
69
69
  export { Spinner };
70
70
  //# sourceMappingURL=spinner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.d.ts","names":[],"sources":["../../../../src/components/Loader/spinner.tsx"],"sourcesContent":[],"mappings":";;;;;;;AACsC,KAKjC,YAAA,GAAe,QAAH,CAAY,aAAA,CAAA,GAAA;EAyDhB;EAAW,WAAA,CAAA,EAAA,MAAA;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAX;;;GAA2C,iBAAY,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"spinner.d.ts","names":[],"sources":["../../../../src/components/Loader/spinner.tsx"],"sourcesContent":[],"mappings":";;;;;;;AACsC,KAKjC,YAAA,GAAe,QAAH,CAAY,aAAA,CAAA,GAAA;EAyDhB;EAAW,WAAA,CAAA,EAAA,MAAA;CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAX;;;GAA2C,iBAAY,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types11 from "@intlayer/types";
1
+ import * as _intlayer_types88 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts
4
4
  declare const localeSwitcherContent: {
5
5
  key: string;
6
6
  content: {
7
- localeSwitcherLabel: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
7
+ localeSwitcherLabel: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
8
8
  en: string;
9
9
  'en-GB': string;
10
10
  fr: string;
@@ -24,7 +24,7 @@ declare const localeSwitcherContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
27
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -47,7 +47,7 @@ declare const localeSwitcherContent: {
47
47
  uk: string;
48
48
  };
49
49
  }>;
50
- languageListLabel: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
50
+ languageListLabel: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
51
51
  en: string;
52
52
  'en-GB': string;
53
53
  fr: string;
@@ -67,7 +67,7 @@ declare const localeSwitcherContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
70
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -90,7 +90,7 @@ declare const localeSwitcherContent: {
90
90
  uk: string;
91
91
  };
92
92
  }>;
93
- switchTo: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
93
+ switchTo: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
94
94
  en: string;
95
95
  fr: string;
96
96
  es: string;
@@ -110,7 +110,7 @@ declare const localeSwitcherContent: {
110
110
  vi: string;
111
111
  uk: string;
112
112
  }, {
113
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
113
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
114
114
  } & {
115
115
  translation: {
116
116
  en: string;
@@ -134,7 +134,7 @@ declare const localeSwitcherContent: {
134
134
  };
135
135
  }>;
136
136
  searchInput: {
137
- text: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
137
+ text: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
138
138
  en: string;
139
139
  'en-GB': string;
140
140
  fr: string;
@@ -154,7 +154,7 @@ declare const localeSwitcherContent: {
154
154
  vi: string;
155
155
  uk: string;
156
156
  }, {
157
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
157
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
158
158
  } & {
159
159
  translation: {
160
160
  en: string;
@@ -177,7 +177,7 @@ declare const localeSwitcherContent: {
177
177
  uk: string;
178
178
  };
179
179
  }>;
180
- placeholder: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
180
+ placeholder: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
181
181
  en: string;
182
182
  'en-GB': string;
183
183
  fr: string;
@@ -197,7 +197,7 @@ declare const localeSwitcherContent: {
197
197
  vi: string;
198
198
  uk: string;
199
199
  }, {
200
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
200
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
201
201
  } & {
202
202
  translation: {
203
203
  en: string;
@@ -220,7 +220,7 @@ declare const localeSwitcherContent: {
220
220
  uk: string;
221
221
  };
222
222
  }>;
223
- ariaLabel: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
223
+ ariaLabel: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
224
224
  en: string;
225
225
  'en-GB': string;
226
226
  fr: string;
@@ -240,7 +240,7 @@ declare const localeSwitcherContent: {
240
240
  vi: string;
241
241
  uk: string;
242
242
  }, {
243
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
243
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
244
244
  } & {
245
245
  translation: {
246
246
  en: string;
@@ -265,7 +265,7 @@ declare const localeSwitcherContent: {
265
265
  }>;
266
266
  };
267
267
  seeAllLocalesSwitch: {
268
- true: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
268
+ true: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
269
269
  en: string;
270
270
  'en-GB': string;
271
271
  fr: string;
@@ -285,7 +285,7 @@ declare const localeSwitcherContent: {
285
285
  vi: string;
286
286
  uk: string;
287
287
  }, {
288
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
288
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
289
289
  } & {
290
290
  translation: {
291
291
  en: string;
@@ -308,7 +308,7 @@ declare const localeSwitcherContent: {
308
308
  uk: string;
309
309
  };
310
310
  }>;
311
- false: _intlayer_types11.TypedNodeModel<_intlayer_types11.NodeType.Translation, {
311
+ false: _intlayer_types88.TypedNodeModel<_intlayer_types88.NodeType.Translation, {
312
312
  en: string;
313
313
  'en-GB': string;
314
314
  fr: string;
@@ -328,7 +328,7 @@ declare const localeSwitcherContent: {
328
328
  vi: string;
329
329
  uk: string;
330
330
  }, {
331
- nodeType: "translation" | _intlayer_types11.NodeType.Translation;
331
+ nodeType: "translation" | _intlayer_types88.NodeType.Translation;
332
332
  } & {
333
333
  translation: {
334
334
  en: string;
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types35 from "@intlayer/types";
1
+ import * as _intlayer_types70 from "@intlayer/types";
2
2
 
3
3
  //#region src/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts
4
4
  declare const localeSwitcherContent: {
5
5
  key: string;
6
6
  content: {
7
- localeSwitcherLabel: _intlayer_types35.TypedNodeModel<_intlayer_types35.NodeType.Translation, {
7
+ localeSwitcherLabel: _intlayer_types70.TypedNodeModel<_intlayer_types70.NodeType.Translation, {
8
8
  en: string;
9
9
  'en-GB': string;
10
10
  fr: string;
@@ -24,7 +24,7 @@ declare const localeSwitcherContent: {
24
24
  vi: string;
25
25
  uk: string;
26
26
  }, {
27
- nodeType: "translation" | _intlayer_types35.NodeType.Translation;
27
+ nodeType: "translation" | _intlayer_types70.NodeType.Translation;
28
28
  } & {
29
29
  translation: {
30
30
  en: string;
@@ -47,7 +47,7 @@ declare const localeSwitcherContent: {
47
47
  uk: string;
48
48
  };
49
49
  }>;
50
- languageListLabel: _intlayer_types35.TypedNodeModel<_intlayer_types35.NodeType.Translation, {
50
+ languageListLabel: _intlayer_types70.TypedNodeModel<_intlayer_types70.NodeType.Translation, {
51
51
  en: string;
52
52
  'en-GB': string;
53
53
  fr: string;
@@ -67,7 +67,7 @@ declare const localeSwitcherContent: {
67
67
  vi: string;
68
68
  uk: string;
69
69
  }, {
70
- nodeType: "translation" | _intlayer_types35.NodeType.Translation;
70
+ nodeType: "translation" | _intlayer_types70.NodeType.Translation;
71
71
  } & {
72
72
  translation: {
73
73
  en: string;
@@ -90,7 +90,7 @@ declare const localeSwitcherContent: {
90
90
  uk: string;
91
91
  };
92
92
  }>;
93
- switchTo: _intlayer_types35.TypedNodeModel<_intlayer_types35.NodeType.Translation, {
93
+ switchTo: _intlayer_types70.TypedNodeModel<_intlayer_types70.NodeType.Translation, {
94
94
  en: string;
95
95
  fr: string;
96
96
  es: string;
@@ -110,7 +110,7 @@ declare const localeSwitcherContent: {
110
110
  vi: string;
111
111
  uk: string;
112
112
  }, {
113
- nodeType: "translation" | _intlayer_types35.NodeType.Translation;
113
+ nodeType: "translation" | _intlayer_types70.NodeType.Translation;
114
114
  } & {
115
115
  translation: {
116
116
  en: string;
@@ -134,7 +134,7 @@ declare const localeSwitcherContent: {
134
134
  };
135
135
  }>;
136
136
  searchInput: {
137
- text: _intlayer_types35.TypedNodeModel<_intlayer_types35.NodeType.Translation, {
137
+ text: _intlayer_types70.TypedNodeModel<_intlayer_types70.NodeType.Translation, {
138
138
  en: string;
139
139
  'en-GB': string;
140
140
  fr: string;
@@ -154,7 +154,7 @@ declare const localeSwitcherContent: {
154
154
  vi: string;
155
155
  uk: string;
156
156
  }, {
157
- nodeType: "translation" | _intlayer_types35.NodeType.Translation;
157
+ nodeType: "translation" | _intlayer_types70.NodeType.Translation;
158
158
  } & {
159
159
  translation: {
160
160
  en: string;
@@ -177,7 +177,7 @@ declare const localeSwitcherContent: {
177
177
  uk: string;
178
178
  };
179
179
  }>;
180
- placeholder: _intlayer_types35.TypedNodeModel<_intlayer_types35.NodeType.Translation, {
180
+ placeholder: _intlayer_types70.TypedNodeModel<_intlayer_types70.NodeType.Translation, {
181
181
  en: string;
182
182
  'en-GB': string;
183
183
  fr: string;
@@ -197,7 +197,7 @@ declare const localeSwitcherContent: {
197
197
  vi: string;
198
198
  uk: string;
199
199
  }, {
200
- nodeType: "translation" | _intlayer_types35.NodeType.Translation;
200
+ nodeType: "translation" | _intlayer_types70.NodeType.Translation;
201
201
  } & {
202
202
  translation: {
203
203
  en: string;
@@ -220,7 +220,7 @@ declare const localeSwitcherContent: {
220
220
  uk: string;
221
221
  };
222
222
  }>;
223
- ariaLabel: _intlayer_types35.TypedNodeModel<_intlayer_types35.NodeType.Translation, {
223
+ ariaLabel: _intlayer_types70.TypedNodeModel<_intlayer_types70.NodeType.Translation, {
224
224
  en: string;
225
225
  'en-GB': string;
226
226
  fr: string;
@@ -240,7 +240,7 @@ declare const localeSwitcherContent: {
240
240
  vi: string;
241
241
  uk: string;
242
242
  }, {
243
- nodeType: "translation" | _intlayer_types35.NodeType.Translation;
243
+ nodeType: "translation" | _intlayer_types70.NodeType.Translation;
244
244
  } & {
245
245
  translation: {
246
246
  en: string;
@@ -1,4 +1,4 @@
1
- import { MarkdownProcessorOptions } from "./processor.js";
1
+ import { MarkdownProcessorOptions } from "./processor-adapter.js";
2
2
  import { FC } from "react";
3
3
  import { LocalesValues } from "@intlayer/types";
4
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"MarkDownRender.d.ts","names":[],"sources":["../../../../src/components/MarkDownRender/MarkDownRender.tsx"],"sourcesContent":[],"mappings":";;;;;KAcK,qBAAA;;EAAA,UAAA,CAAA,EAAA,OAAA;EAsMQ,MAAA,CAAA,EAnMF,aAkYV;YAjYW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkMC,kBAAkB,GAAG"}
1
+ {"version":3,"file":"MarkDownRender.d.ts","names":[],"sources":["../../../../src/components/MarkDownRender/MarkDownRender.tsx"],"sourcesContent":[],"mappings":";;;;;KAiBK,qBAAA;;EAAA,UAAA,CAAA,EAAA,OAAA;EAsMQ,MAAA,CAAA,EAnMF,aAkYV;YAjYW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkMC,kBAAkB,GAAG"}
@@ -1,2 +1,3 @@
1
+ import { MarkdownProcessor, MarkdownProcessorOptions, Overrides as CoreOverrides, ParseState, ParserResult, RuleOutput, RuleType, State, compiler, sanitizer as defaultSanitizer, slugify as defaultSlugify } from "./processor-adapter.js";
1
2
  import { MarkdownRenderer } from "./MarkDownRender.js";
2
- export { MarkdownRenderer };
3
+ export { MarkdownProcessor, type MarkdownProcessorOptions, MarkdownRenderer, type CoreOverrides as Overrides, type ParseState, type ParserResult, type RuleOutput, RuleType, type State, compiler, defaultSanitizer as sanitizer, defaultSlugify as slugify };
@@ -0,0 +1,85 @@
1
+ import { FC, HTMLAttributes, JSX, ReactNode, createElement } from "react";
2
+ import { Overrides as CoreOverrides, ParseState, ParserResult, RenderRuleHook, RuleOutput, RuleType, sanitizer as defaultSanitizer, slugify as defaultSlugify } from "@intlayer/core";
3
+
4
+ //#region src/components/MarkDownRender/processor-adapter.d.ts
5
+
6
+ type HTMLTags = keyof JSX.IntrinsicElements;
7
+ type State = ParseState;
8
+ /**
9
+ * Backward-compatible MarkdownProcessorOptions type.
10
+ * Maps to the core library's options while maintaining the existing API.
11
+ */
12
+ type MarkdownProcessorOptions = Partial<{
13
+ /**
14
+ * Ultimate control over the output of all rendered JSX.
15
+ */
16
+ createElement: (tag: Parameters<typeof createElement>[0], props: JSX.IntrinsicAttributes, ...children: ReactNode[]) => ReactNode;
17
+ /**
18
+ * The library automatically generates an anchor tag for bare URLs included in the markdown
19
+ * document, but this behavior can be disabled if desired.
20
+ */
21
+ disableAutoLink: boolean;
22
+ /**
23
+ * Disable the compiler's best-effort transcription of provided raw HTML
24
+ * into JSX-equivalent.
25
+ */
26
+ disableParsingRawHTML: boolean;
27
+ /**
28
+ * Forces the compiler to have space between hash sign and the header text.
29
+ */
30
+ enforceAtxHeadings: boolean;
31
+ /**
32
+ * Forces the compiler to always output content with a block-level wrapper.
33
+ */
34
+ forceBlock: boolean;
35
+ /**
36
+ * Forces the compiler to always output content with an inline wrapper.
37
+ */
38
+ forceInline: boolean;
39
+ /**
40
+ * Forces the compiler to wrap results, even if there is only a single child.
41
+ */
42
+ forceWrapper: boolean;
43
+ /**
44
+ * Supply additional HTML entity: unicode replacement mappings.
45
+ */
46
+ namedCodesToUnicode: {
47
+ [key: string]: string;
48
+ };
49
+ /**
50
+ * Selectively control the output of particular HTML tags.
51
+ */
52
+ overrides: CoreOverrides;
53
+ /**
54
+ * Allows for full control over rendering of particular rules.
55
+ */
56
+ renderRule: RenderRuleHook;
57
+ /**
58
+ * Override the built-in sanitizer function for URLs.
59
+ */
60
+ sanitizer: (value: string, tag: HTMLTags, attribute: string) => string | null;
61
+ /**
62
+ * Override normalization of non-URI-safe characters for anchor linking.
63
+ */
64
+ slugify: (input: string) => string;
65
+ /**
66
+ * Declare the type of the wrapper to be used when there are multiple children.
67
+ */
68
+ wrapper: any | null;
69
+ }>;
70
+ /**
71
+ * Compile markdown to React elements.
72
+ * Maintains backward compatibility with the original API.
73
+ */
74
+ declare const compiler: (markdown?: string, options?: MarkdownProcessorOptions) => JSX.Element;
75
+ /**
76
+ * React component that renders markdown to JSX.
77
+ * Backward compatible with the original MarkdownProcessor component.
78
+ */
79
+ declare const MarkdownProcessor: FC<Omit<HTMLAttributes<Element>, 'children'> & {
80
+ children: string;
81
+ options?: MarkdownProcessorOptions;
82
+ }>;
83
+ //#endregion
84
+ export { MarkdownProcessor, MarkdownProcessorOptions, type CoreOverrides as Overrides, type ParseState, type ParserResult, type RuleOutput, RuleType, type State, compiler, defaultSanitizer as sanitizer, defaultSlugify as slugify };
85
+ //# sourceMappingURL=processor-adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processor-adapter.d.ts","names":[],"sources":["../../../../src/components/MarkDownRender/processor-adapter.tsx"],"sourcesContent":[],"mappings":";;;;;KAgDK,QAAA,GAiES,MAjEQ,GAAA,CAAI,iBAiEZ;KA/DT,KAAA,GAAQ,UAoEqB;;;AAuClC;AAwDA;AACsB,KA9JV,wBAAA,GAA2B,OA8JjB,CAAA;EAAf;;;EADyB,aAAA,EAAA,CAAA,GAAA,EAxJvB,UAwJuB,CAAA,OAxJL,aAwJK,CAAA,CAAA,CAAA,CAAA,EAAA,KAAA,EAvJrB,GAAA,CAAI,mBAuJiB,EAAA,GAAA,QAAA,EAtJf,SAsJe,EAAA,EAAA,GArJzB,SAqJyB;EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAzGrB;;;;cAKC;;;;kCAKoB;;;;;;;;;;;;;;cAuCrB,wCAEF,6BACR,GAAA,CAAI;;;;;cAqDM,mBAAmB,GAC9B,KAAK,eAAe;;YAER"}