@jetbrains/ring-ui 6.1.1-beta.0 → 7.0.0-beta.1
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.
- package/components/auth/auth__core.d.ts +3 -3
- package/components/auth/auth__core.js +15 -24
- package/components/button/button.css +2 -2
- package/components/checkbox/checkbox.css +1 -4
- package/components/data-list/data-list.d.ts +4 -4
- package/components/date-picker/date-picker.css +2 -2
- package/components/dialog/dialog.js +1 -0
- package/components/global/variables.css +115 -106
- package/components/global/variables_dark.css +111 -102
- package/components/header/header-icon.d.ts +32 -0
- package/components/header/header-icon.js +20 -0
- package/components/header/header.css +71 -0
- package/components/header/header.d.ts +3 -0
- package/components/header/header.js +6 -4
- package/components/header/profile.js +1 -1
- package/components/header/scrollable-section.d.ts +2 -0
- package/components/header/scrollable-section.js +25 -0
- package/components/header/services.js +3 -3
- package/components/header/tray-icon.d.ts +1 -32
- package/components/header/tray-icon.js +2 -20
- package/components/heading/heading.d.ts +1 -4
- package/components/heading/heading.js +2 -7
- package/components/icon/icon.css +0 -11
- package/components/island/adaptive-island-hoc.d.ts +4 -4
- package/components/island/island.d.ts +4 -4
- package/components/link/link.d.ts +8 -8
- package/components/pager/pager.d.ts +1 -0
- package/components/pager/pager.js +2 -1
- package/components/select/select.css +3 -3
- package/components/shortcuts/shortcuts-hoc.d.ts +4 -4
- package/components/table/disable-hover-hoc.d.ts +4 -4
- package/components/table/simple-table.d.ts +61 -0
- package/components/table/simple-table.js +25 -0
- package/components/table/smart-table.d.ts +2 -0
- package/components/table/table.css +1 -1
- package/components/table/table.d.ts +9 -4
- package/components/table/table.js +8 -3
- package/components/tabs/tabs.css +1 -1
- package/components/tag/tag.css +3 -3
- package/components/toggle/toggle.css +7 -2
- package/package.json +28 -28
|
@@ -129,7 +129,7 @@ export default class Auth implements HTTPAuth {
|
|
|
129
129
|
listeners: Listeners<AuthPayloadMap>;
|
|
130
130
|
http: HTTP;
|
|
131
131
|
private _service;
|
|
132
|
-
readonly _storage: AuthStorage<number
|
|
132
|
+
readonly _storage: AuthStorage<number> | null;
|
|
133
133
|
private _responseParser;
|
|
134
134
|
private readonly _requestBuilder;
|
|
135
135
|
_backgroundFlow: BackgroundFlow | null;
|
|
@@ -174,7 +174,7 @@ export default class Auth implements HTTPAuth {
|
|
|
174
174
|
/**
|
|
175
175
|
* @return {Promise.<object>}
|
|
176
176
|
*/
|
|
177
|
-
getUser(accessToken?: string | null | undefined): Promise<any
|
|
177
|
+
getUser(accessToken?: string | null | undefined): Promise<any> | undefined;
|
|
178
178
|
/**
|
|
179
179
|
* @return {Promise.<object>}
|
|
180
180
|
*/
|
|
@@ -197,7 +197,7 @@ export default class Auth implements HTTPAuth {
|
|
|
197
197
|
*/
|
|
198
198
|
login(): Promise<void>;
|
|
199
199
|
switchUser(): Promise<void>;
|
|
200
|
-
_makeStateFromResponse(authResponse: AuthResponse): AuthState
|
|
200
|
+
_makeStateFromResponse(authResponse: AuthResponse): AuthState;
|
|
201
201
|
/**
|
|
202
202
|
* Check if the hash contains an access token.
|
|
203
203
|
* If it does, extract the state, compare with
|
|
@@ -58,7 +58,7 @@ export default class Auth {
|
|
|
58
58
|
listeners = new Listeners();
|
|
59
59
|
http;
|
|
60
60
|
_service = {};
|
|
61
|
-
_storage;
|
|
61
|
+
_storage = null;
|
|
62
62
|
_responseParser = new AuthResponseParser();
|
|
63
63
|
_requestBuilder = null;
|
|
64
64
|
_backgroundFlow;
|
|
@@ -694,24 +694,23 @@ export default class Auth {
|
|
|
694
694
|
_makeStateFromResponse(authResponse) {
|
|
695
695
|
const { state } = authResponse;
|
|
696
696
|
if (!state) {
|
|
697
|
-
|
|
697
|
+
return {};
|
|
698
698
|
}
|
|
699
699
|
const { scope: defaultScope } = this.config;
|
|
700
|
-
let urlFromState = null;
|
|
701
700
|
try {
|
|
702
|
-
urlFromState = new URL(state); // checking if state contains valid URL on same origin, see HUB-11514
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
701
|
+
const urlFromState = new URL(state); // checking if state contains valid URL on same origin, see HUB-11514
|
|
702
|
+
if (urlFromState.origin !== window.location.origin) {
|
|
703
|
+
return {};
|
|
704
|
+
}
|
|
705
|
+
return {
|
|
706
|
+
restoreLocation: state,
|
|
707
|
+
created: Date.now(),
|
|
708
|
+
scopes: defaultScope
|
|
709
|
+
};
|
|
706
710
|
}
|
|
707
|
-
|
|
708
|
-
|
|
711
|
+
catch (e) {
|
|
712
|
+
return {};
|
|
709
713
|
}
|
|
710
|
-
return {
|
|
711
|
-
restoreLocation: state,
|
|
712
|
-
created: Date.now(),
|
|
713
|
-
scopes: defaultScope
|
|
714
|
-
};
|
|
715
714
|
}
|
|
716
715
|
/**
|
|
717
716
|
* Check if the hash contains an access token.
|
|
@@ -732,16 +731,8 @@ export default class Auth {
|
|
|
732
731
|
return undefined;
|
|
733
732
|
}
|
|
734
733
|
const { state: stateId, scope, expiresIn, accessToken } = authResponse;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
newState = await this._storage.getState(stateId);
|
|
738
|
-
if (!newState) {
|
|
739
|
-
newState = this._makeStateFromResponse(authResponse);
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
if (!newState) {
|
|
743
|
-
throw new Error(`Could not create state where stateId="${stateId}"`);
|
|
744
|
-
}
|
|
734
|
+
const newState = await (stateId && this._storage?.getState(stateId)) ||
|
|
735
|
+
this._makeStateFromResponse(authResponse);
|
|
745
736
|
const scopes = scope ? scope.split(' ') : newState.scopes || defaultScope || [];
|
|
746
737
|
const effectiveExpiresIn = expiresIn ? parseInt(expiresIn, 10) : defaultExpiresIn;
|
|
747
738
|
const expires = TokenValidator._epoch() + effectiveExpiresIn;
|
|
@@ -32,7 +32,7 @@ export default class DataListContainer<T extends SelectionItem> extends Componen
|
|
|
32
32
|
onKeyDown: (e: KeyboardEvent) => void;
|
|
33
33
|
render(): import("react").JSX.Element;
|
|
34
34
|
context: unknown;
|
|
35
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>) => Pick<{}, K> |
|
|
35
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
36
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
37
|
readonly props: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>;
|
|
38
38
|
refs: {
|
|
@@ -40,7 +40,7 @@ export default class DataListContainer<T extends SelectionItem> extends Componen
|
|
|
40
40
|
};
|
|
41
41
|
shouldComponentUpdate?(nextProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
42
42
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
43
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, prevState: Readonly<{}>): any
|
|
43
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, prevState: Readonly<{}>): any;
|
|
44
44
|
componentDidUpdate?(prevProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
45
45
|
componentWillMount?(): void;
|
|
46
46
|
UNSAFE_componentWillMount?(): void;
|
|
@@ -59,7 +59,7 @@ export default class DataListContainer<T extends SelectionItem> extends Componen
|
|
|
59
59
|
onKeyDown: (e: KeyboardEvent) => void;
|
|
60
60
|
render(): import("react").JSX.Element;
|
|
61
61
|
context: unknown;
|
|
62
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>) => Pick<{}, K> |
|
|
62
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
63
63
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
64
64
|
readonly props: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>;
|
|
65
65
|
refs: {
|
|
@@ -67,7 +67,7 @@ export default class DataListContainer<T extends SelectionItem> extends Componen
|
|
|
67
67
|
};
|
|
68
68
|
shouldComponentUpdate?(nextProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
69
69
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
70
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, prevState: Readonly<{}>): any
|
|
70
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, prevState: Readonly<{}>): any;
|
|
71
71
|
componentDidUpdate?(prevProps: Readonly<import("../table/disable-hover-hoc").DisableHoverProps<import("../table/selection-shortcuts-hoc").SelectionShortcutsProps<T, FocusableProps<T>>>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
72
72
|
componentWillMount?(): void;
|
|
73
73
|
UNSAFE_componentWillMount?(): void;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
:root {
|
|
11
11
|
/* stylelint-disable-next-line color-no-hex */
|
|
12
|
-
--ring-date-picker-hover-color:
|
|
12
|
+
--ring-date-picker-hover-color: var(--ring-border-hover-color);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.container {
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
.active.active {
|
|
311
311
|
transition: none;
|
|
312
312
|
|
|
313
|
-
color: var(--ring-
|
|
313
|
+
color: var(--ring-text-color);
|
|
314
314
|
border-radius: var(--ring-border-radius);
|
|
315
315
|
background-color: var(--ring-date-picker-hover-color);
|
|
316
316
|
}
|
|
@@ -84,6 +84,7 @@ export default class Dialog extends PureComponent {
|
|
|
84
84
|
const { show, modal } = this.props;
|
|
85
85
|
if (this.nativeDialog.current != null) {
|
|
86
86
|
if (show) {
|
|
87
|
+
this.nativeDialog.current.removeAttribute('open');
|
|
87
88
|
modal ? this.nativeDialog.current.showModal() : this.nativeDialog.current.show();
|
|
88
89
|
}
|
|
89
90
|
else {
|
|
@@ -5,141 +5,150 @@
|
|
|
5
5
|
--ring-unit: 8px;
|
|
6
6
|
|
|
7
7
|
/* Element */
|
|
8
|
-
--ring-line-components: 223,
|
|
9
|
-
--ring-line-color: rgb(var(--ring-line-components)); /* #
|
|
10
|
-
--ring-borders-components:
|
|
11
|
-
--ring-borders-color: rgb(var(--ring-borders-components)); /* #
|
|
12
|
-
--ring-icon-components:
|
|
13
|
-
--ring-icon-color: rgb(var(--ring-icon-components)); /* #
|
|
14
|
-
--ring-icon-
|
|
15
|
-
--ring-icon-
|
|
16
|
-
--ring-
|
|
17
|
-
--ring-
|
|
18
|
-
--ring-border-
|
|
19
|
-
--ring-border-
|
|
20
|
-
--ring-
|
|
21
|
-
--ring-
|
|
22
|
-
--ring-
|
|
23
|
-
--ring-
|
|
24
|
-
--ring-
|
|
25
|
-
--ring-
|
|
26
|
-
--ring-
|
|
27
|
-
--ring-
|
|
28
|
-
--ring-
|
|
29
|
-
--ring-
|
|
30
|
-
--ring-
|
|
31
|
-
--ring-
|
|
32
|
-
--ring-
|
|
33
|
-
--ring-
|
|
34
|
-
--ring-icon-
|
|
35
|
-
--ring-icon-
|
|
36
|
-
--ring-icon-
|
|
37
|
-
--ring-icon-
|
|
38
|
-
--ring-
|
|
39
|
-
--ring-
|
|
8
|
+
--ring-line-components: 223, 225, 229;
|
|
9
|
+
--ring-line-color: rgb(var(--ring-line-components)); /* #dfe1e5 */
|
|
10
|
+
--ring-borders-components: 211, 213, 219;
|
|
11
|
+
--ring-borders-color: rgb(var(--ring-borders-components)); /* #d3d5db */
|
|
12
|
+
--ring-icon-components: 129, 133, 148;
|
|
13
|
+
--ring-icon-color: rgb(var(--ring-icon-components)); /* #818594 */
|
|
14
|
+
--ring-icon-white-components: 255, 255, 255;
|
|
15
|
+
--ring-icon-white-color: rgb(var(--ring-icon-white-components)); /* #FFFFFF */
|
|
16
|
+
--ring-icon-secondary-components: 129, 133, 148;
|
|
17
|
+
--ring-icon-secondary-color: rgb(var(--ring-icon-secondary-components)); /* #818594 */
|
|
18
|
+
--ring-border-disabled-components: 235, 236, 240;
|
|
19
|
+
--ring-border-disabled-color: rgb(var(--ring-border-disabled-components)); /* #ebecf0 */
|
|
20
|
+
--ring-border-selected-disabled-components: 201, 204, 214;
|
|
21
|
+
--ring-border-selected-disabled-color: rgb(var(--ring-border-selected-disabled-components)); /* #c9ccd6 */
|
|
22
|
+
--ring-icon-disabled-components: 211, 213, 219;
|
|
23
|
+
--ring-icon-disabled-color: rgb(var(--ring-icon-disabled-components)); /* #d3d5db */
|
|
24
|
+
--ring-border-hover-components: 160, 189, 248;
|
|
25
|
+
--ring-border-hover-color: rgb(var(--ring-border-hover-components)); /* #a0bdf8 */
|
|
26
|
+
--ring-icon-hover-components: 90, 93, 107;
|
|
27
|
+
--ring-icon-hover-color: rgb(var(--ring-icon-hover-components)); /* #5a5d6b */
|
|
28
|
+
--ring-main-components: 53, 116, 240;
|
|
29
|
+
--ring-main-color: rgb(var(--ring-main-components)); /* #3574f0 */
|
|
30
|
+
--ring-action-link-components: 46, 85, 163;
|
|
31
|
+
--ring-action-link-color: rgb(var(--ring-action-link-components)); /* #2E55A3 */
|
|
32
|
+
--ring-main-hover-components: 51, 105, 214;
|
|
33
|
+
--ring-main-hover-color: rgb(var(--ring-main-hover-components)); /* #3369d6 */
|
|
34
|
+
--ring-icon-error-components: 219, 59, 75;
|
|
35
|
+
--ring-icon-error-color: rgb(var(--ring-icon-error-components)); /* #db3b4b */
|
|
36
|
+
--ring-icon-warning-components: 255, 175, 15;
|
|
37
|
+
--ring-icon-warning-color: rgb(var(--ring-icon-warning-components)); /* #ffaf0f */
|
|
38
|
+
--ring-icon-success-components: 85, 167, 106;
|
|
39
|
+
--ring-icon-success-color: rgb(var(--ring-icon-success-components)); /* #55a76a */
|
|
40
|
+
--ring-pale-control-components: 194, 214, 252;
|
|
41
|
+
--ring-pale-control-color: rgb(var(--ring-pale-control-components)); /* #C2D6FC */
|
|
40
42
|
--ring-popup-border-components: 0, 28, 54;
|
|
41
43
|
--ring-popup-border-color: var(--ring-line-color);
|
|
42
44
|
--ring-popup-shadow-components: rgba(var(--ring-popup-border-components), 0.1);
|
|
43
45
|
--ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.1);
|
|
44
46
|
--ring-popup-secondary-shadow-color: rgba(var(--ring-popup-border-components), 0.04);
|
|
45
47
|
--ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);
|
|
46
|
-
--ring-pinned-shadow-components:
|
|
47
|
-
--ring-pinned-shadow-color: rgb(var(--ring-pinned-shadow-components)); /* #
|
|
48
|
+
--ring-pinned-shadow-components: 108, 112, 126;
|
|
49
|
+
--ring-pinned-shadow-color: rgb(var(--ring-pinned-shadow-components)); /* #6C707E */
|
|
48
50
|
--ring-button-danger-hover-components: var(--ring-icon-error-color);
|
|
49
51
|
--ring-button-danger-hover-color: var(--ring-icon-error-color);
|
|
50
|
-
--ring-button-primary-border-components:
|
|
51
|
-
--ring-button-primary-border-color: rgb(var(--ring-button-primary-border-components)); /* #
|
|
52
|
+
--ring-button-primary-border-components: 49, 95, 189;
|
|
53
|
+
--ring-button-primary-border-color: rgb(var(--ring-button-primary-border-components)); /* #315FBD */
|
|
52
54
|
--ring-dialog-overlay-components: 0, 0, 0;
|
|
53
55
|
--ring-dialog-overlay-opacity: 0.4;
|
|
54
56
|
--ring-popup-shadow: 0 2px 8px var(--ring-popup-shadow-color), 0 1px 2px var(--ring-popup-secondary-shadow-color);
|
|
55
57
|
--ring-dialog-shadow: 0 4px 24px var(--ring-popup-shadow-color), 0 2px 6px var(--ring-popup-secondary-shadow-color);
|
|
56
58
|
|
|
59
|
+
|
|
57
60
|
/* Text */
|
|
58
|
-
--ring-search-components:
|
|
59
|
-
--ring-search-color: rgb(var(--ring-search-components)); /* #
|
|
60
|
-
--ring-hint-components:
|
|
61
|
-
--ring-hint-color: rgb(var(--ring-hint-components)); /* #
|
|
62
|
-
--ring-link-components:
|
|
63
|
-
--ring-link-color: rgb(var(--ring-link-components)); /* #
|
|
64
|
-
--ring-link-hover-components:
|
|
65
|
-
--ring-link-hover-color: rgb(var(--ring-link-hover-components)); /* #
|
|
66
|
-
--ring-error-components:
|
|
67
|
-
--ring-error-color: rgb(var(--ring-error-components)); /* #
|
|
68
|
-
--ring-warning-components:
|
|
69
|
-
--ring-warning-color: rgb(var(--ring-warning-components)); /* #
|
|
70
|
-
--ring-success-components:
|
|
71
|
-
--ring-success-color: rgb(var(--ring-success-components)); /* #
|
|
72
|
-
--ring-text-components:
|
|
73
|
-
--ring-text-color: rgb(var(--ring-text-components)); /* #
|
|
61
|
+
--ring-search-components: 112, 156, 245;
|
|
62
|
+
--ring-search-color: rgb(var(--ring-search-components)); /* #709CF5 */
|
|
63
|
+
--ring-hint-components: 46, 85, 163;
|
|
64
|
+
--ring-hint-color: rgb(var(--ring-hint-components)); /* #2E55A3 */
|
|
65
|
+
--ring-link-components: 46, 85, 163;
|
|
66
|
+
--ring-link-color: rgb(var(--ring-link-components)); /* #2E55A3 */
|
|
67
|
+
--ring-link-hover-components: 34, 60, 114;
|
|
68
|
+
--ring-link-hover-color: rgb(var(--ring-link-hover-components)); /* #223C72 */
|
|
69
|
+
--ring-error-components: 204, 54, 69;
|
|
70
|
+
--ring-error-color: rgb(var(--ring-error-components)); /* #CC3645 */
|
|
71
|
+
--ring-warning-components: 164, 103, 4;
|
|
72
|
+
--ring-warning-color: rgb(var(--ring-warning-components)); /* #A46704 */
|
|
73
|
+
--ring-success-components: 31, 117, 54;
|
|
74
|
+
--ring-success-color: rgb(var(--ring-success-components)); /* #1F7536 */
|
|
75
|
+
--ring-text-components: 39, 40, 46;
|
|
76
|
+
--ring-text-color: rgb(var(--ring-text-components)); /* #27282E */
|
|
74
77
|
--ring-active-text-color: var(--ring-text-color);
|
|
75
78
|
--ring-white-text-components: 255, 255, 255;
|
|
76
|
-
--ring-white-text-color: rgb(var(--ring-white-text-components)); /* #
|
|
79
|
+
--ring-white-text-color: rgb(var(--ring-white-text-components)); /* #FFFFFF */
|
|
77
80
|
--ring-heading-color: var(--ring-text-color);
|
|
78
|
-
--ring-secondary-components:
|
|
79
|
-
--ring-secondary-color: rgb(var(--ring-secondary-components)); /* #
|
|
80
|
-
--ring-disabled-components:
|
|
81
|
-
--ring-disabled-color: rgb(var(--ring-disabled-components)); /* #
|
|
81
|
+
--ring-secondary-components: 108, 112, 126;
|
|
82
|
+
--ring-secondary-color: rgb(var(--ring-secondary-components)); /* #6C707E */
|
|
83
|
+
--ring-disabled-components: 168, 173, 189;
|
|
84
|
+
--ring-disabled-color: rgb(var(--ring-disabled-components)); /* #A8ADBD */
|
|
82
85
|
|
|
83
86
|
/* Background */
|
|
84
87
|
--ring-content-background-components: 255, 255, 255;
|
|
85
|
-
--ring-content-background-color: rgb(var(--ring-content-background-components)); /* #
|
|
88
|
+
--ring-content-background-color: rgb(var(--ring-content-background-components)); /* #FFFFFF */
|
|
86
89
|
--ring-popup-background-components: 255, 255, 255;
|
|
87
|
-
--ring-popup-background-color: rgb(var(--ring-popup-background-components)); /* #
|
|
88
|
-
--ring-sidebar-background-components: 247,
|
|
89
|
-
--ring-sidebar-background-color: rgb(var(--ring-sidebar-background-components)); /* #
|
|
90
|
-
--ring-selected-background-components: 212,
|
|
91
|
-
--ring-selected-background-color: rgb(var(--ring-selected-background-components)); /* #
|
|
92
|
-
--ring-hover-background-components:
|
|
93
|
-
--ring-hover-background-color: rgb(var(--ring-hover-background-components)); /* #
|
|
90
|
+
--ring-popup-background-color: rgb(var(--ring-popup-background-components)); /* #FFFFFF */
|
|
91
|
+
--ring-sidebar-background-components: 247, 248, 250;
|
|
92
|
+
--ring-sidebar-background-color: rgb(var(--ring-sidebar-background-components)); /* #F7F8FA */
|
|
93
|
+
--ring-selected-background-components: 212, 226, 255;
|
|
94
|
+
--ring-selected-background-color: rgb(var(--ring-selected-background-components)); /* #D4E2FF */
|
|
95
|
+
--ring-hover-background-components: 237, 243, 255;
|
|
96
|
+
--ring-hover-background-color: rgb(var(--ring-hover-background-components)); /* #EDF3FF */
|
|
94
97
|
--ring-navigation-background-components: 255, 255, 255;
|
|
95
|
-
--ring-navigation-background-color: rgb(var(--ring-navigation-background-components)); /* #
|
|
96
|
-
--ring-tag-background-components:
|
|
97
|
-
--ring-tag-background-color: rgb(var(--ring-tag-background-components)); /* #
|
|
98
|
-
--ring-tag-hover-background-components: 211,
|
|
99
|
-
--ring-tag-hover-background-color: rgb(var(--ring-tag-hover-background-components)); /* #
|
|
100
|
-
--ring-removed-background-components:
|
|
101
|
-
--ring-removed-background-color: rgb(var(--ring-removed-background-components)); /* #
|
|
102
|
-
--ring-warning-background-components:
|
|
103
|
-
--ring-warning-background-color: rgb(var(--ring-warning-background-components)); /* #
|
|
104
|
-
--ring-added-background-components:
|
|
105
|
-
--ring-added-background-color: rgb(var(--ring-added-background-components)); /* #
|
|
106
|
-
--ring-disabled-background-components:
|
|
107
|
-
--ring-disabled-background-color: rgb(var(--ring-disabled-background-components)); /* #
|
|
108
|
-
--ring-disabled-selected-background-components:
|
|
109
|
-
--ring-disabled-selected-background-color: rgb(var(--ring-disabled-selected-background-components)); /* #
|
|
110
|
-
--ring-button-danger-active-components:
|
|
111
|
-
--ring-button-danger-active-color: rgb(var(--ring-button-danger-active-components)); /* #
|
|
112
|
-
--ring-button-loader-background-components:
|
|
113
|
-
--ring-button-loader-background: rgb(var(--ring-button-loader-background-components)); /* #
|
|
114
|
-
--ring-button-primary-background-components:
|
|
115
|
-
--ring-button-primary-background-color: rgb(var(--ring-button-primary-background-components)); /* #
|
|
116
|
-
--ring-table-loader-background-color: rgba(var(--ring-content-background-components), 0.5); /* #
|
|
98
|
+
--ring-navigation-background-color: rgb(var(--ring-navigation-background-components)); /* #FFFFFF */
|
|
99
|
+
--ring-tag-background-components: 235, 236, 240;
|
|
100
|
+
--ring-tag-background-color: rgb(var(--ring-tag-background-components)); /* #EBECF0 */
|
|
101
|
+
--ring-tag-hover-background-components: 211, 213, 219;
|
|
102
|
+
--ring-tag-hover-background-color: rgb(var(--ring-tag-hover-background-components)); /* #D3D5DB */
|
|
103
|
+
--ring-removed-background-components: 250, 212, 216;
|
|
104
|
+
--ring-removed-background-color: rgb(var(--ring-removed-background-components)); /* #FAD4D8 */
|
|
105
|
+
--ring-warning-background-components: 255, 241, 209;
|
|
106
|
+
--ring-warning-background-color: rgb(var(--ring-warning-background-components)); /* #FFF1D1 */
|
|
107
|
+
--ring-added-background-components: 197, 229, 204;
|
|
108
|
+
--ring-added-background-color: rgb(var(--ring-added-background-components)); /* #C5E5CC */
|
|
109
|
+
--ring-disabled-background-components: 247, 248, 250;
|
|
110
|
+
--ring-disabled-background-color: rgb(var(--ring-disabled-background-components)); /* #F7F8FA */
|
|
111
|
+
--ring-disabled-selected-background-components: 235, 236, 240;
|
|
112
|
+
--ring-disabled-selected-background-color: rgb(var(--ring-disabled-selected-background-components)); /* #EBECF0 */
|
|
113
|
+
--ring-button-danger-active-components: 250, 212, 216;
|
|
114
|
+
--ring-button-danger-active-color: rgb(var(--ring-button-danger-active-components)); /* #FAD4D8 */
|
|
115
|
+
--ring-button-loader-background-components: 70, 130, 250;
|
|
116
|
+
--ring-button-loader-background: rgb(var(--ring-button-loader-background-components)); /* #4682FA */
|
|
117
|
+
--ring-button-primary-background-components: 53, 116, 240;
|
|
118
|
+
--ring-button-primary-background-color: rgb(var(--ring-button-primary-background-components)); /* #3574F0 */
|
|
119
|
+
--ring-table-loader-background-color: rgba(var(--ring-content-background-components), 0.5); /* #FFFFFF50 */
|
|
120
|
+
--ring-removed-subtle-background-components: 255, 247, 247;
|
|
121
|
+
--ring-removed-subtle-background-color: rgb(var(--ring-removed-subtle-background-components)); /* #FFF7F7 */
|
|
122
|
+
--ring-warning-subtle-background-components: 255, 250, 235;
|
|
123
|
+
--ring-warning-subtle-background-color: rgb(var(--ring-warning-subtle-background-components)); /* #FFFAEB */
|
|
124
|
+
--ring-added-subtle-background-components: 242, 252, 243;
|
|
125
|
+
--ring-added-subtle-background-color: rgb(var(--ring-added-subtle-background-components)); /* #F2FCF3 */
|
|
117
126
|
|
|
118
127
|
/* Code */
|
|
119
128
|
--ring-code-background-color: var(--ring-content-background-color);
|
|
120
129
|
--ring-code-components: 0, 0, 0;
|
|
121
|
-
--ring-code-color: rgb(var(--ring-code-components)); /* #
|
|
122
|
-
--ring-code-comment-components:
|
|
123
|
-
--ring-code-comment-color: rgb(var(--ring-code-comment-components)); /* #
|
|
124
|
-
--ring-code-meta-components:
|
|
125
|
-
--ring-code-meta-color: rgb(var(--ring-code-meta-components)); /* #
|
|
126
|
-
--ring-code-keyword-components: 0,
|
|
127
|
-
--ring-code-keyword-color: rgb(var(--ring-code-keyword-components)); /* #
|
|
128
|
-
--ring-code-tag-background-components:
|
|
129
|
-
--ring-code-tag-background-color: rgb(var(--ring-code-tag-background-components)); /* #
|
|
130
|
+
--ring-code-color: rgb(var(--ring-code-components)); /* #000000 */
|
|
131
|
+
--ring-code-comment-components: 140, 140, 140;
|
|
132
|
+
--ring-code-comment-color: rgb(var(--ring-code-comment-components)); /* #8C8C8C */
|
|
133
|
+
--ring-code-meta-components: 158, 136, 13;
|
|
134
|
+
--ring-code-meta-color: rgb(var(--ring-code-meta-components)); /* #9E880D */
|
|
135
|
+
--ring-code-keyword-components: 0, 51, 179;
|
|
136
|
+
--ring-code-keyword-color: rgb(var(--ring-code-keyword-components)); /* #0033B3 */
|
|
137
|
+
--ring-code-tag-background-components: 235, 236, 240;
|
|
138
|
+
--ring-code-tag-background-color: rgb(var(--ring-code-tag-background-components)); /* #EBECF0 */
|
|
130
139
|
--ring-code-tag-color: var(--ring-code-keyword-color);
|
|
131
140
|
--ring-code-tag-font-weight: var(--ring-font-weight-bold);
|
|
132
|
-
--ring-code-field-components:
|
|
133
|
-
--ring-code-field-color: rgb(var(--ring-code-field-components)); /* #
|
|
134
|
-
--ring-code-attribute-components:
|
|
135
|
-
--ring-code-attribute-color: rgb(var(--ring-code-attribute-components)); /* #
|
|
141
|
+
--ring-code-field-components: 135, 16, 148;
|
|
142
|
+
--ring-code-field-color: rgb(var(--ring-code-field-components)); /* #871094 */
|
|
143
|
+
--ring-code-attribute-components: 23, 80, 235;
|
|
144
|
+
--ring-code-attribute-color: rgb(var(--ring-code-attribute-components)); /* #1750EB */
|
|
136
145
|
--ring-code-number-color: var(--ring-code-attribute-color);
|
|
137
|
-
--ring-code-string-components:
|
|
138
|
-
--ring-code-string-color: rgb(var(--ring-code-string-components)); /* #
|
|
139
|
-
--ring-code-addition-components:
|
|
140
|
-
--ring-code-addition-color: rgb(var(--ring-code-addition-components)); /* #
|
|
141
|
-
--ring-code-deletion-components:
|
|
142
|
-
--ring-code-deletion-color: rgb(var(--ring-code-deletion-components)); /* #
|
|
146
|
+
--ring-code-string-components: 6, 125, 23;
|
|
147
|
+
--ring-code-string-color: rgb(var(--ring-code-string-components)); /* #067D17 */
|
|
148
|
+
--ring-code-addition-components: 197, 229, 204;
|
|
149
|
+
--ring-code-addition-color: rgb(var(--ring-code-addition-components)); /* #C5E5CC */
|
|
150
|
+
--ring-code-deletion-components: 223, 225, 229;
|
|
151
|
+
--ring-code-deletion-color: rgb(var(--ring-code-deletion-components)); /* #DFE1E5 */
|
|
143
152
|
|
|
144
153
|
/* Metrics */
|
|
145
154
|
--ring-border-radius: 4px;
|