Skip to content

Commit

Permalink
chore: deprecating the component
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Psztyc <jarrodek@gmail.com>
  • Loading branch information
jarrodek committed Oct 20, 2021
1 parent f67a67e commit 6028096
Show file tree
Hide file tree
Showing 9 changed files with 515 additions and 1,106 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# ARC response
# Deprecated

This component is deprecated. Use `@advanced-rest-client/app` instead.

----

A module containing the UI regions and the logic to render and support HTTP response in Advanced REST Client.

Expand Down
1,581 changes: 489 additions & 1,092 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@advanced-rest-client/arc-response",
"description": "A module containing the UI regions and the logic to render and support HTTP response in Advanced REST Client.",
"version": "0.3.7",
"version": "0.3.8",
"license": "Apache-2.0",
"main": "index.js",
"module": "index.js",
Expand Down Expand Up @@ -30,12 +30,12 @@
},
"dependencies": {
"@advanced-rest-client/arc-events": "^0.2.21",
"@advanced-rest-client/arc-headers": "^0.1.10",
"@advanced-rest-client/arc-headers": "^0.1.11",
"@advanced-rest-client/arc-icons": "^3.3.4",
"@advanced-rest-client/arc-types": "^0.2.61",
"@advanced-rest-client/date-time": "^3.0.2",
"@anypoint-web-components/anypoint-button": "^1.2.3",
"@anypoint-web-components/anypoint-item": "^1.1.2",
"@advanced-rest-client/arc-types": "^0.2.62",
"@advanced-rest-client/date-time": "^3.0.3",
"@anypoint-web-components/anypoint-button": "^1.2.4",
"@anypoint-web-components/anypoint-item": "^1.1.3",
"@anypoint-web-components/anypoint-listbox": "^1.1.7",
"@anypoint-web-components/anypoint-menu-button": "^0.1.5",
"@api-client/har": "^0.2.1",
Expand All @@ -47,18 +47,18 @@
"devDependencies": {
"@advanced-rest-client/arc-data-generator": "^4.0.1",
"@advanced-rest-client/arc-demo-helper": "^3.0.3",
"@anypoint-web-components/anypoint-switch": "^0.1.10",
"@open-wc/eslint-config": "^4.3.0",
"@open-wc/testing": "^2.5.33",
"@anypoint-web-components/anypoint-switch": "^0.1.11",
"@open-wc/eslint-config": "^6.0.0",
"@open-wc/testing": "^3.0.1",
"@web/dev-server": "^0.1.25",
"@web/test-runner": "^0.13.18",
"@web/test-runner": "^0.13.20",
"@web/test-runner-playwright": "^0.8.8",
"eslint": "^7.32.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.2",
"lint-staged": "^11.2.0",
"lint-staged": "^11.2.3",
"sinon": "^11.1.2",
"typescript": "^4.4.3",
"typescript": "^4.4.4",
"typescript-lit-html-plugin": "^0.9.0"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/RequestTimingsElement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {

/**
* An element to render request timings data according to the HAR 1.2 spec.
* @deprecated Use `@advanced-rest-client/app` instead.
*/
export class RequestTimingsElement extends LitElement {
get styles(): CSSResult;
Expand Down
1 change: 1 addition & 0 deletions src/RequestTimingsPanelElement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { readTimingValue, computeHarTime, computeRequestTime, redirectsTableTemp

/**
* An element to render a set of ARC HAR timings.
* @deprecated Use `@advanced-rest-client/app` instead.
*/
export class RequestTimingsPanelElement extends LitElement {
get styles(): CSSResult;
Expand Down
3 changes: 3 additions & 0 deletions src/ResponseBodyElement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ import {

/** @typedef {import('lit-element').TemplateResult} TemplateResult */

/**
* @deprecated Use `@advanced-rest-client/app` instead.
*/
export declare class ResponseBodyElement extends LitElement {
get styles(): CSSResult;

Expand Down
1 change: 1 addition & 0 deletions src/ResponseErrorElement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
* The element renders predefined error message with icon and depending on the
* `message` property it renders custom message or a predefined explanation
* if the message is one of the Chrome's network errors (net::*).
* @deprecated Use `@advanced-rest-client/app` instead.
*/
export class ResponseErrorElement extends LitElement {
get styles(): CSSResult;
Expand Down
1 change: 1 addition & 0 deletions src/ResponseHighlightElement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {

/**
* Response syntax highlighting via Prism
* @deprecated Use `@advanced-rest-client/app` instead.
*
*/
export class ResponseHighlightElement extends LitElement {
Expand Down
1 change: 1 addition & 0 deletions src/ResponseViewElement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const availableTabs: ResponsePanel[];
* @fires activechange When a list of active panels change
* @fires selectedchange When a list of active panels change
* @fires clear Dispatched when the user press the `clear` button.
* @deprecated Use `@advanced-rest-client/app` instead.
*/
export declare class ResponseViewElement extends LitElement {
get styles(): CSSResult | CSSResult[];
Expand Down

0 comments on commit 6028096

Please sign in to comment.