@jetbrains/ring-ui 4.0.55 → 4.0.59

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.
Files changed (43) hide show
  1. package/components/alert/container.css +1 -1
  2. package/components/avatar/avatar.css +3 -1
  3. package/components/avatar-editor-ng/avatar-editor-ng.css +2 -2
  4. package/components/button/button.css +2 -2
  5. package/components/button-group/button-group.js +1 -1
  6. package/components/button-group/caption.js +1 -1
  7. package/components/button-ng/button-ng.js +1 -1
  8. package/components/checkbox/checkbox.css +1 -1
  9. package/components/content-layout/content-layout.css +1 -1
  10. package/components/data-list/data-list.css +1 -1
  11. package/components/date-picker/date-picker.css +6 -6
  12. package/components/date-picker/date-popup.js +1 -1
  13. package/components/dialog-ng/dialog-ng.js +1 -1
  14. package/components/error-bubble/error-bubble-legacy.css +1 -1
  15. package/components/error-bubble/error-bubble.css +1 -1
  16. package/components/error-page/error-page.css +2 -2
  17. package/components/form/form.css +2 -2
  18. package/components/global/global.css +1 -1
  19. package/components/global/variables.css +8 -1
  20. package/components/grid/grid.css +10 -9
  21. package/components/header/header.css +1 -1
  22. package/components/http/http.js +1 -1
  23. package/components/icon/icon.css +5 -4
  24. package/components/island/island.css +4 -3
  25. package/components/island-legacy/island-legacy.css +3 -1
  26. package/components/loader-inline/loader-inline.css +1 -1
  27. package/components/loader-screen/loader-screen.css +1 -1
  28. package/components/message/message.css +1 -1
  29. package/components/permissions/permissions.js +1 -1
  30. package/components/progress-bar/progress-bar.css +1 -1
  31. package/components/query-assist/query-assist.css +1 -1
  32. package/components/select/select.css +4 -0
  33. package/components/select/select.examples.js +7 -0
  34. package/components/select/select.js +6 -6
  35. package/components/shortcuts-hint-ng/shortcuts-hint-ng.css +1 -1
  36. package/components/sidebar/sidebar.css +1 -0
  37. package/components/table-legacy/table-legacy.css +2 -2
  38. package/components/tag/tag.css +5 -2
  39. package/components/tags-input/tags-input.js +5 -2
  40. package/components/template-ng/template-ng.js +1 -1
  41. package/components/user-agreement/user-agreement.css +1 -1
  42. package/package.json +32 -32
  43. package/webpack.config.js +1 -1
@@ -1,7 +1,7 @@
1
1
  @import "../global/variables.css";
2
2
 
3
3
  @value unit from "../global/global.css";
4
- @value alert from './alert.css';
4
+ @value alert from "./alert.css";
5
5
 
6
6
  .alertContainer {
7
7
  position: fixed;
@@ -5,7 +5,9 @@
5
5
  object-fit: cover;
6
6
  object-position: center;
7
7
 
8
- border-radius: var(--ring-border-radius); /* This is a "graceful degradation" fallback, while the real value is controlled by JS */
8
+ /* This is a "graceful degradation" fallback, while the real value is controlled by JS */
9
+
10
+ border-radius: var(--ring-border-radius);
9
11
  }
10
12
 
11
13
  .subavatar {
@@ -19,7 +19,7 @@
19
19
  width: 0;
20
20
  height: calc(unit * 5);
21
21
 
22
- content: '';
22
+ content: "";
23
23
  vertical-align: middle;
24
24
  }
25
25
  }
@@ -49,7 +49,7 @@
49
49
  width: 100%;
50
50
  height: 100%;
51
51
 
52
- content: '';
52
+ content: "";
53
53
 
54
54
  background-color: rgba(0, 0, 0, 0.8);
55
55
  }
@@ -451,7 +451,7 @@
451
451
  width: calc(100% + loaderWidth);
452
452
  height: 100%;
453
453
 
454
- content: '';
454
+ content: "";
455
455
  animation: progress 1s linear infinite;
456
456
 
457
457
  background-repeat: repeat;
@@ -460,7 +460,7 @@
460
460
  }
461
461
 
462
462
  .delayed .content::after {
463
- content: '';
463
+ content: "";
464
464
  }
465
465
 
466
466
  .short {
@@ -12,7 +12,7 @@ export default class ButtonGroup extends PureComponent {
12
12
  static propTypes = {
13
13
  children: PropTypes.node,
14
14
  className: PropTypes.string
15
- }
15
+ };
16
16
 
17
17
  render() {
18
18
  const {className} = this.props;
@@ -7,7 +7,7 @@ import styles from './button-group.css';
7
7
  export default class Caption extends PureComponent {
8
8
  static propTypes = {
9
9
  className: PropTypes.node
10
- }
10
+ };
11
11
 
12
12
  render() {
13
13
  const {className} = this.props;
@@ -166,7 +166,7 @@ class ButtonController extends RingAngularComponent {
166
166
  }
167
167
 
168
168
  $compile(icon)($scope);
169
- }
169
+ };
170
170
  }
171
171
 
172
172
  function changeTheme(element, data) {
@@ -89,7 +89,7 @@
89
89
  /* stylelint-disable-next-line selector-max-specificity */
90
90
  &:checked + .cell,
91
91
  &:indeterminate[checked] + .cell,
92
- &:indeterminate[data-checked=true] + .cell {
92
+ &:indeterminate[data-checked="true"] + .cell {
93
93
  border-color: var(--ring-border-hover-color);
94
94
  background-color: var(--ring-selected-background-color);
95
95
  }
@@ -1,6 +1,6 @@
1
1
  @import "../global/variables.css";
2
2
 
3
- @value unit, extra-small-screen-media, small-screen-media from '../global/global.css';
3
+ @value unit, extra-small-screen-media, small-screen-media from "../global/global.css";
4
4
  @value sidebarWidth: calc(unit * 30);
5
5
 
6
6
  .contentLayout {
@@ -1,7 +1,7 @@
1
1
  @import "../global/variables.css";
2
2
 
3
3
  @value unit from "../global/global.css";
4
- @value height, compensate from '../table/table.css';
4
+ @value height, compensate from "../table/table.css";
5
5
 
6
6
  .dataListWrapper {
7
7
  position: relative;
@@ -96,7 +96,7 @@
96
96
  position: absolute;
97
97
  right: unit;
98
98
 
99
- content: '';
99
+ content: "";
100
100
 
101
101
  line-height: calc(4 * unit - 2px);
102
102
  }
@@ -123,7 +123,7 @@
123
123
  position: absolute;
124
124
  left: calc(-1 * unit);
125
125
 
126
- content: ',';
126
+ content: ",";
127
127
 
128
128
  line-height: calc(4 * unit - 3px);
129
129
  }
@@ -282,7 +282,7 @@
282
282
  width: calc(unit * 2);
283
283
  height: 100%;
284
284
 
285
- content: '';
285
+ content: "";
286
286
  transition: background-color var(--ring-ease);
287
287
  }
288
288
 
@@ -325,7 +325,7 @@
325
325
  width: calc(unit * 23);
326
326
  height: calc(unit * 8);
327
327
 
328
- content: '';
328
+ content: "";
329
329
  transition: background-color var(--ring-ease);
330
330
  }
331
331
 
@@ -357,7 +357,7 @@
357
357
  width: calc(unit * 2);
358
358
  height: 100%;
359
359
 
360
- content: '';
360
+ content: "";
361
361
  transition: background-color var(--ring-ease);
362
362
  }
363
363
  }
@@ -409,7 +409,7 @@
409
409
  top: 0;
410
410
  left: calc(unit * 0.5);
411
411
 
412
- content: '';
412
+ content: "";
413
413
 
414
414
  font-size: var(--ring-font-size-smaller);
415
415
  }
@@ -78,7 +78,7 @@ export default class DatePopup extends Component {
78
78
 
79
79
  componentDidMount() {
80
80
  if (this.componentRef.current) {
81
- this.componentRef.current.addEventListener('wheel', this.handleWheel);
81
+ this.componentRef.current.addEventListener('wheel', this.handleWheel, {passive: true});
82
82
  }
83
83
  }
84
84
 
@@ -364,7 +364,7 @@ class DialogService extends RingAngularComponent {
364
364
 
365
365
  unregister = () => {
366
366
  Reflect.deleteProperty(this, 'ctrl');
367
- }
367
+ };
368
368
  }
369
369
 
370
370
  class DialogInSidebarService extends DialogService {
@@ -44,7 +44,7 @@
44
44
  width: unit;
45
45
  height: unit;
46
46
 
47
- content: '';
47
+ content: "";
48
48
  transform: rotate(45deg);
49
49
 
50
50
  border: 1px solid var(--ring-popup-border-color);
@@ -46,7 +46,7 @@
46
46
  width: unit;
47
47
  height: unit;
48
48
 
49
- content: '';
49
+ content: "";
50
50
  transform: rotate(45deg);
51
51
 
52
52
  border: 1px solid var(--ring-popup-border-color);
@@ -15,10 +15,10 @@
15
15
  width: 100%;
16
16
  height: 100%;
17
17
 
18
- content: '';
18
+ content: "";
19
19
  }
20
20
 
21
21
  .enabled::before {
22
22
  opacity: 0.06;
23
- background: url('error-page.gif');
23
+ background: url("error-page.gif");
24
24
  }
@@ -96,7 +96,7 @@
96
96
  display: block;
97
97
  clear: both;
98
98
 
99
- content: '';
99
+ content: "";
100
100
  }
101
101
 
102
102
  :global(.ring-form__group_united) {
@@ -167,7 +167,7 @@
167
167
 
168
168
  height: calc(unit * 3);
169
169
 
170
- content: '';
170
+ content: "";
171
171
  vertical-align: middle;
172
172
  }
173
173
 
@@ -11,7 +11,7 @@ Also it won't form in FF47 https://bugzilla.mozilla.org/show_bug.cgi?id=594933
11
11
  display: block;
12
12
  clear: both;
13
13
 
14
- content: '';
14
+ content: "";
15
15
  }
16
16
  }
17
17
 
@@ -87,7 +87,14 @@
87
87
  --ring-ease: 0.3s ease-out;
88
88
  --ring-fast-ease: 0.15s ease-out;
89
89
  --ring-font-family: system-ui, Arial, sans-serif;
90
- --ring-font-family-monospace: Menlo, "Bitstream Vera Sans Mono", "Ubuntu Mono", Consolas, "Courier New", Courier, monospace;
90
+ --ring-font-family-monospace:
91
+ Menlo,
92
+ "Bitstream Vera Sans Mono",
93
+ "Ubuntu Mono",
94
+ Consolas,
95
+ "Courier New",
96
+ Courier,
97
+ monospace;
91
98
 
92
99
  /* Common z-index-values */
93
100
 
@@ -1,23 +1,24 @@
1
1
  @import "../global/variables.css";
2
2
 
3
- @value unit, breakpoint-small, breakpoint-middle, breakpoint-large, large-screen-media, middle-screen-media, small-screen-media from '../global/global.css';
3
+ @value unit, breakpoint-small, breakpoint-middle, breakpoint-large from "../global/global.css";
4
+ @value large-screen-media, middle-screen-media, small-screen-media from "../global/global.css";
4
5
  @value gutterWidth: (unit*2);
5
6
  @value gutterCompensation: calc(gutterWidth / -2);
6
7
  @value outerMargin: calc(unit*2);
7
8
  @value containerSmall: calc(breakpoint-small + gutterWidth);
8
9
  @value containerMedium: calc(breakpoint-middle + gutterWidth);
9
10
  @value containerLarge: calc(breakpoint-large + gutterWidth);
10
- @value width-1: 8.33333333%;
11
- @value width-2: 16.66666667%;
11
+ @value width-1: 8.3333%;
12
+ @value width-2: 16.6667%;
12
13
  @value width-3: 25%;
13
- @value width-4: 33.33333333%;
14
- @value width-5: 41.66666667%;
14
+ @value width-4: 33.3333%;
15
+ @value width-5: 41.6667%;
15
16
  @value width-6: 50%;
16
- @value width-7: 58.33333333%;
17
- @value width-8: 66.66666667%;
17
+ @value width-7: 58.3333%;
18
+ @value width-8: 66.6667%;
18
19
  @value width-9: 75%;
19
- @value width-10: 83.33333333%;
20
- @value width-11: 91.66666667%;
20
+ @value width-10: 83.3333%;
21
+ @value width-11: 91.6667%;
21
22
  @value width-12: 100%;
22
23
 
23
24
  .container-fluid,
@@ -152,7 +152,7 @@
152
152
  width: unit;
153
153
  height: unit;
154
154
 
155
- content: '';
155
+ content: "";
156
156
 
157
157
  border: 1px solid var(--ring-dark-text-color);
158
158
  border-radius: 50%;
@@ -192,5 +192,5 @@ export default class HTTP {
192
192
  method: 'POST',
193
193
  ...params
194
194
  })
195
- )
195
+ );
196
196
  }
@@ -16,22 +16,22 @@
16
16
 
17
17
  pointer-events: none;
18
18
 
19
- &[width='10'] {
19
+ &[width="10"] {
20
20
  vertical-align: -1px;
21
21
  }
22
22
 
23
- &[width='14'] {
23
+ &[width="14"] {
24
24
  margin-right: -2px;
25
25
  margin-left: 0;
26
26
 
27
27
  vertical-align: -3px;
28
28
  }
29
29
 
30
- &[width='16'] {
30
+ &[width="16"] {
31
31
  vertical-align: -3px;
32
32
  }
33
33
 
34
- &[width='20'] {
34
+ &[width="20"] {
35
35
  vertical-align: -2px;
36
36
  }
37
37
 
@@ -44,6 +44,7 @@
44
44
  }
45
45
 
46
46
  /* HACK: This media query hack makes styles applied for WebKit browsers only */
47
+ /* stylelint-disable-next-line media-feature-name-no-vendor-prefix */
47
48
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
48
49
  .glyph {
49
50
  width: auto; /* Safari size bug workaround, see https://youtrack.jetbrains.com/issue/RG-1983 */
@@ -96,12 +96,13 @@
96
96
  width: 100%;
97
97
  height: calc(unit * 3);
98
98
 
99
- content: '';
99
+ content: "";
100
100
 
101
101
  pointer-events: none;
102
102
 
103
103
  opacity: 0.8;
104
- background: linear-gradient(to top, gradientStart, gradientStop); /* stylelint-disable-line function-linear-gradient-no-nonstandard-direction */
104
+
105
+ background: linear-gradient(to top, gradientStart, gradientStop);
105
106
  }
106
107
 
107
108
  .contentWithTopFade:first-child::before {
@@ -119,7 +120,7 @@
119
120
  width: 100%;
120
121
  height: calc(unit * 3);
121
122
 
122
- content: '';
123
+ content: "";
123
124
  pointer-events: none;
124
125
 
125
126
  opacity: 0.8;
@@ -70,7 +70,9 @@
70
70
 
71
71
  :global(.ring-island__header-btn),
72
72
  :global(.ring-island__header-button:hover) {
73
- background: var(--ring-hover-background-color) linear-gradient(to top, var(--ring-hover-background-color), var(--ring-content-background-color));
73
+ background:
74
+ var(--ring-hover-background-color)
75
+ linear-gradient(to top, var(--ring-hover-background-color), var(--ring-content-background-color));
74
76
  }
75
77
 
76
78
  :global(.ring-island__header-btn),
@@ -49,7 +49,7 @@
49
49
  width: calc(unit * 2);
50
50
  height: calc(unit * 2);
51
51
 
52
- content: '';
52
+ content: "";
53
53
  animation: pulse 0.85s cubic-bezier(0.68, 0, 0.74, 0.74) infinite alternate;
54
54
  }
55
55
  }
@@ -14,7 +14,7 @@
14
14
 
15
15
  height: 100%;
16
16
 
17
- content: '';
17
+ content: "";
18
18
 
19
19
  vertical-align: middle;
20
20
  }
@@ -28,7 +28,7 @@
28
28
  bottom: 0;
29
29
  left: 0;
30
30
 
31
- content: '';
31
+ content: "";
32
32
 
33
33
  border-radius: var(--ring-border-radius);
34
34
 
@@ -54,7 +54,7 @@ export default class Permissions {
54
54
  query
55
55
  }
56
56
  })
57
- )
57
+ );
58
58
 
59
59
  /**
60
60
  * Returns function, which cuts off prefix from server-side permission name
@@ -61,7 +61,7 @@
61
61
  bottom: 0;
62
62
  left: 0;
63
63
 
64
- content: '';
64
+ content: "";
65
65
  animation: progress-bar 2500ms linear infinite;
66
66
 
67
67
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
@@ -161,7 +161,7 @@
161
161
  }
162
162
 
163
163
  .queryAssist {
164
- composes: font from '../global/global.css';
164
+ composes: font from "../global/global.css";
165
165
 
166
166
  position: relative;
167
167
 
@@ -248,3 +248,7 @@
248
248
 
249
249
  color: inherit;
250
250
  }
251
+
252
+ .avatar {
253
+ vertical-align: -6px;
254
+ }
@@ -36,6 +36,7 @@ export default {
36
36
  };
37
37
 
38
38
  export const withAFilterAndTags = args => <Select {...args}/>;
39
+ export const withAvatars = args => <Select {...args}/>;
39
40
 
40
41
  {
41
42
  const avatarUrl = `${hubConfig.serverUri}/api/rest/avatar/default?username=blue`;
@@ -77,6 +78,12 @@ export const withAFilterAndTags = args => <Select {...args}/>;
77
78
  data: tags,
78
79
  selected: [tags[0]]
79
80
  };
81
+
82
+ withAvatars.args = {
83
+ data: tags,
84
+ selected: tags[4],
85
+ type: Select.Type.BUTTON
86
+ };
80
87
  }
81
88
 
82
89
  withAFilterAndTags.storyName = 'with a filter and tags';
@@ -220,6 +220,7 @@ export default class Select extends Component {
220
220
 
221
221
  static propTypes = {
222
222
  className: PropTypes.string,
223
+ buttonClassName: PropTypes.string,
223
224
  id: PropTypes.string,
224
225
  multiple: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
225
226
  allowAny: PropTypes.bool,
@@ -521,10 +522,6 @@ export default class Select extends Component {
521
522
  return getSelectedIndex(selected, data, this.props.multiple);
522
523
  }
523
524
 
524
- popupRef = el => {
525
- this._popup = el;
526
- };
527
-
528
525
  _getResetOption() {
529
526
  const isOptionsSelected = this.state.selected && this.state.selected.length;
530
527
  const hasTagsResetProp = this.props.tags && this.props.tags.reset;
@@ -1034,10 +1031,12 @@ export default class Select extends Component {
1034
1031
  }
1035
1032
 
1036
1033
  _getAvatar() {
1037
- return this.state.selected && this.state.selected.avatar && (
1034
+ return this.state.selected &&
1035
+ (this.state.selected.avatar || this.state.selected.showGeneratedAvatar) && (
1038
1036
  <Avatar
1039
1037
  className={styles.avatar}
1040
1038
  url={this.state.selected.avatar}
1039
+ username={this.state.selected.username}
1041
1040
  size={AvatarSize.Size20}
1042
1041
  />
1043
1042
  );
@@ -1152,6 +1151,7 @@ export default class Select extends Component {
1152
1151
  id={this.props.id}
1153
1152
  onClick={this._clickHandler}
1154
1153
  className={classNames(
1154
+ this.props.buttonClassName,
1155
1155
  styles.buttonValue,
1156
1156
  {
1157
1157
  [styles.buttonValueOpen]: this.state.showPopup
@@ -1192,7 +1192,7 @@ export default class Select extends Component {
1192
1192
  onClick={this._clickHandler}
1193
1193
  type="button"
1194
1194
  disabled={this.props.disabled}
1195
- className={classNames(styles.value, {
1195
+ className={classNames(this.props.buttonClassName, styles.value, {
1196
1196
  [styles.open]: this.state.showPopup,
1197
1197
  [styles.label]: this._selectionIsEmpty()
1198
1198
  })}
@@ -43,7 +43,7 @@
43
43
 
44
44
  height: calc(unit / 2);
45
45
 
46
- content: '';
46
+ content: "";
47
47
  }
48
48
 
49
49
  :global(.shortcuts-hint__search-input-wrapper) {
@@ -63,6 +63,7 @@
63
63
  width: calc(6 * unit);
64
64
  height: calc(6 * unit);
65
65
  object-fit: contain;
66
+
66
67
  padding: 0 calc(2 * unit) 0 calc(4 * unit);
67
68
  }
68
69
 
@@ -75,7 +75,7 @@
75
75
  }
76
76
 
77
77
  :global(.ring-table__title_border::after) {
78
- content: '';
78
+ content: "";
79
79
  }
80
80
 
81
81
  :global(.ring-table__title_nested) {
@@ -239,7 +239,7 @@
239
239
  }
240
240
 
241
241
  :global(.ring-table__column-list:not(:last-child)::after) {
242
- content: ', ';
242
+ content: ", ";
243
243
  }
244
244
 
245
245
  :global(.ring-table__row) {
@@ -56,7 +56,10 @@
56
56
  }
57
57
 
58
58
  .tagAngled {
59
- margin-bottom: -5px !important; /* it needs to fix vertical alignment broken by "overflow: hidden". Remove this class, when IE11 will be deprecated */
59
+ /* it needs to fix vertical alignment broken by "overflow: hidden". Remove this class, when IE11 will be deprecated */
60
+
61
+ margin-bottom: -5px !important;
62
+
60
63
  margin-left: unit;
61
64
  padding-left: calc(unit / 2);
62
65
 
@@ -73,7 +76,7 @@
73
76
  width: 12px;
74
77
  height: 12px;
75
78
 
76
- content: '';
79
+ content: "";
77
80
  transform: scaleY(1.177) rotate(45deg);
78
81
  transform-origin: 0 0;
79
82
 
@@ -70,6 +70,11 @@ export default class TagsInput extends PureComponent {
70
70
  placeholder: 'Select an option'
71
71
  };
72
72
 
73
+ constructor(props) {
74
+ super(props);
75
+ this.ngModelStateField = TagsInput.ngModelStateField;
76
+ }
77
+
73
78
  state = {
74
79
  tags: [],
75
80
  prevTags: null,
@@ -102,8 +107,6 @@ export default class TagsInput extends PureComponent {
102
107
  this.node = node;
103
108
  };
104
109
 
105
- ngModelStateField = TagsInput.ngModelStateField;
106
-
107
110
  getInputNode() {
108
111
  if (!this.input) {
109
112
  this.input = this.select.filter;
@@ -39,7 +39,7 @@ class RgTemplateController extends RingAngularComponent {
39
39
  if (rgTemplateClass) {
40
40
  this.$inject.$element.contents().addClass(rgTemplateClass);
41
41
  }
42
- }
42
+ };
43
43
 
44
44
  cleanup() {
45
45
  if (this.currentScope) {
@@ -1,6 +1,6 @@
1
1
  @import "../global/variables.css";
2
2
 
3
- @value unit, extra-small-screen-media from '../global/global.css';
3
+ @value unit, extra-small-screen-media from "../global/global.css";
4
4
 
5
5
  .agreementDialog {
6
6
  padding-bottom: 80px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "4.0.55",
3
+ "version": "4.0.59",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -65,12 +65,12 @@
65
65
  },
66
66
  "readmeFilename": "README.md",
67
67
  "devDependencies": {
68
- "@babel/cli": "^7.15.7",
69
- "@babel/eslint-parser": "^7.15.8",
68
+ "@babel/cli": "^7.16.0",
69
+ "@babel/eslint-parser": "^7.16.3",
70
70
  "@jetbrains/eslint-config": "^5.3.1",
71
- "@jetbrains/generator-ring-ui": "^4.0.42",
72
- "@jetbrains/stylelint-config": "^2.0.1",
73
- "@primer/octicons": "^16.1.0",
71
+ "@jetbrains/generator-ring-ui": "^4.0.45",
72
+ "@jetbrains/stylelint-config": "^3.0.2",
73
+ "@primer/octicons": "^16.1.1",
74
74
  "@storybook/addon-a11y": "6.3.12",
75
75
  "@storybook/addon-docs": "6.3.12",
76
76
  "@storybook/addon-essentials": "6.3.12",
@@ -87,7 +87,7 @@
87
87
  "@storybook/theming": "6.3.12",
88
88
  "@testing-library/react": "^12.1.2",
89
89
  "@testing-library/user-event": "^13.5.0",
90
- "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
90
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
91
91
  "angular": "^1.8.2",
92
92
  "angular-mocks": "^1.8.2",
93
93
  "angular-route": "^1.8.2",
@@ -98,30 +98,30 @@
98
98
  "chai-dom": "^1.10.0",
99
99
  "chai-enzyme": "1.0.0-beta.1",
100
100
  "cheerio": "^0.22.0",
101
- "core-js": "^3.18.3",
101
+ "core-js": "^3.19.1",
102
102
  "enzyme": "^3.11.0",
103
- "eslint": "^7.32.0",
103
+ "eslint": "^8.2.0",
104
104
  "eslint-import-resolver-webpack": "^0.13.2",
105
105
  "eslint-plugin-angular": "^4.1.0",
106
106
  "eslint-plugin-bdd": "^2.1.1",
107
- "eslint-plugin-import": "^2.25.2",
108
- "eslint-plugin-jsx-a11y": "^6.4.1",
109
- "eslint-plugin-react": "^7.26.1",
107
+ "eslint-plugin-import": "^2.25.3",
108
+ "eslint-plugin-jsx-a11y": "^6.5.1",
109
+ "eslint-plugin-react": "^7.27.0",
110
110
  "events": "^3.3.0",
111
- "html-webpack-plugin": "^5.4.0",
111
+ "html-webpack-plugin": "^5.5.0",
112
112
  "husky": "^7.0.4",
113
113
  "identity-obj-proxy": "^3.0.0",
114
- "imports-loader": "^3.1.0",
114
+ "imports-loader": "^3.1.1",
115
115
  "jest": "~27.3.1",
116
116
  "jest-teamcity": "^1.10.0",
117
- "karma": "^6.3.5",
117
+ "karma": "^6.3.8",
118
118
  "karma-chrome-launcher": "3.1.0",
119
119
  "karma-mocha": "^2.0.1",
120
120
  "karma-sourcemap-loader": "^0.3.8",
121
121
  "karma-teamcity-reporter": "^2.0.0",
122
122
  "karma-webpack": "^5.0.0",
123
123
  "lerna": "^4.0.0",
124
- "lint-staged": "^11.2.3",
124
+ "lint-staged": "^12.0.2",
125
125
  "merge-options": "^3.0.4",
126
126
  "mocha": "^9.1.3",
127
127
  "pinst": "^2.1.6",
@@ -131,15 +131,15 @@
131
131
  "react-dom": "^17.0.2",
132
132
  "react-test-renderer": "^17.0.2",
133
133
  "regenerator-runtime": "^0.13.9",
134
- "sinon": "^11.1.2",
134
+ "sinon": "^12.0.1",
135
135
  "sinon-chai": "^3.7.0",
136
136
  "storage-mock": "^2.1.0",
137
- "stylelint": "^13.13.1",
137
+ "stylelint": "^14.1.0",
138
138
  "svg-inline-loader": "^0.8.2",
139
139
  "teamcity-service-messages": "^0.1.11",
140
- "terser-webpack-plugin": "^5.2.4",
140
+ "terser-webpack-plugin": "^5.2.5",
141
141
  "wallaby-webpack": "^3.9.16",
142
- "webpack": "^5.59.1",
142
+ "webpack": "^5.64.1",
143
143
  "webpack-cli": "^4.9.1",
144
144
  "xmlappend": "^1.0.4",
145
145
  "yo": "^4.3.0"
@@ -148,17 +148,17 @@
148
148
  "core-js": ">=3.0.0",
149
149
  "react": ">=16.8.0",
150
150
  "react-dom": ">=16.8.0",
151
- "webpack": "^5.59.1"
151
+ "webpack": "^5.64.1"
152
152
  },
153
153
  "dependencies": {
154
- "@babel/core": "^7.15.8",
154
+ "@babel/core": "^7.16.0",
155
155
  "@jetbrains/angular-elastic": "^2.5.1",
156
156
  "@jetbrains/babel-preset-jetbrains": "^2.3.1",
157
- "@jetbrains/icons": "^3.17.1",
158
- "@jetbrains/logos": "^1.4.24",
157
+ "@jetbrains/icons": "^3.18.0",
158
+ "@jetbrains/logos": "^1.4.26",
159
159
  "@jetbrains/postcss-require-hover": "^0.1.2",
160
160
  "@ungap/url-search-params": "^0.2.2",
161
- "babel-loader": "^8.2.2",
161
+ "babel-loader": "^8.2.3",
162
162
  "babel-plugin-transform-define": "^2.0.1",
163
163
  "browserslist": "^4.16.6",
164
164
  "change-case": "^4.1.1",
@@ -166,21 +166,21 @@
166
166
  "combokeys": "^3.0.1",
167
167
  "compile-code-loader": "^1.0.0",
168
168
  "conic-gradient": "^1.0.0",
169
- "css-loader": "^6.4.0",
169
+ "css-loader": "^6.5.1",
170
170
  "date-fns": "^2.25.0",
171
171
  "deep-equal": "^2.0.4",
172
172
  "element-resize-detector": "^1.2.3",
173
173
  "es6-error": "^4.1.1",
174
- "eslint-plugin-react-hooks": "^4.2.0",
174
+ "eslint-plugin-react-hooks": "^4.3.0",
175
175
  "extricate-loader": "^3.0.0",
176
176
  "fastdom": "^1.0.10",
177
177
  "file-loader": "^6.2.0",
178
178
  "focus-trap": "^6.7.1",
179
179
  "focus-visible": "^5.2.0",
180
180
  "highlight.js": "^10.7.2",
181
- "html-loader": "^3.0.0",
181
+ "html-loader": "^3.0.1",
182
182
  "interpolate-loader": "^2.0.1",
183
- "just-debounce-it": "^2.0.0",
183
+ "just-debounce-it": "^3.0.1",
184
184
  "memoize-one": "^6.0.0",
185
185
  "postcss": "^8.3.11",
186
186
  "postcss-calc": "^8.0.0",
@@ -191,10 +191,10 @@
191
191
  "postcss-preset-env": "^6.7.0",
192
192
  "prop-types": "^15.7.2",
193
193
  "react-markdown": "^5.0.3",
194
- "react-movable": "^2.5.4",
194
+ "react-movable": "^3.0.2",
195
195
  "react-virtualized": "^9.22.3",
196
196
  "react-waypoint": "^10.1.0",
197
- "remark-breaks": "^3.0.1",
197
+ "remark-breaks": "^3.0.2",
198
198
  "remark-gfm": "^1.0.0",
199
199
  "scrollbar-width": "^3.1.1",
200
200
  "simply-uuid": "^1.0.1",
@@ -207,5 +207,5 @@
207
207
  "node": ">=7.4",
208
208
  "npm": ">=6.0.0"
209
209
  },
210
- "gitHead": "ade0499f7e4b9ef04fbe6b019eadde68905b868f"
210
+ "gitHead": "6978213c9d03e67c9fc5d4473acef71376a053c1"
211
211
  }
package/webpack.config.js CHANGED
@@ -32,7 +32,7 @@ function createConfig() {
32
32
  loader: require.resolve('css-loader'),
33
33
  options: {
34
34
  modules: {
35
- localIdentName: '[local]_[hash:3]'
35
+ localIdentName: '[local]_[hash:4]'
36
36
  },
37
37
  importLoaders: 1
38
38
  }