@divkitframework/divkit 3.0.1 → 4.0.0-patched-7b07a09d20ca3e6423f0d696d8030fee2b2d3ba4
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 +44 -3
- 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.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 +3 -2
- package/CHANGELOG.md +0 -124
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@divkitframework/divkit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-patched-7b07a09d20ca3e6423f0d696d8030fee2b2d3ba4",
|
|
4
4
|
"description": "DivKit for the web",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"server-driven-ui",
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"build:watch": "npm run build:peggy && webpack serve --config webpack-dev.config.js",
|
|
73
73
|
"build:peggy": "peggy src/expressions/expressions.peggy --allowed-start-rules start,JsonStringContents --format es",
|
|
74
74
|
"build:dev-prod": "npm run build:peggy && NODE_ENV=production webpack-cli --config webpack-dev.config.js",
|
|
75
|
-
"build:prod": "npm run build:peggy && rm -rf dist/ && NODE_ENV=production npx webpack-cli --progress"
|
|
75
|
+
"build:prod": "npm run build:peggy && rm -rf dist/ && NODE_ENV=production npx webpack-cli --progress",
|
|
76
|
+
"prepublishOnly": "cp ../../../LICENSE ./"
|
|
76
77
|
},
|
|
77
78
|
"browserslist": {
|
|
78
79
|
"production": [
|
package/CHANGELOG.md
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
## 3.0.0 (August 18, 2022)
|
|
2
|
-
|
|
3
|
-
Version now in sync with the Android and iOS.
|
|
4
|
-
|
|
5
|
-
Changes and additions:
|
|
6
|
-
* Changed `gallery` items alignment
|
|
7
|
-
* Changed variables' types processing in expressions
|
|
8
|
-
* Added additional functions for `Color` and `Url`
|
|
9
|
-
* Changed `wrap_content` / `match_parent` in several cases to better match the Android layout. Better `match_parent` inside `wrap_content` handling. Better `match_parent` inside `container` with `overlap`. Container now can have multiple `constrained` children.
|
|
10
|
-
|
|
11
|
-
Fixes:
|
|
12
|
-
* Fixed `gallery` inside other `gallery`
|
|
13
|
-
* `width` and `height` can now be zero
|
|
14
|
-
* Fixed extra unused css variables in html
|
|
15
|
-
* Fixed the case with string interpolation without closing bracket
|
|
16
|
-
|
|
17
|
-
## 1.12.0 (August 10, 2022)
|
|
18
|
-
|
|
19
|
-
Additions:
|
|
20
|
-
|
|
21
|
-
* Added support for animations on `visibility` change
|
|
22
|
-
* Added `action_animation` support
|
|
23
|
-
* Added `transition_change` support
|
|
24
|
-
|
|
25
|
-
Fixes and changes:
|
|
26
|
-
|
|
27
|
-
* Layout fixes for `state`, `gallery` and `container`
|
|
28
|
-
* Layout fixes for `image` with `wrap_content`
|
|
29
|
-
* Fixed an issue with `text` when correct `text` value changed to incorrect
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## 1.11.1 (August 10, 2022)
|
|
33
|
-
|
|
34
|
-
* Fixed `theme` prop in `render`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## 1.11.0 (July 29, 2022)
|
|
38
|
-
|
|
39
|
-
Variables:
|
|
40
|
-
|
|
41
|
-
* New API: now variables are objects with methods to `subscribe`, `getValue`, `setValue`, etc
|
|
42
|
-
* Added `GlobalVariablesController`. One can now use same variables across multiple instances of DivKit, that keep their values in sync
|
|
43
|
-
* DEPRECATION: Old methods `getVariable` / `setVariable` is deprecated
|
|
44
|
-
|
|
45
|
-
Added:
|
|
46
|
-
* `input` component
|
|
47
|
-
* Experimental `palette` support
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
## 1.10.1 (July 14, 2022)
|
|
51
|
-
|
|
52
|
-
* Fixed `onCustomAction` types
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
## 1.10.0 (July 14, 2022)
|
|
56
|
-
|
|
57
|
-
* Added `slider` block
|
|
58
|
-
* Added support for `expressions` and `variable_triggers`
|
|
59
|
-
* Improved a11y for `indicator` and `pager`
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
## 1.9.0 (June 27, 2022)
|
|
63
|
-
|
|
64
|
-
* Added `onCustomAction` callback support
|
|
65
|
-
* Added `default_item` support for gallery
|
|
66
|
-
* Added `indicator` block
|
|
67
|
-
* Added `id` support for state (`div_id` was deprecated)
|
|
68
|
-
* Added `set_current_item`, `set_previous_item`, `set_next_item` actions support for pager
|
|
69
|
-
* Added `div-action://` and `custom action` support in visibility actions
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
## 1.8.0 (June 16, 2022)
|
|
73
|
-
|
|
74
|
-
New features:
|
|
75
|
-
* Added interpolation for `variables` in strings
|
|
76
|
-
* Added `visibility` support for base block (w/o animation)
|
|
77
|
-
* Added `selectable` property support for `text` block (and now text by default cannot be selected, to match Android / iOS behaviour)
|
|
78
|
-
|
|
79
|
-
Fixes:
|
|
80
|
-
* Fixes for `grid`'s children sizing
|
|
81
|
-
* Recursive templates now correctly produces error instead of infinity loop
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## 1.7.0 (June 6, 2022)
|
|
85
|
-
|
|
86
|
-
* Added `variables` support
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
## 1.6.0 (June 6, 2022)
|
|
90
|
-
|
|
91
|
-
* Added `pager` block
|
|
92
|
-
* Added support for `switch_tabs_by_content_swipe_enabled` in tabs
|
|
93
|
-
* Added support for `tint_color` in image, gif-image, text
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
## 1.5.0 (May 24, 2022)
|
|
97
|
-
|
|
98
|
-
* Added support for `set_current_item`, `set_previous_item`, `set_next_item` actions in tabs and gallery
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
## 1.4.0 (May 16, 2022)
|
|
102
|
-
|
|
103
|
-
* Added support for `shadow` in base block
|
|
104
|
-
* Fixed build for older browsers
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
## 1.3.0 (May 5, 2022)
|
|
108
|
-
|
|
109
|
-
* Added support for `active_font_weight` / `inactive_font_weight` in tabs' style
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
## 1.2.0 (April 29, 2022)
|
|
113
|
-
|
|
114
|
-
* Added `state` block
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
## 1.1.0 (April 4, 2022)
|
|
118
|
-
|
|
119
|
-
* Added support for `corner_radius` / `corners_radius` in tabs' style
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
## 1.0.0 (March 22, 2022)
|
|
123
|
-
|
|
124
|
-
* Initial release
|