quirk-ui 0.0.10 → 0.0.12
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/components/Accordion/Accordion.test.js +2 -2
- package/dist/components/Alert/Alert.test.js +2 -2
- package/dist/components/Avatar/Avatar.test.js +2 -2
- package/dist/components/Badge/Badge.test.js +2 -2
- package/dist/components/Box/Box.test.js +2 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.test.js +2 -2
- package/dist/components/Button/Button.test.js +2 -2
- package/dist/components/ButtonGroup/ButtonGroup.test.js +2 -2
- package/dist/components/Calendar/Calendar.test.js +2 -2
- package/dist/components/Card/Card.test.js +2 -2
- package/dist/components/Carousel/Carousel.test.js +2 -2
- package/dist/components/Checkbox/Checkbox.test.js +2 -2
- package/dist/components/Container/Container.test.js +2 -2
- package/dist/components/DatePicker/DatePicker.test.js +2 -2
- package/dist/components/Divider/Divider.test.js +2 -2
- package/dist/components/Drawer/Drawer.test.js +2 -2
- package/dist/components/Fieldset/Fieldset.test.js +2 -2
- package/dist/components/FileUpload/FileUpload.test.js +2 -2
- package/dist/components/FloatingActionButton/FloatingActionButton.test.js +2 -2
- package/dist/components/Form/Form.test.js +2 -2
- package/dist/components/Grid/Grid.test.js +2 -2
- package/dist/components/Heading/Heading.test.js +2 -2
- package/dist/components/IconButton/IconButton.test.js +2 -2
- package/dist/components/Input/Input.test.js +2 -2
- package/dist/components/Label/Label.test.js +2 -2
- package/dist/components/Link/Link.test.js +2 -2
- package/dist/components/List/List.test.js +1 -1
- package/dist/components/Modal/Modal.test.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.test.js +2 -2
- package/dist/components/NavBar/NavBar.test.js +1 -1
- package/dist/components/Notification/Notification.test.js +1 -1
- package/dist/components/NotificationContainer/NotificationContainer.test.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.test.js +1 -1
- package/dist/components/Radio/Radio.test.js +2 -2
- package/dist/components/Range/Range.test.js +2 -2
- package/dist/components/Select/Select.test.js +2 -2
- package/dist/components/Skeleton/Skeleton.test.js +1 -1
- package/dist/components/Spacer/Spacer.test.js +2 -2
- package/dist/components/Spinner/Spinner.test.js +1 -1
- package/dist/components/Stack/Stack.test.js +2 -2
- package/dist/components/Switch/Switch.test.js +2 -2
- package/dist/components/Table/Table.test.js +2 -2
- package/dist/components/Tabs/Tabs.test.js +2 -2
- package/dist/components/Text/Text.test.js +2 -2
- package/dist/components/Textarea/Textarea.test.js +2 -2
- package/dist/components/Tooltip/Tooltip.test.js +2 -2
- package/dist/index-Cm3oD894.js +10216 -0
- package/dist/lib/components/Heading/index.d.ts +2 -0
- package/dist/utils/NotificationManager/NotificationManager.test.js +1 -1
- package/dist/vi.ClIskdbk-CZUVUGZN.js +41967 -0
- package/package.json +3 -2
- package/dist/index-CQnr_MAI.js +0 -4279
- package/dist/vi.B-PuvDzu-uHQO4Rlx.js +0 -47316
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { d, i as m, r, g as t, s as e, f as s } from "../../vi.
|
|
2
|
+
import { d, i as m, r, g as t, s as e, f as s } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Accordion as a } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
d("Accordion", () => {
|
|
6
6
|
const l = [
|
|
7
7
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as v, i as r, r as l, s as a, g as t, v as m, f as u, w as n } from "../../vi.
|
|
2
|
+
import { d as v, i as r, r as l, s as a, g as t, v as m, f as u, w as n } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Alert as i } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
v("Alert", () => {
|
|
6
6
|
r("renders the alert with the correct message and variant", () => {
|
|
7
7
|
l(/* @__PURE__ */ o(i, { message: "Info Alert", variant: "info" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { d as l, i as s, r as o, s as i, g as e, v as c, f as d } from "../../vi.
|
|
2
|
+
import { d as l, i as s, r as o, s as i, g as e, v as c, f as d } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Avatar as r } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
l("Avatar", () => {
|
|
6
6
|
s("renders an image when src is provided", () => {
|
|
7
7
|
o(/* @__PURE__ */ a(r, { src: "https://via.placeholder.com/150", alt: "User avatar" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as u, i as a, r as c, s as o, g as s, v as d, f as r } from "../../vi.
|
|
2
|
+
import { d as u, i as a, r as c, s as o, g as s, v as d, f as r } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Badge as l } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
import { P as i } from "../../plus-Cs7TaIK9.js";
|
|
6
6
|
u("Badge", () => {
|
|
7
7
|
a("renders default badge", () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as r, i as o, r as n, s, g as a } from "../../vi.
|
|
2
|
+
import { d as r, i as o, r as n, s, g as a } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Box as i } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
r("Box", () => {
|
|
6
6
|
o("renders with default props", () => {
|
|
7
7
|
n(/* @__PURE__ */ t(i, { children: "Content" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { d as m, i as r, r as o, s as n, g as t } from "../../vi.
|
|
2
|
+
import { d as m, i as r, r as o, s as n, g as t } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Breadcrumbs as l } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
m("Breadcrumbs", () => {
|
|
6
6
|
const a = [
|
|
7
7
|
{ label: "Home", href: "/" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { d as l, i as o, r as n, s as a, g as e, v as c, f as r } from "../../vi.
|
|
2
|
+
import { d as l, i as o, r as n, s as a, g as e, v as c, f as r } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Button as i } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
l("Button", () => {
|
|
6
6
|
o('renders with default "primary" variant', () => {
|
|
7
7
|
n(/* @__PURE__ */ s(i, { children: "Click me" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as a, i, r, g as n, s as c } from "../../vi.
|
|
2
|
+
import { d as a, i, r, g as n, s as c } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { ButtonGroup as s } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
a("ButtonGroup", () => {
|
|
6
6
|
i("renders children", () => {
|
|
7
7
|
r(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { d as D, i as s, r as l, g as n, s as a, v as m, f as d } from "../../vi.
|
|
2
|
+
import { d as D, i as s, r as l, g as n, s as a, v as m, f as d } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { f as y, C as r } from "../../index-C8O_LWE2.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
D("Calendar", () => {
|
|
6
6
|
s("renders the current month and year", () => {
|
|
7
7
|
const t = new Date(2025, 4, 15);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as l, i as n, r, g as t, s as e, v as a, f as d } from "../../vi.
|
|
2
|
+
import { d as l, i as n, r, g as t, s as e, v as a, f as d } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Card as i } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
l("Card", () => {
|
|
6
6
|
n("renders with title, content and footer", () => {
|
|
7
7
|
r(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { d as h, v as d, i as s, r as a, g as i, s as t, f as r } from "../../vi.
|
|
2
|
+
import { d as h, v as d, i as s, r as a, g as i, s as t, f as r } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Carousel as l } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
const c = [
|
|
6
6
|
/* @__PURE__ */ n("div", { children: "Slide 1" }, "1"),
|
|
7
7
|
/* @__PURE__ */ n("div", { children: "Slide 2" }, "2"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as n, i as b, r as s, g as c, s as o, v as h } from "../../vi.
|
|
2
|
+
import { d as n, i as b, r as s, g as c, s as o, v as h } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Checkbox as a } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
n("Checkbox", () => {
|
|
6
6
|
b("renders correctly", () => {
|
|
7
7
|
s(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { d as c, i as t, r as i, g as n, s as o } from "../../vi.
|
|
2
|
+
import { d as c, i as t, r as i, g as n, s as o } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Container as a } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
c("Container", () => {
|
|
6
6
|
t("renders children", () => {
|
|
7
7
|
i(/* @__PURE__ */ s(a, { children: "Test content" })), n(o.getByText("Test content")).toBeInTheDocument();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { v as r, d as k, i as c, r as d, g as t, s as a, f as l } from "../../vi.
|
|
2
|
+
import { v as r, d as k, i as c, r as d, g as t, s as a, f as l } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { DatePicker as o } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
import { f as u } from "../../index-C8O_LWE2.js";
|
|
6
6
|
r.mock("../Calendar", () => ({
|
|
7
7
|
Calendar: ({ onSelectDate: e }) => /* @__PURE__ */ n(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { d as o, i as e, r as i, g as t } from "../../vi.
|
|
2
|
+
import { d as o, i as e, r as i, g as t } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Divider as a } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
o("Spacer", () => {
|
|
6
6
|
e("renders with default props", () => {
|
|
7
7
|
const { container: s } = i(/* @__PURE__ */ r(a, {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as f } from "react/jsx-runtime";
|
|
2
|
-
import { d as h, i as r, r as s, v as t, g as l, s as c, f as a } from "../../vi.
|
|
2
|
+
import { d as h, i as r, r as s, v as t, g as l, s as c, f as a } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Drawer as i } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
h("Drawer", () => {
|
|
6
6
|
const n = /* @__PURE__ */ e("nav", { children: /* @__PURE__ */ f("ul", { children: [
|
|
7
7
|
/* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: "/profile", children: "Profile" }) }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as o, i as t, r, g as n, s as d } from "../../vi.
|
|
2
|
+
import { d as o, i as t, r, g as n, s as d } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Fieldset as i } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
o("Fieldset", () => {
|
|
6
6
|
t("renders children", () => {
|
|
7
7
|
r(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as c, i as t, r as l, g as s, s as n, v as a, f as d } from "../../vi.
|
|
2
|
+
import { d as c, i as t, r as l, g as s, s as n, v as a, f as d } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { FileUpload as r } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
c("FileUpload", () => {
|
|
6
6
|
t("renders the label correctly", () => {
|
|
7
7
|
l(/* @__PURE__ */ o(r, { label: "Upload your resume", onFilesChange: () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as r, i as o, r as i, g as l, s, v as d, f as m } from "../../vi.
|
|
2
|
+
import { d as r, i as o, r as i, g as l, s, v as d, f as m } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { FloatingActionButton as c } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
import { P as n } from "../../plus-Cs7TaIK9.js";
|
|
6
6
|
r("FloatingActionButton", () => {
|
|
7
7
|
o("renders the icon", () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as i, i as o, r, g as s, s as a } from "../../vi.
|
|
2
|
+
import { d as i, i as o, r, g as s, s as a } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Form as m } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
i("Form", () => {
|
|
6
6
|
o("renders children", () => {
|
|
7
7
|
r(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as o, i as d, r as m, g as i, s as l } from "../../vi.
|
|
2
|
+
import { d as o, i as d, r as m, g as i, s as l } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Grid as s } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
o("Grid", () => {
|
|
6
6
|
d("renders children", () => {
|
|
7
7
|
m(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as i, i as a, r as s, s as d, g as l } from "../../vi.
|
|
2
|
+
import { d as i, i as a, r as s, s as d, g as l } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Heading as n } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
i("Heading", () => {
|
|
6
6
|
a("renders with default level (h1)", () => {
|
|
7
7
|
s(/* @__PURE__ */ t(n, { children: "Test Heading" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as r, i as o, r as a, s as n, g as s, v as m, f as b } from "../../vi.
|
|
2
|
+
import { d as r, i as o, r as a, s as n, g as s, v as m, f as b } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { IconButton as l } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
import { T as c } from "../../trash-2-2Rn0a4s6.js";
|
|
6
6
|
r("IconButton", () => {
|
|
7
7
|
o("renders with icon and accessible label", () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { d as m, i, r as t, g as e, s as r } from "../../vi.
|
|
2
|
+
import { d as m, i, r as t, g as e, s as r } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Input as l } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
m("Input", () => {
|
|
6
6
|
i("renders an input with a label", () => {
|
|
7
7
|
t(/* @__PURE__ */ a(l, { label: "email", name: "email" })), e(r.getByLabelText("email")).toBeInTheDocument();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as s, i as o, r as n, g as e, s as r } from "../../vi.
|
|
2
|
+
import { d as s, i as o, r as n, g as e, s as r } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Label as l } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
s("Label", () => {
|
|
6
6
|
o("renders label text", () => {
|
|
7
7
|
n(/* @__PURE__ */ t(l, { htmlFor: "username", children: "Username" })), e(r.getByText("Username")).toBeInTheDocument();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as c, i as r, r as i, s as o, g as n } from "../../vi.
|
|
2
|
+
import { d as c, i as r, r as i, s as o, g as n } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { L as a, M as l } from "../../index-CzDm6DZN.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
c("Link", () => {
|
|
6
6
|
r("renders a normal anchor tag by default", () => {
|
|
7
7
|
i(/* @__PURE__ */ t(a, { href: "/about", children: "About us" }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { v as I, d as k, i, r as n, g as t, s as o, f as s } from "../../vi.
|
|
2
|
+
import { v as I, d as k, i, r as n, g as t, s as o, f as s } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { List as l } from "./index.js";
|
|
4
4
|
import { IconButton as h } from "../IconButton/index.js";
|
|
5
5
|
import { c as y } from "../../createLucideIcon-C8GTh_Qx.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s, Fragment as a } from "react/jsx-runtime";
|
|
2
|
-
import { d as u, i as d, r, g as n, s as t, f as i } from "../../vi.
|
|
2
|
+
import { d as u, i as d, r, g as n, s as t, f as i } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Modal as l } from "./index.js";
|
|
4
4
|
u("Modal", () => {
|
|
5
5
|
d("renders the trigger button", () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _e } from "react/jsx-runtime";
|
|
2
2
|
import en from "react";
|
|
3
|
-
import { c as H, d as tn, i as nn, r as Ge, g as Pe, s as Ae, v as rn } from "../../vi.
|
|
3
|
+
import { c as H, d as tn, i as nn, r as Ge, g as Pe, s as Ae, v as rn } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
4
4
|
import { MultiSelect as Xe } from "./index.js";
|
|
5
|
-
import "../../index-
|
|
5
|
+
import "../../index-Cm3oD894.js";
|
|
6
6
|
function a(e, t, n) {
|
|
7
7
|
return e.namespaceURI && e.namespaceURI !== "http://www.w3.org/1999/xhtml" || (t = Array.isArray(t) ? t : [
|
|
8
8
|
t
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as b, i as r, r as i, g as t, s as a, f as s, w as l } from "../../vi.
|
|
2
|
+
import { d as b, i as r, r as i, g as t, s as a, f as s, w as l } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Navbar as n } from "./index.js";
|
|
4
4
|
const c = [
|
|
5
5
|
{ label: "Home", href: "/" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as l, i, r as a, v as s, g as o, s as r, f as m } from "../../vi.
|
|
2
|
+
import { d as l, i, r as a, v as s, g as o, s as r, f as m } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Notification as n } from "./index.js";
|
|
4
4
|
l("Notification", () => {
|
|
5
5
|
i("renders with the correct message", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as r, i as n, r as s, s as t, g as o } from "../../vi.
|
|
2
|
+
import { d as r, i as n, r as s, s as t, g as o } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { NotificationContainer as a } from "./index.js";
|
|
4
4
|
r("NotificationContainer", () => {
|
|
5
5
|
const i = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { d as p, i as t, r as o, s as a, g as e } from "../../vi.
|
|
2
|
+
import { d as p, i as t, r as o, s as a, g as e } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { ProgressBar as g } from "./index.js";
|
|
4
4
|
p("ProgressBar", () => {
|
|
5
5
|
t("renders the progress bar with the correct progress", () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { d as s, i, r as n, g as o, s as t, v as l } from "../../vi.
|
|
2
|
+
import { d as s, i, r as n, g as o, s as t, v as l } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Radio as r } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
s("Radio", () => {
|
|
6
6
|
i("renders correctly", () => {
|
|
7
7
|
n(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { d as i, i as l, r as n, g as e, s as a, v as m, f as g } from "../../vi.
|
|
2
|
+
import { d as i, i as l, r as n, g as e, s as a, v as m, f as g } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Range as s } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
i("Range", () => {
|
|
6
6
|
l("renders with a label and value", () => {
|
|
7
7
|
n(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { d as r, i as n, r as s, g as o, s as a, v as b, f as m } from "../../vi.
|
|
2
|
+
import { d as r, i as n, r as s, g as o, s as a, v as b, f as m } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Select as c } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
r("Select", () => {
|
|
6
6
|
const t = [
|
|
7
7
|
{ label: "Option A", value: "a" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as n, i as r, r as i, s as a, g as t } from "../../vi.
|
|
2
|
+
import { d as n, i as r, r as i, s as a, g as t } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Skeleton as s } from "./index.js";
|
|
4
4
|
n("Skeleton", () => {
|
|
5
5
|
r("render a default rectangle skeleton", () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { d as i, i as e, r as a, g as t } from "../../vi.
|
|
2
|
+
import { d as i, i as e, r as a, g as t } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Spacer as c } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
i("Spacer", () => {
|
|
6
6
|
e("renders with default props", () => {
|
|
7
7
|
const { container: s } = a(/* @__PURE__ */ r(c, {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as l, i as r, r as t, s as o, g as a } from "../../vi.
|
|
2
|
+
import { d as l, i as r, r as t, s as o, g as a } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Spinner as c } from "./index.js";
|
|
4
4
|
l("Spinner", () => {
|
|
5
5
|
r("renders with 10 prongs", () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as l, i as s, r as n, g as t, s as d } from "../../vi.
|
|
2
|
+
import { d as l, i as s, r as n, g as t, s as d } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Stack as a } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
l("Stack", () => {
|
|
6
6
|
s("renders children", () => {
|
|
7
7
|
n(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as i, i as a, r as s, g as n, s as c, v as h, f as g } from "../../vi.
|
|
2
|
+
import { d as i, i as a, r as s, g as n, s as c, v as h, f as g } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Switch as l } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
i("Switch", () => {
|
|
6
6
|
a("renders with label", () => {
|
|
7
7
|
s(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as g, i as n, r as a, g as e, s as t, v as i, f as h } from "../../vi.
|
|
2
|
+
import { d as g, i as n, r as a, g as e, s as t, v as i, f as h } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Table as c } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
const s = [
|
|
6
6
|
{ name: "Alice", age: 30 },
|
|
7
7
|
{ name: "Bob", age: 33 }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { d as h, i as o, g as t, s as e, f as r, r as c } from "../../vi.
|
|
2
|
+
import { d as h, i as o, g as t, s as e, f as r, r as c } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Tabs as a } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
h("Tabs", () => {
|
|
6
6
|
const i = () => {
|
|
7
7
|
c(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { d as u, i as r, r as a, s as n, g as e, b as m } from "../../vi.
|
|
2
|
+
import { d as u, i as r, r as a, s as n, g as e, b as m } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Text as i } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
u("Text", () => {
|
|
6
6
|
r("renders default paragraph text", () => {
|
|
7
7
|
a(/* @__PURE__ */ s(i, { children: "Hello world" }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { d as x, i as o, r as n, g as t, s as a, v as i, f as d } from "../../vi.
|
|
2
|
+
import { d as x, i as o, r as n, g as t, s as a, v as i, f as d } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Textarea as s } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
x("Textarea", () => {
|
|
6
6
|
o("renders correctly", () => {
|
|
7
7
|
n(/* @__PURE__ */ r(s, { id: "textarea1", name: "testText", label: "Your message" })), t(a.getByRole("textbox")).toBeInTheDocument(), t(a.getByLabelText("Your message")).toBeInTheDocument();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { d as a, i, r as s, g as n, s as o, f as c } from "../../vi.
|
|
2
|
+
import { d as a, i, r as s, g as n, s as o, f as c } from "../../vi.ClIskdbk-CZUVUGZN.js";
|
|
3
3
|
import { Tooltip as r } from "./index.js";
|
|
4
|
-
import "../../index-
|
|
4
|
+
import "../../index-Cm3oD894.js";
|
|
5
5
|
a("Tooltip", () => {
|
|
6
6
|
i("renders children correctly", () => {
|
|
7
7
|
s(
|