@canonical/react-ds-app 0.48.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.
@@ -12,16 +12,14 @@
12
12
  letter-spacing: var(--typography-text-tertiary-bold-letter-spacing);
13
13
  padding-top: var(--sidenav-icon-gap);
14
14
  padding-inline: var(--sidenav-inset-inline); /* 0.5 rem */
15
- /* Figma's group-heading component sets its text style's case to `UPPER`
16
- (a literal transform of the authored string, confirmed against the
17
- source file — not a font feature): "Header" renders as "HEADER", not
15
+ /* A group heading is set in literal upper case (a transform of the
16
+ authored string, not a font feature): "Header" renders as "HEADER", not
18
17
  via small-caps. `typography.heading.5` supplies the
19
18
  size/weight/line-height/letter-spacing but is a `font-variant:
20
19
  small-caps` treatment, which (for a mixed-case label like "Hardware")
21
20
  renders differently — only the leading capital stays full-height, the
22
21
  rest becomes reduced-height caps — not uniform block capitals. Layering
23
- `text-transform: uppercase` here reproduces the spec's literal case
24
- without revisiting which token supplies the rest of the type scale. */
22
+ `text-transform: uppercase` here gives the literal upper case without revisiting which token supplies the rest of the type scale. */
25
23
  text-transform: uppercase;
26
24
  /* Group headers are single-line and truncate. */
27
25
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonical/react-ds-app",
3
- "version": "0.48.0",
3
+ "version": "0.50.0",
4
4
  "type": "module",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -39,12 +39,12 @@
39
39
  "test:vitest:watch": "vitest"
40
40
  },
41
41
  "dependencies": {
42
- "@canonical/ds-assets": "^0.48.0",
43
- "@canonical/ds-types": "^0.48.0",
44
- "@canonical/ds-utils": "^0.48.0",
45
- "@canonical/react-ds-global": "^0.48.0",
46
- "@canonical/react-hooks": "^0.48.0",
47
- "@canonical/styles": "^0.48.0",
42
+ "@canonical/ds-assets": "^0.50.0",
43
+ "@canonical/ds-types": "^0.50.0",
44
+ "@canonical/ds-utils": "^0.50.0",
45
+ "@canonical/react-ds-global": "^0.50.0",
46
+ "@canonical/react-hooks": "^0.50.0",
47
+ "@canonical/styles": "^0.50.0",
48
48
  "react": "^19.2.4",
49
49
  "react-dom": "^19.2.4"
50
50
  },
@@ -64,14 +64,14 @@
64
64
  "@biomejs/biome": "2.6.9",
65
65
  "@canonical/biome-config": "0.47.0",
66
66
  "@canonical/design-tokens": "0.46.0",
67
- "@canonical/react-ds-global-form": "^0.48.0",
68
- "@canonical/router-core": "^0.48.0",
69
- "@canonical/router-react": "^0.48.0",
70
- "@canonical/storybook-addon-utils": "^0.48.0",
71
- "@canonical/storybook-config": "^0.48.0",
72
- "@canonical/storybook-helpers": "^0.48.0",
73
- "@canonical/typescript-config-react": "^0.48.0",
74
- "@canonical/vitest-config-react": "^0.48.0",
67
+ "@canonical/react-ds-global-form": "^0.50.0",
68
+ "@canonical/router-core": "^0.50.0",
69
+ "@canonical/router-react": "^0.50.0",
70
+ "@canonical/storybook-addon-utils": "^0.50.0",
71
+ "@canonical/storybook-config": "^0.50.0",
72
+ "@canonical/storybook-helpers": "^0.50.0",
73
+ "@canonical/typescript-config-react": "^0.50.0",
74
+ "@canonical/vitest-config-react": "^0.50.0",
75
75
  "@canonical/webarchitect": "0.46.0",
76
76
  "@chromatic-com/storybook": "^5.0.1",
77
77
  "@storybook/addon-docs": "^10.6.0",
@@ -90,5 +90,15 @@
90
90
  "vite": "^8.0.1",
91
91
  "vitest": "^5.0.0"
92
92
  },
93
- "gitHead": "aee4aebab851f90159776a7ba658d0c62e0d2bf4"
93
+ "chromatic": {
94
+ "secret": "CHROMATIC_TOKEN_CANONICAL_REACT_DS_APP",
95
+ "externals": [
96
+ "configs/storybook/**",
97
+ "packages/ds-assets/**",
98
+ "packages/styles/**/!(*.test.*|*.stories.*|*.md|*.mdx)",
99
+ "packages/runtime/ds-utils/**/!(*.test.*|*.stories.*|*.md|*.mdx)",
100
+ "packages/react/ds-global/**/!(*.test.*|*.stories.*|*.md|*.mdx)"
101
+ ]
102
+ },
103
+ "gitHead": "4a2ca02b4767a0ee8e58a679281194fdc316fd71"
94
104
  }