@baloise/ds-react 19.10.2 → 20.0.0-next.7

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.
@@ -0,0 +1,6 @@
1
+ import { DsConfig } from '@baloise/ds-core';
2
+ interface DsReactConfig {
3
+ defaults?: DsConfig;
4
+ }
5
+ export declare const bootstrapDesignSystem: (config?: DsReactConfig) => void;
6
+ export * from './generated/components';
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import { initializeDesignSystem } from '@baloise/ds-core';
2
+ export const bootstrapDesignSystem = (config = {}) => {
3
+ initializeDesignSystem(Object.assign(Object.assign({}, config.defaults), { httpFormSubmit: false }));
4
+ };
5
+ export * from './generated/components';
package/package.json CHANGED
@@ -1,22 +1,43 @@
1
1
  {
2
2
  "name": "@baloise/ds-react",
3
- "version": "19.10.2",
4
- "description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
3
+ "version": "20.0.0-next.7",
4
+ "description": "The Helvetia Design System is an open source project for styling awesome web applications that follow the Helvetia corporate styling guidelines.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://github.com/baloise/design-system.git"
7
+ "url": "git+https://github.com/baloise/design-system.git"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
12
  "homepage": "https://design.baloise.dev",
13
+ "security": "https://github.com/baloise/design-system/security/advisories/new",
13
14
  "license": "Apache-2.0",
15
+ "type": "module",
16
+ "main": "dist/index.js",
17
+ "module": "dist/index.js",
18
+ "types": "dist/index.d.ts",
19
+ "files": [
20
+ "dist/"
21
+ ],
22
+ "peerDependencies": {
23
+ "react": "^18.0.0 || ^19.0.0",
24
+ "react-dom": "^18.0.0 || ^19.0.0"
25
+ },
14
26
  "dependencies": {
15
- "@baloise/ds-core": "19.10.2",
16
- "@stencil/react-output-target": "1.2.0"
27
+ "@baloise/ds-core": "20.0.0-next.7",
28
+ "@stencil/react-output-target": "1.6.1"
17
29
  },
18
- "module": "./index.esm.js",
19
- "type": "module",
20
- "main": "./index.esm.js",
21
- "types": "./index.esm.d.ts"
30
+ "devDependencies": {
31
+ "@types/react": "19.2.17",
32
+ "@types/react-dom": "19.2.3",
33
+ "eslint": "10.7.0",
34
+ "react": "19.2.7",
35
+ "react-dom": "19.2.7",
36
+ "typescript": "5.6.3"
37
+ },
38
+ "scripts": {
39
+ "build": "tsc -p tsconfig.lib.json",
40
+ "build:clean": "rimraf dist",
41
+ "lint": "eslint ."
42
+ }
22
43
  }
package/index.esm.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/index";