@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,230 @@
|
|
|
1
|
+
name: Buttons
|
|
2
|
+
description: Clickable elements used to perform actions. Buttons communicate action and direct user intent.
|
|
3
|
+
category: Actions
|
|
4
|
+
slds_classes:
|
|
5
|
+
root: slds-button
|
|
6
|
+
elements:
|
|
7
|
+
- class: slds-button__icon
|
|
8
|
+
description: Icon within button
|
|
9
|
+
purpose: Contains SVG icons inside buttons
|
|
10
|
+
- class: slds-button__icon_left
|
|
11
|
+
description: Icon positioned on the left side of button text
|
|
12
|
+
purpose: Positions icon to the left of button label
|
|
13
|
+
- class: slds-button__icon_right
|
|
14
|
+
description: Icon positioned on the right side of button text
|
|
15
|
+
purpose: Positions icon to the right of button label
|
|
16
|
+
modifiers:
|
|
17
|
+
- class: slds-button_neutral
|
|
18
|
+
description: Default button style with neutral appearance
|
|
19
|
+
usage: Use for secondary actions or when multiple buttons are present
|
|
20
|
+
- class: slds-button_brand
|
|
21
|
+
description: Primary button style with brand color
|
|
22
|
+
usage: Use for primary actions, limit to one per page section
|
|
23
|
+
- class: slds-button_outline-brand
|
|
24
|
+
description: Button with brand-colored outline
|
|
25
|
+
usage: Use for secondary actions that need more emphasis than neutral
|
|
26
|
+
- class: slds-button_destructive
|
|
27
|
+
description: Button for destructive actions
|
|
28
|
+
usage: Use for delete, remove, or other potentially harmful actions
|
|
29
|
+
- class: slds-button_text-destructive
|
|
30
|
+
description: Text-only destructive button
|
|
31
|
+
usage: Use for destructive actions that need less visual weight
|
|
32
|
+
- class: slds-button_success
|
|
33
|
+
description: Button for successful or positive actions
|
|
34
|
+
usage: Use for confirm, save, or other positive actions
|
|
35
|
+
- class: slds-button_inverse
|
|
36
|
+
description: Button for use on dark backgrounds
|
|
37
|
+
usage: Use when button appears on dark or colored backgrounds
|
|
38
|
+
- class: slds-button_icon
|
|
39
|
+
description: Icon-only button base class
|
|
40
|
+
usage: Use for buttons containing only icons
|
|
41
|
+
- class: slds-button_icon-bare
|
|
42
|
+
description: Icon button with no border or background
|
|
43
|
+
usage: Use for minimal icon buttons
|
|
44
|
+
- class: slds-button_icon-container
|
|
45
|
+
description: Icon button with container styling
|
|
46
|
+
usage: Use for icon buttons that need visual containment
|
|
47
|
+
- class: slds-button_icon-border
|
|
48
|
+
description: Icon button with border
|
|
49
|
+
usage: Use for icon buttons that need border definition
|
|
50
|
+
- class: slds-button_icon-border-filled
|
|
51
|
+
description: Icon button with border and background fill
|
|
52
|
+
usage: Use for icon buttons that need filled appearance
|
|
53
|
+
- class: slds-button_icon-more
|
|
54
|
+
description: Icon button styled for 'more actions' pattern
|
|
55
|
+
usage: Use specifically for overflow menu triggers
|
|
56
|
+
sizes:
|
|
57
|
+
- class: slds-button_small
|
|
58
|
+
description: Small button size
|
|
59
|
+
usage: Use when default size is too large
|
|
60
|
+
states:
|
|
61
|
+
- class: slds-is-selected
|
|
62
|
+
description: Selected state for stateful buttons
|
|
63
|
+
trigger: User selection or programmatic state change
|
|
64
|
+
- class: slds-not-selected
|
|
65
|
+
description: Not selected state for stateful buttons
|
|
66
|
+
trigger: Default or deselected state
|
|
67
|
+
variants:
|
|
68
|
+
- name: Base
|
|
69
|
+
description: Standard button styles including neutral, brand, and destructive variants
|
|
70
|
+
classes:
|
|
71
|
+
- slds-button
|
|
72
|
+
- slds-button_neutral
|
|
73
|
+
- slds-button_brand
|
|
74
|
+
usage_context: Default buttons for actions throughout the interface
|
|
75
|
+
differences: Different visual emphasis levels for action hierarchy
|
|
76
|
+
- name: Icon
|
|
77
|
+
description: Icon-only buttons in various styles
|
|
78
|
+
classes:
|
|
79
|
+
- slds-button
|
|
80
|
+
- slds-button_icon
|
|
81
|
+
- slds-button_icon-border
|
|
82
|
+
usage_context: When space is constrained or action is universally understood
|
|
83
|
+
differences: No text labels, rely on iconography for meaning
|
|
84
|
+
- name: Stateful
|
|
85
|
+
description: Buttons that toggle between states
|
|
86
|
+
classes:
|
|
87
|
+
- slds-button
|
|
88
|
+
- slds-is-selected
|
|
89
|
+
- slds-not-selected
|
|
90
|
+
usage_context: For toggle actions like favorites, follow, or selection
|
|
91
|
+
differences: Visual state changes based on user interaction
|
|
92
|
+
lightning_component:
|
|
93
|
+
name: lightning-button
|
|
94
|
+
url: https://developer.salesforce.com/docs/component-library/bundle/lightning-button
|
|
95
|
+
mapping_notes: Direct mapping - Lightning component implements SLDS button blueprint with additional functionality
|
|
96
|
+
accessibility:
|
|
97
|
+
keyboard_support:
|
|
98
|
+
- Tab to focus on button
|
|
99
|
+
- Enter or Space to activate button
|
|
100
|
+
- Focus visible indicators required
|
|
101
|
+
screen_reader:
|
|
102
|
+
- Button text or aria-label announced
|
|
103
|
+
- Button role automatically conveyed
|
|
104
|
+
- State changes announced for stateful buttons
|
|
105
|
+
aria_attributes:
|
|
106
|
+
- aria-label for icon-only buttons
|
|
107
|
+
- aria-pressed for stateful toggle buttons
|
|
108
|
+
- aria-describedby for additional context
|
|
109
|
+
- aria-disabled for disabled state
|
|
110
|
+
usage_guidelines:
|
|
111
|
+
when_to_use:
|
|
112
|
+
- To trigger an action or event
|
|
113
|
+
- To submit forms
|
|
114
|
+
- To navigate to a new page or section
|
|
115
|
+
- To open modals or dialogs
|
|
116
|
+
when_not_to_use:
|
|
117
|
+
- For navigation use links instead
|
|
118
|
+
- When the action is not immediately actionable
|
|
119
|
+
- For decorative purposes
|
|
120
|
+
best_practices:
|
|
121
|
+
- Use clear, action-oriented labels
|
|
122
|
+
- Maintain visual hierarchy with button types
|
|
123
|
+
- Limit primary buttons to one per section
|
|
124
|
+
- Group related buttons logically
|
|
125
|
+
- Ensure sufficient spacing between buttons
|
|
126
|
+
common_mistakes:
|
|
127
|
+
- Using multiple primary buttons in the same area
|
|
128
|
+
- Making button labels too vague
|
|
129
|
+
- Not providing sufficient color contrast
|
|
130
|
+
- Overusing destructive button styling
|
|
131
|
+
code_examples:
|
|
132
|
+
- title: Basic Button Variants
|
|
133
|
+
code: "<button class=\"slds-button slds-button_neutral\">Neutral Button</button>\n <button class=\"slds-button slds-button_brand\"\
|
|
134
|
+
>Brand Button</button>\n <button class=\"slds-button slds-button_destructive\">Destructive Button</button>\n"
|
|
135
|
+
- title: Button with Icons
|
|
136
|
+
code: "<button class=\"slds-button slds-button_neutral\">\n <svg class=\"slds-button__icon slds-button__icon_left\"\
|
|
137
|
+
\ aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#download\"></use>\n \
|
|
138
|
+
\ </svg>\n Download\n </button>\n"
|
|
139
|
+
- title: Icon Only Button
|
|
140
|
+
code: "<button class=\"slds-button slds-button_icon slds-button_icon-border\" aria-label=\"Settings\">\n <svg class=\"\
|
|
141
|
+
slds-button__icon\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#settings\"\
|
|
142
|
+
></use>\n </svg>\n </button>\n"
|
|
143
|
+
- title: Stateful Button
|
|
144
|
+
code: "<button class=\"slds-button slds-button_icon slds-button_icon-border slds-is-selected\" aria-pressed=\"true\" aria-label=\"\
|
|
145
|
+
Like this item\">\n <svg class=\"slds-button__icon\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#like\"\
|
|
146
|
+
></use>\n </svg>\n </button>\n"
|
|
147
|
+
styling_hooks:
|
|
148
|
+
- name: --slds-c-button-brand-color-background
|
|
149
|
+
description: Background color for brand buttons
|
|
150
|
+
category: color
|
|
151
|
+
- name: --slds-c-button-brand-color-background-hover
|
|
152
|
+
description: Background color for brand buttons on hover
|
|
153
|
+
category: color
|
|
154
|
+
- name: --slds-c-button-brand-color-background-active
|
|
155
|
+
description: Background color for brand buttons when active
|
|
156
|
+
category: color
|
|
157
|
+
- name: --slds-c-button-brand-color-border
|
|
158
|
+
description: Border color for brand buttons
|
|
159
|
+
category: color
|
|
160
|
+
- name: --slds-c-button-brand-text-color
|
|
161
|
+
description: Text color for brand buttons
|
|
162
|
+
category: color
|
|
163
|
+
- name: --slds-c-button-neutral-color-background
|
|
164
|
+
description: Background color for neutral buttons
|
|
165
|
+
category: color
|
|
166
|
+
- name: --slds-c-button-neutral-color-background-hover
|
|
167
|
+
description: Background color for neutral buttons on hover
|
|
168
|
+
category: color
|
|
169
|
+
- name: --slds-c-button-neutral-color-background-active
|
|
170
|
+
description: Background color for neutral buttons when active
|
|
171
|
+
category: color
|
|
172
|
+
- name: --slds-c-button-neutral-color-border
|
|
173
|
+
description: Border color for neutral buttons
|
|
174
|
+
category: color
|
|
175
|
+
- name: --slds-c-button-destructive-color-background
|
|
176
|
+
description: Background color for destructive buttons
|
|
177
|
+
category: color
|
|
178
|
+
- name: --slds-c-button-destructive-color-background-hover
|
|
179
|
+
description: Background color for destructive buttons on hover
|
|
180
|
+
category: color
|
|
181
|
+
- name: --slds-c-button-destructive-color-border
|
|
182
|
+
description: Border color for destructive buttons
|
|
183
|
+
category: color
|
|
184
|
+
- name: --slds-c-button-success-color-background
|
|
185
|
+
description: Background color for success buttons
|
|
186
|
+
category: color
|
|
187
|
+
- name: --slds-c-button-success-color-background-hover
|
|
188
|
+
description: Background color for success buttons on hover
|
|
189
|
+
category: color
|
|
190
|
+
- name: --slds-c-button-success-color-border
|
|
191
|
+
description: Border color for success buttons
|
|
192
|
+
category: color
|
|
193
|
+
- name: --slds-c-button-spacing-inline
|
|
194
|
+
description: Horizontal padding for buttons
|
|
195
|
+
category: spacing
|
|
196
|
+
- name: --slds-c-button-font-weight
|
|
197
|
+
description: Font weight for button text
|
|
198
|
+
category: typography
|
|
199
|
+
- name: --slds-c-button-radius-border
|
|
200
|
+
description: Border radius for buttons
|
|
201
|
+
category: border
|
|
202
|
+
- name: --slds-c-button-sizing-border
|
|
203
|
+
description: Border width for buttons
|
|
204
|
+
category: sizing
|
|
205
|
+
dependencies:
|
|
206
|
+
css_files:
|
|
207
|
+
- buttons.css
|
|
208
|
+
javascript: []
|
|
209
|
+
icons:
|
|
210
|
+
- utility-sprite.svg (for icon buttons)
|
|
211
|
+
other_components:
|
|
212
|
+
- button-groups
|
|
213
|
+
- button-icons
|
|
214
|
+
related_components:
|
|
215
|
+
- name: Button Groups
|
|
216
|
+
relationship: container
|
|
217
|
+
description: Groups multiple buttons together
|
|
218
|
+
- name: Button Icons
|
|
219
|
+
relationship: variant
|
|
220
|
+
description: Icon-only button implementations
|
|
221
|
+
- name: Menus
|
|
222
|
+
relationship: trigger
|
|
223
|
+
description: Buttons often trigger dropdown menus
|
|
224
|
+
references:
|
|
225
|
+
official_docs: https://v1.lightningdesignsystem.com/components/buttons/
|
|
226
|
+
metadata:
|
|
227
|
+
version: 1.0.0
|
|
228
|
+
last_updated: '2025-11-12'
|
|
229
|
+
review_status: complete
|
|
230
|
+
notes: ' Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth.'
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
name: "Cards"
|
|
2
|
+
description: "A foundational component that provides a structured container for related content with optional header, body, and footer sections."
|
|
3
|
+
category: "Layout"
|
|
4
|
+
slds_classes:
|
|
5
|
+
root: "slds-card"
|
|
6
|
+
elements:
|
|
7
|
+
- class: "slds-card__header"
|
|
8
|
+
description: "Header section of the card"
|
|
9
|
+
purpose: "Contains title, actions, and header content"
|
|
10
|
+
- class: "slds-card__header-title"
|
|
11
|
+
description: "Title container within card header"
|
|
12
|
+
purpose: "Holds the main heading for the card"
|
|
13
|
+
- class: "slds-card__body"
|
|
14
|
+
description: "Main content area of the card"
|
|
15
|
+
purpose: "Contains the primary card content"
|
|
16
|
+
- class: "slds-card__footer"
|
|
17
|
+
description: "Footer section of the card"
|
|
18
|
+
purpose: "Contains actions, links, or supplementary information"
|
|
19
|
+
modifiers:
|
|
20
|
+
- class: "slds-card_boundary"
|
|
21
|
+
description: "Card with border styling"
|
|
22
|
+
usage: "Adds visible border to define card boundaries"
|
|
23
|
+
states: []
|
|
24
|
+
variants:
|
|
25
|
+
- name: "Base"
|
|
26
|
+
description: "Standard card with header, body, and optional footer"
|
|
27
|
+
classes:
|
|
28
|
+
- "slds-card"
|
|
29
|
+
usage_context: "Default card implementation for content grouping"
|
|
30
|
+
differences: "Clean card structure with defined sections"
|
|
31
|
+
lightning_component:
|
|
32
|
+
name: "lightning-card"
|
|
33
|
+
url: "https://developer.salesforce.com/docs/component-library/bundle/lightning-card"
|
|
34
|
+
mapping_notes: "Direct mapping - Lightning component implements SLDS card blueprint"
|
|
35
|
+
accessibility:
|
|
36
|
+
keyboard_support:
|
|
37
|
+
- "Tab navigation through interactive elements within card"
|
|
38
|
+
- "Focus management for embedded components"
|
|
39
|
+
screen_reader:
|
|
40
|
+
- "Card structure conveyed through semantic markup"
|
|
41
|
+
- "Header, body, footer sections properly identified"
|
|
42
|
+
- "Content hierarchy communicated clearly"
|
|
43
|
+
aria_attributes:
|
|
44
|
+
- "aria-labelledby for card titles"
|
|
45
|
+
- "role='region' when card represents distinct content area"
|
|
46
|
+
- "aria-describedby for additional card context"
|
|
47
|
+
usage_guidelines:
|
|
48
|
+
when_to_use:
|
|
49
|
+
- "To group related content together"
|
|
50
|
+
- "For displaying data records or entities"
|
|
51
|
+
- "When you need a structured content container"
|
|
52
|
+
- "To create visual separation between content sections"
|
|
53
|
+
when_not_to_use:
|
|
54
|
+
- "For simple text content (use regular layout instead)"
|
|
55
|
+
- "When content doesn't benefit from grouping"
|
|
56
|
+
- "For navigation elements (use navigation components)"
|
|
57
|
+
best_practices:
|
|
58
|
+
- "Use descriptive titles in card headers"
|
|
59
|
+
- "Group related content logically"
|
|
60
|
+
- "Keep card content focused and concise"
|
|
61
|
+
- "Use footer for actions related to the card content"
|
|
62
|
+
- "Maintain consistent card sizing within collections"
|
|
63
|
+
common_mistakes:
|
|
64
|
+
- "Overloading cards with too much content"
|
|
65
|
+
- "Using cards for single pieces of information"
|
|
66
|
+
- "Inconsistent card styling within the same interface"
|
|
67
|
+
- "Missing or unclear card titles"
|
|
68
|
+
code_examples:
|
|
69
|
+
- title: "Complete Card"
|
|
70
|
+
code: |
|
|
71
|
+
<article class="slds-card">
|
|
72
|
+
<div class="slds-card__header slds-grid">
|
|
73
|
+
<header class="slds-media slds-media_center slds-has-flexi-truncate">
|
|
74
|
+
<div class="slds-media__body">
|
|
75
|
+
<h2 class="slds-card__header-title">
|
|
76
|
+
<a href="#" class="slds-card__header-link slds-truncate" title="Accounts">
|
|
77
|
+
<span>Accounts (1)</span>
|
|
78
|
+
</a>
|
|
79
|
+
</h2>
|
|
80
|
+
</div>
|
|
81
|
+
</header>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="slds-card__body slds-card__body_inner">
|
|
84
|
+
<p>Card body content goes here...</p>
|
|
85
|
+
</div>
|
|
86
|
+
<footer class="slds-card__footer">
|
|
87
|
+
<a href="#">View All</a>
|
|
88
|
+
</footer>
|
|
89
|
+
</article>
|
|
90
|
+
styling_hooks:
|
|
91
|
+
- name: "--slds-c-card-color-background"
|
|
92
|
+
description: "Background color for cards"
|
|
93
|
+
category: "color"
|
|
94
|
+
- name: "--slds-c-card-color-border"
|
|
95
|
+
description: "Border color for cards"
|
|
96
|
+
category: "color"
|
|
97
|
+
dependencies:
|
|
98
|
+
css_files:
|
|
99
|
+
- "card.css"
|
|
100
|
+
- "media-objects.css"
|
|
101
|
+
- "grid.css"
|
|
102
|
+
javascript: []
|
|
103
|
+
icons: []
|
|
104
|
+
other_components:
|
|
105
|
+
- "media-objects"
|
|
106
|
+
- "grid"
|
|
107
|
+
- "truncate"
|
|
108
|
+
related_components:
|
|
109
|
+
- name: "Tiles"
|
|
110
|
+
relationship: "similar"
|
|
111
|
+
description: "Alternative layout component for content grouping"
|
|
112
|
+
- name: "Panels"
|
|
113
|
+
relationship: "similar"
|
|
114
|
+
description: "Alternative container component"
|
|
115
|
+
- name: "Media Objects"
|
|
116
|
+
relationship: "depends-on"
|
|
117
|
+
description: "Often used within card headers"
|
|
118
|
+
references:
|
|
119
|
+
official_docs: "https://v1.lightningdesignsystem.com/components/cards/"
|
|
120
|
+
metadata:
|
|
121
|
+
version: "1.0.0"
|
|
122
|
+
last_updated: "2025-11-12"
|
|
123
|
+
review_status: "complete"
|
|
124
|
+
notes: " Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth."
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
name: "Carousel"
|
|
2
|
+
description: "A slideshow component that displays a series of content panels with navigation controls, allowing users to browse through multiple items in a contained space."
|
|
3
|
+
category: "Layout"
|
|
4
|
+
slds_classes:
|
|
5
|
+
root: "slds-carousel"
|
|
6
|
+
elements:
|
|
7
|
+
- class: "slds-carousel__stage"
|
|
8
|
+
description: "Main container for carousel content"
|
|
9
|
+
purpose: "Holds the carousel panels and manages overflow"
|
|
10
|
+
- class: "slds-carousel__panels"
|
|
11
|
+
description: "Container for all carousel panels"
|
|
12
|
+
purpose: "Groups all slideable content panels"
|
|
13
|
+
- class: "slds-carousel__panel"
|
|
14
|
+
description: "Individual carousel content panel"
|
|
15
|
+
purpose: "Contains a single slide of content"
|
|
16
|
+
- class: "slds-carousel__panel-action"
|
|
17
|
+
description: "Interactive element within panel"
|
|
18
|
+
purpose: "Clickable area for panel interaction"
|
|
19
|
+
- class: "slds-carousel__indicators"
|
|
20
|
+
description: "Navigation indicator container"
|
|
21
|
+
purpose: "Holds dot indicators for carousel position"
|
|
22
|
+
- class: "slds-carousel__indicator"
|
|
23
|
+
description: "Individual position indicator"
|
|
24
|
+
purpose: "Shows and controls current carousel position"
|
|
25
|
+
modifiers: []
|
|
26
|
+
states:
|
|
27
|
+
- class: "slds-is-active"
|
|
28
|
+
description: "Active panel/indicator state"
|
|
29
|
+
trigger: "Currently visible carousel panel"
|
|
30
|
+
variants:
|
|
31
|
+
- name: "Base"
|
|
32
|
+
description: "Standard carousel with navigation controls"
|
|
33
|
+
classes:
|
|
34
|
+
- "slds-carousel"
|
|
35
|
+
usage_context: "Default carousel for multiple content panels"
|
|
36
|
+
differences: "Slideshow with navigation dots and arrow controls"
|
|
37
|
+
lightning_component:
|
|
38
|
+
name: "lightning-carousel"
|
|
39
|
+
url: "https://developer.salesforce.com/docs/component-library/bundle/lightning-carousel"
|
|
40
|
+
mapping_notes: "Direct mapping - Lightning component implements SLDS carousel blueprint"
|
|
41
|
+
accessibility:
|
|
42
|
+
keyboard_support:
|
|
43
|
+
- "Tab to focus carousel navigation controls"
|
|
44
|
+
- "Enter/Space to activate navigation"
|
|
45
|
+
- "Arrow keys to navigate between panels"
|
|
46
|
+
- "Tab to move through panel content"
|
|
47
|
+
screen_reader:
|
|
48
|
+
- "Carousel structure and current position announced"
|
|
49
|
+
- "Panel content changes communicated"
|
|
50
|
+
- "Navigation controls clearly identified"
|
|
51
|
+
- "Total panel count and current position provided"
|
|
52
|
+
aria_attributes:
|
|
53
|
+
- "role='region' for carousel container"
|
|
54
|
+
- "aria-label describing carousel purpose"
|
|
55
|
+
- "aria-live='polite' for panel changes"
|
|
56
|
+
- "aria-current for active panel indicator"
|
|
57
|
+
- "role='tablist' for indicator navigation"
|
|
58
|
+
- "role='tab' for individual indicators"
|
|
59
|
+
usage_guidelines:
|
|
60
|
+
when_to_use:
|
|
61
|
+
- "To display multiple related content items in limited space"
|
|
62
|
+
- "For showcasing featured content or images"
|
|
63
|
+
- "When users should browse through a collection"
|
|
64
|
+
- "For onboarding or tutorial sequences"
|
|
65
|
+
when_not_to_use:
|
|
66
|
+
- "For critical information that must be seen"
|
|
67
|
+
- "When all content should be immediately visible"
|
|
68
|
+
- "For single items (use cards or other layouts)"
|
|
69
|
+
- "When navigation between items is not meaningful"
|
|
70
|
+
best_practices:
|
|
71
|
+
- "Provide clear navigation controls"
|
|
72
|
+
- "Include position indicators for context"
|
|
73
|
+
- "Ensure content is meaningful in sequence"
|
|
74
|
+
- "Handle auto-play responsibly (provide pause control)"
|
|
75
|
+
- "Make panels keyboard accessible"
|
|
76
|
+
common_mistakes:
|
|
77
|
+
- "Auto-playing without user control"
|
|
78
|
+
- "Poor navigation control visibility"
|
|
79
|
+
- "Not indicating current position"
|
|
80
|
+
- "Making panels too dense with information"
|
|
81
|
+
code_examples:
|
|
82
|
+
- title: "Basic Carousel"
|
|
83
|
+
code: |
|
|
84
|
+
<div class="slds-carousel">
|
|
85
|
+
<div class="slds-carousel__stage">
|
|
86
|
+
<div class="slds-carousel__panels">
|
|
87
|
+
<div id="panel-01" class="slds-carousel__panel slds-is-active" role="tabpanel" aria-labelledby="indicator-01">
|
|
88
|
+
<a href="#" class="slds-carousel__panel-action slds-text-link_reset">
|
|
89
|
+
<div class="slds-align_absolute-center">
|
|
90
|
+
<h2 class="slds-text-heading_large">Panel 1 Content</h2>
|
|
91
|
+
</div>
|
|
92
|
+
</a>
|
|
93
|
+
</div>
|
|
94
|
+
<div id="panel-02" class="slds-carousel__panel" role="tabpanel" aria-labelledby="indicator-02">
|
|
95
|
+
<a href="#" class="slds-carousel__panel-action slds-text-link_reset">
|
|
96
|
+
<div class="slds-align_absolute-center">
|
|
97
|
+
<h2 class="slds-text-heading_large">Panel 2 Content</h2>
|
|
98
|
+
</div>
|
|
99
|
+
</a>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
<ul class="slds-carousel__indicators" role="tablist">
|
|
104
|
+
<li class="slds-carousel__indicator" role="presentation">
|
|
105
|
+
<a id="indicator-01" class="slds-carousel__indicator-action slds-is-active" href="#panel-01" role="tab" aria-controls="panel-01" aria-selected="true" tabindex="0">
|
|
106
|
+
<span class="slds-assistive-text">Panel 1</span>
|
|
107
|
+
</a>
|
|
108
|
+
</li>
|
|
109
|
+
<li class="slds-carousel__indicator" role="presentation">
|
|
110
|
+
<a id="indicator-02" class="slds-carousel__indicator-action" href="#panel-02" role="tab" aria-controls="panel-02" aria-selected="false" tabindex="-1">
|
|
111
|
+
<span class="slds-assistive-text">Panel 2</span>
|
|
112
|
+
</a>
|
|
113
|
+
</li>
|
|
114
|
+
</ul>
|
|
115
|
+
</div>
|
|
116
|
+
styling_hooks: []
|
|
117
|
+
dependencies:
|
|
118
|
+
css_files:
|
|
119
|
+
- "carousel.css"
|
|
120
|
+
javascript:
|
|
121
|
+
- "carousel.js"
|
|
122
|
+
icons: []
|
|
123
|
+
other_components: []
|
|
124
|
+
related_components:
|
|
125
|
+
- name: "Tabs"
|
|
126
|
+
relationship: "similar"
|
|
127
|
+
description: "Similar panel switching concept"
|
|
128
|
+
- name: "Cards"
|
|
129
|
+
relationship: "depends-on"
|
|
130
|
+
description: "Often used as content within carousel panels"
|
|
131
|
+
- name: "Images"
|
|
132
|
+
relationship: "depends-on"
|
|
133
|
+
description: "Commonly used content type in carousels"
|
|
134
|
+
references:
|
|
135
|
+
official_docs: "https://v1.lightningdesignsystem.com/components/carousel/"
|
|
136
|
+
metadata:
|
|
137
|
+
version: "1.0.0"
|
|
138
|
+
last_updated: "2025-11-12"
|
|
139
|
+
review_status: "complete"
|
|
140
|
+
notes: " Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth."
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
name: Chat
|
|
2
|
+
description: A component for displaying current or past chat sessions between customers and service agents. It appears as
|
|
3
|
+
a chronological log with messages, events, and bookend markers to indicate session boundaries.
|
|
4
|
+
category: Complex Components
|
|
5
|
+
slds_classes:
|
|
6
|
+
root: slds-chat
|
|
7
|
+
elements:
|
|
8
|
+
- class: slds-chat-list
|
|
9
|
+
description: List container for chat items
|
|
10
|
+
purpose: Holds the ordered list of chat messages and events
|
|
11
|
+
- class: slds-chat-listitem
|
|
12
|
+
description: Individual item in the chat list
|
|
13
|
+
purpose: Wraps each message, event, or bookend in the chat
|
|
14
|
+
- class: slds-chat-listitem_inbound
|
|
15
|
+
description: Inbound message list item (customer to agent)
|
|
16
|
+
purpose: Styles messages received from customer
|
|
17
|
+
- class: slds-chat-listitem_outbound
|
|
18
|
+
description: Outbound message list item (agent to customer)
|
|
19
|
+
purpose: Styles messages sent by agent, right-aligned
|
|
20
|
+
- class: slds-chat-listitem_bookend
|
|
21
|
+
description: Bookend item marking session start/end
|
|
22
|
+
purpose: Visual separator for chat session boundaries
|
|
23
|
+
- class: slds-chat-listitem_event
|
|
24
|
+
description: Event item in chat log
|
|
25
|
+
purpose: Displays system events like 'Agent joined'
|
|
26
|
+
- class: slds-chat-message
|
|
27
|
+
description: Message container
|
|
28
|
+
purpose: Wraps chat message content and metadata
|
|
29
|
+
- class: slds-chat-message__body
|
|
30
|
+
description: Message body container
|
|
31
|
+
purpose: Contains message text and avatar alignment
|
|
32
|
+
- class: slds-chat-message__text
|
|
33
|
+
description: Message text content
|
|
34
|
+
purpose: Displays the actual message content
|
|
35
|
+
- class: slds-chat-message_faux-avatar
|
|
36
|
+
description: Faux avatar for alignment
|
|
37
|
+
purpose: Aligns consecutive messages without showing duplicate avatars
|
|
38
|
+
- class: slds-chat-avatar
|
|
39
|
+
description: Avatar element in chat
|
|
40
|
+
purpose: Displays user avatar in chat messages
|
|
41
|
+
- class: slds-chat-icon
|
|
42
|
+
description: Icon styling within chat
|
|
43
|
+
purpose: Styles icons used in messages and events
|
|
44
|
+
- class: slds-chat-message__file
|
|
45
|
+
description: File attachment in message
|
|
46
|
+
purpose: Displays file attachments in chat
|
|
47
|
+
- class: slds-chat-message__image_loading
|
|
48
|
+
description: Loading state for images
|
|
49
|
+
purpose: Shows loading indicator for image attachments
|
|
50
|
+
modifiers: []
|
|
51
|
+
states: []
|
|
52
|
+
variants:
|
|
53
|
+
- name: Base
|
|
54
|
+
description: Standard chat log display
|
|
55
|
+
classes:
|
|
56
|
+
- slds-chat
|
|
57
|
+
usage_context: Default chat implementation with messages and events
|
|
58
|
+
differences: Chronological display with inbound and outbound messages
|
|
59
|
+
lightning_component:
|
|
60
|
+
name: ''
|
|
61
|
+
url: https://developer.salesforce.com/docs/component-library/overview/components
|
|
62
|
+
mapping_notes: No direct Lightning Base Component - typically built with custom components for messaging platforms
|
|
63
|
+
accessibility:
|
|
64
|
+
keyboard_support:
|
|
65
|
+
- Tab to navigate through interactive elements
|
|
66
|
+
- Screen reader reads messages in chronological order
|
|
67
|
+
screen_reader:
|
|
68
|
+
- role='log' on chat container
|
|
69
|
+
- Messages announced as they appear
|
|
70
|
+
- Sender identification announced
|
|
71
|
+
- Timestamps and metadata announced
|
|
72
|
+
aria_attributes:
|
|
73
|
+
- role='log' on chat container
|
|
74
|
+
- aria-label for chat region
|
|
75
|
+
- aria-live for new messages (polite or assertive)
|
|
76
|
+
- Sender and timestamp information accessible
|
|
77
|
+
usage_guidelines:
|
|
78
|
+
when_to_use:
|
|
79
|
+
- For customer service chat interfaces
|
|
80
|
+
- To display chat history or transcripts
|
|
81
|
+
- In messaging or communication features
|
|
82
|
+
- For live or archived chat sessions
|
|
83
|
+
when_not_to_use:
|
|
84
|
+
- For comments or discussion threads
|
|
85
|
+
- For simple message lists without conversation context
|
|
86
|
+
- For email or notification displays
|
|
87
|
+
- When real-time updates aren't needed
|
|
88
|
+
best_practices:
|
|
89
|
+
- Display messages in chronological order
|
|
90
|
+
- Clearly differentiate inbound and outbound messages
|
|
91
|
+
- Include timestamps for message context
|
|
92
|
+
- Show sender identification (avatar and name)
|
|
93
|
+
- Use bookends to mark session boundaries
|
|
94
|
+
- Handle long messages with proper wrapping
|
|
95
|
+
- Support file attachments and rich content
|
|
96
|
+
common_mistakes:
|
|
97
|
+
- Not distinguishing message direction clearly
|
|
98
|
+
- Missing timestamps on messages
|
|
99
|
+
- Poor handling of consecutive messages
|
|
100
|
+
- Inadequate spacing between messages
|
|
101
|
+
- Not marking session start/end clearly
|
|
102
|
+
code_examples:
|
|
103
|
+
- title: Basic Chat Log
|
|
104
|
+
code: "<section class=\"slds-chat\" role=\"log\" aria-label=\"Chat conversation\">\n <ul class=\"slds-chat-list\">\n\
|
|
105
|
+
\ <li class=\"slds-chat-listitem slds-chat-listitem_bookend\">\n <div class=\"slds-chat-bookend\">\n \
|
|
106
|
+
\ <span class=\"slds-icon_container slds-icon-utility-chat slds-chat-icon\">\n <svg class=\"slds-icon\
|
|
107
|
+
\ slds-icon_x-small\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#chat\"\
|
|
108
|
+
></use>\n </svg>\n </span>\n <p>Chat started</p>\n </div>\n </li>\n\
|
|
109
|
+
\ <li class=\"slds-chat-listitem slds-chat-listitem_inbound\">\n <div class=\"slds-chat-message\">\n \
|
|
110
|
+
\ <span class=\"slds-avatar slds-avatar_circle slds-chat-avatar\">\n <img src=\"/assets/images/avatar1.jpg\"\
|
|
111
|
+
\ alt=\"Customer\" />\n </span>\n <div class=\"slds-chat-message__body\">\n <div class=\"\
|
|
112
|
+
slds-chat-message__text slds-chat-message__text_inbound\">\n <span>Hello, I need help with my account</span>\n\
|
|
113
|
+
\ </div>\n </div>\n </div>\n </li>\n <li class=\"slds-chat-listitem slds-chat-listitem_outbound\"\
|
|
114
|
+
>\n <div class=\"slds-chat-message\">\n <div class=\"slds-chat-message__body\">\n <div\
|
|
115
|
+
\ class=\"slds-chat-message__text slds-chat-message__text_outbound\">\n <span>Hi! I'd be happy to help.\
|
|
116
|
+
\ What can I assist you with?</span>\n </div>\n </div>\n <span class=\"slds-avatar\
|
|
117
|
+
\ slds-avatar_circle slds-chat-avatar\">\n <img src=\"/assets/images/avatar2.jpg\" alt=\"Agent\" />\n \
|
|
118
|
+
\ </span>\n </div>\n </li>\n <li class=\"slds-chat-listitem slds-chat-listitem_bookend\"\
|
|
119
|
+
>\n <div class=\"slds-chat-bookend\">\n <span class=\"slds-icon_container slds-icon-utility-end_chat\
|
|
120
|
+
\ slds-chat-icon\">\n <svg class=\"slds-icon slds-icon_x-small\" aria-hidden=\"true\">\n <use\
|
|
121
|
+
\ xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#end_chat\"></use>\n </svg>\n </span>\n\
|
|
122
|
+
\ <p>Chat ended</p>\n </div>\n </li>\n </ul>\n </section>\n"
|
|
123
|
+
- title: Chat with Events
|
|
124
|
+
code: "<section class=\"slds-chat\" role=\"log\" aria-label=\"Chat with events\">\n <ul class=\"slds-chat-list\">\n\
|
|
125
|
+
\ <li class=\"slds-chat-listitem slds-chat-listitem_event\">\n <div class=\"slds-chat-event\">\n \
|
|
126
|
+
\ <div class=\"slds-chat-event__body\">\n <span class=\"slds-icon_container slds-icon-utility-user\
|
|
127
|
+
\ slds-chat-icon\">\n <svg class=\"slds-icon slds-icon_x-small\" aria-hidden=\"true\">\n \
|
|
128
|
+
\ <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#user\"></use>\n </svg>\n \
|
|
129
|
+
\ </span>\n <p>Agent Sarah joined the chat</p>\n </div>\n </div>\n </li>\n\
|
|
130
|
+
\ <li class=\"slds-chat-listitem slds-chat-listitem_inbound\">\n <div class=\"slds-chat-message\">\n \
|
|
131
|
+
\ <span class=\"slds-avatar slds-avatar_circle slds-chat-avatar\">\n <abbr class=\"slds-avatar__initials\"\
|
|
132
|
+
\ title=\"John Doe\">JD</abbr>\n </span>\n <div class=\"slds-chat-message__body\">\n \
|
|
133
|
+
\ <div class=\"slds-chat-message__text slds-chat-message__text_inbound\">\n <span>Can you help me reset\
|
|
134
|
+
\ my password?</span>\n </div>\n <div class=\"slds-chat-message__meta\" aria-label=\"10:30 AM\"\
|
|
135
|
+
>10:30 AM</div>\n </div>\n </div>\n </li>\n <li class=\"slds-chat-listitem slds-chat-listitem_outbound\"\
|
|
136
|
+
>\n <div class=\"slds-chat-message\">\n <div class=\"slds-chat-message__body\">\n <div\
|
|
137
|
+
\ class=\"slds-chat-message__text slds-chat-message__text_outbound\">\n <span>Of course! I'll send you\
|
|
138
|
+
\ a reset link.</span>\n </div>\n <div class=\"slds-chat-message__meta\" aria-label=\"10:31\
|
|
139
|
+
\ AM\">10:31 AM</div>\n </div>\n <span class=\"slds-avatar slds-avatar_circle slds-chat-avatar\"\
|
|
140
|
+
>\n <abbr class=\"slds-avatar__initials\" title=\"Sarah Agent\">SA</abbr>\n </span>\n \
|
|
141
|
+
\ </div>\n </li>\n </ul>\n </section>\n"
|
|
142
|
+
styling_hooks: []
|
|
143
|
+
dependencies:
|
|
144
|
+
css_files:
|
|
145
|
+
- chat.css
|
|
146
|
+
- avatar.css
|
|
147
|
+
- icon.css
|
|
148
|
+
javascript:
|
|
149
|
+
- Message scrolling and auto-scroll to latest
|
|
150
|
+
- Real-time message updates
|
|
151
|
+
- Typing indicators
|
|
152
|
+
icons:
|
|
153
|
+
- utility:chat
|
|
154
|
+
- utility:end_chat
|
|
155
|
+
- utility:user
|
|
156
|
+
other_components:
|
|
157
|
+
- avatar
|
|
158
|
+
- icon
|
|
159
|
+
related_components:
|
|
160
|
+
- name: Activity Timeline
|
|
161
|
+
relationship: similar
|
|
162
|
+
description: Similar chronological display pattern
|
|
163
|
+
- name: Feed
|
|
164
|
+
relationship: similar
|
|
165
|
+
description: Alternative for activity streams
|
|
166
|
+
- name: Publisher
|
|
167
|
+
relationship: complementary
|
|
168
|
+
description: Input component for sending messages
|
|
169
|
+
references:
|
|
170
|
+
official_docs: https://v1.lightningdesignsystem.com/components/chat/
|
|
171
|
+
metadata:
|
|
172
|
+
version: 1.0.0
|
|
173
|
+
last_updated: '2025-11-12'
|
|
174
|
+
author: SLDS Documentation Team
|
|
175
|
+
slds_version: 2.27.2
|
|
176
|
+
review_status: complete
|
|
177
|
+
source: official-slds
|
|
178
|
+
notes: Created from official SLDS documentation and design-system-internal source code Cleaned invalid classes and CSS variables
|
|
179
|
+
on 2025-11-12 using slds-plus.css as source of truth.
|