@fuf-stack/pixels 0.6.0 → 0.7.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/AvatarGroup/index.cjs +10 -0
- package/dist/AvatarGroup/index.cjs.map +1 -0
- package/dist/AvatarGroup/index.d.cts +9 -0
- package/dist/AvatarGroup/index.d.ts +9 -0
- package/dist/AvatarGroup/index.js +10 -0
- package/dist/AvatarGroup/index.js.map +1 -0
- package/dist/AvatarGroup-BhgTIcSs.d.cts +22 -0
- package/dist/AvatarGroup-tWe-Vgrz.d.ts +22 -0
- package/dist/chunk-EJSTUBPU.cjs +65 -0
- package/dist/chunk-EJSTUBPU.cjs.map +1 -0
- package/dist/chunk-LAGUJC5D.js +65 -0
- package/dist/chunk-LAGUJC5D.js.map +1 -0
- package/dist/index.cjs +7 -3
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -3
- package/package.json +10 -5
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkEJSTUBPUcjs = require('../chunk-EJSTUBPU.cjs');
|
|
5
|
+
require('../chunk-XGHRKDIM.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.AvatarGroup = _chunkEJSTUBPUcjs.AvatarGroup_default; exports.default = _chunkEJSTUBPUcjs.AvatarGroup_default2;
|
|
10
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AvatarGroup } from '../AvatarGroup-BhgTIcSs.cjs';
|
|
2
|
+
export { a as AvatarGroupProps } from '../AvatarGroup-BhgTIcSs.cjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import '../Avatar-Bl6oBjgb.cjs';
|
|
5
|
+
import 'react';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export { AvatarGroup, AvatarGroup as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { A as AvatarGroup } from '../AvatarGroup-tWe-Vgrz.js';
|
|
2
|
+
export { a as AvatarGroupProps } from '../AvatarGroup-tWe-Vgrz.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import '../Avatar-Bl6oBjgb.js';
|
|
5
|
+
import 'react';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export { AvatarGroup, AvatarGroup as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { a as AvatarProps } from './Avatar-Bl6oBjgb.cjs';
|
|
3
|
+
|
|
4
|
+
interface AvatarGroupProps {
|
|
5
|
+
bordered?: boolean;
|
|
6
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
7
|
+
/** CSS class name */
|
|
8
|
+
className?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
|
+
max?: number;
|
|
12
|
+
avatars?: (Omit<AvatarProps, 'size' | 'rounded' | 'bordered'> & {
|
|
13
|
+
wrapperProps?: Record<string, unknown>;
|
|
14
|
+
})[];
|
|
15
|
+
avatarWrapper?: JSX.ElementType;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* AvatarGroup component based on [NextUI AvatarGroup](https://nextui.org/docs/components/avatar)
|
|
19
|
+
*/
|
|
20
|
+
declare const AvatarGroup: ({ bordered, rounded, className, disabled, size, avatars, max, avatarWrapper: AvatarWrapper, }: AvatarGroupProps) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { AvatarGroup as A, type AvatarGroupProps as a };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { a as AvatarProps } from './Avatar-Bl6oBjgb.js';
|
|
3
|
+
|
|
4
|
+
interface AvatarGroupProps {
|
|
5
|
+
bordered?: boolean;
|
|
6
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
7
|
+
/** CSS class name */
|
|
8
|
+
className?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
|
+
max?: number;
|
|
12
|
+
avatars?: (Omit<AvatarProps, 'size' | 'rounded' | 'bordered'> & {
|
|
13
|
+
wrapperProps?: Record<string, unknown>;
|
|
14
|
+
})[];
|
|
15
|
+
avatarWrapper?: JSX.ElementType;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* AvatarGroup component based on [NextUI AvatarGroup](https://nextui.org/docs/components/avatar)
|
|
19
|
+
*/
|
|
20
|
+
declare const AvatarGroup: ({ bordered, rounded, className, disabled, size, avatars, max, avatarWrapper: AvatarWrapper, }: AvatarGroupProps) => react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
export { AvatarGroup as A, type AvatarGroupProps as a };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkXGHRKDIMcjs = require('./chunk-XGHRKDIM.cjs');
|
|
4
|
+
|
|
5
|
+
// src/AvatarGroup/AvatarGroup.tsx
|
|
6
|
+
var _avatar = require('@nextui-org/avatar');
|
|
7
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
8
|
+
var AvatarGroup = ({
|
|
9
|
+
bordered = false,
|
|
10
|
+
rounded = "full",
|
|
11
|
+
className = "",
|
|
12
|
+
disabled = false,
|
|
13
|
+
size = "md",
|
|
14
|
+
avatars = [],
|
|
15
|
+
max = 3,
|
|
16
|
+
avatarWrapper: AvatarWrapper = void 0
|
|
17
|
+
}) => {
|
|
18
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19
|
+
_avatar.AvatarGroup,
|
|
20
|
+
{
|
|
21
|
+
max,
|
|
22
|
+
className,
|
|
23
|
+
isBordered: bordered,
|
|
24
|
+
isDisabled: disabled,
|
|
25
|
+
radius: rounded,
|
|
26
|
+
size,
|
|
27
|
+
children: _optionalChain([avatars, 'optionalAccess', _ => _.map, 'call', _2 => _2((avatar) => {
|
|
28
|
+
return AvatarWrapper ? (
|
|
29
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
30
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AvatarWrapper, { ...avatar.wrapperProps, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31
|
+
_chunkXGHRKDIMcjs.Avatar_default2,
|
|
32
|
+
{
|
|
33
|
+
...avatar,
|
|
34
|
+
disabled: disabled || _optionalChain([avatar, 'optionalAccess', _3 => _3.disabled]),
|
|
35
|
+
rounded,
|
|
36
|
+
bordered,
|
|
37
|
+
size
|
|
38
|
+
},
|
|
39
|
+
avatar.src
|
|
40
|
+
) })
|
|
41
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42
|
+
_chunkXGHRKDIMcjs.Avatar_default2,
|
|
43
|
+
{
|
|
44
|
+
...avatar,
|
|
45
|
+
disabled: disabled || _optionalChain([avatar, 'optionalAccess', _4 => _4.disabled]),
|
|
46
|
+
rounded,
|
|
47
|
+
bordered,
|
|
48
|
+
size
|
|
49
|
+
},
|
|
50
|
+
avatar.src
|
|
51
|
+
);
|
|
52
|
+
})])
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
var AvatarGroup_default = AvatarGroup;
|
|
57
|
+
|
|
58
|
+
// src/AvatarGroup/index.ts
|
|
59
|
+
var AvatarGroup_default2 = AvatarGroup_default;
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
exports.AvatarGroup_default = AvatarGroup_default; exports.AvatarGroup_default2 = AvatarGroup_default2;
|
|
65
|
+
//# sourceMappingURL=chunk-EJSTUBPU.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/AvatarGroup/AvatarGroup.tsx","../src/AvatarGroup/index.ts"],"names":["AvatarGroup_default"],"mappings":";;;;;AAEA,SAAS,eAAe,uBAAuB;AAoDnC;AAvBZ,IAAM,cAAc,CAAC;AAAA,EACnB,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,OAAO;AAAA,EACP,UAAU,CAAC;AAAA,EACX,MAAM;AAAA,EACN,eAAe,gBAAgB;AACjC,MAAwB;AACtB,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR;AAAA,MAEC,mBAAS,IAAI,CAAC,WAAW;AACxB,eAAO;AAAA;AAAA,UAEL,oBAAC,iBAAe,GAAG,OAAO,cACxB;AAAA,YAAC;AAAA;AAAA,cAGE,GAAG;AAAA,cACJ,UAAU,YAAY,QAAQ;AAAA,cAC9B;AAAA,cACA;AAAA,cACA;AAAA;AAAA,YANK,OAAO;AAAA,UAOd,GACF;AAAA,YAEA;AAAA,UAAC;AAAA;AAAA,YAGE,GAAG;AAAA,YACJ,UAAU,YAAY,QAAQ;AAAA,YAC9B;AAAA,YACA;AAAA,YACA;AAAA;AAAA,UANK,OAAO;AAAA,QAOd;AAAA,MAEJ,CAAC;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,sBAAQ;;;AC1Ef,IAAOA,uBAAQ","sourcesContent":["import type { AvatarProps } from '../Avatar/Avatar';\n\nimport { AvatarGroup as NextAvatarGroup } from '@nextui-org/avatar';\n\nimport Avatar from '../Avatar';\n\nexport interface AvatarGroupProps {\n /* Display a border ring around the Avatar */\n bordered?: boolean;\n /* Roundness of the border around the Avatar */\n rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';\n /** CSS class name */\n className?: string;\n /* Disables the Avatar */\n disabled?: boolean;\n /* Size of the Avatar */\n size?: 'sm' | 'md' | 'lg';\n /* Maximum number of avatars to display before +X is displayed */\n max?: number;\n /* Array of avatarProps */\n avatars?: (Omit<AvatarProps, 'size' | 'rounded' | 'bordered'> & {\n /* Custom wrapperProps for each avatarWrapper */\n wrapperProps?: Record<string, unknown>;\n })[];\n /* Custom wrapper for each avatar */\n avatarWrapper?: JSX.ElementType;\n}\n\n/**\n * AvatarGroup component based on [NextUI AvatarGroup](https://nextui.org/docs/components/avatar)\n */\nconst AvatarGroup = ({\n bordered = false,\n rounded = 'full',\n className = '',\n disabled = false,\n size = 'md',\n avatars = [],\n max = 3,\n avatarWrapper: AvatarWrapper = undefined,\n}: AvatarGroupProps) => {\n return (\n <NextAvatarGroup\n max={max}\n className={className}\n isBordered={bordered}\n isDisabled={disabled}\n radius={rounded}\n size={size}\n >\n {avatars?.map((avatar) => {\n return AvatarWrapper ? (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <AvatarWrapper {...avatar.wrapperProps}>\n <Avatar\n key={avatar.src}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...avatar}\n disabled={disabled || avatar?.disabled}\n rounded={rounded}\n bordered={bordered}\n size={size}\n />\n </AvatarWrapper>\n ) : (\n <Avatar\n key={avatar.src}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...avatar}\n disabled={disabled || avatar?.disabled}\n rounded={rounded}\n bordered={bordered}\n size={size}\n />\n );\n })}\n </NextAvatarGroup>\n );\n};\n\nexport default AvatarGroup;\n","import AvatarGroup from './AvatarGroup';\n\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarGroup };\n\nexport default AvatarGroup;\n"]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Avatar_default2 as Avatar_default
|
|
3
|
+
} from "./chunk-SFGC6YVH.js";
|
|
4
|
+
|
|
5
|
+
// src/AvatarGroup/AvatarGroup.tsx
|
|
6
|
+
import { AvatarGroup as NextAvatarGroup } from "@nextui-org/avatar";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var AvatarGroup = ({
|
|
9
|
+
bordered = false,
|
|
10
|
+
rounded = "full",
|
|
11
|
+
className = "",
|
|
12
|
+
disabled = false,
|
|
13
|
+
size = "md",
|
|
14
|
+
avatars = [],
|
|
15
|
+
max = 3,
|
|
16
|
+
avatarWrapper: AvatarWrapper = void 0
|
|
17
|
+
}) => {
|
|
18
|
+
return /* @__PURE__ */ jsx(
|
|
19
|
+
NextAvatarGroup,
|
|
20
|
+
{
|
|
21
|
+
max,
|
|
22
|
+
className,
|
|
23
|
+
isBordered: bordered,
|
|
24
|
+
isDisabled: disabled,
|
|
25
|
+
radius: rounded,
|
|
26
|
+
size,
|
|
27
|
+
children: avatars?.map((avatar) => {
|
|
28
|
+
return AvatarWrapper ? (
|
|
29
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
30
|
+
/* @__PURE__ */ jsx(AvatarWrapper, { ...avatar.wrapperProps, children: /* @__PURE__ */ jsx(
|
|
31
|
+
Avatar_default,
|
|
32
|
+
{
|
|
33
|
+
...avatar,
|
|
34
|
+
disabled: disabled || avatar?.disabled,
|
|
35
|
+
rounded,
|
|
36
|
+
bordered,
|
|
37
|
+
size
|
|
38
|
+
},
|
|
39
|
+
avatar.src
|
|
40
|
+
) })
|
|
41
|
+
) : /* @__PURE__ */ jsx(
|
|
42
|
+
Avatar_default,
|
|
43
|
+
{
|
|
44
|
+
...avatar,
|
|
45
|
+
disabled: disabled || avatar?.disabled,
|
|
46
|
+
rounded,
|
|
47
|
+
bordered,
|
|
48
|
+
size
|
|
49
|
+
},
|
|
50
|
+
avatar.src
|
|
51
|
+
);
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
var AvatarGroup_default = AvatarGroup;
|
|
57
|
+
|
|
58
|
+
// src/AvatarGroup/index.ts
|
|
59
|
+
var AvatarGroup_default2 = AvatarGroup_default;
|
|
60
|
+
|
|
61
|
+
export {
|
|
62
|
+
AvatarGroup_default,
|
|
63
|
+
AvatarGroup_default2
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=chunk-LAGUJC5D.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/AvatarGroup/AvatarGroup.tsx","../src/AvatarGroup/index.ts"],"sourcesContent":["import type { AvatarProps } from '../Avatar/Avatar';\n\nimport { AvatarGroup as NextAvatarGroup } from '@nextui-org/avatar';\n\nimport Avatar from '../Avatar';\n\nexport interface AvatarGroupProps {\n /* Display a border ring around the Avatar */\n bordered?: boolean;\n /* Roundness of the border around the Avatar */\n rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';\n /** CSS class name */\n className?: string;\n /* Disables the Avatar */\n disabled?: boolean;\n /* Size of the Avatar */\n size?: 'sm' | 'md' | 'lg';\n /* Maximum number of avatars to display before +X is displayed */\n max?: number;\n /* Array of avatarProps */\n avatars?: (Omit<AvatarProps, 'size' | 'rounded' | 'bordered'> & {\n /* Custom wrapperProps for each avatarWrapper */\n wrapperProps?: Record<string, unknown>;\n })[];\n /* Custom wrapper for each avatar */\n avatarWrapper?: JSX.ElementType;\n}\n\n/**\n * AvatarGroup component based on [NextUI AvatarGroup](https://nextui.org/docs/components/avatar)\n */\nconst AvatarGroup = ({\n bordered = false,\n rounded = 'full',\n className = '',\n disabled = false,\n size = 'md',\n avatars = [],\n max = 3,\n avatarWrapper: AvatarWrapper = undefined,\n}: AvatarGroupProps) => {\n return (\n <NextAvatarGroup\n max={max}\n className={className}\n isBordered={bordered}\n isDisabled={disabled}\n radius={rounded}\n size={size}\n >\n {avatars?.map((avatar) => {\n return AvatarWrapper ? (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <AvatarWrapper {...avatar.wrapperProps}>\n <Avatar\n key={avatar.src}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...avatar}\n disabled={disabled || avatar?.disabled}\n rounded={rounded}\n bordered={bordered}\n size={size}\n />\n </AvatarWrapper>\n ) : (\n <Avatar\n key={avatar.src}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...avatar}\n disabled={disabled || avatar?.disabled}\n rounded={rounded}\n bordered={bordered}\n size={size}\n />\n );\n })}\n </NextAvatarGroup>\n );\n};\n\nexport default AvatarGroup;\n","import AvatarGroup from './AvatarGroup';\n\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarGroup };\n\nexport default AvatarGroup;\n"],"mappings":";;;;;AAEA,SAAS,eAAe,uBAAuB;AAoDnC;AAvBZ,IAAM,cAAc,CAAC;AAAA,EACnB,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,OAAO;AAAA,EACP,UAAU,CAAC;AAAA,EACX,MAAM;AAAA,EACN,eAAe,gBAAgB;AACjC,MAAwB;AACtB,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR;AAAA,MAEC,mBAAS,IAAI,CAAC,WAAW;AACxB,eAAO;AAAA;AAAA,UAEL,oBAAC,iBAAe,GAAG,OAAO,cACxB;AAAA,YAAC;AAAA;AAAA,cAGE,GAAG;AAAA,cACJ,UAAU,YAAY,QAAQ;AAAA,cAC9B;AAAA,cACA;AAAA,cACA;AAAA;AAAA,YANK,OAAO;AAAA,UAOd,GACF;AAAA,YAEA;AAAA,UAAC;AAAA;AAAA,YAGE,GAAG;AAAA,YACJ,UAAU,YAAY,QAAQ;AAAA,YAC9B;AAAA,YACA;AAAA,YACA;AAAA;AAAA,UANK,OAAO;AAAA,QAOd;AAAA,MAEJ,CAAC;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,sBAAQ;;;AC1Ef,IAAOA,uBAAQ;","names":["AvatarGroup_default"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunkB35F4645cjs = require('./chunk-B35F4645.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
|
|
4
7
|
var _chunkBSBPQXNGcjs = require('./chunk-BSBPQXNG.cjs');
|
|
5
8
|
|
|
@@ -11,6 +14,9 @@ var _chunkMWNBYTRNcjs = require('./chunk-MWNBYTRN.cjs');
|
|
|
11
14
|
var _chunk64K2TRGLcjs = require('./chunk-64K2TRGL.cjs');
|
|
12
15
|
|
|
13
16
|
|
|
17
|
+
var _chunkEJSTUBPUcjs = require('./chunk-EJSTUBPU.cjs');
|
|
18
|
+
|
|
19
|
+
|
|
14
20
|
var _chunkXGHRKDIMcjs = require('./chunk-XGHRKDIM.cjs');
|
|
15
21
|
|
|
16
22
|
|
|
@@ -35,8 +41,6 @@ var _chunkHHTTNYDCcjs = require('./chunk-HHTTNYDC.cjs');
|
|
|
35
41
|
var _chunkX2MUU2ZIcjs = require('./chunk-X2MUU2ZI.cjs');
|
|
36
42
|
|
|
37
43
|
|
|
38
|
-
var _chunkB35F4645cjs = require('./chunk-B35F4645.cjs');
|
|
39
|
-
|
|
40
44
|
|
|
41
45
|
|
|
42
46
|
|
|
@@ -53,5 +57,5 @@ var _chunkB35F4645cjs = require('./chunk-B35F4645.cjs');
|
|
|
53
57
|
|
|
54
58
|
|
|
55
59
|
|
|
56
|
-
exports.Avatar = _chunkXGHRKDIMcjs.Avatar_default; exports.Button = _chunkND4VZZVUcjs.Button_default; exports.Card = _chunkGIM2W4JHcjs.Card_default; exports.Json = _chunkM7IVIJEAcjs.Json_default; exports.Label = _chunkBMKGS5PKcjs.Label_default; exports.Menu = _chunkHHTTNYDCcjs.Menu_default; exports.Modal = _chunkX2MUU2ZIcjs.Modal_default; exports.Popover = _chunkB35F4645cjs.Popover_default; exports.Tooltip = _chunkBSBPQXNGcjs.Tooltip_default; exports.buttonVariants = _chunkND4VZZVUcjs.buttonVariants; exports.cardVariants = _chunkGIM2W4JHcjs.cardVariants; exports.modalVariants = _chunkX2MUU2ZIcjs.modalVariants; exports.nextui = _chunk64K2TRGLcjs.nextui; exports.tooltipPlacementOptions = _chunkBSBPQXNGcjs.tooltipPlacementOptions; exports.useDebounce = _chunkMWNBYTRNcjs.useDebounce; exports.useLocalStorage = _chunkMWNBYTRNcjs.useLocalStorage;
|
|
60
|
+
exports.Avatar = _chunkXGHRKDIMcjs.Avatar_default; exports.AvatarGroup = _chunkEJSTUBPUcjs.AvatarGroup_default; exports.Button = _chunkND4VZZVUcjs.Button_default; exports.Card = _chunkGIM2W4JHcjs.Card_default; exports.Json = _chunkM7IVIJEAcjs.Json_default; exports.Label = _chunkBMKGS5PKcjs.Label_default; exports.Menu = _chunkHHTTNYDCcjs.Menu_default; exports.Modal = _chunkX2MUU2ZIcjs.Modal_default; exports.Popover = _chunkB35F4645cjs.Popover_default; exports.Tooltip = _chunkBSBPQXNGcjs.Tooltip_default; exports.buttonVariants = _chunkND4VZZVUcjs.buttonVariants; exports.cardVariants = _chunkGIM2W4JHcjs.cardVariants; exports.modalVariants = _chunkX2MUU2ZIcjs.modalVariants; exports.nextui = _chunk64K2TRGLcjs.nextui; exports.tooltipPlacementOptions = _chunkBSBPQXNGcjs.tooltipPlacementOptions; exports.useDebounce = _chunkMWNBYTRNcjs.useDebounce; exports.useLocalStorage = _chunkMWNBYTRNcjs.useLocalStorage;
|
|
57
61
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { A as Avatar, a as AvatarProps } from './Avatar-Bl6oBjgb.cjs';
|
|
2
|
+
export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-BhgTIcSs.cjs';
|
|
2
3
|
export { B as Button, a as ButtonProps, b as buttonVariants } from './Button-DS4qK4Lf.cjs';
|
|
3
4
|
export { C as Card, a as CardProps, c as cardVariants } from './Card-D5kspciY.cjs';
|
|
4
5
|
export { J as Json, a as JsonProps } from './Json-ClGDcbcp.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { A as Avatar, a as AvatarProps } from './Avatar-Bl6oBjgb.js';
|
|
2
|
+
export { A as AvatarGroup, a as AvatarGroupProps } from './AvatarGroup-tWe-Vgrz.js';
|
|
2
3
|
export { B as Button, a as ButtonProps, b as buttonVariants } from './Button-DS4qK4Lf.js';
|
|
3
4
|
export { C as Card, a as CardProps, c as cardVariants } from './Card-D5kspciY.js';
|
|
4
5
|
export { J as Json, a as JsonProps } from './Json-ClGDcbcp.js';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Popover_default
|
|
3
|
+
} from "./chunk-6G5VTF6K.js";
|
|
1
4
|
import {
|
|
2
5
|
Tooltip_default,
|
|
3
6
|
tooltipPlacementOptions
|
|
@@ -9,6 +12,9 @@ import {
|
|
|
9
12
|
import {
|
|
10
13
|
nextui
|
|
11
14
|
} from "./chunk-MM5H2WFG.js";
|
|
15
|
+
import {
|
|
16
|
+
AvatarGroup_default
|
|
17
|
+
} from "./chunk-LAGUJC5D.js";
|
|
12
18
|
import {
|
|
13
19
|
Avatar_default
|
|
14
20
|
} from "./chunk-SFGC6YVH.js";
|
|
@@ -33,11 +39,9 @@ import {
|
|
|
33
39
|
Modal_default,
|
|
34
40
|
modalVariants
|
|
35
41
|
} from "./chunk-O6OLR36Y.js";
|
|
36
|
-
import {
|
|
37
|
-
Popover_default
|
|
38
|
-
} from "./chunk-6G5VTF6K.js";
|
|
39
42
|
export {
|
|
40
43
|
Avatar_default as Avatar,
|
|
44
|
+
AvatarGroup_default as AvatarGroup,
|
|
41
45
|
Button_default as Button,
|
|
42
46
|
Card_default as Card,
|
|
43
47
|
Json_default as Json,
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@fuf-stack/pixels",
|
|
3
3
|
"description": "fuf react component library",
|
|
4
4
|
"author": "Hannes Tiede",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.7.0",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"main": "./dist/index.
|
|
8
|
-
"module": "./dist/index.
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"exports": {
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
"require": "./dist/Avatar/index.cjs",
|
|
20
20
|
"types": "./dist/Avatar/index.d.ts"
|
|
21
21
|
},
|
|
22
|
+
"./AvatarGroup": {
|
|
23
|
+
"import": "./dist/AvatarGroup/index.js",
|
|
24
|
+
"require": "./dist/AvatarGroup/index.cjs",
|
|
25
|
+
"types": "./dist/AvatarGroup/index.d.ts"
|
|
26
|
+
},
|
|
22
27
|
"./Button": {
|
|
23
28
|
"import": "./dist/Button/index.js",
|
|
24
29
|
"require": "./dist/Button/index.cjs",
|
|
@@ -120,8 +125,8 @@
|
|
|
120
125
|
"react-dom": "18.3.1",
|
|
121
126
|
"@repo/storybook-config": "0.0.1",
|
|
122
127
|
"@repo/tailwind-config": "0.0.1",
|
|
123
|
-
"@repo/
|
|
124
|
-
"@repo/
|
|
128
|
+
"@repo/tsup-config": "0.0.1",
|
|
129
|
+
"@repo/vite-config": "0.0.1"
|
|
125
130
|
},
|
|
126
131
|
"scripts": {
|
|
127
132
|
"build": "tsup --config node_modules/@repo/tsup-config/config.ts",
|