@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
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:global_dataviews.component.filter_button a ds:Component;
|
|
6
|
+
ds:name "FilterButton";
|
|
7
|
+
ds:summary "A filter button opens the controls of one filter and shows whether that filter applies, and how many values it holds. Unlike **DropdownButton**, its purpose is filtering, and it carries an applied state. Unlike **Chip**, it opens a filter’s controls rather than standing for an applied value. It serves the few filters people use most beside a search or a query bar, such as status, tags or pool.";
|
|
8
|
+
ds:anatomyDsl "---\n# TODO implementation: no reference in @canonical/react-ds-global or react-ds-global-form\n# TODO anatomy: DropdownButton has none yet in the graph. It is to hold the trigger, the\n# chevron, the popover and its surface; this one fills its `label` and `default` slots, the\n# names its specification gives.\n# Applied state: no element state. The Badge's count is the visible cue, and the trigger's\n# accessible name carries the count (\"Status, 2 applied\"). No symbol declares an applied\n# fill yet. The applied clause's Condition mark comes before the count. The panel is\n# DropdownButton's non-modal dialog, named by the trigger, which takes\n# aria-haspopup=\"dialog\"; it stays open while its controls change. It sits on the Surface\n# layer one above its host's (Surface2 on a page at Surface1), so its surface channels\n# resolve to that layer.\nnode:\n uri: global_dataviews.component.filter_button\n edges:\n - node:\n uri: global.component.dropdown_button\n # The trigger is Button's tertiary, neutral face, fixed: FilterButton sets Button's\n # Importance to Tertiary and offers neither importance nor anticipation of its own.\n # No graph property exists to pin.\n edges:\n - node:\n role: filter name\n relation:\n cardinality: \"1\"\n slotName: label\n - node:\n # The Condition value's mark, such as \"≠\" for exclusion, while the filter\n # applies and `condition` is set. Its glyph is the Condition value's; no channel\n # carries a glyph yet, and FilterButton reads no Condition tone, so nothing is\n # bound: the mark takes the trigger's text colour.\n # aria-hidden, because the host's appliedLabel says it in words.\n role: condition mark\n relation:\n cardinality: \"0..1\"\n slotName: label\n - node:\n # The host's appliedLabel (\"2 applied\", \"none of 2\"), visually hidden, so the\n # name reads \"Status, 2 applied\" and the visible label stays its prefix.\n role: applied words\n relation:\n cardinality: \"0..1\"\n slotName: label\n - node:\n # aria-hidden: the applied words carry the count to assistive technology.\n uri: global.component.badge\n relation:\n # Present while the filter applies.\n cardinality: \"0..1\"\n slotName: label\n - switch:\n # The panel is the host's children. FilterButton renders no form of its own;\n # the first case is the typical shape a host passes.\n on: override\n cases:\n - node:\n role: option list\n styles:\n appearance.background: [surface.color.background, color.background]\n layout.type: flex\n layout.direction: column\n layout.overflow.block: auto\n spacing.internal.block.start: dimension.050\n spacing.internal.block.end: dimension.050\n edges:\n - node:\n uri: global.subcomponent.search_input\n relation:\n # Past ten options.\n cardinality: \"0..1\"\n - node:\n # A <label> around the checkbox, so its text and its count\n # together name the checkbox, a visually hidden \", \" before the\n # count: \"deployed, 12\".\n role: option\n styles:\n spacing.internal.block.start: dimension.100\n spacing.internal.block.end: dimension.100\n spacing.internal.inline.start: dimension.150\n spacing.internal.inline.end: dimension.150\n # The layer2 ghost hover is bound until a surface-routed hover\n # channel exists.\n appearance.background@hover: color.foreground.ghost.layer2.hover\n edges:\n - node:\n uri: global.subcomponent.checkbox_input\n relation:\n cardinality: \"1\"\n - node:\n role: option label\n relation:\n cardinality: \"1\"\n - node:\n # A facet count, where the source gives one.\n role: option count\n styles:\n typography.font: typography.text.tertiary\n typography.color: color.text.muted\n relation:\n cardinality: \"0..1\"\n relation:\n cardinality: \"0..*\"\n - node:\n # When the host can spell addresses, its children are a GET form\n # and this is its Apply submit, hidden once scripts run, when each\n # choice commits as it is ticked.\n uri: global.component.button\n relation:\n cardinality: \"0..1\"\n - uri: $custom\n relation:\n cardinality: \"1\"\n slotName: default\n relation:\n cardinality: \"1\"";
|
|
9
|
+
ds:anatomyClassic "";
|
|
10
|
+
ds:usage "### When to use\n\n- Beside a search or a query bar, for the few filters people use most.\n- When a filter’s values fit a short list, or a small custom control.\n\n### When not to use\n\n- For commands or navigation: use **DropdownButton** with a menu.\n- For many fields at once: use the **QueryBar**, or a form.";
|
|
11
|
+
ds:guidelines "### Accessibility\n\n- The trigger is a native button that opens a non-modal panel, a native popover. Both work \nbefore scripts run.\n- The panel follows DropdownButton’s: a non-modal dialog, `role=\"dialog\"`, named by the trigger \nthrough `aria-labelledby`, and the trigger takes `aria-haspopup=\"dialog\"`.\n- The trigger opens a panel, so it takes no `aria-pressed`. Its accessible name carries the \napplied count instead: `label` followed by `appliedLabel`, as in “Status, 2 applied”, or \n“Status, none of 2” with an Exclusion clause. FilterButton writes no words of its own: the \nhost takes `appliedLabel` from its messages. It renders as visually hidden text after the \nlabel, preceded by a comma and a space that FilterButton adds, and the Badge is \n`aria-hidden`, so the name reads “Status, 2 applied” and the visible label stays its prefix.\n- A Badge shows the count, so the applied state does not rest on colour.\n- While the filter applies, the trigger shows its clause’s Condition mark before the count, \nsuch as `≠` for an Exclusion clause, so the condition does not rest on the name alone. The \nmark is hidden from assistive technology, because `appliedLabel` already says so.\n- The panel stays open while its controls change.\n- In a checkbox list, an option’s count is part of its checkbox’s accessible name, because the \noption is a `<label>` around the checkbox, its text and its count, with a visually hidden \ncomma and space before the count: “deployed, 12”.\n\n### Without scripts\n\nThe trigger and its native popover open the panel before scripts run in every case. \nFilterButton renders no form: the panel’s content is the host’s `children`. A host that can \nspell addresses may pass a GET form with a visible Apply submit, hidden once scripts run; a \nhost that cannot, as under an in-memory query state, renders its controls inert, and they work \nonce scripts run.\n\n### States & interactionStateEntered byShown asdefaultnothing appliesButton’s tertiary face, fixed: FilterButton takes no `importance`hoverthe pointerthe tertiary hover stepopenactivationthe hover step, with the chevron turnedapplied`applied` above 0the Badge with the count; the applied fill has no symbol yetwith a condition`applied` above 0 and `condition` setthe applied state, with the Condition value’s mark before the countdisabled`disabled`Button’s disabled face\n\n- With scripts, each choice commits when it is ticked: one transition per choice. Closing the \npanel commits nothing.\n- Without scripts, where the host’s children are a GET form, its Apply submit commits.\n- Escape and an outside click close the panel; focus leaving it does not. Escape returns focus \nto the trigger, as the trigger does when it closes the panel. An outside click leaves focus \nwhere the person moved it.\n\n### Composition\n\n- FilterButton is a component around DropdownButton’s `withDropdownButton` applied to Button \nonce, at module scope. FilterButton provides its own props through a context above the \ntrigger, and the render function reads them, so its count and its panel stay dynamic.\n- Its rest props are Button’s and reach the trigger unchanged. An `onClick` composes with the \ntoggle: the consumer’s handler runs first, and `preventDefault()` cancels the toggle.\n- There is no `open` property: the open state lives in the popover. A consumer hears it change \nthrough `onToggle`, which fires for Escape, light dismiss, the trigger and `hide()` alike, and \ndrives the panel through `panelRef`.\n- There are no `triggerProps` or `panelProps` objects: the trigger takes Button’s rest props, \nand the panel takes its `id`, its `ref` (exposed as `panelRef`), `aria-labelledby` naming the \ntrigger, and `onToggle`.";
|
|
12
|
+
ds:tier ds:global_dataviews;
|
|
13
|
+
ds:documentationStage ds:tag.needstriage;
|
|
14
|
+
ds:hasProperty [
|
|
15
|
+
a ds:Property;
|
|
16
|
+
ds:name "label";
|
|
17
|
+
ds:summary "The filter's name.";
|
|
18
|
+
ds:propertyType "node";
|
|
19
|
+
ds:optional "false"
|
|
20
|
+
], [
|
|
21
|
+
a ds:Property;
|
|
22
|
+
ds:name "applied";
|
|
23
|
+
ds:summary "How many values the filter applies; 0 means none.";
|
|
24
|
+
ds:propertyType "number";
|
|
25
|
+
ds:optional "true";
|
|
26
|
+
ds:constraints "an integer, 0 or more";
|
|
27
|
+
ds:defaultValue "0"
|
|
28
|
+
], [
|
|
29
|
+
a ds:Property;
|
|
30
|
+
ds:name "applied_label";
|
|
31
|
+
ds:summary "The resolved words for the count in the trigger's name, such as \"2 applied\" or \"none of 2\", from the host's messages.";
|
|
32
|
+
ds:propertyType "text";
|
|
33
|
+
ds:optional "true";
|
|
34
|
+
ds:constraints "```required while `applied` is above 0```"
|
|
35
|
+
], [
|
|
36
|
+
a ds:Property;
|
|
37
|
+
ds:name "condition";
|
|
38
|
+
ds:summary "```The Condition value of the applied clause. The trigger shows its mark before the count, and the host's `applied_label` says it in words, such as \"none of 2\" for Exclusion.```";
|
|
39
|
+
ds:propertyType "choice";
|
|
40
|
+
ds:optional "true"
|
|
41
|
+
], [
|
|
42
|
+
a ds:Property;
|
|
43
|
+
ds:name "children";
|
|
44
|
+
ds:summary "The panel's content: a checkbox list, or any control.";
|
|
45
|
+
ds:propertyType "node";
|
|
46
|
+
ds:optional "false"
|
|
47
|
+
], [
|
|
48
|
+
a ds:Property;
|
|
49
|
+
ds:name "on_toggle";
|
|
50
|
+
ds:summary "The panel's native toggle event, composed with the panel's own listener, so a consumer hears the panel open or close however it happens.";
|
|
51
|
+
ds:propertyType "callback";
|
|
52
|
+
ds:optional "true"
|
|
53
|
+
], [
|
|
54
|
+
a ds:Property;
|
|
55
|
+
ds:name "panel_ref";
|
|
56
|
+
ds:summary "The panel's handle, for a host that takes the filter over.";
|
|
57
|
+
ds:propertyType "object";
|
|
58
|
+
ds:optional "true";
|
|
59
|
+
ds:constraints "````{ show, hide, toggle }````"
|
|
60
|
+
];
|
|
61
|
+
ds:hasModifierFamily ds:global.modifier_family.density, ds:global.modifier_family.surface;
|
|
62
|
+
ds:inheritsFrom ds:global.component.button;
|
|
63
|
+
ds:hasTokenBinding [
|
|
64
|
+
a ds:TokenBinding;
|
|
65
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
66
|
+
ds:node "$root/global.component.dropdown_button/case[option list]";
|
|
67
|
+
anatomy:styleKey "appearance.background";
|
|
68
|
+
anatomy:styleState "default";
|
|
69
|
+
ds:rank 1;
|
|
70
|
+
ds:consumesSymbol dt:surface.color.background
|
|
71
|
+
], [
|
|
72
|
+
a ds:TokenBinding;
|
|
73
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
74
|
+
ds:node "$root/global.component.dropdown_button/case[option list]";
|
|
75
|
+
anatomy:styleKey "appearance.background";
|
|
76
|
+
anatomy:styleState "default";
|
|
77
|
+
ds:rank 2;
|
|
78
|
+
ds:consumesSymbol dt:color.background
|
|
79
|
+
], [
|
|
80
|
+
a ds:TokenBinding;
|
|
81
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
82
|
+
ds:node "$root/global.component.dropdown_button/case[option list]";
|
|
83
|
+
anatomy:styleKey "spacing.internal.block.start";
|
|
84
|
+
anatomy:styleState "default";
|
|
85
|
+
ds:rank 1;
|
|
86
|
+
ds:consumesSymbol dt:dimension.050
|
|
87
|
+
], [
|
|
88
|
+
a ds:TokenBinding;
|
|
89
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
90
|
+
ds:node "$root/global.component.dropdown_button/case[option list]";
|
|
91
|
+
anatomy:styleKey "spacing.internal.block.end";
|
|
92
|
+
anatomy:styleState "default";
|
|
93
|
+
ds:rank 1;
|
|
94
|
+
ds:consumesSymbol dt:dimension.050
|
|
95
|
+
], [
|
|
96
|
+
a ds:TokenBinding;
|
|
97
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
98
|
+
ds:node "$root/global.component.dropdown_button/case[option list]/option";
|
|
99
|
+
anatomy:styleKey "spacing.internal.block.start";
|
|
100
|
+
anatomy:styleState "default";
|
|
101
|
+
ds:rank 1;
|
|
102
|
+
ds:consumesSymbol dt:dimension.100
|
|
103
|
+
], [
|
|
104
|
+
a ds:TokenBinding;
|
|
105
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
106
|
+
ds:node "$root/global.component.dropdown_button/case[option list]/option";
|
|
107
|
+
anatomy:styleKey "spacing.internal.block.end";
|
|
108
|
+
anatomy:styleState "default";
|
|
109
|
+
ds:rank 1;
|
|
110
|
+
ds:consumesSymbol dt:dimension.100
|
|
111
|
+
], [
|
|
112
|
+
a ds:TokenBinding;
|
|
113
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
114
|
+
ds:node "$root/global.component.dropdown_button/case[option list]/option";
|
|
115
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
116
|
+
anatomy:styleState "default";
|
|
117
|
+
ds:rank 1;
|
|
118
|
+
ds:consumesSymbol dt:dimension.150
|
|
119
|
+
], [
|
|
120
|
+
a ds:TokenBinding;
|
|
121
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
122
|
+
ds:node "$root/global.component.dropdown_button/case[option list]/option";
|
|
123
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
124
|
+
anatomy:styleState "default";
|
|
125
|
+
ds:rank 1;
|
|
126
|
+
ds:consumesSymbol dt:dimension.150
|
|
127
|
+
], [
|
|
128
|
+
a ds:TokenBinding;
|
|
129
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
130
|
+
ds:node "$root/global.component.dropdown_button/case[option list]/option";
|
|
131
|
+
anatomy:styleKey "appearance.background";
|
|
132
|
+
anatomy:styleState "hover";
|
|
133
|
+
ds:rank 1;
|
|
134
|
+
ds:consumesSymbol dt:color.foreground.ghost.layer2.hover
|
|
135
|
+
], [
|
|
136
|
+
a ds:TokenBinding;
|
|
137
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
138
|
+
ds:node "$root";
|
|
139
|
+
anatomy:styleKey "size.width";
|
|
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.checkbox_input;
|
|
146
|
+
ds:node "$root";
|
|
147
|
+
anatomy:styleKey "size.height";
|
|
148
|
+
anatomy:styleState "default";
|
|
149
|
+
ds:rank 1;
|
|
150
|
+
ds:consumesSymbol dt:dimension.200
|
|
151
|
+
], [
|
|
152
|
+
a ds:TokenBinding;
|
|
153
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
154
|
+
ds:node "$root";
|
|
155
|
+
anatomy:styleKey "appearance.border.width";
|
|
156
|
+
anatomy:styleState "default";
|
|
157
|
+
ds:rank 1;
|
|
158
|
+
ds:consumesSymbol dt:dimension.stroke.thickness.medium
|
|
159
|
+
], [
|
|
160
|
+
a ds:TokenBinding;
|
|
161
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
162
|
+
ds:node "$root";
|
|
163
|
+
anatomy:styleKey "appearance.border.color";
|
|
164
|
+
anatomy:styleState "default";
|
|
165
|
+
ds:rank 1;
|
|
166
|
+
ds:consumesSymbol dt:color.border
|
|
167
|
+
], [
|
|
168
|
+
a ds:TokenBinding;
|
|
169
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
170
|
+
ds:node "$root";
|
|
171
|
+
anatomy:styleKey "appearance.radius";
|
|
172
|
+
anatomy:styleState "default";
|
|
173
|
+
ds:rank 1;
|
|
174
|
+
ds:consumesSymbol dt:dimension.radius.small
|
|
175
|
+
], [
|
|
176
|
+
a ds:TokenBinding;
|
|
177
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
178
|
+
ds:node "$root";
|
|
179
|
+
anatomy:styleKey "appearance.background";
|
|
180
|
+
anatomy:styleState "default";
|
|
181
|
+
ds:rank 1;
|
|
182
|
+
ds:consumesSymbol dt:surface.color.foreground.checkbox.unselected
|
|
183
|
+
], [
|
|
184
|
+
a ds:TokenBinding;
|
|
185
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
186
|
+
ds:node "$root";
|
|
187
|
+
anatomy:styleKey "appearance.background";
|
|
188
|
+
anatomy:styleState "default";
|
|
189
|
+
ds:rank 2;
|
|
190
|
+
ds:consumesSymbol dt:color.foreground.checkbox.unselected
|
|
191
|
+
], [
|
|
192
|
+
a ds:TokenBinding;
|
|
193
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
194
|
+
ds:node "$root";
|
|
195
|
+
anatomy:styleKey "appearance.background";
|
|
196
|
+
anatomy:styleState "hover";
|
|
197
|
+
ds:rank 1;
|
|
198
|
+
ds:consumesSymbol dt:color.foreground.checkbox.unselected.hover
|
|
199
|
+
], [
|
|
200
|
+
a ds:TokenBinding;
|
|
201
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
202
|
+
ds:node "$root";
|
|
203
|
+
anatomy:styleKey "appearance.background";
|
|
204
|
+
anatomy:styleState "selected";
|
|
205
|
+
ds:rank 1;
|
|
206
|
+
ds:consumesSymbol dt:color.foreground.checkbox.selected
|
|
207
|
+
], [
|
|
208
|
+
a ds:TokenBinding;
|
|
209
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
210
|
+
ds:node "$root";
|
|
211
|
+
anatomy:styleKey "appearance.border.color";
|
|
212
|
+
anatomy:styleState "selected";
|
|
213
|
+
ds:rank 1;
|
|
214
|
+
ds:consumesSymbol dt:color.foreground.checkbox.selected
|
|
215
|
+
], [
|
|
216
|
+
a ds:TokenBinding;
|
|
217
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
218
|
+
ds:node "$root";
|
|
219
|
+
anatomy:styleKey "appearance.background";
|
|
220
|
+
anatomy:styleState "indeterminate";
|
|
221
|
+
ds:rank 1;
|
|
222
|
+
ds:consumesSymbol dt:color.foreground.checkbox.selected
|
|
223
|
+
], [
|
|
224
|
+
a ds:TokenBinding;
|
|
225
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
226
|
+
ds:node "$root";
|
|
227
|
+
anatomy:styleKey "appearance.border.color";
|
|
228
|
+
anatomy:styleState "indeterminate";
|
|
229
|
+
ds:rank 1;
|
|
230
|
+
ds:consumesSymbol dt:color.foreground.checkbox.selected
|
|
231
|
+
], [
|
|
232
|
+
a ds:TokenBinding;
|
|
233
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
234
|
+
ds:node "$root";
|
|
235
|
+
anatomy:styleKey "appearance.border.color";
|
|
236
|
+
anatomy:styleState "focus";
|
|
237
|
+
ds:rank 1;
|
|
238
|
+
ds:consumesSymbol dt:color.focusRing
|
|
239
|
+
], [
|
|
240
|
+
a ds:TokenBinding;
|
|
241
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
242
|
+
ds:node "$root";
|
|
243
|
+
anatomy:styleKey "appearance.border.color";
|
|
244
|
+
anatomy:styleState "disabled";
|
|
245
|
+
ds:rank 1;
|
|
246
|
+
ds:consumesSymbol dt:color.border.disabled
|
|
247
|
+
], [
|
|
248
|
+
a ds:TokenBinding;
|
|
249
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
250
|
+
ds:node "$root";
|
|
251
|
+
anatomy:styleKey "appearance.background";
|
|
252
|
+
anatomy:styleState "disabled";
|
|
253
|
+
ds:rank 1;
|
|
254
|
+
ds:consumesSymbol dt:color.foreground.checkbox.unselected.disabled
|
|
255
|
+
], [
|
|
256
|
+
a ds:TokenBinding;
|
|
257
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
258
|
+
ds:node "$root/selection glyph";
|
|
259
|
+
anatomy:styleKey "appearance.background";
|
|
260
|
+
anatomy:styleState "selected";
|
|
261
|
+
ds:rank 1;
|
|
262
|
+
ds:consumesSymbol dt:surface.color.foreground.checkbox.checkmark
|
|
263
|
+
], [
|
|
264
|
+
a ds:TokenBinding;
|
|
265
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
266
|
+
ds:node "$root/selection glyph";
|
|
267
|
+
anatomy:styleKey "appearance.background";
|
|
268
|
+
anatomy:styleState "selected";
|
|
269
|
+
ds:rank 2;
|
|
270
|
+
ds:consumesSymbol dt:color.foreground.checkbox.checkmark
|
|
271
|
+
], [
|
|
272
|
+
a ds:TokenBinding;
|
|
273
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
274
|
+
ds:node "$root/selection glyph";
|
|
275
|
+
anatomy:styleKey "appearance.background";
|
|
276
|
+
anatomy:styleState "indeterminate";
|
|
277
|
+
ds:rank 1;
|
|
278
|
+
ds:consumesSymbol dt:surface.color.foreground.checkbox.checkmark
|
|
279
|
+
], [
|
|
280
|
+
a ds:TokenBinding;
|
|
281
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
282
|
+
ds:node "$root/selection glyph";
|
|
283
|
+
anatomy:styleKey "appearance.background";
|
|
284
|
+
anatomy:styleState "indeterminate";
|
|
285
|
+
ds:rank 2;
|
|
286
|
+
ds:consumesSymbol dt:color.foreground.checkbox.checkmark
|
|
287
|
+
], [
|
|
288
|
+
a ds:TokenBinding;
|
|
289
|
+
ds:viaBlock ds:global.subcomponent.checkbox_input;
|
|
290
|
+
ds:node "$root/selection glyph";
|
|
291
|
+
anatomy:styleKey "appearance.background";
|
|
292
|
+
anatomy:styleState "disabled";
|
|
293
|
+
ds:rank 1;
|
|
294
|
+
ds:consumesSymbol dt:color.foreground.checkbox.checkmark.disabled
|
|
295
|
+
], [
|
|
296
|
+
a ds:TokenBinding;
|
|
297
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
298
|
+
ds:node "$root/global.component.dropdown_button/case[option list]/option/option count";
|
|
299
|
+
anatomy:styleKey "typography.font";
|
|
300
|
+
anatomy:styleState "default";
|
|
301
|
+
ds:rank 1;
|
|
302
|
+
ds:consumesSymbol dt:typography.text.tertiary
|
|
303
|
+
], [
|
|
304
|
+
a ds:TokenBinding;
|
|
305
|
+
ds:viaBlock ds:global_dataviews.component.filter_button;
|
|
306
|
+
ds:node "$root/global.component.dropdown_button/case[option list]/option/option count";
|
|
307
|
+
anatomy:styleKey "typography.color";
|
|
308
|
+
anatomy:styleState "default";
|
|
309
|
+
ds:rank 1;
|
|
310
|
+
ds:consumesSymbol dt:color.text.muted
|
|
311
|
+
], [
|
|
312
|
+
a ds:TokenBinding;
|
|
313
|
+
ds:viaBlock ds:global.component.button;
|
|
314
|
+
ds:node "$root";
|
|
315
|
+
anatomy:styleKey "appearance.border.width";
|
|
316
|
+
anatomy:styleState "default";
|
|
317
|
+
ds:rank 1;
|
|
318
|
+
ds:consumesSymbol dt:dimension.stroke.thickness.medium
|
|
319
|
+
], [
|
|
320
|
+
a ds:TokenBinding;
|
|
321
|
+
ds:viaBlock ds:global.component.button;
|
|
322
|
+
ds:node "$root";
|
|
323
|
+
anatomy:styleKey "appearance.background";
|
|
324
|
+
anatomy:styleState "default";
|
|
325
|
+
ds:rank 1;
|
|
326
|
+
ds:consumesSymbol dt:modifier.color.foreground.primary
|
|
327
|
+
], [
|
|
328
|
+
a ds:TokenBinding;
|
|
329
|
+
ds:viaBlock ds:global.component.button;
|
|
330
|
+
ds:node "$root";
|
|
331
|
+
anatomy:styleKey "appearance.background";
|
|
332
|
+
anatomy:styleState "default";
|
|
333
|
+
ds:rank 2;
|
|
334
|
+
ds:consumesSymbol dt:color.foreground.primary
|
|
335
|
+
], [
|
|
336
|
+
a ds:TokenBinding;
|
|
337
|
+
ds:viaBlock ds:global.component.button;
|
|
338
|
+
ds:node "$root";
|
|
339
|
+
anatomy:styleKey "appearance.background";
|
|
340
|
+
anatomy:styleState "hover";
|
|
341
|
+
ds:rank 1;
|
|
342
|
+
ds:consumesSymbol dt:color.foreground.primary.hover
|
|
343
|
+
], [
|
|
344
|
+
a ds:TokenBinding;
|
|
345
|
+
ds:viaBlock ds:global.component.button;
|
|
346
|
+
ds:node "$root";
|
|
347
|
+
anatomy:styleKey "appearance.background";
|
|
348
|
+
anatomy:styleState "active";
|
|
349
|
+
ds:rank 1;
|
|
350
|
+
ds:consumesSymbol dt:color.foreground.primary.active
|
|
351
|
+
], [
|
|
352
|
+
a ds:TokenBinding;
|
|
353
|
+
ds:viaBlock ds:global.component.button;
|
|
354
|
+
ds:node "$root";
|
|
355
|
+
anatomy:styleKey "appearance.background";
|
|
356
|
+
anatomy:styleState "disabled";
|
|
357
|
+
ds:rank 1;
|
|
358
|
+
ds:consumesSymbol dt:color.foreground.primary.disabled
|
|
359
|
+
], [
|
|
360
|
+
a ds:TokenBinding;
|
|
361
|
+
ds:viaBlock ds:global.component.button;
|
|
362
|
+
ds:node "$root";
|
|
363
|
+
anatomy:styleKey "appearance.border.color";
|
|
364
|
+
anatomy:styleState "default";
|
|
365
|
+
ds:rank 1;
|
|
366
|
+
ds:consumesSymbol dt:modifier.color.border
|
|
367
|
+
], [
|
|
368
|
+
a ds:TokenBinding;
|
|
369
|
+
ds:viaBlock ds:global.component.button;
|
|
370
|
+
ds:node "$root";
|
|
371
|
+
anatomy:styleKey "appearance.border.color";
|
|
372
|
+
anatomy:styleState "default";
|
|
373
|
+
ds:rank 2;
|
|
374
|
+
ds:consumesSymbol dt:color.border.highlighted
|
|
375
|
+
], [
|
|
376
|
+
a ds:TokenBinding;
|
|
377
|
+
ds:viaBlock ds:global.component.button;
|
|
378
|
+
ds:node "$root";
|
|
379
|
+
anatomy:styleKey "appearance.border.color";
|
|
380
|
+
anatomy:styleState "default";
|
|
381
|
+
ds:rank 3;
|
|
382
|
+
ds:consumesSymbol dt:color.border
|
|
383
|
+
], [
|
|
384
|
+
a ds:TokenBinding;
|
|
385
|
+
ds:viaBlock ds:global.component.button;
|
|
386
|
+
ds:node "$root";
|
|
387
|
+
anatomy:styleKey "appearance.border.color";
|
|
388
|
+
anatomy:styleState "disabled";
|
|
389
|
+
ds:rank 1;
|
|
390
|
+
ds:consumesSymbol dt:color.border.highlighted.disabled
|
|
391
|
+
], [
|
|
392
|
+
a ds:TokenBinding;
|
|
393
|
+
ds:viaBlock ds:global.component.button;
|
|
394
|
+
ds:node "$root";
|
|
395
|
+
anatomy:styleKey "typography.color";
|
|
396
|
+
anatomy:styleState "default";
|
|
397
|
+
ds:rank 1;
|
|
398
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
399
|
+
], [
|
|
400
|
+
a ds:TokenBinding;
|
|
401
|
+
ds:viaBlock ds:global.component.button;
|
|
402
|
+
ds:node "$root";
|
|
403
|
+
anatomy:styleKey "typography.color";
|
|
404
|
+
anatomy:styleState "default";
|
|
405
|
+
ds:rank 2;
|
|
406
|
+
ds:consumesSymbol dt:color.text
|
|
407
|
+
], [
|
|
408
|
+
a ds:TokenBinding;
|
|
409
|
+
ds:viaBlock ds:global.component.button;
|
|
410
|
+
ds:node "$root";
|
|
411
|
+
anatomy:styleKey "typography.color";
|
|
412
|
+
anatomy:styleState "disabled";
|
|
413
|
+
ds:rank 1;
|
|
414
|
+
ds:consumesSymbol dt:color.text.disabled
|
|
415
|
+
], [
|
|
416
|
+
a ds:TokenBinding;
|
|
417
|
+
ds:viaBlock ds:global.component.button;
|
|
418
|
+
ds:node "$root";
|
|
419
|
+
anatomy:styleKey "typography.font";
|
|
420
|
+
anatomy:styleState "default";
|
|
421
|
+
ds:rank 1;
|
|
422
|
+
ds:consumesSymbol dt:typography.text.primary
|
|
423
|
+
], [
|
|
424
|
+
a ds:TokenBinding;
|
|
425
|
+
ds:viaBlock ds:global.component.button;
|
|
426
|
+
ds:node "$root";
|
|
427
|
+
anatomy:styleKey "spacing.gap";
|
|
428
|
+
anatomy:styleState "default";
|
|
429
|
+
ds:rank 1;
|
|
430
|
+
ds:consumesSymbol dt:dimension.100
|
|
431
|
+
], [
|
|
432
|
+
a ds:TokenBinding;
|
|
433
|
+
ds:viaBlock ds:global.component.button;
|
|
434
|
+
ds:node "$root";
|
|
435
|
+
anatomy:styleKey "spacing.internal.inline.start";
|
|
436
|
+
anatomy:styleState "default";
|
|
437
|
+
ds:rank 1;
|
|
438
|
+
ds:consumesSymbol dt:dimension.200
|
|
439
|
+
], [
|
|
440
|
+
a ds:TokenBinding;
|
|
441
|
+
ds:viaBlock ds:global.component.button;
|
|
442
|
+
ds:node "$root";
|
|
443
|
+
anatomy:styleKey "spacing.internal.inline.end";
|
|
444
|
+
anatomy:styleState "default";
|
|
445
|
+
ds:rank 1;
|
|
446
|
+
ds:consumesSymbol dt:dimension.200
|
|
447
|
+
], [
|
|
448
|
+
a ds:TokenBinding;
|
|
449
|
+
ds:viaBlock ds:global.component.button;
|
|
450
|
+
ds:node "$root";
|
|
451
|
+
anatomy:styleKey "appearance.outline.color";
|
|
452
|
+
anatomy:styleState "focus";
|
|
453
|
+
ds:rank 1;
|
|
454
|
+
ds:consumesSymbol dt:modifier.color.focusRing
|
|
455
|
+
], [
|
|
456
|
+
a ds:TokenBinding;
|
|
457
|
+
ds:viaBlock ds:global.component.button;
|
|
458
|
+
ds:node "$root";
|
|
459
|
+
anatomy:styleKey "appearance.outline.color";
|
|
460
|
+
anatomy:styleState "focus";
|
|
461
|
+
ds:rank 2;
|
|
462
|
+
ds:consumesSymbol dt:color.focusRing
|
|
463
|
+
], [
|
|
464
|
+
a ds:TokenBinding;
|
|
465
|
+
ds:viaBlock ds:global.component.button;
|
|
466
|
+
ds:node "$root/icon";
|
|
467
|
+
anatomy:styleKey "typography.color";
|
|
468
|
+
anatomy:styleState "default";
|
|
469
|
+
ds:rank 1;
|
|
470
|
+
ds:consumesSymbol dt:modifier.color.icon
|
|
471
|
+
], [
|
|
472
|
+
a ds:TokenBinding;
|
|
473
|
+
ds:viaBlock ds:global.component.button;
|
|
474
|
+
ds:node "$root/icon";
|
|
475
|
+
anatomy:styleKey "typography.color";
|
|
476
|
+
anatomy:styleState "default";
|
|
477
|
+
ds:rank 2;
|
|
478
|
+
ds:consumesSymbol dt:modifier.color.text
|
|
479
|
+
], [
|
|
480
|
+
a ds:TokenBinding;
|
|
481
|
+
ds:viaBlock ds:global.component.button;
|
|
482
|
+
ds:node "$root/icon";
|
|
483
|
+
anatomy:styleKey "typography.color";
|
|
484
|
+
anatomy:styleState "disabled";
|
|
485
|
+
ds:rank 1;
|
|
486
|
+
ds:consumesSymbol dt:color.icon.disabled
|
|
487
|
+
].
|