@cfx-dev/ui-components 5.0.22 → 5.0.23
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/CarouselControls-CJ3tupLr.js +41 -0
- package/dist/Combination-BNueeiCk.js +2227 -0
- package/dist/{Combination-N-vN9BB-.js → Combination-DFRGuWx2.js} +50 -48
- package/dist/{DropdownContent-BTzahw95.js → DropdownContent-DCqFWnzj.js} +10 -10
- package/dist/assets/all_css.css +2 -1
- package/dist/assets/css/Button.css +1 -1
- package/dist/assets/css/CarouselControls.css +1 -0
- package/dist/assets/css/CarouselItem.css +1 -0
- package/dist/assets/css/RangeInput.css +1 -1
- package/dist/assets/css/Text.css +1 -1
- package/dist/assets/general/global.css +1 -1
- package/dist/assets/general/themes.css +1 -1
- package/dist/cfxIcons-YyDWNxmM.js +110 -0
- package/dist/cfxIconsXLarge-Dw37ZSw2.js +110 -0
- package/dist/components/Accordion/AccordionShowcase.js +2 -2
- package/dist/components/Badge/BadgeShowcase.js +3 -3
- package/dist/components/BurgerMenu/BurgerMenuShowcase.js +4 -4
- package/dist/components/Carousel/Carousel.d.ts +24 -0
- package/dist/components/Carousel/Carousel.js +125 -0
- package/dist/components/Carousel/Carousel.types.d.ts +41 -0
- package/dist/components/Carousel/Carousel.types.js +1 -0
- package/dist/components/Carousel/CarouselControls.d.ts +8 -0
- package/dist/components/Carousel/CarouselControls.js +8 -0
- package/dist/components/Carousel/CarouselItem.d.ts +11 -0
- package/dist/components/Carousel/CarouselItem.js +85 -0
- package/dist/components/Carousel/CarouselShowcase.d.ts +6 -0
- package/dist/components/Carousel/CarouselShowcase.js +177 -0
- package/dist/components/Carousel/index.d.ts +4 -0
- package/dist/components/Carousel/index.js +6 -0
- package/dist/components/Carousel/playIcon.d.ts +6 -0
- package/dist/components/Carousel/playIcon.js +25 -0
- package/dist/components/Checkbox/Checkbox.js +7 -7
- package/dist/components/Checkbox/CheckboxShowcase.js +5 -5
- package/dist/components/ClipboardButton/ClipboardButton.js +9 -9
- package/dist/components/ControlBox/ControlBox.js +10 -10
- package/dist/components/Decorate/Decorate.js +5 -5
- package/dist/components/DropdownContent/DropdownContent.js +1 -1
- package/dist/components/DropdownContent/index.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +12 -12
- package/dist/components/DropdownSelect/DropdownSelect.js +1 -1
- package/dist/components/DropdownSelect/DropdownSelectShowcase.js +4 -4
- package/dist/components/Flex/FlexShowcase.js +4 -4
- package/dist/components/Flyout/Flyout.js +1 -1
- package/dist/components/Flyout/FlyoutShowcase.js +3 -3
- package/dist/components/FormField/FormFieldShowcase.js +1 -1
- package/dist/components/Icon/Icon.js +2 -2
- package/dist/components/Icons/IconsShowcase.js +1 -1
- package/dist/components/Icons/cfx-icons/Close.js +2 -2
- package/dist/components/Icons/cfx-icons/Copy.js +3 -3
- package/dist/components/Icons/cfx-icons/DownChevron.js +2 -2
- package/dist/components/Icons/cfx-icons/Filter.js +6 -6
- package/dist/components/Icons/cfx-icons/Heart.js +2 -2
- package/dist/components/Icons/cfx-icons/HeartFilled.js +2 -2
- package/dist/components/Icons/cfx-icons/LeftArrow.js +2 -2
- package/dist/components/Icons/cfx-icons/LeftChevron.js +2 -2
- package/dist/components/Icons/cfx-icons/MoreInfo.js +4 -4
- package/dist/components/Icons/cfx-icons/Play.js +5 -5
- package/dist/components/Icons/cfx-icons/Plus.js +2 -2
- package/dist/components/Icons/cfx-icons/Refresh.js +3 -3
- package/dist/components/Icons/cfx-icons/Search.js +2 -2
- package/dist/components/Icons/cfx-icons/ServerList.js +2 -2
- package/dist/components/Icons/cfx-icons/ServerReconnect.js +7 -7
- package/dist/components/Icons/cfx-icons/Square.js +3 -3
- package/dist/components/Icons/cfx-icons/SquareFilled.js +7 -7
- package/dist/components/Icons/cfx-icons/Trash.js +2 -2
- package/dist/components/Icons/cfx-icons/Undo.js +3 -3
- package/dist/components/Icons/cfx-icons/User.js +5 -5
- package/dist/components/Icons/cfx-icons/Users.js +3 -3
- package/dist/components/Icons/cfx-icons/Verified.js +4 -4
- package/dist/components/Icons/cfx-icons/Warning.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/Close.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/Copy.js +3 -3
- package/dist/components/Icons/cfx-iconsXLarge/DownChevron.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/Filter.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/Heart.js +5 -5
- package/dist/components/Icons/cfx-iconsXLarge/HeartFilled.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/LeftArrow.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/LeftChevron.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/MoreInfo.js +4 -4
- package/dist/components/Icons/cfx-iconsXLarge/Play.js +5 -5
- package/dist/components/Icons/cfx-iconsXLarge/Plus.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/Refresh.js +3 -3
- package/dist/components/Icons/cfx-iconsXLarge/Search.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/ServerList.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/ServerReconnect.js +7 -7
- package/dist/components/Icons/cfx-iconsXLarge/Square.js +3 -3
- package/dist/components/Icons/cfx-iconsXLarge/SquareFilled.js +4 -4
- package/dist/components/Icons/cfx-iconsXLarge/Trash.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/Undo.js +4 -4
- package/dist/components/Icons/cfx-iconsXLarge/User.js +5 -5
- package/dist/components/Icons/cfx-iconsXLarge/Users.js +3 -3
- package/dist/components/Icons/cfx-iconsXLarge/Verified.js +4 -4
- package/dist/components/Icons/cfx-iconsXLarge/VisibilityOff.js +2 -2
- package/dist/components/Icons/cfx-iconsXLarge/Warning.js +2 -2
- package/dist/components/Icons/index.js +2 -2
- package/dist/components/InfoPanel/InfoPanelShowcase.js +9 -9
- package/dist/components/Input/InputShowcase.js +19 -19
- package/dist/components/Input/RichInput.js +1 -1
- package/dist/components/InputDropzone/InputDropzone.js +340 -304
- package/dist/components/Link/LinkShowcase.js +5 -5
- package/dist/components/Logos/LogosShowcase.js +2 -2
- package/dist/components/Logos/cfx/Icon.js +7 -7
- package/dist/components/Logos/cfx/Logo.js +3 -3
- package/dist/components/Logos/cfx/Wordmark.js +2 -2
- package/dist/components/Logos/discord/Icon.js +5 -5
- package/dist/components/Logos/fivem/Icon.js +2 -2
- package/dist/components/Logos/fivem/WhiteLogo.js +2 -2
- package/dist/components/Logos/github/Icon.js +7 -7
- package/dist/components/Logos/google/Icon.js +6 -6
- package/dist/components/Logos/google/Wordmark.js +3 -3
- package/dist/components/Logos/index.js +7 -7
- package/dist/components/Logos/patreon/Icon.js +7 -7
- package/dist/components/Logos/patreon/Wordmark.js +5 -5
- package/dist/components/Logos/redm/CompositeLogo.js +2 -2
- package/dist/components/Logos/rockstar/Icon.js +2 -2
- package/dist/components/Logos/tebex/Icon.js +7 -7
- package/dist/components/Logos/tebex/Wordmark.js +2 -2
- package/dist/components/Logos/x/Icon.js +3 -3
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/ModalShowcase.js +3 -3
- package/dist/components/OnScreenSensor.js +1 -1
- package/dist/components/Overlay/Overlay.js +1 -1
- package/dist/components/Popover/PopoverShowcase.js +6 -6
- package/dist/components/Prose/Prose.js +3 -3
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Scrollable/ScrollableShowcase.js +2 -2
- package/dist/components/Select/Select.js +109 -109
- package/dist/components/Select/SelectShowcase.js +21 -21
- package/dist/components/Skeleton/SkeletonShowcase.js +4 -4
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Switch/Switch.js +14 -14
- package/dist/components/TableResponsiveText/TableResponsiveText.js +2 -2
- package/dist/components/Tabular/TabularShowcase.js +12 -12
- package/dist/{index-CfQtbUfi.js → index-8cuIcSMB.js} +5 -5
- package/dist/index-BcJ929FX.js +20 -0
- package/dist/{index-kbBuAY0m.js → index-BcnrbBqR.js} +2 -2
- package/dist/{index-BgyFvlVL.js → index-Bg26abkD.js} +2 -2
- package/dist/{index-9LBuZ7x4.js → index-BzirdFxK.js} +5 -5
- package/dist/{index-Cl_RnsqN.js → index-CUyjBl1Y.js} +2 -2
- package/dist/index-CZVyC53C.js +20 -0
- package/dist/{index-DwfZyjnS.js → index-CaQzR2YA.js} +2 -2
- package/dist/{index-D5SMGei3.js → index-CzUzkeQx.js} +9 -9
- package/dist/{index-Cy4ZbWBL.js → index-DqqOUOlj.js} +2 -2
- package/dist/{index-3ctv5u9o.js → index-DwdZ_SPo.js} +2 -2
- package/dist/{index-Bj7QGXdt.js → index-DxFgF-nY.js} +2 -2
- package/dist/main.d.ts +11 -2
- package/dist/main.js +279 -257
- package/dist/utils/contexts/AnalyticsContext/AnalyticsContext.d.ts +12 -0
- package/dist/utils/contexts/AnalyticsContext/AnalyticsContext.js +9 -0
- package/dist/utils/contexts/AnalyticsContext/AnalyticsProvider.d.ts +9 -0
- package/dist/utils/contexts/AnalyticsContext/AnalyticsProvider.js +33 -0
- package/dist/utils/contexts/AnalyticsContext/index.d.ts +6 -0
- package/dist/utils/contexts/AnalyticsContext/index.js +10 -0
- package/dist/utils/contexts/AnalyticsContext/useAnalytics.d.ts +1 -0
- package/dist/utils/contexts/AnalyticsContext/useAnalytics.js +8 -0
- package/dist/utils/contexts/AnalyticsContext/useSiteLinkClick.d.ts +7 -0
- package/dist/utils/contexts/AnalyticsContext/useSiteLinkClick.js +22 -0
- package/dist/utils/contexts/MediaQueryContext/MediaQueryContext.d.ts +11 -0
- package/dist/utils/contexts/MediaQueryContext/MediaQueryContext.js +11 -0
- package/dist/utils/contexts/MediaQueryContext/MediaQueryContextProvider.d.ts +6 -0
- package/dist/utils/contexts/MediaQueryContext/MediaQueryContextProvider.js +38 -0
- package/dist/utils/contexts/MediaQueryContext/index.d.ts +4 -0
- package/dist/utils/contexts/MediaQueryContext/index.js +8 -0
- package/dist/utils/contexts/MediaQueryContext/useMediaQuery.d.ts +2 -0
- package/dist/utils/contexts/MediaQueryContext/useMediaQuery.js +8 -0
- package/dist/utils/contexts/StoreContext/StoreContext.d.ts +15 -0
- package/dist/utils/contexts/StoreContext/StoreContext.js +21 -0
- package/dist/utils/contexts/StoreContext/index.d.ts +2 -0
- package/dist/utils/contexts/StoreContext/index.js +4 -0
- package/dist/utils/formatBytes.d.ts +1 -0
- package/dist/utils/formatBytes.js +12 -0
- package/dist/utils/hooks/useCarousel.d.ts +11 -0
- package/dist/utils/hooks/useCarousel.js +1276 -0
- package/dist/utils/hooks/useOutlet.js +1 -1
- package/dist/utils/truncateWithEllipsis.d.ts +1 -0
- package/dist/utils/truncateWithEllipsis.js +6 -0
- package/package.json +2 -1
- package/dist/Combination-CcTTSYNP.js +0 -2209
- package/dist/assets/css/CountryFlag.css +0 -1
- package/dist/cfxIcons-0xD_EEXT.js +0 -110
- package/dist/cfxIconsXLarge-D0vz6Yd_.js +0 -110
- package/dist/components/CountryFlag/CountryFlag.d.ts +0 -12
- package/dist/components/CountryFlag/CountryFlag.js +0 -25
- package/dist/components/CountryFlag/index.d.ts +0 -2
- package/dist/components/CountryFlag/index.js +0 -4
- package/dist/index-B_NGoq0d.js +0 -20
- package/dist/index-Cn_D8a9-.js +0 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function
|
|
2
|
+
import t from "react";
|
|
3
|
+
function C(r) {
|
|
4
4
|
return /* @__PURE__ */ o(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -20,7 +20,7 @@ function t(r) {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const i =
|
|
23
|
+
const i = t.memo(C);
|
|
24
24
|
export {
|
|
25
25
|
i as default
|
|
26
26
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
function
|
|
3
|
+
function t(r) {
|
|
4
4
|
return /* @__PURE__ */ o(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -20,7 +20,7 @@ function n(r) {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const i = e.memo(
|
|
23
|
+
const i = e.memo(t);
|
|
24
24
|
export {
|
|
25
25
|
i as default
|
|
26
26
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
function
|
|
3
|
+
function e(C) {
|
|
4
4
|
return /* @__PURE__ */ t(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -17,7 +17,7 @@ function o(C) {
|
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
|
-
const i = r.memo(
|
|
20
|
+
const i = r.memo(e);
|
|
21
21
|
export {
|
|
22
22
|
i as default
|
|
23
23
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function o(
|
|
2
|
+
import C from "react";
|
|
3
|
+
function o(t) {
|
|
4
4
|
return /* @__PURE__ */ r(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
viewBox: "0 0 64 64",
|
|
8
8
|
fill: "currentColor",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
...
|
|
10
|
+
...t,
|
|
11
11
|
children: /* @__PURE__ */ r(
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
@@ -18,7 +18,7 @@ function o(C) {
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const L = C.memo(o);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
L as default
|
|
24
24
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function
|
|
2
|
+
import e from "react";
|
|
3
|
+
function t(r) {
|
|
4
4
|
return /* @__PURE__ */ o(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -20,7 +20,7 @@ function e(r) {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const f = e.memo(t);
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
f as default
|
|
26
26
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function o(
|
|
2
|
+
import C from "react";
|
|
3
|
+
function o(l) {
|
|
4
4
|
return /* @__PURE__ */ e(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
viewBox: "0 0 64 64",
|
|
8
8
|
fill: "currentColor",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
...
|
|
10
|
+
...l,
|
|
11
11
|
children: /* @__PURE__ */ e(
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
@@ -19,7 +19,7 @@ function o(C) {
|
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const d = C.memo(o);
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
d as default
|
|
25
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function
|
|
2
|
+
import e from "react";
|
|
3
|
+
function o(r) {
|
|
4
4
|
return /* @__PURE__ */ C(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -20,7 +20,7 @@ function e(r) {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const s =
|
|
23
|
+
const s = e.memo(o);
|
|
24
24
|
export {
|
|
25
25
|
s as default
|
|
26
26
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
function
|
|
4
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import C from "react";
|
|
3
|
+
function t(r) {
|
|
4
|
+
return /* @__PURE__ */ e(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
viewBox: "0 0 64 64",
|
|
8
8
|
fill: "currentColor",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
...
|
|
11
|
-
children: /* @__PURE__ */
|
|
10
|
+
...r,
|
|
11
|
+
children: /* @__PURE__ */ e(
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
14
14
|
d: "M56 32C56 45.23 45.23 56 32 56C18.77 56 8 45.23 8 32C8 18.77 18.77 8 32 8C39.66 8 46.68 11.59 51.17 17.57V10C51.17 8.9 52.07 8 53.17 8C54.27 8 55.17 8.9 55.17 10V22C55.17 23.1 54.27 24 53.17 24H41.17C40.07 24 39.17 23.1 39.17 22C39.17 20.9 40.07 20 41.17 20H47.99C44.25 15 38.39 12 32 12C20.97 12 12 20.97 12 32C12 43.03 20.97 52 32 52C43.03 52 52 43.03 52 32C52 30.9 52.9 30 54 30C55.1 30 56 30.9 56 32ZM27.96 23.91C26.63 23.08 24.9 24.03 24.9 25.61V38.39C24.9 39.96 26.63 40.92 27.96 40.09L38.19 33.71C39.44 32.93 39.45 31.1 38.19 30.32L27.96 23.92V23.91Z",
|
|
@@ -18,7 +18,7 @@ function o(C) {
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
const c =
|
|
21
|
+
const c = C.memo(t);
|
|
22
22
|
export {
|
|
23
23
|
c as default
|
|
24
24
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function
|
|
2
|
+
import e from "react";
|
|
3
|
+
function o(t) {
|
|
4
4
|
return /* @__PURE__ */ r(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -17,7 +17,7 @@ function e(t) {
|
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
|
-
const l =
|
|
20
|
+
const l = e.memo(o);
|
|
21
21
|
export {
|
|
22
22
|
l as default
|
|
23
23
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function t(
|
|
2
|
+
import o from "react";
|
|
3
|
+
function t(e) {
|
|
4
4
|
return /* @__PURE__ */ r(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
viewBox: "0 0 64 64",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
...
|
|
9
|
+
...e,
|
|
10
10
|
children: /* @__PURE__ */ r(
|
|
11
11
|
"path",
|
|
12
12
|
{
|
|
@@ -20,7 +20,7 @@ function t(o) {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const i =
|
|
23
|
+
const i = o.memo(t);
|
|
24
24
|
export {
|
|
25
25
|
i as default
|
|
26
26
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function
|
|
2
|
+
import t from "react";
|
|
3
|
+
function C(r) {
|
|
4
4
|
return /* @__PURE__ */ o(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -20,7 +20,7 @@ function t(r) {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const d = t.memo(C);
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
d as default
|
|
26
26
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function t
|
|
2
|
+
import C from "react";
|
|
3
|
+
function o(t) {
|
|
4
4
|
return /* @__PURE__ */ r(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
viewBox: "0 0 64 64",
|
|
8
8
|
fill: "currentColor",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
...
|
|
10
|
+
...t,
|
|
11
11
|
children: /* @__PURE__ */ r(
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
@@ -18,7 +18,7 @@ function t(C) {
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const s = C.memo(o);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
s as default
|
|
24
24
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function
|
|
2
|
+
import t from "react";
|
|
3
|
+
function o(r) {
|
|
4
4
|
return /* @__PURE__ */ C(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -18,7 +18,7 @@ function t(r) {
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
const l =
|
|
21
|
+
const l = t.memo(o);
|
|
22
22
|
export {
|
|
23
23
|
l as default
|
|
24
24
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function t(
|
|
2
|
+
import r from "react";
|
|
3
|
+
function t(e) {
|
|
4
4
|
return /* @__PURE__ */ C(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
viewBox: "0 0 64 64",
|
|
8
8
|
fill: "currentColor",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
...
|
|
10
|
+
...e,
|
|
11
11
|
children: /* @__PURE__ */ C(
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
@@ -17,7 +17,7 @@ function t(r) {
|
|
|
17
17
|
}
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
|
-
const f =
|
|
20
|
+
const f = r.memo(t);
|
|
21
21
|
export {
|
|
22
22
|
f as default
|
|
23
23
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
function
|
|
3
|
+
function t(C) {
|
|
4
4
|
return /* @__PURE__ */ r(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
@@ -20,7 +20,7 @@ function n(C) {
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
|
-
const i = o.memo(
|
|
23
|
+
const i = o.memo(t);
|
|
24
24
|
export {
|
|
25
25
|
i as default
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as s } from "../../cfxIcons-
|
|
2
|
-
import { I as a } from "../../cfxIconsXLarge-
|
|
1
|
+
import { I as s } from "../../cfxIcons-YyDWNxmM.js";
|
|
2
|
+
import { I as a } from "../../cfxIconsXLarge-Dw37ZSw2.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Icons,
|
|
5
5
|
a as IconsXLarge
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import o from "react";
|
|
3
3
|
import i from "../Flex/Flex.js";
|
|
4
4
|
import { Text as n } from "../Text/Text.js";
|
|
5
5
|
import "../../utils/ui/ui.js";
|
|
@@ -8,33 +8,33 @@ import c from "./InfoPanel.js";
|
|
|
8
8
|
function l() {
|
|
9
9
|
return /* @__PURE__ */ e(n, { size: "small", children: t });
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const a = () => {
|
|
12
12
|
};
|
|
13
13
|
function d() {
|
|
14
14
|
return /* @__PURE__ */ r(i, { gap: "large", vertical: !0, children: [
|
|
15
15
|
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
16
16
|
/* @__PURE__ */ e(n, { children: "Default" }),
|
|
17
|
-
/* @__PURE__ */ e(c, { onClick:
|
|
17
|
+
/* @__PURE__ */ e(c, { onClick: a, icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
|
|
18
18
|
] }),
|
|
19
19
|
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
20
20
|
/* @__PURE__ */ e(n, { children: "Success" }),
|
|
21
|
-
/* @__PURE__ */ e(c, { onClick:
|
|
21
|
+
/* @__PURE__ */ e(c, { onClick: a, type: "success", icon: "Close", children: /* @__PURE__ */ e(l, {}) })
|
|
22
22
|
] }),
|
|
23
23
|
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
24
24
|
/* @__PURE__ */ e(n, { children: "Error" }),
|
|
25
|
-
/* @__PURE__ */ e(c, { onClick:
|
|
25
|
+
/* @__PURE__ */ e(c, { onClick: a, type: "error", icon: "Users", children: /* @__PURE__ */ e(l, {}) })
|
|
26
26
|
] }),
|
|
27
27
|
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
28
28
|
/* @__PURE__ */ e(n, { children: "Warning" }),
|
|
29
|
-
/* @__PURE__ */ e(c, { onClick:
|
|
29
|
+
/* @__PURE__ */ e(c, { onClick: a, type: "warning", icon: "Search", children: /* @__PURE__ */ e(l, {}) })
|
|
30
30
|
] }),
|
|
31
31
|
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
32
32
|
/* @__PURE__ */ e(n, { children: "Small" }),
|
|
33
|
-
/* @__PURE__ */ e(c, { onClick:
|
|
33
|
+
/* @__PURE__ */ e(c, { onClick: a, size: "small", icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
|
|
34
34
|
] }),
|
|
35
35
|
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
36
36
|
/* @__PURE__ */ e(n, { children: "Large" }),
|
|
37
|
-
/* @__PURE__ */ e(c, { onClick:
|
|
37
|
+
/* @__PURE__ */ e(c, { onClick: a, size: "large", icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
|
|
38
38
|
] }),
|
|
39
39
|
/* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
|
|
40
40
|
/* @__PURE__ */ e(n, { children: "Not interactive" }),
|
|
@@ -42,7 +42,7 @@ function d() {
|
|
|
42
42
|
] })
|
|
43
43
|
] });
|
|
44
44
|
}
|
|
45
|
-
const v =
|
|
45
|
+
const v = o.memo(d);
|
|
46
46
|
export {
|
|
47
47
|
v as default
|
|
48
48
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import i from "react";
|
|
3
3
|
import l from "../Flex/Flex.js";
|
|
4
4
|
import { FormField as a } from "../FormField/FormField.js";
|
|
5
5
|
import { Text as c } from "../Text/Text.js";
|
|
6
6
|
import "../../utils/ui/ui.js";
|
|
7
|
-
import
|
|
7
|
+
import d from "./Input.js";
|
|
8
8
|
const s = /^\+?[0-9]*$/;
|
|
9
9
|
function v() {
|
|
10
|
-
const [o, n] =
|
|
10
|
+
const [o, n] = i.useState(""), [u, p] = i.useState(0), [h, t] = i.useState("");
|
|
11
11
|
return /* @__PURE__ */ r(l, { gap: "large", vertical: !0, children: [
|
|
12
12
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
13
13
|
/* @__PURE__ */ e(c, { children: "Default" }),
|
|
14
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
14
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(d, { placeholder: "Placeholder" }) })
|
|
15
15
|
] }),
|
|
16
16
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
17
17
|
/* @__PURE__ */ e(c, { children: "Success" }),
|
|
@@ -20,13 +20,13 @@ function v() {
|
|
|
20
20
|
{
|
|
21
21
|
state: "success",
|
|
22
22
|
message: "This is a success message",
|
|
23
|
-
children: /* @__PURE__ */ e(
|
|
23
|
+
children: /* @__PURE__ */ e(d, { placeholder: "Placeholder" })
|
|
24
24
|
}
|
|
25
25
|
) })
|
|
26
26
|
] }),
|
|
27
27
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
28
28
|
/* @__PURE__ */ e(c, { children: "Error" }),
|
|
29
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(a, { state: "error", message: "This is an error message", children: /* @__PURE__ */ e(
|
|
29
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(a, { state: "error", message: "This is an error message", children: /* @__PURE__ */ e(d, { placeholder: "Placeholder", state: "error" }) }) })
|
|
30
30
|
] }),
|
|
31
31
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
32
32
|
/* @__PURE__ */ e(c, { children: "Label" }),
|
|
@@ -37,35 +37,35 @@ function v() {
|
|
|
37
37
|
icon: "MoreInfo",
|
|
38
38
|
required: !0,
|
|
39
39
|
title: "title",
|
|
40
|
-
children: /* @__PURE__ */ e(
|
|
40
|
+
children: /* @__PURE__ */ e(d, { placeholder: "Placeholder" })
|
|
41
41
|
}
|
|
42
42
|
) })
|
|
43
43
|
] }),
|
|
44
44
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
45
45
|
/* @__PURE__ */ e(c, { children: "Disabled" }),
|
|
46
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
47
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
46
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(d, { placeholder: "Placeholder", disabled: !0 }) }),
|
|
47
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(d, { placeholder: "Placeholder", disabled: !0, value: "Some input value" }) })
|
|
48
48
|
] }),
|
|
49
49
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
50
50
|
/* @__PURE__ */ e(c, { children: "With placrholder icon" }),
|
|
51
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
51
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(d, { placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
52
52
|
] }),
|
|
53
53
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
54
54
|
/* @__PURE__ */ e(c, { children: "BackdropBlur" }),
|
|
55
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
55
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(d, { backdropBlur: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
56
56
|
] }),
|
|
57
57
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
58
58
|
/* @__PURE__ */ e(c, { children: "Full width" }),
|
|
59
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
59
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(d, { fullWidth: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
60
60
|
] }),
|
|
61
61
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
62
62
|
/* @__PURE__ */ e(c, { children: "Loading" }),
|
|
63
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
63
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(d, { disabled: !0, loading: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
|
|
64
64
|
] }),
|
|
65
65
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
66
66
|
/* @__PURE__ */ e(c, { children: "With phone pattern Regex" }),
|
|
67
67
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
68
|
-
|
|
68
|
+
d,
|
|
69
69
|
{
|
|
70
70
|
pattern: s,
|
|
71
71
|
placeholder: "Placeholder",
|
|
@@ -78,7 +78,7 @@ function v() {
|
|
|
78
78
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
79
79
|
/* @__PURE__ */ e(c, { children: "Decorator" }),
|
|
80
80
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
81
|
-
|
|
81
|
+
d,
|
|
82
82
|
{
|
|
83
83
|
placeholder: "Placeholder",
|
|
84
84
|
placeholderIcon: "Tick",
|
|
@@ -89,7 +89,7 @@ function v() {
|
|
|
89
89
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
90
90
|
/* @__PURE__ */ e(c, { children: "Type Number input with min=1 max=100" }),
|
|
91
91
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
92
|
-
|
|
92
|
+
d,
|
|
93
93
|
{
|
|
94
94
|
placeholder: "Placeholder",
|
|
95
95
|
placeholderIcon: "Tick",
|
|
@@ -104,7 +104,7 @@ function v() {
|
|
|
104
104
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
105
105
|
/* @__PURE__ */ e(c, { children: "Type search" }),
|
|
106
106
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
107
|
-
|
|
107
|
+
d,
|
|
108
108
|
{
|
|
109
109
|
placeholder: "Placeholder",
|
|
110
110
|
placeholderIcon: "Search",
|
|
@@ -117,7 +117,7 @@ function v() {
|
|
|
117
117
|
/* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
|
|
118
118
|
/* @__PURE__ */ e(c, { children: "Theme onlight" }),
|
|
119
119
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
120
|
-
|
|
120
|
+
d,
|
|
121
121
|
{
|
|
122
122
|
placeholder: "Placeholder",
|
|
123
123
|
placeholderIcon: "Search",
|
|
@@ -130,7 +130,7 @@ function v() {
|
|
|
130
130
|
] })
|
|
131
131
|
] });
|
|
132
132
|
}
|
|
133
|
-
const k =
|
|
133
|
+
const k = i.memo(v);
|
|
134
134
|
export {
|
|
135
135
|
k as default
|
|
136
136
|
};
|
|
@@ -6,7 +6,7 @@ import "../../utils/links.js";
|
|
|
6
6
|
import { useDynamicRef as u } from "../../utils/hooks/useDynamicRef.js";
|
|
7
7
|
import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
8
8
|
import "../../utils/hooks/useKeyboardClose.js";
|
|
9
|
-
import "../../index-
|
|
9
|
+
import "../../index-CUyjBl1Y.js";
|
|
10
10
|
import { ui as T } from "../../utils/ui/ui.js";
|
|
11
11
|
const j = "cfxui__RichInput__root__57e6e", w = "cfxui__RichInput__renderer__8b298", z = "cfxui__RichInput__clear__5538b", c = {
|
|
12
12
|
root: j,
|