@solibo/solibo-ui 2.2.16 → 2.2.18
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/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/components/app-layout/index.cjs +1 -0
- package/dist/components/app-layout/index.js +17 -0
- package/dist/components/app-link/index.cjs +1 -1
- package/dist/components/app-link/index.js +1 -1
- package/dist/components/dropdown/index.cjs +1 -1
- package/dist/components/dropdown/index.js +195 -184
- package/dist/components/search/index.cjs +1 -1
- package/dist/components/search/index.js +78 -70
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +11 -9
- package/dist/index.js +34 -34
- package/dist/tokens.json +1 -1
- package/package.json +1 -1
- package/dist/components/app-shell/index.cjs +0 -1
- package/dist/components/app-shell/index.js +0 -17
|
@@ -1,88 +1,96 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useId as
|
|
1
|
+
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useId as T, useState as q, useMemo as A } from "react";
|
|
3
3
|
import { Button as p } from "../button/index.js";
|
|
4
|
-
import { Checkbox as
|
|
5
|
-
import { Chip as
|
|
6
|
-
import { Collapsible as
|
|
7
|
-
import { C as
|
|
8
|
-
import { Dialog as
|
|
9
|
-
import { Header as
|
|
10
|
-
import { I as
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"filter-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
4
|
+
import { Checkbox as C } from "../checkbox/index.js";
|
|
5
|
+
import { Chip as E } from "../chip/index.js";
|
|
6
|
+
import { Collapsible as J } from "../collapsible/index.js";
|
|
7
|
+
import { C as K } from "../../index-acMNM3VJ.js";
|
|
8
|
+
import { Dialog as P } from "../dialog/index.js";
|
|
9
|
+
import { Header as Q } from "../header/index.js";
|
|
10
|
+
import { I as U } from "../../index-6TyCExT0.js";
|
|
11
|
+
import { Loading as V } from "../loading/index.js";
|
|
12
|
+
import '../../assets/index9.css';const W = "_search_1r1ik_3", X = "_controls_1r1ik_15", Y = "_actions_1r1ik_36", Z = "_chips_1r1ik_56", L = "_radio_1r1ik_122", o = {
|
|
13
|
+
search: W,
|
|
14
|
+
controls: X,
|
|
15
|
+
actions: Y,
|
|
16
|
+
"loading-status": "_loading-status_1r1ik_46",
|
|
17
|
+
chips: Z,
|
|
18
|
+
"filter-dialog": "_filter-dialog_1r1ik_63",
|
|
19
|
+
"filter-groups": "_filter-groups_1r1ik_68",
|
|
20
|
+
"filter-group": "_filter-group_1r1ik_68",
|
|
21
|
+
"filter-option": "_filter-option_1r1ik_104",
|
|
22
|
+
"option-copy": "_option-copy_1r1ik_110",
|
|
23
|
+
radio: L,
|
|
24
|
+
"collapsible-options": "_collapsible-options_1r1ik_145"
|
|
25
|
+
}, ca = ({
|
|
26
|
+
filterButtonLabel: k = "Filters",
|
|
27
|
+
filterDialogColumns: D = 1,
|
|
28
|
+
filterDialogTitle: O = "Filters",
|
|
29
|
+
filterGroups: r = [],
|
|
30
|
+
isLoading: m,
|
|
31
|
+
loadingLabel: u = "Loading results",
|
|
32
|
+
onChange: x,
|
|
28
33
|
onSelectedFiltersChange: e,
|
|
29
|
-
removeFilterLabel:
|
|
30
|
-
resetLabel:
|
|
31
|
-
searchLabel:
|
|
32
|
-
searchPlaceholder:
|
|
33
|
-
selectedFilters:
|
|
34
|
-
showResultsLabel:
|
|
35
|
-
value:
|
|
34
|
+
removeFilterLabel: I = (c) => `Remove ${c.label} filter`,
|
|
35
|
+
resetLabel: f = "Reset",
|
|
36
|
+
searchLabel: j = "Search",
|
|
37
|
+
searchPlaceholder: R = "Search",
|
|
38
|
+
selectedFilters: d = [],
|
|
39
|
+
showResultsLabel: z = "Show results",
|
|
40
|
+
value: B = ""
|
|
36
41
|
}) => {
|
|
37
|
-
const
|
|
38
|
-
var
|
|
39
|
-
return [...a.options, ...((
|
|
40
|
-
}).map((a) => [a.value, a])), [
|
|
41
|
-
const
|
|
42
|
-
return
|
|
43
|
-
}),
|
|
44
|
-
var
|
|
42
|
+
const c = T(), [y, h] = q(!1), H = A(() => new Map(r.flatMap((a) => {
|
|
43
|
+
var l;
|
|
44
|
+
return [...a.options, ...((l = a.collapsible) == null ? void 0 : l.options) ?? []];
|
|
45
|
+
}).map((a) => [a.value, a])), [r]), _ = d.flatMap((a) => {
|
|
46
|
+
const l = H.get(a);
|
|
47
|
+
return l ? [l] : [];
|
|
48
|
+
}), b = (a, l, i) => {
|
|
49
|
+
var w;
|
|
45
50
|
if (!e) return;
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
48
|
-
e(
|
|
51
|
+
const v = /* @__PURE__ */ new Set([...(i == null ? void 0 : i.options.map((t) => t.value)) ?? [], ...((w = i == null ? void 0 : i.collapsible) == null ? void 0 : w.options.map((t) => t.value)) ?? []]), M = d.filter((t) => !v.has(t));
|
|
52
|
+
if (l && (i == null ? void 0 : i.defaultValue) === a) {
|
|
53
|
+
e(M);
|
|
49
54
|
return;
|
|
50
55
|
}
|
|
51
|
-
e(
|
|
52
|
-
},
|
|
53
|
-
var
|
|
54
|
-
return
|
|
55
|
-
},
|
|
56
|
-
/* @__PURE__ */ s("input", { checked:
|
|
57
|
-
/* @__PURE__ */
|
|
56
|
+
e(l ? (i == null ? void 0 : i.control) === "radio" || (i == null ? void 0 : i.selectionMode) === "single" ? [...M, a] : [.../* @__PURE__ */ new Set([...d, a])] : d.filter((t) => t !== a));
|
|
57
|
+
}, N = (a, l) => {
|
|
58
|
+
var i;
|
|
59
|
+
return d.includes(a) || l.defaultValue === a && ![...l.options, ...((i = l.collapsible) == null ? void 0 : i.options) ?? []].some((v) => d.includes(v.value));
|
|
60
|
+
}, $ = (a, l) => /* @__PURE__ */ s("div", { className: o["filter-option"], "data-component": "renderfilter", children: l.control === "radio" ? /* @__PURE__ */ n("label", { className: o.radio, children: [
|
|
61
|
+
/* @__PURE__ */ s("input", { checked: N(a.value, l), name: `${c}-filter-${l.label ?? "group"}`, onChange: (i) => b(a.value, i.target.checked, l), type: "radio" }),
|
|
62
|
+
/* @__PURE__ */ n("span", { className: o["option-copy"], children: [
|
|
58
63
|
a.label,
|
|
59
64
|
a.description && /* @__PURE__ */ s("sub", { children: a.description })
|
|
60
65
|
] })
|
|
61
|
-
] }) : /* @__PURE__ */ s(
|
|
66
|
+
] }) : /* @__PURE__ */ s(C, { checked: N(a.value, l), label: /* @__PURE__ */ n("span", { className: o["option-copy"], children: [
|
|
62
67
|
a.label,
|
|
63
68
|
a.description && /* @__PURE__ */ s("sub", { children: a.description })
|
|
64
|
-
] }), onChange: (
|
|
65
|
-
return /* @__PURE__ */
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */ s(
|
|
68
|
-
|
|
69
|
+
] }), onChange: (i) => b(a.value, i.target.checked, l) }) }, a.value);
|
|
70
|
+
return /* @__PURE__ */ n("div", { className: o.search, "data-component": "search", children: [
|
|
71
|
+
/* @__PURE__ */ n("div", { className: o.controls, "data-with-filters": r.length > 0 || void 0, children: [
|
|
72
|
+
/* @__PURE__ */ s(U, { "aria-label": j, icon: "MagnifyingGlass", onChange: (a) => x(a.target.value), placeholder: R, type: "search", value: B }),
|
|
73
|
+
(r.length > 0 || m !== void 0) && /* @__PURE__ */ n("div", { className: o.actions, children: [
|
|
74
|
+
r.length > 0 && /* @__PURE__ */ s(p, { "aria-expanded": y, "aria-haspopup": "dialog", badge: _.length, icon: "Funnel", onClick: () => h(!0), variant: "tertiary", children: k }),
|
|
75
|
+
m !== void 0 && /* @__PURE__ */ s("div", { "aria-hidden": !m, "aria-label": u, className: o["loading-status"], role: "status", children: m && /* @__PURE__ */ s(V, { size: "small" }) })
|
|
76
|
+
] })
|
|
69
77
|
] }),
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
/* @__PURE__ */ s(p, { onClick: () => e == null ? void 0 : e([]), variant: "tertiary", children:
|
|
78
|
+
_.length > 0 && /* @__PURE__ */ n("div", { "aria-label": k, className: o.chips, children: [
|
|
79
|
+
_.map((a) => /* @__PURE__ */ s(E, { accessibleLabel: I(a), label: a.label, onDelete: () => b(a.value, !1) }, a.value)),
|
|
80
|
+
/* @__PURE__ */ s(p, { onClick: () => e == null ? void 0 : e([]), variant: "tertiary", children: f })
|
|
73
81
|
] }),
|
|
74
|
-
|
|
82
|
+
y && /* @__PURE__ */ s(P, { "aria-labelledby": c, className: o["filter-dialog"], controls: /* @__PURE__ */ n(K, { children: [
|
|
75
83
|
/* @__PURE__ */ s(p, { onClick: () => {
|
|
76
|
-
e == null || e([]),
|
|
77
|
-
}, children:
|
|
78
|
-
/* @__PURE__ */ s(p, { onClick: () =>
|
|
79
|
-
] }), header: /* @__PURE__ */ s(
|
|
80
|
-
a.label && /* @__PURE__ */ s("h3", { id: `${
|
|
81
|
-
a.options.map((
|
|
82
|
-
a.collapsible && /* @__PURE__ */ s(
|
|
83
|
-
] }, a.label ??
|
|
84
|
+
e == null || e([]), h(!1);
|
|
85
|
+
}, children: f }),
|
|
86
|
+
/* @__PURE__ */ s(p, { onClick: () => h(!1), variant: "primary", children: z })
|
|
87
|
+
] }), header: /* @__PURE__ */ s(Q, { children: /* @__PURE__ */ s("h2", { id: c, children: O }) }), open: !0, setOpen: h, children: /* @__PURE__ */ s("div", { className: o["filter-groups"], "data-columns": D, children: r.map((a, l) => /* @__PURE__ */ n("section", { "aria-labelledby": a.label ? `${c}-${l}` : void 0, className: o["filter-group"], "data-column-span": a.columnSpan ?? 1, role: a.control === "radio" ? "radiogroup" : "group", children: [
|
|
88
|
+
a.label && /* @__PURE__ */ s("h3", { id: `${c}-${l}`, children: a.label }),
|
|
89
|
+
a.options.map((i) => $(i, a)),
|
|
90
|
+
a.collapsible && /* @__PURE__ */ s(J, { summary: a.collapsible.label, children: /* @__PURE__ */ s("div", { className: o["collapsible-options"], children: a.collapsible.options.map((i) => $(i, a)) }) })
|
|
91
|
+
] }, a.label ?? l)) }) })
|
|
84
92
|
] });
|
|
85
93
|
};
|
|
86
94
|
export {
|
|
87
|
-
|
|
95
|
+
ca as Search
|
|
88
96
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const t=require("./components/app-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const t=require("./components/app-layout/index.cjs"),r=require("./components/app-link/index.cjs"),i=require("./components/aside/index.cjs"),s=require("./components/avatar/index.cjs"),c=require("./components/badge/index.cjs"),a=require("./components/banner/index.cjs"),_=require("./components/branding/index.cjs"),p=require("./components/button/index.cjs"),d=require("./components/card/index.cjs"),m=require("./components/checkbox/index.cjs"),u=require("./components/chip/index.cjs"),l=require("./components/clipboard/index.cjs"),x=require("./components/collapsible/index.cjs"),q=require("./index-B4dFheLl.cjs"),g=require("./components/comments/index.cjs"),b=require("./index-BwfsmdF6.cjs"),C=require("./components/croppable/index.cjs"),L=require("./components/dialog/index.cjs"),v=require("./components/divider/index.cjs"),h=require("./components/dropdown/index.cjs"),T=require("./components/dropzone/index.cjs"),S=require("./components/editor/index.cjs"),I=require("./content-i-MRPlxK.cjs"),k=require("./components/empty-state/index.cjs"),y=require("./components/fieldset/index.cjs"),F=require("./components/figure/index.cjs"),f=require("./components/file/index.cjs"),P=require("./components/footer/index.cjs"),A=require("./components/form/index.cjs"),B=require("./components/graph/index.cjs"),D=require("./components/group/index.cjs"),M=require("./components/header/index.cjs"),E=require("./components/icon/index.cjs"),N=require("./components/iframe/index.cjs"),O=require("./components/image/index.cjs"),j=require("./index-DEQcFR32.cjs"),w=require("./components/label/index.cjs"),n=require("./components/link/index.cjs"),G=require("./components/list/index.cjs"),z=require("./components/loading/index.cjs"),H=require("./components/menu/index.cjs"),R=require("./components/message/index.cjs"),W=require("./components/messages/index.cjs"),e=require("./components/nav/index.cjs"),J=require("./components/object/index.cjs"),K=require("./components/page-layout/index.cjs"),Q=require("./components/panel/index.cjs"),U=require("./components/popover/index.cjs"),V=require("./components/portal/index.cjs"),X=require("./components/radio/index.cjs"),Y=require("./components/search/index.cjs"),Z=require("./index-BQoXmNo3.cjs"),o=require("./components/sortable/index.cjs"),$=require("./components/table/index.cjs"),ee=require("./components/textarea/index.cjs"),ne=require("./components/toast/index.cjs"),oe=require("./components/toasts/index.cjs"),te=require("./components/toggle/index.cjs"),re=require("./components/toolbar/index.cjs"),ie=require("./components/tooltip/index.cjs"),se=require("./components/widget/index.cjs");exports.AppLayout=t.AppLayout;exports.AppLink=r.AppLink;exports.Aside=i.Aside;exports.Avatar=s.Avatar;exports.Badge=c.Badge;exports.Banner=a.Banner;exports.Branding=_.Branding;exports.Button=p.Button;exports.Card=d.Card;exports.Checkbox=m.Checkbox;exports.Chip=u.Chip;exports.Clipboard=l.Clipboard;exports.Collapsible=x.Collapsible;exports.Comment=q.Comment;exports.Comments=g.Comments;exports.Controls=b.Controls;exports.Croppable=C.Croppable;exports.Dialog=L.Dialog;exports.Divider=v.Divider;exports.Dropdown=h.Dropdown;exports.Dropzone=T.Dropzone;exports.Editor=S.Editor;exports.hasEditorContent=I.hasEditorContent;exports.EmptyState=k.EmptyState;exports.Fieldset=y.Fieldset;exports.Figure=F.Figure;exports.File=f.File;exports.Footer=P.Footer;exports.Form=A.Form;exports.Graph=B.Graph;exports.Group=D.Group;exports.Header=M.Header;exports.Icon=E.Icon;exports.Iframe=N.Iframe;exports.Image=O.Image;exports.Input=j.Input;exports.Label=w.Label;exports.Link=n.Link;exports.LinkContent=n.LinkContent;exports.List=G.List;exports.Loading=z.Loading;exports.Menu=H.Menu;exports.Message=R.Message;exports.Messages=W.Messages;exports.Nav=e.Nav;exports.NavItem=e.NavItem;exports.NavLabel=e.NavLabel;exports.Object=J.Object;exports.PageLayout=K.PageLayout;exports.Panel=Q.Panel;exports.Popover=U.Popover;exports.Portal=V.Portal;exports.Radio=X.Radio;exports.Search=Y.Search;exports.Select=Z.Select;exports.Sortable=o.Sortable;exports.useOptionalSortableItem=o.useOptionalSortableItem;exports.Table=$.Table;exports.Textarea=ee.Textarea;exports.Toast=ne.Toast;exports.Toasts=oe.Toasts;exports.Toggle=te.Toggle;exports.Toolbar=re.Toolbar;exports.Tooltip=ie.Tooltip;exports.Widget=se.Widget;
|
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,12 @@ declare const alignments: {
|
|
|
36
36
|
end: string;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
+
export declare const AppLayout: ({ children, className, navigation, ...props }: AppLayoutProps) => JSX.Element;
|
|
40
|
+
|
|
41
|
+
export declare type AppLayoutProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
42
|
+
navigation?: React.ReactNode;
|
|
43
|
+
};
|
|
44
|
+
|
|
39
45
|
export declare const AppLink: ({ label, type }: AppLinkProps) => JSX.Element;
|
|
40
46
|
|
|
41
47
|
declare type AppLinkProps = {
|
|
@@ -43,12 +49,6 @@ declare type AppLinkProps = {
|
|
|
43
49
|
type: 'apple' | 'google';
|
|
44
50
|
};
|
|
45
51
|
|
|
46
|
-
export declare const AppShell: ({ children, className, navigation, ...props }: AppShellProps) => JSX.Element;
|
|
47
|
-
|
|
48
|
-
export declare type AppShellProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
49
|
-
navigation?: React.ReactNode;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
52
|
export declare const Aside: ({ children, className, sticky, variant }: AsideProps) => JSX.Element;
|
|
53
53
|
|
|
54
54
|
declare type AsideProps = {
|
|
@@ -290,7 +290,7 @@ export declare const Divider: ({ className, ...props }: DividerProps) => JSX.Ele
|
|
|
290
290
|
|
|
291
291
|
export declare type DividerProps = React.ComponentPropsWithoutRef<'hr'>;
|
|
292
292
|
|
|
293
|
-
export declare const Dropdown: ({ children: selectElement, className, combobox, description, errorMessage, invalid, searchable: searchableProp, createOption, emptyLabel, errorLabel, onRetry, retryLabel, label, filterOptions, hasNextPage, loading, loadMoreLabel, onLoadMore, onOpenChange, onSearchChange, searchValue, renderOption, searchPlaceholder, selectedItems, variant, ...props }: DropdownProps) => JSX.Element;
|
|
293
|
+
export declare const Dropdown: ({ children: selectElement, className, combobox, description, errorMessage, invalid, searchable: searchableProp, createOption, emptyLabel, errorLabel, onRetry, retryLabel, label, filterOptions, hasNextPage, loading, loadingLabel, loadMoreLabel, onLoadMore, onOpenChange, onSearchChange, searchValue, renderOption, searchPlaceholder, selectedItems, variant, ...props }: DropdownProps) => JSX.Element;
|
|
294
294
|
|
|
295
295
|
export declare type DropdownCreateOption = {
|
|
296
296
|
isValid: (value: string) => boolean;
|
|
@@ -315,7 +315,6 @@ declare type DropdownProps = Omit<default_2.ComponentPropsWithoutRef<'div'>, 'ch
|
|
|
315
315
|
description?: string;
|
|
316
316
|
errorMessage?: default_2.ReactNode;
|
|
317
317
|
invalid?: boolean;
|
|
318
|
-
/** Defaults to true when there are more than eight visible options. */
|
|
319
318
|
searchable?: boolean;
|
|
320
319
|
createOption?: DropdownCreateOption;
|
|
321
320
|
emptyLabel?: string;
|
|
@@ -327,6 +326,7 @@ declare type DropdownProps = Omit<default_2.ComponentPropsWithoutRef<'div'>, 'ch
|
|
|
327
326
|
filterOptions?: boolean;
|
|
328
327
|
hasNextPage?: boolean;
|
|
329
328
|
loading?: boolean;
|
|
329
|
+
loadingLabel?: string;
|
|
330
330
|
loadMoreLabel?: string;
|
|
331
331
|
onLoadMore?: () => void;
|
|
332
332
|
onOpenChange?: (open: boolean) => void;
|
|
@@ -1357,7 +1357,7 @@ export declare type RadioProps = Omit<React.ComponentPropsWithRef<'input'>, 'typ
|
|
|
1357
1357
|
label?: string;
|
|
1358
1358
|
};
|
|
1359
1359
|
|
|
1360
|
-
export declare const Search: ({ filterButtonLabel, filterDialogColumns, filterDialogTitle, filterGroups, onChange, onSelectedFiltersChange, removeFilterLabel, resetLabel, searchLabel, searchPlaceholder, selectedFilters, showResultsLabel, value, }: SearchProps) => JSX.Element;
|
|
1360
|
+
export declare const Search: ({ filterButtonLabel, filterDialogColumns, filterDialogTitle, filterGroups, isLoading, loadingLabel, onChange, onSelectedFiltersChange, removeFilterLabel, resetLabel, searchLabel, searchPlaceholder, selectedFilters, showResultsLabel, value, }: SearchProps) => JSX.Element;
|
|
1361
1361
|
|
|
1362
1362
|
export declare type SearchFilter = {
|
|
1363
1363
|
description?: string;
|
|
@@ -1383,6 +1383,8 @@ export declare type SearchProps = {
|
|
|
1383
1383
|
filterDialogColumns?: 1 | 2;
|
|
1384
1384
|
filterDialogTitle?: string;
|
|
1385
1385
|
filterGroups?: readonly SearchFilterGroup[];
|
|
1386
|
+
isLoading?: boolean;
|
|
1387
|
+
loadingLabel?: string;
|
|
1386
1388
|
onChange: (value: string) => void;
|
|
1387
1389
|
onSelectedFiltersChange?: (selectedFilters: string[]) => void;
|
|
1388
1390
|
removeFilterLabel?: (filter: SearchFilter) => string;
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AppLayout as e } from "./components/app-layout/index.js";
|
|
2
|
+
import { AppLink as p } from "./components/app-link/index.js";
|
|
3
3
|
import { Aside as x } from "./components/aside/index.js";
|
|
4
4
|
import { Avatar as a } from "./components/avatar/index.js";
|
|
5
|
-
import { Badge as
|
|
5
|
+
import { Badge as i } from "./components/badge/index.js";
|
|
6
6
|
import { Banner as s } from "./components/banner/index.js";
|
|
7
7
|
import { Branding as C } from "./components/branding/index.js";
|
|
8
8
|
import { Button as b } from "./components/button/index.js";
|
|
9
|
-
import { Card as
|
|
10
|
-
import { Checkbox as
|
|
11
|
-
import { Chip as
|
|
9
|
+
import { Card as u } from "./components/card/index.js";
|
|
10
|
+
import { Checkbox as T } from "./components/checkbox/index.js";
|
|
11
|
+
import { Chip as v } from "./components/chip/index.js";
|
|
12
12
|
import { Clipboard as c } from "./components/clipboard/index.js";
|
|
13
13
|
import { Collapsible as k } from "./components/collapsible/index.js";
|
|
14
14
|
import { C as B } from "./index-BJiUk1q2.js";
|
|
15
15
|
import { Comments as P } from "./components/comments/index.js";
|
|
16
|
-
import { C as
|
|
17
|
-
import { Croppable as
|
|
16
|
+
import { C as E } from "./index-acMNM3VJ.js";
|
|
17
|
+
import { Croppable as N } from "./components/croppable/index.js";
|
|
18
18
|
import { Dialog as O } from "./components/dialog/index.js";
|
|
19
19
|
import { Divider as w } from "./components/divider/index.js";
|
|
20
20
|
import { Dropdown as H } from "./components/dropdown/index.js";
|
|
@@ -29,18 +29,18 @@ import { Footer as eo } from "./components/footer/index.js";
|
|
|
29
29
|
import { Form as po } from "./components/form/index.js";
|
|
30
30
|
import { Graph as xo } from "./components/graph/index.js";
|
|
31
31
|
import { Group as ao } from "./components/group/index.js";
|
|
32
|
-
import { Header as
|
|
32
|
+
import { Header as io } from "./components/header/index.js";
|
|
33
33
|
import { Icon as so } from "./components/icon/index.js";
|
|
34
34
|
import { Iframe as go } from "./components/iframe/index.js";
|
|
35
35
|
import { Image as Lo } from "./components/image/index.js";
|
|
36
|
-
import { I as
|
|
37
|
-
import { Label as
|
|
38
|
-
import { Link as
|
|
36
|
+
import { I as Io } from "./index-6TyCExT0.js";
|
|
37
|
+
import { Label as ho } from "./components/label/index.js";
|
|
38
|
+
import { Link as So, LinkContent as co } from "./components/link/index.js";
|
|
39
39
|
import { List as ko } from "./components/list/index.js";
|
|
40
40
|
import { Loading as Bo } from "./components/loading/index.js";
|
|
41
41
|
import { Menu as Po } from "./components/menu/index.js";
|
|
42
|
-
import { Message as
|
|
43
|
-
import { Messages as
|
|
42
|
+
import { Message as Eo } from "./components/message/index.js";
|
|
43
|
+
import { Messages as No } from "./components/messages/index.js";
|
|
44
44
|
import { Nav as Oo, NavItem as jo, NavLabel as wo } from "./components/nav/index.js";
|
|
45
45
|
import { Object as Ho } from "./components/object/index.js";
|
|
46
46
|
import { PageLayout as Wo } from "./components/page-layout/index.js";
|
|
@@ -53,30 +53,30 @@ import { S as or } from "./index-GPsHvb4d.js";
|
|
|
53
53
|
import { Sortable as er, useOptionalSortableItem as tr } from "./components/sortable/index.js";
|
|
54
54
|
import { Table as mr } from "./components/table/index.js";
|
|
55
55
|
import { Textarea as fr } from "./components/textarea/index.js";
|
|
56
|
-
import { Toast as
|
|
57
|
-
import { Toasts as
|
|
56
|
+
import { Toast as nr } from "./components/toast/index.js";
|
|
57
|
+
import { Toasts as lr } from "./components/toasts/index.js";
|
|
58
58
|
import { Toggle as dr } from "./components/toggle/index.js";
|
|
59
59
|
import { Toolbar as gr } from "./components/toolbar/index.js";
|
|
60
60
|
import { Tooltip as Lr } from "./components/tooltip/index.js";
|
|
61
|
-
import { Widget as
|
|
61
|
+
import { Widget as Ir } from "./components/widget/index.js";
|
|
62
62
|
import './assets/index.css';export {
|
|
63
|
-
e as
|
|
64
|
-
p as
|
|
63
|
+
e as AppLayout,
|
|
64
|
+
p as AppLink,
|
|
65
65
|
x as Aside,
|
|
66
66
|
a as Avatar,
|
|
67
|
-
|
|
67
|
+
i as Badge,
|
|
68
68
|
s as Banner,
|
|
69
69
|
C as Branding,
|
|
70
70
|
b as Button,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
u as Card,
|
|
72
|
+
T as Checkbox,
|
|
73
|
+
v as Chip,
|
|
74
74
|
c as Clipboard,
|
|
75
75
|
k as Collapsible,
|
|
76
76
|
B as Comment,
|
|
77
77
|
P as Comments,
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
E as Controls,
|
|
79
|
+
N as Croppable,
|
|
80
80
|
O as Dialog,
|
|
81
81
|
w as Divider,
|
|
82
82
|
H as Dropdown,
|
|
@@ -90,19 +90,19 @@ import './assets/index.css';export {
|
|
|
90
90
|
po as Form,
|
|
91
91
|
xo as Graph,
|
|
92
92
|
ao as Group,
|
|
93
|
-
|
|
93
|
+
io as Header,
|
|
94
94
|
so as Icon,
|
|
95
95
|
go as Iframe,
|
|
96
96
|
Lo as Image,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
Io as Input,
|
|
98
|
+
ho as Label,
|
|
99
|
+
So as Link,
|
|
100
100
|
co as LinkContent,
|
|
101
101
|
ko as List,
|
|
102
102
|
Bo as Loading,
|
|
103
103
|
Po as Menu,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
Eo as Message,
|
|
105
|
+
No as Messages,
|
|
106
106
|
Oo as Nav,
|
|
107
107
|
jo as NavItem,
|
|
108
108
|
wo as NavLabel,
|
|
@@ -117,12 +117,12 @@ import './assets/index.css';export {
|
|
|
117
117
|
er as Sortable,
|
|
118
118
|
mr as Table,
|
|
119
119
|
fr as Textarea,
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
nr as Toast,
|
|
121
|
+
lr as Toasts,
|
|
122
122
|
dr as Toggle,
|
|
123
123
|
gr as Toolbar,
|
|
124
124
|
Lr as Tooltip,
|
|
125
|
-
|
|
125
|
+
Ir as Widget,
|
|
126
126
|
Q as hasEditorContent,
|
|
127
127
|
tr as useOptionalSortableItem
|
|
128
128
|
};
|
package/dist/tokens.json
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index23.css');const c=require("react/jsx-runtime"),o=require("classix"),i="_shell_1tx67_1",l={shell:i,"single-column":"_single-column_1tx67_16"},r=({children:s,className:t,navigation:e,...n})=>c.jsxs("div",{className:o(l.shell,!e&&l["single-column"],t),...n,"data-component":"appshell",children:[e,s]});exports.AppShell=r;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import t from "classix";
|
|
3
|
-
import '../../assets/index23.css';const m = "_shell_1tx67_1", s = {
|
|
4
|
-
shell: m,
|
|
5
|
-
"single-column": "_single-column_1tx67_16"
|
|
6
|
-
}, r = ({
|
|
7
|
-
children: e,
|
|
8
|
-
className: o,
|
|
9
|
-
navigation: l,
|
|
10
|
-
...c
|
|
11
|
-
}) => /* @__PURE__ */ n("div", { className: t(s.shell, !l && s["single-column"], o), ...c, "data-component": "appshell", children: [
|
|
12
|
-
l,
|
|
13
|
-
e
|
|
14
|
-
] });
|
|
15
|
-
export {
|
|
16
|
-
r as AppShell
|
|
17
|
-
};
|