@vertekum/schema-atlassian 0.1.1 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @vertekum/schema-atlassian
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`1faab42`](https://github.com/moros-oxus/vertekum/commit/1faab429acdd5c53565b3975654ce8da05e89bfc) Thanks [@tschemmer](https://github.com/tschemmer)! - The emission model: public productions emit as open `$defs` patterns (sealing belongs to the positions that apply them, composed via `allOf`); `:name` declares a private production — inlined, invisible to importers; the `scope` pragma names the file's nature (`document` | `def` | `inline` — a def file's root also lands as `$defs.<filename>` and rootless files emit defs-only artifacts by default) while `sealed "true" | "false"` takes over the document-top seal (`scope "branch"` parses as a deprecated alias); the empty leaf dedupes into `$defs.terminal`; `schemaId` derives artifact `$id`s from a configured base; linked emission gains `#/$defs/…` pattern refs; lint reports non-failing warnings (open-merge, deprecations). Atlassian artifacts regenerate under the new shape — the granted vocabulary is unchanged.
8
+
9
+ ## 0.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`9c0f093`](https://github.com/moros-oxus/vertekum/commit/9c0f093b5016c6c0ca9cb5b5fd48598718e698d9) Thanks [@tschemmer](https://github.com/tschemmer)! - The space vocabulary is declared with zero-padded scale ranges (`025-100/25 | 150-300/50 | 400-600/100`) instead of a hand-list; granted names are unchanged.
14
+
3
15
  ## 0.1.1
4
16
 
5
17
  ### Patch Changes
package/dfn/border.dfn CHANGED
@@ -1,6 +1,6 @@
1
1
  id "vertekum://schema-atlassian/border.json"
2
2
  title "Atlassian Design System — border"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  root = border.width.[focused | selected]
package/dfn/color.dfn CHANGED
@@ -1,7 +1,7 @@
1
1
  id "vertekum://schema-atlassian/color.json"
2
2
  title "Atlassian Design System — color"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  # The documented syntagm (atlassian.design/foundations/color): color.<property>.<role>.<emphasis>.<state>.
7
7
  # The root reads as that syntagm; a slot collapses when unused (`?`). Co-meronyms that fork from it
@@ -18,7 +18,7 @@ interaction = hovered | pressed
18
18
  role = [<color-role> | <special-role> | accent.<accent-color>]
19
19
 
20
20
  root = color.[
21
- <property>.<role>?.<emphasis>?.<interaction>?
21
+ <property>.<role>?.<emphasis>?.<interaction>?
22
22
  | <code>
23
23
  | <chart>
24
24
  | <inverse-on>
@@ -27,13 +27,13 @@ root = color.[
27
27
  | interaction.<interaction>
28
28
  | link.visited?.pressed?
29
29
  | skeleton.subtle?
30
- ]
30
+ ]
31
31
 
32
32
  # Atlassian's own enumerative sub-vocabularies for code blocks.
33
33
  code = [
34
- background.code.[[added | removed].[highlight | line] | default | gutter | highlight]
34
+ background.code.[[added | removed].[highlight | line] | default | gutter | highlight]
35
35
  | text.code.[accent.[1 | 2] | comments | default | functions | gutter | keywords | numbers | operators | strings | tags]
36
- ]
36
+ ]
37
37
 
38
38
  chart-emphasis = <emphasis [bold, bolder, boldest]>
39
39
  chart = chart.[[<accent-color> | <color-role>].<chart-emphasis>?.hovered? | categorical.1-8/1.hovered?]
package/dfn/elevation.dfn CHANGED
@@ -1,7 +1,7 @@
1
1
  id "vertekum://schema-atlassian/elevation.json"
2
2
  title "Atlassian Design System — elevation"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  # Syntagm: elevation.<layer>.<kind>.<state> — surfaces take interaction states; shadows do not.
7
7
 
package/dfn/font.dfn CHANGED
@@ -1,13 +1,13 @@
1
1
  id "vertekum://schema-atlassian/font.json"
2
2
  title "Atlassian Design System — font"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  root = font.[
7
- body.[large | small]
7
+ body.[large | small]
8
8
  | code
9
9
  | family.[[body | code | heading] | brand.[body | heading]]
10
10
  | heading.[large | medium | small | xlarge | xsmall | xxlarge | xxsmall]
11
11
  | metric.[large | medium | small]
12
12
  | weight.[bold | medium | regular | semibold]
13
- ]
13
+ ]
package/dfn/motion.dfn CHANGED
@@ -1,7 +1,7 @@
1
1
  id "vertekum://schema-atlassian/motion.json"
2
2
  title "Atlassian Design System — motion"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  # Paradigms: components animate through <transition> (enter/exit); directional components add a
7
7
  # <direction>; keyframes run <io> (in/out). Durations and easings are the system's own scales.
@@ -14,7 +14,7 @@ component = avatar | blanket | flag | label | modal | panel | spotlight
14
14
  duration = instant | xxshort | xshort | short | medium | long | xlong | xxlong
15
15
 
16
16
  root = motion.[
17
- <component>.<transition>
17
+ <component>.<transition>
18
18
  | avatar.hovered
19
19
  | flag.reposition
20
20
  | button.<interaction>
@@ -24,7 +24,7 @@ root = motion.[
24
24
  | duration.<duration>
25
25
  | <easing>
26
26
  | <keyframe>
27
- ]
27
+ ]
28
28
 
29
29
  easing = easing.[[in | out].[bold | practical] | inout.bold | spring]
30
30
 
package/dfn/opacity.dfn CHANGED
@@ -1,6 +1,6 @@
1
1
  id "vertekum://schema-atlassian/opacity.json"
2
2
  title "Atlassian Design System — opacity"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  root = opacity.[disabled | loading]
package/dfn/radius.dfn CHANGED
@@ -1,6 +1,6 @@
1
1
  id "vertekum://schema-atlassian/radius.json"
2
2
  title "Atlassian Design System — radius"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  root = radius.[full | large | medium | small | tile | xlarge | xsmall | xxlarge]
package/dfn/space.dfn CHANGED
@@ -1,9 +1,9 @@
1
1
  id "vertekum://schema-atlassian/space.json"
2
2
  title "Atlassian Design System — space"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
- root = space.[
7
- [0 | 025 | 050 | 075 | 100 | 1000 | 150 | 200 | 250 | 300 | 400 | 500 | 600 | 800]
8
- | negative.[025 | 050 | 075 | 100 | 150 | 200 | 250 | 300 | 400]
9
- ]
6
+ # The spacing scale, as scale expressions: a leading zero pads the emitted names.
7
+ scale = 0 | 025-100/25 | 150-300/50 | 400-600/100 | 800 | 1000
8
+
9
+ root = space.[<scale> | negative.<scale ![0, 500, 600, 800, 1000]>]
package/dfn/utility.dfn CHANGED
@@ -1,6 +1,6 @@
1
1
  id "vertekum://schema-atlassian/utility.json"
2
2
  title "Atlassian Design System — utility"
3
3
  description "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema."
4
- scope "branch"
4
+ sealed "false"
5
5
 
6
6
  root = utility.elevation.surface.current