@salesforce/afv-skills 1.14.0 → 1.16.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 (365) hide show
  1. package/package.json +1 -1
  2. package/skills/activating-datacloud/SKILL.md +0 -1
  3. package/skills/analyzing-omnistudio-dependencies/SKILL.md +0 -1
  4. package/skills/applying-slds/SKILL.md +322 -0
  5. package/skills/applying-slds/checklists.md +83 -0
  6. package/skills/applying-slds/examples.md +283 -0
  7. package/skills/applying-slds/guidance/README.md +83 -0
  8. package/skills/applying-slds/guidance/blueprints-index.md +213 -0
  9. package/skills/applying-slds/guidance/icons-guidance.md +186 -0
  10. package/skills/applying-slds/guidance/overviews/borders.md +236 -0
  11. package/skills/applying-slds/guidance/overviews/color.md +266 -0
  12. package/skills/applying-slds/guidance/overviews/display-density.md +366 -0
  13. package/skills/applying-slds/guidance/overviews/icons.md +240 -0
  14. package/skills/applying-slds/guidance/overviews/illustrations.md +235 -0
  15. package/skills/applying-slds/guidance/overviews/shadows.md +176 -0
  16. package/skills/applying-slds/guidance/overviews/spacing.md +216 -0
  17. package/skills/applying-slds/guidance/overviews/typography.md +323 -0
  18. package/skills/applying-slds/guidance/overviews/utilities.md +542 -0
  19. package/skills/applying-slds/guidance/slds-development-guide.md +288 -0
  20. package/skills/applying-slds/guidance/styling-hooks/borders.md +202 -0
  21. package/skills/applying-slds/guidance/styling-hooks/color/expressive-palette-hooks.md +153 -0
  22. package/skills/applying-slds/guidance/styling-hooks/color/index.md +171 -0
  23. package/skills/applying-slds/guidance/styling-hooks/color/semantic/accent-hooks.md +204 -0
  24. package/skills/applying-slds/guidance/styling-hooks/color/semantic/feedback-hooks.md +768 -0
  25. package/skills/applying-slds/guidance/styling-hooks/color/semantic/surface-hooks.md +337 -0
  26. package/skills/applying-slds/guidance/styling-hooks/color/system-hooks.md +132 -0
  27. package/skills/applying-slds/guidance/styling-hooks/index.md +327 -0
  28. package/skills/applying-slds/guidance/styling-hooks/shadows.md +238 -0
  29. package/skills/applying-slds/guidance/styling-hooks/spacing.md +254 -0
  30. package/skills/applying-slds/guidance/styling-hooks/typography.md +448 -0
  31. package/skills/applying-slds/guidance/utilities/alignment.md +119 -0
  32. package/skills/applying-slds/guidance/utilities/borders.md +131 -0
  33. package/skills/applying-slds/guidance/utilities/box.md +125 -0
  34. package/skills/applying-slds/guidance/utilities/color.md +165 -0
  35. package/skills/applying-slds/guidance/utilities/dark-mode.md +111 -0
  36. package/skills/applying-slds/guidance/utilities/description-list.md +168 -0
  37. package/skills/applying-slds/guidance/utilities/floats.md +117 -0
  38. package/skills/applying-slds/guidance/utilities/grid.md +264 -0
  39. package/skills/applying-slds/guidance/utilities/horizontal-list.md +110 -0
  40. package/skills/applying-slds/guidance/utilities/hyphenation.md +84 -0
  41. package/skills/applying-slds/guidance/utilities/index.md +205 -0
  42. package/skills/applying-slds/guidance/utilities/interactions.md +89 -0
  43. package/skills/applying-slds/guidance/utilities/layout.md +109 -0
  44. package/skills/applying-slds/guidance/utilities/line-clamp.md +131 -0
  45. package/skills/applying-slds/guidance/utilities/margin.md +155 -0
  46. package/skills/applying-slds/guidance/utilities/media-object.md +161 -0
  47. package/skills/applying-slds/guidance/utilities/name-value-list.md +152 -0
  48. package/skills/applying-slds/guidance/utilities/padding.md +155 -0
  49. package/skills/applying-slds/guidance/utilities/position.md +177 -0
  50. package/skills/applying-slds/guidance/utilities/print.md +114 -0
  51. package/skills/applying-slds/guidance/utilities/scrollable.md +126 -0
  52. package/skills/applying-slds/guidance/utilities/sizing.md +190 -0
  53. package/skills/applying-slds/guidance/utilities/themes.md +121 -0
  54. package/skills/applying-slds/guidance/utilities/truncate.md +127 -0
  55. package/skills/applying-slds/guidance/utilities/typography.md +166 -0
  56. package/skills/applying-slds/guidance/utilities/vertical-list.md +166 -0
  57. package/skills/applying-slds/guidance/utilities/visibility.md +228 -0
  58. package/skills/applying-slds/metadata/README.md +84 -0
  59. package/skills/applying-slds/metadata/blueprints/components/accordion.yaml +304 -0
  60. package/skills/applying-slds/metadata/blueprints/components/activity-timeline.yaml +92 -0
  61. package/skills/applying-slds/metadata/blueprints/components/alert.yaml +103 -0
  62. package/skills/applying-slds/metadata/blueprints/components/app-launcher.yaml +94 -0
  63. package/skills/applying-slds/metadata/blueprints/components/avatar-group.yaml +81 -0
  64. package/skills/applying-slds/metadata/blueprints/components/avatar.yaml +97 -0
  65. package/skills/applying-slds/metadata/blueprints/components/badges.yaml +102 -0
  66. package/skills/applying-slds/metadata/blueprints/components/brand-band.yaml +198 -0
  67. package/skills/applying-slds/metadata/blueprints/components/breadcrumbs.yaml +95 -0
  68. package/skills/applying-slds/metadata/blueprints/components/builder-header.yaml +192 -0
  69. package/skills/applying-slds/metadata/blueprints/components/button-groups.yaml +82 -0
  70. package/skills/applying-slds/metadata/blueprints/components/button-icons.yaml +295 -0
  71. package/skills/applying-slds/metadata/blueprints/components/buttons.yaml +230 -0
  72. package/skills/applying-slds/metadata/blueprints/components/cards.yaml +124 -0
  73. package/skills/applying-slds/metadata/blueprints/components/carousel.yaml +140 -0
  74. package/skills/applying-slds/metadata/blueprints/components/chat.yaml +179 -0
  75. package/skills/applying-slds/metadata/blueprints/components/checkbox-button-group.yaml +192 -0
  76. package/skills/applying-slds/metadata/blueprints/components/checkbox-button.yaml +204 -0
  77. package/skills/applying-slds/metadata/blueprints/components/checkbox-toggle.yaml +177 -0
  78. package/skills/applying-slds/metadata/blueprints/components/checkbox.yaml +108 -0
  79. package/skills/applying-slds/metadata/blueprints/components/color-picker.yaml +172 -0
  80. package/skills/applying-slds/metadata/blueprints/components/combobox.yaml +136 -0
  81. package/skills/applying-slds/metadata/blueprints/components/counter.yaml +147 -0
  82. package/skills/applying-slds/metadata/blueprints/components/data-tables.yaml +157 -0
  83. package/skills/applying-slds/metadata/blueprints/components/datepickers.yaml +130 -0
  84. package/skills/applying-slds/metadata/blueprints/components/datetime-picker.yaml +155 -0
  85. package/skills/applying-slds/metadata/blueprints/components/docked-composer.yaml +201 -0
  86. package/skills/applying-slds/metadata/blueprints/components/docked-form-footer.yaml +161 -0
  87. package/skills/applying-slds/metadata/blueprints/components/docked-utility-bar.yaml +175 -0
  88. package/skills/applying-slds/metadata/blueprints/components/drop-zone.yaml +115 -0
  89. package/skills/applying-slds/metadata/blueprints/components/dueling-picklist.yaml +196 -0
  90. package/skills/applying-slds/metadata/blueprints/components/dynamic-icons.yaml +128 -0
  91. package/skills/applying-slds/metadata/blueprints/components/dynamic-menu.yaml +141 -0
  92. package/skills/applying-slds/metadata/blueprints/components/expandable-section.yaml +115 -0
  93. package/skills/applying-slds/metadata/blueprints/components/expression.yaml +143 -0
  94. package/skills/applying-slds/metadata/blueprints/components/feeds.yaml +125 -0
  95. package/skills/applying-slds/metadata/blueprints/components/file-selector.yaml +154 -0
  96. package/skills/applying-slds/metadata/blueprints/components/files.yaml +119 -0
  97. package/skills/applying-slds/metadata/blueprints/components/form-element.yaml +145 -0
  98. package/skills/applying-slds/metadata/blueprints/components/global-header.yaml +120 -0
  99. package/skills/applying-slds/metadata/blueprints/components/global-navigation.yaml +100 -0
  100. package/skills/applying-slds/metadata/blueprints/components/icons.yaml +138 -0
  101. package/skills/applying-slds/metadata/blueprints/components/illustration.yaml +205 -0
  102. package/skills/applying-slds/metadata/blueprints/components/input.yaml +151 -0
  103. package/skills/applying-slds/metadata/blueprints/components/list-builder.yaml +127 -0
  104. package/skills/applying-slds/metadata/blueprints/components/lookups.yaml +132 -0
  105. package/skills/applying-slds/metadata/blueprints/components/map.yaml +118 -0
  106. package/skills/applying-slds/metadata/blueprints/components/menus.yaml +134 -0
  107. package/skills/applying-slds/metadata/blueprints/components/modals.yaml +152 -0
  108. package/skills/applying-slds/metadata/blueprints/components/notifications.yaml +88 -0
  109. package/skills/applying-slds/metadata/blueprints/components/page-headers.yaml +135 -0
  110. package/skills/applying-slds/metadata/blueprints/components/panels.yaml +149 -0
  111. package/skills/applying-slds/metadata/blueprints/components/path.yaml +154 -0
  112. package/skills/applying-slds/metadata/blueprints/components/picklist.yaml +125 -0
  113. package/skills/applying-slds/metadata/blueprints/components/pills.yaml +154 -0
  114. package/skills/applying-slds/metadata/blueprints/components/popovers.yaml +120 -0
  115. package/skills/applying-slds/metadata/blueprints/components/progress-bar.yaml +110 -0
  116. package/skills/applying-slds/metadata/blueprints/components/progress-indicator.yaml +133 -0
  117. package/skills/applying-slds/metadata/blueprints/components/progress-ring.yaml +102 -0
  118. package/skills/applying-slds/metadata/blueprints/components/prompt.yaml +126 -0
  119. package/skills/applying-slds/metadata/blueprints/components/publishers.yaml +178 -0
  120. package/skills/applying-slds/metadata/blueprints/components/radio-button-group.yaml +172 -0
  121. package/skills/applying-slds/metadata/blueprints/components/radio-group.yaml +112 -0
  122. package/skills/applying-slds/metadata/blueprints/components/rich-text-editor.yaml +135 -0
  123. package/skills/applying-slds/metadata/blueprints/components/scoped-notifications.yaml +188 -0
  124. package/skills/applying-slds/metadata/blueprints/components/scoped-tabs.yaml +97 -0
  125. package/skills/applying-slds/metadata/blueprints/components/select.yaml +127 -0
  126. package/skills/applying-slds/metadata/blueprints/components/setup-assistant.yaml +152 -0
  127. package/skills/applying-slds/metadata/blueprints/components/slider.yaml +111 -0
  128. package/skills/applying-slds/metadata/blueprints/components/spinners.yaml +135 -0
  129. package/skills/applying-slds/metadata/blueprints/components/split-view.yaml +112 -0
  130. package/skills/applying-slds/metadata/blueprints/components/summary-detail.yaml +103 -0
  131. package/skills/applying-slds/metadata/blueprints/components/tabs.yaml +138 -0
  132. package/skills/applying-slds/metadata/blueprints/components/textarea.yaml +116 -0
  133. package/skills/applying-slds/metadata/blueprints/components/tiles.yaml +108 -0
  134. package/skills/applying-slds/metadata/blueprints/components/timepicker.yaml +111 -0
  135. package/skills/applying-slds/metadata/blueprints/components/toast.yaml +154 -0
  136. package/skills/applying-slds/metadata/blueprints/components/tooltips.yaml +107 -0
  137. package/skills/applying-slds/metadata/blueprints/components/tree-grid.yaml +116 -0
  138. package/skills/applying-slds/metadata/blueprints/components/trees.yaml +116 -0
  139. package/skills/applying-slds/metadata/blueprints/components/trial-bar.yaml +112 -0
  140. package/skills/applying-slds/metadata/blueprints/components/vertical-navigation.yaml +130 -0
  141. package/skills/applying-slds/metadata/blueprints/components/vertical-tabs.yaml +140 -0
  142. package/skills/applying-slds/metadata/blueprints/components/visual-picker.yaml +150 -0
  143. package/skills/applying-slds/metadata/blueprints/components/welcome-mat.yaml +136 -0
  144. package/skills/applying-slds/metadata/hooks-index.json +6272 -0
  145. package/skills/applying-slds/metadata/icon-metadata.json +38466 -0
  146. package/skills/applying-slds/metadata/utilities-index.json +21912 -0
  147. package/skills/applying-slds/references/component-selection.md +112 -0
  148. package/skills/applying-slds/references/icons-decision-guide.md +124 -0
  149. package/skills/applying-slds/references/styling-decision-guide.md +228 -0
  150. package/skills/applying-slds/references/utilities-quick-ref.md +125 -0
  151. package/skills/applying-slds/scripts/search-blueprints.cjs +117 -0
  152. package/skills/applying-slds/scripts/search-hooks.cjs +139 -0
  153. package/skills/applying-slds/scripts/search-icons.cjs +174 -0
  154. package/skills/applying-slds/scripts/search-utilities.cjs +161 -0
  155. package/skills/building-mobile-apps/SKILL.md +0 -1
  156. package/skills/building-omnistudio-callable-apex/SKILL.md +0 -1
  157. package/skills/building-omnistudio-datamapper/SKILL.md +0 -1
  158. package/skills/building-omnistudio-flexcard/SKILL.md +0 -1
  159. package/skills/building-omnistudio-integration-procedure/SKILL.md +0 -1
  160. package/skills/building-omnistudio-omniscript/SKILL.md +0 -1
  161. package/skills/building-sf-integrations/SKILL.md +0 -1
  162. package/skills/configuring-connected-apps/SKILL.md +0 -1
  163. package/skills/connecting-datacloud/SKILL.md +0 -1
  164. package/skills/creating-b2b-commerce-store/SKILL.md +0 -1
  165. package/skills/debugging-apex-logs/SKILL.md +0 -1
  166. package/skills/deploying-metadata/SKILL.md +0 -1
  167. package/skills/deploying-omnistudio-datapacks/SKILL.md +0 -1
  168. package/skills/developing-agentforce/SKILL.md +0 -1
  169. package/skills/fetching-salesforce-docs/SKILL.md +0 -1
  170. package/skills/generating-custom-lightning-type/SKILL.md +17 -39
  171. package/skills/generating-custom-lightning-type/assets/primitive-types-and-constraints.md +41 -0
  172. package/skills/generating-custom-lightning-type/references/widget-rendition.md +124 -0
  173. package/skills/generating-lwc-components/SKILL.md +0 -1
  174. package/skills/generating-mermaid-diagrams/SKILL.md +0 -1
  175. package/skills/generating-visual-diagrams/SKILL.md +0 -1
  176. package/skills/handling-sf-data/SKILL.md +0 -1
  177. package/skills/harmonizing-datacloud/SKILL.md +0 -1
  178. package/skills/integrating-b2b-commerce-open-code-components/SKILL.md +0 -1
  179. package/skills/investigating-agentforce-architecture/README.md +156 -0
  180. package/skills/investigating-agentforce-architecture/SKILL.md +230 -0
  181. package/skills/investigating-agentforce-architecture/assets/cli/describe_sobject.yaml +16 -0
  182. package/skills/investigating-agentforce-architecture/assets/cli/describe_tooling_sobject.yaml +17 -0
  183. package/skills/investigating-agentforce-architecture/assets/cli/list_metadata_genaiprompttemplate.yaml +17 -0
  184. package/skills/investigating-agentforce-architecture/assets/cli/org_display.yaml +15 -0
  185. package/skills/investigating-agentforce-architecture/assets/cli/retrieve_genai_plugin.yaml +18 -0
  186. package/skills/investigating-agentforce-architecture/assets/cli/show_access_token.yaml +27 -0
  187. package/skills/investigating-agentforce-architecture/assets/mermaid/action_tree.mmd +20 -0
  188. package/skills/investigating-agentforce-architecture/assets/mermaid/data_flow.mmd +19 -0
  189. package/skills/investigating-agentforce-architecture/assets/mermaid/dependency_graph.mmd +19 -0
  190. package/skills/investigating-agentforce-architecture/assets/mermaid/invocation_sequence.mmd +20 -0
  191. package/skills/investigating-agentforce-architecture/assets/mermaid/planner_state.mmd +18 -0
  192. package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_ids.soql +3 -0
  193. package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_names.soql +3 -0
  194. package/skills/investigating-agentforce-architecture/assets/soql/bot_definition_details.soql +3 -0
  195. package/skills/investigating-agentforce-architecture/assets/soql/bot_version_lookup.soql +4 -0
  196. package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_by_ids.soql +3 -0
  197. package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_ids_by_names.soql +3 -0
  198. package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_view_by_durable_ids.soql +4 -0
  199. package/skills/investigating-agentforce-architecture/assets/soql/flow_metadata_by_id.soql +3 -0
  200. package/skills/investigating-agentforce-architecture/assets/soql/functions_by_plugins.soql +5 -0
  201. package/skills/investigating-agentforce-architecture/assets/soql/planner_attrs_by_parent_ids.soql +3 -0
  202. package/skills/investigating-agentforce-architecture/assets/soql/planner_bundle_functions.soql +3 -0
  203. package/skills/investigating-agentforce-architecture/assets/soql/planner_definition_by_agent_chain.soql +3 -0
  204. package/skills/investigating-agentforce-architecture/assets/soql/plugin_functions_by_plugin_ids.soql +3 -0
  205. package/skills/investigating-agentforce-architecture/assets/soql/plugin_instructions_by_plugin_ids.soql +3 -0
  206. package/skills/investigating-agentforce-architecture/assets/soql/plugins_by_planner.soql +4 -0
  207. package/skills/investigating-agentforce-architecture/references/architecture_sections.md +243 -0
  208. package/skills/investigating-agentforce-architecture/references/contract.json +244 -0
  209. package/skills/investigating-agentforce-architecture/references/soql_fields.md +512 -0
  210. package/skills/investigating-agentforce-architecture/scripts/_shared/__init__.py +1 -0
  211. package/skills/investigating-agentforce-architecture/scripts/_shared/fs_guard.py +329 -0
  212. package/skills/investigating-agentforce-architecture/scripts/_shared/paths.py +110 -0
  213. package/skills/investigating-agentforce-architecture/scripts/_shared/runtime.py +59 -0
  214. package/skills/investigating-agentforce-architecture/scripts/_shared/sql.py +10 -0
  215. package/skills/investigating-agentforce-architecture/scripts/cache_check.py +234 -0
  216. package/skills/investigating-agentforce-architecture/scripts/config.py +131 -0
  217. package/skills/investigating-agentforce-architecture/scripts/fetch_soql.py +689 -0
  218. package/skills/investigating-agentforce-architecture/scripts/finalize.py +295 -0
  219. package/skills/investigating-agentforce-architecture/scripts/main.py +2835 -0
  220. package/skills/investigating-agentforce-architecture/scripts/metadata_listing.py +265 -0
  221. package/skills/investigating-agentforce-architecture/scripts/parallel_retrieve.py +69 -0
  222. package/skills/investigating-agentforce-architecture/scripts/parse_bundle.py +215 -0
  223. package/skills/investigating-agentforce-architecture/scripts/parse_wave.py +845 -0
  224. package/skills/investigating-agentforce-architecture/scripts/probe_channels.py +302 -0
  225. package/skills/investigating-agentforce-architecture/scripts/render_architecture.py +1043 -0
  226. package/skills/investigating-agentforce-architecture/scripts/resolve_bot.py +255 -0
  227. package/skills/investigating-agentforce-architecture/scripts/resolve_invocation_target.py +130 -0
  228. package/skills/investigating-agentforce-architecture/scripts/rest_client.py +763 -0
  229. package/skills/investigating-agentforce-architecture/scripts/retrieve_planner.py +13 -0
  230. package/skills/investigating-agentforce-architecture/scripts/sf_cli.py +242 -0
  231. package/skills/investigating-agentforce-architecture/scripts/soql_loader.py +253 -0
  232. package/skills/investigating-agentforce-architecture/scripts/summarize_tree.py +143 -0
  233. package/skills/investigating-agentforce-architecture/scripts/tests/__init__.py +0 -0
  234. package/skills/investigating-agentforce-architecture/scripts/tests/_bootstrap.py +23 -0
  235. package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/__init__.py +0 -0
  236. package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/genai_payloads.py +400 -0
  237. package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check.py +307 -0
  238. package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check_main.py +283 -0
  239. package/skills/investigating-agentforce-architecture/scripts/tests/test_config.py +115 -0
  240. package/skills/investigating-agentforce-architecture/scripts/tests/test_end_to_end_fixture.py +651 -0
  241. package/skills/investigating-agentforce-architecture/scripts/tests/test_finalize.py +278 -0
  242. package/skills/investigating-agentforce-architecture/scripts/tests/test_flow_children_inflation.py +582 -0
  243. package/skills/investigating-agentforce-architecture/scripts/tests/test_fs_guard.py +113 -0
  244. package/skills/investigating-agentforce-architecture/scripts/tests/test_iterative_wave_b.py +478 -0
  245. package/skills/investigating-agentforce-architecture/scripts/tests/test_main_pipeline.py +3359 -0
  246. package/skills/investigating-agentforce-architecture/scripts/tests/test_parallel_retrieve.py +131 -0
  247. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_bundle.py +400 -0
  248. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave.py +644 -0
  249. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_classifiers.py +224 -0
  250. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_helpers.py +380 -0
  251. package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_main.py +397 -0
  252. package/skills/investigating-agentforce-architecture/scripts/tests/test_per_branch_visited.py +244 -0
  253. package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_channels.py +359 -0
  254. package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_cli_recipes.py +185 -0
  255. package/skills/investigating-agentforce-architecture/scripts/tests/test_render_architecture.py +810 -0
  256. package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_bot.py +203 -0
  257. package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_creds.py +157 -0
  258. package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_invocation_target.py +145 -0
  259. package/skills/investigating-agentforce-architecture/scripts/tests/test_rest_client.py +1253 -0
  260. package/skills/investigating-agentforce-architecture/scripts/tests/test_runtime_override.py +100 -0
  261. package/skills/investigating-agentforce-architecture/scripts/tests/test_sf_cli.py +261 -0
  262. package/skills/investigating-agentforce-architecture/scripts/tests/test_signature_stamping.py +466 -0
  263. package/skills/investigating-agentforce-architecture/scripts/tests/test_soql_loader.py +501 -0
  264. package/skills/investigating-agentforce-architecture/scripts/tests/test_summarize_tree.py +241 -0
  265. package/skills/investigating-agentforce-architecture/scripts/tests/test_write_emit_ctx.py +480 -0
  266. package/skills/investigating-agentforce-architecture/tools/emit_env.py +157 -0
  267. package/skills/investigating-agentforce-architecture/tools/emit_result.py +262 -0
  268. package/skills/investigating-agentforce-architecture/tools/sanitize.py +33 -0
  269. package/skills/investigating-agentforce-architecture/tools/write_emit_ctx.py +332 -0
  270. package/skills/investigating-agentforce-d360/README.md +123 -0
  271. package/skills/investigating-agentforce-d360/SKILL.md +163 -0
  272. package/skills/investigating-agentforce-d360/assets/dc/app_generation.sql +51 -0
  273. package/skills/investigating-agentforce-d360/assets/dc/content_category.sql +44 -0
  274. package/skills/investigating-agentforce-d360/assets/dc/content_quality.sql +41 -0
  275. package/skills/investigating-agentforce-d360/assets/dc/discover_sessions.sql +36 -0
  276. package/skills/investigating-agentforce-d360/assets/dc/feedback.sql +47 -0
  277. package/skills/investigating-agentforce-d360/assets/dc/feedback_details.sql +38 -0
  278. package/skills/investigating-agentforce-d360/assets/dc/gateway_records.sql +45 -0
  279. package/skills/investigating-agentforce-d360/assets/dc/gateway_request_llm.sql +50 -0
  280. package/skills/investigating-agentforce-d360/assets/dc/gateway_request_metadata.sql +44 -0
  281. package/skills/investigating-agentforce-d360/assets/dc/gateway_request_tags.sql +42 -0
  282. package/skills/investigating-agentforce-d360/assets/dc/gateway_requests.sql +89 -0
  283. package/skills/investigating-agentforce-d360/assets/dc/gateway_responses.sql +43 -0
  284. package/skills/investigating-agentforce-d360/assets/dc/generations.sql +52 -0
  285. package/skills/investigating-agentforce-d360/assets/dc/interactions.sql +53 -0
  286. package/skills/investigating-agentforce-d360/assets/dc/messages.sql +53 -0
  287. package/skills/investigating-agentforce-d360/assets/dc/messaging_session.sql +37 -0
  288. package/skills/investigating-agentforce-d360/assets/dc/moment_interactions.sql +34 -0
  289. package/skills/investigating-agentforce-d360/assets/dc/moments.sql +39 -0
  290. package/skills/investigating-agentforce-d360/assets/dc/participants.sql +48 -0
  291. package/skills/investigating-agentforce-d360/assets/dc/sessions.sql +78 -0
  292. package/skills/investigating-agentforce-d360/assets/dc/steps.sql +64 -0
  293. package/skills/investigating-agentforce-d360/assets/dc/tag_associations.sql +46 -0
  294. package/skills/investigating-agentforce-d360/assets/dc/tag_definition_associations.sql +37 -0
  295. package/skills/investigating-agentforce-d360/assets/dc/tag_definitions.sql +50 -0
  296. package/skills/investigating-agentforce-d360/assets/dc/tags.sql +37 -0
  297. package/skills/investigating-agentforce-d360/assets/dc/telemetry_spans.sql +55 -0
  298. package/skills/investigating-agentforce-d360/references/artifacts.md +50 -0
  299. package/skills/investigating-agentforce-d360/references/dc_dmo_fields.md +823 -0
  300. package/skills/investigating-agentforce-d360/references/dc_pipeline_contract.md +608 -0
  301. package/skills/investigating-agentforce-d360/scripts/_shared/__init__.py +2 -0
  302. package/skills/investigating-agentforce-d360/scripts/_shared/cli_override.py +98 -0
  303. package/skills/investigating-agentforce-d360/scripts/_shared/fs_guard.py +334 -0
  304. package/skills/investigating-agentforce-d360/scripts/_shared/paths.py +155 -0
  305. package/skills/investigating-agentforce-d360/scripts/_shared/runtime.py +59 -0
  306. package/skills/investigating-agentforce-d360/scripts/_shared/sql.py +14 -0
  307. package/skills/investigating-agentforce-d360/scripts/assemble_dc.py +1624 -0
  308. package/skills/investigating-agentforce-d360/scripts/config.py +45 -0
  309. package/skills/investigating-agentforce-d360/scripts/dc.py +188 -0
  310. package/skills/investigating-agentforce-d360/scripts/discover_sessions.py +556 -0
  311. package/skills/investigating-agentforce-d360/scripts/fetch_dc.py +1045 -0
  312. package/skills/investigating-agentforce-d360/scripts/render_dc.py +1750 -0
  313. package/skills/investigating-agentforce-d360/scripts/resolve_session.py +264 -0
  314. package/skills/investigating-agentforce-d360/scripts/storage.py +92 -0
  315. package/skills/investigating-agentforce-d360/scripts/tests/__init__.py +0 -0
  316. package/skills/investigating-agentforce-d360/scripts/tests/_bootstrap.py +15 -0
  317. package/skills/investigating-agentforce-d360/scripts/tests/fixtures/__init__.py +0 -0
  318. package/skills/investigating-agentforce-d360/scripts/tests/fixtures/synthetic_session.py +424 -0
  319. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_bootstrap_and_mode.py +115 -0
  320. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct.py +220 -0
  321. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct_integration.py +158 -0
  322. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_helpers.py +287 -0
  323. package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_integration.py +247 -0
  324. package/skills/investigating-agentforce-d360/scripts/tests/test_dc_and_resolve_session.py +433 -0
  325. package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions.py +458 -0
  326. package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions_grep_ci.py +193 -0
  327. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_helpers.py +266 -0
  328. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_identity.py +528 -0
  329. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_main.py +251 -0
  330. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall.py +229 -0
  331. package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall_full.py +283 -0
  332. package/skills/investigating-agentforce-d360/scripts/tests/test_identity_coherence.py +327 -0
  333. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_branches.py +256 -0
  334. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_gateway_direct.py +130 -0
  335. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_helpers.py +291 -0
  336. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_integration.py +220 -0
  337. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_planner_llm_calls.py +284 -0
  338. package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_show_prompts_gating.py +215 -0
  339. package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_from_disk.py +100 -0
  340. package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_session_main.py +149 -0
  341. package/skills/investigating-agentforce-d360/scripts/tests/test_runtime_override.py +104 -0
  342. package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape.py +95 -0
  343. package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape_dropped_by_stdm.py +85 -0
  344. package/skills/managing-managed-event-subscription/SKILL.md +152 -0
  345. package/skills/managing-managed-event-subscription/assets/managed-event-subscription-template.xml +20 -0
  346. package/skills/managing-managed-event-subscription/references/delete-guide.md +57 -0
  347. package/skills/managing-managed-event-subscription/references/topic-name-formats.md +26 -0
  348. package/skills/managing-managed-event-subscription/references/update-constraints.md +30 -0
  349. package/skills/modeling-omnistudio-epc-catalog/SKILL.md +0 -1
  350. package/skills/observing-agentforce/SKILL.md +0 -1
  351. package/skills/orchestrating-datacloud/SKILL.md +0 -1
  352. package/skills/preparing-datacloud/SKILL.md +0 -1
  353. package/skills/querying-soql/SKILL.md +0 -1
  354. package/skills/retrieving-datacloud/SKILL.md +0 -1
  355. package/skills/running-apex-tests/SKILL.md +0 -1
  356. package/skills/running-code-analyzer/SKILL.md +0 -1
  357. package/skills/segmenting-datacloud/SKILL.md +0 -1
  358. package/skills/testing-agentforce/SKILL.md +0 -1
  359. package/skills/uplifting-components-to-slds2/SKILL.md +3 -2
  360. package/skills/uplifting-components-to-slds2/references/color-hooks-decision-guide.md +30 -9
  361. package/skills/uplifting-components-to-slds2/references/examples.md +24 -6
  362. package/skills/validating-slds/SKILL.md +262 -0
  363. package/skills/validating-slds/references/quality-checks.md +308 -0
  364. package/skills/validating-slds/references/report-format.md +302 -0
  365. package/skills/validating-slds/scripts/analyze-quality.cjs +521 -0
@@ -0,0 +1,768 @@
1
+ ---
2
+ id: slds.guidance.hooks.color.feedback
3
+ title: Feedback Color Styling Hooks
4
+ description: Semantic hooks for error, warning, success, info, and disabled states
5
+ summary: "Guidance for feedback color hooks that convey status and state. Covers error, warning, success, info, and disabled colors with their strict semantic meanings and proper usage contexts."
6
+
7
+ artifact_type: reference
8
+ domain: styling-hooks
9
+ topic: color
10
+ subtopic: semantic
11
+
12
+ content_format: structured
13
+ complexity: intermediate
14
+ audience: [implementer]
15
+
16
+ tasks: [choose, implement, troubleshoot]
17
+
18
+ refs:
19
+ - slds.guidance.hooks.color
20
+ - slds.guidance.hooks.color.accent
21
+ - slds.guidance.hooks.color.surface
22
+ - slds.guidance.hooks.borders
23
+ tags: [styling-hooks, color, semantic, feedback, error, warning, success, info, disabled]
24
+ keywords: [error color, warning color, success color, info color, disabled color, status indicators, form validation, alerts]
25
+ ---
26
+
27
+ # Feedback Color Styling Hooks
28
+
29
+ > **Hook Selection:** Semantic hooks like feedback are the first choice (85% of use cases). See [Hook Selection Hierarchy](ref:slds.guidance.hooks.color).
30
+
31
+ ## Overview
32
+
33
+ Feedback or alert colors provide visual feedback to the user regarding the status of an action or event. These colors are intentionally reserved to convey specific associations throughout the Salesforce UI. Only use feedback colors for their intended meaning so users have clear color associations throughout all of Salesforce products.
34
+
35
+ | **Color** | **Meaning** |
36
+ |-------------|---------------------------------------------------------------------------|
37
+ | Error | An error that needs to be addressed before progressing |
38
+ | Warning | A warning of potential issues the user needs to be aware of |
39
+ | Success | A positive or successful action or outcome |
40
+ | Info | Convey non-critical information to users |
41
+ | Disabled | Indicates that a component is unavailable |
42
+
43
+ ---
44
+
45
+ ## Understanding Feedback Hook Variants
46
+
47
+ ### The 1-2 Pattern
48
+ Feedback hooks that include `-1` and `-2` variants follow this pattern:
49
+ - **`-1`**: Default state (lighter color, lower emphasis)
50
+ - **`-2`**: Hover/active state OR higher emphasis state (darker color, higher emphasis)
51
+
52
+ ### Why Some Feedback Types Lack Variants
53
+
54
+ Not all feedback categories have `-2` variants. This is **intentional** and based on component availability in SLDS2:
55
+
56
+ | Feedback Type | Has `-2` Variant? | Reason |
57
+ |--------------|-------------------|--------|
58
+ | Error | Yes (container, border, on-error) | SLDS2 includes error/destructive buttons requiring hover states |
59
+ | Success | Yes (container, border, on-success) | SLDS2 includes success buttons requiring hover states |
60
+ | Warning | No (except border-1) | SLDS2 has no warning buttons; used for form validation and static alerts |
61
+ | Info | No | SLDS2 has no info buttons; only static badges, icons, and alert containers |
62
+ | Disabled | Yes (container, on-disabled) | Multiple disabled states for different visual weights |
63
+
64
+ **Future-proofing**: If interactive warning or info components (such as warning buttons) are added to SLDS2 in future releases, corresponding `-2` variants may be introduced for hover states.
65
+
66
+ ---
67
+
68
+ ## `--slds-g-color-error-1`
69
+
70
+ ### Description
71
+ Primary error color that indicates errors requiring user attention before progressing.
72
+
73
+ ### Usage
74
+
75
+ #### Do
76
+ - Use error-1 for indicating errors in forms and validation messages
77
+ - Use error-1 for critical error states requiring immediate attention
78
+ - Use error-1 for error icons and text on neutral backgrounds
79
+ - Use error-1 to signal blocking issues that prevent progression
80
+ - Use error-1 for destructive action text (delete, remove)
81
+
82
+ #### Don't
83
+ - Avoid using for large background areas (use error-container instead)
84
+ - Avoid using for non-error contexts or decorative purposes
85
+ - Avoid using without ensuring proper contrast
86
+ - Avoid using as the only indicator of an error (always pair with text or icons)
87
+ - Avoid using system colors or colors from another group like surface colors in combination with error colors
88
+
89
+ #### Context
90
+ - Form validation error text
91
+ - Error icons on neutral backgrounds
92
+ - Destructive action button text or icons
93
+ - Error message text on light backgrounds
94
+ - Critical system notification text
95
+
96
+ ### Accessibility
97
+ - All error colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
98
+ - Best paired with on-error colors for foreground text and icons on error backgrounds. When used as foreground on neutral surfaces, ensure proper contrast is maintained
99
+
100
+ ---
101
+
102
+ ## `--slds-g-color-error-container-*`
103
+
104
+ ### Description
105
+ Error background colors for containers that communicate error states with varying levels of emphasis.
106
+
107
+ ### Available Hooks
108
+ - `--slds-g-color-error-container-1` - Light error background for subtle emphasis
109
+ - `--slds-g-color-error-container-2` - Medium error background for higher emphasis
110
+
111
+ ### State Progression Logic
112
+
113
+ Error container variants follow a state progression pattern for interactive destructive elements:
114
+ - **`error-container-1`**: Light error background for non-interactive error messages, alerts, and banners
115
+ - **`error-container-2`**: Medium error background for destructive button default states, or hover states when starting from container-1
116
+
117
+ **Typical pattern for destructive buttons**: Use `error-container-2` as the default background, with darker borders or overlays for hover/active states (handled by component-level hooks).
118
+
119
+ ### Usage
120
+
121
+ #### Do
122
+ - Use error container colors for error alert backgrounds and error message containers
123
+ - Use error container colors for error banners and toast notifications
124
+ - Use error-container-2 for destructive button backgrounds
125
+ - Use error container colors for hover/focus/active states of error-related containers
126
+
127
+ #### Don't
128
+ - Avoid using for non-error contexts
129
+ - Avoid using without specific error communication requirements
130
+ - Avoid mixing with non-error semantic colors
131
+ - Avoid using system colors or colors from another group like surface colors in combination with error container colors
132
+
133
+ #### Context
134
+ - Error alert backgrounds
135
+ - Error message containers
136
+ - Destructive button backgrounds
137
+ - Error banner backgrounds
138
+ - Error toast notifications
139
+
140
+ ### Accessibility
141
+ - All container colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
142
+ - Best paired with on-error colors for foreground text and icons. Choose on-error level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-error-container-1` with `--slds-g-color-on-error-1` for consistency, though other on-error levels may be used based on emphasis needs while maintaining accessibility compliance
143
+
144
+ ---
145
+
146
+ ## `--slds-g-color-border-error-*`
147
+
148
+ ### Description
149
+ Error border colors for visual emphasis of error states with varying levels of emphasis.
150
+
151
+ ### Available Hooks
152
+ - `--slds-g-color-border-error-1` - Primary error border color
153
+ - `--slds-g-color-border-error-2` - Darker error border for increased emphasis
154
+
155
+ ### State Progression Logic
156
+
157
+ Border error variants follow standard emphasis patterns:
158
+ - **`border-error-1`**: Default error border for standard error states
159
+ - **`border-error-2`**: Higher emphasis error border for increased visual weight or interactive hover states
160
+
161
+ **Typical usage**: Use `-1` for default error borders, and `-2` when higher visual emphasis is needed or for interactive state changes.
162
+
163
+ ### Usage
164
+
165
+ #### Do
166
+ - Use border-error hooks for error form field borders
167
+ - Use border-error hooks for error container outlines
168
+ - Use border-error hooks to create visual emphasis for error states
169
+ - Use border-error hooks for focus indicators on error elements
170
+ - Use border-error hooks independently or paired with an error container color
171
+ - Use border-error-2 for high-emphasis error borders and destructive actions
172
+
173
+ #### Don't
174
+ - Avoid using for large background areas (borders should define, not fill)
175
+ - Avoid using without ensuring proper contrast
176
+ - Avoid using as the only indicator of an error
177
+ - Avoid using non-border error colors on borders to achieve a border with an error color
178
+
179
+ #### Context
180
+ - Error form field borders
181
+ - Error container outlines
182
+ - Error element indicators
183
+ - Validation error borders
184
+ - Destructive button outlines (border-error-2)
185
+
186
+ ### Accessibility
187
+ - All border error colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background
188
+ - Works best on neutral backgrounds or paired with matching error container colors
189
+ - Maintains visibility and consistency when paired with `--slds-g-sizing-border-*` sizing hooks
190
+
191
+ ---
192
+
193
+ ## `--slds-g-color-on-error-*`
194
+
195
+ ### Description
196
+ Foreground colors for content placed on error backgrounds, with varying emphasis levels.
197
+
198
+ ### Available Hooks
199
+ - `--slds-g-color-on-error-1` - Foreground for error-container-1 backgrounds
200
+ - `--slds-g-color-on-error-2` - Darker foreground for error-container-2 backgrounds
201
+
202
+ ### Usage
203
+
204
+ #### Do
205
+ - Use on-error colors for text placed on error container backgrounds
206
+ - Use on-error colors for icons displayed on error backgrounds
207
+ - Use on-error-1 as error text color on neutral surfaces
208
+ - Pair on-error colors with the corresponding error container color
209
+ - Use on-error-2 for destructive button text on error-container-2
210
+
211
+ #### Don't
212
+ - Avoid using on non-error backgrounds without verification
213
+ - Avoid using for decorative elements that don't require readability
214
+ - Avoid mixing on-error-1 with error-container-2 or vice versa
215
+ - Avoid mixing with non-matching error backgrounds
216
+
217
+ #### Context
218
+ - Text on error container backgrounds
219
+ - Icons on error surfaces
220
+ - Error message text
221
+ - Destructive button text
222
+
223
+ ### Accessibility
224
+ - All on-error colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background
225
+ - Works best paired with a corresponding error background color. Choose on-error level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-on-error-1` with `--slds-g-color-error-1` or `--slds-g-color-error-container-1` for consistency, though other pairings may be used based on emphasis needs while maintaining accessibility compliance
226
+
227
+ ---
228
+
229
+ ## `--slds-g-color-warning-1`
230
+
231
+ ### Description
232
+ Primary warning color that indicates potential issues requiring user awareness.
233
+
234
+ > **Why no `-2` variant?** Warning hooks lack a `-2` variant because SLDS2 currently has no interactive warning button components. The `-1` variant serves non-interactive elements like static warning icons, badges, and alert containers. If warning buttons become interactive in future releases, a `-2` variant may be added for hover states.
235
+
236
+ ### Usage
237
+
238
+ #### Do
239
+ - Use warning-1 for indicating warnings and cautions
240
+ - Use warning-1 for alerting users to potential issues
241
+ - Use warning-1 for warning icons and text on neutral backgrounds
242
+ - Use warning-1 to signal non-blocking issues requiring attention
243
+ - Use warning-1 for informing users of consequences before actions
244
+
245
+ #### Don't
246
+ - Avoid using for large background areas (use warning-container instead)
247
+ - Avoid using for non-warning contexts or decorative purposes
248
+ - Avoid using without ensuring proper contrast
249
+ - Avoid using as the only indicator of a warning (always pair with text or icons)
250
+ - Avoid using system colors or colors from another group like surface colors in combination with warning colors
251
+
252
+ #### Context
253
+ - Warning message text
254
+ - Caution indicators
255
+ - Warning icons on neutral backgrounds
256
+ - Pre-action warning text
257
+ - Non-critical system notification text
258
+ - **Note**: If a warning icon is interactive (clickable, shows tooltip), it should be treated as a **button icon** component and use button icon coloring for hover states, not these standalone warning hooks
259
+
260
+ ### Accessibility
261
+ - All warning colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
262
+ - Best paired with on-warning colors when used on warning backgrounds
263
+
264
+ ---
265
+
266
+ ## `--slds-g-color-warning-container-1`
267
+
268
+ ### Description
269
+ Light warning background color for containers that communicate warning states.
270
+
271
+ ### Usage
272
+
273
+ #### Do
274
+ - Use warning-container-1 for warning alert backgrounds
275
+ - Use warning-container-1 for warning banners and toast notifications
276
+ - Use warning-container-1 for caution message containers
277
+ - Pair warning-container-1 with `--slds-g-color-on-warning-1` for foreground content
278
+
279
+ #### Don't
280
+ - Avoid using for non-warning contexts
281
+ - Avoid using without specific warning communication requirements
282
+ - Avoid mixing with non-warning semantic colors
283
+ - Avoid using system colors or colors from another group like surface colors in combination with warning container colors
284
+
285
+ #### Context
286
+ - Warning alert backgrounds
287
+ - Warning message containers
288
+ - Caution banner backgrounds
289
+ - Warning toast notifications
290
+
291
+ ### Accessibility
292
+ - AA compliant when paired with on-warning-1
293
+ - Best paired with on-warning colors for foreground text and icons. Choose on-warning level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-warning-container-1` with `--slds-g-color-on-warning-1` for consistency, though other on-warning levels may be used based on emphasis needs while maintaining accessibility compliance
294
+
295
+ ---
296
+
297
+ ## `--slds-g-color-border-warning-1`
298
+
299
+ ### Description
300
+ Warning border color for visual emphasis of warning states.
301
+
302
+ ### Usage
303
+
304
+ #### Do
305
+ - Use border-warning-1 for warning form field borders
306
+ - Use border-warning-1 for warning container outlines
307
+ - Use border-warning-1 to create visual emphasis for warning states
308
+ - Use border-warning-1 for focus indicators on warning elements
309
+ - Use border-warning-1 independently or paired with a warning container color
310
+
311
+ #### Don't
312
+ - Avoid using for large background areas (borders should define, not fill)
313
+ - Avoid using without ensuring proper contrast
314
+ - Avoid using as the only indicator of a warning
315
+ - Avoid using non-border warning colors on borders to achieve a border with a warning color
316
+
317
+ #### Context
318
+ - Warning form field borders
319
+ - Warning container outlines
320
+ - Warning element indicators
321
+ - Caution borders
322
+ - **Note**: This hook was added to support form validation patterns. Unlike error/success, there is no `border-warning-2` since warning states don't typically have interactive hover requirements in current SLDS2 components.
323
+
324
+ ### Accessibility
325
+ - All border warning colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background
326
+ - Works best on neutral backgrounds or paired with matching warning container colors
327
+ - Maintains visibility and consistency when paired with `--slds-g-sizing-border-*` sizing hooks
328
+
329
+ ---
330
+
331
+ ## `--slds-g-color-on-warning-1`
332
+
333
+ ### Description
334
+ Foreground color for content placed on warning backgrounds or for warning text on light surfaces.
335
+
336
+ ### Usage
337
+
338
+ #### Do
339
+ - Use on-warning-1 for text placed on `--slds-g-color-warning-container-1` backgrounds
340
+ - Use on-warning-1 for icons displayed on warning backgrounds
341
+ - Use on-warning-1 as warning text color on neutral surfaces
342
+ - Pair on-warning-1 with the corresponding warning background color
343
+
344
+ #### Don't
345
+ - Avoid using on non-warning backgrounds without verification
346
+ - Avoid using for decorative elements that don't require readability
347
+ - Avoid mixing with non-matching warning backgrounds
348
+
349
+ #### Context
350
+ - Text on warning-container-1 backgrounds
351
+ - Icons on warning surfaces
352
+ - Warning message text
353
+
354
+ ### Accessibility
355
+ - AA compliant when paired with warning-container-1 backgrounds
356
+ - Works best paired with a corresponding warning background color. Choose on-warning level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-on-warning-1` with `--slds-g-color-warning-1` or `--slds-g-color-warning-container-1` for consistency, though other pairings may be used based on emphasis needs while maintaining accessibility compliance
357
+
358
+ ---
359
+
360
+ ## `--slds-g-color-success-1`
361
+
362
+ ### Description
363
+ Primary success color that indicates positive outcomes and successful actions.
364
+
365
+ ### Usage
366
+
367
+ #### Do
368
+ - Use success-1 for indicating successful operations and confirmations
369
+ - Use success-1 for positive feedback and completion states
370
+ - Use success-1 for success icons and text on neutral backgrounds
371
+ - Use success-1 to signal successful outcomes and achievements
372
+ - Use success-1 for confirming actions were completed
373
+
374
+ #### Don't
375
+ - Avoid using for large background areas (use success-container instead)
376
+ - Avoid using for non-success contexts or decorative purposes
377
+ - Avoid using without ensuring proper contrast
378
+ - Avoid using as the only indicator of success (always pair with text or icons)
379
+ - Avoid using system colors or colors from another group like surface colors in combination with success colors
380
+
381
+ #### Context
382
+ - Success message text
383
+ - Confirmation indicators
384
+ - Success icons on neutral backgrounds
385
+ - Completion state text
386
+ - Positive system notification text
387
+
388
+ ### Accessibility
389
+ - All success colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
390
+ - Best paired with on-success colors when used on success backgrounds
391
+
392
+ ---
393
+
394
+ ## `--slds-g-color-success-container-*`
395
+
396
+ ### Description
397
+ Success background colors for containers that communicate success states with varying levels of emphasis.
398
+
399
+ ### Available Hooks
400
+ - `--slds-g-color-success-container-1` - Light success background for subtle emphasis
401
+ - `--slds-g-color-success-container-2` - Medium success background for higher emphasis
402
+
403
+ ### State Progression Logic
404
+
405
+ Success container variants follow a state progression pattern for interactive confirmation elements:
406
+ - **`success-container-1`**: Light success background for non-interactive success messages, alerts, and banners
407
+ - **`success-container-2`**: Medium success background for confirmation button default states, or hover states when starting from container-1
408
+
409
+ **Typical pattern for confirmation buttons**: Use `success-container-2` as the default background, with darker borders or overlays for hover/active states (handled by component-level hooks).
410
+
411
+ ### Usage
412
+
413
+ #### Do
414
+ - Use success container colors for success alert backgrounds and success message containers
415
+ - Use success container colors for success banners and toast notifications
416
+ - Use success-container-2 for confirmation button backgrounds
417
+ - Use success container colors for hover/focus/active states of success-related containers
418
+
419
+ #### Don't
420
+ - Avoid using for non-success contexts
421
+ - Avoid using without specific success communication requirements
422
+ - Avoid mixing with non-success semantic colors
423
+ - Avoid using system colors or colors from another group like surface colors in combination with success container colors
424
+
425
+ #### Context
426
+ - Success alert backgrounds
427
+ - Success message containers
428
+ - Confirmation button backgrounds
429
+ - Success banner backgrounds
430
+ - Success toast notifications
431
+
432
+ ### Accessibility
433
+ - All container colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
434
+ - Best paired with on-success colors for foreground text and icons. Choose on-success level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-success-container-1` with `--slds-g-color-on-success-1` for consistency, though other on-success levels may be used based on emphasis needs while maintaining accessibility compliance
435
+
436
+ ---
437
+
438
+ ## `--slds-g-color-border-success-*`
439
+
440
+ ### Description
441
+ Success border colors for visual emphasis of success states with varying levels of emphasis.
442
+
443
+ ### Available Hooks
444
+ - `--slds-g-color-border-success-1` - Primary success border color
445
+ - `--slds-g-color-border-success-2` - Darker success border for increased emphasis
446
+
447
+ ### State Progression Logic
448
+
449
+ Border success variants follow standard emphasis patterns:
450
+ - **`border-success-1`**: Default success border for standard success states
451
+ - **`border-success-2`**: Higher emphasis success border for increased visual weight or interactive hover states
452
+
453
+ **Typical usage**: Use `-1` for default success borders, and `-2` when higher visual emphasis is needed or for interactive state changes.
454
+
455
+ ### Usage
456
+
457
+ #### Do
458
+ - Use border-success hooks for success form field borders
459
+ - Use border-success hooks for success container outlines
460
+ - Use border-success hooks to create visual emphasis for success states
461
+ - Use border-success hooks for focus indicators on success elements
462
+ - Use border-success hooks independently or paired with a success container color
463
+ - Use border-success-2 for high-emphasis success borders
464
+
465
+ #### Don't
466
+ - Avoid using for large background areas (borders should define, not fill)
467
+ - Avoid using without ensuring proper contrast
468
+ - Avoid using as the only indicator of success
469
+ - Avoid using non-border success colors on borders to achieve a border with a success color
470
+
471
+ #### Context
472
+ - Success form field borders
473
+ - Success container outlines
474
+ - Success element indicators
475
+ - Confirmation borders
476
+ - Emphasized confirmation outlines (border-success-2)
477
+
478
+ ### Accessibility
479
+ - All border success colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background
480
+ - Works best on neutral backgrounds or paired with matching success container colors
481
+ - Maintains visibility and consistency when paired with `--slds-g-sizing-border-*` sizing hooks
482
+
483
+ ---
484
+
485
+ ## `--slds-g-color-on-success-*`
486
+
487
+ ### Description
488
+ Foreground colors for content placed on success backgrounds, with varying emphasis levels.
489
+
490
+ ### Available Hooks
491
+ - `--slds-g-color-on-success-1` - Foreground for success-container-1 backgrounds
492
+ - `--slds-g-color-on-success-2` - Darker foreground for success-container-2 backgrounds
493
+
494
+ ### Usage
495
+
496
+ #### Do
497
+ - Use on-success colors for text placed on success container backgrounds
498
+ - Use on-success colors for icons displayed on success backgrounds
499
+ - Use on-success-1 as success text color on neutral surfaces
500
+ - Pair on-success colors with the corresponding success container color
501
+ - Use on-success-2 for confirmation button text on success-container-2
502
+
503
+ #### Don't
504
+ - Avoid using on non-success backgrounds without verification
505
+ - Avoid using for decorative elements that don't require readability
506
+ - Avoid mixing on-success-1 with success-container-2 or vice versa
507
+ - Avoid mixing with non-matching success backgrounds
508
+
509
+ #### Context
510
+ - Text on success container backgrounds
511
+ - Icons on success surfaces
512
+ - Success message text
513
+ - Confirmation button text
514
+
515
+ ### Accessibility
516
+ - All on-success colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background
517
+ - Works best paired with a corresponding success background color. Choose on-success level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-on-success-1` with `--slds-g-color-success-1` or `--slds-g-color-success-container-1` for consistency, though other pairings may be used based on emphasis needs while maintaining accessibility compliance
518
+
519
+ ---
520
+
521
+ ## `--slds-g-color-info-1`
522
+
523
+ ### Description
524
+ Primary info color that conveys non-critical information to users.
525
+
526
+ > **Why no `-2` variant?** Info hooks lack a `-2` variant because SLDS2 currently has no interactive info button components. The `-1` variant serves non-interactive elements like static info badges, icons, and alert containers. If info buttons become interactive in future releases, a `-2` variant may be added for hover states.
527
+
528
+ ### Usage
529
+
530
+ #### Do
531
+ - Use info-1 for indicating informational messages
532
+ - Use info-1 for helpful tips and guidance
533
+ - Use info-1 for info icons and text on neutral backgrounds
534
+ - Use info-1 to signal non-critical information
535
+ - Use info-1 for educational or contextual content
536
+
537
+ #### Don't
538
+ - Avoid using for large background areas (use info-container instead)
539
+ - Avoid using for non-informational contexts or decorative purposes
540
+ - Avoid using without ensuring proper contrast
541
+ - Avoid using as the only indicator of information (always pair with text or icons)
542
+ - Avoid using system colors or colors from another group like surface colors in combination with info colors
543
+
544
+ #### Context
545
+ - Informational message text
546
+ - Help text and tooltips
547
+ - Info icons on neutral backgrounds
548
+ - Contextual guidance text
549
+ - Educational notification text
550
+ - **Note**: If an info icon is interactive (clickable, shows tooltip), it should be treated as a **button icon** component and use button icon coloring for hover states, not these standalone info hooks
551
+
552
+ ### Accessibility
553
+ - All info colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
554
+ - Best paired with on-info colors when used on info backgrounds
555
+
556
+ ---
557
+
558
+ ## `--slds-g-color-info-container-1`
559
+
560
+ ### Description
561
+ Light info background color for containers that communicate informational states.
562
+
563
+ ### Usage
564
+
565
+ #### Do
566
+ - Use info-container-1 for info alert backgrounds
567
+ - Use info-container-1 for info banners and toast notifications
568
+ - Use info-container-1 for help panel backgrounds
569
+ - Pair info-container-1 with `--slds-g-color-on-info-1` for foreground content
570
+
571
+ #### Don't
572
+ - Avoid using for non-informational contexts
573
+ - Avoid using without specific informational communication requirements
574
+ - Avoid mixing with non-info semantic colors
575
+ - Avoid using system colors or colors from another group like surface colors in combination with info container colors
576
+
577
+ #### Context
578
+ - Info alert backgrounds
579
+ - Info message containers
580
+ - Help panel backgrounds
581
+ - Info banner backgrounds
582
+ - Info toast notifications
583
+
584
+ ### Accessibility
585
+ - AA compliant when paired with on-info-1
586
+ - Best paired with on-info colors for foreground text and icons. Choose on-info level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-info-container-1` with `--slds-g-color-on-info-1` for consistency, though other on-info levels may be used based on emphasis needs while maintaining accessibility compliance
587
+
588
+ ---
589
+
590
+ ## `--slds-g-color-on-info-1`
591
+
592
+ ### Description
593
+ Foreground color for content placed on info backgrounds or for info text on light surfaces.
594
+
595
+ ### Usage
596
+
597
+ #### Do
598
+ - Use on-info-1 for text placed on `--slds-g-color-info-container-1` backgrounds
599
+ - Use on-info-1 for icons displayed on info backgrounds
600
+ - Use on-info-1 as info text color on neutral surfaces
601
+ - Pair on-info-1 with the corresponding info background color
602
+
603
+ #### Don't
604
+ - Avoid using on non-info backgrounds without verification
605
+ - Avoid using for decorative elements that don't require readability
606
+ - Avoid mixing with non-matching info backgrounds
607
+
608
+ #### Context
609
+ - Text on info-container-1 backgrounds
610
+ - Icons on info surfaces
611
+ - Info message text
612
+ - Help text on info backgrounds
613
+
614
+ ### Accessibility
615
+ - AA compliant when paired with info-container-1 backgrounds
616
+ - Works best paired with a corresponding info background color. Choose on-info level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-on-info-1` with `--slds-g-color-info-1` or `--slds-g-color-info-container-1` for consistency, though other pairings may be used based on emphasis needs while maintaining accessibility compliance
617
+
618
+ ---
619
+
620
+ ## `--slds-g-color-disabled-1`
621
+
622
+ ### Description
623
+ Primary disabled color that indicates components are unavailable for interaction.
624
+
625
+ ### Usage
626
+
627
+ #### Do
628
+ - Use disabled-1 for indicating disabled or inactive elements
629
+ - Use disabled-1 for non-interactive states
630
+ - Use disabled-1 for disabled borders and backgrounds
631
+ - Use disabled-1 to signal unavailable functionality
632
+ - Use disabled-1 for inactive form fields and buttons
633
+
634
+ #### Don't
635
+ - Avoid using for active or interactive elements
636
+ - Avoid using for decorative purposes
637
+ - Avoid using without ensuring users understand the disabled state
638
+ - Avoid using as the only indicator of disabled state (pair with `aria-disabled` or `disabled` attributes)
639
+ - Avoid using system colors or colors from another group like surface colors in combination with disabled colors
640
+
641
+ #### Context
642
+ - Disabled form field borders
643
+ - Inactive button backgrounds
644
+ - Unavailable menu items
645
+ - Non-interactive element styling
646
+ - Grayed-out content
647
+
648
+ ### Accessibility
649
+ - All disabled colors maintain proper contrast ratios, though they intentionally appear de-emphasized
650
+ - Always use proper ARIA attributes (`aria-disabled="true"` or `disabled` attribute) in addition to visual styling
651
+
652
+ ---
653
+
654
+ ## `--slds-g-color-disabled-container-*`
655
+
656
+ ### Description
657
+ Disabled container background colors for unavailable states with varying levels of emphasis.
658
+
659
+ ### Available Hooks
660
+ - `--slds-g-color-disabled-container-1` - Light disabled background
661
+ - `--slds-g-color-disabled-container-2` - Medium emphasis disabled background
662
+
663
+ ### Understanding Disabled Container Variants
664
+
665
+ Disabled container variants provide different visual weights for unavailable states:
666
+ - **`disabled-container-1`**: Light disabled background for subtle de-emphasis
667
+ - **`disabled-container-2`**: Medium disabled background for stronger visual de-emphasis
668
+
669
+ **These are NOT state progressions**: Disabled elements have no interactive states. The variant numbers represent different levels of visual de-emphasis based on component needs, not hover/active states.
670
+
671
+ **Typical usage**: Choose based on desired visual weight—`disabled-container-1` for subtle de-emphasis (common in form fields and neutral buttons), `disabled-container-2` for stronger de-emphasis (common in filled branded buttons).
672
+
673
+ ### Usage
674
+
675
+ #### Do
676
+ - Use disabled container colors for disabled button backgrounds
677
+ - Use disabled container colors for inactive form field backgrounds
678
+ - Use disabled container colors for unavailable container states
679
+ - Use disabled container colors for grayed-out panel backgrounds
680
+
681
+ #### Don't
682
+ - Avoid using for active or interactive containers
683
+ - Avoid for elements that should remain visually prominent
684
+ - Avoid using without proper disabled state indicators
685
+ - Avoid mixing with active state semantic colors
686
+ - Avoid using system colors or colors from another group like surface colors in combination with disabled container colors
687
+
688
+ #### Context
689
+ - Disabled button backgrounds
690
+ - Inactive form field backgrounds
691
+ - Unavailable container backgrounds
692
+ - Grayed-out panels
693
+ - Non-interactive element backgrounds
694
+
695
+ ### Accessibility
696
+ - All container colors maintain proper contrast ratios appropriate for disabled states
697
+ - Best paired with on-disabled colors for foreground text and icons. Choose on-disabled level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-disabled-container-1` with `--slds-g-color-on-disabled-1` for consistency, though other on-disabled levels may be used based on emphasis needs while maintaining accessibility compliance
698
+ - Always include proper semantic HTML and ARIA attributes to communicate disabled state to assistive technologies
699
+
700
+ ---
701
+
702
+ ## `--slds-g-color-border-disabled-1`
703
+
704
+ ### Description
705
+ Disabled border color for visual emphasis of unavailable states.
706
+
707
+ ### Usage
708
+
709
+ #### Do
710
+ - Use border-disabled-1 for disabled form field borders
711
+ - Use border-disabled-1 for inactive container outlines
712
+ - Use border-disabled-1 to create visual emphasis for disabled states
713
+ - Use border-disabled-1 independently or paired with a disabled container color
714
+
715
+ #### Don't
716
+ - Avoid using for active or interactive elements
717
+ - Avoid using without proper disabled state communication
718
+ - Avoid using as the only indicator of disabled state
719
+ - Avoid using non-border disabled colors on borders
720
+
721
+ #### Context
722
+ - Disabled form field borders
723
+ - Inactive container outlines
724
+ - Unavailable element borders
725
+ - Grayed-out element borders
726
+
727
+ ### Accessibility
728
+ - Maintains appropriate contrast for disabled states
729
+ - Works best on neutral backgrounds or paired with matching disabled container colors
730
+ - Maintains visibility and consistency when paired with `--slds-g-sizing-border-*` sizing hooks
731
+ - Must be accompanied by proper semantic HTML and ARIA attributes
732
+
733
+ ---
734
+
735
+ ## `--slds-g-color-on-disabled-*`
736
+
737
+ ### Description
738
+ Foreground colors for content placed on disabled backgrounds, with varying emphasis levels.
739
+
740
+ ### Available Hooks
741
+ - `--slds-g-color-on-disabled-1` - Foreground for disabled-container-1 backgrounds
742
+ - `--slds-g-color-on-disabled-2` - Darker foreground for disabled content requiring more emphasis
743
+
744
+ ### Usage
745
+
746
+ #### Do
747
+ - Use on-disabled colors for text placed on disabled container backgrounds
748
+ - Use on-disabled colors for icons displayed on disabled backgrounds
749
+ - Pair on-disabled colors with the corresponding disabled container color
750
+ - Use on-disabled-2 for disabled content requiring better readability
751
+
752
+ #### Don't
753
+ - Avoid using on active or interactive backgrounds
754
+ - Avoid using without the corresponding disabled background
755
+ - Avoid using for elements that should appear fully interactive
756
+ - Avoid mixing with non-matching disabled backgrounds
757
+
758
+ #### Context
759
+ - Text on disabled container backgrounds
760
+ - Icons on disabled surfaces
761
+ - Disabled button text
762
+ - Inactive form field text
763
+
764
+ ### Accessibility
765
+ - All on-disabled colors maintain appropriate contrast ratios for disabled states while appearing visually de-emphasized
766
+ - Works best paired with a corresponding disabled background color. Choose on-disabled level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-on-disabled-1` with `--slds-g-color-disabled-1` or `--slds-g-color-disabled-container-1` for consistency, though other pairings may be used based on emphasis needs while maintaining accessibility compliance
767
+ - Always ensure proper semantic HTML and ARIA attributes are present to communicate disabled state to assistive technologies
768
+