@mideind/netskrafl-react 1.0.0-beta.5 → 1.0.0-beta.7
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/{src/css/skrafl-explo.css → dist/cjs/css/netskrafl.css} +1068 -174
- package/dist/cjs/index.js +32477 -364
- package/dist/cjs/index.js.map +1 -1
- package/dist/{cjs/index.css → esm/css/netskrafl.css} +1043 -350
- package/dist/esm/index.js +32475 -364
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +2 -1
- package/package.json +14 -2
- package/.eslintignore +0 -8
- package/.eslintrc.json +0 -13
- package/dist/esm/index.css +0 -6837
- package/rollup.config.js +0 -60
- package/src/components/index.ts +0 -2
- package/src/components/netskrafl/Netskrafl.stories.tsx +0 -66
- package/src/components/netskrafl/Netskrafl.tsx +0 -138
- package/src/components/netskrafl/Netskrafl.types.ts +0 -7
- package/src/components/netskrafl/index.ts +0 -2
- package/src/css/fonts.css +0 -4
- package/src/css/glyphs.css +0 -224
- package/src/fonts/glyphicons-regular.eot +0 -0
- package/src/fonts/glyphicons-regular.ttf +0 -0
- package/src/fonts/glyphicons-regular.woff +0 -0
- package/src/index.ts +0 -2
- package/src/messages/messages.json +0 -1576
- package/src/mithril/actions.ts +0 -319
- package/src/mithril/bag.ts +0 -65
- package/src/mithril/bestdisplay.ts +0 -74
- package/src/mithril/blankdialog.ts +0 -94
- package/src/mithril/board.ts +0 -339
- package/src/mithril/buttons.ts +0 -303
- package/src/mithril/challengedialog.ts +0 -186
- package/src/mithril/channel.ts +0 -162
- package/src/mithril/chat.ts +0 -228
- package/src/mithril/components.ts +0 -496
- package/src/mithril/dragdrop.ts +0 -219
- package/src/mithril/elopage.ts +0 -202
- package/src/mithril/friend.ts +0 -227
- package/src/mithril/game.ts +0 -1378
- package/src/mithril/gameview.ts +0 -111
- package/src/mithril/globalstate.ts +0 -33
- package/src/mithril/i18n.ts +0 -186
- package/src/mithril/localstorage.ts +0 -133
- package/src/mithril/login.ts +0 -122
- package/src/mithril/logo.ts +0 -323
- package/src/mithril/main.ts +0 -755
- package/src/mithril/mithril.ts +0 -29
- package/src/mithril/model.ts +0 -855
- package/src/mithril/movelistitem.ts +0 -226
- package/src/mithril/page.ts +0 -856
- package/src/mithril/playername.ts +0 -91
- package/src/mithril/promodialog.ts +0 -82
- package/src/mithril/recentlist.ts +0 -148
- package/src/mithril/request.ts +0 -52
- package/src/mithril/review.ts +0 -634
- package/src/mithril/rightcolumn.ts +0 -398
- package/src/mithril/searchbutton.ts +0 -118
- package/src/mithril/statsdisplay.ts +0 -109
- package/src/mithril/tabs.ts +0 -169
- package/src/mithril/tile.ts +0 -145
- package/src/mithril/twoletter.ts +0 -76
- package/src/mithril/types.ts +0 -384
- package/src/mithril/userinfodialog.ts +0 -171
- package/src/mithril/util.ts +0 -304
- package/src/mithril/wait.ts +0 -246
- package/src/mithril/wordcheck.ts +0 -102
- package/tsconfig.json +0 -28
- package/vite.config.ts +0 -12
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
|
|
3
4
|
interface GlobalState {
|
|
@@ -36,6 +37,6 @@ interface INetskraflProps {
|
|
|
36
37
|
tokenExpired?: () => void;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
declare const Netskrafl: React.
|
|
40
|
+
declare const Netskrafl: React.MemoExoticComponent<({ state, tokenExpired }: INetskraflProps) => react_jsx_runtime.JSX.Element>;
|
|
40
41
|
|
|
41
42
|
export { type INetskraflProps, Netskrafl };
|
package/package.json
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mideind/netskrafl-react",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.7",
|
|
4
4
|
"description": "React UI for Netskrafl",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/mideind/netskrafl-react.git"
|
|
8
8
|
},
|
|
9
|
+
"type": "module",
|
|
9
10
|
"main": "dist/cjs/index.js",
|
|
10
11
|
"module": "dist/esm/index.js",
|
|
11
|
-
"
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/types.d.ts",
|
|
15
|
+
"import": "./dist/esm/index.js",
|
|
16
|
+
"require": "./dist/cjs/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./style.css": "./dist/esm/css/netskrafl.css"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
12
23
|
"scripts": {
|
|
13
24
|
"rollup": "rollup -c --bundleConfigAsCjs",
|
|
14
25
|
"watch": "rollup -c --bundleConfigAsCjs -w",
|
|
@@ -34,6 +45,7 @@
|
|
|
34
45
|
"@storybook/test": "^8.4.4",
|
|
35
46
|
"@types/mithril": "^2.2.7",
|
|
36
47
|
"@types/react": "^18.3.12",
|
|
48
|
+
"postcss-import": "^16.1.0",
|
|
37
49
|
"rollup": "^4.27.1",
|
|
38
50
|
"rollup-plugin-dts": "^6.1.1",
|
|
39
51
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
package/.eslintignore
DELETED
package/.eslintrc.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parser": "@typescript-eslint/parser",
|
|
3
|
-
"extends": [
|
|
4
|
-
"eslint:recommended",
|
|
5
|
-
"plugin:@typescript-eslint/recommended",
|
|
6
|
-
"plugin:prettier/recommended"
|
|
7
|
-
],
|
|
8
|
-
"plugins": ["@typescript-eslint", "prettier"],
|
|
9
|
-
"rules": {
|
|
10
|
-
"prettier/prettier": "error",
|
|
11
|
-
"@typescript-eslint/explicit-module-boundary-types": "off"
|
|
12
|
-
}
|
|
13
|
-
}
|