@shelf/global-renderer 3.0.8 → 3.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.
@@ -0,0 +1,69 @@
1
+ /**
2
+ * @license React
3
+ * react-dom-client.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ /**
12
+ * @license React
13
+ * react-dom.production.js
14
+ *
15
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */
20
+
21
+ /**
22
+ * @license React
23
+ * react-jsx-runtime.production.js
24
+ *
25
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */
30
+
31
+ /**
32
+ * @license React
33
+ * react.production.js
34
+ *
35
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */
40
+
41
+ /**
42
+ * @license React
43
+ * scheduler.production.js
44
+ *
45
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
46
+ *
47
+ * This source code is licensed under the MIT license found in the
48
+ * LICENSE file in the root directory of this source tree.
49
+ */
50
+
51
+ /**
52
+ * Prism: Lightweight, robust, elegant syntax highlighting
53
+ *
54
+ * @license MIT <https://opensource.org/licenses/MIT>
55
+ * @author Lea Verou <https://lea.verou.me>
56
+ * @namespace
57
+ * @public
58
+ */
59
+
60
+ /**
61
+ * Takes a string with placeholder variables like `%{smart_count} file selected`
62
+ * and replaces it with values from options `{smart_count: 5}`
63
+ *
64
+ * @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
65
+ * taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
66
+ *
67
+ * @param phrase that needs interpolation, with placeholders
68
+ * @param options with values that will be used to replace placeholders
69
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shelf/global-renderer",
3
- "version": "3.0.8",
3
+ "version": "3.1.0",
4
4
  "description": "The package exposes entrypoints with window's function(-s) to render React component",
5
5
  "main": "lib",
6
6
  "type": "module",
@@ -27,6 +27,7 @@
27
27
  "@shelf/gem-components": "29.0.5",
28
28
  "@shelf/i18n": "20.1.2",
29
29
  "@shelf/icons": "16.0.5",
30
+ "@shelf/lexical-gem-content-view": "0.12.0",
30
31
  "@shelf/location-selector": "18.0.5",
31
32
  "@shelf/ratings-components": "17.0.5",
32
33
  "@shelf/rich-text-editor": "13.0.5",
@@ -64,7 +65,7 @@
64
65
  "jest": "30.2.0",
65
66
  "jest-environment-jsdom": "30.2.0",
66
67
  "lint-staged": "16.2.7",
67
- "lodash-es": "4.17.21",
68
+ "lodash-es": "4.18.1",
68
69
  "path-browserify": "1.0.1",
69
70
  "prettier": "3.7.4",
70
71
  "styled-components": "6.1.19",
@@ -81,7 +82,7 @@
81
82
  "*.{ts,tsx,jsx}": "eslint --fix"
82
83
  },
83
84
  "scripts": {
84
- "build": "rm -rf lib/ && NODE_ENV=production NODE_OPTIONS=--openssl-legacy-provider webpack && pnpm build:types",
85
+ "build": "rm -rf lib/ && NODE_ENV=production webpack && pnpm build:types",
85
86
  "build:types": "tsc --emitDeclarationOnly --noEmit false",
86
87
  "coverage": "pnpm test --coverage",
87
88
  "test": "jest",