@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.
- package/package.json +1 -1
- package/skills/activating-datacloud/SKILL.md +0 -1
- package/skills/analyzing-omnistudio-dependencies/SKILL.md +0 -1
- package/skills/applying-slds/SKILL.md +322 -0
- package/skills/applying-slds/checklists.md +83 -0
- package/skills/applying-slds/examples.md +283 -0
- package/skills/applying-slds/guidance/README.md +83 -0
- package/skills/applying-slds/guidance/blueprints-index.md +213 -0
- package/skills/applying-slds/guidance/icons-guidance.md +186 -0
- package/skills/applying-slds/guidance/overviews/borders.md +236 -0
- package/skills/applying-slds/guidance/overviews/color.md +266 -0
- package/skills/applying-slds/guidance/overviews/display-density.md +366 -0
- package/skills/applying-slds/guidance/overviews/icons.md +240 -0
- package/skills/applying-slds/guidance/overviews/illustrations.md +235 -0
- package/skills/applying-slds/guidance/overviews/shadows.md +176 -0
- package/skills/applying-slds/guidance/overviews/spacing.md +216 -0
- package/skills/applying-slds/guidance/overviews/typography.md +323 -0
- package/skills/applying-slds/guidance/overviews/utilities.md +542 -0
- package/skills/applying-slds/guidance/slds-development-guide.md +288 -0
- package/skills/applying-slds/guidance/styling-hooks/borders.md +202 -0
- package/skills/applying-slds/guidance/styling-hooks/color/expressive-palette-hooks.md +153 -0
- package/skills/applying-slds/guidance/styling-hooks/color/index.md +171 -0
- package/skills/applying-slds/guidance/styling-hooks/color/semantic/accent-hooks.md +204 -0
- package/skills/applying-slds/guidance/styling-hooks/color/semantic/feedback-hooks.md +768 -0
- package/skills/applying-slds/guidance/styling-hooks/color/semantic/surface-hooks.md +337 -0
- package/skills/applying-slds/guidance/styling-hooks/color/system-hooks.md +132 -0
- package/skills/applying-slds/guidance/styling-hooks/index.md +327 -0
- package/skills/applying-slds/guidance/styling-hooks/shadows.md +238 -0
- package/skills/applying-slds/guidance/styling-hooks/spacing.md +254 -0
- package/skills/applying-slds/guidance/styling-hooks/typography.md +448 -0
- package/skills/applying-slds/guidance/utilities/alignment.md +119 -0
- package/skills/applying-slds/guidance/utilities/borders.md +131 -0
- package/skills/applying-slds/guidance/utilities/box.md +125 -0
- package/skills/applying-slds/guidance/utilities/color.md +165 -0
- package/skills/applying-slds/guidance/utilities/dark-mode.md +111 -0
- package/skills/applying-slds/guidance/utilities/description-list.md +168 -0
- package/skills/applying-slds/guidance/utilities/floats.md +117 -0
- package/skills/applying-slds/guidance/utilities/grid.md +264 -0
- package/skills/applying-slds/guidance/utilities/horizontal-list.md +110 -0
- package/skills/applying-slds/guidance/utilities/hyphenation.md +84 -0
- package/skills/applying-slds/guidance/utilities/index.md +205 -0
- package/skills/applying-slds/guidance/utilities/interactions.md +89 -0
- package/skills/applying-slds/guidance/utilities/layout.md +109 -0
- package/skills/applying-slds/guidance/utilities/line-clamp.md +131 -0
- package/skills/applying-slds/guidance/utilities/margin.md +155 -0
- package/skills/applying-slds/guidance/utilities/media-object.md +161 -0
- package/skills/applying-slds/guidance/utilities/name-value-list.md +152 -0
- package/skills/applying-slds/guidance/utilities/padding.md +155 -0
- package/skills/applying-slds/guidance/utilities/position.md +177 -0
- package/skills/applying-slds/guidance/utilities/print.md +114 -0
- package/skills/applying-slds/guidance/utilities/scrollable.md +126 -0
- package/skills/applying-slds/guidance/utilities/sizing.md +190 -0
- package/skills/applying-slds/guidance/utilities/themes.md +121 -0
- package/skills/applying-slds/guidance/utilities/truncate.md +127 -0
- package/skills/applying-slds/guidance/utilities/typography.md +166 -0
- package/skills/applying-slds/guidance/utilities/vertical-list.md +166 -0
- package/skills/applying-slds/guidance/utilities/visibility.md +228 -0
- package/skills/applying-slds/metadata/README.md +84 -0
- package/skills/applying-slds/metadata/blueprints/components/accordion.yaml +304 -0
- package/skills/applying-slds/metadata/blueprints/components/activity-timeline.yaml +92 -0
- package/skills/applying-slds/metadata/blueprints/components/alert.yaml +103 -0
- package/skills/applying-slds/metadata/blueprints/components/app-launcher.yaml +94 -0
- package/skills/applying-slds/metadata/blueprints/components/avatar-group.yaml +81 -0
- package/skills/applying-slds/metadata/blueprints/components/avatar.yaml +97 -0
- package/skills/applying-slds/metadata/blueprints/components/badges.yaml +102 -0
- package/skills/applying-slds/metadata/blueprints/components/brand-band.yaml +198 -0
- package/skills/applying-slds/metadata/blueprints/components/breadcrumbs.yaml +95 -0
- package/skills/applying-slds/metadata/blueprints/components/builder-header.yaml +192 -0
- package/skills/applying-slds/metadata/blueprints/components/button-groups.yaml +82 -0
- package/skills/applying-slds/metadata/blueprints/components/button-icons.yaml +295 -0
- package/skills/applying-slds/metadata/blueprints/components/buttons.yaml +230 -0
- package/skills/applying-slds/metadata/blueprints/components/cards.yaml +124 -0
- package/skills/applying-slds/metadata/blueprints/components/carousel.yaml +140 -0
- package/skills/applying-slds/metadata/blueprints/components/chat.yaml +179 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox-button-group.yaml +192 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox-button.yaml +204 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox-toggle.yaml +177 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox.yaml +108 -0
- package/skills/applying-slds/metadata/blueprints/components/color-picker.yaml +172 -0
- package/skills/applying-slds/metadata/blueprints/components/combobox.yaml +136 -0
- package/skills/applying-slds/metadata/blueprints/components/counter.yaml +147 -0
- package/skills/applying-slds/metadata/blueprints/components/data-tables.yaml +157 -0
- package/skills/applying-slds/metadata/blueprints/components/datepickers.yaml +130 -0
- package/skills/applying-slds/metadata/blueprints/components/datetime-picker.yaml +155 -0
- package/skills/applying-slds/metadata/blueprints/components/docked-composer.yaml +201 -0
- package/skills/applying-slds/metadata/blueprints/components/docked-form-footer.yaml +161 -0
- package/skills/applying-slds/metadata/blueprints/components/docked-utility-bar.yaml +175 -0
- package/skills/applying-slds/metadata/blueprints/components/drop-zone.yaml +115 -0
- package/skills/applying-slds/metadata/blueprints/components/dueling-picklist.yaml +196 -0
- package/skills/applying-slds/metadata/blueprints/components/dynamic-icons.yaml +128 -0
- package/skills/applying-slds/metadata/blueprints/components/dynamic-menu.yaml +141 -0
- package/skills/applying-slds/metadata/blueprints/components/expandable-section.yaml +115 -0
- package/skills/applying-slds/metadata/blueprints/components/expression.yaml +143 -0
- package/skills/applying-slds/metadata/blueprints/components/feeds.yaml +125 -0
- package/skills/applying-slds/metadata/blueprints/components/file-selector.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/files.yaml +119 -0
- package/skills/applying-slds/metadata/blueprints/components/form-element.yaml +145 -0
- package/skills/applying-slds/metadata/blueprints/components/global-header.yaml +120 -0
- package/skills/applying-slds/metadata/blueprints/components/global-navigation.yaml +100 -0
- package/skills/applying-slds/metadata/blueprints/components/icons.yaml +138 -0
- package/skills/applying-slds/metadata/blueprints/components/illustration.yaml +205 -0
- package/skills/applying-slds/metadata/blueprints/components/input.yaml +151 -0
- package/skills/applying-slds/metadata/blueprints/components/list-builder.yaml +127 -0
- package/skills/applying-slds/metadata/blueprints/components/lookups.yaml +132 -0
- package/skills/applying-slds/metadata/blueprints/components/map.yaml +118 -0
- package/skills/applying-slds/metadata/blueprints/components/menus.yaml +134 -0
- package/skills/applying-slds/metadata/blueprints/components/modals.yaml +152 -0
- package/skills/applying-slds/metadata/blueprints/components/notifications.yaml +88 -0
- package/skills/applying-slds/metadata/blueprints/components/page-headers.yaml +135 -0
- package/skills/applying-slds/metadata/blueprints/components/panels.yaml +149 -0
- package/skills/applying-slds/metadata/blueprints/components/path.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/picklist.yaml +125 -0
- package/skills/applying-slds/metadata/blueprints/components/pills.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/popovers.yaml +120 -0
- package/skills/applying-slds/metadata/blueprints/components/progress-bar.yaml +110 -0
- package/skills/applying-slds/metadata/blueprints/components/progress-indicator.yaml +133 -0
- package/skills/applying-slds/metadata/blueprints/components/progress-ring.yaml +102 -0
- package/skills/applying-slds/metadata/blueprints/components/prompt.yaml +126 -0
- package/skills/applying-slds/metadata/blueprints/components/publishers.yaml +178 -0
- package/skills/applying-slds/metadata/blueprints/components/radio-button-group.yaml +172 -0
- package/skills/applying-slds/metadata/blueprints/components/radio-group.yaml +112 -0
- package/skills/applying-slds/metadata/blueprints/components/rich-text-editor.yaml +135 -0
- package/skills/applying-slds/metadata/blueprints/components/scoped-notifications.yaml +188 -0
- package/skills/applying-slds/metadata/blueprints/components/scoped-tabs.yaml +97 -0
- package/skills/applying-slds/metadata/blueprints/components/select.yaml +127 -0
- package/skills/applying-slds/metadata/blueprints/components/setup-assistant.yaml +152 -0
- package/skills/applying-slds/metadata/blueprints/components/slider.yaml +111 -0
- package/skills/applying-slds/metadata/blueprints/components/spinners.yaml +135 -0
- package/skills/applying-slds/metadata/blueprints/components/split-view.yaml +112 -0
- package/skills/applying-slds/metadata/blueprints/components/summary-detail.yaml +103 -0
- package/skills/applying-slds/metadata/blueprints/components/tabs.yaml +138 -0
- package/skills/applying-slds/metadata/blueprints/components/textarea.yaml +116 -0
- package/skills/applying-slds/metadata/blueprints/components/tiles.yaml +108 -0
- package/skills/applying-slds/metadata/blueprints/components/timepicker.yaml +111 -0
- package/skills/applying-slds/metadata/blueprints/components/toast.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/tooltips.yaml +107 -0
- package/skills/applying-slds/metadata/blueprints/components/tree-grid.yaml +116 -0
- package/skills/applying-slds/metadata/blueprints/components/trees.yaml +116 -0
- package/skills/applying-slds/metadata/blueprints/components/trial-bar.yaml +112 -0
- package/skills/applying-slds/metadata/blueprints/components/vertical-navigation.yaml +130 -0
- package/skills/applying-slds/metadata/blueprints/components/vertical-tabs.yaml +140 -0
- package/skills/applying-slds/metadata/blueprints/components/visual-picker.yaml +150 -0
- package/skills/applying-slds/metadata/blueprints/components/welcome-mat.yaml +136 -0
- package/skills/applying-slds/metadata/hooks-index.json +6272 -0
- package/skills/applying-slds/metadata/icon-metadata.json +38466 -0
- package/skills/applying-slds/metadata/utilities-index.json +21912 -0
- package/skills/applying-slds/references/component-selection.md +112 -0
- package/skills/applying-slds/references/icons-decision-guide.md +124 -0
- package/skills/applying-slds/references/styling-decision-guide.md +228 -0
- package/skills/applying-slds/references/utilities-quick-ref.md +125 -0
- package/skills/applying-slds/scripts/search-blueprints.cjs +117 -0
- package/skills/applying-slds/scripts/search-hooks.cjs +139 -0
- package/skills/applying-slds/scripts/search-icons.cjs +174 -0
- package/skills/applying-slds/scripts/search-utilities.cjs +161 -0
- package/skills/building-mobile-apps/SKILL.md +0 -1
- package/skills/building-omnistudio-callable-apex/SKILL.md +0 -1
- package/skills/building-omnistudio-datamapper/SKILL.md +0 -1
- package/skills/building-omnistudio-flexcard/SKILL.md +0 -1
- package/skills/building-omnistudio-integration-procedure/SKILL.md +0 -1
- package/skills/building-omnistudio-omniscript/SKILL.md +0 -1
- package/skills/building-sf-integrations/SKILL.md +0 -1
- package/skills/configuring-connected-apps/SKILL.md +0 -1
- package/skills/connecting-datacloud/SKILL.md +0 -1
- package/skills/creating-b2b-commerce-store/SKILL.md +0 -1
- package/skills/debugging-apex-logs/SKILL.md +0 -1
- package/skills/deploying-metadata/SKILL.md +0 -1
- package/skills/deploying-omnistudio-datapacks/SKILL.md +0 -1
- package/skills/developing-agentforce/SKILL.md +0 -1
- package/skills/fetching-salesforce-docs/SKILL.md +0 -1
- package/skills/generating-custom-lightning-type/SKILL.md +17 -39
- package/skills/generating-custom-lightning-type/assets/primitive-types-and-constraints.md +41 -0
- package/skills/generating-custom-lightning-type/references/widget-rendition.md +124 -0
- package/skills/generating-lwc-components/SKILL.md +0 -1
- package/skills/generating-mermaid-diagrams/SKILL.md +0 -1
- package/skills/generating-visual-diagrams/SKILL.md +0 -1
- package/skills/handling-sf-data/SKILL.md +0 -1
- package/skills/harmonizing-datacloud/SKILL.md +0 -1
- package/skills/integrating-b2b-commerce-open-code-components/SKILL.md +0 -1
- package/skills/investigating-agentforce-architecture/README.md +156 -0
- package/skills/investigating-agentforce-architecture/SKILL.md +230 -0
- package/skills/investigating-agentforce-architecture/assets/cli/describe_sobject.yaml +16 -0
- package/skills/investigating-agentforce-architecture/assets/cli/describe_tooling_sobject.yaml +17 -0
- package/skills/investigating-agentforce-architecture/assets/cli/list_metadata_genaiprompttemplate.yaml +17 -0
- package/skills/investigating-agentforce-architecture/assets/cli/org_display.yaml +15 -0
- package/skills/investigating-agentforce-architecture/assets/cli/retrieve_genai_plugin.yaml +18 -0
- package/skills/investigating-agentforce-architecture/assets/cli/show_access_token.yaml +27 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/action_tree.mmd +20 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/data_flow.mmd +19 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/dependency_graph.mmd +19 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/invocation_sequence.mmd +20 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/planner_state.mmd +18 -0
- package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_names.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/bot_definition_details.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/bot_version_lookup.soql +4 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_by_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_ids_by_names.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_view_by_durable_ids.soql +4 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_metadata_by_id.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/functions_by_plugins.soql +5 -0
- package/skills/investigating-agentforce-architecture/assets/soql/planner_attrs_by_parent_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/planner_bundle_functions.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/planner_definition_by_agent_chain.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/plugin_functions_by_plugin_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/plugin_instructions_by_plugin_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/plugins_by_planner.soql +4 -0
- package/skills/investigating-agentforce-architecture/references/architecture_sections.md +243 -0
- package/skills/investigating-agentforce-architecture/references/contract.json +244 -0
- package/skills/investigating-agentforce-architecture/references/soql_fields.md +512 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/__init__.py +1 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/fs_guard.py +329 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/paths.py +110 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/runtime.py +59 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/sql.py +10 -0
- package/skills/investigating-agentforce-architecture/scripts/cache_check.py +234 -0
- package/skills/investigating-agentforce-architecture/scripts/config.py +131 -0
- package/skills/investigating-agentforce-architecture/scripts/fetch_soql.py +689 -0
- package/skills/investigating-agentforce-architecture/scripts/finalize.py +295 -0
- package/skills/investigating-agentforce-architecture/scripts/main.py +2835 -0
- package/skills/investigating-agentforce-architecture/scripts/metadata_listing.py +265 -0
- package/skills/investigating-agentforce-architecture/scripts/parallel_retrieve.py +69 -0
- package/skills/investigating-agentforce-architecture/scripts/parse_bundle.py +215 -0
- package/skills/investigating-agentforce-architecture/scripts/parse_wave.py +845 -0
- package/skills/investigating-agentforce-architecture/scripts/probe_channels.py +302 -0
- package/skills/investigating-agentforce-architecture/scripts/render_architecture.py +1043 -0
- package/skills/investigating-agentforce-architecture/scripts/resolve_bot.py +255 -0
- package/skills/investigating-agentforce-architecture/scripts/resolve_invocation_target.py +130 -0
- package/skills/investigating-agentforce-architecture/scripts/rest_client.py +763 -0
- package/skills/investigating-agentforce-architecture/scripts/retrieve_planner.py +13 -0
- package/skills/investigating-agentforce-architecture/scripts/sf_cli.py +242 -0
- package/skills/investigating-agentforce-architecture/scripts/soql_loader.py +253 -0
- package/skills/investigating-agentforce-architecture/scripts/summarize_tree.py +143 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/__init__.py +0 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/_bootstrap.py +23 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/__init__.py +0 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/genai_payloads.py +400 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check.py +307 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check_main.py +283 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_config.py +115 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_end_to_end_fixture.py +651 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_finalize.py +278 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_flow_children_inflation.py +582 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_fs_guard.py +113 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_iterative_wave_b.py +478 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_main_pipeline.py +3359 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parallel_retrieve.py +131 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_bundle.py +400 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave.py +644 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_classifiers.py +224 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_helpers.py +380 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_main.py +397 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_per_branch_visited.py +244 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_channels.py +359 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_cli_recipes.py +185 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_render_architecture.py +810 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_bot.py +203 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_creds.py +157 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_invocation_target.py +145 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_rest_client.py +1253 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_runtime_override.py +100 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_sf_cli.py +261 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_signature_stamping.py +466 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_soql_loader.py +501 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_summarize_tree.py +241 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_write_emit_ctx.py +480 -0
- package/skills/investigating-agentforce-architecture/tools/emit_env.py +157 -0
- package/skills/investigating-agentforce-architecture/tools/emit_result.py +262 -0
- package/skills/investigating-agentforce-architecture/tools/sanitize.py +33 -0
- package/skills/investigating-agentforce-architecture/tools/write_emit_ctx.py +332 -0
- package/skills/investigating-agentforce-d360/README.md +123 -0
- package/skills/investigating-agentforce-d360/SKILL.md +163 -0
- package/skills/investigating-agentforce-d360/assets/dc/app_generation.sql +51 -0
- package/skills/investigating-agentforce-d360/assets/dc/content_category.sql +44 -0
- package/skills/investigating-agentforce-d360/assets/dc/content_quality.sql +41 -0
- package/skills/investigating-agentforce-d360/assets/dc/discover_sessions.sql +36 -0
- package/skills/investigating-agentforce-d360/assets/dc/feedback.sql +47 -0
- package/skills/investigating-agentforce-d360/assets/dc/feedback_details.sql +38 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_records.sql +45 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_request_llm.sql +50 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_request_metadata.sql +44 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_request_tags.sql +42 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_requests.sql +89 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_responses.sql +43 -0
- package/skills/investigating-agentforce-d360/assets/dc/generations.sql +52 -0
- package/skills/investigating-agentforce-d360/assets/dc/interactions.sql +53 -0
- package/skills/investigating-agentforce-d360/assets/dc/messages.sql +53 -0
- package/skills/investigating-agentforce-d360/assets/dc/messaging_session.sql +37 -0
- package/skills/investigating-agentforce-d360/assets/dc/moment_interactions.sql +34 -0
- package/skills/investigating-agentforce-d360/assets/dc/moments.sql +39 -0
- package/skills/investigating-agentforce-d360/assets/dc/participants.sql +48 -0
- package/skills/investigating-agentforce-d360/assets/dc/sessions.sql +78 -0
- package/skills/investigating-agentforce-d360/assets/dc/steps.sql +64 -0
- package/skills/investigating-agentforce-d360/assets/dc/tag_associations.sql +46 -0
- package/skills/investigating-agentforce-d360/assets/dc/tag_definition_associations.sql +37 -0
- package/skills/investigating-agentforce-d360/assets/dc/tag_definitions.sql +50 -0
- package/skills/investigating-agentforce-d360/assets/dc/tags.sql +37 -0
- package/skills/investigating-agentforce-d360/assets/dc/telemetry_spans.sql +55 -0
- package/skills/investigating-agentforce-d360/references/artifacts.md +50 -0
- package/skills/investigating-agentforce-d360/references/dc_dmo_fields.md +823 -0
- package/skills/investigating-agentforce-d360/references/dc_pipeline_contract.md +608 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/__init__.py +2 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/cli_override.py +98 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/fs_guard.py +334 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/paths.py +155 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/runtime.py +59 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/sql.py +14 -0
- package/skills/investigating-agentforce-d360/scripts/assemble_dc.py +1624 -0
- package/skills/investigating-agentforce-d360/scripts/config.py +45 -0
- package/skills/investigating-agentforce-d360/scripts/dc.py +188 -0
- package/skills/investigating-agentforce-d360/scripts/discover_sessions.py +556 -0
- package/skills/investigating-agentforce-d360/scripts/fetch_dc.py +1045 -0
- package/skills/investigating-agentforce-d360/scripts/render_dc.py +1750 -0
- package/skills/investigating-agentforce-d360/scripts/resolve_session.py +264 -0
- package/skills/investigating-agentforce-d360/scripts/storage.py +92 -0
- package/skills/investigating-agentforce-d360/scripts/tests/__init__.py +0 -0
- package/skills/investigating-agentforce-d360/scripts/tests/_bootstrap.py +15 -0
- package/skills/investigating-agentforce-d360/scripts/tests/fixtures/__init__.py +0 -0
- package/skills/investigating-agentforce-d360/scripts/tests/fixtures/synthetic_session.py +424 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_bootstrap_and_mode.py +115 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct.py +220 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct_integration.py +158 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_helpers.py +287 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_integration.py +247 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_dc_and_resolve_session.py +433 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions.py +458 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions_grep_ci.py +193 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_helpers.py +266 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_identity.py +528 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_main.py +251 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall.py +229 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall_full.py +283 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_identity_coherence.py +327 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_branches.py +256 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_gateway_direct.py +130 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_helpers.py +291 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_integration.py +220 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_planner_llm_calls.py +284 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_show_prompts_gating.py +215 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_from_disk.py +100 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_session_main.py +149 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_runtime_override.py +104 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape.py +95 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape_dropped_by_stdm.py +85 -0
- package/skills/managing-managed-event-subscription/SKILL.md +152 -0
- package/skills/managing-managed-event-subscription/assets/managed-event-subscription-template.xml +20 -0
- package/skills/managing-managed-event-subscription/references/delete-guide.md +57 -0
- package/skills/managing-managed-event-subscription/references/topic-name-formats.md +26 -0
- package/skills/managing-managed-event-subscription/references/update-constraints.md +30 -0
- package/skills/modeling-omnistudio-epc-catalog/SKILL.md +0 -1
- package/skills/observing-agentforce/SKILL.md +0 -1
- package/skills/orchestrating-datacloud/SKILL.md +0 -1
- package/skills/preparing-datacloud/SKILL.md +0 -1
- package/skills/querying-soql/SKILL.md +0 -1
- package/skills/retrieving-datacloud/SKILL.md +0 -1
- package/skills/running-apex-tests/SKILL.md +0 -1
- package/skills/running-code-analyzer/SKILL.md +0 -1
- package/skills/segmenting-datacloud/SKILL.md +0 -1
- package/skills/testing-agentforce/SKILL.md +0 -1
- package/skills/uplifting-components-to-slds2/SKILL.md +3 -2
- package/skills/uplifting-components-to-slds2/references/color-hooks-decision-guide.md +30 -9
- package/skills/uplifting-components-to-slds2/references/examples.md +24 -6
- package/skills/validating-slds/SKILL.md +262 -0
- package/skills/validating-slds/references/quality-checks.md +308 -0
- package/skills/validating-slds/references/report-format.md +302 -0
- package/skills/validating-slds/scripts/analyze-quality.cjs +521 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: slds.guidance.hooks.spacing
|
|
3
|
+
title: Spacing and Sizing Styling Hooks
|
|
4
|
+
description: Styling hooks for margins, padding, gaps, and element dimensions
|
|
5
|
+
summary: "Guidance for spacing and sizing hooks including spacing scale for margins/padding/gaps and sizing scale for element dimensions. Covers the 4-point grid system, density-aware sizing, and touch target requirements."
|
|
6
|
+
|
|
7
|
+
artifact_type: reference
|
|
8
|
+
domain: styling-hooks
|
|
9
|
+
topic: spacing-and-sizing
|
|
10
|
+
|
|
11
|
+
content_format: structured
|
|
12
|
+
complexity: intermediate
|
|
13
|
+
audience: [implementer]
|
|
14
|
+
|
|
15
|
+
tasks: [choose, implement, troubleshoot]
|
|
16
|
+
|
|
17
|
+
refs:
|
|
18
|
+
- slds.guidance.hooks
|
|
19
|
+
- slds.guidance.hooks.borders
|
|
20
|
+
- slds.guidance.hooks.typography
|
|
21
|
+
- slds.guidance.utilities.margin
|
|
22
|
+
- slds.guidance.utilities.padding
|
|
23
|
+
- slds.guidance.utilities.sizing
|
|
24
|
+
tags: [styling-hooks, spacing, sizing, margins, padding, gaps, dimensions]
|
|
25
|
+
keywords: [spacing scale, sizing scale, 4-point grid, density-aware, touch targets, layout spacing]
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# Spacing and Sizing Styling Hooks
|
|
29
|
+
|
|
30
|
+
## Overview
|
|
31
|
+
|
|
32
|
+
Spacing and sizing styling hooks establish harmony and hierarchy through deliberate spacing and sizing. Spacing controls the empty areas around or within components, while sizing defines the dimensions of elements. These hooks ensure visual consistency, create balance, and guide user focus across the interface.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## `--slds-g-spacin`g`-*`
|
|
37
|
+
|
|
38
|
+
### Description
|
|
39
|
+
Base spacing values that create space between elements. The styling hook values are relative to the root font size and follow a modular scale of 4 to align with the 4-point grid system. Use these hooks to set values for margins and padding.
|
|
40
|
+
|
|
41
|
+
### Usage
|
|
42
|
+
|
|
43
|
+
#### Do
|
|
44
|
+
- Use spacing hooks for margins and padding to create consistent spacing between elements
|
|
45
|
+
- Use spacing hooks to establish visual hierarchy through deliberate use of space
|
|
46
|
+
- Use spacing hooks for proper alignment of components
|
|
47
|
+
- Use spacing hooks to create clear differentiation between grouped and unrelated elements
|
|
48
|
+
- Use smaller values (1-4) for compact layouts and tight spacing
|
|
49
|
+
- Use medium values (5-8) for standard component spacing
|
|
50
|
+
- Use larger values (9-12) for section spacing and major divisions
|
|
51
|
+
|
|
52
|
+
#### Don't
|
|
53
|
+
- Avoid using spacing properties to establish an element's dimensions targeting width and height
|
|
54
|
+
- Avoid hard-coded pixel values instead of using spacing hooks
|
|
55
|
+
- Avoid breaking the 4-point grid system with custom values
|
|
56
|
+
- Avoid inconsistent spacing patterns that disrupt visual rhythm
|
|
57
|
+
- Avoid using spacing hooks for element dimensions (use sizing hooks instead)
|
|
58
|
+
|
|
59
|
+
#### Context
|
|
60
|
+
- Margins between components
|
|
61
|
+
- Padding within containers
|
|
62
|
+
- Gaps in flexbox and grid layouts
|
|
63
|
+
- Consistent spacing patterns throughout the interface
|
|
64
|
+
- Visual rhythm and balance
|
|
65
|
+
|
|
66
|
+
### Accessibility
|
|
67
|
+
- Consistent spacing improves scanability and readability for all users
|
|
68
|
+
- Adequate spacing between interactive elements supports users with motor impairments
|
|
69
|
+
- Clear visual grouping through spacing helps users with cognitive disabilities understand relationships between elements
|
|
70
|
+
- Padding is the primary method for achieving minimum target sizes on interactive elements
|
|
71
|
+
- **Target Size Requirements (WCAG 2.2):**
|
|
72
|
+
- **Desktop/Pointer inputs:** Minimum 24×24 CSS pixels (Level AA required), 44×44 CSS pixels recommended (Level AAA)
|
|
73
|
+
- **Mobile/Touch inputs:** Minimum 44×44 pt/dp/px (industry standard and WCAG 2.1 AAA)
|
|
74
|
+
- **Salesforce applications (mixed environments):** Default to 44×44 for consistency across touch and pointer interactions
|
|
75
|
+
- **Spacing Exception:** Targets smaller than 24×24 CSS pixels may be acceptable if sufficient spacing ensures a 24 CSS pixel diameter circle around each target does not intersect another target
|
|
76
|
+
- Accessibility requirements apply — consult your project's accessibility standards
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## `--slds-g-spacing-var-*`
|
|
81
|
+
|
|
82
|
+
### Description
|
|
83
|
+
Density-aware styling hooks that control spacing applied equally to all sides of an element when the system switches between comfy and compact display density settings. The spacing corresponds to the top, bottom, left, and right margins or paddings. Use these hooks to ensure components adapt correctly to the user's chosen density setting.
|
|
84
|
+
|
|
85
|
+
### Usage
|
|
86
|
+
|
|
87
|
+
#### Do
|
|
88
|
+
- Use density-aware hooks for components that need to adapt to user density preferences
|
|
89
|
+
- Use density-aware hooks for padding and margin values that should adjust based on density settings
|
|
90
|
+
- Use density-aware hooks for creating responsive spacing that maintains usability in both comfy and compact modes
|
|
91
|
+
- Use density-aware hooks when spacing needs to be applied equally to all sides (top, bottom, left, right)
|
|
92
|
+
- Density-aware hooks automatically adapt spacing values between comfy and compact display modes
|
|
93
|
+
|
|
94
|
+
#### Don't
|
|
95
|
+
- Avoid using density-aware hooks when fixed spacing is required regardless of density
|
|
96
|
+
- Avoid mixing density-aware and fixed spacing hooks inconsistently within the same component
|
|
97
|
+
- Avoid assuming only one density mode will be used
|
|
98
|
+
- Avoid using when directional spacing (vertical or horizontal only) is more appropriate
|
|
99
|
+
|
|
100
|
+
#### Context: When to Use Density-Aware Spacing Hooks
|
|
101
|
+
|
|
102
|
+
**Components that benefit from density-aware hooks:**
|
|
103
|
+
|
|
104
|
+
| Component Category | Specific Components | Why Density Matters |
|
|
105
|
+
|--------------------|---------------------|---------------------|
|
|
106
|
+
| Data-dense displays | Tables, lists, grids | More rows visible in compact |
|
|
107
|
+
| Form layouts | Form elements, field arrangements | Label positioning changes |
|
|
108
|
+
| Containers | Cards, panels | Padding adjusts with density |
|
|
109
|
+
| Navigation | Toolbars, tabs | Spacing affects click targets |
|
|
110
|
+
|
|
111
|
+
**SLDS Components with Built-in Density Support:**
|
|
112
|
+
- Cards
|
|
113
|
+
- File selector
|
|
114
|
+
- Tabs
|
|
115
|
+
- Feed
|
|
116
|
+
- Page header
|
|
117
|
+
- Path
|
|
118
|
+
- Split view
|
|
119
|
+
|
|
120
|
+
**Use density-aware hooks (`--slds-g-spacing-var-*`) when building custom versions of these component types.**
|
|
121
|
+
|
|
122
|
+
### Accessibility
|
|
123
|
+
- Density-aware spacing supports user preferences for information density
|
|
124
|
+
- Compact mode maintains usability while maximizing screen space
|
|
125
|
+
- Comfy mode provides generous spacing for users who benefit from more breathing room
|
|
126
|
+
- Both density modes must maintain minimum target sizes through appropriate padding hook selection:
|
|
127
|
+
- Desktop/Pointer: 24×24 CSS pixels minimum (AA), 44×44 recommended (AAA)
|
|
128
|
+
- Mobile/Touch: 44×44 pt/dp/px minimum
|
|
129
|
+
- Salesforce default: 44×44 for consistency
|
|
130
|
+
- Compact mode requires careful padding selection to ensure targets remain accessible in both pointer and touch contexts
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## `--slds-g-spacing-var-block-*`
|
|
135
|
+
|
|
136
|
+
### Description
|
|
137
|
+
Density-aware styling hooks that control spacing along the vertical (block) axis when the system switches between comfy and compact display density settings. This spacing corresponds to top and bottom margins or paddings. Use these hooks for vertical spacing that needs to adapt to density preferences.
|
|
138
|
+
|
|
139
|
+
### Usage
|
|
140
|
+
|
|
141
|
+
#### Do
|
|
142
|
+
- Use block spacing hooks for top and bottom margins or padding
|
|
143
|
+
- Use block spacing hooks for vertical rhythm and spacing between stacked elements
|
|
144
|
+
- Use block spacing hooks for section spacing that adapts to density
|
|
145
|
+
- Use block spacing hooks with padding-block or margin-block CSS properties
|
|
146
|
+
- Use block spacing hooks for list item vertical spacing, card stack spacing, or form field vertical margins
|
|
147
|
+
|
|
148
|
+
#### Don't
|
|
149
|
+
- Avoid using block spacing hooks for horizontal (left/right) spacing
|
|
150
|
+
- Avoid mixing block and inline spacing inconsistently
|
|
151
|
+
- Avoid when all-sides spacing would be more appropriate
|
|
152
|
+
- Avoid when fixed vertical spacing is required regardless of density
|
|
153
|
+
|
|
154
|
+
#### Context
|
|
155
|
+
- Vertical spacing between list items
|
|
156
|
+
- Top and bottom padding in containers
|
|
157
|
+
- Section spacing in stacked layouts
|
|
158
|
+
- Form field vertical margins
|
|
159
|
+
- Vertical rhythm in content areas
|
|
160
|
+
|
|
161
|
+
### Accessibility
|
|
162
|
+
- Vertical spacing supports readability and scanability
|
|
163
|
+
- Adequate vertical spacing helps users navigate through content
|
|
164
|
+
- Density-aware vertical spacing maintains usability while adapting to user preferences
|
|
165
|
+
- Both density modes must maintain clear visual separation between elements
|
|
166
|
+
- Vertical padding (top/bottom) contributes to interactive element height and must support minimum target sizing:
|
|
167
|
+
- Desktop/Pointer: 24×24 CSS pixels minimum height (AA), 44×44 recommended (AAA)
|
|
168
|
+
- Mobile/Touch: 44×44 pt/dp/px minimum height
|
|
169
|
+
- Salesforce default: 44×44 height for consistency
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## `--slds-g-spacing-var-inline-*`
|
|
174
|
+
|
|
175
|
+
### Description
|
|
176
|
+
Density-aware styling hooks that control spacing along the horizontal (inline) axis when the system switches between comfy and compact display density settings. This spacing corresponds to left and right margins or paddings. Use these hooks for horizontal spacing that needs to adapt to density preferences.
|
|
177
|
+
|
|
178
|
+
### Usage
|
|
179
|
+
|
|
180
|
+
#### Do
|
|
181
|
+
- Use inline spacing hooks for left and right margins or padding
|
|
182
|
+
- Use inline spacing hooks for horizontal spacing between adjacent elements
|
|
183
|
+
- Use inline spacing hooks for button padding, icon spacing, or horizontal layouts
|
|
184
|
+
- Use inline spacing hooks with padding-inline or margin-inline CSS properties
|
|
185
|
+
- Use inline spacing hooks for horizontal gaps in flex or grid layouts
|
|
186
|
+
|
|
187
|
+
#### Don't
|
|
188
|
+
- Avoid using inline spacing hooks for vertical (top/bottom) spacing
|
|
189
|
+
- Avoid mixing inline and block spacing inconsistently
|
|
190
|
+
- Avoid when all-sides spacing would be more appropriate
|
|
191
|
+
- Avoid when fixed horizontal spacing is required regardless of density
|
|
192
|
+
|
|
193
|
+
#### Context
|
|
194
|
+
- Horizontal spacing between buttons
|
|
195
|
+
- Left and right padding in containers
|
|
196
|
+
- Icon and text spacing
|
|
197
|
+
- Horizontal gaps in navigation
|
|
198
|
+
- Side margins in content layouts
|
|
199
|
+
|
|
200
|
+
### Accessibility
|
|
201
|
+
- Horizontal spacing supports readability and clear visual separation
|
|
202
|
+
- Adequate horizontal spacing helps users distinguish between interactive elements
|
|
203
|
+
- Density-aware horizontal spacing maintains usability while adapting to user preferences
|
|
204
|
+
- Horizontal padding (left/right) contributes to interactive element width and must support minimum target sizing:
|
|
205
|
+
- Desktop/Pointer: 24×24 CSS pixels minimum width (AA), 44×44 recommended (AAA)
|
|
206
|
+
- Mobile/Touch: 44×44 pt/dp/px minimum width
|
|
207
|
+
- Salesforce default: 44×44 width for consistency
|
|
208
|
+
- Both density modes must maintain minimum target sizes through appropriate inline padding selection across pointer and touch contexts
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## `--slds-g-sizing-*`
|
|
213
|
+
|
|
214
|
+
### Description
|
|
215
|
+
Sizing values used to create dimensions of an element, using height and width-based properties. Use these styling hooks for elements such as icons to set their height and width relative to the root element's font-size. Sizing in SLDS uses values with multiples of 8 to align with the 8-point grid system.
|
|
216
|
+
|
|
217
|
+
### Usage
|
|
218
|
+
|
|
219
|
+
#### Do
|
|
220
|
+
- Use sizing hooks for element dimensions like height and width
|
|
221
|
+
- Use sizing hooks for icon sizes, button heights, and component dimensions
|
|
222
|
+
- Use sizing hooks for creating consistent, predictable component sizes
|
|
223
|
+
- Use sizing hooks for min-width, max-width, min-height, and max-height properties
|
|
224
|
+
- Use smaller values (1-9) for icons, buttons, and small elements
|
|
225
|
+
- Use larger values (10-16) for containers, panels, and layout widths
|
|
226
|
+
- Sizing values scale relative to root font-size for responsive behavior
|
|
227
|
+
|
|
228
|
+
#### Don't
|
|
229
|
+
- Avoid using sizing hooks for margins or padding (use spacing hooks instead)
|
|
230
|
+
- Avoid hard-coded pixel values instead of using sizing hooks
|
|
231
|
+
- Avoid breaking the 8-point grid alignment with custom dimension values
|
|
232
|
+
- Avoid using sizing hooks for spacing between elements
|
|
233
|
+
- Avoid mixing sizing and spacing hooks inappropriately
|
|
234
|
+
|
|
235
|
+
#### Context
|
|
236
|
+
- Icon dimensions (width and height)
|
|
237
|
+
- Button heights
|
|
238
|
+
- Avatar sizes
|
|
239
|
+
- Component fixed dimensions
|
|
240
|
+
- Container widths and max-widths
|
|
241
|
+
- Minimum and maximum element sizes
|
|
242
|
+
- Thumbnail dimensions
|
|
243
|
+
|
|
244
|
+
### Accessibility
|
|
245
|
+
- Consistent sizing creates predictable interfaces that are easier to navigate
|
|
246
|
+
- Fixed dimensions (height/width) must support target size requirements for interactive elements like icon-only buttons:
|
|
247
|
+
- **Desktop/Pointer:** Minimum 24×24 CSS pixels (WCAG 2.2 Level AA), 44×44 CSS pixels recommended (Level AAA)
|
|
248
|
+
- **Mobile/Touch:** Minimum 44×44 pt/dp/px (industry standard and WCAG 2.1 AAA)
|
|
249
|
+
- **Salesforce applications:** Default to 44×44 for consistency across mixed pointer and touch environments
|
|
250
|
+
- Icon sizes must be large enough to be perceivable by users with low vision
|
|
251
|
+
- Interactive element sizing should support users with motor impairments
|
|
252
|
+
- Account for responsive sizing across different viewport contexts
|
|
253
|
+
- **Important:** Most interactive elements achieve target sizing through padding (spacing hooks) rather than fixed dimensions. Sizing hooks are primarily used for icon-only buttons, avatars, and elements where explicit dimensions are required
|
|
254
|
+
|