@johnmorrisdotca/dougu-sports 0.3.1 → 0.4.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/CHANGELOG.md +27 -1
- package/NOTICE.md +1 -0
- package/README.md +27 -11
- package/dist/emblems/ball/ball.art.d.ts +24 -0
- package/dist/emblems/ball/ball.art.js +67 -0
- package/dist/emblems/ball/ball.core.d.ts +6 -0
- package/dist/emblems/ball/ball.core.js +12 -1
- package/dist/emblems/ball/ball.face.d.ts +54 -0
- package/dist/emblems/ball/ball.face.js +287 -0
- package/dist/emblems/ball/ball.image.d.ts +8 -0
- package/dist/emblems/ball/ball.image.js +122 -0
- package/dist/emblems/ball/ball.index.d.ts +3 -1
- package/dist/emblems/ball/ball.index.js +7 -5
- package/dist/emblems/ball/ball.letters.d.ts +32 -0
- package/dist/emblems/ball/ball.letters.js +142 -0
- package/dist/emblems/ball/ball.object.js +1 -1
- package/dist/emblems/ball/ball.puck.d.ts +8 -0
- package/dist/emblems/ball/ball.puck.js +19 -12
- package/dist/emblems/ball/ball.puck.print.d.ts +76 -0
- package/dist/emblems/ball/ball.puck.print.js +46 -0
- package/dist/emblems/ball/ball.signature.d.ts +4 -0
- package/dist/emblems/ball/ball.signature.js +58 -0
- package/dist/emblems/ball/ball.stack.d.ts +10 -0
- package/dist/emblems/ball/ball.stack.js +8 -1
- package/dist/emblems/emblem.api.d.ts +5 -5
- package/dist/emblems/emblem.api.js +27 -8
- package/dist/emblems/emblem.core.d.ts +6 -0
- package/dist/emblems/emblem.descriptions.js +8 -0
- package/dist/emblems/emblem.ids.d.ts +6 -1
- package/dist/emblems/emblem.ids.js +4 -1
- package/dist/emblems/emblem.registry.js +2 -2
- package/dist/emblems-entry.d.ts +3 -2
- package/dist/emblems-entry.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import { CREST_ROUNDEL } from "./crest/roundel.js";
|
|
|
38
38
|
import { CREST_DIAMOND } from "./crest/diamond.js";
|
|
39
39
|
import { CREST_PENNANT } from "./crest/pennant.js";
|
|
40
40
|
import { PENNANT_CHAMPIONSHIP } from "./pennant/championship.js";
|
|
41
|
-
import { BALLS } from "./ball/ball.index.js";
|
|
41
|
+
import { BALLS, PUCKS } from "./ball/ball.index.js";
|
|
42
42
|
import { GEARS } from "./gear/gear.index.js";
|
|
43
43
|
import { SPORT_NFL } from "./sport/nfl.js";
|
|
44
44
|
import { SPORT_CFL } from "./sport/cfl.js";
|
|
@@ -79,7 +79,7 @@ import { SPORT_JUDO } from "./sport/judo.js";
|
|
|
79
79
|
import { SPORT_KYUDO } from "./sport/kyudo.js";
|
|
80
80
|
import { SPORT_KARATE } from "./sport/karate.js";
|
|
81
81
|
/** The balls and the gear are drawn by families, each family in a module of its own, and listed in order by their own indexes. */
|
|
82
|
-
const PIECES = Object.fromEntries([...BALLS, ...GEARS].map((piece) => [piece.id, piece]));
|
|
82
|
+
const PIECES = Object.fromEntries([...BALLS, ...PUCKS, ...GEARS].map((piece) => [piece.id, piece]));
|
|
83
83
|
/** The emblems drawn one to a module: every id but the balls and the gear. A missing or extra entry is a type error. */
|
|
84
84
|
const OWN = {
|
|
85
85
|
"award:medal": AWARD_MEDAL,
|
package/dist/emblems-entry.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export { EMBLEM_DESCRIPTIONS } from "./emblems/emblem.descriptions.ts";
|
|
|
2
2
|
export type { EmblemDescription } from "./emblems/emblem.descriptions.ts";
|
|
3
3
|
export { EMBLEMS, crest, emblemInfo, emblemModel, emblemName, emblemOf, emblemSvg, isBallId, isEmblemId, medal, parseEmblem, pennant, renderEmblem, sportIcon } from "./emblems/emblem.api.ts";
|
|
4
4
|
export type { CrestOptions, EmblemInfo, EmblemRef, PennantOptions } from "./emblems/emblem.api.ts";
|
|
5
|
-
export { AWARD_IDS, BALL_IDS, CREST_IDS, CREST_SHAPES, EMBLEM_ALIASES, EMBLEM_FOLDERS, EMBLEM_GROUPS, EMBLEM_IDS, GEAR_IDS, JAPANESE_IDS, MEDAL_IDS, MEDAL_KINDS, PENNANT_IDS, SPORT_IDS, SPORT_NAMES, TROPHY_IDS } from "./emblems/emblem.ids.ts";
|
|
6
|
-
export type { AwardId, BallId, CrestId, CrestShape, EmblemGroup, EmblemId, GearId, JapaneseId, MedalId, MedalKind, PennantId, SportEmblemId, SportName, TrophyId } from "./emblems/emblem.ids.ts";
|
|
5
|
+
export { AWARD_IDS, BALL_IDS, CREST_IDS, CREST_SHAPES, EMBLEM_ALIASES, EMBLEM_FOLDERS, EMBLEM_GROUPS, EMBLEM_IDS, GEAR_IDS, JAPANESE_IDS, MEDAL_IDS, MEDAL_KINDS, PENNANT_IDS, PUCK_IDS, SPORT_IDS, SPORT_NAMES, TROPHY_IDS } from "./emblems/emblem.ids.ts";
|
|
6
|
+
export type { AwardId, BallId, CrestId, CrestShape, EmblemGroup, EmblemId, GearId, JapaneseId, MedalId, MedalKind, PennantId, PuckId, SportEmblemId, SportName, TrophyId } from "./emblems/emblem.ids.ts";
|
|
7
7
|
export { EMBLEM_INK, EMBLEM_PAGE, EMBLEM_STYLES, METALS } from "./emblems/emblem.core.ts";
|
|
8
8
|
export type { Emblem, EmblemKind, EmblemLocale, EmblemOptions, EmblemSource, EmblemStyle, EmblemTheme, FrameOptions } from "./emblems/emblem.core.ts";
|
|
9
9
|
export { lineup } from "./emblems/ball/ball.index.ts";
|
|
@@ -19,3 +19,4 @@ export { sportEquipment } from "./emblems/emblem.equipment.ts";
|
|
|
19
19
|
export type { SportEquipment } from "./emblems/emblem.equipment.ts";
|
|
20
20
|
export { awardCase, podium } from "./emblems/emblem.display.ts";
|
|
21
21
|
export type { AwardCaseOptions, AwardItem, DisplayOptions, PodiumOptions, PodiumPlace } from "./emblems/emblem.display.ts";
|
|
22
|
+
export type { FaceColors, FlagRenderer, PuckDesign, PuckFace } from "./emblems/ball/ball.face.ts";
|
package/dist/emblems-entry.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// emblem and nothing else import its own module (`@johnmorrisdotca/dougu-sports/ball/soccer`).
|
|
3
3
|
export { EMBLEM_DESCRIPTIONS } from "./emblems/emblem.descriptions.js";
|
|
4
4
|
export { EMBLEMS, crest, emblemInfo, emblemModel, emblemName, emblemOf, emblemSvg, isBallId, isEmblemId, medal, parseEmblem, pennant, renderEmblem, sportIcon } from "./emblems/emblem.api.js";
|
|
5
|
-
export { AWARD_IDS, BALL_IDS, CREST_IDS, CREST_SHAPES, EMBLEM_ALIASES, EMBLEM_FOLDERS, EMBLEM_GROUPS, EMBLEM_IDS, GEAR_IDS, JAPANESE_IDS, MEDAL_IDS, MEDAL_KINDS, PENNANT_IDS, SPORT_IDS, SPORT_NAMES, TROPHY_IDS } from "./emblems/emblem.ids.js";
|
|
5
|
+
export { AWARD_IDS, BALL_IDS, CREST_IDS, CREST_SHAPES, EMBLEM_ALIASES, EMBLEM_FOLDERS, EMBLEM_GROUPS, EMBLEM_IDS, GEAR_IDS, JAPANESE_IDS, MEDAL_IDS, MEDAL_KINDS, PENNANT_IDS, PUCK_IDS, SPORT_IDS, SPORT_NAMES, TROPHY_IDS } from "./emblems/emblem.ids.js";
|
|
6
6
|
export { EMBLEM_INK, EMBLEM_PAGE, EMBLEM_STYLES, METALS } from "./emblems/emblem.core.js";
|
|
7
7
|
export { lineup } from "./emblems/ball/ball.index.js";
|
|
8
8
|
export { emblemSprite } from "./emblems/emblem.sprite.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ export { BALL_HANDBALL } from "./emblems/ball/ball.handball.ts";
|
|
|
98
98
|
export { BALL_PADEL } from "./emblems/ball/ball.padel.ts";
|
|
99
99
|
export { BALL_PICKLEBALL_OUTDOOR, BALL_PICKLEBALL_INDOOR } from "./emblems/ball/ball.pickleball.ts";
|
|
100
100
|
export { BALL_PUCK } from "./emblems/ball/ball.puck.ts";
|
|
101
|
+
export { PUCK_CANADA, PUCK_CANADA_RED, PUCK_CANADA_WHITE, PUCK_USA, PUCK_USA_NAVY, PUCK_PLAYER, PUCK_SIGNED, PUCK_SOUVENIR } from "./emblems/ball/ball.puck.print.ts";
|
|
101
102
|
export { BALL_ROUNDNET } from "./emblems/ball/ball.roundnet.ts";
|
|
102
103
|
export { BALL_RUGBY } from "./emblems/ball/ball.rugby.ts";
|
|
103
104
|
export { BALL_SEPAK_TAKRAW } from "./emblems/ball/ball.sepaktakraw.ts";
|
package/dist/index.js
CHANGED
|
@@ -99,6 +99,7 @@ export { BALL_HANDBALL } from "./emblems/ball/ball.handball.js";
|
|
|
99
99
|
export { BALL_PADEL } from "./emblems/ball/ball.padel.js";
|
|
100
100
|
export { BALL_PICKLEBALL_OUTDOOR, BALL_PICKLEBALL_INDOOR } from "./emblems/ball/ball.pickleball.js";
|
|
101
101
|
export { BALL_PUCK } from "./emblems/ball/ball.puck.js";
|
|
102
|
+
export { PUCK_CANADA, PUCK_CANADA_RED, PUCK_CANADA_WHITE, PUCK_USA, PUCK_USA_NAVY, PUCK_PLAYER, PUCK_SIGNED, PUCK_SOUVENIR } from "./emblems/ball/ball.puck.print.js";
|
|
102
103
|
export { BALL_ROUNDNET } from "./emblems/ball/ball.roundnet.js";
|
|
103
104
|
export { BALL_RUGBY } from "./emblems/ball/ball.rugby.js";
|
|
104
105
|
export { BALL_SEPAK_TAKRAW } from "./emblems/ball/ball.sepaktakraw.js";
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.4.0";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.4.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johnmorrisdotca/dougu-sports",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Dougu Sports 道具, sports emblems as SVG strings: trophies, medals, crests, sport icons, and the ball and gear of every sport, in metal, line or flat colour, with optional 3D turning. Light and dark, accessible, tree-shakeable. Zero dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sports",
|