@fuf-stack/pixels 0.31.4 → 0.32.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.
- package/dist/Accordion/index.cjs +2 -2
- package/dist/Accordion/index.d.cts +3 -3
- package/dist/Accordion/index.d.ts +3 -3
- package/dist/Accordion/index.js +1 -1
- package/dist/{Accordion-CZ0Fqk-P.d.cts → Accordion-rA715N0Z.d.cts} +2 -2
- package/dist/{Accordion-CZ0Fqk-P.d.ts → Accordion-rA715N0Z.d.ts} +2 -2
- package/dist/Alert/index.cjs +121 -0
- package/dist/Alert/index.cjs.map +1 -0
- package/dist/Alert/index.d.cts +231 -0
- package/dist/Alert/index.d.ts +231 -0
- package/dist/Alert/index.js +121 -0
- package/dist/Alert/index.js.map +1 -0
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.d.cts +2 -2
- package/dist/Avatar/index.d.ts +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-CbdJWk_J.d.cts → Avatar-CY2AIMsK.d.cts} +1 -1
- package/dist/{Avatar-CbdJWk_J.d.ts → Avatar-CY2AIMsK.d.ts} +1 -1
- package/dist/AvatarGroup/index.cjs +3 -3
- package/dist/AvatarGroup/index.d.cts +3 -3
- package/dist/AvatarGroup/index.d.ts +3 -3
- package/dist/AvatarGroup/index.js +2 -2
- package/dist/{AvatarGroup-BTPgXs_F.d.ts → AvatarGroup-BSEjz5ez.d.ts} +2 -2
- package/dist/{AvatarGroup-DyX3Lj28.d.cts → AvatarGroup-J1yR1Smi.d.cts} +2 -2
- package/dist/Badge/index.cjs +2 -2
- package/dist/Badge/index.d.cts +3 -3
- package/dist/Badge/index.d.ts +3 -3
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-yzXn5LtZ.d.cts → Badge-CvXzljaJ.d.cts} +2 -2
- package/dist/{Badge-yzXn5LtZ.d.ts → Badge-CvXzljaJ.d.ts} +2 -2
- package/dist/Breadcrumb/index.cjs +2 -2
- package/dist/Breadcrumb/index.d.cts +2 -2
- package/dist/Breadcrumb/index.d.ts +2 -2
- package/dist/Breadcrumb/index.js +1 -1
- package/dist/{Breadcrumb-DHn8XeOY.d.cts → Breadcrumb-1cB54eJk.d.cts} +4 -4
- package/dist/{Breadcrumb-DHn8XeOY.d.ts → Breadcrumb-1cB54eJk.d.ts} +4 -4
- package/dist/Button/index.cjs +2 -2
- package/dist/Button/index.d.cts +4 -4
- package/dist/Button/index.d.ts +4 -4
- package/dist/Button/index.js +1 -1
- package/dist/{ButtonGroup-DIL5WB0f.d.cts → ButtonGroup-g0hk2u-s.d.cts} +6 -6
- package/dist/{ButtonGroup-DIL5WB0f.d.ts → ButtonGroup-g0hk2u-s.d.ts} +6 -6
- package/dist/Card/index.cjs +2 -2
- package/dist/Card/index.d.cts +3 -4
- package/dist/Card/index.d.ts +3 -4
- package/dist/Card/index.js +1 -1
- package/dist/{Card-C8u10Iq0.d.cts → Card-BdciRqJz.d.cts} +4 -6
- package/dist/{Card-C8u10Iq0.d.ts → Card-BdciRqJz.d.ts} +4 -6
- package/dist/Drawer/index.cjs +2 -2
- package/dist/Drawer/index.d.cts +3 -3
- package/dist/Drawer/index.d.ts +3 -3
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-DvEDC3UK.d.cts → Drawer-CifCcX6s.d.cts} +5 -5
- package/dist/{Drawer-DvEDC3UK.d.ts → Drawer-CifCcX6s.d.ts} +5 -5
- package/dist/Json/index.cjs +3 -3
- package/dist/Json/index.js +2 -2
- package/dist/Label/index.cjs +2 -2
- package/dist/Label/index.d.cts +3 -3
- package/dist/Label/index.d.ts +3 -3
- package/dist/Label/index.js +1 -1
- package/dist/{Label--qRYiJs-.d.cts → Label-BH0taC2T.d.cts} +2 -2
- package/dist/{Label--qRYiJs-.d.ts → Label-BH0taC2T.d.ts} +2 -2
- package/dist/Menu/index.cjs +2 -2
- package/dist/Menu/index.d.cts +2 -2
- package/dist/Menu/index.d.ts +2 -2
- package/dist/Menu/index.js +1 -1
- package/dist/{Menu-CG5mVVnv.d.cts → Menu-C7lpY7pY.d.cts} +1 -1
- package/dist/{Menu-CG5mVVnv.d.ts → Menu-C7lpY7pY.d.ts} +1 -1
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.d.cts +3 -3
- package/dist/Modal/index.d.ts +3 -3
- package/dist/Modal/index.js +1 -1
- package/dist/{Modal-CSOPzGYj.d.cts → Modal-DI5ZdS_3.d.cts} +2 -2
- package/dist/{Modal-CSOPzGYj.d.ts → Modal-DI5ZdS_3.d.ts} +2 -2
- package/dist/Popover/index.cjs +3 -3
- package/dist/Popover/index.d.cts +3 -3
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +2 -2
- package/dist/{Popover-By7zSUnV.d.cts → Popover-Db9vCWrz.d.cts} +2 -2
- package/dist/{Popover-By7zSUnV.d.ts → Popover-Db9vCWrz.d.ts} +2 -2
- package/dist/Progress/index.cjs +89 -0
- package/dist/Progress/index.cjs.map +1 -0
- package/dist/Progress/index.d.cts +224 -0
- package/dist/Progress/index.d.ts +224 -0
- package/dist/Progress/index.js +89 -0
- package/dist/Progress/index.js.map +1 -0
- package/dist/ScrollShadow/index.cjs +3 -3
- package/dist/ScrollShadow/index.d.cts +1 -1
- package/dist/ScrollShadow/index.d.ts +1 -1
- package/dist/ScrollShadow/index.js +1 -1
- package/dist/Table/index.cjs +2 -3
- package/dist/Table/index.cjs.map +1 -1
- package/dist/Table/index.d.cts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +3 -4
- package/dist/Table/index.js.map +1 -1
- package/dist/Tabs/index.cjs +2 -2
- package/dist/Tabs/index.d.cts +2 -2
- package/dist/Tabs/index.d.ts +2 -2
- package/dist/Tabs/index.js +1 -1
- package/dist/{Tabs-CfFvBC99.d.cts → Tabs-XIux-c3p.d.cts} +9 -1
- package/dist/{Tabs-CfFvBC99.d.ts → Tabs-XIux-c3p.d.ts} +9 -1
- package/dist/Tooltip/index.cjs +2 -2
- package/dist/Tooltip/index.d.cts +2 -2
- package/dist/Tooltip/index.d.ts +2 -2
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-DS3pM5Cq.d.cts → Tooltip-Bsq7nJLh.d.cts} +1 -1
- package/dist/{Tooltip-DS3pM5Cq.d.ts → Tooltip-Bsq7nJLh.d.ts} +1 -1
- package/dist/{chunk-Z5OFNBWI.cjs → chunk-2SQEDOXZ.cjs} +4 -3
- package/dist/chunk-2SQEDOXZ.cjs.map +1 -0
- package/dist/{chunk-3QI2ODV2.js → chunk-2WJJS4CZ.js} +3 -3
- package/dist/chunk-2WJJS4CZ.js.map +1 -0
- package/dist/{chunk-ODLZQXBE.js → chunk-3LEUWIY3.js} +3 -3
- package/dist/chunk-3LEUWIY3.js.map +1 -0
- package/dist/{chunk-LPCCBJ2T.js → chunk-5H2LBLSC.js} +3 -3
- package/dist/chunk-5H2LBLSC.js.map +1 -0
- package/dist/{chunk-7TIFKRWY.cjs → chunk-A4FOULHY.cjs} +2 -2
- package/dist/chunk-A4FOULHY.cjs.map +1 -0
- package/dist/{chunk-2WDAJ6ER.cjs → chunk-AJLLRWSE.cjs} +4 -4
- package/dist/chunk-AJLLRWSE.cjs.map +1 -0
- package/dist/{chunk-HVLEV6BG.cjs → chunk-BURI3HTZ.cjs} +2 -2
- package/dist/chunk-BURI3HTZ.cjs.map +1 -0
- package/dist/{chunk-N6YMP2DX.js → chunk-CWCZM3HS.js} +2 -2
- package/dist/chunk-CWCZM3HS.js.map +1 -0
- package/dist/{chunk-U2JEMXXJ.cjs → chunk-D7KXMNEI.cjs} +2 -2
- package/dist/chunk-D7KXMNEI.cjs.map +1 -0
- package/dist/{chunk-BUWMLU3E.js → chunk-EQVC4PJE.js} +2 -2
- package/dist/chunk-EQVC4PJE.js.map +1 -0
- package/dist/{chunk-CQW46JPO.js → chunk-EVAV23ZV.js} +2 -2
- package/dist/chunk-EVAV23ZV.js.map +1 -0
- package/dist/{chunk-OLKLIWBE.cjs → chunk-FFRBORVV.cjs} +3 -3
- package/dist/{chunk-OLKLIWBE.cjs.map → chunk-FFRBORVV.cjs.map} +1 -1
- package/dist/{chunk-XVCKJE3P.js → chunk-FPU6RJSG.js} +3 -3
- package/dist/chunk-FPU6RJSG.js.map +1 -0
- package/dist/{chunk-33DBA7U2.js → chunk-GA54AM2W.js} +2 -2
- package/dist/chunk-GA54AM2W.js.map +1 -0
- package/dist/{chunk-7XJHVFT3.cjs → chunk-HPLU3CHP.cjs} +5 -5
- package/dist/chunk-HPLU3CHP.cjs.map +1 -0
- package/dist/{chunk-OQIMB45E.js → chunk-ITOA7Q42.js} +2 -2
- package/dist/chunk-ITOA7Q42.js.map +1 -0
- package/dist/{chunk-NVNT4PMS.cjs → chunk-OOFJGGRS.cjs} +3 -3
- package/dist/chunk-OOFJGGRS.cjs.map +1 -0
- package/dist/{chunk-LY45VQ2E.cjs → chunk-ORO34I7X.cjs} +3 -3
- package/dist/chunk-ORO34I7X.cjs.map +1 -0
- package/dist/{chunk-NCSINRHM.js → chunk-QSQ5NCIF.js} +4 -3
- package/dist/chunk-QSQ5NCIF.js.map +1 -0
- package/dist/{chunk-VG5A2YZE.cjs → chunk-T7EAVBXL.cjs} +2 -2
- package/dist/chunk-T7EAVBXL.cjs.map +1 -0
- package/dist/{chunk-7LABJBKF.js → chunk-TCL2PX3F.js} +3 -3
- package/dist/chunk-TCL2PX3F.js.map +1 -0
- package/dist/{chunk-BXPBP3PC.cjs → chunk-TX2VP4J7.cjs} +2 -2
- package/dist/chunk-TX2VP4J7.cjs.map +1 -0
- package/dist/{chunk-LCSYN3DI.js → chunk-UZPVE6UB.js} +2 -2
- package/dist/{chunk-7ZJ6LE2P.cjs → chunk-WSM7WMFP.cjs} +2 -2
- package/dist/chunk-WSM7WMFP.cjs.map +1 -0
- package/dist/{chunk-YTQJ6FZK.cjs → chunk-WV3ZDL4J.cjs} +2 -2
- package/dist/chunk-WV3ZDL4J.cjs.map +1 -0
- package/dist/{chunk-RMA57Q6K.cjs → chunk-XNMTAL3J.cjs} +2 -2
- package/dist/chunk-XNMTAL3J.cjs.map +1 -0
- package/dist/{chunk-ZXGEK67F.cjs → chunk-XTR4NKDP.cjs} +2 -2
- package/dist/chunk-XTR4NKDP.cjs.map +1 -0
- package/dist/chunk-XUF52AKP.js +74 -0
- package/dist/chunk-XUF52AKP.js.map +1 -0
- package/dist/{chunk-QTXKWCDV.js → chunk-Z7QNU4XB.js} +2 -2
- package/dist/chunk-Z7QNU4XB.js.map +1 -0
- package/dist/{chunk-MJE4MLZY.js → chunk-ZKCOHRTR.js} +2 -2
- package/dist/chunk-ZKCOHRTR.js.map +1 -0
- package/dist/chunk-ZXN5DNKQ.cjs +74 -0
- package/dist/chunk-ZXN5DNKQ.cjs.map +1 -0
- package/dist/{chunk-7IGL67EH.js → chunk-ZZC6S7D2.js} +2 -2
- package/dist/chunk-ZZC6S7D2.js.map +1 -0
- package/dist/index.cjs +17 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.js +19 -19
- package/package.json +36 -24
- package/dist/chunk-2WDAJ6ER.cjs.map +0 -1
- package/dist/chunk-33DBA7U2.js.map +0 -1
- package/dist/chunk-3QI2ODV2.js.map +0 -1
- package/dist/chunk-7IGL67EH.js.map +0 -1
- package/dist/chunk-7LABJBKF.js.map +0 -1
- package/dist/chunk-7TIFKRWY.cjs.map +0 -1
- package/dist/chunk-7XJHVFT3.cjs.map +0 -1
- package/dist/chunk-7ZJ6LE2P.cjs.map +0 -1
- package/dist/chunk-BUWMLU3E.js.map +0 -1
- package/dist/chunk-BXPBP3PC.cjs.map +0 -1
- package/dist/chunk-CQW46JPO.js.map +0 -1
- package/dist/chunk-DDWFDIXA.cjs +0 -72
- package/dist/chunk-DDWFDIXA.cjs.map +0 -1
- package/dist/chunk-HVLEV6BG.cjs.map +0 -1
- package/dist/chunk-LPCCBJ2T.js.map +0 -1
- package/dist/chunk-LY45VQ2E.cjs.map +0 -1
- package/dist/chunk-MJE4MLZY.js.map +0 -1
- package/dist/chunk-N6YMP2DX.js.map +0 -1
- package/dist/chunk-NCSINRHM.js.map +0 -1
- package/dist/chunk-NVNT4PMS.cjs.map +0 -1
- package/dist/chunk-ODLZQXBE.js.map +0 -1
- package/dist/chunk-OQIMB45E.js.map +0 -1
- package/dist/chunk-PRPGAJKZ.js +0 -72
- package/dist/chunk-PRPGAJKZ.js.map +0 -1
- package/dist/chunk-QTXKWCDV.js.map +0 -1
- package/dist/chunk-RMA57Q6K.cjs.map +0 -1
- package/dist/chunk-U2JEMXXJ.cjs.map +0 -1
- package/dist/chunk-VG5A2YZE.cjs.map +0 -1
- package/dist/chunk-XVCKJE3P.js.map +0 -1
- package/dist/chunk-YTQJ6FZK.cjs.map +0 -1
- package/dist/chunk-Z5OFNBWI.cjs.map +0 -1
- package/dist/chunk-ZXGEK67F.cjs.map +0 -1
- /package/dist/{chunk-LCSYN3DI.js.map → chunk-UZPVE6UB.js.map} +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "../chunk-J7N2552D.js";
|
|
4
|
+
|
|
5
|
+
// src/Alert/Alert.tsx
|
|
6
|
+
import { Alert as NextAlert } from "@heroui/alert";
|
|
7
|
+
import { alert as nextAlertVariants } from "@heroui/theme";
|
|
8
|
+
import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
var alertVariants = tv({
|
|
11
|
+
slots: {
|
|
12
|
+
base: "",
|
|
13
|
+
title: "",
|
|
14
|
+
description: "",
|
|
15
|
+
mainWrapper: "",
|
|
16
|
+
closeButton: "",
|
|
17
|
+
iconWrapper: "",
|
|
18
|
+
alertIcon: ""
|
|
19
|
+
},
|
|
20
|
+
variants: {
|
|
21
|
+
// See: https://github.comnextui-orgnextui/blob/canary/packages/core/theme/src/components/alert.ts
|
|
22
|
+
color: __spreadValues({
|
|
23
|
+
info: {
|
|
24
|
+
mainWrapper: "text-inherit",
|
|
25
|
+
title: "text-inherit",
|
|
26
|
+
description: "text-inherit"
|
|
27
|
+
}
|
|
28
|
+
}, nextAlertVariants.variants.color),
|
|
29
|
+
variant: __spreadValues({}, nextAlertVariants.variants.variant)
|
|
30
|
+
},
|
|
31
|
+
compoundVariants: [
|
|
32
|
+
...nextAlertVariants.compoundVariants,
|
|
33
|
+
{
|
|
34
|
+
color: "info",
|
|
35
|
+
variant: "solid",
|
|
36
|
+
className: {
|
|
37
|
+
base: "bg-info text-info-foreground",
|
|
38
|
+
alertIcon: "text-info-foreground",
|
|
39
|
+
closeButton: "text-inherit"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
color: "info",
|
|
44
|
+
variant: "flat",
|
|
45
|
+
className: {
|
|
46
|
+
alertIcon: "fill-current",
|
|
47
|
+
base: "dark:bg-info-50/50 bg-info-50 text-info-600",
|
|
48
|
+
closeButton: "text-info-500 data-[hover]:bg-info-200",
|
|
49
|
+
iconWrapper: "border-info-100 bg-info-50 dark:bg-info-100"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
color: "info",
|
|
54
|
+
variant: "faded",
|
|
55
|
+
className: {
|
|
56
|
+
alertIcon: "fill-current",
|
|
57
|
+
base: "dark:bg-info-50/50 border-small border-info-200 bg-info-50 text-info-600 dark:border-info-100",
|
|
58
|
+
closeButton: "text-info-500 data-[hover]:bg-info-200",
|
|
59
|
+
iconWrapper: "border-info-100 bg-info-50 dark:bg-info-100"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
color: "info",
|
|
64
|
+
variant: "bordered",
|
|
65
|
+
className: {
|
|
66
|
+
alertIcon: "fill-current",
|
|
67
|
+
base: "border-small border-info text-info",
|
|
68
|
+
closeButton: "text-info-500 data-[hover]:bg-info-200",
|
|
69
|
+
iconWrapper: "bg-info-100 dark:bg-info-50"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
});
|
|
74
|
+
var Alert = ({
|
|
75
|
+
children = void 0,
|
|
76
|
+
className = void 0,
|
|
77
|
+
color = "primary",
|
|
78
|
+
endContent = void 0,
|
|
79
|
+
icon = void 0,
|
|
80
|
+
isClosable = false,
|
|
81
|
+
onClose = void 0,
|
|
82
|
+
showIcon = true,
|
|
83
|
+
testId = void 0,
|
|
84
|
+
title = void 0,
|
|
85
|
+
variant = "solid"
|
|
86
|
+
}) => {
|
|
87
|
+
const variants = alertVariants({
|
|
88
|
+
color,
|
|
89
|
+
variant
|
|
90
|
+
});
|
|
91
|
+
const isHeroUIColor = Object.keys(nextAlertVariants.variants.color).includes(
|
|
92
|
+
color
|
|
93
|
+
);
|
|
94
|
+
const classNames = variantsToClassNames(variants, className, "base");
|
|
95
|
+
return /* @__PURE__ */ jsx(
|
|
96
|
+
NextAlert,
|
|
97
|
+
{
|
|
98
|
+
classNames,
|
|
99
|
+
color: isHeroUIColor ? color : void 0,
|
|
100
|
+
"data-testid": testId,
|
|
101
|
+
description: title ? children : void 0,
|
|
102
|
+
endContent,
|
|
103
|
+
hideIcon: !showIcon,
|
|
104
|
+
icon,
|
|
105
|
+
isClosable,
|
|
106
|
+
onClose,
|
|
107
|
+
title: title || children,
|
|
108
|
+
variant
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
};
|
|
112
|
+
var Alert_default = Alert;
|
|
113
|
+
|
|
114
|
+
// src/Alert/index.ts
|
|
115
|
+
var Alert_default2 = Alert_default;
|
|
116
|
+
export {
|
|
117
|
+
Alert_default as Alert,
|
|
118
|
+
alertVariants,
|
|
119
|
+
Alert_default2 as default
|
|
120
|
+
};
|
|
121
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Alert/Alert.tsx","../../src/Alert/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { AlertProps as NextAlertProps } from '@heroui/alert';\nimport type { ReactNode } from 'react';\n\nimport { Alert as NextAlert } from '@heroui/alert';\nimport { alert as nextAlertVariants } from '@heroui/theme';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nexport const alertVariants = tv({\n slots: {\n base: '',\n title: '',\n description: '',\n mainWrapper: '',\n closeButton: '',\n iconWrapper: '',\n alertIcon: '',\n },\n variants: {\n // See: https://github.comnextui-orgnextui/blob/canary/packages/core/theme/src/components/alert.ts\n color: {\n info: {\n mainWrapper: 'text-inherit',\n title: 'text-inherit',\n description: 'text-inherit',\n },\n ...nextAlertVariants.variants.color,\n },\n variant: {\n ...nextAlertVariants.variants.variant,\n },\n },\n compoundVariants: [\n ...nextAlertVariants.compoundVariants,\n {\n color: 'info',\n variant: 'solid',\n className: {\n base: 'bg-info text-info-foreground',\n alertIcon: 'text-info-foreground',\n closeButton: 'text-inherit',\n },\n },\n {\n color: 'info',\n variant: 'flat',\n className: {\n alertIcon: 'fill-current',\n base: 'dark:bg-info-50/50 bg-info-50 text-info-600',\n closeButton: 'text-info-500 data-[hover]:bg-info-200',\n iconWrapper: 'border-info-100 bg-info-50 dark:bg-info-100',\n },\n },\n {\n color: 'info',\n variant: 'faded',\n className: {\n alertIcon: 'fill-current',\n base: 'dark:bg-info-50/50 border-small border-info-200 bg-info-50 text-info-600 dark:border-info-100',\n closeButton: 'text-info-500 data-[hover]:bg-info-200',\n iconWrapper: 'border-info-100 bg-info-50 dark:bg-info-100',\n },\n },\n {\n color: 'info',\n variant: 'bordered',\n className: {\n alertIcon: 'fill-current',\n base: 'border-small border-info text-info',\n closeButton: 'text-info-500 data-[hover]:bg-info-200',\n iconWrapper: 'bg-info-100 dark:bg-info-50',\n },\n },\n ],\n});\n\nexport type VariantProps = TVProps<typeof alertVariants>;\ntype ClassName = TVClassName<typeof alertVariants>;\n\nexport interface AlertProps extends VariantProps {\n /** Content displayed inside the Alert if no description is given! */\n children?: ReactNode;\n /** CSS class name */\n className?: ClassName;\n /** Color scheme of the Alert */\n color?: VariantProps['color'];\n /** Content displayed at the end of the Alert */\n endContent?: ReactNode;\n /** Icon displayed at the start of the Alert */\n icon?: ReactNode;\n /** Whether the Alert can be closed */\n isClosable?: boolean;\n /** Callback fired when the close button is clicked */\n onClose?: () => void | undefined;\n /** Whether to show the icon at the start */\n showIcon?: boolean;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** Title displayed in the Alert above the content */\n title?: ReactNode;\n /** Style variant of the Alert */\n variant?: VariantProps['variant'];\n}\n\n/**\n * Alert component based on [HeroUI Alert](https://www.heroui.com//docs/components/alert)\n */\nconst Alert = ({\n children = undefined,\n className = undefined,\n color = 'primary',\n endContent = undefined,\n icon = undefined,\n isClosable = false,\n onClose = undefined,\n showIcon = true,\n testId = undefined,\n title = undefined,\n variant = 'solid',\n}: AlertProps) => {\n const variants = alertVariants({\n color,\n variant,\n });\n const isHeroUIColor = Object.keys(nextAlertVariants.variants.color).includes(\n color,\n );\n const classNames = variantsToClassNames(variants, className, 'base');\n\n return (\n <NextAlert\n classNames={classNames}\n color={isHeroUIColor ? (color as NextAlertProps['color']) : undefined}\n data-testid={testId}\n description={title ? children : undefined}\n endContent={endContent}\n hideIcon={!showIcon}\n icon={icon}\n isClosable={isClosable}\n onClose={onClose}\n title={(title || children) as string}\n variant={variant}\n />\n );\n};\n\nexport default Alert;\n","import Alert, { alertVariants } from './Alert';\n\nexport type { AlertProps } from './Alert';\n\nexport { Alert, alertVariants };\n\nexport default Alert;\n"],"mappings":";;;;;AAIA,SAAS,SAAS,iBAAiB;AACnC,SAAS,SAAS,yBAAyB;AAE3C,SAAS,IAAI,4BAA4B;AA4HrC;AA1HG,IAAM,gBAAgB,GAAG;AAAA,EAC9B,OAAO;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,IACb,aAAa;AAAA,IACb,aAAa;AAAA,IACb,aAAa;AAAA,IACb,WAAW;AAAA,EACb;AAAA,EACA,UAAU;AAAA;AAAA,IAER,OAAO;AAAA,MACL,MAAM;AAAA,QACJ,aAAa;AAAA,QACb,OAAO;AAAA,QACP,aAAa;AAAA,MACf;AAAA,OACG,kBAAkB,SAAS;AAAA,IAEhC,SAAS,mBACJ,kBAAkB,SAAS;AAAA,EAElC;AAAA,EACA,kBAAkB;AAAA,IAChB,GAAG,kBAAkB;AAAA,IACrB;AAAA,MACE,OAAO;AAAA,MACP,SAAS;AAAA,MACT,WAAW;AAAA,QACT,MAAM;AAAA,QACN,WAAW;AAAA,QACX,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO;AAAA,MACP,SAAS;AAAA,MACT,WAAW;AAAA,QACT,WAAW;AAAA,QACX,MAAM;AAAA,QACN,aAAa;AAAA,QACb,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO;AAAA,MACP,SAAS;AAAA,MACT,WAAW;AAAA,QACT,WAAW;AAAA,QACX,MAAM;AAAA,QACN,aAAa;AAAA,QACb,aAAa;AAAA,MACf;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO;AAAA,MACP,SAAS;AAAA,MACT,WAAW;AAAA,QACT,WAAW;AAAA,QACX,MAAM;AAAA,QACN,aAAa;AAAA,QACb,aAAa;AAAA,MACf;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAiCD,IAAM,QAAQ,CAAC;AAAA,EACb,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,OAAO;AAAA,EACP,aAAa;AAAA,EACb,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,UAAU;AACZ,MAAkB;AAChB,QAAM,WAAW,cAAc;AAAA,IAC7B;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,gBAAgB,OAAO,KAAK,kBAAkB,SAAS,KAAK,EAAE;AAAA,IAClE;AAAA,EACF;AACA,QAAM,aAAa,qBAAqB,UAAU,WAAW,MAAM;AAEnE,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,OAAO,gBAAiB,QAAoC;AAAA,MAC5D,eAAa;AAAA,MACb,aAAa,QAAQ,WAAW;AAAA,MAChC;AAAA,MACA,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA,MACA,OAAQ,SAAS;AAAA,MACjB;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,gBAAQ;;;AC7If,IAAOA,iBAAQ;","names":["Alert_default"]}
|
package/dist/Avatar/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkBURI3HTZcjs = require('../chunk-BURI3HTZ.cjs');
|
|
5
5
|
require('../chunk-D4TLDLEX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Avatar =
|
|
9
|
+
exports.Avatar = _chunkBURI3HTZcjs.Avatar_default; exports.default = _chunkBURI3HTZcjs.Avatar_default2;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Avatar/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Avatar } from '../Avatar-
|
|
2
|
-
export { a as AvatarProps } from '../Avatar-
|
|
1
|
+
import { A as Avatar } from '../Avatar-CY2AIMsK.cjs';
|
|
2
|
+
export { a as AvatarProps } from '../Avatar-CY2AIMsK.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Avatar } from '../Avatar-
|
|
2
|
-
export { a as AvatarProps } from '../Avatar-
|
|
1
|
+
import { A as Avatar } from '../Avatar-CY2AIMsK.js';
|
|
2
|
+
export { a as AvatarProps } from '../Avatar-CY2AIMsK.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Avatar/index.js
CHANGED
|
@@ -86,7 +86,7 @@ interface AvatarProps extends VariantProps {
|
|
|
86
86
|
src: string;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* Avatar component based on [
|
|
89
|
+
* Avatar component based on [HeroUI Avatar](https://www.heroui.com//docs/components/avatar)
|
|
90
90
|
*/
|
|
91
91
|
declare const Avatar: ({ bordered, rounded, className: _className, disabled, fallback, size, src, }: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
92
92
|
|
|
@@ -86,7 +86,7 @@ interface AvatarProps extends VariantProps {
|
|
|
86
86
|
src: string;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* Avatar component based on [
|
|
89
|
+
* Avatar component based on [HeroUI Avatar](https://www.heroui.com//docs/components/avatar)
|
|
90
90
|
*/
|
|
91
91
|
declare const Avatar: ({ bordered, rounded, className: _className, disabled, fallback, size, src, }: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
92
92
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkHPLU3CHPcjs = require('../chunk-HPLU3CHP.cjs');
|
|
5
|
+
require('../chunk-BURI3HTZ.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.AvatarGroup =
|
|
10
|
+
exports.AvatarGroup = _chunkHPLU3CHPcjs.AvatarGroup_default; exports.default = _chunkHPLU3CHPcjs.AvatarGroup_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as AvatarGroup } from '../AvatarGroup-
|
|
2
|
-
export { a as AvatarGroupProps } from '../AvatarGroup-
|
|
1
|
+
import { A as AvatarGroup } from '../AvatarGroup-J1yR1Smi.cjs';
|
|
2
|
+
export { a as AvatarGroupProps } from '../AvatarGroup-J1yR1Smi.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../Avatar-
|
|
5
|
+
import '../Avatar-CY2AIMsK.cjs';
|
|
6
6
|
import 'tailwind-variants/dist/config.js';
|
|
7
7
|
import 'tailwind-variants';
|
|
8
8
|
import '@fuf-stack/pixel-utils';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as AvatarGroup } from '../AvatarGroup-
|
|
2
|
-
export { a as AvatarGroupProps } from '../AvatarGroup-
|
|
1
|
+
import { A as AvatarGroup } from '../AvatarGroup-BSEjz5ez.js';
|
|
2
|
+
export { a as AvatarGroupProps } from '../AvatarGroup-BSEjz5ez.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../Avatar-
|
|
5
|
+
import '../Avatar-CY2AIMsK.js';
|
|
6
6
|
import 'tailwind-variants/dist/config.js';
|
|
7
7
|
import 'tailwind-variants';
|
|
8
8
|
import '@fuf-stack/pixel-utils';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AvatarGroup_default,
|
|
3
3
|
AvatarGroup_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-FPU6RJSG.js";
|
|
5
|
+
import "../chunk-CWCZM3HS.js";
|
|
6
6
|
import "../chunk-J7N2552D.js";
|
|
7
7
|
export {
|
|
8
8
|
AvatarGroup_default as AvatarGroup,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
import { a as AvatarProps } from './Avatar-
|
|
3
|
+
import { a as AvatarProps } from './Avatar-CY2AIMsK.js';
|
|
4
4
|
|
|
5
5
|
interface AvatarGroupProps {
|
|
6
6
|
bordered?: boolean;
|
|
@@ -16,7 +16,7 @@ interface AvatarGroupProps {
|
|
|
16
16
|
avatarWrapper?: JSX.ElementType;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* AvatarGroup component based on [
|
|
19
|
+
* AvatarGroup component based on [HeroUI AvatarGroup](https://www.heroui.com//docs/components/avatar)
|
|
20
20
|
*/
|
|
21
21
|
declare const AvatarGroup: ({ bordered, rounded, className, disabled, size, avatars, max, avatarWrapper: AvatarWrapper, }: AvatarGroupProps) => react_jsx_runtime.JSX.Element;
|
|
22
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
|
-
import { a as AvatarProps } from './Avatar-
|
|
3
|
+
import { a as AvatarProps } from './Avatar-CY2AIMsK.cjs';
|
|
4
4
|
|
|
5
5
|
interface AvatarGroupProps {
|
|
6
6
|
bordered?: boolean;
|
|
@@ -16,7 +16,7 @@ interface AvatarGroupProps {
|
|
|
16
16
|
avatarWrapper?: JSX.ElementType;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* AvatarGroup component based on [
|
|
19
|
+
* AvatarGroup component based on [HeroUI AvatarGroup](https://www.heroui.com//docs/components/avatar)
|
|
20
20
|
*/
|
|
21
21
|
declare const AvatarGroup: ({ bordered, rounded, className, disabled, size, avatars, max, avatarWrapper: AvatarWrapper, }: AvatarGroupProps) => react_jsx_runtime.JSX.Element;
|
|
22
22
|
|
package/dist/Badge/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkD7KXMNEIcjs = require('../chunk-D7KXMNEI.cjs');
|
|
5
5
|
require('../chunk-D4TLDLEX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Badge =
|
|
9
|
+
exports.Badge = _chunkD7KXMNEIcjs.Badge_default; exports.default = _chunkD7KXMNEIcjs.Badge_default2;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Badge/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as Avatar } from '../Badge-
|
|
2
|
-
export { B as BadgeProps } from '../Badge-
|
|
1
|
+
import { A as Avatar } from '../Badge-CvXzljaJ.cjs';
|
|
2
|
+
export { B as BadgeProps } from '../Badge-CvXzljaJ.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
|
6
6
|
import 'tailwind-variants';
|
|
7
7
|
import '@fuf-stack/pixel-utils';
|
|
8
|
-
import '@
|
|
8
|
+
import '@heroui/badge';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
package/dist/Badge/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as Avatar } from '../Badge-
|
|
2
|
-
export { B as BadgeProps } from '../Badge-
|
|
1
|
+
import { A as Avatar } from '../Badge-CvXzljaJ.js';
|
|
2
|
+
export { B as BadgeProps } from '../Badge-CvXzljaJ.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
|
6
6
|
import 'tailwind-variants';
|
|
7
7
|
import '@fuf-stack/pixel-utils';
|
|
8
|
-
import '@
|
|
8
|
+
import '@heroui/badge';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
package/dist/Badge/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
4
|
import * as tailwind_variants from 'tailwind-variants';
|
|
5
5
|
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
6
|
-
import { BadgeProps as BadgeProps$1 } from '@
|
|
6
|
+
import { BadgeProps as BadgeProps$1 } from '@heroui/badge';
|
|
7
7
|
|
|
8
8
|
declare const badgeVariants: tailwind_variants.TVReturnType<{
|
|
9
9
|
[key: string]: {
|
|
@@ -71,7 +71,7 @@ interface BadgeProps extends VariantProps {
|
|
|
71
71
|
size?: BadgeProps$1['size'];
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* Badge component based on [
|
|
74
|
+
* Badge component based on [HeroUI Badge](https://www.heroui.com//docs/components/badge)
|
|
75
75
|
*/
|
|
76
76
|
declare const Avatar: ({ children, className: _className, content, color, isOneChar, noOutline, placement, size, }: BadgeProps) => string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
77
77
|
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
4
|
import * as tailwind_variants from 'tailwind-variants';
|
|
5
5
|
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
6
|
-
import { BadgeProps as BadgeProps$1 } from '@
|
|
6
|
+
import { BadgeProps as BadgeProps$1 } from '@heroui/badge';
|
|
7
7
|
|
|
8
8
|
declare const badgeVariants: tailwind_variants.TVReturnType<{
|
|
9
9
|
[key: string]: {
|
|
@@ -71,7 +71,7 @@ interface BadgeProps extends VariantProps {
|
|
|
71
71
|
size?: BadgeProps$1['size'];
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* Badge component based on [
|
|
74
|
+
* Badge component based on [HeroUI Badge](https://www.heroui.com//docs/components/badge)
|
|
75
75
|
*/
|
|
76
76
|
declare const Avatar: ({ children, className: _className, content, color, isOneChar, noOutline, placement, size, }: BadgeProps) => string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
77
77
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkOOFJGGRScjs = require('../chunk-OOFJGGRS.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Breadcrumb =
|
|
11
|
+
exports.Breadcrumb = _chunkOOFJGGRScjs.Breadcrumb_default; exports.breadcrumbVariants = _chunkOOFJGGRScjs.breadcrumbVariants; exports.default = _chunkOOFJGGRScjs.Breadcrumb_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Breadcrumb } from '../Breadcrumb-
|
|
2
|
-
export { c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from '../Breadcrumb-
|
|
1
|
+
import { B as Breadcrumb } from '../Breadcrumb-1cB54eJk.cjs';
|
|
2
|
+
export { c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from '../Breadcrumb-1cB54eJk.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Breadcrumb } from '../Breadcrumb-
|
|
2
|
-
export { c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from '../Breadcrumb-
|
|
1
|
+
import { B as Breadcrumb } from '../Breadcrumb-1cB54eJk.js';
|
|
2
|
+
export { c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from '../Breadcrumb-1cB54eJk.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
package/dist/Breadcrumb/index.js
CHANGED
|
@@ -37,7 +37,7 @@ declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
|
37
37
|
list: string;
|
|
38
38
|
/** separator slot */
|
|
39
39
|
separator: string;
|
|
40
|
-
/** nav slot, breadcrumb base slot in
|
|
40
|
+
/** nav slot, breadcrumb base slot in heroui */
|
|
41
41
|
nav: string;
|
|
42
42
|
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
43
43
|
[key: string]: {
|
|
@@ -72,7 +72,7 @@ declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
|
72
72
|
list: string;
|
|
73
73
|
/** separator slot */
|
|
74
74
|
separator: string;
|
|
75
|
-
/** nav slot, breadcrumb base slot in
|
|
75
|
+
/** nav slot, breadcrumb base slot in heroui */
|
|
76
76
|
nav: string;
|
|
77
77
|
}, tailwind_variants.TVReturnType<unknown, {
|
|
78
78
|
/** ellipsis slot */
|
|
@@ -85,7 +85,7 @@ declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
|
85
85
|
list: string;
|
|
86
86
|
/** separator slot */
|
|
87
87
|
separator: string;
|
|
88
|
-
/** nav slot, breadcrumb base slot in
|
|
88
|
+
/** nav slot, breadcrumb base slot in heroui */
|
|
89
89
|
nav: string;
|
|
90
90
|
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
91
91
|
[key: string]: {
|
|
@@ -138,7 +138,7 @@ interface BreadcrumbProps extends VariantProps {
|
|
|
138
138
|
variant?: 'solid' | 'bordered' | 'light';
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* Breadcrumb component based on [
|
|
141
|
+
* Breadcrumb component based on [HeroUI Breadcrumbs](https://www.heroui.com//docs/components/breadcrumbs)
|
|
142
142
|
*/
|
|
143
143
|
declare const Breadcrumb: ({ breadcrumbItems, className: _className, color, disableAnimation, disabled, hideSeparator, maxItems, radius, separator, size, underline, variant, }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
144
144
|
|
|
@@ -37,7 +37,7 @@ declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
|
37
37
|
list: string;
|
|
38
38
|
/** separator slot */
|
|
39
39
|
separator: string;
|
|
40
|
-
/** nav slot, breadcrumb base slot in
|
|
40
|
+
/** nav slot, breadcrumb base slot in heroui */
|
|
41
41
|
nav: string;
|
|
42
42
|
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
43
43
|
[key: string]: {
|
|
@@ -72,7 +72,7 @@ declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
|
72
72
|
list: string;
|
|
73
73
|
/** separator slot */
|
|
74
74
|
separator: string;
|
|
75
|
-
/** nav slot, breadcrumb base slot in
|
|
75
|
+
/** nav slot, breadcrumb base slot in heroui */
|
|
76
76
|
nav: string;
|
|
77
77
|
}, tailwind_variants.TVReturnType<unknown, {
|
|
78
78
|
/** ellipsis slot */
|
|
@@ -85,7 +85,7 @@ declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
|
85
85
|
list: string;
|
|
86
86
|
/** separator slot */
|
|
87
87
|
separator: string;
|
|
88
|
-
/** nav slot, breadcrumb base slot in
|
|
88
|
+
/** nav slot, breadcrumb base slot in heroui */
|
|
89
89
|
nav: string;
|
|
90
90
|
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
91
91
|
[key: string]: {
|
|
@@ -138,7 +138,7 @@ interface BreadcrumbProps extends VariantProps {
|
|
|
138
138
|
variant?: 'solid' | 'bordered' | 'light';
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* Breadcrumb component based on [
|
|
141
|
+
* Breadcrumb component based on [HeroUI Breadcrumbs](https://www.heroui.com//docs/components/breadcrumbs)
|
|
142
142
|
*/
|
|
143
143
|
declare const Breadcrumb: ({ breadcrumbItems, className: _className, color, disableAnimation, disabled, hideSeparator, maxItems, radius, separator, size, underline, variant, }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
144
144
|
|
package/dist/Button/index.cjs
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkA4FOULHYcjs = require('../chunk-A4FOULHY.cjs');
|
|
7
7
|
require('../chunk-D4TLDLEX.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.Button =
|
|
13
|
+
exports.Button = _chunkA4FOULHYcjs.Button_default; exports.ButtonGroup = _chunkA4FOULHYcjs.ButtonGroup_default; exports.buttonVariants = _chunkA4FOULHYcjs.buttonVariants; exports.default = _chunkA4FOULHYcjs.Button_default2;
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Button/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as Button } from '../ButtonGroup-
|
|
2
|
-
export { a as ButtonGroup, c as ButtonProps, b as buttonVariants } from '../ButtonGroup-
|
|
1
|
+
import { B as Button } from '../ButtonGroup-g0hk2u-s.cjs';
|
|
2
|
+
export { a as ButtonGroup, c as ButtonProps, b as buttonVariants } from '../ButtonGroup-g0hk2u-s.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
|
6
6
|
import '@fuf-stack/pixel-utils';
|
|
7
|
-
import '@
|
|
7
|
+
import '@heroui/button';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '@
|
|
9
|
+
import '@heroui/system';
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as Button } from '../ButtonGroup-
|
|
2
|
-
export { a as ButtonGroup, c as ButtonProps, b as buttonVariants } from '../ButtonGroup-
|
|
1
|
+
import { B as Button } from '../ButtonGroup-g0hk2u-s.js';
|
|
2
|
+
export { a as ButtonGroup, c as ButtonProps, b as buttonVariants } from '../ButtonGroup-g0hk2u-s.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
|
6
6
|
import '@fuf-stack/pixel-utils';
|
|
7
|
-
import '@
|
|
7
|
+
import '@heroui/button';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '@
|
|
9
|
+
import '@heroui/system';
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
package/dist/Button/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as tailwind_variants from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
4
|
import { TVProps } from '@fuf-stack/pixel-utils';
|
|
5
|
-
import * as
|
|
6
|
-
import { ButtonProps as ButtonProps$1 } from '@
|
|
5
|
+
import * as _heroui_button from '@heroui/button';
|
|
6
|
+
import { ButtonProps as ButtonProps$1 } from '@heroui/button';
|
|
7
7
|
import { ReactNode } from 'react';
|
|
8
|
-
import * as
|
|
8
|
+
import * as _heroui_system from '@heroui/system';
|
|
9
9
|
|
|
10
10
|
declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
11
11
|
color: {
|
|
@@ -164,13 +164,13 @@ interface ButtonProps extends VariantProps {
|
|
|
164
164
|
variant?: ButtonProps$1['variant'];
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
* Button component based on [
|
|
167
|
+
* Button component based on [HeroUI Button](https://www.heroui.com//docs/components/button)
|
|
168
168
|
*/
|
|
169
169
|
declare const Button: ({ ariaLabel, children, className, color, disabled, disableAnimation, icon, loading, onClick, size, testId, type, variant, }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
|
-
* Button Group based on [
|
|
172
|
+
* Button Group based on [HeroUI Button Group](https://www.heroui.com//docs/components/button#button-group)
|
|
173
173
|
*/
|
|
174
|
-
declare const ButtonGroup:
|
|
174
|
+
declare const ButtonGroup: _heroui_system.InternalForwardRefRenderFunction<"div", _heroui_button.ButtonGroupProps, never>;
|
|
175
175
|
|
|
176
176
|
export { Button as B, ButtonGroup as a, buttonVariants as b, type ButtonProps as c };
|
|
@@ -2,10 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as tailwind_variants from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
4
|
import { TVProps } from '@fuf-stack/pixel-utils';
|
|
5
|
-
import * as
|
|
6
|
-
import { ButtonProps as ButtonProps$1 } from '@
|
|
5
|
+
import * as _heroui_button from '@heroui/button';
|
|
6
|
+
import { ButtonProps as ButtonProps$1 } from '@heroui/button';
|
|
7
7
|
import { ReactNode } from 'react';
|
|
8
|
-
import * as
|
|
8
|
+
import * as _heroui_system from '@heroui/system';
|
|
9
9
|
|
|
10
10
|
declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
11
11
|
color: {
|
|
@@ -164,13 +164,13 @@ interface ButtonProps extends VariantProps {
|
|
|
164
164
|
variant?: ButtonProps$1['variant'];
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
* Button component based on [
|
|
167
|
+
* Button component based on [HeroUI Button](https://www.heroui.com//docs/components/button)
|
|
168
168
|
*/
|
|
169
169
|
declare const Button: ({ ariaLabel, children, className, color, disabled, disableAnimation, icon, loading, onClick, size, testId, type, variant, }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
|
-
* Button Group based on [
|
|
172
|
+
* Button Group based on [HeroUI Button Group](https://www.heroui.com//docs/components/button#button-group)
|
|
173
173
|
*/
|
|
174
|
-
declare const ButtonGroup:
|
|
174
|
+
declare const ButtonGroup: _heroui_system.InternalForwardRefRenderFunction<"div", _heroui_button.ButtonGroupProps, never>;
|
|
175
175
|
|
|
176
176
|
export { Button as B, ButtonGroup as a, buttonVariants as b, type ButtonProps as c };
|