@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,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: slds.guidance.utilities.typography
|
|
3
|
+
title: Typography Utilities
|
|
4
|
+
description: SLDS text styling and typography utility classes
|
|
5
|
+
summary: "Utilities for text styling. Headings, body text, alignment, colors, and special formatting. Link utilities are documented in [Interactions](ref:slds.guidance.utilities.interactions)."
|
|
6
|
+
|
|
7
|
+
artifact_type: reference
|
|
8
|
+
domain: utilities
|
|
9
|
+
topic: typography
|
|
10
|
+
|
|
11
|
+
content_format: structured
|
|
12
|
+
complexity: intermediate
|
|
13
|
+
audience: [implementer]
|
|
14
|
+
|
|
15
|
+
tasks: [implement]
|
|
16
|
+
|
|
17
|
+
refs:
|
|
18
|
+
- slds.guidance.utilities
|
|
19
|
+
- slds.guidance.overview.utilities
|
|
20
|
+
- slds.guidance.utilities.interactions
|
|
21
|
+
- slds.guidance.hooks.typography
|
|
22
|
+
|
|
23
|
+
tags: [utilities, typography, text, headings, alignment]
|
|
24
|
+
keywords: [slds-text-heading, slds-text-body, slds-text-color, slds-text-align]
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# Typography - Text Styling
|
|
28
|
+
|
|
29
|
+
Text styling, headings, alignment, and colors.
|
|
30
|
+
|
|
31
|
+
## Core Classes
|
|
32
|
+
|
|
33
|
+
### Heading Sizes
|
|
34
|
+
|
|
35
|
+
| Class | Purpose |
|
|
36
|
+
|-------|---------|
|
|
37
|
+
| `slds-text-heading_large` | Large heading (28px, line-height 1.25) |
|
|
38
|
+
| `slds-text-heading_medium` | Medium heading (20px, line-height 1.25) |
|
|
39
|
+
| `slds-text-heading_small` | Small heading (16px, line-height 1.25) |
|
|
40
|
+
|
|
41
|
+
### Title Styles
|
|
42
|
+
|
|
43
|
+
| Class | Purpose |
|
|
44
|
+
|-------|---------|
|
|
45
|
+
| `slds-text-title` | Standard title (12px, line-height 1.25) |
|
|
46
|
+
| `slds-text-title_caps` | Uppercase title (12px, weight 400, letter-spacing 0.0625rem) |
|
|
47
|
+
| `slds-text-title_bold` | Bold title (12px, weight 700) |
|
|
48
|
+
|
|
49
|
+
### Body Text
|
|
50
|
+
|
|
51
|
+
| Class | Purpose |
|
|
52
|
+
|-------|---------|
|
|
53
|
+
| `slds-text-body_regular` | Regular body text (13px) |
|
|
54
|
+
| `slds-text-body_small` | Small body text (12px) |
|
|
55
|
+
|
|
56
|
+
### Text Alignment
|
|
57
|
+
|
|
58
|
+
| Class | Purpose |
|
|
59
|
+
|-------|---------|
|
|
60
|
+
| `slds-text-align_left` | Aligns text to start |
|
|
61
|
+
| `slds-text-align_center` | Centers text |
|
|
62
|
+
| `slds-text-align_right` | Aligns text to end |
|
|
63
|
+
|
|
64
|
+
### Text Colors
|
|
65
|
+
|
|
66
|
+
| Class | Purpose |
|
|
67
|
+
|-------|---------|
|
|
68
|
+
| `slds-text-color_default` | Default text color |
|
|
69
|
+
| `slds-text-color_weak` | De-emphasized text color |
|
|
70
|
+
| `slds-text-color_error` | Error state text (red) |
|
|
71
|
+
| `slds-text-color_destructive` | Destructive action text (red) |
|
|
72
|
+
| `slds-text-color_success` | Success state text (green) |
|
|
73
|
+
| `slds-text-color_inverse` | Light text on dark background |
|
|
74
|
+
| `slds-text-color_inverse-weak` | De-emphasized inverse text |
|
|
75
|
+
|
|
76
|
+
### Special Formatting
|
|
77
|
+
|
|
78
|
+
| Class | Purpose |
|
|
79
|
+
|-------|---------|
|
|
80
|
+
| `slds-text-longform` | Applies default spacing to content blocks |
|
|
81
|
+
| `slds-text-font_monospace` | Applies monospace font family |
|
|
82
|
+
| `slds-line-height_reset` | Resets line-height to 1 |
|
|
83
|
+
|
|
84
|
+
## Common Patterns
|
|
85
|
+
|
|
86
|
+
### Page Header
|
|
87
|
+
```html
|
|
88
|
+
<!-- Main page title with subtitle -->
|
|
89
|
+
<div class="slds-page-header">
|
|
90
|
+
<h1 class="slds-text-heading_large">
|
|
91
|
+
<!-- 28px heading -->
|
|
92
|
+
Account Details
|
|
93
|
+
</h1>
|
|
94
|
+
<p class="slds-text-body_regular slds-text-color_weak">
|
|
95
|
+
<!-- 13px de-emphasized text -->
|
|
96
|
+
View and manage account information
|
|
97
|
+
</p>
|
|
98
|
+
</div>
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Section Headers
|
|
102
|
+
```html
|
|
103
|
+
<!-- Section with title caps -->
|
|
104
|
+
<section class="slds-m-top_large">
|
|
105
|
+
<h2 class="slds-text-title_caps slds-m-bottom_small">
|
|
106
|
+
<!-- 12px uppercase title -->
|
|
107
|
+
CONTACT INFORMATION
|
|
108
|
+
</h2>
|
|
109
|
+
<div class="slds-text-body_regular">
|
|
110
|
+
<!-- Content -->
|
|
111
|
+
</div>
|
|
112
|
+
</section>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Status Messages
|
|
116
|
+
```html
|
|
117
|
+
<!-- Success message -->
|
|
118
|
+
<div class="slds-text-color_success slds-text-align_center">
|
|
119
|
+
<!-- Green centered text -->
|
|
120
|
+
Record saved successfully
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
<!-- Error message -->
|
|
124
|
+
<div class="slds-text-color_error slds-m-top_small">
|
|
125
|
+
<!-- Red error text -->
|
|
126
|
+
Required field missing
|
|
127
|
+
</div>
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Long-Form Content
|
|
131
|
+
```html
|
|
132
|
+
<!-- Article with automatic spacing -->
|
|
133
|
+
<article class="slds-text-longform">
|
|
134
|
+
<!-- Automatic margins for h1, h2, h3, p, ul, ol -->
|
|
135
|
+
<h1>Article Title</h1>
|
|
136
|
+
<p>First paragraph with automatic bottom margin.</p>
|
|
137
|
+
<ul>
|
|
138
|
+
<!-- Disc bullets with proper indentation -->
|
|
139
|
+
<li>First item</li>
|
|
140
|
+
<li>Second item</li>
|
|
141
|
+
</ul>
|
|
142
|
+
</article>
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Code Display
|
|
146
|
+
```html
|
|
147
|
+
<!-- Monospace text for code -->
|
|
148
|
+
<code class="slds-text-font_monospace slds-text-body_small">
|
|
149
|
+
<!-- 12px monospace font -->
|
|
150
|
+
SELECT Id, Name FROM Account
|
|
151
|
+
</code>
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Best Practices
|
|
155
|
+
|
|
156
|
+
✅ Use semantic HTML elements (h1-h6) with text utility classes
|
|
157
|
+
✅ Apply `slds-text-heading_*` classes to maintain consistent sizing
|
|
158
|
+
✅ Use `slds-text-color_weak` for secondary information
|
|
159
|
+
✅ Apply `slds-text-title_caps` for section labels and tabs
|
|
160
|
+
✅ Use `slds-text-longform` for user-generated content areas
|
|
161
|
+
✅ Combine text utilities with spacing utilities for proper layout
|
|
162
|
+
|
|
163
|
+
❌ Avoid using heading classes on non-heading elements for sizing
|
|
164
|
+
❌ Never use color utilities as the only indicator of state
|
|
165
|
+
❌ Avoid mixing multiple text size classes on the same element
|
|
166
|
+
❌ Never override line-height unless using `slds-line-height_reset`
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: slds.guidance.utilities.vertical-list
|
|
3
|
+
title: Vertical-list Utilities
|
|
4
|
+
description: SLDS vertical list utility classes for list formatting and spacing
|
|
5
|
+
summary: "Utilities for vertical lists including dividers, cards, spacing, link blocks, and list styles (dotted, ordered)."
|
|
6
|
+
|
|
7
|
+
artifact_type: reference
|
|
8
|
+
domain: utilities
|
|
9
|
+
topic: vertical-list
|
|
10
|
+
|
|
11
|
+
content_format: structured
|
|
12
|
+
complexity: intermediate
|
|
13
|
+
audience: [implementer]
|
|
14
|
+
|
|
15
|
+
tasks: [implement]
|
|
16
|
+
|
|
17
|
+
refs:
|
|
18
|
+
- slds.guidance.utilities
|
|
19
|
+
- slds.guidance.overview.utilities
|
|
20
|
+
|
|
21
|
+
tags: [utilities, lists, vertical-list, dividers]
|
|
22
|
+
keywords: [slds-list, slds-has-dividers, vertical spacing, list formatting]
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# Vertical List - Formatting & Spacing
|
|
26
|
+
|
|
27
|
+
Creating and styling vertical lists with consistent spacing, dividers, and interactive states.
|
|
28
|
+
|
|
29
|
+
## Core Classes
|
|
30
|
+
|
|
31
|
+
| Class | Purpose |
|
|
32
|
+
|-------|---------|
|
|
33
|
+
| `slds-list_vertical` | Base vertical list container |
|
|
34
|
+
| `slds-list__item` | Individual list item |
|
|
35
|
+
| `slds-item` | Generic item (alternative to `slds-list__item`) |
|
|
36
|
+
| `slds-is-selected` | Marks selected state with accent border |
|
|
37
|
+
| `slds-is-nested` | Indents nested lists by 16px |
|
|
38
|
+
|
|
39
|
+
## List Styles
|
|
40
|
+
|
|
41
|
+
| Class | Purpose |
|
|
42
|
+
|-------|---------|
|
|
43
|
+
| `slds-list_dotted` | Unordered list with disc bullets |
|
|
44
|
+
| `slds-list_ordered` | Ordered list with decimal numbers |
|
|
45
|
+
|
|
46
|
+
## Spacing Variants
|
|
47
|
+
|
|
48
|
+
| Class | Spacing Between Items |
|
|
49
|
+
|-------|----------------------|
|
|
50
|
+
| `slds-list_vertical-space` | 8px (`x-small`) |
|
|
51
|
+
| `slds-list_vertical-space-medium` | 16px (`medium`) |
|
|
52
|
+
|
|
53
|
+
## Divider Classes
|
|
54
|
+
|
|
55
|
+
### Line Dividers
|
|
56
|
+
| Class | Purpose |
|
|
57
|
+
|-------|---------|
|
|
58
|
+
| `slds-has-dividers` | Bottom border on items with hover states |
|
|
59
|
+
| `slds-has-dividers_top` | Top border on each item |
|
|
60
|
+
| `slds-has-dividers_bottom` | Bottom border on each item |
|
|
61
|
+
| `slds-has-dividers_top-space` | Top border with 8px padding |
|
|
62
|
+
| `slds-has-dividers_bottom-space` | Bottom border with 8px padding |
|
|
63
|
+
|
|
64
|
+
### Card Dividers
|
|
65
|
+
| Class | Purpose |
|
|
66
|
+
|-------|---------|
|
|
67
|
+
| `slds-has-cards` | Bordered cards with rounded corners |
|
|
68
|
+
| `slds-has-cards_space` | Bordered cards with 12px padding |
|
|
69
|
+
| `slds-has-dividers_around` | Full border around each item |
|
|
70
|
+
| `slds-has-dividers_around-space` | Full border with 12px padding |
|
|
71
|
+
|
|
72
|
+
### Single Dividers
|
|
73
|
+
| Class | Purpose |
|
|
74
|
+
|-------|---------|
|
|
75
|
+
| `slds-has-divider` | Single top divider (8px margin + padding) |
|
|
76
|
+
| `slds-has-divider_top` | Top border only |
|
|
77
|
+
| `slds-has-divider_bottom` | Bottom border only |
|
|
78
|
+
| `slds-has-divider_top-space` | Top border with padding |
|
|
79
|
+
| `slds-has-divider_bottom-space` | Bottom border with padding |
|
|
80
|
+
| `slds-has-divider_right` | Right border only |
|
|
81
|
+
| `slds-has-divider_left` | Left border only |
|
|
82
|
+
|
|
83
|
+
## Link Blocks
|
|
84
|
+
|
|
85
|
+
| Class | Purpose |
|
|
86
|
+
|-------|---------|
|
|
87
|
+
| `slds-has-block-links` | Makes links display block |
|
|
88
|
+
| `slds-has-block-links_space` | Block links with 12px padding |
|
|
89
|
+
| `slds-has-inline-block-links` | Makes links display inline-block |
|
|
90
|
+
| `slds-has-inline-block-links_space` | Inline-block links with 12px padding |
|
|
91
|
+
|
|
92
|
+
## Interactive States
|
|
93
|
+
|
|
94
|
+
| Class | Purpose |
|
|
95
|
+
|-------|---------|
|
|
96
|
+
| `slds-has-list-interactions` | Enables hover and active states |
|
|
97
|
+
|
|
98
|
+
## Common Patterns
|
|
99
|
+
|
|
100
|
+
```html
|
|
101
|
+
<!-- Basic vertical list with dividers -->
|
|
102
|
+
<ul class="slds-list_vertical slds-has-dividers">
|
|
103
|
+
<li class="slds-list__item">Item 1</li>
|
|
104
|
+
<li class="slds-list__item">Item 2</li>
|
|
105
|
+
<li class="slds-list__item slds-is-selected">Selected Item</li>
|
|
106
|
+
</ul>
|
|
107
|
+
|
|
108
|
+
<!-- Card-style list with spacing -->
|
|
109
|
+
<ul class="slds-has-cards_space">
|
|
110
|
+
<li class="slds-list__item">
|
|
111
|
+
<!-- Each item appears as a card with padding -->
|
|
112
|
+
<h3>Card Title</h3>
|
|
113
|
+
<p>Card content with 12px padding</p>
|
|
114
|
+
</li>
|
|
115
|
+
<li class="slds-list__item">
|
|
116
|
+
<h3>Another Card</h3>
|
|
117
|
+
<p>Automatically spaced 8px apart</p>
|
|
118
|
+
</li>
|
|
119
|
+
</ul>
|
|
120
|
+
|
|
121
|
+
<!-- List with block links -->
|
|
122
|
+
<ul class="slds-has-block-links_space">
|
|
123
|
+
<li class="slds-list__item">
|
|
124
|
+
<a href="/page1">
|
|
125
|
+
<!-- Entire area is clickable with padding -->
|
|
126
|
+
<h3>Link Title</h3>
|
|
127
|
+
<p>Description text</p>
|
|
128
|
+
</a>
|
|
129
|
+
</li>
|
|
130
|
+
<li class="slds-list__item">
|
|
131
|
+
<a href="/page2">Another clickable item</a>
|
|
132
|
+
</li>
|
|
133
|
+
</ul>
|
|
134
|
+
|
|
135
|
+
<!-- Nested list with bullets -->
|
|
136
|
+
<ul class="slds-list_dotted">
|
|
137
|
+
<li>Parent item</li>
|
|
138
|
+
<li>
|
|
139
|
+
Another parent
|
|
140
|
+
<ul class="slds-list_dotted slds-is-nested">
|
|
141
|
+
<li>Nested child 1</li>
|
|
142
|
+
<li>Nested child 2</li>
|
|
143
|
+
</ul>
|
|
144
|
+
</li>
|
|
145
|
+
</ul>
|
|
146
|
+
|
|
147
|
+
<!-- Interactive list with hover states -->
|
|
148
|
+
<ul class="slds-list_vertical slds-has-dividers slds-has-list-interactions">
|
|
149
|
+
<li class="slds-list__item">Hover for gray background</li>
|
|
150
|
+
<li class="slds-list__item">Click for active state</li>
|
|
151
|
+
</ul>
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Best Practices
|
|
155
|
+
|
|
156
|
+
✅ Use `slds-list_vertical` with `slds-has-dividers` for navigation menus
|
|
157
|
+
✅ Apply `slds-has-cards_space` for distinct content sections
|
|
158
|
+
✅ Use `slds-has-block-links_space` for clickable list items
|
|
159
|
+
✅ Add `slds-is-selected` to indicate current selection
|
|
160
|
+
✅ Combine `slds-list_dotted` or `slds-list_ordered` for structured content
|
|
161
|
+
✅ Use `slds-is-nested` for hierarchical lists
|
|
162
|
+
|
|
163
|
+
❌ Mix card styles with line dividers on the same list
|
|
164
|
+
❌ Apply multiple divider types to the same element
|
|
165
|
+
❌ Use `slds-list__item` and `slds-item` interchangeably in the same list
|
|
166
|
+
❌ Nest lists more than 3 levels deep
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: slds.guidance.utilities.visibility
|
|
3
|
+
title: Visibility Utilities
|
|
4
|
+
description: SLDS show/hide and responsive display utility classes
|
|
5
|
+
summary: "Utilities for controlling element visibility including basic show/hide, responsive breakpoints, screen reader support, and collapsed/expanded states."
|
|
6
|
+
|
|
7
|
+
artifact_type: reference
|
|
8
|
+
domain: utilities
|
|
9
|
+
topic: visibility
|
|
10
|
+
|
|
11
|
+
content_format: structured
|
|
12
|
+
complexity: intermediate
|
|
13
|
+
audience: [implementer]
|
|
14
|
+
|
|
15
|
+
tasks: [implement]
|
|
16
|
+
|
|
17
|
+
refs:
|
|
18
|
+
- slds.guidance.utilities
|
|
19
|
+
- slds.guidance.overview.utilities
|
|
20
|
+
|
|
21
|
+
tags: [utilities, visibility, responsive, accessibility]
|
|
22
|
+
keywords: [slds-show, slds-hide, slds-assistive-text, responsive visibility, screen reader]
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# Visibility - Show/Hide Elements
|
|
26
|
+
|
|
27
|
+
Controlling element visibility and responsive display.
|
|
28
|
+
|
|
29
|
+
## Basic Visibility
|
|
30
|
+
|
|
31
|
+
| Class | Effect |
|
|
32
|
+
|-------|--------|
|
|
33
|
+
| `slds-show` | Display block |
|
|
34
|
+
| `slds-hide` | Display none (!important, hidden from screen readers) |
|
|
35
|
+
| `slds-hidden` | Visibility hidden (!important, maintains space) |
|
|
36
|
+
| `slds-visible` | Visibility visible |
|
|
37
|
+
| `slds-is-visually-empty` | Removes element from layout flow |
|
|
38
|
+
|
|
39
|
+
**Display Variants**:
|
|
40
|
+
- `slds-show_inline` - Display inline
|
|
41
|
+
- `slds-show_inline-block` - Display inline-block
|
|
42
|
+
|
|
43
|
+
## Screen Reader Support
|
|
44
|
+
|
|
45
|
+
| Class | Purpose |
|
|
46
|
+
|-------|---------|
|
|
47
|
+
| `slds-assistive-text` | Visually hidden but readable by screen readers |
|
|
48
|
+
| `slds-assistive-text_focus` | Becomes visible when focused (for skip links) |
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<!-- Icon with screen reader label -->
|
|
52
|
+
<button class="slds-button slds-button_icon">
|
|
53
|
+
<svg class="slds-icon">...</svg>
|
|
54
|
+
<span class="slds-assistive-text">Edit Record</span>
|
|
55
|
+
</button>
|
|
56
|
+
|
|
57
|
+
<!-- Skip navigation link -->
|
|
58
|
+
<a href="#main" class="slds-assistive-text slds-assistive-text_focus">
|
|
59
|
+
Skip to main content
|
|
60
|
+
</a>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Collapsed/Expanded States
|
|
64
|
+
|
|
65
|
+
| Class | Effect |
|
|
66
|
+
|-------|--------|
|
|
67
|
+
| `slds-is-collapsed` | Height: 0, overflow: hidden |
|
|
68
|
+
| `slds-is-expanded` | Height: auto, overflow: visible |
|
|
69
|
+
|
|
70
|
+
```html
|
|
71
|
+
<!-- Collapsible section -->
|
|
72
|
+
<div class="slds-section">
|
|
73
|
+
<button aria-expanded="false" aria-controls="section-content">
|
|
74
|
+
Toggle Section
|
|
75
|
+
</button>
|
|
76
|
+
<div id="section-content" class="slds-is-collapsed">
|
|
77
|
+
<!-- Content hidden by default -->
|
|
78
|
+
Collapsible content here
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Transition Visibility
|
|
84
|
+
|
|
85
|
+
| Class | Effect |
|
|
86
|
+
|-------|--------|
|
|
87
|
+
| `slds-transition-hide` | Opacity: 0 |
|
|
88
|
+
| `slds-transition-show` | Opacity: 1 |
|
|
89
|
+
|
|
90
|
+
Add CSS transitions for smooth animations:
|
|
91
|
+
```css
|
|
92
|
+
.slds-transition-hide,
|
|
93
|
+
.slds-transition-show {
|
|
94
|
+
transition: opacity 0.3s ease;
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Responsive Visibility
|
|
99
|
+
|
|
100
|
+
**Breakpoints**:
|
|
101
|
+
- `x-small`: 320px
|
|
102
|
+
- `small`: 480px
|
|
103
|
+
- `medium`: 768px
|
|
104
|
+
- `large`: 1024px
|
|
105
|
+
- `x-large`: 1280px
|
|
106
|
+
|
|
107
|
+
### Show Classes (Hidden Below, Visible At/Above)
|
|
108
|
+
|
|
109
|
+
| Class | Visible From |
|
|
110
|
+
|-------|--------------|
|
|
111
|
+
| `slds-x-small-show` | 320px+ |
|
|
112
|
+
| `slds-small-show` | 480px+ |
|
|
113
|
+
| `slds-medium-show` | 768px+ |
|
|
114
|
+
| `slds-large-show` | 1024px+ |
|
|
115
|
+
|
|
116
|
+
**Display Variants**:
|
|
117
|
+
- `slds-x-small-show_inline-block`
|
|
118
|
+
- `slds-x-small-show_inline`
|
|
119
|
+
- `slds-small-show_inline-block`
|
|
120
|
+
- `slds-small-show_inline`
|
|
121
|
+
- `slds-medium-show_inline-block`
|
|
122
|
+
- `slds-medium-show_inline`
|
|
123
|
+
- `slds-large-show_inline-block`
|
|
124
|
+
- `slds-large-show_inline`
|
|
125
|
+
|
|
126
|
+
### Show Only Classes (Visible Only Within Range)
|
|
127
|
+
|
|
128
|
+
| Class | Visible Range |
|
|
129
|
+
|-------|---------------|
|
|
130
|
+
| `slds-x-small-show-only` | 320px - 479px |
|
|
131
|
+
| `slds-small-show-only` | 480px - 767px |
|
|
132
|
+
| `slds-medium-show-only` | 768px - 1023px |
|
|
133
|
+
|
|
134
|
+
**Display Variants**:
|
|
135
|
+
- `slds-x-small-show-only_inline-block`
|
|
136
|
+
- `slds-x-small-show-only_inline`
|
|
137
|
+
- `slds-small-show-only_inline-block`
|
|
138
|
+
- `slds-small-show-only_inline`
|
|
139
|
+
- `slds-medium-show-only_inline-block`
|
|
140
|
+
- `slds-medium-show-only_inline`
|
|
141
|
+
|
|
142
|
+
### Hide Classes
|
|
143
|
+
|
|
144
|
+
| Class | Hidden At/Above | Visible Below |
|
|
145
|
+
|-------|-----------------|---------------|
|
|
146
|
+
| `slds-hide_x-small` | 320px+ | < 320px |
|
|
147
|
+
| `slds-hide_small` | 480px+ | < 480px |
|
|
148
|
+
| `slds-hide_medium` | 768px+ | < 768px |
|
|
149
|
+
| `slds-hide_large` | 1024px+ | < 1024px |
|
|
150
|
+
| `slds-hide_x-large` | 1280px+ | < 1280px |
|
|
151
|
+
|
|
152
|
+
### Max Hide Classes (Hidden Below Breakpoint)
|
|
153
|
+
|
|
154
|
+
| Class | Hidden Below |
|
|
155
|
+
|-------|--------------|
|
|
156
|
+
| `slds-max-x-small-hide` | < 480px |
|
|
157
|
+
| `slds-max-small-hide` | < 768px |
|
|
158
|
+
| `slds-max-medium-hide` | < 1024px |
|
|
159
|
+
|
|
160
|
+
### Inverse Show Classes (Hidden At/Above)
|
|
161
|
+
|
|
162
|
+
| Class | Visible Below | Hidden At/Above |
|
|
163
|
+
|-------|---------------|-----------------|
|
|
164
|
+
| `slds-show_x-small` | < 320px | 320px+ |
|
|
165
|
+
| `slds-show_small` | < 480px | 480px+ |
|
|
166
|
+
| `slds-show_medium` | < 768px | 768px+ |
|
|
167
|
+
| `slds-show_large` | < 1024px | 1024px+ |
|
|
168
|
+
| `slds-show_x-large` | < 1280px | 1280px+ |
|
|
169
|
+
|
|
170
|
+
## Common Patterns
|
|
171
|
+
|
|
172
|
+
```html
|
|
173
|
+
<!-- Mobile menu / Desktop nav -->
|
|
174
|
+
<button class="slds-button slds-hide_medium">
|
|
175
|
+
<!-- Visible on mobile, hidden 768px+ -->
|
|
176
|
+
<svg class="slds-icon">...</svg>
|
|
177
|
+
<span class="slds-assistive-text">Open Menu</span>
|
|
178
|
+
</button>
|
|
179
|
+
|
|
180
|
+
<nav class="slds-medium-show">
|
|
181
|
+
<!-- Hidden below 768px, visible 768px+ -->
|
|
182
|
+
<ul class="slds-list_horizontal">...</ul>
|
|
183
|
+
</nav>
|
|
184
|
+
|
|
185
|
+
<!-- Responsive table/card view -->
|
|
186
|
+
<div class="slds-max-small-hide">
|
|
187
|
+
<!-- Table hidden below 768px -->
|
|
188
|
+
<table class="slds-table">...</table>
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
<div class="slds-small-show-only">
|
|
192
|
+
<!-- Cards shown only 480px-767px -->
|
|
193
|
+
<div class="slds-card">...</div>
|
|
194
|
+
</div>
|
|
195
|
+
|
|
196
|
+
<!-- Progressive disclosure -->
|
|
197
|
+
<div class="slds-small-show">
|
|
198
|
+
<!-- Additional details shown 480px+ -->
|
|
199
|
+
Extended information for larger screens
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
<!-- Accessible expandable section -->
|
|
203
|
+
<section class="slds-section slds-is-open">
|
|
204
|
+
<h2>
|
|
205
|
+
<button aria-expanded="true" aria-controls="content-id">
|
|
206
|
+
Section Title
|
|
207
|
+
</button>
|
|
208
|
+
</h2>
|
|
209
|
+
<div id="content-id" class="slds-is-expanded">
|
|
210
|
+
Section content
|
|
211
|
+
</div>
|
|
212
|
+
</section>
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Best Practices
|
|
216
|
+
|
|
217
|
+
✅ Use `slds-assistive-text` for all icon-only buttons
|
|
218
|
+
✅ Use `slds-hide` with `!important` to ensure hiding
|
|
219
|
+
✅ Test responsive classes at each breakpoint
|
|
220
|
+
✅ Pair `aria-expanded` with `slds-is-collapsed/expanded`
|
|
221
|
+
✅ Use `slds-assistive-text_focus` for skip links
|
|
222
|
+
✅ Apply mobile-first approach: hide by default, show at breakpoints
|
|
223
|
+
|
|
224
|
+
❌ Combine `slds-hide` and `slds-show` on the same element
|
|
225
|
+
❌ Use `slds-hidden` and `slds-visible` together
|
|
226
|
+
❌ Hide essential content from screen readers
|
|
227
|
+
❌ Use visibility classes for layout (use Grid or Flexbox instead)
|
|
228
|
+
❌ Rely only on `display: none` for animations (use transitions)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# SLDS Metadata
|
|
2
|
+
|
|
3
|
+
Structured data for all SLDS artifacts. Use the search scripts in `../scripts/` or grep directly.
|
|
4
|
+
|
|
5
|
+
Source: `packages/metadata/`
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Files
|
|
10
|
+
|
|
11
|
+
### `blueprints/components/*.yaml` (85 files)
|
|
12
|
+
|
|
13
|
+
One YAML file per SLDS blueprint component. Each contains:
|
|
14
|
+
|
|
15
|
+
- `name`, `description`, `category`
|
|
16
|
+
- `slds_classes.root` -- the BEM root class (e.g., `slds-modal`)
|
|
17
|
+
- `slds_classes.elements[]` -- child element classes with purpose
|
|
18
|
+
- `slds_classes.modifiers[]` -- variant modifier classes with usage guidance
|
|
19
|
+
- `slds_classes.states[]` -- state classes (active, disabled, open, etc.)
|
|
20
|
+
- `accessibility` -- required ARIA roles, attributes, keyboard interactions
|
|
21
|
+
- `example_html` -- reference markup
|
|
22
|
+
|
|
23
|
+
**Search**: `node ../scripts/search-blueprints.js --search "dialog"`
|
|
24
|
+
|
|
25
|
+
**Direct grep**: `grep -rl "category: Overlay" blueprints/components/`
|
|
26
|
+
|
|
27
|
+
### `hooks-index.json` (523 hooks)
|
|
28
|
+
|
|
29
|
+
All SLDS styling hooks with computed values and CSS property mappings.
|
|
30
|
+
|
|
31
|
+
Each hook entry:
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"token": "--slds-g-color-accent-1",
|
|
35
|
+
"category": "color",
|
|
36
|
+
"value": "#0176d3",
|
|
37
|
+
"properties": ["background-color", "color", "border-color", "fill"]
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Categories: color (325), font (57), spacing (48), shadow (44), sizing (27), duration (8), radius (6), ratio (5), fontFamily (3)
|
|
42
|
+
|
|
43
|
+
**Search**: `node ../scripts/search-hooks.js --category "color"`
|
|
44
|
+
|
|
45
|
+
**Direct grep**: `grep -i "accent" hooks-index.json`
|
|
46
|
+
|
|
47
|
+
### `icon-metadata.json` (1,732 icons)
|
|
48
|
+
|
|
49
|
+
All SLDS icons with synonyms for semantic search across 5 categories.
|
|
50
|
+
|
|
51
|
+
Each icon entry:
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"displayName": "add_contact",
|
|
55
|
+
"category": "action",
|
|
56
|
+
"description": "Represents adding a new contact...",
|
|
57
|
+
"synonyms": ["add", "user", "contact", "create", "new", "person", "plus"]
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Categories: action, custom, doctype, standard, utility
|
|
62
|
+
|
|
63
|
+
**Search**: `node ../scripts/search-icons.js --query "save button"`
|
|
64
|
+
|
|
65
|
+
**Direct grep**: `grep -B1 -A5 '"save"' icon-metadata.json`
|
|
66
|
+
|
|
67
|
+
### `utilities-index.json` (1,147 utilities)
|
|
68
|
+
|
|
69
|
+
All SLDS utility classes organized by category with CSS rules.
|
|
70
|
+
|
|
71
|
+
Each utility entry:
|
|
72
|
+
```json
|
|
73
|
+
{
|
|
74
|
+
"class": "slds-m-bottom_small",
|
|
75
|
+
"css": { "margin-bottom": "0.75rem" },
|
|
76
|
+
"category": "margin"
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
27 categories: grid (80), margin (119), padding (120), sizing (613), color (48), text (24), and more.
|
|
81
|
+
|
|
82
|
+
**Search**: `node ../scripts/search-utilities.js --category "grid"`
|
|
83
|
+
|
|
84
|
+
**Direct grep**: `grep -i "slds-grid" utilities-index.json`
|