Skip to content

Commit

Permalink
chore: update all deps. to latest, lit 3
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianCataldo committed Nov 30, 2023
1 parent 84e5d1b commit 0c0400b
Show file tree
Hide file tree
Showing 23 changed files with 3,074 additions and 6,072 deletions.
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,43 +25,43 @@
"util:sort": "keep-sorted packages/*/src/widgets/index.ts packages/*/src/styles.scss && sort-package-json packages/*/package.json"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.8.4",
"@types/eslint": "^8.44.2",
"@types/node": "^20.8.3",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"@custom-elements-manifest/analyzer": "^0.9.0",
"@types/eslint": "^8.44.8",
"@types/node": "^20.10.1",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"cem-plugin-vs-code-custom-data-generator": "^1.4.2",
"esbuild": "^0.19.4",
"eslint": "^8.49.0",
"esbuild": "^0.19.8",
"eslint": "^8.54.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-lit": "^1.9.1",
"eslint-plugin-lit-a11y": "^4.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-lit": "^1.10.1",
"eslint-plugin-lit-a11y": "^4.1.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-tsdoc": "^0.2.17",
"lerna": "^7.3.0",
"prettier": "^3.0.3",
"lerna": "^8.0.0",
"prettier": "^3.1.0",
"sort-package-json": "^2.6.0",
"stylelint": "^15.10.3",
"stylelint": "^15.11.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-recess-order": "^4.4.0",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-recommended-scss": "^13.0.0",
"stylelint-config-recommended-scss": "^13.1.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.0.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-order": "^6.0.3",
"tsx": "^3.13.0",
"turbo": "^1.10.15",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.2.2"
"tsx": "^4.6.1",
"turbo": "^1.10.16",
"typedoc": "^0.25.4",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.2"
},
"dependencies": {
"plop": "^4.0.0",
"@custom-elements-manifest/to-markdown": "^0.1.0"
"@custom-elements-manifest/to-markdown": "^0.1.0",
"plop": "^4.0.0"
},
"packageManager": "[email protected]"
}
5 changes: 3 additions & 2 deletions packages/carbon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
npm install @jsfe/carbon
```

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

---

Expand Down
6 changes: 3 additions & 3 deletions packages/carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
"@jsfe/types": "workspace:*"
},
"devDependencies": {
"sass": "^1.68.0",
"typescript": "^5.2.2"
"sass": "^1.69.5",
"typescript": "^5.3.2"
},
"peerDependencies": {
"@carbon/styles": "^1.39.0",
"@carbon/web-components": "^2.0.1",
"lit": "^2.8.0"
"lit": "^3.1.0"
},
"publishConfig": {
"access": "public"
Expand Down
47 changes: 25 additions & 22 deletions packages/form/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
npm install @jsfe/form
```

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

---

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

### Fields

| Name | Privacy | Type | Default | Description | Inherited From |
| -------------------- | --------- | --------------------------- | ------- | ----------- | -------------- |
| `schema` | public | `JSONSchema7` | `{}` | | |
| `data` | public | `unknown` | `{}` | | |
| `uiSchema` | public | `UiSchema` | `{}` | | |
| `submitCallback` | public | `OnFormSubmit` | | | |
| `dataChangeCallback` | public | `DataChangeCallback` | | | |
| `widgets` | public | `Widgets` | `{}` | | |
| `styleSheets` | public | `CSSResult[]` | `[]` | | |
| `experimental` | public | `FeatureFlags \| undefined` | `{}` | | |
| `_uiState` | private | `unknown` | `{}` | | |
| `_dig` | protected | | | | |
| `#submit` | private | | | | |
| `#formRef` | private | | | | |
| Name | Privacy | Type | Default | Description | Inherited From |
| -------------------- | ------- | --------------------------- | ------- | ----------- | -------------- |
| `schema` | public | `JSONSchema7` | `{}` | | |
| `data` | public | `unknown` | `{}` | | |
| `uiSchema` | public | `UiSchema` | `{}` | | |
| `submitCallback` | public | `OnFormSubmit` | | | |
| `dataChangeCallback` | public | `DataChangeCallback` | | | |
| `widgets` | public | `Widgets` | `{}` | | |
| `styleSheets` | public | `CSSResult[]` | `[]` | | |
| `experimental` | public | `FeatureFlags \| undefined` | `{}` | | |
| `submitButton` | public | `boolean` | `true` | | |
| `_uiState` | private | `unknown` | `{}` | | |
| `#submit` | private | | | | |
| `#formRef` | private | | | | |

### Methods

| Name | Privacy | Description | Parameters | Return | Inherited From |
| ---------------- | --------- | ----------- | ---------------------------------------------- | ------ | -------------- |
| `_setToValue` | protected | | `object: unknown, value: unknown, path: Path` | | |
| `_handleChange` | protected | | `path: Path, value: unknown, schemaPath: Path` | | |
| `_handleKeydown` | protected | | `event: KeyboardEvent` | | |
| `_updateUi` | protected | | `path: Path, value: unknown` | | |
| Name | Privacy | Description | Parameters | Return | Inherited From |
| ---------------- | --------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------------- |
| `_dig` | protected | | `node: JSONSchema7, dataLevel: unknown, path: Path, uiState: unknown, uiSchema: UiSchema, schemaPath: Path, required, level` | `TemplateResult<1>` | |
| `_setToValue` | protected | | `object: unknown, value: unknown, path: Path` | | |
| `_handleChange` | protected | | `path: Path, value: unknown, schemaPath: Path` | | |
| `_handleKeydown` | protected | | `event: KeyboardEvent` | | |
| `_updateUi` | protected | | `path: Path, value: unknown` | | |

### Attributes

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

<hr/>

Expand Down
73 changes: 71 additions & 2 deletions packages/form/custom-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,16 @@
"default": "{}",
"attribute": "experimental"
},
{
"kind": "field",
"name": "submitButton",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "true",
"attribute": "submitButton"
},
{
"kind": "field",
"name": "_uiState",
Expand All @@ -143,9 +153,60 @@
"default": "{}"
},
{
"kind": "field",
"kind": "method",
"name": "_dig",
"privacy": "protected"
"privacy": "protected",
"return": {
"type": {
"text": "TemplateResult<1>"
}
},
"parameters": [
{
"name": "node",
"type": {
"text": "JSONSchema7"
}
},
{
"name": "dataLevel",
"type": {
"text": "unknown"
}
},
{
"name": "path",
"type": {
"text": "Path"
}
},
{
"name": "uiState",
"type": {
"text": "unknown"
}
},
{
"name": "uiSchema",
"type": {
"text": "UiSchema"
}
},
{
"name": "schemaPath",
"type": {
"text": "Path"
}
},
{
"name": "required",
"default": "false"
},
{
"name": "level",
"default": "0"
}
]
},
{
"kind": "method",
Expand Down Expand Up @@ -288,6 +349,14 @@
},
"default": "{}",
"fieldName": "experimental"
},
{
"name": "submitButton",
"type": {
"text": "boolean"
},
"default": "true",
"fieldName": "submitButton"
}
],
"superclass": {
Expand Down
8 changes: 4 additions & 4 deletions packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@types/lodash-es": "^4.17.9",
"sass": "^1.68.0",
"typescript": "^5.2.2"
"@types/lodash-es": "^4.17.12",
"sass": "^1.69.5",
"typescript": "^5.3.2"
},
"peerDependencies": {
"lit": "^2.8.0"
"lit": "^3.1.0"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/material/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
npm install @jsfe/material
```

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

---

Expand Down
6 changes: 3 additions & 3 deletions packages/material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
"@jsfe/types": "workspace:*"
},
"devDependencies": {
"sass": "^1.68.0",
"typescript": "^5.2.2"
"sass": "^1.69.5",
"typescript": "^5.3.2"
},
"peerDependencies": {
"@material/material-color-utilities": "^0.2.7",
"@material/web": "^1.0.0",
"lit": "^2.8.0"
"lit": "^3.1.0"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/shoelace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
npm install @jsfe/shoelace
```

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

---

Expand Down
8 changes: 4 additions & 4 deletions packages/shoelace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
"@jsfe/types": "workspace:*"
},
"devDependencies": {
"sass": "^1.68.0",
"typescript": "^5.2.2"
"sass": "^1.69.5",
"typescript": "^5.3.2"
},
"peerDependencies": {
"@shoelace-style/shoelace": "^2.8.0",
"lit": "^2.8.0"
"@shoelace-style/shoelace": "^2.12.0",
"lit": "^3.1.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 0c0400b

Please sign in to comment.