@acmekit/docs-ui 2.13.41

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 (236) hide show
  1. package/dist/Items-YPPZD6C6.mjs +312 -0
  2. package/dist/chunk-JD7BP7O5.mjs +13144 -0
  3. package/dist/index.d.mts +1550 -0
  4. package/dist/index.d.ts +1550 -0
  5. package/dist/index.js +15218 -0
  6. package/dist/index.mjs +366 -0
  7. package/package.json +58 -0
  8. package/src/components/Badge/index.tsx +74 -0
  9. package/src/components/BadgesList/index.tsx +18 -0
  10. package/src/components/BetaBadge/index.tsx +24 -0
  11. package/src/components/Bordered/index.tsx +21 -0
  12. package/src/components/BorderedIcon/index.tsx +60 -0
  13. package/src/components/Breadcrumbs/index.tsx +83 -0
  14. package/src/components/Button/index.tsx +100 -0
  15. package/src/components/Card/Layout/Default/index.tsx +124 -0
  16. package/src/components/Card/Layout/Filler/index.tsx +30 -0
  17. package/src/components/Card/Layout/Large/index.tsx +88 -0
  18. package/src/components/Card/Layout/Mini/index.tsx +142 -0
  19. package/src/components/Card/index.tsx +50 -0
  20. package/src/components/CardList/index.tsx +40 -0
  21. package/src/components/ChildDocs/index.tsx +9 -0
  22. package/src/components/CodeBlock/Actions/AskAi/index.tsx +10 -0
  23. package/src/components/CodeBlock/Actions/Copy/index.tsx +59 -0
  24. package/src/components/CodeBlock/Actions/index.tsx +137 -0
  25. package/src/components/CodeBlock/Collapsible/Button/index.tsx +58 -0
  26. package/src/components/CodeBlock/Collapsible/Fade/index.tsx +55 -0
  27. package/src/components/CodeBlock/Collapsible/Lines/index.tsx +22 -0
  28. package/src/components/CodeBlock/Header/Wrapper/index.tsx +46 -0
  29. package/src/components/CodeBlock/Header/index.tsx +67 -0
  30. package/src/components/CodeBlock/Inline/index.tsx +20 -0
  31. package/src/components/CodeBlock/Line/index.tsx +331 -0
  32. package/src/components/CodeBlock/index.tsx +510 -0
  33. package/src/components/CodeMdx/index.tsx +45 -0
  34. package/src/components/CodeTabs/Item/index.tsx +67 -0
  35. package/src/components/CodeTabs/index.tsx +319 -0
  36. package/src/components/ContentMenu/Actions/index.tsx +7 -0
  37. package/src/components/ContentMenu/Products/index.tsx +64 -0
  38. package/src/components/ContentMenu/Toc/index.tsx +148 -0
  39. package/src/components/ContentMenu/Version/index.tsx +77 -0
  40. package/src/components/ContentMenu/index.tsx +31 -0
  41. package/src/components/CopyButton/index.tsx +76 -0
  42. package/src/components/Details/Summary/index.tsx +75 -0
  43. package/src/components/Details/index.tsx +98 -0
  44. package/src/components/DetailsList/index.tsx +32 -0
  45. package/src/components/DottedSeparator/index.tsx +30 -0
  46. package/src/components/EditButton/index.tsx +32 -0
  47. package/src/components/EditDate/index.tsx +33 -0
  48. package/src/components/ErrorPage/Icon/index.tsx +428 -0
  49. package/src/components/ErrorPage/index.tsx +32 -0
  50. package/src/components/Feedback/Solutions/index.tsx +105 -0
  51. package/src/components/Feedback/index.tsx +304 -0
  52. package/src/components/Footer/index.tsx +23 -0
  53. package/src/components/Heading/H1/index.tsx +21 -0
  54. package/src/components/Heading/H2/index.tsx +47 -0
  55. package/src/components/Heading/H3/index.tsx +42 -0
  56. package/src/components/Heading/H4/index.tsx +14 -0
  57. package/src/components/Heading/index.tsx +4 -0
  58. package/src/components/IconHeadline/index.tsx +15 -0
  59. package/src/components/Icons/AiAssistant/index.tsx +462 -0
  60. package/src/components/Icons/ArrowRightDown/index.tsx +30 -0
  61. package/src/components/Icons/BundledProduct/index.tsx +72 -0
  62. package/src/components/Icons/CalendarRefresh/index.tsx +70 -0
  63. package/src/components/Icons/ChefHat/index.tsx +65 -0
  64. package/src/components/Icons/CircleDottedLine/index.tsx +60 -0
  65. package/src/components/Icons/CloudSolid/index.tsx +47 -0
  66. package/src/components/Icons/ColoredAcmeKit/index.tsx +13 -0
  67. package/src/components/Icons/DecisionProcess/index.tsx +58 -0
  68. package/src/components/Icons/Erp/index.tsx +92 -0
  69. package/src/components/Icons/Github/index.tsx +22 -0
  70. package/src/components/Icons/House/index.tsx +23 -0
  71. package/src/components/Icons/ImageBinary/index.tsx +69 -0
  72. package/src/components/Icons/Kapa/index.tsx +22 -0
  73. package/src/components/Icons/Markdown/index.tsx +25 -0
  74. package/src/components/Icons/NavigationDropdown/Admin/index.tsx +33 -0
  75. package/src/components/Icons/NavigationDropdown/Doc/index.tsx +41 -0
  76. package/src/components/Icons/NavigationDropdown/DocV1/index.tsx +37 -0
  77. package/src/components/Icons/NavigationDropdown/Modules/index.tsx +33 -0
  78. package/src/components/Icons/NavigationDropdown/Resources/index.tsx +37 -0
  79. package/src/components/Icons/NavigationDropdown/Store/index.tsx +37 -0
  80. package/src/components/Icons/NavigationDropdown/Ui/index.tsx +37 -0
  81. package/src/components/Icons/NavigationDropdown/User/index.tsx +37 -0
  82. package/src/components/Icons/PuzzleColored/index.tsx +35 -0
  83. package/src/components/Icons/QuestionMark/index.tsx +23 -0
  84. package/src/components/Icons/Restock/index.tsx +55 -0
  85. package/src/components/Icons/ScrollText/index.tsx +68 -0
  86. package/src/components/Icons/ShadedBg/index.tsx +334 -0
  87. package/src/components/Icons/Shop/index.tsx +68 -0
  88. package/src/components/Icons/SidebarLeft/index.tsx +42 -0
  89. package/src/components/Icons/StripeColored/index.tsx +60 -0
  90. package/src/components/Icons/ThumbDown/index.tsx +23 -0
  91. package/src/components/Icons/ThumbUp/index.tsx +23 -0
  92. package/src/components/Icons/WindowPaintbrush/index.tsx +57 -0
  93. package/src/components/Icons/index.tsx +20 -0
  94. package/src/components/InlineCode/index.tsx +42 -0
  95. package/src/components/InlineIcon/index.tsx +21 -0
  96. package/src/components/InlineThemeImage/index.tsx +14 -0
  97. package/src/components/Input/Search/index.tsx +64 -0
  98. package/src/components/Input/Text/index.tsx +39 -0
  99. package/src/components/Kbd/index.tsx +33 -0
  100. package/src/components/Label/index.tsx +19 -0
  101. package/src/components/Link/index.tsx +67 -0
  102. package/src/components/LinkButton/index.tsx +43 -0
  103. package/src/components/Loading/Dots/index.tsx +16 -0
  104. package/src/components/Loading/Spinner/index.tsx +19 -0
  105. package/src/components/Loading/index.tsx +43 -0
  106. package/src/components/MDXComponents/index.tsx +209 -0
  107. package/src/components/MainNav/DesktopMenu/ThemeMenu/index.tsx +76 -0
  108. package/src/components/MainNav/DesktopMenu/index.tsx +100 -0
  109. package/src/components/MainNav/Items/Dropdown/index.tsx +88 -0
  110. package/src/components/MainNav/Items/Link/index.tsx +34 -0
  111. package/src/components/MainNav/Items/index.tsx +61 -0
  112. package/src/components/MainNav/MobileMenu/Main/index.tsx +67 -0
  113. package/src/components/MainNav/MobileMenu/SubMenu/index.tsx +77 -0
  114. package/src/components/MainNav/MobileMenu/index.tsx +103 -0
  115. package/src/components/MainNav/Version/index.tsx +33 -0
  116. package/src/components/MainNav/index.tsx +153 -0
  117. package/src/components/MarkdownContent/index.tsx +41 -0
  118. package/src/components/Menu/Action/index.tsx +43 -0
  119. package/src/components/Menu/Divider/index.tsx +35 -0
  120. package/src/components/Menu/Dropdown/index.tsx +78 -0
  121. package/src/components/Menu/Item/index.tsx +36 -0
  122. package/src/components/Menu/SubMenu/index.tsx +47 -0
  123. package/src/components/Menu/index.tsx +44 -0
  124. package/src/components/Modal/Footer/index.tsx +29 -0
  125. package/src/components/Modal/Header/index.tsx +33 -0
  126. package/src/components/Modal/index.tsx +124 -0
  127. package/src/components/Note/Layout/index.tsx +139 -0
  128. package/src/components/Note/Types/checks.tsx +7 -0
  129. package/src/components/Note/Types/default.tsx +7 -0
  130. package/src/components/Note/Types/error.tsx +7 -0
  131. package/src/components/Note/Types/soon.tsx +7 -0
  132. package/src/components/Note/Types/sucess.tsx +7 -0
  133. package/src/components/Note/Types/warning.tsx +7 -0
  134. package/src/components/Note/index.tsx +32 -0
  135. package/src/components/Notices/DeprecatedNotice/index.tsx +33 -0
  136. package/src/components/Notices/ExpandableNotice/index.tsx +36 -0
  137. package/src/components/Notices/FeatureFlagNotice/index.tsx +36 -0
  138. package/src/components/Notices/VersionNotice/index.tsx +37 -0
  139. package/src/components/Notification/Item/Layout/Default/index.tsx +89 -0
  140. package/src/components/Notification/Item/index.tsx +88 -0
  141. package/src/components/Notification/index.tsx +65 -0
  142. package/src/components/Pagination/Card/index.tsx +80 -0
  143. package/src/components/Pagination/index.tsx +35 -0
  144. package/src/components/Prerequisites/Item/index.tsx +43 -0
  145. package/src/components/Prerequisites/index.tsx +94 -0
  146. package/src/components/RadioItem/index.tsx +38 -0
  147. package/src/components/Rating/index.tsx +133 -0
  148. package/src/components/RootProviders/index.tsx +31 -0
  149. package/src/components/Select/Badge/index.tsx +122 -0
  150. package/src/components/Select/Dropdown/index.tsx +188 -0
  151. package/src/components/Select/Input/index.tsx +123 -0
  152. package/src/components/Select/index.ts +13 -0
  153. package/src/components/Sidebar/Child/index.tsx +43 -0
  154. package/src/components/Sidebar/Item/Category/index.tsx +151 -0
  155. package/src/components/Sidebar/Item/Link/index.tsx +174 -0
  156. package/src/components/Sidebar/Item/Sidebar/index.tsx +67 -0
  157. package/src/components/Sidebar/Item/SubCategory/index.tsx +83 -0
  158. package/src/components/Sidebar/Item/index.tsx +41 -0
  159. package/src/components/Sidebar/Top/MobileClose/index.tsx +21 -0
  160. package/src/components/Sidebar/Top/index.tsx +33 -0
  161. package/src/components/Sidebar/index.tsx +153 -0
  162. package/src/components/SourceCodeLink/index.tsx +37 -0
  163. package/src/components/SplitLists/index.tsx +58 -0
  164. package/src/components/Table/index.tsx +87 -0
  165. package/src/components/Tabs/index.tsx +106 -0
  166. package/src/components/TextArea/index.tsx +30 -0
  167. package/src/components/ThemeImage/index.tsx +26 -0
  168. package/src/components/Toggle/index.tsx +28 -0
  169. package/src/components/Tooltip/index.tsx +65 -0
  170. package/src/components/TypeList/Items/index.tsx +337 -0
  171. package/src/components/TypeList/index.tsx +63 -0
  172. package/src/components/WideSection/index.tsx +25 -0
  173. package/src/components/ZoomImg/index.tsx +17 -0
  174. package/src/components/index.ts +75 -0
  175. package/src/constants.tsx +261 -0
  176. package/src/global-config.ts +11 -0
  177. package/src/hooks/index.ts +14 -0
  178. package/src/hooks/use-active-on-scroll/index.tsx +223 -0
  179. package/src/hooks/use-click-outside/index.tsx +37 -0
  180. package/src/hooks/use-collapsible/index.tsx +128 -0
  181. package/src/hooks/use-collapsible-code-lines/index.tsx +149 -0
  182. package/src/hooks/use-copy/index.tsx +28 -0
  183. package/src/hooks/use-heading-url/index.tsx +32 -0
  184. package/src/hooks/use-is-external-link/index.tsx +19 -0
  185. package/src/hooks/use-keyboard-shortcut/index.tsx +71 -0
  186. package/src/hooks/use-mutation-observer/index.ts +32 -0
  187. package/src/hooks/use-page-scroll-manager/index.tsx +82 -0
  188. package/src/hooks/use-resize-observer/index.ts +20 -0
  189. package/src/hooks/use-scroll-utils/index.tsx +372 -0
  190. package/src/hooks/use-select/index.tsx +99 -0
  191. package/src/hooks/use-tabs/index.tsx +94 -0
  192. package/src/index.ts +8 -0
  193. package/src/layouts/barebone.tsx +18 -0
  194. package/src/layouts/index.ts +4 -0
  195. package/src/layouts/main-content.tsx +86 -0
  196. package/src/layouts/root.tsx +43 -0
  197. package/src/layouts/tight.tsx +29 -0
  198. package/src/layouts/wide.tsx +25 -0
  199. package/src/providers/AiAssistant/index.tsx +65 -0
  200. package/src/providers/BrowserProvider/index.tsx +40 -0
  201. package/src/providers/ColorMode/index.tsx +73 -0
  202. package/src/providers/Layout/index.tsx +52 -0
  203. package/src/providers/MainNav/index.tsx +134 -0
  204. package/src/providers/Mobile/index.tsx +62 -0
  205. package/src/providers/Modal/index.tsx +52 -0
  206. package/src/providers/Notification/index.tsx +149 -0
  207. package/src/providers/Pagination/index.tsx +230 -0
  208. package/src/providers/Search/index.tsx +91 -0
  209. package/src/providers/Sidebar/index.tsx +745 -0
  210. package/src/providers/SiteConfig/index.tsx +70 -0
  211. package/src/providers/index.ts +13 -0
  212. package/src/types/config.ts +34 -0
  213. package/src/types/frontmatter.ts +23 -0
  214. package/src/types/general.ts +1 -0
  215. package/src/types/index.ts +9 -0
  216. package/src/types/menu.ts +40 -0
  217. package/src/types/navigation-dropdown.ts +16 -0
  218. package/src/types/navigation.ts +21 -0
  219. package/src/types/sidebar.ts +109 -0
  220. package/src/types/toc.ts +19 -0
  221. package/src/types/ui.ts +9 -0
  222. package/src/utils/array-same-elms.ts +10 -0
  223. package/src/utils/capitalize.ts +3 -0
  224. package/src/utils/check-sidebar-item-visibility.ts +47 -0
  225. package/src/utils/decode-str.ts +8 -0
  226. package/src/utils/dom-utils.ts +29 -0
  227. package/src/utils/event-parser.ts +54 -0
  228. package/src/utils/get-link-with-base-path.ts +3 -0
  229. package/src/utils/get-navbar-items.ts +55 -0
  230. package/src/utils/get-scrolled-top.ts +8 -0
  231. package/src/utils/index.ts +13 -0
  232. package/src/utils/is-elm-window.ts +3 -0
  233. package/src/utils/is-in-view.ts +10 -0
  234. package/src/utils/os-browser-utils.ts +39 -0
  235. package/src/utils/set-obj-value.ts +38 -0
  236. package/src/utils/sidebar-utils.ts +129 -0
@@ -0,0 +1,37 @@
1
+ import { IconProps } from "@acmekit/icons/dist/types"
2
+ import React from "react"
3
+
4
+ export const NavigationDropdownResourcesIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ width={props.width || 20}
8
+ height={props.height || 20}
9
+ viewBox="0 0 20 20"
10
+ fill="none"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <rect width="20" height="20" className="fill-acmekit-tag-orange-icon" />
15
+ <g clipPath="url(#clip0_9988_95555)">
16
+ <path
17
+ d="M15.25 12C14.836 12 14.5 11.664 14.5 11.25V8.75C14.5 8.061 13.939 7.5 13.25 7.5H10.614C10.386 7.5 10.172 7.397 10.029 7.219L9.425 6.467C9.187 6.17 8.831 6 8.45 6H6.749C6.06 6 5.499 6.561 5.499 7.25V11.25C5.499 11.664 5.163 12 4.749 12C4.335 12 3.999 11.664 3.999 11.25V7.25C4 5.733 5.233 4.5 6.75 4.5H8.451C9.289 4.5 10.07 4.875 10.596 5.528L10.974 6H13.25C14.767 6 16 7.233 16 8.75V11.25C16 11.664 15.664 12 15.25 12Z"
18
+ className="fill-acmekit-fg-on-color"
19
+ />
20
+ <path
21
+ d="M13.25 8.5H6.75C5.23122 8.5 4 9.73122 4 11.25V12.75C4 14.2688 5.23122 15.5 6.75 15.5H13.25C14.7688 15.5 16 14.2688 16 12.75V11.25C16 9.73122 14.7688 8.5 13.25 8.5Z"
22
+ className="fill-acmekit-fg-on-color"
23
+ />
24
+ </g>
25
+ <defs>
26
+ <clipPath id="clip0_9988_95555">
27
+ <rect
28
+ width="12"
29
+ height="12"
30
+ className="fill-acmekit-fg-on-color"
31
+ transform="translate(4 4)"
32
+ />
33
+ </clipPath>
34
+ </defs>
35
+ </svg>
36
+ )
37
+ }
@@ -0,0 +1,37 @@
1
+ import { IconProps } from "@acmekit/icons/dist/types"
2
+ import React from "react"
3
+
4
+ export const NavigationDropdownStoreIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ width={props.width || 20}
8
+ height={props.height || 20}
9
+ viewBox="0 0 20 20"
10
+ fill="none"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <rect width="20" height="20" className="fill-acmekit-tag-purple-icon" />
15
+ <g clipPath="url(#clip0_9988_95563)">
16
+ <path
17
+ d="M15.25 8.548C15.122 8.548 14.993 8.515 14.874 8.446L10 5.617L5.126 8.446C4.77 8.654 4.309 8.532 4.101 8.174C3.893 7.816 4.015 7.357 4.373 7.149L9.624 4.102C9.856 3.966 10.145 3.966 10.377 4.102L15.627 7.15C15.985 7.358 16.107 7.817 15.899 8.175C15.76 8.415 15.508 8.548 15.25 8.548Z"
18
+ className="fill-acmekit-fg-on-color"
19
+ />
20
+ <path
21
+ d="M10 7.35195L5 10.254V13.75C5 14.715 5.785 15.5 6.75 15.5H9.25V13.25C9.25 12.836 9.586 12.5 10 12.5C10.414 12.5 10.75 12.836 10.75 13.25V15.5H13.25C14.215 15.5 15 14.715 15 13.75V10.254L10 7.35195Z"
22
+ className="fill-acmekit-fg-on-color"
23
+ />
24
+ </g>
25
+ <defs>
26
+ <clipPath id="clip0_9988_95563">
27
+ <rect
28
+ width="12"
29
+ height="12"
30
+ className="fill-acmekit-fg-on-color"
31
+ transform="translate(4 4)"
32
+ />
33
+ </clipPath>
34
+ </defs>
35
+ </svg>
36
+ )
37
+ }
@@ -0,0 +1,37 @@
1
+ import { IconProps } from "@acmekit/icons/dist/types"
2
+ import React from "react"
3
+
4
+ export const NavigationDropdownUiIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ width={props.width || 20}
8
+ height={props.height || 20}
9
+ viewBox="0 0 20 20"
10
+ fill="none"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <rect width="20" height="20" className="fill-acmekit-tag-blue-icon" />
15
+ <g clipPath="url(#clip0_9988_95578)">
16
+ <path
17
+ d="M14.18 10.472L9.28899 8.685C8.82599 8.518 8.32399 8.627 7.97699 8.975C7.62799 9.323 7.51699 9.826 7.68599 10.288L9.47199 15.178C9.65599 15.679 10.114 16 10.645 16C10.654 16 10.664 16 10.672 16C11.215 15.989 11.672 15.648 11.836 15.132L12.394 13.394L14.131 12.838C14.648 12.673 14.988 12.216 15 11.673C15.011 11.131 14.689 10.658 14.18 10.472Z"
18
+ className="fill-acmekit-fg-on-color"
19
+ />
20
+ <path
21
+ d="M6.13499 11.894C6.05799 11.894 5.97999 11.882 5.90299 11.857C4.76499 11.487 4.00099 10.439 4.00099 9.25V7.75C3.99999 6.234 5.23299 5 6.74999 5H13.25C14.767 5 16 6.234 16 7.75V9.052C16 9.466 15.664 9.802 15.25 9.802C14.836 9.802 14.5 9.466 14.5 9.052V7.75C14.5 7.061 13.939 6.5 13.25 6.5H6.74999C6.06099 6.5 5.49999 7.061 5.49999 7.75V9.25C5.49999 9.788 5.84899 10.262 6.36699 10.43C6.76099 10.558 6.97599 10.981 6.84699 11.375C6.74399 11.692 6.45099 11.893 6.13399 11.893L6.13499 11.894Z"
22
+ className="fill-acmekit-fg-on-color"
23
+ />
24
+ </g>
25
+ <defs>
26
+ <clipPath id="clip0_9988_95578">
27
+ <rect
28
+ width="12"
29
+ height="12"
30
+ className="fill-acmekit-fg-on-color"
31
+ transform="translate(4 4)"
32
+ />
33
+ </clipPath>
34
+ </defs>
35
+ </svg>
36
+ )
37
+ }
@@ -0,0 +1,37 @@
1
+ import { IconProps } from "@acmekit/icons/dist/types"
2
+ import React from "react"
3
+
4
+ export const NavigationDropdownUserIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ width="20"
8
+ height="20"
9
+ viewBox="0 0 20 20"
10
+ fill="none"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <rect width="20" height="20" className="fill-acmekit-tag-red-icon" />
15
+ <g clipPath="url(#clip0_10088_101526)">
16
+ <path
17
+ d="M10 8.99097C11.3807 8.99097 12.5 7.87168 12.5 6.49097C12.5 5.11025 11.3807 3.99097 10 3.99097C8.61929 3.99097 7.5 5.11025 7.5 6.49097C7.5 7.87168 8.61929 8.99097 10 8.99097Z"
18
+ className="fill-acmekit-fg-on-color"
19
+ />
20
+ <path
21
+ d="M14.533 12.639C13.601 11.011 11.864 10 10 10C8.136 10 6.398 11.011 5.467 12.639C5.218 13.073 5.162 13.593 5.313 14.067C5.463 14.539 5.809 14.93 6.26 15.139C7.501 15.713 8.75 16 10 16C11.25 16 12.499 15.713 13.74 15.139C14.191 14.93 14.536 14.539 14.687 14.067C14.838 13.593 14.782 13.073 14.533 12.64V12.639Z"
22
+ className="fill-acmekit-fg-on-color"
23
+ />
24
+ </g>
25
+ <defs>
26
+ <clipPath id="clip0_10088_101526">
27
+ <rect
28
+ width="12"
29
+ height="12"
30
+ className="fill-acmekit-fg-on-color"
31
+ transform="translate(4 4)"
32
+ />
33
+ </clipPath>
34
+ </defs>
35
+ </svg>
36
+ )
37
+ }
@@ -0,0 +1,35 @@
1
+ import React from "react"
2
+ import { IconProps } from "@acmekit/icons/dist/types"
3
+
4
+ export const PuzzleColoredIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ width="16"
9
+ height="16"
10
+ viewBox="0 0 16 16"
11
+ fill="none"
12
+ {...props}
13
+ >
14
+ <g clipPath="url(#clip0_10683_56033)">
15
+ <path
16
+ opacity="0.3"
17
+ d="M13.1111 7.33325C13.4418 7.33325 13.7476 7.43814 14 7.61503V5.55547C14 4.57414 13.2044 3.7777 12.2222 3.7777H10.1627C10.3387 3.52525 10.4444 3.22036 10.4444 2.88881C10.4444 2.02925 9.74755 1.33325 8.88888 1.33325C8.03022 1.33325 7.33333 2.02925 7.33333 2.88881C7.33333 3.22036 7.43822 3.52525 7.61511 3.7777H5.55555C4.57333 3.7777 3.77777 4.57414 3.77777 5.55547V7.61503C3.52533 7.43903 3.21955 7.33325 2.88888 7.33325C2.03022 7.33325 1.33333 8.02925 1.33333 8.88881C1.33333 9.74836 2.03022 10.4444 2.88888 10.4444C3.21955 10.4444 3.52533 10.3395 3.77777 10.1626V12.2221C3.77777 13.2035 4.57333 13.9999 5.55555 13.9999H7.61511C7.43911 13.7475 7.33333 13.4426 7.33333 13.111C7.33333 12.2515 8.03022 11.5555 8.88888 11.5555C9.74755 11.5555 10.4444 12.2515 10.4444 13.111C10.4444 13.4426 10.3396 13.7475 10.1627 13.9999H12.2222C13.2044 13.9999 14 13.2035 14 12.2221V10.1626C13.7476 10.3386 13.4418 10.4444 13.1111 10.4444C12.2524 10.4444 11.5556 9.74836 11.5556 8.88881C11.5556 8.02925 12.2524 7.33325 13.1111 7.33325Z"
18
+ fill="currentColor"
19
+ />
20
+ <path
21
+ d="M13.1111 7.33325C13.4418 7.33325 13.7476 7.43814 14 7.61503V5.55547C14 4.57414 13.2044 3.7777 12.2222 3.7777H10.1627C10.3387 3.52525 10.4444 3.22036 10.4444 2.88881C10.4444 2.02925 9.74755 1.33325 8.88888 1.33325C8.03022 1.33325 7.33333 2.02925 7.33333 2.88881C7.33333 3.22036 7.43822 3.52525 7.61511 3.7777H5.55555C4.57333 3.7777 3.77777 4.57414 3.77777 5.55547V7.61503C3.52533 7.43903 3.21955 7.33325 2.88888 7.33325C2.03022 7.33325 1.33333 8.02925 1.33333 8.88881C1.33333 9.74836 2.03022 10.4444 2.88888 10.4444C3.21955 10.4444 3.52533 10.3395 3.77777 10.1626V12.2221C3.77777 13.2035 4.57333 13.9999 5.55555 13.9999H7.61511C7.43911 13.7475 7.33333 13.4426 7.33333 13.111C7.33333 12.2515 8.03022 11.5555 8.88888 11.5555C9.74755 11.5555 10.4444 12.2515 10.4444 13.111C10.4444 13.4426 10.3396 13.7475 10.1627 13.9999H12.2222C13.2044 13.9999 14 13.2035 14 12.2221V10.1626C13.7476 10.3386 13.4418 10.4444 13.1111 10.4444C12.2524 10.4444 11.5556 9.74836 11.5556 8.88881C11.5556 8.02925 12.2524 7.33325 13.1111 7.33325Z"
22
+ stroke="currentColor"
23
+ strokeWidth="1.5"
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ />
27
+ </g>
28
+ <defs>
29
+ <clipPath id="clip0_10683_56033">
30
+ <rect width="16" height="16" fill="white" />
31
+ </clipPath>
32
+ </defs>
33
+ </svg>
34
+ )
35
+ }
@@ -0,0 +1,23 @@
1
+ import React from "react"
2
+ import { IconProps } from "@acmekit/icons/dist/types"
3
+
4
+ export const QuestionMarkIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ width="20"
8
+ height="20"
9
+ viewBox="0 0 20 20"
10
+ fill="none"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <path
15
+ d="M7.43951 5.51484C8.61051 4.48984 10.5105 4.48984 11.6815 5.51484C12.8535 6.53984 12.8535 8.20184 11.6815 9.22684C11.4785 9.40584 11.2515 9.55284 11.0115 9.66884C10.2665 10.0298 9.56151 10.6678 9.56151 11.4958V12.2458M9.56051 15.2458H9.56851V15.2538H9.56051V15.2458Z"
16
+ stroke="currentColor"
17
+ strokeWidth="1.5"
18
+ strokeLinecap="round"
19
+ strokeLinejoin="round"
20
+ />
21
+ </svg>
22
+ )
23
+ }
@@ -0,0 +1,55 @@
1
+ import React from "react"
2
+ import { IconProps } from "@acmekit/icons/dist/types"
3
+
4
+ export const RestockIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ width="26"
8
+ height="30"
9
+ viewBox="0 0 26 30"
10
+ fill="none"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <path
15
+ opacity="0.3"
16
+ fillRule="evenodd"
17
+ clipRule="evenodd"
18
+ d="M5.44447 7.33325H20.5556C22.5193 7.33325 24.1111 8.92513 24.1111 10.8888V21.5555C24.1111 22.6783 23.5906 23.6796 22.7778 24.3311V19.7777C22.7778 17.5686 20.9869 15.7777 18.7778 15.7777C16.5687 15.7777 14.7778 17.5686 14.7778 19.7777V24.6666C14.7778 24.8168 14.7862 24.9651 14.8022 25.111H5.44447C3.48079 25.111 1.88892 23.5192 1.88892 21.5555V10.8888C1.88892 8.92513 3.48079 7.33325 5.44447 7.33325Z"
19
+ fill="currentColor"
20
+ />
21
+ <path
22
+ d="M13 2V12.6667"
23
+ stroke="currentColor"
24
+ strokeWidth="2.66667"
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ />
28
+ <path
29
+ d="M2.33337 9.17156L4.90937 3.97689C5.51026 2.76622 6.74404 2 8.09515 2H17.9049C19.256 2 20.4898 2.76622 21.0907 3.97689L23.6667 9.17333"
30
+ stroke="currentColor"
31
+ strokeWidth="2.66667"
32
+ strokeLinecap="round"
33
+ strokeLinejoin="round"
34
+ />
35
+ <path
36
+ d="M23.2222 23.8844C23.768 23.2586 24.1111 22.4515 24.1111 21.5555V10.8888C24.1111 8.92614 22.52 7.33325 20.5556 7.33325H5.44447C3.48003 7.33325 1.88892 8.92614 1.88892 10.8888V21.5555C1.88892 23.5181 3.48003 25.111 5.44447 25.111H14.3334"
37
+ stroke="currentColor"
38
+ strokeWidth="2.66667"
39
+ strokeLinecap="round"
40
+ strokeLinejoin="round"
41
+ />
42
+ <path
43
+ d="M18.7778 24.6667V19.7778"
44
+ stroke="currentColor"
45
+ strokeWidth="2.66667"
46
+ strokeLinecap="round"
47
+ strokeLinejoin="round"
48
+ />
49
+ <path
50
+ d="M18.7778 29.9999C19.5141 29.9999 20.1111 29.4029 20.1111 28.6666C20.1111 27.9302 19.5141 27.3333 18.7778 27.3333C18.0414 27.3333 17.4445 27.9302 17.4445 28.6666C17.4445 29.4029 18.0414 29.9999 18.7778 29.9999Z"
51
+ fill="currentColor"
52
+ />
53
+ </svg>
54
+ )
55
+ }
@@ -0,0 +1,68 @@
1
+ import React from "react"
2
+ import { IconProps } from "@acmekit/icons/dist/types"
3
+
4
+ export const ScrollTextIcon = (props: IconProps) => {
5
+ return (
6
+ <svg
7
+ width="16"
8
+ height="16"
9
+ viewBox="0 0 16 16"
10
+ fill="none"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <g clipPath="url(#clip0_10703_107758)">
15
+ <path
16
+ opacity="0.3"
17
+ d="M1.55556 3.33333C1.55556 2.59695 2.15251 2 2.88889 2C3.62527 2 4.22222 2.59695 4.22222 3.33333V6H1.74604C1.64084 6 1.55556 5.91472 1.55556 5.80952V3.33333Z"
18
+ fill="currentColor"
19
+ />
20
+ <path
21
+ opacity="0.3"
22
+ d="M6.90213 11.3335H14.4444V13.1113C14.4444 13.6022 14.0465 14.0002 13.5556 14.0002H6.90213V11.3335Z"
23
+ fill="currentColor"
24
+ />
25
+ <path
26
+ d="M13.1111 14C13.8471 14 14.4444 13.4027 14.4444 12.6667V11.7778C14.4444 11.5324 14.2453 11.3333 14 11.3333H7.33334C7.088 11.3333 6.88889 11.5324 6.88889 11.7778V12.6667C6.88889 13.4027 6.29156 14 5.55556 14C4.81956 14 4.22222 13.4027 4.22222 12.6667V3.33333C4.22222 2.59733 3.62489 2 2.88889 2C2.15289 2 1.55556 2.59733 1.55556 3.33333V5.11111C1.55556 5.60178 1.95378 6 2.44445 6H4.22222"
27
+ stroke="currentColor"
28
+ strokeWidth="1.5"
29
+ strokeLinecap="round"
30
+ strokeLinejoin="round"
31
+ />
32
+ <path
33
+ d="M13.1111 14H5.55556"
34
+ stroke="currentColor"
35
+ strokeWidth="1.5"
36
+ strokeLinecap="round"
37
+ strokeLinejoin="round"
38
+ />
39
+ <path
40
+ d="M2.88889 2H11.3333C12.0693 2 12.6667 2.59733 12.6667 3.33333V9.11111"
41
+ stroke="currentColor"
42
+ strokeWidth="1.5"
43
+ strokeLinecap="round"
44
+ strokeLinejoin="round"
45
+ />
46
+ <path
47
+ d="M6.66666 5.11108H10.2222"
48
+ stroke="currentColor"
49
+ strokeWidth="1.5"
50
+ strokeLinecap="round"
51
+ strokeLinejoin="round"
52
+ />
53
+ <path
54
+ d="M6.66666 7.77783H10.2222"
55
+ stroke="currentColor"
56
+ strokeWidth="1.5"
57
+ strokeLinecap="round"
58
+ strokeLinejoin="round"
59
+ />
60
+ </g>
61
+ <defs>
62
+ <clipPath id="clip0_10703_107758">
63
+ <rect width="16" height="16" fill="white" />
64
+ </clipPath>
65
+ </defs>
66
+ </svg>
67
+ )
68
+ }
@@ -0,0 +1,334 @@
1
+
2
+ import React, { useMemo } from "react"
3
+ import { IconProps } from "@acmekit/icons/dist/types"
4
+ import { BadgeVariant } from "../../.."
5
+
6
+ type ShadedBgIconProps = IconProps & {
7
+ variant?: BadgeVariant
8
+ }
9
+
10
+ export const ShadedBgIcon = ({
11
+ variant = "blue",
12
+ ...props
13
+ }: ShadedBgIconProps) => {
14
+ const color = useMemo(() => {
15
+ switch (variant) {
16
+ case "neutral":
17
+ case "code":
18
+ return "var(--docs-tags-neutral-border)"
19
+ case "blue":
20
+ return "var(--docs-tags-blue-border)"
21
+ case "purple":
22
+ return "var(--docs-tags-purple-border)"
23
+ case "green":
24
+ return "var(--docs-tags-green-border)"
25
+ case "orange":
26
+ return "var(--docs-tags-orange-border)"
27
+ case "red":
28
+ return "var(--docs-tags-red-border)"
29
+ }
30
+ }, [variant])
31
+
32
+ return (
33
+ <svg
34
+ fill="none"
35
+ xmlns="http://www.w3.org/2000/svg"
36
+ height="100%"
37
+ width="100%"
38
+ {...props}
39
+ >
40
+ <g clipPath="url(#clip0_10402_37468)">
41
+ <rect
42
+ x="32.3379"
43
+ y="-66.5442"
44
+ width="1.5"
45
+ height="96"
46
+ transform="rotate(45 32.3379 -66.5442)"
47
+ fill={color}
48
+ />
49
+ <rect
50
+ x="34.813"
51
+ y="-64.0694"
52
+ width="1.5"
53
+ height="96"
54
+ transform="rotate(45 34.813 -64.0694)"
55
+ fill={color}
56
+ />
57
+ <rect
58
+ x="37.2876"
59
+ y="-61.5945"
60
+ width="1.5"
61
+ height="96"
62
+ transform="rotate(45 37.2876 -61.5945)"
63
+ fill={color}
64
+ />
65
+ <rect
66
+ x="39.7627"
67
+ y="-59.1196"
68
+ width="1.5"
69
+ height="96"
70
+ transform="rotate(45 39.7627 -59.1196)"
71
+ fill={color}
72
+ />
73
+ <rect
74
+ x="42.2373"
75
+ y="-56.6447"
76
+ width="1.5"
77
+ height="96"
78
+ transform="rotate(45 42.2373 -56.6447)"
79
+ fill={color}
80
+ />
81
+ <rect
82
+ x="44.7124"
83
+ y="-54.1699"
84
+ width="1.5"
85
+ height="96"
86
+ transform="rotate(45 44.7124 -54.1699)"
87
+ fill={color}
88
+ />
89
+ <rect
90
+ x="47.187"
91
+ y="-51.695"
92
+ width="1.5"
93
+ height="96"
94
+ transform="rotate(45 47.187 -51.695)"
95
+ fill={color}
96
+ />
97
+ <rect
98
+ x="49.6621"
99
+ y="-49.2201"
100
+ width="1.5"
101
+ height="96"
102
+ transform="rotate(45 49.6621 -49.2201)"
103
+ fill={color}
104
+ />
105
+ <rect
106
+ x="52.1367"
107
+ y="-46.7452"
108
+ width="1.5"
109
+ height="96"
110
+ transform="rotate(45 52.1367 -46.7452)"
111
+ fill={color}
112
+ />
113
+ <rect
114
+ x="54.6118"
115
+ y="-44.2704"
116
+ width="1.5"
117
+ height="96"
118
+ transform="rotate(45 54.6118 -44.2704)"
119
+ fill={color}
120
+ />
121
+ <rect
122
+ x="57.0869"
123
+ y="-41.7955"
124
+ width="1.5"
125
+ height="96"
126
+ transform="rotate(45 57.0869 -41.7955)"
127
+ fill={color}
128
+ />
129
+ <rect
130
+ x="59.5615"
131
+ y="-39.3206"
132
+ width="1.5"
133
+ height="96"
134
+ transform="rotate(45 59.5615 -39.3206)"
135
+ fill={color}
136
+ />
137
+ <rect
138
+ x="62.0366"
139
+ y="-36.8458"
140
+ width="1.5"
141
+ height="96"
142
+ transform="rotate(45 62.0366 -36.8458)"
143
+ fill={color}
144
+ />
145
+ <rect
146
+ x="64.5112"
147
+ y="-34.3709"
148
+ width="1.5"
149
+ height="96"
150
+ transform="rotate(45 64.5112 -34.3709)"
151
+ fill={color}
152
+ />
153
+ <rect
154
+ x="66.9863"
155
+ y="-31.896"
156
+ width="1.5"
157
+ height="96"
158
+ transform="rotate(45 66.9863 -31.896)"
159
+ fill={color}
160
+ />
161
+ <rect
162
+ x="69.4609"
163
+ y="-29.4211"
164
+ width="1.5"
165
+ height="96"
166
+ transform="rotate(45 69.4609 -29.4211)"
167
+ fill={color}
168
+ />
169
+ <rect
170
+ x="71.936"
171
+ y="-26.9463"
172
+ width="1.5"
173
+ height="96"
174
+ transform="rotate(45 71.936 -26.9463)"
175
+ fill={color}
176
+ />
177
+ <rect
178
+ x="74.4106"
179
+ y="-24.4714"
180
+ width="1.5"
181
+ height="96"
182
+ transform="rotate(45 74.4106 -24.4714)"
183
+ fill={color}
184
+ />
185
+ <rect
186
+ x="76.8857"
187
+ y="-21.9965"
188
+ width="1.5"
189
+ height="96"
190
+ transform="rotate(45 76.8857 -21.9965)"
191
+ fill={color}
192
+ />
193
+ <rect
194
+ x="79.3604"
195
+ y="-19.5216"
196
+ width="1.5"
197
+ height="96"
198
+ transform="rotate(45 79.3604 -19.5216)"
199
+ fill={color}
200
+ />
201
+ <rect
202
+ x="81.8354"
203
+ y="-17.0468"
204
+ width="1.5"
205
+ height="96"
206
+ transform="rotate(45 81.8354 -17.0468)"
207
+ fill={color}
208
+ />
209
+ <rect
210
+ x="84.3105"
211
+ y="-14.5719"
212
+ width="1.5"
213
+ height="96"
214
+ transform="rotate(45 84.3105 -14.5719)"
215
+ fill={color}
216
+ />
217
+ <rect
218
+ x="86.7852"
219
+ y="-12.097"
220
+ width="1.5"
221
+ height="96"
222
+ transform="rotate(45 86.7852 -12.097)"
223
+ fill={color}
224
+ />
225
+ <rect
226
+ x="89.2603"
227
+ y="-9.62215"
228
+ width="1.5"
229
+ height="96"
230
+ transform="rotate(45 89.2603 -9.62215)"
231
+ fill={color}
232
+ />
233
+ <rect
234
+ x="91.7349"
235
+ y="-7.14726"
236
+ width="1.5"
237
+ height="96"
238
+ transform="rotate(45 91.7349 -7.14726)"
239
+ fill={color}
240
+ />
241
+ <rect
242
+ x="94.21"
243
+ y="-4.67239"
244
+ width="1.5"
245
+ height="96"
246
+ transform="rotate(45 94.21 -4.67239)"
247
+ fill={color}
248
+ />
249
+ <rect
250
+ x="96.6846"
251
+ y="-2.19753"
252
+ width="1.5"
253
+ height="96"
254
+ transform="rotate(45 96.6846 -2.19753)"
255
+ fill={color}
256
+ />
257
+ <rect
258
+ x="99.1597"
259
+ y="0.277344"
260
+ width="1.5"
261
+ height="96"
262
+ transform="rotate(45 99.1597 0.277344)"
263
+ fill={color}
264
+ />
265
+ <rect
266
+ x="101.634"
267
+ y="2.75223"
268
+ width="1.5"
269
+ height="96"
270
+ transform="rotate(45 101.634 2.75223)"
271
+ fill={color}
272
+ />
273
+ <rect
274
+ x="104.109"
275
+ y="5.2271"
276
+ width="1.5"
277
+ height="96"
278
+ transform="rotate(45 104.109 5.2271)"
279
+ fill={color}
280
+ />
281
+ <rect
282
+ x="106.584"
283
+ y="7.70197"
284
+ width="1.5"
285
+ height="96"
286
+ transform="rotate(45 106.584 7.70197)"
287
+ fill={color}
288
+ />
289
+ <rect
290
+ x="109.059"
291
+ y="10.1768"
292
+ width="1.5"
293
+ height="96"
294
+ transform="rotate(45 109.059 10.1768)"
295
+ fill={color}
296
+ />
297
+ <rect
298
+ x="111.534"
299
+ y="12.6517"
300
+ width="1.5"
301
+ height="96"
302
+ transform="rotate(45 111.534 12.6517)"
303
+ fill={color}
304
+ />
305
+ <rect
306
+ x="114.009"
307
+ y="15.1266"
308
+ width="1.5"
309
+ height="96"
310
+ transform="rotate(45 114.009 15.1266)"
311
+ fill={color}
312
+ />
313
+ <rect
314
+ x="116.484"
315
+ y="17.6015"
316
+ width="1.5"
317
+ height="96"
318
+ transform="rotate(45 116.484 17.6015)"
319
+ fill={color}
320
+ />
321
+ </g>
322
+ <defs>
323
+ <clipPath id="clip0_10402_37468">
324
+ <rect
325
+ width="148.5"
326
+ height="96"
327
+ fill="white"
328
+ transform="translate(22.4385 -76.4437) rotate(45)"
329
+ />
330
+ </clipPath>
331
+ </defs>
332
+ </svg>
333
+ )
334
+ }