@asantemedia-org/edwardsvacuum-design-system 1.6.59 → 1.6.63

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.
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Parses delimited facet values into a structured format
3
+ *
4
+ * Input format: "pressure_psi|2.90#pressure_inHg|5.91#pressure_bar|0.200"
5
+ * Where:
6
+ * - `#` separates different unit entries
7
+ * - `|` separates the unit key from the value
8
+ */
9
+ export interface ParsedFacetEntry {
10
+ unit: string;
11
+ value: string;
12
+ rawKey: string;
13
+ }
14
+ /**
15
+ * Checks if a value is in the delimited facet format
16
+ */
17
+ export declare const isDelimitedFacetValue: (value: unknown) => boolean;
18
+ /**
19
+ * Parses a delimited facet string into an array of entries
20
+ */
21
+ export declare const parseDelimitedFacetValue: (value: string) => ParsedFacetEntry[];
22
+ /**
23
+ * Formats a delimited facet value into a human-readable string list
24
+ * Returns null if the value is not in delimited format
25
+ */
26
+ export declare const formatFacetValueAsString: (value: unknown) => string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asantemedia-org/edwardsvacuum-design-system",
3
- "version": "1.6.59",
3
+ "version": "1.6.63",
4
4
  "description": "Design system for EdwardsVacuum",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",
@@ -29,9 +29,10 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "classnames": "^2.5.1",
32
+ "friendly-challenge": "^0.9.19",
32
33
  "next": "13.3.0",
33
34
  "path": "^0.12.7",
34
- "react-international-phone": "^4.6.1",
35
+ "react-international-phone": ">=4.0.0",
35
36
  "react-slick": "^0.31.0",
36
37
  "uuidv4": "^6.2.13"
37
38
  },