stone-kit 0.0.1028 → 0.0.1029

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 (82) hide show
  1. package/dist/App.js +4 -4
  2. package/dist/{Option-rFBMQAPk.js → Option-CtwUzW8a.js} +1 -1
  3. package/dist/Router.js +1 -1
  4. package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
  5. package/dist/components/Button/ui/Button.js +1 -1
  6. package/dist/components/CheckBoxNew/CheckBoxNew.js +1 -1
  7. package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +1 -1
  8. package/dist/components/CommercialLotCard/CommercialLotCard.js +1 -1
  9. package/dist/components/CommercialLotCard/components/Price/Price.js +1 -1
  10. package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +1 -1
  11. package/dist/components/DestinationTab/ui/DestinationTab.js +1 -1
  12. package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +1 -1
  13. package/dist/components/FilterWithSave/ui/FilterWithSave.js +9 -14
  14. package/dist/components/Flex/ui/Flex.js +1 -1
  15. package/dist/components/FormModal/ui/ModalForm.js +656 -641
  16. package/dist/components/GroupedInput/ui/GroupedInputs.js +1 -1
  17. package/dist/components/Input/ui/Input.js +1 -22
  18. package/dist/components/Logo/ui/Logo.js +1 -1
  19. package/dist/components/LotCard/hooks/useLotCard.js +2 -2
  20. package/dist/components/LotCard/ui/LotCard.js +2 -2
  21. package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +1 -1
  22. package/dist/components/MetroLabel/ui/MetroLabel.js +1 -1
  23. package/dist/components/MetroTag/ui/MetroTag.js +1 -1
  24. package/dist/components/NewIcon/ui/NewIcon.js +3 -3
  25. package/dist/components/RoundButton/ui/RoundButton.js +1 -1
  26. package/dist/components/Select/ui/Category.js +2 -2
  27. package/dist/components/Select/ui/Option.js +2 -2
  28. package/dist/components/Select/ui/Select.js +2 -2
  29. package/dist/components/SliderNavigation/ui/SliderNavigation.js +1 -1
  30. package/dist/components/SortSelect/hooks/useSortSelect.d.ts +1 -1
  31. package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
  32. package/dist/components/SortSelect/ui/SortSelect.js +12 -12
  33. package/dist/components/Switcher/ui/Switcher.js +1 -1
  34. package/dist/components/TabSelect/ui/TabSelect.d.ts +12 -7
  35. package/dist/components/TabSelect/ui/TabSelect.js +43 -38
  36. package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +4 -3
  37. package/dist/components/TabSwitcher/ui/TabSwitcher.js +75 -73
  38. package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +1 -1
  39. package/dist/components/Tag/ui/Tag.js +1 -1
  40. package/dist/components/Text/ui/Text.js +1 -1
  41. package/dist/components/TextArea/TextArea.d.ts +8 -0
  42. package/dist/components/TextArea/TextArea.js +18 -12
  43. package/dist/components/mobileButton/ui/MobileButton.js +1 -1
  44. package/dist/{index-3E04UaC2.js → index-BJwl9stn.js} +785 -784
  45. package/dist/{index-B2JRaoNz.js → index-YnD2EP-S.js} +0 -5
  46. package/dist/layout/components/Header/Header.js +1 -1
  47. package/dist/layout/components/Menu.js +107 -4
  48. package/dist/pages/ButtonsPage/Buttons.js +49 -60
  49. package/dist/stone-kit.css +1 -1
  50. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +1 -1
  51. package/dist/stories/shared/ui/Button/Button.stories.js +1 -1
  52. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +1 -1
  53. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +1 -1
  54. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +1 -1
  55. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +1 -1
  56. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +1 -1
  57. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +1 -1
  58. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +1 -1
  59. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +1 -1
  60. package/dist/stories/shared/ui/Logo/Logo.stories.js +1 -1
  61. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +1 -1
  62. package/dist/stories/shared/ui/Modal/Modal.stories.js +1 -1
  63. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +1 -1
  64. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +1 -1
  65. package/dist/stories/shared/ui/Select/Select.stories.js +1 -1
  66. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +1 -1
  67. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +1 -1
  68. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +1 -1
  69. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +1 -1
  70. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +1 -1
  71. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +1 -1
  72. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +1 -1
  73. package/dist/{useLotCard-DG9doKCX.js → useLotCard-CYcRSogE.js} +1 -1
  74. package/dist/{useSortSelect-C72ddcYI.js → useSortSelect-Cy3od4ig.js} +6 -6
  75. package/package.json +22 -31
  76. package/dist/ButtonState.module-DtW3aevR.js +0 -8
  77. package/dist/Menu-CdJTzN7T.js +0 -494
  78. package/dist/components/TextArea/TextArea.types.d.ts +0 -10
  79. package/dist/components/TextArea/TextArea.types.js +0 -1
  80. package/dist/index-CBdtKu-u.js +0 -891
  81. package/dist/pages/ButtonsPage/ButtonState/ButtonState.d.ts +0 -6
  82. package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +0 -121
@@ -5,7 +5,7 @@ declare const TAB_SWITCHER_VARIANTS: {
5
5
  whiteRowGrayLabel: string;
6
6
  };
7
7
  type TabSizes = 'medium' | 'small' | 'large' | 'tiny';
8
- export interface ITabSwitcherItem extends React.InputHTMLAttributes<HTMLInputElement> {
8
+ export interface ITabSwitcherItem extends React.ComponentPropsWithRef<'input'> {
9
9
  addItemClassName?: string;
10
10
  addTextClass?: string;
11
11
  addLabelClassname?: string;
@@ -1,5 +1,5 @@
1
1
  import { jsx as z } from "react/jsx-runtime";
2
- import { c as h } from "../../../index-B2JRaoNz.js";
2
+ import { c as h } from "../../../index-YnD2EP-S.js";
3
3
  const o = "_tagCommon_18las_1", y = "_red_18las_149", p = "_gray_18las_155", g = "_shade_18las_161", x = "_blackGrey_18las_167", c = "_blackWhite_18las_173", d = "_gray5_18las_179", u = "_gray8_18las_185", k = "_chineseBlack_18las_191", G = "_white_18las_198", f = "_fullWhite_18las_205", W = "_shadeWhite_18las_212", w = "_transparent_18las_222", b = "_transWhite_18las_229", L = "_neutralGray6_18las_239", T = "_whiteGrayStroke_18las_245", B = "_whiteGray_18las_245", S = "_lightGray_18las_259", $ = "_black_18las_167", C = "_blackStroke_18las_271", N = "_darkGray_18las_278", j = "_lightBlue_18las_283", v = "_lightGrayTrans_18las_289", q = "_whiteGrayTrans_18las_295", A = "_preLarge_size_m_18las_342", _ = {
4
4
  tagCommon: o,
5
5
  "auto-width": "_auto-width_18las_21",
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { c as _ } from "../../../index-B2JRaoNz.js";
2
+ import { c as _ } from "../../../index-YnD2EP-S.js";
3
3
  const i = "_root_wkh0k_1", o = {
4
4
  root: i
5
5
  }, e = _.bind(o), f = ({ children: m, className: r, additionalClass: t = "", html: s, ...n }) => s ? /* @__PURE__ */ c(
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ type textAreaWidth = 'auto' | 'full';
3
+ interface ITextArea extends React.ComponentPropsWithRef<'textarea'> {
4
+ width?: textAreaWidth;
5
+ additionalClass?: string;
6
+ }
7
+ export declare const TextArea: ({ width, additionalClass, children, ref, ...props }: ITextArea) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,19 +1,25 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as f } from "react";
3
- import { c as m } from "../../index-B2JRaoNz.js";
4
- const _ = "_root_v6f19_12", t = {
2
+ import { c as _ } from "../../index-YnD2EP-S.js";
3
+ const c = "_root_v6f19_12", t = {
5
4
  "auto-width": "_auto-width_v6f19_1",
6
5
  "full-width": "_full-width_v6f19_6",
7
- root: _
8
- }, c = m.bind(t), d = f(
9
- ({
10
- width: o = "auto",
11
- additionalClass: r = "",
12
- children: e = "",
13
- ...a
14
- }, s) => /* @__PURE__ */ i("textarea", { className: c(t.root, t[`${o}-width`], r), ref: s, style: { resize: "none" }, ...a, children: e })
6
+ root: c
7
+ }, n = _.bind(t), d = ({
8
+ width: o = "auto",
9
+ additionalClass: r = "",
10
+ children: s = "",
11
+ ref: e,
12
+ ...a
13
+ }) => /* @__PURE__ */ i(
14
+ "textarea",
15
+ {
16
+ className: n(t.root, t[`${o}-width`], r),
17
+ ref: e,
18
+ style: { resize: "none" },
19
+ ...a,
20
+ children: s
21
+ }
15
22
  );
16
- d.displayName = "TextArea";
17
23
  export {
18
24
  d as TextArea
19
25
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as l } from "react/jsx-runtime";
2
- import { c as u } from "../../../index-B2JRaoNz.js";
2
+ import { c as u } from "../../../index-YnD2EP-S.js";
3
3
  const w = "_btnCommon_1act6_1", r = "_whiteFilled_1act6_34", t = {
4
4
  btnCommon: w,
5
5
  "auto-width": "_auto-width_1act6_18",