Skip to content

Commit 0c0400b

Browse files
committed
chore: update all deps. to latest, lit 3
1 parent 84e5d1b commit 0c0400b

File tree

23 files changed

+3074
-6072
lines changed

23 files changed

+3074
-6072
lines changed

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,43 +25,43 @@
2525
"util:sort": "keep-sorted packages/*/src/widgets/index.ts packages/*/src/styles.scss && sort-package-json packages/*/package.json"
2626
},
2727
"devDependencies": {
28-
"@custom-elements-manifest/analyzer": "^0.8.4",
29-
"@types/eslint": "^8.44.2",
30-
"@types/node": "^20.8.3",
31-
"@typescript-eslint/eslint-plugin": "^6.7.0",
32-
"@typescript-eslint/parser": "^6.7.0",
28+
"@custom-elements-manifest/analyzer": "^0.9.0",
29+
"@types/eslint": "^8.44.8",
30+
"@types/node": "^20.10.1",
31+
"@typescript-eslint/eslint-plugin": "^6.13.1",
32+
"@typescript-eslint/parser": "^6.13.1",
3333
"cem-plugin-vs-code-custom-data-generator": "^1.4.2",
34-
"esbuild": "^0.19.4",
35-
"eslint": "^8.49.0",
34+
"esbuild": "^0.19.8",
35+
"eslint": "^8.54.0",
3636
"eslint-config-airbnb-base": "^15.0.0",
3737
"eslint-config-airbnb-typescript": "^17.1.0",
3838
"eslint-config-prettier": "^9.0.0",
39-
"eslint-import-resolver-typescript": "^3.6.0",
40-
"eslint-plugin-import": "^2.28.1",
41-
"eslint-plugin-lit": "^1.9.1",
42-
"eslint-plugin-lit-a11y": "^4.1.0",
43-
"eslint-plugin-prettier": "^5.0.0",
39+
"eslint-import-resolver-typescript": "^3.6.1",
40+
"eslint-plugin-import": "^2.29.0",
41+
"eslint-plugin-lit": "^1.10.1",
42+
"eslint-plugin-lit-a11y": "^4.1.1",
43+
"eslint-plugin-prettier": "^5.0.1",
4444
"eslint-plugin-tsdoc": "^0.2.17",
45-
"lerna": "^7.3.0",
46-
"prettier": "^3.0.3",
45+
"lerna": "^8.0.0",
46+
"prettier": "^3.1.0",
4747
"sort-package-json": "^2.6.0",
48-
"stylelint": "^15.10.3",
48+
"stylelint": "^15.11.0",
4949
"stylelint-config-prettier": "^9.0.5",
50-
"stylelint-config-recess-order": "^4.3.0",
50+
"stylelint-config-recess-order": "^4.4.0",
5151
"stylelint-config-recommended": "^13.0.0",
52-
"stylelint-config-recommended-scss": "^13.0.0",
52+
"stylelint-config-recommended-scss": "^13.1.0",
5353
"stylelint-config-standard": "^34.0.0",
54-
"stylelint-config-standard-scss": "^11.0.0",
54+
"stylelint-config-standard-scss": "^11.1.0",
5555
"stylelint-order": "^6.0.3",
56-
"tsx": "^3.13.0",
57-
"turbo": "^1.10.15",
58-
"typedoc": "^0.25.1",
59-
"typedoc-plugin-markdown": "^3.16.0",
60-
"typescript": "^5.2.2"
56+
"tsx": "^4.6.1",
57+
"turbo": "^1.10.16",
58+
"typedoc": "^0.25.4",
59+
"typedoc-plugin-markdown": "^3.17.1",
60+
"typescript": "^5.3.2"
6161
},
6262
"dependencies": {
63-
"plop": "^4.0.0",
64-
"@custom-elements-manifest/to-markdown": "^0.1.0"
63+
"@custom-elements-manifest/to-markdown": "^0.1.0",
64+
"plop": "^4.0.0"
6565
},
6666
"packageManager": "[email protected]"
6767
}

packages/carbon/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
npm install @jsfe/carbon
55
```
66

7-
Consult the [documentation](../../README.md).
8-
Open the [playground](https://jsfe.js.org).
7+
- Consult the [documentation](../../README.md).
8+
- Open the [playground](https://jsfe.js.org).
9+
- Try the [examples](https://github.com/json-schema-form-element/examples#readme).
910

1011
---
1112

packages/carbon/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
"@jsfe/types": "workspace:*"
5959
},
6060
"devDependencies": {
61-
"sass": "^1.68.0",
62-
"typescript": "^5.2.2"
61+
"sass": "^1.69.5",
62+
"typescript": "^5.3.2"
6363
},
6464
"peerDependencies": {
6565
"@carbon/styles": "^1.39.0",
6666
"@carbon/web-components": "^2.0.1",
67-
"lit": "^2.8.0"
67+
"lit": "^3.1.0"
6868
},
6969
"publishConfig": {
7070
"access": "public"

packages/form/README.md

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
npm install @jsfe/form
55
```
66

7-
Consult the [documentation](../../README.md).
8-
Open the [playground](https://jsfe.js.org).
7+
- Consult the [documentation](../../README.md).
8+
- Open the [playground](https://jsfe.js.org).
9+
- Try the [examples](https://github.com/json-schema-form-element/examples#readme).
910

1011
---
1112

@@ -39,29 +40,30 @@ Open the [playground](https://jsfe.js.org).
3940

4041
### Fields
4142

42-
| Name | Privacy | Type | Default | Description | Inherited From |
43-
| -------------------- | --------- | --------------------------- | ------- | ----------- | -------------- |
44-
| `schema` | public | `JSONSchema7` | `{}` | | |
45-
| `data` | public | `unknown` | `{}` | | |
46-
| `uiSchema` | public | `UiSchema` | `{}` | | |
47-
| `submitCallback` | public | `OnFormSubmit` | | | |
48-
| `dataChangeCallback` | public | `DataChangeCallback` | | | |
49-
| `widgets` | public | `Widgets` | `{}` | | |
50-
| `styleSheets` | public | `CSSResult[]` | `[]` | | |
51-
| `experimental` | public | `FeatureFlags \| undefined` | `{}` | | |
52-
| `_uiState` | private | `unknown` | `{}` | | |
53-
| `_dig` | protected | | | | |
54-
| `#submit` | private | | | | |
55-
| `#formRef` | private | | | | |
43+
| Name | Privacy | Type | Default | Description | Inherited From |
44+
| -------------------- | ------- | --------------------------- | ------- | ----------- | -------------- |
45+
| `schema` | public | `JSONSchema7` | `{}` | | |
46+
| `data` | public | `unknown` | `{}` | | |
47+
| `uiSchema` | public | `UiSchema` | `{}` | | |
48+
| `submitCallback` | public | `OnFormSubmit` | | | |
49+
| `dataChangeCallback` | public | `DataChangeCallback` | | | |
50+
| `widgets` | public | `Widgets` | `{}` | | |
51+
| `styleSheets` | public | `CSSResult[]` | `[]` | | |
52+
| `experimental` | public | `FeatureFlags \| undefined` | `{}` | | |
53+
| `submitButton` | public | `boolean` | `true` | | |
54+
| `_uiState` | private | `unknown` | `{}` | | |
55+
| `#submit` | private | | | | |
56+
| `#formRef` | private | | | | |
5657

5758
### Methods
5859

59-
| Name | Privacy | Description | Parameters | Return | Inherited From |
60-
| ---------------- | --------- | ----------- | ---------------------------------------------- | ------ | -------------- |
61-
| `_setToValue` | protected | | `object: unknown, value: unknown, path: Path` | | |
62-
| `_handleChange` | protected | | `path: Path, value: unknown, schemaPath: Path` | | |
63-
| `_handleKeydown` | protected | | `event: KeyboardEvent` | | |
64-
| `_updateUi` | protected | | `path: Path, value: unknown` | | |
60+
| Name | Privacy | Description | Parameters | Return | Inherited From |
61+
| ---------------- | --------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------------- |
62+
| `_dig` | protected | | `node: JSONSchema7, dataLevel: unknown, path: Path, uiState: unknown, uiSchema: UiSchema, schemaPath: Path, required, level` | `TemplateResult<1>` | |
63+
| `_setToValue` | protected | | `object: unknown, value: unknown, path: Path` | | |
64+
| `_handleChange` | protected | | `path: Path, value: unknown, schemaPath: Path` | | |
65+
| `_handleKeydown` | protected | | `event: KeyboardEvent` | | |
66+
| `_updateUi` | protected | | `path: Path, value: unknown` | | |
6567

6668
### Attributes
6769

@@ -73,6 +75,7 @@ Open the [playground](https://jsfe.js.org).
7375
| `widgets` | widgets | |
7476
| `styleSheets` | styleSheets | |
7577
| `experimental` | experimental | |
78+
| `submitButton` | submitButton | |
7679

7780
<hr/>
7881

packages/form/custom-elements.json

Lines changed: 71 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@
133133
"default": "{}",
134134
"attribute": "experimental"
135135
},
136+
{
137+
"kind": "field",
138+
"name": "submitButton",
139+
"type": {
140+
"text": "boolean"
141+
},
142+
"privacy": "public",
143+
"default": "true",
144+
"attribute": "submitButton"
145+
},
136146
{
137147
"kind": "field",
138148
"name": "_uiState",
@@ -143,9 +153,60 @@
143153
"default": "{}"
144154
},
145155
{
146-
"kind": "field",
156+
"kind": "method",
147157
"name": "_dig",
148-
"privacy": "protected"
158+
"privacy": "protected",
159+
"return": {
160+
"type": {
161+
"text": "TemplateResult<1>"
162+
}
163+
},
164+
"parameters": [
165+
{
166+
"name": "node",
167+
"type": {
168+
"text": "JSONSchema7"
169+
}
170+
},
171+
{
172+
"name": "dataLevel",
173+
"type": {
174+
"text": "unknown"
175+
}
176+
},
177+
{
178+
"name": "path",
179+
"type": {
180+
"text": "Path"
181+
}
182+
},
183+
{
184+
"name": "uiState",
185+
"type": {
186+
"text": "unknown"
187+
}
188+
},
189+
{
190+
"name": "uiSchema",
191+
"type": {
192+
"text": "UiSchema"
193+
}
194+
},
195+
{
196+
"name": "schemaPath",
197+
"type": {
198+
"text": "Path"
199+
}
200+
},
201+
{
202+
"name": "required",
203+
"default": "false"
204+
},
205+
{
206+
"name": "level",
207+
"default": "0"
208+
}
209+
]
149210
},
150211
{
151212
"kind": "method",
@@ -288,6 +349,14 @@
288349
},
289350
"default": "{}",
290351
"fieldName": "experimental"
352+
},
353+
{
354+
"name": "submitButton",
355+
"type": {
356+
"text": "boolean"
357+
},
358+
"default": "true",
359+
"fieldName": "submitButton"
291360
}
292361
],
293362
"superclass": {

packages/form/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@
5959
"lodash-es": "^4.17.21"
6060
},
6161
"devDependencies": {
62-
"@types/lodash-es": "^4.17.9",
63-
"sass": "^1.68.0",
64-
"typescript": "^5.2.2"
62+
"@types/lodash-es": "^4.17.12",
63+
"sass": "^1.69.5",
64+
"typescript": "^5.3.2"
6565
},
6666
"peerDependencies": {
67-
"lit": "^2.8.0"
67+
"lit": "^3.1.0"
6868
},
6969
"publishConfig": {
7070
"access": "public"

packages/material/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
npm install @jsfe/material
55
```
66

7-
Consult the [documentation](../../README.md).
8-
Open the [playground](https://jsfe.js.org).
7+
- Consult the [documentation](../../README.md).
8+
- Open the [playground](https://jsfe.js.org).
9+
- Try the [examples](https://github.com/json-schema-form-element/examples#readme).
910

1011
---
1112

packages/material/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@
5858
"@jsfe/types": "workspace:*"
5959
},
6060
"devDependencies": {
61-
"sass": "^1.68.0",
62-
"typescript": "^5.2.2"
61+
"sass": "^1.69.5",
62+
"typescript": "^5.3.2"
6363
},
6464
"peerDependencies": {
6565
"@material/material-color-utilities": "^0.2.7",
6666
"@material/web": "^1.0.0",
67-
"lit": "^2.8.0"
67+
"lit": "^3.1.0"
6868
},
6969
"publishConfig": {
7070
"access": "public"

packages/shoelace/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
npm install @jsfe/shoelace
55
```
66

7-
Consult the [documentation](../../README.md).
8-
Open the [playground](https://jsfe.js.org).
7+
- Consult the [documentation](../../README.md).
8+
- Open the [playground](https://jsfe.js.org).
9+
- Try the [examples](https://github.com/json-schema-form-element/examples#readme).
910

1011
---
1112

packages/shoelace/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
"@jsfe/types": "workspace:*"
5858
},
5959
"devDependencies": {
60-
"sass": "^1.68.0",
61-
"typescript": "^5.2.2"
60+
"sass": "^1.69.5",
61+
"typescript": "^5.3.2"
6262
},
6363
"peerDependencies": {
64-
"@shoelace-style/shoelace": "^2.8.0",
65-
"lit": "^2.8.0"
64+
"@shoelace-style/shoelace": "^2.12.0",
65+
"lit": "^3.1.0"
6666
},
6767
"publishConfig": {
6868
"access": "public"

0 commit comments

Comments
 (0)