@bcgov/design-system-react-components 0.5.1 → 0.5.2-pr560

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.
@@ -4,7 +4,7 @@ export interface ButtonProps extends ReactAriaButtonProps {
4
4
  /**
5
5
  * Defaults to `medium`. `small` is shorter vertically.
6
6
  */
7
- size?: "small" | "medium";
7
+ size?: "xsmall" | "small" | "medium" | "large";
8
8
  /**
9
9
  * Defaults to `primary`.
10
10
  */
@@ -1,3 +1,4 @@
1
+ import "./SvgBcLogo.css";
1
2
  export default function SvgBcLogo({ id }: {
2
3
  id?: string | undefined;
3
4
  }): import("react/jsx-runtime").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -37,7 +37,7 @@ interface ButtonProps extends ButtonProps$1 {
37
37
  /**
38
38
  * Defaults to `medium`. `small` is shorter vertically.
39
39
  */
40
- size?: "small" | "medium";
40
+ size?: "xsmall" | "small" | "medium" | "large";
41
41
  /**
42
42
  * Defaults to `primary`.
43
43
  */
package/package.json CHANGED
@@ -1,86 +1,92 @@
1
- {
2
- "name": "@bcgov/design-system-react-components",
3
- "version": "0.5.1",
4
- "type": "module",
5
- "scripts": {
6
- "rollup": "rm -rf dist && rollup -c --bundleConfigAsCjs",
7
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
8
- "storybook-dev": "storybook dev -p 6006",
9
- "storybook-build": "storybook build",
10
- "test": "npx jest --config=./jest.config.ts",
11
- "test:ci": "npx jest --ci --config=./jest.config.ts",
12
- "test:watch": "npx jest --watch --config=./jest.config.ts",
13
- "test-storybook": "test-storybook",
14
- "test-storybook:ci": "test-storybook --maxWorkers=2",
15
- "vite-dev": "vite",
16
- "vite-build": "tsc && vite build",
17
- "vite-preview": "vite preview"
18
- },
19
- "main": "dist/cjs/index.cjs",
20
- "module": "dist/esm/index.js",
21
- "files": [
22
- "dist"
23
- ],
24
- "types": "dist/index.d.ts",
25
- "dependencies": {
26
- "@bcgov/design-tokens": "3.2.0",
27
- "react-aria-components": "1.6.0"
28
- },
29
- "peerDependencies": {
30
- "@bcgov/bc-sans": "^2.1.0",
31
- "react": "^16.14.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
32
- "react-dom": "^16.14.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
33
- },
34
- "devDependencies": {
35
- "@react-stately/data": "3.11.6",
36
- "@rollup/plugin-commonjs": "26.0.1",
37
- "@rollup/plugin-json": "6.1.0",
38
- "@rollup/plugin-node-resolve": "15.2.3",
39
- "@rollup/plugin-typescript": "11.1.6",
40
- "@storybook/addon-a11y": "8.5.3",
41
- "@storybook/addon-essentials": "8.5.3",
42
- "@storybook/addon-interactions": "8.5.3",
43
- "@storybook/addon-links": "8.5.3",
44
- "@storybook/blocks": "8.5.3",
45
- "@storybook/react": "^8.4.7",
46
- "@storybook/react-vite": "^8.4.7",
47
- "@storybook/test": "^8.4.7",
48
- "@storybook/test-runner": "0.21.0",
49
- "@testing-library/jest-dom": "6.5.0",
50
- "@testing-library/react": "16.0.1",
51
- "@types/jest": "29.5.13",
52
- "@types/react": "18.3.8",
53
- "@types/react-dom": "18.3.0",
54
- "@typescript-eslint/eslint-plugin": "8.6.0",
55
- "@typescript-eslint/parser": "8.6.0",
56
- "@vitejs/plugin-react": "4.3.1",
57
- "axe-playwright": "2.0.2",
58
- "eslint": "8.57.0",
59
- "eslint-plugin-react-hooks": "4.6.2",
60
- "eslint-plugin-react-refresh": "0.4.12",
61
- "eslint-plugin-storybook": "0.8.0",
62
- "identity-obj-proxy": "3.0.0",
63
- "jest": "29.7.0",
64
- "jest-environment-jsdom": "29.7.0",
65
- "rollup": "4.32.1",
66
- "rollup-plugin-dts": "6.1.1",
67
- "rollup-plugin-peer-deps-external": "2.2.4",
68
- "rollup-plugin-postcss": "4.0.2",
69
- "storybook": "8.5.3",
70
- "ts-jest": "29.2.5",
71
- "ts-node": "10.9.2",
72
- "tslib": "2.7.0",
73
- "typescript": "5.6.2",
74
- "vite": "5.4.14"
75
- },
76
- "optionalDependencies": {
77
- "@rollup/rollup-linux-x64-gnu": "*"
78
- },
79
- "author": "Tyler Krys <Tyler.Krys@gov.bc.ca>",
80
- "license": "Apache-2.0",
81
- "bugs": {
82
- "url": "https://github.com/bcgov/design-system/issues"
83
- },
84
- "homepage": "https://github.com/bcgov/design-system#readme",
85
- "private": false
86
- }
1
+ {
2
+ "name": "@bcgov/design-system-react-components",
3
+ "version": "0.5.2-pr560",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/bcgov/design-system.git",
7
+ "directory": "packages/react-components"
8
+ },
9
+ "type": "module",
10
+ "scripts": {
11
+ "rollup": "rm -rf dist && rollup -c --bundleConfigAsCjs",
12
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
13
+ "storybook-dev": "storybook dev -p 6006",
14
+ "storybook-build": "storybook build",
15
+ "test": "npx jest --config=./jest.config.ts",
16
+ "test:ci": "npx jest --ci --config=./jest.config.ts",
17
+ "test:watch": "npx jest --watch --config=./jest.config.ts",
18
+ "test-storybook": "npx vitest --project=storybook",
19
+ "test-storybook:ci": "npx vitest --project=storybook",
20
+ "vite-dev": "vite",
21
+ "vite-build": "tsc && vite build",
22
+ "vite-preview": "vite preview"
23
+ },
24
+ "main": "dist/cjs/index.cjs",
25
+ "module": "dist/esm/index.js",
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "types": "dist/index.d.ts",
30
+ "dependencies": {
31
+ "@bcgov/design-tokens": "3.2.0",
32
+ "react-aria-components": "1.13.0"
33
+ },
34
+ "peerDependencies": {
35
+ "@bcgov/bc-sans": "^2.1.0",
36
+ "react": "^16.14.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
37
+ "react-dom": "^16.14.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
38
+ },
39
+ "devDependencies": {
40
+ "@react-stately/data": "3.11.6",
41
+ "@rollup/plugin-commonjs": "26.0.1",
42
+ "@rollup/plugin-json": "6.1.0",
43
+ "@rollup/plugin-node-resolve": "15.2.3",
44
+ "@rollup/plugin-typescript": "11.1.6",
45
+ "@storybook/addon-a11y": "^10.1.9",
46
+ "@storybook/addon-docs": "^10.1.9",
47
+ "@storybook/addon-links": "^10.1.9",
48
+ "@storybook/addon-vitest": "^10.1.9",
49
+ "@storybook/react-vite": "^10.1.9",
50
+ "@storybook/test-runner": "0.24.2",
51
+ "@testing-library/jest-dom": "6.5.0",
52
+ "@testing-library/react": "16.0.1",
53
+ "@types/jest": "29.5.13",
54
+ "@types/react": "18.3.8",
55
+ "@types/react-dom": "18.3.0",
56
+ "@typescript-eslint/eslint-plugin": "8.6.0",
57
+ "@typescript-eslint/parser": "8.6.0",
58
+ "@vitejs/plugin-react": "5.1.1",
59
+ "axe-playwright": "2.0.2",
60
+ "eslint": "8.57.0",
61
+ "eslint-plugin-react-hooks": "4.6.2",
62
+ "eslint-plugin-react-refresh": "0.4.12",
63
+ "eslint-plugin-storybook": "^10.1.9",
64
+ "identity-obj-proxy": "3.0.0",
65
+ "jest": "29.7.0",
66
+ "jest-environment-jsdom": "29.7.0",
67
+ "rollup": "4.32.1",
68
+ "rollup-plugin-dts": "6.1.1",
69
+ "rollup-plugin-peer-deps-external": "2.2.4",
70
+ "rollup-plugin-postcss": "4.0.2",
71
+ "storybook": "^10.1.9",
72
+ "ts-jest": "29.2.5",
73
+ "ts-node": "10.9.2",
74
+ "tslib": "2.7.0",
75
+ "typescript": "5.6.2",
76
+ "vite": "7.2.4",
77
+ "vitest": "^4.0.14",
78
+ "playwright": "^1.57.0",
79
+ "@vitest/browser-playwright": "^4.0.14",
80
+ "@vitest/coverage-v8": "^4.0.14"
81
+ },
82
+ "optionalDependencies": {
83
+ "@rollup/rollup-linux-x64-gnu": "*"
84
+ },
85
+ "author": "Tyler Krys <Tyler.Krys@gov.bc.ca>",
86
+ "license": "Apache-2.0",
87
+ "bugs": {
88
+ "url": "https://github.com/bcgov/design-system/issues"
89
+ },
90
+ "homepage": "https://github.com/bcgov/design-system#readme",
91
+ "private": false
92
+ }