@mirai/core 0.1.1 → 0.1.3
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/.eslintcache +1 -1
- package/.parcel-cache/51ea8fb016c64eb8 +0 -0
- package/.parcel-cache/{748e64b1ec39ac27.txt → 72471439ad18bff9.txt} +40948 -40036
- package/.parcel-cache/{006382683751cb2c → 90933f9239a61cbe} +0 -0
- package/.parcel-cache/{70c3d7e52fdd0976 → c0d599fd2b545c71} +0 -0
- package/.parcel-cache/{ecf7e61a8deef7e6 → ce94104461cb1725} +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/{Finder.69dd37d8.js → Finder.4fb497c1.js} +1 -1
- package/dist/{Session.f41c5015.js → Session.875f74e9.js} +3 -3
- package/dist/State.53b7b7da.js +1 -0
- package/dist/State.5f7ff32e.css +1 -0
- package/dist/index.js +1 -1
- package/package.json +7 -5
- package/public/index.css +12 -6
- package/dist/State.148b99f5.css +0 -1
- package/dist/State.205b6d65.js +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirai/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"source": "src/index.js",
|
|
5
5
|
"repository": "https://gitlab.com/miraicorp/dev/frontend/core",
|
|
6
6
|
"author": "JΛVI <hello@soyjavi.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"setup": "rm -rf node_modules && rm -rf yarn.lock && yarn install --force",
|
|
10
|
-
"start": "parcel public/index.html --
|
|
11
|
-
"
|
|
12
|
-
"build
|
|
10
|
+
"start": "rm -rf dist && parcel public/index.html --port 8080 --host local.mirai.com --open",
|
|
11
|
+
"serve": "rm -rf dist && NODE_ENV=development parcel build public/index.html --no-cache && serve dist -p 8080 -u -n",
|
|
12
|
+
"build": "rm -rf dist && parcel build src/index.js --no-source-maps --no-autoinstall --detailed-report",
|
|
13
|
+
"build:dev": "rm -rf dist && NODE_ENV=development parcel build src/index.js",
|
|
13
14
|
"lint": "eslint --cache --fix --format codeframe --ext .jsx,.js src",
|
|
14
15
|
"test": "node scripts/test.js --watchAll=false",
|
|
15
16
|
"test:coverage": "node scripts/test.js --coverage --coverageReporters=text --detectOpenHandles --forceExit --silent",
|
|
@@ -36,7 +37,8 @@
|
|
|
36
37
|
"jest-fetch-mock": "^3.0.3",
|
|
37
38
|
"parcel": "2.7.0",
|
|
38
39
|
"process": "0.11.10",
|
|
39
|
-
"react-scripts": "5.0.1"
|
|
40
|
+
"react-scripts": "5.0.1",
|
|
41
|
+
"serve": "14.1.2"
|
|
40
42
|
},
|
|
41
43
|
"engines": {
|
|
42
44
|
"node": ">=16.15.0"
|
package/public/index.css
CHANGED
|
@@ -17,16 +17,20 @@ body {
|
|
|
17
17
|
|
|
18
18
|
header,
|
|
19
19
|
footer {
|
|
20
|
-
box-sizing: border-box;
|
|
21
20
|
width: 100%;
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
header {
|
|
25
24
|
background-color: var(--mirai-ui-accent);
|
|
26
|
-
padding: 0.25rem 1rem;
|
|
27
25
|
position: fixed;
|
|
28
26
|
top: 0;
|
|
27
|
+
left: 0;
|
|
29
28
|
z-index: 1;
|
|
29
|
+
height: 5rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
header > * {
|
|
33
|
+
padding: 0 1rem;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
header h1 {
|
|
@@ -44,12 +48,12 @@ section {
|
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
section.booking {
|
|
51
|
+
align-items: center;
|
|
47
52
|
background-color: var(--mirai-ui-content-border);
|
|
48
53
|
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
54
|
justify-content: center;
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
margin-top: 5rem;
|
|
56
|
+
padding: 3rem 0;
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
section article {
|
|
@@ -58,9 +62,11 @@ section article {
|
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
footer {
|
|
65
|
+
background-color: var(--mirai-ui-content-border);
|
|
61
66
|
display: flex;
|
|
62
67
|
justify-content: center;
|
|
63
|
-
|
|
68
|
+
}
|
|
69
|
+
footer > * {
|
|
64
70
|
padding: 1rem;
|
|
65
71
|
}
|
|
66
72
|
|
package/dist/State.148b99f5.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.kLFIYW_container{border-radius:var(--kLFIYW_mirai-ui-border-radius);background-color:#000000e6;flex-direction:column;padding:1rem;display:flex;position:fixed;bottom:1rem;left:1rem}.kLFIYW_container,.kLFIYW_container *{color:#fff;font-size:11px}.kLFIYW_container>pre{margin:0;padding:0}.kLFIYW_container>span{flex-direction:column;align-self:flex-end;align-items:flex-end;display:flex}.kLFIYW_container>span>strong{margin-bottom:.25rem}
|
package/dist/State.205b6d65.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(){function e(e,n,r,i){Object.defineProperty(e,n,{get:r,set:i,enumerable:!0,configurable:!0})}var n=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequire65f1;n.register("cWK8e",(function(r,i){var t;t=r.exports,Object.defineProperty(t,"__esModule",{value:!0,configurable:!0}),e(r.exports,"default",(function(){return f}));var o=n("aCN3F"),s=n("gP8y0"),u=n("dk5Hu"),a=n("CNVro"),l=n("6FawT"),f=()=>{const{value:e}=(0,s.useStore)(),[n,r]=(0,u.useState)(!1),[i,t]=(0,u.useState)(),{type:f,hotel:c,club:d,signup:p,session:g,finder:b}=e;return(0,u.useEffect)((()=>t(new Date)),[e]),(0,o.jsxs)("div",{className:l.container,onClick:()=>r(!n),children:[(0,o.jsxs)("span",{children:[(0,o.jsx)("strong",{children:`${a.name} v${a.version}`}),i&&(0,o.jsx)("span",{children:i.toString().substring(4,24)})]}),n&&(0,o.jsx)("pre",{children:JSON.stringify({type:f,hotel:c,club:d,finder:b,signup:p,session:g},null,2)})]})}})),n.register("6FawT",(function(n,r){var i,t;e(n.exports,"container",(function(){return i}),(function(e){return i=e})),e(n.exports,"--mirai-ui-border-radius",(function(){return t}),(function(e){return t=e})),i="kLFIYW_container",t="--kLFIYW_--mirai-ui-border-radius"}))}();
|