@chotot/clad-ui 2.3.1 → 2.4.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- badges -->
2
2
 
3
- [<img src="https://img.shields.io/badge/@chotot/clad--ui-2.3.0-FFBA00" alt="@chotot/clad-ui npm version" />](https://www.npmjs.com/package/@chotot/clad-ui)
3
+ [<img src="https://img.shields.io/badge/@chotot/clad--ui-2.4.0-FFBA00" alt="@chotot/clad-ui npm version" />](https://www.npmjs.com/package/@chotot/clad-ui)
4
4
  [<img src="https://img.shields.io/badge/@chotot/charts-1.0.2-FFBA00" alt="@chotot/charts npm version" />](https://www.npmjs.com/package/@chotot/charts)
5
5
  [<img src="https://img.shields.io/badge/react-%3E=16.8-0088CC" alt="React dependency version" />](https://github.com/facebook/react/)
6
6
  [<img src="https://img.shields.io/badge/linaria-^4.2.10-DE2D68" alt="Linaria dependency version" />](https://github.com/callstack/linaria)
@@ -0,0 +1,6 @@
1
+ export default SvgGps;
2
+ declare function SvgGps(props: any): JSX.Element;
3
+ declare namespace SvgGps {
4
+ let type: string;
5
+ }
6
+ //# sourceMappingURL=Gps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gps.d.ts","sourceRoot":"","sources":["../../icons/Gps.js"],"names":[],"mappings":";AAEA,iDAeC"}
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ const SvgGps = (props) => (<svg data-type="monochrome" width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
3
+ <path d="M11 21.95v-1c-2.084-.233-3.871-1.096-5.363-2.587C4.146 16.87 3.283 15.083 3.05 13h-1a.967.967 0 01-.713-.287A.967.967 0 011.05 12c0-.283.096-.52.287-.713A.968.968 0 012.05 11h1c.233-2.083 1.096-3.87 2.587-5.362C7.13 4.146 8.917 3.283 11 3.05v-1c0-.283.096-.52.287-.712A.968.968 0 0112 1.05c.283 0 .52.096.712.288.192.191.288.429.288.712v1c2.083.233 3.87 1.096 5.362 2.588C19.854 7.129 20.717 8.917 20.95 11h1c.283 0 .52.096.712.287.192.192.288.43.288.713s-.096.52-.288.713a.968.968 0 01-.712.287h-1c-.233 2.083-1.096 3.87-2.588 5.363-1.491 1.491-3.279 2.354-5.362 2.587v1c0 .283-.096.52-.288.713a.968.968 0 01-.712.287.968.968 0 01-.713-.287.967.967 0 01-.287-.713zm5.95-5C18.317 15.583 19 13.933 19 12c0-1.933-.683-3.583-2.05-4.95C15.583 5.683 13.933 5 12 5c-1.934 0-3.584.683-4.95 2.05C5.683 8.417 5 10.067 5 12c0 1.933.683 3.583 2.05 4.95C8.416 18.317 10.066 19 12 19c1.933 0 3.583-.683 4.95-2.05zm-7.775-2.125C8.39 14.042 8 13.1 8 12s.391-2.042 1.175-2.825C9.958 8.392 10.9 8 12 8s2.041.392 2.825 1.175C15.608 9.958 16 10.9 16 12s-.392 2.042-1.175 2.825C14.04 15.608 13.1 16 12 16s-2.042-.392-2.825-1.175zm4.237-1.412C13.804 13.02 14 12.55 14 12s-.196-1.02-.588-1.412A1.926 1.926 0 0012 10c-.55 0-1.021.196-1.413.588A1.926 1.926 0 0010 12c0 .55.196 1.02.587 1.412.392.392.863.588 1.413.588s1.02-.196 1.412-.588z" fill="currentColor"/>
4
+ </svg>);
5
+ SvgGps.type = 'monochrome';
6
+ export default SvgGps;
@@ -0,0 +1,6 @@
1
+ export default SvgSize;
2
+ declare function SvgSize(props: any): JSX.Element;
3
+ declare namespace SvgSize {
4
+ let type: string;
5
+ }
6
+ //# sourceMappingURL=Size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Size.d.ts","sourceRoot":"","sources":["../../icons/Size.js"],"names":[],"mappings":";AAEA,kDAeC"}
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ const SvgSize = (props) => (<svg data-type="monochrome" width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
3
+ <path d="M17 22v-3H7c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 015 17V7H2a.968.968 0 01-.712-.287A.968.968 0 011 6c0-.283.096-.52.288-.713A.968.968 0 012 5h3V2c0-.283.096-.52.287-.712A.968.968 0 016 1c.283 0 .52.096.713.288.191.191.287.429.287.712v15h15c.283 0 .52.096.712.288.192.191.288.429.288.712s-.096.52-.288.712A.968.968 0 0122 19h-3v3c0 .283-.096.52-.288.712A.968.968 0 0118 23a.968.968 0 01-.712-.288A.968.968 0 0117 22zm0-7V7H9V5h8c.55 0 1.02.196 1.413.588.391.391.587.862.587 1.412v8h-2z" fill="currentColor"/>
4
+ </svg>);
5
+ SvgSize.type = 'monochrome';
6
+ export default SvgSize;
@@ -217,4 +217,6 @@ export { default as VideoFilled } from "./VideoFilled";
217
217
  export { default as LiveStream } from "./LiveStream";
218
218
  export { default as ShoppingCart } from "./ShoppingCart";
219
219
  export { default as ShoppingCartFilled } from "./ShoppingCartFilled";
220
+ export { default as Gps } from "./Gps";
221
+ export { default as Size } from "./Size";
220
222
  //# sourceMappingURL=index.d.ts.map
@@ -217,3 +217,5 @@ export { default as VideoFilled } from './VideoFilled';
217
217
  export { default as LiveStream } from './LiveStream';
218
218
  export { default as ShoppingCart } from './ShoppingCart';
219
219
  export { default as ShoppingCartFilled } from './ShoppingCartFilled';
220
+ export { default as Gps } from './Gps';
221
+ export { default as Size } from './Size';
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.styles.d.ts","sourceRoot":"","sources":["../../../patterns/Drawer/Drawer.styles.ts"],"names":[],"mappings":"AAmBA,QAAA,MAAM,KAAK;;EAeV,CAAC;AAEF,QAAA,MAAM,QAAQ;;EAQb,CAAC;AAEF,QAAA,MAAM,WAAW;;EA4DhB,CAAC;AAEF,QAAA,MAAM,YAAY;;EAYjB,CAAC;AAEF,QAAA,MAAM,iBAAiB;eACV;QAAE,cAAc,EAAE,MAAM,CAAA;KA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eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,yBAAyB,EACzB,YAAY,EACZ,cAAc,GACf,CAAC"}
@@ -67,7 +67,9 @@ const StyledPopup = styled.div `
67
67
  border-radius: ${radii.xl};
68
68
  animation: 0.2s ease-out 0s 1 scaleToFull;
69
69
  max-width: ${sizes.$md};
70
+ max-height: calc(100vh - 80px);
70
71
  margin-top: 40px;
72
+ margin-bottom: 40px;
71
73
  }
72
74
 
73
75
  & > h5 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chotot/clad-ui",
3
- "version": "2.3.1",
3
+ "version": "2.4.0",
4
4
  "description": "Classified Ads group (Carousell, Chotot, Mudah, Onekyat) design system.",
5
5
  "repository": {
6
6
  "type": "git",