ui-formatter 0.0.6 → 0.0.7

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/lib/index.js CHANGED
@@ -286,3 +286,4 @@ function isChecked(v, s) {
286
286
  }
287
287
  return "";
288
288
  }
289
+ exports.isChecked = isChecked;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-formatter",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Format web UI",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -248,7 +248,7 @@ export function formatFax(fax?: string | null): string {
248
248
  return formatter.formatFax(fax)
249
249
  }
250
250
 
251
- function isChecked(v: boolean | string | undefined | null, s: string[] | string | undefined): string {
251
+ export function isChecked(v: boolean | string | undefined | null, s: string[] | string | undefined): string {
252
252
  if (!v) {
253
253
  return ""
254
254
  }