@divkitframework/divkit 29.14.0 → 29.15.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/README.md +11 -1
- package/dist/browser/client-devtool.js +1 -1
- package/dist/browser/client-devtool.js.map +1 -1
- package/dist/browser/client-hydratable.js +1 -1
- package/dist/browser/client-hydratable.js.map +1 -1
- package/dist/browser/client.js +1 -1
- package/dist/browser/client.js.map +1 -1
- package/dist/client-devtool.js +1 -1
- package/dist/client-devtool.js.map +1 -1
- package/dist/client-hydratable.js +1 -1
- package/dist/client-hydratable.js.map +1 -1
- package/dist/client.css +1 -1
- package/dist/client.css.map +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/esm/client-devtool.mjs +1 -1
- package/dist/esm/client-devtool.mjs.map +1 -1
- package/dist/esm/client-hydratable.mjs +1 -1
- package/dist/esm/client-hydratable.mjs.map +1 -1
- package/dist/esm/client.mjs +1 -1
- package/dist/esm/client.mjs.map +1 -1
- package/dist/esm/server.mjs +1 -1
- package/dist/esm/server.mjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
- package/typings/client-hydratable.d.ts +2 -0
- package/typings/client.d.ts +2 -0
- package/typings/common.d.ts +9 -0
- package/typings/server.d.ts +2 -0
- package/typings/store.d.ts +27 -0
package/README.md
CHANGED
|
@@ -313,6 +313,8 @@ Currently supported properties:
|
|
|
313
313
|
* `galleryRightClass` — right scroll button class on desktop for the gallery
|
|
314
314
|
* `pagerLeftClass` — left scroll button class on desktop for the pager
|
|
315
315
|
* `pagerRightClass` — right scroll button class on desktop for the pager
|
|
316
|
+
* `menuPopupClass` — class for the menu popup
|
|
317
|
+
* `menuItemClass` — class for the menu item
|
|
316
318
|
|
|
317
319
|
#### builtinProtocols
|
|
318
320
|
|
|
@@ -327,7 +329,7 @@ Components with an action containing a protocol from the list will be rendered a
|
|
|
327
329
|
|
|
328
330
|
HTMLElement, optional.
|
|
329
331
|
|
|
330
|
-
Allows to attach tooltips to the custom root, outside of `target`. Useful to avoid cropping.
|
|
332
|
+
Allows to attach tooltips and menus to the custom root, outside of `target`. Useful to avoid cropping.
|
|
331
333
|
|
|
332
334
|
### extensions
|
|
333
335
|
|
|
@@ -361,6 +363,14 @@ Custom components is supported not only on the client side, but also on the serv
|
|
|
361
363
|
|
|
362
364
|
[Custom component extended api](../divkit-examples/custom-extended-api/)
|
|
363
365
|
|
|
366
|
+
#### store
|
|
367
|
+
|
|
368
|
+
Object, optional.
|
|
369
|
+
|
|
370
|
+
Additional external storage. The `getValue` and `setValue` methods should be implemented.
|
|
371
|
+
|
|
372
|
+
Please note that these methods must be synchronous! DivKit does not have asynchronous render methods, so any `getValue` function cannot be asynchronous. It is possible to process `setValue` asynchronously, but if the value from `getValue` is critical for you and cannot be read synchronously, you must read it before calling `render`.
|
|
373
|
+
|
|
364
374
|
#### theme (DEPRECATED)
|
|
365
375
|
|
|
366
376
|
`system` | `light` | `dark`
|