@canonical/react-ds-app-portal 0.42.0 → 0.44.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 (2) hide show
  1. package/README.md +6 -10
  2. package/package.json +15 -15
package/README.md CHANGED
@@ -9,24 +9,20 @@ Portal-specific components for the Pragma design system. This package provides s
9
9
  ## Installation
10
10
 
11
11
  ```bash
12
- bun add @canonical/react-ds-app-portal
12
+ bun add @canonical/react-ds-app-portal @canonical/styles
13
13
  ```
14
14
 
15
- The package builds on top of `@canonical/react-ds-global`.
16
-
17
- `@canonical/styles` comes with it as a dependency, but installing is not importing. Import it once, in your application's entry point:
15
+ Import the design system's styles **first** in your application's entry, before anything that imports a component:
18
16
 
19
17
  ```ts
20
18
  import "@canonical/styles";
21
19
  ```
22
20
 
23
- or, from a stylesheet:
21
+ Or, from a stylesheet: `@import url("@canonical/styles");`.
24
22
 
25
- ```css
26
- @import url("@canonical/styles");
27
- ```
23
+ Then mark your root — `<html class="app comfortable">` — as the [`@canonical/styles` README](../../styles/main/README.md) describes. That one import is also what puts this package's stylesheets in a defined order against the rest of the design system's: see [Every component stylesheet is in `ds.components.apps-portal`](#every-component-stylesheet-is-in-dscomponentsapps-portal) below.
28
24
 
29
- Then mark your root — `<html class="ds app comfortable">` — as the [`@canonical/styles` README](../../styles/main/README.md) describes. That one import is also what puts this package's stylesheets in a defined order against the rest of the design system's: see [Every component stylesheet is in `ds.components.apps-portal`](#every-component-stylesheet-is-in-dscomponentsapps-portal) below.
25
+ Each component brings its own stylesheet when you import it.
30
26
 
31
27
  ## Usage
32
28
 
@@ -89,4 +85,4 @@ bun run storybook
89
85
 
90
86
  ## Component Specifications
91
87
 
92
- Component specifications are defined in the [Design System Ontology](https://github.com/canonical/design-system).
88
+ Component specifications are defined in the [Design System Ontology](https://github.com/canonical/pragma-core/tree/main/packages/semantics/design-system).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@canonical/react-ds-app-portal",
3
3
  "description": "Portal-specific components for the Pragma design system",
4
- "version": "0.42.0",
4
+ "version": "0.44.0",
5
5
  "type": "module",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/types/index.d.ts",
@@ -14,13 +14,13 @@
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "https://github.com/canonical/pragma"
17
+ "url": "https://github.com/canonical/pragma-web"
18
18
  },
19
19
  "license": "LGPL-3.0",
20
20
  "bugs": {
21
- "url": "https://github.com/canonical/pragma/issues"
21
+ "url": "https://github.com/canonical/pragma-web/issues"
22
22
  },
23
- "homepage": "https://github.com/canonical/pragma#readme",
23
+ "homepage": "https://github.com/canonical/pragma-web#readme",
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
@@ -43,20 +43,20 @@
43
43
  "test:vitest:watch": "vitest"
44
44
  },
45
45
  "dependencies": {
46
- "@canonical/react-ds-global": "^0.42.0",
47
- "@canonical/storybook-config": "^0.42.0",
48
- "@canonical/styles": "^0.42.0",
46
+ "@canonical/react-ds-global": "^0.44.0",
47
+ "@canonical/storybook-config": "^0.44.0",
48
+ "@canonical/styles": "^0.44.0",
49
49
  "react": "^19.2.4",
50
50
  "react-dom": "^19.2.4"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@biomejs/biome": "2.5.14",
54
- "@canonical/biome-config": "^0.42.0",
55
- "@canonical/design-tokens": "0.10.0",
56
- "@canonical/storybook-helpers": "^0.42.0",
57
- "@canonical/typescript-config-react": "^0.42.0",
58
- "@canonical/vitest-config-react": "^0.42.0",
59
- "@canonical/webarchitect": "^0.42.0",
54
+ "@canonical/biome-config": "0.43.0",
55
+ "@canonical/design-tokens": "0.43.0",
56
+ "@canonical/storybook-helpers": "^0.44.0",
57
+ "@canonical/typescript-config-react": "^0.44.0",
58
+ "@canonical/vitest-config-react": "^0.44.0",
59
+ "@canonical/webarchitect": "0.43.0",
60
60
  "@chromatic-com/storybook": "^5.0.1",
61
61
  "@storybook/addon-docs": "^10.6.0",
62
62
  "@storybook/react-vite": "^10.6.0",
@@ -72,7 +72,7 @@
72
72
  "storybook": "^10.6.0",
73
73
  "typescript": "^7.0.2",
74
74
  "vite": "^8.0.1",
75
- "vitest": "^4.0.18"
75
+ "vitest": "^5.0.0"
76
76
  },
77
- "gitHead": "75c2b17029ba899be3fa645be28290ac6fcb83a9"
77
+ "gitHead": "c1f2abc7f04aa29a88f0e6036645469e82a5dd33"
78
78
  }