@servicetitan/docs-uikit 27.2.1 → 27.4.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/ajax-handlers.mdx +1 -0
- package/docs/startup.mdx +2 -0
- package/package.json +2 -2
package/docs/ajax-handlers.mdx
CHANGED
|
@@ -62,6 +62,7 @@ const App = () => {
|
|
|
62
62
|
| :---------------- | :---------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
63
63
|
| `authAdapter` | <code>string | Function</code> | (optional) authentication scheme ([see below](#auth-adapter)). Defaults to **Bearer** authentication. |
|
|
64
64
|
| `authURL` | `string` | (optional) authentication endpoint for protected resources. Value is only optional for **Token** authentication. It is required for **Bearer** authentication. |
|
|
65
|
+
| `axiosInstance` | `AxiosInstance` | (optional) Axios instance which will be used for authenticated requests. Defaults to the global Axios
|
|
65
66
|
| `baseURL` | `string` | base URL of protected resources |
|
|
66
67
|
| `component` | `React.ComponentType` | component to wrap |
|
|
67
68
|
| `extraHeaders` | `Record<string, any>` | (optional) extra headers to add to requests |
|
package/docs/startup.mdx
CHANGED
|
@@ -368,6 +368,8 @@ Use `webpack.devServer` to set or override `webpack-dev-server` options. E.g.,
|
|
|
368
368
|
}
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
+
`webpack.devServer` can also be set to `false` in order to disable `webpack-dev-server` altogether.
|
|
372
|
+
|
|
371
373
|
#### Webpack Configuration
|
|
372
374
|
|
|
373
375
|
If you need to add additional rules or change the build output path or make any other customization of the Webpack configuration, you should create `webpack.{env}.config.js` files in the package's root folder. These files should call `createWebpackConfig` with the required configuration.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/docs-uikit",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.4.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": "0d58d7916d659a9617a12df86cdd183b5d49eef2"
|
|
20
20
|
}
|