@md-code/components 0.0.0-stage → 0.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 (238) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +11 -2
  3. package/dist/CentralModal-ButM9Ggi.js +159 -0
  4. package/dist/assets/favicon.ico +0 -0
  5. package/dist/assets/logo.png +0 -0
  6. package/dist/atoms/Loading/ouroboros.svg +41 -0
  7. package/dist/atoms/Logo/logo.jpg +0 -0
  8. package/dist/avatar.js +8 -0
  9. package/dist/badge.js +25 -0
  10. package/dist/breadcrumbs.js +60 -0
  11. package/dist/button.js +188 -0
  12. package/dist/calendar.js +100 -0
  13. package/dist/card.js +81 -0
  14. package/dist/carousel.js +110 -0
  15. package/dist/central-modal.js +1 -0
  16. package/dist/circle-image.js +22 -0
  17. package/dist/code-preview.js +38 -0
  18. package/dist/code-view.js +96 -0
  19. package/dist/conditional-wrapper.js +5 -0
  20. package/dist/containers.js +115 -0
  21. package/dist/dist-DD9Lv2Ja.js +130 -0
  22. package/dist/div-input.js +101 -0
  23. package/dist/form-label.js +19 -0
  24. package/dist/form.js +17 -0
  25. package/dist/full-screen-modal.js +1 -0
  26. package/dist/header.js +19 -0
  27. package/dist/html-editor.js +74 -0
  28. package/dist/icons.js +44 -0
  29. package/dist/input.js +62 -0
  30. package/dist/link.js +35 -0
  31. package/dist/loading.js +87 -0
  32. package/dist/logo.js +12 -0
  33. package/dist/modals.js +1 -0
  34. package/dist/molecules/Carousel/arrow.svg +5 -0
  35. package/dist/molecules/Select/arrow_down.svg +3 -0
  36. package/dist/pagination.js +119 -0
  37. package/dist/progress-bar.js +26 -0
  38. package/dist/radio.js +72 -0
  39. package/dist/report-ui.js +280 -0
  40. package/dist/search-input.js +78 -0
  41. package/dist/select.js +161 -0
  42. package/dist/separator.js +10 -0
  43. package/dist/status-label.js +59 -0
  44. package/dist/submit.js +57 -0
  45. package/dist/switch.js +98 -0
  46. package/dist/table.js +108 -0
  47. package/dist/tabs.js +155 -0
  48. package/dist/text-checkbox.js +64 -0
  49. package/dist/textarea.js +56 -0
  50. package/dist/textures/Cloud/clouds.svg +52 -0
  51. package/dist/textures.js +170 -0
  52. package/dist/themes-zS3KQYdw-DIqyzjFD.js +184 -0
  53. package/dist/toasts.js +79 -0
  54. package/dist/toggle.js +66 -0
  55. package/dist/token-input-field.js +56 -0
  56. package/dist/tooltip.js +93 -0
  57. package/dist/types/atoms/Avatar/index.d.ts +6 -0
  58. package/dist/types/atoms/Avatar/index.d.ts.map +1 -0
  59. package/dist/types/atoms/Breadcrumbs/index.d.ts +10 -0
  60. package/dist/types/atoms/Breadcrumbs/index.d.ts.map +1 -0
  61. package/dist/types/atoms/Breadcrumbs/styles.d.ts +95 -0
  62. package/dist/types/atoms/Breadcrumbs/styles.d.ts.map +1 -0
  63. package/dist/types/atoms/Calendar/index.d.ts +4 -0
  64. package/dist/types/atoms/Calendar/index.d.ts.map +1 -0
  65. package/dist/types/atoms/Calendar/styles.d.ts +12 -0
  66. package/dist/types/atoms/Calendar/styles.d.ts.map +1 -0
  67. package/dist/types/atoms/CentralModal/index.d.ts +3 -0
  68. package/dist/types/atoms/CentralModal/index.d.ts.map +1 -0
  69. package/dist/types/atoms/CircleImage/index.d.ts +13 -0
  70. package/dist/types/atoms/CircleImage/index.d.ts.map +1 -0
  71. package/dist/types/atoms/CodePreview/index.d.ts +23 -0
  72. package/dist/types/atoms/CodePreview/index.d.ts.map +1 -0
  73. package/dist/types/atoms/ConditionalWrapper/index.d.ts +8 -0
  74. package/dist/types/atoms/ConditionalWrapper/index.d.ts.map +1 -0
  75. package/dist/types/atoms/Containers/index.d.ts +3 -0
  76. package/dist/types/atoms/Containers/index.d.ts.map +1 -0
  77. package/dist/types/atoms/Containers/styles.d.ts +87 -0
  78. package/dist/types/atoms/Containers/styles.d.ts.map +1 -0
  79. package/dist/types/atoms/DivInput/index.d.ts +18 -0
  80. package/dist/types/atoms/DivInput/index.d.ts.map +1 -0
  81. package/dist/types/atoms/Form/Form.d.ts +15 -0
  82. package/dist/types/atoms/Form/Form.d.ts.map +1 -0
  83. package/dist/types/atoms/Form/index.d.ts +13 -0
  84. package/dist/types/atoms/Form/index.d.ts.map +1 -0
  85. package/dist/types/atoms/FormLabel/index.d.ts +13 -0
  86. package/dist/types/atoms/FormLabel/index.d.ts.map +1 -0
  87. package/dist/types/atoms/FullScreenModal/index.d.ts +3 -0
  88. package/dist/types/atoms/FullScreenModal/index.d.ts.map +1 -0
  89. package/dist/types/atoms/Header/index.d.ts +3 -0
  90. package/dist/types/atoms/Header/index.d.ts.map +1 -0
  91. package/dist/types/atoms/Header/styles.d.ts +18 -0
  92. package/dist/types/atoms/Header/styles.d.ts.map +1 -0
  93. package/dist/types/atoms/Icons/index.d.ts +28 -0
  94. package/dist/types/atoms/Icons/index.d.ts.map +1 -0
  95. package/dist/types/atoms/Input/index.d.ts +3 -0
  96. package/dist/types/atoms/Input/index.d.ts.map +1 -0
  97. package/dist/types/atoms/Input/styles.d.ts +20 -0
  98. package/dist/types/atoms/Input/styles.d.ts.map +1 -0
  99. package/dist/types/atoms/Link/index.d.ts +3 -0
  100. package/dist/types/atoms/Link/index.d.ts.map +1 -0
  101. package/dist/types/atoms/Link/styles.d.ts +133 -0
  102. package/dist/types/atoms/Link/styles.d.ts.map +1 -0
  103. package/dist/types/atoms/Loading/index.d.ts +21 -0
  104. package/dist/types/atoms/Loading/index.d.ts.map +1 -0
  105. package/dist/types/atoms/Loading/styles.d.ts +29 -0
  106. package/dist/types/atoms/Loading/styles.d.ts.map +1 -0
  107. package/dist/types/atoms/Logo/index.d.ts +3 -0
  108. package/dist/types/atoms/Logo/index.d.ts.map +1 -0
  109. package/dist/types/atoms/Pagination/index.d.ts +9 -0
  110. package/dist/types/atoms/Pagination/index.d.ts.map +1 -0
  111. package/dist/types/atoms/Pagination/styles.d.ts +38 -0
  112. package/dist/types/atoms/Pagination/styles.d.ts.map +1 -0
  113. package/dist/types/atoms/ProgressBar/index.d.ts +13 -0
  114. package/dist/types/atoms/ProgressBar/index.d.ts.map +1 -0
  115. package/dist/types/atoms/Radio/index.d.ts +12 -0
  116. package/dist/types/atoms/Radio/index.d.ts.map +1 -0
  117. package/dist/types/atoms/Separator/index.d.ts +12 -0
  118. package/dist/types/atoms/Separator/index.d.ts.map +1 -0
  119. package/dist/types/atoms/Submit/index.d.ts +10 -0
  120. package/dist/types/atoms/Submit/index.d.ts.map +1 -0
  121. package/dist/types/atoms/Switch/index.d.ts +12 -0
  122. package/dist/types/atoms/Switch/index.d.ts.map +1 -0
  123. package/dist/types/atoms/Switch/styles.d.ts +31 -0
  124. package/dist/types/atoms/Switch/styles.d.ts.map +1 -0
  125. package/dist/types/atoms/Tabs/index.d.ts +18 -0
  126. package/dist/types/atoms/Tabs/index.d.ts.map +1 -0
  127. package/dist/types/atoms/Tabs/styles.d.ts +40 -0
  128. package/dist/types/atoms/Tabs/styles.d.ts.map +1 -0
  129. package/dist/types/atoms/TextCheckbox/index.d.ts +9 -0
  130. package/dist/types/atoms/TextCheckbox/index.d.ts.map +1 -0
  131. package/dist/types/atoms/Textarea/index.d.ts +19 -0
  132. package/dist/types/atoms/Textarea/index.d.ts.map +1 -0
  133. package/dist/types/atoms/Toggle/index.d.ts +16 -0
  134. package/dist/types/atoms/Toggle/index.d.ts.map +1 -0
  135. package/dist/types/atoms/Toggle/styles.d.ts +32 -0
  136. package/dist/types/atoms/Toggle/styles.d.ts.map +1 -0
  137. package/dist/types/atoms/Tooltip/index.d.ts +15 -0
  138. package/dist/types/atoms/Tooltip/index.d.ts.map +1 -0
  139. package/dist/types/atoms/Tooltip/styles.d.ts +24 -0
  140. package/dist/types/atoms/Tooltip/styles.d.ts.map +1 -0
  141. package/dist/types/atoms/Typography/index.d.ts +3 -0
  142. package/dist/types/atoms/Typography/index.d.ts.map +1 -0
  143. package/dist/types/atoms/Typography/styles.d.ts +68 -0
  144. package/dist/types/atoms/Typography/styles.d.ts.map +1 -0
  145. package/dist/types/atoms/Validation/index.d.ts +9 -0
  146. package/dist/types/atoms/Validation/index.d.ts.map +1 -0
  147. package/dist/types/atoms/Validation/styles.d.ts +23 -0
  148. package/dist/types/atoms/Validation/styles.d.ts.map +1 -0
  149. package/dist/types/atoms/WideImage/index.d.ts +26 -0
  150. package/dist/types/atoms/WideImage/index.d.ts.map +1 -0
  151. package/dist/types/molecules/Badge/index.d.ts +25 -0
  152. package/dist/types/molecules/Badge/index.d.ts.map +1 -0
  153. package/dist/types/molecules/Button/index.d.ts +31 -0
  154. package/dist/types/molecules/Button/index.d.ts.map +1 -0
  155. package/dist/types/molecules/Button/styles.d.ts +15 -0
  156. package/dist/types/molecules/Button/styles.d.ts.map +1 -0
  157. package/dist/types/molecules/Card/index.d.ts +16 -0
  158. package/dist/types/molecules/Card/index.d.ts.map +1 -0
  159. package/dist/types/molecules/Card/styles.d.ts +70 -0
  160. package/dist/types/molecules/Card/styles.d.ts.map +1 -0
  161. package/dist/types/molecules/Carousel/index.d.ts +13 -0
  162. package/dist/types/molecules/Carousel/index.d.ts.map +1 -0
  163. package/dist/types/molecules/Carousel/styles.d.ts +31 -0
  164. package/dist/types/molecules/Carousel/styles.d.ts.map +1 -0
  165. package/dist/types/molecules/CodeView/highlight.d.ts +11 -0
  166. package/dist/types/molecules/CodeView/highlight.d.ts.map +1 -0
  167. package/dist/types/molecules/CodeView/index.d.ts +58 -0
  168. package/dist/types/molecules/CodeView/index.d.ts.map +1 -0
  169. package/dist/types/molecules/CodeView/styles.d.ts +44 -0
  170. package/dist/types/molecules/CodeView/styles.d.ts.map +1 -0
  171. package/dist/types/molecules/HtmlEditor/index.d.ts +16 -0
  172. package/dist/types/molecules/HtmlEditor/index.d.ts.map +1 -0
  173. package/dist/types/molecules/HtmlEditor/styles.d.ts +12 -0
  174. package/dist/types/molecules/HtmlEditor/styles.d.ts.map +1 -0
  175. package/dist/types/molecules/SearchInput/index.d.ts +11 -0
  176. package/dist/types/molecules/SearchInput/index.d.ts.map +1 -0
  177. package/dist/types/molecules/SearchInput/styles.d.ts +24 -0
  178. package/dist/types/molecules/SearchInput/styles.d.ts.map +1 -0
  179. package/dist/types/molecules/Select/index.d.ts +18 -0
  180. package/dist/types/molecules/Select/index.d.ts.map +1 -0
  181. package/dist/types/molecules/Select/styles.d.ts +51 -0
  182. package/dist/types/molecules/Select/styles.d.ts.map +1 -0
  183. package/dist/types/molecules/StatusLabel/index.d.ts +51 -0
  184. package/dist/types/molecules/StatusLabel/index.d.ts.map +1 -0
  185. package/dist/types/molecules/StatusLabel/styles.d.ts +18 -0
  186. package/dist/types/molecules/StatusLabel/styles.d.ts.map +1 -0
  187. package/dist/types/molecules/Table/TableCels/BrandCell.d.ts +9 -0
  188. package/dist/types/molecules/Table/TableCels/BrandCell.d.ts.map +1 -0
  189. package/dist/types/molecules/Table/TableCels/NavigationCell.d.ts +8 -0
  190. package/dist/types/molecules/Table/TableCels/NavigationCell.d.ts.map +1 -0
  191. package/dist/types/molecules/Table/TableCels/StatusCell.d.ts +9 -0
  192. package/dist/types/molecules/Table/TableCels/StatusCell.d.ts.map +1 -0
  193. package/dist/types/molecules/Table/TableCels/TextCell.d.ts +9 -0
  194. package/dist/types/molecules/Table/TableCels/TextCell.d.ts.map +1 -0
  195. package/dist/types/molecules/Table/TableCels/index.d.ts +7 -0
  196. package/dist/types/molecules/Table/TableCels/index.d.ts.map +1 -0
  197. package/dist/types/molecules/Table/TableCels/styles.d.ts +29 -0
  198. package/dist/types/molecules/Table/TableCels/styles.d.ts.map +1 -0
  199. package/dist/types/molecules/Table/index.d.ts +27 -0
  200. package/dist/types/molecules/Table/index.d.ts.map +1 -0
  201. package/dist/types/molecules/Table/styles.d.ts +15 -0
  202. package/dist/types/molecules/Table/styles.d.ts.map +1 -0
  203. package/dist/types/molecules/TokenInputField/index.d.ts +15 -0
  204. package/dist/types/molecules/TokenInputField/index.d.ts.map +1 -0
  205. package/dist/types/molecules/TokenInputField/styles.d.ts +24 -0
  206. package/dist/types/molecules/TokenInputField/styles.d.ts.map +1 -0
  207. package/dist/types/shared/modals/index.d.ts +33 -0
  208. package/dist/types/shared/modals/index.d.ts.map +1 -0
  209. package/dist/types/shared/modals/styles.d.ts +52 -0
  210. package/dist/types/shared/modals/styles.d.ts.map +1 -0
  211. package/dist/types/shared/modals/useModal.d.ts +4 -0
  212. package/dist/types/shared/modals/useModal.d.ts.map +1 -0
  213. package/dist/types/shared/report-ui/DecisionPanel.d.ts +53 -0
  214. package/dist/types/shared/report-ui/DecisionPanel.d.ts.map +1 -0
  215. package/dist/types/shared/report-ui/DecisionPanel.styles.d.ts +31 -0
  216. package/dist/types/shared/report-ui/DecisionPanel.styles.d.ts.map +1 -0
  217. package/dist/types/shared/report-ui/Shell.styles.d.ts +26 -0
  218. package/dist/types/shared/report-ui/Shell.styles.d.ts.map +1 -0
  219. package/dist/types/shared/report-ui/index.d.ts +6 -0
  220. package/dist/types/shared/report-ui/index.d.ts.map +1 -0
  221. package/dist/types/shared/report-ui/ui.d.ts +30 -0
  222. package/dist/types/shared/report-ui/ui.d.ts.map +1 -0
  223. package/dist/types/shared/report-ui/ui.styles.d.ts +50 -0
  224. package/dist/types/shared/report-ui/ui.styles.d.ts.map +1 -0
  225. package/dist/types/shared/toasts/index.d.ts +23 -0
  226. package/dist/types/shared/toasts/index.d.ts.map +1 -0
  227. package/dist/types/shared/toasts/styles.d.ts +18 -0
  228. package/dist/types/shared/toasts/styles.d.ts.map +1 -0
  229. package/dist/types/textures/Cloud/index.d.ts +29 -0
  230. package/dist/types/textures/Cloud/index.d.ts.map +1 -0
  231. package/dist/types/textures/Paper/index.d.ts +8 -0
  232. package/dist/types/textures/Paper/index.d.ts.map +1 -0
  233. package/dist/types/textures/index.d.ts +4 -0
  234. package/dist/types/textures/index.d.ts.map +1 -0
  235. package/dist/typography.js +81 -0
  236. package/dist/validation.js +20 -0
  237. package/dist/wide-image.js +94 -0
  238. package/package.json +443 -4
@@ -0,0 +1,44 @@
1
+ export interface FrameProps {
2
+ $border: string;
3
+ }
4
+ /** The frame: a bordered, rounded surface on the zone's `section` colour. The
5
+ * border ink is resolved by the component and handed in, so a zone-chrome key
6
+ * (`status.edge`) is never read straight from a styled template. */
7
+ export declare const Frame: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }, FrameProps>> & string;
10
+ export interface HeadProps {
11
+ $bg: string;
12
+ $text: string;
13
+ $border: string;
14
+ }
15
+ /** The head caption: a status/neutral wash plus the theme's code text role. Its
16
+ * background, ink and hairline are resolved by the component. */
17
+ export declare const Head: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
18
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
19
+ }, HeadProps>> & string;
20
+ /** The ✓/✗ glyph: the title weight of the theme in the tone's ink. */
21
+ export declare const Mark: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
22
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
23
+ }, {
24
+ $color: string;
25
+ }>> & string;
26
+ /** The scrollable code body: monospace text role, a caller-bounded height and
27
+ * the caller's rhythm values (line-height, tab-size) as transient props. */
28
+ export declare const Body: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "style"> & {
29
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
30
+ }, {
31
+ $max: string;
32
+ $tabSize: number;
33
+ $lineHeight: string;
34
+ }>> & string;
35
+ export interface NoteProps {
36
+ $color: string;
37
+ $border: string;
38
+ }
39
+ /** The footer note: a dim ink above a dashed hairline, both resolved by the
40
+ * component. */
41
+ export declare const Note: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
42
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
43
+ }, NoteProps>> & string;
44
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/CodeView/styles.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;qEAEqE;AACrE,eAAO,MAAM,KAAK;;wBAKjB,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;kEACkE;AAClE,eAAO,MAAM,IAAI;;uBAUhB,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,IAAI;;;YAAyB,MAAM;YAG/C,CAAC;AAEF;6EAC6E;AAC7E,eAAO,MAAM,IAAI;;;UAAsB,MAAM;cAAY,MAAM;iBAAe,MAAM;YAenF,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;iBACiB;AACjB,eAAO,MAAM,IAAI;;uBAKhB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ type THtmlEditorProps = {
3
+ initialValue: string;
4
+ fullHeight?: boolean;
5
+ } & ({
6
+ value?: string;
7
+ setValue?: (newValue: string) => void;
8
+ onSave?: never;
9
+ } | {
10
+ onSave: (value: string) => void;
11
+ value?: never;
12
+ setValue?: never;
13
+ });
14
+ declare const HtmlEditor: ({ initialValue, onSave, fullHeight, value: externalValue, setValue: externalSetValue, }: THtmlEditorProps) => React.JSX.Element;
15
+ export { HtmlEditor };
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/HtmlEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,KAAK,gBAAgB,GAAG;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,CACE;IACA,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB,GACC;IACA,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB,CACF,CAAC;AAEJ,QAAA,MAAM,UAAU,4FAMb,gBAAgB,sBAmDlB,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The editor frame: a section surface with a visible border in the section
3
+ * content colour (wave decision В1), the theme's surface texture and its
4
+ * section shadow. The height is the form height unless the caller asks for
5
+ * full height.
6
+ */
7
+ export declare const CodeEditorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }, {
10
+ $fullHeight?: boolean;
11
+ }>> & string;
12
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/HtmlEditor/styles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;kBAA8B,OAAO;YAsCpE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { TWithBasicElementOffsets, TFullWidth } from '@md/styles';
3
+ export type TSearchInputProps = React.InputHTMLAttributes<HTMLInputElement> & {
4
+ name: string;
5
+ id?: string;
6
+ value?: string;
7
+ onChangeValue: (value?: string) => void;
8
+ } & TWithBasicElementOffsets & TFullWidth;
9
+ declare const SearchInput: ({ id, name, value, onChangeValue, $offsetBottom, $offsetRight, $fullWidth, ...props }: TSearchInputProps) => React.JSX.Element;
10
+ export { SearchInput };
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAIvE,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IAC5E,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,GAAG,wBAAwB,GAC1B,UAAU,CAAC;AAEb,QAAA,MAAM,WAAW,0FAA2F,iBAAiB,sBA4B5H,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { TWithBasicElementOffsets } from '@md/styles';
2
+ /** The search trigger button inherits the Button look without its own border. */
3
+ export declare const ButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("@md-code/components/button").ButtonProps<import("styled-components").DefaultTheme>, "style"> & {
4
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
5
+ }> & string & Omit<(<TTheme extends import("styled-components").DefaultTheme = import("styled-components").DefaultTheme>({ icon, iconPosition, iconLeft, iconRight, text, isLoading, children, disabled, className, size, tone, weight, $fullWidth, ...props }: import("@md-code/components/button").ButtonProps<TTheme>) => import("react").JSX.Element), keyof import("react").Component<any, {}, any>>;
6
+ /** The magnifier icon, hidden while the field is open (the cross is shown). */
7
+ export declare const SearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons").IconBaseProps, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }> & string & Omit<import("react-icons").IconType, keyof import("react").Component<any, {}, any>>;
10
+ /** The close icon, shown only while the field is open. */
11
+ export declare const CrossIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react-icons").IconBaseProps, "style"> & {
12
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
13
+ }> & string & Omit<import("react-icons").IconType, keyof import("react").Component<any, {}, any>>;
14
+ /**
15
+ * The search container: a section surface that expands to full width when
16
+ * open. It borrows the theme's texture, silhouette and section shadow; the
17
+ * open/closed width is the only thing the component decides itself.
18
+ */
19
+ export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
20
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
21
+ }, TWithBasicElementOffsets & {
22
+ $isOpen: boolean;
23
+ }>> & string;
24
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/SearchInput/styles.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAG3D,iFAAiF;AACjF,eAAO,MAAM,aAAa;;yYAEzB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,UAAU;;iGAItB,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,SAAS;;iGAErB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;aAAoD,OAAO;YAkChF,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ export type TOption = {
3
+ label: string;
4
+ value: string | number;
5
+ };
6
+ interface SelectProps {
7
+ options: TOption[];
8
+ value?: TOption | null;
9
+ onChange: (option: TOption | null) => void;
10
+ readOnly?: boolean;
11
+ isClearable?: boolean;
12
+ placeholder?: string;
13
+ isSearchable?: boolean;
14
+ }
15
+ declare const Select: React.FC<SelectProps>;
16
+ export { Select };
17
+ export default Select;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgB3D,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,UAAU,WAAW;IACnB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwHjC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,eAAe,MAAM,CAAC"}
@@ -0,0 +1,51 @@
1
+ /** Positioning wrapper for the select control and its dropdown. */
2
+ export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
3
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
4
+ }> & string;
5
+ /**
6
+ * The closed control: a section surface with a border drawn in the section
7
+ * content colour — a border is visible because it is the zone's content colour
8
+ * (wave decision В1). Read-only applies the theme's disabled state.
9
+ */
10
+ export declare const SelectedValueWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }, {
13
+ $readOnly: boolean;
14
+ }>> & string;
15
+ /**
16
+ * The floating option list: everything above the page takes the notification
17
+ * shadow (README §5.2); the border is the section content colour (В1).
18
+ */
19
+ export declare const Dropdown: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "style"> & {
20
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
21
+ }> & string;
22
+ /** One option row: the highlighted pair when active, otherwise the section pair. */
23
+ export declare const DropdownItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
24
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
25
+ }, {
26
+ $highlighted: boolean;
27
+ }>> & string;
28
+ /** The trailing icon cluster; icons are glyphs, so they use section content. */
29
+ export declare const IconsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
30
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
31
+ }> & string;
32
+ /** Empty-state row shown when no option matches the search term. */
33
+ export declare const NoOptions: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "style"> & {
34
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
35
+ }> & string;
36
+ /** Clear-selection button; its glyph is section content. */
37
+ export declare const ClearButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
38
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
39
+ }, {
40
+ $readOnly: boolean;
41
+ }>> & string;
42
+ /** Vertical divider between the clear button and the chevron (a border, so the
43
+ * section content colour is legal here — wave decision В1). */
44
+ export declare const Separator: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
45
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
46
+ }> & string;
47
+ /** Placeholder text shown when no value is selected. */
48
+ export declare const Placeholder: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
49
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
50
+ }> & string;
51
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Select/styles.ts"],"names":[],"mappings":"AAEA,mEAAmE;AACnE,eAAO,MAAM,SAAS;;WAErB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;eAA2B,OAAO;YAmClE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ;;WA2BpB,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,YAAY;;;kBAA6B,OAAO;YAa5D,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,cAAc;;WAK1B,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,SAAS;;WAGrB,CAAC;AAEF,4DAA4D;AAC5D,eAAO,MAAM,WAAW;;;eAA8B,OAAO;YAO5D,CAAC;AAEF;gEACgE;AAChE,eAAO,MAAM,SAAS;;WAMrB,CAAC;AAEF,wDAAwD;AACxD,eAAO,MAAM,WAAW;;WAEvB,CAAC"}
@@ -0,0 +1,51 @@
1
+ import React from "react";
2
+ import type { StatusKeyOf } from "@md/styles";
3
+ import type { DefaultTheme } from "styled-components";
4
+ /**
5
+ * Legacy `state` vocabulary mapped to the closest contract status key. The key
6
+ * is looked up in the nearest theme's `colors.status` map; a theme that does not
7
+ * declare it falls back to its section pair, so the component stays
8
+ * theme-agnostic (README §3.4). `processing`/`queued` also turn on the loader.
9
+ */
10
+ declare const LEGACY_STATES: {
11
+ readonly not_calculated: {
12
+ readonly label: "Not Calculated";
13
+ readonly status: "neutral";
14
+ };
15
+ readonly queued: {
16
+ readonly label: "Processing";
17
+ readonly status: "pending";
18
+ };
19
+ readonly processing: {
20
+ readonly label: "Processing";
21
+ readonly status: "pending";
22
+ };
23
+ readonly failed: {
24
+ readonly label: "Failed";
25
+ readonly status: "failed";
26
+ };
27
+ readonly success: {
28
+ readonly label: "Success";
29
+ readonly status: "success";
30
+ };
31
+ };
32
+ export type LegacyStateValue = keyof typeof LEGACY_STATES;
33
+ export interface StatusLabelProps<TTheme extends DefaultTheme = DefaultTheme> {
34
+ /** Text shown next to the dot. */
35
+ label?: string;
36
+ /**
37
+ * Any key of the current theme's `colors.status` map (README §3.4). Legal keys
38
+ * come from `DefaultTheme`; the library default is the open `string`.
39
+ */
40
+ $status?: StatusKeyOf<TTheme>;
41
+ isLoading?: boolean;
42
+ /** Legacy convenience: resolves a known state to a `$status` key and label. */
43
+ state?: LegacyStateValue | string;
44
+ }
45
+ /**
46
+ * A status badge: a dot plus a label whose colours are resolved from the
47
+ * current theme's status map (README §3.4).
48
+ */
49
+ export declare const StatusLabel: <TTheme extends DefaultTheme = DefaultTheme>({ label, $status, isLoading, state, }: StatusLabelProps<TTheme>) => React.JSX.Element;
50
+ export {};
51
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/StatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD;;;;;GAKG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;CAMT,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,aAAa,CAAC;AAE1D,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,YAAY,GAAG,YAAY;IAC1E,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;CACnC;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,MAAM,SAAS,YAAY,wDAKpD,gBAAgB,CAAC,MAAM,CAAC,sBAyB1B,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The status badge surface plus its content. Both colours are resolved from the
3
+ * nearest theme's `colors.status` map for `$status`, falling back to the plain
4
+ * section pair when the theme has no such key (README §3.4).
5
+ */
6
+ export declare const StateContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
7
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
8
+ }, {
9
+ $status?: string;
10
+ }>> & string;
11
+ /**
12
+ * The status dot is filled with the badge's content colour via `currentColor`:
13
+ * the dot is a glyph read on the surface, so it reuses the label's colour.
14
+ */
15
+ export declare const StatusDot: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
16
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
17
+ }> & string;
18
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/StatusLabel/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;cAA0B,MAAM;YAY1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;WAarB,CAAC"}
@@ -0,0 +1,9 @@
1
+ type TBrandCellProps = {
2
+ text: string;
3
+ src: string;
4
+ alt?: string;
5
+ align?: 'center' | 'left' | 'right';
6
+ };
7
+ declare const BrandCell: ({ text, src, alt, align }: TBrandCellProps) => import("react").JSX.Element;
8
+ export default BrandCell;
9
+ //# sourceMappingURL=BrandCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrandCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/BrandCell.tsx"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,SAAS,8BAA+B,eAAe,gCAO5D,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ type TNavigationCellProps = {
2
+ text: string;
3
+ link: string;
4
+ align?: 'center' | 'left' | 'right';
5
+ };
6
+ declare const NavigationCell: ({ text, link, align }: TNavigationCellProps) => import("react").JSX.Element;
7
+ export default NavigationCell;
8
+ //# sourceMappingURL=NavigationCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/NavigationCell.tsx"],"names":[],"mappings":"AAIA,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,cAAc,0BAA2B,oBAAoB,gCAQlE,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { StatusLabelProps } from '@md-code/components/status-label';
3
+ interface StatusCellProps extends StatusLabelProps {
4
+ align?: 'center' | 'left' | 'right';
5
+ status?: StatusLabelProps['state'];
6
+ }
7
+ declare const StatusCell: ({ status, align, ...props }: StatusCellProps) => React.JSX.Element;
8
+ export default StatusCell;
9
+ //# sourceMappingURL=StatusCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/StatusCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGzE,UAAU,eAAgB,SAAQ,gBAAgB;IAChD,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAEpC,MAAM,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACpC;AAED,QAAA,MAAM,UAAU,gCAAiC,eAAe,sBAS/D,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface TextCellProps {
3
+ text: string | number | React.ReactNode;
4
+ align?: 'left' | 'center' | 'right';
5
+ weight?: 'bold' | 'regular';
6
+ }
7
+ declare const TextCell: React.FC<TextCellProps>;
8
+ export default TextCell;
9
+ //# sourceMappingURL=TextCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextCell.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/TextCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAUrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { default as TextCell } from './TextCell.js';
2
+ export { default as StatusCell } from './StatusCell.js';
3
+ export { default as NavigationCell } from './NavigationCell.js';
4
+ export { default as BrandCell } from './BrandCell.js';
5
+ export { default as BoldTextDisplayCell } from './TextCell.js';
6
+ export { default as TextDisplayCell } from './TextCell.js';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGtD,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * A body cell: content on the table's section surface. Links inherit the
3
+ * content colour so they stay legible on any theme.
4
+ */
5
+ export declare const StyledTextCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
6
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
7
+ }, {
8
+ $align?: "left" | "center" | "right";
9
+ }>> & string;
10
+ /** A header cell: section content, underlined with the section content colour. */
11
+ export declare const StyledHeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "style"> & {
12
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
13
+ }, {
14
+ $align?: "left" | "center" | "right";
15
+ }>> & string;
16
+ /** A text cell that truncates to a single line with an ellipsis. */
17
+ export declare const OneLineCell: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
18
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
19
+ }, {
20
+ $align?: "left" | "center" | "right";
21
+ }>, "as" | "forwardedAs"> & {
22
+ as?: import("styled-components").WebTarget | undefined;
23
+ forwardedAs?: import("styled-components").WebTarget | undefined;
24
+ }, "style"> & {
25
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
26
+ [key: `--${string}`]: string | number | undefined;
27
+ }) | undefined;
28
+ }> & string;
29
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../molecules/Table/TableCels/styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,cAAc;;;aAAyB,MAAM,GAAG,QAAQ,GAAG,OAAO;YAiB9E,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,gBAAgB;;;aAAwB,MAAM,GAAG,QAAQ,GAAG,OAAO;YAM/E,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,WAAW;;;aA7B4B,MAAM,GAAG,QAAQ,GAAG,OAAO;;;;;;;;WAkC9E,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ import type { TOption } from '@md-code/components/select';
4
+ interface HeaderColumn {
5
+ text: string;
6
+ align?: 'left' | 'center' | 'right';
7
+ sort?: () => void;
8
+ isSortable?: boolean;
9
+ }
10
+ type TTableContainerProps = {
11
+ pagination?: {
12
+ current: number;
13
+ totalPages: number;
14
+ changePage: (newPage: number) => void;
15
+ };
16
+ rowsPerPage?: {
17
+ options: TOption[];
18
+ current: number;
19
+ changeElementsPerPage: (elementsPerPage: number) => void;
20
+ };
21
+ headerCols?: HeaderColumn[];
22
+ colsTemplate: string;
23
+ children: ReactNode;
24
+ };
25
+ declare const TableContainer: ({ children, headerCols, colsTemplate, pagination, rowsPerPage }: TTableContainerProps) => React.JSX.Element;
26
+ export default TableContainer;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAQ1D,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,KAAK,oBAAoB,GAAG;IAC1B,UAAU,CAAC,EAAE;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;KACvC,CAAC;IACF,WAAW,CAAC,EAAE;QACZ,OAAO,EAAE,OAAO,EAAE,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,qBAAqB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;KAC1D,CAAC;IACF,UAAU,CAAC,EAAE,YAAY,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,cAAc,oEAAqE,oBAAoB,sBA8C5G,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The table grid. Header and rows are all sections of the page, so the header
3
+ * gets no different fill: separation comes from borders drawn in the section's
4
+ * own content colour, not from a raised surface (wave decision В3).
5
+ */
6
+ export declare const Grid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
7
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
8
+ }, {
9
+ $colsTemplate: string;
10
+ }>> & string;
11
+ /** Footer strip holding the pagination controls and the rows-per-page select. */
12
+ export declare const PaginationContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
13
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
14
+ }> & string;
15
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/Table/styles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;mBAA+B,MAAM;YA6CrD,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,mBAAmB;;WAM/B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ interface TokenInputFieldProps {
3
+ field: {
4
+ label: string;
5
+ path: string;
6
+ description?: string;
7
+ };
8
+ value?: string;
9
+ onChange?: (value: string) => void;
10
+ autoFocus?: boolean;
11
+ readOnly?: boolean;
12
+ }
13
+ declare const TokenInputField: React.FC<TokenInputFieldProps>;
14
+ export { TokenInputField };
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../molecules/TokenInputField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,oBAAoB;IAC5B,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA6CnD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * The field group is a section surface: it carries the section fill, a border
3
+ * drawn in the section content colour (README §4.1) and the theme radius. The
4
+ * baseline viking fragment painted exactly this (fill + sectionContent border +
5
+ * section padding); the glass fragment never applied because its `liquid-glass`
6
+ * gate never matched the camelCase theme name, so both themes now render the
7
+ * field as a proper section surface without a theme-name gate.
8
+ */
9
+ export declare const FieldContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "style"> & {
10
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
11
+ }> & string;
12
+ /** A horizontal row aligning the input with its action button. */
13
+ export declare const FlexContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
14
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
15
+ }> & string;
16
+ /** Field label: content on the section surface. */
17
+ export declare const FieldLabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "style"> & {
18
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
19
+ }> & string;
20
+ /** Helper text under the label: content on the section surface. */
21
+ export declare const FieldDescription: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
22
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
23
+ }> & string;
24
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../molecules/TokenInputField/styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;WAS1B,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,aAAa;;WAGzB,CAAC;AAEF,mDAAmD;AACnD,eAAO,MAAM,UAAU;;WAItB,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,gBAAgB;;WAI5B,CAAC"}
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import { ModalContext } from "./useModal.js";
3
+ export interface IModalButton {
4
+ name: string;
5
+ view: (onClick?: () => unknown, isDisabled?: boolean) => React.ReactElement<unknown, string | React.JSXElementConstructor<unknown>>;
6
+ }
7
+ export type TFullScreenData = {
8
+ content: React.ReactNode;
9
+ } | null;
10
+ export type TModalData = {
11
+ content: React.ReactNode;
12
+ } | null;
13
+ export type TSideBarModalData = {
14
+ headerText: string;
15
+ children?: React.ReactElement;
16
+ } | null;
17
+ export interface ModalContextType {
18
+ sideBarModalData: TSideBarModalData;
19
+ setSideBarModalData: (data: TSideBarModalData) => void;
20
+ modalData: TModalData;
21
+ setModalData: (data: TModalData) => void;
22
+ fullScreenData: TFullScreenData;
23
+ setFullScreenData: (data: TFullScreenData) => void;
24
+ }
25
+ export declare const ModalProvider: React.FC<{
26
+ children: React.ReactNode;
27
+ }>;
28
+ export { ModalContext };
29
+ export { CentralModal } from '../../atoms/CentralModal/index.js';
30
+ export { FullScreenModal } from '../../atoms/FullScreenModal/index.js';
31
+ export { useModal } from './useModal.js';
32
+ export * from './styles.js';
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/modals/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAEJ,OAAO,CAAC,EAAE,MAAM,OAAO,EACvB,UAAU,CAAC,EAAE,OAAO,KACjB,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;CACjF;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,GAAG,IAAI,CAAC;AAET,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,GAAG,IAAI,CAAC;AAET,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B,GAAG,IAAI,CAAC;AAET,MAAM,WAAW,gBAAgB;IAC/B,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,mBAAmB,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACvD,SAAS,EAAE,UAAU,CAAC;IACtB,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,eAAe,CAAC;IAChC,iBAAiB,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAmBjE,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,cAAc,aAAa,CAAC"}
@@ -0,0 +1,52 @@
1
+ /** Backdrop fade-in while the modal opens. Timing is the modal's own anatomy. */
2
+ export declare const fadeIn: import("styled-components/dist/models/Keyframes").default;
3
+ /** Backdrop fade-out while the modal closes. */
4
+ export declare const fadeOut: import("styled-components/dist/models/Keyframes").default;
5
+ /** Centred modal entering: grows from 70% while fading in. */
6
+ export declare const centerZoomIn: import("styled-components/dist/models/Keyframes").default;
7
+ /** Centred modal leaving: shrinks to 70% while fading out. */
8
+ export declare const centerZoomOut: import("styled-components/dist/models/Keyframes").default;
9
+ /** Full-screen modal entering: overshoots at 80% then settles at scale 1. */
10
+ export declare const expandAnimation: import("styled-components/dist/models/Keyframes").default;
11
+ /** Full-screen modal leaving: the mirror of `expandAnimation`. */
12
+ export declare const collapseAnimation: import("styled-components/dist/models/Keyframes").default;
13
+ /**
14
+ * The backdrop that dims the page under a modal. It is the ONE `overlay`
15
+ * entity of the contract (README §3.3): the former `overlayBackground` token
16
+ * was the same zone under a second name and is gone (§5.1).
17
+ */
18
+ export declare const Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
19
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
20
+ }, {
21
+ $isClosing: boolean;
22
+ }>> & string;
23
+ /**
24
+ * The modal surface. It floats ABOVE the page, so it takes the `notification`
25
+ * shadow (README §5.2); the surface/content come from the `section` pair, the
26
+ * outline from the `section` content colour (a border is the zone's outline,
27
+ * §4.1). The silhouette, radius and texture are theme data, so viking keeps
28
+ * its cut corners and glass its blur without a theme-name gate (§6).
29
+ */
30
+ export declare const ModalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
31
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
32
+ }, {
33
+ $isClosing: boolean;
34
+ $fullScreen?: boolean;
35
+ }>> & string;
36
+ /** Pure layout shell inside the modal surface: inherits the surface radius. */
37
+ export declare const StyledModal: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
38
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
39
+ }> & string;
40
+ /** Scrollable content column of the modal: layout spacing only. */
41
+ export declare const ModalContentContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
42
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
43
+ }> & string;
44
+ /**
45
+ * The close control sits on the overlay layer, so it borrows the `overlay`
46
+ * entity; its hover is the theme's interaction state (README §4.3), not a
47
+ * stored `overlayActive` colour. The radius is the theme's icon radius.
48
+ */
49
+ export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
50
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
51
+ }> & string;
52
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../shared/modals/styles.ts"],"names":[],"mappings":"AAIA,iFAAiF;AACjF,eAAO,MAAM,MAAM,2DAGlB,CAAC;AAEF,gDAAgD;AAChD,eAAO,MAAM,OAAO,2DAGnB,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,YAAY,2DAGxB,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,aAAa,2DAGzB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,eAAe,2DAI3B,CAAC;AAEF,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,2DAI7B,CAAC;AAkBF;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;gBAA4B,OAAO;YAOtD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;gBAA4B,OAAO;kBAAgB,OAAO;YAuCpF,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,WAAW;;WAOvB,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,qBAAqB;;WAQjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW;;WAkBvB,CAAC"}