@servicetitan/docs-uikit 23.0.0 → 23.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/docs/ko-bridge.mdx +9 -22
- package/docs/startup.mdx +3 -0
- package/package.json +2 -2
package/docs/ko-bridge.mdx
CHANGED
|
@@ -31,35 +31,22 @@ _`dangerouslyUpdatable` is dangerous because change in reference might try to up
|
|
|
31
31
|
|
|
32
32
|
### Examples
|
|
33
33
|
|
|
34
|
-
#### Usage
|
|
34
|
+
#### Usage
|
|
35
35
|
|
|
36
36
|
```tsx
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
render() {
|
|
44
|
-
return <div data-bind="visible: window.IsExampleVisible">Invisible Example.</div>;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
#### Usage as JSX element
|
|
50
|
-
|
|
51
|
-
```tsx
|
|
52
|
-
const ExampleTemplate = () => <div data-bind="visible: IsExampleVisible">Invisible Example</div>;
|
|
37
|
+
const ExampleTemplate = forwardRef<HTMLDivElement>((_, ref) => (
|
|
38
|
+
<div ref={ref} data-bind="visible: IsExampleVisible">
|
|
39
|
+
Invisible Example
|
|
40
|
+
</div>
|
|
41
|
+
));
|
|
53
42
|
|
|
54
43
|
interface ExampleKnockoutComponentProps {
|
|
55
44
|
IsExampleVisible: boolean;
|
|
56
45
|
}
|
|
57
46
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
}
|
|
47
|
+
const ExampleKnockoutComponent = (props: ExampleKnockoutComponentProps) => {
|
|
48
|
+
return <KnockoutComponent koModel={props} koTemplate={ExampleTemplate} />;
|
|
49
|
+
};
|
|
63
50
|
```
|
|
64
51
|
|
|
65
52
|
## HtmlComment
|
package/docs/startup.mdx
CHANGED
|
@@ -16,6 +16,7 @@ import { VersionHistory, Changes } from '@site/src/components/version-history';
|
|
|
16
16
|
<br/>
|
|
17
17
|
See <a href="https://jest-archive-august-2023.netlify.app/docs/28.x/upgrading-to-jest28">Upgrading from v27 to v28</a> and <a href="https://jestjs.io/docs/upgrading-to-jest29">Upgrading from v28 to v29</a> for a list changes.
|
|
18
18
|
</Admonition>
|
|
19
|
+
Added <code>--code-coverage</code> option to <code>build</code> command
|
|
19
20
|
</Changes>
|
|
20
21
|
<Changes forVersion="22.20.0">
|
|
21
22
|
Added <code>--experimental-bundlers</code> option to <code>build</code> command
|
|
@@ -130,6 +131,7 @@ Runs package in the development mode. Applications will be hosted on sequential
|
|
|
130
131
|
- `--ignore <glob>` - Exclude packages with names matching the given glob.
|
|
131
132
|
- `--esbuild` - Use [esbuild-loader](https://github.com/privatenumber/esbuild-loader) to process TypeScript files instead of ts-loader.
|
|
132
133
|
- `--experimental-bundlers` - Use experimental build optimizations (alternative loaders and bundlers)
|
|
134
|
+
- `--code-coverage` - Add [instrumentation](https://github.com/JS-DevTools/coverage-istanbul-loader) to bundled code in order to collect code coverage
|
|
133
135
|
|
|
134
136
|
### build
|
|
135
137
|
|
|
@@ -143,6 +145,7 @@ Build packages for production to the `dist/bundle` folders. It bundles them in p
|
|
|
143
145
|
- `--stat` - Generate bundle report with [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer). Starting `v22.3.0` works for [MFEs](/docs/frontend/micro-frontends) too.
|
|
144
146
|
- `--esbuild` - Use [esbuild-loader](https://github.com/privatenumber/esbuild-loader) to process TypeScript files instead of ts-loader.
|
|
145
147
|
- `--experimental-bundlers` - Use experimental build optimizations (alternative loaders and bundlers)
|
|
148
|
+
- `--code-coverage` - Add [instrumentation](https://github.com/JS-DevTools/coverage-istanbul-loader) to bundled code in order to collect code coverage
|
|
146
149
|
|
|
147
150
|
### test
|
|
148
151
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/docs-uikit",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"cli": {
|
|
17
17
|
"webpack": false
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "4b72bab5ab6cb52a688d9329c7fbaa702ae6780c"
|
|
20
20
|
}
|