@cfx-dev/ui-components 4.0.1 → 4.1.1

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 (85) hide show
  1. package/dist/{Combination-BRUj3CHE.js → Combination-Cbiw1XRb.js} +1 -1
  2. package/dist/assets/css/DropdownSelect.css +1 -1
  3. package/dist/assets/css/Flex.css +1 -1
  4. package/dist/assets/css/Input.css +1 -1
  5. package/dist/assets/css/RichInput.css +1 -1
  6. package/dist/assets/css/Select.css +1 -1
  7. package/dist/assets/general/global.css +1 -1
  8. package/dist/components/Accordion/Accordion.js +18 -17
  9. package/dist/components/Accordion/AccordionShowcase.js +3 -2
  10. package/dist/components/Avatar/AvatarShowcase.js +3 -2
  11. package/dist/components/Badge/BadgeShowcase.js +5 -4
  12. package/dist/components/Button/ButtonShowcase.js +3 -2
  13. package/dist/components/Checkbox/Checkbox.js +6 -5
  14. package/dist/components/DropdownSelect/DropdownSelect.d.ts +4 -1
  15. package/dist/components/DropdownSelect/DropdownSelect.js +783 -755
  16. package/dist/components/DropdownSelect/DropdownSelectShowcase.js +11 -10
  17. package/dist/components/Flyout/Flyout.js +1 -1
  18. package/dist/components/Icon/Icon.d.ts +4 -3
  19. package/dist/components/Icon/Icon.js +27 -25
  20. package/dist/components/IconBig/IconBig.js +3 -2
  21. package/dist/components/InfoPanel/InfoPanelShowcase.js +11 -10
  22. package/dist/components/Input/Input.d.ts +2 -1
  23. package/dist/components/Input/Input.js +96 -75
  24. package/dist/components/Input/InputShowcase.js +6 -5
  25. package/dist/components/Input/RichInput.d.ts +2 -1
  26. package/dist/components/Input/RichInput.js +60 -43
  27. package/dist/components/Layout/Box/Box.d.ts +4 -11
  28. package/dist/components/Layout/Box/Box.js +58 -96
  29. package/dist/components/Layout/Flex/Flex.d.ts +7 -3
  30. package/dist/components/Layout/Flex/Flex.js +70 -62
  31. package/dist/components/Layout/Flex/Flex.types.d.ts +42 -0
  32. package/dist/components/Layout/Flex/Flex.types.js +7 -0
  33. package/dist/components/Layout/Scrollable/ScrollableShowcase.js +1 -0
  34. package/dist/components/Link/LinkShowcase.js +1 -0
  35. package/dist/components/Logos/LogosShowcase.js +3 -2
  36. package/dist/components/Modal/Modal.js +1 -0
  37. package/dist/components/Overlay/Overlay.js +1 -1
  38. package/dist/components/Select/Select.d.ts +2 -3
  39. package/dist/components/Select/Select.js +1922 -7
  40. package/dist/components/Select/SelectShowcase.js +4 -3
  41. package/dist/components/Select/index.d.ts +1 -1
  42. package/dist/components/Select/index.js +2 -3
  43. package/dist/components/Separator/Separator.d.ts +2 -2
  44. package/dist/components/Separator/Separator.js +35 -25
  45. package/dist/components/Skeleton/Skeleton.d.ts +7 -6
  46. package/dist/components/Skeleton/Skeleton.js +35 -22
  47. package/dist/components/Skeleton/SkeletonShowcase.js +14 -13
  48. package/dist/components/Slider/Slider.js +11 -9
  49. package/dist/components/Slider/SliderShowcase.js +10 -9
  50. package/dist/components/Spacer/Spacer.d.ts +1 -1
  51. package/dist/components/Switch/Switch.js +6 -5
  52. package/dist/components/Table/Table.js +3 -2
  53. package/dist/components/Table/TableShowcase.js +7 -6
  54. package/dist/components/Tabular/TabularShowcase.js +3 -2
  55. package/dist/components/Text/Text.d.ts +3 -1
  56. package/dist/components/Text/Text.js +61 -52
  57. package/dist/components/Text/Text.types.d.ts +4 -13
  58. package/dist/components/Text/Text.types.js +1 -4
  59. package/dist/components/Text/index.d.ts +3 -2
  60. package/dist/components/Text/index.js +9 -6
  61. package/dist/components/Title/TitleShowcase.js +4 -3
  62. package/dist/components/ui.d.ts +45 -12
  63. package/dist/components/ui.js +64 -55
  64. package/dist/index-BZPx6jYI.js +8 -0
  65. package/dist/index-ByaXH_ih.js +10 -0
  66. package/dist/index-Cf5Yu9oD.js +67 -0
  67. package/dist/index-DBus3GoO.js +1342 -0
  68. package/dist/index-rKs9bXHr.js +6 -0
  69. package/dist/main.d.ts +1 -1
  70. package/dist/main.js +14 -14
  71. package/dist/{medium-JVtzoF2c.js → medium-BA3EQDZW.js} +2 -2
  72. package/dist/styles-scss/_ui.scss +10 -1
  73. package/dist/styles-scss/global.scss +39 -25
  74. package/dist/styles-scss/themes/theme_cfx.scss +2 -0
  75. package/dist/styles-scss/themes/theme_fivem.scss +2 -0
  76. package/dist/styles-scss/themes/theme_redm.scss +2 -0
  77. package/dist/styles-scss/themes/theme_wireframe.scss +2 -0
  78. package/dist/styles-scss/themes.scss +4 -4
  79. package/dist/styles-scss/tokens.scss +28 -15
  80. package/package.json +1 -1
  81. package/dist/Select-Ds-fm4CN.js +0 -3245
  82. package/dist/index-BCnz73Lm.js +0 -72
  83. package/dist/index-BW3WdIgK.js +0 -14
  84. package/dist/types/Offset.d.ts +0 -1
  85. package/dist/types/Offset.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MPProps } from '../../ui';
2
+ import { MPProps, ResponsiveValueType } from '../../ui';
3
3
 
4
4
  export interface BoxProps extends MPProps {
5
5
  noOverflow?: boolean;
@@ -8,16 +8,9 @@ export interface BoxProps extends MPProps {
8
8
  fullWidth?: boolean;
9
9
  fullHeight?: boolean;
10
10
  fitContentWidth?: boolean;
11
- /**
12
- * Number values is treated like quant multiplier
13
- * String value used as is
14
- */
15
- width?: number | string;
16
- /**
17
- * Number values is treated like quant multiplier
18
- * String value used as is
19
- */
20
- height?: number | string;
11
+ width?: ResponsiveValueType;
12
+ height?: ResponsiveValueType;
13
+ flex?: ResponsiveValueType<string>;
21
14
  children?: React.ReactNode;
22
15
  className?: string;
23
16
  style?: React.CSSProperties;
@@ -1,107 +1,69 @@
1
- import { jsx as W } from "react/jsx-runtime";
2
- import x from "react";
3
- import { useContextualStyle as j } from "../../Style/Style.js";
4
- import { ui as g } from "../../ui.js";
5
- import { clsx as H } from "../../../utils/clsx.js";
6
- const z = "cfxui__Box__root__299ae", D = "cfxui__Box__grow__7ee8d", t = {
7
- root: z,
1
+ import { jsx as R } from "react/jsx-runtime";
2
+ import c from "react";
3
+ import { useContextualStyle as S } from "../../Style/Style.js";
4
+ import { ui as o } from "../../ui.js";
5
+ import { clsx as C } from "../../../utils/clsx.js";
6
+ const k = "cfxui__Box__root__299ae", M = "cfxui__Box__grow__7ee8d", t = {
7
+ root: k,
8
8
  "full-width": "cfxui__Box__full-width__2b253",
9
9
  "fit-content-width": "cfxui__Box__fit-content-width__eff85",
10
10
  "full-height": "cfxui__Box__full-height__1d61f",
11
11
  "no-overflow": "cfxui__Box__no-overflow__68f14",
12
12
  "no-shrink": "cfxui__Box__no-shrink__fbd72",
13
- grow: D,
13
+ grow: M,
14
14
  "no-grow": "cfxui__Box__no-grow__7c039"
15
- };
16
- function y(e) {
17
- return typeof e == "string" ? e : g.q(e);
18
- }
19
- const K = x.forwardRef(function(S, M) {
15
+ }, N = (r) => r, F = c.forwardRef(function(x, u) {
20
16
  const {
21
- noOverflow: b = !1,
22
- noShrink: k = !1,
23
- grow: r = void 0,
24
- width: m,
25
- height: d,
26
- children: v,
27
- className: A,
28
- fullWidth: C,
29
- fullHeight: N,
30
- fitContentWidth: R,
31
- style: a,
32
- // --- MPProps
33
- m: f,
34
- mt: i,
35
- mr: _,
36
- mb: n,
37
- ml: l,
38
- p: s,
39
- pt: c,
40
- pr: u,
41
- pb: h,
42
- pl: w
43
- } = S, p = j(), q = H(t.root, A, {
44
- [t["full-width"]]: C,
45
- [t["full-height"]]: N,
46
- [t["fit-content-width"]]: R,
47
- [t["no-overflow"]]: b,
48
- [t["no-shrink"]]: k,
49
- [t["no-grow"]]: r === !1,
50
- [t.grow]: r === !0
51
- }), O = x.useMemo(() => g.getAllMPAttrs({
52
- m: f,
53
- mt: i,
54
- mr: _,
55
- mb: n,
56
- ml: l,
57
- p: s,
58
- pt: c,
59
- pr: u,
60
- pb: h,
61
- pl: w
62
- }), [
63
- f,
64
- i,
65
- _,
66
- n,
67
- l,
68
- s,
69
- c,
70
- u,
71
- h,
72
- w
73
- ]), B = x.useMemo(() => g.getAllMPStyles({
74
- m: f,
75
- mt: i,
76
- mr: _,
77
- mb: n,
78
- ml: l,
79
- p: s,
80
- pt: c,
81
- pr: u,
82
- pb: h,
83
- pl: w
84
- }), [
85
- f,
86
- i,
87
- _,
88
- n,
89
- l,
90
- s,
91
- c,
92
- u,
93
- h,
94
- w
95
- ]), P = x.useMemo(() => {
96
- const o = {
97
- ...B,
98
- ...p,
99
- ...a || {}
17
+ noOverflow: a = !1,
18
+ noShrink: w = !1,
19
+ grow: e = void 0,
20
+ width: s,
21
+ height: i,
22
+ children: g,
23
+ className: d,
24
+ fullWidth: m,
25
+ fullHeight: p,
26
+ fitContentWidth: v,
27
+ flex: l,
28
+ style: f,
29
+ ...n
30
+ } = x, h = S(), B = C(
31
+ t.root,
32
+ d,
33
+ o.getResponsiveClassnames("width", s),
34
+ o.getResponsiveClassnames("height", i),
35
+ o.getResponsiveClassnames("flex", l),
36
+ o.getAllMPClassnames(n),
37
+ {
38
+ [t["full-width"]]: m,
39
+ [t["full-height"]]: p,
40
+ [t["fit-content-width"]]: v,
41
+ [t["no-overflow"]]: a,
42
+ [t["no-shrink"]]: w,
43
+ [t["no-grow"]]: e === !1,
44
+ [t.grow]: e === !0
45
+ }
46
+ ), y = c.useMemo(() => {
47
+ const _ = {
48
+ ...o.getResponsiveStyles("width", s),
49
+ ...o.getResponsiveStyles("height", i),
50
+ ...o.getResponsiveStyles("flex", l, N),
51
+ ...o.getAllMPStyles(n),
52
+ ...h,
53
+ ...f || {}
100
54
  };
101
- return m && (o.width = y(m)), d && (o.height = y(d)), !o.width && r === !0 && (o.width = "1px"), o;
102
- }, [r, d, B, a, m, p]);
103
- return /* @__PURE__ */ W("div", { ...O, ref: M, className: q, style: P, children: v });
55
+ return !_.width && e === !0 && (_.width = "1px"), _;
56
+ }, [s, i, n, h, f, e, l]);
57
+ return /* @__PURE__ */ R(
58
+ "div",
59
+ {
60
+ ref: u,
61
+ className: B,
62
+ style: y,
63
+ children: g
64
+ }
65
+ );
104
66
  });
105
67
  export {
106
- K as Box
68
+ F as Box
107
69
  };
@@ -1,17 +1,21 @@
1
1
  import { default as React } from 'react';
2
2
  import { BoxProps } from '../Box/Box';
3
- import { OffesetType } from '../../ui';
3
+ import { ResponsiveOffsetType, ResponsiveValueType } from '../../ui';
4
+ import { FlexAlignItemsType, FlexDirectionType, FlexJustifyContentType, FlexWrapType } from './Flex.types';
4
5
 
5
6
  export interface FlexProps extends BoxProps {
6
7
  centered?: boolean | 'axis' | 'cross-axis' | 'baseline-axis' | 'baseline-cross-axis';
7
8
  vertical?: boolean;
8
9
  reverseOrder?: boolean;
9
10
  stretch?: boolean;
10
- wrap?: boolean;
11
11
  spaceBetween?: boolean;
12
12
  alignToEnd?: boolean;
13
13
  alignToEndAxis?: boolean;
14
- gap?: OffesetType;
14
+ gap?: ResponsiveOffsetType;
15
+ direction?: ResponsiveValueType<FlexDirectionType>;
16
+ alignItems?: ResponsiveValueType<FlexAlignItemsType>;
17
+ justifyContent?: ResponsiveValueType<FlexJustifyContentType>;
18
+ wrap?: ResponsiveValueType<FlexWrapType>;
15
19
  children?: React.ReactNode;
16
20
  className?: string;
17
21
  }
@@ -1,10 +1,11 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import m from "react";
3
- import { Box as h } from "../Box/Box.js";
4
- import { clsx as b } from "../../../utils/clsx.js";
5
- import { FlexRestricter as w } from "./FlexRestricter.js";
6
- const v = "cfxui__Flex__root__d860a", z = "cfxui__Flex__centered__e911c", R = "cfxui__Flex__vertical__552db", C = "cfxui__Flex__repell__6ea3f", N = "cfxui__Flex__wrap__9d0d6", B = "cfxui__Flex__stretch__5c1ce", E = "cfxui__Flex__horizontal__d64f7", e = {
7
- root: v,
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import d from "react";
3
+ import { Box as y } from "../Box/Box.js";
4
+ import { ui as s } from "../../ui.js";
5
+ import { clsx as C } from "../../../utils/clsx.js";
6
+ import { FlexRestricter as S } from "./FlexRestricter.js";
7
+ const j = "cfxui__Flex__root__d860a", z = "cfxui__Flex__centered__e911c", N = "cfxui__Flex__vertical__552db", B = "cfxui__Flex__repell__6ea3f", E = "cfxui__Flex__wrap__9d0d6", O = "cfxui__Flex__stretch__5c1ce", T = "cfxui__Flex__horizontal__d64f7", e = {
8
+ root: j,
8
9
  "full-width": "cfxui__Flex__full-width__b7146",
9
10
  "full-height": "cfxui__Flex__full-height__d3475",
10
11
  centered: z,
@@ -13,71 +14,78 @@ const v = "cfxui__Flex__root__d860a", z = "cfxui__Flex__centered__e911c", R = "c
13
14
  "baseline-axis": "cfxui__Flex__baseline-axis__9ac0d",
14
15
  "baseline-cross-axis": "cfxui__Flex__baseline-cross-axis__b4492",
15
16
  "reverse-order": "cfxui__Flex__reverse-order__65a69",
16
- vertical: R,
17
- repell: C,
18
- wrap: N,
17
+ vertical: N,
18
+ repell: B,
19
+ wrap: E,
19
20
  "align-to-end": "cfxui__Flex__align-to-end__4b5ea",
20
21
  "align-to-end-axis": "cfxui__Flex__align-to-end-axis__db8aa",
21
22
  "space-between": "cfxui__Flex__space-between__98493",
22
- stretch: B,
23
- horizontal: E,
24
- "gap-none": "cfxui__Flex__gap-none__deb35",
25
- "gap-hairthin": "cfxui__Flex__gap-hairthin__5e46a",
26
- "gap-thin": "cfxui__Flex__gap-thin__090a7",
27
- "gap-xxsmall": "cfxui__Flex__gap-xxsmall__601de",
28
- "gap-xsmall": "cfxui__Flex__gap-xsmall__17eb1",
29
- "gap-small": "cfxui__Flex__gap-small__7c57e",
30
- "gap-normal": "cfxui__Flex__gap-normal__56a4e",
31
- "gap-medium": "cfxui__Flex__gap-medium__50167",
32
- "gap-large": "cfxui__Flex__gap-large__91d92",
33
- "gap-xlarge": "cfxui__Flex__gap-xlarge__ec431",
34
- "gap-safezone": "cfxui__Flex__gap-safezone__4e3d1"
23
+ stretch: O,
24
+ horizontal: T
35
25
  };
36
- function T(s, a) {
26
+ function A(c, _) {
37
27
  const {
38
- centered: _ = !1,
39
- vertical: i = !1,
40
- reverseOrder: x = !1,
41
- stretch: c = !1,
42
- wrap: t = !1,
43
- spaceBetween: n = !1,
44
- alignToEnd: o = !1,
45
- alignToEndAxis: f = !1,
46
- gap: d = "normal",
47
- children: p,
48
- className: u,
49
- ...g
50
- } = s, F = b(e.root, u, e[`gap-${d}`], {
51
- [e.centered]: _ === !0,
52
- [e["centered-axis"]]: _ === "axis",
53
- [e["centered-cross-axis"]]: _ === "cross-axis",
54
- [e["baseline-axis"]]: _ === "baseline-axis",
55
- [e["baseline-cross-axis"]]: _ === "baseline-cross-axis",
56
- [e.vertical]: i,
57
- [e.horizontal]: !i,
58
- [e.stretch]: c,
59
- [e.wrap]: t,
60
- [e["align-to-end"]]: o,
61
- [e["align-to-end-axis"]]: f,
62
- [e["space-between"]]: n,
63
- [e["reverse-order"]]: x
64
- });
65
- return /* @__PURE__ */ l(
66
- h,
28
+ centered: t = !1,
29
+ vertical: x = !1,
30
+ reverseOrder: p = !1,
31
+ stretch: u = !1,
32
+ spaceBetween: g = !1,
33
+ alignToEnd: m = !1,
34
+ alignToEndAxis: F = !1,
35
+ children: v,
36
+ className: b,
37
+ gap: i,
38
+ direction: n,
39
+ alignItems: r,
40
+ justifyContent: a,
41
+ wrap: l,
42
+ ...h
43
+ } = c, R = C(
44
+ e.root,
45
+ b,
46
+ s.getResponsiveClassnames("gap", i),
47
+ s.getResponsiveClassnames("flex-direction", n),
48
+ s.getResponsiveClassnames("align-items", r),
49
+ s.getResponsiveClassnames("justify-content", a),
50
+ s.getResponsiveClassnames("flex-wrap", l),
67
51
  {
68
- ref: a,
69
- className: F,
70
- ...g,
71
- children: p
52
+ [e.centered]: t === !0,
53
+ [e["centered-axis"]]: t === "axis",
54
+ [e["centered-cross-axis"]]: t === "cross-axis",
55
+ [e["baseline-axis"]]: t === "baseline-axis",
56
+ [e["baseline-cross-axis"]]: t === "baseline-cross-axis",
57
+ [e.vertical]: x,
58
+ [e.horizontal]: !x,
59
+ [e.stretch]: u,
60
+ [e["align-to-end"]]: m,
61
+ [e["align-to-end-axis"]]: F,
62
+ [e["space-between"]]: g,
63
+ [e["reverse-order"]]: p
64
+ }
65
+ ), w = d.useMemo(() => ({
66
+ ...s.getOffsetStyles("gap", i),
67
+ ...s.getResponsiveStyles("flex-direction", n),
68
+ ...s.getResponsiveStyles("align-items", r),
69
+ ...s.getResponsiveStyles("justify-content", a),
70
+ ...s.getResponsiveStyles("flex-wrap", l)
71
+ }), [i, n, r, a, l]);
72
+ return /* @__PURE__ */ o(
73
+ y,
74
+ {
75
+ ref: _,
76
+ className: R,
77
+ style: w,
78
+ ...h,
79
+ children: v
72
80
  }
73
81
  );
74
82
  }
75
- const j = m.forwardRef(T), r = j;
76
- r.Restricted = function({
77
- children: a
83
+ const I = d.forwardRef(A), f = I;
84
+ f.Restricted = function({
85
+ children: _
78
86
  }) {
79
- return /* @__PURE__ */ l(r, { children: /* @__PURE__ */ l(w, { children: a }) });
87
+ return /* @__PURE__ */ o(f, { children: /* @__PURE__ */ o(S, { children: _ }) });
80
88
  };
81
89
  export {
82
- r as Flex
90
+ f as Flex
83
91
  };
@@ -0,0 +1,42 @@
1
+ export declare enum FlexDirectionEnum {
2
+ row = "row",
3
+ column = "column",
4
+ 'row-reverse' = "row-reverse",
5
+ 'column-reverse' = "column-reverse"
6
+ }
7
+ export type FlexDirectionType = keyof typeof FlexDirectionEnum;
8
+ export declare enum FlexAlignItemsEnum {
9
+ stretch = "stretch",
10
+ center = "center",
11
+ start = "start",
12
+ end = "end",
13
+ baseline = "baseline",
14
+ unset = "unset",
15
+ 'flex-start' = "flex-start",
16
+ 'flex-end' = "flex-end",
17
+ 'self-start' = "self-start",
18
+ 'self-end' = "self-end",
19
+ 'anchor-center' = "anchor-center"
20
+ }
21
+ export type FlexAlignItemsType = keyof typeof FlexAlignItemsEnum;
22
+ export declare enum FlexJustifyContentEnum {
23
+ stretch = "stretch",
24
+ center = "center",
25
+ start = "start",
26
+ end = "end",
27
+ left = "left",
28
+ right = "right",
29
+ unset = "unset",
30
+ 'flex-start' = "flex-start",
31
+ 'flex-end' = "flex-end",
32
+ 'space-between' = "space-between",
33
+ 'space-around' = "space-around"
34
+ }
35
+ export type FlexJustifyContentType = keyof typeof FlexJustifyContentEnum;
36
+ export declare enum FlexWrapEnum {
37
+ nowrap = "nowrap",
38
+ wrap = "wrap",
39
+ unset = "unset",
40
+ 'wrap-reverse' = "wrap-reverse"
41
+ }
42
+ export type FlexWrapType = keyof typeof FlexWrapEnum;
@@ -0,0 +1,7 @@
1
+ var e = /* @__PURE__ */ ((r) => (r.row = "row", r.column = "column", r["row-reverse"] = "row-reverse", r["column-reverse"] = "column-reverse", r))(e || {}), a = /* @__PURE__ */ ((r) => (r.stretch = "stretch", r.center = "center", r.start = "start", r.end = "end", r.baseline = "baseline", r.unset = "unset", r["flex-start"] = "flex-start", r["flex-end"] = "flex-end", r["self-start"] = "self-start", r["self-end"] = "self-end", r["anchor-center"] = "anchor-center", r))(a || {}), c = /* @__PURE__ */ ((r) => (r.stretch = "stretch", r.center = "center", r.start = "start", r.end = "end", r.left = "left", r.right = "right", r.unset = "unset", r["flex-start"] = "flex-start", r["flex-end"] = "flex-end", r["space-between"] = "space-between", r["space-around"] = "space-around", r))(c || {}), s = /* @__PURE__ */ ((r) => (r.nowrap = "nowrap", r.wrap = "wrap", r.unset = "unset", r["wrap-reverse"] = "wrap-reverse", r))(s || {});
2
+ export {
3
+ a as FlexAlignItemsEnum,
4
+ e as FlexDirectionEnum,
5
+ c as FlexJustifyContentEnum,
6
+ s as FlexWrapEnum
7
+ };
@@ -2,6 +2,7 @@ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
2
  import d from "react";
3
3
  import { Flex as i } from "../Flex/Flex.js";
4
4
  import { Text as t } from "../../Text/Text.js";
5
+ import "../../ui.js";
5
6
  import { LOREM_IPSUM as e } from "../../../utils/loremipsum.js";
6
7
  import { Scrollable as o } from "./Scrollable.js";
7
8
  function c() {
@@ -2,6 +2,7 @@ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import d from "react";
3
3
  import { Flex as n } from "../Layout/Flex/Flex.js";
4
4
  import { Text as r } from "../Text/Text.js";
5
+ import "../ui.js";
5
6
  import l from "./ButtonLink.js";
6
7
  import t from "./Link.js";
7
8
  function c() {
@@ -2,6 +2,7 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import t from "react";
3
3
  import { Flex as r } from "../Layout/Flex/Flex.js";
4
4
  import { Text as i } from "../Text/Text.js";
5
+ import "../ui.js";
5
6
  import { Logos as c } from "./index.js";
6
7
  function d() {
7
8
  return /* @__PURE__ */ l(r, { gap: "xlarge", vertical: !0, children: [
@@ -424,7 +425,7 @@ function d() {
424
425
  ] })
425
426
  ] });
426
427
  }
427
- const g = t.memo(d);
428
+ const x = t.memo(d);
428
429
  export {
429
- g as default
430
+ x as default
430
431
  };
@@ -6,6 +6,7 @@ import "../Button/LinkButton.js";
6
6
  import x from "../IconButton/IconButton.js";
7
7
  import { Overlay as t } from "../Overlay/Overlay.js";
8
8
  import { Text as m } from "../Text/Text.js";
9
+ import "../ui.js";
9
10
  import { clsx as s } from "../../utils/clsx.js";
10
11
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
11
12
  import { useKeyboardClose as y } from "../../utils/hooks/useKeyboardClose.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import l from "react";
3
- import { F as _ } from "../../Combination-BRUj3CHE.js";
3
+ import { F as _ } from "../../Combination-Cbiw1XRb.js";
4
4
  import { Interactive as d } from "../Interactive/Interactive.js";
5
5
  import { clsx as a } from "../../utils/clsx.js";
6
6
  import "../../utils/hooks/useGlobalKeyboardEvent.js";
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { IconSize } from '../Icon';
3
2
  import { InputSize } from '../Input';
3
+ import { ResponsiveValueType } from '../ui';
4
4
 
5
5
  export interface SelectOption<T> {
6
6
  value: T;
@@ -13,8 +13,7 @@ export interface SelectProps<T = string> {
13
13
  className?: string;
14
14
  placeholder?: React.ReactNode;
15
15
  disabled?: boolean;
16
- size?: InputSize;
16
+ size?: ResponsiveValueType<InputSize>;
17
17
  fullWidth?: boolean;
18
18
  }
19
- export declare const ICON_SIZE_MAP: Record<InputSize, IconSize>;
20
19
  export declare const Select: React.ForwardRefExoticComponent<SelectProps<string> & React.RefAttributes<unknown>>;