@itcase/ui 1.0.80 → 1.0.82

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 (76) hide show
  1. package/dist/components/Accordion.js +3 -5
  2. package/dist/components/Avatar.js +4 -3
  3. package/dist/components/Badge.js +5 -9
  4. package/dist/components/Breadcrumbs.js +45 -51
  5. package/dist/components/Button.js +10 -35
  6. package/dist/components/Cell.js +103 -97
  7. package/dist/components/Choice.js +1 -1
  8. package/dist/components/ContextMenu.js +1 -1
  9. package/dist/components/DatePicker.js +86 -15
  10. package/dist/components/Icon.js +8 -8
  11. package/dist/components/Label.js +7 -4
  12. package/dist/components/MenuItem.js +2 -2
  13. package/dist/components/Modal.js +17 -15
  14. package/dist/components/Pagination.js +64 -2
  15. package/dist/components/Search.js +14 -61
  16. package/dist/components/Segmented.js +18 -4
  17. package/dist/components/Swiper.js +2 -2
  18. package/dist/components/Tab.js +108 -110
  19. package/dist/components/Text.js +1 -1
  20. package/dist/components/Tile.js +1 -1
  21. package/dist/components/Title.js +1 -1
  22. package/dist/constants/componentProps/borderColor.js +1 -1
  23. package/dist/constants/componentProps/fill.js +1 -1
  24. package/dist/constants/componentProps/strokeColor.js +1 -1
  25. package/dist/constants/componentProps/textColor.js +1 -1
  26. package/dist/constants/componentProps/textColorActive.js +1 -1
  27. package/dist/constants/componentProps/textColorHover.js +1 -1
  28. package/dist/css/components/Accordion/Accordion.css +1 -2
  29. package/dist/css/components/Avatar/Avatar.css +7 -4
  30. package/dist/css/components/Badge/Badge.css +1 -18
  31. package/dist/css/components/Button/Button.css +3 -14
  32. package/dist/css/components/Cell/Cell.css +12 -22
  33. package/dist/css/components/Chips/Chips.css +1 -2
  34. package/dist/css/components/Choice/Choice.css +4 -4
  35. package/dist/css/components/Choice/css/__item/choice__item.css +1 -2
  36. package/dist/css/components/Code/Code.css +1 -1
  37. package/dist/css/components/ContextMenu/ContextMenu.css +2 -7
  38. package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +1 -2
  39. package/dist/css/components/DadataHintField/DadataHintField.css +1 -0
  40. package/dist/css/components/DatePicker/DatePicker.css +30 -0
  41. package/dist/css/components/Divider/Divider.css +24 -42
  42. package/dist/css/components/Dot/Dot.css +5 -9
  43. package/dist/css/components/Dropdown/Dropdown.css +9 -0
  44. package/dist/css/components/Flex/Flex.css +2 -2
  45. package/dist/css/components/Flex/css/__item/flex__item_shape.css +1 -1
  46. package/dist/css/components/Grid/Grid.css +1 -1
  47. package/dist/css/components/Group/Group.css +1 -1
  48. package/dist/css/components/Icon/Icon.css +1 -1
  49. package/dist/css/components/Label/Label.css +1 -1
  50. package/dist/css/components/MenuItem/MenuItem.css +11 -1
  51. package/dist/css/components/Modal/Modal.css +1 -1
  52. package/dist/css/components/Notification/Notification.css +38 -25
  53. package/dist/css/components/Notification/css/__item/notification__item_set_float.css +3 -10
  54. package/dist/css/components/Notification/css/__item/notification__item_set_form.css +2 -3
  55. package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +19 -0
  56. package/dist/css/components/Notification/css/__item/notification__item_set_top.css +1 -2
  57. package/dist/css/components/Notification/css/__item/notification__item_status.css +3 -3
  58. package/dist/css/components/Notification/css/__item/notification__item_type_close-button.css +10 -7
  59. package/dist/css/components/Pagination/Pagination.css +14 -14
  60. package/dist/css/components/Pagination/css/__item/pagination__item.css +14 -14
  61. package/dist/css/components/RadioButton/RadioButton.css +2 -2
  62. package/dist/css/components/Search/Search.css +8 -9
  63. package/dist/css/components/Search/css/search-input/search-input.css +6 -7
  64. package/dist/css/components/Search/css/search-input/search-input_shape.css +1 -1
  65. package/dist/css/components/Segmented/Segmented.css +1 -1
  66. package/dist/css/components/Select/Select.css +18 -5
  67. package/dist/css/components/Select/css/__control/select__control_shape.css +1 -1
  68. package/dist/css/components/Select/css/__multi-value/select__multi-value.css +5 -2
  69. package/dist/css/components/Swiper/Swiper.css +2 -2
  70. package/dist/css/components/Tab/Tab.css +3 -14
  71. package/dist/css/components/Textarea/Textarea.css +5 -5
  72. package/dist/css/components/Tile/Tile.css +2 -2
  73. package/dist/css/styles/border-color/border-color.css +2 -1
  74. package/dist/css/styles/fill/fill.css +19 -15
  75. package/dist/css/styles/text-color/text-color.css +2 -2
  76. package/package.json +15 -15
@@ -78,9 +78,8 @@ function Tab(props) {
78
78
  dividerDirection,
79
79
  onClick,
80
80
  onMouseEnter,
81
+ badgeAppearance,
81
82
  badgeSize,
82
- badgeFill,
83
- badgeTextColor,
84
83
  badgeTextSize,
85
84
  badgeValue
86
85
  } = props;
@@ -139,44 +138,43 @@ function Tab(props) {
139
138
  styles: tab
140
139
  } = useStyles.useStyles(props);
141
140
  return /*#__PURE__*/React__default.default.createElement("div", {
142
- className: clsx__default.default('tab', isActive && 'tab_state_active', isHover && 'tab_state_hover', appearance && tabConfig.appearance[appearance] && `fill_${tabConfig.appearance[appearance].fillClass}`.replace(/([A-Z])/g, '-$1').toLowerCase(), appearance && tabConfig.appearance[appearance] && `fill_hover_${tabConfig.appearance[appearance].fillHoverClass}`.replace(/([A-Z])/g, '-$1').toLowerCase(), className, sizeClass, fillClass, fillHoverClass, fillActiveClass, fillActiveHoverClass, fillDisabledClass, shapeClass, typeClass, widthClass, set && `tab_set_${set}`, justifyContentClass),
141
+ className: clsx__default.default('tab', isActive && 'tab_state_active', isHover && 'tab_state_hover', fillClass || tabConfig.appearance[appearance] && `fill_${tabConfig.appearance[appearance].fillClass}`.replace(/([A-Z])/g, '-$1').toLowerCase(), fillHoverClass || tabConfig.appearance[appearance] && `fill_hover_${tabConfig.appearance[appearance].fillHoverClass}`.replace(/([A-Z])/g, '-$1').toLowerCase(), className, sizeClass, fillActiveClass, fillActiveHoverClass, fillDisabledClass, shapeClass, typeClass, widthClass, set && `tab_set_${set}`, justifyContentClass, onClick && 'cursor_type_pointer'),
142
+ "data-tour": dataTour,
143
143
  style: tab,
144
144
  onClick: onClick,
145
- onMouseEnter: onMouseEnter,
146
- "data-tour": dataTour
145
+ onMouseEnter: onMouseEnter
147
146
  }, /*#__PURE__*/React__default.default.createElement(index.Link, {
148
- href: link || href,
149
147
  className: clsx__default.default('tab__link', alignDirectionClass, alignClass),
150
148
  fill: linkFillClass,
151
- target: target,
152
- rel: rel
149
+ href: link || href,
150
+ rel: rel,
151
+ target: target
153
152
  }, /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, before, children || /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, /*#__PURE__*/React__default.default.createElement("div", {
154
153
  className: "tab__wrapper"
155
154
  }, label && /*#__PURE__*/React__default.default.createElement(index$1.Text, {
156
155
  className: "tab__label",
157
- textColorActive: isActive && labelColorActive || appearance && tabConfig.appearance[appearance].labelColorActive.replace(/([A-Z])/g, '-$1').toLowerCase(),
158
- textColorGradient: labelTextGradient,
159
156
  size: labelTextSize,
160
- textWeight: labelTextWeight,
161
- textColor: labelColor || appearance && tabConfig.appearance[appearance].labelColor.replace(/([A-Z])/g, '-$1').toLowerCase(),
162
- textWrap: labelTextWrap,
157
+ textColor: labelColor || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].labelColor.replace(/([A-Z])/g, '-$1').toLowerCase(),
158
+ textColorActive: isActive && (labelColorActive || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].labelColorActive.replace(/([A-Z])/g, '-$1').toLowerCase()),
159
+ textColorGradient: labelTextGradient,
163
160
  textColorHover: labelTextColorHover,
164
- textStyle: labelTextStyle
161
+ textStyle: labelTextStyle,
162
+ textWeight: labelTextWeight,
163
+ textWrap: labelTextWrap
165
164
  }, dividerFillActive, " ", label), badgeValue && /*#__PURE__*/React__default.default.createElement(index$2.Badge, {
165
+ appearance: badgeAppearance,
166
166
  size: badgeSize,
167
- fill: badgeFill,
168
- textColor: badgeTextColor,
169
167
  textSize: badgeTextSize,
170
168
  value: badgeValue
171
169
  })), /*#__PURE__*/React__default.default.createElement(index$3.Divider, {
172
- width: "fill",
173
- fill: dividerFill || appearance && tabConfig.appearance[appearance].dividerFill.replace(/([A-Z])/g, '-$1').toLowerCase(),
174
- fillHover: isHover && (dividerFillHover || appearance && tabConfig.appearance[appearance].dividerFillHover.replace(/([A-Z])/g, '-$1').toLowerCase()),
175
- fillActive: isActive && (dividerFillActive || appearance && tabConfig.appearance[appearance].dividerFillActive.replace(/([A-Z])/g, '-$1').toLowerCase()),
170
+ direction: dividerDirection,
171
+ fill: dividerFill || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].dividerFill.replace(/([A-Z])/g, '-$1').toLowerCase(),
172
+ fillActive: isActive && (dividerFillActive || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].dividerFillActive.replace(/([A-Z])/g, '-$1').toLowerCase()),
176
173
  fillActiveHover: dividerFillActiveHover,
177
174
  fillDisabled: dividerFillDisabled,
175
+ fillHover: isHover && (dividerFillHover || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].dividerFillHover.replace(/([A-Z])/g, '-$1').toLowerCase()),
178
176
  size: dividerSize,
179
- direction: dividerDirection
177
+ width: "fill"
180
178
  })), after)));
181
179
  }
182
180
  Tab.propTypes = {
@@ -188,40 +186,40 @@ Tab.propTypes = {
188
186
  fillDesktop: PropTypes__default.default.oneOf(fill.default),
189
187
  fillMobile: PropTypes__default.default.oneOf(fill.default),
190
188
  fillTablet: PropTypes__default.default.oneOf(fill.default),
189
+ href: PropTypes__default.default.string,
190
+ isActive: PropTypes__default.default.bool,
191
+ label: PropTypes__default.default.string,
192
+ labelColor: PropTypes__default.default.oneOf(textColor.default),
193
+ labelColorActive: PropTypes__default.default.oneOf(textColorActive.default),
194
+ labelTextColorHover: PropTypes__default.default.oneOf(textColorHover.default),
195
+ labelTextGradient: PropTypes__default.default.oneOf(textGradient.default),
196
+ labelTextSize: PropTypes__default.default.oneOf(size.default),
197
+ labelTextStyle: PropTypes__default.default.oneOf(textStyle.default),
198
+ labelTextWeight: PropTypes__default.default.oneOf(textWeight.default),
199
+ labelTextWrap: PropTypes__default.default.string,
200
+ link: PropTypes__default.default.string,
201
+ LinkComponent: PropTypes__default.default.any,
191
202
  linkFill: PropTypes__default.default.oneOf(fill.default),
192
203
  linkFillDesktop: PropTypes__default.default.oneOf(fill.default),
193
204
  linkFillMobile: PropTypes__default.default.oneOf(fill.default),
194
205
  linkFillTablet: PropTypes__default.default.oneOf(fill.default),
195
- isActive: PropTypes__default.default.bool,
196
- label: PropTypes__default.default.string,
197
- onClick: PropTypes__default.default.func,
198
- onMouseEnter: PropTypes__default.default.func,
199
- size: PropTypes__default.default.oneOf(size.default),
200
- sizeDesktop: PropTypes__default.default.oneOf(size.default),
201
- sizeMobile: PropTypes__default.default.oneOf(size.default),
202
- sizeTablet: PropTypes__default.default.oneOf(size.default),
203
- LinkComponent: PropTypes__default.default.any,
204
- href: PropTypes__default.default.string,
205
- link: PropTypes__default.default.string,
206
- target: PropTypes__default.default.string,
207
206
  rel: PropTypes__default.default.string,
208
207
  shape: PropTypes__default.default.oneOf(shape.default),
209
208
  shapeDesktop: PropTypes__default.default.oneOf(shape.default),
210
209
  shapeMobile: PropTypes__default.default.oneOf(shape.default),
211
210
  shapeTablet: PropTypes__default.default.oneOf(shape.default),
212
- labelColor: PropTypes__default.default.oneOf(textColor.default),
213
- labelTextColorHover: PropTypes__default.default.oneOf(textColorHover.default),
214
- labelColorActive: PropTypes__default.default.oneOf(textColorActive.default),
215
- labelTextGradient: PropTypes__default.default.oneOf(textGradient.default),
216
- labelTextSize: PropTypes__default.default.oneOf(size.default),
217
- labelTextWrap: PropTypes__default.default.string,
218
- labelTextStyle: PropTypes__default.default.oneOf(textStyle.default),
219
- labelTextWeight: PropTypes__default.default.oneOf(textWeight.default),
211
+ size: PropTypes__default.default.oneOf(size.default),
212
+ sizeDesktop: PropTypes__default.default.oneOf(size.default),
213
+ sizeMobile: PropTypes__default.default.oneOf(size.default),
214
+ sizeTablet: PropTypes__default.default.oneOf(size.default),
215
+ target: PropTypes__default.default.string,
220
216
  type: PropTypes__default.default.oneOf(type.default),
221
217
  typeDesktop: PropTypes__default.default.oneOf(type.default),
222
218
  typeMobile: PropTypes__default.default.oneOf(type.default),
223
219
  typeTablet: PropTypes__default.default.oneOf(type.default),
224
- underline: PropTypes__default.default.oneOf(underline.default)
220
+ underline: PropTypes__default.default.oneOf(underline.default),
221
+ onClick: PropTypes__default.default.func,
222
+ onMouseEnter: PropTypes__default.default.func
225
223
  };
226
224
  Tab.defaultProps = {
227
225
  size: 'normal',
@@ -328,71 +326,64 @@ Tab.__docgenInfo = {
328
326
  },
329
327
  "required": false
330
328
  },
331
- "linkFill": {
329
+ "href": {
332
330
  "description": "",
333
331
  "type": {
334
- "name": "enum",
335
- "computed": true,
336
- "value": "fillProps"
332
+ "name": "string"
337
333
  },
338
334
  "required": false
339
335
  },
340
- "linkFillDesktop": {
336
+ "isActive": {
341
337
  "description": "",
342
338
  "type": {
343
- "name": "enum",
344
- "computed": true,
345
- "value": "fillProps"
339
+ "name": "bool"
346
340
  },
347
341
  "required": false
348
342
  },
349
- "linkFillMobile": {
343
+ "label": {
350
344
  "description": "",
351
345
  "type": {
352
- "name": "enum",
353
- "computed": true,
354
- "value": "fillProps"
346
+ "name": "string"
355
347
  },
356
348
  "required": false
357
349
  },
358
- "linkFillTablet": {
350
+ "labelColor": {
359
351
  "description": "",
360
352
  "type": {
361
353
  "name": "enum",
362
354
  "computed": true,
363
- "value": "fillProps"
364
- },
365
- "required": false
366
- },
367
- "isActive": {
368
- "description": "",
369
- "type": {
370
- "name": "bool"
355
+ "value": "textColorProps"
371
356
  },
372
357
  "required": false
373
358
  },
374
- "label": {
359
+ "labelColorActive": {
375
360
  "description": "",
376
361
  "type": {
377
- "name": "string"
362
+ "name": "enum",
363
+ "computed": true,
364
+ "value": "textColorActiveProps"
378
365
  },
379
366
  "required": false
380
367
  },
381
- "onClick": {
368
+ "labelTextColorHover": {
382
369
  "description": "",
383
370
  "type": {
384
- "name": "func"
371
+ "name": "enum",
372
+ "computed": true,
373
+ "value": "textColorHoverProps"
385
374
  },
386
375
  "required": false
387
376
  },
388
- "onMouseEnter": {
377
+ "labelTextGradient": {
389
378
  "description": "",
390
379
  "type": {
391
- "name": "func"
380
+ "name": "enum",
381
+ "computed": true,
382
+ "value": "textGradientProps"
392
383
  },
393
384
  "required": false
394
385
  },
395
- "sizeDesktop": {
386
+ "labelTextSize": {
396
387
  "description": "",
397
388
  "type": {
398
389
  "name": "enum",
@@ -401,25 +392,25 @@ Tab.__docgenInfo = {
401
392
  },
402
393
  "required": false
403
394
  },
404
- "sizeMobile": {
395
+ "labelTextStyle": {
405
396
  "description": "",
406
397
  "type": {
407
398
  "name": "enum",
408
399
  "computed": true,
409
- "value": "sizeProps"
400
+ "value": "textStyleProps"
410
401
  },
411
402
  "required": false
412
403
  },
413
- "sizeTablet": {
404
+ "labelTextWeight": {
414
405
  "description": "",
415
406
  "type": {
416
407
  "name": "enum",
417
408
  "computed": true,
418
- "value": "sizeProps"
409
+ "value": "textWeightProps"
419
410
  },
420
411
  "required": false
421
412
  },
422
- "href": {
413
+ "labelTextWrap": {
423
414
  "description": "",
424
415
  "type": {
425
416
  "name": "string"
@@ -433,48 +424,50 @@ Tab.__docgenInfo = {
433
424
  },
434
425
  "required": false
435
426
  },
436
- "target": {
427
+ "linkFill": {
437
428
  "description": "",
438
429
  "type": {
439
- "name": "string"
430
+ "name": "enum",
431
+ "computed": true,
432
+ "value": "fillProps"
440
433
  },
441
434
  "required": false
442
435
  },
443
- "rel": {
436
+ "linkFillDesktop": {
444
437
  "description": "",
445
438
  "type": {
446
- "name": "string"
439
+ "name": "enum",
440
+ "computed": true,
441
+ "value": "fillProps"
447
442
  },
448
443
  "required": false
449
444
  },
450
- "shape": {
445
+ "linkFillMobile": {
451
446
  "description": "",
452
447
  "type": {
453
448
  "name": "enum",
454
449
  "computed": true,
455
- "value": "shapeProps"
450
+ "value": "fillProps"
456
451
  },
457
452
  "required": false
458
453
  },
459
- "shapeDesktop": {
454
+ "linkFillTablet": {
460
455
  "description": "",
461
456
  "type": {
462
457
  "name": "enum",
463
458
  "computed": true,
464
- "value": "shapeProps"
459
+ "value": "fillProps"
465
460
  },
466
461
  "required": false
467
462
  },
468
- "shapeMobile": {
463
+ "rel": {
469
464
  "description": "",
470
465
  "type": {
471
- "name": "enum",
472
- "computed": true,
473
- "value": "shapeProps"
466
+ "name": "string"
474
467
  },
475
468
  "required": false
476
469
  },
477
- "shapeTablet": {
470
+ "shape": {
478
471
  "description": "",
479
472
  "type": {
480
473
  "name": "enum",
@@ -483,43 +476,43 @@ Tab.__docgenInfo = {
483
476
  },
484
477
  "required": false
485
478
  },
486
- "labelColor": {
479
+ "shapeDesktop": {
487
480
  "description": "",
488
481
  "type": {
489
482
  "name": "enum",
490
483
  "computed": true,
491
- "value": "textColorProps"
484
+ "value": "shapeProps"
492
485
  },
493
486
  "required": false
494
487
  },
495
- "labelTextColorHover": {
488
+ "shapeMobile": {
496
489
  "description": "",
497
490
  "type": {
498
491
  "name": "enum",
499
492
  "computed": true,
500
- "value": "textColorHoverProps"
493
+ "value": "shapeProps"
501
494
  },
502
495
  "required": false
503
496
  },
504
- "labelColorActive": {
497
+ "shapeTablet": {
505
498
  "description": "",
506
499
  "type": {
507
500
  "name": "enum",
508
501
  "computed": true,
509
- "value": "textColorActiveProps"
502
+ "value": "shapeProps"
510
503
  },
511
504
  "required": false
512
505
  },
513
- "labelTextGradient": {
506
+ "sizeDesktop": {
514
507
  "description": "",
515
508
  "type": {
516
509
  "name": "enum",
517
510
  "computed": true,
518
- "value": "textGradientProps"
511
+ "value": "sizeProps"
519
512
  },
520
513
  "required": false
521
514
  },
522
- "labelTextSize": {
515
+ "sizeMobile": {
523
516
  "description": "",
524
517
  "type": {
525
518
  "name": "enum",
@@ -528,28 +521,19 @@ Tab.__docgenInfo = {
528
521
  },
529
522
  "required": false
530
523
  },
531
- "labelTextWrap": {
532
- "description": "",
533
- "type": {
534
- "name": "string"
535
- },
536
- "required": false
537
- },
538
- "labelTextStyle": {
524
+ "sizeTablet": {
539
525
  "description": "",
540
526
  "type": {
541
527
  "name": "enum",
542
528
  "computed": true,
543
- "value": "textStyleProps"
529
+ "value": "sizeProps"
544
530
  },
545
531
  "required": false
546
532
  },
547
- "labelTextWeight": {
533
+ "target": {
548
534
  "description": "",
549
535
  "type": {
550
- "name": "enum",
551
- "computed": true,
552
- "value": "textWeightProps"
536
+ "name": "string"
553
537
  },
554
538
  "required": false
555
539
  },
@@ -597,6 +581,20 @@ Tab.__docgenInfo = {
597
581
  "value": "underlineProps"
598
582
  },
599
583
  "required": false
584
+ },
585
+ "onClick": {
586
+ "description": "",
587
+ "type": {
588
+ "name": "func"
589
+ },
590
+ "required": false
591
+ },
592
+ "onMouseEnter": {
593
+ "description": "",
594
+ "type": {
595
+ "name": "func"
596
+ },
597
+ "required": false
600
598
  }
601
599
  }
602
600
  };
@@ -60,7 +60,7 @@ function Text(props) {
60
60
  propsKey: 'textColor'
61
61
  });
62
62
  const textColorActiveClass = useDeviceTargetClass.useDeviceTargetClass(props, {
63
- prefix: 'text-color-active_',
63
+ prefix: 'text-color_active_',
64
64
  propsKey: 'textColorActive'
65
65
  });
66
66
  const textColorHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
@@ -97,7 +97,7 @@ function Tile(props) {
97
97
  });
98
98
  const borderColorHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
99
99
  prefix: 'border-color_hover_',
100
- propsKey: 'borderHover'
100
+ propsKey: 'borderColorHover'
101
101
  });
102
102
  const borderWidthClass = useDeviceTargetClass.useDeviceTargetClass(props, {
103
103
  prefix: 'border-width_',
@@ -57,7 +57,7 @@ function Title(props) {
57
57
  propsKey: 'textColor'
58
58
  });
59
59
  const textColorActiveClass = useDeviceTargetClass.useDeviceTargetClass(props, {
60
- prefix: 'text-color-active_',
60
+ prefix: 'text-color_active_',
61
61
  propsKey: 'textColorActive'
62
62
  });
63
63
  const textColorHoverClass = useDeviceTargetClass.useDeviceTargetClass(props, {
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const borderColorProps = [null, 'accentBorderPrimary', 'accentBorderSecondary', 'accentBorderTertiary', 'accentBorderQuaternary', 'accentBorderDisabled', 'primaryBorderPrimary', 'primaryBorderSecondary', 'primaryBorderTertiary', 'primaryBorderQuaternary', 'primaryBorderDisabled', 'secondaryBorderPrimary', 'secondaryBorderSecondary', 'secondaryBorderTertiary', 'secondaryBorderQuaternary', 'secondaryBorderDisabled', 'tertiaryBorderPrimary', 'tertiaryBorderSecondary', 'tertiaryBorderTertiary', 'tertiaryBorderQuaternary', 'tertiaryBorderDisabled', 'surfaceBorderPrimary', 'surfaceBorderSecondary', 'surfaceBorderTertiary', 'surfaceBorderQuaternary', 'surfaceBorderDisabled', 'errorBorderPrimary', 'errorBorderSecondary', 'errorBorderDisabled', 'successBorderPrimary', 'successBorderSecondary', 'successBorderDisabled'];
3
+ const borderColorProps = [null, 'accentBorderPrimary', 'accentBorderSecondary', 'accentBorderTertiary', 'accentBorderQuaternary', 'accentBorderDisabled', 'primaryBorderPrimary', 'primaryBorderSecondary', 'primaryBorderTertiary', 'primaryBorderQuaternary', 'primaryBorderDisabled', 'secondaryBorderPrimary', 'secondaryBorderSecondary', 'secondaryBorderTertiary', 'secondaryBorderQuaternary', 'secondaryBorderDisabled', 'tertiaryBorderPrimary', 'tertiaryBorderSecondary', 'tertiaryBorderTertiary', 'tertiaryBorderQuaternary', 'tertiaryBorderDisabled', 'surfaceBorderPrimary', 'surfaceBorderSecondary', 'surfaceBorderTertiary', 'surfaceBorderQuaternary', 'surfaceBorderDisabled', 'surfaceBorderInvert', 'errorBorderPrimary', 'errorBorderSecondary', 'errorBorderDisabled', 'successBorderPrimary', 'successBorderSecondary', 'successBorderDisabled'];
4
4
 
5
5
  exports.default = borderColorProps;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const fillProps = [null, 'accentPrimary', 'accentSecondary', 'accentTertiary', 'primaryPrimary', 'primarySecondary', 'primaryTertiary', 'secondaryPrimary', 'secondarySecondary', 'secondaryTertiary', 'tertiaryPrimary', 'tertiarySecondary', 'tertiaryTertiary', 'surfacePrimary', 'surfaceSecondary', 'surfaceTertiary', 'surfaceQuaternary', 'surfaceQuinary', 'errorPrimary', 'errorSecondary', 'successPrimary', 'successSecondary'];
3
+ const fillProps = [null, 'accentPrimary', 'accentSecondary', 'accentTertiary', 'primaryPrimary', 'primarySecondary', 'primaryTertiary', 'secondaryPrimary', 'secondarySecondary', 'secondaryTertiary', 'tertiaryPrimary', 'tertiarySecondary', 'tertiaryTertiary', 'surfacePrimary', 'surfaceSecondary', 'surfaceTertiary', 'surfaceQuaternary', 'surfaceQuinary', 'errorPrimary', 'errorSecondary', 'successPrimary', 'successSecondary', 'gradientPrimary'];
4
4
 
5
5
  exports.default = fillProps;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const strokeColorProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
3
+ const strokeColorProps = [null, 'surfaceItemPrimary', 'surfaceItemSecondary', 'surfaceItemTertiary', 'surfaceItemAccent', 'surfaceItemDisabled', 'accentItemPrimary', 'accentItemSecondary', 'primaryItemPrimary', 'secondaryItemPrimary', 'errorItemPrimary', 'errorItemSecondary', 'successItemPrimary', 'successItemSecondary'];
4
4
 
5
5
  exports.default = strokeColorProps;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const textColorProps = [null, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary'];
3
+ const textColorProps = [null, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextAccent', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert'];
4
4
 
5
5
  exports.default = textColorProps;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const textColorActiveProps = [null, false, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success'];
3
+ const textColorActiveProps = [null, false, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary'];
4
4
 
5
5
  exports.default = textColorActiveProps;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const textColorHoverProps = [null, 'accent', 'primary', 'secondary', 'tertiary', 'surface', 'error', 'success', 'surfaceTextAccent'];
3
+ const textColorHoverProps = [null, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert'];
4
4
 
5
5
  exports.default = textColorHoverProps;
@@ -34,7 +34,6 @@
34
34
  flex-flow: row wrap;
35
35
  &__title {
36
36
  flex: 1;
37
- cursor: pointer;
38
37
  }
39
38
  &__icon {
40
39
  margin: 0 0 0 40px;
@@ -49,7 +48,7 @@
49
48
  .accordion-item {
50
49
  &_shape {
51
50
  &_rounded {
52
- border-radius: 12px;
51
+ border-radius: var(--accordion-item-shape-rounded, 12px);
53
52
  }
54
53
  &_circular {
55
54
  border-radius: 50%;
@@ -37,18 +37,21 @@
37
37
  .avatar {
38
38
  &_shape {
39
39
  &_circular {
40
- ^^&__image {
40
+ ^^&__image,
41
+ ^^&__wrapper {
41
42
  border-radius: 50%;
42
43
  }
43
44
  }
44
45
  &_geometric {
45
- ^^&__image {
46
+ ^^&__image,
47
+ ^^&__wrapper {
46
48
  border-radius: 0;
47
49
  }
48
50
  }
49
51
  &_rounded {
50
- ^^&__image {
51
- border-radius: 10px;
52
+ ^^&__image,
53
+ ^^&__wrapper {
54
+ border-radius: var(--avatar-shape-rounded, 10px);
52
55
  }
53
56
  }
54
57
  }
@@ -15,22 +15,6 @@
15
15
  }
16
16
  }
17
17
  }
18
- .badge {
19
- &&_type {
20
- &_accent {
21
- background: var(--color-accent-primary);
22
- color: var(--color-accent-text-primary);
23
- }
24
- }
25
- }
26
- .badge {
27
- &&_type {
28
- &_primary {
29
- color: var(--color-primary-text-primary);
30
- background: var(--color-primary-primary);
31
- }
32
- }
33
- }
34
18
  .badge {
35
19
  &_type_status {
36
20
  &.badge_size {
@@ -48,7 +32,7 @@
48
32
  .badge {
49
33
  &_shape {
50
34
  &_rounded {
51
- border-radius: var(--badge-shape-rounded-default);
35
+ border-radius: var(--badge-shape-rounded, 6px);
52
36
  }
53
37
  &_circular {
54
38
  border-radius: 50%;
@@ -70,5 +54,4 @@
70
54
  --badge-height-size-xl: 40px;
71
55
  --badge-width-size-xxl: 48px;
72
56
  --badge-height-size-xxl: 48px;
73
- --badge-shape-rounded-default: 6px;
74
57
  }