@carto/ps-react-ui 3.0.0-alpha.0 → 4.0.0-canary.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.
Files changed (61) hide show
  1. package/LICENSE.md +29 -0
  2. package/README.md +16 -13
  3. package/dist/components.js +1397 -0
  4. package/dist/components.js.map +1 -0
  5. package/dist/types/common/common.d.ts +3 -0
  6. package/dist/types/common/index.d.ts +25 -0
  7. package/dist/types/common/lasso-tools.d.ts +33 -0
  8. package/dist/types/common/measurement-tools.d.ts +66 -0
  9. package/dist/types/components/geolocation-controls/const.d.ts +5 -0
  10. package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +3 -0
  11. package/dist/types/components/geolocation-controls/types.d.ts +16 -0
  12. package/dist/types/components/index.d.ts +16 -5
  13. package/dist/types/components/lasso-tool/chip.d.ts +6 -0
  14. package/dist/types/components/lasso-tool/const.d.ts +5 -0
  15. package/dist/types/components/lasso-tool/icons.d.ts +6 -0
  16. package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +3 -0
  17. package/dist/types/components/lasso-tool/lasso-tool.d.ts +3 -0
  18. package/dist/types/components/lasso-tool/styles.d.ts +132 -0
  19. package/dist/types/components/lasso-tool/types.d.ts +69 -0
  20. package/dist/types/components/list-data/list-data.d.ts +3 -0
  21. package/dist/types/components/list-data/styles.d.ts +37 -0
  22. package/dist/types/components/list-data/types.d.ts +16 -14
  23. package/dist/types/components/measurement-tools/const.d.ts +5 -0
  24. package/dist/types/components/measurement-tools/icons.d.ts +4 -0
  25. package/dist/types/components/measurement-tools/measurement-tools.d.ts +3 -0
  26. package/dist/types/components/measurement-tools/types.d.ts +61 -0
  27. package/dist/types/components/types.d.ts +1 -0
  28. package/dist/types/components/zoom-controls/styles.d.ts +25 -0
  29. package/dist/types/components/zoom-controls/types.d.ts +17 -0
  30. package/dist/types/components/zoom-controls/zoom-controls.d.ts +3 -0
  31. package/dist/types/widgets/index.d.ts +1 -0
  32. package/dist/widgets.js +2 -0
  33. package/dist/widgets.js.map +1 -0
  34. package/package.json +50 -40
  35. package/dist/index.cjs +0 -32
  36. package/dist/index.js +0 -964
  37. package/dist/types/common-stories/maps/deckgl-maps.component.d.ts +0 -2
  38. package/dist/types/common-stories/maps/google-maps.component.d.ts +0 -3
  39. package/dist/types/common-stories/maps/map-container.component.d.ts +0 -4
  40. package/dist/types/common-stories/maps/map.component.d.ts +0 -2
  41. package/dist/types/components/list-data/index.d.ts +0 -2
  42. package/dist/types/components/list-data/list-data.component.d.ts +0 -37
  43. package/dist/types/components/list-data/list-data.styles.d.ts +0 -6
  44. package/dist/types/components/map-measurement-tool-ui/index.d.ts +0 -1
  45. package/dist/types/components/map-measurement-tool-ui/map-measurement-tool-ui.component.d.ts +0 -4
  46. package/dist/types/components/map-measurement-tool-ui/map-measurement-tool-ui.styles.d.ts +0 -25
  47. package/dist/types/components/scroll-to-anchor/index.d.ts +0 -2
  48. package/dist/types/components/scroll-to-anchor/scroll-to-anchor.component.d.ts +0 -34
  49. package/dist/types/components/scroll-to-anchor/scroll-to-anchor.styles.d.ts +0 -13
  50. package/dist/types/components/scroll-to-anchor/types.d.ts +0 -10
  51. package/dist/types/components/section-container/index.d.ts +0 -2
  52. package/dist/types/components/section-container/section-container.component.d.ts +0 -28
  53. package/dist/types/components/section-container/section-container.styles.d.ts +0 -22
  54. package/dist/types/components/section-container/types.d.ts +0 -10
  55. package/dist/types/components/tabs-to-anchor/index.d.ts +0 -2
  56. package/dist/types/components/tabs-to-anchor/tabs-to-anchor.component.d.ts +0 -25
  57. package/dist/types/components/tabs-to-anchor/tabs-to-anchor.styles.d.ts +0 -23
  58. package/dist/types/components/tabs-to-anchor/types.d.ts +0 -9
  59. package/dist/types/index.d.ts +0 -2
  60. package/dist/types/utils/create-select-options-from-array.utils.d.ts +0 -5
  61. package/dist/types/utils/index.d.ts +0 -1
package/LICENSE.md ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2023, CARTO
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -1,21 +1,24 @@
1
- # CARTO PS React Library - React UI
1
+ # The CARTO PS React UI Library
2
2
 
3
- This repository contains the packages with react hooks helpers.
3
+ <a aria-label="NPM version" href="https://www.npmjs.com/package/@carto/ps-react-ui">
4
+ <img alt="" src="https://img.shields.io/npm/v/@carto/ps-react-ui.svg?style=flat-square&labelColor=000000">
5
+ </a>
6
+ <a aria-label="License" href="https://github.com/CartoDB/carto-ps-lib/blob/canary/LICENSE.md">
7
+ <img alt="" src="https://img.shields.io/npm/l/@carto/ps-react-ui.svg?style=flat-square&labelColor=000000">
8
+ </a>
9
+ <a aria-label="CI status" href="https://github.com/carto/ps-react-material/actions/workflows/pull-request.yml?query=event%3Apush+branch%3Amain">
10
+ <img alt="" src="https://img.shields.io/github/actions/workflow/status/carto/ps-react-material/pull-request.yml?event=push&branch=main&style=flat-square&labelColor=000000">
11
+ </a>
4
12
 
5
- ## Installation
13
+ ## Introduction
6
14
 
7
- Install @carto/ps-react-ui like dependence:
15
+ This package includes utility functions for JavaScript and TypeScript.
8
16
 
9
- ```bash
10
- npm install --save @carto/ps-react-ui
11
- ```
17
+ The following react material are available:
12
18
 
13
- ## Usage
14
-
15
- The see what helpers are available, the interfaces and examples, see [docs](https://github.com/CartoDB/carto-ps-lib/blob/main/docs/modules/carto_ps_react_ui.md) section.
19
+ _To_develop_
16
20
 
17
21
  ## Contributing
18
22
 
19
- See [the contributing guide](https://github.com/CartoDB/carto-ps-lib/blob/main/CONTRIBUTING.md) for detailed instructions on how to get started with our project.
20
-
21
- If you're looking for a way to contribute, you can scan through our [existing issues](https://github.com/github/docs/issues) for something to work on. When ready, check out [Getting Started with Contributing](https://github.com/CartoDB/carto-ps-lib/blob/main/CONTRIBUTING.md) for detailed instructions.
23
+ Please read our [contributing](https://github.com/carto/carto-ps-lib/blob/main/CONTRIBUTING.md)
24
+ guide before creating a pull request.