@jetbrains/ring-ui-built 7.0.0-beta.4 → 7.0.0-beta.6
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/_helpers/button__classes.js +11 -10
- package/components/_helpers/input.js +1 -1
- package/components/_helpers/query-assist__suggestions.js +1 -1
- package/components/auth/auth.js +0 -3
- package/components/auth/auth__core.js +4 -4
- package/components/auth/iframe-flow.js +1 -1
- package/components/auth/storage.js +3 -6
- package/components/auth-dialog/auth-dialog.js +1 -1
- package/components/auth-dialog-service/auth-dialog-service.js +1 -1
- package/components/button/button.js +30 -32
- package/components/button/button__classes.d.ts +1 -1
- package/components/confirm/confirm.js +1 -1
- package/components/confirm-service/confirm-service.js +1 -1
- package/components/data-list/data-list.js +1 -1
- package/components/data-list/item.js +1 -1
- package/components/date-picker/date-input.js +1 -1
- package/components/date-picker/date-popup.js +1 -1
- package/components/dialog/dialog.js +1 -1
- package/components/form/form.js +1 -1
- package/components/header/header-icon.js +1 -1
- package/components/header/header.js +0 -3
- package/components/header/profile.js +1 -1
- package/components/header/smart-profile.js +0 -3
- package/components/input/input-legacy.js +1 -1
- package/components/input/input.js +1 -1
- package/components/input-size/input-size.js +1 -1
- package/components/login-dialog/login-dialog.js +1 -1
- package/components/login-dialog/service.js +1 -1
- package/components/message/message.js +2 -2
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.js +17 -16
- package/components/query-assist/query-assist.js +2 -2
- package/components/select/select.d.ts +3 -0
- package/components/select/select.js +16 -5
- package/components/select/select__filter.js +1 -1
- package/components/storage/storage.d.ts +2 -3
- package/components/storage/storage.js +2 -21
- package/components/style.css +1 -1
- package/components/tags-input/tags-input.js +1 -1
- package/components/toggle/toggle.js +1 -1
- package/components/user-agreement/service.d.ts +2 -1
- package/components/user-agreement/service.js +2 -5
- package/components/user-agreement/user-agreement.js +1 -1
- package/components/user-card/card.js +1 -1
- package/package.json +1 -2
- package/components/storage/storage__fallback.d.ts +0 -79
- package/components/storage/storage__fallback.js +0 -180
@@ -1,4 +1,4 @@
|
|
1
|
-
var css = ".light_rui_2ac4,:root{--ring-unit:8px;--ring-line-components:223,225,229;--ring-line-color:rgb(var(--ring-line-components));--ring-borders-components:211,213,219;--ring-borders-color:rgb(var(--ring-borders-components));--ring-icon-components:129,133,148;--ring-icon-color:rgb(var(--ring-icon-components));--ring-icon-white-components:255,255,255;--ring-icon-white-color:rgb(var(--ring-icon-white-components));--ring-icon-secondary-components:129,133,148;--ring-icon-secondary-color:rgb(var(--ring-icon-secondary-components));--ring-border-disabled-components:235,236,240;--ring-border-disabled-color:rgb(var(--ring-border-disabled-components));--ring-border-selected-disabled-components:201,204,214;--ring-border-selected-disabled-color:rgb(var(--ring-border-selected-disabled-components));--ring-icon-disabled-components:211,213,219;--ring-icon-disabled-color:rgb(var(--ring-icon-disabled-components));--ring-border-hover-components:160,189,248;--ring-border-hover-color:rgb(var(--ring-border-hover-components));--ring-icon-hover-components:90,93,107;--ring-icon-hover-color:rgb(var(--ring-icon-hover-components));--ring-main-components:53,116,240;--ring-main-color:rgb(var(--ring-main-components));--ring-action-link-components:46,85,163;--ring-action-link-color:rgb(var(--ring-action-link-components));--ring-main-hover-components:51,105,214;--ring-main-hover-color:rgb(var(--ring-main-hover-components));--ring-icon-error-components:219,59,75;--ring-icon-error-color:rgb(var(--ring-icon-error-components));--ring-icon-warning-components:255,175,15;--ring-icon-warning-color:rgb(var(--ring-icon-warning-components));--ring-icon-success-components:85,167,106;--ring-icon-success-color:rgb(var(--ring-icon-success-components));--ring-pale-control-components:194,214,252;--ring-pale-control-color:rgb(var(--ring-pale-control-components));--ring-popup-border-components:0,28,54;--ring-popup-border-color:var(--ring-line-color);--ring-popup-shadow-components:rgba(var(--ring-popup-border-components),0.1);--ring-popup-shadow-color:rgba(var(--ring-popup-border-components),0.1);--ring-popup-secondary-shadow-color:rgba(var(--ring-popup-border-components),0.04);--ring-message-shadow-color:rgba(var(--ring-popup-border-components),0.3);--ring-pinned-shadow-components:108,112,126;--ring-pinned-shadow-color:rgb(var(--ring-pinned-shadow-components));--ring-button-danger-hover-components:var(--ring-icon-error-color);--ring-button-danger-hover-color:var(--ring-icon-error-color);--ring-button-primary-border-components:49,95,189;--ring-button-primary-border-color:rgb(var(--ring-button-primary-border-components));--ring-dialog-overlay-components:0,0,0;--ring-dialog-overlay-opacity:0.4;--ring-popup-shadow:0 2px 8px var(--ring-popup-shadow-color),0 1px 2px var(--ring-popup-secondary-shadow-color);--ring-dialog-shadow:0 4px 24px var(--ring-popup-shadow-color),0 2px 6px var(--ring-popup-secondary-shadow-color);--ring-search-components:112,156,245;--ring-search-color:rgb(var(--ring-search-components));--ring-hint-components:46,85,163;--ring-hint-color:rgb(var(--ring-hint-components));--ring-link-components:46,85,163;--ring-link-color:rgb(var(--ring-link-components));--ring-link-hover-components:34,60,114;--ring-link-hover-color:rgb(var(--ring-link-hover-components));--ring-error-components:204,54,69;--ring-error-color:rgb(var(--ring-error-components));--ring-warning-components:164,103,4;--ring-warning-color:rgb(var(--ring-warning-components));--ring-success-components:31,117,54;--ring-success-color:rgb(var(--ring-success-components));--ring-text-components:39,40,46;--ring-text-color:rgb(var(--ring-text-components));--ring-active-text-color:var(--ring-text-color);--ring-white-text-components:255,255,255;--ring-white-text-color:rgb(var(--ring-white-text-components));--ring-heading-color:var(--ring-text-color);--ring-secondary-components:108,112,126;--ring-secondary-color:rgb(var(--ring-secondary-components));--ring-disabled-components:168,173,189;--ring-disabled-color:rgb(var(--ring-disabled-components));--ring-content-background-components:255,255,255;--ring-content-background-color:rgb(var(--ring-content-background-components));--ring-popup-background-components:255,255,255;--ring-popup-background-color:rgb(var(--ring-popup-background-components));--ring-sidebar-background-components:247,248,250;--ring-sidebar-background-color:rgb(var(--ring-sidebar-background-components));--ring-selected-background-components:212,226,255;--ring-selected-background-color:rgb(var(--ring-selected-background-components));--ring-hover-background-components:237,243,255;--ring-hover-background-color:rgb(var(--ring-hover-background-components));--ring-navigation-background-components:255,255,255;--ring-navigation-background-color:rgb(var(--ring-navigation-background-components));--ring-tag-background-components:235,236,240;--ring-tag-background-color:rgb(var(--ring-tag-background-components));--ring-tag-hover-background-components:211,213,219;--ring-tag-hover-background-color:rgb(var(--ring-tag-hover-background-components));--ring-removed-background-components:250,212,216;--ring-removed-background-color:rgb(var(--ring-removed-background-components));--ring-warning-background-components:255,241,209;--ring-warning-background-color:rgb(var(--ring-warning-background-components));--ring-added-background-components:197,229,204;--ring-added-background-color:rgb(var(--ring-added-background-components));--ring-disabled-background-components:247,248,250;--ring-disabled-background-color:rgb(var(--ring-disabled-background-components));--ring-disabled-selected-background-components:235,236,240;--ring-disabled-selected-background-color:rgb(var(--ring-disabled-selected-background-components));--ring-button-danger-active-components:250,212,216;--ring-button-danger-active-color:rgb(var(--ring-button-danger-active-components));--ring-button-loader-background-components:70,130,250;--ring-button-loader-background:rgb(var(--ring-button-loader-background-components));--ring-button-primary-background-components:53,116,240;--ring-button-primary-background-color:rgb(var(--ring-button-primary-background-components));--ring-table-loader-background-color:rgba(var(--ring-content-background-components),0.5);--ring-removed-subtle-background-components:255,247,247;--ring-removed-subtle-background-color:rgb(var(--ring-removed-subtle-background-components));--ring-warning-subtle-background-components:255,250,235;--ring-warning-subtle-background-color:rgb(var(--ring-warning-subtle-background-components));--ring-added-subtle-background-components:242,252,243;--ring-added-subtle-background-color:rgb(var(--ring-added-subtle-background-components));--ring-code-background-color:var(--ring-content-background-color);--ring-code-components:0,0,0;--ring-code-color:rgb(var(--ring-code-components));--ring-code-comment-components:140,140,140;--ring-code-comment-color:rgb(var(--ring-code-comment-components));--ring-code-meta-components:158,136,13;--ring-code-meta-color:rgb(var(--ring-code-meta-components));--ring-code-keyword-components:0,51,179;--ring-code-keyword-color:rgb(var(--ring-code-keyword-components));--ring-code-tag-background-components:235,236,240;--ring-code-tag-background-color:rgb(var(--ring-code-tag-background-components));--ring-code-tag-color:var(--ring-code-keyword-color);--ring-code-tag-font-weight:var(--ring-font-weight-bold);--ring-code-field-components:135,16,148;--ring-code-field-color:rgb(var(--ring-code-field-components));--ring-code-attribute-components:23,80,235;--ring-code-attribute-color:rgb(var(--ring-code-attribute-components));--ring-code-number-color:var(--ring-code-attribute-color);--ring-code-string-components:6,125,23;--ring-code-string-color:rgb(var(--ring-code-string-components));--ring-code-addition-components:197,229,204;--ring-code-addition-color:rgb(var(--ring-code-addition-components));--ring-code-deletion-components:223,225,229;--ring-code-deletion-color:rgb(var(--ring-code-deletion-components));--ring-border-radius:4px;--ring-border-radius-small:2px;--ring-font-size-larger:16px;--ring-font-size:14px;--ring-font-size-smaller:12px;--ring-line-height-taller:24px;--ring-line-height:20px;--ring-line-height-lower:18px;--ring-line-height-lowest:16px;--ring-ease:0.3s ease-out;--ring-fast-ease:0.15s ease-out;--ring-font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif;--ring-font-family-monospace:Menlo,\"Bitstream Vera Sans Mono\",\"Ubuntu Mono\",Consolas,\"Courier New\",Courier,monospace;--ring-font-weight-bold:600;--ring-invisible-element-z-index:-1;--ring-fixed-z-index:1;--ring-overlay-z-index:5;--ring-alert-z-index:6}:root{--ring-input-xs:calc(var(--ring-unit)*12);--ring-input-s:calc(var(--ring-unit)*12);--ring-input-m:calc(var(--ring-unit)*30);--ring-input-l:calc(var(--ring-unit)*50)}.ring-input-size_xs.ring-input-size_xs{display:inline-block;width:var(--ring-input-xs)}.ring-input-size_xs.ring-input-size_xs~.ring-error-bubble{left:calc(var(--ring-input-xs) + 2px)}.ring-input-size_s.ring-input-size_s{display:inline-block;width:var(--ring-input-s)}.ring-input-size_s.ring-input-size_s~.ring-error-bubble{left:calc(var(--ring-input-s) + 2px)}.ring-input-size_m.ring-input-size_m{display:inline-block;width:var(--ring-input-m)}.ring-input-size_m.ring-input-size_m~.ring-error-bubble{left:calc(var(--ring-input-m) + 2px)}.ring-input-size_md.ring-input-size_md{display:inline-block;width:var(--ring-input-m)}.ring-input-size_md.ring-input-size_md~.ring-error-bubble{left:calc(var(--ring-input-m) + 2px)}.ring-input-size_l.ring-input-size_l{display:inline-block;width:var(--ring-input-l)}.ring-input-size_l.ring-input-size_l~.ring-error-bubble{left:calc(var(--ring-input-l) + 2px)}.ring-input-height_s.ring-input-height_s{--ring-input-padding-block:1px}.ring-input-height_m.ring-input-height_m{--ring-input-padding-block:3px}.ring-input-height_l.ring-input-height_l{--ring-input-padding-block:5px}";
|
1
|
+
var css = ".light_rui_2ac4,:root{--ring-unit:8px;--ring-line-components:223,225,229;--ring-line-color:rgb(var(--ring-line-components));--ring-borders-components:211,213,219;--ring-borders-color:rgb(var(--ring-borders-components));--ring-icon-components:129,133,148;--ring-icon-color:rgb(var(--ring-icon-components));--ring-icon-white-components:255,255,255;--ring-icon-white-color:rgb(var(--ring-icon-white-components));--ring-icon-secondary-components:129,133,148;--ring-icon-secondary-color:rgb(var(--ring-icon-secondary-components));--ring-border-disabled-components:235,236,240;--ring-border-disabled-color:rgb(var(--ring-border-disabled-components));--ring-border-selected-disabled-components:201,204,214;--ring-border-selected-disabled-color:rgb(var(--ring-border-selected-disabled-components));--ring-icon-disabled-components:211,213,219;--ring-icon-disabled-color:rgb(var(--ring-icon-disabled-components));--ring-border-hover-components:160,189,248;--ring-border-hover-color:rgb(var(--ring-border-hover-components));--ring-icon-hover-components:90,93,107;--ring-icon-hover-color:rgb(var(--ring-icon-hover-components));--ring-main-components:53,116,240;--ring-main-color:rgb(var(--ring-main-components));--ring-action-link-components:46,85,163;--ring-action-link-color:rgb(var(--ring-action-link-components));--ring-main-hover-components:51,105,214;--ring-main-hover-color:rgb(var(--ring-main-hover-components));--ring-icon-error-components:219,59,75;--ring-icon-error-color:rgb(var(--ring-icon-error-components));--ring-icon-warning-components:255,175,15;--ring-icon-warning-color:rgb(var(--ring-icon-warning-components));--ring-icon-success-components:85,167,106;--ring-icon-success-color:rgb(var(--ring-icon-success-components));--ring-pale-control-components:194,214,252;--ring-pale-control-color:rgb(var(--ring-pale-control-components));--ring-popup-border-components:0,28,54;--ring-popup-border-color:var(--ring-line-color);--ring-popup-shadow-components:rgba(var(--ring-popup-border-components),0.1);--ring-popup-shadow-color:rgba(var(--ring-popup-border-components),0.1);--ring-popup-secondary-shadow-color:rgba(var(--ring-popup-border-components),0.04);--ring-message-shadow-color:rgba(var(--ring-popup-border-components),0.3);--ring-pinned-shadow-components:108,112,126;--ring-pinned-shadow-color:rgb(var(--ring-pinned-shadow-components));--ring-button-danger-hover-components:var(--ring-icon-error-color);--ring-button-danger-hover-color:var(--ring-icon-error-color);--ring-button-primary-border-components:49,95,189;--ring-button-primary-border-color:rgb(var(--ring-button-primary-border-components));--ring-dialog-overlay-components:0,0,0;--ring-dialog-overlay-opacity:0.4;--ring-popup-shadow:0 2px 8px var(--ring-popup-shadow-color),0 1px 2px var(--ring-popup-secondary-shadow-color);--ring-dialog-shadow:0 4px 24px var(--ring-popup-shadow-color),0 2px 6px var(--ring-popup-secondary-shadow-color);--ring-search-components:112,156,245;--ring-search-color:rgb(var(--ring-search-components));--ring-hint-components:46,85,163;--ring-hint-color:rgb(var(--ring-hint-components));--ring-link-components:46,85,163;--ring-link-color:rgb(var(--ring-link-components));--ring-link-hover-components:34,60,114;--ring-link-hover-color:rgb(var(--ring-link-hover-components));--ring-error-components:204,54,69;--ring-error-color:rgb(var(--ring-error-components));--ring-warning-components:164,103,4;--ring-warning-color:rgb(var(--ring-warning-components));--ring-success-components:31,117,54;--ring-success-color:rgb(var(--ring-success-components));--ring-text-components:39,40,46;--ring-text-color:rgb(var(--ring-text-components));--ring-active-text-color:var(--ring-text-color);--ring-white-text-components:255,255,255;--ring-white-text-color:rgb(var(--ring-white-text-components));--ring-heading-color:var(--ring-text-color);--ring-secondary-components:108,112,126;--ring-secondary-color:rgb(var(--ring-secondary-components));--ring-disabled-components:168,173,189;--ring-disabled-color:rgb(var(--ring-disabled-components));--ring-content-background-components:255,255,255;--ring-content-background-color:rgb(var(--ring-content-background-components));--ring-popup-background-components:255,255,255;--ring-popup-background-color:rgb(var(--ring-popup-background-components));--ring-sidebar-background-components:247,248,250;--ring-sidebar-background-color:rgb(var(--ring-sidebar-background-components));--ring-secondary-background-components:247,248,250;--ring-secondary-background-color:rgb(var(--ring-secondary-background-components));--ring-selected-background-components:212,226,255;--ring-selected-background-color:rgb(var(--ring-selected-background-components));--ring-hover-background-components:237,243,255;--ring-hover-background-color:rgb(var(--ring-hover-background-components));--ring-navigation-background-components:255,255,255;--ring-navigation-background-color:rgb(var(--ring-navigation-background-components));--ring-tag-background-components:235,236,240;--ring-tag-background-color:rgb(var(--ring-tag-background-components));--ring-tag-hover-background-components:211,213,219;--ring-tag-hover-background-color:rgb(var(--ring-tag-hover-background-components));--ring-removed-background-components:250,212,216;--ring-removed-background-color:rgb(var(--ring-removed-background-components));--ring-warning-background-components:255,241,209;--ring-warning-background-color:rgb(var(--ring-warning-background-components));--ring-added-background-components:197,229,204;--ring-added-background-color:rgb(var(--ring-added-background-components));--ring-disabled-background-components:247,248,250;--ring-disabled-background-color:rgb(var(--ring-disabled-background-components));--ring-disabled-selected-background-components:235,236,240;--ring-disabled-selected-background-color:rgb(var(--ring-disabled-selected-background-components));--ring-button-danger-active-components:250,212,216;--ring-button-danger-active-color:rgb(var(--ring-button-danger-active-components));--ring-button-loader-background-components:70,130,250;--ring-button-loader-background:rgb(var(--ring-button-loader-background-components));--ring-button-primary-background-components:53,116,240;--ring-button-primary-background-color:rgb(var(--ring-button-primary-background-components));--ring-table-loader-background-color:rgba(var(--ring-content-background-components),0.5);--ring-removed-subtle-background-components:255,247,247;--ring-removed-subtle-background-color:rgb(var(--ring-removed-subtle-background-components));--ring-warning-subtle-background-components:255,250,235;--ring-warning-subtle-background-color:rgb(var(--ring-warning-subtle-background-components));--ring-added-subtle-background-components:242,252,243;--ring-added-subtle-background-color:rgb(var(--ring-added-subtle-background-components));--ring-code-background-color:var(--ring-content-background-color);--ring-code-components:0,0,0;--ring-code-color:rgb(var(--ring-code-components));--ring-code-comment-components:140,140,140;--ring-code-comment-color:rgb(var(--ring-code-comment-components));--ring-code-meta-components:158,136,13;--ring-code-meta-color:rgb(var(--ring-code-meta-components));--ring-code-keyword-components:0,51,179;--ring-code-keyword-color:rgb(var(--ring-code-keyword-components));--ring-code-tag-background-components:235,236,240;--ring-code-tag-background-color:rgb(var(--ring-code-tag-background-components));--ring-code-tag-color:var(--ring-code-keyword-color);--ring-code-tag-font-weight:var(--ring-font-weight-bold);--ring-code-field-components:135,16,148;--ring-code-field-color:rgb(var(--ring-code-field-components));--ring-code-attribute-components:23,80,235;--ring-code-attribute-color:rgb(var(--ring-code-attribute-components));--ring-code-number-color:var(--ring-code-attribute-color);--ring-code-string-components:6,125,23;--ring-code-string-color:rgb(var(--ring-code-string-components));--ring-code-addition-components:197,229,204;--ring-code-addition-color:rgb(var(--ring-code-addition-components));--ring-code-deletion-components:223,225,229;--ring-code-deletion-color:rgb(var(--ring-code-deletion-components));--ring-border-radius:4px;--ring-border-radius-small:2px;--ring-font-size-larger:16px;--ring-font-size:14px;--ring-font-size-smaller:12px;--ring-line-height-taller:24px;--ring-line-height:20px;--ring-line-height-lower:18px;--ring-line-height-lowest:16px;--ring-ease:0.3s ease-out;--ring-fast-ease:0.15s ease-out;--ring-font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif;--ring-font-family-monospace:Menlo,\"Bitstream Vera Sans Mono\",\"Ubuntu Mono\",Consolas,\"Courier New\",Courier,monospace;--ring-font-weight-bold:600;--ring-invisible-element-z-index:-1;--ring-fixed-z-index:1;--ring-overlay-z-index:5;--ring-alert-z-index:6}:root{--ring-input-xs:calc(var(--ring-unit)*12);--ring-input-s:calc(var(--ring-unit)*12);--ring-input-m:calc(var(--ring-unit)*30);--ring-input-l:calc(var(--ring-unit)*50)}.ring-input-size_xs.ring-input-size_xs{display:inline-block;width:var(--ring-input-xs)}.ring-input-size_xs.ring-input-size_xs~.ring-error-bubble{left:calc(var(--ring-input-xs) + 2px)}.ring-input-size_s.ring-input-size_s{display:inline-block;width:var(--ring-input-s)}.ring-input-size_s.ring-input-size_s~.ring-error-bubble{left:calc(var(--ring-input-s) + 2px)}.ring-input-size_m.ring-input-size_m{display:inline-block;width:var(--ring-input-m)}.ring-input-size_m.ring-input-size_m~.ring-error-bubble{left:calc(var(--ring-input-m) + 2px)}.ring-input-size_md.ring-input-size_md{display:inline-block;width:var(--ring-input-m)}.ring-input-size_md.ring-input-size_md~.ring-error-bubble{left:calc(var(--ring-input-m) + 2px)}.ring-input-size_l.ring-input-size_l{display:inline-block;width:var(--ring-input-l)}.ring-input-size_l.ring-input-size_l~.ring-error-bubble{left:calc(var(--ring-input-l) + 2px)}.ring-input-height_s.ring-input-height_s{--ring-input-padding-block:1px}.ring-input-height_m.ring-input-height_m{--ring-input-padding-block:3px}.ring-input-height_l.ring-input-height_l{--ring-input-padding-block:5px}";
|
2
2
|
var modules_3471936d = {"light":"light_rui_2ac4"};
|
3
3
|
|
4
4
|
export { css, modules_3471936d as default };
|
@@ -29,8 +29,8 @@ import '../tab-trap/tab-trap.js';
|
|
29
29
|
import '../global/dom.js';
|
30
30
|
import '../button/button.js';
|
31
31
|
import '@jetbrains/icons/chevron-down';
|
32
|
-
import '../icon/icon.js';
|
33
32
|
import 'util-deprecate';
|
33
|
+
import '../icon/icon.js';
|
34
34
|
import '../icon/icon__constants.js';
|
35
35
|
import '../_helpers/icon__svg.js';
|
36
36
|
import 'core-js/modules/es.string.replace.js';
|
@@ -30,8 +30,8 @@ import '../tab-trap/tab-trap.js';
|
|
30
30
|
import '../global/dom.js';
|
31
31
|
import '../button/button.js';
|
32
32
|
import '@jetbrains/icons/chevron-down';
|
33
|
-
import '../icon/icon.js';
|
34
33
|
import 'util-deprecate';
|
34
|
+
import '../icon/icon.js';
|
35
35
|
import '../icon/icon__constants.js';
|
36
36
|
import '../_helpers/icon__svg.js';
|
37
37
|
import 'core-js/modules/es.string.replace.js';
|
@@ -38,7 +38,7 @@ import '../global/controls-height.js';
|
|
38
38
|
import '../_helpers/button__classes.js';
|
39
39
|
import '../i18n/i18n.js';
|
40
40
|
|
41
|
-
var modules_8b837449 = {"light":"light_rui_2ac4","container":"container_rui_a216","message":"message_rui_a216","icon":"icon_rui_a216","title":"title_rui_a216 font-lower_rui_f295 font_rui_f295","description":"description_rui_a216","
|
41
|
+
var modules_8b837449 = {"light":"light_rui_2ac4","container":"container_rui_a216","message":"message_rui_a216","icon":"icon_rui_a216","title":"title_rui_a216 font-lower_rui_f295 font_rui_f295","description":"description_rui_a216","gotIt":"gotIt_rui_a216","tail":"tail_rui_a216"};
|
42
42
|
|
43
43
|
const UNIT = 8;
|
44
44
|
const TAIL_SIZE = 11;
|
@@ -198,7 +198,7 @@ class Message extends Component {
|
|
198
198
|
className: modules_8b837449.description,
|
199
199
|
children: children
|
200
200
|
}), (onClose || buttonProps) && /*#__PURE__*/jsx(Button, _objectSpread2(_objectSpread2({
|
201
|
-
className: modules_8b837449.
|
201
|
+
className: modules_8b837449.gotIt,
|
202
202
|
onClick: onClose,
|
203
203
|
primary: true
|
204
204
|
}, buttonProps), {}, {
|
@@ -9,11 +9,11 @@ const MAJOR_VERSION_INDEX = 0;
|
|
9
9
|
/**
|
10
10
|
* SUPPORTED_BROWSERS are defined by Babel plugin, see babel config
|
11
11
|
*/
|
12
|
-
if (!["and_chr
|
12
|
+
if (!["and_chr 128", "and_uc 15.5", "chrome 128", "chrome 127", "chrome 126", "chrome 109", "edge 127", "firefox 129", "ios_saf 17.6", "ios_saf 17.5", "op_mob 80", "safari 17.5", "samsung 25"]) {
|
13
13
|
// eslint-disable-next-line no-console
|
14
14
|
console.warn('Ring UI: no SUPPORTED_BROWSERS passed. Please check babel config.');
|
15
15
|
}
|
16
|
-
const SUPPORTED = ["and_chr
|
16
|
+
const SUPPORTED = ["and_chr 128", "and_uc 15.5", "chrome 128", "chrome 127", "chrome 126", "chrome 109", "edge 127", "firefox 129", "ios_saf 17.6", "ios_saf 17.5", "op_mob 80", "safari 17.5", "samsung 25"] || [];
|
17
17
|
const WHITE_LISTED_BROWSERS = ['chrome', 'firefox', 'safari', 'edge'];
|
18
18
|
const WHITE_LIST = SUPPORTED.reduce((acc, item) => {
|
19
19
|
var _item$match;
|
@@ -14,11 +14,11 @@ import Icon from '../icon/icon.js';
|
|
14
14
|
import { I18nContext } from '../i18n/i18n-context.js';
|
15
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
16
16
|
import '@jetbrains/icons/chevron-down';
|
17
|
+
import 'util-deprecate';
|
17
18
|
import '../link/clickableLink.js';
|
18
19
|
import '../global/controls-height.js';
|
19
20
|
import '../_helpers/button__classes.js';
|
20
21
|
import '../icon/icon__constants.js';
|
21
|
-
import 'util-deprecate';
|
22
22
|
import '../_helpers/icon__svg.js';
|
23
23
|
import 'core-js/modules/es.regexp.exec.js';
|
24
24
|
import 'core-js/modules/es.string.replace.js';
|
@@ -29,7 +29,7 @@ import '../control-help/control-help.js';
|
|
29
29
|
import '../_helpers/caption.js';
|
30
30
|
import 'core-js/modules/es.string.trim.js';
|
31
31
|
import '@jetbrains/icons/close-12px';
|
32
|
-
import '
|
32
|
+
import 'dequal';
|
33
33
|
import '../dropdown/dropdown.js';
|
34
34
|
import '../global/typescript-utils.js';
|
35
35
|
import '../_helpers/anchor.js';
|
@@ -88,7 +88,7 @@ import '../text/text.js';
|
|
88
88
|
import '../_helpers/select__filter.js';
|
89
89
|
import '../i18n/i18n.js';
|
90
90
|
|
91
|
-
var modules_1a5f0d42 = {"light":"light_rui_2ac4","pager":"pager_rui_ad65","links":"links_rui_ad65","link":"link_rui_ad65","linkDisabled":"linkDisabled_rui_ad65"};
|
91
|
+
var modules_1a5f0d42 = {"light":"light_rui_2ac4","pager":"pager_rui_ad65","links":"links_rui_ad65","link":"link_rui_ad65","linkDisabled":"linkDisabled_rui_ad65","actions":"actions_rui_ad65","pageSize":"pageSize_rui_ad65"};
|
92
92
|
|
93
93
|
class Pager extends PureComponent {
|
94
94
|
constructor() {
|
@@ -189,9 +189,7 @@ class Pager extends PureComponent {
|
|
189
189
|
const selectOptions = this.getSelectOptions();
|
190
190
|
return !this.props.disablePageSizeSelector && /*#__PURE__*/jsx("div", {
|
191
191
|
"data-test": "ring-pager-page-size-selector",
|
192
|
-
|
193
|
-
float: 'right'
|
194
|
-
},
|
192
|
+
className: modules_1a5f0d42.pageSize,
|
195
193
|
children: /*#__PURE__*/jsx(Select, {
|
196
194
|
data: selectOptions.data,
|
197
195
|
selected: selectOptions.selected,
|
@@ -301,16 +299,19 @@ class Pager extends PureComponent {
|
|
301
299
|
}
|
302
300
|
const lastPageButtonAvailable = !this.props.disableLastPageButton && end < totalPages && !this.props.openTotal || this.props.openTotal && this.props.canLoadLastPageWithOpenTotal;
|
303
301
|
return /*#__PURE__*/jsxs("div", {
|
304
|
-
children: [this.getPagerLinks(), /*#__PURE__*/jsxs(
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
302
|
+
children: [this.getPagerLinks(), /*#__PURE__*/jsxs("div", {
|
303
|
+
className: modules_1a5f0d42.actions,
|
304
|
+
children: [/*#__PURE__*/jsxs(ButtonToolbar, {
|
305
|
+
children: [start > 1 && this.getButton(1, (_this$props$translati7 = (_this$props$translati8 = this.props.translations) === null || _this$props$translati8 === void 0 ? void 0 : _this$props$translati8.firstPage) !== null && _this$props$translati7 !== void 0 ? _this$props$translati7 : translate('firstPage')), /*#__PURE__*/jsxs(ButtonGroup, {
|
306
|
+
children: [start > 1 && this.getButton(start - 1, '...'), buttons, end < totalPages && this.getButton(end + 1, '...'), end === totalPages && this.props.openTotal && /*#__PURE__*/jsx(Button, _objectSpread2(_objectSpread2({
|
307
|
+
href: this.generateHref(end + 1),
|
308
|
+
disabled: this.props.loader
|
309
|
+
}, this.getClickProps(this.handleLoadMore(end + 1))), {}, {
|
310
|
+
children: '...'
|
311
|
+
}))]
|
312
|
+
}), lastPageButtonAvailable && this.getButton(this.props.openTotal ? -1 : totalPages, (_this$props$translati9 = (_this$props$translati10 = this.props.translations) === null || _this$props$translati10 === void 0 ? void 0 : _this$props$translati10.lastPage) !== null && _this$props$translati9 !== void 0 ? _this$props$translati9 : translate('lastPage'))]
|
313
|
+
}), this.getPageSizeSelector()]
|
314
|
+
})]
|
314
315
|
});
|
315
316
|
}
|
316
317
|
render() {
|
@@ -6,7 +6,7 @@ import 'core-js/modules/web.dom-collections.iterator.js';
|
|
6
6
|
import { Component } from 'react';
|
7
7
|
import debounce from 'just-debounce-it';
|
8
8
|
import classNames from 'classnames';
|
9
|
-
import
|
9
|
+
import { dequal } from 'dequal';
|
10
10
|
import searchIcon from '@jetbrains/icons/search';
|
11
11
|
import closeIcon from '@jetbrains/icons/close-12px';
|
12
12
|
import getUID from '../global/get-uid.js';
|
@@ -358,7 +358,7 @@ class QueryAssist extends Component {
|
|
358
358
|
};
|
359
359
|
_this.immediateState.suggestionsQuery = query;
|
360
360
|
// Do not update deep equal styleRanges to simplify shouldComponentUpdate check
|
361
|
-
if (!
|
361
|
+
if (!dequal(_this.state.styleRanges, styleRanges)) {
|
362
362
|
state.styleRanges = styleRanges;
|
363
363
|
}
|
364
364
|
_this.immediateState.selection = (_this$caret7 = _this.caret) === null || _this$caret7 === void 0 ? void 0 : _this$caret7.getPosition({
|
@@ -213,6 +213,9 @@ export default class Select<T = unknown> extends Component<SelectProps<T>, Selec
|
|
213
213
|
shortcutsScope: string;
|
214
214
|
listId: string;
|
215
215
|
private _focusHandler;
|
216
|
+
isClickingSelect: boolean;
|
217
|
+
mouseDownHandler: () => void;
|
218
|
+
mouseUpHandler: () => void;
|
216
219
|
private _blurHandler;
|
217
220
|
node?: HTMLElement | null;
|
218
221
|
nodeRef: (el: HTMLElement | null) => void;
|
@@ -8,7 +8,7 @@ import { Component, Fragment } from 'react';
|
|
8
8
|
import classNames from 'classnames';
|
9
9
|
import chevronDownIcon from '@jetbrains/icons/chevron-down';
|
10
10
|
import closeIcon from '@jetbrains/icons/close-12px';
|
11
|
-
import
|
11
|
+
import { dequal } from 'dequal';
|
12
12
|
import '../dropdown/dropdown.js';
|
13
13
|
import Avatar, { Size as Size$1 } from '../avatar/avatar.js';
|
14
14
|
import Popup from '../popup/popup.js';
|
@@ -82,7 +82,7 @@ import '../caret/caret.js';
|
|
82
82
|
import '../text/text.js';
|
83
83
|
import '../_helpers/select__filter.js';
|
84
84
|
|
85
|
-
var modules_9d0de074 = {"button-shadow":"i__const_button_shadow_0","select":"select_rui_e9c2","value":"value_rui_e9c2 ellipsis_rui_f295 font_rui_f295","icons":"icons_rui_e9c2","light":"light_rui_2ac4","toolbar":"toolbar_rui_e9c2","button":"button_rui_e9c2","buttonSpaced":"buttonSpaced_rui_e9c2","inputMode":"inputMode_rui_e9c2","selectedIcon":"selectedIcon_rui_e9c2 resetButton_rui_f295","clearIcon":"clearIcon_rui_e9c2","sizeS":"sizeS_rui_e9c2","sizeM":"sizeM_rui_e9c2","sizeL":"sizeL_rui_e9c2","sizeFULL":"sizeFULL_rui_e9c2","sizeAUTO":"sizeAUTO_rui_e9c2","buttonMode":"buttonMode_rui_e9c2","open":"open_rui_e9c2","buttonContainer":"buttonContainer_rui_e9c2","buttonValue":"buttonValue_rui_e9c2 ellipsis_rui_f295","buttonValueOpen":"buttonValueOpen_rui_e9c2","buttonValueEmpty":"buttonValueEmpty_rui_e9c2","
|
85
|
+
var modules_9d0de074 = {"button-shadow":"i__const_button_shadow_0","select":"select_rui_e9c2","value":"value_rui_e9c2 ellipsis_rui_f295 font_rui_f295","icons":"icons_rui_e9c2","light":"light_rui_2ac4","toolbar":"toolbar_rui_e9c2","button":"button_rui_e9c2","buttonSpaced":"buttonSpaced_rui_e9c2","inputMode":"inputMode_rui_e9c2","heightS":"heightS_rui_e9c2","heightL":"heightL_rui_e9c2","selectedIcon":"selectedIcon_rui_e9c2 resetButton_rui_f295","clearIcon":"clearIcon_rui_e9c2","sizeS":"sizeS_rui_e9c2","sizeM":"sizeM_rui_e9c2","sizeL":"sizeL_rui_e9c2","sizeFULL":"sizeFULL_rui_e9c2","sizeAUTO":"sizeAUTO_rui_e9c2","buttonMode":"buttonMode_rui_e9c2","open":"open_rui_e9c2","buttonContainer":"buttonContainer_rui_e9c2","buttonValue":"buttonValue_rui_e9c2 ellipsis_rui_f295","buttonValueOpen":"buttonValueOpen_rui_e9c2","buttonValueEmpty":"buttonValueEmpty_rui_e9c2","label":"label_rui_e9c2","disabled":"disabled_rui_e9c2","avatar":"avatar_rui_e9c2","popup":"popup_rui_e9c2","chevron":"chevron_rui_e9c2","chevronIcon":"chevronIcon_rui_e9c2"};
|
86
86
|
|
87
87
|
function noop() {}
|
88
88
|
/**
|
@@ -260,10 +260,17 @@ class Select extends Component {
|
|
260
260
|
focused: true
|
261
261
|
});
|
262
262
|
});
|
263
|
+
_defineProperty(this, "isClickingSelect", false);
|
264
|
+
_defineProperty(this, "mouseDownHandler", () => {
|
265
|
+
this.isClickingSelect = true;
|
266
|
+
});
|
267
|
+
_defineProperty(this, "mouseUpHandler", () => {
|
268
|
+
this.isClickingSelect = false;
|
269
|
+
});
|
263
270
|
_defineProperty(this, "_blurHandler", () => {
|
264
271
|
var _this$_popup;
|
265
272
|
this.props.onBlur();
|
266
|
-
if (this._popup && this._popup.isVisible() && !this._popup.isClickingPopup) {
|
273
|
+
if (this._popup && this._popup.isVisible() && !this._popup.isClickingPopup && !this.isClickingSelect) {
|
267
274
|
window.setTimeout(() => {
|
268
275
|
this.setState({
|
269
276
|
showPopup: false
|
@@ -618,7 +625,7 @@ class Select extends Component {
|
|
618
625
|
});
|
619
626
|
}
|
620
627
|
}
|
621
|
-
if (prevMultiple !== multiple && !
|
628
|
+
if (prevMultiple !== multiple && !dequal(prevMultiple, multiple)) {
|
622
629
|
nextState.selected = multiple ? [] : null;
|
623
630
|
}
|
624
631
|
if (multiple && !nextState.selected) {
|
@@ -656,7 +663,7 @@ class Select extends Component {
|
|
656
663
|
} else if (!prevState.showPopup && showPopup) {
|
657
664
|
onOpen();
|
658
665
|
}
|
659
|
-
if (multiple !== prevProps.multiple && !
|
666
|
+
if (multiple !== prevProps.multiple && !dequal(multiple, prevProps.multiple)) {
|
660
667
|
onChange(selected);
|
661
668
|
}
|
662
669
|
}
|
@@ -979,6 +986,10 @@ class Select extends Component {
|
|
979
986
|
ref: this.nodeRef,
|
980
987
|
className: classNames(classes, modules_9d0de074.inputMode),
|
981
988
|
"data-test": joinDataTestAttributes('ring-select', dataTest),
|
989
|
+
role: "presentation" // has interactive elements inside
|
990
|
+
,
|
991
|
+
onMouseDown: this.mouseDownHandler,
|
992
|
+
onMouseUp: this.mouseUpHandler,
|
982
993
|
children: [shortcutsEnabled && /*#__PURE__*/jsx(Shortcuts, {
|
983
994
|
map: this.getShortcutsMap(),
|
984
995
|
scope: this.shortcutsScope
|
@@ -11,8 +11,8 @@ import 'react/jsx-runtime';
|
|
11
11
|
import '@jetbrains/icons/close-12px';
|
12
12
|
import '../button/button.js';
|
13
13
|
import '@jetbrains/icons/chevron-down';
|
14
|
-
import '../icon/icon.js';
|
15
14
|
import 'util-deprecate';
|
15
|
+
import '../icon/icon.js';
|
16
16
|
import '../icon/icon__constants.js';
|
17
17
|
import '../_helpers/icon__svg.js';
|
18
18
|
import 'core-js/modules/es.regexp.exec.js';
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import LocalStorage from './storage__local';
|
1
2
|
export interface StorageConfig {
|
2
3
|
type?: 'local' | 'session' | null | undefined;
|
3
4
|
cookieName?: string | null | undefined;
|
@@ -12,7 +13,5 @@ export interface StorageInterface {
|
|
12
13
|
}
|
13
14
|
export interface StorageClass {
|
14
15
|
new (config?: StorageConfig | undefined): StorageInterface;
|
15
|
-
QUOTA?: number;
|
16
16
|
}
|
17
|
-
|
18
|
-
export default ActualStorage;
|
17
|
+
export default LocalStorage;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import LocalStorage from './storage__local.js';
|
2
|
-
import FallbackStorage from './storage__fallback.js';
|
3
2
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
4
3
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
5
4
|
import '../alert-service/alert-service.js';
|
@@ -44,25 +43,7 @@ import '../popup/position.js';
|
|
44
43
|
import 'core-js/modules/es.array.sort.js';
|
45
44
|
import '../popup/popup.consts.js';
|
46
45
|
import '../alert/container.js';
|
47
|
-
import 'deep-equal';
|
48
46
|
|
49
|
-
/**
|
50
|
-
* @name Storage
|
51
|
-
*/
|
52
|
-
/**
|
53
|
-
* @constructor
|
54
|
-
* @extends {LocalStorage}
|
55
|
-
*/
|
56
|
-
let Storage = LocalStorage;
|
57
|
-
// Using try/catch here because of IE10+ protected mode and other browsers' quirks
|
58
|
-
// See https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js
|
59
|
-
try {
|
60
|
-
const temp = 'testStorage';
|
61
|
-
localStorage.setItem(temp, temp);
|
62
|
-
localStorage.removeItem(temp);
|
63
|
-
} catch (e) {
|
64
|
-
Storage = FallbackStorage;
|
65
|
-
}
|
66
|
-
const ActualStorage = Storage;
|
67
47
|
|
68
|
-
|
48
|
+
|
49
|
+
export { LocalStorage as default };
|