@cleartrip/ct-platform-banner 1.0.0 → 1.1.1-beta.0

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": "@cleartrip/ct-platform-banner",
3
- "version": "1.0.0",
3
+ "version": "1.1.1-beta.0",
4
4
  "description": "Banner Component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-platform-banner.cjs.js",
@@ -10,7 +10,7 @@
10
10
  "dist"
11
11
  ],
12
12
  "dependencies": {
13
- "@cleartrip/ct-platform-assets": "1.0.0"
13
+ "@cleartrip/ct-platform-assets": "1.1.0-beta.0"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "react": ">=16.8.0",
package/dist/index.css DELETED
@@ -1,44 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CTPlatformComponents = {}));
5
- })(this, (function (exports) { 'use strict';
6
-
7
- function styleInject(css, ref) {
8
- if ( ref === void 0 ) ref = {};
9
- var insertAt = ref.insertAt;
10
-
11
- if (!css || typeof document === 'undefined') { return; }
12
-
13
- var head = document.head || document.getElementsByTagName('head')[0];
14
- var style = document.createElement('style');
15
- style.type = 'text/css';
16
-
17
- if (insertAt === 'top') {
18
- if (head.firstChild) {
19
- head.insertBefore(style, head.firstChild);
20
- } else {
21
- head.appendChild(style);
22
- }
23
- } else {
24
- head.appendChild(style);
25
- }
26
-
27
- if (style.styleSheet) {
28
- style.styleSheet.cssText = css;
29
- } else {
30
- style.appendChild(document.createTextNode(css));
31
- }
32
- }
33
-
34
- var css_248z = ".ct-banner{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Ubuntu,Arial,sans-serif}.ct-banner .m-0{margin:0!important}.ct-banner .ml-4{margin-left:4px!important}.ct-banner .mb-5{margin-bottom:5px!important}.ct-banner .mb-2{margin-bottom:2px!important}.ct-banner .p-0{padding:0!important}.ct-banner .py-8{padding-bottom:8px!important;padding-top:8px!important}.ct-banner .mr-12{margin-right:12px!important}.ct-banner .pr-20{padding-right:20px!important}.ct-banner .pl-4{padding-left:4px!important}.ct-banner .pl-20{padding-left:20px!important}.ct-banner .fw-600{font-weight:600!important}.ct-banner .fs-2{font-size:12px!important}.ct-banner .fs-2,.ct-banner .lh-16{line-height:16px!important}.ct-banner .lh-20{line-height:20px!important}.ct-banner .d-none{display:none!important}.ct-banner .c-tripblue{color:#0f6bff!important}.ct-banner .pr-16{padding-right:16px!important}.ct-banner .fw-500{font-weight:500!important}.ct-banner .bento-c-neutral-500{color:gray!important}.ct-banner .animateSlideIn{-webkit-transition:all .3s ease-in-out!important;transition:all .3s ease-in-out!important}.ct-banner .mb-12{margin-bottom:12px!important}.ct-banner .h-48p{height:48px!important}.ct-banner .w-100p{width:100%!important}.ct-banner .w-50p{width:50%!important}.ct-banner .w-fit-content{width:fit-content!important}.ct-banner .bento-bg-secondary-500{background-color:#36c!important}.ct-banner .c-white{color:#fff!important}.ct-banner .mr-16{margin-right:16px!important}.ct-banner .ml-20{margin-left:20px!important}.ct-banner .flex-middle{align-items:center!important}.ct-banner .flex-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.ct-banner .flex-around{justify-content:space-around!important}.ct-banner .flex{display:flex!important}.ct-banner .fs-14{font-size:14px!important}.ct-banner .pl-15{padding-left:15px!important}.ct-banner .pr-24{padding-right:24px!important}.ct-banner .pt-8{padding-top:8px!important}.ct-banner .pb-24{padding-bottom:24px!important}.ct-banner .z-20{z-index:20!important}.ct-banner .w-100vw{width:100vw!important}.ct-banner .bg-orange-light-100{background-color:#fff1ec!important}.ct-banner .px-16{padding-left:16px!important;padding-right:16px!important}.ct-banner .br-6-imp{border-radius:6px!important}.ct-banner .p-relative{position:relative!important}.ct-banner .p-absolute{position:absolute!important}.ct-banner .p-fixed{position:fixed!important}.ct-banner .r-0{right:0!important}.ct-banner .t-0{top:0!important}.ct-banner .l-0{left:0!important}.ct-banner .b--4{bottom:-4px!important}.ct-banner .flex-grow{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.ct-banner .bento-c-neutral-900{color:#1a1a1a!important}.ct-banner .pb-8{padding-bottom:8px!important}.ct-banner .bg-black{background-color:#000!important}.ct-banner .pl-16{padding-left:16px!important}.ct-banner .pt-12{padding-top:12px!important}.ct-banner .flex-column{flex-direction:column!important}.ct-banner .flex-start{align-items:flex-start!important}";
35
- var stylesheet=".ct-banner{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Ubuntu,Arial,sans-serif}.ct-banner .m-0{margin:0!important}.ct-banner .ml-4{margin-left:4px!important}.ct-banner .mb-5{margin-bottom:5px!important}.ct-banner .mb-2{margin-bottom:2px!important}.ct-banner .p-0{padding:0!important}.ct-banner .py-8{padding-bottom:8px!important;padding-top:8px!important}.ct-banner .mr-12{margin-right:12px!important}.ct-banner .pr-20{padding-right:20px!important}.ct-banner .pl-4{padding-left:4px!important}.ct-banner .pl-20{padding-left:20px!important}.ct-banner .fw-600{font-weight:600!important}.ct-banner .fs-2{font-size:12px!important}.ct-banner .fs-2,.ct-banner .lh-16{line-height:16px!important}.ct-banner .lh-20{line-height:20px!important}.ct-banner .d-none{display:none!important}.ct-banner .c-tripblue{color:#0f6bff!important}.ct-banner .pr-16{padding-right:16px!important}.ct-banner .fw-500{font-weight:500!important}.ct-banner .bento-c-neutral-500{color:gray!important}.ct-banner .animateSlideIn{-webkit-transition:all .3s ease-in-out!important;transition:all .3s ease-in-out!important}.ct-banner .mb-12{margin-bottom:12px!important}.ct-banner .h-48p{height:48px!important}.ct-banner .w-100p{width:100%!important}.ct-banner .w-50p{width:50%!important}.ct-banner .w-fit-content{width:fit-content!important}.ct-banner .bento-bg-secondary-500{background-color:#36c!important}.ct-banner .c-white{color:#fff!important}.ct-banner .mr-16{margin-right:16px!important}.ct-banner .ml-20{margin-left:20px!important}.ct-banner .flex-middle{align-items:center!important}.ct-banner .flex-center{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}.ct-banner .flex-around{justify-content:space-around!important}.ct-banner .flex{display:flex!important}.ct-banner .fs-14{font-size:14px!important}.ct-banner .pl-15{padding-left:15px!important}.ct-banner .pr-24{padding-right:24px!important}.ct-banner .pt-8{padding-top:8px!important}.ct-banner .pb-24{padding-bottom:24px!important}.ct-banner .z-20{z-index:20!important}.ct-banner .w-100vw{width:100vw!important}.ct-banner .bg-orange-light-100{background-color:#fff1ec!important}.ct-banner .px-16{padding-left:16px!important;padding-right:16px!important}.ct-banner .br-6-imp{border-radius:6px!important}.ct-banner .p-relative{position:relative!important}.ct-banner .p-absolute{position:absolute!important}.ct-banner .p-fixed{position:fixed!important}.ct-banner .r-0{right:0!important}.ct-banner .t-0{top:0!important}.ct-banner .l-0{left:0!important}.ct-banner .b--4{bottom:-4px!important}.ct-banner .flex-grow{-webkit-box-flex:1!important;-ms-flex-positive:1!important;flex-grow:1!important}.ct-banner .bento-c-neutral-900{color:#1a1a1a!important}.ct-banner .pb-8{padding-bottom:8px!important}.ct-banner .bg-black{background-color:#000!important}.ct-banner .pl-16{padding-left:16px!important}.ct-banner .pt-12{padding-top:12px!important}.ct-banner .flex-column{flex-direction:column!important}.ct-banner .flex-start{align-items:flex-start!important}";
36
- styleInject(css_248z);
37
-
38
- exports.default = css_248z;
39
- exports.stylesheet = stylesheet;
40
-
41
- Object.defineProperty(exports, '__esModule', { value: true });
42
-
43
- }));
44
- //# sourceMappingURL=index.css.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.css","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;EAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;EAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;EACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;EACA,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,EAAE;AAC1D;EACA,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;EACvE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;EAC9C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;AAC1B;EACA,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;EAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;EACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;EAChD,KAAK,MAAM;EACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;EAC9B,KAAK;EACL,GAAG,MAAM;EACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;EAC5B,GAAG;AACH;EACA,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;EACxB,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG,CAAC;EACnC,GAAG,MAAM;EACT,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;EACpD,GAAG;EACH;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}