@redocly/theme 0.64.0-next.1 → 0.64.0-next.3

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 (223) hide show
  1. package/lib/components/Admonition/Admonition.d.ts +1 -1
  2. package/lib/components/Admonition/Admonition.js +2 -0
  3. package/lib/components/Admonition/variables.dark.js +3 -0
  4. package/lib/components/Admonition/variables.js +13 -0
  5. package/lib/components/Banner/Banner.js +3 -3
  6. package/lib/components/Button/variables.dark.js +2 -2
  7. package/lib/components/Button/variables.js +3 -3
  8. package/lib/components/Catalog/CatalogActionsRow.d.ts +3 -3
  9. package/lib/components/Catalog/CatalogCardView/CatalogCard.js +4 -6
  10. package/lib/components/Catalog/CatalogEntities.d.ts +2 -2
  11. package/lib/components/Catalog/CatalogEntities.js +1 -1
  12. package/lib/components/Catalog/CatalogEntity/CatalogEntity.d.ts +1 -8
  13. package/lib/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.js +3 -1
  14. package/lib/components/Catalog/CatalogEntity/CatalogEntityMetadata.js +1 -1
  15. package/lib/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.js +1 -1
  16. package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.js +1 -0
  17. package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.js +2 -1
  18. package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.js +2 -6
  19. package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.js +5 -5
  20. package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.js +1 -1
  21. package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.js +15 -7
  22. package/lib/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.js +2 -2
  23. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.d.ts +3 -3
  24. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.js +4 -1
  25. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.d.ts +3 -3
  26. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.js +14 -2
  27. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.js +1 -1
  28. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.d.ts +3 -3
  29. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.js +1 -1
  30. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.d.ts +2 -2
  31. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.d.ts +3 -3
  32. package/lib/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.js +13 -3
  33. package/lib/components/Catalog/CatalogEntity/CatalogEntitySchema.js +4 -3
  34. package/lib/components/Catalog/CatalogEntityTypeIcon.d.ts +3 -2
  35. package/lib/components/Catalog/CatalogEntityTypeIcon.js +9 -9
  36. package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.d.ts +2 -3
  37. package/lib/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.d.ts +2 -3
  38. package/lib/components/Catalog/CatalogPageDescription.js +1 -1
  39. package/lib/components/Catalog/CatalogSortButton.d.ts +4 -5
  40. package/lib/components/Catalog/CatalogTableView/CatalogDomainsCell.js +6 -2
  41. package/lib/components/Catalog/CatalogTableView/CatalogEntityCell.js +2 -2
  42. package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.d.ts +5 -0
  43. package/lib/components/Catalog/CatalogTableView/CatalogLastUpdateCell.js +45 -0
  44. package/lib/components/Catalog/CatalogTableView/CatalogOwnersCell.js +5 -3
  45. package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.d.ts +2 -3
  46. package/lib/components/Catalog/CatalogTableView/CatalogTableHeaderCell.js +3 -2
  47. package/lib/components/Catalog/CatalogTableView/CatalogTableView.d.ts +1 -2
  48. package/lib/components/Catalog/CatalogTableView/CatalogTableView.js +15 -5
  49. package/lib/components/Catalog/CatalogTableView/CatalogTagsCell.js +3 -2
  50. package/lib/components/Catalog/CatalogTableView/CatalogUserEntityCell.js +2 -2
  51. package/lib/components/Catalog/CatalogTags.d.ts +11 -0
  52. package/lib/components/Catalog/CatalogTags.js +62 -0
  53. package/lib/components/Catalog/variables.js +22 -14
  54. package/lib/components/Filter/variables.js +1 -1
  55. package/lib/components/Link/Link.js +2 -2
  56. package/lib/components/Menu/MenuItem.js +1 -0
  57. package/lib/components/Menu/variables.dark.js +2 -0
  58. package/lib/components/Menu/variables.js +4 -3
  59. package/lib/components/Search/SearchDialog.js +118 -116
  60. package/lib/components/SvgViewer/variables.dark.js +1 -1
  61. package/lib/components/Switch/variables.dark.js +2 -2
  62. package/lib/components/Switch/variables.js +1 -1
  63. package/lib/components/TableOfContent/TableOfContent.js +1 -0
  64. package/lib/components/TableOfContent/variables.js +3 -2
  65. package/lib/components/Toast/Toast.d.ts +14 -0
  66. package/lib/components/Toast/Toast.js +239 -0
  67. package/lib/components/Toast/variables.d.ts +1 -0
  68. package/lib/components/Toast/variables.js +64 -0
  69. package/lib/components/Tooltip/JsTooltip.js +1 -1
  70. package/lib/core/constants/catalog.d.ts +1 -1
  71. package/lib/core/constants/catalog.js +1 -1
  72. package/lib/core/constants/toast.d.ts +1 -0
  73. package/lib/core/constants/toast.js +5 -0
  74. package/lib/core/contexts/Toast/ToastContext.d.ts +2 -0
  75. package/lib/core/contexts/Toast/ToastContext.js +6 -0
  76. package/lib/core/contexts/Toast/ToastProvider.d.ts +3 -0
  77. package/lib/core/contexts/Toast/ToastProvider.js +156 -0
  78. package/lib/core/contexts/index.d.ts +2 -0
  79. package/lib/core/contexts/index.js +2 -0
  80. package/lib/core/hooks/catalog/use-catalog-entity-link.d.ts +8 -0
  81. package/lib/core/hooks/catalog/use-catalog-entity-link.js +42 -0
  82. package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.d.ts +2 -1
  83. package/lib/core/hooks/catalog/use-catalog-table-header-cell-actions.js +5 -3
  84. package/lib/core/hooks/index.d.ts +3 -0
  85. package/lib/core/hooks/index.js +3 -0
  86. package/lib/core/hooks/use-toast-logic.d.ts +18 -0
  87. package/lib/core/hooks/use-toast-logic.js +141 -0
  88. package/lib/core/hooks/use-toast.d.ts +11 -0
  89. package/lib/core/hooks/use-toast.js +17 -0
  90. package/lib/core/styles/dark.d.ts +3 -1
  91. package/lib/core/styles/dark.js +37 -33
  92. package/lib/core/styles/global.d.ts +6 -2
  93. package/lib/core/styles/global.js +56 -46
  94. package/lib/core/styles/palette.d.ts +6 -0
  95. package/lib/core/styles/palette.dark.d.ts +3 -0
  96. package/lib/core/styles/palette.dark.js +201 -0
  97. package/lib/core/styles/palette.js +175 -0
  98. package/lib/core/types/catalog.d.ts +23 -7
  99. package/lib/core/types/hooks.d.ts +6 -4
  100. package/lib/core/types/index.d.ts +1 -0
  101. package/lib/core/types/search.d.ts +1 -0
  102. package/lib/core/types/toast.d.ts +23 -0
  103. package/lib/core/types/toast.js +3 -0
  104. package/lib/core/utils/get-auto-dismiss-duration.d.ts +2 -0
  105. package/lib/core/utils/get-auto-dismiss-duration.js +15 -0
  106. package/lib/core/utils/index.d.ts +1 -0
  107. package/lib/core/utils/index.js +1 -0
  108. package/lib/icons/CheckboxIcon/CheckboxIcon.js +6 -4
  109. package/lib/icons/CheckboxIcon/variables.dark.js +2 -1
  110. package/lib/icons/CheckboxIcon/variables.js +3 -3
  111. package/lib/icons/IdeaIcon/IdeaIcon.d.ts +9 -0
  112. package/lib/icons/IdeaIcon/IdeaIcon.js +24 -0
  113. package/lib/icons/NewChatIcon/NewChatIcon.d.ts +11 -0
  114. package/lib/icons/NewChatIcon/NewChatIcon.js +25 -0
  115. package/lib/index.d.ts +5 -1
  116. package/lib/index.js +5 -1
  117. package/lib/markdoc/components/Heading/Heading.js +2 -2
  118. package/lib/markdoc/components/Mermaid/Mermaid.js +0 -2
  119. package/lib/markdoc/components/Tabs/variables.js +3 -3
  120. package/lib/markdoc/components/default.d.ts +0 -1
  121. package/lib/markdoc/components/default.js +0 -1
  122. package/lib/markdoc/tags/admonition.js +1 -1
  123. package/package.json +2 -2
  124. package/src/components/Admonition/Admonition.tsx +3 -1
  125. package/src/components/Admonition/variables.dark.ts +3 -0
  126. package/src/components/Admonition/variables.ts +13 -0
  127. package/src/components/Banner/Banner.tsx +7 -7
  128. package/src/components/Button/variables.dark.ts +2 -2
  129. package/src/components/Button/variables.ts +3 -3
  130. package/src/components/Catalog/CatalogActionsRow.tsx +3 -3
  131. package/src/components/Catalog/CatalogCardView/CatalogCard.tsx +4 -6
  132. package/src/components/Catalog/CatalogEntities.tsx +3 -3
  133. package/src/components/Catalog/CatalogEntity/CatalogEntity.tsx +3 -24
  134. package/src/components/Catalog/CatalogEntity/CatalogEntityHistory/CatalogEntityVersionItem.tsx +3 -1
  135. package/src/components/Catalog/CatalogEntity/CatalogEntityMetadata.tsx +1 -1
  136. package/src/components/Catalog/CatalogEntity/CatalogEntityMethodAndPath.tsx +1 -1
  137. package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityProperties.tsx +1 -0
  138. package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/CatalogEntityPropertyCard.tsx +2 -1
  139. package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/ContactProperty.tsx +8 -10
  140. package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/DomainsProperty.tsx +13 -8
  141. package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/FormatProperty.tsx +1 -0
  142. package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/OwnersProperty.tsx +27 -15
  143. package/src/components/Catalog/CatalogEntity/CatalogEntityProperties/TagsProperty.tsx +2 -2
  144. package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityApiDescriptionRelations.tsx +9 -9
  145. package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityDefaultRelations.tsx +17 -9
  146. package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelations.tsx +1 -1
  147. package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTable.tsx +4 -8
  148. package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityRelationsTableContent.tsx +2 -2
  149. package/src/components/Catalog/CatalogEntity/CatalogEntityRelations/CatalogEntityTeamRelations.tsx +16 -10
  150. package/src/components/Catalog/CatalogEntity/CatalogEntitySchema.tsx +4 -3
  151. package/src/components/Catalog/CatalogEntityTypeIcon.tsx +18 -11
  152. package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBar.tsx +3 -3
  153. package/src/components/Catalog/CatalogMobileTopBar/CatalogMobileTopBarControls.tsx +2 -3
  154. package/src/components/Catalog/CatalogPageDescription.tsx +1 -1
  155. package/src/components/Catalog/CatalogSortButton.tsx +5 -6
  156. package/src/components/Catalog/CatalogTableView/CatalogDomainsCell.tsx +6 -2
  157. package/src/components/Catalog/CatalogTableView/CatalogEntityCell.tsx +2 -2
  158. package/src/components/Catalog/CatalogTableView/CatalogLastUpdateCell.tsx +54 -0
  159. package/src/components/Catalog/CatalogTableView/CatalogOwnersCell.tsx +5 -2
  160. package/src/components/Catalog/CatalogTableView/CatalogTableHeaderCell.tsx +4 -3
  161. package/src/components/Catalog/CatalogTableView/CatalogTableView.tsx +17 -7
  162. package/src/components/Catalog/CatalogTableView/CatalogTagsCell.tsx +3 -2
  163. package/src/components/Catalog/CatalogTableView/CatalogUserEntityCell.tsx +2 -2
  164. package/src/components/Catalog/CatalogTags.tsx +115 -0
  165. package/src/components/Catalog/variables.ts +22 -14
  166. package/src/components/Filter/variables.ts +1 -1
  167. package/src/components/Link/Link.tsx +1 -1
  168. package/src/components/Menu/MenuItem.tsx +5 -1
  169. package/src/components/Menu/variables.dark.ts +2 -0
  170. package/src/components/Menu/variables.ts +4 -3
  171. package/src/components/Search/SearchDialog.tsx +299 -293
  172. package/src/components/SvgViewer/variables.dark.ts +1 -1
  173. package/src/components/Switch/variables.dark.ts +2 -2
  174. package/src/components/Switch/variables.ts +1 -1
  175. package/src/components/TableOfContent/TableOfContent.tsx +1 -0
  176. package/src/components/TableOfContent/variables.ts +3 -2
  177. package/src/components/Toast/Toast.tsx +289 -0
  178. package/src/components/Toast/variables.ts +61 -0
  179. package/src/components/Tooltip/JsTooltip.tsx +1 -1
  180. package/src/core/constants/catalog.ts +1 -1
  181. package/src/core/constants/toast.ts +1 -0
  182. package/src/core/contexts/Toast/ToastContext.tsx +5 -0
  183. package/src/core/contexts/Toast/ToastProvider.tsx +206 -0
  184. package/src/core/contexts/index.ts +2 -0
  185. package/src/core/hooks/catalog/use-catalog-entity-link.ts +46 -0
  186. package/src/core/hooks/catalog/use-catalog-table-header-cell-actions.ts +10 -2
  187. package/src/core/hooks/index.ts +3 -0
  188. package/src/core/hooks/use-toast-logic.ts +203 -0
  189. package/src/core/hooks/use-toast.ts +47 -0
  190. package/src/core/styles/dark.ts +9 -4
  191. package/src/core/styles/global.ts +30 -20
  192. package/src/core/styles/palette.dark.ts +199 -0
  193. package/src/core/styles/palette.ts +173 -0
  194. package/src/core/types/catalog.ts +24 -8
  195. package/src/core/types/hooks.ts +5 -10
  196. package/src/core/types/index.ts +1 -0
  197. package/src/core/types/search.ts +1 -0
  198. package/src/core/types/toast.ts +28 -0
  199. package/src/core/utils/get-auto-dismiss-duration.ts +20 -0
  200. package/src/core/utils/index.ts +1 -0
  201. package/src/icons/CheckboxIcon/CheckboxIcon.tsx +26 -17
  202. package/src/icons/CheckboxIcon/variables.dark.ts +2 -1
  203. package/src/icons/CheckboxIcon/variables.ts +3 -3
  204. package/src/icons/IdeaIcon/IdeaIcon.tsx +32 -0
  205. package/src/icons/NewChatIcon/NewChatIcon.tsx +39 -0
  206. package/src/index.ts +5 -1
  207. package/src/markdoc/components/Heading/Heading.tsx +2 -1
  208. package/src/markdoc/components/Mermaid/Mermaid.tsx +0 -2
  209. package/src/markdoc/components/Tabs/variables.ts +3 -3
  210. package/src/markdoc/components/default.ts +0 -1
  211. package/src/markdoc/tags/admonition.ts +1 -1
  212. package/lib/components/Catalog/CatalogTagsWithTooltip.d.ts +0 -10
  213. package/lib/components/Catalog/CatalogTagsWithTooltip.js +0 -57
  214. package/lib/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.d.ts +0 -7
  215. package/lib/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.js +0 -95
  216. package/lib/markdoc/components/ExcalidrawDiagram/variables.d.ts +0 -1
  217. package/lib/markdoc/components/ExcalidrawDiagram/variables.dark.d.ts +0 -1
  218. package/lib/markdoc/components/ExcalidrawDiagram/variables.dark.js +0 -8
  219. package/lib/markdoc/components/ExcalidrawDiagram/variables.js +0 -15
  220. package/src/components/Catalog/CatalogTagsWithTooltip.tsx +0 -101
  221. package/src/markdoc/components/ExcalidrawDiagram/ExcalidrawDiagram.tsx +0 -85
  222. package/src/markdoc/components/ExcalidrawDiagram/variables.dark.ts +0 -5
  223. package/src/markdoc/components/ExcalidrawDiagram/variables.ts +0 -12
@@ -4,22 +4,22 @@ exports.darkMode = void 0;
4
4
  const styled_components_1 = require("styled-components");
5
5
  const variables_dark_1 = require("../../components/Scorecard/variables.dark");
6
6
  const variables_dark_2 = require("../../markdoc/components/Mermaid/variables.dark");
7
- const variables_dark_3 = require("../../markdoc/components/ExcalidrawDiagram/variables.dark");
8
- const variables_dark_4 = require("../../components/Menu/variables.dark");
9
- const variables_dark_5 = require("../../components/Button/variables.dark");
10
- const variables_dark_6 = require("../../components/Buttons/variables.dark");
11
- const variables_dark_7 = require("../../components/Segmented/variables.dark");
12
- const variables_dark_8 = require("../../icons/CheckboxIcon/variables.dark");
13
- const variables_dark_9 = require("../../components/Tag/variables.dark");
14
- const variables_dark_10 = require("../../components/StatusCode/variables.dark");
15
- const variables_dark_11 = require("../../components/Switch/variables.dark");
16
- const variables_dark_12 = require("../../markdoc/components/Cards/variables.dark");
17
- const variables_dark_13 = require("../../components/Catalog/variables.dark");
18
- const variables_dark_14 = require("../../components/PageActions/variables.dark");
19
- const variables_dark_15 = require("../../components/Tooltip/variables.dark");
20
- const variables_dark_16 = require("../../components/Banner/variables.dark");
21
- const variables_dark_17 = require("../../components/Admonition/variables.dark");
22
- const variables_dark_18 = require("../../components/SvgViewer/variables.dark");
7
+ const variables_dark_3 = require("../../components/Menu/variables.dark");
8
+ const variables_dark_4 = require("../../components/Button/variables.dark");
9
+ const variables_dark_5 = require("../../components/Buttons/variables.dark");
10
+ const variables_dark_6 = require("../../components/Segmented/variables.dark");
11
+ const variables_dark_7 = require("../../icons/CheckboxIcon/variables.dark");
12
+ const variables_dark_8 = require("../../components/Tag/variables.dark");
13
+ const variables_dark_9 = require("../../components/StatusCode/variables.dark");
14
+ const variables_dark_10 = require("../../components/Switch/variables.dark");
15
+ const variables_dark_11 = require("../../markdoc/components/Cards/variables.dark");
16
+ const variables_dark_12 = require("../../components/Catalog/variables.dark");
17
+ const variables_dark_13 = require("../../components/PageActions/variables.dark");
18
+ const variables_dark_14 = require("../../components/Tooltip/variables.dark");
19
+ const variables_dark_15 = require("../../components/Banner/variables.dark");
20
+ const variables_dark_16 = require("../../components/Admonition/variables.dark");
21
+ const variables_dark_17 = require("../../components/SvgViewer/variables.dark");
22
+ const palette_dark_1 = require("./palette.dark");
23
23
  const replayDarkMode = (0, styled_components_1.css) `
24
24
  /**
25
25
  * @tokens Replay Colors
@@ -265,6 +265,11 @@ exports.darkMode = (0, styled_components_1.css) `
265
265
  --layer-accent-hover: var(--color-warm-grey-10);
266
266
  --layer-color-raised: var(--color-warm-grey-3);
267
267
 
268
+ --color-brand-subtle-bg: var(--color-brand-subtle-1);
269
+ --color-brand-subtle-bg-hover: var(--color-brand-subtle-2);
270
+ --color-brand-subtle-border: var(--color-brand-subtle-3);
271
+ --color-brand-subtle-border-hover: var(--color-brand-subtle-4);
272
+
268
273
  /**
269
274
  * @tokens Border Colors
270
275
  * @presenter Color
@@ -328,27 +333,26 @@ exports.darkMode = (0, styled_components_1.css) `
328
333
  --plus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H4.6875V6.79687C4.6875 6.83984 4.72266 6.875 4.76562 6.875H5.23438C5.27734 6.875 5.3125 6.83984 5.3125 6.79687V5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H5.3125V3.20312C5.3125 3.16016 5.27734 3.125 5.23438 3.125H4.76562C4.72266 3.125 4.6875 3.16016 4.6875 3.20312V4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");
329
334
  --minus-square-outlined-icon: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.20312 5.3125H6.79688C6.83984 5.3125 6.875 5.27734 6.875 5.23437V4.76562C6.875 4.72266 6.83984 4.6875 6.79688 4.6875H3.20312C3.16016 4.6875 3.125 4.72266 3.125 4.76562V5.23437C3.125 5.27734 3.16016 5.3125 3.20312 5.3125Z' fill='%239B9CA8'/%3E%3Cpath d='M8.59375 1.09375H1.40625C1.2334 1.09375 1.09375 1.2334 1.09375 1.40625V8.59375C1.09375 8.7666 1.2334 8.90625 1.40625 8.90625H8.59375C8.7666 8.90625 8.90625 8.7666 8.90625 8.59375V1.40625C8.90625 1.2334 8.7666 1.09375 8.59375 1.09375ZM8.20312 8.20312H1.79688V1.79687H8.20312V8.20312Z' fill='%239B9CA8'/%3E%3C/svg%3E%0A");
330
335
 
331
- ${variables_dark_7.segmentedButtonsDarkMode}
332
- ${variables_dark_5.buttonDarkMode}
333
- ${variables_dark_6.aiAssistantButtonDarkMode}
334
- ${variables_dark_8.checkboxDarkMode}
335
- ${variables_dark_9.tagDarkMode}
336
- ${variables_dark_10.statusCodeDarkMode}
337
- ${variables_dark_4.menuDarkMode}
336
+ ${variables_dark_6.segmentedButtonsDarkMode}
337
+ ${variables_dark_4.buttonDarkMode}
338
+ ${variables_dark_5.aiAssistantButtonDarkMode}
339
+ ${variables_dark_7.checkboxDarkMode}
340
+ ${variables_dark_8.tagDarkMode}
341
+ ${variables_dark_9.statusCodeDarkMode}
342
+ ${variables_dark_3.menuDarkMode}
338
343
  ${variables_dark_2.mermaidDarkMode}
339
- ${variables_dark_3.excalidrawDarkMode}
340
344
  ${variables_dark_1.scorecardDarkMode}
341
345
  ${replayDarkMode}
342
- ${variables_dark_11.switcherDarkMode}
343
- ${variables_dark_12.cardsDarkMode}
344
- ${variables_dark_13.catalogDarkMode}
345
- ${variables_dark_14.pageActionsDarkMode}
346
- ${variables_dark_15.tooltipDarkMode}
347
- ${variables_dark_16.bannerDarkMode}
348
- ${variables_dark_17.admonitionDarkMode}
349
- ${variables_dark_18.svgViewerDarkMode}
346
+ ${variables_dark_10.switcherDarkMode}
347
+ ${variables_dark_11.cardsDarkMode}
348
+ ${variables_dark_12.catalogDarkMode}
349
+ ${variables_dark_13.pageActionsDarkMode}
350
+ ${variables_dark_14.tooltipDarkMode}
351
+ ${variables_dark_15.bannerDarkMode}
352
+ ${variables_dark_16.admonitionDarkMode}
353
+ ${variables_dark_17.svgViewerDarkMode}
350
354
  ${badgesDarkMode}
351
-
355
+ ${palette_dark_1.activeBrandPaletteDark}
352
356
  /**
353
357
  * @tokens Dark Theme Scrollbar Config
354
358
  * @presenter Color
@@ -1,2 +1,6 @@
1
- export declare const styles: import("styled-components").FlattenSimpleInterpolation;
2
- export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
1
+ export declare const styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
2
+ palette?: string;
3
+ }, any>>;
4
+ export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{
5
+ palette?: string;
6
+ }, import("styled-components").DefaultTheme>;
@@ -31,21 +31,22 @@ const variables_26 = require("../../components/Markdown/variables");
31
31
  const variables_27 = require("../../components/Banner/variables");
32
32
  const variables_28 = require("../../markdoc/components/Tabs/variables");
33
33
  const variables_29 = require("../../markdoc/components/Mermaid/variables");
34
- const variables_30 = require("../../markdoc/components/ExcalidrawDiagram/variables");
35
- const variables_31 = require("../../components/LastUpdated/variables");
36
- const variables_32 = require("../../components/Logo/variables");
37
- const variables_33 = require("../../components/StatusCode/variables");
38
- const variables_34 = require("../../components/Segmented/variables");
39
- const variables_35 = require("../../components/UserMenu/variables");
40
- const variables_36 = require("../../components/Tags/variables");
41
- const variables_37 = require("../../components/VersionPicker/variables");
42
- const variables_38 = require("../../components/DatePicker/variables");
43
- const variables_39 = require("../../components/Switch/variables");
44
- const variables_40 = require("../../markdoc/components/Cards/variables");
45
- const variables_41 = require("../../markdoc/components/CodeWalkthrough/variables");
46
- const variables_42 = require("../../components/SkipContent/variables");
47
- const variables_43 = require("../../components/PageActions/variables");
48
- const variables_44 = require("../../components/SvgViewer/variables");
34
+ const variables_30 = require("../../components/LastUpdated/variables");
35
+ const variables_31 = require("../../components/Logo/variables");
36
+ const variables_32 = require("../../components/StatusCode/variables");
37
+ const variables_33 = require("../../components/Segmented/variables");
38
+ const variables_34 = require("../../components/UserMenu/variables");
39
+ const variables_35 = require("../../components/Tags/variables");
40
+ const variables_36 = require("../../components/VersionPicker/variables");
41
+ const variables_37 = require("../../components/DatePicker/variables");
42
+ const variables_38 = require("../../components/Switch/variables");
43
+ const variables_39 = require("../../markdoc/components/Cards/variables");
44
+ const variables_40 = require("../../markdoc/components/CodeWalkthrough/variables");
45
+ const variables_41 = require("../../components/SkipContent/variables");
46
+ const variables_42 = require("../../components/PageActions/variables");
47
+ const variables_43 = require("../../components/SvgViewer/variables");
48
+ const variables_44 = require("../../components/Toast/variables");
49
+ const palette_1 = require("./palette");
49
50
  const dark_1 = require("./dark");
50
51
  const themeColors = (0, styled_components_1.css) `
51
52
  /* === Palette === */
@@ -226,17 +227,6 @@ const themeColors = (0, styled_components_1.css) `
226
227
  --color-white: #ffffff;
227
228
  --color-static-white: #ffffff;
228
229
 
229
- --color-primary-bg: var(--color-blueberry-1);
230
- --color-primary-bg-hover: var(--color-blueberry-2);
231
- --color-primary-border: var(--color-blueberry-3);
232
- --color-primary-border-hover: var(--color-blueberry-4);
233
- --color-primary-hover: var(--color-blueberry-5);
234
- --color-primary-base: var(--color-blueberry-6);
235
- --color-primary-active: var(--color-blueberry-7);
236
- --color-primary-text-hover: var(--color-blueberry-8);
237
- --color-primary-text: var(--color-blueberry-9);
238
- --color-primary-text-active: var(--color-blueberry-10);
239
-
240
230
  --color-success-bg: var(--color-green-1);
241
231
  --color-success-bg-hover: var(--color-green-2);
242
232
  --color-success-border: var(--color-green-3);
@@ -281,6 +271,18 @@ const themeColors = (0, styled_components_1.css) `
281
271
  --color-info-text: var(--color-blue-9);
282
272
  --color-info-text-active: var(--color-blue-10);
283
273
 
274
+ --color-primary-bg: var(--color-brand-1); // @presenter Color
275
+ --color-primary-bg-hover: var(--color-brand-2); // @presenter Color
276
+ --color-primary-border: var(--color-brand-3); // @presenter Color
277
+ --color-primary-border-hover: var(--color-brand-4); // @presenter Color
278
+ --color-primary-hover: var(--color-brand-8); // @presenter Color
279
+ --color-primary-base: var(--color-brand-6); // @presenter Color
280
+ --color-primary-active: var(--color-brand-7); // @presenter Color
281
+ --color-primary-text-hover: var(--color-brand-9); // @presenter Color
282
+ --color-primary-text: var(--color-brand-8); // @presenter Color
283
+ --color-primary-text-active: var(--color-brand-7); // @presenter Color
284
+ --color-primary-text-on-color: var(--text-color-on-color); // @presenter Color
285
+
284
286
  /**
285
287
  * @tokens Elevation Colors
286
288
  * @presenter Color
@@ -756,24 +758,24 @@ const apiReferenceDocs = (0, styled_components_1.css) `
756
758
  --schema-chevron-color: var(--text-color-secondary); // @presenter Color
757
759
  --schema-chevron-size: 9px;
758
760
 
759
- --schema-property-deep-link-icon-color: var(--color-primary-base); // @presenter Color
761
+ --schema-property-deep-link-icon-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
760
762
  --schema-property-deep-link-icon: none;
761
763
 
762
764
  /**
763
765
  * @tokens API Reference Other
764
766
  */
765
767
 
766
- --loading-spinner-color: var(--color-primary-base); // @presenter Color
768
+ --loading-spinner-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
767
769
  --linear-progress-color: var(--color-info-base); // @presenter Color
768
770
  --linear-progress-bg-color: var(--color-info-bg); // @presenter Color
769
771
 
770
- --fab-bg-color: var(--color-primary-base); // @presenter Color
772
+ --fab-bg-color: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
771
773
  --fab-box-shadow: var(--bg-raised-shadow); // @presenter Shadow
772
774
 
773
- --fab-bg-color-hover: var(--color-primary-base); // @presenter Color
775
+ --fab-bg-color-hover: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
774
776
  --fab-box-shadow-hover: var(--bg-raised-shadow); // @presenter Shadow
775
777
 
776
- --fab-bg-color-active: var(--color-primary-base); // @presenter Color
778
+ --fab-bg-color-active: var(--color-primary-base, var(--color-blueberry-6)); // @presenter Color
777
779
  --fab-box-shadow-active: var(--bg-raised-shadow); // @presenter Shadow
778
780
 
779
781
  --fab-icon-color: var(--navbar-text-color); // @presenter Color
@@ -1236,6 +1238,13 @@ const replay = (0, styled_components_1.css) `
1236
1238
  --replay-ai-user-message-gradient: linear-gradient(73.52deg, rgba(113, 94, 254, 0.08) 10.13%, rgba(255, 92, 220, 0.08) 87.29%);
1237
1239
 
1238
1240
  --replay-ai-send-button-disabled-border: 1px solid #ffffff33;
1241
+
1242
+ --replay-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1243
+ --replay-transition-duration: 300ms;
1244
+
1245
+ @media (prefers-reduced-motion: reduce) {
1246
+ --replay-transition-duration: 0s;
1247
+ }
1239
1248
  // @tokens End
1240
1249
  `;
1241
1250
  exports.styles = (0, styled_components_1.css) `
@@ -1251,28 +1260,27 @@ exports.styles = (0, styled_components_1.css) `
1251
1260
  ${variables_19.button}
1252
1261
  ${variables_20.aiAssistantButton}
1253
1262
  ${variables_20.connectMCPButton}
1254
- ${variables_40.cards}
1263
+ ${variables_39.cards}
1255
1264
  ${variables_8.catalog}
1256
1265
  ${variables_10.catalogClassic}
1257
1266
  ${variables_24.code}
1258
- ${variables_41.codeWalkthrough}
1267
+ ${variables_40.codeWalkthrough}
1259
1268
  ${docsDropdown}
1260
1269
  ${variables_14.dropdown}
1261
1270
  ${error}
1262
1271
  ${variables_9.filter}
1263
1272
  ${variables_18.footer}
1264
1273
  ${headingsTypography}
1265
- ${variables_36.httpTag}
1274
+ ${variables_35.httpTag}
1266
1275
  ${inputs}
1267
1276
  ${variables_1.languagePicker}
1268
- ${variables_31.lastUpdated}
1277
+ ${variables_30.lastUpdated}
1269
1278
  ${links}
1270
1279
  ${loadProgressBar}
1271
- ${variables_32.logo}
1280
+ ${variables_31.logo}
1272
1281
  ${variables_26.markdown}
1273
1282
  ${variables_28.markdownTabs}
1274
1283
  ${variables_29.mermaid}
1275
- ${variables_30.excalidraw}
1276
1284
  ${variables_23.menu}
1277
1285
  ${variables_23.mobileMenu}
1278
1286
  ${modal}
@@ -1286,28 +1294,30 @@ exports.styles = (0, styled_components_1.css) `
1286
1294
  ${sizeAndSpace}
1287
1295
  ${variables_6.tag}
1288
1296
  ${themeColors}
1297
+ ${palette_1.activeBrandPaletteLight}
1289
1298
  ${tile}
1290
1299
  ${variables_7.toc}
1291
1300
  ${variables_15.tooltip}
1292
1301
  ${typography}
1293
- ${variables_35.userMenu}
1294
- ${variables_37.versionPicker}
1302
+ ${variables_34.userMenu}
1303
+ ${variables_36.versionPicker}
1295
1304
  ${zIndexDepth}
1296
1305
  ${scorecardColors}
1297
- ${variables_33.statusCode}
1306
+ ${variables_32.statusCode}
1298
1307
  ${tab}
1299
1308
  ${icon}
1300
1309
  ${tree}
1301
- ${variables_34.segmented}
1302
- ${variables_39.switcher}
1310
+ ${variables_33.segmented}
1311
+ ${variables_38.switcher}
1303
1312
  ${variables_16.checkbox}
1304
1313
  ${variables_3.feedback}
1305
1314
  ${variables_2.scorecard}
1306
- ${variables_38.datePicker}
1315
+ ${variables_37.datePicker}
1307
1316
  ${replay}
1308
- ${variables_42.skipContent}
1309
- ${variables_43.pageActions}
1310
- ${variables_44.svgViewer}
1317
+ ${variables_41.skipContent}
1318
+ ${variables_42.pageActions}
1319
+ ${variables_43.svgViewer}
1320
+ ${variables_44.toast}
1311
1321
 
1312
1322
  background-color: var(--bg-color);
1313
1323
  color: var(--text-color-primary);
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @tokens Palette
3
+ */
4
+ export declare const activeBrandPaletteLight: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
5
+ palette?: string;
6
+ }, any>>;
@@ -0,0 +1,3 @@
1
+ export declare const activeBrandPaletteDark: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<{
2
+ palette?: string;
3
+ }, any>>;
@@ -0,0 +1,201 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.activeBrandPaletteDark = void 0;
4
+ const styled_components_1 = require("styled-components");
5
+ function brandPaletteDark(palette) {
6
+ switch (palette) {
7
+ case 'slate':
8
+ return (0, styled_components_1.css) `
9
+ --color-brand-1: #2a2b33;
10
+ --color-brand-2: #3b3c45;
11
+ --color-brand-3: #555761;
12
+ --color-brand-4: #6e6f7a;
13
+ --color-brand-5: #9b9ca8;
14
+ --color-brand-6: #fbfbfc;
15
+ --color-brand-7: #ededf2;
16
+ --color-brand-8: #dcdde5;
17
+ --color-brand-9: #c4c6d1;
18
+ --color-brand-10: #9b9ca8;
19
+ --color-brand-11: #6e6f7a;
20
+ --color-brand-subtle-1: #2a2b3366;
21
+ --color-brand-subtle-2: #3b3c4566;
22
+ --color-brand-subtle-3: #55576166;
23
+ --color-brand-subtle-4: #6e6f7a66;
24
+ --text-color-on-color: #000000;
25
+ `;
26
+ case 'pink':
27
+ return (0, styled_components_1.css) `
28
+ --color-brand-1: #4f2841;
29
+ --color-brand-2: #6a3055;
30
+ --color-brand-3: #853668;
31
+ --color-brand-4: #a03a7b;
32
+ --color-brand-5: #bb3d8d;
33
+ --color-brand-6: #d6409f;
34
+ --color-brand-7: #de59ad;
35
+ --color-brand-8: #e677bd;
36
+ --color-brand-9: #ef99cf;
37
+ --color-brand-10: #f7bfe2;
38
+ --color-brand-11: #ffe8f7;
39
+ --color-brand-subtle-1: #4f284166;
40
+ --color-brand-subtle-2: #6a305566;
41
+ --color-brand-subtle-3: #85366866;
42
+ --color-brand-subtle-4: #a03a7b66;
43
+ --text-color-on-color: #ffffff;
44
+ `;
45
+ case 'coral':
46
+ return (0, styled_components_1.css) `
47
+ --color-brand-1: #4f282b;
48
+ --color-brand-2: #6d3338;
49
+ --color-brand-3: #8b3c42;
50
+ --color-brand-4: #a9434c;
51
+ --color-brand-5: #c74b55;
52
+ --color-brand-6: #e5535f;
53
+ --color-brand-7: #ea6a75;
54
+ --color-brand-8: #ef858d;
55
+ --color-brand-9: #f5a3aa;
56
+ --color-brand-10: #fac5c9;
57
+ --color-brand-11: #ffe8ea;
58
+ --color-brand-subtle-1: #4f282b66;
59
+ --color-brand-subtle-2: #6d333866;
60
+ --color-brand-subtle-3: #8b3c4266;
61
+ --color-brand-subtle-4: #a9434c66;
62
+ --text-color-on-color: #ffffff;
63
+ `;
64
+ case 'amber':
65
+ return (0, styled_components_1.css) `
66
+ --color-brand-1: #4f3c28;
67
+ --color-brand-2: #71512e;
68
+ --color-brand-3: #93632f;
69
+ --color-brand-4: #b6732a;
70
+ --color-brand-5: #d88121;
71
+ --color-brand-6: #fa8d15;
72
+ --color-brand-7: #fb9f3a;
73
+ --color-brand-8: #fcb261;
74
+ --color-brand-9: #fdc78c;
75
+ --color-brand-10: #feddba;
76
+ --color-brand-11: #fff4e8;
77
+ --color-brand-subtle-1: #4f3c2866;
78
+ --color-brand-subtle-2: #71512e66;
79
+ --color-brand-subtle-3: #93632f66;
80
+ --color-brand-subtle-4: #b6732a66;
81
+ --text-color-on-color: #ffffff;
82
+ `;
83
+ case 'jade':
84
+ return (0, styled_components_1.css) `
85
+ --color-brand-1: #284f45;
86
+ --color-brand-2: #2a6052;
87
+ --color-brand-3: #2b715e;
88
+ --color-brand-4: #2b816b;
89
+ --color-brand-5: #2a9277;
90
+ --color-brand-6: #29a383;
91
+ --color-brand-7: #42b597;
92
+ --color-brand-8: #61c8ad;
93
+ --color-brand-9: #88dac4;
94
+ --color-brand-10: #b5edde;
95
+ --color-brand-11: #e8fff9;
96
+ --color-brand-subtle-1: #284f4566;
97
+ --color-brand-subtle-2: #2a605266;
98
+ --color-brand-subtle-3: #2b715e66;
99
+ --color-brand-subtle-4: #2b816b66;
100
+ --text-color-on-color: #ffffff;
101
+ `;
102
+ case 'cyan':
103
+ return (0, styled_components_1.css) `
104
+ --color-brand-1: #28484f;
105
+ --color-brand-2: #285c67;
106
+ --color-brand-3: #246e7f;
107
+ --color-brand-4: #1b8097;
108
+ --color-brand-5: #0f91af;
109
+ --color-brand-6: #00a2c7;
110
+ --color-brand-7: #22b2d2;
111
+ --color-brand-8: #4ac2dd;
112
+ --color-brand-9: #79d4e9;
113
+ --color-brand-10: #aee7f4;
114
+ --color-brand-11: #e8fbff;
115
+ --color-brand-subtle-1: #28484f66;
116
+ --color-brand-subtle-2: #285c6766;
117
+ --color-brand-subtle-3: #246e7f66;
118
+ --color-brand-subtle-4: #1b809766;
119
+ --text-color-on-color: #ffffff;
120
+ `;
121
+ case 'ocean':
122
+ return (0, styled_components_1.css) `
123
+ --color-brand-1: #283e4f;
124
+ --color-brand-2: #2d5472;
125
+ --color-brand-3: #2a6795;
126
+ --color-brand-4: #2277b9;
127
+ --color-brand-5: #1384dc;
128
+ --color-brand-6: #0090ff;
129
+ --color-brand-7: #29a2ff;
130
+ --color-brand-8: #56b5ff;
131
+ --color-brand-9: #85caff;
132
+ --color-brand-10: #b6dfff;
133
+ --color-brand-11: #e8f5ff;
134
+ --color-brand-subtle-1: #283e4f66;
135
+ --color-brand-subtle-2: #2d547266;
136
+ --color-brand-subtle-3: #2a679566;
137
+ --color-brand-subtle-4: #2277b966;
138
+ --text-color-on-color: #ffffff;
139
+ `;
140
+ case 'indigo':
141
+ return (0, styled_components_1.css) `
142
+ --color-brand-1: #28314f;
143
+ --color-brand-2: #303e6b;
144
+ --color-brand-3: #364988;
145
+ --color-brand-4: #3952a4;
146
+ --color-brand-5: #3c5bc1;
147
+ --color-brand-6: #3e63dd;
148
+ --color-brand-7: #5879e4;
149
+ --color-brand-8: #7691eb;
150
+ --color-brand-9: #99aef1;
151
+ --color-brand-10: #bfcdf8;
152
+ --color-brand-11: #e8edff;
153
+ --color-brand-subtle-1: #28314f66;
154
+ --color-brand-subtle-2: #303e6b66;
155
+ --color-brand-subtle-3: #36498866;
156
+ --color-brand-subtle-4: #3952a466;
157
+ --text-color-on-color: #ffffff;
158
+ `;
159
+ case 'iris':
160
+ return (0, styled_components_1.css) `
161
+ --color-brand-1: #2e2e4f;
162
+ --color-brand-2: #3a3a6a;
163
+ --color-brand-3: #434385;
164
+ --color-brand-4: #4c4ca0;
165
+ --color-brand-5: #5353bb;
166
+ --color-brand-6: #5b5bd6;
167
+ --color-brand-7: #7070de;
168
+ --color-brand-8: #8a8ae6;
169
+ --color-brand-9: #a7a7ef;
170
+ --color-brand-10: #c8c8f7;
171
+ --color-brand-11: #ebebff;
172
+ --color-brand-subtle-1: #2e2e4f80;
173
+ --color-brand-subtle-2: #3a3a6a80;
174
+ --color-brand-subtle-3: #43438580;
175
+ --color-brand-subtle-4: #4c4ca080;
176
+ --text-color-on-color: #ffffff;
177
+ `;
178
+ default:
179
+ return (0, styled_components_1.css) `
180
+ --button-bg-color-primary-hover-legacy: var(--color-blue-5);
181
+ --button-bg-color-primary-pressed-legacy: var(--color-blue-4);
182
+
183
+ --toc-item-text-color-active-legacy: var(--text-color-primary);
184
+ --toc-item-border-color-active-legacy: var(--border-color-invers);
185
+
186
+ --checkbox-border-color-legacy: var(--border-color-primary);
187
+
188
+ --switch-bg-color-selected-legacy: var(--color-warm-grey-7);
189
+ --switch-border-color-selected-legacy: var(--color-warm-grey-7);
190
+
191
+ --md-tabs-active-tab-bg-color-legacy: var(--bg-color-active);
192
+
193
+ --admonition-default-bg-color-legacy: var(--color-warm-grey-3);
194
+ --admonition-default-border-color-legacy: var(--color-warm-grey-5);
195
+ `;
196
+ }
197
+ }
198
+ exports.activeBrandPaletteDark = (0, styled_components_1.css) `
199
+ ${({ palette }) => brandPaletteDark(palette)}
200
+ `;
201
+ //# sourceMappingURL=palette.dark.js.map