@itcase/ui 1.1.13 → 1.1.15

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 (167) hide show
  1. package/dist/{Accordion-vh2p5Mzs.js → Accordion-DyOfdiGd.js} +1 -1
  2. package/dist/{Avatar-DhZxzLEY.js → Avatar-DLNS2LBo.js} +1 -1
  3. package/dist/{Badge-D-4zpdfU.js → Badge-BBbMdbjo.js} +8 -2
  4. package/dist/{Breadcrumbs-CciIq1Na.js → Breadcrumbs-Dz-WcAoT.js} +2 -2
  5. package/dist/{Button-BXClqM-t.js → Button-ULZVVxWC.js} +2 -2
  6. package/dist/{Cell-BfV_aVxs.js → Cell-DftU408q.js} +2 -2
  7. package/dist/{Choice-BJd9Jx4D.js → Choice-BT6xwc_a.js} +8 -6
  8. package/dist/{ContextMenuItem-CpZ3pjky.js → ContextMenuItem--304_MdY.js} +1 -1
  9. package/dist/{CookiesWarning-jN2hWm12.js → CookiesWarning-CDlz4Rfl.js} +4 -4
  10. package/dist/{DatePicker-Nm4Ut2tD.js → DatePicker-CUmrPZZ-.js} +9091 -9080
  11. package/dist/{DropdownItem-BaQXZu0w.js → DropdownItem-Cf5vBgDu.js} +1 -1
  12. package/dist/{GridRow-DUnumam2.js → GridRow-CvYQDJ2W.js} +1 -1
  13. package/dist/{Icon-Duj1nynQ.js → Icon-DWnG-4KG.js} +2 -2
  14. package/dist/{InputPassword-CTbtTP_o.js → InputPassword-BOdsE_Yd.js} +1 -1
  15. package/dist/{Label-D9cQMuy3.js → Label-VHbRKztj.js} +1 -1
  16. package/dist/{LanguageSelector-TZEgbNsG.js → LanguageSelector-CzIV_gnd.js} +1 -1
  17. package/dist/{Link-CbCqej5B.js → Link-Co6uspFK.js} +9 -1
  18. package/dist/{ListItem-Dgx1_Igi.js → ListItem-DMS6_Rtr.js} +1 -1
  19. package/dist/{Logo-DsOEX4uk.js → Logo-D6UNcO5P.js} +1 -1
  20. package/dist/{Menu-Kpe1GMns.js → Menu-Cd-XlUmJ.js} +1 -1
  21. package/dist/{MenuItem-C5BPgTO7.js → MenuItem-COZ-C9K2.js} +1 -1
  22. package/dist/{NotificationList-CJ-hNA9W.js → NotificationList-C2OCJkY5.js} +3 -3
  23. package/dist/{Pagination-LXBlrbZT.js → Pagination-QfVqvSbE.js} +2 -2
  24. package/dist/{Response-Nzg8ooT8.js → Response-DzfL5Sy8.js} +2 -2
  25. package/dist/{SearchResult-B6Jd1xZO.js → SearchResult-DbhHiNmy.js} +1 -1
  26. package/dist/{SiteMenuButton-CcCAsJtr.js → SiteMenuButton-BwyPO-2_.js} +1 -1
  27. package/dist/{Swiper-JdwU0uca.js → Swiper-CL9zCKXE.js} +4 -4
  28. package/dist/{SwitchField-B8JbD2Se.js → SwitchField-nmu255b8.js} +1 -1
  29. package/dist/{TabGroup-DieipbE3.js → TabGroup-CK6ndAuh.js} +2 -2
  30. package/dist/{Tile-rSmWn8mR.js → Tile-qiXVUf-t.js} +3 -3
  31. package/dist/{Title-BUN57fWw.js → Title-BhJcCgdK.js} +20 -4
  32. package/dist/{Tooltip-CcwyN7PD.js → Tooltip-CpEQOh9v.js} +1 -1
  33. package/dist/cjs/{Accordion-BPSF6By2.js → Accordion-UbOVpiO4.js} +1 -1
  34. package/dist/cjs/{Avatar-qFiPDVgu.js → Avatar-Bj5BiStx.js} +1 -1
  35. package/dist/cjs/{Badge-zYZKun4n.js → Badge-D7W3B9G5.js} +8 -2
  36. package/dist/cjs/{Breadcrumbs-BIhuwcTG.js → Breadcrumbs-xj-c6cUH.js} +2 -2
  37. package/dist/cjs/{Button-C4_FRFZe.js → Button-DfUQ11Hs.js} +2 -2
  38. package/dist/cjs/{Cell-zxHVzKan.js → Cell-BhsGTfV-.js} +2 -2
  39. package/dist/cjs/{Choice-CPPQ2o2L.js → Choice-Cm_1ke3H.js} +8 -6
  40. package/dist/cjs/{ContextMenuItem-BME-EZ-y.js → ContextMenuItem-D6dUiYw7.js} +1 -1
  41. package/dist/cjs/{CookiesWarning-CfEwpkS8.js → CookiesWarning-BfkNifW2.js} +4 -4
  42. package/dist/cjs/{DatePicker-BiCqQFyi.js → DatePicker-DOmOhaU3.js} +9090 -9079
  43. package/dist/cjs/{DropdownItem-bjpmcFH1.js → DropdownItem-BhpFr7Z0.js} +1 -1
  44. package/dist/cjs/{Icon-DzJtiBBk.js → Icon-2rv_L0yY.js} +2 -2
  45. package/dist/cjs/{InputPassword-DHgR_QTK.js → InputPassword-BXCwerW2.js} +1 -1
  46. package/dist/cjs/{Label-BcwjtIk7.js → Label-EFoxH21m.js} +1 -1
  47. package/dist/cjs/{LanguageSelector-C3i2JJCM.js → LanguageSelector-CFKki1Sr.js} +1 -1
  48. package/dist/cjs/{Link-3qPujNn9.js → Link-B6Xq7PWn.js} +9 -1
  49. package/dist/cjs/{ListItem-CvMoKXM-.js → ListItem-C3tWa-2I.js} +1 -1
  50. package/dist/cjs/{Logo-YADZn1N4.js → Logo-De74wmbt.js} +1 -1
  51. package/dist/cjs/{Menu-CDlB7QNf.js → Menu-rXCCn52A.js} +1 -1
  52. package/dist/cjs/{MenuItem-4uVtNhb4.js → MenuItem-C__OMtEI.js} +1 -1
  53. package/dist/cjs/{NotificationList-BTvz_kvZ.js → NotificationList-CKd0PxLU.js} +3 -3
  54. package/dist/cjs/{Pagination-B0-KGWSv.js → Pagination-D6thfJMP.js} +2 -2
  55. package/dist/cjs/{Response-XesiDp89.js → Response-DOQQr9jP.js} +2 -2
  56. package/dist/cjs/{SearchResult-D147g0-n.js → SearchResult-BnIZD8lL.js} +1 -1
  57. package/dist/cjs/{SiteMenuButton-ChUD4CgP.js → SiteMenuButton-B2wBLVOJ.js} +1 -1
  58. package/dist/cjs/{Swiper-DHjkfpbP.js → Swiper-DrXdHybn.js} +4 -4
  59. package/dist/cjs/{SwitchField-CdpEiqFv.js → SwitchField-B0N-28Ne.js} +1 -1
  60. package/dist/cjs/{TabGroup-Vn5oELiY.js → TabGroup-BCw7IKuz.js} +2 -2
  61. package/dist/cjs/{Tile-j8EfyWDg.js → Tile-2VY0LzsE.js} +3 -3
  62. package/dist/cjs/{Title-C3lN-EvU.js → Title-DZn77tSl.js} +20 -4
  63. package/dist/cjs/{Tooltip-CnnungCh.js → Tooltip-DRsL77n1.js} +1 -1
  64. package/dist/cjs/components/Accordion.js +5 -5
  65. package/dist/cjs/components/Avatar.js +5 -5
  66. package/dist/cjs/components/Badge/Badge.interface.d.ts +2 -1
  67. package/dist/cjs/components/Badge.js +1 -1
  68. package/dist/cjs/components/Breadcrumbs.js +5 -5
  69. package/dist/cjs/components/Button.js +5 -5
  70. package/dist/cjs/components/Cell/Cell.interface.d.ts +4 -3
  71. package/dist/cjs/components/Cell.js +6 -6
  72. package/dist/cjs/components/Choice/Choice.interface.d.ts +1 -1
  73. package/dist/cjs/components/Choice.js +5 -5
  74. package/dist/cjs/components/ContextMenu.js +5 -5
  75. package/dist/cjs/components/CookiesWarning.js +6 -6
  76. package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +8 -4
  77. package/dist/cjs/components/DatePicker.js +9 -9
  78. package/dist/cjs/components/Dropdown.js +2 -2
  79. package/dist/cjs/components/FormField.js +7 -7
  80. package/dist/cjs/components/Icon.js +4 -4
  81. package/dist/cjs/components/InputPassword.js +5 -5
  82. package/dist/cjs/components/Label.js +3 -3
  83. package/dist/cjs/components/LanguageSelector.js +5 -5
  84. package/dist/cjs/components/Link/Link.interface.d.ts +2 -0
  85. package/dist/cjs/components/Link.js +1 -1
  86. package/dist/cjs/components/List.js +2 -2
  87. package/dist/cjs/components/Logo/Logo.interface.d.ts +1 -0
  88. package/dist/cjs/components/Logo.js +2 -2
  89. package/dist/cjs/components/Menu.js +3 -3
  90. package/dist/cjs/components/MenuItem.js +2 -2
  91. package/dist/cjs/components/Notification.js +2 -2
  92. package/dist/cjs/components/Pagination.js +6 -6
  93. package/dist/cjs/components/Response.js +6 -6
  94. package/dist/cjs/components/Search.js +5 -5
  95. package/dist/cjs/components/Select.js +19 -13
  96. package/dist/cjs/components/SiteMenu.js +5 -5
  97. package/dist/cjs/components/Swiper.js +2 -2
  98. package/dist/cjs/components/Tab.js +3 -3
  99. package/dist/cjs/components/Tile.js +3 -3
  100. package/dist/cjs/components/Title/Title.interface.d.ts +9 -1
  101. package/dist/cjs/components/Title.js +1 -1
  102. package/dist/cjs/components/Tooltip.js +2 -2
  103. package/dist/cjs/components.js +32 -32
  104. package/dist/cjs/context/Notifications.js +3 -3
  105. package/dist/cjs/{floating-ui.dom-CW7i9VDu.js → floating-ui.dom-D1St6qnn.js} +29 -17
  106. package/dist/cjs/types/componentProps/svgFill.d.ts +1 -0
  107. package/dist/cjs/types/componentProps/textColor.d.ts +1 -1
  108. package/dist/cjs/types/componentProps/textColorActive.d.ts +1 -1
  109. package/dist/cjs/types/componentProps/textColorHover.d.ts +1 -1
  110. package/dist/cjs/types/index.d.ts +1 -0
  111. package/dist/components/Accordion.js +5 -5
  112. package/dist/components/Avatar.js +5 -5
  113. package/dist/components/Badge/Badge.interface.d.ts +2 -1
  114. package/dist/components/Badge.js +1 -1
  115. package/dist/components/Breadcrumbs.js +5 -5
  116. package/dist/components/Button.js +5 -5
  117. package/dist/components/Cell/Cell.interface.d.ts +4 -3
  118. package/dist/components/Cell.js +6 -6
  119. package/dist/components/Choice/Choice.interface.d.ts +1 -1
  120. package/dist/components/Choice.js +5 -5
  121. package/dist/components/ContextMenu.js +5 -5
  122. package/dist/components/CookiesWarning.js +6 -6
  123. package/dist/components/DatePicker/DatePicker.interface.d.ts +8 -4
  124. package/dist/components/DatePicker.js +9 -9
  125. package/dist/components/Dropdown.js +2 -2
  126. package/dist/components/FormField.js +7 -7
  127. package/dist/components/Grid.js +1 -1
  128. package/dist/components/Icon.js +4 -4
  129. package/dist/components/InputPassword.js +5 -5
  130. package/dist/components/Label.js +3 -3
  131. package/dist/components/LanguageSelector.js +5 -5
  132. package/dist/components/Link/Link.interface.d.ts +2 -0
  133. package/dist/components/Link.js +1 -1
  134. package/dist/components/List.js +2 -2
  135. package/dist/components/Logo/Logo.interface.d.ts +1 -0
  136. package/dist/components/Logo.js +2 -2
  137. package/dist/components/Menu.js +3 -3
  138. package/dist/components/MenuItem.js +2 -2
  139. package/dist/components/Notification.js +2 -2
  140. package/dist/components/Pagination.js +6 -6
  141. package/dist/components/Response.js +6 -6
  142. package/dist/components/Search.js +5 -5
  143. package/dist/components/Select.js +19 -13
  144. package/dist/components/SiteMenu.js +5 -5
  145. package/dist/components/Swiper.js +2 -2
  146. package/dist/components/Tab.js +3 -3
  147. package/dist/components/Tile.js +3 -3
  148. package/dist/components/Title/Title.interface.d.ts +9 -1
  149. package/dist/components/Title.js +1 -1
  150. package/dist/components/Tooltip.js +2 -2
  151. package/dist/components.js +33 -33
  152. package/dist/context/Notifications.js +3 -3
  153. package/dist/css/components/DatePicker/DatePicker.css +4 -0
  154. package/dist/css/components/Logo/Logo.css +1 -1
  155. package/dist/css/components/Swiper/Swiper.css +2 -2
  156. package/dist/css/components/Title/Title.css +19 -3
  157. package/dist/css/styles/svg-color/svg_fill.css +24 -0
  158. package/dist/css/styles/svg-color/svg_fill_hover.css +18 -0
  159. package/dist/css/styles/text-color/text-color.css +1 -1
  160. package/dist/css/styles/text-color/text-color_active.css +1 -1
  161. package/dist/{floating-ui.dom-B080ZrCv.js → floating-ui.dom-_PBQLJcF.js} +29 -17
  162. package/dist/types/componentProps/svgFill.d.ts +1 -0
  163. package/dist/types/componentProps/textColor.d.ts +1 -1
  164. package/dist/types/componentProps/textColorActive.d.ts +1 -1
  165. package/dist/types/componentProps/textColorHover.d.ts +1 -1
  166. package/dist/types/index.d.ts +1 -0
  167. package/package.json +36 -33
@@ -4,15 +4,15 @@ import PropTypes from 'prop-types';
4
4
  import { v4 } from 'uuid';
5
5
 
6
6
  const STATUSES = {
7
- success: 'success',
8
- info: 'info',
9
7
  error: 'error',
8
+ info: 'info',
9
+ success: 'success',
10
10
  warning: 'warning'
11
11
  };
12
12
  const NotificationsContext = /*#__PURE__*/createContext([]);
13
13
  const NotificationsAPIContext = /*#__PURE__*/createContext({
14
- showNotification: () => {},
15
14
  hideNotifications: () => {},
15
+ showNotification: () => {},
16
16
  notificationStatuses: STATUSES
17
17
  });
18
18
  function NotificationsProvider(props) {
@@ -87,6 +87,10 @@
87
87
  font-weight: bold;
88
88
  font-size: 0.944rem;
89
89
  }
90
+ h2.react-datepicker__current-month {
91
+ padding: 0;
92
+ margin: 0;
93
+ }
90
94
  .react-datepicker-time__header {
91
95
  text-overflow: ellipsis;
92
96
  white-space: nowrap;
@@ -43,7 +43,7 @@
43
43
  }
44
44
  .logo {
45
45
  &_size {
46
- @each $size in s, m, l {
46
+ @each $size in xs, s, m, l, xl {
47
47
  &_$(size) {
48
48
  ^^&__image {
49
49
  width: var(--logo-size-$(size)-width);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Swiper 11.1.4
2
+ * Swiper 11.1.5
3
3
  * Most modern mobile touch slider and framework with hardware accelerated transitions
4
4
  * https://swiperjs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: May 30, 2024
10
+ * Released on: July 15, 2024
11
11
  */
12
12
 
13
13
  /* FONT_START */
@@ -1,6 +1,10 @@
1
- .title {}
2
- .title.title {
3
- &_mode {
1
+ .title {
2
+ &__wrapper {
3
+ display: inline-block;
4
+ }
5
+ }
6
+ .title {
7
+ &&_mode {
4
8
  &_skeleton {
5
9
  color: transparent;
6
10
  background-image: linear-gradient(
@@ -41,3 +45,15 @@
41
45
  }
42
46
  }
43
47
  }
48
+ .title_direction {
49
+ &_horizontal {
50
+ display: flex;
51
+ flex-direction: row;
52
+ align-items: flex-start;
53
+ }
54
+ &_vertical {
55
+ display: flex;
56
+ flex-direction: column;
57
+ align-items: flex-start;
58
+ }
59
+ }
@@ -0,0 +1,24 @@
1
+ .svg_fill {
2
+ @each $type in accent, primary, secondary, tertiary, surface, success, error {
3
+ &_$(type) {
4
+ &-item {
5
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover, invert {
6
+ &-$(color) {
7
+ & svg {
8
+ stroke: none;
9
+ fill: var(--color-$(type)-item-$(color));
10
+ }
11
+ }
12
+ }
13
+ }
14
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover, invert {
15
+ &-$(color) {
16
+ & svg {
17
+ stroke: none;
18
+ fill: var(--color-$(type)-$(color));
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,18 @@
1
+ .svg_fill_hover {
2
+ @each $type in accent, primary, secondary, tertiary, surface, success, error {
3
+ &_$(type) {
4
+ &-item {
5
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
6
+ &-$(color) {
7
+ &:hover {
8
+ & svg {
9
+ stroke: none;
10
+ fill: var(--color-$(type)-item-$(color));
11
+ }
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
@@ -2,7 +2,7 @@
2
2
  @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface, success, error, info, warning {
3
3
  &_$(type) {
4
4
  &-text {
5
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover, invert {
5
+ @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover, invert, inverse {
6
6
  &-$(color) {
7
7
  color: var(--color-$(type)-text-$(color));
8
8
  }
@@ -5,7 +5,7 @@
5
5
  &_$(type) {
6
6
  &-text {
7
7
  @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent,
8
- disabled, hover, invert {
8
+ disabled, hover, invert, inverse {
9
9
  &-$(color) {
10
10
  color: var(--color-$(type)-text-$(color));
11
11
  }
@@ -43,6 +43,15 @@ function isOverflowElement(element) {
43
43
  function isTableElement(element) {
44
44
  return ['table', 'td', 'th'].includes(getNodeName(element));
45
45
  }
46
+ function isTopLayer(element) {
47
+ return [':popover-open', ':modal'].some(selector => {
48
+ try {
49
+ return element.matches(selector);
50
+ } catch (e) {
51
+ return false;
52
+ }
53
+ });
54
+ }
46
55
  function isContainingBlock(element) {
47
56
  const webkit = isWebKit();
48
57
  const css = getComputedStyle(element);
@@ -53,6 +62,9 @@ function isContainingBlock(element) {
53
62
  function getContainingBlock(element) {
54
63
  let currentNode = getParentNode(element);
55
64
  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
65
+ if (isTopLayer(currentNode)) {
66
+ return null;
67
+ }
56
68
  if (isContainingBlock(currentNode)) {
57
69
  return currentNode;
58
70
  }
@@ -78,8 +90,8 @@ function getNodeScroll(element) {
78
90
  };
79
91
  }
80
92
  return {
81
- scrollLeft: element.pageXOffset,
82
- scrollTop: element.pageYOffset
93
+ scrollLeft: element.scrollX,
94
+ scrollTop: element.scrollY
83
95
  };
84
96
  }
85
97
  function getParentNode(node) {
@@ -593,10 +605,12 @@ const flip$1 = function (options) {
593
605
  return {};
594
606
  }
595
607
  const side = getSide(placement);
608
+ const initialSideAxis = getSideAxis(initialPlacement);
596
609
  const isBasePlacement = getSide(initialPlacement) === initialPlacement;
597
610
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
598
611
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
599
- if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
612
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
613
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
600
614
  fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
601
615
  }
602
616
  const placements = [initialPlacement, ...fallbackPlacements];
@@ -642,8 +656,17 @@ const flip$1 = function (options) {
642
656
  switch (fallbackStrategy) {
643
657
  case 'bestFit':
644
658
  {
645
- var _overflowsData$map$so;
646
- const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
659
+ var _overflowsData$filter2;
660
+ const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
661
+ if (hasFallbackAxisSideDirection) {
662
+ const currentSideAxis = getSideAxis(d.placement);
663
+ return currentSideAxis === initialSideAxis ||
664
+ // Create a bias to the `y` side axis due to horizontal
665
+ // reading directions favoring greater width.
666
+ currentSideAxis === 'y';
667
+ }
668
+ return true;
669
+ }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
647
670
  if (placement) {
648
671
  resetPlacement = placement;
649
672
  }
@@ -879,17 +902,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
879
902
  });
880
903
  }
881
904
 
882
- const topLayerSelectors = [':popover-open', ':modal'];
883
- function isTopLayer(element) {
884
- return topLayerSelectors.some(selector => {
885
- try {
886
- return element.matches(selector);
887
- } catch (e) {
888
- return false;
889
- }
890
- });
891
- }
892
-
893
905
  function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
894
906
  let {
895
907
  elements,
@@ -1409,4 +1421,4 @@ const computePosition = (reference, floating, options) => {
1409
1421
  });
1410
1422
  };
1411
1423
 
1412
- export { autoUpdate as a, arrow as b, computePosition as c, flip as f, isElement as i, offset as o, platform as p };
1424
+ export { autoUpdate as a, arrow as b, computePosition as c, flip as f, getComputedStyle as g, isElement as i, offset as o };
@@ -0,0 +1 @@
1
+ export type svgFillPropsType = 'accentItemPrimary' | 'accentItemSecondary' | 'accentItemTertiary' | 'accentItemDisabled' | 'primaryItemPrimary' | 'primaryItemSecondary' | 'primaryItemTertiary' | 'primaryItemDisabled' | 'secondaryItemPrimary' | 'secondaryItemSecondary' | 'secondaryItemTertiary' | 'secondaryItemDisabled' | 'tertiaryItemPrimary' | 'tertiaryItemSecondary' | 'tertiaryItemTertiary' | 'surfaceItemPrimary' | 'surfaceItemSecondary' | 'surfaceItemTertiary' | 'surfaceItemQuaternary' | 'surfaceItemQuinary' | 'surfaceItemDisabled' | 'surfaceItemInvert' | 'surfaceItemAccent' | 'errorItemPrimary' | 'errorItemSecondary' | 'successItemPrimary' | 'successItemSecondary';
@@ -1 +1 @@
1
- export type textColorPropsType = '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';
1
+ export type textColorPropsType = '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' | 'surfaceTextInverse';
@@ -1 +1 @@
1
- export type textColorActivePropsType = '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';
1
+ export type textColorActivePropsType = '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' | 'surfaceTextInverse';
@@ -1 +1 @@
1
- export type textColorHoverPropsType = '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';
1
+ export type textColorHoverPropsType = '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' | 'surfaceTextInverse';
@@ -11,6 +11,7 @@ export type { elevationPropsType } from './componentProps/elevation';
11
11
  export type { emojiSizePropsType } from './componentProps/emojiSize';
12
12
  export type { fillGradientPropsType } from './componentProps/fillGradient';
13
13
  export type { fillHoverPropsType } from './componentProps/fillHover';
14
+ export type { svgFillPropsType } from './componentProps/svgFill';
14
15
  export type { fillPropsType } from './componentProps/fill';
15
16
  export type { fillTypePropsType } from './componentProps/fillType';
16
17
  export type { flexAlignPropsType } from './componentProps/flexAlign';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.1.13",
3
+ "version": "1.1.15",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -90,7 +90,7 @@
90
90
  "registry": "https://registry.npmjs.org/"
91
91
  },
92
92
  "dependencies": {
93
- "@itcase/common": "^1.2.1",
93
+ "@itcase/common": "^1.2.2",
94
94
  "clsx": "^2.1.1",
95
95
  "html5-boilerplate": "^9.0.1",
96
96
  "js-cookie": "^3.0.5",
@@ -101,7 +101,7 @@
101
101
  "react": "^18.3.1",
102
102
  "react-dadata": "^2.23.1",
103
103
  "react-date-range": "^2.0.1",
104
- "react-datepicker": "^6.9.0",
104
+ "react-datepicker": "^7.3.0",
105
105
  "react-dom": "^18.3.1",
106
106
  "react-indiana-drag-scroll": "^3.0.3-alpha",
107
107
  "react-inlinesvg": "^4.1.3",
@@ -111,30 +111,31 @@
111
111
  "react-responsive": "^10.0.0",
112
112
  "react-scrollbars-custom": "^4.1.1",
113
113
  "react-select": "^5.8.0",
114
- "swiper": "^11.1.3",
115
- "uuid": "^9.0.1"
114
+ "swiper": "^11.1.5",
115
+ "uuid": "^10.0.0"
116
116
  },
117
117
  "devDependencies": {
118
- "@babel/core": "^7.24.6",
119
- "@babel/eslint-parser": "^7.24.6",
120
- "@babel/eslint-plugin": "^7.24.6",
121
- "@babel/preset-env": "^7.24.6",
122
- "@babel/preset-react": "^7.24.6",
118
+ "@babel/core": "^7.24.9",
119
+ "@babel/eslint-parser": "^7.24.8",
120
+ "@babel/eslint-plugin": "^7.24.7",
121
+ "@babel/preset-env": "^7.24.8",
122
+ "@babel/preset-react": "^7.24.7",
123
123
  "@commitlint/cli": "^19.3.0",
124
124
  "@commitlint/config-conventional": "^19.2.2",
125
- "@eslint/compat": "^1.0.1",
125
+ "@eslint/compat": "^1.1.1",
126
126
  "@eslint/eslintrc": "^3.1.0",
127
- "@ianvs/prettier-plugin-sort-imports": "^4.2.1",
127
+ "@eslint/js": "^9.7.0",
128
+ "@ianvs/prettier-plugin-sort-imports": "^4.3.1",
128
129
  "@rollup/plugin-babel": "^6.0.4",
129
- "@rollup/plugin-commonjs": "^25.0.8",
130
+ "@rollup/plugin-commonjs": "^26.0.1",
130
131
  "@rollup/plugin-json": "^6.1.0",
131
132
  "@rollup/plugin-node-resolve": "^15.2.3",
132
133
  "@rollup/plugin-terser": "^0.4.4",
133
134
  "@semantic-release/changelog": "^6.0.3",
134
135
  "@semantic-release/git": "^10.0.1",
135
- "@semantic-release/release-notes-generator": "^13.0.0",
136
+ "@semantic-release/release-notes-generator": "14.0.1",
136
137
  "@types/js-cookie": "^3.0.6",
137
- "@types/lodash": "^4.17.4",
138
+ "@types/lodash": "^4.17.7",
138
139
  "@types/react": "^18",
139
140
  "@types/react-datepicker": "^6.2.0",
140
141
  "@types/react-dom": "^18.3.0",
@@ -142,20 +143,21 @@
142
143
  "babel-plugin-inline-react-svg": "^2.0.2",
143
144
  "babel-plugin-react-docgen": "^4.2.1",
144
145
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
145
- "eslint": "9.3.0",
146
- "eslint-config-prettier": "9.1.0",
147
- "eslint-config-standard": "17.1.0",
148
- "eslint-plugin-import": "2.29.1",
149
- "eslint-plugin-n": "17.7.0",
146
+ "conventional-changelog-conventionalcommits": "^8.0.0",
147
+ "eslint": "9.7.0",
148
+ "eslint-config-prettier": "^9.1.0",
149
+ "eslint-plugin-n": "17.9.0",
150
150
  "eslint-plugin-node": "11.1.0",
151
+ "eslint-plugin-perfectionist": "^2.11.0",
151
152
  "eslint-plugin-prettier": "5.1.3",
152
- "eslint-plugin-promise": "6.2.0",
153
- "eslint-plugin-react": "7.34.2",
153
+ "eslint-plugin-promise": "6.4.0",
154
+ "eslint-plugin-react": "^7.34.4",
154
155
  "eslint-plugin-react-hooks": "4.6.2",
156
+ "eslint-plugin-react-refresh": "^0.4.8",
155
157
  "husky": "^9.0.11",
156
- "lint-staged": "^15.2.5",
157
- "npm": "^10.8.0",
158
- "postcss": "^8.4.38",
158
+ "lint-staged": "^15.2.7",
159
+ "npm": "^10.8.2",
160
+ "postcss": "^8.4.39",
159
161
  "postcss-aspect-ratio-polyfill": "^2.0.0",
160
162
  "postcss-cli": "^11.0.0",
161
163
  "postcss-combine-duplicated-selectors": "^10.0.3",
@@ -173,23 +175,24 @@
173
175
  "postcss-nested-ancestors": "^3.0.0",
174
176
  "postcss-normalize": "^10.0.1",
175
177
  "postcss-prepend-imports": "^1.0.1",
176
- "postcss-preset-env": "^9.5.14",
178
+ "postcss-preset-env": "^9.6.0",
177
179
  "postcss-pxtorem": "^6.1.0",
178
180
  "postcss-responsive-type": "github:ITCase/postcss-responsive-type",
179
181
  "postcss-sort-media-queries": "^5.2.0",
180
- "prettier": "3.2.5",
181
- "rollup": "^4.18.0",
182
+ "prettier": "3.3.3",
183
+ "rollup": "^4.18.1",
182
184
  "rollup-plugin-copy": "^3.5.0",
183
185
  "rollup-plugin-dts": "^6.1.1",
184
186
  "rollup-plugin-peer-deps-external": "^2.2.4",
185
187
  "rollup-plugin-typescript2": "^0.36.0",
186
188
  "rollup-preserve-directives": "^1.1.1",
187
- "semantic-release": "^23.1.1",
188
- "stylelint": "^16.6.1",
189
- "stylelint-config-standard": "^36.0.0",
189
+ "semantic-release": "^24.0.0",
190
+ "stylelint": "^16.7.0",
191
+ "stylelint-config-standard": "^36.0.1",
190
192
  "stylelint-no-unsupported-browser-features": "^8.0.1",
191
193
  "stylelint-order": "^6.0.4",
192
- "tslib": "^2.6.2",
193
- "typescript": "^5.4.5"
194
+ "tslib": "^2.6.3",
195
+ "typescript": "^5.5.3",
196
+ "typescript-eslint": "^7.16.1"
194
197
  }
195
198
  }