@canonical/design-system 0.48.0 → 0.49.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.
Files changed (108) hide show
  1. package/README.md +3 -3
  2. package/data/apps/component/side_navigation.ttl +17 -17
  3. package/data/apps/pattern/side_panel.ttl +12 -12
  4. package/data/apps/subcomponent/data_table-persistent_selection.ttl +1 -1
  5. package/data/apps/subcomponent/side_navigation-primary_navigation.ttl +638 -0
  6. package/data/apps/subcomponent/side_navigation-secondary_navigation.ttl +646 -0
  7. package/data/apps/subcomponent/side_panel-content.ttl +54 -0
  8. package/data/apps/subcomponent/side_panel-footer.ttl +1 -1
  9. package/data/apps/subcomponent/side_panel-header.ttl +1 -1
  10. package/data/apps.ttl +2 -1
  11. package/data/apps_anbox.ttl +2 -1
  12. package/data/apps_debcrafters.ttl +2 -1
  13. package/data/apps_juju.ttl +2 -1
  14. package/data/apps_landscape.ttl +2 -1
  15. package/data/apps_launchpad.ttl +2 -1
  16. package/data/apps_lxd/component/favorite_star_icon_button.ttl +16 -0
  17. package/data/apps_lxd.ttl +2 -1
  18. package/data/apps_notary.ttl +2 -1
  19. package/data/apps_portal.ttl +2 -1
  20. package/data/apps_workplace.ttl +2 -1
  21. package/data/documentation/pattern/library_side_navigation.ttl +1 -1
  22. package/data/documentation.ttl +2 -1
  23. package/data/global/component/announcement.ttl +1 -1
  24. package/data/global/component/badge.ttl +1 -1
  25. package/data/global/component/chip.ttl +1 -1
  26. package/data/global/component/tag.ttl +1 -1
  27. package/data/global/modifier/achromat.ttl +1 -1
  28. package/data/global/modifier/alpha.ttl +1 -1
  29. package/data/global/modifier/beta.ttl +1 -1
  30. package/data/global/modifier/branded.ttl +8 -0
  31. package/data/global/modifier/caution.ttl +1 -1
  32. package/data/global/modifier/comfortable.ttl +1 -1
  33. package/data/global/modifier/completed.ttl +1 -1
  34. package/data/global/modifier/constructive.ttl +1 -1
  35. package/data/global/modifier/{success.ttl → contrasted.ttl} +3 -3
  36. package/data/global/modifier/dark.ttl +1 -1
  37. package/data/global/modifier/dense.ttl +1 -1
  38. package/data/global/modifier/deprecated.ttl +1 -1
  39. package/data/global/modifier/destructive.ttl +1 -1
  40. package/data/global/modifier/deutan.ttl +1 -1
  41. package/data/global/modifier/end_of_life.ttl +1 -1
  42. package/data/global/modifier/error.ttl +2 -2
  43. package/data/global/modifier/experimental.ttl +1 -1
  44. package/data/global/modifier/failed.ttl +1 -1
  45. package/data/global/modifier/highlighted.ttl +8 -0
  46. package/data/global/modifier/in_progress.ttl +1 -1
  47. package/data/global/modifier/information.ttl +2 -2
  48. package/data/global/modifier/{surface2.ttl → layer1.ttl} +2 -2
  49. package/data/global/modifier/{surface3.ttl → layer2.ttl} +2 -2
  50. package/data/global/modifier/{surface1.ttl → layer3.ttl} +2 -2
  51. package/data/global/modifier/less.ttl +1 -1
  52. package/data/global/modifier/light.ttl +1 -1
  53. package/data/global/modifier/lts.ttl +1 -1
  54. package/data/global/modifier/more.ttl +1 -1
  55. package/data/global/modifier/muted.ttl +8 -0
  56. package/data/global/modifier/planned.ttl +1 -1
  57. package/data/global/modifier/primary.ttl +1 -1
  58. package/data/global/modifier/protan.ttl +1 -1
  59. package/data/global/modifier/secondary.ttl +1 -1
  60. package/data/global/modifier/stable.ttl +1 -1
  61. package/data/global/modifier/standard.ttl +1 -1
  62. package/data/global/modifier/tertiary.ttl +1 -1
  63. package/data/global/modifier/tritan.ttl +1 -1
  64. package/data/global/modifier/typical.ttl +1 -1
  65. package/data/global/modifier/warning.ttl +2 -2
  66. package/data/global/modifier_family/anticipation.ttl +1 -0
  67. package/data/global/modifier_family/color.ttl +1 -0
  68. package/data/global/modifier_family/color_vision.ttl +1 -0
  69. package/data/global/modifier_family/contrast.ttl +1 -0
  70. package/data/global/modifier_family/density.ttl +1 -0
  71. package/data/global/modifier_family/emphasis.ttl +10 -0
  72. package/data/global/modifier_family/importance.ttl +1 -0
  73. package/data/global/modifier_family/lifecycle.ttl +1 -0
  74. package/data/global/modifier_family/release.ttl +1 -0
  75. package/data/global/modifier_family/severity.ttl +10 -0
  76. package/data/global/modifier_family/support.ttl +1 -0
  77. package/data/global/modifier_family/surface.ttl +2 -1
  78. package/data/global/pattern/form.ttl +6 -1
  79. package/data/global/pattern/modal.ttl +5 -0
  80. package/data/global/{modifier_family/_other.ttl → state/editable.ttl} +2 -2
  81. package/data/global/{modifier_family/_emphasis.ttl → state/focused.ttl} +2 -2
  82. package/data/global/{modifier_family/_color_luminosity.ttl → state/invalid.ttl} +2 -2
  83. package/data/global/{modifier/modal.ttl → state/loading.ttl} +3 -3
  84. package/data/global/state/valid.ttl +8 -0
  85. package/data/global/state/wireframe.ttl +8 -0
  86. package/data/global.ttl +2 -1
  87. package/data/global_dataviews/component/query_chip.ttl +1 -1
  88. package/data/global_dataviews/modifier/exclusion.ttl +1 -1
  89. package/data/global_dataviews/modifier/inclusion.ttl +1 -1
  90. package/data/global_dataviews/modifier/match.ttl +1 -1
  91. package/data/global_dataviews/modifier/presence.ttl +1 -1
  92. package/data/global_dataviews/modifier/range.ttl +1 -1
  93. package/data/global_dataviews/modifier_family/condition.ttl +1 -0
  94. package/data/global_dataviews.ttl +2 -1
  95. package/data/sites/component/store_card.ttl +1 -1
  96. package/data/sites.ttl +2 -1
  97. package/data/sites_stores.ttl +2 -1
  98. package/data/sites_webcomponentsprototype/component/list.ttl +6 -1
  99. package/data/sites_webcomponentsprototype.ttl +2 -1
  100. package/definitions/ontology.ttl +46 -0
  101. package/package.json +6 -6
  102. package/skills/design-auditor/SKILL.md +4 -4
  103. package/skills/implement-component/SKILL.md +1 -1
  104. package/skills/specify-component/SKILL.md +1 -1
  105. package/src/graph/GraphStore.ts +8 -2
  106. package/data/global/modifier/elevated.ttl +0 -8
  107. package/data/global/modifier_family/criticality.ttl +0 -9
  108. package/data/global/modifier_family/elevation.ttl +0 -9
@@ -0,0 +1,8 @@
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.modifier.branded a ds:SemanticModifier;
6
+ ds:name "Branded";
7
+ ds:summary "Temporary: kept while the token emphasis contexts are in use and the Emphasis family is under review.";
8
+ ds:modifierFamily ds:global.modifier_family.emphasis.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.caution a ds:Modifier;
5
+ ds:global.modifier.caution a ds:SemanticModifier;
6
6
  ds:name "Caution";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.anticipation.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.comfortable a ds:Modifier;
5
+ ds:global.modifier.comfortable a ds:ModeModifier;
6
6
  ds:name "Comfortable";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.density.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.completed a ds:Modifier;
5
+ ds:global.modifier.completed a ds:SemanticModifier;
6
6
  ds:name "Completed";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.lifecycle.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.constructive a ds:Modifier;
5
+ ds:global.modifier.constructive a ds:SemanticModifier;
6
6
  ds:name "Constructive";
7
7
  ds:summary "The constructive modifier highlights the additive or positive nature of the consequences of an action. As opposed to [Destructive](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-aygAVqOfFj/_rui-VZYLmDJC1O) , Constructive should only be applied in tandem with [Destructive](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-aygAVqOfFj/_rui-VZYLmDJC1O) . When action UI blocks are used standalone, they should use their default, unmodified, appearance.";
8
8
  ds:modifierFamily ds:global.modifier_family.anticipation.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.success a ds:Modifier;
6
- ds:name "Success";
5
+ ds:global.modifier.contrasted a ds:SurfaceModifier;
6
+ ds:name "Contrasted";
7
7
  ds:summary "";
8
- ds:modifierFamily ds:global.modifier_family.criticality.
8
+ ds:modifierFamily ds:global.modifier_family.surface.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.dark a ds:Modifier;
5
+ ds:global.modifier.dark a ds:ModeModifier;
6
6
  ds:name "Dark";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.color.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.dense a ds:Modifier;
5
+ ds:global.modifier.dense a ds:ModeModifier;
6
6
  ds:name "Dense";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.density.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.deprecated a ds:Modifier;
5
+ ds:global.modifier.deprecated a ds:SemanticModifier;
6
6
  ds:name "Deprecated";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.support.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.destructive a ds:Modifier;
5
+ ds:global.modifier.destructive a ds:SemanticModifier;
6
6
  ds:name "Destructive";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.anticipation.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.deutan a ds:Modifier;
5
+ ds:global.modifier.deutan a ds:ModeModifier;
6
6
  ds:name "Deutan";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.color_vision.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.end_of_life a ds:Modifier;
5
+ ds:global.modifier.end_of_life a ds:SemanticModifier;
6
6
  ds:name "End of life";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.support.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.error a ds:Modifier;
5
+ ds:global.modifier.error a ds:SemanticModifier;
6
6
  ds:name "Error";
7
7
  ds:summary "";
8
- ds:modifierFamily ds:global.modifier_family.criticality.
8
+ ds:modifierFamily ds:global.modifier_family.severity.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.experimental a ds:Modifier;
5
+ ds:global.modifier.experimental a ds:SemanticModifier;
6
6
  ds:name "Experimental";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.release.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.failed a ds:Modifier;
5
+ ds:global.modifier.failed a ds:SemanticModifier;
6
6
  ds:name "Failed";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.lifecycle.
@@ -0,0 +1,8 @@
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.modifier.highlighted a ds:SemanticModifier;
6
+ ds:name "Highlighted";
7
+ ds:summary "Temporary: kept while the token emphasis contexts are in use and the Emphasis family is under review.";
8
+ ds:modifierFamily ds:global.modifier_family.emphasis.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.in_progress a ds:Modifier;
5
+ ds:global.modifier.in_progress a ds:SemanticModifier;
6
6
  ds:name "In Progress";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.lifecycle.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.information a ds:Modifier;
5
+ ds:global.modifier.information a ds:SemanticModifier;
6
6
  ds:name "Information";
7
7
  ds:summary "The information modifier should be used for UI blocks that could consume other criticality modifiers, but in this case simply convey relevant information message to the user. It indicates neutral, informative context, and usually uses a blue hue to enforce its semantic role. \n \nThe information modifier is less frequently used than it’s family counterpart because sometimes the default, unmodified UI block is preferred when the purely informational aspect does not need to be explicit. \n\nFor example, a default [Badge](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-eHpgyzRyDl) is used informationally without consuming the information modifier, while a [Notification](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-KVe8I1_VnA) or a status indicator needs more emphasis and uses the modifier tokens.";
8
- ds:modifierFamily ds:global.modifier_family.criticality.
8
+ ds:modifierFamily ds:global.modifier_family.severity.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.surface2 a ds:Modifier;
6
- ds:name "Surface2";
5
+ ds:global.modifier.layer1 a ds:SurfaceModifier;
6
+ ds:name "Layer1";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.surface.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.surface3 a ds:Modifier;
6
- ds:name "Surface3";
5
+ ds:global.modifier.layer2 a ds:SurfaceModifier;
6
+ ds:name "Layer2";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.surface.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.surface1 a ds:Modifier;
6
- ds:name "Surface1";
5
+ ds:global.modifier.layer3 a ds:SurfaceModifier;
6
+ ds:name "Layer3";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.surface.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.less a ds:Modifier;
5
+ ds:global.modifier.less a ds:ModeModifier;
6
6
  ds:name "Less";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.contrast.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.light a ds:Modifier;
5
+ ds:global.modifier.light a ds:ModeModifier;
6
6
  ds:name "Light";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.color.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.lts a ds:Modifier;
5
+ ds:global.modifier.lts a ds:SemanticModifier;
6
6
  ds:name "LTS";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.support.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.more a ds:Modifier;
5
+ ds:global.modifier.more a ds:ModeModifier;
6
6
  ds:name "More";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.contrast.
@@ -0,0 +1,8 @@
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.modifier.muted a ds:SemanticModifier;
6
+ ds:name "Muted";
7
+ ds:summary "Temporary: kept while the token emphasis contexts are in use and the Emphasis family is under review.";
8
+ ds:modifierFamily ds:global.modifier_family.emphasis.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.planned a ds:Modifier;
5
+ ds:global.modifier.planned a ds:SemanticModifier;
6
6
  ds:name "Planned";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.lifecycle.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.primary a ds:Modifier;
5
+ ds:global.modifier.primary a ds:SemanticModifier;
6
6
  ds:name "Primary";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.importance.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.protan a ds:Modifier;
5
+ ds:global.modifier.protan a ds:ModeModifier;
6
6
  ds:name "Protan";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.color_vision.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.secondary a ds:Modifier;
5
+ ds:global.modifier.secondary a ds:SemanticModifier;
6
6
  ds:name "Secondary";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.importance.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.stable a ds:Modifier;
5
+ ds:global.modifier.stable a ds:SemanticModifier;
6
6
  ds:name "Stable";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.release.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.standard a ds:Modifier;
5
+ ds:global.modifier.standard a ds:ModeModifier;
6
6
  ds:name "Standard";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.contrast.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.tertiary a ds:Modifier;
5
+ ds:global.modifier.tertiary a ds:SemanticModifier;
6
6
  ds:name "Tertiary";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.importance.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.tritan a ds:Modifier;
5
+ ds:global.modifier.tritan a ds:ModeModifier;
6
6
  ds:name "Tritan";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.color_vision.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.typical a ds:Modifier;
5
+ ds:global.modifier.typical a ds:ModeModifier;
6
6
  ds:name "Typical";
7
7
  ds:summary "";
8
8
  ds:modifierFamily ds:global.modifier_family.color_vision.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.warning a ds:Modifier;
5
+ ds:global.modifier.warning a ds:SemanticModifier;
6
6
  ds:name "Warning";
7
7
  ds:summary "";
8
- ds:modifierFamily ds:global.modifier_family.criticality.
8
+ ds:modifierFamily ds:global.modifier_family.severity.
@@ -6,4 +6,5 @@ ds:global.modifier_family.anticipation a ds:ModifierFamily;
6
6
  ds:name "Anticipation";
7
7
  ds:summary "";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:SemanticModifier;
9
10
  ds:hasModifier ds:global.modifier.constructive, ds:global.modifier.destructive, ds:global.modifier.caution.
@@ -6,4 +6,5 @@ ds:global.modifier_family.color a ds:ModifierFamily;
6
6
  ds:name "Color";
7
7
  ds:summary "";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:ModeModifier;
9
10
  ds:hasModifier ds:global.modifier.dark, ds:global.modifier.light.
@@ -6,4 +6,5 @@ ds:global.modifier_family.color_vision a ds:ModifierFamily;
6
6
  ds:name "Color vision";
7
7
  ds:summary "Hue and chroma remapping for color vision deficiencies.";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:ModeModifier;
9
10
  ds:hasModifier ds:global.modifier.typical, ds:global.modifier.protan, ds:global.modifier.deutan, ds:global.modifier.tritan, ds:global.modifier.achromat.
@@ -6,4 +6,5 @@ ds:global.modifier_family.contrast a ds:ModifierFamily;
6
6
  ds:name "Contrast";
7
7
  ds:summary "Lightness separation between foreground and background (prefers-contrast).";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:ModeModifier;
9
10
  ds:hasModifier ds:global.modifier.standard, ds:global.modifier.more, ds:global.modifier.less.
@@ -6,4 +6,5 @@ ds:global.modifier_family.density a ds:ModifierFamily;
6
6
  ds:name "Density";
7
7
  ds:summary "";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:ModeModifier;
9
10
  ds:hasModifier ds:global.modifier.comfortable, ds:global.modifier.dense.
@@ -0,0 +1,10 @@
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.modifier_family.emphasis a ds:ModifierFamily;
6
+ ds:name "Emphasis";
7
+ ds:summary "";
8
+ ds:tier ds:global;
9
+ ds:modifierType ds:SemanticModifier;
10
+ ds:hasModifier ds:global.modifier.muted, ds:global.modifier.highlighted, ds:global.modifier.branded.
@@ -6,4 +6,5 @@ ds:global.modifier_family.importance a ds:ModifierFamily;
6
6
  ds:name "Importance";
7
7
  ds:summary "";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:SemanticModifier;
9
10
  ds:hasModifier ds:global.modifier.tertiary, ds:global.modifier.secondary, ds:global.modifier.primary.
@@ -6,4 +6,5 @@ ds:global.modifier_family.lifecycle a ds:ModifierFamily;
6
6
  ds:name "Lifecycle";
7
7
  ds:summary "";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:SemanticModifier;
9
10
  ds:hasModifier ds:global.modifier.failed, ds:global.modifier.completed, ds:global.modifier.in_progress, ds:global.modifier.planned.
@@ -6,4 +6,5 @@ ds:global.modifier_family.release a ds:ModifierFamily;
6
6
  ds:name "Release";
7
7
  ds:summary "";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:SemanticModifier;
9
10
  ds:hasModifier ds:global.modifier.stable, ds:global.modifier.beta, ds:global.modifier.alpha, ds:global.modifier.experimental.
@@ -0,0 +1,10 @@
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.modifier_family.severity a ds:ModifierFamily;
6
+ ds:name "Severity";
7
+ ds:summary "";
8
+ ds:tier ds:global;
9
+ ds:modifierType ds:SemanticModifier;
10
+ ds:hasModifier ds:global.modifier.information, ds:global.modifier.warning, ds:global.modifier.error.
@@ -6,4 +6,5 @@ ds:global.modifier_family.support a ds:ModifierFamily;
6
6
  ds:name "Support";
7
7
  ds:summary "Support phase of the referenced feature or release, separate from its maturity (Release).";
8
8
  ds:tier ds:global;
9
+ ds:modifierType ds:SemanticModifier;
9
10
  ds:hasModifier ds:global.modifier.deprecated, ds:global.modifier.end_of_life, ds:global.modifier.lts.
@@ -6,4 +6,5 @@ ds:global.modifier_family.surface a ds:ModifierFamily;
6
6
  ds:name "Surface";
7
7
  ds:summary "";
8
8
  ds:tier ds:global;
9
- ds:hasModifier ds:global.modifier.surface3, ds:global.modifier.surface2, ds:global.modifier.surface1.
9
+ ds:modifierType ds:SurfaceModifier;
10
+ ds:hasModifier ds:global.modifier.layer3, ds:global.modifier.layer2, ds:global.modifier.layer1, ds:global.modifier.contrasted.
@@ -9,4 +9,9 @@ ds:global.pattern.form a ds:Pattern;
9
9
  ds:anatomyClassic "";
10
10
  ds:usage "";
11
11
  ds:guidelines "";
12
- ds:tier ds:global.
12
+ ds:tier ds:global;
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-12-02T00:00:00.000+01:00";
16
+ ds:changeType "decision"
17
+ ].
@@ -10,6 +10,11 @@ ds:global.pattern.modal a ds:Pattern;
10
10
  ds:usage "Modals are intended for focused, interruptive interactions. They are suitable for situations where users must complete an action or understand contextual information before returning to their current flow.\n\n## When to use\n\n- When a confirmation is needed before completing or canceling an action, modals should be used. They are well suited for this because they capture full attention and require an explicit decision from the user. \n- When a form is displayed on a website rather than an app. On apps, forms should generally use side panels or full pages instead. If a form requires a nested step, layer side panels rather than escalating to a modal.\n- When providing extra context or instructions that are supplementary to the main task. For example, explaining search syntax rules or describing how to format a cron job expression.\n- When the system needs to interrupt the user with a warning, such as when unsaved changes are about to be lost or a critical condition requires acknowledgment.\n- When a side panel triggers a secondary step that involves a small, self-contained form that is not a fully independent entity in the software. For example, selecting an image for an LXD container. This is only appropriate when the nested step is minor. If the nested step is a complete form that already exists elsewhere in the UI, use a nested side panel for consistency.\n- When a side panel is displaying an item that has associated entities, and the main listing page cannot be filtered to show only the related ones. For example, when an instance is related to several profiles and there is no way to filter the profiles listing page down to only the associated ones. If the item is displayed on a full page instead of a side panel, open the associated list in a side panel rather than a modal.\n\n## When not to use\n\n- When a modal would need to trigger a side panel as a secondary step. A side panel can trigger a modal, but a modal cannot trigger a side panel.\n - Incorrect: A modal form that opens a side panel when the user needs to complete a prerequisite step.\n - Remediation: Restructure the flow so that the initial container is a side panel, which can then trigger a modal for any smaller interruption if needed.\n- When a form is required to complete an app workflow. Use side panels or full pages instead, which keep the user oriented within the application structure. [This is also the case for forms with only one field.]\n - Incorrect: Opening a modal to fill out a multi-field entity creation form inside an app.\n - Remediation: Use a side panel or a dedicated page. If a nested step is required, layer a second side panel on top of the first.\n- When displaying static information about an entity, such as a read-only detail view. Static content does not require the level of interruption a modal creates.\n - Incorrect: A modal that opens to show the details of an entity with no actions available.\n - Remediation: Use a side panel to display entity details while keeping the background context visible.\n- When the goal is to guide a first-time user through the interface in a tour or onboarding flow.\n - Incorrect: A modal sequence that blocks the UI to walk the user through each feature step by step.\n - Remediation: Use popovers, which allow the user to interact with the UI and exit the flow at any point.\n- When a lighter, non-interruptive overlay could serve the same purpose. Modals block the entire view and force a decision, while popovers allow continued interaction with the page.\n - Incorrect: Using a modal to show a tooltip-style explanation of a field while the user is filling out a form.\n - Remediation: Use a popover, which surfaces the information without interrupting the user's flow.\n- When providing feedback on the outcome of an action, whether successful or not.\n - Incorrect: A modal that appears after completing an action to confirm it was done successfully.\n - Remediation: Use a toast notification, which communicates the result without requiring any interaction from the user.";
11
11
  ds:guidelines "It is recommended to use a backdrop for modals where supported by the platform.\n\nConfirmation modals, whether constructive or destructive, should include a description of the consequences. The button used in [Modal.Footer](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-WUE45gL05W) should reflect the modifier context. For instance, a modal that confirms a [Destructive](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-aygAVqOfFj/_rui-VZYLmDJC1O) action should use a [Destructive](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-aygAVqOfFj/_rui-VZYLmDJC1O) [Button](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-20dWwIHYhx/_rui-8SdtbQUhTr).\n\nIf the action is destructive, an [Intentional friction](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-GnfOU3MM-3/_rui-jBkiiurLeQ) should be considered.";
12
12
  ds:tier ds:global;
13
+ ds:changeLog [
14
+ a ds:ChangeLogEntry;
15
+ ds:timestamp "2026-12-02T00:00:00.000+01:00";
16
+ ds:changeType "decision"
17
+ ];
13
18
  ds:documentationStage ds:tag.needsfulldocumentation;
14
19
  ds:hasSubcomponent ds:global.subcomponent.modal-content, ds:global.subcomponent.modal-header, ds:global.subcomponent.modal-footer;
15
20
  ds:hasTokenBinding [
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier_family._other a ds:ModifierFamily;
6
- ds:name "(Other)";
5
+ ds:global.state.editable a ds:State;
6
+ ds:name "Editable";
7
7
  ds:summary "";
8
8
  ds:tier ds:global.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier_family._emphasis a ds:ModifierFamily;
6
- ds:name "(Emphasis)";
5
+ ds:global.state.focused a ds:State;
6
+ ds:name "Focused";
7
7
  ds:summary "";
8
8
  ds:tier ds:global.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier_family._color_luminosity a ds:ModifierFamily;
6
- ds:name "(Color luminosity)";
5
+ ds:global.state.invalid a ds:State;
6
+ ds:name "Invalid";
7
7
  ds:summary "";
8
8
  ds:tier ds:global.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global.modifier.modal a ds:Modifier;
6
- ds:name "Modal";
5
+ ds:global.state.loading a ds:State;
6
+ ds:name "Loading";
7
7
  ds:summary "";
8
- ds:modifierFamily ds:global.modifier_family.elevation.
8
+ ds:tier ds:global.
@@ -0,0 +1,8 @@
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.state.valid a ds:State;
6
+ ds:name "Valid";
7
+ ds:summary "";
8
+ ds:tier ds:global.
@@ -0,0 +1,8 @@
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.state.wireframe a ds:State;
6
+ ds:name "Wireframe";
7
+ ds:summary "";
8
+ ds:tier ds:global.
package/data/global.ttl CHANGED
@@ -3,4 +3,5 @@
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
5
  ds:global a ds:Tier;
6
- ds:name "Global".
6
+ ds:name "Global";
7
+ ds:sort 1.0.
@@ -73,7 +73,7 @@ ds:global_dataviews.component.query_chip a ds:Component;
73
73
  ];
74
74
  ds:documentationStage ds:tag.needstriage;
75
75
  ds:hasSubcomponent ds:global_dataviews.subcomponent.query_chip-segment, ds:global_dataviews.subcomponent.query_chip-entry;
76
- ds:hasModifierFamily ds:global.modifier_family.criticality;
76
+ ds:hasModifierFamily ds:global.modifier_family.severity;
77
77
  ds:hasTokenBinding [
78
78
  a ds:TokenBinding;
79
79
  ds:viaBlock ds:global_dataviews.component.query_chip;
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global_dataviews.modifier.exclusion a ds:Modifier;
5
+ ds:global_dataviews.modifier.exclusion a ds:SemanticModifier;
6
6
  ds:name "Exclusion";
7
7
  ds:summary "The test is negated: the record's value is none of the given values, differs from the given value, does not hold the given text, or is absent.";
8
8
  ds:modifierFamily ds:global_dataviews.modifier_family.condition.
@@ -2,7 +2,7 @@
2
2
  @prefix anatomy: <https://anatomy.canonical.com/>.
3
3
  @prefix dt: <https://dt.canonical.com/>.
4
4
 
5
- ds:global_dataviews.modifier.inclusion a ds:Modifier;
5
+ ds:global_dataviews.modifier.inclusion a ds:SemanticModifier;
6
6
  ds:name "Inclusion";
7
7
  ds:summary "The record's value is one of the given values.";
8
8
  ds:modifierFamily ds:global_dataviews.modifier_family.condition.