@canonical/design-system 0.1.0 → 0.1.2
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/.github/ISSUE_TEMPLATE/propose-changes-to-existing-ui-block.md +14 -0
- package/.github/ISSUE_TEMPLATE/propose-new-ui-block.md +26 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +13 -0
- package/.github/workflows/ci.yml +39 -0
- package/.github/workflows/sync-coda-manual.yml +12 -0
- package/.github/workflows/sync-coda-scheduled.yml +13 -0
- package/.github/workflows/sync-coda.yml +38 -0
- package/.mcp.json +6 -2
- package/GEMINI.md +2 -0
- package/README.md +71 -51
- package/biome.json +1 -1
- package/bun.lock +38 -35
- package/data/apps/component/file_tree.ttl +6 -7
- package/data/apps/component/key_value_pair.ttl +6 -7
- package/data/apps/component/navigation.ttl +6 -7
- package/data/apps/component/notification.ttl +7 -0
- package/data/apps/component/skeleton_loading.ttl +6 -7
- package/data/apps/component/status_bar.ttl +6 -7
- package/data/apps/component/toolbar.ttl +6 -7
- package/data/apps/group/notifications.ttl +7 -0
- package/data/apps/layout/application_layout.ttl +8 -7
- package/data/apps/layout/content_layout.ttl +9 -0
- package/data/apps/layout/empty_layout.ttl +6 -7
- package/data/apps/layout/list_page_layout.ttl +6 -7
- package/data/apps/layout/settings_page_layout.ttl +6 -7
- package/data/apps/layout/view_layout.ttl +9 -0
- package/data/apps/pattern/code_diff.ttl +6 -7
- package/data/apps/pattern/data_table.ttl +6 -7
- package/data/apps/pattern/destructive_modal.ttl +6 -7
- package/data/apps/pattern/key_value_summary.ttl +6 -7
- package/data/apps/pattern/keyboard_shortcuts.ttl +6 -7
- package/data/apps/pattern/notification_center.ttl +6 -7
- package/data/apps/pattern/side_panel.ttl +6 -7
- package/data/apps/pattern/sidepanel_stacked.ttl +6 -7
- package/data/apps/subcomponent/file_tree-node.ttl +7 -0
- package/data/apps.ttl +3 -4
- package/data/apps_anbox/component/copy_to_clipboard.ttl +7 -0
- package/data/apps_anbox/pattern/side_menu.ttl +13 -0
- package/data/apps_anbox.ttl +4 -0
- package/data/apps_juju/pattern/single_select_multi_layered.ttl +7 -0
- package/data/apps_juju.ttl +4 -0
- package/data/apps_landscape/component/password_constraints.ttl +32 -0
- package/data/apps_landscape.ttl +4 -0
- package/data/apps_launchpad/component/badge.ttl +23 -0
- package/data/apps_launchpad/component/breadcrumbs.ttl +14 -0
- package/data/apps_launchpad/component/button.ttl +35 -0
- package/data/apps_launchpad/component/checkbox.ttl +28 -0
- package/data/apps_launchpad/component/chip.ttl +42 -0
- package/data/apps_launchpad/component/combobox.ttl +52 -0
- package/data/apps_launchpad/component/description_list.ttl +13 -0
- package/data/apps_launchpad/component/radio.ttl +34 -0
- package/data/apps_launchpad/component/select.ttl +34 -0
- package/data/apps_launchpad/component/switch.ttl +21 -0
- package/data/apps_launchpad/component/text_input.ttl +36 -0
- package/data/apps_launchpad/component/textarea.ttl +35 -0
- package/data/apps_launchpad/component/tooltip.ttl +28 -0
- package/data/apps_launchpad/component/user_avatar.ttl +25 -0
- package/data/apps_launchpad/subcomponent/combobox-checkbox_option.ttl +29 -0
- package/data/apps_launchpad/subcomponent/combobox-footer.ttl +13 -0
- package/data/apps_launchpad/subcomponent/combobox-group.ttl +20 -0
- package/data/apps_launchpad/subcomponent/combobox-helper.ttl +19 -0
- package/data/apps_launchpad/subcomponent/combobox-loading.ttl +13 -0
- package/data/apps_launchpad/subcomponent/combobox-no_results.ttl +13 -0
- package/data/apps_launchpad/subcomponent/combobox-radio_option.ttl +29 -0
- package/data/apps_launchpad/subcomponent/combobox-search.ttl +22 -0
- package/data/apps_launchpad/subcomponent/description_list-item.ttl +19 -0
- package/data/apps_launchpad.ttl +4 -0
- package/data/apps_lxd/component/confirmation_checkbox.ttl +7 -0
- package/data/apps_lxd/component/copy_to_clipboard.ttl +7 -0
- package/data/apps_lxd/view/network_topology.ttl +7 -0
- package/data/apps_lxd.ttl +4 -0
- package/data/apps_portal/component/badge.ttl +7 -0
- package/data/apps_portal.ttl +4 -0
- package/data/apps_workplace/component/label-highlight.ttl +7 -0
- package/data/apps_workplace.ttl +4 -0
- package/data/apps_wpe.ttl +3 -4
- package/data/documentation/layout/documentation_layout.ttl +6 -7
- package/data/documentation/pattern/library_side_navigation.ttl +7 -0
- package/data/documentation.ttl +3 -4
- package/data/global/component/accordion.ttl +11 -12
- package/data/global/component/announcement.ttl +6 -7
- package/data/global/component/badge.ttl +7 -8
- package/data/global/component/breadcrumbs.ttl +13 -0
- package/data/global/component/button.ttl +29 -17
- package/data/global/component/button_link.ttl +7 -0
- package/data/global/component/card.ttl +6 -7
- package/data/global/component/chip.ttl +6 -7
- package/data/global/component/code.ttl +7 -0
- package/data/global/component/code_snippet-content.ttl +7 -0
- package/data/global/component/code_snippet-header.ttl +7 -0
- package/data/global/component/code_snippet.ttl +6 -7
- package/data/global/component/contextual_menu.ttl +6 -7
- package/data/global/component/heading.ttl +12 -12
- package/data/global/component/icon.ttl +12 -12
- package/data/global/component/icon_in_container.ttl +6 -7
- package/data/global/component/keyboard_key.ttl +6 -7
- package/data/global/component/label.ttl +12 -13
- package/data/global/component/notification_inline.ttl +6 -7
- package/data/global/component/notification_toast.ttl +6 -7
- package/data/global/component/pagination.ttl +6 -7
- package/data/global/component/popover.ttl +6 -7
- package/data/global/component/rich_text_editor.ttl +6 -7
- package/data/global/component/search_bar.ttl +6 -7
- package/data/global/component/table.ttl +6 -7
- package/data/global/component/tabs.ttl +6 -7
- package/data/global/component/theme_switcher.ttl +6 -7
- package/data/global/component/tile.ttl +11 -12
- package/data/global/component/tooltip.ttl +201 -7
- package/data/global/group/buttons.ttl +6 -7
- package/data/global/group/cards.ttl +6 -7
- package/data/global/group/code_snippets.ttl +7 -0
- package/data/global/group/keyboard_keys.ttl +7 -0
- package/data/global/group/tiles.ttl +6 -7
- package/data/global/layout/error_layout.ttl +6 -7
- package/data/global/layout/form_layout.ttl +6 -7
- package/data/global/layout/identity_page_form.ttl +6 -7
- package/data/global/modifier/alpha.ttl +5 -5
- package/data/global/modifier/beta.ttl +5 -5
- package/data/global/modifier/caution.ttl +5 -5
- package/data/global/modifier/comfortable.ttl +5 -5
- package/data/global/modifier/completed.ttl +5 -5
- package/data/global/modifier/constructive.ttl +5 -5
- package/data/global/modifier/dark.ttl +5 -5
- package/data/global/modifier/dense.ttl +5 -5
- package/data/global/modifier/destructive.ttl +5 -5
- package/data/global/modifier/editable.ttl +5 -5
- package/data/global/modifier/elevated.ttl +5 -5
- package/data/global/modifier/error.ttl +5 -5
- package/data/global/modifier/experimental.ttl +5 -5
- package/data/global/modifier/failed.ttl +5 -5
- package/data/global/modifier/focused.ttl +5 -5
- package/data/global/modifier/highlighted.ttl +5 -5
- package/data/global/modifier/in_progress.ttl +5 -5
- package/data/global/modifier/information.ttl +5 -5
- package/data/global/modifier/light.ttl +5 -5
- package/data/global/modifier/loading.ttl +5 -5
- package/data/global/modifier/muted.ttl +5 -5
- package/data/global/modifier/paper.ttl +5 -5
- package/data/global/modifier/planned.ttl +5 -5
- package/data/global/modifier/primary.ttl +5 -5
- package/data/global/modifier/secondary.ttl +5 -5
- package/data/global/modifier/stable.ttl +5 -5
- package/data/global/modifier/success.ttl +5 -5
- package/data/global/modifier/tertiary.ttl +5 -5
- package/data/global/modifier/warning.ttl +5 -5
- package/data/global/modifier/wireframe.ttl +5 -5
- package/data/global/modifier_family/_color_luminosity.ttl +5 -6
- package/data/global/modifier_family/_emphasis.ttl +5 -6
- package/data/global/modifier_family/_other.ttl +5 -6
- package/data/global/modifier_family/anticipation.ttl +5 -6
- package/data/global/modifier_family/criticality.ttl +5 -6
- package/data/global/modifier_family/density.ttl +5 -6
- package/data/global/modifier_family/importance.ttl +5 -6
- package/data/global/modifier_family/lifecycle.ttl +5 -6
- package/data/global/modifier_family/release.ttl +5 -6
- package/data/global/pattern/dropdown_button.ttl +7 -0
- package/data/global/pattern/info_table.ttl +6 -7
- package/data/global/pattern/modal.ttl +6 -7
- package/data/global/pattern/navigation.ttl +6 -7
- package/data/global/pattern/stepper.ttl +6 -7
- package/data/global/pattern/table_of_contents.ttl +6 -7
- package/data/global/pattern/timeline.ttl +64 -12
- package/data/global/subcomponent/accordion-item.ttl +15 -16
- package/data/global/subcomponent/breadcrumbs-item.ttl +15 -16
- package/data/global/subcomponent/card-content.ttl +11 -12
- package/data/global/subcomponent/card-header.ttl +11 -12
- package/data/global/subcomponent/card-image.ttl +16 -17
- package/data/global/subcomponent/card-thumbnail.ttl +7 -0
- package/data/global/subcomponent/divider.ttl +6 -7
- package/data/global/subcomponent/modal-content.ttl +6 -7
- package/data/global/subcomponent/modal-footer.ttl +6 -7
- package/data/global/subcomponent/modal-header.ttl +6 -7
- package/data/global/subcomponent/spinner.ttl +6 -7
- package/data/global/subcomponent/table-cell.ttl +6 -7
- package/data/global/subcomponent/table-row.ttl +6 -7
- package/data/global/subcomponent/tile-content.ttl +11 -12
- package/data/global/subcomponent/tile-header.ttl +11 -12
- package/data/global/subcomponent/timeline-content.ttl +11 -12
- package/data/global/subcomponent/timeline-event.ttl +42 -27
- package/data/global/subcomponent/timeline-expansion_indicator.ttl +7 -0
- package/data/global/subcomponent/timeline-header.ttl +6 -7
- package/data/global/view/settings_view.ttl +7 -0
- package/data/global.ttl +3 -4
- package/data/global_form/component/checkbox_input.ttl +6 -7
- package/data/global_form/component/choices_input.ttl +6 -7
- package/data/global_form/component/combobox_input.ttl +6 -7
- package/data/global_form/component/custom_choices_input.ttl +6 -7
- package/data/global_form/component/datepicker_input.ttl +6 -7
- package/data/global_form/component/rating_input.ttl +6 -7
- package/data/global_form/component/rich_text_input.ttl +7 -0
- package/data/global_form/component/segmented_control_input.ttl +6 -7
- package/data/global_form/component/slider_input.ttl +6 -7
- package/data/global_form/component/switch_input.ttl +6 -7
- package/data/global_form/component/text_input.ttl +6 -7
- package/data/global_form/component/textarea_input.ttl +6 -7
- package/data/global_form/component/wysiwginput.ttl +6 -7
- package/data/global_form/pattern/field.ttl +6 -7
- package/data/global_form/pattern/form.ttl +6 -7
- package/data/global_form/subcomponent/field-description.ttl +6 -7
- package/data/global_form/subcomponent/field-label.ttl +6 -7
- package/data/global_form.ttl +3 -4
- package/data/site/component/blog_card.ttl +7 -0
- package/data/site/component/quote.ttl +6 -7
- package/data/site/component/rule.ttl +6 -7
- package/data/site/component/section.ttl +6 -7
- package/data/site/group/blog_cards.ttl +7 -0
- package/data/site/layout/blog_page_layout.ttl +7 -0
- package/data/site/layout/case_study_layout.ttl +7 -0
- package/data/site/layout/site_layout.ttl +6 -7
- package/data/site/pattern/hero-github.ttl +6 -7
- package/data/site/pattern/hero.ttl +6 -7
- package/data/site/pattern/info_table.ttl +6 -7
- package/data/site/pattern/pricing_section.ttl +7 -0
- package/data/site/pattern/pricing_table.ttl +7 -0
- package/data/site/pattern/read_more_section.ttl +7 -0
- package/data/site/pattern/skip_link.ttl +6 -7
- package/data/site.ttl +3 -4
- package/data/sites_webcomponentsprototype/component/blog_cards.ttl +7 -0
- package/data/sites_webcomponentsprototype/component/ctablock.ttl +7 -0
- package/data/sites_webcomponentsprototype/component/list.ttl +7 -0
- package/data/sites_webcomponentsprototype/component/tabs.ttl +7 -0
- package/data/sites_webcomponentsprototype/layout/site_layout.ttl +8 -0
- package/data/sites_webcomponentsprototype/pattern/basic_section.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/blog_section.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/ctasection.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/equal_heights.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/hero.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/logo_section.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/quote_wrapper.ttl +7 -0
- package/data/sites_webcomponentsprototype/pattern/tiered_list.ttl +7 -0
- package/data/sites_webcomponentsprototype.ttl +4 -0
- package/data/stores.ttl +3 -4
- package/definitions/ontology.ttl +132 -171
- package/package.json +8 -8
- package/skills/anatomy-author/SKILL.md +14 -9
- package/skills/component-specifier/SKILL.md +84 -85
- package/skills/design-auditor/SKILL.md +50 -45
- package/source.json +40 -33
- package/src/cli.ts +33 -33
- package/src/collect/generateTurtle.tests.ts +181 -193
- package/src/collect/generateTurtle.ts +189 -138
- package/src/collect/index.ts +5 -2
- package/src/collect/scanAnnotations.tests.ts +116 -110
- package/src/collect/scanAnnotations.ts +35 -33
- package/src/collect/types.ts +34 -33
- package/src/collect/validateCollectConfig.tests.ts +135 -112
- package/src/collect/validateCollectConfig.ts +60 -54
- package/src/collect-implementations.ts +101 -88
- package/src/commands/extract.tests.ts +31 -32
- package/src/commands/extract.ts +29 -27
- package/src/commands/index.ts +1 -1
- package/src/commands/list.tests.ts +13 -14
- package/src/commands/list.ts +9 -9
- package/src/commands/transform.tests.ts +21 -21
- package/src/commands/transform.ts +127 -99
- package/src/config/source.schema.json +9 -0
- package/src/config/types.ts +40 -33
- package/src/config/validateConfig.tests.ts +31 -31
- package/src/config/validateConfig.ts +9 -9
- package/src/constants.ts +7 -9
- package/src/graph/GraphStore.tests.ts +111 -111
- package/src/graph/GraphStore.ts +205 -189
- package/src/graph/PrefixMap.tests.ts +124 -122
- package/src/graph/PrefixMap.ts +77 -77
- package/src/graph/buildUri.tests.ts +119 -106
- package/src/graph/buildUri.ts +47 -35
- package/src/graph/index.ts +2 -2
- package/src/graph/types.ts +3 -3
- package/src/providers/CodaProvider.tests.ts +233 -233
- package/src/providers/CodaProvider.ts +145 -145
- package/src/providers/CodaProvider.types.generated.ts +12484 -12123
- package/src/providers/index.ts +13 -13
- package/src/serializers/JSONSerializer.tests.ts +65 -68
- package/src/serializers/JSONSerializer.ts +51 -51
- package/src/serializers/TTLSerializer.tests.ts +46 -48
- package/src/serializers/TTLSerializer.ts +66 -59
- package/src/serializers/index.ts +4 -1
- package/src/serializers/types.ts +3 -3
- package/src/transform/resolveReferences.tests.ts +47 -43
- package/src/transform/resolveReferences.ts +18 -18
- package/src/transform/resolveValue.tests.ts +55 -49
- package/src/transform/resolveValue.ts +48 -48
- package/src/transform/transform.tests.ts +90 -79
- package/src/transform/transform.ts +77 -75
- package/src/transform/transformRow.tests.ts +373 -258
- package/src/transform/transformRow.ts +228 -173
- package/src/transform/types.ts +4 -4
- package/tsconfig.json +2 -1
- package/data/global/component/link.ttl +0 -8
- package/data/global/pattern/breadcrumbs.ttl +0 -14
- package/data/global/pattern/select_button.ttl +0 -8
- package/data/global/subcomponent/timeline-footer.ttl +0 -8
- package/session/A.DSL.md +0 -429
- package/session/B.NOTES.md +0 -84
- package/session/global.component.accordion.yaml +0 -13
- package/session/global.component.button.yaml +0 -26
- package/session/global.component.card.yaml +0 -24
- package/session/global.component.icon.yaml +0 -7
- package/session/global.component.label.yaml +0 -7
- package/session/global.component.tile.yaml +0 -21
- package/session/global.component.timeline.yaml +0 -20
- package/session/global.pattern.breadcrumbs.yaml +0 -13
- package/session/global.subcomponent.accordion-item.yaml +0 -37
- package/session/global.subcomponent.breadcrumbs-item.yaml +0 -21
- package/session/global.subcomponent.card-content.yaml +0 -7
- package/session/global.subcomponent.card-header.yaml +0 -22
- package/session/global.subcomponent.card-image.yaml +0 -7
- package/session/global.subcomponent.tile-content.yaml +0 -7
- package/session/global.subcomponent.tile-header.yaml +0 -8
- package/session/global.subcomponent.timeline-content.yaml +0 -13
- package/session/global.subcomponent.timeline-event.yaml +0 -20
- package/session/global.subcomponent.timeline-footer.yaml +0 -9
- package/session/global.subcomponent.timeline-header.yaml +0 -18
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Propose changes to existing UI Block
|
|
3
|
+
about: Contribute changes to a component or pattern
|
|
4
|
+
title: "[UI block amendment]"
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## UI Block to amend
|
|
11
|
+
Mention the component or pattern in question and describe the issue you were facing and how your proposed changes solve the problem.
|
|
12
|
+
|
|
13
|
+
## Visual
|
|
14
|
+
Provide a screenshot or link to a prototype of your component or pattern amendment.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Propose new UI Block
|
|
3
|
+
about: Contribute new component or pattern
|
|
4
|
+
title: "[New UI Block]"
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Getting started
|
|
11
|
+
Before you fill in this template check if the proposed UI block -component or pattern, already exists [here](https://coda.io/d/Design-System-Database_dNyzE_TLZDh/per-Tier_suu2dwwx#UI-Blocks-per-Tier_tus7JmYw).
|
|
12
|
+
|
|
13
|
+
A component in Pragma needs to be flexible enough that it can be used across a wide range of scenarios and shouldn't be constrained to a specific number of applications.
|
|
14
|
+
|
|
15
|
+
## Visual
|
|
16
|
+
Provide a screenshot or link to a prototype of your UI block proposal.
|
|
17
|
+
|
|
18
|
+
## Context
|
|
19
|
+
Where and when might this UI block be used?
|
|
20
|
+
|
|
21
|
+
## State
|
|
22
|
+
Does this UI block have states? If so, what are the different states (e.g. accordion with closed/open states)?
|
|
23
|
+
|
|
24
|
+
## Progressive enhancement
|
|
25
|
+
A UI block should be designed small screen first. How does this scale up?
|
|
26
|
+
How will this degrade on less competent browsers?
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
|
|
3
|
+
[What this PR does and why]
|
|
4
|
+
|
|
5
|
+
## QA
|
|
6
|
+
|
|
7
|
+
- [Add QA steps]
|
|
8
|
+
|
|
9
|
+
### Checklist
|
|
10
|
+
|
|
11
|
+
- [ ] PR title follows [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format
|
|
12
|
+
- [ ] Code follows the [code standards](https://github.com/canonical/code-standards)
|
|
13
|
+
- [ ] `check`, `test` pass locally
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
pull-requests: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
check:
|
|
14
|
+
name: Lint and type-check
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- uses: oven-sh/setup-bun@v2
|
|
19
|
+
- run: bun install --frozen-lockfile
|
|
20
|
+
- run: bun run check
|
|
21
|
+
- run: bun run check:ts
|
|
22
|
+
|
|
23
|
+
test:
|
|
24
|
+
name: Test
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@v4
|
|
28
|
+
- uses: oven-sh/setup-bun@v2
|
|
29
|
+
- run: bun install --frozen-lockfile
|
|
30
|
+
- run: bun run test
|
|
31
|
+
|
|
32
|
+
pr-lint:
|
|
33
|
+
name: Validate PR title
|
|
34
|
+
if: github.event_name == 'pull_request'
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
steps:
|
|
37
|
+
- uses: amannn/action-semantic-pull-request@v6
|
|
38
|
+
env:
|
|
39
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: Sync Coda data
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
inputs:
|
|
6
|
+
trigger:
|
|
7
|
+
description: "Trigger label for commit message (e.g. Scheduled, Manual)"
|
|
8
|
+
required: true
|
|
9
|
+
type: string
|
|
10
|
+
secrets:
|
|
11
|
+
CODA_API_KEY:
|
|
12
|
+
required: true
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
sync:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- uses: oven-sh/setup-bun@v2
|
|
21
|
+
|
|
22
|
+
- run: bun install
|
|
23
|
+
|
|
24
|
+
- run: bun run build
|
|
25
|
+
env:
|
|
26
|
+
CODA_API_KEY: ${{ secrets.CODA_API_KEY }}
|
|
27
|
+
|
|
28
|
+
- name: Commit and push changes
|
|
29
|
+
run: |
|
|
30
|
+
git config user.name "github-actions[bot]"
|
|
31
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
32
|
+
git add data/
|
|
33
|
+
if git diff --cached --quiet; then
|
|
34
|
+
echo "No changes to commit"
|
|
35
|
+
else
|
|
36
|
+
git commit -m "[CI][${{ inputs.trigger }}] Sync data from Coda"
|
|
37
|
+
git push
|
|
38
|
+
fi
|
package/.mcp.json
CHANGED
package/GEMINI.md
ADDED
package/README.md
CHANGED
|
@@ -26,16 +26,15 @@ Components are organized by **Tiers** (scope/applicability) and can be customize
|
|
|
26
26
|
### 2. Defining a Component
|
|
27
27
|
|
|
28
28
|
```turtle
|
|
29
|
-
@prefix
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
ds:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
dso:whenNotToUse "For navigation - use links instead" .
|
|
29
|
+
@prefix ds: <https://ds.canonical.com/> .
|
|
30
|
+
|
|
31
|
+
ds:global.component.button a ds:Component ;
|
|
32
|
+
ds:name "Button" ;
|
|
33
|
+
ds:summary "Buttons trigger actions within an interface" ;
|
|
34
|
+
ds:tier ds:global ;
|
|
35
|
+
ds:hasModifierFamily ds:global.modifier_family.importance ;
|
|
36
|
+
ds:whenToUse "For primary actions that transform or submit data" ;
|
|
37
|
+
ds:whenNotToUse "For navigation - use links instead" .
|
|
39
38
|
```
|
|
40
39
|
|
|
41
40
|
### 3. Tiered Organization
|
|
@@ -57,14 +56,14 @@ Components belong to tiers that define their scope:
|
|
|
57
56
|
Modifiers provide systematic variation through **ModifierFamilies**:
|
|
58
57
|
|
|
59
58
|
```turtle
|
|
60
|
-
ds:global.modifier_family.importance a
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
ds:global.modifier_family.importance a ds:ModifierFamily ;
|
|
60
|
+
ds:name "Importance" ;
|
|
61
|
+
ds:hasModifier ds:global.modifier.primary,
|
|
63
62
|
ds:global.modifier.secondary,
|
|
64
63
|
ds:global.modifier.tertiary .
|
|
65
64
|
|
|
66
65
|
ds:global.component.button
|
|
67
|
-
|
|
66
|
+
ds:hasModifierFamily ds:global.modifier_family.importance .
|
|
68
67
|
```
|
|
69
68
|
|
|
70
69
|
Available modifier families:
|
|
@@ -87,15 +86,14 @@ Available modifier families:
|
|
|
87
86
|
5. Add usage guidelines (whenToUse, whenNotToUse)
|
|
88
87
|
|
|
89
88
|
```turtle
|
|
90
|
-
@prefix
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
ds:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
dso:figmaLink <https://figma.com/file/...> .
|
|
89
|
+
@prefix ds: <https://ds.canonical.com/> .
|
|
90
|
+
|
|
91
|
+
ds:apps.component.file_tree a ds:Component ;
|
|
92
|
+
ds:name "FileTree" ;
|
|
93
|
+
ds:summary "Hierarchical file browser for navigating directory structures" ;
|
|
94
|
+
ds:tier ds:apps ;
|
|
95
|
+
ds:whenToUse "When users need to navigate nested file hierarchies" ;
|
|
96
|
+
ds:figmaLink <https://figma.com/file/...> .
|
|
99
97
|
```
|
|
100
98
|
|
|
101
99
|
### How to Define a Layout
|
|
@@ -103,12 +101,12 @@ ds:apps.component.file_tree a dso:Component ;
|
|
|
103
101
|
Layouts define how space is divided for a domain of information:
|
|
104
102
|
|
|
105
103
|
```turtle
|
|
106
|
-
ds:apps.layout.sidebar a
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
104
|
+
ds:apps.layout.sidebar a ds:Layout ;
|
|
105
|
+
ds:name "Sidebar Layout" ;
|
|
106
|
+
ds:domain "Application navigation" ;
|
|
107
|
+
ds:grid "1fr 4fr" ;
|
|
108
|
+
ds:gridAreas "sidebar main" ;
|
|
109
|
+
ds:targetDevices "desktop, tablet" .
|
|
112
110
|
```
|
|
113
111
|
|
|
114
112
|
### How to Create a Pattern
|
|
@@ -116,12 +114,12 @@ ds:apps.layout.sidebar a dso:Layout ;
|
|
|
116
114
|
Patterns are reusable solutions to UX problems:
|
|
117
115
|
|
|
118
116
|
```turtle
|
|
119
|
-
ds:global.pattern.empty_state a
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
117
|
+
ds:global.pattern.empty_state a ds:Pattern ;
|
|
118
|
+
ds:name "Empty State" ;
|
|
119
|
+
ds:summary "Guidance shown when a container has no content" ;
|
|
120
|
+
ds:tier ds:global ;
|
|
121
|
+
ds:whenToUse "When a list, table, or container is empty" ;
|
|
122
|
+
ds:guidelines "Include illustration, message, and action" .
|
|
125
123
|
```
|
|
126
124
|
|
|
127
125
|
### How to Model Component Composition
|
|
@@ -129,10 +127,10 @@ ds:global.pattern.empty_state a dso:Pattern ;
|
|
|
129
127
|
Use subcomponents for parts that belong to a parent:
|
|
130
128
|
|
|
131
129
|
```turtle
|
|
132
|
-
ds:global.subcomponent.button_icon a
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
130
|
+
ds:global.subcomponent.button_icon a ds:Subcomponent ;
|
|
131
|
+
ds:name "Button Icon" ;
|
|
132
|
+
ds:parentComponent ds:global.component.button ;
|
|
133
|
+
ds:standalone false .
|
|
136
134
|
```
|
|
137
135
|
|
|
138
136
|
### How to Query the Design System
|
|
@@ -141,13 +139,13 @@ Using sem tools:
|
|
|
141
139
|
|
|
142
140
|
```bash
|
|
143
141
|
# Find all global components
|
|
144
|
-
sem lookup
|
|
142
|
+
sem lookup ds:Component --filter 'tier=ds:global'
|
|
145
143
|
|
|
146
144
|
# Get context for a specific component
|
|
147
145
|
sem context ds:global.component.button
|
|
148
146
|
|
|
149
147
|
# Find components using a modifier family
|
|
150
|
-
sem sparql "SELECT ?c WHERE { ?c
|
|
148
|
+
sem sparql "SELECT ?c WHERE { ?c ds:hasModifierFamily ds:global.modifier_family.criticality }"
|
|
151
149
|
```
|
|
152
150
|
|
|
153
151
|
---
|
|
@@ -278,8 +276,7 @@ design-system/
|
|
|
278
276
|
### Namespaces
|
|
279
277
|
|
|
280
278
|
```turtle
|
|
281
|
-
@prefix
|
|
282
|
-
@prefix ds: <https://ds.canonical.com/data/> . # Instances (ABox)
|
|
279
|
+
@prefix ds: <https://ds.canonical.com/> . # Unified namespace for ontology and instances
|
|
283
280
|
```
|
|
284
281
|
|
|
285
282
|
### URI Convention
|
|
@@ -391,18 +388,18 @@ The collector generates two Turtle files in the configured output directory:
|
|
|
391
388
|
|
|
392
389
|
1. **`implementationLibrary.ttl`** - Defines the implementation library:
|
|
393
390
|
```turtle
|
|
394
|
-
lib:my-component-library a
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
391
|
+
lib:my-component-library a ds:ImplementationLibrary ;
|
|
392
|
+
ds:name "my-component-library" ;
|
|
393
|
+
ds:platform "react" ;
|
|
394
|
+
ds:link <https://github.com/org/my-library> .
|
|
398
395
|
```
|
|
399
396
|
|
|
400
397
|
2. **`implementationObjects.ttl`** - Links each annotated file to its spec:
|
|
401
398
|
```turtle
|
|
402
|
-
lib:my-component-library.button a
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
399
|
+
lib:my-component-library.button a ds:ImplementationObject ;
|
|
400
|
+
ds:implementsBlock ds:global.component.button ;
|
|
401
|
+
ds:library lib:my-component-library ;
|
|
402
|
+
ds:sourceFile "src/components/Button.tsx" .
|
|
406
403
|
```
|
|
407
404
|
|
|
408
405
|
### Example Workflow
|
|
@@ -428,6 +425,29 @@ bun ~/code/cn/design-system/src/collect-implementations.ts
|
|
|
428
425
|
|
|
429
426
|
---
|
|
430
427
|
|
|
428
|
+
## CI: Automated Coda Sync
|
|
429
|
+
|
|
430
|
+
Two GitHub Actions workflows keep the design system data in sync with Coda:
|
|
431
|
+
|
|
432
|
+
- **Scheduled** — runs daily at 06:00 UTC
|
|
433
|
+
- **Manual** — trigger from the Actions tab via "Run workflow"
|
|
434
|
+
|
|
435
|
+
Both run `bun run build` (extract + transform) and commit any changes to `data/`.
|
|
436
|
+
|
|
437
|
+
### Setting up the Coda API token
|
|
438
|
+
|
|
439
|
+
1. Go to <https://coda.io/account>
|
|
440
|
+
2. Scroll to **API settings**
|
|
441
|
+
3. Click **Generate API token**
|
|
442
|
+
4. Name it `ci-access-token`
|
|
443
|
+
5. Add a restriction:
|
|
444
|
+
- Type: **Doc or table**
|
|
445
|
+
- Access: **Read only**
|
|
446
|
+
- Doc ID: the full `_d`-prefixed value from the Coda URL — for example, given `https://coda.io/d/Design-System-Database_dNyzE_TLZDh/`, the ID is `_dNyzE_TLZDh`. Verify by navigating to `https://coda.io/d/_dNyzE_TLZDh`
|
|
447
|
+
6. Copy the token, then in your GitHub repo go to **Settings > Secrets and variables > Actions** and create a secret named `CODA_API_KEY` with the token value
|
|
448
|
+
|
|
449
|
+
---
|
|
450
|
+
|
|
431
451
|
## Version
|
|
432
452
|
|
|
433
453
|
0.1.0 - Initial release with component/pattern/layout hierarchy, tier organization, and modifier system
|
package/biome.json
CHANGED
package/bun.lock
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"lockfileVersion": 1,
|
|
3
|
+
"configVersion": 0,
|
|
3
4
|
"workspaces": {
|
|
4
5
|
"": {
|
|
5
6
|
"name": "design-system",
|
|
6
7
|
"dependencies": {
|
|
7
8
|
"ajv": "^8.17.1",
|
|
8
9
|
"jsonld": "^9.0.0",
|
|
9
|
-
"n3": "^
|
|
10
|
+
"n3": "^2.0.1",
|
|
10
11
|
},
|
|
11
12
|
"devDependencies": {
|
|
12
|
-
"@biomejs/biome": "^2.3.
|
|
13
|
-
"@canonical/biome-config": "^0.
|
|
14
|
-
"@canonical/typescript-config-react": "^0.
|
|
13
|
+
"@biomejs/biome": "^2.3.14",
|
|
14
|
+
"@canonical/biome-config": "^0.12.0",
|
|
15
|
+
"@canonical/typescript-config-react": "^0.12.0",
|
|
15
16
|
"@types/bun": "latest",
|
|
16
17
|
"@types/jsonld": "^1.5.15",
|
|
17
18
|
"@types/n3": "^1.26.1",
|
|
18
|
-
"openapi-typescript": "^7.
|
|
19
|
-
"vite-tsconfig-paths": "^
|
|
20
|
-
"vitest": "^4.0.
|
|
19
|
+
"openapi-typescript": "^7.12.0",
|
|
20
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
21
|
+
"vitest": "^4.0.18",
|
|
21
22
|
},
|
|
22
23
|
},
|
|
23
24
|
},
|
|
@@ -26,29 +27,29 @@
|
|
|
26
27
|
|
|
27
28
|
"@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.28.5", "", {}, "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q=="],
|
|
28
29
|
|
|
29
|
-
"@biomejs/biome": ["@biomejs/biome@2.
|
|
30
|
+
"@biomejs/biome": ["@biomejs/biome@2.4.8", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.4.8", "@biomejs/cli-darwin-x64": "2.4.8", "@biomejs/cli-linux-arm64": "2.4.8", "@biomejs/cli-linux-arm64-musl": "2.4.8", "@biomejs/cli-linux-x64": "2.4.8", "@biomejs/cli-linux-x64-musl": "2.4.8", "@biomejs/cli-win32-arm64": "2.4.8", "@biomejs/cli-win32-x64": "2.4.8" }, "bin": { "biome": "bin/biome" } }, "sha512-ponn0oKOky1oRXBV+rlSaUlixUxf1aZvWC19Z41zBfUOUesthrQqL3OtiAlSB1EjFjyWpn98Q64DHelhA6jNlA=="],
|
|
30
31
|
|
|
31
|
-
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.
|
|
32
|
+
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.4.8", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ARx0tECE8I7S2C2yjnWYLNbBdDoPdq3oyNLhMglmuctThwUsuzFWRKrHmIGwIRWKz0Mat9DuzLEDp52hGnrxGQ=="],
|
|
32
33
|
|
|
33
|
-
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.
|
|
34
|
+
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.4.8", "", { "os": "darwin", "cpu": "x64" }, "sha512-Jg9/PsB9vDCJlANE8uhG7qDhb5w0Ix69D7XIIc8IfZPUoiPrbLm33k2Ig3NOJ/7nb3UbesFz3D1aDKm9DvzjhQ=="],
|
|
34
35
|
|
|
35
|
-
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.
|
|
36
|
+
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.4.8", "", { "os": "linux", "cpu": "arm64" }, "sha512-5CdrsJct76XG2hpKFwXnEtlT1p+4g4yV+XvvwBpzKsTNLO9c6iLlAxwcae2BJ7ekPGWjNGw9j09T5KGPKKxQig=="],
|
|
36
37
|
|
|
37
|
-
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.
|
|
38
|
+
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.4.8", "", { "os": "linux", "cpu": "arm64" }, "sha512-Zo9OhBQDJ3IBGPlqHiTISloo5H0+FBIpemqIJdW/0edJ+gEcLR+MZeZozcUyz3o1nXkVA7++DdRKQT0599j9jA=="],
|
|
38
39
|
|
|
39
|
-
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.
|
|
40
|
+
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.4.8", "", { "os": "linux", "cpu": "x64" }, "sha512-PdKXspVEaMCQLjtZCn6vfSck/li4KX9KGwSDbZdgIqlrizJ2MnMcE3TvHa2tVfXNmbjMikzcfJpuPWH695yJrw=="],
|
|
40
41
|
|
|
41
|
-
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.
|
|
42
|
+
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.4.8", "", { "os": "linux", "cpu": "x64" }, "sha512-Gi8quv8MEuDdKaPFtS2XjEnMqODPsRg6POT6KhoP+VrkNb+T2ywunVB+TvOU0LX1jAZzfBr+3V1mIbBhzAMKvw=="],
|
|
42
43
|
|
|
43
|
-
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.
|
|
44
|
+
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.4.8", "", { "os": "win32", "cpu": "arm64" }, "sha512-LoFatS0tnHv6KkCVpIy3qZCih+MxUMvdYiPWLHRri7mhi2vyOOs8OrbZBcLTUEWCS+ktO72nZMy4F96oMhkOHQ=="],
|
|
44
45
|
|
|
45
|
-
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.
|
|
46
|
+
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.4.8", "", { "os": "win32", "cpu": "x64" }, "sha512-vAn7iXDoUbqFXqVocuq1sMYAd33p8+mmurqJkWl6CtIhobd/O6moe4rY5AJvzbunn/qZCdiDVcveqtkFh1e7Hg=="],
|
|
46
47
|
|
|
47
|
-
"@canonical/biome-config": ["@canonical/biome-config@0.
|
|
48
|
+
"@canonical/biome-config": ["@canonical/biome-config@0.12.0", "", { "peerDependencies": { "@biomejs/biome": "2.3.11" } }, "sha512-xjNZpn8EcW8Y9dF8YmJb7OP7DvPF+H4rGiQSTpoNIEaDkoo1XHt9WZ4JNRmLxYoyiuLcmIoMQKu7/cYiK6mw8Q=="],
|
|
48
49
|
|
|
49
|
-
"@canonical/typescript-config-base": ["@canonical/typescript-config-base@0.
|
|
50
|
+
"@canonical/typescript-config-base": ["@canonical/typescript-config-base@0.12.0", "", { "peerDependencies": { "typescript": "^5.9.3" } }, "sha512-R2KJ2TniG+woMCt5vi0kzcKzZErwvSk3ETZkWEGpShWyo/MAPRAMx0oXweeXRlrErYURBdHqdMke4JprHEMZOQ=="],
|
|
50
51
|
|
|
51
|
-
"@canonical/typescript-config-react": ["@canonical/typescript-config-react@0.
|
|
52
|
+
"@canonical/typescript-config-react": ["@canonical/typescript-config-react@0.12.0", "", { "dependencies": { "@canonical/typescript-config-base": "^0.12.0" }, "peerDependencies": { "typescript": "^5.9.3" } }, "sha512-VpAd2Pz0Qdd2FBrKNeK89ueX4RcdCJ3tm3oIwPsekeTUEdWs+S5+MYY0Ywj/w0N9cB+AnDaSvsyZj1+PS6EUbA=="],
|
|
52
53
|
|
|
53
54
|
"@digitalbazaar/http-client": ["@digitalbazaar/http-client@4.2.0", "", { "dependencies": { "ky": "^1.7.5", "undici": "^6.21.2" } }, "sha512-OGju/GYp0V72qlZ/Pd4jGEwqBwT/Za/tw+Z3AC7lgMheGqsbhTZrtc5iLz9z59G/Q53QyE2fnjHV8N9wjBpiWA=="],
|
|
54
55
|
|
|
@@ -158,7 +159,7 @@
|
|
|
158
159
|
|
|
159
160
|
"@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.53.3", "", { "os": "win32", "cpu": "x64" }, "sha512-UhTd8u31dXadv0MopwGgNOBpUVROFKWVQgAg5N1ESyCz8AuBcMqm4AuTjrwgQKGDfoFuz02EuMRHQIw/frmYKQ=="],
|
|
160
161
|
|
|
161
|
-
"@standard-schema/spec": ["@standard-schema/spec@1.
|
|
162
|
+
"@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
|
162
163
|
|
|
163
164
|
"@types/bun": ["@types/bun@1.3.3", "", { "dependencies": { "bun-types": "1.3.3" } }, "sha512-ogrKbJ2X5N0kWLLFKeytG0eHDleBYtngtlbu9cyBKFtNL3cnpDZkNdQj8flVf6WTZUX5ulI9AY1oa7ljhSrp+g=="],
|
|
164
165
|
|
|
@@ -174,19 +175,19 @@
|
|
|
174
175
|
|
|
175
176
|
"@types/node": ["@types/node@24.10.1", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ=="],
|
|
176
177
|
|
|
177
|
-
"@vitest/expect": ["@vitest/expect@4.0
|
|
178
|
+
"@vitest/expect": ["@vitest/expect@4.1.0", "", { "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", "@vitest/spy": "4.1.0", "@vitest/utils": "4.1.0", "chai": "^6.2.2", "tinyrainbow": "^3.0.3" } }, "sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA=="],
|
|
178
179
|
|
|
179
|
-
"@vitest/mocker": ["@vitest/mocker@4.0
|
|
180
|
+
"@vitest/mocker": ["@vitest/mocker@4.1.0", "", { "dependencies": { "@vitest/spy": "4.1.0", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0-0" }, "optionalPeers": ["msw", "vite"] }, "sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw=="],
|
|
180
181
|
|
|
181
|
-
"@vitest/pretty-format": ["@vitest/pretty-format@4.0
|
|
182
|
+
"@vitest/pretty-format": ["@vitest/pretty-format@4.1.0", "", { "dependencies": { "tinyrainbow": "^3.0.3" } }, "sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A=="],
|
|
182
183
|
|
|
183
|
-
"@vitest/runner": ["@vitest/runner@4.0
|
|
184
|
+
"@vitest/runner": ["@vitest/runner@4.1.0", "", { "dependencies": { "@vitest/utils": "4.1.0", "pathe": "^2.0.3" } }, "sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ=="],
|
|
184
185
|
|
|
185
|
-
"@vitest/snapshot": ["@vitest/snapshot@4.0
|
|
186
|
+
"@vitest/snapshot": ["@vitest/snapshot@4.1.0", "", { "dependencies": { "@vitest/pretty-format": "4.1.0", "@vitest/utils": "4.1.0", "magic-string": "^0.30.21", "pathe": "^2.0.3" } }, "sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg=="],
|
|
186
187
|
|
|
187
|
-
"@vitest/spy": ["@vitest/spy@4.0
|
|
188
|
+
"@vitest/spy": ["@vitest/spy@4.1.0", "", {}, "sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw=="],
|
|
188
189
|
|
|
189
|
-
"@vitest/utils": ["@vitest/utils@4.0
|
|
190
|
+
"@vitest/utils": ["@vitest/utils@4.1.0", "", { "dependencies": { "@vitest/pretty-format": "4.1.0", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.0.3" } }, "sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw=="],
|
|
190
191
|
|
|
191
192
|
"abort-controller": ["abort-controller@3.0.0", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="],
|
|
192
193
|
|
|
@@ -212,15 +213,17 @@
|
|
|
212
213
|
|
|
213
214
|
"canonicalize": ["canonicalize@2.1.0", "", { "bin": { "canonicalize": "bin/canonicalize.js" } }, "sha512-F705O3xrsUtgt98j7leetNhTWPe+5S72rlL5O4jA1pKqBVQ/dT1O1D6PFxmSXvc0SUOinWS57DKx0I3CHrXJHQ=="],
|
|
214
215
|
|
|
215
|
-
"chai": ["chai@6.2.
|
|
216
|
+
"chai": ["chai@6.2.2", "", {}, "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg=="],
|
|
216
217
|
|
|
217
218
|
"change-case": ["change-case@5.4.4", "", {}, "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w=="],
|
|
218
219
|
|
|
219
220
|
"colorette": ["colorette@1.4.0", "", {}, "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g=="],
|
|
220
221
|
|
|
222
|
+
"convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],
|
|
223
|
+
|
|
221
224
|
"debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
|
|
222
225
|
|
|
223
|
-
"es-module-lexer": ["es-module-lexer@
|
|
226
|
+
"es-module-lexer": ["es-module-lexer@2.0.0", "", {}, "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw=="],
|
|
224
227
|
|
|
225
228
|
"esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],
|
|
226
229
|
|
|
@@ -230,7 +233,7 @@
|
|
|
230
233
|
|
|
231
234
|
"events": ["events@3.3.0", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="],
|
|
232
235
|
|
|
233
|
-
"expect-type": ["expect-type@1.
|
|
236
|
+
"expect-type": ["expect-type@1.3.0", "", {}, "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA=="],
|
|
234
237
|
|
|
235
238
|
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
|
236
239
|
|
|
@@ -268,13 +271,13 @@
|
|
|
268
271
|
|
|
269
272
|
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
|
270
273
|
|
|
271
|
-
"n3": ["n3@
|
|
274
|
+
"n3": ["n3@2.0.3", "", { "dependencies": { "buffer": "^6.0.3", "readable-stream": "^4.0.0" } }, "sha512-um/toGVENTarHBYIK2TdH6ByBhW75WpdKpv8iTYt9wF2QfBk8s8a16iaWZFUAAC1BKfGdb99kfgx6pltdDwfKA=="],
|
|
272
275
|
|
|
273
276
|
"nanoid": ["nanoid@3.3.11", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="],
|
|
274
277
|
|
|
275
278
|
"obug": ["obug@2.1.1", "", {}, "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ=="],
|
|
276
279
|
|
|
277
|
-
"openapi-typescript": ["openapi-typescript@7.
|
|
280
|
+
"openapi-typescript": ["openapi-typescript@7.13.0", "", { "dependencies": { "@redocly/openapi-core": "^1.34.6", "ansi-colors": "^4.1.3", "change-case": "^5.4.4", "parse-json": "^8.3.0", "supports-color": "^10.2.2", "yargs-parser": "^21.1.1" }, "peerDependencies": { "typescript": "^5.x" }, "bin": { "openapi-typescript": "bin/cli.js" } }, "sha512-EFP392gcqXS7ntPvbhBzbF8TyBA+baIYEm791Hy5YkjDYKTnk/Tn5OQeKm5BIZvJihpp8Zzr4hzx0Irde1LNGQ=="],
|
|
278
281
|
|
|
279
282
|
"parse-json": ["parse-json@8.3.0", "", { "dependencies": { "@babel/code-frame": "^7.26.2", "index-to-position": "^1.1.0", "type-fest": "^4.39.1" } }, "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ=="],
|
|
280
283
|
|
|
@@ -308,7 +311,7 @@
|
|
|
308
311
|
|
|
309
312
|
"stackback": ["stackback@0.0.2", "", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="],
|
|
310
313
|
|
|
311
|
-
"std-env": ["std-env@
|
|
314
|
+
"std-env": ["std-env@4.0.0", "", {}, "sha512-zUMPtQ/HBY3/50VbpkupYHbRroTRZJPRLvreamgErJVys0ceuzMkD44J/QjqhHjOzK42GQ3QZIeFG1OYfOtKqQ=="],
|
|
312
315
|
|
|
313
316
|
"string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="],
|
|
314
317
|
|
|
@@ -334,9 +337,9 @@
|
|
|
334
337
|
|
|
335
338
|
"vite": ["vite@7.2.6", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", "tinyglobby": "^0.2.15" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "jiti": ">=1.21.0", "less": "^4.0.0", "lightningcss": "^1.21.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-tI2l/nFHC5rLh7+5+o7QjKjSR04ivXDF4jcgV0f/bTQ+OJiITy5S6gaynVsEM+7RqzufMnVbIon6Sr5x1SDYaQ=="],
|
|
336
339
|
|
|
337
|
-
"vite-tsconfig-paths": ["vite-tsconfig-paths@
|
|
340
|
+
"vite-tsconfig-paths": ["vite-tsconfig-paths@6.1.1", "", { "dependencies": { "debug": "^4.1.1", "globrex": "^0.1.2", "tsconfck": "^3.0.3" }, "peerDependencies": { "vite": "*" } }, "sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg=="],
|
|
338
341
|
|
|
339
|
-
"vitest": ["vitest@4.0
|
|
342
|
+
"vitest": ["vitest@4.1.0", "", { "dependencies": { "@vitest/expect": "4.1.0", "@vitest/mocker": "4.1.0", "@vitest/pretty-format": "4.1.0", "@vitest/runner": "4.1.0", "@vitest/snapshot": "4.1.0", "@vitest/spy": "4.1.0", "@vitest/utils": "4.1.0", "es-module-lexer": "^2.0.0", "expect-type": "^1.3.0", "magic-string": "^0.30.21", "obug": "^2.1.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "std-env": "^4.0.0-rc.1", "tinybench": "^2.9.0", "tinyexec": "^1.0.2", "tinyglobby": "^0.2.15", "tinyrainbow": "^3.0.3", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0-0", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "4.1.0", "@vitest/browser-preview": "4.1.0", "@vitest/browser-webdriverio": "4.1.0", "@vitest/ui": "4.1.0", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw=="],
|
|
340
343
|
|
|
341
344
|
"why-is-node-running": ["why-is-node-running@2.3.0", "", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="],
|
|
342
345
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
@prefix
|
|
2
|
-
@prefix ds: <https://ds.canonical.com/data/>.
|
|
1
|
+
@prefix ds: <https://ds.canonical.com/>.
|
|
3
2
|
|
|
4
|
-
ds:apps.component.file_tree a
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
ds:apps.component.file_tree a ds:Component;
|
|
4
|
+
ds:name "FileTree";
|
|
5
|
+
ds:summary "";
|
|
6
|
+
ds:anatomyDsl "";
|
|
7
|
+
ds:tier ds:apps.
|