wasvg 1.0.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/Badminton-CBmkgUV4.mjs +43 -0
- package/dist/Badminton-Curw8JqA.js +17 -0
- package/dist/Basketball-BFjybuZN.mjs +20 -0
- package/dist/Basketball-C6gj2P1K.js +1 -0
- package/dist/Cat-Dne-PIE8.mjs +22 -0
- package/dist/Cat-DsMzYmPA.js +1 -0
- package/dist/Dog-CTGP2bGj.mjs +26 -0
- package/dist/Dog-D-KNS9El.js +1 -0
- package/dist/Football-BqhBtMRG.mjs +20 -0
- package/dist/Football-C7eAQh1X.js +1 -0
- package/dist/Golf-Bg5aZvof.mjs +20 -0
- package/dist/Golf-DVTBXQ8R.js +1 -0
- package/dist/Guitar-CFpadZfg.js +31 -0
- package/dist/Guitar-J19aIwQO.mjs +53 -0
- package/dist/Hiking-BSnqHwEJ.js +1 -0
- package/dist/Hiking-Dda1oHTy.mjs +20 -0
- package/dist/Hockey-C9iKm674.js +11 -0
- package/dist/Hockey-DtAkOXH_.mjs +45 -0
- package/dist/Pickleball-B3j4Fecr.js +1 -0
- package/dist/Pickleball-C_P-t_iD.mjs +20 -0
- package/dist/Running-DVgZaRLm.mjs +20 -0
- package/dist/Running-nCwz27vw.js +1 -0
- package/dist/Sing-D3G02Qe9.mjs +26 -0
- package/dist/Sing-pC3IANvI.js +1 -0
- package/dist/Soccer-Cm5HvlZP.mjs +20 -0
- package/dist/Soccer-Cqk1y0wE.js +1 -0
- package/dist/TableTennis-CeCYx-l_.mjs +58 -0
- package/dist/TableTennis-DY-EByxC.js +24 -0
- package/dist/Tennis-D2UeuI_R.mjs +20 -0
- package/dist/Tennis-DIl758lP.js +1 -0
- package/dist/common/Add.d.ts +3 -0
- package/dist/common/Arena.d.ts +3 -0
- package/dist/common/Calendar.d.ts +3 -0
- package/dist/common/CalendarEvent.d.ts +3 -0
- package/dist/common/Chat.d.ts +3 -0
- package/dist/common/City.d.ts +3 -0
- package/dist/common/Close.d.ts +3 -0
- package/dist/common/Coach.d.ts +3 -0
- package/dist/common/Collapse.d.ts +3 -0
- package/dist/common/Collection.d.ts +3 -0
- package/dist/common/Create.d.ts +3 -0
- package/dist/common/CreateArena.d.ts +3 -0
- package/dist/common/CreateCollection.d.ts +3 -0
- package/dist/common/CreatePost.d.ts +3 -0
- package/dist/common/CreateTeam.d.ts +3 -0
- package/dist/common/Discussion.d.ts +3 -0
- package/dist/common/Edit.d.ts +3 -0
- package/dist/common/Explore.d.ts +3 -0
- package/dist/common/Home.d.ts +3 -0
- package/dist/common/Image.d.ts +3 -0
- package/dist/common/Info.d.ts +3 -0
- package/dist/common/LeftArrow.d.ts +3 -0
- package/dist/common/Logout.d.ts +3 -0
- package/dist/common/Map.d.ts +3 -0
- package/dist/common/Market.d.ts +3 -0
- package/dist/common/Menu.d.ts +3 -0
- package/dist/common/Newsfeed.d.ts +3 -0
- package/dist/common/Notification.d.ts +3 -0
- package/dist/common/Partners.d.ts +3 -0
- package/dist/common/Poll.d.ts +3 -0
- package/dist/common/Private.d.ts +3 -0
- package/dist/common/RightArrow.d.ts +3 -0
- package/dist/common/Team.d.ts +3 -0
- package/dist/common/TextPost.d.ts +3 -0
- package/dist/common/UpArrow.d.ts +3 -0
- package/dist/common/User.d.ts +3 -0
- package/dist/common/WorenaLogo.d.ts +3 -0
- package/dist/common/index.d.ts +36 -0
- package/dist/index-Cb5eUIDZ.js +41 -0
- package/dist/index-DPuEkWuJ.mjs +3836 -0
- package/dist/index.d.ts +3 -0
- package/dist/interests/Category.d.ts +9 -0
- package/dist/interests/InterestSvg.d.ts +9 -0
- package/dist/interests/allInterestSvgs.d.ts +18 -0
- package/dist/interests/index.d.ts +5 -0
- package/dist/interests/sports/Sports.d.ts +3 -0
- package/dist/interests/sports/index.d.ts +2 -0
- package/dist/interests/sports/interests/Badminton.d.ts +3 -0
- package/dist/interests/sports/interests/Basketball.d.ts +3 -0
- package/dist/interests/sports/interests/Cat.d.ts +3 -0
- package/dist/interests/sports/interests/Dog.d.ts +3 -0
- package/dist/interests/sports/interests/Football.d.ts +3 -0
- package/dist/interests/sports/interests/Golf.d.ts +3 -0
- package/dist/interests/sports/interests/Guitar.d.ts +3 -0
- package/dist/interests/sports/interests/Hiking.d.ts +3 -0
- package/dist/interests/sports/interests/Hockey.d.ts +3 -0
- package/dist/interests/sports/interests/Pickleball.d.ts +3 -0
- package/dist/interests/sports/interests/Running.d.ts +3 -0
- package/dist/interests/sports/interests/Sing.d.ts +3 -0
- package/dist/interests/sports/interests/Soccer.d.ts +3 -0
- package/dist/interests/sports/interests/TableTennis.d.ts +3 -0
- package/dist/interests/sports/interests/Tennis.d.ts +3 -0
- package/dist/interests/sports/interests/index.d.ts +15 -0
- package/dist/interests/util.d.ts +2 -0
- package/dist/util.d.ts +11 -0
- package/dist/wasvg.cjs.js +1 -0
- package/dist/wasvg.css +1 -0
- package/dist/wasvg.es.js +46 -0
- package/package.json +44 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SvgSize } from '../util';
|
|
2
|
+
interface CategoryProps {
|
|
3
|
+
categoryID: number;
|
|
4
|
+
categoryName: string;
|
|
5
|
+
size?: SvgSize;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function Category({ categoryID, size, className }: CategoryProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Category;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SvgSize } from '../util';
|
|
2
|
+
interface InterestProps {
|
|
3
|
+
categoryID: number;
|
|
4
|
+
interestName: string;
|
|
5
|
+
size?: SvgSize;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function InterestSvg({ interestName, size, className }: InterestProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default InterestSvg;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum SportsInterestName {
|
|
2
|
+
Badminton = "badminton",
|
|
3
|
+
Basketball = "basketball",
|
|
4
|
+
Football = "football",
|
|
5
|
+
Golf = "golf",
|
|
6
|
+
Hiking = "hiking",
|
|
7
|
+
Hockey = "hockey",
|
|
8
|
+
Pickleball = "pickleball",
|
|
9
|
+
Running = "running",
|
|
10
|
+
Soccer = "soccer",
|
|
11
|
+
TableTennis = "table_tennis",
|
|
12
|
+
Tennis = "tennis",
|
|
13
|
+
Guitar = "guitar",// TODO: remove later
|
|
14
|
+
Dog = "dog",// TODO: remove later
|
|
15
|
+
Sing = "sing",// TODO: remove later
|
|
16
|
+
Cat = "cat"
|
|
17
|
+
}
|
|
18
|
+
export declare function getInterestSvgByName(name: string): import('react').LazyExoticComponent<typeof import('./sports/interests/Badminton').default>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as Soccer } from './Soccer';
|
|
2
|
+
export { default as Hiking } from './Hiking';
|
|
3
|
+
export { default as Tennis } from './Tennis';
|
|
4
|
+
export { default as Running } from './Running';
|
|
5
|
+
export { default as Basketball } from './Basketball';
|
|
6
|
+
export { default as Golf } from './Golf';
|
|
7
|
+
export { default as Badminton } from './Badminton';
|
|
8
|
+
export { default as TableTennis } from './TableTennis';
|
|
9
|
+
export { default as Hockey } from './Hockey';
|
|
10
|
+
export { default as Football } from './Football';
|
|
11
|
+
export { default as Pickleball } from './Pickleball';
|
|
12
|
+
export { default as Dog } from './Dog';
|
|
13
|
+
export { default as Cat } from './Cat';
|
|
14
|
+
export { default as Guitar } from './Guitar';
|
|
15
|
+
export { default as Sing } from './Sing';
|
package/dist/util.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Cb5eUIDZ.js");exports.AddSvg=e.Add;exports.ArenaSvg=e.Arena;exports.CalendarEventSvg=e.CreateEvent;exports.CalendarSvg=e.Calendar;exports.CategorySvg=e.Category;exports.ChatSvg=e.Chat;exports.CitySvg=e.City;exports.CloseSvg=e.Close;exports.CoachSvg=e.Coach;exports.CollapseSvg=e.Collapse;exports.CollectionSvg=e.Collection;exports.CreateArenaSvg=e.CreateArena;exports.CreateCollectionSvg=e.CreateCollection;exports.CreatePostSvg=e.CreatePost;exports.CreateSvg=e.Create;exports.CreateTeamSvg=e.CreateTeam;exports.DiscussionSvg=e.Discussion;exports.EditSvg=e.Edit;exports.ExploreSvg=e.Explore;exports.HomeSvg=e.Home;exports.ImageSvg=e.Image;exports.InterestSvg=e.InterestSvg;exports.LeftArrowSvg=e.LeftArrow;exports.LogoutSvg=e.Logout;exports.MarketSvg=e.Market;exports.Mawasvg=e.Map;exports.MenuSvg=e.MenuSvg;exports.NewsfeedSvg=e.NewsfeedSvg;exports.NotificationSvg=e.NotificationSvg;exports.PartnersSvg=e.PartnersSvg;exports.PollSvg=e.PollSvg;exports.PrivateSvg=e.PrivateSvg;exports.RightArrowSvg=e.RightArrowSvg;exports.SportsInterestName=e.SportsInterestName;exports.SportsSvg=e.Sports;exports.SvgSize=e.SvgSize;exports.TeamSvg=e.TeamSvg;exports.TextPostSvg=e.TextPostSvg;exports.UpArrowSvg=e.UpArrow;exports.UserSvg=e.UserSvg;exports.WorenaLogoSvg=e.WorenaLogoSvg;exports.getCategorySvg=e.getCategorySvg;exports.getInterestSvgByName=e.getInterestSvgByName;
|
package/dist/wasvg.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-500:oklch(62.3% .214 259.815);--color-gray-600:oklch(44.6% .03 256.802);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.fill-blue-500{fill:var(--color-blue-500)}.fill-gray-600{fill:var(--color-gray-600)}.stroke-1{stroke-width:1px}.stroke-2{stroke-width:2px}.text-gray-600{color:var(--color-gray-600)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
|
package/dist/wasvg.es.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { q as g, o as e, h as v, d as S, C as t, e as r, B as o, u as C, r as n, z as i, p as l, k as m, l as d, m as p, f as c, i as w, F as A, s as P, E as f, H as y, v as I, I as N, L as h, D as u, J as x, M as E, t as L, n as M, N as T, P as U, w as k, y as z, R as B, b as D, c as H, S as R, T as W, x as b, G as q, U as F, W as G, g as J, a as j } from "./index-DPuEkWuJ.mjs";
|
|
2
|
+
export {
|
|
3
|
+
g as AddSvg,
|
|
4
|
+
e as ArenaSvg,
|
|
5
|
+
v as CalendarEventSvg,
|
|
6
|
+
S as CalendarSvg,
|
|
7
|
+
t as CategorySvg,
|
|
8
|
+
r as ChatSvg,
|
|
9
|
+
o as CitySvg,
|
|
10
|
+
C as CloseSvg,
|
|
11
|
+
n as CoachSvg,
|
|
12
|
+
i as CollapseSvg,
|
|
13
|
+
l as CollectionSvg,
|
|
14
|
+
m as CreateArenaSvg,
|
|
15
|
+
d as CreateCollectionSvg,
|
|
16
|
+
p as CreatePostSvg,
|
|
17
|
+
c as CreateSvg,
|
|
18
|
+
w as CreateTeamSvg,
|
|
19
|
+
A as DiscussionSvg,
|
|
20
|
+
P as EditSvg,
|
|
21
|
+
f as ExploreSvg,
|
|
22
|
+
y as HomeSvg,
|
|
23
|
+
I as ImageSvg,
|
|
24
|
+
N as InterestSvg,
|
|
25
|
+
h as LeftArrowSvg,
|
|
26
|
+
u as LogoutSvg,
|
|
27
|
+
x as MarketSvg,
|
|
28
|
+
E as Mawasvg,
|
|
29
|
+
L as MenuSvg,
|
|
30
|
+
M as NewsfeedSvg,
|
|
31
|
+
T as NotificationSvg,
|
|
32
|
+
U as PartnersSvg,
|
|
33
|
+
k as PollSvg,
|
|
34
|
+
z as PrivateSvg,
|
|
35
|
+
B as RightArrowSvg,
|
|
36
|
+
D as SportsInterestName,
|
|
37
|
+
H as SportsSvg,
|
|
38
|
+
R as SvgSize,
|
|
39
|
+
W as TeamSvg,
|
|
40
|
+
b as TextPostSvg,
|
|
41
|
+
q as UpArrowSvg,
|
|
42
|
+
F as UserSvg,
|
|
43
|
+
G as WorenaLogoSvg,
|
|
44
|
+
J as getCategorySvg,
|
|
45
|
+
j as getInterestSvgByName
|
|
46
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wasvg",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "dist/wasvg.cjs.js",
|
|
5
|
+
"module": "dist/wasvg.es.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/wasvg.es.js",
|
|
13
|
+
"require": "./dist/wasvg.cjs.js"
|
|
14
|
+
},
|
|
15
|
+
"./dist/wasvg.css": "./dist/wasvg.css"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
19
|
+
"build": "vite build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [],
|
|
22
|
+
"author": "",
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"description": "",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@tailwindcss/vite": "^4.1.7",
|
|
27
|
+
"@types/react": "^19.1.5",
|
|
28
|
+
"@types/react-dom": "^19.1.5",
|
|
29
|
+
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
30
|
+
"tailwindcss": "^4.1.7",
|
|
31
|
+
"vite": "^6.3.5",
|
|
32
|
+
"vite-plugin-dts": "^4.5.4"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"react": "^19.0.0",
|
|
36
|
+
"react-dom": "^19.0.0"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"clsx": "^2.1.1",
|
|
40
|
+
"tailwind-merge": "^3.3.0",
|
|
41
|
+
"tiny-invariant": "^1.3.3",
|
|
42
|
+
"waujs": "^1.0.0"
|
|
43
|
+
}
|
|
44
|
+
}
|