@canonical/design-system 0.44.0 → 0.47.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/data/apps/component/file_tree.ttl +1 -1
- package/data/apps/component/inline_panel.ttl +17 -0
- package/data/apps/{subcomponent → component}/log.ttl +1 -1
- package/data/apps/component/navigation.ttl +1 -1
- package/data/apps/component/notification.ttl +1 -1
- package/data/apps/component/side_navigation.ttl +50 -6
- package/data/apps/group/notifications.ttl +1 -1
- package/data/apps/layout/application_layout.ttl +1 -1
- package/data/apps/layout/content_layout.ttl +2 -3
- package/data/apps/layout/empty_layout.ttl +1 -1
- package/data/apps/layout/empty_state.ttl +1 -1
- package/data/apps/layout/login_layout.ttl +12 -0
- package/data/apps/layout/side_panel_form_layout.ttl +13 -0
- package/data/apps/pattern/action_bar.ttl +2 -2
- package/data/apps/pattern/code_diff.ttl +1 -1
- package/data/apps/pattern/data_views.ttl +85 -0
- package/data/apps/pattern/datatable.ttl +20 -91
- package/data/apps/pattern/destructive_modal.ttl +1 -1
- package/data/apps/pattern/drawer.ttl +1 -1
- package/data/apps/pattern/notification_center.ttl +2 -2
- package/data/apps/pattern/page_header.ttl +58 -0
- package/data/apps/pattern/side_panel.ttl +258 -10
- package/data/apps/subcomponent/data_table-action_bar.ttl +8 -8
- package/data/apps/subcomponent/data_table-body_cell.ttl +26 -26
- package/data/apps/subcomponent/data_table-group_header_row.ttl +8 -8
- package/data/apps/subcomponent/data_table-header_cell.ttl +13 -13
- package/data/apps/subcomponent/data_table-pagination_bar.ttl +11 -11
- package/data/apps/subcomponent/data_table-persistent_selection.ttl +10 -10
- package/data/apps/subcomponent/data_table-settings_menu.ttl +15 -15
- package/data/apps/subcomponent/data_views-filters.ttl +13 -0
- package/data/apps/subcomponent/data_views-saved_views.ttl +13 -0
- package/data/apps/subcomponent/data_views-sort_panel.ttl +13 -0
- package/data/apps/subcomponent/drawer-content.ttl +1 -1
- package/data/apps/subcomponent/drawer-footer.ttl +1 -1
- package/data/apps/subcomponent/drawer-header.ttl +1 -1
- package/data/apps/subcomponent/side_navigation-content.ttl +13 -0
- package/data/apps/subcomponent/side_navigation-context_switcher.ttl +53 -0
- package/data/apps/subcomponent/side_navigation-item.ttl +80 -0
- package/data/apps/subcomponent/side_navigation-item_group.ttl +13 -0
- package/data/apps/subcomponent/side_panel-content.ttl +2 -2
- package/data/apps/subcomponent/side_panel-footer.ttl +196 -3
- package/data/apps/subcomponent/side_panel-header.ttl +212 -3
- package/data/apps_anbox/component/theme_switcher.ttl +1 -1
- package/data/apps_anbox/pattern/side_menu.ttl +0 -1
- package/data/{tagcategory/lpupstream.ttl → apps_identity.ttl} +2 -2
- package/data/apps_landscape/component/checkbox_group.ttl +24 -24
- package/data/apps_landscape/component/code_editor.ttl +35 -35
- package/data/apps_landscape/component/cron_schedule.ttl +4 -4
- package/data/apps_landscape/component/expandable_radio_group.ttl +47 -47
- package/data/apps_landscape/component/expandable_truncation.ttl +20 -20
- package/data/apps_landscape/component/form_section.ttl +4 -4
- package/data/apps_landscape/component/gpg_key_field.ttl +27 -27
- package/data/apps_landscape/component/grouped_select.ttl +25 -25
- package/data/apps_landscape/component/loading_state.ttl +8 -8
- package/data/apps_landscape/component/managed_file_input.ttl +18 -18
- package/data/apps_landscape/component/multi_select_field.ttl +50 -50
- package/data/apps_landscape/component/password_constraints.ttl +1 -1
- package/data/apps_landscape/component/progress_bar.ttl +20 -20
- package/data/apps_landscape/component/read_only_field.ttl +15 -15
- package/data/apps_landscape/component/search_help_popup.ttl +10 -10
- package/data/apps_landscape/component/search_query_editor.ttl +33 -33
- package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
- package/data/apps_landscape/pattern/content_blocks.ttl +20 -20
- package/data/apps_landscape/pattern/dashboard_page_composition.ttl +37 -37
- package/data/apps_landscape/pattern/delivery_scheduling.ttl +6 -6
- package/data/apps_landscape/pattern/form_field_help.ttl +28 -28
- package/data/apps_landscape/pattern/header_search_controls.ttl +41 -41
- package/data/apps_landscape/pattern/ignorable_notification.ttl +16 -16
- package/data/apps_landscape/pattern/information_grid.ttl +14 -14
- package/data/apps_landscape/pattern/instance_association.ttl +5 -5
- package/data/apps_landscape/pattern/process_flow.ttl +11 -11
- package/data/apps_landscape/pattern/progressively_expandable_table.ttl +32 -32
- package/data/apps_landscape/pattern/recurring_schedule.ttl +3 -3
- package/data/apps_landscape/pattern/responsive_action_group.ttl +12 -12
- package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
- package/data/apps_landscape/pattern/responsive_table_filters.ttl +11 -11
- package/data/apps_landscape/pattern/side_panel_form_actions.ttl +40 -40
- package/data/apps_landscape/pattern/sortable_list.ttl +14 -14
- package/data/apps_landscape/pattern/table_filter.ttl +57 -57
- package/data/apps_landscape/pattern/table_filter_chips.ttl +67 -67
- package/data/apps_landscape/pattern/table_pagination.ttl +63 -63
- package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +22 -22
- package/data/apps_landscape/subcomponent/bold_substring.ttl +4 -4
- package/data/apps_landscape/subcomponent/inline_cell_input.ttl +8 -8
- package/data/apps_landscape/subcomponent/label_with_description.ttl +14 -14
- package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +8 -8
- package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
- package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +12 -12
- package/data/apps_launchpad/component/avatar.ttl +2 -2
- package/data/apps_launchpad/component/badge.ttl +2 -2
- package/data/apps_launchpad/component/breadcrumbs.ttl +1 -1
- package/data/apps_launchpad/component/button.ttl +2 -2
- package/data/apps_launchpad/component/checkbox_input.ttl +4 -4
- package/data/apps_launchpad/component/combobox.ttl +2 -2
- package/data/apps_launchpad/component/drawer.ttl +4 -4
- package/data/apps_launchpad/component/modal.ttl +4 -12
- package/data/apps_launchpad/component/radio_input.ttl +5 -5
- package/data/apps_launchpad/component/select_input.ttl +1 -1
- package/data/apps_launchpad/component/switch.ttl +5 -5
- package/data/apps_launchpad/component/text_input.ttl +8 -8
- package/data/apps_launchpad/component/textarea_input.ttl +10 -10
- package/data/apps_launchpad/component/tooltip.ttl +3 -3
- package/data/apps_launchpad/subcomponent/combobox-loading.ttl +2 -2
- package/data/apps_launchpad/subcomponent/combobox-search.ttl +4 -4
- package/data/apps_launchpad/subcomponent/description_list-item.ttl +1 -1
- package/data/apps_launchpad/subcomponent/modal-content.ttl +2 -2
- package/data/apps_lxd/component/back_link.ttl +1 -1
- package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
- package/data/apps_lxd/component/doc_link.ttl +2 -2
- package/data/apps_lxd/component/meter.ttl +5 -5
- package/data/apps_lxd/component/output_field.ttl +2 -3
- package/data/apps_lxd/component/rename_header.ttl +15 -15
- package/data/apps_lxd/component/tab_links.ttl +4 -4
- package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +2 -2
- package/data/apps_lxd/view/network_topology.ttl +3 -4
- package/data/apps_portal/layout/details_view.ttl +0 -1
- package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +5 -6
- package/data/apps_workplace/component/org_chart.ttl +12 -0
- package/data/{apps_workplaceengineering → apps_workplace}/component/rule.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/component/skip_link.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/component/theme_switcher.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +4 -4
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -2
- package/data/apps_workplace/pattern/org_event_card.ttl +12 -0
- package/data/apps_workplace/subcomponent/multi_select_input.ttl +12 -0
- package/data/{apps_workplaceengineering.ttl → apps_workplace.ttl} +2 -2
- package/data/concept/Accessibility.ttl +9 -0
- package/data/concept/Breakpoints.ttl +9 -0
- package/data/concept/Design-tokens-Overview.ttl +10 -0
- package/data/concept/Filtering-patterns.ttl +10 -0
- package/data/concept/Foundations-Baseline.ttl +0 -1
- package/data/concept/Foundations-Color.ttl +10 -0
- package/data/concept/Foundations-Density--the-form-channel.ttl +0 -1
- package/data/concept/Foundations-Grid--Layout.ttl +2 -3
- package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +0 -1
- package/data/concept/Foundations-Spacing.ttl +0 -1
- package/data/concept/Foundations-Surfaces.ttl +1 -2
- package/data/concept/Foundations-Typography.ttl +1 -2
- package/data/concept/How-to-choose-between-question-mark-and-information-icon.ttl +10 -0
- package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +3 -4
- package/data/concept/How-to-indicate-required-fields-in-forms.ttl +1 -2
- package/data/concept/How-to-support-modifiers-in-a-component.ttl +0 -1
- package/data/concept/Intentional-friction.ttl +0 -1
- package/data/concept/Overflow.ttl +10 -0
- package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
- package/data/documentation/layout/content_page_layout.ttl +13 -0
- package/data/documentation/layout/documentation_layout.ttl +2 -1
- package/data/documentation/layout/library_layout.ttl +13 -0
- package/data/documentation/layout/search_page_layout.ttl +13 -0
- package/data/documentation/pattern/library_side_navigation.ttl +4 -4
- package/data/global/component/accordion.ttl +5 -184
- package/data/global/component/announcement.ttl +4 -4
- package/data/global/component/avatar.ttl +1 -1
- package/data/global/component/badge.ttl +7 -9
- package/data/global/component/breadcrumbs.ttl +8 -7
- package/data/global/component/button.ttl +7 -25
- package/data/global/component/button_link.ttl +1 -1
- package/data/global/component/card.ttl +3 -12
- package/data/global/component/checkbox_field.ttl +1 -1
- package/data/global/component/chip.ttl +5 -6
- package/data/global/component/choices_field.ttl +11 -3
- package/data/global/component/code_snippet.ttl +1 -2
- package/data/global/component/color_field.ttl +1 -1
- package/data/global/component/combobox_field.ttl +2 -18
- package/data/global/component/contextual_menu.ttl +4 -6
- package/data/global/component/date_field.ttl +1 -1
- package/data/global/component/date_time_field.ttl +1 -1
- package/data/global/component/drag_and_drop_list.ttl +3 -3
- package/data/global/component/dropdown_button.ttl +2 -3
- package/data/global/component/file_upload_field.ttl +509 -60
- package/data/global/component/heading.ttl +4 -4
- package/data/global/component/hidden_field.ttl +1 -1
- package/data/global/component/icon.ttl +3 -3
- package/data/global/component/icon_button.ttl +35 -0
- package/data/global/component/icon_in_container.ttl +7 -2
- package/data/global/component/inline_code.ttl +1 -1
- package/data/{apps → global}/component/key_value_pair.ttl +3 -3
- package/data/global/component/keyboard_key.ttl +1 -1
- package/data/global/{pattern/navigation.ttl → component/link.ttl} +3 -3
- package/data/global/component/links.ttl +12 -0
- package/data/global/component/markdown_editor_field.ttl +13 -0
- package/data/global/component/mode_switcher.ttl +2 -2
- package/data/global/component/notification_toast.ttl +1 -1
- package/data/global/component/number_field.ttl +1 -1
- package/data/global/component/pagination.ttl +2 -2
- package/data/global/component/password_field.ttl +1 -1
- package/data/global/component/phone_field.ttl +1 -1
- package/data/global/component/popover.ttl +1 -1
- package/data/global/component/query_builder.ttl +12 -0
- package/data/global/component/range_field.ttl +1 -81
- package/data/global/component/rating_field.ttl +1 -1
- package/data/global/component/relative_timestamp.ttl +2 -1
- package/data/global/component/rich_choices_field.ttl +1 -1
- package/data/global/component/rich_text_editor.ttl +12 -0
- package/data/global/component/rich_text_field.ttl +1 -1
- package/data/global/component/search_field.ttl +1 -1
- package/data/global/{subcomponent/markdown_input.ttl → component/segmented_control.ttl} +3 -3
- package/data/global/component/segmented_control_field.ttl +1 -1
- package/data/global/component/select_field.ttl +1 -1
- package/data/global/component/switch_field.ttl +1 -1
- package/data/global/component/table.ttl +4 -4
- package/data/global/component/tabs.ttl +1 -1
- package/data/global/component/tag.ttl +2 -2
- package/data/global/component/text_field.ttl +1 -1
- package/data/global/component/textarea_field.ttl +1 -1
- package/data/global/component/tile.ttl +2 -5
- package/data/global/component/time_field.ttl +1 -1
- package/data/global/component/timestamp.ttl +2 -1
- package/data/global/component/tooltip.ttl +78 -120
- package/data/global/component/{data_tooltip.ttl → tooltip_data.ttl} +31 -23
- package/data/global/component/tooltip_wrapper.ttl +71 -15
- package/data/global/group/buttons.ttl +1 -8
- package/data/global/group/cards.ttl +2 -6
- package/data/global/group/code_snippets.ttl +1 -1
- package/data/{apps → global}/group/key_value_pairs.ttl +3 -3
- package/data/global/group/keyboard_keys.ttl +1 -1
- package/data/global/group/tiles.ttl +1 -1
- package/data/global/modifier/constructive.ttl +1 -1
- package/data/global/modifier/elevated.ttl +1 -1
- package/data/global/modifier/information.ttl +1 -1
- package/data/global/modifier_family/_emphasis.ttl +1 -2
- package/data/global/modifier_family/_other.ttl +1 -2
- package/data/global/modifier_family/surface.ttl +1 -1
- package/data/global/pattern/description_list.ttl +1 -1
- package/data/global/pattern/field.ttl +1 -1
- package/data/global/{component/markdown_field.ttl → pattern/filter.ttl} +3 -3
- package/data/global/pattern/form_login.ttl +1 -1
- package/data/global/pattern/modal.ttl +5 -21
- package/data/global/pattern/stepper.ttl +1 -1
- package/data/global/pattern/table_of_contents.ttl +1 -1
- package/data/global/pattern/timeline.ttl +14 -19
- package/data/global/pattern/top_navigation.ttl +13 -0
- package/data/global/subcomponent/accordion-item.ttl +3 -156
- package/data/global/subcomponent/card-content.ttl +1 -1
- package/data/global/subcomponent/card-footer.ttl +1 -1
- package/data/global/subcomponent/card-header.ttl +1 -1
- package/data/global/subcomponent/card-image.ttl +2 -2
- package/data/global/subcomponent/card-thumbnail.ttl +1 -1
- package/data/global/subcomponent/chart_legend.ttl +1 -1
- package/data/global/subcomponent/chart_legend_item.ttl +1 -1
- package/data/global/subcomponent/checkbox_input.ttl +1 -1
- package/data/global/subcomponent/color_input.ttl +1 -1
- package/data/global/subcomponent/combobox_input.ttl +2 -18
- package/data/global/subcomponent/date_input.ttl +1 -1
- package/data/global/subcomponent/date_time_input.ttl +1 -1
- package/data/global/subcomponent/field-description.ttl +1 -1
- package/data/global/subcomponent/field-label.ttl +1 -1
- package/data/global/subcomponent/file_upload_input.ttl +503 -50
- package/data/global/subcomponent/hidden_input.ttl +1 -1
- package/data/global/subcomponent/markdown_editor_input.ttl +13 -0
- package/data/global/subcomponent/modal-content.ttl +1 -1
- package/data/global/subcomponent/modal-footer.ttl +3 -19
- package/data/global/subcomponent/modal-header.ttl +5 -21
- package/data/global/subcomponent/number_input.ttl +1 -1
- package/data/global/subcomponent/password_input.ttl +1 -1
- package/data/global/subcomponent/phone_input.ttl +1 -1
- package/data/global/subcomponent/radio_input.ttl +1 -1
- package/data/global/subcomponent/range_input.ttl +3 -84
- package/data/global/subcomponent/rating_input.ttl +1 -1
- package/data/global/subcomponent/rich_text_input.ttl +1 -1
- package/data/global/subcomponent/search_input.ttl +3 -4
- package/data/global/subcomponent/segmented_control_input.ttl +1 -1
- package/data/global/subcomponent/select_input.ttl +1 -1
- package/data/global/subcomponent/spinner.ttl +2 -2
- package/data/global/subcomponent/switch_input.ttl +1 -1
- package/data/global/{layout/form_layout.ttl → subcomponent/text_editor_input.ttl} +2 -2
- package/data/global/subcomponent/text_input.ttl +1 -1
- package/data/global/subcomponent/textarea_input.ttl +1 -1
- package/data/global/subcomponent/tile-content.ttl +1 -1
- package/data/global/subcomponent/time_input.ttl +1 -1
- package/data/global/subcomponent/timeline-content.ttl +2 -2
- package/data/global/subcomponent/timeline-event.ttl +5 -5
- package/data/global/subcomponent/timeline-expansion_indicator.ttl +1 -1
- package/data/global/subcomponent/timeline-header.ttl +1 -1
- package/data/global/variant/tooltip_dense.ttl +87 -6
- package/data/global_dataviews/component/filter_button.ttl +487 -0
- package/data/global_dataviews/component/query_bar.ttl +1639 -0
- package/data/global_dataviews/component/query_chip.ttl +605 -0
- package/data/global_dataviews/group/query_chips.ttl +565 -0
- package/data/global_dataviews/modifier/exclusion.ttl +8 -0
- package/data/global_dataviews/modifier/inclusion.ttl +8 -0
- package/data/global_dataviews/modifier/match.ttl +8 -0
- package/data/global_dataviews/modifier/presence.ttl +8 -0
- package/data/global_dataviews/modifier/range.ttl +8 -0
- package/data/global_dataviews/modifier_family/condition.ttl +9 -0
- package/data/global_dataviews/subcomponent/query_chip-entry.ttl +186 -0
- package/data/global_dataviews/subcomponent/query_chip-segment.ttl +241 -0
- package/data/global_dataviews/subcomponent/query_input.ttl +1287 -0
- package/data/{tagcategory/documentation-stage.ttl → global_dataviews.ttl} +2 -2
- package/data/sites/component/store_card.ttl +92 -0
- package/data/sites/pattern/hero.ttl +295 -4
- package/data/{stores.ttl → sites_stores.ttl} +2 -2
- package/data/tag/designin-progress.ttl +9 -0
- package/data/tag/devbatch1.ttl +1 -1
- package/data/tag/devbatch2.ttl +1 -1
- package/data/tag/devbatch3.ttl +1 -1
- package/data/tag/{wpetriageupstream-and-deprecate.ttl → devdone.ttl} +3 -2
- package/data/tag/devin-progress.ttl +9 -0
- package/data/tag/{stylesready.ttl → devin-review.ttl} +3 -3
- package/data/tag/devpre-approved.ttl +9 -0
- package/data/tag/{devreactapproved.ttl → devreactdone.ttl} +3 -3
- package/data/tag/devreactpreapproved.ttl +1 -1
- package/data/tag/{wpeinital-implementation.ttl → devsveltepreapproved.ttl} +3 -3
- package/data/tag/divergent.ttl +1 -1
- package/data/tag/docscomplete.ttl +1 -1
- package/data/tag/global-docs-missing.ttl +1 -1
- package/data/tag/has-no-global-entry.ttl +1 -1
- package/data/tag/implementationcomplete.ttl +9 -0
- package/data/tag/lpto-be-upstreamed.ttl +1 -1
- package/data/tag/lptriageblocked-reqs-design.ttl +1 -1
- package/data/tag/lptriageno-upstream.ttl +1 -1
- package/data/tag/lptriagereimplement-and-deprecate.ttl +1 -1
- package/data/tag/lptriagereimplement-and-keep.ttl +1 -1
- package/data/tag/lptriageupstream-and-deprecate.ttl +1 -1
- package/data/tag/{needsdefinition.ttl → needscoredocumentation.ttl} +3 -3
- package/data/tag/needsdesign.ttl +9 -0
- package/data/tag/{needsdocumentation.ttl → needsfulldocumentation.ttl} +3 -3
- package/data/tag/needsimplementation.ttl +9 -0
- package/data/tag/needstriage.ttl +1 -1
- package/data/tag/specialadoption-docs.ttl +1 -1
- package/data/tag/triagedbacklog.ttl +2 -2
- package/data/tag/triagedrejected.ttl +2 -2
- package/data/tag/upstream-candidate.ttl +1 -1
- package/data/tag/upstream-compliant.ttl +1 -1
- package/data/tag/waiting-for-delta-review.ttl +1 -1
- package/data/tag/workplaceinitial-implementation.ttl +9 -0
- package/data/tag/workplacetriageupstream-and-deprecate.ttl +9 -0
- package/data/tagcategory/design--documentation-status.ttl +6 -0
- package/data/tagcategory/implementationnotes.ttl +6 -0
- package/data/tagcategory/implementationstatus.ttl +6 -0
- package/data/tagcategory/implementationworkflow.ttl +6 -0
- package/definitions/ontology.ttl +8 -2
- package/package.json +6 -6
- package/skills/adoption-a1-styles/SKILL.md +48 -7
- package/skills/adoption-a2-components/SKILL.md +125 -5
- package/skills/anatomy-author/SKILL.md +302 -95
- package/skills/anatomy-author/clarification-guidelines.md +150 -0
- package/skills/anatomy-author/completeness-checklist.md +224 -0
- package/skills/implement-component/SKILL.md +2 -2
- package/skills/map-journeys/SKILL.md +395 -0
- package/skills/map-journeys/journey-graph.example.html +298 -0
- package/skills/model-domains/SKILL.md +502 -0
- package/data/apps_workplaceengineering/pattern/event_timeline.ttl +0 -13
- package/data/apps_workplaceengineering/pattern/group_card.ttl +0 -13
- package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
- package/data/apps_workplaceengineering/subcomponent/multi_select_input.ttl +0 -12
- package/data/concept/Question-mark-vs-information-icon.ttl +0 -11
- package/data/global/modifier/editable.ttl +0 -8
- package/data/global/modifier/focused.ttl +0 -8
- package/data/global/modifier/highlighted.ttl +0 -8
- package/data/global/modifier/loading.ttl +0 -8
- package/data/global/modifier/muted.ttl +0 -8
- package/data/global/modifier/wireframe.ttl +0 -8
|
@@ -4,13 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
ds:global.component.file_upload_field a ds:Component;
|
|
6
6
|
ds:name "FileUploadField";
|
|
7
|
-
ds:summary "A form
|
|
8
|
-
ds:anatomyDsl "---\n#
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
|
-
ds:usage "A
|
|
7
|
+
ds:summary "A form field for attaching one or more files. It wraps the upload control ([FileUploadInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-ueHBQBbs9M)) in the standard field frame: a label, a description with the file limits, and the control itself, which shows the validation messages when a file is rejected. It is the component to use when a form needs a file from the user.";
|
|
8
|
+
ds:anatomyDsl "---\n# The field frames the file upload input with a label and an optional\n# description. The input's own parts, including the field-level validation\n# message, live in its own anatomy.\nnode:\n uri: global.component.file_upload_field\n styles:\n layout.type: flex\n layout.direction: column\n # 16px between the text wrapper and the input; no spacing semantic resolves\n # to it, so the dimension is bound directly.\n spacing.gap.block: dimension.200\n edges:\n - node:\n # Groups the label with its description so the pair sits closer\n # together than the rest of the field.\n role: text wrapper\n styles:\n layout.type: flex\n layout.direction: column\n spacing.gap.block: dimension.050\n edges:\n - node:\n uri: global.subcomponent.field-label\n styles:\n # The disabled state belongs to the field; the label dims with it.\n typography.color@disabled: color.text.disabled\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n uri: global.subcomponent.field-description\n styles:\n typography.color@disabled: color.text.muted.disabled\n relation:\n cardinality: \"0..1\"\n slotName: description\n relation:\n cardinality: \"1\"\n - node:\n uri: global.subcomponent.file_upload_input\n relation:\n cardinality: \"1\"\n slotName: default";
|
|
9
|
+
ds:anatomyClassic "**Anatomy**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13355-8568&t=cEAarkbWU6qDCTl8-1\n\n**Styling / Layout and spacing**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13355-8580&t=cEAarkbWU6qDCTl8-1\n\n**Styling / Colors**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13355-8590&t=cEAarkbWU6qDCTl8-1\n\n**Styling / Typography**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13355-8608&t=cEAarkbWU6qDCTl8-1\n\n**Styling / Overflow**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13355-8615&t=cEAarkbWU6qDCTl8-1";
|
|
10
|
+
ds:usage "A form field for attaching one or more files. It combines a label, a description with the file limits, and the upload control, which shows the validation messages.\n\n## **When to use**\n\n- Users need to attach one or more files as part of a form submission.\n- Users should see the files they've added, and remove or retry a file before submitting.\n\n## **When not to use**\n\n- The value is a short, free-form entry – use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx).\n- The value is a link or reference to a file hosted elsewhere, not the file itself – use [TextField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-QAuX4qtecx) and ask for the URL.";
|
|
11
11
|
ds:guidelines "";
|
|
12
12
|
ds:tier ds:global;
|
|
13
|
-
ds:documentationStage ds:tag.
|
|
13
|
+
ds:documentationStage ds:tag.designin-progress;
|
|
14
|
+
ds:changeLog [
|
|
15
|
+
a ds:ChangeLogEntry;
|
|
16
|
+
ds:timestamp "2026-11-22T17:00:00.000+01:00";
|
|
17
|
+
ds:changeType "change"
|
|
18
|
+
], [
|
|
19
|
+
a ds:ChangeLogEntry;
|
|
20
|
+
ds:timestamp "2026-11-25T13:00:00.000+01:00";
|
|
21
|
+
ds:changeType "decision"
|
|
22
|
+
];
|
|
14
23
|
ds:hasTokenBinding [
|
|
15
24
|
a ds:TokenBinding;
|
|
16
25
|
ds:viaBlock ds:global.component.file_upload_field;
|
|
@@ -18,7 +27,23 @@ ds:global.component.file_upload_field a ds:Component;
|
|
|
18
27
|
anatomy:styleKey "spacing.gap.block";
|
|
19
28
|
anatomy:styleState "default";
|
|
20
29
|
ds:rank 1;
|
|
21
|
-
ds:consumesSymbol dt:
|
|
30
|
+
ds:consumesSymbol dt:dimension.200
|
|
31
|
+
], [
|
|
32
|
+
a ds:TokenBinding;
|
|
33
|
+
ds:viaBlock ds:global.component.file_upload_field;
|
|
34
|
+
ds:node "$root/text wrapper";
|
|
35
|
+
anatomy:styleKey "spacing.gap.block";
|
|
36
|
+
anatomy:styleState "default";
|
|
37
|
+
ds:rank 1;
|
|
38
|
+
ds:consumesSymbol dt:dimension.050
|
|
39
|
+
], [
|
|
40
|
+
a ds:TokenBinding;
|
|
41
|
+
ds:viaBlock ds:global.component.file_upload_field;
|
|
42
|
+
ds:node "$root/text wrapper/global.subcomponent.field-label";
|
|
43
|
+
anatomy:styleKey "typography.color";
|
|
44
|
+
anatomy:styleState "disabled";
|
|
45
|
+
ds:rank 1;
|
|
46
|
+
ds:consumesSymbol dt:color.text.disabled
|
|
22
47
|
], [
|
|
23
48
|
a ds:TokenBinding;
|
|
24
49
|
ds:viaBlock ds:global.subcomponent.field-label;
|
|
@@ -54,11 +79,11 @@ ds:global.component.file_upload_field a ds:Component;
|
|
|
54
79
|
], [
|
|
55
80
|
a ds:TokenBinding;
|
|
56
81
|
ds:viaBlock ds:global.component.file_upload_field;
|
|
57
|
-
ds:node "$root/
|
|
58
|
-
anatomy:styleKey "
|
|
59
|
-
anatomy:styleState "
|
|
82
|
+
ds:node "$root/text wrapper/global.subcomponent.field-description";
|
|
83
|
+
anatomy:styleKey "typography.color";
|
|
84
|
+
anatomy:styleState "disabled";
|
|
60
85
|
ds:rank 1;
|
|
61
|
-
ds:consumesSymbol dt:
|
|
86
|
+
ds:consumesSymbol dt:color.text.muted.disabled
|
|
62
87
|
], [
|
|
63
88
|
a ds:TokenBinding;
|
|
64
89
|
ds:viaBlock ds:global.subcomponent.field-description;
|
|
@@ -70,7 +95,63 @@ ds:global.component.file_upload_field a ds:Component;
|
|
|
70
95
|
], [
|
|
71
96
|
a ds:TokenBinding;
|
|
72
97
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
73
|
-
ds:node "$root
|
|
98
|
+
ds:node "$root";
|
|
99
|
+
anatomy:styleKey "spacing.gap.block";
|
|
100
|
+
anatomy:styleState "default";
|
|
101
|
+
ds:rank 1;
|
|
102
|
+
ds:consumesSymbol dt:dimension.200
|
|
103
|
+
], [
|
|
104
|
+
a ds:TokenBinding;
|
|
105
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
106
|
+
ds:node "$root/drop area and message";
|
|
107
|
+
anatomy:styleKey "spacing.gap.block";
|
|
108
|
+
anatomy:styleState "default";
|
|
109
|
+
ds:rank 1;
|
|
110
|
+
ds:consumesSymbol dt:dimension.100
|
|
111
|
+
], [
|
|
112
|
+
a ds:TokenBinding;
|
|
113
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
114
|
+
ds:node "$root/drop area and message/drop area";
|
|
115
|
+
anatomy:styleKey "spacing.internal.block.start";
|
|
116
|
+
anatomy:styleState "default";
|
|
117
|
+
ds:rank 1;
|
|
118
|
+
ds:consumesSymbol dt:dimension.200
|
|
119
|
+
], [
|
|
120
|
+
a ds:TokenBinding;
|
|
121
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
122
|
+
ds:node "$root/drop area and message/drop area";
|
|
123
|
+
anatomy:styleKey "spacing.internal.block.end";
|
|
124
|
+
anatomy:styleState "default";
|
|
125
|
+
ds:rank 1;
|
|
126
|
+
ds:consumesSymbol dt:dimension.200
|
|
127
|
+
], [
|
|
128
|
+
a ds:TokenBinding;
|
|
129
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
130
|
+
ds:node "$root/drop area and message/drop area";
|
|
131
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
132
|
+
anatomy:styleState "default";
|
|
133
|
+
ds:rank 1;
|
|
134
|
+
ds:consumesSymbol dt:dimension.200
|
|
135
|
+
], [
|
|
136
|
+
a ds:TokenBinding;
|
|
137
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
138
|
+
ds:node "$root/drop area and message/drop area";
|
|
139
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
140
|
+
anatomy:styleState "default";
|
|
141
|
+
ds:rank 1;
|
|
142
|
+
ds:consumesSymbol dt:dimension.200
|
|
143
|
+
], [
|
|
144
|
+
a ds:TokenBinding;
|
|
145
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
146
|
+
ds:node "$root/drop area and message/drop area";
|
|
147
|
+
anatomy:styleKey "spacing.gap";
|
|
148
|
+
anatomy:styleState "default";
|
|
149
|
+
ds:rank 1;
|
|
150
|
+
ds:consumesSymbol dt:dimension.100
|
|
151
|
+
], [
|
|
152
|
+
a ds:TokenBinding;
|
|
153
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
154
|
+
ds:node "$root/drop area and message/drop area";
|
|
74
155
|
anatomy:styleKey "appearance.border.width";
|
|
75
156
|
anatomy:styleState "default";
|
|
76
157
|
ds:rank 1;
|
|
@@ -78,39 +159,47 @@ ds:global.component.file_upload_field a ds:Component;
|
|
|
78
159
|
], [
|
|
79
160
|
a ds:TokenBinding;
|
|
80
161
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
81
|
-
ds:node "$root/drop area";
|
|
162
|
+
ds:node "$root/drop area and message/drop area";
|
|
82
163
|
anatomy:styleKey "appearance.border.color";
|
|
83
164
|
anatomy:styleState "default";
|
|
84
165
|
ds:rank 1;
|
|
85
|
-
ds:consumesSymbol dt:color.border
|
|
166
|
+
ds:consumesSymbol dt:modifier.color.border
|
|
86
167
|
], [
|
|
87
168
|
a ds:TokenBinding;
|
|
88
169
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
89
|
-
ds:node "$root/drop area";
|
|
90
|
-
anatomy:styleKey "appearance.
|
|
170
|
+
ds:node "$root/drop area and message/drop area";
|
|
171
|
+
anatomy:styleKey "appearance.border.color";
|
|
91
172
|
anatomy:styleState "default";
|
|
173
|
+
ds:rank 2;
|
|
174
|
+
ds:consumesSymbol dt:color.border
|
|
175
|
+
], [
|
|
176
|
+
a ds:TokenBinding;
|
|
177
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
178
|
+
ds:node "$root/drop area and message/drop area";
|
|
179
|
+
anatomy:styleKey "appearance.border.color";
|
|
180
|
+
anatomy:styleState "disabled";
|
|
92
181
|
ds:rank 1;
|
|
93
|
-
ds:consumesSymbol dt:
|
|
182
|
+
ds:consumesSymbol dt:color.border.disabled
|
|
94
183
|
], [
|
|
95
184
|
a ds:TokenBinding;
|
|
96
185
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
97
|
-
ds:node "$root/drop area";
|
|
186
|
+
ds:node "$root/drop area and message/drop area";
|
|
98
187
|
anatomy:styleKey "appearance.background";
|
|
99
188
|
anatomy:styleState "default";
|
|
100
189
|
ds:rank 1;
|
|
101
|
-
ds:consumesSymbol dt:color.foreground.input
|
|
190
|
+
ds:consumesSymbol dt:modifier.color.foreground.input
|
|
102
191
|
], [
|
|
103
192
|
a ds:TokenBinding;
|
|
104
193
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
105
|
-
ds:node "$root/drop area";
|
|
106
|
-
anatomy:styleKey "
|
|
194
|
+
ds:node "$root/drop area and message/drop area";
|
|
195
|
+
anatomy:styleKey "appearance.background";
|
|
107
196
|
anatomy:styleState "default";
|
|
108
|
-
ds:rank
|
|
109
|
-
ds:consumesSymbol dt:color.
|
|
197
|
+
ds:rank 2;
|
|
198
|
+
ds:consumesSymbol dt:color.foreground.input
|
|
110
199
|
], [
|
|
111
200
|
a ds:TokenBinding;
|
|
112
201
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
113
|
-
ds:node "$root/drop area";
|
|
202
|
+
ds:node "$root/drop area and message/drop area";
|
|
114
203
|
anatomy:styleKey "appearance.background";
|
|
115
204
|
anatomy:styleState "hover";
|
|
116
205
|
ds:rank 1;
|
|
@@ -118,95 +207,383 @@ ds:global.component.file_upload_field a ds:Component;
|
|
|
118
207
|
], [
|
|
119
208
|
a ds:TokenBinding;
|
|
120
209
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
121
|
-
ds:node "$root/drop area";
|
|
122
|
-
anatomy:styleKey "appearance.
|
|
123
|
-
anatomy:styleState "
|
|
210
|
+
ds:node "$root/drop area and message/drop area";
|
|
211
|
+
anatomy:styleKey "appearance.background";
|
|
212
|
+
anatomy:styleState "active";
|
|
124
213
|
ds:rank 1;
|
|
125
|
-
ds:consumesSymbol dt:color.
|
|
214
|
+
ds:consumesSymbol dt:color.foreground.input.active
|
|
126
215
|
], [
|
|
127
216
|
a ds:TokenBinding;
|
|
128
217
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
129
|
-
ds:node "$root/drop area";
|
|
130
|
-
anatomy:styleKey "appearance.
|
|
131
|
-
anatomy:styleState "
|
|
218
|
+
ds:node "$root/drop area and message/drop area";
|
|
219
|
+
anatomy:styleKey "appearance.background";
|
|
220
|
+
anatomy:styleState "disabled";
|
|
132
221
|
ds:rank 1;
|
|
133
|
-
ds:consumesSymbol dt:color.
|
|
222
|
+
ds:consumesSymbol dt:color.foreground.input.disabled
|
|
134
223
|
], [
|
|
135
224
|
a ds:TokenBinding;
|
|
136
225
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
137
|
-
ds:node "$root/drop area";
|
|
138
|
-
anatomy:styleKey "
|
|
139
|
-
anatomy:styleState "
|
|
226
|
+
ds:node "$root/drop area and message/drop area/helper text";
|
|
227
|
+
anatomy:styleKey "typography.font";
|
|
228
|
+
anatomy:styleState "default";
|
|
140
229
|
ds:rank 1;
|
|
141
|
-
ds:consumesSymbol dt:
|
|
230
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
142
231
|
], [
|
|
143
232
|
a ds:TokenBinding;
|
|
144
233
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
145
|
-
ds:node "$root/
|
|
234
|
+
ds:node "$root/drop area and message/drop area/helper text";
|
|
235
|
+
anatomy:styleKey "typography.color";
|
|
236
|
+
anatomy:styleState "default";
|
|
237
|
+
ds:rank 1;
|
|
238
|
+
ds:consumesSymbol dt:color.text
|
|
239
|
+
], [
|
|
240
|
+
a ds:TokenBinding;
|
|
241
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
242
|
+
ds:node "$root/drop area and message/drop area/helper text";
|
|
243
|
+
anatomy:styleKey "typography.color";
|
|
244
|
+
anatomy:styleState "disabled";
|
|
245
|
+
ds:rank 1;
|
|
246
|
+
ds:consumesSymbol dt:color.text.disabled
|
|
247
|
+
], [
|
|
248
|
+
a ds:TokenBinding;
|
|
249
|
+
ds:viaBlock ds:global.component.button;
|
|
250
|
+
ds:node "$root";
|
|
146
251
|
anatomy:styleKey "appearance.border.width";
|
|
147
252
|
anatomy:styleState "default";
|
|
148
253
|
ds:rank 1;
|
|
149
254
|
ds:consumesSymbol dt:dimension.stroke.thickness.medium
|
|
150
255
|
], [
|
|
151
256
|
a ds:TokenBinding;
|
|
152
|
-
ds:viaBlock ds:global.
|
|
153
|
-
ds:node "$root
|
|
257
|
+
ds:viaBlock ds:global.component.button;
|
|
258
|
+
ds:node "$root";
|
|
259
|
+
anatomy:styleKey "appearance.background";
|
|
260
|
+
anatomy:styleState "default";
|
|
261
|
+
ds:rank 1;
|
|
262
|
+
ds:consumesSymbol dt:modifier.color.foreground.primary
|
|
263
|
+
], [
|
|
264
|
+
a ds:TokenBinding;
|
|
265
|
+
ds:viaBlock ds:global.component.button;
|
|
266
|
+
ds:node "$root";
|
|
267
|
+
anatomy:styleKey "appearance.background";
|
|
268
|
+
anatomy:styleState "default";
|
|
269
|
+
ds:rank 2;
|
|
270
|
+
ds:consumesSymbol dt:color.foreground.primary
|
|
271
|
+
], [
|
|
272
|
+
a ds:TokenBinding;
|
|
273
|
+
ds:viaBlock ds:global.component.button;
|
|
274
|
+
ds:node "$root";
|
|
275
|
+
anatomy:styleKey "appearance.background";
|
|
276
|
+
anatomy:styleState "hover";
|
|
277
|
+
ds:rank 1;
|
|
278
|
+
ds:consumesSymbol dt:color.foreground.primary.hover
|
|
279
|
+
], [
|
|
280
|
+
a ds:TokenBinding;
|
|
281
|
+
ds:viaBlock ds:global.component.button;
|
|
282
|
+
ds:node "$root";
|
|
283
|
+
anatomy:styleKey "appearance.background";
|
|
284
|
+
anatomy:styleState "active";
|
|
285
|
+
ds:rank 1;
|
|
286
|
+
ds:consumesSymbol dt:color.foreground.primary.active
|
|
287
|
+
], [
|
|
288
|
+
a ds:TokenBinding;
|
|
289
|
+
ds:viaBlock ds:global.component.button;
|
|
290
|
+
ds:node "$root";
|
|
291
|
+
anatomy:styleKey "appearance.background";
|
|
292
|
+
anatomy:styleState "disabled";
|
|
293
|
+
ds:rank 1;
|
|
294
|
+
ds:consumesSymbol dt:color.foreground.primary.disabled
|
|
295
|
+
], [
|
|
296
|
+
a ds:TokenBinding;
|
|
297
|
+
ds:viaBlock ds:global.component.button;
|
|
298
|
+
ds:node "$root";
|
|
154
299
|
anatomy:styleKey "appearance.border.color";
|
|
155
300
|
anatomy:styleState "default";
|
|
156
301
|
ds:rank 1;
|
|
302
|
+
ds:consumesSymbol dt:modifier.color.border
|
|
303
|
+
], [
|
|
304
|
+
a ds:TokenBinding;
|
|
305
|
+
ds:viaBlock ds:global.component.button;
|
|
306
|
+
ds:node "$root";
|
|
307
|
+
anatomy:styleKey "appearance.border.color";
|
|
308
|
+
anatomy:styleState "default";
|
|
309
|
+
ds:rank 2;
|
|
310
|
+
ds:consumesSymbol dt:color.border.highlighted
|
|
311
|
+
], [
|
|
312
|
+
a ds:TokenBinding;
|
|
313
|
+
ds:viaBlock ds:global.component.button;
|
|
314
|
+
ds:node "$root";
|
|
315
|
+
anatomy:styleKey "appearance.border.color";
|
|
316
|
+
anatomy:styleState "default";
|
|
317
|
+
ds:rank 3;
|
|
157
318
|
ds:consumesSymbol dt:color.border
|
|
319
|
+
], [
|
|
320
|
+
a ds:TokenBinding;
|
|
321
|
+
ds:viaBlock ds:global.component.button;
|
|
322
|
+
ds:node "$root";
|
|
323
|
+
anatomy:styleKey "appearance.border.color";
|
|
324
|
+
anatomy:styleState "disabled";
|
|
325
|
+
ds:rank 1;
|
|
326
|
+
ds:consumesSymbol dt:color.border.highlighted.disabled
|
|
327
|
+
], [
|
|
328
|
+
a ds:TokenBinding;
|
|
329
|
+
ds:viaBlock ds:global.component.button;
|
|
330
|
+
ds:node "$root";
|
|
331
|
+
anatomy:styleKey "typography.color";
|
|
332
|
+
anatomy:styleState "default";
|
|
333
|
+
ds:rank 1;
|
|
334
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
335
|
+
], [
|
|
336
|
+
a ds:TokenBinding;
|
|
337
|
+
ds:viaBlock ds:global.component.button;
|
|
338
|
+
ds:node "$root";
|
|
339
|
+
anatomy:styleKey "typography.color";
|
|
340
|
+
anatomy:styleState "default";
|
|
341
|
+
ds:rank 2;
|
|
342
|
+
ds:consumesSymbol dt:color.text
|
|
343
|
+
], [
|
|
344
|
+
a ds:TokenBinding;
|
|
345
|
+
ds:viaBlock ds:global.component.button;
|
|
346
|
+
ds:node "$root";
|
|
347
|
+
anatomy:styleKey "typography.color";
|
|
348
|
+
anatomy:styleState "disabled";
|
|
349
|
+
ds:rank 1;
|
|
350
|
+
ds:consumesSymbol dt:color.text.disabled
|
|
351
|
+
], [
|
|
352
|
+
a ds:TokenBinding;
|
|
353
|
+
ds:viaBlock ds:global.component.button;
|
|
354
|
+
ds:node "$root";
|
|
355
|
+
anatomy:styleKey "typography.font";
|
|
356
|
+
anatomy:styleState "default";
|
|
357
|
+
ds:rank 1;
|
|
358
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
359
|
+
], [
|
|
360
|
+
a ds:TokenBinding;
|
|
361
|
+
ds:viaBlock ds:global.component.button;
|
|
362
|
+
ds:node "$root";
|
|
363
|
+
anatomy:styleKey "spacing.gap";
|
|
364
|
+
anatomy:styleState "default";
|
|
365
|
+
ds:rank 1;
|
|
366
|
+
ds:consumesSymbol dt:dimension.100
|
|
367
|
+
], [
|
|
368
|
+
a ds:TokenBinding;
|
|
369
|
+
ds:viaBlock ds:global.component.button;
|
|
370
|
+
ds:node "$root";
|
|
371
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
372
|
+
anatomy:styleState "default";
|
|
373
|
+
ds:rank 1;
|
|
374
|
+
ds:consumesSymbol dt:dimension.200
|
|
375
|
+
], [
|
|
376
|
+
a ds:TokenBinding;
|
|
377
|
+
ds:viaBlock ds:global.component.button;
|
|
378
|
+
ds:node "$root";
|
|
379
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
380
|
+
anatomy:styleState "default";
|
|
381
|
+
ds:rank 1;
|
|
382
|
+
ds:consumesSymbol dt:dimension.200
|
|
383
|
+
], [
|
|
384
|
+
a ds:TokenBinding;
|
|
385
|
+
ds:viaBlock ds:global.component.button;
|
|
386
|
+
ds:node "$root";
|
|
387
|
+
anatomy:styleKey "appearance.outline.color";
|
|
388
|
+
anatomy:styleState "focus";
|
|
389
|
+
ds:rank 1;
|
|
390
|
+
ds:consumesSymbol dt:modifier.color.focusRing
|
|
391
|
+
], [
|
|
392
|
+
a ds:TokenBinding;
|
|
393
|
+
ds:viaBlock ds:global.component.button;
|
|
394
|
+
ds:node "$root";
|
|
395
|
+
anatomy:styleKey "appearance.outline.color";
|
|
396
|
+
anatomy:styleState "focus";
|
|
397
|
+
ds:rank 2;
|
|
398
|
+
ds:consumesSymbol dt:color.focusRing
|
|
399
|
+
], [
|
|
400
|
+
a ds:TokenBinding;
|
|
401
|
+
ds:viaBlock ds:global.component.button;
|
|
402
|
+
ds:node "$root/icon";
|
|
403
|
+
anatomy:styleKey "typography.color";
|
|
404
|
+
anatomy:styleState "default";
|
|
405
|
+
ds:rank 1;
|
|
406
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
407
|
+
], [
|
|
408
|
+
a ds:TokenBinding;
|
|
409
|
+
ds:viaBlock ds:global.component.button;
|
|
410
|
+
ds:node "$root/icon";
|
|
411
|
+
anatomy:styleKey "typography.color";
|
|
412
|
+
anatomy:styleState "default";
|
|
413
|
+
ds:rank 2;
|
|
414
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
415
|
+
], [
|
|
416
|
+
a ds:TokenBinding;
|
|
417
|
+
ds:viaBlock ds:global.component.button;
|
|
418
|
+
ds:node "$root/icon";
|
|
419
|
+
anatomy:styleKey "typography.color";
|
|
420
|
+
anatomy:styleState "disabled";
|
|
421
|
+
ds:rank 1;
|
|
422
|
+
ds:consumesSymbol dt:color.icon.disabled
|
|
423
|
+
], [
|
|
424
|
+
a ds:TokenBinding;
|
|
425
|
+
ds:viaBlock ds:global.subcomponent.field-error;
|
|
426
|
+
ds:node "$root";
|
|
427
|
+
anatomy:styleKey "typography.color";
|
|
428
|
+
anatomy:styleState "default";
|
|
429
|
+
ds:rank 1;
|
|
430
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
431
|
+
], [
|
|
432
|
+
a ds:TokenBinding;
|
|
433
|
+
ds:viaBlock ds:global.subcomponent.field-error;
|
|
434
|
+
ds:node "$root";
|
|
435
|
+
anatomy:styleKey "typography.color";
|
|
436
|
+
anatomy:styleState "default";
|
|
437
|
+
ds:rank 2;
|
|
438
|
+
ds:consumesSymbol dt:color.text.error
|
|
158
439
|
], [
|
|
159
440
|
a ds:TokenBinding;
|
|
160
441
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
161
|
-
ds:node "$root/file list
|
|
162
|
-
anatomy:styleKey "
|
|
442
|
+
ds:node "$root/file list";
|
|
443
|
+
anatomy:styleKey "spacing.gap.block";
|
|
163
444
|
anatomy:styleState "default";
|
|
164
445
|
ds:rank 1;
|
|
165
|
-
ds:consumesSymbol dt:dimension.
|
|
446
|
+
ds:consumesSymbol dt:dimension.200
|
|
166
447
|
], [
|
|
167
448
|
a ds:TokenBinding;
|
|
168
449
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
169
450
|
ds:node "$root/file list/file item";
|
|
451
|
+
anatomy:styleKey "spacing.gap.block";
|
|
452
|
+
anatomy:styleState "default";
|
|
453
|
+
ds:rank 1;
|
|
454
|
+
ds:consumesSymbol dt:dimension.100
|
|
455
|
+
], [
|
|
456
|
+
a ds:TokenBinding;
|
|
457
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
458
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
459
|
+
anatomy:styleKey "spacing.gap";
|
|
460
|
+
anatomy:styleState "default";
|
|
461
|
+
ds:rank 1;
|
|
462
|
+
ds:consumesSymbol dt:dimension.100
|
|
463
|
+
], [
|
|
464
|
+
a ds:TokenBinding;
|
|
465
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
466
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
467
|
+
anatomy:styleKey "spacing.internal.block.start";
|
|
468
|
+
anatomy:styleState "default";
|
|
469
|
+
ds:rank 1;
|
|
470
|
+
ds:consumesSymbol dt:dimension.050
|
|
471
|
+
], [
|
|
472
|
+
a ds:TokenBinding;
|
|
473
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
474
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
475
|
+
anatomy:styleKey "spacing.internal.block.end";
|
|
476
|
+
anatomy:styleState "default";
|
|
477
|
+
ds:rank 1;
|
|
478
|
+
ds:consumesSymbol dt:dimension.050
|
|
479
|
+
], [
|
|
480
|
+
a ds:TokenBinding;
|
|
481
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
482
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
483
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
484
|
+
anatomy:styleState "default";
|
|
485
|
+
ds:rank 1;
|
|
486
|
+
ds:consumesSymbol dt:dimension.150
|
|
487
|
+
], [
|
|
488
|
+
a ds:TokenBinding;
|
|
489
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
490
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
491
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
492
|
+
anatomy:styleState "default";
|
|
493
|
+
ds:rank 1;
|
|
494
|
+
ds:consumesSymbol dt:dimension.050
|
|
495
|
+
], [
|
|
496
|
+
a ds:TokenBinding;
|
|
497
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
498
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
170
499
|
anatomy:styleKey "appearance.background";
|
|
171
500
|
anatomy:styleState "default";
|
|
172
501
|
ds:rank 1;
|
|
502
|
+
ds:consumesSymbol dt:modifier.color.foreground.input
|
|
503
|
+
], [
|
|
504
|
+
a ds:TokenBinding;
|
|
505
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
506
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
507
|
+
anatomy:styleKey "appearance.background";
|
|
508
|
+
anatomy:styleState "default";
|
|
509
|
+
ds:rank 2;
|
|
173
510
|
ds:consumesSymbol dt:color.foreground.input
|
|
174
511
|
], [
|
|
175
512
|
a ds:TokenBinding;
|
|
176
513
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
177
|
-
ds:node "$root/file list/file item/file
|
|
178
|
-
anatomy:styleKey "
|
|
514
|
+
ds:node "$root/file list/file item/tile body/tile details/file info";
|
|
515
|
+
anatomy:styleKey "spacing.gap";
|
|
179
516
|
anatomy:styleState "default";
|
|
180
517
|
ds:rank 1;
|
|
181
|
-
ds:consumesSymbol dt:dimension.
|
|
518
|
+
ds:consumesSymbol dt:dimension.100
|
|
182
519
|
], [
|
|
183
520
|
a ds:TokenBinding;
|
|
184
521
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
185
|
-
ds:node "$root/file list/file item/file
|
|
186
|
-
anatomy:styleKey "
|
|
522
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file name";
|
|
523
|
+
anatomy:styleKey "typography.font";
|
|
187
524
|
anatomy:styleState "default";
|
|
188
525
|
ds:rank 1;
|
|
189
|
-
ds:consumesSymbol dt:
|
|
526
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
527
|
+
], [
|
|
528
|
+
a ds:TokenBinding;
|
|
529
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
530
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file name";
|
|
531
|
+
anatomy:styleKey "typography.color";
|
|
532
|
+
anatomy:styleState "default";
|
|
533
|
+
ds:rank 1;
|
|
534
|
+
ds:consumesSymbol dt:modifier.color.text.onForegroundSecondary
|
|
535
|
+
], [
|
|
536
|
+
a ds:TokenBinding;
|
|
537
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
538
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file name";
|
|
539
|
+
anatomy:styleKey "typography.color";
|
|
540
|
+
anatomy:styleState "default";
|
|
541
|
+
ds:rank 2;
|
|
542
|
+
ds:consumesSymbol dt:color.text.onForegroundSecondary
|
|
190
543
|
], [
|
|
191
544
|
a ds:TokenBinding;
|
|
192
545
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
193
|
-
ds:node "$root/file list/file item/file
|
|
194
|
-
anatomy:styleKey "
|
|
546
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file size";
|
|
547
|
+
anatomy:styleKey "typography.font";
|
|
195
548
|
anatomy:styleState "default";
|
|
196
549
|
ds:rank 1;
|
|
197
|
-
ds:consumesSymbol dt:
|
|
550
|
+
ds:consumesSymbol dt:typography.text.secondary
|
|
198
551
|
], [
|
|
199
552
|
a ds:TokenBinding;
|
|
200
553
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
201
|
-
ds:node "$root/file list/file item/file size";
|
|
554
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file size";
|
|
202
555
|
anatomy:styleKey "typography.color";
|
|
203
556
|
anatomy:styleState "default";
|
|
204
557
|
ds:rank 1;
|
|
558
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
559
|
+
], [
|
|
560
|
+
a ds:TokenBinding;
|
|
561
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
562
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file size";
|
|
563
|
+
anatomy:styleKey "typography.color";
|
|
564
|
+
anatomy:styleState "default";
|
|
565
|
+
ds:rank 2;
|
|
205
566
|
ds:consumesSymbol dt:color.text.muted
|
|
206
567
|
], [
|
|
207
568
|
a ds:TokenBinding;
|
|
208
569
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
209
|
-
ds:node "$root/file list/file item/file
|
|
570
|
+
ds:node "$root/file list/file item/tile body/tile details/status and actions/file status";
|
|
571
|
+
anatomy:styleKey "spacing.gap";
|
|
572
|
+
anatomy:styleState "default";
|
|
573
|
+
ds:rank 1;
|
|
574
|
+
ds:consumesSymbol dt:dimension.100
|
|
575
|
+
], [
|
|
576
|
+
a ds:TokenBinding;
|
|
577
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
578
|
+
ds:node "$root/file list/file item/tile body/tile details/status and actions/file status/upload progress";
|
|
579
|
+
anatomy:styleKey "typography.font";
|
|
580
|
+
anatomy:styleState "default";
|
|
581
|
+
ds:rank 1;
|
|
582
|
+
ds:consumesSymbol dt:typography.text.secondary
|
|
583
|
+
], [
|
|
584
|
+
a ds:TokenBinding;
|
|
585
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
586
|
+
ds:node "$root/file list/file item/tile body/tile details/status and actions/file status/upload progress";
|
|
210
587
|
anatomy:styleKey "typography.color";
|
|
211
588
|
anatomy:styleState "default";
|
|
212
589
|
ds:rank 1;
|
|
@@ -214,25 +591,97 @@ ds:global.component.file_upload_field a ds:Component;
|
|
|
214
591
|
], [
|
|
215
592
|
a ds:TokenBinding;
|
|
216
593
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
217
|
-
ds:node "$root/file list/file item/
|
|
594
|
+
ds:node "$root/file list/file item/validation message";
|
|
595
|
+
anatomy:styleKey "spacing.gap";
|
|
596
|
+
anatomy:styleState "default";
|
|
597
|
+
ds:rank 1;
|
|
598
|
+
ds:consumesSymbol dt:dimension.050
|
|
599
|
+
], [
|
|
600
|
+
a ds:TokenBinding;
|
|
601
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
602
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
218
603
|
anatomy:styleKey "typography.color";
|
|
219
|
-
anatomy:styleState "
|
|
604
|
+
anatomy:styleState "default";
|
|
220
605
|
ds:rank 1;
|
|
221
|
-
ds:consumesSymbol dt:color.
|
|
606
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
222
607
|
], [
|
|
223
608
|
a ds:TokenBinding;
|
|
224
|
-
ds:viaBlock ds:global.subcomponent.
|
|
225
|
-
ds:node "$root";
|
|
609
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
610
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
611
|
+
anatomy:styleKey "typography.color";
|
|
612
|
+
anatomy:styleState "default";
|
|
613
|
+
ds:rank 2;
|
|
614
|
+
ds:consumesSymbol dt:color.icon
|
|
615
|
+
], [
|
|
616
|
+
a ds:TokenBinding;
|
|
617
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
618
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
619
|
+
anatomy:styleKey "spacing.external.block.start";
|
|
620
|
+
anatomy:styleState "default";
|
|
621
|
+
ds:rank 1;
|
|
622
|
+
ds:consumesSymbol dt:dimension.025
|
|
623
|
+
], [
|
|
624
|
+
a ds:TokenBinding;
|
|
625
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
626
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
627
|
+
anatomy:styleKey "spacing.external.block.end";
|
|
628
|
+
anatomy:styleState "default";
|
|
629
|
+
ds:rank 1;
|
|
630
|
+
ds:consumesSymbol dt:dimension.025
|
|
631
|
+
], [
|
|
632
|
+
a ds:TokenBinding;
|
|
633
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
634
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
635
|
+
anatomy:styleKey "typography.color";
|
|
636
|
+
anatomy:styleState "default";
|
|
637
|
+
ds:rank 1;
|
|
638
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
639
|
+
], [
|
|
640
|
+
a ds:TokenBinding;
|
|
641
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
642
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
643
|
+
anatomy:styleKey "typography.color";
|
|
644
|
+
anatomy:styleState "default";
|
|
645
|
+
ds:rank 2;
|
|
646
|
+
ds:consumesSymbol dt:color.icon
|
|
647
|
+
], [
|
|
648
|
+
a ds:TokenBinding;
|
|
649
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
650
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
651
|
+
anatomy:styleKey "spacing.external.block.start";
|
|
652
|
+
anatomy:styleState "default";
|
|
653
|
+
ds:rank 1;
|
|
654
|
+
ds:consumesSymbol dt:dimension.025
|
|
655
|
+
], [
|
|
656
|
+
a ds:TokenBinding;
|
|
657
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
658
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
659
|
+
anatomy:styleKey "spacing.external.block.end";
|
|
660
|
+
anatomy:styleState "default";
|
|
661
|
+
ds:rank 1;
|
|
662
|
+
ds:consumesSymbol dt:dimension.025
|
|
663
|
+
], [
|
|
664
|
+
a ds:TokenBinding;
|
|
665
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
666
|
+
ds:node "$root/file list/file item/validation message/message text";
|
|
667
|
+
anatomy:styleKey "typography.font";
|
|
668
|
+
anatomy:styleState "default";
|
|
669
|
+
ds:rank 1;
|
|
670
|
+
ds:consumesSymbol dt:typography.text.secondary
|
|
671
|
+
], [
|
|
672
|
+
a ds:TokenBinding;
|
|
673
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
674
|
+
ds:node "$root/file list/file item/validation message/message text";
|
|
226
675
|
anatomy:styleKey "typography.color";
|
|
227
676
|
anatomy:styleState "default";
|
|
228
677
|
ds:rank 1;
|
|
229
678
|
ds:consumesSymbol dt:modifier.color.text
|
|
230
679
|
], [
|
|
231
680
|
a ds:TokenBinding;
|
|
232
|
-
ds:viaBlock ds:global.subcomponent.
|
|
233
|
-
ds:node "$root";
|
|
681
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
682
|
+
ds:node "$root/file list/file item/validation message/message text";
|
|
234
683
|
anatomy:styleKey "typography.color";
|
|
235
684
|
anatomy:styleState "default";
|
|
236
685
|
ds:rank 2;
|
|
237
|
-
ds:consumesSymbol dt:color.text.
|
|
686
|
+
ds:consumesSymbol dt:color.text.destructive
|
|
238
687
|
].
|