@forgedevstack/bear 1.0.2 → 1.0.3
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/ActiveBar/ActiveBar.cjs +8 -0
- package/dist/components/ActiveBar/ActiveBar.d.ts +2 -0
- package/dist/components/ActiveBar/ActiveBar.js +90 -0
- package/dist/components/ActiveBar/ActiveBar.types.d.ts +16 -0
- package/dist/components/ActiveBar/index.d.ts +2 -0
- package/dist/components/Box/Box.cjs +1 -0
- package/dist/components/Box/Box.d.ts +2 -0
- package/dist/components/Box/Box.js +64 -0
- package/dist/components/Box/Box.types.d.ts +24 -0
- package/dist/components/Box/Box.utils.cjs +1 -0
- package/dist/components/Box/Box.utils.d.ts +3 -0
- package/dist/components/Box/Box.utils.js +21 -0
- package/dist/components/Box/index.d.ts +2 -0
- package/dist/components/Calendar/Calendar.cjs +1 -1
- package/dist/components/Calendar/Calendar.const.cjs +1 -0
- package/dist/components/Calendar/Calendar.const.d.ts +18 -0
- package/dist/components/Calendar/Calendar.const.js +27 -0
- package/dist/components/Calendar/Calendar.js +131 -145
- package/dist/components/Calendar/Calendar.types.d.ts +4 -0
- package/dist/components/Calendar/Calendar.utils.cjs +1 -0
- package/dist/components/Calendar/Calendar.utils.d.ts +41 -0
- package/dist/components/Calendar/Calendar.utils.js +33 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/CodeBlock/CodeBlock.cjs +2 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +2 -0
- package/dist/components/CodeBlock/CodeBlock.js +55 -0
- package/dist/components/CodeBlock/CodeBlock.types.d.ts +10 -0
- package/dist/components/CodeBlock/index.d.ts +2 -0
- package/dist/components/Columns/Columns.cjs +1 -0
- package/dist/components/Columns/Columns.d.ts +5 -0
- package/dist/components/Columns/Columns.js +54 -0
- package/dist/components/Columns/Columns.types.d.ts +17 -0
- package/dist/components/Columns/index.d.ts +2 -0
- package/dist/components/DateTimePicker/DateTimePicker.cjs +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.js +28 -28
- package/dist/components/Editable/Editable.cjs +1 -0
- package/dist/components/Editable/Editable.d.ts +10 -0
- package/dist/components/Editable/Editable.js +194 -0
- package/dist/components/Editable/Editable.types.d.ts +39 -0
- package/dist/components/Editable/index.d.ts +2 -0
- package/dist/components/Em/Em.cjs +1 -0
- package/dist/components/Em/Em.d.ts +2 -0
- package/dist/components/Em/Em.js +24 -0
- package/dist/components/Em/Em.types.d.ts +5 -0
- package/dist/components/Em/index.d.ts +2 -0
- package/dist/components/Fab/Fab.cjs +1 -1
- package/dist/components/Fab/Fab.js +9 -9
- package/dist/components/Highlight/Highlight.cjs +1 -0
- package/dist/components/Highlight/Highlight.d.ts +2 -0
- package/dist/components/Highlight/Highlight.js +28 -0
- package/dist/components/Highlight/Highlight.types.d.ts +6 -0
- package/dist/components/Highlight/index.d.ts +2 -0
- package/dist/components/HoverCard/HoverCard.cjs +6 -0
- package/dist/components/HoverCard/HoverCard.d.ts +2 -0
- package/dist/components/HoverCard/HoverCard.js +68 -0
- package/dist/components/HoverCard/HoverCard.types.d.ts +13 -0
- package/dist/components/HoverCard/HoverCard.utils.cjs +1 -0
- package/dist/components/HoverCard/HoverCard.utils.d.ts +2 -0
- package/dist/components/HoverCard/HoverCard.utils.js +23 -0
- package/dist/components/HoverCard/index.d.ts +2 -0
- package/dist/components/Icon/icons/status.js +1 -1
- package/dist/components/Icon/index.cjs +1 -1
- package/dist/components/Icon/index.d.ts +5 -0
- package/dist/components/Icon/index.js +28 -21
- package/dist/components/Mark/Mark.cjs +1 -0
- package/dist/components/Mark/Mark.d.ts +2 -0
- package/dist/components/Mark/Mark.js +26 -0
- package/dist/components/Mark/Mark.types.d.ts +5 -0
- package/dist/components/Mark/index.d.ts +2 -0
- package/dist/components/RichEditor/RichEditor.cjs +10 -0
- package/dist/components/RichEditor/RichEditor.d.ts +4 -0
- package/dist/components/RichEditor/RichEditor.icons.cjs +1 -0
- package/dist/components/RichEditor/RichEditor.icons.d.ts +16 -0
- package/dist/components/RichEditor/RichEditor.icons.js +62 -0
- package/dist/components/RichEditor/RichEditor.js +151 -0
- package/dist/components/RichEditor/RichEditor.types.d.ts +20 -0
- package/dist/components/RichEditor/RichEditor.utils.cjs +1 -0
- package/dist/components/RichEditor/RichEditor.utils.d.ts +3 -0
- package/dist/components/RichEditor/RichEditor.utils.js +22 -0
- package/dist/components/RichEditor/index.d.ts +2 -0
- package/dist/components/Sidebar/Sidebar.cjs +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +5 -0
- package/dist/components/Sidebar/Sidebar.js +158 -0
- package/dist/components/Sidebar/Sidebar.types.d.ts +40 -0
- package/dist/components/Sidebar/index.d.ts +2 -0
- package/dist/components/Slider/Slider.cjs +1 -1
- package/dist/components/Slider/Slider.js +8 -8
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.js +87 -63
- package/dist/index.cjs +1 -1
- package/dist/index.js +107 -83
- package/dist/styles.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { jsxs as s, jsx as r, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { useState as z, useCallback as S } from "react";
|
|
3
|
+
import { cn as l } from "../../utils/cn.js";
|
|
4
|
+
import { ChevronRightIcon as v, ChevronLeftIcon as y, ChevronDownIcon as N } from "../Icon/index.js";
|
|
5
|
+
const k = 256, C = 64, w = ({
|
|
6
|
+
item: e,
|
|
7
|
+
isActive: b,
|
|
8
|
+
collapsed: a,
|
|
9
|
+
depth: i = 0,
|
|
10
|
+
onClick: n
|
|
11
|
+
}) => {
|
|
12
|
+
const [t, o] = z(!1), d = e.children && e.children.length > 0, u = a ? 16 : 16 + i * 12, f = S(() => {
|
|
13
|
+
d && o((c) => !c), e.onClick && e.onClick(), n == null || n(e);
|
|
14
|
+
}, [d, e, n]), h = /* @__PURE__ */ s(g, { children: [
|
|
15
|
+
e.icon && /* @__PURE__ */ r("span", { className: "bear-shrink-0 bear-w-5 bear-h-5 bear-flex bear-items-center bear-justify-center", children: e.icon }),
|
|
16
|
+
!a && /* @__PURE__ */ s(g, { children: [
|
|
17
|
+
/* @__PURE__ */ r("span", { className: "bear-flex-1 bear-truncate", children: e.label }),
|
|
18
|
+
e.badge && /* @__PURE__ */ r("span", { className: "bear-ml-auto", children: e.badge }),
|
|
19
|
+
d && /* @__PURE__ */ r(
|
|
20
|
+
N,
|
|
21
|
+
{
|
|
22
|
+
size: 14,
|
|
23
|
+
className: l(
|
|
24
|
+
"bear-ml-1 bear-transition-transform bear-duration-200",
|
|
25
|
+
t && "bear-rotate-180"
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
] })
|
|
30
|
+
] }), m = l(
|
|
31
|
+
"bear-flex bear-items-center bear-gap-3 bear-py-2.5 bear-px-3 bear-rounded-lg bear-text-sm bear-transition-all bear-duration-200 bear-cursor-pointer",
|
|
32
|
+
b ? "bear-bg-bear-500 bear-text-white bear-shadow-md" : "bear-text-zinc-600 hover:bear-bg-zinc-100 hover:bear-text-zinc-900",
|
|
33
|
+
e.disabled && "bear-opacity-50 bear-cursor-not-allowed bear-pointer-events-none",
|
|
34
|
+
a && "bear-justify-center"
|
|
35
|
+
), x = e.href ? "a" : "button";
|
|
36
|
+
return /* @__PURE__ */ s("div", { children: [
|
|
37
|
+
/* @__PURE__ */ r(
|
|
38
|
+
x,
|
|
39
|
+
{
|
|
40
|
+
href: e.href,
|
|
41
|
+
onClick: f,
|
|
42
|
+
disabled: e.disabled,
|
|
43
|
+
className: m,
|
|
44
|
+
style: { paddingLeft: u },
|
|
45
|
+
title: a ? e.label : void 0,
|
|
46
|
+
children: h
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
d && t && !a && /* @__PURE__ */ r("div", { className: "bear-mt-1", children: e.children.map((c) => /* @__PURE__ */ r(
|
|
50
|
+
w,
|
|
51
|
+
{
|
|
52
|
+
item: c,
|
|
53
|
+
isActive: !1,
|
|
54
|
+
collapsed: a,
|
|
55
|
+
depth: i + 1,
|
|
56
|
+
onClick: n
|
|
57
|
+
},
|
|
58
|
+
c.id
|
|
59
|
+
)) })
|
|
60
|
+
] });
|
|
61
|
+
}, O = ({
|
|
62
|
+
title: e,
|
|
63
|
+
children: b,
|
|
64
|
+
collapsible: a = !1,
|
|
65
|
+
defaultCollapsed: i = !1,
|
|
66
|
+
className: n
|
|
67
|
+
}) => {
|
|
68
|
+
const [t, o] = z(i);
|
|
69
|
+
return /* @__PURE__ */ s("div", { className: l("bear-mb-4", n), children: [
|
|
70
|
+
e && /* @__PURE__ */ s(
|
|
71
|
+
"button",
|
|
72
|
+
{
|
|
73
|
+
type: "button",
|
|
74
|
+
onClick: () => a && o(!t),
|
|
75
|
+
className: l(
|
|
76
|
+
"bear-flex bear-items-center bear-gap-2 bear-px-3 bear-py-2 bear-text-xs bear-font-semibold bear-uppercase bear-tracking-wider bear-text-zinc-400",
|
|
77
|
+
a && "bear-cursor-pointer hover:bear-text-zinc-600"
|
|
78
|
+
),
|
|
79
|
+
children: [
|
|
80
|
+
a && /* @__PURE__ */ r(
|
|
81
|
+
N,
|
|
82
|
+
{
|
|
83
|
+
size: 12,
|
|
84
|
+
className: l(
|
|
85
|
+
"bear-transition-transform",
|
|
86
|
+
t && "-bear-rotate-90"
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
e
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
!t && /* @__PURE__ */ r("div", { className: "bear-space-y-1", children: b })
|
|
95
|
+
] });
|
|
96
|
+
}, R = ({
|
|
97
|
+
items: e,
|
|
98
|
+
collapsed: b = !1,
|
|
99
|
+
onCollapsedChange: a,
|
|
100
|
+
width: i = k,
|
|
101
|
+
collapsedWidth: n = C,
|
|
102
|
+
header: t,
|
|
103
|
+
footer: o,
|
|
104
|
+
activeItemId: d,
|
|
105
|
+
onItemClick: u,
|
|
106
|
+
variant: f = "default",
|
|
107
|
+
position: h = "left",
|
|
108
|
+
className: m,
|
|
109
|
+
style: x
|
|
110
|
+
}) => {
|
|
111
|
+
const c = b ? n : i;
|
|
112
|
+
return /* @__PURE__ */ s(
|
|
113
|
+
"aside",
|
|
114
|
+
{
|
|
115
|
+
className: l(
|
|
116
|
+
"bear-flex bear-flex-col bear-h-full bear-transition-all bear-duration-300",
|
|
117
|
+
f === "default" && (h === "left" ? "bear-border-r" : "bear-border-l"),
|
|
118
|
+
{
|
|
119
|
+
default: "bear-bg-white dark:bear-bg-gray-900 bear-border-zinc-200 dark:bear-border-zinc-700",
|
|
120
|
+
bordered: "bear-bg-white dark:bear-bg-gray-900 bear-border-2 bear-border-zinc-300 dark:bear-border-zinc-600 bear-rounded-xl bear-m-2",
|
|
121
|
+
floating: "bear-bg-white/95 dark:bear-bg-gray-900/95 bear-backdrop-blur-sm bear-shadow-2xl bear-rounded-xl bear-m-3"
|
|
122
|
+
}[f],
|
|
123
|
+
m
|
|
124
|
+
),
|
|
125
|
+
style: { width: c, ...x },
|
|
126
|
+
children: [
|
|
127
|
+
t && /* @__PURE__ */ s("div", { className: "bear-px-3 bear-py-4 bear-border-b bear-border-zinc-100 bear-flex bear-items-center bear-justify-between", children: [
|
|
128
|
+
!b && t,
|
|
129
|
+
a && /* @__PURE__ */ r(
|
|
130
|
+
"button",
|
|
131
|
+
{
|
|
132
|
+
type: "button",
|
|
133
|
+
onClick: () => a(!b),
|
|
134
|
+
className: "bear-p-1.5 bear-rounded-lg bear-text-zinc-400 hover:bear-bg-zinc-100 hover:bear-text-zinc-600 bear-transition-colors",
|
|
135
|
+
"aria-label": b ? "Expand sidebar" : "Collapse sidebar",
|
|
136
|
+
children: b ? h === "left" ? /* @__PURE__ */ r(v, { size: 18 }) : /* @__PURE__ */ r(y, { size: 18 }) : h === "left" ? /* @__PURE__ */ r(y, { size: 18 }) : /* @__PURE__ */ r(v, { size: 18 })
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
] }),
|
|
140
|
+
/* @__PURE__ */ r("nav", { className: "bear-flex-1 bear-overflow-y-auto bear-px-2 bear-py-3 bear-space-y-1", children: e.map((p) => /* @__PURE__ */ r(
|
|
141
|
+
w,
|
|
142
|
+
{
|
|
143
|
+
item: p,
|
|
144
|
+
isActive: p.id === d,
|
|
145
|
+
collapsed: b,
|
|
146
|
+
onClick: u
|
|
147
|
+
},
|
|
148
|
+
p.id
|
|
149
|
+
)) }),
|
|
150
|
+
o && /* @__PURE__ */ r("div", { className: "bear-px-3 bear-py-3 bear-border-t bear-border-zinc-100 bear-mt-auto", children: b ? null : o })
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
);
|
|
154
|
+
};
|
|
155
|
+
export {
|
|
156
|
+
R as Sidebar,
|
|
157
|
+
O as SidebarGroup
|
|
158
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
export interface SidebarItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
href?: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
children?: SidebarItem[];
|
|
9
|
+
badge?: ReactNode;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface SidebarProps {
|
|
13
|
+
items: SidebarItem[];
|
|
14
|
+
collapsed?: boolean;
|
|
15
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
16
|
+
width?: number | string;
|
|
17
|
+
collapsedWidth?: number | string;
|
|
18
|
+
header?: ReactNode;
|
|
19
|
+
footer?: ReactNode;
|
|
20
|
+
activeItemId?: string;
|
|
21
|
+
onItemClick?: (item: SidebarItem) => void;
|
|
22
|
+
variant?: 'default' | 'bordered' | 'floating';
|
|
23
|
+
position?: 'left' | 'right';
|
|
24
|
+
className?: string;
|
|
25
|
+
style?: CSSProperties;
|
|
26
|
+
}
|
|
27
|
+
export interface SidebarGroupProps {
|
|
28
|
+
title?: string;
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
collapsible?: boolean;
|
|
31
|
+
defaultCollapsed?: boolean;
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface SidebarItemProps {
|
|
35
|
+
item: SidebarItem;
|
|
36
|
+
isActive?: boolean;
|
|
37
|
+
collapsed?: boolean;
|
|
38
|
+
depth?: number;
|
|
39
|
+
onClick?: (item: SidebarItem) => void;
|
|
40
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react/jsx-runtime"),u=require("react"),g=require("../../utils/cn.cjs"),U={xs:{track:"bear-h-1",thumb:"bear-w-3 bear-h-3",height:"bear-h-6"},sm:{track:"bear-h-1.5",thumb:"bear-w-4 bear-h-4",height:"bear-h-8"},md:{track:"bear-h-2",thumb:"bear-w-5 bear-h-5",height:"bear-h-10"},lg:{track:"bear-h-2.5",thumb:"bear-w-6 bear-h-6",height:"bear-h-12"},xl:{track:"bear-h-3",thumb:"bear-w-7 bear-h-7",height:"bear-h-14"}},X={primary:{track:"bear-bg-bear-500",thumb:"bear-bg-bear-500 bear-border-bear-600"},secondary:{track:"bear-bg-gray-500",thumb:"bear-bg-gray-500 bear-border-gray-600"},success:{track:"bear-bg-green-500",thumb:"bear-bg-green-500 bear-border-green-600"},warning:{track:"bear-bg-amber-500",thumb:"bear-bg-amber-500 bear-border-amber-600"},error:{track:"bear-bg-red-500",thumb:"bear-bg-red-500 bear-border-red-600"},danger:{track:"bear-bg-red-500",thumb:"bear-bg-red-500 bear-border-red-600"},info:{track:"bear-bg-blue-500",thumb:"bear-bg-blue-500 bear-border-blue-600"},ghost:{track:"bear-bg-gray-400",thumb:"bear-bg-gray-400 bear-border-gray-500"},outline:{track:"bear-bg-gray-600",thumb:"bear-bg-white bear-border-gray-600"}},Y=({value:N,defaultValue:L=0,min:r=0,max:t=100,step:c=1,size:A="md",color:R="primary",showValue:V=!1,marks:f=!1,disabled:s=!1,orientation:F="horizontal",onChange:n,onChangeCommitted:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react/jsx-runtime"),u=require("react"),g=require("../../utils/cn.cjs"),U={xs:{track:"bear-h-1",thumb:"bear-w-3 bear-h-3",height:"bear-h-6"},sm:{track:"bear-h-1.5",thumb:"bear-w-4 bear-h-4",height:"bear-h-8"},md:{track:"bear-h-2",thumb:"bear-w-5 bear-h-5",height:"bear-h-10"},lg:{track:"bear-h-2.5",thumb:"bear-w-6 bear-h-6",height:"bear-h-12"},xl:{track:"bear-h-3",thumb:"bear-w-7 bear-h-7",height:"bear-h-14"}},X={primary:{track:"bear-bg-bear-500",thumb:"bear-bg-bear-500 bear-border-bear-600"},secondary:{track:"bear-bg-gray-500",thumb:"bear-bg-gray-500 bear-border-gray-600"},success:{track:"bear-bg-green-500",thumb:"bear-bg-green-500 bear-border-green-600"},warning:{track:"bear-bg-amber-500",thumb:"bear-bg-amber-500 bear-border-amber-600"},error:{track:"bear-bg-red-500",thumb:"bear-bg-red-500 bear-border-red-600"},danger:{track:"bear-bg-red-500",thumb:"bear-bg-red-500 bear-border-red-600"},info:{track:"bear-bg-blue-500",thumb:"bear-bg-blue-500 bear-border-blue-600"},ghost:{track:"bear-bg-gray-400",thumb:"bear-bg-gray-400 bear-border-gray-500"},outline:{track:"bear-bg-gray-600",thumb:"bear-bg-white dark:bear-bg-gray-200 bear-border-gray-600 dark:bear-border-gray-400"}},Y=({value:N,defaultValue:L=0,min:r=0,max:t=100,step:c=1,size:A="md",color:R="primary",showValue:V=!1,marks:f=!1,disabled:s=!1,orientation:F="horizontal",onChange:n,onChangeCommitted:d,valueFormatter:T=y=>String(y),ariaLabel:I="Slider",className:q,testId:O,..._})=>{const[y,p]=u.useState(L),[l,S]=u.useState(!1),[$,h]=u.useState(!1),w=u.useRef(null),o=N??y,M=(o-r)/(t-r)*100,m=U[A],j=X[R],v=u.useCallback(a=>{if(!w.current||s)return;const e=w.current.getBoundingClientRect(),i=Math.max(0,Math.min(1,(a-e.left)/e.width)),K=r+i*(t-r),P=Math.round(K/c)*c,E=Math.max(r,Math.min(t,P));p(E),n==null||n(E)},[r,t,c,s,n]),D=a=>{s||(a.preventDefault(),S(!0),h(!0),v(a.clientX))},k=u.useCallback(a=>{l&&v(a.clientX)},[l,v]),x=u.useCallback(()=>{l&&(S(!1),h(!1),d==null||d(o))},[l,o,d]);u.useEffect(()=>{if(l)return document.addEventListener("mousemove",k),document.addEventListener("mouseup",x),()=>{document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",x)}},[l,k,x]);const z=a=>{if(s)return;let e=o;switch(a.key){case"ArrowRight":case"ArrowUp":e=Math.min(t,o+c);break;case"ArrowLeft":case"ArrowDown":e=Math.max(r,o-c);break;case"Home":e=r;break;case"End":e=t;break;default:return}a.preventDefault(),p(e),n==null||n(e)},B=()=>{if(!f)return null;const a=Array.isArray(f)?f:Array.from({length:(t-r)/c+1},(e,i)=>({value:r+i*c}));return b.jsx("div",{className:"bear-absolute bear-inset-x-0 bear-top-1/2 bear--translate-y-1/2 bear-flex bear-justify-between",children:a.map(e=>{const i=(e.value-r)/(t-r)*100;return b.jsxs("div",{className:"bear-absolute bear-flex bear-flex-col bear-items-center",style:{left:`${i}%`},children:[b.jsx("div",{className:"bear-w-0.5 bear-h-2 bear-bg-gray-400 dark:bear-bg-gray-500"}),e.label&&b.jsx("span",{className:"bear-mt-1 bear-text-xs bear-text-gray-500",children:e.label})]},e.value)})})};return b.jsx("div",{className:g.cn("bear-relative bear-w-full bear-flex bear-items-center",m.height,s&&"bear-opacity-50 bear-cursor-not-allowed",q),"data-testid":O,..._,children:b.jsxs("div",{ref:w,className:g.cn("bear-relative bear-w-full bear-rounded-full bear-bg-gray-200 dark:bear-bg-gray-700",m.track,!s&&"bear-cursor-pointer"),onMouseDown:D,children:[b.jsx("div",{className:g.cn("bear-absolute bear-inset-y-0 bear-left-0 bear-rounded-full",j.track),style:{width:`${M}%`}}),B(),b.jsx("div",{role:"slider",tabIndex:s?-1:0,"aria-label":I,"aria-valuemin":r,"aria-valuemax":t,"aria-valuenow":o,className:g.cn("bear-absolute bear-top-1/2 bear--translate-y-1/2 bear--translate-x-1/2 bear-rounded-full","bear-border-2 bear-shadow-md bear-transition-transform","focus:bear-outline-none focus:bear-ring-2 focus:bear-ring-bear-500 focus:bear-ring-offset-2",m.thumb,j.thumb,!s&&"bear-cursor-grab active:bear-cursor-grabbing hover:bear-scale-110",l&&"bear-scale-125"),style:{left:`${M}%`},onMouseDown:D,onKeyDown:z,onFocus:()=>h(!0),onBlur:()=>!l&&h(!1),children:V&&$&&b.jsx("div",{className:"bear-absolute bear-bottom-full bear-left-1/2 bear--translate-x-1/2 bear-mb-2 bear-px-2 bear-py-1 bear-bg-gray-900 bear-text-white bear-text-xs bear-rounded bear-whitespace-nowrap",children:T(o)})})]})})};exports.Slider=Y;
|
|
@@ -42,7 +42,7 @@ const Z = {
|
|
|
42
42
|
},
|
|
43
43
|
outline: {
|
|
44
44
|
track: "bear-bg-gray-600",
|
|
45
|
-
thumb: "bear-bg-white bear-border-gray-600"
|
|
45
|
+
thumb: "bear-bg-white dark:bear-bg-gray-200 bear-border-gray-600 dark:bear-border-gray-400"
|
|
46
46
|
}
|
|
47
47
|
}, C = ({
|
|
48
48
|
value: V,
|
|
@@ -64,15 +64,15 @@ const Z = {
|
|
|
64
64
|
testId: B,
|
|
65
65
|
...K
|
|
66
66
|
}) => {
|
|
67
|
-
const [f, M] = k(R), [s, S] = k(!1), [O, h] = k(!1), m = H(null), l = V ?? f, D = (l - r) / (t - r) * 100,
|
|
67
|
+
const [f, M] = k(R), [s, S] = k(!1), [O, h] = k(!1), m = H(null), l = V ?? f, D = (l - r) / (t - r) * 100, y = Z[I], E = q[T], w = x((a) => {
|
|
68
68
|
if (!m.current || b) return;
|
|
69
69
|
const e = m.current.getBoundingClientRect(), n = Math.max(0, Math.min(1, (a - e.left) / e.width)), Y = r + n * (t - r), F = Math.round(Y / o) * o, L = Math.max(r, Math.min(t, F));
|
|
70
70
|
M(L), u == null || u(L);
|
|
71
71
|
}, [r, t, o, b, u]), N = (a) => {
|
|
72
|
-
b || (a.preventDefault(), S(!0), h(!0),
|
|
72
|
+
b || (a.preventDefault(), S(!0), h(!0), w(a.clientX));
|
|
73
73
|
}, v = x((a) => {
|
|
74
|
-
s &&
|
|
75
|
-
}, [s,
|
|
74
|
+
s && w(a.clientX);
|
|
75
|
+
}, [s, w]), p = x(() => {
|
|
76
76
|
s && (S(!1), h(!1), i == null || i(l));
|
|
77
77
|
}, [s, l, i]);
|
|
78
78
|
P(() => {
|
|
@@ -129,7 +129,7 @@ const Z = {
|
|
|
129
129
|
{
|
|
130
130
|
className: d(
|
|
131
131
|
"bear-relative bear-w-full bear-flex bear-items-center",
|
|
132
|
-
|
|
132
|
+
y.height,
|
|
133
133
|
b && "bear-opacity-50 bear-cursor-not-allowed",
|
|
134
134
|
z
|
|
135
135
|
),
|
|
@@ -141,7 +141,7 @@ const Z = {
|
|
|
141
141
|
ref: m,
|
|
142
142
|
className: d(
|
|
143
143
|
"bear-relative bear-w-full bear-rounded-full bear-bg-gray-200 dark:bear-bg-gray-700",
|
|
144
|
-
|
|
144
|
+
y.track,
|
|
145
145
|
!b && "bear-cursor-pointer"
|
|
146
146
|
),
|
|
147
147
|
onMouseDown: N,
|
|
@@ -167,7 +167,7 @@ const Z = {
|
|
|
167
167
|
"bear-absolute bear-top-1/2 bear--translate-y-1/2 bear--translate-x-1/2 bear-rounded-full",
|
|
168
168
|
"bear-border-2 bear-shadow-md bear-transition-transform",
|
|
169
169
|
"focus:bear-outline-none focus:bear-ring-2 focus:bear-ring-bear-500 focus:bear-ring-offset-2",
|
|
170
|
-
|
|
170
|
+
y.thumb,
|
|
171
171
|
E.thumb,
|
|
172
172
|
!b && "bear-cursor-grab active:bear-cursor-grabbing hover:bear-scale-110",
|
|
173
173
|
s && "bear-scale-125"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./Container/Container.cjs"),I=require("./Flex/Flex.cjs"),a=require("./Grid/Grid.cjs"),S=require("./Button/Button.cjs"),T=require("./ButtonGroup/ButtonGroup.cjs"),r=require("./Card/Card.cjs"),B=require("./Badge/Badge.cjs"),b=require("./Paper/Paper.cjs"),g=require("./Divider/Divider.cjs"),k=require("./Typography/Typography.cjs"),P=require("./Link/Link.cjs"),h=require("./Spinner/Spinner.cjs"),v=require("./Alert/Alert.cjs"),A=require("./Rating/Rating.cjs"),L=require("./Icon/index.cjs"),o=require("./Icon/icons/navigation.cjs"),t=require("./Icon/icons/action.cjs"),D=require("./Icon/icons/status.cjs"),M=require("./Icon/icons/misc.cjs"),w=require("./BearLogo/BearLogo.cjs"),y=require("./Modal/Modal.cjs"),G=require("./Drawer/Drawer.cjs"),x=require("./Tooltip/Tooltip.cjs"),c=require("./Menu/Menu.cjs"),R=require("./Dropdown/Dropdown.cjs"),E=require("./SpeedDial/SpeedDial.cjs"),F=require("./Input/Input.cjs"),H=require("./Select/Select.cjs"),N=require("./Switch/Switch.cjs"),f=require("./Checkbox/Checkbox.cjs"),s=require("./Radio/Radio.cjs"),O=require("./MultiSelect/MultiSelect.cjs"),K=require("./Autocomplete/Autocomplete.cjs"),U=require("./TransferList/TransferList.cjs"),d=require("./DataTable/DataTable.cjs"),V=require("./Carousel/Carousel.cjs"),l=require("./Accordion/Accordion.cjs"),i=require("./Tabs/Tabs.cjs"),q=require("./Avatar/Avatar.cjs"),j=require("./Progress/Progress.cjs"),e=require("./List/List.cjs"),X=require("./Fab/Fab.cjs"),u=require("./Toast/Toast.cjs"),n=require("./Skeleton/Skeleton.cjs"),z=require("./Pagination/Pagination.cjs"),J=require("./Slider/Slider.cjs"),Q=require("./BearLoader/BearLoader.cjs"),W=require("./Calendar/Calendar.cjs"),Y=require("./DatePicker/DatePicker.cjs"),Z=require("./DateTimePicker/DateTimePicker.cjs"),_=require("./TimePicker/TimePicker.cjs"),$=require("./Breadcrumbs/Breadcrumbs.cjs"),ee=require("./Stepper/Stepper.cjs"),re=require("./BottomNavigation/BottomNavigation.cjs"),oe=require("./AppBar/AppBar.cjs"),te=require("./Popover/Popover.cjs"),ie=require("./Chip/Chip.cjs"),ne=require("./TreeView/TreeView.cjs"),ae=require("./Timeline/Timeline.cjs"),ce=require("./Statistic/Statistic.cjs"),ue=require("./EmptyState/EmptyState.cjs"),se=require("./Image/Image.cjs"),de=require("./FileUpload/FileUpload.cjs"),le=require("./NumberInput/NumberInput.cjs"),qe=require("./OTPInput/OTPInput.cjs"),pe=require("./ColorPicker/ColorPicker.cjs"),Ce=require("./ScrollArea/ScrollArea.cjs"),me=require("./Collapsible/Collapsible.cjs"),Ie=require("./Kbd/Kbd.cjs"),Se=require("./CopyButton/CopyButton.cjs"),p=require("./Sidebar/Sidebar.cjs"),C=require("./Columns/Columns.cjs"),Te=require("./Box/Box.cjs"),Be=require("./Em/Em.cjs"),be=require("./Highlight/Highlight.cjs"),ge=require("./Mark/Mark.cjs"),ke=require("./Editable/Editable.cjs"),Pe=require("./HoverCard/HoverCard.cjs"),he=require("./CodeBlock/CodeBlock.cjs"),ve=require("./ActiveBar/ActiveBar.cjs"),Ae=require("./RichEditor/RichEditor.cjs"),Le=require("./Icon/Icon.cjs");exports.Container=m.Container;exports.Flex=I.Flex;exports.Grid=a.Grid;exports.GridCompound=a.GridCompound;exports.GridItem=a.GridItem;exports.Button=S.Button;exports.ButtonGroup=T.ButtonGroup;exports.Card=r.Card;exports.CardBody=r.CardBody;exports.CardCompound=r.CardCompound;exports.CardFooter=r.CardFooter;exports.CardHeader=r.CardHeader;exports.Badge=B.Badge;exports.Paper=b.Paper;exports.Divider=g.Divider;exports.Typography=k.Typography;exports.Link=P.Link;exports.Spinner=h.Spinner;exports.Alert=v.Alert;exports.Rating=A.Rating;exports.BearIcons=L.BearIcons;exports.ChevronDownIcon=o.ChevronDownIcon;exports.ChevronRightIcon=o.ChevronRightIcon;exports.MenuIcon=o.MenuIcon;exports.XIcon=o.CloseIcon;exports.MinusIcon=t.RemoveIcon;exports.PlusIcon=t.AddIcon;exports.SearchIcon=t.SearchIcon;exports.SettingsIcon=t.SettingsIcon;exports.CheckIcon=D.CheckIcon;exports.BearPawIcon=M.BearPawIcon;exports.BearLogo=w.BearLogo;exports.Modal=y.Modal;exports.Drawer=G.Drawer;exports.Tooltip=x.Tooltip;exports.Menu=c.Menu;exports.MenuDivider=c.MenuDivider;exports.MenuItem=c.MenuItem;exports.Dropdown=R.Dropdown;exports.SpeedDial=E.SpeedDial;exports.Input=F.Input;exports.Select=H.Select;exports.Switch=N.Switch;exports.Checkbox=f.Checkbox;exports.Radio=s.Radio;exports.RadioGroup=s.RadioGroup;exports.MultiSelect=O.MultiSelect;exports.Autocomplete=K.Autocomplete;exports.TransferList=U.TransferList;exports.DataTable=d.DataTable;exports.createColumns=d.createColumns;exports.Carousel=V.Carousel;exports.Accordion=l.Accordion;exports.AccordionItem=l.AccordionItem;exports.Tab=i.Tab;exports.TabList=i.TabList;exports.TabPanel=i.TabPanel;exports.Tabs=i.Tabs;exports.Avatar=q.Avatar;exports.AvatarGroup=q.AvatarGroup;exports.Progress=j.Progress;exports.List=e.List;exports.ListItem=e.ListItem;exports.ListItemButton=e.ListItemButton;exports.ListItemIcon=e.ListItemIcon;exports.ListItemText=e.ListItemText;exports.ListSubheader=e.ListSubheader;exports.Fab=X.Fab;exports.ToastContainer=u.ToastContainer;exports.ToastProvider=u.ToastProvider;exports.useToast=u.useToast;exports.Skeleton=n.Skeleton;exports.SkeletonAvatar=n.SkeletonAvatar;exports.SkeletonCard=n.SkeletonCard;exports.SkeletonText=n.SkeletonText;exports.Pagination=z.Pagination;exports.Slider=J.Slider;exports.BearLoader=Q.BearLoader;exports.Calendar=W.Calendar;exports.DatePicker=Y.DatePicker;exports.DateTimePicker=Z.DateTimePicker;exports.TimePicker=_.TimePicker;exports.Breadcrumbs=$.Breadcrumbs;exports.Stepper=ee.Stepper;exports.BottomNavigation=re.BottomNavigation;exports.AppBar=oe.AppBar;exports.Popover=te.Popover;exports.Chip=ie.Chip;exports.TreeView=ne.TreeView;exports.Timeline=ae.Timeline;exports.Statistic=ce.Statistic;exports.EmptyState=ue.EmptyState;exports.Image=se.Image;exports.FileUpload=de.FileUpload;exports.NumberInput=le.NumberInput;exports.OTPInput=qe.OTPInput;exports.ColorPicker=pe.ColorPicker;exports.ScrollArea=Ce.ScrollArea;exports.Collapsible=me.Collapsible;exports.Kbd=Ie.Kbd;exports.CopyButton=Se.CopyButton;exports.Sidebar=p.Sidebar;exports.SidebarGroup=p.SidebarGroup;exports.Column=C.Column;exports.Columns=C.Columns;exports.Box=Te.Box;exports.Em=Be.Em;exports.Highlight=be.Highlight;exports.Mark=ge.Mark;exports.Editable=ke.Editable;exports.HoverCard=Pe.HoverCard;exports.CodeBlock=he.CodeBlock;exports.ActiveBar=ve.ActiveBar;exports.RichEditor=Ae.RichEditor;exports.Icon=Le.Icon;
|
|
@@ -134,3 +134,25 @@ export { Kbd } from './Kbd';
|
|
|
134
134
|
export type { KbdProps } from './Kbd';
|
|
135
135
|
export { CopyButton } from './CopyButton';
|
|
136
136
|
export type { CopyButtonProps } from './CopyButton';
|
|
137
|
+
export { Sidebar, SidebarGroup } from './Sidebar';
|
|
138
|
+
export type { SidebarProps, SidebarItem, SidebarGroupProps, SidebarItemProps } from './Sidebar';
|
|
139
|
+
export { Columns, Column } from './Columns';
|
|
140
|
+
export type { ColumnsProps, ColumnProps, ColumnsCountType } from './Columns';
|
|
141
|
+
export { Box } from './Box';
|
|
142
|
+
export type { BoxProps } from './Box';
|
|
143
|
+
export { Em } from './Em';
|
|
144
|
+
export type { EmProps } from './Em';
|
|
145
|
+
export { Highlight } from './Highlight';
|
|
146
|
+
export type { HighlightProps } from './Highlight';
|
|
147
|
+
export { Mark } from './Mark';
|
|
148
|
+
export type { MarkProps } from './Mark';
|
|
149
|
+
export { Editable } from './Editable';
|
|
150
|
+
export type { EditableRootProps, EditablePreviewProps, EditableInputProps, EditableControlProps, EditableSubmitTriggerProps, EditableCancelTriggerProps, EditableEditTriggerProps, } from './Editable';
|
|
151
|
+
export { HoverCard } from './HoverCard';
|
|
152
|
+
export type { HoverCardProps } from './HoverCard';
|
|
153
|
+
export { CodeBlock } from './CodeBlock';
|
|
154
|
+
export type { CodeBlockProps } from './CodeBlock';
|
|
155
|
+
export { ActiveBar } from './ActiveBar';
|
|
156
|
+
export type { ActiveBarProps, ActiveBarItem } from './ActiveBar';
|
|
157
|
+
export { RichEditor } from './RichEditor';
|
|
158
|
+
export type { RichEditorProps, ToolbarOption } from './RichEditor';
|
package/dist/components/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Container as e } from "./Container/Container.js";
|
|
2
2
|
import { Flex as p } from "./Flex/Flex.js";
|
|
3
3
|
import { Grid as x, GridCompound as f, GridItem as a } from "./Grid/Grid.js";
|
|
4
|
-
import { Button as
|
|
5
|
-
import { ButtonGroup as
|
|
6
|
-
import { Card as s, CardBody as
|
|
4
|
+
import { Button as n } from "./Button/Button.js";
|
|
5
|
+
import { ButtonGroup as c } from "./ButtonGroup/ButtonGroup.js";
|
|
6
|
+
import { Card as s, CardBody as u, CardCompound as I, CardFooter as C, CardHeader as S } from "./Card/Card.js";
|
|
7
7
|
import { Badge as B } from "./Badge/Badge.js";
|
|
8
|
-
import { Paper as
|
|
8
|
+
import { Paper as h } from "./Paper/Paper.js";
|
|
9
9
|
import { Divider as v } from "./Divider/Divider.js";
|
|
10
10
|
import { Typography as g } from "./Typography/Typography.js";
|
|
11
|
-
import { Link as
|
|
11
|
+
import { Link as L } from "./Link/Link.js";
|
|
12
12
|
import { Spinner as M } from "./Spinner/Spinner.js";
|
|
13
|
-
import { Alert as
|
|
14
|
-
import { Rating as
|
|
15
|
-
import { BearIcons as
|
|
16
|
-
import { ChevronDownIcon as
|
|
13
|
+
import { Alert as w } from "./Alert/Alert.js";
|
|
14
|
+
import { Rating as y } from "./Rating/Rating.js";
|
|
15
|
+
import { BearIcons as F } from "./Icon/index.js";
|
|
16
|
+
import { ChevronDownIcon as N, ChevronRightIcon as K, MenuIcon as O, CloseIcon as U } from "./Icon/icons/navigation.js";
|
|
17
17
|
import { RemoveIcon as X, AddIcon as j, SearchIcon as q, SettingsIcon as z } from "./Icon/icons/action.js";
|
|
18
18
|
import { CheckIcon as Q } from "./Icon/icons/status.js";
|
|
19
19
|
import { BearPawIcon as Y } from "./Icon/icons/misc.js";
|
|
@@ -22,39 +22,39 @@ import { Modal as oo } from "./Modal/Modal.js";
|
|
|
22
22
|
import { Drawer as eo } from "./Drawer/Drawer.js";
|
|
23
23
|
import { Tooltip as po } from "./Tooltip/Tooltip.js";
|
|
24
24
|
import { Menu as xo, MenuDivider as fo, MenuItem as ao } from "./Menu/Menu.js";
|
|
25
|
-
import { Dropdown as
|
|
25
|
+
import { Dropdown as no } from "./Dropdown/Dropdown.js";
|
|
26
26
|
import { SpeedDial as lo } from "./SpeedDial/SpeedDial.js";
|
|
27
|
-
import { Input as
|
|
27
|
+
import { Input as uo } from "./Input/Input.js";
|
|
28
28
|
import { Select as Co } from "./Select/Select.js";
|
|
29
|
-
import { Switch as
|
|
30
|
-
import { Checkbox as
|
|
29
|
+
import { Switch as To } from "./Switch/Switch.js";
|
|
30
|
+
import { Checkbox as bo } from "./Checkbox/Checkbox.js";
|
|
31
31
|
import { Radio as ko, RadioGroup as vo } from "./Radio/Radio.js";
|
|
32
32
|
import { MultiSelect as go } from "./MultiSelect/MultiSelect.js";
|
|
33
|
-
import { Autocomplete as
|
|
33
|
+
import { Autocomplete as Lo } from "./Autocomplete/Autocomplete.js";
|
|
34
34
|
import { TransferList as Mo } from "./TransferList/TransferList.js";
|
|
35
|
-
import { DataTable as
|
|
36
|
-
import { Carousel as
|
|
37
|
-
import { Accordion as
|
|
35
|
+
import { DataTable as wo, createColumns as Ro } from "./DataTable/DataTable.js";
|
|
36
|
+
import { Carousel as Eo } from "./Carousel/Carousel.js";
|
|
37
|
+
import { Accordion as Ho, AccordionItem as No } from "./Accordion/Accordion.js";
|
|
38
38
|
import { Tab as Oo, TabList as Uo, TabPanel as Vo, Tabs as Xo } from "./Tabs/Tabs.js";
|
|
39
39
|
import { Avatar as qo, AvatarGroup as zo } from "./Avatar/Avatar.js";
|
|
40
40
|
import { Progress as Qo } from "./Progress/Progress.js";
|
|
41
41
|
import { List as Yo, ListItem as Zo, ListItemButton as _o, ListItemIcon as $o, ListItemText as or, ListSubheader as rr } from "./List/List.js";
|
|
42
42
|
import { Fab as tr } from "./Fab/Fab.js";
|
|
43
43
|
import { ToastContainer as mr, ToastProvider as xr, useToast as fr } from "./Toast/Toast.js";
|
|
44
|
-
import { Skeleton as
|
|
44
|
+
import { Skeleton as ir, SkeletonAvatar as nr, SkeletonCard as dr, SkeletonText as cr } from "./Skeleton/Skeleton.js";
|
|
45
45
|
import { Pagination as sr } from "./Pagination/Pagination.js";
|
|
46
|
-
import { Slider as
|
|
47
|
-
import { BearLoader as
|
|
46
|
+
import { Slider as Ir } from "./Slider/Slider.js";
|
|
47
|
+
import { BearLoader as Sr } from "./BearLoader/BearLoader.js";
|
|
48
48
|
import { Calendar as Br } from "./Calendar/Calendar.js";
|
|
49
|
-
import { DatePicker as
|
|
49
|
+
import { DatePicker as hr } from "./DatePicker/DatePicker.js";
|
|
50
50
|
import { DateTimePicker as vr } from "./DateTimePicker/DateTimePicker.js";
|
|
51
51
|
import { TimePicker as gr } from "./TimePicker/TimePicker.js";
|
|
52
|
-
import { Breadcrumbs as
|
|
52
|
+
import { Breadcrumbs as Lr } from "./Breadcrumbs/Breadcrumbs.js";
|
|
53
53
|
import { Stepper as Mr } from "./Stepper/Stepper.js";
|
|
54
|
-
import { BottomNavigation as
|
|
55
|
-
import { AppBar as
|
|
56
|
-
import { Popover as
|
|
57
|
-
import { Chip as
|
|
54
|
+
import { BottomNavigation as wr } from "./BottomNavigation/BottomNavigation.js";
|
|
55
|
+
import { AppBar as yr } from "./AppBar/AppBar.js";
|
|
56
|
+
import { Popover as Fr } from "./Popover/Popover.js";
|
|
57
|
+
import { Chip as Nr } from "./Chip/Chip.js";
|
|
58
58
|
import { TreeView as Or } from "./TreeView/TreeView.js";
|
|
59
59
|
import { Timeline as Vr } from "./Timeline/Timeline.js";
|
|
60
60
|
import { Statistic as jr } from "./Statistic/Statistic.js";
|
|
@@ -67,47 +67,65 @@ import { ColorPicker as ee } from "./ColorPicker/ColorPicker.js";
|
|
|
67
67
|
import { ScrollArea as pe } from "./ScrollArea/ScrollArea.js";
|
|
68
68
|
import { Collapsible as xe } from "./Collapsible/Collapsible.js";
|
|
69
69
|
import { Kbd as ae } from "./Kbd/Kbd.js";
|
|
70
|
-
import { CopyButton as
|
|
71
|
-
import {
|
|
70
|
+
import { CopyButton as ne } from "./CopyButton/CopyButton.js";
|
|
71
|
+
import { Sidebar as ce, SidebarGroup as le } from "./Sidebar/Sidebar.js";
|
|
72
|
+
import { Column as ue, Columns as Ie } from "./Columns/Columns.js";
|
|
73
|
+
import { Box as Se } from "./Box/Box.js";
|
|
74
|
+
import { Em as Be } from "./Em/Em.js";
|
|
75
|
+
import { Highlight as he } from "./Highlight/Highlight.js";
|
|
76
|
+
import { Mark as ve } from "./Mark/Mark.js";
|
|
77
|
+
import { Editable as ge } from "./Editable/Editable.js";
|
|
78
|
+
import { HoverCard as Le } from "./HoverCard/HoverCard.js";
|
|
79
|
+
import { CodeBlock as Me } from "./CodeBlock/CodeBlock.js";
|
|
80
|
+
import { ActiveBar as we } from "./ActiveBar/ActiveBar.js";
|
|
81
|
+
import { RichEditor as ye } from "./RichEditor/RichEditor.js";
|
|
82
|
+
import { Icon as Fe } from "./Icon/Icon.js";
|
|
72
83
|
export {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
84
|
+
Ho as Accordion,
|
|
85
|
+
No as AccordionItem,
|
|
86
|
+
we as ActiveBar,
|
|
87
|
+
w as Alert,
|
|
88
|
+
yr as AppBar,
|
|
89
|
+
Lo as Autocomplete,
|
|
78
90
|
qo as Avatar,
|
|
79
91
|
zo as AvatarGroup,
|
|
80
92
|
B as Badge,
|
|
81
|
-
|
|
82
|
-
|
|
93
|
+
F as BearIcons,
|
|
94
|
+
Sr as BearLoader,
|
|
83
95
|
_ as BearLogo,
|
|
84
96
|
Y as BearPawIcon,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
97
|
+
wr as BottomNavigation,
|
|
98
|
+
Se as Box,
|
|
99
|
+
Lr as Breadcrumbs,
|
|
100
|
+
n as Button,
|
|
101
|
+
c as ButtonGroup,
|
|
89
102
|
Br as Calendar,
|
|
90
103
|
s as Card,
|
|
91
|
-
|
|
92
|
-
|
|
104
|
+
u as CardBody,
|
|
105
|
+
I as CardCompound,
|
|
93
106
|
C as CardFooter,
|
|
94
|
-
|
|
95
|
-
|
|
107
|
+
S as CardHeader,
|
|
108
|
+
Eo as Carousel,
|
|
96
109
|
Q as CheckIcon,
|
|
97
|
-
|
|
98
|
-
|
|
110
|
+
bo as Checkbox,
|
|
111
|
+
N as ChevronDownIcon,
|
|
99
112
|
K as ChevronRightIcon,
|
|
100
|
-
|
|
113
|
+
Nr as Chip,
|
|
114
|
+
Me as CodeBlock,
|
|
101
115
|
xe as Collapsible,
|
|
102
116
|
ee as ColorPicker,
|
|
117
|
+
ue as Column,
|
|
118
|
+
Ie as Columns,
|
|
103
119
|
e as Container,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
120
|
+
ne as CopyButton,
|
|
121
|
+
wo as DataTable,
|
|
122
|
+
hr as DatePicker,
|
|
107
123
|
vr as DateTimePicker,
|
|
108
124
|
v as Divider,
|
|
109
125
|
eo as Drawer,
|
|
110
|
-
|
|
126
|
+
no as Dropdown,
|
|
127
|
+
ge as Editable,
|
|
128
|
+
Be as Em,
|
|
111
129
|
zr as EmptyState,
|
|
112
130
|
tr as Fab,
|
|
113
131
|
Yr as FileUpload,
|
|
@@ -115,17 +133,20 @@ export {
|
|
|
115
133
|
x as Grid,
|
|
116
134
|
f as GridCompound,
|
|
117
135
|
a as GridItem,
|
|
118
|
-
|
|
136
|
+
he as Highlight,
|
|
137
|
+
Le as HoverCard,
|
|
138
|
+
Fe as Icon,
|
|
119
139
|
Qr as Image,
|
|
120
|
-
|
|
140
|
+
uo as Input,
|
|
121
141
|
ae as Kbd,
|
|
122
|
-
|
|
142
|
+
L as Link,
|
|
123
143
|
Yo as List,
|
|
124
144
|
Zo as ListItem,
|
|
125
145
|
_o as ListItemButton,
|
|
126
146
|
$o as ListItemIcon,
|
|
127
147
|
or as ListItemText,
|
|
128
148
|
rr as ListSubheader,
|
|
149
|
+
ve as Mark,
|
|
129
150
|
xo as Menu,
|
|
130
151
|
fo as MenuDivider,
|
|
131
152
|
O as MenuIcon,
|
|
@@ -136,27 +157,30 @@ export {
|
|
|
136
157
|
_r as NumberInput,
|
|
137
158
|
oe as OTPInput,
|
|
138
159
|
sr as Pagination,
|
|
139
|
-
|
|
160
|
+
h as Paper,
|
|
140
161
|
j as PlusIcon,
|
|
141
|
-
|
|
162
|
+
Fr as Popover,
|
|
142
163
|
Qo as Progress,
|
|
143
164
|
ko as Radio,
|
|
144
165
|
vo as RadioGroup,
|
|
145
|
-
|
|
166
|
+
y as Rating,
|
|
167
|
+
ye as RichEditor,
|
|
146
168
|
pe as ScrollArea,
|
|
147
169
|
q as SearchIcon,
|
|
148
170
|
Co as Select,
|
|
149
171
|
z as SettingsIcon,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
172
|
+
ce as Sidebar,
|
|
173
|
+
le as SidebarGroup,
|
|
174
|
+
ir as Skeleton,
|
|
175
|
+
nr as SkeletonAvatar,
|
|
176
|
+
dr as SkeletonCard,
|
|
177
|
+
cr as SkeletonText,
|
|
178
|
+
Ir as Slider,
|
|
155
179
|
lo as SpeedDial,
|
|
156
180
|
M as Spinner,
|
|
157
181
|
jr as Statistic,
|
|
158
182
|
Mr as Stepper,
|
|
159
|
-
|
|
183
|
+
To as Switch,
|
|
160
184
|
Oo as Tab,
|
|
161
185
|
Uo as TabList,
|
|
162
186
|
Vo as TabPanel,
|
|
@@ -170,6 +194,6 @@ export {
|
|
|
170
194
|
Or as TreeView,
|
|
171
195
|
g as Typography,
|
|
172
196
|
U as XIcon,
|
|
173
|
-
|
|
197
|
+
Ro as createColumns,
|
|
174
198
|
fr as useToast
|
|
175
199
|
};
|