@dmitriikapustin/ui 0.3.3 → 0.3.6

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.
package/dist/index.cjs CHANGED
@@ -3780,18 +3780,26 @@ __styleInject(`@charset "UTF-8";
3780
3780
 
3781
3781
  .Footer-module_grid {
3782
3782
  display: grid;
3783
- grid-template-columns: repeat(2, 1fr);
3783
+ grid-template-columns: 1fr;
3784
3784
  gap: 2rem;
3785
+ text-align: center;
3785
3786
  }
3786
3787
  @media (min-width: 768px) {
3787
3788
  .Footer-module_grid {
3788
3789
  grid-template-columns: repeat(4, 1fr);
3790
+ text-align: left;
3789
3791
  }
3790
3792
  }
3791
3793
 
3792
3794
  .Footer-module_brandCell {
3793
3795
  display: flex;
3794
3796
  flex-direction: column;
3797
+ align-items: center;
3798
+ }
3799
+ @media (min-width: 768px) {
3800
+ .Footer-module_brandCell {
3801
+ align-items: flex-start;
3802
+ }
3795
3803
  }
3796
3804
 
3797
3805
  .Footer-module_tagline {
@@ -3817,6 +3825,12 @@ __styleInject(`@charset "UTF-8";
3817
3825
  list-style: none;
3818
3826
  padding: 0;
3819
3827
  margin: 0;
3828
+ align-items: center;
3829
+ }
3830
+ @media (min-width: 768px) {
3831
+ .Footer-module_linkList {
3832
+ align-items: flex-start;
3833
+ }
3820
3834
  }
3821
3835
 
3822
3836
  .Footer-module_link {
@@ -3973,16 +3987,24 @@ __styleInject(`.PricingCard-module_root {
3973
3987
  color: var(--fg-secondary);
3974
3988
  }
3975
3989
 
3990
+ .PricingCard-module_featureItemExcluded {
3991
+ color: var(--fg-muted);
3992
+ }
3993
+
3976
3994
  .PricingCard-module_featureIcon {
3977
3995
  flex-shrink: 0;
3978
3996
  margin-top: 2px;
3979
3997
  color: var(--color-success);
3980
3998
  }
3981
3999
 
4000
+ .PricingCard-module_featureIconExcluded {
4001
+ color: var(--fg-muted);
4002
+ }
4003
+
3982
4004
  .PricingCard-module_cta {
3983
4005
  width: 100%;
3984
4006
  }`);
3985
- var __default44 = { "root": "PricingCard-module_root", "highlighted": "PricingCard-module_highlighted", "badgeWrap": "PricingCard-module_badgeWrap", "header": "PricingCard-module_header", "plan": "PricingCard-module_plan", "description": "PricingCard-module_description", "priceBlock": "PricingCard-module_priceBlock", "price": "PricingCard-module_price", "period": "PricingCard-module_period", "features": "PricingCard-module_features", "featureItem": "PricingCard-module_featureItem", "featureIcon": "PricingCard-module_featureIcon", "cta": "PricingCard-module_cta" };
4007
+ var __default44 = { "root": "PricingCard-module_root", "highlighted": "PricingCard-module_highlighted", "badgeWrap": "PricingCard-module_badgeWrap", "header": "PricingCard-module_header", "plan": "PricingCard-module_plan", "description": "PricingCard-module_description", "priceBlock": "PricingCard-module_priceBlock", "price": "PricingCard-module_price", "period": "PricingCard-module_period", "features": "PricingCard-module_features", "featureItem": "PricingCard-module_featureItem", "featureItemExcluded": "PricingCard-module_featureItemExcluded", "featureIcon": "PricingCard-module_featureIcon", "featureIconExcluded": "PricingCard-module_featureIconExcluded", "cta": "PricingCard-module_cta" };
3986
4008
  function PricingCard({
3987
4009
  plan,
3988
4010
  price,
@@ -4008,10 +4030,21 @@ function PricingCard({
4008
4030
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default44.price, children: price }),
4009
4031
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default44.period, children: period })
4010
4032
  ] }),
4011
- /* @__PURE__ */ jsxRuntime.jsx("ul", { className: __default44.features, children: features.map((feature, i) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: __default44.featureItem, children: [
4012
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default44.featureIcon, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyCheck, { size: 16 }) }),
4013
- feature
4014
- ] }, i)) }),
4033
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: __default44.features, children: features.map((feature, i) => {
4034
+ const text = typeof feature === "string" ? feature : feature.text;
4035
+ const isExcluded = typeof feature === "object" && feature.included === false;
4036
+ return /* @__PURE__ */ jsxRuntime.jsxs(
4037
+ "li",
4038
+ {
4039
+ className: `${__default44.featureItem}${isExcluded ? ` ${__default44.featureItemExcluded}` : ""}`,
4040
+ children: [
4041
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: `${__default44.featureIcon}${isExcluded ? ` ${__default44.featureIconExcluded}` : ""}`, children: isExcluded ? /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 16 }) : /* @__PURE__ */ jsxRuntime.jsx(IconlyCheck, { size: 16 }) }),
4042
+ text
4043
+ ]
4044
+ },
4045
+ i
4046
+ );
4047
+ }) }),
4015
4048
  cta && /* @__PURE__ */ jsxRuntime.jsx(
4016
4049
  Button,
4017
4050
  {
@@ -5517,7 +5550,7 @@ function ComparisonTable({ columns, rows, className = "" }) {
5517
5550
  "td",
5518
5551
  {
5519
5552
  className: cellClass,
5520
- children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default57.iconSuccess, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyCheck, { size: 18 }) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default57.iconMuted, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 18 }) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default57.textValue, children: val })
5553
+ children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default57.iconSuccess, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyCheck, { size: 18 }) }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default57.iconMuted, children: /* @__PURE__ */ jsxRuntime.jsx(IconlyClose, { size: 18 }) }) : typeof val === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: __default57.textValue, children: val }) : val
5521
5554
  },
5522
5555
  vi
5523
5556
  );
@@ -6873,38 +6906,47 @@ __styleInject(`@charset "UTF-8";
6873
6906
  }
6874
6907
 
6875
6908
  .PromoHeroForm-module_formInner {
6909
+ /* Mobile: input \u0438 \u043A\u043D\u043E\u043F\u043A\u0430 \u2014 \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B (input \u0441 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0439 \u0440\u0430\u043C\u043A\u043E\u0439, \u043A\u043D\u043E\u043F\u043A\u0430 \u043A\u0430\u043A pill).
6910
+ Desktop \u2265640px: \u043E\u0431\u0430 \u0432\u043D\u0443\u0442\u0440\u0438 \u043E\u0431\u0449\u0435\u0439 pill-\u043E\u0431\u0451\u0440\u0442\u043A\u0438, side-by-side. */
6876
6911
  display: flex;
6877
6912
  flex-direction: column;
6878
- gap: 8px;
6879
- padding: 8px;
6880
- background: var(--bg);
6881
- border: 1px solid var(--neutral-200);
6882
- border-radius: 24px;
6883
- transition: border-color var(--transition-fast);
6884
- }
6885
- .PromoHeroForm-module_formInner:focus-within {
6886
- border-color: var(--fg);
6913
+ gap: 12px;
6887
6914
  }
6888
6915
  @media (min-width: 640px) {
6889
6916
  .PromoHeroForm-module_formInner {
6890
6917
  flex-direction: row;
6891
6918
  align-items: stretch;
6919
+ gap: 8px;
6920
+ padding: 8px;
6921
+ background: var(--bg);
6922
+ border: 1px solid var(--neutral-200);
6892
6923
  border-radius: 9999px;
6924
+ transition: border-color var(--transition-fast);
6925
+ }
6926
+ .PromoHeroForm-module_formInner:focus-within {
6927
+ border-color: var(--fg);
6893
6928
  }
6894
6929
  }
6895
6930
 
6896
6931
  .PromoHeroForm-module_input {
6932
+ /* Mobile: \u0441\u0442\u0438\u043B\u044C \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D \u0441 \u043F\u0430\u043A\u0435\u0442\u043D\u044B\u043C <Input> \u0430\u0442\u043E\u043C\u043E\u043C \u2014 \u043A\u043E\u043D\u0442\u0440\u0430\u0441\u0442\u043D\u0430\u044F \u0440\u0430\u043C\u043A\u0430 var(--fg-muted),
6933
+ \u0446\u0432\u0435\u0442 var(--fg-secondary), padding-block 0.75rem (\u043D\u0430\u0442\u0443\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u044B\u0441\u043E\u0442\u0430 ~44px \u043F\u043E line-height). */
6897
6934
  flex: 1;
6898
6935
  width: 100%;
6899
- height: 56px;
6900
- padding-inline: 16px;
6936
+ padding-block: 0.75rem;
6937
+ padding-inline: 1rem;
6901
6938
  font-family: inherit;
6902
- font-size: 16px;
6939
+ font-size: 15px;
6903
6940
  letter-spacing: -0.25px;
6904
- color: var(--fg);
6905
- background: transparent;
6906
- border: none;
6941
+ color: var(--fg-secondary);
6942
+ background: var(--bg);
6943
+ border: 1px solid var(--fg-muted);
6944
+ border-radius: 9999px;
6907
6945
  outline: none;
6946
+ transition: border-color var(--transition-fast);
6947
+ }
6948
+ .PromoHeroForm-module_input:focus {
6949
+ border-color: var(--fg);
6908
6950
  }
6909
6951
  .PromoHeroForm-module_input::placeholder {
6910
6952
  color: var(--fg-muted);
@@ -6915,7 +6957,19 @@ __styleInject(`@charset "UTF-8";
6915
6957
  }
6916
6958
  @media (min-width: 640px) {
6917
6959
  .PromoHeroForm-module_input {
6960
+ /* Desktop: \u0432\u043D\u0443\u0442\u0440\u0438 \u043E\u0431\u0449\u0435\u0439 pill-\u043E\u0431\u0451\u0440\u0442\u043A\u0438 \u2014 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u0430\u044F \u0440\u0430\u043C\u043A\u0430 \u043D\u0435 \u043D\u0443\u0436\u043D\u0430.
6961
+ \u0412\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C hero-\u0432\u044B\u0441\u043E\u0442\u0443 56px \u0434\u043B\u044F \u043F\u0430\u0440\u043D\u043E\u0441\u0442\u0438 \u0441 Button.size='hero'. */
6962
+ height: 56px;
6963
+ padding-block: 0;
6918
6964
  padding-inline: 24px;
6965
+ font-size: 16px;
6966
+ color: var(--fg);
6967
+ background: transparent;
6968
+ border: none;
6969
+ border-radius: 0;
6970
+ }
6971
+ .PromoHeroForm-module_input:focus {
6972
+ border-color: transparent;
6919
6973
  }
6920
6974
  }
6921
6975
 
package/dist/index.d.cts CHANGED
@@ -517,12 +517,21 @@ interface FooterProps {
517
517
  }
518
518
  declare function Footer({ brand, columns, socials, copyright, className, }: FooterProps): react_jsx_runtime.JSX.Element;
519
519
 
520
+ interface PricingFeature {
521
+ text: string;
522
+ /** `false` → приглушённая ✗ + muted текст. `true`/undefined → ✓ + обычный текст. */
523
+ included?: boolean;
524
+ }
520
525
  interface PricingCardProps {
521
526
  plan: string;
522
527
  price: string;
523
528
  period?: string;
524
529
  description?: string;
525
- features: string[];
530
+ /**
531
+ * Список features. Строки рендерятся как `included: true` (BC).
532
+ * Объекты `{ text, included }` — позволяют пометить пункт как отсутствующий (✗).
533
+ */
534
+ features: Array<string | PricingFeature>;
526
535
  highlighted?: boolean;
527
536
  badge?: string;
528
537
  /** CTA-кнопка. Если undefined — кнопка не рендерится. */
@@ -715,7 +724,13 @@ interface ComparisonColumn {
715
724
  }
716
725
  interface ComparisonRow {
717
726
  feature: string;
718
- values: (boolean | string)[];
727
+ /**
728
+ * Значения колонок по порядку.
729
+ * - `boolean` — рендерится как ✓ (true) / ✗ (false) иконка.
730
+ * - `string` — рендерится как текст по центру (стилизация .textValue).
731
+ * - `ReactNode` (JSX) — рендерится as-is без обёртки. Use-case: CTA-row с `<Button>`, badges, иконки.
732
+ */
733
+ values: (boolean | string | ReactNode)[];
719
734
  }
720
735
  interface ComparisonTableProps {
721
736
  columns: ComparisonColumn[];
package/dist/index.d.ts CHANGED
@@ -517,12 +517,21 @@ interface FooterProps {
517
517
  }
518
518
  declare function Footer({ brand, columns, socials, copyright, className, }: FooterProps): react_jsx_runtime.JSX.Element;
519
519
 
520
+ interface PricingFeature {
521
+ text: string;
522
+ /** `false` → приглушённая ✗ + muted текст. `true`/undefined → ✓ + обычный текст. */
523
+ included?: boolean;
524
+ }
520
525
  interface PricingCardProps {
521
526
  plan: string;
522
527
  price: string;
523
528
  period?: string;
524
529
  description?: string;
525
- features: string[];
530
+ /**
531
+ * Список features. Строки рендерятся как `included: true` (BC).
532
+ * Объекты `{ text, included }` — позволяют пометить пункт как отсутствующий (✗).
533
+ */
534
+ features: Array<string | PricingFeature>;
526
535
  highlighted?: boolean;
527
536
  badge?: string;
528
537
  /** CTA-кнопка. Если undefined — кнопка не рендерится. */
@@ -715,7 +724,13 @@ interface ComparisonColumn {
715
724
  }
716
725
  interface ComparisonRow {
717
726
  feature: string;
718
- values: (boolean | string)[];
727
+ /**
728
+ * Значения колонок по порядку.
729
+ * - `boolean` — рендерится как ✓ (true) / ✗ (false) иконка.
730
+ * - `string` — рендерится как текст по центру (стилизация .textValue).
731
+ * - `ReactNode` (JSX) — рендерится as-is без обёртки. Use-case: CTA-row с `<Button>`, badges, иконки.
732
+ */
733
+ values: (boolean | string | ReactNode)[];
719
734
  }
720
735
  interface ComparisonTableProps {
721
736
  columns: ComparisonColumn[];
package/dist/index.js CHANGED
@@ -3774,18 +3774,26 @@ __styleInject(`@charset "UTF-8";
3774
3774
 
3775
3775
  .Footer-module_grid {
3776
3776
  display: grid;
3777
- grid-template-columns: repeat(2, 1fr);
3777
+ grid-template-columns: 1fr;
3778
3778
  gap: 2rem;
3779
+ text-align: center;
3779
3780
  }
3780
3781
  @media (min-width: 768px) {
3781
3782
  .Footer-module_grid {
3782
3783
  grid-template-columns: repeat(4, 1fr);
3784
+ text-align: left;
3783
3785
  }
3784
3786
  }
3785
3787
 
3786
3788
  .Footer-module_brandCell {
3787
3789
  display: flex;
3788
3790
  flex-direction: column;
3791
+ align-items: center;
3792
+ }
3793
+ @media (min-width: 768px) {
3794
+ .Footer-module_brandCell {
3795
+ align-items: flex-start;
3796
+ }
3789
3797
  }
3790
3798
 
3791
3799
  .Footer-module_tagline {
@@ -3811,6 +3819,12 @@ __styleInject(`@charset "UTF-8";
3811
3819
  list-style: none;
3812
3820
  padding: 0;
3813
3821
  margin: 0;
3822
+ align-items: center;
3823
+ }
3824
+ @media (min-width: 768px) {
3825
+ .Footer-module_linkList {
3826
+ align-items: flex-start;
3827
+ }
3814
3828
  }
3815
3829
 
3816
3830
  .Footer-module_link {
@@ -3967,16 +3981,24 @@ __styleInject(`.PricingCard-module_root {
3967
3981
  color: var(--fg-secondary);
3968
3982
  }
3969
3983
 
3984
+ .PricingCard-module_featureItemExcluded {
3985
+ color: var(--fg-muted);
3986
+ }
3987
+
3970
3988
  .PricingCard-module_featureIcon {
3971
3989
  flex-shrink: 0;
3972
3990
  margin-top: 2px;
3973
3991
  color: var(--color-success);
3974
3992
  }
3975
3993
 
3994
+ .PricingCard-module_featureIconExcluded {
3995
+ color: var(--fg-muted);
3996
+ }
3997
+
3976
3998
  .PricingCard-module_cta {
3977
3999
  width: 100%;
3978
4000
  }`);
3979
- var __default44 = { "root": "PricingCard-module_root", "highlighted": "PricingCard-module_highlighted", "badgeWrap": "PricingCard-module_badgeWrap", "header": "PricingCard-module_header", "plan": "PricingCard-module_plan", "description": "PricingCard-module_description", "priceBlock": "PricingCard-module_priceBlock", "price": "PricingCard-module_price", "period": "PricingCard-module_period", "features": "PricingCard-module_features", "featureItem": "PricingCard-module_featureItem", "featureIcon": "PricingCard-module_featureIcon", "cta": "PricingCard-module_cta" };
4001
+ var __default44 = { "root": "PricingCard-module_root", "highlighted": "PricingCard-module_highlighted", "badgeWrap": "PricingCard-module_badgeWrap", "header": "PricingCard-module_header", "plan": "PricingCard-module_plan", "description": "PricingCard-module_description", "priceBlock": "PricingCard-module_priceBlock", "price": "PricingCard-module_price", "period": "PricingCard-module_period", "features": "PricingCard-module_features", "featureItem": "PricingCard-module_featureItem", "featureItemExcluded": "PricingCard-module_featureItemExcluded", "featureIcon": "PricingCard-module_featureIcon", "featureIconExcluded": "PricingCard-module_featureIconExcluded", "cta": "PricingCard-module_cta" };
3980
4002
  function PricingCard({
3981
4003
  plan,
3982
4004
  price,
@@ -4002,10 +4024,21 @@ function PricingCard({
4002
4024
  /* @__PURE__ */ jsx("span", { className: __default44.price, children: price }),
4003
4025
  /* @__PURE__ */ jsx("span", { className: __default44.period, children: period })
4004
4026
  ] }),
4005
- /* @__PURE__ */ jsx("ul", { className: __default44.features, children: features.map((feature, i) => /* @__PURE__ */ jsxs("li", { className: __default44.featureItem, children: [
4006
- /* @__PURE__ */ jsx("span", { className: __default44.featureIcon, children: /* @__PURE__ */ jsx(IconlyCheck, { size: 16 }) }),
4007
- feature
4008
- ] }, i)) }),
4027
+ /* @__PURE__ */ jsx("ul", { className: __default44.features, children: features.map((feature, i) => {
4028
+ const text = typeof feature === "string" ? feature : feature.text;
4029
+ const isExcluded = typeof feature === "object" && feature.included === false;
4030
+ return /* @__PURE__ */ jsxs(
4031
+ "li",
4032
+ {
4033
+ className: `${__default44.featureItem}${isExcluded ? ` ${__default44.featureItemExcluded}` : ""}`,
4034
+ children: [
4035
+ /* @__PURE__ */ jsx("span", { className: `${__default44.featureIcon}${isExcluded ? ` ${__default44.featureIconExcluded}` : ""}`, children: isExcluded ? /* @__PURE__ */ jsx(IconlyClose, { size: 16 }) : /* @__PURE__ */ jsx(IconlyCheck, { size: 16 }) }),
4036
+ text
4037
+ ]
4038
+ },
4039
+ i
4040
+ );
4041
+ }) }),
4009
4042
  cta && /* @__PURE__ */ jsx(
4010
4043
  Button,
4011
4044
  {
@@ -5511,7 +5544,7 @@ function ComparisonTable({ columns, rows, className = "" }) {
5511
5544
  "td",
5512
5545
  {
5513
5546
  className: cellClass,
5514
- children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsx("span", { className: __default57.iconSuccess, children: /* @__PURE__ */ jsx(IconlyCheck, { size: 18 }) }) : /* @__PURE__ */ jsx("span", { className: __default57.iconMuted, children: /* @__PURE__ */ jsx(IconlyClose, { size: 18 }) }) : /* @__PURE__ */ jsx("span", { className: __default57.textValue, children: val })
5547
+ children: typeof val === "boolean" ? val ? /* @__PURE__ */ jsx("span", { className: __default57.iconSuccess, children: /* @__PURE__ */ jsx(IconlyCheck, { size: 18 }) }) : /* @__PURE__ */ jsx("span", { className: __default57.iconMuted, children: /* @__PURE__ */ jsx(IconlyClose, { size: 18 }) }) : typeof val === "string" ? /* @__PURE__ */ jsx("span", { className: __default57.textValue, children: val }) : val
5515
5548
  },
5516
5549
  vi
5517
5550
  );
@@ -6867,38 +6900,47 @@ __styleInject(`@charset "UTF-8";
6867
6900
  }
6868
6901
 
6869
6902
  .PromoHeroForm-module_formInner {
6903
+ /* Mobile: input \u0438 \u043A\u043D\u043E\u043F\u043A\u0430 \u2014 \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B (input \u0441 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0439 \u0440\u0430\u043C\u043A\u043E\u0439, \u043A\u043D\u043E\u043F\u043A\u0430 \u043A\u0430\u043A pill).
6904
+ Desktop \u2265640px: \u043E\u0431\u0430 \u0432\u043D\u0443\u0442\u0440\u0438 \u043E\u0431\u0449\u0435\u0439 pill-\u043E\u0431\u0451\u0440\u0442\u043A\u0438, side-by-side. */
6870
6905
  display: flex;
6871
6906
  flex-direction: column;
6872
- gap: 8px;
6873
- padding: 8px;
6874
- background: var(--bg);
6875
- border: 1px solid var(--neutral-200);
6876
- border-radius: 24px;
6877
- transition: border-color var(--transition-fast);
6878
- }
6879
- .PromoHeroForm-module_formInner:focus-within {
6880
- border-color: var(--fg);
6907
+ gap: 12px;
6881
6908
  }
6882
6909
  @media (min-width: 640px) {
6883
6910
  .PromoHeroForm-module_formInner {
6884
6911
  flex-direction: row;
6885
6912
  align-items: stretch;
6913
+ gap: 8px;
6914
+ padding: 8px;
6915
+ background: var(--bg);
6916
+ border: 1px solid var(--neutral-200);
6886
6917
  border-radius: 9999px;
6918
+ transition: border-color var(--transition-fast);
6919
+ }
6920
+ .PromoHeroForm-module_formInner:focus-within {
6921
+ border-color: var(--fg);
6887
6922
  }
6888
6923
  }
6889
6924
 
6890
6925
  .PromoHeroForm-module_input {
6926
+ /* Mobile: \u0441\u0442\u0438\u043B\u044C \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D \u0441 \u043F\u0430\u043A\u0435\u0442\u043D\u044B\u043C <Input> \u0430\u0442\u043E\u043C\u043E\u043C \u2014 \u043A\u043E\u043D\u0442\u0440\u0430\u0441\u0442\u043D\u0430\u044F \u0440\u0430\u043C\u043A\u0430 var(--fg-muted),
6927
+ \u0446\u0432\u0435\u0442 var(--fg-secondary), padding-block 0.75rem (\u043D\u0430\u0442\u0443\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u044B\u0441\u043E\u0442\u0430 ~44px \u043F\u043E line-height). */
6891
6928
  flex: 1;
6892
6929
  width: 100%;
6893
- height: 56px;
6894
- padding-inline: 16px;
6930
+ padding-block: 0.75rem;
6931
+ padding-inline: 1rem;
6895
6932
  font-family: inherit;
6896
- font-size: 16px;
6933
+ font-size: 15px;
6897
6934
  letter-spacing: -0.25px;
6898
- color: var(--fg);
6899
- background: transparent;
6900
- border: none;
6935
+ color: var(--fg-secondary);
6936
+ background: var(--bg);
6937
+ border: 1px solid var(--fg-muted);
6938
+ border-radius: 9999px;
6901
6939
  outline: none;
6940
+ transition: border-color var(--transition-fast);
6941
+ }
6942
+ .PromoHeroForm-module_input:focus {
6943
+ border-color: var(--fg);
6902
6944
  }
6903
6945
  .PromoHeroForm-module_input::placeholder {
6904
6946
  color: var(--fg-muted);
@@ -6909,7 +6951,19 @@ __styleInject(`@charset "UTF-8";
6909
6951
  }
6910
6952
  @media (min-width: 640px) {
6911
6953
  .PromoHeroForm-module_input {
6954
+ /* Desktop: \u0432\u043D\u0443\u0442\u0440\u0438 \u043E\u0431\u0449\u0435\u0439 pill-\u043E\u0431\u0451\u0440\u0442\u043A\u0438 \u2014 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u0430\u044F \u0440\u0430\u043C\u043A\u0430 \u043D\u0435 \u043D\u0443\u0436\u043D\u0430.
6955
+ \u0412\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C hero-\u0432\u044B\u0441\u043E\u0442\u0443 56px \u0434\u043B\u044F \u043F\u0430\u0440\u043D\u043E\u0441\u0442\u0438 \u0441 Button.size='hero'. */
6956
+ height: 56px;
6957
+ padding-block: 0;
6912
6958
  padding-inline: 24px;
6959
+ font-size: 16px;
6960
+ color: var(--fg);
6961
+ background: transparent;
6962
+ border: none;
6963
+ border-radius: 0;
6964
+ }
6965
+ .PromoHeroForm-module_input:focus {
6966
+ border-color: transparent;
6913
6967
  }
6914
6968
  }
6915
6969
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmitriikapustin/ui",
3
- "version": "0.3.3",
3
+ "version": "0.3.6",
4
4
  "description": "Universal UI/UX Kit — React 19 component library with Atomic Design, CSS custom properties, and SCSS modules",
5
5
  "author": "Kapustin Team",
6
6
  "license": "MIT",