@searchspring/snap-toolbox 0.71.0 → 0.72.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 +12 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
# Snap Toolbox
|
|
2
2
|
|
|
3
|
-
<a href="https://www.npmjs.com/package/@searchspring/snap-toolbox"><img alt="NPM Status" src="https://img.shields.io/npm/v/@searchspring/snap-toolbox.svg?style=flat"></a>
|
|
4
3
|
|
|
5
|
-
A collection of utility tools such as DOM
|
|
6
|
-
|
|
7
|
-
## Dependency
|
|
8
|
-
|
|
9
|
-
Snap Toolbox is a dependency of:
|
|
10
|
-
- [@searchspring/snap-store-mobx](https://github.com/searchspring/snap/tree/main/packages/snap-store-mobx) <a href="https://www.npmjs.com/package/@searchspring/snap-store-mobx"><img alt="NPM Status" src="https://img.shields.io/npm/v/@searchspring/snap-store-mobx.svg?style=flat"></a>
|
|
11
|
-
- [@searchspring/snap-preact-components](https://github.com/searchspring/snap/tree/main/packages/snap-preact-components) <a href="https://www.npmjs.com/package/@searchspring/snap-preact-components"><img alt="NPM Status" src="https://img.shields.io/npm/v/@searchspring/snap-controller.svg?style=flat"></a>
|
|
4
|
+
A collection of utility tools such as DOM targeting, currency formatting & browser feature flags.
|
|
12
5
|
|
|
13
6
|
## Installation
|
|
14
7
|
|
|
@@ -18,6 +11,15 @@ npm install --save @searchspring/snap-toolbox
|
|
|
18
11
|
|
|
19
12
|
|
|
20
13
|
## Import
|
|
21
|
-
```
|
|
22
|
-
import {
|
|
14
|
+
```js
|
|
15
|
+
import {
|
|
16
|
+
filters,
|
|
17
|
+
DomTargeter,
|
|
18
|
+
getFlags,
|
|
19
|
+
featureFlags,
|
|
20
|
+
cookies,
|
|
21
|
+
url,
|
|
22
|
+
charsParams,
|
|
23
|
+
until,
|
|
24
|
+
} from '@searchspring/snap-toolbox';
|
|
23
25
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@searchspring/snap-toolbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"description": "Snap Toolbox",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"files": [
|
|
24
24
|
"dist/**/*"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "737d4bd308ebbb852fe3f09b2b90f4af87bbe264"
|
|
27
27
|
}
|