@bailaya/react 1.0.17 → 1.0.18
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.
|
@@ -9,7 +9,7 @@ const react_1 = __importDefault(require("react"));
|
|
|
9
9
|
const lucide_react_1 = require("lucide-react");
|
|
10
10
|
const useStudioProfile_1 = require("../hooks/useStudioProfile");
|
|
11
11
|
const LoadingIcon_1 = require("./ui/LoadingIcon");
|
|
12
|
-
require("./
|
|
12
|
+
require("./styles.css");
|
|
13
13
|
/** Picks localized text with fallback to first available. */
|
|
14
14
|
function pickLocalizedText(map, locale) {
|
|
15
15
|
const obj = map !== null && map !== void 0 ? map : {};
|
package/package.json
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bailaya/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "A React component library for the BailaYa public API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./dist/index.js",
|
|
9
|
+
"./styles.css": "./dist/styles.css"
|
|
10
|
+
},
|
|
7
11
|
"files": [
|
|
8
12
|
"dist"
|
|
9
13
|
],
|
|
10
14
|
"scripts": {
|
|
11
|
-
"build": "tsc --build",
|
|
15
|
+
"build": "tsc --build && npm run copy:css",
|
|
16
|
+
"copy:css": "copyfiles -u 1 \"src/**/*.css\" dist",
|
|
12
17
|
"test": "jest"
|
|
13
18
|
},
|
|
14
19
|
"peerDependencies": {
|