@mirai/core 0.4.34 → 0.4.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/core",
3
- "version": "0.4.34",
3
+ "version": "0.4.35",
4
4
  "source": "src/index.js",
5
5
  "repository": "https://gitlab.com/miraicorp/dev/frontend/core",
6
6
  "author": "JΛVI <hello@soyjavi.com>",
@@ -86,6 +86,9 @@ export const Container = ({ children }) => {
86
86
  <Action inline small onPress={() => setLocation('/deals')}>
87
87
  Deals
88
88
  </Action>
89
+ <Action inline small onPress={() => setLocation('/finder')}>
90
+ Finder
91
+ </Action>
89
92
  </View>
90
93
 
91
94
  <View>
package/public/App.jsx CHANGED
@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
3
3
  import { useLocation, Route, Switch } from 'wouter';
4
4
 
5
5
  import { Container } from './App.Container';
6
- import { Deals, Home, NotFound, Profile, Signup, Step1, Step2, Step3 } from './routes';
6
+ import { Deals, Finder, Home, NotFound, Profile, Signup, Step1, Step2, Step3 } from './routes';
7
7
 
8
8
  const App = () => {
9
9
  const [location] = useLocation();
@@ -20,6 +20,7 @@ const App = () => {
20
20
  <Route path={'/signup'} component={Signup} />
21
21
  <Route path={'/profile'} component={Profile} />
22
22
  <Route path={'/deals'} component={Deals} />
23
+ <Route path={'/finder'} component={Finder} />
23
24
  <Route path={'/step0-accommodations'} component={undefined} />
24
25
  <Route path={'/step1-rates'} component={Step1} />
25
26
  <Route path={'/step2-checkout'} component={Step2} />
@@ -0,0 +1,19 @@
1
+ import { Text, View } from '@mirai/ui';
2
+ import React from 'react';
3
+
4
+ import * as style from './routes.module.css';
5
+
6
+ export const Finder = () => (
7
+ <>
8
+ <View tag="section" className={[style.section, style.box, style.accent]}>
9
+ <View className={(style.wrapper, style.centered)}>
10
+ <Text bold headline level={1}>
11
+ Finder
12
+ </Text>
13
+ </View>
14
+ </View>
15
+ <View className={[style.wrapper, style.box]}>
16
+ <View data-mirai-component="finder" data-layout="column" className={style.column} />
17
+ </View>
18
+ </>
19
+ );
@@ -1,4 +1,5 @@
1
1
  export * from './Deals';
2
+ export * from './Finder';
2
3
  export * from './Home';
3
4
  export * from './NotFound';
4
5
  export * from './Profile';
@@ -142,7 +142,9 @@
142
142
  [data-mirai-component='finder'].column {
143
143
  background-color: var(--mirai-ui-content-background);
144
144
  max-width: calc(var(--mirai-ui-breakpoint-S) - var(--mirai-ui-space-M));
145
+ margin: var(--mirai-ui-space-M);
145
146
  padding: var(--mirai-ui-space-M);
147
+ align-self: center;
146
148
  }
147
149
 
148
150
  @media only screen and (max-width: 480px) {