reactive-bulma 1.10.0 → 1.10.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/README.md +157 -32
- package/dist/cjs/index.js +13 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/functions/parsers.d.ts +16 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/functions/parsers.d.ts +16 -0
- package/package.json +1 -1
- package/dist/cjs/types/functions/persers.d.ts +0 -3
- package/dist/esm/types/functions/persers.d.ts +0 -3
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ParseTestIdProps } from '../interfaces/functionProps';
|
2
|
+
/**
|
3
|
+
*
|
4
|
+
* @param { Array<string | null> } _classes Required. Array of classNames on `string` (or `null`) values
|
5
|
+
* @returns { string } A single string product of merge all classNames, separated by spaces
|
6
|
+
*/
|
7
|
+
export declare const parseClasses: (_classes: Array<string | null>) => string;
|
8
|
+
/**
|
9
|
+
*
|
10
|
+
* @param { ParseTestIdProps } config Configuration of tag, parsedClasses and tag
|
11
|
+
* @param { string } config.tag Required. Component tag used between to build the final testId string.
|
12
|
+
* @param { string } config.parsedClasses Required. A single string of previously parsed classes what will be joined with `tag` property.
|
13
|
+
* @param { string } config.separator Optional. `''` by default. Will replace final string empty spaces with a configurable string.
|
14
|
+
* @returns A single string product of merge all classNames, separated by `separator` value
|
15
|
+
*/
|
16
|
+
export declare const parseTestId: (config: ParseTestIdProps) => string;
|
package/package.json
CHANGED