@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,192 @@
|
|
|
1
|
+
name: "Checkbox Button Group"
|
|
2
|
+
|
|
3
|
+
description: "A styled checkable input group that communicates if an option(s) are true, false or indeterminate. A set of checkbox buttons wrapped in a fieldset that is also a form element."
|
|
4
|
+
|
|
5
|
+
category: "Input"
|
|
6
|
+
|
|
7
|
+
slds_classes:
|
|
8
|
+
root: "slds-checkbox_button-group"
|
|
9
|
+
elements:
|
|
10
|
+
- class: "slds-checkbox_button"
|
|
11
|
+
description: "Individual checkbox button within the group"
|
|
12
|
+
purpose: "Container for each checkbox option in the button group"
|
|
13
|
+
- class: "slds-checkbox_faux"
|
|
14
|
+
description: "Visual checkbox replacement styled as a button"
|
|
15
|
+
purpose: "Custom-styled checkbox appearance that looks like a button"
|
|
16
|
+
- class: "slds-checkbox_button__label"
|
|
17
|
+
description: "Label element for the checkbox button"
|
|
18
|
+
purpose: "Provides clickable area and contains the checkbox faux element"
|
|
19
|
+
modifiers: []
|
|
20
|
+
states:
|
|
21
|
+
- class: "slds-has-error"
|
|
22
|
+
description: "Error state styling for the form element"
|
|
23
|
+
trigger: "When checkbox group validation fails"
|
|
24
|
+
- class: "slds-is-disabled"
|
|
25
|
+
description: "Disabled state styling"
|
|
26
|
+
trigger: "When checkbox group is not interactive"
|
|
27
|
+
|
|
28
|
+
variants:
|
|
29
|
+
- name: "Base"
|
|
30
|
+
description: "Standard checkbox button group"
|
|
31
|
+
classes: ["slds-checkbox_button-group"]
|
|
32
|
+
usage_context: "Default checkbox button group implementation"
|
|
33
|
+
differences: "Group of checkbox buttons with shared border and styling"
|
|
34
|
+
|
|
35
|
+
lightning_component:
|
|
36
|
+
name: ""
|
|
37
|
+
url: "https://developer.salesforce.com/docs/component-library/overview/components"
|
|
38
|
+
mapping_notes: "No direct Lightning Base Component - use checkbox-button components in a group"
|
|
39
|
+
|
|
40
|
+
accessibility:
|
|
41
|
+
keyboard_support:
|
|
42
|
+
- "Tab to navigate between checkbox buttons"
|
|
43
|
+
- "Space to toggle checkbox state"
|
|
44
|
+
- "Arrow keys may navigate between options in some implementations"
|
|
45
|
+
screen_reader:
|
|
46
|
+
- "Fieldset legend announced as group label"
|
|
47
|
+
- "Checkbox state announced (checked/unchecked)"
|
|
48
|
+
- "Label text read with each checkbox"
|
|
49
|
+
- "Error messages associated and announced"
|
|
50
|
+
aria_attributes:
|
|
51
|
+
- "aria-describedby for error messages"
|
|
52
|
+
- "aria-invalid when validation fails"
|
|
53
|
+
- "aria-required for required checkbox groups"
|
|
54
|
+
- "fieldset and legend for group semantics"
|
|
55
|
+
|
|
56
|
+
usage_guidelines:
|
|
57
|
+
when_to_use:
|
|
58
|
+
- "When users need to select multiple options from a related set"
|
|
59
|
+
- "For compact selection interfaces where button styling is preferred"
|
|
60
|
+
- "When options are closely related and benefit from visual grouping"
|
|
61
|
+
- "For scheduling, filtering, or multi-select scenarios"
|
|
62
|
+
when_not_to_use:
|
|
63
|
+
- "For mutually exclusive options (use radio button group instead)"
|
|
64
|
+
- "When only one option can be selected"
|
|
65
|
+
- "For simple binary choices (use single checkbox)"
|
|
66
|
+
- "When space is very limited (consider dropdown instead)"
|
|
67
|
+
best_practices:
|
|
68
|
+
- "Use clear, descriptive legend text for the group"
|
|
69
|
+
- "Keep option labels short and concise"
|
|
70
|
+
- "Group related options logically"
|
|
71
|
+
- "Provide immediate visual feedback for selections"
|
|
72
|
+
- "Ensure adequate touch target size for mobile"
|
|
73
|
+
- "Use error states to indicate validation issues"
|
|
74
|
+
common_mistakes:
|
|
75
|
+
- "Using checkbox button group for mutually exclusive options"
|
|
76
|
+
- "Making labels too long or unclear"
|
|
77
|
+
- "Not providing proper fieldset/legend structure"
|
|
78
|
+
- "Missing error state handling"
|
|
79
|
+
- "Inadequate spacing between buttons"
|
|
80
|
+
|
|
81
|
+
code_examples:
|
|
82
|
+
- title: "Basic Checkbox Button Group"
|
|
83
|
+
code: |
|
|
84
|
+
<fieldset class="slds-form-element">
|
|
85
|
+
<legend class="slds-form-element__legend slds-form-element__label">
|
|
86
|
+
Scheduled Day(s)
|
|
87
|
+
</legend>
|
|
88
|
+
<div class="slds-form-element__control">
|
|
89
|
+
<div class="slds-checkbox_button-group">
|
|
90
|
+
<span class="slds-button slds-checkbox_button">
|
|
91
|
+
<input type="checkbox" name="checkbox" id="checkbox-monday" value="monday" />
|
|
92
|
+
<label class="slds-checkbox_button__label" for="checkbox-monday">
|
|
93
|
+
<span class="slds-checkbox_faux">Monday</span>
|
|
94
|
+
</label>
|
|
95
|
+
</span>
|
|
96
|
+
<span class="slds-button slds-checkbox_button">
|
|
97
|
+
<input type="checkbox" name="checkbox" id="checkbox-tuesday" value="tuesday" />
|
|
98
|
+
<label class="slds-checkbox_button__label" for="checkbox-tuesday">
|
|
99
|
+
<span class="slds-checkbox_faux">Tuesday</span>
|
|
100
|
+
</label>
|
|
101
|
+
</span>
|
|
102
|
+
<span class="slds-button slds-checkbox_button">
|
|
103
|
+
<input type="checkbox" name="checkbox" id="checkbox-wednesday" value="wednesday" />
|
|
104
|
+
<label class="slds-checkbox_button__label" for="checkbox-wednesday">
|
|
105
|
+
<span class="slds-checkbox_faux">Wednesday</span>
|
|
106
|
+
</label>
|
|
107
|
+
</span>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</fieldset>
|
|
111
|
+
description: "Basic checkbox button group with three day options"
|
|
112
|
+
- title: "Checkbox Button Group with Error State"
|
|
113
|
+
code: |
|
|
114
|
+
<fieldset class="slds-form-element slds-has-error">
|
|
115
|
+
<legend class="slds-form-element__legend slds-form-element__label">
|
|
116
|
+
Select at least one option
|
|
117
|
+
</legend>
|
|
118
|
+
<div class="slds-form-element__control">
|
|
119
|
+
<div class="slds-checkbox_button-group">
|
|
120
|
+
<span class="slds-button slds-checkbox_button">
|
|
121
|
+
<input type="checkbox" name="checkbox" id="checkbox-error-1" value="option1" aria-describedby="checkbox-error-message" />
|
|
122
|
+
<label class="slds-checkbox_button__label" for="checkbox-error-1">
|
|
123
|
+
<span class="slds-checkbox_faux">Option 1</span>
|
|
124
|
+
</label>
|
|
125
|
+
</span>
|
|
126
|
+
<span class="slds-button slds-checkbox_button">
|
|
127
|
+
<input type="checkbox" name="checkbox" id="checkbox-error-2" value="option2" />
|
|
128
|
+
<label class="slds-checkbox_button__label" for="checkbox-error-2">
|
|
129
|
+
<span class="slds-checkbox_faux">Option 2</span>
|
|
130
|
+
</label>
|
|
131
|
+
</span>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
<div id="checkbox-error-message" class="slds-form-element__help">This field is required</div>
|
|
135
|
+
</fieldset>
|
|
136
|
+
description: "Checkbox button group with error state and validation message"
|
|
137
|
+
- title: "Disabled Checkbox Button Group"
|
|
138
|
+
code: |
|
|
139
|
+
<fieldset class="slds-form-element">
|
|
140
|
+
<legend class="slds-form-element__legend slds-form-element__label">
|
|
141
|
+
Disabled Options
|
|
142
|
+
</legend>
|
|
143
|
+
<div class="slds-form-element__control">
|
|
144
|
+
<div class="slds-checkbox_button-group">
|
|
145
|
+
<span class="slds-button slds-checkbox_button">
|
|
146
|
+
<input type="checkbox" name="checkbox" id="checkbox-disabled-1" value="option1" disabled />
|
|
147
|
+
<label class="slds-checkbox_button__label" for="checkbox-disabled-1">
|
|
148
|
+
<span class="slds-checkbox_faux">Disabled Option 1</span>
|
|
149
|
+
</label>
|
|
150
|
+
</span>
|
|
151
|
+
<span class="slds-button slds-checkbox_button">
|
|
152
|
+
<input type="checkbox" name="checkbox" id="checkbox-disabled-2" value="option2" disabled checked />
|
|
153
|
+
<label class="slds-checkbox_button__label" for="checkbox-disabled-2">
|
|
154
|
+
<span class="slds-checkbox_faux">Disabled Option 2 (Checked)</span>
|
|
155
|
+
</label>
|
|
156
|
+
</span>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
</fieldset>
|
|
160
|
+
description: "Checkbox button group with disabled state options"
|
|
161
|
+
|
|
162
|
+
styling_hooks: []
|
|
163
|
+
|
|
164
|
+
dependencies:
|
|
165
|
+
css_files: ["checkbox-button-group.css", "form-element.css", "checkbox-button.css"]
|
|
166
|
+
javascript: []
|
|
167
|
+
icons: []
|
|
168
|
+
other_components: ["form-element", "checkbox-button"]
|
|
169
|
+
|
|
170
|
+
related_components:
|
|
171
|
+
- name: "Checkbox Button"
|
|
172
|
+
relationship: "similar"
|
|
173
|
+
description: "Individual checkbox buttons that make up the group"
|
|
174
|
+
- name: "Radio Button Group"
|
|
175
|
+
relationship: "alternative"
|
|
176
|
+
description: "For mutually exclusive options"
|
|
177
|
+
- name: "Checkbox"
|
|
178
|
+
relationship: "similar"
|
|
179
|
+
description: "Standard checkbox input for single selections"
|
|
180
|
+
|
|
181
|
+
references:
|
|
182
|
+
official_docs: "https://v1.lightningdesignsystem.com/components/checkbox-button-group/"
|
|
183
|
+
design_guidelines: "https://v1.lightningdesignsystem.com/components/checkbox-button-group/"
|
|
184
|
+
metadata:
|
|
185
|
+
version: "1.0.0"
|
|
186
|
+
last_updated: "2025-01-15"
|
|
187
|
+
author: "SLDS Documentation Team"
|
|
188
|
+
slds_version: "2.27.2"
|
|
189
|
+
review_status: "complete"
|
|
190
|
+
source: "official-slds"
|
|
191
|
+
notes: "Created from official SLDS documentation and design-system-internal source code with CSS selector annotations"
|
|
192
|
+
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
name: Checkbox Button
|
|
2
|
+
description: A checkbox input styled as a button that allows users to toggle selection states, providing an alternative visual
|
|
3
|
+
presentation to traditional checkboxes with enhanced interaction design.
|
|
4
|
+
category: Input
|
|
5
|
+
slds_classes:
|
|
6
|
+
root: slds-checkbox_button
|
|
7
|
+
elements:
|
|
8
|
+
- class: slds-checkbox_button-group
|
|
9
|
+
description: Container for checkbox button groups
|
|
10
|
+
purpose: Groups related checkbox buttons
|
|
11
|
+
- class: slds-checkbox_button
|
|
12
|
+
description: Checkbox button wrapper
|
|
13
|
+
purpose: Contains checkbox input and label styling
|
|
14
|
+
- class: slds-checkbox_button__label
|
|
15
|
+
description: Checkbox button label
|
|
16
|
+
purpose: Provides the button appearance and text
|
|
17
|
+
- class: slds-checkbox_faux
|
|
18
|
+
description: Visual checkbox indicator
|
|
19
|
+
purpose: Button-styled visual representation
|
|
20
|
+
modifiers: []
|
|
21
|
+
states:
|
|
22
|
+
- class: slds-is-selected
|
|
23
|
+
description: Selected checkbox button state
|
|
24
|
+
trigger: Applied when checkbox is checked
|
|
25
|
+
- class: slds-has-focus
|
|
26
|
+
description: Focused checkbox button state
|
|
27
|
+
trigger: Applied when checkbox button has focus
|
|
28
|
+
- class: slds-is-disabled
|
|
29
|
+
description: Disabled checkbox button state
|
|
30
|
+
trigger: Applied when checkbox is disabled
|
|
31
|
+
variants:
|
|
32
|
+
- name: Base
|
|
33
|
+
description: Standard checkbox button
|
|
34
|
+
classes:
|
|
35
|
+
- slds-checkbox_button
|
|
36
|
+
usage_context: Default implementation for button-style checkboxes
|
|
37
|
+
differences: Basic button-styled checkbox with standard sizing
|
|
38
|
+
- name: Group
|
|
39
|
+
description: Multiple checkbox buttons in a group
|
|
40
|
+
classes:
|
|
41
|
+
- slds-checkbox_button-group
|
|
42
|
+
usage_context: When multiple related checkbox buttons are used together
|
|
43
|
+
differences: Grouped layout with consistent spacing and alignment
|
|
44
|
+
- name: Stretch
|
|
45
|
+
description: Full-width checkbox button
|
|
46
|
+
classes:
|
|
47
|
+
- slds-checkbox_button
|
|
48
|
+
usage_context: When button should fill container width
|
|
49
|
+
differences: Button stretches to full container width
|
|
50
|
+
lightning_component:
|
|
51
|
+
name: lightning-checkbox-button
|
|
52
|
+
url: https://developer.salesforce.com/docs/component-library/overview/components
|
|
53
|
+
mapping_notes: Checkbox button functionality often implemented through lightning-checkbox-group or custom implementations
|
|
54
|
+
accessibility:
|
|
55
|
+
keyboard_support:
|
|
56
|
+
- Tab navigation to checkbox buttons
|
|
57
|
+
- Space to toggle checkbox selection
|
|
58
|
+
- Arrow keys for group navigation
|
|
59
|
+
- Enter to activate checkbox button
|
|
60
|
+
screen_reader:
|
|
61
|
+
- Checkbox button state clearly announced
|
|
62
|
+
- Selection changes communicated
|
|
63
|
+
- Group relationships described
|
|
64
|
+
aria_attributes:
|
|
65
|
+
- aria-checked for checkbox state
|
|
66
|
+
- aria-describedby for additional information
|
|
67
|
+
- aria-labelledby for group labeling
|
|
68
|
+
- role='checkbox' for button checkboxes
|
|
69
|
+
usage_guidelines:
|
|
70
|
+
when_to_use:
|
|
71
|
+
- When checkbox needs button-like appearance
|
|
72
|
+
- For toggle selections that benefit from button styling
|
|
73
|
+
- In interfaces where buttons provide better UX than checkboxes
|
|
74
|
+
- For multi-select options with prominent visual treatment
|
|
75
|
+
when_not_to_use:
|
|
76
|
+
- For single yes/no decisions (use radio buttons)
|
|
77
|
+
- When traditional checkbox styling is more appropriate
|
|
78
|
+
- For simple form inputs without special styling needs
|
|
79
|
+
best_practices:
|
|
80
|
+
- Provide clear visual feedback for selection states
|
|
81
|
+
- Use consistent sizing within groups
|
|
82
|
+
- Ensure adequate touch targets for mobile
|
|
83
|
+
- Group related checkbox buttons logically
|
|
84
|
+
- Maintain keyboard accessibility
|
|
85
|
+
common_mistakes:
|
|
86
|
+
- Using checkbox buttons for mutually exclusive options
|
|
87
|
+
- Poor visual distinction between selected/unselected states
|
|
88
|
+
- Inconsistent button sizing within groups
|
|
89
|
+
- Missing keyboard accessibility
|
|
90
|
+
code_examples:
|
|
91
|
+
- title: Basic Checkbox Button
|
|
92
|
+
description: Single checkbox styled as a button
|
|
93
|
+
code: "<div class=\"slds-form-element\">\n <label class=\"slds-form-element__label\">Select Options</label>\n \
|
|
94
|
+
\ <div class=\"slds-form-element__control\">\n <span class=\"slds-checkbox_button\">\n <input type=\"\
|
|
95
|
+
checkbox\" id=\"checkbox-button-01\" value=\"option1\" />\n <label class=\"slds-checkbox_button__label\" for=\"\
|
|
96
|
+
checkbox-button-01\">\n <span class=\"slds-checkbox_faux\">Option 1</span>\n </label>\n </span>\n\
|
|
97
|
+
\ </div>\n </div>\n"
|
|
98
|
+
- title: Checkbox Button Group
|
|
99
|
+
description: Multiple checkbox buttons grouped together
|
|
100
|
+
code: "<fieldset class=\"slds-form-element\">\n <legend class=\"slds-form-element__legend slds-form-element__label\"\
|
|
101
|
+
>\n Choose Your Interests\n </legend>\n <div class=\"slds-form-element__control\">\n <div class=\"\
|
|
102
|
+
slds-checkbox_button-group\" role=\"group\" aria-labelledby=\"checkbox-group-label\">\n <span class=\"slds-checkbox_button\"\
|
|
103
|
+
>\n <input type=\"checkbox\" id=\"checkbox-button-02\" name=\"interests\" value=\"technology\" />\n \
|
|
104
|
+
\ <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-02\">\n <span class=\"slds-checkbox_faux\"\
|
|
105
|
+
>Technology</span>\n </label>\n </span>\n <span class=\"slds-checkbox_button\">\n \
|
|
106
|
+
\ <input type=\"checkbox\" id=\"checkbox-button-03\" name=\"interests\" value=\"sports\" />\n <label class=\"\
|
|
107
|
+
slds-checkbox_button__label\" for=\"checkbox-button-03\">\n <span class=\"slds-checkbox_faux\">Sports</span>\n\
|
|
108
|
+
\ </label>\n </span>\n <span class=\"slds-checkbox_button\">\n <input type=\"\
|
|
109
|
+
checkbox\" id=\"checkbox-button-04\" name=\"interests\" value=\"music\" />\n <label class=\"slds-checkbox_button__label\"\
|
|
110
|
+
\ for=\"checkbox-button-04\">\n <span class=\"slds-checkbox_faux\">Music</span>\n </label>\n \
|
|
111
|
+
\ </span>\n <span class=\"slds-checkbox_button\">\n <input type=\"checkbox\" id=\"checkbox-button-05\"\
|
|
112
|
+
\ name=\"interests\" value=\"travel\" />\n <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-05\"\
|
|
113
|
+
>\n <span class=\"slds-checkbox_faux\">Travel</span>\n </label>\n </span>\n </div>\n\
|
|
114
|
+
\ </div>\n </fieldset>\n"
|
|
115
|
+
- title: Stretch Checkbox Buttons
|
|
116
|
+
description: Full-width checkbox buttons for mobile or constrained layouts
|
|
117
|
+
code: "<div class=\"slds-form-element\">\n <label class=\"slds-form-element__label\">Notification Preferences</label>\n\
|
|
118
|
+
\ <div class=\"slds-form-element__control\">\n <div class=\"slds-checkbox_button-group\">\n <span\
|
|
119
|
+
\ class=\"slds-checkbox_button\">\n <input type=\"checkbox\" id=\"checkbox-button-06\" name=\"notifications\"\
|
|
120
|
+
\ value=\"email\" checked />\n <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-06\">\n \
|
|
121
|
+
\ <span class=\"slds-checkbox_faux\">\n <svg class=\"slds-icon slds-icon_x-small slds-m-right_small\"\
|
|
122
|
+
\ aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#email\"></use>\n\
|
|
123
|
+
\ </svg>\n Email Notifications\n </span>\n </label>\n </span>\n\
|
|
124
|
+
\ <span class=\"slds-checkbox_button\">\n <input type=\"checkbox\" id=\"checkbox-button-07\" name=\"\
|
|
125
|
+
notifications\" value=\"sms\" />\n <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-07\"\
|
|
126
|
+
>\n <span class=\"slds-checkbox_faux\">\n <svg class=\"slds-icon slds-icon_x-small slds-m-right_small\"\
|
|
127
|
+
\ aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#sms\"></use>\n\
|
|
128
|
+
\ </svg>\n SMS Notifications\n </span>\n </label>\n </span>\n\
|
|
129
|
+
\ <span class=\"slds-checkbox_button\">\n <input type=\"checkbox\" id=\"checkbox-button-08\" name=\"\
|
|
130
|
+
notifications\" value=\"push\" checked />\n <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-08\"\
|
|
131
|
+
>\n <span class=\"slds-checkbox_faux\">\n <svg class=\"slds-icon slds-icon_x-small slds-m-right_small\"\
|
|
132
|
+
\ aria-hidden=\"true\">\n <use xlink:href=\"/assets/icons/utility-sprite/svg/symbols.svg#notification\"\
|
|
133
|
+
></use>\n </svg>\n Push Notifications\n </span>\n </label>\n \
|
|
134
|
+
\ </span>\n </div>\n </div>\n </div>\n"
|
|
135
|
+
- title: Compact Checkbox Buttons
|
|
136
|
+
description: Compact checkbox buttons for limited space
|
|
137
|
+
code: "<div class=\"slds-form-element\">\n <label class=\"slds-form-element__label\">Quick Filters</label>\n <div\
|
|
138
|
+
\ class=\"slds-form-element__control\">\n <div class=\"slds-checkbox_button-group\">\n <span class=\"\
|
|
139
|
+
slds-checkbox_button\">\n <input type=\"checkbox\" id=\"checkbox-button-09\" name=\"filters\" value=\"active\"\
|
|
140
|
+
\ checked />\n <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-09\">\n <span\
|
|
141
|
+
\ class=\"slds-checkbox_faux\">Active</span>\n </label>\n </span>\n <span class=\"slds-checkbox_button\"\
|
|
142
|
+
>\n <input type=\"checkbox\" id=\"checkbox-button-10\" name=\"filters\" value=\"pending\" />\n <label\
|
|
143
|
+
\ class=\"slds-checkbox_button__label\" for=\"checkbox-button-10\">\n <span class=\"slds-checkbox_faux\"\
|
|
144
|
+
>Pending</span>\n </label>\n </span>\n <span class=\"slds-checkbox_button\">\n \
|
|
145
|
+
\ <input type=\"checkbox\" id=\"checkbox-button-11\" name=\"filters\" value=\"closed\" />\n <label class=\"\
|
|
146
|
+
slds-checkbox_button__label\" for=\"checkbox-button-11\">\n <span class=\"slds-checkbox_faux\">Closed</span>\n\
|
|
147
|
+
\ </label>\n </span>\n </div>\n </div>\n </div>\n"
|
|
148
|
+
- title: Disabled Checkbox Button
|
|
149
|
+
description: Checkbox button in disabled state
|
|
150
|
+
code: "<div class=\"slds-form-element\">\n <label class=\"slds-form-element__label\">Available Options</label>\n \
|
|
151
|
+
\ <div class=\"slds-form-element__control\">\n <div class=\"slds-checkbox_button-group\">\n <span class=\"\
|
|
152
|
+
slds-checkbox_button\">\n <input type=\"checkbox\" id=\"checkbox-button-12\" name=\"options\" value=\"basic\"\
|
|
153
|
+
\ checked />\n <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-12\">\n <span\
|
|
154
|
+
\ class=\"slds-checkbox_faux\">Basic Plan</span>\n </label>\n </span>\n <span class=\"slds-checkbox_button\"\
|
|
155
|
+
>\n <input type=\"checkbox\" id=\"checkbox-button-13\" name=\"options\" value=\"premium\" />\n <label\
|
|
156
|
+
\ class=\"slds-checkbox_button__label\" for=\"checkbox-button-13\">\n <span class=\"slds-checkbox_faux\"\
|
|
157
|
+
>Premium Plan</span>\n </label>\n </span>\n <span class=\"slds-checkbox_button slds-is-disabled\"\
|
|
158
|
+
>\n <input type=\"checkbox\" id=\"checkbox-button-14\" name=\"options\" value=\"enterprise\" disabled />\n\
|
|
159
|
+
\ <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-14\">\n <span class=\"slds-checkbox_faux\"\
|
|
160
|
+
>Enterprise Plan (Coming Soon)</span>\n </label>\n </span>\n </div>\n </div>\n </div>\n"
|
|
161
|
+
- title: Checkbox Buttons with Description
|
|
162
|
+
description: Checkbox buttons with additional descriptive text
|
|
163
|
+
code: "<fieldset class=\"slds-form-element\">\n <legend class=\"slds-form-element__legend slds-form-element__label\"\
|
|
164
|
+
>\n Select Features\n </legend>\n <div class=\"slds-form-element__control\">\n <div class=\"slds-checkbox_button-group\"\
|
|
165
|
+
>\n <span class=\"slds-checkbox_button\">\n <input type=\"checkbox\" id=\"checkbox-button-15\" name=\"\
|
|
166
|
+
features\" value=\"analytics\" />\n <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-15\"\
|
|
167
|
+
>\n <span class=\"slds-checkbox_faux\">\n <div class=\"slds-text-align_left\">\n \
|
|
168
|
+
\ <div class=\"slds-text-body_regular\">Advanced Analytics</div>\n <div class=\"slds-text-body_small\
|
|
169
|
+
\ slds-text-color_weak\">\n Detailed reporting and insights\n </div>\n \
|
|
170
|
+
\ </div>\n </span>\n </label>\n </span>\n <span class=\"slds-checkbox_button\"\
|
|
171
|
+
>\n <input type=\"checkbox\" id=\"checkbox-button-16\" name=\"features\" value=\"api\" checked />\n \
|
|
172
|
+
\ <label class=\"slds-checkbox_button__label\" for=\"checkbox-button-16\">\n <span class=\"slds-checkbox_faux\"\
|
|
173
|
+
>\n <div class=\"slds-text-align_left\">\n <div class=\"slds-text-body_regular\">API Access</div>\n\
|
|
174
|
+
\ <div class=\"slds-text-body_small slds-text-color_weak\">\n Integrate with external\
|
|
175
|
+
\ systems\n </div>\n </div>\n </span>\n </label>\n </span>\n\
|
|
176
|
+
\ </div>\n </div>\n </fieldset>\n"
|
|
177
|
+
dependencies:
|
|
178
|
+
css_files:
|
|
179
|
+
- checkbox-button.css
|
|
180
|
+
- form-element.css
|
|
181
|
+
javascript:
|
|
182
|
+
- checkbox-button.js
|
|
183
|
+
icons:
|
|
184
|
+
- utility-sprite.svg
|
|
185
|
+
other_components:
|
|
186
|
+
- form-element
|
|
187
|
+
- checkbox
|
|
188
|
+
related_components:
|
|
189
|
+
- name: Checkbox
|
|
190
|
+
relationship: alternative
|
|
191
|
+
description: Traditional checkbox alternative
|
|
192
|
+
- name: Radio Button Group
|
|
193
|
+
relationship: similar
|
|
194
|
+
description: Similar grouped selection concept
|
|
195
|
+
- name: Button Group
|
|
196
|
+
relationship: similar
|
|
197
|
+
description: Similar button grouping layout
|
|
198
|
+
references:
|
|
199
|
+
official_docs: https://v1.lightningdesignsystem.com/components/checkbox-button/
|
|
200
|
+
metadata:
|
|
201
|
+
version: 1.0.0
|
|
202
|
+
last_updated: '2025-11-12'
|
|
203
|
+
review_status: complete
|
|
204
|
+
notes: ' Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth.'
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
name: "Checkbox Toggle"
|
|
2
|
+
description: "A checkable input that communicates if an option is true, false or indeterminate. A toggle-style checkbox that provides a visual switch interface for binary choices."
|
|
3
|
+
category: "Input"
|
|
4
|
+
slds_classes:
|
|
5
|
+
root: "slds-checkbox_toggle"
|
|
6
|
+
elements:
|
|
7
|
+
- class: "slds-checkbox_faux"
|
|
8
|
+
description: "Visual toggle switch element"
|
|
9
|
+
purpose: "Custom-styled toggle switch appearance that replaces the native checkbox"
|
|
10
|
+
- class: "slds-checkbox_faux_container"
|
|
11
|
+
description: "Container for the faux checkbox element and text labels"
|
|
12
|
+
purpose: "Wraps the toggle switch and provides structure for on/off text"
|
|
13
|
+
- class: "slds-checkbox_off"
|
|
14
|
+
description: "Container for text shown when toggle is off"
|
|
15
|
+
purpose: "Displays text when checkbox is unchecked"
|
|
16
|
+
- class: "slds-checkbox_on"
|
|
17
|
+
description: "Container for text shown when toggle is on"
|
|
18
|
+
purpose: "Displays text when checkbox is checked"
|
|
19
|
+
modifiers: []
|
|
20
|
+
states:
|
|
21
|
+
- class: "slds-is-disabled"
|
|
22
|
+
description: "Disabled state styling"
|
|
23
|
+
trigger: "When checkbox toggle is not interactive"
|
|
24
|
+
variants:
|
|
25
|
+
- name: "Base"
|
|
26
|
+
description: "Standard checkbox toggle"
|
|
27
|
+
classes:
|
|
28
|
+
- "slds-checkbox_toggle"
|
|
29
|
+
usage_context: "Default checkbox toggle implementation"
|
|
30
|
+
differences: "Toggle switch with optional on/off text labels"
|
|
31
|
+
lightning_component:
|
|
32
|
+
name: ""
|
|
33
|
+
url: "https://developer.salesforce.com/docs/component-library/overview/components"
|
|
34
|
+
mapping_notes: "No direct Lightning Base Component - use custom implementation with SLDS classes"
|
|
35
|
+
accessibility:
|
|
36
|
+
keyboard_support:
|
|
37
|
+
- "Tab to focus the checkbox toggle"
|
|
38
|
+
- "Space to toggle checkbox state"
|
|
39
|
+
- "Enter may toggle in some contexts"
|
|
40
|
+
screen_reader:
|
|
41
|
+
- "Checkbox state announced (checked/unchecked)"
|
|
42
|
+
- "Label text read with the checkbox"
|
|
43
|
+
- "Required state announced when applicable"
|
|
44
|
+
- "Error messages associated and announced"
|
|
45
|
+
aria_attributes:
|
|
46
|
+
- "aria-describedby for error messages"
|
|
47
|
+
- "aria-invalid when validation fails"
|
|
48
|
+
- "aria-required for required checkboxes"
|
|
49
|
+
- "aria-checked for state indication"
|
|
50
|
+
- "fieldset and legend for grouped toggles"
|
|
51
|
+
usage_guidelines:
|
|
52
|
+
when_to_use:
|
|
53
|
+
- "For binary choices where toggle switch UI is preferred"
|
|
54
|
+
- "When you want a more visual, switch-like interface"
|
|
55
|
+
- "For settings, preferences, or feature toggles"
|
|
56
|
+
- "When space allows for the toggle switch design"
|
|
57
|
+
when_not_to_use:
|
|
58
|
+
- "For mutually exclusive options (use radio buttons)"
|
|
59
|
+
- "When multiple options can be selected (use checkboxes)"
|
|
60
|
+
- "In very constrained spaces (use standard checkbox)"
|
|
61
|
+
- "For actions (use buttons instead)"
|
|
62
|
+
best_practices:
|
|
63
|
+
- "Use clear, descriptive labels"
|
|
64
|
+
- "Provide on/off text labels when helpful"
|
|
65
|
+
- "Use fieldset and legend for grouped toggles"
|
|
66
|
+
- "Ensure adequate touch target size for mobile"
|
|
67
|
+
- "Provide immediate visual feedback for state changes"
|
|
68
|
+
- "Use consistent toggle styling throughout the interface"
|
|
69
|
+
common_mistakes:
|
|
70
|
+
- "Using toggles for mutually exclusive options"
|
|
71
|
+
- "Making labels too long or unclear"
|
|
72
|
+
- "Not providing proper fieldset/legend structure for groups"
|
|
73
|
+
- "Missing required state indicators"
|
|
74
|
+
- "Inadequate spacing or touch targets"
|
|
75
|
+
code_examples:
|
|
76
|
+
- title: "Basic Checkbox Toggle"
|
|
77
|
+
code: |
|
|
78
|
+
<div class="slds-form-element">
|
|
79
|
+
<div class="slds-form-element__control">
|
|
80
|
+
<label class="slds-checkbox_toggle slds-grid">
|
|
81
|
+
<input type="checkbox" name="checkbox-toggle" id="toggle-1" />
|
|
82
|
+
<span class="slds-checkbox_faux_container" aria-live="polite">
|
|
83
|
+
<span class="slds-checkbox_faux"></span>
|
|
84
|
+
<span class="slds-checkbox_off">Off</span>
|
|
85
|
+
<span class="slds-checkbox_on">On</span>
|
|
86
|
+
</span>
|
|
87
|
+
<span class="slds-form-element__label">Toggle this setting</span>
|
|
88
|
+
</label>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
- title: "Checkbox Toggle Checked State"
|
|
92
|
+
code: |
|
|
93
|
+
<div class="slds-form-element">
|
|
94
|
+
<div class="slds-form-element__control">
|
|
95
|
+
<label class="slds-checkbox_toggle slds-grid">
|
|
96
|
+
<input type="checkbox" name="checkbox-toggle" id="toggle-2" checked />
|
|
97
|
+
<span class="slds-checkbox_faux_container" aria-live="polite">
|
|
98
|
+
<span class="slds-checkbox_faux"></span>
|
|
99
|
+
<span class="slds-checkbox_off">Off</span>
|
|
100
|
+
<span class="slds-checkbox_on">On</span>
|
|
101
|
+
</span>
|
|
102
|
+
<span class="slds-form-element__label">Toggle enabled</span>
|
|
103
|
+
</label>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
- title: "Disabled Checkbox Toggle"
|
|
107
|
+
code: |
|
|
108
|
+
<div class="slds-form-element">
|
|
109
|
+
<div class="slds-form-element__control">
|
|
110
|
+
<label class="slds-checkbox_toggle slds-grid">
|
|
111
|
+
<input type="checkbox" name="checkbox-toggle" id="toggle-3" disabled />
|
|
112
|
+
<span class="slds-checkbox_faux_container" aria-live="polite">
|
|
113
|
+
<span class="slds-checkbox_faux"></span>
|
|
114
|
+
<span class="slds-checkbox_off">Off</span>
|
|
115
|
+
<span class="slds-checkbox_on">On</span>
|
|
116
|
+
</span>
|
|
117
|
+
<span class="slds-form-element__label">Disabled toggle</span>
|
|
118
|
+
</label>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
styling_hooks:
|
|
122
|
+
- name: "--slds-c-checkbox-toggle-color-border"
|
|
123
|
+
description: "Border color for the toggle switch"
|
|
124
|
+
category: "color"
|
|
125
|
+
- name: "--slds-c-checkbox-toggle-color-border-hover"
|
|
126
|
+
description: "Border color for the toggle switch on hover"
|
|
127
|
+
category: "color"
|
|
128
|
+
- name: "--slds-c-checkbox-toggle-color-background"
|
|
129
|
+
description: "Background color for the toggle switch"
|
|
130
|
+
category: "color"
|
|
131
|
+
- name: "--slds-c-checkbox-toggle-color-background-hover"
|
|
132
|
+
description: "Hover background color for the toggle switch"
|
|
133
|
+
category: "color"
|
|
134
|
+
- name: "--slds-c-checkbox-toggle-color-background-checked-focus"
|
|
135
|
+
description: "Background color when toggle is checked and focused"
|
|
136
|
+
category: "color"
|
|
137
|
+
- name: "--slds-c-checkbox-toggle-switch-color-background"
|
|
138
|
+
description: "Background color for the toggle switch slider/knob"
|
|
139
|
+
category: "color"
|
|
140
|
+
- name: "--slds-c-checkbox-toggle-switch-color-background-checked"
|
|
141
|
+
description: "Background color for the toggle switch slider/knob when checked"
|
|
142
|
+
category: "color"
|
|
143
|
+
- name: "--slds-c-checkbox-toggle-mark-color-foreground"
|
|
144
|
+
description: "Foreground color for the checkmark when toggle is checked"
|
|
145
|
+
category: "color"
|
|
146
|
+
- name: "--slds-c-checkbox-toggle-radius-border"
|
|
147
|
+
description: "Border radius for the toggle switch (pill shape)"
|
|
148
|
+
category: "border"
|
|
149
|
+
- name: "--slds-c-checkbox-toggle-shadow"
|
|
150
|
+
description: "Box shadow for the toggle switch"
|
|
151
|
+
category: "shadow"
|
|
152
|
+
dependencies:
|
|
153
|
+
css_files:
|
|
154
|
+
- "checkbox-toggle.css"
|
|
155
|
+
- "form-element.css"
|
|
156
|
+
javascript: []
|
|
157
|
+
icons: []
|
|
158
|
+
other_components:
|
|
159
|
+
- "form-element"
|
|
160
|
+
related_components:
|
|
161
|
+
- name: "Checkbox"
|
|
162
|
+
relationship: "alternative"
|
|
163
|
+
description: "Standard checkbox for binary choices"
|
|
164
|
+
- name: "Toggle"
|
|
165
|
+
relationship: "similar"
|
|
166
|
+
description: "Alternative toggle-style input control"
|
|
167
|
+
references:
|
|
168
|
+
official_docs: "https://v1.lightningdesignsystem.com/components/checkbox-toggle/"
|
|
169
|
+
design_guidelines: "https://v1.lightningdesignsystem.com/components/checkbox-toggle/"
|
|
170
|
+
metadata:
|
|
171
|
+
version: "1.0.0"
|
|
172
|
+
last_updated: "2025-11-12"
|
|
173
|
+
author: "SLDS Documentation Team"
|
|
174
|
+
slds_version: "2.27.2"
|
|
175
|
+
review_status: "complete"
|
|
176
|
+
source: "official-slds"
|
|
177
|
+
notes: "Created from official SLDS documentation and design-system-internal source code with CSS selector annotations. Includes comprehensive styling hooks from SCSS annotations. Cleaned invalid classes and CSS variables on 2025-11-12 using slds-plus.css as source of truth."
|