@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-webplatform/mobase",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "Mobase is the UI framework upon we build product experiences at MoMo.vn, base on Radix primitives, and Tailwind CSS.",
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -35,3 +35,4 @@ __exportStar(require("./components/Header"), exports);
35
35
  __exportStar(require("./components/Footer"), exports);
36
36
  __exportStar(require("./components/Card"), exports);
37
37
  __exportStar(require("./mobase-tw-plugin"), exports);
38
+ __exportStar(require("./site"), exports);
@@ -29,6 +29,17 @@ exports.layout = {
29
29
  "2xl": "1rem",
30
30
  "3xl": "1.5rem",
31
31
  },
32
+ "z-index": {
33
+ negative: "-1",
34
+ workbench: "0",
35
+ default: "1",
36
+ "workbench-header": "10",
37
+ modal: "100",
38
+ "modal-content": "101",
39
+ dropdown: "1000",
40
+ tooltip: "10000",
41
+ notification: "100000",
42
+ },
32
43
  "box-shadow": {
33
44
  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)",
34
45
  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)",
@@ -171,9 +171,17 @@ const mobaseTW = () => {
171
171
  medium: `var(--${prefix}-box-shadow-medium)`,
172
172
  large: `var(--${prefix}-box-shadow-large)`,
173
173
  },
174
- // fontSize: {
175
- // ...fontSizes,
176
- // },
174
+ zIndex: {
175
+ negative: `var(--${prefix}-z-index-negative)`,
176
+ workbench: `var(--${prefix}-z-index-workbench)`,
177
+ default: `var(--${prefix}-z-index-default)`,
178
+ "workbench-header": `var(--${prefix}-z-index-workbench-header)`,
179
+ modal: `var(--${prefix}-z-index-modal)`,
180
+ "modal-content": `var(--${prefix}-z-index-modal-content)`,
181
+ dropdown: `var(--${prefix}-z-index-dropdown)`,
182
+ tooltip: `var(--${prefix}-z-index-tooltip)`,
183
+ notification: `var(--${prefix}-z-index-notification)`,
184
+ },
177
185
  borderRadius: {
178
186
  ...(0, radius_1.radius)(prefix),
179
187
  },
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.radius = void 0;
4
4
  function radius(prefix) {
5
- const radius = {
5
+ const radiusV = {
6
6
  sm: `var(--${prefix}-radius-sm)`,
7
7
  DEFAULT: `var(--${prefix}-radius-base)`,
8
8
  md: `var(--${prefix}-radius-md)`,
@@ -11,6 +11,6 @@ function radius(prefix) {
11
11
  "2xl": `var(--${prefix}-radius-2xl)`,
12
12
  "3xl": `var(--${prefix}-radius-3xl)`,
13
13
  };
14
- return radius;
14
+ return radiusV;
15
15
  }
16
16
  exports.radius = radius;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SiteMeta = void 0;
4
+ const meta_1 = require("./meta");
5
+ Object.defineProperty(exports, "SiteMeta", { enumerable: true, get: function () { return meta_1.SiteMeta; } });
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SiteMeta = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const SiteMeta = () => {
6
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0, maximum-scale=1" }), (0, jsx_runtime_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" }), (0, jsx_runtime_1.jsx)("meta", { name: "distribution", content: "Global" }), (0, jsx_runtime_1.jsx)("meta", { name: "author", content: "V\u00ED MoMo" }), (0, jsx_runtime_1.jsx)("meta", { property: "fb:app_id", content: "320653355376196" }), (0, jsx_runtime_1.jsx)("meta", { property: "fb:pages", content: "138010322921640" }), (0, jsx_runtime_1.jsx)("link", { rel: "shortcut icon", href: "/favicon.ico" }), (0, jsx_runtime_1.jsx)("link", { href: "/favicon-32x32.png", rel: "icon", sizes: "32x32", type: "image/png" }), (0, jsx_runtime_1.jsx)("link", { href: "/favicon-16x16.png", rel: "icon", sizes: "16x16", type: "image/png" }), (0, jsx_runtime_1.jsx)("link", { href: "/apple-touch-icon.png", rel: "apple-touch-icon", sizes: "180x180" }), (0, jsx_runtime_1.jsx)("meta", { name: "language", content: "vietnamese" }), (0, jsx_runtime_1.jsx)("meta", { name: "copyright", content: "Copyright \u00A9 2019 by MOMO.VN" }), (0, jsx_runtime_1.jsx)("meta", { name: "REVISIT-AFTER", content: "1 DAYS" }), (0, jsx_runtime_1.jsx)("meta", { name: "RATING", content: "GENERAL" }), (0, jsx_runtime_1.jsx)("meta", { httpEquiv: "x-dns-prefetch-control", content: "on" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//www.google-analytics.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//connect.facebook.net" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//www.googletagservices.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//www.googletagmanager.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//facebook.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//homepage.momocdn.net" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//www.google.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//www.google.com.vn" }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: "//www.googleadservices.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//connect.facebook.net" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//www.googletagmanager.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//www.google-analytics.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//googleads.g.doubleclick.net" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//homepage.momocdn.net" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//www.google.com" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//www.google.com.vn" }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: "//www.googleadservices.com" }), (0, jsx_runtime_1.jsx)("script", { type: "application/ld+json", dangerouslySetInnerHTML: {
7
+ __html: `{
8
+ "@context": "https://schema.org/",
9
+ "@type": "WebSite",
10
+ "@id":"https://momo.vn/#website",
11
+ "name": "Ví MoMo",
12
+ "url": "https://momo.vn",
13
+ "potentialAction": {
14
+ "@type": "SearchAction",
15
+ "target": "https://momo.vn/tim-kiem?q={search_term_string}",
16
+ "query-input": "required name=search_term_string"
17
+ }}`,
18
+ } }), (0, jsx_runtime_1.jsx)("script", { type: "application/ld+json", dangerouslySetInnerHTML: {
19
+ __html: `{
20
+ "@context": "https://schema.org",
21
+ "@type": "Organization",
22
+ "name": "Siêu ứng dụng MoMo",
23
+ "alternateName": "Siêu ứng dụng MoMo - Siêu Ứng Dụng Thanh Toán số 1 Việt Nam",
24
+ "legalName": "ONLINE MOBILE SERVICES JSC (M_Service)",
25
+ "url": "https://momo.vn",
26
+ "logo": "https://homepage.momocdn.net/img/logo-momo.png",
27
+ "foundingDate": "2007",
28
+ "founders": [
29
+ {
30
+ "@type": "Person",
31
+ "name": "Nguyễn Mạnh Tường"
32
+ }
33
+ ],
34
+ "address":{
35
+ "@type": "PostalAddress",
36
+ "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",
37
+ "addressLocality": "Hồ Chí Minh",
38
+ "addressRegion": "VN",
39
+ "postalCode": "700000",
40
+ "addressCountry": "VN"
41
+ },
42
+ "contactPoint":{
43
+ "@type": "ContactPoint",
44
+ "contactType": "customer support",
45
+ "telephone": "1900545441",
46
+ "email": "hotro@momo.vn"
47
+ },
48
+ "sameAs": [
49
+ "https://www.facebook.com/vimomo/",
50
+ "https://www.youtube.com/channel/UCKHHW-qL2JoZqcSNm1jPlqw",
51
+ "https://www.linkedin.com/company/momo-mservice/",
52
+ "https://github.com/momo-wallet"
53
+ ]
54
+ }`,
55
+ } })] }));
56
+ };
57
+ exports.SiteMeta = SiteMeta;