@shelf/global-renderer 3.0.9 → 3.2.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/lib/DecisionTreeContent/DecisionTreeContent.d.ts +1 -1
- package/lib/DecisionTreeContent/components/Question.d.ts +3 -3
- package/lib/DecisionTreeContent/components/Solution.d.ts +3 -3
- package/lib/DecisionTreeContent/components/StepContent.d.ts +6 -0
- package/lib/DecisionTreeContent/helpers.d.ts +1 -1
- package/lib/DecisionTreeContent/types.d.ts +3 -1
- package/lib/WikiContent/renderWikiContent.d.ts +2 -0
- package/lib/WikiContent/types.d.ts +2 -0
- package/lib/index.d.ts +1 -0
- package/lib/renderDTContent.js +2220 -3
- package/lib/renderDTContent.js.LICENSE.txt +20 -0
- package/lib/renderStaticDTDiagram.js +1 -1
- package/lib/renderWikiContent.js +2219 -0
- package/lib/renderWikiContent.js.LICENSE.txt +69 -0
- package/package.json +4 -3
|
@@ -57,3 +57,23 @@
|
|
|
57
57
|
* This source code is licensed under the MIT license found in the
|
|
58
58
|
* LICENSE file in the root directory of this source tree.
|
|
59
59
|
*/
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
63
|
+
*
|
|
64
|
+
* @license MIT <https://opensource.org/licenses/MIT>
|
|
65
|
+
* @author Lea Verou <https://lea.verou.me>
|
|
66
|
+
* @namespace
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Takes a string with placeholder variables like `%{smart_count} file selected`
|
|
72
|
+
* and replaces it with values from options `{smart_count: 5}`
|
|
73
|
+
*
|
|
74
|
+
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
|
|
75
|
+
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
|
|
76
|
+
*
|
|
77
|
+
* @param phrase that needs interpolation, with placeholders
|
|
78
|
+
* @param options with values that will be used to replace placeholders
|
|
79
|
+
*/
|