@alixpartners/ui-components 2.6.1 → 2.6.2
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/{RichTextEditor-JH6YBGiw.js → RichTextEditor-xCakhho7.js} +1 -1
- package/dist/{ToastProvider-DVycF0zU.js → ToastProvider-D5LImZ-Q.js} +26 -26
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.test.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.test.js +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/Checkbox/Checkbox.test.js +1 -1
- package/dist/components/CorusHeader/CorusHeader.d.ts +1 -1
- package/dist/components/CorusHeader/CorusHeader.js +1 -1
- package/dist/components/CorusHeader/DropdownItemContent.d.ts +1 -1
- package/dist/components/CorusHeader/DropdownItemContent.js +5 -5
- package/dist/components/CorusHeader/DropdownMenu.d.ts +1 -1
- package/dist/components/CorusHeader/DropdownMenu.js +1 -1
- package/dist/components/CorusHeader/MegaMenuContent.d.ts +1 -1
- package/dist/components/CorusHeader/MegaMenuContent.js +14 -14
- package/dist/components/CorusHeader/UserProfileIcon.d.ts +1 -1
- package/dist/components/Creatable/Creatable.d.ts +1 -1
- package/dist/components/Creatable/Creatable.js +1 -1
- package/dist/components/Datepicker/Datepicker.d.ts +1 -1
- package/dist/components/Datepicker/Datepicker.js +1 -1
- package/dist/components/Datepicker/Datepicker.test.js +1 -1
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/Dialog.js +204 -178
- package/dist/components/Dialog/Dialog.test.js +1 -1
- package/dist/components/DragAndDrop/DragAndDrop.d.ts +1 -1
- package/dist/components/DragAndDrop/DragAndDrop.test.js +2 -2
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/FilePicker/FilePicker.d.ts +9 -9
- package/dist/components/FilePicker/FilePicker.test.js +2 -2
- package/dist/components/Ghost/Ghost.d.ts +1 -1
- package/dist/components/Ghost/Ghost.test.js +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icons/IconsGallery.d.ts +1 -1
- package/dist/components/Illustration/Illustration.d.ts +1 -1
- package/dist/components/Illustration/Illustration.test.js +1 -1
- package/dist/components/Input/Input.test.js +1 -1
- package/dist/components/Logo/Logo.d.ts +1 -1
- package/dist/components/Logos/LogosGallery.d.ts +1 -1
- package/dist/components/NavBar/NavBar.d.ts +1 -1
- package/dist/components/NavBar/NavBar.js +1 -1
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.js +9 -9
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +11 -11
- package/dist/components/RadioGroup/RadioGroup.test.js +1 -1
- package/dist/components/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/dist/components/RichTextEditor/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor/RichTextEditor.test.js +2 -2
- package/dist/components/Search/Search.d.ts +1 -1
- package/dist/components/Search/Search.test.js +1 -1
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.js +3 -3
- package/dist/components/SplitButton/SplitButton.test.js +1 -1
- package/dist/components/Tab/Tab.d.ts +1 -1
- package/dist/components/TabNavigation/TabNavigation.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/Tag/Tag.test.js +1 -1
- package/dist/components/TagsFields/TagsFields.d.ts +1 -1
- package/dist/components/TagsFields/TagsFields.js +1 -1
- package/dist/components/Textarea/Textarea.d.ts +1 -1
- package/dist/components/Textarea/Textarea.test.js +1 -1
- package/dist/components/Toast/Toast.test.js +1 -1
- package/dist/components/ToastProvider/ToastProvider.d.ts +1 -2
- package/dist/components/ToastProvider/ToastProvider.js +1 -1
- package/dist/components/ToastProvider/ToastProvider.test.js +4 -4
- package/dist/components/Toggle/Toggle.d.ts +1 -1
- package/dist/components/Toggle/Toggle.js +126 -211
- package/dist/components/Toggle/Toggle.test.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +61 -60
- package/dist/{index-6DGSlWJb.js → index-C2s_VtSb.js} +3 -3
- package/dist/index-C8H9A55g.js +222 -0
- package/dist/{index-CcsZYEYy.js → index-CCFDXH-J.js} +28 -29
- package/dist/index-CCnm5-ML.js +230 -0
- package/dist/{index-BVZdJVFB.js → index-CFqDEbIR.js} +191 -192
- package/dist/index-CfIcUHKK.js +70 -0
- package/dist/index-ChQc_Cm6.js +1544 -0
- package/dist/index-CmGGeUr0.js +142 -0
- package/dist/{index-IR8HlW5P.js → index-D_L0ncPJ.js} +4 -4
- package/dist/{index-banDzeKa.js → index-DkTDHhag.js} +1 -1
- package/dist/index-Ii4UOx3H.js +599 -0
- package/dist/{index-6j3vTf--.js → index-Nyh2Wa71.js} +5 -5
- package/dist/index-z_kiwVc3.js +237 -0
- package/dist/main.js +3 -3
- package/dist/storybook-docs-page.d.ts +1 -1
- package/dist/{useToast-CpwrYPvx.js → useToast-Cz5MGKnw.js} +1 -1
- package/dist/{vi.bdSIJ99Y-DWCVXj6K.js → vi.bdSIJ99Y-017e_Pkz.js} +3 -3
- package/package.json +1 -1
- package/dist/index-B4szHVNJ.js +0 -248
- package/dist/index-Bq1FiX6B.js +0 -93
- package/dist/index-CE9NpYQR.js +0 -604
- package/dist/index-CHy8gqvu.js +0 -353
- package/dist/index-CarlZuEo.js +0 -1610
- package/dist/index-DH9SO8qV.js +0 -221
- package/dist/index-kgC_DL6e.js +0 -216
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function IconsGallery(): import("react").JSX.Element;
|
|
1
|
+
export default function IconsGallery(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IllustrationCategory, IllustrationLevel, IllustrationName, IllustrationProps } from './types';
|
|
2
|
-
export default function Illustration(props: IllustrationProps): import("react").JSX.Element | null;
|
|
2
|
+
export default function Illustration(props: IllustrationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
3
|
export type { IllustrationCategory, IllustrationLevel, IllustrationName, IllustrationProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as s, i as r, r as l, s as t, g as e } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d as s, i as r, r as l, s as t, g as e } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import a from "./Illustration.js";
|
|
4
4
|
s("Illustration", () => {
|
|
5
5
|
s("Levels 1 and 2", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { d as a, i as s, r as l, g as e, s as n, v as p, f as u } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d as a, i as s, r as l, g as e, s as n, v as p, f as u } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import o from "./Input.js";
|
|
4
4
|
a("Input", () => {
|
|
5
5
|
a("Rendering", () => {
|
|
@@ -4,5 +4,5 @@ type LogoProps = {
|
|
|
4
4
|
logo: ApLogo;
|
|
5
5
|
color?: 'black' | 'white' | 'gray' | 'green' | 'lightGreen';
|
|
6
6
|
} & DataAttributes;
|
|
7
|
-
export default function Logo({ logo, color, ...props }: LogoProps): import("react").JSX.Element | null;
|
|
7
|
+
export default function Logo({ logo, color, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function LogosGallery(): import("react").JSX.Element;
|
|
1
|
+
export default function LogosGallery(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -47,4 +47,4 @@ export type NavBarProps = {
|
|
|
47
47
|
* @param {UserProfile} [props.additionalItems.userProfile] - User profile configuration with initials and dropdown content
|
|
48
48
|
* @returns {JSX.Element} The rendered NavBar component
|
|
49
49
|
*/
|
|
50
|
-
export default function NavBar({ activeMenuItemHref, projectName, projectLogoIcon, projectLogoOnClick, projectTag, menuItems, menuButton, additionalItems, className, maxWidth, }: NavBarProps): import("react").JSX.Element;
|
|
50
|
+
export default function NavBar({ activeMenuItemHref, projectName, projectLogoIcon, projectLogoOnClick, projectTag, menuItems, menuButton, additionalItems, className, maxWidth, }: NavBarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ import f from "../Icon/Icon.js";
|
|
|
4
4
|
import { c as o } from "../../clsx-OuTLNxxd.js";
|
|
5
5
|
import K from "../Logo/Logo.js";
|
|
6
6
|
import { useState as u } from "react";
|
|
7
|
-
import { R as v, M as _, T as b, P as d, C as p, I as N } from "../../index-
|
|
7
|
+
import { R as v, M as _, T as b, P as d, C as p, I as N } from "../../index-D_L0ncPJ.js";
|
|
8
8
|
import '../../assets/NavBar.css';const n = {
|
|
9
9
|
"navbar-wrapper": "NavBar-module__navbar-wrapper___e-f8y",
|
|
10
10
|
"navbar-container": "NavBar-module__navbar-container___KnbUz",
|
|
@@ -6,5 +6,5 @@ type RadioProps = {
|
|
|
6
6
|
value?: string;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
} & DataAttributes & InteractiveEventHandlers;
|
|
9
|
-
export default function Radio({ label, value, disabled, ...props }: RadioProps): import("react").JSX.Element;
|
|
9
|
+
export default function Radio({ label, value, disabled, ...props }: RadioProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useId as r } from "react";
|
|
3
3
|
import { c as m } from "../../clsx-OuTLNxxd.js";
|
|
4
|
-
import {
|
|
5
|
-
import '../../assets/Radio.css';const _ = "Radio-module__item___3Kvj7", u = "Radio-module__indicator___TJ5hz", b = "Radio-module__label___c-sYW",
|
|
4
|
+
import { I as c, a as n } from "../../index-CCnm5-ML.js";
|
|
5
|
+
import '../../assets/Radio.css';const _ = "Radio-module__item___3Kvj7", u = "Radio-module__indicator___TJ5hz", b = "Radio-module__label___c-sYW", f = "Radio-module__disabled___RZ0be", a = {
|
|
6
6
|
item: _,
|
|
7
7
|
indicator: u,
|
|
8
8
|
label: b,
|
|
9
|
-
disabled:
|
|
9
|
+
disabled: f
|
|
10
10
|
};
|
|
11
11
|
function I({
|
|
12
|
-
label:
|
|
12
|
+
label: o,
|
|
13
13
|
value: d = "",
|
|
14
|
-
disabled:
|
|
14
|
+
disabled: i = !1,
|
|
15
15
|
...l
|
|
16
16
|
}) {
|
|
17
|
-
const
|
|
17
|
+
const t = r();
|
|
18
18
|
return /* @__PURE__ */ s("div", { style: {
|
|
19
19
|
display: "flex",
|
|
20
20
|
alignItems: "center"
|
|
21
21
|
}, children: [
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
22
|
+
/* @__PURE__ */ e(c, { className: m(a.item, i && a.disabled), value: d, id: t, disabled: i, "data-radio-item": !0, ...l, children: /* @__PURE__ */ e(n, { "data-radio-item-indicator": !0, className: a.indicator }) }),
|
|
23
|
+
/* @__PURE__ */ e("label", { className: a.label, htmlFor: t, children: o })
|
|
24
24
|
] });
|
|
25
25
|
}
|
|
26
26
|
export {
|
|
@@ -22,5 +22,5 @@ type RadioGroupProps = {
|
|
|
22
22
|
* @param {'vertical' | 'horizontal'} [props.orientation='vertical'] - Layout direction of the radio buttons
|
|
23
23
|
* @returns {JSX.Element} The rendered RadioGroup component
|
|
24
24
|
*/
|
|
25
|
-
export default function RadioGroup({ value, ariaLabel, onChange, disabled, children, className, orientation, ...props }: RadioGroupProps): import("react").JSX.Element;
|
|
25
|
+
export default function RadioGroup({ value, ariaLabel, onChange, disabled, children, className, orientation, ...props }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { c as p } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { useState as f } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import '../../assets/RadioGroup.css';const z = "RadioGroup-module__root___ewZw-",
|
|
4
|
+
import { R } from "../../index-CCnm5-ML.js";
|
|
5
|
+
import '../../assets/RadioGroup.css';const z = "RadioGroup-module__root___ewZw-", b = "RadioGroup-module__horizontal___QsBvv", h = "RadioGroup-module__disabled___n-nfI", t = {
|
|
6
6
|
root: z,
|
|
7
|
-
horizontal:
|
|
8
|
-
disabled:
|
|
7
|
+
horizontal: b,
|
|
8
|
+
disabled: h
|
|
9
9
|
};
|
|
10
10
|
function w({
|
|
11
11
|
value: r,
|
|
12
12
|
ariaLabel: s,
|
|
13
13
|
onChange: o,
|
|
14
|
-
disabled:
|
|
14
|
+
disabled: e = !1,
|
|
15
15
|
children: d,
|
|
16
16
|
className: i,
|
|
17
|
-
orientation:
|
|
17
|
+
orientation: l = "vertical",
|
|
18
18
|
...u
|
|
19
19
|
}) {
|
|
20
|
-
const [_, c] = f(r), m = (
|
|
21
|
-
c(
|
|
20
|
+
const [_, c] = f(r), m = (a) => {
|
|
21
|
+
c(a), o == null || o(a);
|
|
22
22
|
};
|
|
23
|
-
return /* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ n(R, { className: p(t.root, e && t.disabled, l === "horizontal" && t.horizontal, i), value: _, "aria-label": s, onValueChange: m, disabled: e, orientation: l, loop: !0, ...u, children: d });
|
|
24
24
|
}
|
|
25
25
|
export {
|
|
26
26
|
w as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as r, i as l, r as i, g as n, s as a, v as u, f as c } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d as r, i as l, r as i, g as n, s as a, v as u, f as c } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import d from "./RadioGroup.js";
|
|
4
4
|
import t from "../Radio/Radio.js";
|
|
5
5
|
r("RadioGroup", () => {
|
|
@@ -29,5 +29,5 @@ type RichTextEditorProps = {
|
|
|
29
29
|
onChange?: (value: string) => void;
|
|
30
30
|
onModelChange?: (model: RichTextDocumentModel) => void;
|
|
31
31
|
};
|
|
32
|
-
export default function RichTextEditor({ className, label, required, value, placeholder, disabled, errorMessage, helpText, helpLink, helpLinkText, toolbarLayout, showToolbar, showCharacterCount, maxCharacters, resizable, rows, fullWidth, tooltipEnabled, formatOptions, toolbarOptions, onChange, onModelChange, }: RichTextEditorProps): import("react").JSX.Element;
|
|
32
|
+
export default function RichTextEditor({ className, label, required, value, placeholder, disabled, errorMessage, helpText, helpLink, helpLinkText, toolbarLayout, showToolbar, showCharacterCount, maxCharacters, resizable, rows, fullWidth, tooltipEnabled, formatOptions, toolbarOptions, onChange, onModelChange, }: RichTextEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
export {};
|
|
@@ -5,8 +5,8 @@ import "../Dialog/Dialog.js";
|
|
|
5
5
|
import "../Icon/Icon.js";
|
|
6
6
|
import "../Input/Input.js";
|
|
7
7
|
import "../Tooltip/Tooltip.js";
|
|
8
|
-
import { R as l } from "../../RichTextEditor-
|
|
9
|
-
import "../../index-
|
|
8
|
+
import { R as l } from "../../RichTextEditor-xCakhho7.js";
|
|
9
|
+
import "../../index-CCFDXH-J.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d, i as a, r, g as t, s as e, f as c, w as b, v as u } from "../../vi.bdSIJ99Y-
|
|
3
|
-
import { s as i, R as n } from "../../RichTextEditor-
|
|
2
|
+
import { d, i as a, r, g as t, s as e, f as c, w as b, v as u } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
|
+
import { s as i, R as n } from "../../RichTextEditor-xCakhho7.js";
|
|
4
4
|
d("RichTextEditor", () => {
|
|
5
5
|
d("Rendering", () => {
|
|
6
6
|
a("renders label and required marker", () => {
|
|
@@ -29,5 +29,5 @@ type SearchInputProps = {
|
|
|
29
29
|
* @param {(value: string) => void} [props.onChange] - Callback fired when the search input value changes
|
|
30
30
|
* @returns {JSX.Element} The rendered Search component
|
|
31
31
|
*/
|
|
32
|
-
export default function Search({ label, value, placeholder, autofocus, inline, required, errorMessage, onChange, onSearchFocus, disabled, className, ...props }: SearchInputProps): import("react").JSX.Element;
|
|
32
|
+
export default function Search({ label, value, placeholder, autofocus, inline, required, errorMessage, onChange, onSearchFocus, disabled, className, ...props }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { d as u, i as o, r as i, g as t, s as n, v as p, f as d } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d as u, i as o, r as i, g as t, s as n, v as p, f as d } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import a from "./Search.js";
|
|
4
4
|
u("Search", () => {
|
|
5
5
|
u("Rendering", () => {
|
|
@@ -14,5 +14,5 @@ type SpinnerProps = {
|
|
|
14
14
|
* @param {string} [props.className] - Additional CSS classes to apply
|
|
15
15
|
* @returns {JSX.Element} The rendered Spinner component
|
|
16
16
|
*/
|
|
17
|
-
export default function Spinner({ size, color, className, ...props }: SpinnerProps): import("react").JSX.Element;
|
|
17
|
+
export default function Spinner({ size, color, className, ...props }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -14,5 +14,5 @@ type SplitButtonProps = {
|
|
|
14
14
|
loading?: boolean;
|
|
15
15
|
buttonLabel?: string;
|
|
16
16
|
} & DataAttributes & InteractiveEventHandlers;
|
|
17
|
-
export default function SplitButton({ type, trigger, size, actionOptions, disabled, loading, buttonLabel, className, ...props }: SplitButtonProps): import("react").JSX.Element;
|
|
17
|
+
export default function SplitButton({ type, trigger, size, actionOptions, disabled, loading, buttonLabel, className, ...props }: SplitButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -5,9 +5,9 @@ import * as p from "react";
|
|
|
5
5
|
import { useRef as U, useState as I, useEffect as $ } from "react";
|
|
6
6
|
import K from "../Icon/Icon.js";
|
|
7
7
|
import "../Input/Input.js";
|
|
8
|
-
import { u as j, P as H, c as v,
|
|
9
|
-
import { R as X, A as q, P as J, C as Q, I as Y, c as C, G as Z, L as ee, a as oe, b as ne, d as te, e as re, S as ae, f as ie, g as de, h as pe } from "../../index-
|
|
10
|
-
import { u as y } from "../../index-
|
|
8
|
+
import { u as j, P as H, c as v, a as F, b as V } from "../../index-z_kiwVc3.js";
|
|
9
|
+
import { R as X, A as q, P as J, C as Q, I as Y, c as C, G as Z, L as ee, a as oe, b as ne, d as te, e as re, S as ae, f as ie, g as de, h as pe } from "../../index-Ii4UOx3H.js";
|
|
10
|
+
import { u as y } from "../../index-C2s_VtSb.js";
|
|
11
11
|
import '../../assets/SplitButton.css';var D = "DropdownMenu", [se] = V(
|
|
12
12
|
D,
|
|
13
13
|
[C]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { d, i as c, r as l, s as e, g as t, f as g, v as b } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d, i as c, r as l, s as e, g as t, f as g, v as b } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import r from "./SplitButton.js";
|
|
4
4
|
d("SplitButton", () => {
|
|
5
5
|
const a = (i) => {
|
|
@@ -27,5 +27,5 @@ type TabProps = {
|
|
|
27
27
|
* @param {() => void} [props.onClick] - Callback fired when the tab is activated
|
|
28
28
|
* @returns {JSX.Element} The rendered Tab component
|
|
29
29
|
*/
|
|
30
|
-
export default function Tab({ label, numberCount, hasError, iconClassName, tag, active, disabled, onClick, className, ...props }: TabProps): import("react").JSX.Element;
|
|
30
|
+
export default function Tab({ label, numberCount, hasError, iconClassName, tag, active, disabled, onClick, className, ...props }: TabProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export {};
|
|
@@ -6,5 +6,5 @@ type TabNavigationProps = {
|
|
|
6
6
|
align?: 'left' | 'center' | 'right';
|
|
7
7
|
noUnderline?: boolean;
|
|
8
8
|
} & DataAttributes;
|
|
9
|
-
export default function TabNavigation({ children, align, className, noUnderline, ...props }: TabNavigationProps): import("react").JSX.Element;
|
|
9
|
+
export default function TabNavigation({ children, align, className, noUnderline, ...props }: TabNavigationProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -31,5 +31,5 @@ type TagProps = BaseTagProps & ({
|
|
|
31
31
|
* @param {() => void} [props.onClose] - Callback fired when the close button is clicked
|
|
32
32
|
* @returns {JSX.Element} The rendered Tag component
|
|
33
33
|
*/
|
|
34
|
-
export default function Tag({ type, size, structure, iconPosition, label, color, className, noIcon, onClose, ...props }: TagProps): import("react").JSX.Element;
|
|
34
|
+
export default function Tag({ type, size, structure, iconPosition, label, color, className, noIcon, onClose, ...props }: TagProps): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { d as c, i as o, r as l, g as e, s as t } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d as c, i as o, r as l, g as e, s as t } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import s from "./Tag.js";
|
|
4
4
|
c("Tag", () => {
|
|
5
5
|
c("Rendering", () => {
|
|
@@ -51,5 +51,5 @@ type TagsFieldsProps = {
|
|
|
51
51
|
* @param {DataAttributes} [props.data-*] - Additional `data-` attributes forwarded to the root element
|
|
52
52
|
* @returns {JSX.Element} The rendered TagsFields component
|
|
53
53
|
*/
|
|
54
|
-
export default function TagsFields({ className, label, options, value, disabled, required, searchable, searchPlaceholder, errorMessage, helpText, helpLink, helpLinkText, onChange, onSearch, multiSelect, grouped, align, dropdownMenuClassName, labelTooltip, unselect, selectedOptionLabel, selectedOptionsLabel, allOptionsSelectedLabel, caseSensitive, ...props }: TagsFieldsProps): import("react").JSX.Element;
|
|
54
|
+
export default function TagsFields({ className, label, options, value, disabled, required, searchable, searchPlaceholder, errorMessage, helpText, helpLink, helpLinkText, onChange, onSearch, multiSelect, grouped, align, dropdownMenuClassName, labelTooltip, unselect, selectedOptionLabel, selectedOptionsLabel, allOptionsSelectedLabel, caseSensitive, ...props }: TagsFieldsProps): import("react/jsx-runtime").JSX.Element;
|
|
55
55
|
export {};
|
|
@@ -5,7 +5,7 @@ import W from "../Icon/Icon.js";
|
|
|
5
5
|
import Ie from "../Button/Button.js";
|
|
6
6
|
import "../Input/Input.js";
|
|
7
7
|
import Fe from "../Tooltip/Tooltip.js";
|
|
8
|
-
import { R as ve, A as Te, P as Ne, C as Le } from "../../index-
|
|
8
|
+
import { R as ve, A as Te, P as Ne, C as Le } from "../../index-CCFDXH-J.js";
|
|
9
9
|
import '../../assets/TagsFields.css';const De = "TagsFields-module__dropdownContainer___GIsND", Ce = "TagsFields-module__dropdownLabel___AUP9W", ye = "TagsFields-module__dropdownLabelDisabled___hilvh", Oe = "TagsFields-module__required___Ybg21", ke = "TagsFields-module__dropdownWrapper___KxTZl", Re = "TagsFields-module__selectedItemsCreatable___Pnf8l", xe = "TagsFields-module__selectedItem___Tp6lp", Ae = "TagsFields-module__selectedItemLabel___SwoJL", Se = "TagsFields-module__removeButton___od0yh", We = "TagsFields-module__removeIcon___2WRCF", Ee = "TagsFields-module__singleSelectedCreatableItem___QwENt", Me = "TagsFields-module__singleSelectedCreatableItemRemoveButton___1PeN7", Ve = "TagsFields-module__dropdownActions___USb5V", Be = "TagsFields-module__dropdownArrow___JT9d3", Pe = "TagsFields-module__dropdownArrowOpen___jPfTk", je = "TagsFields-module__dropdownMenu___gPhtC", qe = "TagsFields-module__dropdownCreatableSearchContainer___mltcH", Ge = "TagsFields-module__disabled___1OfNF", ze = "TagsFields-module__dropdownCreatableError___R6oyD", Je = "TagsFields-module__creatableInput___qz9jI", Qe = "TagsFields-module__optionsList___qyawx", Ue = "TagsFields-module__categoryGroup___In039", Ye = "TagsFields-module__categoryDivider___eROv0", Ke = "TagsFields-module__categoryLabel___Cv2h5", He = "TagsFields-module__optionItem___UujFS", Xe = "TagsFields-module__optionItemDisabled___9gB8N", Ze = "TagsFields-module__optionItemFocused___4rsDt", $e = "TagsFields-module__optionContent___QSC9G", et = "TagsFields-module__optionLabel___N-fQ7", tt = "TagsFields-module__tickIcon___3uRY-", st = "TagsFields-module__noOptions___ugYj9", lt = "TagsFields-module__helpers___ab6f-", ot = "TagsFields-module__helpText___Qzdqh", dt = "TagsFields-module__helpTextDisabled___m-oFo", nt = "TagsFields-module__helpLink___JQDmR", at = "TagsFields-module__helpLinkDisabled___Nk1BX", rt = "TagsFields-module__errorMessage___b-ugf", t = {
|
|
10
10
|
dropdownContainer: De,
|
|
11
11
|
dropdownLabel: Ce,
|
|
@@ -38,5 +38,5 @@ type TextareaProps = {
|
|
|
38
38
|
* @param {TextareaLabelTooltipProps} [props.labelTooltip] - Tooltip to display next to the label
|
|
39
39
|
* @returns {JSX.Element} The rendered Textarea component
|
|
40
40
|
*/
|
|
41
|
-
export default function Textarea({ label, rows, cols, value, placeholder, required, errorMessage, disabled, onChange, maxLength, resize, autofocus, fullWidth, labelTooltip, className, ...props }: TextareaProps): import("react").JSX.Element;
|
|
41
|
+
export default function Textarea({ label, rows, cols, value, placeholder, required, errorMessage, disabled, onChange, maxLength, resize, autofocus, fullWidth, labelTooltip, className, ...props }: TextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { d, i as s, r as n, g as t, s as a, f as i, v as u } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d, i as s, r as n, g as t, s as a, f as i, v as u } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import o from "./Textarea.js";
|
|
4
4
|
d("Textarea", () => {
|
|
5
5
|
d("Rendering", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as l, i as a, r as n, g as e, s, w as i } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d as l, i as a, r as n, g as e, s, w as i } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import c from "./Toast.js";
|
|
4
4
|
const r = 200;
|
|
5
5
|
l("Toast", () => {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { ToastProviderProps } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* ToastProvider component for managing toast notifications programmatically.
|
|
@@ -17,4 +16,4 @@ import { ToastProviderProps } from './types';
|
|
|
17
16
|
* </ToastProvider>
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
20
|
-
export default function ToastProvider({ children, maxSnack, anchorOrigin, autoHideDuration, preventDuplicate, }: ToastProviderProps):
|
|
19
|
+
export default function ToastProvider({ children, maxSnack, anchorOrigin, autoHideDuration, preventDuplicate, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
2
|
-
import { d as h, b as I, i, r as a, g as n, s as e, v as g, w as r,
|
|
3
|
-
import { u as c } from "../../index-
|
|
2
|
+
import { d as h, b as I, i, r as a, g as n, s as e, v as g, w as r, a as k, c as B } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
|
+
import { u as c } from "../../index-DkTDHhag.js";
|
|
4
4
|
import { useRef as f, useEffect as v, useState as p } from "react";
|
|
5
|
-
import { T as l } from "../../ToastProvider-
|
|
6
|
-
import { u as T } from "../../useToast-
|
|
5
|
+
import { T as l } from "../../ToastProvider-D5LImZ-Q.js";
|
|
6
|
+
import { u as T } from "../../useToast-Cz5MGKnw.js";
|
|
7
7
|
function u({
|
|
8
8
|
onMount: s
|
|
9
9
|
}) {
|
|
@@ -21,5 +21,5 @@ type ToggleProps = {
|
|
|
21
21
|
* @param {(checked: CheckedState) => void} [props.onChange] - Callback fired when the toggle state changes
|
|
22
22
|
* @returns {JSX.Element} The rendered Toggle component
|
|
23
23
|
*/
|
|
24
|
-
export default function Toggle({ label, checked, disabled, labelPosition, onChange, className, ...props }: ToggleProps): import("react").JSX.Element;
|
|
24
|
+
export default function Toggle({ label, checked, disabled, labelPosition, onChange, className, ...props }: ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|