@artsy/palette-mobile 5.0.0 → 5.1.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/dist/helpers/text.d.ts +2 -0
- package/dist/helpers/text.js +3 -1
- package/package.json +1 -1
package/dist/helpers/text.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export declare const bullet = "\u2022";
|
|
|
11
11
|
export declare const nbsp: string;
|
|
12
12
|
export declare const quoteLeft = "\u201C";
|
|
13
13
|
export declare const quoteRight = "\u201D";
|
|
14
|
+
export declare const apostrophe = "\u2019";
|
|
15
|
+
export declare const comma = ",";
|
|
14
16
|
/**
|
|
15
17
|
* A helper func to create a range string out of two strings, by putting an endash between them.
|
|
16
18
|
*/
|
package/dist/helpers/text.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.range = exports.quoteRight = exports.quoteLeft = exports.nbsp = exports.bullet = exports.emdash = exports.endash = void 0;
|
|
3
|
+
exports.range = exports.comma = exports.apostrophe = exports.quoteRight = exports.quoteLeft = exports.nbsp = exports.bullet = exports.emdash = exports.endash = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* The endash is used in ranges like `$10k – $20k`.
|
|
6
6
|
* This export makes it easier to use in the code, without having to find
|
|
@@ -14,6 +14,8 @@ exports.bullet = "•";
|
|
|
14
14
|
exports.nbsp = String.fromCharCode(160);
|
|
15
15
|
exports.quoteLeft = "“";
|
|
16
16
|
exports.quoteRight = "”";
|
|
17
|
+
exports.apostrophe = "’";
|
|
18
|
+
exports.comma = ",";
|
|
17
19
|
/**
|
|
18
20
|
* A helper func to create a range string out of two strings, by putting an endash between them.
|
|
19
21
|
*/
|