@neovici/cosmoz-form 1.1.1 → 2.0.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.
@@ -1,5 +1,5 @@
1
- import { Props as DialogProps } from '@neovici/cosmoz-dialog-next';
2
- import '@neovici/cosmoz-dialog-next/loading';
1
+ import { Props as DialogProps } from '@neovici/cosmoz-dialog';
2
+ import '@neovici/cosmoz-dialog/loading';
3
3
  import { Props as AddProps } from '../use-validated-form$';
4
4
  import '@neovici/cosmoz-spinner';
5
5
  import { Renderable, Resolvable } from '../types';
@@ -1 +1 @@
1
- {"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../src/form-dialog/form-dialog.ts"],"names":[],"mappings":"AAMA,OAAO,EAAU,KAAK,IAAI,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,qCAAqC,CAAC;AAI7C,OAAO,EAAqB,KAAK,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,yBAAyB,CAAC;AAIjC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,UAAU,KAAK,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;IACjE,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AA2CD,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,KAAK,CAAC,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,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AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAAE,QAAQ,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;;;;EAIzE,CAAC"}
@@ -4,8 +4,8 @@ import { when } from 'lit-html/directives/when.js';
4
4
  import { ifDefined } from 'lit-html/directives/if-defined.js';
5
5
  import { _ } from '@neovici/cosmoz-i18next';
6
6
  import { portal } from '@neovici/cosmoz-utils/directives/portal';
7
- import { dialog } from '@neovici/cosmoz-dialog-next';
8
- import '@neovici/cosmoz-dialog-next/loading';
7
+ import { dialog } from '@neovici/cosmoz-dialog';
8
+ import '@neovici/cosmoz-dialog/loading';
9
9
  import buttonStyles from '../styles/button';
10
10
  import { renderFields, renderStyles } from '../render';
11
11
  import { renderFailure$, renderButton$ } from '../add/render';
package/package.json CHANGED
@@ -1,99 +1,101 @@
1
1
  {
2
- "name": "@neovici/cosmoz-form",
3
- "version": "1.1.1",
4
- "description": "A pionjs component",
5
- "keywords": [
6
- "web-components",
7
- "form",
8
- "pion",
9
- "lit-html"
10
- ],
11
- "homepage": "https://github.com/Neovici/cosmoz-form#readme",
12
- "bugs": {
13
- "url": "https://github.com/Neovici/cosmoz-form/issues"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/Neovici/cosmoz-form.git"
18
- },
19
- "license": "Apache-2.0",
20
- "author": "",
21
- "main": "dist/index.js",
22
- "type": "module",
23
- "directories": {
24
- "test": "test"
25
- },
26
- "scripts": {
27
- "lint": "tsc && eslint --cache .",
28
- "build": "tsc -p tsconfig.build.json",
29
- "start": "wds",
30
- "test": "wtr --coverage",
31
- "test:watch": "wtr --watch",
32
- "dev": "npm run storybook:start",
33
- "storybook:start": "storybook dev -p 8000",
34
- "storybook:build": "storybook build",
35
- "storybook:deploy": "storybook-to-ghpages",
36
- "storybook:preview": "npm run storybook:build && http-server -d ./storybook-static/",
37
- "prepare": "husky"
38
- },
39
- "release": {
40
- "plugins": [
41
- "@semantic-release/commit-analyzer",
42
- "@semantic-release/release-notes-generator",
43
- "@semantic-release/changelog",
44
- "@semantic-release/github",
45
- "@semantic-release/npm",
46
- "@semantic-release/git"
47
- ],
48
- "branch": "master",
49
- "preset": "conventionalcommits"
50
- },
51
- "publishConfig": {
52
- "access": "public"
53
- },
54
- "files": [
55
- "dist/",
56
- "types"
57
- ],
58
- "exports": {
59
- ".": "./dist/index.js"
60
- },
61
- "dependencies": {
62
- "@lit-labs/virtualizer": "^2.1.1",
63
- "@neovici/cosmoz-autocomplete": "^10.10.4",
64
- "@neovici/cosmoz-dialog-next": "^1.0.0",
65
- "@neovici/cosmoz-i18next": "^3.5.1",
66
- "@neovici/cosmoz-icons": "^1.3.0",
67
- "@neovici/cosmoz-input": "^5.5.0",
68
- "@neovici/cosmoz-spinner": "^1.0.2",
69
- "@neovici/cosmoz-utils": "^6.17.0",
70
- "@pionjs/pion": "^2.5.2",
71
- "date-fns": "^4.1.0",
72
- "lit-html": "^3.3.1"
73
- },
74
- "devDependencies": {
75
- "@commitlint/cli": "^20.0.0",
76
- "@commitlint/config-conventional": "^20.0.0",
77
- "@neovici/cfg": "^2.0.0",
78
- "@neovici/testing": "^2.0.0",
79
- "@open-wc/testing": "^4.0.0",
80
- "@open-wc/testing-helpers": "^3.0.1",
81
- "@semantic-release/changelog": "^6.0.0",
82
- "@semantic-release/git": "^10.0.0",
83
- "@storybook/addon-links": "^10.0.0",
84
- "@storybook/web-components": "^10.0.0",
85
- "@storybook/web-components-vite": "^10.0.0",
86
- "@types/mocha": "^10.0.0",
87
- "@types/node": "^24.0.0",
88
- "esbuild": "^0.27.0",
89
- "http-server": "^14.1.1",
90
- "husky": "^9.0.11",
91
- "semantic-release": "^25.0.0",
92
- "sinon": "^19.0.0",
93
- "storybook": "^10.0.0"
94
- },
95
- "overrides": {
96
- "conventional-changelog-conventionalcommits": ">= 8.0.0",
97
- "@polymer/polymer": "^3.5.2"
98
- }
2
+ "name": "@neovici/cosmoz-form",
3
+ "version": "2.0.0",
4
+ "description": "A pionjs component",
5
+ "keywords": [
6
+ "web-components",
7
+ "form",
8
+ "pion",
9
+ "lit-html"
10
+ ],
11
+ "homepage": "https://github.com/Neovici/cosmoz-form#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/Neovici/cosmoz-form/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/Neovici/cosmoz-form.git"
18
+ },
19
+ "license": "Apache-2.0",
20
+ "author": "",
21
+ "main": "dist/index.js",
22
+ "type": "module",
23
+ "directories": {
24
+ "test": "test"
25
+ },
26
+ "scripts": {
27
+ "lint": "tsc && eslint --cache .",
28
+ "build": "tsc -p tsconfig.build.json",
29
+ "start": "wds",
30
+ "test": "wtr --coverage",
31
+ "test:watch": "wtr --watch",
32
+ "check:duplicates": "check-duplicate-components",
33
+ "dev": "npm run storybook:start",
34
+ "storybook:start": "storybook dev -p 8000",
35
+ "storybook:build": "storybook build",
36
+ "storybook:deploy": "storybook-to-ghpages",
37
+ "storybook:preview": "npm run storybook:build && http-server -d ./storybook-static/",
38
+ "prepare": "husky"
39
+ },
40
+ "release": {
41
+ "plugins": [
42
+ "@semantic-release/commit-analyzer",
43
+ "@semantic-release/release-notes-generator",
44
+ "@semantic-release/changelog",
45
+ "@semantic-release/github",
46
+ "@semantic-release/npm",
47
+ "@semantic-release/git"
48
+ ],
49
+ "branch": "master",
50
+ "preset": "conventionalcommits"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ },
55
+ "files": [
56
+ "dist/",
57
+ "types"
58
+ ],
59
+ "exports": {
60
+ ".": "./dist/index.js"
61
+ },
62
+ "dependencies": {
63
+ "@lit-labs/virtualizer": "^2.1.1",
64
+ "@neovici/cosmoz-autocomplete": "^10.10.4 || ^11.0.0 || ^12.0.0 || ^13.0.0",
65
+ "@neovici/cosmoz-dialog": "^4.0.0",
66
+ "@neovici/cosmoz-i18next": "^3.5.1",
67
+ "@neovici/cosmoz-icons": "^1.3.0",
68
+ "@neovici/cosmoz-input": "^5.5.0",
69
+ "@neovici/cosmoz-spinner": "^1.0.2",
70
+ "@neovici/cosmoz-utils": "^6.17.0",
71
+ "@pionjs/pion": "^2.5.2",
72
+ "date-fns": "^4.1.0",
73
+ "lit-html": "^3.3.1"
74
+ },
75
+ "devDependencies": {
76
+ "@commitlint/cli": "^20.0.0",
77
+ "@commitlint/config-conventional": "^20.0.0",
78
+ "@neovici/cfg": "^2.8.0",
79
+ "lint-staged": "^15.4.3",
80
+ "@neovici/testing": "^2.0.0",
81
+ "@open-wc/testing": "^4.0.0",
82
+ "@open-wc/testing-helpers": "^3.0.1",
83
+ "@semantic-release/changelog": "^6.0.0",
84
+ "@semantic-release/git": "^10.0.0",
85
+ "@storybook/addon-links": "^10.0.0",
86
+ "@storybook/web-components": "^10.0.0",
87
+ "@storybook/web-components-vite": "^10.0.0",
88
+ "@types/mocha": "^10.0.0",
89
+ "@types/node": "^24.0.0",
90
+ "esbuild": "^0.27.0",
91
+ "http-server": "^14.1.1",
92
+ "husky": "^9.0.11",
93
+ "semantic-release": "^25.0.0",
94
+ "sinon": "^19.0.0",
95
+ "storybook": "^10.0.0"
96
+ },
97
+ "overrides": {
98
+ "conventional-changelog-conventionalcommits": ">= 8.0.0",
99
+ "@polymer/polymer": "^3.5.2"
100
+ }
99
101
  }