@cleartrip/ct-design-truncate 3.21.0-SNAPSHOT-181125.0 → 3.21.0-SNAPSHOT-stable-rnw.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.
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib");function n(e){return e&&e.__esModule?e:{default:e}}var t,r=n(require("styled-components")).default.div(t||(t=e.__makeTemplateObject(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"])),function(e){return{width:e.width}});exports.Truncate=r;
1
+ "use strict";var e=require("tslib");function t(e){return e&&e.__esModule?e:{default:e}}var n,r=t(require("@emotion/styled")).default.div(n||(n=e.__makeTemplateObject(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"])),(function(e){return{width:e.width}}));exports.Truncate=r;
2
2
  //# sourceMappingURL=ct-design-truncate.browser.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-design-truncate.browser.cjs.js","sources":["../packages/components/Truncate/src/Truncate.tsx"],"sourcesContent":[null],"names":["Truncate","default","div","templateObject_1","__makeTemplateObject","_a","width"],"mappings":"6FAGMA,kCAAiBC,QAACC,IAAkBC,IAAAA,EAAAC,EAAAA,qBAAA,CAAA,gFAAA,MAAA,CAAA,gFAMtC,QAFA,SAACC,GAAc,MAAC,CAChBC,MADQD,EAAAC,MAAO"}
1
+ {"version":3,"file":"ct-design-truncate.browser.cjs.js","sources":["../packages/components/Truncate/src/Truncate.tsx"],"sourcesContent":[null],"names":["Truncate","default","div","templateObject_1","__makeTemplateObject","_a","width"],"mappings":"6FAGMA,gCAAiBC,QAACC,IAAkBC,IAAAA,EAAAC,EAAAA,qBAAA,CAAA,gFAAA,MAAA,CAAA,gFAMtC,SAFA,SAACC,GAAc,MAAC,CAChBC,MADQD,EAAAC,MAAO"}
@@ -1,2 +1,2 @@
1
- import{__makeTemplateObject as n}from"tslib";import e from"styled-components";var o,t=e.div(o||(o=n(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"])),function(n){return{width:n.width}});export{t as Truncate};
1
+ import{__makeTemplateObject as e}from"tslib";import n from"@emotion/styled";var o,i=n.div(o||(o=e(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"],["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n"])),(function(e){return{width:e.width}}));export{i as Truncate};
2
2
  //# sourceMappingURL=ct-design-truncate.browser.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-design-truncate.browser.esm.js","sources":["../packages/components/Truncate/src/Truncate.tsx"],"sourcesContent":[null],"names":["Truncate","styled","div","templateObject_1","__makeTemplateObject","_a","width"],"mappings":"8EAGM,MAAAA,EAAWC,EAAOC,IAAkBC,IAAAA,EAAAC,EAAA,CAAA,gFAAA,MAAA,CAAA,gFAMtC,QAFA,SAACC,GAAc,MAAC,CAChBC,MADQD,EAAAC,MAAO"}
1
+ {"version":3,"file":"ct-design-truncate.browser.esm.js","sources":["../packages/components/Truncate/src/Truncate.tsx"],"sourcesContent":[null],"names":["Truncate","styled","div","templateObject_1","__makeTemplateObject","_a","width"],"mappings":"4EAGM,MAAAA,EAAWC,EAAOC,IAAkBC,IAAAA,EAAAC,EAAA,CAAA,gFAAA,MAAA,CAAA,gFAMtC,SAFA,SAACC,GAAc,MAAC,CAChBC,MADQD,EAAAC,MAAO"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var tslib = require('tslib');
4
- var styled = require('styled-components');
4
+ var styled = require('@emotion/styled');
5
5
 
6
6
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { __makeTemplateObject } from 'tslib';
2
- import styled from 'styled-components';
2
+ import styled from '@emotion/styled';
3
3
 
4
4
  var Truncate = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ", "\n"], ["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ", "\n"])), function (_a) {
5
5
  var width = _a.width;
@@ -1,6 +1,6 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('styled-components')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'styled-components'], factory) :
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@emotion/styled')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@emotion/styled'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CTDesignSystemTruncate = {}, global.styled));
5
5
  })(this, (function (exports, styled) { 'use strict';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-design-truncate",
3
- "version": "3.21.0-SNAPSHOT-181125.0",
3
+ "version": "3.21.0-SNAPSHOT-stable-rnw.0",
4
4
  "description": "Truncate Component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-design-truncate.cjs.js",
@@ -14,12 +14,16 @@
14
14
  "files": [
15
15
  "dist"
16
16
  ],
17
- "dependencies": {},
18
- "devDependencies": {},
17
+ "dependencies": {
18
+ "@emotion/react": "^11.14.0",
19
+ "@emotion/styled": "^11.14.0"
20
+ },
21
+ "devDependencies": {
22
+ "@emotion/babel-plugin": "^11.12.0"
23
+ },
19
24
  "peerDependencies": {
20
25
  "react": ">=16.8.0",
21
- "react-dom": ">=16.8.0",
22
- "styled-components": "^5.3.6"
26
+ "react-dom": ">=16.8.0"
23
27
  },
24
28
  "publishConfig": {
25
29
  "access": "public"
@@ -1,4 +0,0 @@
1
- import { TruncateProps } from './type';
2
- declare const Truncate: import("styled-components").StyledComponent<"div", any, TruncateProps, never>;
3
- export default Truncate;
4
- //# sourceMappingURL=Truncate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Truncate.d.ts","sourceRoot":"","sources":["../packages/components/Truncate/src/Truncate.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,QAAQ,+EAOb,CAAC;AAEF,eAAe,QAAQ,CAAC"}