@itcase/ui 1.0.81 → 1.0.83

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 (59) hide show
  1. package/dist/components/Accordion.js +23 -7
  2. package/dist/components/Badge.js +3 -7
  3. package/dist/components/Button.js +1 -1
  4. package/dist/components/Cell.js +59 -55
  5. package/dist/components/Choice.js +5 -3
  6. package/dist/components/ContextMenu.js +1 -1
  7. package/dist/components/DatePicker.js +6 -2
  8. package/dist/components/Dropdown.js +1 -1
  9. package/dist/components/Label.js +14 -3
  10. package/dist/components/Search.js +6 -23
  11. package/dist/components/Select.js +4 -1
  12. package/dist/components/Tab.js +103 -104
  13. package/dist/constants/componentProps/borderColor.js +1 -1
  14. package/dist/constants/componentProps/fill.js +1 -1
  15. package/dist/constants/componentProps/textColor.js +1 -1
  16. package/dist/constants/componentProps/textColorHover.js +1 -1
  17. package/dist/css/components/Accordion/Accordion.css +4 -3
  18. package/dist/css/components/Avatar/Avatar.css +1 -1
  19. package/dist/css/components/Badge/Badge.css +1 -18
  20. package/dist/css/components/Button/Button.css +3 -14
  21. package/dist/css/components/Cell/Cell.css +12 -22
  22. package/dist/css/components/Chips/Chips.css +1 -2
  23. package/dist/css/components/Choice/Choice.css +1 -1
  24. package/dist/css/components/Code/Code.css +1 -1
  25. package/dist/css/components/ContextMenu/ContextMenu.css +2 -7
  26. package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +1 -2
  27. package/dist/css/components/DatePicker/DatePicker.css +3 -0
  28. package/dist/css/components/Divider/Divider.css +24 -42
  29. package/dist/css/components/Dot/Dot.css +5 -9
  30. package/dist/css/components/Flex/Flex.css +2 -2
  31. package/dist/css/components/Flex/css/__item/flex__item_shape.css +1 -1
  32. package/dist/css/components/Grid/Grid.css +4 -2
  33. package/dist/css/components/Group/Group.css +1 -1
  34. package/dist/css/components/Icon/Icon.css +1 -1
  35. package/dist/css/components/Label/Label.css +1 -1
  36. package/dist/css/components/Modal/Modal.css +1 -1
  37. package/dist/css/components/Notification/Notification.css +7 -7
  38. package/dist/css/components/Notification/css/__item/notification__item_set_float.css +2 -2
  39. package/dist/css/components/Notification/css/__item/notification__item_set_form.css +2 -2
  40. package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +2 -2
  41. package/dist/css/components/Notification/css/__item/notification__item_set_top.css +1 -1
  42. package/dist/css/components/Pagination/Pagination.css +14 -14
  43. package/dist/css/components/Pagination/css/__item/pagination__item.css +14 -14
  44. package/dist/css/components/RadioButton/RadioButton.css +2 -2
  45. package/dist/css/components/Search/Search.css +2 -3
  46. package/dist/css/components/Search/css/search-input/search-input.css +0 -1
  47. package/dist/css/components/Search/css/search-input/search-input_shape.css +1 -1
  48. package/dist/css/components/Segmented/Segmented.css +1 -1
  49. package/dist/css/components/Select/Select.css +33 -5
  50. package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +15 -0
  51. package/dist/css/components/Select/css/__menu/select__menu.css +5 -4
  52. package/dist/css/components/Select/css/__placeholder/select__placeholder.css +1 -0
  53. package/dist/css/components/Tab/Tab.css +31 -25
  54. package/dist/css/components/Textarea/Textarea.css +6 -6
  55. package/dist/css/components/Tile/Tile.css +2 -2
  56. package/dist/css/styles/border-color/border-color.css +2 -1
  57. package/dist/css/styles/fill/fill.css +19 -15
  58. package/dist/css/styles/text-color/text-color.css +2 -2
  59. package/package.json +1 -1
@@ -67,6 +67,7 @@ function Tab(props) {
67
67
  labelTextSize,
68
68
  labelTextWrap,
69
69
  labelTextStyle,
70
+ reset,
70
71
  labelTextWeight,
71
72
  dataTour,
72
73
  dividerFill,
@@ -78,9 +79,8 @@ function Tab(props) {
78
79
  dividerDirection,
79
80
  onClick,
80
81
  onMouseEnter,
82
+ badgeAppearance,
81
83
  badgeSize,
82
- badgeFill,
83
- badgeTextColor,
84
84
  badgeTextSize,
85
85
  badgeValue
86
86
  } = props;
@@ -139,33 +139,32 @@ function Tab(props) {
139
139
  styles: tab
140
140
  } = useStyles.useStyles(props);
141
141
  return /*#__PURE__*/React__default.default.createElement("div", {
142
- 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),
142
+ 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, reset && 'tab-reset', set && `tab_set_${set}`, justifyContentClass, onClick && 'cursor_type_pointer'),
143
+ "data-tour": dataTour,
143
144
  style: tab,
144
145
  onClick: onClick,
145
- onMouseEnter: onMouseEnter,
146
- "data-tour": dataTour
146
+ onMouseEnter: onMouseEnter
147
147
  }, /*#__PURE__*/React__default.default.createElement(index.Link, {
148
- href: link || href,
149
148
  className: clsx__default.default('tab__link', alignDirectionClass, alignClass),
150
149
  fill: linkFillClass,
151
- target: target,
152
- rel: rel
150
+ href: link || href,
151
+ rel: rel,
152
+ target: target
153
153
  }, /*#__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
154
  className: "tab__wrapper"
155
155
  }, label && /*#__PURE__*/React__default.default.createElement(index$1.Text, {
156
156
  className: "tab__label",
157
- textColorActive: isActive && (labelColorActive || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].labelColorActive.replace(/([A-Z])/g, '-$1').toLowerCase()),
158
- textColorGradient: labelTextGradient,
159
157
  size: labelTextSize,
160
- textWeight: labelTextWeight,
161
158
  textColor: labelColor || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].labelColor.replace(/([A-Z])/g, '-$1').toLowerCase(),
162
- textWrap: labelTextWrap,
159
+ textColorActive: isActive && (labelColorActive || tabConfig.appearance[appearance] && tabConfig.appearance[appearance].labelColorActive.replace(/([A-Z])/g, '-$1').toLowerCase()),
160
+ textColorGradient: labelTextGradient,
163
161
  textColorHover: labelTextColorHover,
164
- textStyle: labelTextStyle
162
+ textStyle: labelTextStyle,
163
+ textWeight: labelTextWeight,
164
+ textWrap: labelTextWrap
165
165
  }, dividerFillActive, " ", label), badgeValue && /*#__PURE__*/React__default.default.createElement(index$2.Badge, {
166
- fill: badgeFill,
166
+ appearance: badgeAppearance,
167
167
  size: badgeSize,
168
- textColor: badgeTextColor,
169
168
  textSize: badgeTextSize,
170
169
  value: badgeValue
171
170
  })), /*#__PURE__*/React__default.default.createElement(index$3.Divider, {
@@ -188,40 +187,40 @@ Tab.propTypes = {
188
187
  fillDesktop: PropTypes__default.default.oneOf(fill.default),
189
188
  fillMobile: PropTypes__default.default.oneOf(fill.default),
190
189
  fillTablet: PropTypes__default.default.oneOf(fill.default),
190
+ href: PropTypes__default.default.string,
191
+ isActive: PropTypes__default.default.bool,
192
+ label: PropTypes__default.default.string,
193
+ labelColor: PropTypes__default.default.oneOf(textColor.default),
194
+ labelColorActive: PropTypes__default.default.oneOf(textColorActive.default),
195
+ labelTextColorHover: PropTypes__default.default.oneOf(textColorHover.default),
196
+ labelTextGradient: PropTypes__default.default.oneOf(textGradient.default),
197
+ labelTextSize: PropTypes__default.default.oneOf(size.default),
198
+ labelTextStyle: PropTypes__default.default.oneOf(textStyle.default),
199
+ labelTextWeight: PropTypes__default.default.oneOf(textWeight.default),
200
+ labelTextWrap: PropTypes__default.default.string,
201
+ link: PropTypes__default.default.string,
202
+ LinkComponent: PropTypes__default.default.any,
191
203
  linkFill: PropTypes__default.default.oneOf(fill.default),
192
204
  linkFillDesktop: PropTypes__default.default.oneOf(fill.default),
193
205
  linkFillMobile: PropTypes__default.default.oneOf(fill.default),
194
206
  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
207
  rel: PropTypes__default.default.string,
208
208
  shape: PropTypes__default.default.oneOf(shape.default),
209
209
  shapeDesktop: PropTypes__default.default.oneOf(shape.default),
210
210
  shapeMobile: PropTypes__default.default.oneOf(shape.default),
211
211
  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),
212
+ size: PropTypes__default.default.oneOf(size.default),
213
+ sizeDesktop: PropTypes__default.default.oneOf(size.default),
214
+ sizeMobile: PropTypes__default.default.oneOf(size.default),
215
+ sizeTablet: PropTypes__default.default.oneOf(size.default),
216
+ target: PropTypes__default.default.string,
220
217
  type: PropTypes__default.default.oneOf(type.default),
221
218
  typeDesktop: PropTypes__default.default.oneOf(type.default),
222
219
  typeMobile: PropTypes__default.default.oneOf(type.default),
223
220
  typeTablet: PropTypes__default.default.oneOf(type.default),
224
- underline: PropTypes__default.default.oneOf(underline.default)
221
+ underline: PropTypes__default.default.oneOf(underline.default),
222
+ onClick: PropTypes__default.default.func,
223
+ onMouseEnter: PropTypes__default.default.func
225
224
  };
226
225
  Tab.defaultProps = {
227
226
  size: 'normal',
@@ -328,71 +327,64 @@ Tab.__docgenInfo = {
328
327
  },
329
328
  "required": false
330
329
  },
331
- "linkFill": {
330
+ "href": {
332
331
  "description": "",
333
332
  "type": {
334
- "name": "enum",
335
- "computed": true,
336
- "value": "fillProps"
333
+ "name": "string"
337
334
  },
338
335
  "required": false
339
336
  },
340
- "linkFillDesktop": {
337
+ "isActive": {
341
338
  "description": "",
342
339
  "type": {
343
- "name": "enum",
344
- "computed": true,
345
- "value": "fillProps"
340
+ "name": "bool"
346
341
  },
347
342
  "required": false
348
343
  },
349
- "linkFillMobile": {
344
+ "label": {
350
345
  "description": "",
351
346
  "type": {
352
- "name": "enum",
353
- "computed": true,
354
- "value": "fillProps"
347
+ "name": "string"
355
348
  },
356
349
  "required": false
357
350
  },
358
- "linkFillTablet": {
351
+ "labelColor": {
359
352
  "description": "",
360
353
  "type": {
361
354
  "name": "enum",
362
355
  "computed": true,
363
- "value": "fillProps"
364
- },
365
- "required": false
366
- },
367
- "isActive": {
368
- "description": "",
369
- "type": {
370
- "name": "bool"
356
+ "value": "textColorProps"
371
357
  },
372
358
  "required": false
373
359
  },
374
- "label": {
360
+ "labelColorActive": {
375
361
  "description": "",
376
362
  "type": {
377
- "name": "string"
363
+ "name": "enum",
364
+ "computed": true,
365
+ "value": "textColorActiveProps"
378
366
  },
379
367
  "required": false
380
368
  },
381
- "onClick": {
369
+ "labelTextColorHover": {
382
370
  "description": "",
383
371
  "type": {
384
- "name": "func"
372
+ "name": "enum",
373
+ "computed": true,
374
+ "value": "textColorHoverProps"
385
375
  },
386
376
  "required": false
387
377
  },
388
- "onMouseEnter": {
378
+ "labelTextGradient": {
389
379
  "description": "",
390
380
  "type": {
391
- "name": "func"
381
+ "name": "enum",
382
+ "computed": true,
383
+ "value": "textGradientProps"
392
384
  },
393
385
  "required": false
394
386
  },
395
- "sizeDesktop": {
387
+ "labelTextSize": {
396
388
  "description": "",
397
389
  "type": {
398
390
  "name": "enum",
@@ -401,25 +393,25 @@ Tab.__docgenInfo = {
401
393
  },
402
394
  "required": false
403
395
  },
404
- "sizeMobile": {
396
+ "labelTextStyle": {
405
397
  "description": "",
406
398
  "type": {
407
399
  "name": "enum",
408
400
  "computed": true,
409
- "value": "sizeProps"
401
+ "value": "textStyleProps"
410
402
  },
411
403
  "required": false
412
404
  },
413
- "sizeTablet": {
405
+ "labelTextWeight": {
414
406
  "description": "",
415
407
  "type": {
416
408
  "name": "enum",
417
409
  "computed": true,
418
- "value": "sizeProps"
410
+ "value": "textWeightProps"
419
411
  },
420
412
  "required": false
421
413
  },
422
- "href": {
414
+ "labelTextWrap": {
423
415
  "description": "",
424
416
  "type": {
425
417
  "name": "string"
@@ -433,48 +425,50 @@ Tab.__docgenInfo = {
433
425
  },
434
426
  "required": false
435
427
  },
436
- "target": {
428
+ "linkFill": {
437
429
  "description": "",
438
430
  "type": {
439
- "name": "string"
431
+ "name": "enum",
432
+ "computed": true,
433
+ "value": "fillProps"
440
434
  },
441
435
  "required": false
442
436
  },
443
- "rel": {
437
+ "linkFillDesktop": {
444
438
  "description": "",
445
439
  "type": {
446
- "name": "string"
440
+ "name": "enum",
441
+ "computed": true,
442
+ "value": "fillProps"
447
443
  },
448
444
  "required": false
449
445
  },
450
- "shape": {
446
+ "linkFillMobile": {
451
447
  "description": "",
452
448
  "type": {
453
449
  "name": "enum",
454
450
  "computed": true,
455
- "value": "shapeProps"
451
+ "value": "fillProps"
456
452
  },
457
453
  "required": false
458
454
  },
459
- "shapeDesktop": {
455
+ "linkFillTablet": {
460
456
  "description": "",
461
457
  "type": {
462
458
  "name": "enum",
463
459
  "computed": true,
464
- "value": "shapeProps"
460
+ "value": "fillProps"
465
461
  },
466
462
  "required": false
467
463
  },
468
- "shapeMobile": {
464
+ "rel": {
469
465
  "description": "",
470
466
  "type": {
471
- "name": "enum",
472
- "computed": true,
473
- "value": "shapeProps"
467
+ "name": "string"
474
468
  },
475
469
  "required": false
476
470
  },
477
- "shapeTablet": {
471
+ "shape": {
478
472
  "description": "",
479
473
  "type": {
480
474
  "name": "enum",
@@ -483,43 +477,43 @@ Tab.__docgenInfo = {
483
477
  },
484
478
  "required": false
485
479
  },
486
- "labelColor": {
480
+ "shapeDesktop": {
487
481
  "description": "",
488
482
  "type": {
489
483
  "name": "enum",
490
484
  "computed": true,
491
- "value": "textColorProps"
485
+ "value": "shapeProps"
492
486
  },
493
487
  "required": false
494
488
  },
495
- "labelTextColorHover": {
489
+ "shapeMobile": {
496
490
  "description": "",
497
491
  "type": {
498
492
  "name": "enum",
499
493
  "computed": true,
500
- "value": "textColorHoverProps"
494
+ "value": "shapeProps"
501
495
  },
502
496
  "required": false
503
497
  },
504
- "labelColorActive": {
498
+ "shapeTablet": {
505
499
  "description": "",
506
500
  "type": {
507
501
  "name": "enum",
508
502
  "computed": true,
509
- "value": "textColorActiveProps"
503
+ "value": "shapeProps"
510
504
  },
511
505
  "required": false
512
506
  },
513
- "labelTextGradient": {
507
+ "sizeDesktop": {
514
508
  "description": "",
515
509
  "type": {
516
510
  "name": "enum",
517
511
  "computed": true,
518
- "value": "textGradientProps"
512
+ "value": "sizeProps"
519
513
  },
520
514
  "required": false
521
515
  },
522
- "labelTextSize": {
516
+ "sizeMobile": {
523
517
  "description": "",
524
518
  "type": {
525
519
  "name": "enum",
@@ -528,28 +522,19 @@ Tab.__docgenInfo = {
528
522
  },
529
523
  "required": false
530
524
  },
531
- "labelTextWrap": {
532
- "description": "",
533
- "type": {
534
- "name": "string"
535
- },
536
- "required": false
537
- },
538
- "labelTextStyle": {
525
+ "sizeTablet": {
539
526
  "description": "",
540
527
  "type": {
541
528
  "name": "enum",
542
529
  "computed": true,
543
- "value": "textStyleProps"
530
+ "value": "sizeProps"
544
531
  },
545
532
  "required": false
546
533
  },
547
- "labelTextWeight": {
534
+ "target": {
548
535
  "description": "",
549
536
  "type": {
550
- "name": "enum",
551
- "computed": true,
552
- "value": "textWeightProps"
537
+ "name": "string"
553
538
  },
554
539
  "required": false
555
540
  },
@@ -597,6 +582,20 @@ Tab.__docgenInfo = {
597
582
  "value": "underlineProps"
598
583
  },
599
584
  "required": false
585
+ },
586
+ "onClick": {
587
+ "description": "",
588
+ "type": {
589
+ "name": "func"
590
+ },
591
+ "required": false
592
+ },
593
+ "onMouseEnter": {
594
+ "description": "",
595
+ "type": {
596
+ "name": "func"
597
+ },
598
+ "required": false
600
599
  }
601
600
  }
602
601
  };
@@ -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 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'];
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 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'];
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;
@@ -30,14 +30,15 @@
30
30
  }
31
31
  }
32
32
  .accordion-item {
33
+ min-width: 170px;
34
+ padding: 10px 12px;
33
35
  display: flex;
34
36
  flex-flow: row wrap;
37
+ gap: 8px;
35
38
  &__title {
36
39
  flex: 1;
37
- cursor: pointer;
38
40
  }
39
41
  &__icon {
40
- margin: 0 0 0 40px;
41
42
  align-self: center;
42
43
  transform-origin: 50% 50%;
43
44
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
@@ -49,7 +50,7 @@
49
50
  .accordion-item {
50
51
  &_shape {
51
52
  &_rounded {
52
- border-radius: 12px;
53
+ border-radius: var(--accordion-item-shape-rounded, 12px);
53
54
  }
54
55
  &_circular {
55
56
  border-radius: 50%;
@@ -51,7 +51,7 @@
51
51
  &_rounded {
52
52
  ^^&__image,
53
53
  ^^&__wrapper {
54
- border-radius: 10px;
54
+ border-radius: var(--avatar-shape-rounded, 10px);
55
55
  }
56
56
  }
57
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
  }
@@ -1,14 +1,13 @@
1
1
  .button {
2
2
  text-decoration: none;
3
3
  background: none;
4
+ padding: 0;
5
+ margin: 0;
4
6
  border: solid 0 #fff;
5
7
  position: relative;
6
8
  display: flex;
7
9
  justify-content: center;
8
10
  align-items: center;
9
- cursor: pointer;
10
- padding: 0;
11
- margin: 0;
12
11
  transition: var(--button-transition);
13
12
  &__loader {
14
13
  width: 100%;
@@ -34,7 +33,7 @@
34
33
  .button {
35
34
  &_shape {
36
35
  &_rounded {
37
- border-radius: var(--button-shape-rounded-default);
36
+ border-radius: var(--button-shape-rounded-default, 6px);
38
37
  @each $size in xs, s, m, l, xl, xxl {
39
38
  &.button_size_$(size) {
40
39
  border-radius: var(--button-size-$(size)-shape-rounded);
@@ -329,43 +328,33 @@
329
328
  }
330
329
  }
331
330
  :root {
332
- --button-shape-rounded-default: 6px;
333
331
  --button-transition: all 0.2s ease 0s;
334
-
335
332
  --button-size-xxs-padding: 4px 12px;
336
333
  --button-size-xxs-icon-padding: 0px;
337
334
  --button-size-xxs-gap: 6px;
338
335
  --button-size-xxs-shape-rounded: 6px;
339
-
340
336
  --button-size-xs-padding: 2px 8px;
341
337
  --button-size-xs-icon-padding: 0px;
342
338
  --button-size-xs-gap: 6px;
343
339
  --button-size-xs-shape-rounded: 6px;
344
-
345
340
  --button-size-s-padding: 4px 16px;
346
341
  --button-size-s-icon-padding: 0px;
347
342
  --button-size-s-gap: 6px;
348
343
  --button-size-s-shape-rounded: 6px;
349
-
350
344
  --button-size-m-padding: 8px 24px;
351
345
  --button-size-m-icon-padding: 10px;
352
346
  --button-size-m-gap: 6px;
353
347
  --button-size-m-shape-rounded: 6px;
354
-
355
348
  --button-size-l-padding: 12px 32px;
356
349
  --button-size-l-icon-padding: 0px;
357
350
  --button-size-l-gap: 6px;
358
351
  --button-size-l-shape-rounded: 6px;
359
-
360
352
  --button-size-xl-padding: 16px 32px;
361
353
  --button-size-xl-icon-padding: 0px;
362
354
  --button-size-xl-gap: 6px;
363
355
  --button-size-xl-shape-rounded: 6px;
364
-
365
356
  --button-size-xxl-padding: 24px 40px;
366
357
  --button-size-xxl-icon-padding: 0px;
367
358
  --button-size-xxl-gap: 6px;
368
359
  --button-size-xxl-shape-rounded: 6px;
369
360
  }
370
-
371
-
@@ -2,36 +2,26 @@
2
2
  &__wrapper {
3
3
  ^&__data {
4
4
  display: flex;
5
- flex-flow: column nowrap;
6
- flex: 1;
5
+ flex-flow: row nowrap;
6
+ align-items: center;
7
+ gap: 8px;
7
8
  }
8
9
  ^&__icon {
9
- padding: 8px 0 0 0;
10
- display: flex;
11
- gap: 16px;
12
- &-before {
13
- display: flex;
14
- padding: 0 16px 0 0;
15
- align-items: center;
16
- }
17
- &-after {
18
- display: flex;
19
- padding: 0 0 0 16px;
20
- align-items: center;
21
- }
22
10
  }
23
11
  }
24
12
  }
25
13
  .cell {
26
- &_direction {
27
- &_vertical {
28
- ^^&__data {
14
+ &__wrapper {
15
+ &_direction {
16
+ &_vertical {
17
+ display: flex;
18
+ flex-direction: column;
29
19
  }
30
- }
31
- &_horizontal {
32
- ^^&__data {
33
- flex-flow: row;
20
+ &_horizontal {
21
+ display: flex;
22
+ flex-direction: row;
34
23
  justify-content: space-between;
24
+ gap: 20px;
35
25
  }
36
26
  }
37
27
  }
@@ -46,7 +46,7 @@
46
46
  .chips {
47
47
  &_shape {
48
48
  &_rounded {
49
- border-radius: var(--chips-shape-rounded-default);
49
+ border-radius: var(--chips-shape-rounded-default, 6px);
50
50
  @each $size in xxs, xs, s, m, l, xl, xxl {
51
51
  &.chips_size_$(size) {
52
52
  border-radius: var(--chips-size-$(size)-shape-rounded);
@@ -60,7 +60,6 @@
60
60
  }
61
61
 
62
62
  :root {
63
- --chips-shape-rounded-default: 6px;
64
63
  --chips-size-xxs-shape-rounded: 6px;
65
64
  --chips-size-xs-shape-rounded: 6px;
66
65
  --chips-size-s-shape-rounded: 6px;