@momo-webplatform/mobase 0.0.31 → 0.0.33

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.
@@ -19,3 +19,4 @@ export * from "./components/Header";
19
19
  export * from "./components/Footer";
20
20
  export * from "./components/Card";
21
21
  export * from "./mobase-tw-plugin";
22
+ export * from "./site";
@@ -19,3 +19,4 @@ export * from "./components/Header";
19
19
  export * from "./components/Footer";
20
20
  export * from "./components/Card";
21
21
  export * from "./mobase-tw-plugin";
22
+ export * from "./site";
@@ -26,6 +26,17 @@ export declare const layout: {
26
26
  "2xl": string;
27
27
  "3xl": string;
28
28
  };
29
+ "z-index": {
30
+ negative: string;
31
+ workbench: string;
32
+ default: string;
33
+ "workbench-header": string;
34
+ modal: string;
35
+ "modal-content": string;
36
+ dropdown: string;
37
+ tooltip: string;
38
+ notification: string;
39
+ };
29
40
  "box-shadow": {
30
41
  small: string;
31
42
  medium: string;
@@ -26,6 +26,17 @@ export const layout = {
26
26
  "2xl": "1rem",
27
27
  "3xl": "1.5rem",
28
28
  },
29
+ "z-index": {
30
+ negative: "-1",
31
+ workbench: "0",
32
+ default: "1",
33
+ "workbench-header": "10",
34
+ modal: "100",
35
+ "modal-content": "101",
36
+ dropdown: "1000",
37
+ tooltip: "10000",
38
+ notification: "100000",
39
+ },
29
40
  "box-shadow": {
30
41
  small: "0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",
31
42
  medium: "0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",
@@ -165,9 +165,17 @@ export const mobaseTW = () => {
165
165
  medium: `var(--${prefix}-box-shadow-medium)`,
166
166
  large: `var(--${prefix}-box-shadow-large)`,
167
167
  },
168
- // fontSize: {
169
- // ...fontSizes,
170
- // },
168
+ zIndex: {
169
+ negative: `var(--${prefix}-z-index-negative)`,
170
+ workbench: `var(--${prefix}-z-index-workbench)`,
171
+ default: `var(--${prefix}-z-index-default)`,
172
+ "workbench-header": `var(--${prefix}-z-index-workbench-header)`,
173
+ modal: `var(--${prefix}-z-index-modal)`,
174
+ "modal-content": `var(--${prefix}-z-index-modal-content)`,
175
+ dropdown: `var(--${prefix}-z-index-dropdown)`,
176
+ tooltip: `var(--${prefix}-z-index-tooltip)`,
177
+ notification: `var(--${prefix}-z-index-notification)`,
178
+ },
171
179
  borderRadius: {
172
180
  ...radius(prefix),
173
181
  },
@@ -1,5 +1,5 @@
1
1
  export function radius(prefix) {
2
- const radius = {
2
+ const radiusV = {
3
3
  sm: `var(--${prefix}-radius-sm)`,
4
4
  DEFAULT: `var(--${prefix}-radius-base)`,
5
5
  md: `var(--${prefix}-radius-md)`,
@@ -8,5 +8,5 @@ export function radius(prefix) {
8
8
  "2xl": `var(--${prefix}-radius-2xl)`,
9
9
  "3xl": `var(--${prefix}-radius-3xl)`,
10
10
  };
11
- return radius;
11
+ return radiusV;
12
12
  }
@@ -0,0 +1,2 @@
1
+ import { SiteMeta } from "./meta";
2
+ export { SiteMeta };
@@ -0,0 +1,2 @@
1
+ import { SiteMeta } from "./meta";
2
+ export { SiteMeta };
@@ -0,0 +1 @@
1
+ export declare const SiteMeta: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,53 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export const SiteMeta = () => {
3
+ return (_jsxs(_Fragment, { children: [_jsx("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0, maximum-scale=1" }), _jsx("meta", { name: "abstract", content: "V\u00ED \u0111i\u1EC7n t\u1EED MoMo - Si\u00EAu \u1EE9ng d\u1EE5ng thanh to\u00E1n s\u1ED1 1 Vi\u1EC7t Nam" }), _jsx("meta", { name: "distribution", content: "Global" }), _jsx("meta", { name: "author", content: "V\u00ED MoMo" }), _jsx("meta", { property: "fb:app_id", content: "320653355376196" }), _jsx("meta", { property: "fb:pages", content: "138010322921640" }), _jsx("link", { rel: "shortcut icon", href: "/favicon.ico" }), _jsx("link", { href: "/favicon-32x32.png", rel: "icon", sizes: "32x32", type: "image/png" }), _jsx("link", { href: "/favicon-16x16.png", rel: "icon", sizes: "16x16", type: "image/png" }), _jsx("link", { href: "/apple-touch-icon.png", rel: "apple-touch-icon", sizes: "180x180" }), _jsx("meta", { name: "language", content: "vietnamese" }), _jsx("meta", { name: "copyright", content: "Copyright \u00A9 2019 by MOMO.VN" }), _jsx("meta", { name: "REVISIT-AFTER", content: "1 DAYS" }), _jsx("meta", { name: "RATING", content: "GENERAL" }), _jsx("meta", { httpEquiv: "x-dns-prefetch-control", content: "on" }), _jsx("link", { rel: "dns-prefetch", href: "//www.google-analytics.com" }), _jsx("link", { rel: "dns-prefetch", href: "//connect.facebook.net" }), _jsx("link", { rel: "dns-prefetch", href: "//www.googletagservices.com" }), _jsx("link", { rel: "dns-prefetch", href: "//www.googletagmanager.com" }), _jsx("link", { rel: "dns-prefetch", href: "//facebook.com" }), _jsx("link", { rel: "dns-prefetch", href: "//homepage.momocdn.net" }), _jsx("link", { rel: "dns-prefetch", href: "//www.google.com" }), _jsx("link", { rel: "dns-prefetch", href: "//www.google.com.vn" }), _jsx("link", { rel: "dns-prefetch", href: "//www.googleadservices.com" }), _jsx("link", { rel: "preconnect", href: "//connect.facebook.net" }), _jsx("link", { rel: "preconnect", href: "//www.googletagmanager.com" }), _jsx("link", { rel: "preconnect", href: "//www.google-analytics.com" }), _jsx("link", { rel: "preconnect", href: "//googleads.g.doubleclick.net" }), _jsx("link", { rel: "preconnect", href: "//homepage.momocdn.net" }), _jsx("link", { rel: "preconnect", href: "//www.google.com" }), _jsx("link", { rel: "preconnect", href: "//www.google.com.vn" }), _jsx("link", { rel: "preconnect", href: "//www.googleadservices.com" }), _jsx("script", { type: "application/ld+json", dangerouslySetInnerHTML: {
4
+ __html: `{
5
+ "@context": "https://schema.org/",
6
+ "@type": "WebSite",
7
+ "@id":"https://momo.vn/#website",
8
+ "name": "Ví MoMo",
9
+ "url": "https://momo.vn",
10
+ "potentialAction": {
11
+ "@type": "SearchAction",
12
+ "target": "https://momo.vn/tim-kiem?q={search_term_string}",
13
+ "query-input": "required name=search_term_string"
14
+ }}`,
15
+ } }), _jsx("script", { type: "application/ld+json", dangerouslySetInnerHTML: {
16
+ __html: `{
17
+ "@context": "https://schema.org",
18
+ "@type": "Organization",
19
+ "name": "Siêu ứng dụng MoMo",
20
+ "alternateName": "Siêu ứng dụng MoMo - Siêu Ứng Dụng Thanh Toán số 1 Việt Nam",
21
+ "legalName": "ONLINE MOBILE SERVICES JSC (M_Service)",
22
+ "url": "https://momo.vn",
23
+ "logo": "https://homepage.momocdn.net/img/logo-momo.png",
24
+ "foundingDate": "2007",
25
+ "founders": [
26
+ {
27
+ "@type": "Person",
28
+ "name": "Nguyễn Mạnh Tường"
29
+ }
30
+ ],
31
+ "address":{
32
+ "@type": "PostalAddress",
33
+ "streetAddress": "Lầu 6, Toà nhà Phú Mỹ Hưng, số 8 Hoàng Văn Thái, khu phố 1, Phường Tân Phú, Quận 7, Thành phố Hồ Chí Minh",
34
+ "addressLocality": "Hồ Chí Minh",
35
+ "addressRegion": "VN",
36
+ "postalCode": "700000",
37
+ "addressCountry": "VN"
38
+ },
39
+ "contactPoint":{
40
+ "@type": "ContactPoint",
41
+ "contactType": "customer support",
42
+ "telephone": "1900545441",
43
+ "email": "hotro@momo.vn"
44
+ },
45
+ "sameAs": [
46
+ "https://www.facebook.com/vimomo/",
47
+ "https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw",
48
+ "https://www.linkedin.com/company/momo-mservice/",
49
+ "https://github.com/momo-wallet"
50
+ ]
51
+ }`,
52
+ } })] }));
53
+ };