wacomm 2.16.0 → 2.19.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/ShowMore.stories.d.ts +1 -1
- package/dist/Tabs.d.ts +3 -2
- package/dist/TextareaAutosize.d.ts +2 -1
- package/dist/{alertWrapper → alerts}/AlertWrapper.stories.d.ts +1 -1
- package/dist/{alertWrapper → alerts}/ChatAlert.stories.d.ts +1 -1
- package/dist/alerts/MessageAlert.d.ts +10 -0
- package/dist/alerts/MessageAlert.stories.d.ts +9 -0
- package/dist/{alertWrapper → alerts}/NotificationAlert.stories.d.ts +1 -1
- package/dist/{alertWrapper → alerts}/index.d.ts +1 -0
- package/dist/avatar/Avatar.stories.d.ts +1 -1
- package/dist/avatar/AvatarTag.stories.d.ts +1 -1
- package/dist/avatar/AvatarTimeTag.stories.d.ts +1 -1
- package/dist/blockUser/BlockUser.d.ts +9 -0
- package/dist/blockUser/BlockUser.stories.d.ts +7 -0
- package/dist/blockUser/BlockUser.test.d.ts +0 -0
- package/dist/blockUser/index.d.ts +1 -0
- package/dist/buttons/AddButton.stories.d.ts +1 -1
- package/dist/buttons/Button.stories.d.ts +1 -1
- package/dist/buttons/CacheButton.stories.d.ts +1 -1
- package/dist/buttons/ModalButton.stories.d.ts +1 -1
- package/dist/buttons/SaveCancelButtons.stories.d.ts +1 -1
- package/dist/buttons/StyledButton.stories.d.ts +1 -1
- package/dist/buttons/SvgButton.stories.d.ts +1 -1
- package/dist/buttons/ToggleButton.stories.d.ts +1 -1
- package/dist/carousel/Carousel.stories.d.ts +1 -1
- package/dist/checkboxGroup/Checkbox.stories.d.ts +1 -1
- package/dist/checkboxGroup/CheckboxGroup.stories.d.ts +1 -1
- package/dist/commentReply/CommentReplyCount.stories.d.ts +1 -1
- package/dist/commentReply/CommentsSection.stories.d.ts +1 -1
- package/dist/commentReply/RepliesSection.stories.d.ts +1 -1
- package/dist/containers/Column.stories.d.ts +1 -1
- package/dist/containers/Container.stories.d.ts +1 -1
- package/dist/containers/Row.stories.d.ts +1 -1
- package/dist/contentViolation/ContentViolationForm.d.ts +10 -0
- package/dist/contentViolation/ContentViolationReporter.d.ts +9 -0
- package/dist/contentViolation/ContentViolationReporter.stories.d.ts +7 -0
- package/dist/contentViolation/ContentViolationReporter.test.d.ts +0 -0
- package/dist/contentViolation/index.d.ts +2 -0
- package/dist/coordinates/CoordinateUpdater.stories.d.ts +1 -1
- package/dist/coordinates/Coordinates.stories.d.ts +1 -1
- package/dist/coordinates/CoordinatesUpdater.stories.d.ts +1 -1
- package/dist/coordinates/MyGeolocationUpdater.stories.d.ts +1 -1
- package/dist/datetime/DateDisplay.stories.d.ts +1 -1
- package/dist/datetime/DatePicker.stories.d.ts +1 -1
- package/dist/html/Heading.stories.d.ts +1 -1
- package/dist/html/input/PasswordSetup.stories.d.ts +1 -1
- package/dist/images/imageCropper/ImageCropper.stories.d.ts +1 -1
- package/dist/images/imageGrid/ImageGrid.stories.d.ts +1 -1
- package/dist/images/imageGrid/ImageGridUpload.stories.d.ts +1 -1
- package/dist/images/mediaUpload/MediaUpload.stories.d.ts +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/interests/CategoryTag.stories.d.ts +1 -1
- package/dist/interests/interestIcon/CardGamesInterestIcons.stories.d.ts +1 -1
- package/dist/interests/interestIcon/LeisureInterestIcons.stories.d.ts +1 -1
- package/dist/interests/interestIcon/MusicInterestIcons.stories.d.ts +1 -1
- package/dist/interests/interestIcon/PetsInterestIcons.stories.d.ts +1 -1
- package/dist/interests/interestIcon/SportsInterestIcons.stories.d.ts +1 -1
- package/dist/interests/interestIcon/TravelInterestIcons.stories.d.ts +1 -1
- package/dist/interests/interestIconTooltip/CardGamesInterestIconTooltips.stories.d.ts +1 -1
- package/dist/interests/interestIconTooltip/LeisureInterestIconTooltips.stories.d.ts +1 -1
- package/dist/interests/interestIconTooltip/MusicInterestIconTooltips.stories.d.ts +1 -1
- package/dist/interests/interestIconTooltip/PetsInterestIconTooltips.stories.d.ts +1 -1
- package/dist/interests/interestIconTooltip/SportsInterestIconTooltips.stories.d.ts +1 -1
- package/dist/interests/interestIconTooltip/TravelInterestIconTooltips.stories.d.ts +1 -1
- package/dist/interests/interestTag/CardGamesInterestTags.stories.d.ts +1 -1
- package/dist/interests/interestTag/InterestTag.stories.d.ts +1 -1
- package/dist/interests/interestTag/LeisureInterestTags.stories.d.ts +1 -1
- package/dist/interests/interestTag/MusicInterestTags.stories.d.ts +1 -1
- package/dist/interests/interestTag/PetsInterestTags.stories.d.ts +1 -1
- package/dist/interests/interestTag/SportsInterestTags.stories.d.ts +1 -1
- package/dist/interests/interestTag/TravelInterestTags.stories.d.ts +1 -1
- package/dist/inviteByEmails/EmailAddForm.stories.d.ts +1 -1
- package/dist/inviteByEmails/EmailEntryItem.stories.d.ts +1 -1
- package/dist/inviteByEmails/EmailEntryList.stories.d.ts +1 -1
- package/dist/inviteByEmails/InviteByEmails.stories.d.ts +1 -1
- package/dist/likes/LikeSection.stories.d.ts +1 -1
- package/dist/mapbox-gl-B3Paeapq.js +2956 -0
- package/dist/mapbox-gl-Dh7H8Npu.mjs +45578 -0
- package/dist/maplibre-gl-CkvIIBTt.mjs +25777 -0
- package/dist/maplibre-gl-DY_E7Ht0.js +527 -0
- package/dist/message/MessageButton.d.ts +8 -0
- package/dist/message/MessageButton.stories.d.ts +20 -0
- package/dist/message/MessageInput.d.ts +7 -0
- package/dist/message/MessageInput.stories.d.ts +15 -0
- package/dist/message/index.d.ts +2 -0
- package/dist/modal/Modal.stories.d.ts +1 -1
- package/dist/modal/ModalItem.stories.d.ts +1 -1
- package/dist/moreActions/MoreActions.d.ts +11 -0
- package/dist/moreActions/MoreActions.stories.d.ts +7 -0
- package/dist/moreActions/MoreActions.test.d.ts +0 -0
- package/dist/moreActions/index.d.ts +1 -0
- package/dist/radioGroup/Radio.stories.d.ts +1 -1
- package/dist/radioGroup/RadioGroup.stories.d.ts +1 -1
- package/dist/rolldown-runtime-DY7j01NX.mjs +30 -0
- package/dist/rolldown-runtime-D_FWMvbo.js +1 -0
- package/dist/svgTags/BlockTag.d.ts +9 -0
- package/dist/svgTags/BlockTag.stories.d.ts +7 -0
- package/dist/svgTags/BuddyTag.stories.d.ts +1 -1
- package/dist/svgTags/CalendarTag.stories.d.ts +1 -1
- package/dist/svgTags/CommentTag.stories.d.ts +1 -1
- package/dist/svgTags/CopyTag.stories.d.ts +1 -1
- package/dist/svgTags/CreateTag.stories.d.ts +1 -1
- package/dist/svgTags/ExploreTag.stories.d.ts +1 -1
- package/dist/svgTags/GoBackTag.stories.d.ts +1 -1
- package/dist/svgTags/HomeTag.stories.d.ts +1 -1
- package/dist/svgTags/LogoutTag.stories.d.ts +1 -1
- package/dist/svgTags/MapTag.stories.d.ts +1 -1
- package/dist/svgTags/MessageTag.d.ts +8 -0
- package/dist/svgTags/MessageTag.stories.d.ts +7 -0
- package/dist/svgTags/NearbyTag.stories.d.ts +1 -1
- package/dist/svgTags/NewsfeedTag.stories.d.ts +1 -1
- package/dist/svgTags/PrivateTag.stories.d.ts +1 -1
- package/dist/svgTags/ReportTag.d.ts +9 -0
- package/dist/svgTags/ReportTag.stories.d.ts +7 -0
- package/dist/svgTags/SvgTag.stories.d.ts +1 -1
- package/dist/svgTags/UpArrowTag.stories.d.ts +1 -1
- package/dist/svgTags/index.d.ts +3 -0
- package/dist/svgTags/locations/CityTag.stories.d.ts +1 -1
- package/dist/svgTags/locations/LocationPointTag.stories.d.ts +1 -1
- package/dist/svgTags/locations/LocationTag.stories.d.ts +1 -1
- package/dist/svgTags/locations/StreetTag.stories.d.ts +1 -1
- package/dist/svgTags/posts/CreatePostTag.stories.d.ts +1 -1
- package/dist/svgTags/posts/ImageTag.stories.d.ts +1 -1
- package/dist/svgTags/posts/PollTag.stories.d.ts +1 -1
- package/dist/svgTags/posts/PostTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/ArenaTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/CoachTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/CollectionTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/EventTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/GameTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/LeaderboardTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/MarketTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/ProfileTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/TeamTag.stories.d.ts +1 -1
- package/dist/svgTags/profiles/UserTag.stories.d.ts +1 -1
- package/dist/tags/Tag.stories.d.ts +1 -1
- package/dist/tags/Tags.stories.d.ts +1 -1
- package/dist/wacomm.cjs.js +689 -1
- package/dist/wacomm.css +2 -1
- package/dist/wacomm.es.js +41287 -153
- package/package.json +13 -13
- package/dist/index-9cyy21Gb.mjs +0 -62454
- package/dist/index-Chuw4Ews.js +0 -921
- package/dist/mapbox-gl-BPlgA_VG.mjs +0 -36217
- package/dist/mapbox-gl-z4AKn_Nw.js +0 -3073
- package/dist/maplibre-gl-B5W3svJJ.mjs +0 -18016
- package/dist/maplibre-gl-DdapCre3.js +0 -580
- /package/dist/{alertWrapper → alerts}/AlertWrapper.d.ts +0 -0
- /package/dist/{alertWrapper → alerts}/ChatAlert.d.ts +0 -0
- /package/dist/{alertWrapper → alerts}/NotificationAlert.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface MessageButtonProps {
|
|
2
|
+
onSend: (content: string) => Promise<void> | void;
|
|
3
|
+
onSuccess?: () => void;
|
|
4
|
+
onError?: (error: unknown) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function MessageButton({ onSend, onSuccess, onError, disabled }: MessageButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default MessageButton;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as MessageButton } from './MessageButton';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof MessageButton;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
onSend: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
|
+
onSuccess: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
13
|
+
onError: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
19
|
+
export declare const Disabled: Story;
|
|
20
|
+
export declare const SendError: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface MessageInputProps {
|
|
2
|
+
onSend: (content: string) => void;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
autoFocus?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function MessageInput({ onSend, disabled, autoFocus }: MessageInputProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default MessageInput;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as MessageInput } from './MessageInput';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof MessageInput;
|
|
6
|
+
tags: string[];
|
|
7
|
+
args: {
|
|
8
|
+
onSend: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Disabled: Story;
|
|
15
|
+
export declare const CssCheck: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ZeroFuncType } from 'waujs';
|
|
2
|
+
import { ContentViolationOption } from 'wenum';
|
|
3
|
+
interface MoreActionsProps {
|
|
4
|
+
onReport: (option: ContentViolationOption, note?: string) => void;
|
|
5
|
+
onBlock: ZeroFuncType;
|
|
6
|
+
username?: string;
|
|
7
|
+
notePlaceholder?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare function MoreActions({ onReport, onBlock, username, notePlaceholder, className }: MoreActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default MoreActions;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as MoreActions } from './MoreActions';
|
|
3
|
+
declare const meta: Meta<typeof MoreActions>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithUsername: Story;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MoreActions } from './MoreActions';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t, n) => () => {
|
|
3
|
+
if (n) throw n[0];
|
|
4
|
+
try {
|
|
5
|
+
return e && (t = e(e = 0)), t;
|
|
6
|
+
} catch (e) {
|
|
7
|
+
throw n = [e], e;
|
|
8
|
+
}
|
|
9
|
+
}, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
|
|
10
|
+
let r = {};
|
|
11
|
+
for (var i in e) t(r, i, {
|
|
12
|
+
get: e[i],
|
|
13
|
+
enumerable: !0
|
|
14
|
+
});
|
|
15
|
+
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
16
|
+
}, l = (e, i, o, s) => {
|
|
17
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
18
|
+
get: ((e) => i[e]).bind(null, d),
|
|
19
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
20
|
+
});
|
|
21
|
+
return e;
|
|
22
|
+
}, u = (n, r, a) => (a = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule ? t(a, "default", {
|
|
23
|
+
value: n,
|
|
24
|
+
enumerable: !0
|
|
25
|
+
}) : a, n)), d = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e), f = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
|
|
26
|
+
if (typeof require < "u") return require.apply(this, arguments);
|
|
27
|
+
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { d as a, f as i, o as n, u as o, c as r, s as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ZeroFuncType } from 'waujs';
|
|
2
|
+
interface BlockTagProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
isHighlighted?: boolean;
|
|
5
|
+
onClick?: ZeroFuncType;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function BlockTag({ label, isHighlighted, onClick, className }: BlockTagProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default BlockTag;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as BlockTag } from './BlockTag';
|
|
3
|
+
declare const meta: Meta<typeof BlockTag>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Highlighted: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ZeroFuncType } from 'waujs';
|
|
2
|
+
interface MessageTagProps {
|
|
3
|
+
isHighlighted?: boolean;
|
|
4
|
+
onClick?: ZeroFuncType;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function MessageTag({ isHighlighted, onClick, className }: MessageTagProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default MessageTag;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as MessageTag } from './MessageTag';
|
|
3
|
+
declare const meta: Meta<typeof MessageTag>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Highlighted: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ZeroFuncType } from 'waujs';
|
|
2
|
+
interface ReportTagProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
isHighlighted?: boolean;
|
|
5
|
+
onClick?: ZeroFuncType;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function ReportTag({ label, isHighlighted, onClick, className }: ReportTagProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ReportTag;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as ReportTag } from './ReportTag';
|
|
3
|
+
declare const meta: Meta<typeof ReportTag>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Highlighted: Story;
|
package/dist/svgTags/index.d.ts
CHANGED
|
@@ -12,6 +12,9 @@ export { default as LogoutTag } from './LogoutTag';
|
|
|
12
12
|
export { default as UpArrowTag } from './UpArrowTag';
|
|
13
13
|
export { default as CommentTag } from './CommentTag';
|
|
14
14
|
export { default as GoBackTag } from './GoBackTag';
|
|
15
|
+
export { default as MessageTag } from './MessageTag';
|
|
16
|
+
export { default as ReportTag } from './ReportTag';
|
|
17
|
+
export { default as BlockTag } from './BlockTag';
|
|
15
18
|
export * from './profiles';
|
|
16
19
|
export * from './posts';
|
|
17
20
|
export * from './locations';
|