@canonical/design-system 0.49.0-experimental.0 → 0.50.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/README.md +55 -1
- package/data/documentation/pattern/library_side_navigation.ttl +1 -1
- package/data/global/component/badge.ttl +1 -1
- package/data/global/modifier/achromat.ttl +1 -0
- package/data/global/modifier/alpha.ttl +1 -0
- package/data/global/modifier/beta.ttl +1 -0
- package/data/global/modifier/branded.ttl +1 -0
- package/data/global/modifier/caution.ttl +1 -0
- package/data/global/modifier/comfortable.ttl +1 -0
- package/data/global/modifier/completed.ttl +1 -0
- package/data/global/modifier/constructive.ttl +1 -0
- package/data/global/modifier/contrasted.ttl +1 -0
- package/data/global/modifier/dark.ttl +1 -0
- package/data/global/modifier/dense.ttl +1 -0
- package/data/global/modifier/deprecated.ttl +1 -0
- package/data/global/modifier/destructive.ttl +1 -0
- package/data/global/modifier/deutan.ttl +1 -0
- package/data/global/modifier/end_of_life.ttl +1 -0
- package/data/global/modifier/error.ttl +1 -0
- package/data/global/modifier/experimental.ttl +1 -0
- package/data/global/modifier/failed.ttl +1 -0
- package/data/global/modifier/highlighted.ttl +1 -0
- package/data/global/modifier/in_progress.ttl +1 -0
- package/data/global/modifier/information.ttl +2 -1
- package/data/global/modifier/layer1.ttl +1 -0
- package/data/global/modifier/layer2.ttl +1 -0
- package/data/global/modifier/layer3.ttl +1 -0
- package/data/global/modifier/less.ttl +1 -0
- package/data/global/modifier/light.ttl +1 -0
- package/data/global/modifier/lts.ttl +1 -0
- package/data/global/modifier/more.ttl +1 -0
- package/data/global/modifier/muted.ttl +1 -0
- package/data/global/modifier/planned.ttl +1 -0
- package/data/global/modifier/primary.ttl +1 -0
- package/data/global/modifier/protan.ttl +1 -0
- package/data/global/modifier/secondary.ttl +1 -0
- package/data/global/modifier/stable.ttl +1 -0
- package/data/global/modifier/standard.ttl +1 -0
- package/data/global/modifier/tertiary.ttl +1 -0
- package/data/global/modifier/tritan.ttl +1 -0
- package/data/global/modifier/typical.ttl +1 -0
- package/data/global/modifier/warning.ttl +1 -0
- package/data/global/modifier_family/anticipation.ttl +1 -0
- package/data/global/modifier_family/color.ttl +1 -0
- package/data/global/modifier_family/color_vision.ttl +1 -0
- package/data/global/modifier_family/contrast.ttl +1 -0
- package/data/global/modifier_family/density.ttl +1 -0
- package/data/global/modifier_family/emphasis.ttl +1 -0
- package/data/global/modifier_family/importance.ttl +1 -0
- package/data/global/modifier_family/lifecycle.ttl +1 -0
- package/data/global/modifier_family/release.ttl +1 -0
- package/data/global/modifier_family/severity.ttl +1 -0
- package/data/global/modifier_family/support.ttl +1 -0
- package/data/global/modifier_family/surface.ttl +2 -1
- package/data/global/state/editable.ttl +2 -1
- package/data/global/state/focused.ttl +2 -1
- package/data/global/state/invalid.ttl +2 -1
- package/data/global/state/loading.ttl +2 -1
- package/data/global/state/valid.ttl +2 -1
- package/data/global/state/wireframe.ttl +2 -1
- package/data/global_dataviews/modifier/exclusion.ttl +1 -0
- package/data/global_dataviews/modifier/inclusion.ttl +1 -0
- package/data/global_dataviews/modifier/match.ttl +1 -0
- package/data/global_dataviews/modifier/presence.ttl +1 -0
- package/data/global_dataviews/modifier/range.ttl +1 -0
- package/data/global_dataviews/modifier_family/condition.ttl +1 -0
- package/data/sites/component/store_card.ttl +1 -1
- package/definitions/ontology.ttl +9 -0
- package/definitions/shapes.ttl +1079 -0
- package/package.json +7 -6
- package/skills/adoption-a2-components/SKILL.md +45 -2
- package/skills/design-auditor/SKILL.md +2 -1
|
@@ -22,7 +22,7 @@ ds:global.component.badge a ds:Component;
|
|
|
22
22
|
ds:hasProperty [
|
|
23
23
|
a ds:Property;
|
|
24
24
|
ds:name "criticality";
|
|
25
|
-
ds:summary "The component can comnsume the[
|
|
25
|
+
ds:summary "The component can comnsume the[Severity](https://docs.superhuman.com/d/_dNyzE_TLZDh#_tugrid-2diO06C-8N/_rui-jOei2P6iqD) modifier family:";
|
|
26
26
|
ds:propertyType "choice";
|
|
27
27
|
ds:optional "true";
|
|
28
28
|
ds:defaultValue "Default"
|
|
@@ -5,4 +5,5 @@
|
|
|
5
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
|
+
ds:sort 1.0;
|
|
8
9
|
ds:modifierFamily ds:global.modifier_family.anticipation.
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
ds:global.modifier.information a ds:SemanticModifier;
|
|
6
6
|
ds:name "Information";
|
|
7
|
-
ds:summary "The information modifier should be used for UI blocks that could consume other
|
|
7
|
+
ds:summary "The information modifier should be used for UI blocks that could consume other severity 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:sort 1.0;
|
|
8
9
|
ds:modifierFamily ds:global.modifier_family.severity.
|
|
@@ -6,5 +6,6 @@ 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:sort 9.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.constructive, ds:global.modifier.destructive, ds:global.modifier.caution.
|
|
@@ -6,5 +6,6 @@ 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:sort 3.0;
|
|
9
10
|
ds:modifierType ds:ModeModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.typical, ds:global.modifier.protan, ds:global.modifier.deutan, ds:global.modifier.tritan, ds:global.modifier.achromat.
|
|
@@ -6,5 +6,6 @@ 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:sort 2.0;
|
|
9
10
|
ds:modifierType ds:ModeModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.standard, ds:global.modifier.more, ds:global.modifier.less.
|
|
@@ -6,5 +6,6 @@ ds:global.modifier_family.emphasis a ds:ModifierFamily;
|
|
|
6
6
|
ds:name "Emphasis";
|
|
7
7
|
ds:summary "";
|
|
8
8
|
ds:tier ds:global;
|
|
9
|
+
ds:sort 7.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.muted, ds:global.modifier.highlighted, ds:global.modifier.branded.
|
|
@@ -6,5 +6,6 @@ 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:sort 6.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.tertiary, ds:global.modifier.secondary, ds:global.modifier.primary.
|
|
@@ -6,5 +6,6 @@ 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:sort 10.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.failed, ds:global.modifier.completed, ds:global.modifier.in_progress, ds:global.modifier.planned.
|
|
@@ -6,5 +6,6 @@ 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:sort 11.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.stable, ds:global.modifier.beta, ds:global.modifier.alpha, ds:global.modifier.experimental.
|
|
@@ -6,5 +6,6 @@ ds:global.modifier_family.severity a ds:ModifierFamily;
|
|
|
6
6
|
ds:name "Severity";
|
|
7
7
|
ds:summary "";
|
|
8
8
|
ds:tier ds:global;
|
|
9
|
+
ds:sort 8.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.information, ds:global.modifier.warning, ds:global.modifier.error.
|
|
@@ -6,5 +6,6 @@ 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:sort 12.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global.modifier.deprecated, ds:global.modifier.end_of_life, ds:global.modifier.lts.
|
|
@@ -6,5 +6,6 @@ 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:sort 5.0;
|
|
9
10
|
ds:modifierType ds:SurfaceModifier;
|
|
10
|
-
ds:hasModifier ds:global.modifier.
|
|
11
|
+
ds:hasModifier ds:global.modifier.contrasted, ds:global.modifier.layer3, ds:global.modifier.layer2, ds:global.modifier.layer1.
|
|
@@ -5,4 +5,5 @@
|
|
|
5
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
|
+
ds:sort 2.0;
|
|
8
9
|
ds:modifierFamily ds:global_dataviews.modifier_family.condition.
|
|
@@ -6,5 +6,6 @@ ds:global_dataviews.modifier_family.condition a ds:ModifierFamily;
|
|
|
6
6
|
ds:name "Condition";
|
|
7
7
|
ds:summary "Condition names what a clause's operator asserts about a record: that the record's value is one of the given values, is not, holds the given text, lies within a range, or is present. A component that shows or summarises a clause takes the value its clause asserts, and the tokens give each value its treatment, so the treatment can change without changing what the clause means.";
|
|
8
8
|
ds:tier ds:global_dataviews;
|
|
9
|
+
ds:sort 13.0;
|
|
9
10
|
ds:modifierType ds:SemanticModifier;
|
|
10
11
|
ds:hasModifier ds:global_dataviews.modifier.inclusion, ds:global_dataviews.modifier.exclusion, ds:global_dataviews.modifier.match, ds:global_dataviews.modifier.range, ds:global_dataviews.modifier.presence.
|