@empreint/ui 1.2.3 → 1.3.0
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.
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "./badge.module.js";
|
|
2
|
+
import t from "clsx";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/badge/badge.tsx
|
|
5
|
+
var r = ({ children: r, variant: i = "soft", className: a, ...o }) => /* @__PURE__ */ n("span", {
|
|
6
|
+
...o,
|
|
7
|
+
className: t(e.badge, a),
|
|
8
|
+
"data-variant": i,
|
|
9
|
+
children: r
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as Badge };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var e = {
|
|
2
|
-
collapsible: "
|
|
3
|
-
icon: "
|
|
4
|
-
trigger: "
|
|
5
|
-
label: "
|
|
6
|
-
content: "
|
|
2
|
+
collapsible: "_collapsible_3bbjx_1",
|
|
3
|
+
icon: "_icon_3bbjx_6",
|
|
4
|
+
trigger: "_trigger_3bbjx_18",
|
|
5
|
+
label: "_label_3bbjx_34",
|
|
6
|
+
content: "_content_3bbjx_40"
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
9
|
export { e as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,14 @@ import { SVGAttributes } from 'react';
|
|
|
11
11
|
|
|
12
12
|
declare type AnyProps = Record<string, unknown>;
|
|
13
13
|
|
|
14
|
+
export declare const Badge: ({ children, variant, className, ...rest }: BadgeProps) => JSX.Element;
|
|
15
|
+
|
|
16
|
+
export declare type BadgeProps = ComponentProps<"span"> & {
|
|
17
|
+
variant?: BadgeVariant;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export declare type BadgeVariant = "solid" | "soft" | "outline";
|
|
21
|
+
|
|
14
22
|
export declare const Breadcrumb: ({ children, className, ...rest }: ComponentProps<"nav">) => JSX.Element;
|
|
15
23
|
|
|
16
24
|
export declare const BreadcrumbItem: ({ children, current, className, ...rest }: BreadcrumbItemProps) => JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
|
|
3
|
+
import { Badge as e } from "./components/badge/badge.js";
|
|
4
|
+
import { Breadcrumb as t, BreadcrumbItem as n, BreadcrumbSeparator as r } from "./components/breadcrumb/breadcrumb.js";
|
|
5
|
+
import { Button as i } from "./components/button/button.js";
|
|
6
|
+
import { Card as a, CardBody as o, CardFooter as s, CardHeader as c } from "./components/card/card.js";
|
|
7
|
+
import { Checkbox as l } from "./components/checkbox/checkbox.js";
|
|
8
|
+
import { Chip as u } from "./components/chip/chip.js";
|
|
9
|
+
import { useBreadcrumb as d } from "./hooks/use-breadcrumb/use-breadcrumb.js";
|
|
10
|
+
import { useOutsideAlerter as f } from "./hooks/use-outside-alerter/use-outside-alerter.js";
|
|
11
|
+
import { useDisclosure as p } from "./hooks/use-disclosure/use-disclosure.js";
|
|
12
|
+
import { useMatchDevice as m } from "./hooks/use-match-device/use-match-device.js";
|
|
13
|
+
import { defaultBreakpoints as h, useMatchResolution as g } from "./hooks/use-match-resolution/use-match-resolution.js";
|
|
14
|
+
import { usePagination as _ } from "./hooks/use-pagination/use-pagination.js";
|
|
15
|
+
import { useScrollTo as v } from "./hooks/use-scroll-to/use-scroll-to.js";
|
|
16
|
+
import { useVisible as y } from "./hooks/use-visible/use-visible.js";
|
|
17
|
+
import { useWizard as b } from "./hooks/use-wizard/use-wizard.js";
|
|
18
|
+
import { Collapsible as x, CollapsibleContent as S, CollapsibleItem as C, CollapsibleTrigger as w } from "./components/collapsible/collapsible.js";
|
|
19
|
+
import { Container as T } from "./components/container/container.js";
|
|
20
|
+
import { Slot as E } from "./components/slot/slot.js";
|
|
21
|
+
import { DropdownMenu as D, DropdownMenuContent as O, DropdownMenuIcon as k, DropdownMenuItem as A, DropdownMenuTrigger as j } from "./components/dropdown-menu/dropdown-menu.js";
|
|
22
|
+
import { Dropzone as M, DropzoneArea as N, DropzoneEmpty as P, DropzoneLabel as F, DropzonePreview as I, DropzoneRemove as L } from "./components/dropzone/dropzone.js";
|
|
23
|
+
import { Flex as R } from "./components/flex/flex.js";
|
|
24
|
+
import { Grid as z } from "./components/grid/grid.js";
|
|
25
|
+
import { Input as B, InputField as V, InputLabel as H, InputMessage as U } from "./components/input/input.js";
|
|
26
|
+
import { LanguageSelector as W } from "./components/language-selector/language-selector.js";
|
|
27
|
+
import { List as G, ListItem as K } from "./components/list/list.js";
|
|
28
|
+
import { Loader as q, LoaderSpinner as J } from "./components/loader/loader.js";
|
|
29
|
+
import { Modal as Y, ModalBody as X, ModalClose as Z, ModalContent as Q, ModalFooter as $, ModalHeader as ee, ModalOverlay as te, ModalTrigger as ne } from "./components/modal/modal.js";
|
|
30
|
+
import { Pagination as re, PaginationFirst as ie, PaginationItems as ae, PaginationLast as oe, PaginationNext as se, PaginationPrevious as ce } from "./components/pagination/pagination.js";
|
|
31
|
+
import { Popover as le, PopoverContent as ue, PopoverTrigger as de } from "./components/popover/popover.js";
|
|
32
|
+
import { RadioGroup as fe, RadioGroupItem as pe } from "./components/radio-group/radio-group.js";
|
|
33
|
+
import { Select as me, SelectContent as he, SelectItem as ge, SelectTrigger as _e } from "./components/select/select.js";
|
|
34
|
+
import { Separator as ve } from "./components/separator/separator.js";
|
|
35
|
+
import { Sidebar as ye, SidebarGroup as be, SidebarHeader as xe, SidebarItem as Se, SidebarLink as Ce } from "./components/sidebar/sidebar.js";
|
|
36
|
+
import { Table as we, TableTd as Te, TableTh as Ee, TableTr as De } from "./components/table/table.js";
|
|
37
|
+
import { Tabs as Oe, TabsContent as ke, TabsItem as Ae, TabsItems as je } from "./components/tabs/tabs.js";
|
|
38
|
+
import { Text as Me } from "./components/text/text.js";
|
|
39
|
+
import { Title as Ne } from "./components/title/title.js";
|
|
40
|
+
import { Wizard as Pe, WizardFinalize as Fe, WizardFooter as Ie, WizardHeader as Le, WizardIndicator as Re, WizardNext as ze, WizardPrevious as Be, WizardStep as Ve, WizardTitle as He } from "./components/wizard/wizard.js";
|
|
41
|
+
export { e as Badge, t as Breadcrumb, n as BreadcrumbItem, r as BreadcrumbSeparator, i as Button, a as Card, o as CardBody, s as CardFooter, c as CardHeader, l as Checkbox, u as Chip, x as Collapsible, S as CollapsibleContent, C as CollapsibleItem, w as CollapsibleTrigger, T as Container, D as DropdownMenu, O as DropdownMenuContent, k as DropdownMenuIcon, A as DropdownMenuItem, j as DropdownMenuTrigger, M as Dropzone, N as DropzoneArea, P as DropzoneEmpty, F as DropzoneLabel, I as DropzonePreview, L as DropzoneRemove, R as Flex, z as Grid, B as Input, V as InputField, H as InputLabel, U as InputMessage, W as LanguageSelector, G as List, K as ListItem, q as Loader, J as LoaderSpinner, Y as Modal, X as ModalBody, Z as ModalClose, Q as ModalContent, $ as ModalFooter, ee as ModalHeader, te as ModalOverlay, ne as ModalTrigger, re as Pagination, ie as PaginationFirst, ae as PaginationItems, oe as PaginationLast, se as PaginationNext, ce as PaginationPrevious, le as Popover, ue as PopoverContent, de as PopoverTrigger, fe as RadioGroup, pe as RadioGroupItem, me as Select, he as SelectContent, ge as SelectItem, _e as SelectTrigger, ve as Separator, ye as Sidebar, be as SidebarGroup, xe as SidebarHeader, Se as SidebarItem, Ce as SidebarLink, E as Slot, we as Table, Te as TableTd, Ee as TableTh, De as TableTr, Oe as Tabs, ke as TabsContent, Ae as TabsItem, je as TabsItems, Me as Text, Ne as Title, Pe as Wizard, Fe as WizardFinalize, Ie as WizardFooter, Le as WizardHeader, Re as WizardIndicator, ze as WizardNext, Be as WizardPrevious, Ve as WizardStep, He as WizardTitle, h as defaultBreakpoints, d as useBreadcrumb, p as useDisclosure, m as useMatchDevice, g as useMatchResolution, f as useOutsideAlerter, _ as usePagination, v as useScrollTo, y as useVisible, b as useWizard };
|