@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
package/data/tag/devbatch2.ttl
CHANGED
package/data/tag/devbatch3.ttl
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:tag.
|
|
6
|
-
ds:name "
|
|
5
|
+
ds:tag.devdone a ds:Tag;
|
|
6
|
+
ds:name "dev:done";
|
|
7
|
+
ds:category ds:tagcategory.implementationstatus;
|
|
7
8
|
ds:whenToApply "";
|
|
8
9
|
ds:whenToRemove "".
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:tag.devin-progress a ds:Tag;
|
|
6
|
+
ds:name "dev:in-progress";
|
|
7
|
+
ds:category ds:tagcategory.implementationstatus;
|
|
8
|
+
ds:whenToApply "";
|
|
9
|
+
ds:whenToRemove "".
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:tag.
|
|
6
|
-
ds:name "
|
|
7
|
-
ds:category ds:tagcategory.
|
|
5
|
+
ds:tag.devin-review a ds:Tag;
|
|
6
|
+
ds:name "dev:in-review";
|
|
7
|
+
ds:category ds:tagcategory.implementationstatus;
|
|
8
8
|
ds:whenToApply "";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:tag.devpre-approved a ds:Tag;
|
|
6
|
+
ds:name "dev:pre-approved";
|
|
7
|
+
ds:category ds:tagcategory.implementationstatus;
|
|
8
|
+
ds:whenToApply "";
|
|
9
|
+
ds:whenToRemove "".
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:tag.
|
|
6
|
-
ds:name "dev:react:
|
|
5
|
+
ds:tag.devreactdone a ds:Tag;
|
|
6
|
+
ds:name "dev:react:done";
|
|
7
7
|
ds:category ds:tagcategory.implementation-status;
|
|
8
|
-
ds:whenToApply "Design
|
|
8
|
+
ds:whenToApply "Implementation: stable. Design: approved";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
ds:tag.devreactpreapproved a ds:Tag;
|
|
6
6
|
ds:name "dev:react:pre_approved";
|
|
7
7
|
ds:category ds:tagcategory.implementation-status;
|
|
8
|
-
ds:whenToApply "Design : approved
|
|
8
|
+
ds:whenToApply "Design : approved for careful use, requires follow-up";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:tag.
|
|
6
|
-
ds:name "
|
|
5
|
+
ds:tag.devsveltepreapproved a ds:Tag;
|
|
6
|
+
ds:name "dev:svelte:pre_approved";
|
|
7
7
|
ds:category ds:tagcategory.implementation-status;
|
|
8
|
-
ds:whenToApply "";
|
|
8
|
+
ds:whenToApply "Design : approved for careful use, requires follow-up";
|
|
9
9
|
ds:whenToRemove "".
|
package/data/tag/divergent.ttl
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:tag.implementationcomplete a ds:Tag;
|
|
6
|
+
ds:name "implementation:complete";
|
|
7
|
+
ds:category ds:tagcategory.implementationworkflow;
|
|
8
|
+
ds:whenToApply "A UI Block has implementation complete in all supported frameworks";
|
|
9
|
+
ds:whenToRemove "".
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:tag.
|
|
6
|
-
ds:name "needs:
|
|
7
|
-
ds:category ds:tagcategory.documentation-
|
|
5
|
+
ds:tag.needscoredocumentation a ds:Tag;
|
|
6
|
+
ds:name "needs:core_documentation";
|
|
7
|
+
ds:category ds:tagcategory.design--documentation-status;
|
|
8
8
|
ds:whenToApply "UIBlock needs summary, usage, anatomy_dsl and anatomy_classic fields filled";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:tag.needsdesign a ds:Tag;
|
|
6
|
+
ds:name "needs:design";
|
|
7
|
+
ds:category ds:tagcategory.design--documentation-status;
|
|
8
|
+
ds:whenToApply "UI block, has been triaged, validated, and needs design";
|
|
9
|
+
ds:whenToRemove "".
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
3
|
@prefix dt: <https://dt.canonical.com/>.
|
|
4
4
|
|
|
5
|
-
ds:tag.
|
|
6
|
-
ds:name "needs:
|
|
7
|
-
ds:category ds:tagcategory.documentation-
|
|
5
|
+
ds:tag.needsfulldocumentation a ds:Tag;
|
|
6
|
+
ds:name "needs:full_documentation";
|
|
7
|
+
ds:category ds:tagcategory.design--documentation-status;
|
|
8
8
|
ds:whenToApply "Base definition is complete but other fields are missing (i.e. needs variant guidelines, properties definitions) and pending review";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:tag.needsimplementation a ds:Tag;
|
|
6
|
+
ds:name "needs:implementation";
|
|
7
|
+
ds:category ds:tagcategory.implementationworkflow;
|
|
8
|
+
ds:whenToApply "A UI block has summary, anatomy and styling ready and added to coda and has all other necessary documents ready for implementation";
|
|
9
|
+
ds:whenToRemove "".
|
package/data/tag/needstriage.ttl
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
ds:tag.triagedbacklog a ds:Tag;
|
|
6
6
|
ds:name "triaged:backlog";
|
|
7
|
-
ds:category ds:tagcategory.documentation-
|
|
8
|
-
ds:whenToApply "UIBlock inclusion to the DS is postponed";
|
|
7
|
+
ds:category ds:tagcategory.design--documentation-status;
|
|
8
|
+
ds:whenToApply "UIBlock inclusion to the DS has been accepted, but the design of it is postponed";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
ds:tag.triagedrejected a ds:Tag;
|
|
6
6
|
ds:name "triaged:rejected";
|
|
7
|
-
ds:category ds:tagcategory.documentation-
|
|
8
|
-
ds:whenToApply "UIBlock proposal was rejected because it was assessed not to be a valuable addition to the design system.
|
|
7
|
+
ds:category ds:tagcategory.design--documentation-status;
|
|
8
|
+
ds:whenToApply "UIBlock proposal was rejected because it was assessed not to be a valuable addition to the design system.";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
ds:tag.upstream-compliant a ds:Tag;
|
|
6
6
|
ds:name "upstream-compliant";
|
|
7
|
-
ds:category ds:tagcategory.
|
|
7
|
+
ds:category ds:tagcategory.implementationnotes;
|
|
8
8
|
ds:whenToApply "Tag to be used by Launchpad in cycle 26.10 to mark components that should be upstreamed";
|
|
9
9
|
ds:whenToRemove "".
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:tag.workplaceinitial-implementation a ds:Tag;
|
|
6
|
+
ds:name "workplace:initial-implementation";
|
|
7
|
+
ds:category ds:tagcategory.implementationnotes;
|
|
8
|
+
ds:whenToApply "";
|
|
9
|
+
ds:whenToRemove "".
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
2
|
+
@prefix anatomy: <https://anatomy.canonical.com/>.
|
|
3
|
+
@prefix dt: <https://dt.canonical.com/>.
|
|
4
|
+
|
|
5
|
+
ds:tag.workplacetriageupstream-and-deprecate a ds:Tag;
|
|
6
|
+
ds:name "workplace:triage:upstream-and-deprecate";
|
|
7
|
+
ds:category ds:tagcategory.implementationnotes;
|
|
8
|
+
ds:whenToApply "";
|
|
9
|
+
ds:whenToRemove "".
|
package/definitions/ontology.ttl
CHANGED
|
@@ -104,13 +104,19 @@ ds:Modifier
|
|
|
104
104
|
a owl:Class ;
|
|
105
105
|
rdfs:subClassOf ds:UIElement ;
|
|
106
106
|
rdfs:label "Modifier" ;
|
|
107
|
-
skos:definition "
|
|
107
|
+
skos:definition "An intentional, non-essential (without altering its identity) variation in how a UI block is perceived or understood, without changing what users can do with it." .
|
|
108
108
|
|
|
109
109
|
ds:ModifierFamily
|
|
110
110
|
a owl:Class ;
|
|
111
111
|
rdfs:subClassOf ds:UIElement ;
|
|
112
112
|
rdfs:label "Modifier Family" ;
|
|
113
|
-
skos:definition "A
|
|
113
|
+
skos:definition "A modifier family is the aspect of a UI block whose possible expressions are partitioned by its modifier values." .
|
|
114
|
+
|
|
115
|
+
ds:State
|
|
116
|
+
a owl:Class ;
|
|
117
|
+
rdfs:subClassOf ds:UIElement ;
|
|
118
|
+
rdfs:label "State" ;
|
|
119
|
+
skos:definition "A condition of a UI block that changes or signals the availability, progress or history of its content and actions." .
|
|
114
120
|
|
|
115
121
|
ds:Property
|
|
116
122
|
a owl:Class ;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"types": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "LGPL-3.0",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.47.0",
|
|
8
8
|
"bin": {
|
|
9
9
|
"collect-implementations": "./src/collect-implementations.ts"
|
|
10
10
|
},
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@biomejs/biome": "^2.3.14",
|
|
32
|
-
"@canonical/biome-config": "^0.
|
|
33
|
-
"@canonical/typescript-config": "^0.
|
|
32
|
+
"@canonical/biome-config": "^0.47.0",
|
|
33
|
+
"@canonical/typescript-config": "^0.47.0",
|
|
34
34
|
"@types/bun": "latest",
|
|
35
35
|
"@types/jsonld": "^1.5.15",
|
|
36
36
|
"@types/n3": "^1.26.1",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"vitest": "^5.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@canonical/anatomy-dsl": "^0.
|
|
47
|
-
"@canonical/token-ontology": "^0.
|
|
46
|
+
"@canonical/anatomy-dsl": "^0.47.0",
|
|
47
|
+
"@canonical/token-ontology": "^0.47.0",
|
|
48
48
|
"ajv": "^8.17.1",
|
|
49
49
|
"jsonld": "^9.0.0",
|
|
50
50
|
"n3": "^2.0.1",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"url": "https://github.com/canonical/pragma-core/issues"
|
|
69
69
|
},
|
|
70
70
|
"homepage": "https://github.com/canonical/pragma-core#readme",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "f9c8577bbd5e4657e793b7092c3931102714b8ca"
|
|
72
72
|
}
|
|
@@ -114,9 +114,19 @@ bun add @canonical/styles @canonical/ds-assets
|
|
|
114
114
|
One import of `@canonical/styles` aggregates the normalize/reset, typography, and design
|
|
115
115
|
tokens. Two things come with it:
|
|
116
116
|
|
|
117
|
-
- Cascade layers
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
- Cascade layers — the order is fixed in `@canonical/styles`' `layers.css`, and the
|
|
118
|
+
current statement is
|
|
119
|
+
|
|
120
|
+
```css
|
|
121
|
+
@layer normalize, ds.tokens, ds.reset, ds.typography, ds.modifiers, ds.surfaces,
|
|
122
|
+
ds.states, ds.components, ds.components.global, ds.components.sites,
|
|
123
|
+
ds.components.documentation, ds.components.stores, ds.components.apps, lib, app;
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Component styles beat modifiers beat reset regardless of import order, so
|
|
127
|
+
adopting apps do not fight specificity. `app` is the reserved top layer, for the
|
|
128
|
+
application's own CSS: write your styles in `@layer app { … }` —
|
|
129
|
+
`@canonical/styles` already declares the layer, so there is nothing to add.
|
|
120
130
|
- `color-scheme: light dark` on `:root` — the foundation is theme-aware out of the box.
|
|
121
131
|
|
|
122
132
|
## Which variable to write
|
|
@@ -137,8 +147,8 @@ exist). Filter to what an app may read with `--visibility public`: a variable ma
|
|
|
137
147
|
`variable lookup` takes the name WITHOUT its leading dashes and answers with the
|
|
138
148
|
`- Symbol:` behind it and a `### Declarations` list — one row per declaration, each
|
|
139
149
|
naming the `selector`, the `inAtRule` cascade layer, what it `emits` and the
|
|
140
|
-
`file:line`. The layer in that row is
|
|
141
|
-
|
|
150
|
+
`file:line`. The layer in that row is a name in the install's `@layer` order above,
|
|
151
|
+
so a variable that is not doing what you expect is usually a layer question
|
|
142
152
|
with a visible answer. A name the graph does not know comes back `ENTITY_NOT_FOUND`,
|
|
143
153
|
which is what an app-local property looks like. (MCP: `variable_list`,
|
|
144
154
|
`variable_lookup`.)
|
|
@@ -163,6 +173,25 @@ propose a change to the standard itself. The standards apply even when the app h
|
|
|
163
173
|
pragma dependency, and they are open to contribution: a missing or wrong standard is
|
|
164
174
|
something to propose a change for, not to silently work around.
|
|
165
175
|
|
|
176
|
+
## Read the foundations before writing app CSS
|
|
177
|
+
|
|
178
|
+
The type scale, spacing and grid are documented concepts, and app CSS should be
|
|
179
|
+
written against them rather than rediscovered from the tokens. Read them before the
|
|
180
|
+
first stylesheet edit:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
pragma concept list --search Foundations # the live set of foundation concepts
|
|
184
|
+
pragma concept lookup "Foundations: Typography" # per-tier heading hierarchies
|
|
185
|
+
pragma concept lookup "Foundations: Spacing" # inter- and intra-component spacing
|
|
186
|
+
pragma concept lookup "Foundations: Grid & Layout"
|
|
187
|
+
pragma concept lookup "Foundations: Density & the form channel"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
`concept list` is the live source of concept names — take them from its output, never
|
|
191
|
+
from memory or this list. `concept lookup` answers with the concept's content, which
|
|
192
|
+
carries the per-tier guidance (heading hierarchies, spacing models, grid columns) the
|
|
193
|
+
app's own tier falls under. (MCP: `concept_list`, `concept_lookup { name: [...] }`.)
|
|
194
|
+
|
|
166
195
|
## Fonts before styles
|
|
167
196
|
|
|
168
197
|
Fonts are opt-in and must be imported FIRST. The canonical form, in the root stylesheet:
|
|
@@ -176,6 +205,17 @@ Fonts are opt-in and must be imported FIRST. The canonical form, in the root sty
|
|
|
176
205
|
fonts entry loads Ubuntu Sans as variable fonts, self-hosted from
|
|
177
206
|
`@canonical/ds-assets` via its `@font-face` rules — no external font host.
|
|
178
207
|
|
|
208
|
+
## Bundlers
|
|
209
|
+
|
|
210
|
+
Vite and Bun resolve the bare package specifiers in those two `@import` lines on
|
|
211
|
+
their own, so they need nothing extra. Webpack does not: its css-loader reads the
|
|
212
|
+
`@font-face` URLs inside `@canonical/styles/fonts` as relative paths, and the build
|
|
213
|
+
fails with `Can't resolve './@canonical/ds-assets/fonts/ubuntu-sans/UbuntuSans[wdth,wght].woff2'`.
|
|
214
|
+
Next.js hits the same failure when it builds with webpack (`next build` on Next.js 15
|
|
215
|
+
by default, or `next build --webpack` on Next.js 16). Turbopack handles the import. The
|
|
216
|
+
`NormalModuleReplacementPlugin` workaround is in
|
|
217
|
+
[`@canonical/styles`' "Webpack and Next.js"](https://github.com/canonical/pragma-web/blob/main/packages/styles/main/README.md#webpack-and-nextjs).
|
|
218
|
+
|
|
179
219
|
## Declare the surface: context and density classes
|
|
180
220
|
|
|
181
221
|
The density system is class-driven, and it starts at the root. The app's root element
|
|
@@ -271,8 +311,9 @@ imported preview.
|
|
|
271
311
|
value on a class-less root passes visual inspection and still fails this check
|
|
272
312
|
on non-app surfaces.
|
|
273
313
|
- [ ] `/icons/<name>.svg` returns 200 with SVG content, and an icon visibly renders.
|
|
274
|
-
- [ ] The `@layer
|
|
275
|
-
|
|
314
|
+
- [ ] The served CSS's `@layer` statement starts with `normalize` and ends with
|
|
315
|
+
`lib, app` — check it against `@canonical/styles`' `layers.css`, not a fixed
|
|
316
|
+
short list.
|
|
276
317
|
- [ ] Typography baseline behaves. Note: the baseline grid is computed with the CSS
|
|
277
318
|
`mod()` function and cannot be downleveled — check the support table in the
|
|
278
319
|
`@canonical/styles-typography` README against the browsers you target.
|