@cleartrip/ct-design-expandable-input 1.2.0-SNAPSHOT-chat-widget-rn-v7.0 → 1.2.0-SNAPSHOT-native-main.2
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/dist/icons/Plus.d.ts +3 -0
- package/dist/icons/Plus.d.ts.map +1 -0
- package/dist/icons/Plus.native.d.ts +3 -0
- package/dist/icons/Plus.native.d.ts.map +1 -0
- package/dist/icons/Stop.d.ts +3 -0
- package/dist/icons/Stop.d.ts.map +1 -0
- package/dist/icons/Stop.native.d.ts +3 -0
- package/dist/icons/Stop.native.d.ts.map +1 -0
- package/dist/icons/UpArrow.d.ts +3 -0
- package/dist/icons/UpArrow.d.ts.map +1 -0
- package/dist/icons/UpArrow.native.d.ts +6 -0
- package/dist/icons/UpArrow.native.d.ts.map +1 -0
- package/package.json +8 -8
- package/src/icons/Plus.native.tsx +19 -0
- package/src/icons/Plus.tsx +17 -0
- package/src/icons/Stop.native.tsx +22 -0
- package/src/icons/Stop.tsx +20 -0
- package/src/icons/UpArrow.native.tsx +20 -0
- package/src/icons/UpArrow.tsx +15 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plus.d.ts","sourceRoot":"","sources":["../../packages/components/ExpandableInput/src/icons/Plus.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,GAAI,OAAO,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,4CAcjD,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plus.native.d.ts","sourceRoot":"","sources":["../../packages/components/ExpandableInput/src/icons/Plus.native.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI,+CAcT,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stop.d.ts","sourceRoot":"","sources":["../../packages/components/ExpandableInput/src/icons/Stop.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,+CAiBT,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stop.native.d.ts","sourceRoot":"","sources":["../../packages/components/ExpandableInput/src/icons/Stop.native.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI,+CAiBT,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpArrow.d.ts","sourceRoot":"","sources":["../../packages/components/ExpandableInput/src/icons/UpArrow.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,OAAO,GAAI,OAAO,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,4CAYpD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpArrow.native.d.ts","sourceRoot":"","sources":["../../packages/components/ExpandableInput/src/icons/UpArrow.native.tsx"],"names":[],"mappings":"AAEA,UAAU,aAAa;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,OAAO,GAAI,UAAoB,aAAa,4CAWjD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-design-expandable-input",
|
|
3
|
-
"version": "1.2.0-SNAPSHOT-
|
|
3
|
+
"version": "1.2.0-SNAPSHOT-native-main.2",
|
|
4
4
|
"description": "A auto-growing rich text input that expands with content",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-design-expandable-input.cjs.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"src"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@cleartrip/ct-design-theme": "5.27.0-SNAPSHOT-
|
|
31
|
-
"@cleartrip/ct-design-types": "5.27.0-SNAPSHOT-
|
|
32
|
-
"@cleartrip/ct-design-
|
|
33
|
-
"@cleartrip/ct-design-
|
|
34
|
-
"@cleartrip/ct-design-
|
|
35
|
-
"@cleartrip/ct-design-use-merge-refs": "5.27.0-SNAPSHOT-
|
|
36
|
-
"@cleartrip/ct-design-icons": "61.0.0-SNAPSHOT-
|
|
30
|
+
"@cleartrip/ct-design-theme": "5.27.0-SNAPSHOT-native-main.16",
|
|
31
|
+
"@cleartrip/ct-design-types": "5.27.0-SNAPSHOT-native-main.16",
|
|
32
|
+
"@cleartrip/ct-design-typography": "5.27.0-SNAPSHOT-native-main.16",
|
|
33
|
+
"@cleartrip/ct-design-container": "5.27.0-SNAPSHOT-native-main.16",
|
|
34
|
+
"@cleartrip/ct-design-style-manager": "5.27.0-SNAPSHOT-native-main.16",
|
|
35
|
+
"@cleartrip/ct-design-use-merge-refs": "5.27.0-SNAPSHOT-native-main.16",
|
|
36
|
+
"@cleartrip/ct-design-icons": "61.0.0-SNAPSHOT-native-main.4"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
const Plus = () => {
|
|
4
|
+
return (
|
|
5
|
+
<Svg width={24} height={24} viewBox='0 0 24 24' fill='none'>
|
|
6
|
+
<Path
|
|
7
|
+
d='M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z'
|
|
8
|
+
fill='white'
|
|
9
|
+
fillOpacity={0.4}
|
|
10
|
+
/>
|
|
11
|
+
<Path
|
|
12
|
+
d='M12 5.5C12.2761 5.5 12.5 5.72386 12.5 6V11.5H18C18.2761 11.5 18.5 11.7239 18.5 12C18.5 12.2761 18.2761 12.5 18 12.5H12.5V18C12.5 18.2761 12.2761 18.5 12 18.5C11.7239 18.5 11.5 18.2761 11.5 18V12.5H6C5.72386 12.5 5.5 12.2761 5.5 12C5.5 11.7239 5.72386 11.5 6 11.5H11.5V6C11.5 5.72386 11.7239 5.5 12 5.5Z'
|
|
13
|
+
fill='#1A1A1A'
|
|
14
|
+
/>
|
|
15
|
+
</Svg>
|
|
16
|
+
);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export default Plus;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const Plus = (props: React.SVGProps<SVGSVGElement>) => {
|
|
2
|
+
return (
|
|
3
|
+
<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
4
|
+
<path
|
|
5
|
+
d='M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z'
|
|
6
|
+
fill='white'
|
|
7
|
+
fillOpacity={0.4}
|
|
8
|
+
/>
|
|
9
|
+
<path
|
|
10
|
+
d='M12 5.5C12.2761 5.5 12.5 5.72386 12.5 6V11.5H18C18.2761 11.5 18.5 11.7239 18.5 12C18.5 12.2761 18.2761 12.5 18 12.5H12.5V18C12.5 18.2761 12.2761 18.5 12 18.5C11.7239 18.5 11.5 18.2761 11.5 18V12.5H6C5.72386 12.5 5.5 12.2761 5.5 12C5.5 11.7239 5.72386 11.5 6 11.5H11.5V6C11.5 5.72386 11.7239 5.5 12 5.5Z'
|
|
11
|
+
fill='#1A1A1A'
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default Plus;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
const Stop = () => {
|
|
4
|
+
return (
|
|
5
|
+
<Svg width={32} height={32} viewBox='0 0 32 32' fill='none'>
|
|
6
|
+
<Path
|
|
7
|
+
d='M16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16C0 7.16344 7.16344 0 16 0Z'
|
|
8
|
+
fill='#F3F3F3'
|
|
9
|
+
/>
|
|
10
|
+
<Path
|
|
11
|
+
d='M15.9996 7.95857C11.5586 7.95868 7.95851 11.5593 7.95851 16.0003C7.95862 20.4412 11.5587 24.0413 15.9996 24.0414C20.4407 24.0414 24.0413 20.4413 24.0414 16.0003C24.0414 11.5592 20.4407 7.95857 15.9996 7.95857ZM15.9996 7C20.9701 7 24.9999 11.0298 24.9999 16.0003C24.9998 20.9707 20.9701 25 15.9996 25C11.0293 24.9999 7.00005 20.9707 6.99994 16.0003C6.99994 11.0299 11.0292 7.00011 15.9996 7Z'
|
|
12
|
+
fill='#FF4F17'
|
|
13
|
+
/>
|
|
14
|
+
<Path
|
|
15
|
+
d='M14.25 19.3529C13.364 19.3529 12.6458 18.6347 12.6458 17.7487V14.2487C12.6458 13.3627 13.364 12.6445 14.25 12.6445H17.75C18.6359 12.6445 19.3541 13.3627 19.3541 14.2487V17.7487C19.3541 18.6347 18.6359 19.3529 17.75 19.3529H14.25Z'
|
|
16
|
+
fill='#FF4F17'
|
|
17
|
+
/>
|
|
18
|
+
</Svg>
|
|
19
|
+
);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export default Stop;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const Stop = () => {
|
|
2
|
+
return (
|
|
3
|
+
<svg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
4
|
+
<path
|
|
5
|
+
d='M16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16C0 7.16344 7.16344 0 16 0Z'
|
|
6
|
+
fill='#F3F3F3'
|
|
7
|
+
/>
|
|
8
|
+
<path
|
|
9
|
+
d='M15.9996 7.95857C11.5586 7.95868 7.95851 11.5593 7.95851 16.0003C7.95862 20.4412 11.5587 24.0413 15.9996 24.0414C20.4407 24.0414 24.0413 20.4413 24.0414 16.0003C24.0414 11.5592 20.4407 7.95857 15.9996 7.95857ZM15.9996 7C20.9701 7 24.9999 11.0298 24.9999 16.0003C24.9998 20.9707 20.9701 25 15.9996 25C11.0293 24.9999 7.00005 20.9707 6.99994 16.0003C6.99994 11.0299 11.0292 7.00011 15.9996 7Z'
|
|
10
|
+
fill='#FF4F17'
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
d='M14.25 19.3529C13.364 19.3529 12.6458 18.6347 12.6458 17.7487V14.2487C12.6458 13.3627 13.364 12.6445 14.25 12.6445H17.75C18.6359 12.6445 19.3541 13.3627 19.3541 14.2487V17.7487C19.3541 18.6347 18.6359 19.3529 17.75 19.3529H14.25Z'
|
|
14
|
+
fill='#FF4F17'
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default Stop;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import Svg, { Path } from 'react-native-svg';
|
|
2
|
+
|
|
3
|
+
interface IUpArrowProps {
|
|
4
|
+
fill?: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
const UpArrow = ({ fill = 'white' }: IUpArrowProps) => {
|
|
8
|
+
return (
|
|
9
|
+
<Svg width={14} height={14} viewBox='0 0 14 14' fill='none'>
|
|
10
|
+
<Path
|
|
11
|
+
fillRule='evenodd'
|
|
12
|
+
clipRule='evenodd'
|
|
13
|
+
d='M12.5596 6.66895C12.7306 6.83963 12.7303 7.11804 12.5596 7.28906C12.3889 7.45968 12.1114 7.45962 11.9405 7.28906L7.43753 2.79395L7.43753 12.25C7.43753 12.4916 7.24166 12.6875 7.00003 12.6875C6.75843 12.6875 6.56253 12.4916 6.56253 12.25L6.56253 2.81445L2.0596 7.30957C1.88868 7.48013 1.61117 7.48028 1.44046 7.30957C1.26991 7.13866 1.26977 6.86114 1.44046 6.69043L6.64163 1.50098C6.7207 1.38774 6.85145 1.31251 7.00003 1.3125C7.00165 1.3125 7.0033 1.31338 7.00492 1.31348C7.11836 1.31213 7.23268 1.35406 7.31937 1.44043L12.5596 6.66895Z'
|
|
14
|
+
fill={fill}
|
|
15
|
+
/>
|
|
16
|
+
</Svg>
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default UpArrow;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const UpArrow = (props: React.SVGProps<SVGSVGElement>) => {
|
|
2
|
+
const { fill = 'white', ...rest } = props;
|
|
3
|
+
return (
|
|
4
|
+
<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg' {...rest}>
|
|
5
|
+
<path
|
|
6
|
+
fill-rule='evenodd'
|
|
7
|
+
clip-rule='evenodd'
|
|
8
|
+
d='M12.5596 6.66895C12.7306 6.83963 12.7303 7.11804 12.5596 7.28906C12.3889 7.45968 12.1114 7.45962 11.9405 7.28906L7.43753 2.79395L7.43753 12.25C7.43753 12.4916 7.24166 12.6875 7.00003 12.6875C6.75843 12.6875 6.56253 12.4916 6.56253 12.25L6.56253 2.81445L2.0596 7.30957C1.88868 7.48013 1.61117 7.48028 1.44046 7.30957C1.26991 7.13866 1.26977 6.86114 1.44046 6.69043L6.64163 1.50098C6.7207 1.38774 6.85145 1.31251 7.00003 1.3125C7.00165 1.3125 7.0033 1.31338 7.00492 1.31348C7.11836 1.31213 7.23268 1.35406 7.31937 1.44043L12.5596 6.66895Z'
|
|
9
|
+
fill={fill}
|
|
10
|
+
/>
|
|
11
|
+
</svg>
|
|
12
|
+
);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default UpArrow;
|