@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,138 @@
|
|
|
1
|
+
name: "Icons"
|
|
2
|
+
description: "Scalable vector graphics that provide visual meaning and enhance user interface elements with consistent symbolic representation."
|
|
3
|
+
category: "Display"
|
|
4
|
+
slds_classes:
|
|
5
|
+
root: "slds-icon"
|
|
6
|
+
elements:
|
|
7
|
+
- class: "slds-icon_container"
|
|
8
|
+
description: "Container for icon with background"
|
|
9
|
+
purpose: "Provides background and spacing for icons"
|
|
10
|
+
modifiers:
|
|
11
|
+
- class: "slds-icon_xx-small"
|
|
12
|
+
description: "Extra extra small icon size"
|
|
13
|
+
usage: "12px icons for very compact spaces"
|
|
14
|
+
- class: "slds-icon_x-small"
|
|
15
|
+
description: "Extra small icon size"
|
|
16
|
+
usage: "16px icons for compact elements"
|
|
17
|
+
- class: "slds-icon_small"
|
|
18
|
+
description: "Small icon size"
|
|
19
|
+
usage: "20px icons for small components"
|
|
20
|
+
- class: "slds-icon_large"
|
|
21
|
+
description: "Large icon size"
|
|
22
|
+
usage: "32px icons for prominent display"
|
|
23
|
+
- class: "slds-icon-text-default"
|
|
24
|
+
description: "Default icon color"
|
|
25
|
+
usage: "Standard text color for icons"
|
|
26
|
+
- class: "slds-icon-text-light"
|
|
27
|
+
description: "Light icon color"
|
|
28
|
+
usage: "Subdued icon appearance"
|
|
29
|
+
- class: "slds-icon-text-warning"
|
|
30
|
+
description: "Warning icon color"
|
|
31
|
+
usage: "Warning state indication"
|
|
32
|
+
- class: "slds-icon-text-error"
|
|
33
|
+
description: "Error icon color"
|
|
34
|
+
usage: "Error state indication"
|
|
35
|
+
- class: "slds-icon-text-success"
|
|
36
|
+
description: "Success icon color"
|
|
37
|
+
usage: "Success state indication"
|
|
38
|
+
states: []
|
|
39
|
+
variants:
|
|
40
|
+
- name: "Base"
|
|
41
|
+
description: "Standard icon implementation"
|
|
42
|
+
classes:
|
|
43
|
+
- "slds-icon"
|
|
44
|
+
usage_context: "Default icon display"
|
|
45
|
+
differences: "SVG icon with standard styling"
|
|
46
|
+
- name: "Container"
|
|
47
|
+
description: "Icon with background container"
|
|
48
|
+
classes:
|
|
49
|
+
- "slds-icon_container"
|
|
50
|
+
usage_context: "Icons needing background emphasis"
|
|
51
|
+
differences: "Icon with colored background circle"
|
|
52
|
+
lightning_component:
|
|
53
|
+
name: "lightning-icon"
|
|
54
|
+
url: "https://developer.salesforce.com/docs/component-library/bundle/lightning-icon"
|
|
55
|
+
mapping_notes: "Direct mapping - Lightning component implements SLDS icon blueprint"
|
|
56
|
+
accessibility:
|
|
57
|
+
keyboard_support:
|
|
58
|
+
- "No keyboard interaction (display-only)"
|
|
59
|
+
- "Focus handled by parent interactive elements"
|
|
60
|
+
screen_reader:
|
|
61
|
+
- "Icon meaning conveyed through aria-label or title"
|
|
62
|
+
- "Decorative icons hidden with aria-hidden='true'"
|
|
63
|
+
- "Meaningful icons announced with appropriate labels"
|
|
64
|
+
aria_attributes:
|
|
65
|
+
- "aria-hidden='true' for decorative icons"
|
|
66
|
+
- "aria-label for meaningful icons without text"
|
|
67
|
+
- "title attribute for hover tooltips"
|
|
68
|
+
usage_guidelines:
|
|
69
|
+
when_to_use:
|
|
70
|
+
- "To enhance understanding of UI elements"
|
|
71
|
+
- "For visual consistency and recognition"
|
|
72
|
+
- "To indicate status or state"
|
|
73
|
+
- "As visual cues for actions or content types"
|
|
74
|
+
when_not_to_use:
|
|
75
|
+
- "As the only way to convey important information"
|
|
76
|
+
- "When the icon meaning is unclear or ambiguous"
|
|
77
|
+
- "For purely decorative purposes without semantic value"
|
|
78
|
+
best_practices:
|
|
79
|
+
- "Use icons from the SLDS icon library for consistency"
|
|
80
|
+
- "Choose appropriate size for context"
|
|
81
|
+
- "Provide text labels or alt text for meaningful icons"
|
|
82
|
+
- "Use consistent icon styles throughout the interface"
|
|
83
|
+
- "Test icon recognition with users"
|
|
84
|
+
common_mistakes:
|
|
85
|
+
- "Using unclear or ambiguous icons"
|
|
86
|
+
- "Relying solely on icons without text backup"
|
|
87
|
+
- "Inconsistent icon sizing"
|
|
88
|
+
- "Missing accessibility attributes"
|
|
89
|
+
code_examples:
|
|
90
|
+
- title: "Basic Icon"
|
|
91
|
+
code: |
|
|
92
|
+
<svg class="slds-icon slds-icon_small slds-icon-text-default" aria-hidden="true">
|
|
93
|
+
<use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#user"></use>
|
|
94
|
+
</svg>
|
|
95
|
+
- title: "Icon with Container"
|
|
96
|
+
code: |
|
|
97
|
+
<span class="slds-icon_container slds-icon-standard-account">
|
|
98
|
+
<svg class="slds-icon" aria-hidden="true">
|
|
99
|
+
<use xlink:href="/assets/icons/standard-sprite/svg/symbols.svg#account"></use>
|
|
100
|
+
</svg>
|
|
101
|
+
</span>
|
|
102
|
+
- title: "Large Warning Icon"
|
|
103
|
+
code: |
|
|
104
|
+
<svg class="slds-icon slds-icon_large slds-icon-text-warning" aria-hidden="true">
|
|
105
|
+
<use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#warning"></use>
|
|
106
|
+
</svg>
|
|
107
|
+
styling_hooks:
|
|
108
|
+
- name: "--slds-c-icon-color-foreground-default"
|
|
109
|
+
default_value: "#706e6b"
|
|
110
|
+
description: "Default color for icons"
|
|
111
|
+
category: "color"
|
|
112
|
+
dependencies:
|
|
113
|
+
css_files:
|
|
114
|
+
- "icons.css"
|
|
115
|
+
javascript: []
|
|
116
|
+
icons:
|
|
117
|
+
- "utility-sprite.svg"
|
|
118
|
+
- "standard-sprite.svg"
|
|
119
|
+
- "action-sprite.svg"
|
|
120
|
+
- "custom-sprite.svg"
|
|
121
|
+
other_components: []
|
|
122
|
+
related_components:
|
|
123
|
+
- name: "Button Icons"
|
|
124
|
+
relationship: "similar"
|
|
125
|
+
description: "Icons used within button components"
|
|
126
|
+
- name: "Avatar"
|
|
127
|
+
relationship: "similar"
|
|
128
|
+
description: "Icons often used with avatar fallbacks"
|
|
129
|
+
- name: "Illustrations"
|
|
130
|
+
relationship: "similar"
|
|
131
|
+
description: "Larger, more complex visual graphics"
|
|
132
|
+
references:
|
|
133
|
+
official_docs: "https://v1.lightningdesignsystem.com/components/icons/"
|
|
134
|
+
metadata:
|
|
135
|
+
version: "1.0.0"
|
|
136
|
+
last_updated: "2025-11-12"
|
|
137
|
+
review_status: "complete"
|
|
138
|
+
notes: " Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth."
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
name: "Illustration"
|
|
2
|
+
|
|
3
|
+
description: "Visual illustrations used for empty states, error states, or informational contexts. Provides scalable SVG graphics with consistent styling and themeable colors for strokes and fills."
|
|
4
|
+
|
|
5
|
+
category: "Display"
|
|
6
|
+
|
|
7
|
+
slds_classes:
|
|
8
|
+
root: "slds-illustration"
|
|
9
|
+
elements:
|
|
10
|
+
- class: "slds-illustration__svg"
|
|
11
|
+
description: "SVG container for the illustration graphic"
|
|
12
|
+
purpose: "Holds the SVG illustration image"
|
|
13
|
+
- class: "slds-illustration__header"
|
|
14
|
+
description: "Header text above the illustration"
|
|
15
|
+
purpose: "Provides title or main message"
|
|
16
|
+
- class: "slds-illustration__stroke-primary"
|
|
17
|
+
description: "Primary stroke color for SVG elements"
|
|
18
|
+
purpose: "Applied to SVG paths for consistent theming"
|
|
19
|
+
- class: "slds-illustration__stroke-secondary"
|
|
20
|
+
description: "Secondary stroke color for SVG elements"
|
|
21
|
+
purpose: "Applied to SVG paths for accent colors"
|
|
22
|
+
- class: "slds-illustration__fill-primary"
|
|
23
|
+
description: "Primary fill color for SVG elements"
|
|
24
|
+
purpose: "Applied to SVG shapes for consistent theming"
|
|
25
|
+
- class: "slds-illustration__fill-secondary"
|
|
26
|
+
description: "Secondary fill color for SVG elements"
|
|
27
|
+
purpose: "Applied to SVG shapes for accent colors"
|
|
28
|
+
modifiers:
|
|
29
|
+
- class: "slds-illustration_small"
|
|
30
|
+
description: "Small size variant (300x200px max)"
|
|
31
|
+
purpose: "Compact illustration for smaller spaces"
|
|
32
|
+
- class: "slds-illustration_large"
|
|
33
|
+
description: "Large size variant (600x400px max)"
|
|
34
|
+
purpose: "Full-size illustration for prominent empty states"
|
|
35
|
+
states: []
|
|
36
|
+
|
|
37
|
+
variants:
|
|
38
|
+
- name: "Base"
|
|
39
|
+
description: "Standard illustration with default sizing"
|
|
40
|
+
classes: ["slds-illustration"]
|
|
41
|
+
usage_context: "Default illustration implementation"
|
|
42
|
+
differences: "Responsive illustration with natural SVG sizing"
|
|
43
|
+
- name: "Small"
|
|
44
|
+
description: "Compact illustration for smaller contexts"
|
|
45
|
+
classes: ["slds-illustration", "slds-illustration_small"]
|
|
46
|
+
usage_context: "Use in panels, cards, or compact layouts"
|
|
47
|
+
differences: "Maximum 300x200px with reduced spacing"
|
|
48
|
+
- name: "Large"
|
|
49
|
+
description: "Full-size illustration for prominent display"
|
|
50
|
+
classes: ["slds-illustration", "slds-illustration_large"]
|
|
51
|
+
usage_context: "Use for main content area empty states"
|
|
52
|
+
differences: "Maximum 600x400px with increased spacing"
|
|
53
|
+
|
|
54
|
+
lightning_component:
|
|
55
|
+
name: ""
|
|
56
|
+
url: "https://developer.salesforce.com/docs/component-library/overview/components"
|
|
57
|
+
mapping_notes: "No direct Lightning Base Component - implement with custom SVG and styling"
|
|
58
|
+
|
|
59
|
+
accessibility:
|
|
60
|
+
keyboard_support:
|
|
61
|
+
- "Illustrations are typically non-interactive"
|
|
62
|
+
screen_reader:
|
|
63
|
+
- "Provide descriptive alt text or aria-label"
|
|
64
|
+
- "Use aria-hidden='true' for decorative illustrations"
|
|
65
|
+
- "Ensure accompanying text is accessible"
|
|
66
|
+
aria_attributes:
|
|
67
|
+
- "role='img' on SVG or wrapper"
|
|
68
|
+
- "aria-label with description for meaningful illustrations"
|
|
69
|
+
- "aria-hidden='true' for purely decorative images"
|
|
70
|
+
|
|
71
|
+
usage_guidelines:
|
|
72
|
+
when_to_use:
|
|
73
|
+
- "For empty states (no data, no results, no items)"
|
|
74
|
+
- "For error or success confirmation screens"
|
|
75
|
+
- "To communicate system status visually"
|
|
76
|
+
- "For onboarding or informational screens"
|
|
77
|
+
when_not_to_use:
|
|
78
|
+
- "As primary content (use as supporting visual)"
|
|
79
|
+
- "For critical information without text backup"
|
|
80
|
+
- "In place of icons for actions"
|
|
81
|
+
- "When space is extremely limited"
|
|
82
|
+
best_practices:
|
|
83
|
+
- "Always pair illustration with descriptive text"
|
|
84
|
+
- "Use appropriate size variant for context"
|
|
85
|
+
- "Provide clear messaging about user action or state"
|
|
86
|
+
- "Ensure illustrations support but don't replace text"
|
|
87
|
+
- "Use consistent illustration style across application"
|
|
88
|
+
- "Consider color contrast and visibility"
|
|
89
|
+
common_mistakes:
|
|
90
|
+
- "Missing descriptive text or heading"
|
|
91
|
+
- "Illustrations too large for context"
|
|
92
|
+
- "Poor color contrast making illustration hard to see"
|
|
93
|
+
- "Relying solely on illustration without text"
|
|
94
|
+
- "Using wrong size variant for space available"
|
|
95
|
+
|
|
96
|
+
code_examples:
|
|
97
|
+
- title: "Basic Illustration with Empty State"
|
|
98
|
+
code: |
|
|
99
|
+
<div class="slds-illustration slds-illustration_small">
|
|
100
|
+
<svg class="slds-illustration__svg" viewBox="0 0 468 194" aria-hidden="true">
|
|
101
|
+
<g class="slds-illustration__stroke-primary">
|
|
102
|
+
<path d="M233.9 87.3l14.6 36.9 39.6 5.8-28.6 27.9 6.8 39.3-35.5-18.6-35.4 18.6 6.7-39.3L174 130l39.6-5.8z"/>
|
|
103
|
+
</g>
|
|
104
|
+
<g class="slds-illustration__fill-secondary">
|
|
105
|
+
<path d="M234 180.5l-22.7-11.9 4.3 25.2 18.4-13.3z"/>
|
|
106
|
+
</g>
|
|
107
|
+
</svg>
|
|
108
|
+
<h3 class="slds-illustration__header">No Items Found</h3>
|
|
109
|
+
<p class="slds-text-body_regular">Start by creating your first item.</p>
|
|
110
|
+
</div>
|
|
111
|
+
description: "Small illustration for empty state with header and description"
|
|
112
|
+
- title: "Large Illustration with Action"
|
|
113
|
+
code: |
|
|
114
|
+
<div class="slds-illustration slds-illustration_large">
|
|
115
|
+
<svg class="slds-illustration__svg" viewBox="0 0 600 400" aria-hidden="true">
|
|
116
|
+
<g class="slds-illustration__stroke-primary">
|
|
117
|
+
<rect x="100" y="100" width="400" height="200" rx="8"/>
|
|
118
|
+
</g>
|
|
119
|
+
<g class="slds-illustration__fill-secondary">
|
|
120
|
+
<circle cx="300" cy="200" r="50"/>
|
|
121
|
+
</g>
|
|
122
|
+
</svg>
|
|
123
|
+
<h3 class="slds-illustration__header">Welcome to Your Dashboard</h3>
|
|
124
|
+
<p class="slds-text-body_regular">Get started by adding your first widget.</p>
|
|
125
|
+
<button class="slds-button slds-button_brand">Add Widget</button>
|
|
126
|
+
</div>
|
|
127
|
+
description: "Large illustration with header, description, and action button"
|
|
128
|
+
- title: "Illustration with No Data State"
|
|
129
|
+
code: |
|
|
130
|
+
<div class="slds-illustration slds-illustration_small">
|
|
131
|
+
<svg class="slds-illustration__svg" viewBox="0 0 300 200" aria-hidden="true">
|
|
132
|
+
<g class="slds-illustration__fill-primary">
|
|
133
|
+
<path d="M150 50 L250 150 L50 150 Z"/>
|
|
134
|
+
</g>
|
|
135
|
+
<g class="slds-illustration__stroke-secondary">
|
|
136
|
+
<line x1="150" y1="70" x2="150" y2="130" stroke-width="3"/>
|
|
137
|
+
<line x1="130" y1="150" x2="170" y2="150" stroke-width="3"/>
|
|
138
|
+
</g>
|
|
139
|
+
</svg>
|
|
140
|
+
<div class="slds-text-longform">
|
|
141
|
+
<h3 class="slds-illustration__header slds-text-heading_medium">
|
|
142
|
+
No Records to Display
|
|
143
|
+
</h3>
|
|
144
|
+
<p class="slds-text-body_regular">
|
|
145
|
+
When you have records, they'll appear here.
|
|
146
|
+
</p>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
description: "Illustration communicating no data available"
|
|
150
|
+
- title: "Error State Illustration"
|
|
151
|
+
code: |
|
|
152
|
+
<div class="slds-illustration slds-illustration_small">
|
|
153
|
+
<svg class="slds-illustration__svg" viewBox="0 0 300 200" role="img" aria-labelledby="error-title">
|
|
154
|
+
<title id="error-title">Error occurred</title>
|
|
155
|
+
<g class="slds-illustration__stroke-primary">
|
|
156
|
+
<circle cx="150" cy="100" r="40" fill="none" stroke-width="3"/>
|
|
157
|
+
<line x1="130" y1="80" x2="170" y2="120" stroke-width="3"/>
|
|
158
|
+
<line x1="170" y1="80" x2="130" y2="120" stroke-width="3"/>
|
|
159
|
+
</g>
|
|
160
|
+
</svg>
|
|
161
|
+
<h3 class="slds-illustration__header">Something Went Wrong</h3>
|
|
162
|
+
<p class="slds-text-body_regular">
|
|
163
|
+
We couldn't complete your request. Please try again.
|
|
164
|
+
</p>
|
|
165
|
+
<button class="slds-button slds-button_neutral">Try Again</button>
|
|
166
|
+
</div>
|
|
167
|
+
description: "Error state illustration with retry action"
|
|
168
|
+
|
|
169
|
+
styling_hooks:
|
|
170
|
+
- name: "--slds-g-color-palette-cloud-blue-80"
|
|
171
|
+
description: "Primary color for illustration strokes and fills"
|
|
172
|
+
css_property: "stroke, fill"
|
|
173
|
+
- name: "--slds-g-color-palette-cloud-blue-90"
|
|
174
|
+
description: "Secondary color for illustration strokes and fills"
|
|
175
|
+
css_property: "stroke, fill"
|
|
176
|
+
|
|
177
|
+
dependencies:
|
|
178
|
+
css_files: ["illustration.css"]
|
|
179
|
+
javascript: []
|
|
180
|
+
icons: []
|
|
181
|
+
other_components: ["button", "text"]
|
|
182
|
+
|
|
183
|
+
related_components:
|
|
184
|
+
- name: "Empty State"
|
|
185
|
+
relationship: "pattern"
|
|
186
|
+
description: "Complete pattern using illustration"
|
|
187
|
+
- name: "Icon"
|
|
188
|
+
relationship: "alternative"
|
|
189
|
+
description: "Simpler graphic alternative for smaller contexts"
|
|
190
|
+
- name: "Spinner"
|
|
191
|
+
relationship: "complementary"
|
|
192
|
+
description: "Loading state while content loads"
|
|
193
|
+
|
|
194
|
+
references:
|
|
195
|
+
official_docs: "https://v1.lightningdesignsystem.com/components/illustration/"
|
|
196
|
+
|
|
197
|
+
metadata:
|
|
198
|
+
version: "1.0.0"
|
|
199
|
+
last_updated: "2025-11-11"
|
|
200
|
+
author: "SLDS Documentation Team"
|
|
201
|
+
slds_version: "2.27.2"
|
|
202
|
+
review_status: "complete"
|
|
203
|
+
source: "official-slds"
|
|
204
|
+
notes: "Created from official SLDS documentation and design-system-internal source code"
|
|
205
|
+
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
name: "Input"
|
|
2
|
+
|
|
3
|
+
description: "A fundamental form control that allows users to enter text, numbers, or other data with various input types and validation states."
|
|
4
|
+
|
|
5
|
+
category: "Input"
|
|
6
|
+
|
|
7
|
+
slds_classes:
|
|
8
|
+
root: "slds-input"
|
|
9
|
+
elements: []
|
|
10
|
+
modifiers:
|
|
11
|
+
- class: "slds-input_bare"
|
|
12
|
+
description: "Input without border styling"
|
|
13
|
+
usage: "Minimal input appearance for specific contexts"
|
|
14
|
+
- class: "slds-input_counter"
|
|
15
|
+
description: "Input with character counter"
|
|
16
|
+
usage: "Shows character count for length-limited inputs"
|
|
17
|
+
states:
|
|
18
|
+
- class: "slds-has-error"
|
|
19
|
+
description: "Error state styling"
|
|
20
|
+
trigger: "When input validation fails"
|
|
21
|
+
- class: "slds-is-disabled"
|
|
22
|
+
description: "Disabled state styling"
|
|
23
|
+
trigger: "When input is not interactive"
|
|
24
|
+
- class: "slds-has-focus"
|
|
25
|
+
description: "Focus state styling"
|
|
26
|
+
trigger: "When input has keyboard focus"
|
|
27
|
+
|
|
28
|
+
variants:
|
|
29
|
+
- name: "Base"
|
|
30
|
+
description: "Standard text input"
|
|
31
|
+
classes: ["slds-input"]
|
|
32
|
+
usage_context: "Default text input implementation"
|
|
33
|
+
differences: "Standard input field with border and padding"
|
|
34
|
+
- name: "Bare"
|
|
35
|
+
description: "Input without border styling"
|
|
36
|
+
classes: ["slds-input", "slds-input_bare"]
|
|
37
|
+
usage_context: "Minimal styling for specific design needs"
|
|
38
|
+
differences: "Input without visible border or background"
|
|
39
|
+
|
|
40
|
+
lightning_component:
|
|
41
|
+
name: "lightning-input"
|
|
42
|
+
url: "https://developer.salesforce.com/docs/component-library/bundle/lightning-input"
|
|
43
|
+
mapping_notes: "Direct mapping - Lightning component implements SLDS input blueprint with various types"
|
|
44
|
+
|
|
45
|
+
accessibility:
|
|
46
|
+
keyboard_support:
|
|
47
|
+
- "Tab to focus the input"
|
|
48
|
+
- "Standard text input keyboard interactions"
|
|
49
|
+
- "Arrow keys for number inputs"
|
|
50
|
+
screen_reader:
|
|
51
|
+
- "Label text announced with the input"
|
|
52
|
+
- "Error messages associated and announced"
|
|
53
|
+
- "Required state communicated"
|
|
54
|
+
- "Input type and current value announced"
|
|
55
|
+
aria_attributes:
|
|
56
|
+
- "aria-describedby for help text and error messages"
|
|
57
|
+
- "aria-invalid when validation fails"
|
|
58
|
+
- "aria-required for required inputs"
|
|
59
|
+
- "aria-label when no visible label is present"
|
|
60
|
+
|
|
61
|
+
usage_guidelines:
|
|
62
|
+
when_to_use:
|
|
63
|
+
- "For single-line text entry"
|
|
64
|
+
- "When users need to input data"
|
|
65
|
+
- "For search functionality"
|
|
66
|
+
- "In forms and data entry contexts"
|
|
67
|
+
when_not_to_use:
|
|
68
|
+
- "For multi-line text (use textarea instead)"
|
|
69
|
+
- "For selecting from options (use select or combobox)"
|
|
70
|
+
- "For binary choices (use checkbox or toggle)"
|
|
71
|
+
best_practices:
|
|
72
|
+
- "Use appropriate input types (email, tel, number, etc.)"
|
|
73
|
+
- "Provide clear labels and placeholder text"
|
|
74
|
+
- "Show validation feedback immediately"
|
|
75
|
+
- "Use proper form structure and organization"
|
|
76
|
+
- "Ensure adequate touch target size"
|
|
77
|
+
common_mistakes:
|
|
78
|
+
- "Using wrong input type for the data"
|
|
79
|
+
- "Missing or unclear labels"
|
|
80
|
+
- "Poor validation feedback"
|
|
81
|
+
- "Inadequate error messaging"
|
|
82
|
+
|
|
83
|
+
code_examples:
|
|
84
|
+
- title: "Basic Text Input"
|
|
85
|
+
code: |
|
|
86
|
+
<div class="slds-form-element">
|
|
87
|
+
<label class="slds-form-element__label" for="text-input-id-1">
|
|
88
|
+
<abbr class="slds-required" title="required">* </abbr>Text Input Label
|
|
89
|
+
</label>
|
|
90
|
+
<div class="slds-form-element__control">
|
|
91
|
+
<input type="text" id="text-input-id-1" class="slds-input" placeholder="Enter text..." required />
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
description: "Basic text input with label"
|
|
95
|
+
- title: "Input with Error"
|
|
96
|
+
code: |
|
|
97
|
+
<div class="slds-form-element slds-has-error">
|
|
98
|
+
<label class="slds-form-element__label" for="text-input-error">
|
|
99
|
+
<abbr class="slds-required" title="required">* </abbr>Text Input Label
|
|
100
|
+
</label>
|
|
101
|
+
<div class="slds-form-element__control">
|
|
102
|
+
<input type="text" id="text-input-error" class="slds-input" aria-describedby="text-input-error-message" required />
|
|
103
|
+
</div>
|
|
104
|
+
<div id="text-input-error-message" class="slds-form-element__help">This field is required</div>
|
|
105
|
+
</div>
|
|
106
|
+
description: "Input with error state and validation message"
|
|
107
|
+
- title: "Number Input"
|
|
108
|
+
code: |
|
|
109
|
+
<div class="slds-form-element">
|
|
110
|
+
<label class="slds-form-element__label" for="number-input-id">Number Input Label</label>
|
|
111
|
+
<div class="slds-form-element__control">
|
|
112
|
+
<input type="number" id="number-input-id" class="slds-input" placeholder="Enter number..." />
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
description: "Number input with appropriate type"
|
|
116
|
+
|
|
117
|
+
styling_hooks:
|
|
118
|
+
- name: "--slds-c-input-color-background"
|
|
119
|
+
description: "Background color for inputs"
|
|
120
|
+
category: "color"
|
|
121
|
+
- name: "--slds-c-input-color-border"
|
|
122
|
+
description: "Border color for inputs"
|
|
123
|
+
category: "color"
|
|
124
|
+
- name: "--slds-c-input-color-border-focus"
|
|
125
|
+
description: "Border color for focused inputs"
|
|
126
|
+
category: "color"
|
|
127
|
+
|
|
128
|
+
dependencies:
|
|
129
|
+
css_files: ["input.css", "form-element.css"]
|
|
130
|
+
javascript: []
|
|
131
|
+
icons: []
|
|
132
|
+
other_components: ["form-element"]
|
|
133
|
+
|
|
134
|
+
related_components:
|
|
135
|
+
- name: "Textarea"
|
|
136
|
+
relationship: "alternative"
|
|
137
|
+
description: "For multi-line text input"
|
|
138
|
+
- name: "Select"
|
|
139
|
+
relationship: "alternative"
|
|
140
|
+
description: "For selecting from predefined options"
|
|
141
|
+
- name: "Combobox"
|
|
142
|
+
relationship: "alternative"
|
|
143
|
+
description: "Enhanced input with dropdown options"
|
|
144
|
+
|
|
145
|
+
references:
|
|
146
|
+
official_docs: "https://v1.lightningdesignsystem.com/components/input/"
|
|
147
|
+
|
|
148
|
+
metadata:
|
|
149
|
+
version: "1.0.0"
|
|
150
|
+
last_updated: "2024-12-19"
|
|
151
|
+
review_status: "complete"
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
name: List Builder
|
|
2
|
+
description: A component that allows users to build and manage lists by selecting items from one list and adding them to another.
|
|
3
|
+
Provides drag-and-drop or click-to-move functionality for managing selections.
|
|
4
|
+
category: Complex Components
|
|
5
|
+
slds_classes:
|
|
6
|
+
root: ''
|
|
7
|
+
elements: []
|
|
8
|
+
modifiers: []
|
|
9
|
+
states: []
|
|
10
|
+
variants:
|
|
11
|
+
- name: Base
|
|
12
|
+
description: Standard list builder interface
|
|
13
|
+
classes: []
|
|
14
|
+
usage_context: Default list builder for managing selections
|
|
15
|
+
differences: Two-panel interface for moving items between lists
|
|
16
|
+
lightning_component:
|
|
17
|
+
name: lightning-dual-listbox
|
|
18
|
+
url: https://developer.salesforce.com/docs/component-library/bundle/lightning-dual-listbox
|
|
19
|
+
mapping_notes: lightning-dual-listbox provides similar two-list selection functionality
|
|
20
|
+
accessibility:
|
|
21
|
+
keyboard_support:
|
|
22
|
+
- Tab to navigate between lists and controls
|
|
23
|
+
- Arrow keys to move through list items
|
|
24
|
+
- Space to select items
|
|
25
|
+
- Enter to move selected items
|
|
26
|
+
- Shift+Arrow for multi-select
|
|
27
|
+
screen_reader:
|
|
28
|
+
- List roles announced
|
|
29
|
+
- Selected item count announced
|
|
30
|
+
- Move operations confirmed
|
|
31
|
+
- List labels clearly announced
|
|
32
|
+
aria_attributes:
|
|
33
|
+
- role='listbox' on list containers
|
|
34
|
+
- role='option' on list items
|
|
35
|
+
- aria-label on lists and buttons
|
|
36
|
+
- aria-selected on selected items
|
|
37
|
+
- aria-multiselectable on lists allowing multi-select
|
|
38
|
+
usage_guidelines:
|
|
39
|
+
when_to_use:
|
|
40
|
+
- For managing permissions or access lists
|
|
41
|
+
- When users need to build custom collections
|
|
42
|
+
- For configuring visible fields or columns
|
|
43
|
+
- When ordering and selection are both needed
|
|
44
|
+
when_not_to_use:
|
|
45
|
+
- For simple multi-select (use checkbox list)
|
|
46
|
+
- When items don't need reordering
|
|
47
|
+
- For very long lists (consider search/filter)
|
|
48
|
+
- When drag-and-drop isn't appropriate
|
|
49
|
+
best_practices:
|
|
50
|
+
- Provide clear labels for both lists
|
|
51
|
+
- Show count of items in each list
|
|
52
|
+
- Support both drag-and-drop and button moves
|
|
53
|
+
- Allow reordering within destination list
|
|
54
|
+
- Provide search/filter for long lists
|
|
55
|
+
- Show visual feedback during operations
|
|
56
|
+
common_mistakes:
|
|
57
|
+
- Missing keyboard support
|
|
58
|
+
- Unclear which list is source vs destination
|
|
59
|
+
- No way to move multiple items at once
|
|
60
|
+
- Poor performance with many items
|
|
61
|
+
- Missing reordering capability
|
|
62
|
+
code_examples:
|
|
63
|
+
- title: Basic List Builder
|
|
64
|
+
code: "<div class=\"\">\n <div class=\"slds-grid slds-grid_vertical-align-center\">\n <div class=\"slds-col slds-size_5-of-12\"\
|
|
65
|
+
>\n <div class=\"slds-form-element\">\n <label class=\"slds-form-element__label\" for=\"available-list\">Available\
|
|
66
|
+
\ Items</label>\n <div class=\"slds-form-element__control\">\n <div class=\"\" role=\"listbox\" aria-label=\"\
|
|
67
|
+
Available items\" aria-multiselectable=\"true\" id=\"available-list\">\n <ul class=\"slds-listbox slds-listbox_vertical\"\
|
|
68
|
+
>\n <li role=\"presentation\" class=\"\">\n <div class=\"slds-listbox__option slds-listbox__option_plain\"\
|
|
69
|
+
\ role=\"option\" aria-selected=\"false\">\n <span class=\"slds-truncate\">Item 1</span>\n \
|
|
70
|
+
\ </div>\n </li>\n <li role=\"presentation\" class=\"\">\n <div class=\"\
|
|
71
|
+
slds-listbox__option slds-listbox__option_plain\" role=\"option\" aria-selected=\"false\">\n <span class=\"\
|
|
72
|
+
slds-truncate\">Item 2</span>\n </div>\n </li>\n </ul>\n </div>\n \
|
|
73
|
+
\ </div>\n </div>\n </div>\n <div class=\"slds-col slds-size_2-of-12\">\n <div class=\"slds-grid slds-grid_vertical\
|
|
74
|
+
\ slds-grid_align-center\">\n <button class=\"slds-button slds-button_icon slds-button_icon-border\" title=\"Move\
|
|
75
|
+
\ to Selected\">\n <svg class=\"slds-button__icon\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#right\"\
|
|
76
|
+
></use>\n </svg>\n <span class=\"slds-assistive-text\">Move to Selected</span>\n </button>\n\
|
|
77
|
+
\ <button class=\"slds-button slds-button_icon slds-button_icon-border\" title=\"Move to Available\">\n \
|
|
78
|
+
\ <svg class=\"slds-button__icon\" aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#left\"\
|
|
79
|
+
></use>\n </svg>\n <span class=\"slds-assistive-text\">Move to Available</span>\n </button>\n\
|
|
80
|
+
\ </div>\n </div>\n <div class=\"slds-col slds-size_5-of-12\">\n <div class=\"slds-form-element\">\n \
|
|
81
|
+
\ <label class=\"slds-form-element__label\" for=\"selected-list\">Selected Items</label>\n <div class=\"\
|
|
82
|
+
slds-form-element__control\">\n <div class=\"\" role=\"listbox\" aria-label=\"Selected items\" aria-multiselectable=\"\
|
|
83
|
+
true\" id=\"selected-list\">\n <ul class=\"slds-listbox slds-listbox_vertical\">\n <li role=\"\
|
|
84
|
+
presentation\" class=\"\">\n <div class=\"slds-listbox__option slds-listbox__option_plain\" role=\"option\"\
|
|
85
|
+
\ aria-selected=\"false\">\n <span class=\"slds-truncate\">Item 3</span>\n </div>\n \
|
|
86
|
+
\ </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
87
|
+
description: Two-panel list builder with move buttons
|
|
88
|
+
styling_hooks: []
|
|
89
|
+
dependencies:
|
|
90
|
+
css_files:
|
|
91
|
+
- list-builder.css
|
|
92
|
+
- listbox.css
|
|
93
|
+
- button.css
|
|
94
|
+
javascript:
|
|
95
|
+
- Item selection management
|
|
96
|
+
- Move operations
|
|
97
|
+
- Drag-and-drop handling
|
|
98
|
+
- Reordering logic
|
|
99
|
+
icons:
|
|
100
|
+
- utility:right
|
|
101
|
+
- utility:left
|
|
102
|
+
- utility:up
|
|
103
|
+
- utility:down
|
|
104
|
+
other_components:
|
|
105
|
+
- listbox
|
|
106
|
+
- button
|
|
107
|
+
- form-element
|
|
108
|
+
related_components:
|
|
109
|
+
- name: Dual Listbox
|
|
110
|
+
relationship: alternative
|
|
111
|
+
description: Lightning component alternative
|
|
112
|
+
- name: Picklist
|
|
113
|
+
relationship: similar
|
|
114
|
+
description: Simpler selection pattern
|
|
115
|
+
- name: Dueling Picklist
|
|
116
|
+
relationship: similar
|
|
117
|
+
description: SLDS version of dual-listbox pattern
|
|
118
|
+
references:
|
|
119
|
+
official_docs: https://v1.lightningdesignsystem.com/components/list-builder/
|
|
120
|
+
metadata:
|
|
121
|
+
version: 1.0.0
|
|
122
|
+
last_updated: '2025-11-11'
|
|
123
|
+
author: SLDS Documentation Team
|
|
124
|
+
slds_version: 2.27.2
|
|
125
|
+
review_status: complete
|
|
126
|
+
source: official-slds
|
|
127
|
+
notes: Created from official SLDS documentation and design-system-internal source code
|