@fuf-stack/pixels 0.32.3 → 0.32.4
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.js +1 -1
- package/dist/Alert/index.cjs +1 -1
- package/dist/Alert/index.cjs.map +1 -1
- package/dist/Alert/index.js +8 -8
- package/dist/Alert/index.js.map +1 -1
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/AvatarGroup/index.cjs +3 -3
- package/dist/AvatarGroup/index.js +2 -2
- package/dist/Badge/index.cjs +2 -2
- package/dist/Badge/index.js +1 -1
- package/dist/Breadcrumb/index.cjs +2 -2
- package/dist/Breadcrumb/index.js +1 -1
- package/dist/Button/index.cjs +2 -2
- package/dist/Button/index.d.cts +2 -2
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{ButtonGroup-g0hk2u-s.d.cts → ButtonGroup-DyAm7NZs.d.cts} +2 -2
- package/dist/{ButtonGroup-g0hk2u-s.d.ts → ButtonGroup-DyAm7NZs.d.ts} +2 -2
- package/dist/Card/index.cjs +2 -2
- package/dist/Card/index.js +1 -1
- package/dist/Drawer/index.cjs +2 -2
- package/dist/Drawer/index.js +1 -1
- 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.js +1 -1
- package/dist/Menu/index.cjs +2 -2
- package/dist/Menu/index.js +1 -1
- package/dist/Modal/index.cjs +2 -2
- package/dist/Modal/index.js +1 -1
- package/dist/Popover/index.cjs +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/Progress/index.cjs +1 -1
- package/dist/Progress/index.cjs.map +1 -1
- package/dist/Progress/index.js +3 -3
- package/dist/Progress/index.js.map +1 -1
- package/dist/Table/index.cjs +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/Tabs/index.cjs +2 -2
- package/dist/Tabs/index.js +1 -1
- package/dist/Tooltip/index.cjs +2 -2
- package/dist/Tooltip/index.js +1 -1
- package/dist/{chunk-XTR4NKDP.cjs → chunk-2P5WWVQ6.cjs} +1 -1
- package/dist/{chunk-XTR4NKDP.cjs.map → chunk-2P5WWVQ6.cjs.map} +1 -1
- package/dist/{chunk-WV3ZDL4J.cjs → chunk-2XYKRMUN.cjs} +1 -1
- package/dist/{chunk-WV3ZDL4J.cjs.map → chunk-2XYKRMUN.cjs.map} +1 -1
- package/dist/{chunk-FPU6RJSG.js → chunk-3QICKBFS.js} +4 -4
- package/dist/{chunk-FPU6RJSG.js.map → chunk-3QICKBFS.js.map} +1 -1
- package/dist/{chunk-CWCZM3HS.js → chunk-4Y4W74D7.js} +3 -3
- package/dist/{chunk-CWCZM3HS.js.map → chunk-4Y4W74D7.js.map} +1 -1
- package/dist/{chunk-QSQ5NCIF.js → chunk-72VIMIAB.js} +4 -4
- package/dist/{chunk-QSQ5NCIF.js.map → chunk-72VIMIAB.js.map} +1 -1
- package/dist/{chunk-BURI3HTZ.cjs → chunk-77J7NZYB.cjs} +1 -1
- package/dist/{chunk-BURI3HTZ.cjs.map → chunk-77J7NZYB.cjs.map} +1 -1
- package/dist/{chunk-2WJJS4CZ.js → chunk-7H67WTTJ.js} +1 -1
- package/dist/{chunk-2WJJS4CZ.js.map → chunk-7H67WTTJ.js.map} +1 -1
- package/dist/{chunk-5H2LBLSC.js → chunk-7QBCVRQD.js} +5 -5
- package/dist/{chunk-5H2LBLSC.js.map → chunk-7QBCVRQD.js.map} +1 -1
- package/dist/{chunk-WSM7WMFP.cjs → chunk-7RVUB6I5.cjs} +1 -1
- package/dist/{chunk-WSM7WMFP.cjs.map → chunk-7RVUB6I5.cjs.map} +1 -1
- package/dist/{chunk-XUF52AKP.js → chunk-ABKT5UKM.js} +11 -11
- package/dist/{chunk-XUF52AKP.js.map → chunk-ABKT5UKM.js.map} +1 -1
- package/dist/{chunk-AJLLRWSE.cjs → chunk-C4H5ZCTV.cjs} +1 -1
- package/dist/{chunk-AJLLRWSE.cjs.map → chunk-C4H5ZCTV.cjs.map} +1 -1
- package/dist/{chunk-BB7I2MIX.cjs → chunk-CXHVRIPZ.cjs} +1 -1
- package/dist/{chunk-BB7I2MIX.cjs.map → chunk-CXHVRIPZ.cjs.map} +1 -1
- package/dist/{chunk-XNMTAL3J.cjs → chunk-D6LCMOKN.cjs} +1 -1
- package/dist/{chunk-XNMTAL3J.cjs.map → chunk-D6LCMOKN.cjs.map} +1 -1
- package/dist/{chunk-3LEUWIY3.js → chunk-ERK2LYGJ.js} +5 -5
- package/dist/{chunk-3LEUWIY3.js.map → chunk-ERK2LYGJ.js.map} +1 -1
- package/dist/{chunk-D7KXMNEI.cjs → chunk-JSANDW3W.cjs} +1 -1
- package/dist/{chunk-D7KXMNEI.cjs.map → chunk-JSANDW3W.cjs.map} +1 -1
- package/dist/{chunk-ORO34I7X.cjs → chunk-KBYU4ZF2.cjs} +2 -2
- package/dist/{chunk-ORO34I7X.cjs.map → chunk-KBYU4ZF2.cjs.map} +1 -1
- package/dist/{chunk-2SQEDOXZ.cjs → chunk-L2H7DUEB.cjs} +1 -1
- package/dist/{chunk-2SQEDOXZ.cjs.map → chunk-L2H7DUEB.cjs.map} +1 -1
- package/dist/{chunk-HPLU3CHP.cjs → chunk-LIZGYO24.cjs} +4 -4
- package/dist/{chunk-HPLU3CHP.cjs.map → chunk-LIZGYO24.cjs.map} +1 -1
- package/dist/{chunk-TCL2PX3F.js → chunk-LRJVQPVR.js} +12 -12
- package/dist/{chunk-TCL2PX3F.js.map → chunk-LRJVQPVR.js.map} +1 -1
- package/dist/{chunk-ZXN5DNKQ.cjs → chunk-MHZAWSFJ.cjs} +1 -1
- package/dist/{chunk-ZXN5DNKQ.cjs.map → chunk-MHZAWSFJ.cjs.map} +1 -1
- package/dist/{chunk-Z7QNU4XB.js → chunk-NES3USBQ.js} +3 -3
- package/dist/{chunk-Z7QNU4XB.js.map → chunk-NES3USBQ.js.map} +1 -1
- package/dist/{chunk-GA54AM2W.js → chunk-NHEC3GYW.js} +5 -5
- package/dist/{chunk-GA54AM2W.js.map → chunk-NHEC3GYW.js.map} +1 -1
- package/dist/{chunk-ZZC6S7D2.js → chunk-NQVSANDI.js} +3 -3
- package/dist/{chunk-ZZC6S7D2.js.map → chunk-NQVSANDI.js.map} +1 -1
- package/dist/{chunk-6NC5NOYF.js → chunk-OVS2CO2K.js} +3 -3
- package/dist/{chunk-6NC5NOYF.js.map → chunk-OVS2CO2K.js.map} +1 -1
- package/dist/{chunk-T7EAVBXL.cjs → chunk-PEUUQMJS.cjs} +1 -1
- package/dist/{chunk-T7EAVBXL.cjs.map → chunk-PEUUQMJS.cjs.map} +1 -1
- package/dist/{chunk-EVAV23ZV.js → chunk-RW4WTSLJ.js} +11 -11
- package/dist/{chunk-EVAV23ZV.js.map → chunk-RW4WTSLJ.js.map} +1 -1
- package/dist/{chunk-A4FOULHY.cjs → chunk-TAVTNSQG.cjs} +1 -1
- package/dist/{chunk-A4FOULHY.cjs.map → chunk-TAVTNSQG.cjs.map} +1 -1
- package/dist/{chunk-FFRBORVV.cjs → chunk-U46SDLRH.cjs} +3 -3
- package/dist/{chunk-FFRBORVV.cjs.map → chunk-U46SDLRH.cjs.map} +1 -1
- package/dist/{chunk-ITOA7Q42.js → chunk-VBOUHWXM.js} +11 -11
- package/dist/{chunk-ITOA7Q42.js.map → chunk-VBOUHWXM.js.map} +1 -1
- package/dist/{chunk-ZKCOHRTR.js → chunk-VZJTWG7U.js} +3 -3
- package/dist/{chunk-ZKCOHRTR.js.map → chunk-VZJTWG7U.js.map} +1 -1
- package/dist/{chunk-UZPVE6UB.js → chunk-XNKV2DN7.js} +2 -2
- package/dist/{chunk-OOFJGGRS.cjs → chunk-ZZOEFQWQ.cjs} +1 -1
- package/dist/{chunk-OOFJGGRS.cjs.map → chunk-ZZOEFQWQ.cjs.map} +1 -1
- package/dist/index.cjs +17 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +18 -18
- package/package.json +5 -5
- /package/dist/{chunk-UZPVE6UB.js.map → chunk-XNKV2DN7.js.map} +0 -0
package/dist/Accordion/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2P5WWVQ6cjs = require('../chunk-2P5WWVQ6.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Accordion =
|
|
11
|
+
exports.Accordion = _chunk2P5WWVQ6cjs.Accordion_default; exports.accordionVariants = _chunk2P5WWVQ6cjs.accordionVariants; exports.default = _chunk2P5WWVQ6cjs.Accordion_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Accordion/index.js
CHANGED
package/dist/Alert/index.cjs
CHANGED
|
@@ -18,7 +18,7 @@ var alertVariants = _pixelutils.tv.call(void 0, {
|
|
|
18
18
|
alertIcon: ""
|
|
19
19
|
},
|
|
20
20
|
variants: {
|
|
21
|
-
//
|
|
21
|
+
// see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/alert.ts
|
|
22
22
|
color: _chunkD4TLDLEXcjs.__spreadValues.call(void 0, {
|
|
23
23
|
info: {
|
|
24
24
|
mainWrapper: "text-inherit",
|
package/dist/Alert/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/Alert/index.cjs","../../src/Alert/Alert.tsx","../../src/Alert/index.ts"],"names":["Alert_default"],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACA;ACAA,sCAAmC;AACnC,sCAA2C;AAE3C,oDAAyC;AA4HrC,+CAAA;AA1HG,IAAM,cAAA,EAAgB,4BAAA;AAAG,EAC9B,KAAA,EAAO;AAAA,IACL,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A,MAChC,UAAA;AAAA,MACA,QAAA,EAAU,CAAC,QAAA;AAAA,MACX,IAAA;AAAA,MACA,UAAA;AAAA,MACA,OAAA;AAAA,MACA,KAAA,EAAQ,MAAA,GAAS,QAAA;AAAA,MACjB;AAAA,IAAA;AAAA,EACF,CAAA;AAEJ,CAAA;AAEA,IAAO,cAAA,EAAQ,KAAA;ADnCf;AACA;AE3GA,IAAOA,eAAAA,EAAQ,aAAA;AF6Gf;AACE;AACA;AACA;AACF,uGAAC","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/Alert/index.cjs","sourcesContent":[null,"import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { AlertProps as
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/Alert/index.cjs","../../src/Alert/Alert.tsx","../../src/Alert/index.ts"],"names":["Alert_default"],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACA;ACAA,sCAAmC;AACnC,sCAA2C;AAE3C,oDAAyC;AA4HrC,+CAAA;AA1HG,IAAM,cAAA,EAAgB,4BAAA;AAAG,EAC9B,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,EAAA;AAAA,IACN,KAAA,EAAO,EAAA;AAAA,IACP,WAAA,EAAa,EAAA;AAAA,IACb,WAAA,EAAa,EAAA;AAAA,IACb,WAAA,EAAa,EAAA;AAAA,IACb,WAAA,EAAa,EAAA;AAAA,IACb,SAAA,EAAW;AAAA,EACb,CAAA;AAAA,EACA,QAAA,EAAU;AAAA;AAAA,IAER,KAAA,EAAO,8CAAA;AAAA,MACL,IAAA,EAAM;AAAA,QACJ,WAAA,EAAa,cAAA;AAAA,QACb,KAAA,EAAO,cAAA;AAAA,QACP,WAAA,EAAa;AAAA,MACf;AAAA,IAAA,CAAA,EACG,YAAA,CAAkB,QAAA,CAAS,KAAA,CAAA;AAAA,IAEhC,OAAA,EAAS,8CAAA,CAAA,CAAA,EACJ,YAAA,CAAkB,QAAA,CAAS,OAAA;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AAAA,EACb,QAAA,EAAU,KAAA,CAAA;AAAA,EACV,SAAA,EAAW,IAAA;AAAA,EACX,OAAA,EAAS,KAAA,CAAA;AAAA,EACT,MAAA,EAAQ,KAAA,CAAA;AAAA,EACR,QAAA,EAAU;AACZ,CAAA,EAAA,GAAkB;AAChB,EAAA,MAAM,SAAA,EAAW,aAAA,CAAc;AAAA,IAC7B,KAAA;AAAA,IACA;AAAA,EACF,CAAC,CAAA;AACD,EAAA,MAAM,cAAA,EAAgB,MAAA,CAAO,IAAA,CAAK,YAAA,CAAkB,QAAA,CAAS,KAAK,CAAA,CAAE,QAAA;AAAA,IAClE;AAAA,EACF,CAAA;AACA,EAAA,MAAM,WAAA,EAAa,8CAAA,QAAqB,EAAU,SAAA,EAAW,MAAM,CAAA;AAEnE,EAAA,uBACE,6BAAA;AAAA,IAAC,YAAA;AAAA,IAAA;AAAA,MACC,UAAA;AAAA,MACA,KAAA,EAAO,cAAA,EAAiB,MAAA,EAAoC,KAAA,CAAA;AAAA,MAC5D,aAAA,EAAa,MAAA;AAAA,MACb,WAAA,EAAa,MAAA,EAAQ,SAAA,EAAW,KAAA,CAAA;AAAA,MAChC,UAAA;AAAA,MACA,QAAA,EAAU,CAAC,QAAA;AAAA,MACX,IAAA;AAAA,MACA,UAAA;AAAA,MACA,OAAA;AAAA,MACA,KAAA,EAAQ,MAAA,GAAS,QAAA;AAAA,MACjB;AAAA,IAAA;AAAA,EACF,CAAA;AAEJ,CAAA;AAEA,IAAO,cAAA,EAAQ,KAAA;ADnCf;AACA;AE3GA,IAAOA,eAAAA,EAAQ,aAAA;AF6Gf;AACE;AACA;AACA;AACF,uGAAC","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/Alert/index.cjs","sourcesContent":[null,"import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { AlertProps as HeroAlertProps } from '@heroui/alert';\nimport type { ReactNode } from 'react';\n\nimport { Alert as HeroAlert } from '@heroui/alert';\nimport { alert as heroAlertVariants } 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.com/heroui-inc/heroui/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 ...heroAlertVariants.variants.color,\n },\n variant: {\n ...heroAlertVariants.variants.variant,\n },\n },\n compoundVariants: [\n ...heroAlertVariants.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(heroAlertVariants.variants.color).includes(\n color,\n );\n const classNames = variantsToClassNames(variants, className, 'base');\n\n return (\n <HeroAlert\n classNames={classNames}\n color={isHeroUIColor ? (color as HeroAlertProps['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"]}
|
package/dist/Alert/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "../chunk-J7N2552D.js";
|
|
4
4
|
|
|
5
5
|
// src/Alert/Alert.tsx
|
|
6
|
-
import { Alert as
|
|
7
|
-
import { alert as
|
|
6
|
+
import { Alert as HeroAlert } from "@heroui/alert";
|
|
7
|
+
import { alert as heroAlertVariants } from "@heroui/theme";
|
|
8
8
|
import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
var alertVariants = tv({
|
|
@@ -18,18 +18,18 @@ var alertVariants = tv({
|
|
|
18
18
|
alertIcon: ""
|
|
19
19
|
},
|
|
20
20
|
variants: {
|
|
21
|
-
//
|
|
21
|
+
// see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/alert.ts
|
|
22
22
|
color: __spreadValues({
|
|
23
23
|
info: {
|
|
24
24
|
mainWrapper: "text-inherit",
|
|
25
25
|
title: "text-inherit",
|
|
26
26
|
description: "text-inherit"
|
|
27
27
|
}
|
|
28
|
-
},
|
|
29
|
-
variant: __spreadValues({},
|
|
28
|
+
}, heroAlertVariants.variants.color),
|
|
29
|
+
variant: __spreadValues({}, heroAlertVariants.variants.variant)
|
|
30
30
|
},
|
|
31
31
|
compoundVariants: [
|
|
32
|
-
...
|
|
32
|
+
...heroAlertVariants.compoundVariants,
|
|
33
33
|
{
|
|
34
34
|
color: "info",
|
|
35
35
|
variant: "solid",
|
|
@@ -88,12 +88,12 @@ var Alert = ({
|
|
|
88
88
|
color,
|
|
89
89
|
variant
|
|
90
90
|
});
|
|
91
|
-
const isHeroUIColor = Object.keys(
|
|
91
|
+
const isHeroUIColor = Object.keys(heroAlertVariants.variants.color).includes(
|
|
92
92
|
color
|
|
93
93
|
);
|
|
94
94
|
const classNames = variantsToClassNames(variants, className, "base");
|
|
95
95
|
return /* @__PURE__ */ jsx(
|
|
96
|
-
|
|
96
|
+
HeroAlert,
|
|
97
97
|
{
|
|
98
98
|
classNames,
|
|
99
99
|
color: isHeroUIColor ? color : void 0,
|
package/dist/Alert/index.js.map
CHANGED
|
@@ -1 +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
|
|
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 HeroAlertProps } from '@heroui/alert';\nimport type { ReactNode } from 'react';\n\nimport { Alert as HeroAlert } from '@heroui/alert';\nimport { alert as heroAlertVariants } 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.com/heroui-inc/heroui/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 ...heroAlertVariants.variants.color,\n },\n variant: {\n ...heroAlertVariants.variants.variant,\n },\n },\n compoundVariants: [\n ...heroAlertVariants.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(heroAlertVariants.variants.color).includes(\n color,\n );\n const classNames = variantsToClassNames(variants, className, 'base');\n\n return (\n <HeroAlert\n classNames={classNames}\n color={isHeroUIColor ? (color as HeroAlertProps['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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B,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 _chunk77J7NZYBcjs = require('../chunk-77J7NZYB.cjs');
|
|
5
5
|
require('../chunk-D4TLDLEX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Avatar =
|
|
9
|
+
exports.Avatar = _chunk77J7NZYBcjs.Avatar_default; exports.default = _chunk77J7NZYBcjs.Avatar_default2;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Avatar/index.js
CHANGED
|
@@ -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 _chunkLIZGYO24cjs = require('../chunk-LIZGYO24.cjs');
|
|
5
|
+
require('../chunk-77J7NZYB.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.AvatarGroup =
|
|
10
|
+
exports.AvatarGroup = _chunkLIZGYO24cjs.AvatarGroup_default; exports.default = _chunkLIZGYO24cjs.AvatarGroup_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AvatarGroup_default,
|
|
3
3
|
AvatarGroup_default2
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-3QICKBFS.js";
|
|
5
|
+
import "../chunk-4Y4W74D7.js";
|
|
6
6
|
import "../chunk-J7N2552D.js";
|
|
7
7
|
export {
|
|
8
8
|
AvatarGroup_default as AvatarGroup,
|
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 _chunkJSANDW3Wcjs = require('../chunk-JSANDW3W.cjs');
|
|
5
5
|
require('../chunk-D4TLDLEX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Badge =
|
|
9
|
+
exports.Badge = _chunkJSANDW3Wcjs.Badge_default; exports.default = _chunkJSANDW3Wcjs.Badge_default2;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Badge/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZZOEFQWQcjs = require('../chunk-ZZOEFQWQ.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Breadcrumb =
|
|
11
|
+
exports.Breadcrumb = _chunkZZOEFQWQcjs.Breadcrumb_default; exports.breadcrumbVariants = _chunkZZOEFQWQcjs.breadcrumbVariants; exports.default = _chunkZZOEFQWQcjs.Breadcrumb_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Breadcrumb/index.js
CHANGED
package/dist/Button/index.cjs
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkTAVTNSQGcjs = require('../chunk-TAVTNSQG.cjs');
|
|
7
7
|
require('../chunk-D4TLDLEX.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.Button =
|
|
13
|
+
exports.Button = _chunkTAVTNSQGcjs.Button_default; exports.ButtonGroup = _chunkTAVTNSQGcjs.ButtonGroup_default; exports.buttonVariants = _chunkTAVTNSQGcjs.buttonVariants; exports.default = _chunkTAVTNSQGcjs.Button_default2;
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Button/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-DyAm7NZs.cjs';
|
|
2
|
+
export { a as ButtonGroup, c as ButtonProps, b as buttonVariants } from '../ButtonGroup-DyAm7NZs.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-DyAm7NZs.js';
|
|
2
|
+
export { a as ButtonGroup, c as ButtonProps, b as buttonVariants } from '../ButtonGroup-DyAm7NZs.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Button/index.js
CHANGED
|
@@ -142,7 +142,7 @@ interface ButtonProps extends VariantProps {
|
|
|
142
142
|
children?: ReactNode;
|
|
143
143
|
/** CSS class name */
|
|
144
144
|
className?: string;
|
|
145
|
-
/**
|
|
145
|
+
/** hero ui button color */
|
|
146
146
|
color?: ButtonProps$1['color'];
|
|
147
147
|
/** disables function of the button. */
|
|
148
148
|
disabled?: boolean;
|
|
@@ -160,7 +160,7 @@ interface ButtonProps extends VariantProps {
|
|
|
160
160
|
testId?: string;
|
|
161
161
|
/** sets the button type. */
|
|
162
162
|
type?: 'button' | 'submit' | 'reset' | undefined;
|
|
163
|
-
/**
|
|
163
|
+
/** hero ui button variants */
|
|
164
164
|
variant?: ButtonProps$1['variant'];
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
@@ -142,7 +142,7 @@ interface ButtonProps extends VariantProps {
|
|
|
142
142
|
children?: ReactNode;
|
|
143
143
|
/** CSS class name */
|
|
144
144
|
className?: string;
|
|
145
|
-
/**
|
|
145
|
+
/** hero ui button color */
|
|
146
146
|
color?: ButtonProps$1['color'];
|
|
147
147
|
/** disables function of the button. */
|
|
148
148
|
disabled?: boolean;
|
|
@@ -160,7 +160,7 @@ interface ButtonProps extends VariantProps {
|
|
|
160
160
|
testId?: string;
|
|
161
161
|
/** sets the button type. */
|
|
162
162
|
type?: 'button' | 'submit' | 'reset' | undefined;
|
|
163
|
-
/**
|
|
163
|
+
/** hero ui button variants */
|
|
164
164
|
variant?: ButtonProps$1['variant'];
|
|
165
165
|
}
|
|
166
166
|
/**
|
package/dist/Card/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkMHZAWSFJcjs = require('../chunk-MHZAWSFJ.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Card =
|
|
11
|
+
exports.Card = _chunkMHZAWSFJcjs.Card_default; exports.cardVariants = _chunkMHZAWSFJcjs.cardVariants; exports.default = _chunkMHZAWSFJcjs.Card_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Card/index.js
CHANGED
package/dist/Drawer/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk7RVUB6I5cjs = require('../chunk-7RVUB6I5.cjs');
|
|
10
10
|
require('../chunk-D4TLDLEX.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
@@ -16,5 +16,5 @@ require('../chunk-D4TLDLEX.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.Drawer =
|
|
19
|
+
exports.Drawer = _chunk7RVUB6I5cjs.Drawer_default; exports.default = _chunk7RVUB6I5cjs.Drawer_default2; exports.drawerBackdrops = _chunk7RVUB6I5cjs.drawerBackdrops; exports.drawerPlacements = _chunk7RVUB6I5cjs.drawerPlacements; exports.drawerRadii = _chunk7RVUB6I5cjs.drawerRadii; exports.drawerSizes = _chunk7RVUB6I5cjs.drawerSizes; exports.drawerVariants = _chunk7RVUB6I5cjs.drawerVariants;
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Drawer/index.js
CHANGED
package/dist/Json/index.cjs
CHANGED
|
@@ -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 _chunkU46SDLRHcjs = require('../chunk-U46SDLRH.cjs');
|
|
5
|
+
require('../chunk-TAVTNSQG.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Json =
|
|
10
|
+
exports.Json = _chunkU46SDLRHcjs.Json_default; exports.default = _chunkU46SDLRHcjs.Json_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Json/index.js
CHANGED
package/dist/Label/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 _chunk2XYKRMUNcjs = require('../chunk-2XYKRMUN.cjs');
|
|
5
5
|
require('../chunk-D4TLDLEX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Label =
|
|
9
|
+
exports.Label = _chunk2XYKRMUNcjs.Label_default; exports.default = _chunk2XYKRMUNcjs.Label_default2;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Label/index.js
CHANGED
package/dist/Menu/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 _chunkKBYU4ZF2cjs = require('../chunk-KBYU4ZF2.cjs');
|
|
5
5
|
require('../chunk-D4TLDLEX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Menu =
|
|
9
|
+
exports.Menu = _chunkKBYU4ZF2cjs.Menu_default; exports.default = _chunkKBYU4ZF2cjs.Menu_default2;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Menu/index.js
CHANGED
package/dist/Modal/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPEUUQMJScjs = require('../chunk-PEUUQMJS.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Modal =
|
|
11
|
+
exports.Modal = _chunkPEUUQMJScjs.Modal_default; exports.default = _chunkPEUUQMJScjs.Modal_default2; exports.modalVariants = _chunkPEUUQMJScjs.modalVariants;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Modal/index.js
CHANGED
package/dist/Popover/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkC4H5ZCTVcjs = require('../chunk-C4H5ZCTV.cjs');
|
|
5
5
|
require('../chunk-TX2VP4J7.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Popover =
|
|
10
|
+
exports.Popover = _chunkC4H5ZCTVcjs.Popover_default; exports.default = _chunkC4H5ZCTVcjs.Popover_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Popover/index.js
CHANGED
package/dist/Progress/index.cjs
CHANGED
|
@@ -20,7 +20,7 @@ var progressVariants = _pixelutils.tv.call(void 0, {
|
|
|
20
20
|
// span around the progress value
|
|
21
21
|
},
|
|
22
22
|
variants: {
|
|
23
|
-
//
|
|
23
|
+
// see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/progress.ts
|
|
24
24
|
color: {
|
|
25
25
|
danger: {
|
|
26
26
|
indicator: "bg-danger"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/Progress/index.cjs","../../src/Progress/Progress.tsx","../../src/Progress/index.ts"],"names":[],"mappings":"AAAA,0GAA8B;AAC9B;AACA;ACCA,4CAAyC;AAEzC,oDAAyC;AAyFrC,+CAAA;AAtFG,IAAM,iBAAA,EAAmB,4BAAA;AAAG,EACjC,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,EAAA;AAAA;AAAA,IACN,SAAA,EAAW,EAAA;AAAA;AAAA,IACX,KAAA,EAAO,EAAA;AAAA;AAAA,IACP,YAAA,EAAc,EAAA;AAAA;AAAA,IACd,KAAA,EAAO,EAAA;AAAA;AAAA,IACP,KAAA,EAAO;AAAA;AAAA,EACT,CAAA;AAAA,EACA,QAAA,EAAU;AAAA;AAAA,IAER,KAAA,EAAO;AAAA,MACL,MAAA,EAAQ;AAAA,QACN,SAAA,EAAW;AAAA,MACb,CAAA;AAAA,MACA,OAAA,EAAS;AAAA,QACP,SAAA,EAAW;AAAA,MACb,CAAA;AAAA,MACA,IAAA,EAAM;AAAA,QACJ,SAAA,EAAW;AAAA,MACb,CAAA;AAAA,MACA,OAAA,EAAS;AAAA,QACP,SAAA,EAAW;AAAA,MACb,CAAA;AAAA,MACA,SAAA,EAAW;AAAA,QACT,SAAA,EAAW;AAAA,MACb,CAAA;AAAA,MACA,OAAA,EAAS;AAAA,QACP,SAAA,EAAW;AAAA,MACb,CAAA;AAAA,MACA,OAAA,EAAS;AAAA,QACP,SAAA,EAAW;AAAA,MACb;AAAA,IACF;AAAA,EACF;AACF,CAAC,CAAA;AA0BD,IAAM,cAAA,EAAgB,CAAC,OAAA,EAAA,GAAoB,CAAA,EAAA;AAKzB;AACJ,EAAA;AACJ,EAAA;AACC,EAAA;AACD,EAAA;AACR,EAAA;AACiB,EAAA;AACV,EAAA;AACa,EAAA;AACX,EAAA;AACU;AAEjB,EAAA;AAEe,EAAA;AACE,EAAA;AAES,EAAA;AAG1B,EAAA;AAAC,IAAA;AAAA,IAAA;AACY,MAAA;AACX,MAAA;AACa,MAAA;AACE,MAAA;AACf,MAAA;AACA,MAAA;AACA,MAAA;AACkB,MAAA;AACO,MAAA;AAAA,IAAA;AAC3B,EAAA;AAEJ;AAEe;AD5BmB;AACA;AE3EnB;AF6EmB;AACA;AACA;AACA;AACA","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/Progress/index.cjs","sourcesContent":[null,"import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\n\nimport { Progress as
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/pixels/dist/Prog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,MAAA;AACf,MAAA;AACA,MAAA;AACA,MAAA;AACkB,MAAA;AACO,MAAA;AAAA,IAAA;AAC3B,EAAA;AAEJ;AAEe;AD5BmB;AACA;AE3EnB;AF6EmB;AACA;AACA;AACA;AACA","file":"/home/runner/work/pixels/pixels/packages/pixels/dist/Progress/index.cjs","sourcesContent":[null,"import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\n\nimport { Progress as HeroProgress } from '@heroui/progress';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// progress styling variants\nexport const progressVariants = tv({\n slots: {\n base: '', // wrapper around the whole component\n indicator: '', // indicator of the progress (finished part)\n label: '', // label at the top left of the progress bar\n labelWrapper: '', // wrapper around progress label and label span\n track: '', // track of the progress (not finished part)\n value: '', // span around the progress value\n },\n variants: {\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/progress.ts\n color: {\n danger: {\n indicator: 'bg-danger',\n },\n default: {\n indicator: 'bg-default-400',\n },\n info: {\n indicator: 'bg-info',\n },\n primary: {\n indicator: 'bg-primary',\n },\n secondary: {\n indicator: 'bg-secondary',\n },\n success: {\n indicator: 'bg-success',\n },\n warning: {\n indicator: 'bg-warning',\n },\n },\n },\n});\n\nexport type VariantProps = TVProps<typeof progressVariants>;\ntype ClassName = TVClassName<typeof progressVariants>;\n\nexport interface ProgressProps extends VariantProps {\n /** CSS class name */\n className?: ClassName;\n /** color of the progress bar */\n color?: VariantProps['color'];\n /** function to format the progress value */\n format?: (percent: number) => ReactNode;\n /** label of the progress bar */\n label?: ReactNode;\n /** percentage/progress of the progress bar */\n percent: number;\n /** whether to show the value label */\n showValueLabel?: boolean;\n /** size of the progress bar */\n size?: 'sm' | 'md' | 'lg';\n /** whether to show success color on complete */\n successOnComplete?: boolean;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n}\n\nconst defaultFormat = (percent: number) => `${percent}%`;\n\n/**\n * Progress component based on [HeroUI Progress](https://www.heroui.com//docs/components/progress)\n */\nconst Progress = ({\n className = undefined,\n color = 'primary',\n format = defaultFormat,\n label = undefined,\n percent,\n showValueLabel = true,\n size = 'md',\n successOnComplete = false,\n testId = undefined,\n}: ProgressProps) => {\n const processedColor =\n successOnComplete && percent >= 100 ? 'success' : color;\n\n const variants = progressVariants({ color: processedColor });\n const classNames = variantsToClassNames(variants, className, 'base');\n\n const value = format(percent);\n\n return (\n <HeroProgress\n aria-label=\"Loading...\"\n classNames={classNames}\n data-testid={testId}\n formatOptions={undefined}\n label={label}\n showValueLabel={showValueLabel}\n size={size}\n value={percent || 0}\n valueLabel={!!percent && value}\n />\n );\n};\n\nexport default Progress;\n","import Progress, { progressVariants } from './Progress';\n\nexport type { ProgressProps, VariantProps } from './Progress';\n\nexport { Progress, progressVariants };\n\nexport default Progress;\n"]}
|
package/dist/Progress/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-J7N2552D.js";
|
|
2
2
|
|
|
3
3
|
// src/Progress/Progress.tsx
|
|
4
|
-
import { Progress as
|
|
4
|
+
import { Progress as HeroProgress } from "@heroui/progress";
|
|
5
5
|
import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
var progressVariants = tv({
|
|
@@ -20,7 +20,7 @@ var progressVariants = tv({
|
|
|
20
20
|
// span around the progress value
|
|
21
21
|
},
|
|
22
22
|
variants: {
|
|
23
|
-
//
|
|
23
|
+
// see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/progress.ts
|
|
24
24
|
color: {
|
|
25
25
|
danger: {
|
|
26
26
|
indicator: "bg-danger"
|
|
@@ -63,7 +63,7 @@ var Progress = ({
|
|
|
63
63
|
const classNames = variantsToClassNames(variants, className, "base");
|
|
64
64
|
const value = format(percent);
|
|
65
65
|
return /* @__PURE__ */ jsx(
|
|
66
|
-
|
|
66
|
+
HeroProgress,
|
|
67
67
|
{
|
|
68
68
|
"aria-label": "Loading...",
|
|
69
69
|
classNames,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Progress/Progress.tsx","../../src/Progress/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\n\nimport { Progress as
|
|
1
|
+
{"version":3,"sources":["../../src/Progress/Progress.tsx","../../src/Progress/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\n\nimport { Progress as HeroProgress } from '@heroui/progress';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// progress styling variants\nexport const progressVariants = tv({\n slots: {\n base: '', // wrapper around the whole component\n indicator: '', // indicator of the progress (finished part)\n label: '', // label at the top left of the progress bar\n labelWrapper: '', // wrapper around progress label and label span\n track: '', // track of the progress (not finished part)\n value: '', // span around the progress value\n },\n variants: {\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/progress.ts\n color: {\n danger: {\n indicator: 'bg-danger',\n },\n default: {\n indicator: 'bg-default-400',\n },\n info: {\n indicator: 'bg-info',\n },\n primary: {\n indicator: 'bg-primary',\n },\n secondary: {\n indicator: 'bg-secondary',\n },\n success: {\n indicator: 'bg-success',\n },\n warning: {\n indicator: 'bg-warning',\n },\n },\n },\n});\n\nexport type VariantProps = TVProps<typeof progressVariants>;\ntype ClassName = TVClassName<typeof progressVariants>;\n\nexport interface ProgressProps extends VariantProps {\n /** CSS class name */\n className?: ClassName;\n /** color of the progress bar */\n color?: VariantProps['color'];\n /** function to format the progress value */\n format?: (percent: number) => ReactNode;\n /** label of the progress bar */\n label?: ReactNode;\n /** percentage/progress of the progress bar */\n percent: number;\n /** whether to show the value label */\n showValueLabel?: boolean;\n /** size of the progress bar */\n size?: 'sm' | 'md' | 'lg';\n /** whether to show success color on complete */\n successOnComplete?: boolean;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n}\n\nconst defaultFormat = (percent: number) => `${percent}%`;\n\n/**\n * Progress component based on [HeroUI Progress](https://www.heroui.com//docs/components/progress)\n */\nconst Progress = ({\n className = undefined,\n color = 'primary',\n format = defaultFormat,\n label = undefined,\n percent,\n showValueLabel = true,\n size = 'md',\n successOnComplete = false,\n testId = undefined,\n}: ProgressProps) => {\n const processedColor =\n successOnComplete && percent >= 100 ? 'success' : color;\n\n const variants = progressVariants({ color: processedColor });\n const classNames = variantsToClassNames(variants, className, 'base');\n\n const value = format(percent);\n\n return (\n <HeroProgress\n aria-label=\"Loading...\"\n classNames={classNames}\n data-testid={testId}\n formatOptions={undefined}\n label={label}\n showValueLabel={showValueLabel}\n size={size}\n value={percent || 0}\n valueLabel={!!percent && value}\n />\n );\n};\n\nexport default Progress;\n","import Progress, { progressVariants } from './Progress';\n\nexport type { ProgressProps, VariantProps } from './Progress';\n\nexport { Progress, progressVariants };\n\nexport default Progress;\n"],"mappings":";;;AAGA,SAAS,YAAY,oBAAoB;AAEzC,SAAS,IAAI,4BAA4B;AAyFrC;AAtFG,IAAM,mBAAmB,GAAG;AAAA,EACjC,OAAO;AAAA,IACL,MAAM;AAAA;AAAA,IACN,WAAW;AAAA;AAAA,IACX,OAAO;AAAA;AAAA,IACP,cAAc;AAAA;AAAA,IACd,OAAO;AAAA;AAAA,IACP,OAAO;AAAA;AAAA,EACT;AAAA,EACA,UAAU;AAAA;AAAA,IAER,OAAO;AAAA,MACL,QAAQ;AAAA,QACN,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA,MAAM;AAAA,QACJ,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA,WAAW;AAAA,QACT,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA,SAAS;AAAA,QACP,WAAW;AAAA,MACb;AAAA,IACF;AAAA,EAC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