@mudlet/mudlet-web 0.4.3 → 0.4.5
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-lib/assets/fonts/Ubuntu-B.woff2 +0 -0
- package/dist-lib/assets/fonts/Ubuntu-BI.woff2 +0 -0
- package/dist-lib/assets/fonts/Ubuntu-R.woff2 +0 -0
- package/dist-lib/assets/fonts/Ubuntu-RI.woff2 +0 -0
- package/dist-lib/assets/fonts/UbuntuMono-B.woff2 +0 -0
- package/dist-lib/assets/fonts/UbuntuMono-BI.woff2 +0 -0
- package/dist-lib/assets/fonts/UbuntuMono-R.woff2 +0 -0
- package/dist-lib/assets/fonts/UbuntuMono-RI.woff2 +0 -0
- package/dist-lib/assets/fonts/VeraMoBI.woff2 +0 -0
- package/dist-lib/assets/fonts/VeraMoBd.woff2 +0 -0
- package/dist-lib/assets/fonts/VeraMoIt.woff2 +0 -0
- package/dist-lib/assets/fonts/VeraMono.woff2 +0 -0
- package/dist-lib/hooks/useViewportMode.d.ts +16 -0
- package/dist-lib/index.js +4738 -4660
- package/dist-lib/mud/games/icons/120x30RoDLogo.png +0 -0
- package/dist-lib/mud/games/icons/3Kingdoms.png +0 -0
- package/dist-lib/mud/games/icons/3Scapes.png +0 -0
- package/dist-lib/mud/games/icons/Slothmud.png +0 -0
- package/dist-lib/mud/games/icons/aardwolf_mud.png +0 -0
- package/dist-lib/mud/games/icons/abandonedrealms_icon.jpg +0 -0
- package/dist-lib/mud/games/icons/accursed_lands.png +0 -0
- package/dist-lib/mud/games/icons/achaea.png +0 -0
- package/dist-lib/mud/games/icons/aetolia.png +0 -0
- package/dist-lib/mud/games/icons/avalon.png +0 -0
- package/dist-lib/mud/games/icons/banner_astaria.png +0 -0
- package/dist-lib/mud/games/icons/banner_petria.jpg +0 -0
- package/dist-lib/mud/games/icons/batmud_mud.png +0 -0
- package/dist-lib/mud/games/icons/blackmud.png +0 -0
- package/dist-lib/mud/games/icons/carrionfields.png +0 -0
- package/dist-lib/mud/games/icons/cleftofdimensions.png +0 -0
- package/dist-lib/mud/games/icons/clessidra.jpg +0 -0
- package/dist-lib/mud/games/icons/dragonfire_icon.png +0 -0
- package/dist-lib/mud/games/icons/fed2-logo.png +0 -0
- package/dist-lib/mud/games/icons/fiery_mud.png +0 -0
- package/dist-lib/mud/games/icons/gw2.png +0 -0
- package/dist-lib/mud/games/icons/icesus_480x120.png +0 -0
- package/dist-lib/mud/games/icons/imperian.png +0 -0
- package/dist-lib/mud/games/icons/infinity_480x120.png +0 -0
- package/dist-lib/mud/games/icons/legendsofthejedi_120x30.png +0 -0
- package/dist-lib/mud/games/icons/logo_mm-120x30px-verticalBlackBgd.png +0 -0
- package/dist-lib/mud/games/icons/luminari_icon.png +0 -0
- package/dist-lib/mud/games/icons/lusternia.png +0 -0
- package/dist-lib/mud/games/icons/medievia.png +0 -0
- package/dist-lib/mud/games/icons/midnightsun2.png +0 -0
- package/dist-lib/mud/games/icons/morgengrauen_480x120.png +0 -0
- package/dist-lib/mud/games/icons/mudlet-tutorial.png +0 -0
- package/dist-lib/mud/games/icons/mudren.png +0 -0
- package/dist-lib/mud/games/icons/mume.png +0 -0
- package/dist-lib/mud/games/icons/phoenixmud_480x120.png +0 -0
- package/dist-lib/mud/games/icons/pkuxkx.png +0 -0
- package/dist-lib/mud/games/icons/reinosdeleyenda_mud.png +0 -0
- package/dist-lib/mud/games/icons/starmourn.png +0 -0
- package/dist-lib/mud/games/icons/stickmud_icon.jpg +0 -0
- package/dist-lib/mud/games/icons/voidmud_icon.png +0 -0
- package/dist-lib/mud/games/icons/wotmudicon.png +0 -0
- package/dist-lib/mud/games/icons/zombiemud.png +0 -0
- package/dist-lib/styles.css +1 -1
- package/dist-lib/ui/output/clearSplit.d.ts +17 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -14,6 +14,22 @@ export type ViewportMode = 'mobile' | 'tablet' | 'desktop';
|
|
|
14
14
|
export declare function useViewportMode(): ViewportMode;
|
|
15
15
|
/** Convenience: true on phone-sized viewports (the single-column layout branch). */
|
|
16
16
|
export declare function useIsMobile(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the primary pointer is a touch screen — which is really the question
|
|
19
|
+
* "is there an on-screen keyboard", and a different question from the one the
|
|
20
|
+
* breakpoints above answer.
|
|
21
|
+
*
|
|
22
|
+
* Width says how much room the UI has. It does not say what covers that room
|
|
23
|
+
* when the player types, and those two come apart exactly where this client is
|
|
24
|
+
* embedded: the hero on mudlet.org is a 563px frame on a desktop of any size,
|
|
25
|
+
* so it is phone-sized by every measure the layout cares about and has no
|
|
26
|
+
* keyboard to hide behind. Anything that exists *because* of the on-screen
|
|
27
|
+
* keyboard has to ask this rather than the breakpoint, or it fires on a mouse.
|
|
28
|
+
*
|
|
29
|
+
* Note this is the primary pointer: a laptop with a touch screen and a
|
|
30
|
+
* trackpad reports fine, which is the answer we want — it has a real keyboard.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useIsTouch(): boolean;
|
|
17
33
|
/**
|
|
18
34
|
* The same breakpoints, measured against an element instead of the window.
|
|
19
35
|
*
|