@carto/ps-react-ui 3.0.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.
- package/LICENSE.md +29 -0
- package/README.md +16 -13
- package/dist/components.js +1397 -0
- package/dist/components.js.map +1 -0
- package/dist/types/common/common.d.ts +3 -0
- package/dist/types/common/index.d.ts +25 -0
- package/dist/types/common/lasso-tools.d.ts +33 -0
- package/dist/types/common/measurement-tools.d.ts +66 -0
- package/dist/types/components/geolocation-controls/const.d.ts +5 -0
- package/dist/types/components/geolocation-controls/geolocation-controls.d.ts +3 -0
- package/dist/types/components/geolocation-controls/types.d.ts +16 -0
- package/dist/types/components/index.d.ts +16 -5
- package/dist/types/components/lasso-tool/chip.d.ts +6 -0
- package/dist/types/components/lasso-tool/const.d.ts +5 -0
- package/dist/types/components/lasso-tool/icons.d.ts +6 -0
- package/dist/types/components/lasso-tool/lasso-tool-inline.d.ts +3 -0
- package/dist/types/components/lasso-tool/lasso-tool.d.ts +3 -0
- package/dist/types/components/lasso-tool/styles.d.ts +132 -0
- package/dist/types/components/lasso-tool/types.d.ts +69 -0
- package/dist/types/components/list-data/list-data.d.ts +3 -0
- package/dist/types/components/list-data/styles.d.ts +37 -0
- package/dist/types/components/list-data/types.d.ts +16 -14
- package/dist/types/components/measurement-tools/const.d.ts +5 -0
- package/dist/types/components/measurement-tools/icons.d.ts +4 -0
- package/dist/types/components/measurement-tools/measurement-tools.d.ts +3 -0
- package/dist/types/components/measurement-tools/types.d.ts +61 -0
- package/dist/types/components/types.d.ts +1 -0
- package/dist/types/components/zoom-controls/styles.d.ts +25 -0
- package/dist/types/components/zoom-controls/types.d.ts +17 -0
- package/dist/types/components/zoom-controls/zoom-controls.d.ts +3 -0
- package/dist/types/widgets/index.d.ts +1 -0
- package/dist/widgets.js +2 -0
- package/dist/widgets.js.map +1 -0
- package/package.json +50 -40
- package/dist/index.cjs +0 -30
- package/dist/index.js +0 -956
- package/dist/types/common-stories/maps/deckgl-maps.component.d.ts +0 -2
- package/dist/types/common-stories/maps/google-maps.component.d.ts +0 -3
- package/dist/types/common-stories/maps/map-container.component.d.ts +0 -4
- package/dist/types/common-stories/maps/map.component.d.ts +0 -2
- package/dist/types/components/list-data/index.d.ts +0 -2
- package/dist/types/components/list-data/list-data.component.d.ts +0 -37
- package/dist/types/components/list-data/list-data.styles.d.ts +0 -6
- package/dist/types/components/map-measurement-tool-ui/index.d.ts +0 -1
- package/dist/types/components/map-measurement-tool-ui/map-measurement-tool-ui.component.d.ts +0 -4
- package/dist/types/components/map-measurement-tool-ui/map-measurement-tool-ui.styles.d.ts +0 -25
- package/dist/types/components/scroll-to-anchor/index.d.ts +0 -2
- package/dist/types/components/scroll-to-anchor/scroll-to-anchor.component.d.ts +0 -34
- package/dist/types/components/scroll-to-anchor/scroll-to-anchor.styles.d.ts +0 -13
- package/dist/types/components/scroll-to-anchor/types.d.ts +0 -10
- package/dist/types/components/section-container/index.d.ts +0 -2
- package/dist/types/components/section-container/section-container.component.d.ts +0 -28
- package/dist/types/components/section-container/section-container.styles.d.ts +0 -22
- package/dist/types/components/section-container/types.d.ts +0 -10
- package/dist/types/components/tabs-to-anchor/index.d.ts +0 -2
- package/dist/types/components/tabs-to-anchor/tabs-to-anchor.component.d.ts +0 -25
- package/dist/types/components/tabs-to-anchor/tabs-to-anchor.styles.d.ts +0 -23
- package/dist/types/components/tabs-to-anchor/types.d.ts +0 -9
- package/dist/types/index.d.ts +0 -2
- package/dist/types/utils/create-select-options-from-array.utils.d.ts +0 -5
- 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
|
1
|
+
# The CARTO PS React UI Library
|
2
2
|
|
3
|
-
|
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
|
-
##
|
13
|
+
## Introduction
|
6
14
|
|
7
|
-
|
15
|
+
This package includes utility functions for JavaScript and TypeScript.
|
8
16
|
|
9
|
-
|
10
|
-
npm install --save @carto/ps-react-ui
|
11
|
-
```
|
17
|
+
The following react material are available:
|
12
18
|
|
13
|
-
|
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
|
-
|
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.
|