@canonical/design-system 0.46.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/pattern/data_views.ttl +85 -0
- package/data/apps/pattern/datatable.ttl +3 -73
- package/data/apps/pattern/page_header.ttl +50 -5
- package/data/apps/subcomponent/data_table-action_bar.ttl +2 -2
- package/data/apps/subcomponent/data_table-pagination_bar.ttl +2 -2
- package/data/apps/subcomponent/data_table-persistent_selection.ttl +1 -1
- 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/side_panel-footer.ttl +1 -1
- package/data/apps_launchpad/component/modal.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +4 -4
- package/data/{apps_workplaceengineering → apps_workplace}/component/org_chart.ttl +2 -2
- 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 +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/org_event_card.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/subcomponent/multi_select_input.ttl +2 -2
- 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 +0 -1
- 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 +1 -2
- 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 +0 -1
- 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 +0 -1
- package/data/concept/How-to-indicate-required-fields-in-forms.ttl +0 -1
- 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 +0 -1
- package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
- package/data/documentation/pattern/library_side_navigation.ttl +2 -2
- package/data/global/component/accordion.ttl +2 -2
- package/data/global/component/announcement.ttl +2 -1
- package/data/global/component/avatar.ttl +1 -1
- package/data/global/component/badge.ttl +2 -2
- package/data/global/component/breadcrumbs.ttl +3 -3
- package/data/global/component/button.ttl +3 -3
- package/data/global/component/button_link.ttl +1 -1
- package/data/global/component/card.ttl +3 -7
- package/data/global/component/chip.ttl +1 -0
- package/data/global/component/code_snippet.ttl +1 -1
- package/data/global/component/drag_and_drop_list.ttl +1 -1
- package/data/global/component/dropdown_button.ttl +2 -2
- package/data/global/component/file_upload_field.ttl +509 -60
- package/data/global/component/icon.ttl +1 -1
- package/data/global/component/icon_button.ttl +26 -4
- package/data/{apps → global}/component/key_value_pair.ttl +2 -2
- package/data/global/{subcomponent/markdown_input.ttl → component/markdown_editor_field.ttl} +3 -3
- package/data/global/component/mode_switcher.ttl +1 -1
- package/data/global/component/number_field.ttl +1 -1
- package/data/global/component/range_field.ttl +0 -80
- package/data/global/component/table.ttl +2 -2
- package/data/global/component/tile.ttl +1 -1
- package/data/global/component/tooltip.ttl +51 -91
- package/data/global/component/{data_tooltip.ttl → tooltip_data.ttl} +31 -23
- package/data/global/component/tooltip_wrapper.ttl +70 -14
- package/data/global/group/cards.ttl +1 -1
- package/data/{apps → global}/group/key_value_pairs.ttl +2 -2
- package/data/global/modifier/constructive.ttl +1 -1
- package/data/global/modifier/elevated.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/modal.ttl +1 -1
- package/data/global/pattern/timeline.ttl +1 -1
- package/data/global/pattern/{navigation.ttl → top_navigation.ttl} +2 -2
- package/data/global/subcomponent/chart_legend.ttl +1 -1
- package/data/global/subcomponent/chart_legend_item.ttl +1 -1
- package/data/global/subcomponent/file_upload_input.ttl +503 -50
- package/data/global/subcomponent/markdown_editor_input.ttl +13 -0
- package/data/global/subcomponent/modal-footer.ttl +1 -1
- package/data/global/subcomponent/number_input.ttl +1 -1
- package/data/global/subcomponent/range_input.ttl +3 -84
- package/data/global/{component/markdown_field.ttl → subcomponent/text_editor_input.ttl} +3 -3
- package/data/global/variant/tooltip_dense.ttl +86 -5
- 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/global_dataviews.ttl +6 -0
- package/data/sites/component/store_card.ttl +1 -1
- package/data/tag/{wpeinital-implementation.ttl → workplaceinitial-implementation.ttl} +2 -2
- package/data/tag/{wpetriageupstream-and-deprecate.ttl → workplacetriageupstream-and-deprecate.ttl} +2 -2
- package/definitions/ontology.ttl +8 -2
- package/package.json +6 -6
- package/skills/adoption-a1-styles/SKILL.md +11 -0
- package/skills/adoption-a2-components/SKILL.md +82 -2
- package/skills/anatomy-author/SKILL.md +278 -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/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,17 +4,86 @@
|
|
|
4
4
|
|
|
5
5
|
ds:global.subcomponent.file_upload_input a ds:Subcomponent;
|
|
6
6
|
ds:name "FileUploadInput";
|
|
7
|
-
ds:summary "The file-attaching
|
|
8
|
-
ds:anatomyDsl "---\n# Authored 2026-09-13 from @canonical/react-ds-global-form\n# src/lib/subcomponent/FileUploadInput/styles.css on .ds.input.file-upload and\n# its child selectors (> .drop-zone, its hidden native input, > .file-list and\n# the five parts of a .file-item), with the tokens it reads from src/index.css.\n# The stylesheet corrects the notation: the file items live in a list container,\n# not directly under the root.\nnode:\n uri: global.subcomponent.file_upload_input\n styles:\n layout.type: flex\n layout.direction: column\n # The gap reads --form-group-gap, then --space-100 (and --density-space-sm\n # inside a density scope): none of the three is declared.\n edges:\n - node:\n role: drop area\n styles:\n layout.type: flex\n layout.align: center\n layout.justify: center\n layout.boxSizing: border-box\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.style: dashed\n appearance.border.color: color.border\n appearance.radius: dimension.radius.small\n appearance.background: color.foreground.input\n typography.color: color.text.muted\n interaction.cursor: pointer\n motion.property: border-color, background-color\n # The hover fill reads --hover--color-foreground-input first, a computed\n # state variable that no stratum declares as a symbol.\n appearance.background@hover: color.foreground.input.hover\n appearance.border.color@focus: color.focusRing\n # A `.danger` field — a failed validation — repaints the dashed border.\n appearance.border.color@invalid: color.border.error\n appearance.outline.style@focus: none\n appearance.background@disabled: color.foreground.input.disabled\n interaction.cursor@disabled: not-allowed\n # Not bound, and why:\n # - min-height is a calc() over dimension.400 (128px), and the padding\n # a calc() that subtracts the border thickness from\n # --form-input-padding-block so the total stays on the baseline grid;\n # - the inline padding reads --form-input-padding-inline, then\n # --component-padding-inline: neither is declared;\n # - the focus ring is a box-shadow at --form-focus-ring-color, and the\n # disabled text colour reads the computed --disabled--color-text;\n # - the transition duration reads --motion-duration-fast, undeclared;\n # - `.drag-over` takes the focus border and the hover fill, which is a\n # variant rather than one of the states.\n edges:\n - node:\n role: native file input\n styles:\n # Visually hidden but kept in the accessibility tree: the drop\n # area is the affordance, the input is the control.\n layout.position: absolute\n size.width: 1px\n size.height: 1px\n layout.overflow: hidden\n typography.whiteSpace: nowrap\n appearance.border.width: 0\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n slotName: default\n - node:\n role: file list\n styles:\n layout.listStyle: none\n layout.type: flex\n layout.direction: column\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0\n spacing.internal.inline.end: 0\n # `margin: 0` zeroes all four sides of the list.\n spacing.external.block.start: 0\n spacing.external.block.end: 0\n spacing.external.inline.start: 0\n spacing.external.inline.end: 0\n # The gap reads --form-group-gap, undeclared, as the root's does.\n edges:\n - node:\n role: file item\n styles:\n layout.type: flex\n layout.align: baseline\n layout.boxSizing: border-box\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.style: solid\n appearance.border.color: color.border\n appearance.radius: dimension.radius.small\n appearance.background: color.foreground.input\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n # The gap reads --form-field-inline-gap and the inline padding\n # --form-input-padding-inline, and the height\n # --form-input-height: none of their chains resolves.\n edges:\n - node:\n role: file preview\n styles:\n size.width: dimension.400\n size.height: dimension.400\n layout.objectFit: cover\n appearance.radius: dimension.radius.small\n layout.flex.shrink: 0\n relation:\n cardinality: \"0..1\"\n - node:\n role: file name\n styles:\n layout.flex.grow: 1\n layout.flex.shrink: 1\n layout.flex.basis: 0%\n size.min.width: 0\n layout.overflow: hidden\n typography.overflow: ellipsis\n typography.whiteSpace: nowrap\n relation:\n cardinality: \"1\"\n - node:\n role: file size\n styles:\n typography.color: color.text.muted\n typography.whiteSpace: nowrap\n relation:\n cardinality: \"1\"\n - node:\n role: file remove\n styles:\n appearance.native: none\n appearance.border.style: none\n appearance.background: none\n typography.color: color.text.muted\n typography.color@hover: color.text\n interaction.cursor: pointer\n interaction.cursor@disabled: not-allowed\n appearance.opacity@disabled: 0.5\n # Its padding (0 0.25rem) is a literal pair the stylesheet\n # writes.\n spacing.internal.block.start: 0\n spacing.internal.block.end: 0\n spacing.internal.inline.start: 0.25rem\n spacing.internal.inline.end: 0.25rem\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"0..*\"\n relation:\n cardinality: \"0..1\"";
|
|
9
|
-
ds:anatomyClassic "";
|
|
10
|
-
ds:usage "The
|
|
7
|
+
ds:summary "The file-attaching control inside [FileUploadField](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-V7eYe7_ATI). It has two parts: a drop area where users drag files or choose them with the button, and a list of the selected files. An error message can appear under the drop area. Each file in the list shows its name, optional size, optional thumbnail, upload status, and the remove and retry actions. If a file fails validation, a warning or error message appears under its tile.";
|
|
8
|
+
ds:anatomyDsl "---\n# The file-attaching part of the field: a drop area with the field-level\n# validation message, and the list of chosen files. Each file item is an\n# anonymous part, since no block names it and the component draws it itself.\n#\n# Uploads are non-live by default: a file is only added to the list, so its item\n# carries no file status, no progress and no retry. Those parts exist only when\n# the upload is live, and the optional cardinalities below carry that.\nnode:\n uri: global.subcomponent.file_upload_input\n styles:\n layout.type: flex\n layout.direction: column\n # 16px between the drop area and message group and the file list.\n spacing.gap.block: dimension.200\n edges:\n - node:\n # Groups the drop area with the field-level message so the two hide\n # together when the drag and drop area is turned off.\n role: drop area and message\n styles:\n layout.type: flex\n layout.direction: column\n spacing.gap.block: dimension.100\n edges:\n - node:\n role: drop area\n styles:\n layout.type: flex\n layout.direction: column\n layout.align: center\n layout.justify: center\n layout.boxSizing: border-box\n # The 112px minimum height is not bound: no dimension symbol declares\n # it, and size.min.height admits symbols only.\n spacing.internal.block.start: dimension.200\n spacing.internal.block.end: dimension.200\n spacing.internal.inline.start: dimension.200\n spacing.internal.inline.end: dimension.200\n spacing.gap: dimension.100\n appearance.border.width: dimension.stroke.thickness.medium\n appearance.border.style: dashed\n # Success, warning and error reach the border and the fill through\n # the Criticality channels. Their hover, active and disabled values\n # (color.foreground.input.error.hover and the like) have no channel\n # in a state, so only the neutral state symbols are bound.\n appearance.border.color: [modifier.color.border, color.border]\n appearance.border.color@disabled: color.border.disabled\n appearance.background: [modifier.color.foreground.input, color.foreground.input]\n # A file dragged over the area takes this same fill. The DSL has no\n # drag-over state, so that trigger is not expressed.\n appearance.background@hover: color.foreground.input.hover\n # Pressing the Choose file button makes the whole area active.\n appearance.background@active: color.foreground.input.active\n appearance.background@disabled: color.foreground.input.disabled\n edges:\n - node:\n role: helper text\n styles:\n typography.font: typography.text.primary\n typography.color: color.text\n typography.color@disabled: color.text.disabled\n relation:\n cardinality: \"1\"\n # The focus ring is drawn around this button, not around the area.\n - node:\n uri: global.component.button\n props:\n icon: upload\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n - node:\n uri: global.subcomponent.field-error\n relation:\n cardinality: \"0..1\"\n slotName: error\n relation:\n cardinality: \"0..1\"\n - node:\n # Not drawn when the field is disabled, and hidden when the file tiles\n # are turned off.\n role: file list\n styles:\n layout.type: flex\n layout.direction: column\n spacing.gap.block: dimension.200\n edges:\n - node:\n role: file item\n styles:\n layout.type: flex\n layout.direction: column\n spacing.gap.block: dimension.100\n edges:\n - node:\n role: tile body\n styles:\n layout.type: flex\n layout.direction: row\n edges:\n - node:\n role: thumbnail\n styles:\n # 60x36 gives a 5:3 ratio; the DSL has no aspect-ratio\n # key, so only the two dimensions carry it. The height\n # matches the tile's, so the item does not grow.\n size.width: 60px\n size.height: 36px\n layout.flex.shrink: 0\n layout.overflow: hidden\n layout.objectFit: cover\n relation:\n cardinality: \"0..1\"\n - node:\n role: tile details\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n layout.flex.grow: 1\n spacing.gap: dimension.100\n spacing.internal.block.start: dimension.050\n spacing.internal.block.end: dimension.050\n spacing.internal.inline.start: dimension.150\n spacing.internal.inline.end: dimension.050\n # The Criticality family reaches the tile through this\n # channel: warning and error tint the surface.\n appearance.background: [modifier.color.foreground.input, color.foreground.input]\n edges:\n - node:\n role: file info\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n layout.flex.grow: 1\n size.min.width: 0\n spacing.gap: dimension.100\n edges:\n - node:\n role: file name\n styles:\n typography.font: typography.text.primary\n typography.color: [modifier.color.text.onForegroundSecondary, color.text.onForegroundSecondary]\n # A long name truncates with an ellipsis.\n layout.flex.shrink: 1\n size.min.width: 0\n layout.overflow: hidden\n typography.overflow: ellipsis\n typography.whiteSpace: nowrap\n relation:\n cardinality: \"1\"\n - node:\n role: file size\n styles:\n typography.font: typography.text.secondary\n typography.color: [modifier.color.text, color.text.muted]\n typography.whiteSpace: nowrap\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"1\"\n - node:\n role: status and actions\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n # 6px: no symbol declares this step, so it is\n # written as a literal.\n spacing.gap: 6px\n edges:\n # Live upload only: shows the progress while uploading,\n # then the result icon briefly once the upload ends.\n # A non-live item never renders it.\n - node:\n role: file status\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n spacing.gap: dimension.100\n edges:\n - node:\n role: upload progress\n styles:\n typography.font: typography.text.secondary\n typography.color: color.text.muted\n relation:\n cardinality: \"1\"\n # The success, warning and error glyphs are\n # drawn with raw colours that no symbol\n # declares, so their colours are not bound.\n - switch:\n on: internal\n cases:\n - uri: global.subcomponent.spinner\n - node:\n uri: global.component.icon\n props:\n icon: success-fill\n - node:\n uri: global.component.icon\n props:\n icon: warning-fill\n - node:\n uri: global.component.icon\n props:\n icon: error-fill\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"0..1\"\n # The buttons read the tile's Criticality family\n # through their own icon channel. The warning and\n # error icon colours placed on a secondary\n # foreground have no channel, so those exact\n # symbols are not bound.\n - node:\n role: file actions\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: center\n edges:\n # Retry appears only after a failed live upload.\n # While uploading, the close button cancels.\n - node:\n uri: global.component.button\n props:\n icon: change-version\n relation:\n cardinality: \"0..1\"\n - node:\n uri: global.component.button\n props:\n icon: close\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"1\"\n - node:\n role: validation message\n styles:\n layout.type: flex\n layout.direction: row\n layout.align: flex-start\n spacing.gap: dimension.050\n edges:\n - switch:\n on: internal\n cases:\n - node:\n uri: global.component.icon\n props:\n icon: warning\n styles:\n typography.color: [modifier.color.icon, color.icon]\n spacing.external.block.start: dimension.025\n spacing.external.block.end: dimension.025\n - node:\n uri: global.component.icon\n props:\n icon: error\n styles:\n typography.color: [modifier.color.icon, color.icon]\n spacing.external.block.start: dimension.025\n spacing.external.block.end: dimension.025\n relation:\n cardinality: \"1\"\n - node:\n role: message text\n styles:\n layout.flex.grow: 1\n typography.font: typography.text.secondary\n typography.color: [modifier.color.text, color.text.destructive]\n relation:\n cardinality: \"1\"\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"1..*\"\n relation:\n cardinality: \"0..1\"";
|
|
9
|
+
ds:anatomyClassic "**Anatomy**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13360-17688&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=13369-21097&t=cEAarkbWU6qDCTl8-1\n\n**Styling / Colors**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13414-7087&t=cEAarkbWU6qDCTl8-1\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13414-9043&t=cEAarkbWU6qDCTl8-1\n\n**Styling / Typography**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13455-6608&t=cEAarkbWU6qDCTl8-1\n\n**Styling / Overflow**\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13455-6828&t=cEAarkbWU6qDCTl8-1\n\nhttps://www.figma.com/design/WGHcOmGMEUF9hMAEoRafL8/%F0%9F%93%95-Pragma---documentation-visuals?node-id=13456-7429&t=rjDNeEgctkCAd8UQ-1";
|
|
10
|
+
ds:usage "The file-attaching control used inside FileUploadField: a drop area and a list of the selected files. It is not used on its own, only inside a field such as FileUploadField.\n\n## **When to use**\n\n- A user needs to attach one or more existing documents, images, or other files.\n- The input requires a file rather than content entered as text.\n\n## **When not to use**\n\n- The user needs to enter text directly — use [TextInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-csRvI-VTpO) or [TextareaInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-AhD9dYg2Q9).\n- The user needs to select from a predefined set of options — use [SelectInput](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-xiMRYATXwr).";
|
|
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-25T00:00:00.000+01:00";
|
|
17
|
+
ds:changeType "decision"
|
|
18
|
+
], [
|
|
19
|
+
a ds:ChangeLogEntry;
|
|
20
|
+
ds:timestamp "2026-11-25T00:00:00.000+01:00";
|
|
21
|
+
ds:changeType "decision"
|
|
22
|
+
], [
|
|
23
|
+
a ds:ChangeLogEntry;
|
|
24
|
+
ds:timestamp "2026-11-22T17:00:00.000+01:00";
|
|
25
|
+
ds:changeType "change"
|
|
26
|
+
];
|
|
14
27
|
ds:hasTokenBinding [
|
|
15
28
|
a ds:TokenBinding;
|
|
16
29
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
17
|
-
ds:node "$root
|
|
30
|
+
ds:node "$root";
|
|
31
|
+
anatomy:styleKey "spacing.gap.block";
|
|
32
|
+
anatomy:styleState "default";
|
|
33
|
+
ds:rank 1;
|
|
34
|
+
ds:consumesSymbol dt:dimension.200
|
|
35
|
+
], [
|
|
36
|
+
a ds:TokenBinding;
|
|
37
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
38
|
+
ds:node "$root/drop area and message";
|
|
39
|
+
anatomy:styleKey "spacing.gap.block";
|
|
40
|
+
anatomy:styleState "default";
|
|
41
|
+
ds:rank 1;
|
|
42
|
+
ds:consumesSymbol dt:dimension.100
|
|
43
|
+
], [
|
|
44
|
+
a ds:TokenBinding;
|
|
45
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
46
|
+
ds:node "$root/drop area and message/drop area";
|
|
47
|
+
anatomy:styleKey "spacing.internal.block.start";
|
|
48
|
+
anatomy:styleState "default";
|
|
49
|
+
ds:rank 1;
|
|
50
|
+
ds:consumesSymbol dt:dimension.200
|
|
51
|
+
], [
|
|
52
|
+
a ds:TokenBinding;
|
|
53
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
54
|
+
ds:node "$root/drop area and message/drop area";
|
|
55
|
+
anatomy:styleKey "spacing.internal.block.end";
|
|
56
|
+
anatomy:styleState "default";
|
|
57
|
+
ds:rank 1;
|
|
58
|
+
ds:consumesSymbol dt:dimension.200
|
|
59
|
+
], [
|
|
60
|
+
a ds:TokenBinding;
|
|
61
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
62
|
+
ds:node "$root/drop area and message/drop area";
|
|
63
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
64
|
+
anatomy:styleState "default";
|
|
65
|
+
ds:rank 1;
|
|
66
|
+
ds:consumesSymbol dt:dimension.200
|
|
67
|
+
], [
|
|
68
|
+
a ds:TokenBinding;
|
|
69
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
70
|
+
ds:node "$root/drop area and message/drop area";
|
|
71
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
72
|
+
anatomy:styleState "default";
|
|
73
|
+
ds:rank 1;
|
|
74
|
+
ds:consumesSymbol dt:dimension.200
|
|
75
|
+
], [
|
|
76
|
+
a ds:TokenBinding;
|
|
77
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
78
|
+
ds:node "$root/drop area and message/drop area";
|
|
79
|
+
anatomy:styleKey "spacing.gap";
|
|
80
|
+
anatomy:styleState "default";
|
|
81
|
+
ds:rank 1;
|
|
82
|
+
ds:consumesSymbol dt:dimension.100
|
|
83
|
+
], [
|
|
84
|
+
a ds:TokenBinding;
|
|
85
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
86
|
+
ds:node "$root/drop area and message/drop area";
|
|
18
87
|
anatomy:styleKey "appearance.border.width";
|
|
19
88
|
anatomy:styleState "default";
|
|
20
89
|
ds:rank 1;
|
|
@@ -22,39 +91,47 @@ ds:global.subcomponent.file_upload_input a ds:Subcomponent;
|
|
|
22
91
|
], [
|
|
23
92
|
a ds:TokenBinding;
|
|
24
93
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
25
|
-
ds:node "$root/drop area";
|
|
94
|
+
ds:node "$root/drop area and message/drop area";
|
|
26
95
|
anatomy:styleKey "appearance.border.color";
|
|
27
96
|
anatomy:styleState "default";
|
|
28
97
|
ds:rank 1;
|
|
29
|
-
ds:consumesSymbol dt:color.border
|
|
98
|
+
ds:consumesSymbol dt:modifier.color.border
|
|
30
99
|
], [
|
|
31
100
|
a ds:TokenBinding;
|
|
32
101
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
33
|
-
ds:node "$root/drop area";
|
|
34
|
-
anatomy:styleKey "appearance.
|
|
102
|
+
ds:node "$root/drop area and message/drop area";
|
|
103
|
+
anatomy:styleKey "appearance.border.color";
|
|
35
104
|
anatomy:styleState "default";
|
|
105
|
+
ds:rank 2;
|
|
106
|
+
ds:consumesSymbol dt:color.border
|
|
107
|
+
], [
|
|
108
|
+
a ds:TokenBinding;
|
|
109
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
110
|
+
ds:node "$root/drop area and message/drop area";
|
|
111
|
+
anatomy:styleKey "appearance.border.color";
|
|
112
|
+
anatomy:styleState "disabled";
|
|
36
113
|
ds:rank 1;
|
|
37
|
-
ds:consumesSymbol dt:
|
|
114
|
+
ds:consumesSymbol dt:color.border.disabled
|
|
38
115
|
], [
|
|
39
116
|
a ds:TokenBinding;
|
|
40
117
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
41
|
-
ds:node "$root/drop area";
|
|
118
|
+
ds:node "$root/drop area and message/drop area";
|
|
42
119
|
anatomy:styleKey "appearance.background";
|
|
43
120
|
anatomy:styleState "default";
|
|
44
121
|
ds:rank 1;
|
|
45
|
-
ds:consumesSymbol dt:color.foreground.input
|
|
122
|
+
ds:consumesSymbol dt:modifier.color.foreground.input
|
|
46
123
|
], [
|
|
47
124
|
a ds:TokenBinding;
|
|
48
125
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
49
|
-
ds:node "$root/drop area";
|
|
50
|
-
anatomy:styleKey "
|
|
126
|
+
ds:node "$root/drop area and message/drop area";
|
|
127
|
+
anatomy:styleKey "appearance.background";
|
|
51
128
|
anatomy:styleState "default";
|
|
52
|
-
ds:rank
|
|
53
|
-
ds:consumesSymbol dt:color.
|
|
129
|
+
ds:rank 2;
|
|
130
|
+
ds:consumesSymbol dt:color.foreground.input
|
|
54
131
|
], [
|
|
55
132
|
a ds:TokenBinding;
|
|
56
133
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
57
|
-
ds:node "$root/drop area";
|
|
134
|
+
ds:node "$root/drop area and message/drop area";
|
|
58
135
|
anatomy:styleKey "appearance.background";
|
|
59
136
|
anatomy:styleState "hover";
|
|
60
137
|
ds:rank 1;
|
|
@@ -62,95 +139,383 @@ ds:global.subcomponent.file_upload_input a ds:Subcomponent;
|
|
|
62
139
|
], [
|
|
63
140
|
a ds:TokenBinding;
|
|
64
141
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
65
|
-
ds:node "$root/drop area";
|
|
66
|
-
anatomy:styleKey "appearance.
|
|
67
|
-
anatomy:styleState "
|
|
142
|
+
ds:node "$root/drop area and message/drop area";
|
|
143
|
+
anatomy:styleKey "appearance.background";
|
|
144
|
+
anatomy:styleState "active";
|
|
68
145
|
ds:rank 1;
|
|
69
|
-
ds:consumesSymbol dt:color.
|
|
146
|
+
ds:consumesSymbol dt:color.foreground.input.active
|
|
70
147
|
], [
|
|
71
148
|
a ds:TokenBinding;
|
|
72
149
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
73
|
-
ds:node "$root/drop area";
|
|
74
|
-
anatomy:styleKey "appearance.
|
|
75
|
-
anatomy:styleState "
|
|
150
|
+
ds:node "$root/drop area and message/drop area";
|
|
151
|
+
anatomy:styleKey "appearance.background";
|
|
152
|
+
anatomy:styleState "disabled";
|
|
76
153
|
ds:rank 1;
|
|
77
|
-
ds:consumesSymbol dt:color.
|
|
154
|
+
ds:consumesSymbol dt:color.foreground.input.disabled
|
|
78
155
|
], [
|
|
79
156
|
a ds:TokenBinding;
|
|
80
157
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
81
|
-
ds:node "$root/drop area";
|
|
82
|
-
anatomy:styleKey "
|
|
83
|
-
anatomy:styleState "
|
|
158
|
+
ds:node "$root/drop area and message/drop area/helper text";
|
|
159
|
+
anatomy:styleKey "typography.font";
|
|
160
|
+
anatomy:styleState "default";
|
|
84
161
|
ds:rank 1;
|
|
85
|
-
ds:consumesSymbol dt:
|
|
162
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
86
163
|
], [
|
|
87
164
|
a ds:TokenBinding;
|
|
88
165
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
89
|
-
ds:node "$root/
|
|
166
|
+
ds:node "$root/drop area and message/drop area/helper text";
|
|
167
|
+
anatomy:styleKey "typography.color";
|
|
168
|
+
anatomy:styleState "default";
|
|
169
|
+
ds:rank 1;
|
|
170
|
+
ds:consumesSymbol dt:color.text
|
|
171
|
+
], [
|
|
172
|
+
a ds:TokenBinding;
|
|
173
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
174
|
+
ds:node "$root/drop area and message/drop area/helper text";
|
|
175
|
+
anatomy:styleKey "typography.color";
|
|
176
|
+
anatomy:styleState "disabled";
|
|
177
|
+
ds:rank 1;
|
|
178
|
+
ds:consumesSymbol dt:color.text.disabled
|
|
179
|
+
], [
|
|
180
|
+
a ds:TokenBinding;
|
|
181
|
+
ds:viaBlock ds:global.component.button;
|
|
182
|
+
ds:node "$root";
|
|
90
183
|
anatomy:styleKey "appearance.border.width";
|
|
91
184
|
anatomy:styleState "default";
|
|
92
185
|
ds:rank 1;
|
|
93
186
|
ds:consumesSymbol dt:dimension.stroke.thickness.medium
|
|
94
187
|
], [
|
|
95
188
|
a ds:TokenBinding;
|
|
96
|
-
ds:viaBlock ds:global.
|
|
97
|
-
ds:node "$root
|
|
189
|
+
ds:viaBlock ds:global.component.button;
|
|
190
|
+
ds:node "$root";
|
|
191
|
+
anatomy:styleKey "appearance.background";
|
|
192
|
+
anatomy:styleState "default";
|
|
193
|
+
ds:rank 1;
|
|
194
|
+
ds:consumesSymbol dt:modifier.color.foreground.primary
|
|
195
|
+
], [
|
|
196
|
+
a ds:TokenBinding;
|
|
197
|
+
ds:viaBlock ds:global.component.button;
|
|
198
|
+
ds:node "$root";
|
|
199
|
+
anatomy:styleKey "appearance.background";
|
|
200
|
+
anatomy:styleState "default";
|
|
201
|
+
ds:rank 2;
|
|
202
|
+
ds:consumesSymbol dt:color.foreground.primary
|
|
203
|
+
], [
|
|
204
|
+
a ds:TokenBinding;
|
|
205
|
+
ds:viaBlock ds:global.component.button;
|
|
206
|
+
ds:node "$root";
|
|
207
|
+
anatomy:styleKey "appearance.background";
|
|
208
|
+
anatomy:styleState "hover";
|
|
209
|
+
ds:rank 1;
|
|
210
|
+
ds:consumesSymbol dt:color.foreground.primary.hover
|
|
211
|
+
], [
|
|
212
|
+
a ds:TokenBinding;
|
|
213
|
+
ds:viaBlock ds:global.component.button;
|
|
214
|
+
ds:node "$root";
|
|
215
|
+
anatomy:styleKey "appearance.background";
|
|
216
|
+
anatomy:styleState "active";
|
|
217
|
+
ds:rank 1;
|
|
218
|
+
ds:consumesSymbol dt:color.foreground.primary.active
|
|
219
|
+
], [
|
|
220
|
+
a ds:TokenBinding;
|
|
221
|
+
ds:viaBlock ds:global.component.button;
|
|
222
|
+
ds:node "$root";
|
|
223
|
+
anatomy:styleKey "appearance.background";
|
|
224
|
+
anatomy:styleState "disabled";
|
|
225
|
+
ds:rank 1;
|
|
226
|
+
ds:consumesSymbol dt:color.foreground.primary.disabled
|
|
227
|
+
], [
|
|
228
|
+
a ds:TokenBinding;
|
|
229
|
+
ds:viaBlock ds:global.component.button;
|
|
230
|
+
ds:node "$root";
|
|
98
231
|
anatomy:styleKey "appearance.border.color";
|
|
99
232
|
anatomy:styleState "default";
|
|
100
233
|
ds:rank 1;
|
|
234
|
+
ds:consumesSymbol dt:modifier.color.border
|
|
235
|
+
], [
|
|
236
|
+
a ds:TokenBinding;
|
|
237
|
+
ds:viaBlock ds:global.component.button;
|
|
238
|
+
ds:node "$root";
|
|
239
|
+
anatomy:styleKey "appearance.border.color";
|
|
240
|
+
anatomy:styleState "default";
|
|
241
|
+
ds:rank 2;
|
|
242
|
+
ds:consumesSymbol dt:color.border.highlighted
|
|
243
|
+
], [
|
|
244
|
+
a ds:TokenBinding;
|
|
245
|
+
ds:viaBlock ds:global.component.button;
|
|
246
|
+
ds:node "$root";
|
|
247
|
+
anatomy:styleKey "appearance.border.color";
|
|
248
|
+
anatomy:styleState "default";
|
|
249
|
+
ds:rank 3;
|
|
101
250
|
ds:consumesSymbol dt:color.border
|
|
251
|
+
], [
|
|
252
|
+
a ds:TokenBinding;
|
|
253
|
+
ds:viaBlock ds:global.component.button;
|
|
254
|
+
ds:node "$root";
|
|
255
|
+
anatomy:styleKey "appearance.border.color";
|
|
256
|
+
anatomy:styleState "disabled";
|
|
257
|
+
ds:rank 1;
|
|
258
|
+
ds:consumesSymbol dt:color.border.highlighted.disabled
|
|
259
|
+
], [
|
|
260
|
+
a ds:TokenBinding;
|
|
261
|
+
ds:viaBlock ds:global.component.button;
|
|
262
|
+
ds:node "$root";
|
|
263
|
+
anatomy:styleKey "typography.color";
|
|
264
|
+
anatomy:styleState "default";
|
|
265
|
+
ds:rank 1;
|
|
266
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
267
|
+
], [
|
|
268
|
+
a ds:TokenBinding;
|
|
269
|
+
ds:viaBlock ds:global.component.button;
|
|
270
|
+
ds:node "$root";
|
|
271
|
+
anatomy:styleKey "typography.color";
|
|
272
|
+
anatomy:styleState "default";
|
|
273
|
+
ds:rank 2;
|
|
274
|
+
ds:consumesSymbol dt:color.text
|
|
275
|
+
], [
|
|
276
|
+
a ds:TokenBinding;
|
|
277
|
+
ds:viaBlock ds:global.component.button;
|
|
278
|
+
ds:node "$root";
|
|
279
|
+
anatomy:styleKey "typography.color";
|
|
280
|
+
anatomy:styleState "disabled";
|
|
281
|
+
ds:rank 1;
|
|
282
|
+
ds:consumesSymbol dt:color.text.disabled
|
|
283
|
+
], [
|
|
284
|
+
a ds:TokenBinding;
|
|
285
|
+
ds:viaBlock ds:global.component.button;
|
|
286
|
+
ds:node "$root";
|
|
287
|
+
anatomy:styleKey "typography.font";
|
|
288
|
+
anatomy:styleState "default";
|
|
289
|
+
ds:rank 1;
|
|
290
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
291
|
+
], [
|
|
292
|
+
a ds:TokenBinding;
|
|
293
|
+
ds:viaBlock ds:global.component.button;
|
|
294
|
+
ds:node "$root";
|
|
295
|
+
anatomy:styleKey "spacing.gap";
|
|
296
|
+
anatomy:styleState "default";
|
|
297
|
+
ds:rank 1;
|
|
298
|
+
ds:consumesSymbol dt:dimension.100
|
|
299
|
+
], [
|
|
300
|
+
a ds:TokenBinding;
|
|
301
|
+
ds:viaBlock ds:global.component.button;
|
|
302
|
+
ds:node "$root";
|
|
303
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
304
|
+
anatomy:styleState "default";
|
|
305
|
+
ds:rank 1;
|
|
306
|
+
ds:consumesSymbol dt:dimension.200
|
|
307
|
+
], [
|
|
308
|
+
a ds:TokenBinding;
|
|
309
|
+
ds:viaBlock ds:global.component.button;
|
|
310
|
+
ds:node "$root";
|
|
311
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
312
|
+
anatomy:styleState "default";
|
|
313
|
+
ds:rank 1;
|
|
314
|
+
ds:consumesSymbol dt:dimension.200
|
|
315
|
+
], [
|
|
316
|
+
a ds:TokenBinding;
|
|
317
|
+
ds:viaBlock ds:global.component.button;
|
|
318
|
+
ds:node "$root";
|
|
319
|
+
anatomy:styleKey "appearance.outline.color";
|
|
320
|
+
anatomy:styleState "focus";
|
|
321
|
+
ds:rank 1;
|
|
322
|
+
ds:consumesSymbol dt:modifier.color.focusRing
|
|
323
|
+
], [
|
|
324
|
+
a ds:TokenBinding;
|
|
325
|
+
ds:viaBlock ds:global.component.button;
|
|
326
|
+
ds:node "$root";
|
|
327
|
+
anatomy:styleKey "appearance.outline.color";
|
|
328
|
+
anatomy:styleState "focus";
|
|
329
|
+
ds:rank 2;
|
|
330
|
+
ds:consumesSymbol dt:color.focusRing
|
|
331
|
+
], [
|
|
332
|
+
a ds:TokenBinding;
|
|
333
|
+
ds:viaBlock ds:global.component.button;
|
|
334
|
+
ds:node "$root/icon";
|
|
335
|
+
anatomy:styleKey "typography.color";
|
|
336
|
+
anatomy:styleState "default";
|
|
337
|
+
ds:rank 1;
|
|
338
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
339
|
+
], [
|
|
340
|
+
a ds:TokenBinding;
|
|
341
|
+
ds:viaBlock ds:global.component.button;
|
|
342
|
+
ds:node "$root/icon";
|
|
343
|
+
anatomy:styleKey "typography.color";
|
|
344
|
+
anatomy:styleState "default";
|
|
345
|
+
ds:rank 2;
|
|
346
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
347
|
+
], [
|
|
348
|
+
a ds:TokenBinding;
|
|
349
|
+
ds:viaBlock ds:global.component.button;
|
|
350
|
+
ds:node "$root/icon";
|
|
351
|
+
anatomy:styleKey "typography.color";
|
|
352
|
+
anatomy:styleState "disabled";
|
|
353
|
+
ds:rank 1;
|
|
354
|
+
ds:consumesSymbol dt:color.icon.disabled
|
|
355
|
+
], [
|
|
356
|
+
a ds:TokenBinding;
|
|
357
|
+
ds:viaBlock ds:global.subcomponent.field-error;
|
|
358
|
+
ds:node "$root";
|
|
359
|
+
anatomy:styleKey "typography.color";
|
|
360
|
+
anatomy:styleState "default";
|
|
361
|
+
ds:rank 1;
|
|
362
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
363
|
+
], [
|
|
364
|
+
a ds:TokenBinding;
|
|
365
|
+
ds:viaBlock ds:global.subcomponent.field-error;
|
|
366
|
+
ds:node "$root";
|
|
367
|
+
anatomy:styleKey "typography.color";
|
|
368
|
+
anatomy:styleState "default";
|
|
369
|
+
ds:rank 2;
|
|
370
|
+
ds:consumesSymbol dt:color.text.error
|
|
102
371
|
], [
|
|
103
372
|
a ds:TokenBinding;
|
|
104
373
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
105
|
-
ds:node "$root/file list
|
|
106
|
-
anatomy:styleKey "
|
|
374
|
+
ds:node "$root/file list";
|
|
375
|
+
anatomy:styleKey "spacing.gap.block";
|
|
107
376
|
anatomy:styleState "default";
|
|
108
377
|
ds:rank 1;
|
|
109
|
-
ds:consumesSymbol dt:dimension.
|
|
378
|
+
ds:consumesSymbol dt:dimension.200
|
|
110
379
|
], [
|
|
111
380
|
a ds:TokenBinding;
|
|
112
381
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
113
382
|
ds:node "$root/file list/file item";
|
|
383
|
+
anatomy:styleKey "spacing.gap.block";
|
|
384
|
+
anatomy:styleState "default";
|
|
385
|
+
ds:rank 1;
|
|
386
|
+
ds:consumesSymbol dt:dimension.100
|
|
387
|
+
], [
|
|
388
|
+
a ds:TokenBinding;
|
|
389
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
390
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
391
|
+
anatomy:styleKey "spacing.gap";
|
|
392
|
+
anatomy:styleState "default";
|
|
393
|
+
ds:rank 1;
|
|
394
|
+
ds:consumesSymbol dt:dimension.100
|
|
395
|
+
], [
|
|
396
|
+
a ds:TokenBinding;
|
|
397
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
398
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
399
|
+
anatomy:styleKey "spacing.internal.block.start";
|
|
400
|
+
anatomy:styleState "default";
|
|
401
|
+
ds:rank 1;
|
|
402
|
+
ds:consumesSymbol dt:dimension.050
|
|
403
|
+
], [
|
|
404
|
+
a ds:TokenBinding;
|
|
405
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
406
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
407
|
+
anatomy:styleKey "spacing.internal.block.end";
|
|
408
|
+
anatomy:styleState "default";
|
|
409
|
+
ds:rank 1;
|
|
410
|
+
ds:consumesSymbol dt:dimension.050
|
|
411
|
+
], [
|
|
412
|
+
a ds:TokenBinding;
|
|
413
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
414
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
415
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
416
|
+
anatomy:styleState "default";
|
|
417
|
+
ds:rank 1;
|
|
418
|
+
ds:consumesSymbol dt:dimension.150
|
|
419
|
+
], [
|
|
420
|
+
a ds:TokenBinding;
|
|
421
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
422
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
423
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
424
|
+
anatomy:styleState "default";
|
|
425
|
+
ds:rank 1;
|
|
426
|
+
ds:consumesSymbol dt:dimension.050
|
|
427
|
+
], [
|
|
428
|
+
a ds:TokenBinding;
|
|
429
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
430
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
114
431
|
anatomy:styleKey "appearance.background";
|
|
115
432
|
anatomy:styleState "default";
|
|
116
433
|
ds:rank 1;
|
|
434
|
+
ds:consumesSymbol dt:modifier.color.foreground.input
|
|
435
|
+
], [
|
|
436
|
+
a ds:TokenBinding;
|
|
437
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
438
|
+
ds:node "$root/file list/file item/tile body/tile details";
|
|
439
|
+
anatomy:styleKey "appearance.background";
|
|
440
|
+
anatomy:styleState "default";
|
|
441
|
+
ds:rank 2;
|
|
117
442
|
ds:consumesSymbol dt:color.foreground.input
|
|
118
443
|
], [
|
|
119
444
|
a ds:TokenBinding;
|
|
120
445
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
121
|
-
ds:node "$root/file list/file item/file
|
|
122
|
-
anatomy:styleKey "
|
|
446
|
+
ds:node "$root/file list/file item/tile body/tile details/file info";
|
|
447
|
+
anatomy:styleKey "spacing.gap";
|
|
448
|
+
anatomy:styleState "default";
|
|
449
|
+
ds:rank 1;
|
|
450
|
+
ds:consumesSymbol dt:dimension.100
|
|
451
|
+
], [
|
|
452
|
+
a ds:TokenBinding;
|
|
453
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
454
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file name";
|
|
455
|
+
anatomy:styleKey "typography.font";
|
|
123
456
|
anatomy:styleState "default";
|
|
124
457
|
ds:rank 1;
|
|
125
|
-
ds:consumesSymbol dt:
|
|
458
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
126
459
|
], [
|
|
127
460
|
a ds:TokenBinding;
|
|
128
461
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
129
|
-
ds:node "$root/file list/file item/file
|
|
130
|
-
anatomy:styleKey "
|
|
462
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file name";
|
|
463
|
+
anatomy:styleKey "typography.color";
|
|
131
464
|
anatomy:styleState "default";
|
|
132
465
|
ds:rank 1;
|
|
133
|
-
ds:consumesSymbol dt:
|
|
466
|
+
ds:consumesSymbol dt:modifier.color.text.onForegroundSecondary
|
|
134
467
|
], [
|
|
135
468
|
a ds:TokenBinding;
|
|
136
469
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
137
|
-
ds:node "$root/file list/file item/file
|
|
138
|
-
anatomy:styleKey "
|
|
470
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file name";
|
|
471
|
+
anatomy:styleKey "typography.color";
|
|
472
|
+
anatomy:styleState "default";
|
|
473
|
+
ds:rank 2;
|
|
474
|
+
ds:consumesSymbol dt:color.text.onForegroundSecondary
|
|
475
|
+
], [
|
|
476
|
+
a ds:TokenBinding;
|
|
477
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
478
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file size";
|
|
479
|
+
anatomy:styleKey "typography.font";
|
|
139
480
|
anatomy:styleState "default";
|
|
140
481
|
ds:rank 1;
|
|
141
|
-
ds:consumesSymbol dt:
|
|
482
|
+
ds:consumesSymbol dt:typography.text.secondary
|
|
142
483
|
], [
|
|
143
484
|
a ds:TokenBinding;
|
|
144
485
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
145
|
-
ds:node "$root/file list/file item/file size";
|
|
486
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file size";
|
|
146
487
|
anatomy:styleKey "typography.color";
|
|
147
488
|
anatomy:styleState "default";
|
|
148
489
|
ds:rank 1;
|
|
490
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
491
|
+
], [
|
|
492
|
+
a ds:TokenBinding;
|
|
493
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
494
|
+
ds:node "$root/file list/file item/tile body/tile details/file info/file size";
|
|
495
|
+
anatomy:styleKey "typography.color";
|
|
496
|
+
anatomy:styleState "default";
|
|
497
|
+
ds:rank 2;
|
|
149
498
|
ds:consumesSymbol dt:color.text.muted
|
|
150
499
|
], [
|
|
151
500
|
a ds:TokenBinding;
|
|
152
501
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
153
|
-
ds:node "$root/file list/file item/file
|
|
502
|
+
ds:node "$root/file list/file item/tile body/tile details/status and actions/file status";
|
|
503
|
+
anatomy:styleKey "spacing.gap";
|
|
504
|
+
anatomy:styleState "default";
|
|
505
|
+
ds:rank 1;
|
|
506
|
+
ds:consumesSymbol dt:dimension.100
|
|
507
|
+
], [
|
|
508
|
+
a ds:TokenBinding;
|
|
509
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
510
|
+
ds:node "$root/file list/file item/tile body/tile details/status and actions/file status/upload progress";
|
|
511
|
+
anatomy:styleKey "typography.font";
|
|
512
|
+
anatomy:styleState "default";
|
|
513
|
+
ds:rank 1;
|
|
514
|
+
ds:consumesSymbol dt:typography.text.secondary
|
|
515
|
+
], [
|
|
516
|
+
a ds:TokenBinding;
|
|
517
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
518
|
+
ds:node "$root/file list/file item/tile body/tile details/status and actions/file status/upload progress";
|
|
154
519
|
anatomy:styleKey "typography.color";
|
|
155
520
|
anatomy:styleState "default";
|
|
156
521
|
ds:rank 1;
|
|
@@ -158,9 +523,97 @@ ds:global.subcomponent.file_upload_input a ds:Subcomponent;
|
|
|
158
523
|
], [
|
|
159
524
|
a ds:TokenBinding;
|
|
160
525
|
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
161
|
-
ds:node "$root/file list/file item/
|
|
526
|
+
ds:node "$root/file list/file item/validation message";
|
|
527
|
+
anatomy:styleKey "spacing.gap";
|
|
528
|
+
anatomy:styleState "default";
|
|
529
|
+
ds:rank 1;
|
|
530
|
+
ds:consumesSymbol dt:dimension.050
|
|
531
|
+
], [
|
|
532
|
+
a ds:TokenBinding;
|
|
533
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
534
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
162
535
|
anatomy:styleKey "typography.color";
|
|
163
|
-
anatomy:styleState "
|
|
536
|
+
anatomy:styleState "default";
|
|
164
537
|
ds:rank 1;
|
|
165
|
-
ds:consumesSymbol dt:color.
|
|
538
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
539
|
+
], [
|
|
540
|
+
a ds:TokenBinding;
|
|
541
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
542
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
543
|
+
anatomy:styleKey "typography.color";
|
|
544
|
+
anatomy:styleState "default";
|
|
545
|
+
ds:rank 2;
|
|
546
|
+
ds:consumesSymbol dt:color.icon
|
|
547
|
+
], [
|
|
548
|
+
a ds:TokenBinding;
|
|
549
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
550
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
551
|
+
anatomy:styleKey "spacing.external.block.start";
|
|
552
|
+
anatomy:styleState "default";
|
|
553
|
+
ds:rank 1;
|
|
554
|
+
ds:consumesSymbol dt:dimension.025
|
|
555
|
+
], [
|
|
556
|
+
a ds:TokenBinding;
|
|
557
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
558
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][1]";
|
|
559
|
+
anatomy:styleKey "spacing.external.block.end";
|
|
560
|
+
anatomy:styleState "default";
|
|
561
|
+
ds:rank 1;
|
|
562
|
+
ds:consumesSymbol dt:dimension.025
|
|
563
|
+
], [
|
|
564
|
+
a ds:TokenBinding;
|
|
565
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
566
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
567
|
+
anatomy:styleKey "typography.color";
|
|
568
|
+
anatomy:styleState "default";
|
|
569
|
+
ds:rank 1;
|
|
570
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
571
|
+
], [
|
|
572
|
+
a ds:TokenBinding;
|
|
573
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
574
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
575
|
+
anatomy:styleKey "typography.color";
|
|
576
|
+
anatomy:styleState "default";
|
|
577
|
+
ds:rank 2;
|
|
578
|
+
ds:consumesSymbol dt:color.icon
|
|
579
|
+
], [
|
|
580
|
+
a ds:TokenBinding;
|
|
581
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
582
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
583
|
+
anatomy:styleKey "spacing.external.block.start";
|
|
584
|
+
anatomy:styleState "default";
|
|
585
|
+
ds:rank 1;
|
|
586
|
+
ds:consumesSymbol dt:dimension.025
|
|
587
|
+
], [
|
|
588
|
+
a ds:TokenBinding;
|
|
589
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
590
|
+
ds:node "$root/file list/file item/validation message/case[global.component.icon][2]";
|
|
591
|
+
anatomy:styleKey "spacing.external.block.end";
|
|
592
|
+
anatomy:styleState "default";
|
|
593
|
+
ds:rank 1;
|
|
594
|
+
ds:consumesSymbol dt:dimension.025
|
|
595
|
+
], [
|
|
596
|
+
a ds:TokenBinding;
|
|
597
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
598
|
+
ds:node "$root/file list/file item/validation message/message text";
|
|
599
|
+
anatomy:styleKey "typography.font";
|
|
600
|
+
anatomy:styleState "default";
|
|
601
|
+
ds:rank 1;
|
|
602
|
+
ds:consumesSymbol dt:typography.text.secondary
|
|
603
|
+
], [
|
|
604
|
+
a ds:TokenBinding;
|
|
605
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
606
|
+
ds:node "$root/file list/file item/validation message/message text";
|
|
607
|
+
anatomy:styleKey "typography.color";
|
|
608
|
+
anatomy:styleState "default";
|
|
609
|
+
ds:rank 1;
|
|
610
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
611
|
+
], [
|
|
612
|
+
a ds:TokenBinding;
|
|
613
|
+
ds:viaBlock ds:global.subcomponent.file_upload_input;
|
|
614
|
+
ds:node "$root/file list/file item/validation message/message text";
|
|
615
|
+
anatomy:styleKey "typography.color";
|
|
616
|
+
anatomy:styleState "default";
|
|
617
|
+
ds:rank 2;
|
|
618
|
+
ds:consumesSymbol dt:color.text.destructive
|
|
166
619
|
].
|