@matekit/react 0.0.0-stage → 0.1.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 (268) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/LICENSE +202 -0
  3. package/NOTICE +56 -0
  4. package/README.md +115 -2
  5. package/dist/atoms/Divider/Divider.d.ts +49 -0
  6. package/dist/atoms/Divider/Divider.js +29 -0
  7. package/dist/atoms/FocusRing/FocusRing.d.ts +16 -0
  8. package/dist/atoms/FocusRing/FocusRing.js +16 -0
  9. package/dist/atoms/Group/Group.d.ts +38 -0
  10. package/dist/atoms/Group/Group.js +34 -0
  11. package/dist/atoms/Icon/Icon.d.ts +23 -0
  12. package/dist/atoms/Icon/Icon.js +19 -0
  13. package/dist/atoms/Interactive/Interactive.d.ts +98 -0
  14. package/dist/atoms/Interactive/Interactive.js +87 -0
  15. package/dist/atoms/Ripple/Ripple.d.ts +14 -0
  16. package/dist/atoms/Ripple/Ripple.js +63 -0
  17. package/dist/atoms/Shape/Shape.d.ts +24 -0
  18. package/dist/atoms/Shape/Shape.js +19 -0
  19. package/dist/atoms/Shape/shapes.d.ts +8 -0
  20. package/dist/atoms/Shape/shapes.js +40 -0
  21. package/dist/atoms/Stack/Stack.d.ts +58 -0
  22. package/dist/atoms/Stack/Stack.js +33 -0
  23. package/dist/atoms/StateLayer/StateLayer.d.ts +17 -0
  24. package/dist/atoms/StateLayer/StateLayer.js +17 -0
  25. package/dist/atoms/index.d.ts +10 -0
  26. package/dist/atoms/index.js +10 -0
  27. package/dist/fonts/roboto-flex/OFL.txt +93 -0
  28. package/dist/fonts/roboto-flex/roboto-flex-cyrillic-ext.woff2 +0 -0
  29. package/dist/fonts/roboto-flex/roboto-flex-cyrillic.woff2 +0 -0
  30. package/dist/fonts/roboto-flex/roboto-flex-greek.woff2 +0 -0
  31. package/dist/fonts/roboto-flex/roboto-flex-latin-ext.woff2 +0 -0
  32. package/dist/fonts/roboto-flex/roboto-flex-latin.woff2 +0 -0
  33. package/dist/fonts/roboto-flex/roboto-flex-vietnamese.woff2 +0 -0
  34. package/dist/icons/icons.d.ts +89 -0
  35. package/dist/icons/icons.js +186 -0
  36. package/dist/icons/index.d.ts +1 -0
  37. package/dist/icons/index.js +3 -0
  38. package/dist/index.d.ts +8 -0
  39. package/dist/index.js +12 -0
  40. package/dist/internal/accessible-name.d.ts +17 -0
  41. package/dist/internal/accessible-name.js +33 -0
  42. package/dist/internal/anchor-position.d.ts +99 -0
  43. package/dist/internal/anchor-position.js +159 -0
  44. package/dist/internal/anchored-drag.d.ts +25 -0
  45. package/dist/internal/anchored-drag.js +106 -0
  46. package/dist/internal/dev.d.ts +2 -0
  47. package/dist/internal/dev.js +18 -0
  48. package/dist/internal/diagnostics.d.ts +46 -0
  49. package/dist/internal/diagnostics.js +125 -0
  50. package/dist/internal/group-label.d.ts +22 -0
  51. package/dist/internal/group-label.js +50 -0
  52. package/dist/internal/interactive.d.ts +28 -0
  53. package/dist/internal/interactive.js +18 -0
  54. package/dist/internal/layout-element.d.ts +21 -0
  55. package/dist/internal/layout-element.js +33 -0
  56. package/dist/internal/merge-refs.d.ts +13 -0
  57. package/dist/internal/merge-refs.js +35 -0
  58. package/dist/internal/modal-dialog.d.ts +63 -0
  59. package/dist/internal/modal-dialog.js +267 -0
  60. package/dist/internal/navigation-count.d.ts +38 -0
  61. package/dist/internal/navigation-count.js +60 -0
  62. package/dist/internal/navigation-item.d.ts +14 -0
  63. package/dist/internal/navigation-item.js +17 -0
  64. package/dist/internal/nearest-scroller.d.ts +4 -0
  65. package/dist/internal/nearest-scroller.js +17 -0
  66. package/dist/internal/open-state.d.ts +15 -0
  67. package/dist/internal/open-state.js +42 -0
  68. package/dist/internal/roving-focus.d.ts +41 -0
  69. package/dist/internal/roving-focus.js +126 -0
  70. package/dist/internal/settle-animations.d.ts +33 -0
  71. package/dist/internal/settle-animations.js +48 -0
  72. package/dist/internal/time-period.d.ts +10 -0
  73. package/dist/internal/time-period.js +26 -0
  74. package/dist/internal/time.d.ts +23 -0
  75. package/dist/internal/time.js +69 -0
  76. package/dist/internal/typeahead.d.ts +17 -0
  77. package/dist/internal/typeahead.js +35 -0
  78. package/dist/molecules/Badge/Badge.d.ts +25 -0
  79. package/dist/molecules/Badge/Badge.js +16 -0
  80. package/dist/molecules/Button/Button.d.ts +48 -0
  81. package/dist/molecules/Button/Button.js +34 -0
  82. package/dist/molecules/Card/Card.d.ts +159 -0
  83. package/dist/molecules/Card/Card.js +119 -0
  84. package/dist/molecules/Checkbox/Checkbox.d.ts +26 -0
  85. package/dist/molecules/Checkbox/Checkbox.js +40 -0
  86. package/dist/molecules/Chip/AssistChip.d.ts +23 -0
  87. package/dist/molecules/Chip/AssistChip.js +22 -0
  88. package/dist/molecules/Chip/ChipGroup.d.ts +85 -0
  89. package/dist/molecules/Chip/ChipGroup.js +92 -0
  90. package/dist/molecules/Chip/FilterChip.d.ts +33 -0
  91. package/dist/molecules/Chip/FilterChip.js +30 -0
  92. package/dist/molecules/Chip/InputChip.d.ts +60 -0
  93. package/dist/molecules/Chip/InputChip.js +107 -0
  94. package/dist/molecules/Chip/SuggestionChip.d.ts +24 -0
  95. package/dist/molecules/Chip/SuggestionChip.js +17 -0
  96. package/dist/molecules/Chip/chip-content.d.ts +39 -0
  97. package/dist/molecules/Chip/chip-content.js +95 -0
  98. package/dist/molecules/Chip/chip-element.d.ts +14 -0
  99. package/dist/molecules/Chip/chip-element.js +14 -0
  100. package/dist/molecules/Chip/strings.d.ts +8 -0
  101. package/dist/molecules/Chip/strings.js +5 -0
  102. package/dist/molecules/Fab/Fab.d.ts +78 -0
  103. package/dist/molecules/Fab/Fab.js +52 -0
  104. package/dist/molecules/IconButton/IconButton.d.ts +59 -0
  105. package/dist/molecules/IconButton/IconButton.js +36 -0
  106. package/dist/molecules/LoadingIndicator/LoadingIndicator.d.ts +38 -0
  107. package/dist/molecules/LoadingIndicator/LoadingIndicator.js +25 -0
  108. package/dist/molecules/LoadingIndicator/determinate.d.ts +3 -0
  109. package/dist/molecules/LoadingIndicator/determinate.js +47 -0
  110. package/dist/molecules/LoadingIndicator/loading-indicator-data.d.ts +21 -0
  111. package/dist/molecules/LoadingIndicator/loading-indicator-data.js +72 -0
  112. package/dist/molecules/ProgressIndicator/CircularProgressIndicator.d.ts +35 -0
  113. package/dist/molecules/ProgressIndicator/CircularProgressIndicator.js +30 -0
  114. package/dist/molecules/ProgressIndicator/LinearProgressIndicator.d.ts +43 -0
  115. package/dist/molecules/ProgressIndicator/LinearProgressIndicator.js +28 -0
  116. package/dist/molecules/ProgressIndicator/circular-wavy-data.d.ts +5 -0
  117. package/dist/molecules/ProgressIndicator/circular-wavy-data.js +19 -0
  118. package/dist/molecules/ProgressIndicator/progress.d.ts +24 -0
  119. package/dist/molecules/ProgressIndicator/progress.js +60 -0
  120. package/dist/molecules/RadioButton/RadioButton.d.ts +27 -0
  121. package/dist/molecules/RadioButton/RadioButton.js +70 -0
  122. package/dist/molecules/RadioButton/RadioGroup.d.ts +73 -0
  123. package/dist/molecules/RadioButton/RadioGroup.js +82 -0
  124. package/dist/molecules/ScrollField/ScrollField.d.ts +61 -0
  125. package/dist/molecules/ScrollField/ScrollField.js +352 -0
  126. package/dist/molecules/Slider/RangeSlider.d.ts +60 -0
  127. package/dist/molecules/Slider/RangeSlider.js +169 -0
  128. package/dist/molecules/Slider/Slider.d.ts +54 -0
  129. package/dist/molecules/Slider/Slider.js +71 -0
  130. package/dist/molecules/Slider/slider-shared.d.ts +26 -0
  131. package/dist/molecules/Slider/slider-shared.js +98 -0
  132. package/dist/molecules/Switch/Switch.d.ts +22 -0
  133. package/dist/molecules/Switch/Switch.js +20 -0
  134. package/dist/molecules/TextField/TextField.d.ts +83 -0
  135. package/dist/molecules/TextField/TextField.js +146 -0
  136. package/dist/molecules/TextField/TextFieldSlots.d.ts +22 -0
  137. package/dist/molecules/TextField/TextFieldSlots.js +24 -0
  138. package/dist/molecules/TimeInput/TimeInput.d.ts +108 -0
  139. package/dist/molecules/TimeInput/TimeInput.js +347 -0
  140. package/dist/molecules/TimeInput/strings.d.ts +13 -0
  141. package/dist/molecules/TimeInput/strings.js +10 -0
  142. package/dist/molecules/TimeScroll/TimeScroll.d.ts +106 -0
  143. package/dist/molecules/TimeScroll/TimeScroll.js +213 -0
  144. package/dist/molecules/TimeScroll/strings.d.ts +13 -0
  145. package/dist/molecules/TimeScroll/strings.js +12 -0
  146. package/dist/molecules/index.d.ts +27 -0
  147. package/dist/molecules/index.js +25 -0
  148. package/dist/organisms/BottomSheet/BottomSheet.d.ts +128 -0
  149. package/dist/organisms/BottomSheet/BottomSheet.js +432 -0
  150. package/dist/organisms/BottomSheet/BottomSheetSlots.d.ts +17 -0
  151. package/dist/organisms/BottomSheet/BottomSheetSlots.js +16 -0
  152. package/dist/organisms/BottomSheet/StandardBottomSheet.d.ts +37 -0
  153. package/dist/organisms/BottomSheet/StandardBottomSheet.js +206 -0
  154. package/dist/organisms/BottomSheet/bottom-sheet-context.d.ts +31 -0
  155. package/dist/organisms/BottomSheet/bottom-sheet-context.js +12 -0
  156. package/dist/organisms/BottomSheet/sheet-drag.d.ts +1 -0
  157. package/dist/organisms/BottomSheet/sheet-drag.js +4 -0
  158. package/dist/organisms/BottomSheet/strings.d.ts +9 -0
  159. package/dist/organisms/BottomSheet/strings.js +8 -0
  160. package/dist/organisms/ButtonGroup/ButtonGroup.d.ts +97 -0
  161. package/dist/organisms/ButtonGroup/ButtonGroup.js +242 -0
  162. package/dist/organisms/ButtonGroup/ButtonGroupItem.d.ts +36 -0
  163. package/dist/organisms/ButtonGroup/ButtonGroupItem.js +47 -0
  164. package/dist/organisms/Dialog/Dialog.d.ts +186 -0
  165. package/dist/organisms/Dialog/Dialog.js +193 -0
  166. package/dist/organisms/Dialog/DialogSlots.d.ts +60 -0
  167. package/dist/organisms/Dialog/DialogSlots.js +54 -0
  168. package/dist/organisms/Dialog/strings.d.ts +5 -0
  169. package/dist/organisms/Dialog/strings.js +5 -0
  170. package/dist/organisms/FabMenu/FabMenu.d.ts +104 -0
  171. package/dist/organisms/FabMenu/FabMenu.js +142 -0
  172. package/dist/organisms/FabMenu/strings.d.ts +9 -0
  173. package/dist/organisms/FabMenu/strings.js +5 -0
  174. package/dist/organisms/List/List.d.ts +190 -0
  175. package/dist/organisms/List/List.js +148 -0
  176. package/dist/organisms/Menu/Menu.d.ts +313 -0
  177. package/dist/organisms/Menu/Menu.js +865 -0
  178. package/dist/organisms/Menu/MenuSlots.d.ts +35 -0
  179. package/dist/organisms/Menu/MenuSlots.js +36 -0
  180. package/dist/organisms/NavigationBar/NavigationBar.d.ts +96 -0
  181. package/dist/organisms/NavigationBar/NavigationBar.js +77 -0
  182. package/dist/organisms/NavigationRail/ModalNavigationRail.d.ts +105 -0
  183. package/dist/organisms/NavigationRail/ModalNavigationRail.js +272 -0
  184. package/dist/organisms/NavigationRail/NavigationRail.d.ts +148 -0
  185. package/dist/organisms/NavigationRail/NavigationRail.js +114 -0
  186. package/dist/organisms/NavigationRail/NavigationRailSection.d.ts +54 -0
  187. package/dist/organisms/NavigationRail/NavigationRailSection.js +96 -0
  188. package/dist/organisms/NavigationRail/strings.d.ts +7 -0
  189. package/dist/organisms/NavigationRail/strings.js +7 -0
  190. package/dist/organisms/NavigationSuite/NavigationSuite.d.ts +109 -0
  191. package/dist/organisms/NavigationSuite/NavigationSuite.js +86 -0
  192. package/dist/organisms/PaneScaffold/PaneScaffold.d.ts +106 -0
  193. package/dist/organisms/PaneScaffold/PaneScaffold.js +120 -0
  194. package/dist/organisms/Search/Search.d.ts +207 -0
  195. package/dist/organisms/Search/Search.js +754 -0
  196. package/dist/organisms/Search/SearchSlots.d.ts +16 -0
  197. package/dist/organisms/Search/SearchSlots.js +17 -0
  198. package/dist/organisms/Search/strings.d.ts +21 -0
  199. package/dist/organisms/Search/strings.js +12 -0
  200. package/dist/organisms/Select/Select.d.ts +186 -0
  201. package/dist/organisms/Select/Select.js +597 -0
  202. package/dist/organisms/Select/SelectSlots.d.ts +12 -0
  203. package/dist/organisms/Select/SelectSlots.js +12 -0
  204. package/dist/organisms/SideSheet/SideSheet.d.ts +88 -0
  205. package/dist/organisms/SideSheet/SideSheet.js +109 -0
  206. package/dist/organisms/SideSheet/SideSheetSlots.d.ts +35 -0
  207. package/dist/organisms/SideSheet/SideSheetSlots.js +37 -0
  208. package/dist/organisms/SideSheet/strings.d.ts +7 -0
  209. package/dist/organisms/SideSheet/strings.js +6 -0
  210. package/dist/organisms/Snackbar/Snackbar.d.ts +46 -0
  211. package/dist/organisms/Snackbar/Snackbar.js +36 -0
  212. package/dist/organisms/Snackbar/SnackbarHost.d.ts +57 -0
  213. package/dist/organisms/Snackbar/SnackbarHost.js +221 -0
  214. package/dist/organisms/Snackbar/snackbar-queue.d.ts +81 -0
  215. package/dist/organisms/Snackbar/snackbar-queue.js +114 -0
  216. package/dist/organisms/Snackbar/strings.d.ts +8 -0
  217. package/dist/organisms/Snackbar/strings.js +5 -0
  218. package/dist/organisms/SplitButton/SplitButton.d.ts +73 -0
  219. package/dist/organisms/SplitButton/SplitButton.js +77 -0
  220. package/dist/organisms/SplitButton/strings.d.ts +9 -0
  221. package/dist/organisms/SplitButton/strings.js +5 -0
  222. package/dist/organisms/Tabs/TabLink.d.ts +27 -0
  223. package/dist/organisms/Tabs/TabLink.js +25 -0
  224. package/dist/organisms/Tabs/TabNav.d.ts +19 -0
  225. package/dist/organisms/Tabs/TabNav.js +55 -0
  226. package/dist/organisms/Tabs/Tabs.d.ts +147 -0
  227. package/dist/organisms/Tabs/Tabs.js +223 -0
  228. package/dist/organisms/Tabs/tab-content.d.ts +23 -0
  229. package/dist/organisms/Tabs/tab-content.js +105 -0
  230. package/dist/organisms/Tabs/tab-fit.d.ts +4 -0
  231. package/dist/organisms/Tabs/tab-fit.js +65 -0
  232. package/dist/organisms/Tabs/tab-motion.d.ts +2 -0
  233. package/dist/organisms/Tabs/tab-motion.js +68 -0
  234. package/dist/organisms/TimePickerDialog/TimePickerDialog.d.ts +26 -0
  235. package/dist/organisms/TimePickerDialog/TimePickerDialog.js +34 -0
  236. package/dist/organisms/Toolbar/Toolbar.d.ts +75 -0
  237. package/dist/organisms/Toolbar/Toolbar.js +84 -0
  238. package/dist/organisms/Toolbar/ToolbarLayout.d.ts +44 -0
  239. package/dist/organisms/Toolbar/ToolbarLayout.js +90 -0
  240. package/dist/organisms/Toolbar/ToolbarScroll.d.ts +8 -0
  241. package/dist/organisms/Toolbar/ToolbarScroll.js +222 -0
  242. package/dist/organisms/Tooltip/RichTooltip.d.ts +73 -0
  243. package/dist/organisms/Tooltip/RichTooltip.js +250 -0
  244. package/dist/organisms/Tooltip/Tooltip.d.ts +52 -0
  245. package/dist/organisms/Tooltip/Tooltip.js +99 -0
  246. package/dist/organisms/Tooltip/tooltip-behavior.d.ts +43 -0
  247. package/dist/organisms/Tooltip/tooltip-behavior.js +307 -0
  248. package/dist/organisms/TopAppBar/TopAppBar.d.ts +107 -0
  249. package/dist/organisms/TopAppBar/TopAppBar.js +78 -0
  250. package/dist/organisms/TopAppBar/TopAppBarScroll.d.ts +7 -0
  251. package/dist/organisms/TopAppBar/TopAppBarScroll.js +155 -0
  252. package/dist/organisms/index.d.ts +36 -0
  253. package/dist/organisms/index.js +36 -0
  254. package/dist/palettes/blue.css +275 -0
  255. package/dist/palettes/green.css +275 -0
  256. package/dist/palettes/index.css +823 -0
  257. package/dist/palettes/orange.css +275 -0
  258. package/dist/shapes.css +115 -0
  259. package/dist/strings/index.d.ts +35 -0
  260. package/dist/strings/index.js +39 -0
  261. package/dist/styles-no-fonts.css +11991 -0
  262. package/dist/styles.css +12089 -0
  263. package/dist/stylesheet.d.ts +2 -0
  264. package/dist/tokens/breakpoints.d.ts +33 -0
  265. package/dist/tokens/breakpoints.js +31 -0
  266. package/dist/tokens/space.d.ts +26 -0
  267. package/dist/tokens/space.js +26 -0
  268. package/package.json +110 -3
@@ -0,0 +1,89 @@
1
+ import type { ComponentType } from 'react';
2
+ import { type IconProps } from '../atoms/Icon/Icon.tsx';
3
+ export interface FillableIconProps extends IconProps {
4
+ /**
5
+ * Filled version of the icon, for the active or selected state (the current destination of a
6
+ * navigation bar, a selected toggle). Icons with no surface to fill (`fillable: false` in
7
+ * `ICONS`) do not change.
8
+ */
9
+ filled?: boolean | undefined;
10
+ }
11
+ /** Material Symbols "add". It has no distinct filled version: `filled` does not change it. */
12
+ export declare function AddIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
13
+ /** Material Symbols "close". It has no distinct filled version: `filled` does not change it. */
14
+ export declare function CloseIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
15
+ /** Material Symbols "check". It has no distinct filled version: `filled` does not change it. */
16
+ export declare function CheckIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
17
+ /** Material Symbols "remove". It has no distinct filled version: `filled` does not change it. */
18
+ export declare function RemoveIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
19
+ /** Material Symbols "delete". With `filled`, the filled version (active or selected state). */
20
+ export declare function DeleteIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
21
+ /** Material Symbols "edit". With `filled`, the filled version (active or selected state). */
22
+ export declare function EditIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
23
+ /** Material Symbols "search". It has no distinct filled version: `filled` does not change it. */
24
+ export declare function SearchIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
25
+ /** Material Symbols "settings". With `filled`, the filled version (active or selected state). */
26
+ export declare function SettingsIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
27
+ /** Material Symbols "more_vert". It has no distinct filled version: `filled` does not change it. */
28
+ export declare function MoreVertIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
29
+ /** Material Symbols "menu". It has no distinct filled version: `filled` does not change it. */
30
+ export declare function MenuIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
31
+ /** Material Symbols "menu_open". It has no distinct filled version: `filled` does not change it. */
32
+ export declare function MenuOpenIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
33
+ /** Material Symbols "share". With `filled`, the filled version (active or selected state). */
34
+ export declare function ShareIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
35
+ /** Material Symbols "download". It has no distinct filled version: `filled` does not change it. */
36
+ export declare function DownloadIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
37
+ /** Material Symbols "refresh". It has no distinct filled version: `filled` does not change it. */
38
+ export declare function RefreshIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
39
+ /** Material Symbols "keyboard". With `filled`, the filled version (active or selected state). */
40
+ export declare function KeyboardIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
41
+ /** Material Symbols "swipe_vertical". With `filled`, the filled version (active or selected state). */
42
+ export declare function SwipeVerticalIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
43
+ /** Material Symbols "arrow_back". It has no distinct filled version: `filled` does not change it. */
44
+ export declare function ArrowBackIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
45
+ /** Material Symbols "arrow_forward". It has no distinct filled version: `filled` does not change it. */
46
+ export declare function ArrowForwardIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
47
+ /** Material Symbols "chevron_left". It has no distinct filled version: `filled` does not change it. */
48
+ export declare function ChevronLeftIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
49
+ /** Material Symbols "chevron_right". It has no distinct filled version: `filled` does not change it. */
50
+ export declare function ChevronRightIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
51
+ /** Material Symbols "expand_more". It has no distinct filled version: `filled` does not change it. */
52
+ export declare function ExpandMoreIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
53
+ /** Material Symbols "expand_less". It has no distinct filled version: `filled` does not change it. */
54
+ export declare function ExpandLessIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
55
+ /** Material Symbols "arrow_drop_down". It has no distinct filled version: `filled` does not change it. */
56
+ export declare function ArrowDropDownIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
57
+ /** Material Symbols "arrow_right". It has no distinct filled version: `filled` does not change it. */
58
+ export declare function ArrowRightIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
59
+ /** Material Symbols "home". With `filled`, the filled version (active or selected state). */
60
+ export declare function HomeIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
61
+ /** Material Symbols "open_in_new". It has no distinct filled version: `filled` does not change it. */
62
+ export declare function OpenInNewIcon({ filled: _filled, ...props }: FillableIconProps): import("react").JSX.Element;
63
+ /** Material Symbols "info". With `filled`, the filled version (active or selected state). */
64
+ export declare function InfoIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
65
+ /** Material Symbols "warning". With `filled`, the filled version (active or selected state). */
66
+ export declare function WarningIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
67
+ /** Material Symbols "error". With `filled`, the filled version (active or selected state). */
68
+ export declare function ErrorIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
69
+ /** Material Symbols "check_circle". With `filled`, the filled version (active or selected state). */
70
+ export declare function CheckCircleIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
71
+ /** Material Symbols "cancel". With `filled`, the filled version (active or selected state). */
72
+ export declare function CancelIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
73
+ /** Material Symbols "visibility". With `filled`, the filled version (active or selected state). */
74
+ export declare function VisibilityIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
75
+ /** Material Symbols "visibility_off". With `filled`, the filled version (active or selected state). */
76
+ export declare function VisibilityOffIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
77
+ /** Material Symbols "star". With `filled`, the filled version (active or selected state). */
78
+ export declare function StarIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
79
+ /** Material Symbols "favorite". With `filled`, the filled version (active or selected state). */
80
+ export declare function FavoriteIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
81
+ /** Material Symbols "bookmark". With `filled`, the filled version (active or selected state). */
82
+ export declare function BookmarkIcon({ filled, ...props }: FillableIconProps): import("react").JSX.Element;
83
+ /** The included icons, for catalogs and tests. */
84
+ export declare const ICONS: ReadonlyArray<{
85
+ name: string;
86
+ component: ComponentType<FillableIconProps>;
87
+ group: string;
88
+ fillable: boolean;
89
+ }>;
@@ -0,0 +1,186 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Icon } from '../atoms/Icon/Icon.js';
3
+ const VIEWBOX = '0 -960 960 960';
4
+ /** Material Symbols "add". It has no distinct filled version: `filled` does not change it. */
5
+ export function AddIcon({ filled: _filled, ...props }) {
6
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M445-445.5H210v-70h235v-235h70v235h235v70H515v235h-70v-235Z' })] }) }));
7
+ }
8
+ /** Material Symbols "close". It has no distinct filled version: `filled` does not change it. */
9
+ export function CloseIcon({ filled: _filled, ...props }) {
10
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'm256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'm259-206-52-53 220-221-220-221 52-53 221 221 221-221 52 53-220 221 220 221-52 53-221-221-221 221Z' })] }) }));
11
+ }
12
+ /** Material Symbols "check". It has no distinct filled version: `filled` does not change it. */
13
+ export function CheckIcon({ filled: _filled, ...props }) {
14
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M383-246 162-467l53.5-53.5L383-353l361.5-361.5L798-661 383-246Z' })] }) }));
15
+ }
16
+ /** Material Symbols "remove". It has no distinct filled version: `filled` does not change it. */
17
+ export function RemoveIcon({ filled: _filled, ...props }) {
18
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M200-440v-80h560v80H200Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M210-445.5v-70h540v70H210Z' })] }) }));
19
+ }
20
+ /** Material Symbols "delete". With `filled`, the filled version (active or selected state). */
21
+ export function DeleteIcon({ filled = false, ...props }) {
22
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm80-160h80v-360h-80v360Zm160 0h80v-360h-80v360Z' : 'M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M283-130q-30.94 0-52.97-22.03Q208-174.06 208-205v-512h-39v-75h193v-38h237v38h193v75h-39v512q0 30.94-22.03 52.97Q708.94-130 678-130H283Zm82-153.5h75v-355h-75v355Zm156 0h75v-355h-75v355Z' : 'M283-130q-30.94 0-52.97-22.03Q208-174.06 208-205v-512h-39v-75h193v-38h237v38h193v75h-39v512q0 30.94-22.03 52.97Q708.94-130 678-130H283Zm395-587H283v512h395v-512ZM365-283.5h75v-355h-75v355Zm156 0h75v-355h-75v355ZM283-717v512-512Z' })] }) }));
23
+ }
24
+ /** Material Symbols "edit". With `filled`, the filled version (active or selected state). */
25
+ export function EditIcon({ filled = false, ...props }) {
26
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M120-120v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm584-528 56-56-56-56-56 56 56 56Z' : 'M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M130-130v-159l520-519.5q11-10.5 24.25-16t28.25-5.5q15 0 29 5.75t25 16.75l52 52.5q11 10.5 16.25 24.25T830-702.5q0 15-5.25 28.5t-16.25 24.5L289-130H130Zm572.5-520 52.5-52.5-52.5-52.5-52.5 52.5 52.5 52.5Z' : 'M205-205h53l392-391.5-53.5-53.5L205-257.5v52.5Zm-75 75v-159l520-519.5q10.98-10.28 24.24-15.89Q687.5-830 702.47-830t29 5.75q14.03 5.75 25.03 16.75l52 52.5q11 10.5 16.25 24.25t5.25 28.02q0 15.23-5.14 28.67-5.14 13.44-16.36 24.56L289-130H130Zm625-572.5L702.5-755l52.5 52.5ZM623-623l-26.5-27 53.5 53.5-27-26.5Z' })] }) }));
27
+ }
28
+ /** Material Symbols "search". It has no distinct filled version: `filled` does not change it. */
29
+ export function SearchIcon({ filled: _filled, ...props }) {
30
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'm779-128.5-247.98-248q-29.52 24-68.02 37.25T381.66-326q-106.13 0-179.65-73.45-73.51-73.46-73.51-179.5 0-106.05 73.45-179.55 73.46-73.5 179.5-73.5Q487.5-832 561-758.49q73.5 73.52 73.5 179.65 0 42.84-13.5 81.59T584-429l248 247.5-53 53ZM381.5-401q74.5 0 126.25-51.75T559.5-579q0-74.5-51.75-126.25T381.5-757q-74.5 0-126.25 51.75T203.5-579q0 74.5 51.75 126.25T381.5-401Z' })] }) }));
31
+ }
32
+ /** Material Symbols "settings". With `filled`, the filled version (active or selected state). */
33
+ export function SettingsIcon({ filled = false, ...props }) {
34
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'm370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm112-260q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Z' : 'm370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'm375.5-90-16-125q-13.5-5-26.5-12.25t-24-15.25l-115.5 48-105-182 101-76.5q-1-6.5-1-12.5V-480q0-6 .25-13t1.25-16L88.5-584.5l105-181 117 49q10-8 22.25-15t26.75-13l16-126.5h209l16 125q14 5.5 25.75 12.75T649-716.5l117.5-49 105 181-104 77.5q1 7 1 12.75v29q0 6.25-1.5 12.75l103 76-105 182-116-49q-9.5 7.5-20.75 14T600.5-215l-16 125h-209Zm104-255q56 0 95.5-39.5t39.5-95.5q0-56-39.5-95.5T479.5-615q-56.5 0-95.75 39.5T344.5-480q0 56 39.25 95.5T479.5-345Z' : 'm375.5-90-16-125q-13.5-5-26.5-12.25t-24-15.25l-115.5 48-105-182 101-76.5q-1-6.48-1-12.49V-480q0-6 .25-13t1.25-16L88.5-584.5l105-181 117 49q10-8 22.25-15t26.75-13l16-126.5h209l16 125q14 5.5 25.75 12.75T649-716.5l117.5-49 105 181-104 77.54q1 6.96 1 12.71v28.92q0 6.18-1.5 12.83l103 76-105 182-116-49q-9.5 7.5-20.75 14T600.5-215l-16 125h-209Zm64.79-75H518l14.5-106.5q30-8 55-22.75T634-331l99.5 42 38.5-67-87-65q4.5-14 6.5-28.84t2-30.16q0-15.5-1.75-29.75T685-539l87-66-37.5-67-101 43q-19.5-21-46-36.5t-55-23L519.57-796H441l-13.5 107q-32 8.5-56 22.25T324-630l-98.5-42-38.5 67 85.5 63.5q-5 16-7 30.5t-2 30.47q0 15.03 1.75 29.53 1.75 14.5 6.75 31l-85 64 38.58 67 97.92-42q23.5 23.5 48.75 38t55.25 22l12.79 106Zm39.44-180q55.77 0 95.27-39.55 39.5-39.55 39.5-95.5t-39.54-95.45Q535.43-615 479.5-615q-56.5 0-95.75 39.55t-39.25 95.5q0 55.95 39.25 95.45t95.98 39.5Zm-.23-135.5Z' })] }) }));
35
+ }
36
+ /** Material Symbols "more_vert". It has no distinct filled version: `filled` does not change it. */
37
+ export function MoreVertIcon({ filled: _filled, ...props }) {
38
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M480-150q-32.5 0-55.25-22.75T402-228q0-32.5 22.75-55.25T480-306q32.5 0 55.25 22.75T558-228q0 32.5-22.75 55.25T480-150Zm0-252q-32.5 0-55.25-22.75T402-480q0-32.5 22.75-55.25T480-558q32.5 0 55.25 22.75T558-480q0 32.5-22.75 55.25T480-402Zm0-252q-32.5 0-55.25-22.75T402-732q0-32.5 22.75-55.25T480-810q32.5 0 55.25 22.75T558-732q0 32.5-22.75 55.25T480-654Z' })] }) }));
39
+ }
40
+ /** Material Symbols "menu". It has no distinct filled version: `filled` does not change it. */
41
+ export function MenuIcon({ filled: _filled, ...props }) {
42
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M130-248v-75h700v75H130Zm0-195v-75h700v75H130Zm0-195v-75h700v75H130Z' })] }) }));
43
+ }
44
+ /** Material Symbols "menu_open". It has no distinct filled version: `filled` does not change it. */
45
+ export function MenuOpenIcon({ filled: _filled, ...props }) {
46
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M120-240v-80h520v80H120Zm664-40L584-480l200-200 56 56-144 144 144 144-56 56ZM120-440v-80h400v80H120Zm0-200v-80h520v80H120Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M130-250v-75h505.5v75H130Zm648-39L584-480l194-191 52 52-141 139 141 138.5-52 52.5ZM130-443v-75h388v75H130Zm0-192v-75h505.5v75H130Z' })] }) }));
47
+ }
48
+ /** Material Symbols "share". With `filled`, the filled version (active or selected state). */
49
+ export function ShareIcon({ filled = false, ...props }) {
50
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M720-80q-50 0-85-35t-35-85q0-7 1-14.5t3-13.5L322-392q-17 15-38 23.5t-44 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q23 0 44 8.5t38 23.5l282-164q-2-6-3-13.5t-1-14.5q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-23 0-44-8.5T638-672L356-508q2 6 3 13.5t1 14.5q0 7-1 14.5t-3 13.5l282 164q17-15 38-23.5t44-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Z' : 'M720-80q-50 0-85-35t-35-85q0-7 1-14.5t3-13.5L322-392q-17 15-38 23.5t-44 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q23 0 44 8.5t38 23.5l282-164q-2-6-3-13.5t-1-14.5q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-23 0-44-8.5T638-672L356-508q2 6 3 13.5t1 14.5q0 7-1 14.5t-3 13.5l282 164q17-15 38-23.5t44-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-640q17 0 28.5-11.5T760-760q0-17-11.5-28.5T720-800q-17 0-28.5 11.5T680-760q0 17 11.5 28.5T720-720ZM240-440q17 0 28.5-11.5T280-480q0-17-11.5-28.5T240-520q-17 0-28.5 11.5T200-480q0 17 11.5 28.5T240-440Zm480 280q17 0 28.5-11.5T760-200q0-17-11.5-28.5T720-240q-17 0-28.5 11.5T680-200q0 17 11.5 28.5T720-160Zm0-600ZM240-480Zm480 280Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M716.88-89q-48.38 0-82.13-33.83Q601-156.67 601-205q0-6.96 1-14.42 1-7.47 3-13.43L324-396q-16.5 15.5-36.95 23.75Q266.6-364 244.2-364q-48.7 0-82.45-33.98T128-480.5q0-48.13 33.83-81.81Q195.67-596 244-596q22.65 0 43.32 8Q308-580 324-565l281-163.15q-2-5.96-3-13.43-1-7.46-1-14.42 0-48.33 33.87-82.17Q668.74-872 717.12-872t82.13 33.69Q833-804.63 833-756.5q0 48.54-33.83 82.52Q765.33-640 717-640q-22.47 0-42.98-8.25Q653.5-656.5 637-672L356-509q2 6.29 3 14.14 1 7.86 1 14.82 0 6.97-1 14.43t-3 13.43L637-289q16.5-15.5 36.95-23.75Q694.4-321 716.8-321q48.7 0 82.45 33.98T833-204.5q0 48.12-33.87 81.81Q765.26-89 716.88-89Z' : 'M716.88-89q-48.38 0-82.13-33.83Q601-156.67 601-205q0-6.96 1-14.42 1-7.47 3-13.43L324-396q-16.5 15.5-36.95 23.75Q266.6-364 244.2-364q-48.7 0-82.45-33.98T128-480.5q0-48.13 33.83-81.81Q195.67-596 244-596q22.65 0 43.32 8Q308-580 324-565l281-163.15q-2-5.96-3-13.43-1-7.46-1-14.42 0-48.33 33.87-82.17Q668.74-872 717.12-872t82.13 33.69Q833-804.63 833-756.5q0 48.54-33.83 82.52Q765.33-640 717-640q-22.47 0-42.98-8.25Q653.5-656.5 637-672L356-509q2 6.29 3 14.14 1 7.86 1 14.82 0 6.97-1 14.43t-3 13.43L637-289q16.5-15.5 36.95-23.75Q694.4-321 716.8-321q48.7 0 82.45 33.98T833-204.5q0 48.12-33.87 81.81Q765.26-89 716.88-89Zm.12-626q17 0 29-12t12-29q0-17-12-29t-29-12q-17 0-29 12t-12 29q0 17 12 29t29 12ZM244-439q17 0 29-12t12-29q0-17-12-29t-29-12q-17 0-29 12t-12 29q0 17 12 29t29 12Zm473 275q17 0 29-12t12-29q0-17-12-29t-29-12q-17 0-29 12t-12 29q0 17 12 29t29 12Zm0-592ZM244-480Zm473 275Z' })] }) }));
51
+ }
52
+ /** Material Symbols "download". It has no distinct filled version: `filled` does not change it. */
53
+ export function DownloadIcon({ filled: _filled, ...props }) {
54
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M480-325 288.5-516.5l52-53 102 102V-790h75v322.5l102-102 52 53L480-325ZM245-170q-30.94 0-52.97-22.03Q170-214.06 170-245v-117.5h75V-245h470v-117.5h75V-245q0 30.94-22.03 52.97Q745.94-170 715-170H245Z' })] }) }));
55
+ }
56
+ /** Material Symbols "refresh". It has no distinct filled version: `filled` does not change it. */
57
+ export function RefreshIcon({ filled: _filled, ...props }) {
58
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M480-160q-134 0-227-93t-93-227q0-134 93-227t227-93q69 0 132 28.5T720-690v-110h80v280H520v-80h168q-32-56-87.5-88T480-720q-100 0-170 70t-70 170q0 100 70 170t170 70q77 0 139-44t87-116h84q-28 106-114 173t-196 67Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M480.5-169q-130.65 0-221.33-90.38Q168.5-349.77 168.5-480q0-130.23 90.67-220.62Q349.85-791 480.5-791q68.5 0 130.5 28.25T716.5-681v-110h75v269h-269v-75h163q-31.53-55.53-86.22-87.27Q544.59-716 480.54-716q-98.54 0-167.79 68.87-69.25 68.87-69.25 167.25t69.13 167.13Q381.75-244 480.5-244q75.66 0 136.58-43Q678-330 702.5-401h79q-27 103-110.75 167.5T480.5-169Z' })] }) }));
59
+ }
60
+ /** Material Symbols "keyboard". With `filled`, the filled version (active or selected state). */
61
+ export function KeyboardIcon({ filled = false, ...props }) {
62
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M160-200q-33 0-56.5-23.5T80-280v-400q0-33 23.5-56.5T160-760h640q33 0 56.5 23.5T880-680v400q0 33-23.5 56.5T800-200H160Zm160-120h320v-80H320v80ZM200-440h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80ZM200-560h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Z' : 'M160-200q-33 0-56.5-23.5T80-280v-400q0-33 23.5-56.5T160-760h640q33 0 56.5 23.5T880-680v400q0 33-23.5 56.5T800-200H160Zm0-80h640v-400H160v400Zm160-40h320v-80H320v80ZM200-440h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80ZM200-560h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80Zm120 0h80v-80h-80v80ZM160-280v-400 400Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M158-205q-30.94 0-52.97-22.03Q83-249.06 83-280v-405q0-30.94 22.03-52.97Q127.06-760 158-760h645q30.94 0 52.97 22.03Q878-715.94 878-685v405q0 30.94-22.03 52.97Q833.94-205 803-205H158Zm163-120h318v-75H321v75ZM203-445h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75ZM203-565h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Z' : 'M158-205q-30.94 0-52.97-22.03Q83-249.06 83-280v-405q0-30.94 22.03-52.97Q127.06-760 158-760h645q30.94 0 52.97 22.03Q878-715.94 878-685v405q0 30.94-22.03 52.97Q833.94-205 803-205H158Zm0-75h645v-405H158v405Zm163-45h318v-75H321v75ZM203-445h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75ZM203-565h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75Zm120 0h75v-75h-75v75ZM158-280v-405 405Z' })] }) }));
63
+ }
64
+ /** Material Symbols "swipe_vertical". With `filled`, the filled version (active or selected state). */
65
+ export function SwipeVerticalIcon({ filled = false, ...props }) {
66
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M658-127q-23 8-46.5 7.5T566-131L304-253l18-40q10-20 28-32.5t40-14.5l68-5-112-307q-6-16 1-30.5t23-20.5q16-6 30.5 1t20.5 23l96 263 38-14-37-103q-6-16-1-35.5t21-25.5q16-6 30.5 1t20.5 23l41 113 37-14-27-75q-6-16 1-30.5t23-20.5q16-6 30.5 1t20.5 23l27 75 38-14q-6-16 1-30.5t23-20.5q16-6 30.5 1t20.5 23l55 150q23 63-4.5 122.5T815-184l-157 57ZM80-80v-60h81q-59-72-90-159T40-480q0-94 31-181t90-159H80v-60h200v200h-60v-116q-58 66-89 147t-31 169q0 88 31 169t89 147v-116h60v200H80Z' : 'M80-80v-60h81q-59-72-90-159T40-480q0-94 31-181t90-159H80v-60h200v200h-60v-116q-58 66-89 147t-31 169q0 88 31 169t89 147v-116h60v200H80Zm578-47q-23 8-46.5 7.5T566-131L304-253l18-40q10-20 28-32.5t40-14.5l68-5-112-307q-6-16 1-30.5t23-20.5q16-6 30.5 1t20.5 23l148 407-100 7 131 61q7 3 15 3.5t15-1.5l157-57q31-11 45-41.5t3-61.5l-55-150q-6-16 1-30.5t23-20.5q16-6 30.5 1t20.5 23l55 150q23 63-4.5 122.5T815-184l-157 57Zm-90-265-54-151q-6-16 1-30.5t23-20.5q16-6 30.5 1t20.5 23l55 150-76 28Zm113-41-41-113q-6-16 1-30.5t23-20.5q16-6 30.5 1t20.5 23l41 112-75 28Zm8 88Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M650.5-137q-22 8-45 7.25T561-141L293.5-266l13.5-35q8.5-21.5 27-34.5t41-13.5l80-1.5-109-300q-5.5-15 1-28.5t21.5-19q15-5.5 28.75.75T416.5-676L512-412.5l40.5-15-40.5-112q-5.5-15-1-33.75t19.5-24.25q15-5.5 28.75 1T578.5-575L623-452.5l39.5-15L632-552q-5.5-15 1-28.75T654.5-600q15-5.5 28.5 1t19 21.5l31 84.5 40-14.5-3.5-9.5q-5.5-15 1-28.75T792-565q15-5.5 28.75 1T840-542.5l54.5 149q22.5 62-4.75 120.75T800.5-191.5l-150 54.5ZM90-90v-55h81q-58-71.5-89-157T51-480q0-92.5 31.25-178t89.25-157H90v-55h192.5v192.5h-55v-118q-57.5 66-89.5 146.75T106-480q0 88 32 168.5T227.5-165v-117h55v192H90Z' : 'M90-90v-55h81q-58-71.5-89-157T51-480q0-92.5 31.25-178t89.25-157H90v-55h192.5v192.5h-55v-118q-57.5 66-89.5 146.75T106-480q0 88 32 168.5T227.5-165v-117h55v192H90Zm560.5-47q-22 8-45 7.25T561-141L293.5-266l13.5-35q8.5-21.5 27-34.5t41-13.5l80-1.5-109-300q-5.5-15 1-28.5t21.5-19q15-5.5 28.75.75T416.5-676l143 393.5-118 3 151 70.5q7.5 3.5 16 3.75t16-2.25l150-54.5q32-11.5 46.5-42.75t3-63.25l-54.5-149q-5.5-15 1-28.75T792-565q15-5.5 28.75 1T840-542.5l54.5 149q22.5 62-4.75 120.75T800.5-191.5l-150 54.5ZM561-402.5l-53-147q-5.5-15 1-28.75t21.5-19.25q15-5.5 28.75 1T578.5-575L632-428.5l-71 26Zm110.5-40L632-552q-5.5-15 1-28.75T654.5-600q15-5.5 28.5 1t19 21.5l40 109-70.5 26Zm13.5 92Z' })] }) }));
67
+ }
68
+ /** Material Symbols "arrow_back". It has no distinct filled version: `filled` does not change it. */
69
+ export function ArrowBackIcon({ filled: _filled, ...props }) {
70
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'm313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M314-442.5 533.5-223 480-170 170-480l310-310 53.5 53L314-517.5h476v75H314Z' })] }) }));
71
+ }
72
+ /** Material Symbols "arrow_forward". It has no distinct filled version: `filled` does not change it. */
73
+ export function ArrowForwardIcon({ filled: _filled, ...props }) {
74
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M646-442.5H170v-75h476L426.5-737l53.5-53 310 310-310 310-53.5-53L646-442.5Z' })] }) }));
75
+ }
76
+ /** Material Symbols "chevron_left". It has no distinct filled version: `filled` does not change it. */
77
+ export function ChevronLeftIcon({ filled: _filled, ...props }) {
78
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M559-246 325-480l234-234 52 53-181 181 181 181-52 53Z' })] }) }));
79
+ }
80
+ /** Material Symbols "chevron_right". It has no distinct filled version: `filled` does not change it. */
81
+ export function ChevronRightIcon({ filled: _filled, ...props }) {
82
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M506-480 325-661l52-53 234 234-234 234-52-53 181-181Z' })] }) }));
83
+ }
84
+ /** Material Symbols "expand_more". It has no distinct filled version: `filled` does not change it. */
85
+ export function ExpandMoreIcon({ filled: _filled, ...props }) {
86
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M480-349 246-583l53-53 181 181 181-181 53 53-234 234Z' })] }) }));
87
+ }
88
+ /** Material Symbols "expand_less". It has no distinct filled version: `filled` does not change it. */
89
+ export function ExpandLessIcon({ filled: _filled, ...props }) {
90
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'm296-345-56-56 240-240 240 240-56 56-184-184-184 184Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'm299-349-53-53 234-234 234 234-53 53-181-181-181 181Z' })] }) }));
91
+ }
92
+ /** Material Symbols "arrow_drop_down". It has no distinct filled version: `filled` does not change it. */
93
+ export function ArrowDropDownIcon({ filled: _filled, ...props }) {
94
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M480-360 280-560h400L480-360Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M480-364 288-557h384L480-364Z' })] }) }));
95
+ }
96
+ /** Material Symbols "arrow_right". It has no distinct filled version: `filled` does not change it. */
97
+ export function ArrowRightIcon({ filled: _filled, ...props }) {
98
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M400-280v-400l200 200-200 200Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M404-288v-384l192 192-192 192Z' })] }) }));
99
+ }
100
+ /** Material Symbols "home". With `filled`, the filled version (active or selected state). */
101
+ export function HomeIcon({ filled = false, ...props }) {
102
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M160-120v-480l320-240 320 240v480H560v-280H400v280H160Z' : 'M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M169-129v-467.5L480-830l311 233.67V-129H562.5v-276h-165v276H169Z' : 'M244-204h116v-238.5h240V-204h116v-355L480-736 244-559v355Zm-75 75v-467.5L480-830l311 233.67V-129H525v-238.5h-90V-129H169Zm311-341Z' })] }) }));
103
+ }
104
+ /** Material Symbols "open_in_new". It has no distinct filled version: `filled` does not change it. */
105
+ export function OpenInNewIcon({ filled: _filled, ...props }) {
106
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: 'M204-129q-30.94 0-52.97-22.03Q129-173.06 129-204v-552q0-30.94 22.03-52.97Q173.06-831 204-831h273v75H204v552h552v-273h75v273q0 30.94-22.03 52.97Q786.94-129 756-129H204Zm185.5-208L337-389.5 703.5-756H552v-75h279v279h-75v-151.5L389.5-337Z' })] }) }));
107
+ }
108
+ /** Material Symbols "info". With `filled`, the filled version (active or selected state). */
109
+ export function InfoIcon({ filled = false, ...props }) {
110
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z' : 'M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M443-285h75v-234h-75v234Zm36.89-311Q496-596 507-606.89q11-10.9 11-27Q518-650 507.11-661q-10.9-11-27-11Q464-672 453-661.11q-11 10.9-11 27Q442-618 452.89-607q10.9 11 27 11ZM480-90q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Z' : 'M443-285h75v-234h-75v234Zm36.89-311Q496-596 507-606.89q11-10.9 11-27Q518-650 507.11-661q-10.9-11-27-11Q464-672 453-661.11q-11 10.9-11 27Q442-618 452.89-607q10.9 11 27 11ZM480-90q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z' })] }) }));
111
+ }
112
+ /** Material Symbols "warning". With `filled`, the filled version (active or selected state). */
113
+ export function WarningIcon({ filled = false, ...props }) {
114
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'm40-120 440-760 440 760H40Zm440-120q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Z' : 'm40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Zm40-100Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'm53-129 427-737 427 737H53Zm426.89-116Q496-245 507-255.89q11-10.9 11-27Q518-299 507.11-310q-10.9-11-27-11Q464-321 453-310.11q-11 10.9-11 27Q442-267 452.89-256q10.9 11 27 11ZM443-360h75v-197h-75v197Z' : 'm53-129 427-737 427 737H53Zm130-75h594L480-716 183-204Zm296.89-41Q496-245 507-255.89q11-10.9 11-27Q518-299 507.11-310q-10.9-11-27-11Q464-321 453-310.11q-11 10.9-11 27Q442-267 452.89-256q10.9 11 27 11ZM443-360h75v-197h-75v197Zm37-100Z' })] }) }));
115
+ }
116
+ /** Material Symbols "error". With `filled`, the filled version (active or selected state). */
117
+ export function ErrorIcon({ filled = false, ...props }) {
118
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z' : 'M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M479.89-285Q496-285 507-295.89q11-10.9 11-27Q518-339 507.11-350q-10.9-11-27-11Q464-361 453-350.11q-11 10.9-11 27Q442-307 452.89-296q10.9 11 27 11ZM443-440h75v-236h-75v236Zm37 350q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Z' : 'M479.89-285Q496-285 507-295.89q11-10.9 11-27Q518-339 507.11-350q-10.9-11-27-11Q464-361 453-350.11q-11 10.9-11 27Q442-307 452.89-296q10.9 11 27 11ZM443-440h75v-236h-75v236Zm37 350q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z' })] }) }));
119
+ }
120
+ /** Material Symbols "check_circle". With `filled`, the filled version (active or selected state). */
121
+ export function CheckCircleIcon({ filled = false, ...props }) {
122
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'm424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z' : 'm424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'm425-301 275-275-53-53-222 222-112-112-53 53 165 165Zm55 211q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Z' : 'm425-301 275-275-53-53-222 222-112-112-53 53 165 165Zm55 211q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z' })] }) }));
123
+ }
124
+ /** Material Symbols "cancel". With `filled`, the filled version (active or selected state). */
125
+ export function CancelIcon({ filled = false, ...props }) {
126
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'm336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z' : 'm336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'm338-286 142-142 142 142 52-52-142-142 142-142-52-52-142 142-142-142-52 52 142 142-142 142 52 52ZM480-90q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Z' : 'm338-286 142-142 142 142 52-52-142-142 142-142-52-52-142 142-142-142-52 52 142 142-142 142 52 52ZM480-90q-80.91 0-152.07-30.76-71.15-30.77-123.79-83.5Q151.5-257 120.75-328.09 90-399.17 90-480q0-80.91 30.76-152.07 30.77-71.15 83.5-123.79Q257-808.5 328.09-839.25 399.17-870 480-870q80.91 0 152.07 30.76 71.15 30.77 123.79 83.5Q808.5-703 839.25-631.91 870-560.83 870-480q0 80.91-30.76 152.07-30.77 71.15-83.5 123.79Q703-151.5 631.91-120.75 560.83-90 480-90Zm0-75q131.5 0 223.25-91.75T795-480q0-131.5-91.75-223.25T480-795q-131.5 0-223.25 91.75T165-480q0 131.5 91.75 223.25T480-165Zm0-315Z' })] }) }));
127
+ }
128
+ /** Material Symbols "visibility". With `filled`, the filled version (active or selected state). */
129
+ export function VisibilityIcon({ filled = false, ...props }) {
130
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Z' : 'M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M480-326q72.5 0 123.25-50.75T654-500q0-72.5-50.75-123.25T480-674q-72.5 0-123.25 50.75T306-500q0 72.5 50.75 123.25T480-326Zm.12-68Q436-394 405-424.88q-31-30.88-31-75Q374-544 404.88-575q30.88-31 75-31Q524-606 555-575.12q31 30.88 31 75Q586-456 555.12-425q-30.88 31-75 31ZM480-208q-142.5 0-259-79.75T51-500q53.5-132.5 170-212.25T480-792q142.5 0 259 79.75T909-500q-53.5 132.5-170 212.25T480-208Z' : 'M480-326q72.5 0 123.25-50.75T654-500q0-72.5-50.75-123.25T480-674q-72.5 0-123.25 50.75T306-500q0 72.5 50.75 123.25T480-326Zm.12-68Q436-394 405-424.88q-31-30.88-31-75Q374-544 404.88-575q30.88-31 75-31Q524-606 555-575.12q31 30.88 31 75Q586-456 555.12-425q-30.88 31-75 31ZM480-208q-142.5 0-259-79.75T51-500q53.5-132.5 170-212.25T480-792q142.5 0 259 79.75T909-500q-53.5 132.5-170 212.25T480-208Zm0-292Zm0 217q111 0 204.5-58.5T827-500q-49-100-142.5-158.5T480-717q-111 0-204.5 58.5T133-500q49 100 142.5 158.5T480-283Z' })] }) }));
131
+ }
132
+ /** Material Symbols "visibility_off". With `filled`, the filled version (active or selected state). */
133
+ export function VisibilityOffIcon({ filled = false, ...props }) {
134
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M792-56 624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM480-320q11 0 20.5-1t20.5-4L305-541q-3 11-4 20.5t-1 20.5q0 75 52.5 127.5T480-320Zm292 18L645-428q7-17 11-34.5t4-37.5q0-75-52.5-127.5T480-680q-20 0-37.5 4T408-664L306-766q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302ZM587-486 467-606q28-5 51.5 4.5T559-574q17 18 24.5 41.5T587-486Z' : 'm644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M787-69 623.5-230.5q-33.5 11-69.25 16.75T480-208q-147 0-262-81.5T51-500q21-52 53-96.75T176-677L68-789l52-52 720 720-53 52ZM480-326q11 0 21.75-1.25t21.75-4.25l-212-211q-3 11-4.25 21.25T306-500q0 73 50.5 123.5T480-326Zm282 20.5L639-428q7.5-16.5 11.25-34.75T654-500q0-73-50.5-123.5T480-674q-19 0-37 3.75t-35 11.75l-100-100q39.5-16.5 83-25t89-8.5q147 0 262 81.5T909-500q-23 57-59.75 106.75T762-305.5Zm-177.5-177L463-604q28.5-5 52.5 3.75t41 26.75Q574-556 581.75-532t2.75 49.5Z' : 'M638.5-428 584-482.5q10-51-27.25-91.25T462.5-604L408-658.5q17-8 35-11.75t37-3.75q73 0 123.5 50.5T654-500q0 19-3.75 37.25T638.5-428ZM762-305.5 708.5-358q37-28 67.25-63T827-500q-49-99.5-141.25-158.25T480-717q-28 0-57.5 4.5t-56 12.5L308-758.5q39.5-16.5 83-25t89-8.5q147 0 262 81.5T909-500q-23 57-59.75 106.75T762-305.5ZM787-69 623.5-230.5q-33.5 11-69.25 16.75T480-208q-147 0-262-81.5T51-500q21-52 53-96.75T176-677L68-789l52-52 720 720-53 52ZM229-625q-29 25-54 57t-42 68q49 99.5 141.25 158.25T480-283q21.5 0 42.25-2.5T562-292l-38-40q-11 3-22 4.5t-22 1.5q-73 0-123.5-50.5T306-500q0-11 1.5-21.5T312-543l-83-82Zm308.5 96Zm-142 70.5Z' })] }) }));
135
+ }
136
+ /** Material Symbols "star". With `filled`, the filled version (active or selected state). */
137
+ export function StarIcon({ filled = false, ...props }) {
138
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'm233-120 65-281L80-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Z' : 'm354-287 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-120l65-281L80-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-350Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M236.5-125 301-402 86-588l283.5-24.5 110.5-261 110.5 261L874-588 659-402l64.5 277L480-272 236.5-125Z' : 'M350-281.5 480-360l130 79-34.5-148 115-99-151-13.5-59.5-140L420.5-542l-151 13 115 99.5-34.5 148ZM236.5-125 301-402 86-588l283.5-24.5 110.5-261 110.5 261L874-588 659-402l64.5 277L480-272 236.5-125ZM480-471Z' })] }) }));
139
+ }
140
+ /** Material Symbols "favorite". With `filled`, the filled version (active or selected state). */
141
+ export function FavoriteIcon({ filled = false, ...props }) {
142
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'm480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Z' : 'm480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Zm0-108q96-86 158-147.5t98-107q36-45.5 50-81t14-70.5q0-60-40-100t-100-40q-47 0-87 26.5T518-680h-76q-15-41-55-67.5T300-774q-60 0-100 40t-40 100q0 35 14 70.5t50 81q36 45.5 98 107T480-228Zm0-273Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'm480-131-54-48.5q-99.27-89.57-164.13-154.54Q197-399 158.72-450.4q-38.29-51.4-53.5-94.48Q90-587.96 90-633q0-91.01 61-152 60.99-61 152-61 51.29 0 97.64 22Q447-802 480-761q34.5-41 80-63t97-22q91.01 0 152 61 61 60.99 61 152 0 45.04-15.22 88.12-15.21 43.08-53.5 94.48Q763-399 698.13-334.04 633.27-269.07 534-179.5L480-131Z' : 'm480-131-54-48.5q-99.27-89.57-164.13-154.54Q197-399 158.72-450.4q-38.29-51.4-53.5-94.48Q90-587.96 90-633q0-91.01 61-152 60.99-61 152-61 51.29 0 97.64 22Q447-802 480-761q34.5-41 80-63t97-22q91.01 0 152 61 61 60.99 61 152 0 45.04-15.22 88.12-15.21 43.08-53.5 94.48Q763-399 698.13-334.04 633.27-269.07 534-179.5L480-131Zm0-101q94-85 155-145.5T731.5-483q35.5-45 49.5-80.18 14-35.18 14-69.86 0-59.46-39.36-98.71Q716.28-771 657.25-771q-46.25 0-86 26.5t-56.25 69h-70q-16.5-42.5-56.25-69t-86-26.5q-59.03 0-98.39 39.25T165-633.04q0 34.68 14 69.86T228.5-483Q264-438 325-377.5T480-232Zm0-269.5Z' })] }) }));
143
+ }
144
+ /** Material Symbols "bookmark". With `filled`, the filled version (active or selected state). */
145
+ export function BookmarkIcon({ filled = false, ...props }) {
146
+ return (_jsx(Icon, { ...props, children: _jsxs("svg", { viewBox: VIEWBOX, focusable: "false", children: [_jsx("path", { className: "mk-icon-grade-0", d: filled ? 'M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Z' : 'M200-120v-640q0-33 23.5-56.5T280-840h400q33 0 56.5 23.5T760-760v640L480-240 200-120Zm80-122 200-86 200 86v-518H280v518Zm0-518h400-400Z' }), _jsx("path", { className: "mk-icon-grade-n25", d: filled ? 'M208-132v-624q0-30.94 22.03-52.97Q252.06-831 283-831h394q30.94 0 52.97 22.03Q752-786.94 752-756v624L480-248 208-132Z' : 'M208-132v-624q0-30.94 22.03-52.97Q252.06-831 283-831h394q30.94 0 52.97 22.03Q752-786.94 752-756v624L480-248 208-132Zm75-114 197-85 197 85v-510H283v510Zm0-510h394-394Z' })] }) }));
147
+ }
148
+ /** The included icons, for catalogs and tests. */
149
+ export const ICONS = [
150
+ { name: 'add', component: AddIcon, group: 'Actions', fillable: false },
151
+ { name: 'close', component: CloseIcon, group: 'Actions', fillable: false },
152
+ { name: 'check', component: CheckIcon, group: 'Actions', fillable: false },
153
+ { name: 'remove', component: RemoveIcon, group: 'Actions', fillable: false },
154
+ { name: 'delete', component: DeleteIcon, group: 'Actions', fillable: true },
155
+ { name: 'edit', component: EditIcon, group: 'Actions', fillable: true },
156
+ { name: 'search', component: SearchIcon, group: 'Actions', fillable: false },
157
+ { name: 'settings', component: SettingsIcon, group: 'Actions', fillable: true },
158
+ { name: 'more_vert', component: MoreVertIcon, group: 'Actions', fillable: false },
159
+ { name: 'menu', component: MenuIcon, group: 'Actions', fillable: false },
160
+ { name: 'menu_open', component: MenuOpenIcon, group: 'Actions', fillable: false },
161
+ { name: 'share', component: ShareIcon, group: 'Actions', fillable: true },
162
+ { name: 'download', component: DownloadIcon, group: 'Actions', fillable: false },
163
+ { name: 'refresh', component: RefreshIcon, group: 'Actions', fillable: false },
164
+ { name: 'keyboard', component: KeyboardIcon, group: 'Actions', fillable: true },
165
+ { name: 'swipe_vertical', component: SwipeVerticalIcon, group: 'Actions', fillable: true },
166
+ { name: 'arrow_back', component: ArrowBackIcon, group: 'Navigation', fillable: false },
167
+ { name: 'arrow_forward', component: ArrowForwardIcon, group: 'Navigation', fillable: false },
168
+ { name: 'chevron_left', component: ChevronLeftIcon, group: 'Navigation', fillable: false },
169
+ { name: 'chevron_right', component: ChevronRightIcon, group: 'Navigation', fillable: false },
170
+ { name: 'expand_more', component: ExpandMoreIcon, group: 'Navigation', fillable: false },
171
+ { name: 'expand_less', component: ExpandLessIcon, group: 'Navigation', fillable: false },
172
+ { name: 'arrow_drop_down', component: ArrowDropDownIcon, group: 'Navigation', fillable: false },
173
+ { name: 'arrow_right', component: ArrowRightIcon, group: 'Navigation', fillable: false },
174
+ { name: 'home', component: HomeIcon, group: 'Navigation', fillable: true },
175
+ { name: 'open_in_new', component: OpenInNewIcon, group: 'Navigation', fillable: false },
176
+ { name: 'info', component: InfoIcon, group: 'Status', fillable: true },
177
+ { name: 'warning', component: WarningIcon, group: 'Status', fillable: true },
178
+ { name: 'error', component: ErrorIcon, group: 'Status', fillable: true },
179
+ { name: 'check_circle', component: CheckCircleIcon, group: 'Status', fillable: true },
180
+ { name: 'cancel', component: CancelIcon, group: 'Status', fillable: true },
181
+ { name: 'visibility', component: VisibilityIcon, group: 'Status', fillable: true },
182
+ { name: 'visibility_off', component: VisibilityOffIcon, group: 'Status', fillable: true },
183
+ { name: 'star', component: StarIcon, group: 'Favorites', fillable: true },
184
+ { name: 'favorite', component: FavoriteIcon, group: 'Favorites', fillable: true },
185
+ { name: 'bookmark', component: BookmarkIcon, group: 'Favorites', fillable: true },
186
+ ];
@@ -0,0 +1 @@
1
+ export * from './icons.tsx';
@@ -0,0 +1,3 @@
1
+ // Iconos incluidos en matekit: un set acotado de Material Symbols (Outlined, 24 px).
2
+ // Licencia de los trazos: Apache-2.0, ver icons/LICENSE-material-symbols.
3
+ export * from './icons.js';
@@ -0,0 +1,8 @@
1
+ export * from './atoms/index.ts';
2
+ export * from './molecules/index.ts';
3
+ export * from './organisms/index.ts';
4
+ export * from './icons/index.ts';
5
+ export { SPACE, type SpaceStep } from './tokens/space.ts';
6
+ export { WINDOW_WIDTH, WINDOW_HEIGHT, type WindowWidthClass, type WindowHeightClass } from './tokens/breakpoints.ts';
7
+ export { MatekitError, type MatekitErrorCode, type MatekitWarningCode } from './internal/diagnostics.ts';
8
+ export { defaultStrings, type MatekitStrings } from './strings/index.ts';
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ export * from './atoms/index.js';
2
+ export * from './molecules/index.js';
3
+ export * from './organisms/index.js';
4
+ export * from './icons/index.js';
5
+ export { SPACE } from './tokens/space.js';
6
+ export { WINDOW_WIDTH, WINDOW_HEIGHT } from './tokens/breakpoints.js';
7
+ // Diagnósticos (ADR-0028): la clase y los códigos son públicos para que la app distinga los errores de
8
+ // matekit (`instanceof MatekitError` o `error.code`); mkError y mkWarn siguen internos.
9
+ export { MatekitError } from './internal/diagnostics.js';
10
+ // Textos por defecto (en inglés) de todos los componentes, como base de una traducción: la app arma
11
+ // su `MatekitStrings` y lo pasa por las props. Sin efectos al cargar: no pesa si no se importa.
12
+ export { defaultStrings } from './strings/index.js';
@@ -0,0 +1,17 @@
1
+ /** Accessible name props: `label`, `aria-labelledby` or `aria-label` (at least one). */
2
+ export type AccessibleNameProps = {
3
+ /** Accessible name as text (becomes `aria-label`). */
4
+ label: string;
5
+ 'aria-labelledby'?: string | undefined;
6
+ 'aria-label'?: undefined;
7
+ } | {
8
+ label?: undefined;
9
+ /** Id of a visible element whose text names the component (`aria-labelledby`). */
10
+ 'aria-labelledby': string;
11
+ 'aria-label'?: string | undefined;
12
+ } | {
13
+ label?: undefined;
14
+ 'aria-labelledby'?: string | undefined;
15
+ 'aria-label': string;
16
+ };
17
+ export declare function hasAccessibleName(el: Element): boolean;
@@ -0,0 +1,33 @@
1
+ // Nombre accesible obligatorio de los componentes sin texto visible propio que los nombre: los
2
+ // indicadores (LoadingIndicator, LinearProgressIndicator y CircularProgressIndicator, porque ARIA exige
3
+ // nombre en un `progressbar`), Slider y RangeSlider, ButtonGroup, Toolbar y Search.
4
+ // Puede venir de tres lados, y el tipo exige al menos uno:
5
+ // - `label`: un texto propio, que el componente pone en `aria-label`;
6
+ // - `aria-labelledby`: el id de una etiqueta visible (manda sobre `aria-label` en el cálculo del
7
+ // nombre, así que se acepta junto con `label`);
8
+ // - `aria-label`: el atributo directo.
9
+ // `label` y `aria-label` juntos no: los dos irían al mismo atributo.
10
+ // Comprobación en el DOM, para los avisos de nombre que se miden después de montar
11
+ // (MK_SURFACE_UNNAMED, MK_FIELD_UNNAMED): el nombre puede venir de una parte (DialogHeadline,
12
+ // TextFieldLabel) que registra su id en un efecto, de un `<label>` propio de la app o de un id que
13
+ // la app pasa. No es el cálculo completo de accname: alcanza con saber si hay *algún* nombre, y ante
14
+ // la duda dice que sí (un aviso falso es peor que uno que falta). Sin `window` al cargar: el módulo
15
+ // lo siguen importando componentes universales por sus tipos.
16
+ // Texto de un elemento que nombra a otro (su contenido o su `aria-label`).
17
+ function hasText(el) {
18
+ return !!el && (!!el.textContent?.trim() || !!el.getAttribute('aria-label')?.trim());
19
+ }
20
+ // Si el elemento tiene un nombre accesible no vacío: `aria-label`, `aria-labelledby` que apunta a
21
+ // algo con texto, un `<label>` asociado (en los campos) o `title`. El `placeholder` no cuenta: se
22
+ // borra al escribir y no es una etiqueta (WCAG 3.3.2).
23
+ export function hasAccessibleName(el) {
24
+ if (el.getAttribute('aria-label')?.trim())
25
+ return true;
26
+ const ids = el.getAttribute('aria-labelledby')?.split(/\s+/).filter(Boolean) ?? [];
27
+ if (ids.some((id) => hasText(el.ownerDocument.getElementById(id))))
28
+ return true;
29
+ const labels = 'labels' in el ? el.labels : null;
30
+ if (labels && [...labels].some(hasText))
31
+ return true;
32
+ return !!el.getAttribute('title')?.trim();
33
+ }
@@ -0,0 +1,99 @@
1
+ export interface Box {
2
+ top: number;
3
+ left: number;
4
+ right: number;
5
+ bottom: number;
6
+ }
7
+ export interface Size {
8
+ width: number;
9
+ height: number;
10
+ }
11
+ /** Lado del ancla donde quedó la capa, y cómo se alinea con ella. */
12
+ export interface Placement {
13
+ top: number;
14
+ left: number;
15
+ side: 'top' | 'bottom';
16
+ /** Borde del ancla con el que se alinea (`left`, `right`) o centrada sobre ella (`center`). */
17
+ align: 'left' | 'right' | 'center';
18
+ }
19
+ /** Cómo prefiere ubicarse la capa. Sin opciones, la regla del menú. */
20
+ export interface PlacementOptions {
21
+ /** Lado preferido: `bottom` (menú, por defecto) o `top` (tooltip). */
22
+ side?: 'top' | 'bottom' | undefined;
23
+ /**
24
+ * `start` (por defecto): alineada al borde izquierdo del ancla, o al derecho si no entra.
25
+ * `center`: centrada sobre el ancla y corrida lo justo para quedar dentro de la ventana.
26
+ */
27
+ align?: 'start' | 'center' | undefined;
28
+ /** Separación con el ancla en px (por defecto 0). */
29
+ gap?: number | undefined;
30
+ }
31
+ /** El navegador resuelve el posicionamiento con CSS (anchor positioning). */
32
+ export declare function supportsAnchorPositioning(): boolean;
33
+ /**
34
+ * Posición de la capa (coordenadas de la ventana, para `position: fixed`), con el mismo criterio
35
+ * que el CSS. Sin opciones (menú): debajo del ancla y alineada a su borde izquierdo; arriba si
36
+ * abajo no entra y arriba sí; alineada al borde derecho si no entra a la derecha. Con
37
+ * `side: 'top'` prefiere arriba y baja si arriba no entra y abajo sí; con `align: 'center'` se
38
+ * centra sobre el ancla. Si no entra de ningún lado, queda dentro de la ventana (pegada al borde
39
+ * que corresponda).
40
+ */
41
+ export declare function fallbackPosition(anchor: Box, popup: Size, viewport: Size, options?: PlacementOptions): Placement;
42
+ /** Lado y alineación que resultaron, mirando dónde quedó la capa (con anchor positioning). */
43
+ export declare function observedPlacement(anchor: Box, popup: Box): {
44
+ side: 'top' | 'bottom';
45
+ align: 'left' | 'right';
46
+ };
47
+ /** Atributo con el que una capa centrada pasa a la posición calculada (ver placeNextTo). */
48
+ export declare const MANUAL_POSITION_ATTRIBUTE = "data-manual-position";
49
+ /**
50
+ * Ubica `popup` junto a `anchor`. Con anchor positioning (`native`, lo normal) el CSS ya la ubicó:
51
+ * solo anota de qué lado quedó en `data-side` y `data-align` (para el origen de la animación o el
52
+ * estilo). Sin él, calcula la posición con `fallbackPosition` y la escribe en `top` y `left`.
53
+ *
54
+ * Con `align: 'center'` además comprueba el centrado del navegador contra el cálculo: Firefox (159,
55
+ * comprobado el 2026-11-26) centra mal `anchor-center` cuando el ancla está en un contexto RTL (la
56
+ * capa queda corrida casi 300 px, fuera de la ventana). Si la posición horizontal no coincide, la capa
57
+ * recibe `data-manual-position` (el CSS quita `position-area`) y se ubica con el cálculo. Supone que
58
+ * una escala de la capa (la de la animación de entrada) sale de su centro.
59
+ */
60
+ export declare function placeNextTo(popup: HTMLElement, anchor: HTMLElement, options?: PlacementOptions, native?: boolean): void;
61
+ /**
62
+ * Sin anchor positioning, vuelve a ubicar la capa cuando la página se desplaza o cambia de
63
+ * tamaño (con él, el navegador ya la mantiene junto al ancla y no escucha nada). Devuelve la
64
+ * limpieza.
65
+ */
66
+ export declare function followAnchor(place: () => void, native?: boolean): () => void;
67
+ /** Márgenes de la capa en px: `start` y `end` en el eje de la línea (lógicos), `top` y `bottom`. */
68
+ export interface Margins {
69
+ start: number;
70
+ end: number;
71
+ top: number;
72
+ bottom: number;
73
+ }
74
+ /** Dónde quedó la capa al costado del ancla: a su derecha o a su izquierda, y qué bordes alinea. */
75
+ export interface BesidePlacement {
76
+ /** Borde de arriba de la caja de borde (sin márgenes), en coordenadas de la ventana. */
77
+ top: number;
78
+ /** Borde izquierdo de la caja de borde. */
79
+ left: number;
80
+ side: 'left' | 'right';
81
+ /** `top`: alineada con el borde de arriba del ancla y hacia abajo; `bottom`: con el de abajo y hacia arriba. */
82
+ align: 'top' | 'bottom';
83
+ }
84
+ /**
85
+ * Posición de la capa al costado del ancla (`position: fixed`), con el criterio del CSS: al final del
86
+ * ancla (a la derecha, o a la izquierda en RTL) y alineada con su borde de arriba; del otro lado si no
87
+ * entra y allá sí; hacia arriba (alineada con el borde de abajo) si abajo no entra y arriba sí. Los
88
+ * márgenes cuentan como en anchor positioning, que ubica la caja de margen y los da vuelta con la capa:
89
+ * el margen de inicio queda siempre del lado del ancla y el de arriba, del lado del borde alineado. Si no
90
+ * entra de ningún lado, queda dentro de la ventana.
91
+ */
92
+ export declare function fallbackBesidePosition(anchor: Box, popup: Size, viewport: Size, rtl: boolean, margins: Margins): BesidePlacement;
93
+ /**
94
+ * Ubica `popup` al costado de `anchor` con `fallbackBesidePosition`: escribe `top` y `left` descontando
95
+ * los márgenes del CSS (que se suman a esas coordenadas) y anota de qué lado quedó (`data-side`: `left` o
96
+ * `right`) y qué borde alinea (`data-align`: `top` o `bottom`), para el origen de la animación. La capa no
97
+ * usa anchor positioning (menu.css): sin esto, no tiene posición.
98
+ */
99
+ export declare function placeBeside(popup: HTMLElement, anchor: HTMLElement): void;