profinansy-ui-lib 3.8.3 → 3.8.5

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 (77) hide show
  1. package/dist/components/uikit/Button/Button.styled.d.ts +4 -4
  2. package/dist/components/uikit/Dropdown/Dropdown.d.ts +1 -1
  3. package/dist/components/uikit/FieldRow/FieldRow.styled.d.ts +1 -1
  4. package/dist/components/uikit/FilterButton/components/Drop/Drop.d.ts +1 -1
  5. package/dist/components/uikit/Hint/Hint.d.ts +1 -1
  6. package/dist/components/uikit/Input/Input.styled.d.ts +5 -5
  7. package/dist/components/uikit/Popup/components/PopupDesktop.d.ts +1 -1
  8. package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
  9. package/dist/components/uikit/Typography/Typography.styled.d.ts +3 -3
  10. package/dist/profinansy-ui-lib.cjs.js +19 -19
  11. package/dist/profinansy-ui-lib.cjs.js.map +1 -1
  12. package/dist/profinansy-ui-lib.es.js +28 -28
  13. package/dist/profinansy-ui-lib.es.js.map +1 -1
  14. package/package.json +1 -1
  15. package/dist/Icons.stories.d.ts +0 -5
  16. package/dist/components/blocks/Comment/Comment.stories.d.ts +0 -7
  17. package/dist/components/blocks/CompanyInfo/CompanyInfo.stories.d.ts +0 -7
  18. package/dist/components/blocks/Cookies/Cookies.stories.d.ts +0 -7
  19. package/dist/components/blocks/Favourite/Favourite.stories.d.ts +0 -7
  20. package/dist/components/blocks/Like/Like.stories.d.ts +0 -7
  21. package/dist/components/blocks/Notification/Notification.stories.d.ts +0 -7
  22. package/dist/components/blocks/ShareList/ShareList.stories.d.ts +0 -7
  23. package/dist/components/blocks/Views/Views.stories.d.ts +0 -7
  24. package/dist/components/blocks/footer/Footer.stories.d.ts +0 -16
  25. package/dist/components/blocks/header/Header.stories.d.ts +0 -75
  26. package/dist/components/blocks/headerWelcome/HeaderWelcome.stories.d.ts +0 -7
  27. package/dist/components/blocks/sideMenu/SideMenu.stories.d.ts +0 -6
  28. package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.stories.d.ts +0 -12
  29. package/dist/components/modals/SuccessModal/SuccessModal.stories.d.ts +0 -6
  30. package/dist/components/uikit/Alert/Alert.stories.d.ts +0 -13
  31. package/dist/components/uikit/ArrowButton/ArrowButton.stories.d.ts +0 -7
  32. package/dist/components/uikit/Avatar/Avatar.stories.d.ts +0 -13
  33. package/dist/components/uikit/AvatarCompany/AvatarCompany.stories.d.ts +0 -7
  34. package/dist/components/uikit/Bubbles/Bubbles.stories.d.ts +0 -13
  35. package/dist/components/uikit/Button/Button.stories.d.ts +0 -14
  36. package/dist/components/uikit/ButtonPaging/ButtonPaging.stories.d.ts +0 -13
  37. package/dist/components/uikit/Card/Card.stories.d.ts +0 -8
  38. package/dist/components/uikit/Checkbox/Checkbox.stories.d.ts +0 -13
  39. package/dist/components/uikit/ControlButton/ControlButton.stories.d.ts +0 -8
  40. package/dist/components/uikit/Counter/Counter.stories.d.ts +0 -13
  41. package/dist/components/uikit/Datepicker/Datepicker.stories.d.ts +0 -7
  42. package/dist/components/uikit/Dropdown/Dropdown.stories.d.ts +0 -8
  43. package/dist/components/uikit/ErrorText/ErrorText.stories.d.ts +0 -7
  44. package/dist/components/uikit/FieldRow/FieldRow.stories.d.ts +0 -7
  45. package/dist/components/uikit/FilterButton/FilterButton.stories.d.ts +0 -14
  46. package/dist/components/uikit/HiddenText/HiddenText.stories.d.ts +0 -7
  47. package/dist/components/uikit/Hint/Hint.stories.d.ts +0 -7
  48. package/dist/components/uikit/Input/Input.stories.d.ts +0 -9
  49. package/dist/components/uikit/Loader/Loader.stories.d.ts +0 -7
  50. package/dist/components/uikit/Modal/Modal.stories.d.ts +0 -13
  51. package/dist/components/uikit/ModalMobile/ModalMobile.stories.d.ts +0 -6
  52. package/dist/components/uikit/PageTitle/PageTitle.stories.d.ts +0 -7
  53. package/dist/components/uikit/PasswordInput/PasswordInput.stories.d.ts +0 -6
  54. package/dist/components/uikit/Popup/Popup.stories.d.ts +0 -7
  55. package/dist/components/uikit/Portal/Portal.stories.d.ts +0 -7
  56. package/dist/components/uikit/Radio/Radio.stories.d.ts +0 -13
  57. package/dist/components/uikit/SegmentControl/SegmentControl.stories.d.ts +0 -13
  58. package/dist/components/uikit/Select/Select.stories.d.ts +0 -8
  59. package/dist/components/uikit/SideModal/SideModal.stories.d.ts +0 -13
  60. package/dist/components/uikit/Skeleton/Skeleton.stories.d.ts +0 -13
  61. package/dist/components/uikit/SortingButton/SortingButton.stories.d.ts +0 -14
  62. package/dist/components/uikit/Spinner/Spinner.stories.d.ts +0 -7
  63. package/dist/components/uikit/SwiperButton/SwiperButton.stories.d.ts +0 -13
  64. package/dist/components/uikit/Switch/Switched.stories.d.ts +0 -13
  65. package/dist/components/uikit/Table/Table.stories.d.ts +0 -13
  66. package/dist/components/uikit/Tabs/Tabs.stories.d.ts +0 -13
  67. package/dist/components/uikit/TextButton/TextButton.stories.d.ts +0 -7
  68. package/dist/components/uikit/TextButtonLink/TextButtonLink.stories.d.ts +0 -7
  69. package/dist/components/uikit/Textarea/Textarea.stories.d.ts +0 -8
  70. package/dist/components/uikit/Textarea/Text/320/260reaAutoSize.stories.d.ts +0 -7
  71. package/dist/components/uikit/Tooltip/Tooltip.stories.d.ts +0 -7
  72. package/dist/components/uikit/Typography/Typography.stories.d.ts +0 -14
  73. package/dist/components/uikit/WidgetTitle/WidgetTitle.stories.d.ts +0 -7
  74. package/dist/constants/animation/animations.stories.d.ts +0 -5
  75. package/dist/styles/Styled.stories.d.ts +0 -6
  76. package/dist/theme/Theme.stories.d.ts +0 -5
  77. package/dist/theme/shadows.stories.d.ts +0 -5
@@ -7146,7 +7146,7 @@ const m1 = (e) => {
7146
7146
  // 30 days
7147
7147
  ...n
7148
7148
  }, o = window.location.origin;
7149
- o.includes("localhost") ? r.domain = "localhost" : o.includes("profinansy.ae") ? r.domain = ".profinansy.ae" : r.domain = ".profinansy.ru", n.expires instanceof Date && (r.expires = n.expires.toUTCString());
7149
+ o.includes("localhost") ? r.domain = "localhost" : o.includes("profinansy.ae") ? r.domain = ".profinansy.ae" : o.includes("qa.profinansy.dev") ? r.domain = ".profinansy.dev" : r.domain = ".profinansy.ru", n.expires instanceof Date && (r.expires = n.expires.toUTCString());
7150
7150
  let i = encodeURIComponent(e) + "=" + encodeURIComponent(t);
7151
7151
  for (const a in r) {
7152
7152
  i += "; " + a;
@@ -7829,8 +7829,8 @@ const Bs = D.createContext(null), Ci = ({
7829
7829
  }
7830
7830
  }, yf = (e, t, n) => t && n ? e[t][n] : null, kf = g.p`
7831
7831
  display: inline-block;
7832
- color: ${(e) => yf(e.theme, e.colorCategory, e.colorName)};
7833
- ${({ variant: e }) => wf(e)};
7832
+ color: ${(e) => yf(e.theme, e.$colorCategory, e.$colorName)};
7833
+ ${({ $variant: e }) => wf(e)};
7834
7834
  `, N = st(
7835
7835
  ({
7836
7836
  tag: e = "p",
@@ -7850,11 +7850,11 @@ const Bs = D.createContext(null), Ci = ({
7850
7850
  {
7851
7851
  ref: p,
7852
7852
  as: f,
7853
- variant: r,
7854
7853
  className: t,
7855
7854
  title: o,
7856
- colorCategory: c,
7857
- colorName: h,
7855
+ $variant: r,
7856
+ $colorCategory: c,
7857
+ $colorName: h,
7858
7858
  onClick: a,
7859
7859
  style: d,
7860
7860
  children: n
@@ -9166,7 +9166,7 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9166
9166
  return /* @__PURE__ */ s.jsx(re, { theme: Q[t], children: n ? /* @__PURE__ */ s.jsx(Hh, { ...e }) : /* @__PURE__ */ s.jsx(Th, { ...e }) });
9167
9167
  }, Bh = g.div`
9168
9168
  width: 100%;
9169
- margin-bottom: ${(e) => e.marginBottom}px;
9169
+ margin-bottom: ${(e) => e.$marginBottom}px;
9170
9170
  `, Vh = g.label`
9171
9171
  font-weight: 500;
9172
9172
  font-size: 13px;
@@ -9200,7 +9200,7 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9200
9200
  return /* @__PURE__ */ s.jsx(re, { theme: Q[a], children: /* @__PURE__ */ s.jsxs(
9201
9201
  Bh,
9202
9202
  {
9203
- marginBottom: r,
9203
+ $marginBottom: r,
9204
9204
  className: Ve(i, "fieldRow-container"),
9205
9205
  children: [
9206
9206
  !!e && /* @__PURE__ */ s.jsxs(Vh, { onClick: (l) => l.preventDefault(), children: [
@@ -9464,19 +9464,19 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9464
9464
  justify-content: center;
9465
9465
  box-sizing: border-box;
9466
9466
  cursor: pointer;
9467
- ${({ size: e, $form: t, $mode: n }) => Wh(n, t)[e]}
9468
- width: ${(e) => e.width || "auto"};
9467
+ ${({ $size: e, $form: t, $mode: n }) => Wh(n, t)[e]}
9468
+ width: ${(e) => e.$width || "auto"};
9469
9469
  color: ${(e) => bt(e.theme)[e.$mode].default.color};
9470
9470
  border: ${(e) => bt(e.theme)[e.$mode].default.border || "none"};
9471
9471
  background: ${(e) => bt(e.theme)[e.$mode].default.background};
9472
- padding-left: ${(e) => `${O5(e.$mode, e.size, e.isText)}px`};
9473
- padding-right: ${(e) => `${O5(e.$mode, e.size, e.isText)}px`};
9472
+ padding-left: ${(e) => `${O5(e.$mode, e.$size, e.$isText)}px`};
9473
+ padding-right: ${(e) => `${O5(e.$mode, e.$size, e.$isText)}px`};
9474
9474
  transition: all 0.3s ${O.animation_1};
9475
9475
  & > span {
9476
9476
  white-space: nowrap;
9477
9477
  }
9478
9478
  & path {
9479
- ${(e) => e.isFill ? z`
9479
+ ${(e) => e.$isFill ? z`
9480
9480
  fill: ${bt(e.theme)[e.$mode].default.color};
9481
9481
  ` : z``}
9482
9482
  }
@@ -9485,7 +9485,7 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9485
9485
  border: ${(e) => bt(e.theme)[e.$mode].hover.border || "none"};
9486
9486
  color: ${(e) => bt(e.theme)[e.$mode].hover.color};
9487
9487
  & path {
9488
- ${(e) => e.isFill ? z`
9488
+ ${(e) => e.$isFill ? z`
9489
9489
  fill: ${bt(e.theme)[e.$mode].hover.color};
9490
9490
  ` : z``}
9491
9491
  }
@@ -9495,7 +9495,7 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9495
9495
  border: ${(e) => bt(e.theme)[e.$mode].active?.border || "none"};
9496
9496
  color: ${(e) => bt(e.theme)[e.$mode].active.color};
9497
9497
  & path {
9498
- ${(e) => e.isFill ? z`
9498
+ ${(e) => e.$isFill ? z`
9499
9499
  fill: ${bt(e.theme)[e.$mode].active.color};
9500
9500
  ` : z``}
9501
9501
  }
@@ -9666,12 +9666,12 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9666
9666
  className: Ve(h, "button"),
9667
9667
  disabled: o || c,
9668
9668
  onClick: x,
9669
- size: l,
9669
+ $size: l,
9670
9670
  $mode: r,
9671
- width: p,
9672
- isFill: v,
9671
+ $width: p,
9672
+ $isFill: v,
9673
9673
  tabIndex: C,
9674
- isText: !!e || !!t,
9674
+ $isText: !!e || !!t,
9675
9675
  children: [
9676
9676
  c && /* @__PURE__ */ s.jsx(Xh, { $mode: r, children: /* @__PURE__ */ s.jsx(tm, { color: bt(Q[y])[r].default.color }) }),
9677
9677
  i ? /* @__PURE__ */ s.jsx(Yh, { isText: !!e, size: l, children: i }) : null,
@@ -9747,13 +9747,13 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9747
9747
  width: 100%;
9748
9748
  padding: 11px 12px;
9749
9749
  height: 44px;
9750
- padding-left: ${(e) => e.icon && e.positionIcon === "left" ? "44px" : "12px"};
9751
- padding-right: ${(e) => e.icon && e.positionIcon === "right" || e.rightText ? "48px" : "12px"};
9750
+ padding-left: ${(e) => e.$icon && e.$positionIcon === "left" ? "44px" : "12px"};
9751
+ padding-right: ${(e) => e.$icon && e.$positionIcon === "right" || e.$rightText ? "48px" : "12px"};
9752
9752
  border-radius: 8px;
9753
9753
  background: ${(e) => e.theme.background.field};
9754
9754
  border: 0.8px solid
9755
- ${(e) => e.error ? `${e.theme.stroke.negative} !important` : e.theme.stroke.primary};
9756
- ${(e) => e.prohibitTextInput && z`
9755
+ ${(e) => e.$error ? `${e.theme.stroke.negative} !important` : e.theme.stroke.primary};
9756
+ ${(e) => e.$prohibitTextInput && z`
9757
9757
  caret-color: transparent;
9758
9758
  cursor: pointer;
9759
9759
  `}
@@ -9856,14 +9856,14 @@ const Zs = D.createContext(null), Th = ({ content: e, ...t }) => {
9856
9856
  onChange: Z,
9857
9857
  onFocus: v,
9858
9858
  onBlur: b,
9859
- prohibitTextInput: c,
9859
+ $prohibitTextInput: c,
9860
9860
  onKeyDown: x,
9861
9861
  onClick: y,
9862
9862
  autoComplete: w,
9863
- error: !!p,
9864
- icon: !!f,
9865
- rightText: !!m,
9866
- positionIcon: _
9863
+ $error: !!p,
9864
+ $icon: !!f,
9865
+ $rightText: !!m,
9866
+ $positionIcon: _
9867
9867
  }
9868
9868
  ),
9869
9869
  f ? /* @__PURE__ */ s.jsx(