@mirai/core 0.3.382 → 0.3.383
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/README.md +24 -0
- package/__tests__/buttonFinder.spec.js +16 -0
- package/build/components/BookingQuery/BookingQuery.js +1 -1
- package/build/components/BookingQuery/BookingQuery.js.map +1 -1
- package/build/components/ButtonFinder/ButtonFinder.js +59 -0
- package/build/components/ButtonFinder/ButtonFinder.js.map +1 -0
- package/build/components/ButtonFinder/ButtonFinder.l10n.js +13 -0
- package/build/components/ButtonFinder/ButtonFinder.l10n.js.map +1 -0
- package/build/components/ButtonFinder/ButtonFinder.module.css +17 -0
- package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +8380 -0
- package/build/components/ButtonFinder/index.js +13 -0
- package/build/components/ButtonFinder/index.js.map +1 -0
- package/build/components/index.js +2 -0
- package/build/components/index.js.map +1 -1
- package/package.json +1 -1
- package/public/routes/Home.jsx +2 -1
- package/public/routes/routes.module.css +4 -1
- package/public/themes/monalisa.theme.css +11 -30
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ButtonFinder", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _ButtonFinder.ButtonFinder;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _ButtonFinder = require("./ButtonFinder");
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_ButtonFinder","require"],"sources":["../../../src/components/ButtonFinder/index.js"],"sourcesContent":["export { ButtonFinder } from './ButtonFinder';\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA"}
|
|
@@ -7,6 +7,7 @@ exports.COMPONENTS = void 0;
|
|
|
7
7
|
var _BannerLoyalty = require("./BannerLoyalty");
|
|
8
8
|
var _Booking = require("./Booking");
|
|
9
9
|
var _BookingQuery = require("./BookingQuery");
|
|
10
|
+
var _ButtonFinder = require("./ButtonFinder");
|
|
10
11
|
var _Chat = require("./Chat");
|
|
11
12
|
var _Checkout = require("./Checkout");
|
|
12
13
|
var _Deals = require("./Deals");
|
|
@@ -21,6 +22,7 @@ const COMPONENTS = exports.COMPONENTS = {
|
|
|
21
22
|
bannerLoyalty: _BannerLoyalty.BannerLoyalty,
|
|
22
23
|
booking: _Booking.Booking,
|
|
23
24
|
bookingQuery: _BookingQuery.BookingQuery,
|
|
25
|
+
buttonFinder: _ButtonFinder.ButtonFinder,
|
|
24
26
|
chat: _Chat.Chat,
|
|
25
27
|
checkout: _Checkout.Checkout,
|
|
26
28
|
deals: _Deals.Deals,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_BannerLoyalty","require","_Booking","_BookingQuery","_Chat","_Checkout","_Deals","_Environment","_Finder","_Header","_Profile","_Rates","_Session","_Signup","COMPONENTS","exports","bannerLoyalty","BannerLoyalty","booking","Booking","bookingQuery","BookingQuery","chat","Chat","checkout","Checkout","deals","Deals","environment","Environment","finder","Finder","header","Header","profile","Profile","rates","Rates","session","Session","signup","Signup"],"sources":["../../src/components/index.js"],"sourcesContent":["import { BannerLoyalty } from './BannerLoyalty';\nimport { Booking } from './Booking';\nimport { BookingQuery } from './BookingQuery';\nimport { Chat } from './Chat';\nimport { Checkout } from './Checkout';\nimport { Deals } from './Deals';\nimport { Environment } from './Environment';\nimport { Finder } from './Finder';\nimport { Header } from './Header';\nimport { Profile } from './Profile';\nimport { Rates } from './Rates';\nimport { Session } from './Session';\nimport { Signup } from './Signup';\n\nexport const COMPONENTS = {\n bannerLoyalty: BannerLoyalty,\n booking: Booking,\n bookingQuery: BookingQuery,\n chat: Chat,\n checkout: Checkout,\n deals: Deals,\n environment: Environment,\n finder: Finder,\n header: Header,\n profile: Profile,\n rates: Rates,\n session: Session,\n signup: Signup,\n};\n"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_BannerLoyalty","require","_Booking","_BookingQuery","_ButtonFinder","_Chat","_Checkout","_Deals","_Environment","_Finder","_Header","_Profile","_Rates","_Session","_Signup","COMPONENTS","exports","bannerLoyalty","BannerLoyalty","booking","Booking","bookingQuery","BookingQuery","buttonFinder","ButtonFinder","chat","Chat","checkout","Checkout","deals","Deals","environment","Environment","finder","Finder","header","Header","profile","Profile","rates","Rates","session","Session","signup","Signup"],"sources":["../../src/components/index.js"],"sourcesContent":["import { BannerLoyalty } from './BannerLoyalty';\nimport { Booking } from './Booking';\nimport { BookingQuery } from './BookingQuery';\nimport { ButtonFinder } from './ButtonFinder';\nimport { Chat } from './Chat';\nimport { Checkout } from './Checkout';\nimport { Deals } from './Deals';\nimport { Environment } from './Environment';\nimport { Finder } from './Finder';\nimport { Header } from './Header';\nimport { Profile } from './Profile';\nimport { Rates } from './Rates';\nimport { Session } from './Session';\nimport { Signup } from './Signup';\n\nexport const COMPONENTS = {\n bannerLoyalty: BannerLoyalty,\n booking: Booking,\n bookingQuery: BookingQuery,\n buttonFinder: ButtonFinder,\n chat: Chat,\n checkout: Checkout,\n deals: Deals,\n environment: Environment,\n finder: Finder,\n header: Header,\n profile: Profile,\n rates: Rates,\n session: Session,\n signup: Signup,\n};\n"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,QAAA,GAAAV,OAAA;AACA,IAAAW,MAAA,GAAAX,OAAA;AACA,IAAAY,QAAA,GAAAZ,OAAA;AACA,IAAAa,OAAA,GAAAb,OAAA;AAEO,MAAMc,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,aAAa,EAAEC,4BAAa;EAC5BC,OAAO,EAAEC,gBAAO;EAChBC,YAAY,EAAEC,0BAAY;EAC1BC,YAAY,EAAEC,0BAAY;EAC1BC,IAAI,EAAEC,UAAI;EACVC,QAAQ,EAAEC,kBAAQ;EAClBC,KAAK,EAAEC,YAAK;EACZC,WAAW,EAAEC,wBAAW;EACxBC,MAAM,EAAEC,cAAM;EACdC,MAAM,EAAEC,cAAM;EACdC,OAAO,EAAEC,gBAAO;EAChBC,KAAK,EAAEC,YAAK;EACZC,OAAO,EAAEC,gBAAO;EAChBC,MAAM,EAAEC;AACV,CAAC"}
|
package/package.json
CHANGED
package/public/routes/Home.jsx
CHANGED
|
@@ -39,7 +39,8 @@ export const Home = () => {
|
|
|
39
39
|
<Text headline={!isMobile} level={3} className={[style.pitch, style.text]}>
|
|
40
40
|
Experience the calming atmosphere of our serene guest rooms, each designed with your comfort in mind.
|
|
41
41
|
</Text>
|
|
42
|
-
|
|
42
|
+
|
|
43
|
+
<View data-mirai-component="buttonFinder" />
|
|
43
44
|
</View>
|
|
44
45
|
<View className={style.backgroundImage} />
|
|
45
46
|
</View>
|
|
@@ -128,7 +128,6 @@
|
|
|
128
128
|
margin: 0 auto;
|
|
129
129
|
position: sticky;
|
|
130
130
|
top: var(--mirai-ui-space-M);
|
|
131
|
-
z-index: 1;
|
|
132
131
|
}
|
|
133
132
|
|
|
134
133
|
.finder .resident > [data-role='text'] {
|
|
@@ -225,6 +224,10 @@
|
|
|
225
224
|
max-width: 50%;
|
|
226
225
|
}
|
|
227
226
|
|
|
227
|
+
body:not([data-mirai-modal='true']) .finder.centered {
|
|
228
|
+
z-index: 1;
|
|
229
|
+
}
|
|
230
|
+
|
|
228
231
|
.texts {
|
|
229
232
|
gap: var(--mirai-ui-space-L);
|
|
230
233
|
max-width: 50%;
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
--mirai-ui-font-medium-weight: 500;
|
|
15
15
|
--mirai-ui-font-bold-weight: 600;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
--mirai-ui-font-
|
|
20
|
-
--mirai-ui-font-
|
|
21
|
-
--mirai-ui-font-bold
|
|
17
|
+
--mirai-ui-text-brand-font: 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
|
|
18
|
+
Arial, sans-serif;
|
|
19
|
+
--mirai-ui-font-brand-weight: 700;
|
|
20
|
+
--mirai-ui-text-brand-font-weight: 700;
|
|
21
|
+
--mirai-ui-text-brand-font-bold: var(--mirai-ui-text-brand-font);
|
|
22
|
+
--mirai-ui-text-brand-font-bold-weight: var(--mirai-ui-text-brand-font-weight);
|
|
22
23
|
|
|
23
24
|
/* palette */
|
|
24
25
|
--mirai-ui-accent: #f0a42b;
|
|
@@ -27,34 +28,14 @@
|
|
|
27
28
|
--mirai-ui-accent-border: #f9dbaa;
|
|
28
29
|
--mirai-ui-accent-dark: #cc8b25;
|
|
29
30
|
|
|
30
|
-
/*
|
|
31
|
-
|
|
32
|
-
--mirai-ui-
|
|
33
|
-
|
|
34
|
-
--mirai-ui-
|
|
35
|
-
|
|
36
|
-
--mirai-ui-text-brand-font: 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
|
|
37
|
-
Arial, sans-serif;
|
|
38
|
-
--mirai-ui-text-brand-font-weight: 700;
|
|
39
|
-
--mirai-ui-text-brand-font-bold: var(--mirai-ui-text-brand-font);
|
|
40
|
-
--mirai-ui-text-brand-font-bold-weight: var(--mirai-ui-text-brand-font-weight);
|
|
31
|
+
/* --mirai-ui-accent: #007bff;
|
|
32
|
+
--mirai-ui-accent-background: #e6f0ff;
|
|
33
|
+
--mirai-ui-accent-light: #339dff;
|
|
34
|
+
--mirai-ui-accent-border: #99cfff;
|
|
35
|
+
--mirai-ui-accent-dark: #0056b3; */
|
|
41
36
|
|
|
42
37
|
/* Finder */
|
|
43
38
|
--mirai-finder-button-font-weight: 900;
|
|
44
|
-
|
|
45
|
-
/* Booking */
|
|
46
|
-
/* --corporative-color: #003580;
|
|
47
|
-
--mirai-finder-background: #ffb700;
|
|
48
|
-
--mirai-finder-border-radius: var(--mirai-ui-input-text-radius);
|
|
49
|
-
--mirai-finder-padding: var(--mirai-ui-space-XXS); */
|
|
50
|
-
|
|
51
|
-
/* Airbnb */
|
|
52
|
-
/* --corporative-color: #ff385c;
|
|
53
|
-
--mirai-finder-border-radius: var(--mirai-ui-space-XL);
|
|
54
|
-
--mirai-finder-field-height: calc(var(--mirai-field-height) * 1.2);
|
|
55
|
-
--mirai-finder-padding: var(--mirai-ui-space-XS);
|
|
56
|
-
--mirai-finder-column-border-radius: var(--mirai-ui-space-M);
|
|
57
|
-
--mirai-finder-column-padding: var(--mirai-ui-space-M); */
|
|
58
39
|
}
|
|
59
40
|
|
|
60
41
|
body {
|