@blaze-cms/react-page-builder 0.132.0-admin-updates.1 → 0.132.0-core-styles.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/CHANGELOG.md +24 -62
- package/lib/components/Layout/Layout.js +7 -3
- package/lib/components/Layout/Layout.js.map +1 -1
- package/lib-es/components/Layout/Layout.js +8 -4
- package/lib-es/components/Layout/Layout.js.map +1 -1
- package/package.json +10 -10
- package/src/components/Layout/Layout.js +15 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,71 +3,60 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [0.132.0-
|
|
6
|
+
# [0.132.0-core-styles.0](https://github.com/thebyte9/blaze/compare/v0.131.1...v0.132.0-core-styles.0) (2023-08-11)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
11
|
* add collapse property to searchContent ([#3964](https://github.com/thebyte9/blaze/issues/3964)) ([5bc7813](https://github.com/thebyte9/blaze/commit/5bc78136356ce826a92da7f8045ac4c2c44796ed))
|
|
12
|
+
* add collapse property to searchContent ([#3964](https://github.com/thebyte9/blaze/issues/3964)) ([3703a29](https://github.com/thebyte9/blaze/commit/3703a29d9a838f857863430d9223025900f29880))
|
|
13
|
+
* add collapse property to searchContent ([#3964](https://github.com/thebyte9/blaze/issues/3964)) ([d133a19](https://github.com/thebyte9/blaze/commit/d133a1965fdb447824dfdb87566809d7597a24b2))
|
|
12
14
|
* add second render ([24d7f7b](https://github.com/thebyte9/blaze/commit/24d7f7bcb26ad138b093fc1a04bc2fcaa304cdef))
|
|
13
15
|
* add second render ([885e1b4](https://github.com/thebyte9/blaze/commit/885e1b401a564e8212acb6e2f6189e53a6f6cc87))
|
|
16
|
+
* add second render ([488b2b6](https://github.com/thebyte9/blaze/commit/488b2b65b437db9beff90eaf38f6a8d2dc30f3a9))
|
|
14
17
|
* added logout handling for button ([#3983](https://github.com/thebyte9/blaze/issues/3983)) ([54ecb64](https://github.com/thebyte9/blaze/commit/54ecb64eb2e36ffe7e8dacb39a20a6a06487ba5e))
|
|
18
|
+
* added logout handling for button ([#3983](https://github.com/thebyte9/blaze/issues/3983)) ([f634575](https://github.com/thebyte9/blaze/commit/f634575cd6865dbc23391634c177efe4826d44c6))
|
|
19
|
+
* added logout handling for button ([#3983](https://github.com/thebyte9/blaze/issues/3983)) ([1940547](https://github.com/thebyte9/blaze/commit/19405477315238fe8b14c974645675ec285ee85a))
|
|
15
20
|
* carousel - set min width to the content ([6d0dd8f](https://github.com/thebyte9/blaze/commit/6d0dd8fdd0381fa69c5b7a7084cc2960927d38a1))
|
|
16
21
|
* carousel - set min width to the content ([e8b9267](https://github.com/thebyte9/blaze/commit/e8b9267201cac2de4f8bdf7cb778ed26b4b5ca84))
|
|
22
|
+
* carousel - set min width to the content ([7313a94](https://github.com/thebyte9/blaze/commit/7313a947d816716c607afaed6eaa61c3f26b0e89))
|
|
23
|
+
* deconstruct sticky from children ([e2ad5f2](https://github.com/thebyte9/blaze/commit/e2ad5f245a300e8a38fd6256daa01dcff4c3e29c))
|
|
24
|
+
* handle data summary urls in loops correctly ([#3993](https://github.com/thebyte9/blaze/issues/3993)) ([008e1a1](https://github.com/thebyte9/blaze/commit/008e1a1f24f065b4060302c2c32d1aa32dd8a007))
|
|
17
25
|
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([30595ef](https://github.com/thebyte9/blaze/commit/30595ef155783e78adc4f153230dccb33556e2f8))
|
|
18
26
|
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([a8700c6](https://github.com/thebyte9/blaze/commit/a8700c63715f864a1178630d810216c274484b97))
|
|
27
|
+
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([e0c37fc](https://github.com/thebyte9/blaze/commit/e0c37fcff2479f531f2f337b4e98b4edf57b4795))
|
|
28
|
+
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([04e4cb3](https://github.com/thebyte9/blaze/commit/04e4cb380520ea7c9b20860bf9cb4ea2facd27ad))
|
|
19
29
|
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([e3a502c](https://github.com/thebyte9/blaze/commit/e3a502ca5b6b4f9028072e0b2fe19630a240b840))
|
|
20
30
|
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([f5b89e0](https://github.com/thebyte9/blaze/commit/f5b89e0624ab2318e4cd12510638341db354a0de))
|
|
31
|
+
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([268eddc](https://github.com/thebyte9/blaze/commit/268eddcc71d42b3d63770554684bf79a5f163b7e))
|
|
32
|
+
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([e9e1a6d](https://github.com/thebyte9/blaze/commit/e9e1a6da969d9afc5f9ddaffcb7bf2238c84d898))
|
|
21
33
|
* improve animation ([898a36e](https://github.com/thebyte9/blaze/commit/898a36e67379c8ec550d36cb23041e042b847d56))
|
|
22
34
|
* improve animation ([088bfb5](https://github.com/thebyte9/blaze/commit/088bfb54e36658944d2f13a67e0e90cc674eabca))
|
|
35
|
+
* improve animation ([b9111b5](https://github.com/thebyte9/blaze/commit/b9111b59f9f297f5b4701bf5c42b0acd718d9985))
|
|
23
36
|
* remove log ([f56fc03](https://github.com/thebyte9/blaze/commit/f56fc0334900e314ea61ed1e6201febc29fdf7e6))
|
|
37
|
+
* remove log ([9eac18f](https://github.com/thebyte9/blaze/commit/9eac18fa06744a11d8e57d5b4a1d58f488ada931))
|
|
24
38
|
* reset search filters and handle single text property ([#3996](https://github.com/thebyte9/blaze/issues/3996)) ([85ddfdd](https://github.com/thebyte9/blaze/commit/85ddfdda1acc61f8bb6382630205cfb82ed2e5ac))
|
|
39
|
+
* reset search filters and handle single text property ([#3996](https://github.com/thebyte9/blaze/issues/3996)) ([0160414](https://github.com/thebyte9/blaze/commit/016041454d30cc4cfc0a4c8e2d484fcedc2a631c))
|
|
25
40
|
* set width to carousel container ([5926a7a](https://github.com/thebyte9/blaze/commit/5926a7a285c568514dfbca9360335c1e88836a0c))
|
|
26
41
|
* set width to carousel container ([7ff4e62](https://github.com/thebyte9/blaze/commit/7ff4e6242b2f31a83c605f5edec508ce256aab5a))
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Features
|
|
30
|
-
|
|
31
|
-
* add isHtml option to data summary component to render string as html ([#3969](https://github.com/thebyte9/blaze/issues/3969)) ([fbf2d75](https://github.com/thebyte9/blaze/commit/fbf2d75f39597f83f78cd435277c07676a21c245))
|
|
32
|
-
* add sticky setting to column and row ([#3988](https://github.com/thebyte9/blaze/issues/3988)) ([85338da](https://github.com/thebyte9/blaze/commit/85338da6b76f8bc5a1c1179dde51bf61a05b2698))
|
|
33
|
-
* enableLink in data summary now works with neste objects ([#3974](https://github.com/thebyte9/blaze/issues/3974)) ([d407785](https://github.com/thebyte9/blaze/commit/d407785489f44ec410b528307f7e7156f8f975a9))
|
|
34
|
-
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([cefef82](https://github.com/thebyte9/blaze/commit/cefef82d4ee113f70c156473bef9ab98cdffb3d2))
|
|
35
|
-
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([39c0af3](https://github.com/thebyte9/blaze/commit/39c0af3ed266369968139efe827a805ced71bd70))
|
|
36
|
-
* filteryBy on cards allow for id prop which fetches related data on parent to render ([#3975](https://github.com/thebyte9/blaze/issues/3975)) ([4027759](https://github.com/thebyte9/blaze/commit/4027759ecf893976e9479db5d1c8d5aec8a2c031))
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
# [0.132.0-admin-updates.0](https://github.com/thebyte9/blaze/compare/v0.131.0...v0.132.0-admin-updates.0) (2023-07-27)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Bug Fixes
|
|
44
|
-
|
|
45
|
-
* add collapse property to searchContent ([#3964](https://github.com/thebyte9/blaze/issues/3964)) ([3703a29](https://github.com/thebyte9/blaze/commit/3703a29d9a838f857863430d9223025900f29880))
|
|
46
|
-
* add collapse property to searchContent ([#3964](https://github.com/thebyte9/blaze/issues/3964)) ([d133a19](https://github.com/thebyte9/blaze/commit/d133a1965fdb447824dfdb87566809d7597a24b2))
|
|
47
|
-
* add second render ([488b2b6](https://github.com/thebyte9/blaze/commit/488b2b65b437db9beff90eaf38f6a8d2dc30f3a9))
|
|
48
|
-
* added logout handling for button ([#3983](https://github.com/thebyte9/blaze/issues/3983)) ([f634575](https://github.com/thebyte9/blaze/commit/f634575cd6865dbc23391634c177efe4826d44c6))
|
|
49
|
-
* added logout handling for button ([#3983](https://github.com/thebyte9/blaze/issues/3983)) ([1940547](https://github.com/thebyte9/blaze/commit/19405477315238fe8b14c974645675ec285ee85a))
|
|
50
|
-
* carousel - set min width to the content ([7313a94](https://github.com/thebyte9/blaze/commit/7313a947d816716c607afaed6eaa61c3f26b0e89))
|
|
51
|
-
* handle data summary urls in loops correctly ([#3993](https://github.com/thebyte9/blaze/issues/3993)) ([008e1a1](https://github.com/thebyte9/blaze/commit/008e1a1f24f065b4060302c2c32d1aa32dd8a007))
|
|
52
|
-
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([e0c37fc](https://github.com/thebyte9/blaze/commit/e0c37fcff2479f531f2f337b4e98b4edf57b4795))
|
|
53
|
-
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([04e4cb3](https://github.com/thebyte9/blaze/commit/04e4cb380520ea7c9b20860bf9cb4ea2facd27ad))
|
|
54
|
-
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([268eddc](https://github.com/thebyte9/blaze/commit/268eddcc71d42b3d63770554684bf79a5f163b7e))
|
|
55
|
-
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([e9e1a6d](https://github.com/thebyte9/blaze/commit/e9e1a6da969d9afc5f9ddaffcb7bf2238c84d898))
|
|
56
|
-
* improve animation ([b9111b5](https://github.com/thebyte9/blaze/commit/b9111b59f9f297f5b4701bf5c42b0acd718d9985))
|
|
57
|
-
* remove log ([9eac18f](https://github.com/thebyte9/blaze/commit/9eac18fa06744a11d8e57d5b4a1d58f488ada931))
|
|
58
|
-
* reset search filters and handle single text property ([#3996](https://github.com/thebyte9/blaze/issues/3996)) ([0160414](https://github.com/thebyte9/blaze/commit/016041454d30cc4cfc0a4c8e2d484fcedc2a631c))
|
|
59
42
|
* set width to carousel container ([d8f3ffb](https://github.com/thebyte9/blaze/commit/d8f3ffbdd22df47dcac88446828c2af5ac0f3318))
|
|
60
43
|
|
|
61
44
|
|
|
62
45
|
### Features
|
|
63
46
|
|
|
47
|
+
* add isHtml option to data summary component to render string as html ([#3969](https://github.com/thebyte9/blaze/issues/3969)) ([fbf2d75](https://github.com/thebyte9/blaze/commit/fbf2d75f39597f83f78cd435277c07676a21c245))
|
|
64
48
|
* add isHtml option to data summary component to render string as html ([#3969](https://github.com/thebyte9/blaze/issues/3969)) ([6005cdf](https://github.com/thebyte9/blaze/commit/6005cdf0e18f2eea51cc7bc143cf34423743fe5e))
|
|
65
49
|
* add isHtml option to data summary component to render string as html ([#3969](https://github.com/thebyte9/blaze/issues/3969)) ([78b6ed2](https://github.com/thebyte9/blaze/commit/78b6ed2735e94e078d4b174777ba3a99fc1a6b4c))
|
|
50
|
+
* add sticky setting to column and row ([#3988](https://github.com/thebyte9/blaze/issues/3988)) ([85338da](https://github.com/thebyte9/blaze/commit/85338da6b76f8bc5a1c1179dde51bf61a05b2698))
|
|
66
51
|
* add sticky setting to column and row ([#3988](https://github.com/thebyte9/blaze/issues/3988)) ([1d1a219](https://github.com/thebyte9/blaze/commit/1d1a21901b23fe184e1eadf2bbb49551dd5f9b33))
|
|
52
|
+
* enableLink in data summary now works with neste objects ([#3974](https://github.com/thebyte9/blaze/issues/3974)) ([d407785](https://github.com/thebyte9/blaze/commit/d407785489f44ec410b528307f7e7156f8f975a9))
|
|
67
53
|
* enableLink in data summary now works with neste objects ([#3974](https://github.com/thebyte9/blaze/issues/3974)) ([67b3c7f](https://github.com/thebyte9/blaze/commit/67b3c7fee9ffd60526dae525fea4d87097742453))
|
|
68
54
|
* enableLink in data summary now works with neste objects ([#3974](https://github.com/thebyte9/blaze/issues/3974)) ([5411725](https://github.com/thebyte9/blaze/commit/54117258b20ecb95b6359a8a412c8317b38b4fb3))
|
|
55
|
+
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([cefef82](https://github.com/thebyte9/blaze/commit/cefef82d4ee113f70c156473bef9ab98cdffb3d2))
|
|
56
|
+
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([39c0af3](https://github.com/thebyte9/blaze/commit/39c0af3ed266369968139efe827a805ced71bd70))
|
|
69
57
|
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([013fead](https://github.com/thebyte9/blaze/commit/013fead2b1fa467c084535d36404d3b80b9db02f))
|
|
70
58
|
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([3041c71](https://github.com/thebyte9/blaze/commit/3041c71418996a874138fa9ea9b509040264bf43))
|
|
59
|
+
* filteryBy on cards allow for id prop which fetches related data on parent to render ([#3975](https://github.com/thebyte9/blaze/issues/3975)) ([4027759](https://github.com/thebyte9/blaze/commit/4027759ecf893976e9479db5d1c8d5aec8a2c031))
|
|
71
60
|
* filteryBy on cards allow for id prop which fetches related data on parent to render ([#3975](https://github.com/thebyte9/blaze/issues/3975)) ([2eed0ed](https://github.com/thebyte9/blaze/commit/2eed0ed09cedda3a9424d3b88cb16bb437eada50))
|
|
72
61
|
* filteryBy on cards allow for id prop which fetches related data on parent to render ([#3975](https://github.com/thebyte9/blaze/issues/3975)) ([b18c177](https://github.com/thebyte9/blaze/commit/b18c177b9ad0c137fe98a979bfa6ca4baa5e214b))
|
|
73
62
|
|
|
@@ -75,39 +64,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
75
64
|
|
|
76
65
|
|
|
77
66
|
|
|
78
|
-
|
|
67
|
+
## [0.131.1](https://github.com/thebyte9/blaze/compare/v0.131.0...v0.131.1) (2023-07-28)
|
|
79
68
|
|
|
80
69
|
|
|
81
70
|
### Bug Fixes
|
|
82
71
|
|
|
83
|
-
*
|
|
84
|
-
* add collapse property to searchContent ([#3964](https://github.com/thebyte9/blaze/issues/3964)) ([d133a19](https://github.com/thebyte9/blaze/commit/d133a1965fdb447824dfdb87566809d7597a24b2))
|
|
85
|
-
* add second render ([488b2b6](https://github.com/thebyte9/blaze/commit/488b2b65b437db9beff90eaf38f6a8d2dc30f3a9))
|
|
86
|
-
* added logout handling for button ([#3983](https://github.com/thebyte9/blaze/issues/3983)) ([f634575](https://github.com/thebyte9/blaze/commit/f634575cd6865dbc23391634c177efe4826d44c6))
|
|
87
|
-
* added logout handling for button ([#3983](https://github.com/thebyte9/blaze/issues/3983)) ([1940547](https://github.com/thebyte9/blaze/commit/19405477315238fe8b14c974645675ec285ee85a))
|
|
88
|
-
* carousel - set min width to the content ([7313a94](https://github.com/thebyte9/blaze/commit/7313a947d816716c607afaed6eaa61c3f26b0e89))
|
|
89
|
-
* handle data summary urls in loops correctly ([#3993](https://github.com/thebyte9/blaze/issues/3993)) ([008e1a1](https://github.com/thebyte9/blaze/commit/008e1a1f24f065b4060302c2c32d1aa32dd8a007))
|
|
90
|
-
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([e0c37fc](https://github.com/thebyte9/blaze/commit/e0c37fcff2479f531f2f337b4e98b4edf57b4795))
|
|
91
|
-
* hash bits now persists through filter changes ([#3965](https://github.com/thebyte9/blaze/issues/3965)) ([04e4cb3](https://github.com/thebyte9/blaze/commit/04e4cb380520ea7c9b20860bf9cb4ea2facd27ad))
|
|
92
|
-
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([268eddc](https://github.com/thebyte9/blaze/commit/268eddcc71d42b3d63770554684bf79a5f163b7e))
|
|
93
|
-
* hlist component andle when no search filter ([#3982](https://github.com/thebyte9/blaze/issues/3982)) ([e9e1a6d](https://github.com/thebyte9/blaze/commit/e9e1a6da969d9afc5f9ddaffcb7bf2238c84d898))
|
|
94
|
-
* improve animation ([b9111b5](https://github.com/thebyte9/blaze/commit/b9111b59f9f297f5b4701bf5c42b0acd718d9985))
|
|
95
|
-
* remove log ([9eac18f](https://github.com/thebyte9/blaze/commit/9eac18fa06744a11d8e57d5b4a1d58f488ada931))
|
|
96
|
-
* reset search filters and handle single text property ([#3996](https://github.com/thebyte9/blaze/issues/3996)) ([0160414](https://github.com/thebyte9/blaze/commit/016041454d30cc4cfc0a4c8e2d484fcedc2a631c))
|
|
97
|
-
* set width to carousel container ([d8f3ffb](https://github.com/thebyte9/blaze/commit/d8f3ffbdd22df47dcac88446828c2af5ac0f3318))
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
### Features
|
|
101
|
-
|
|
102
|
-
* add isHtml option to data summary component to render string as html ([#3969](https://github.com/thebyte9/blaze/issues/3969)) ([6005cdf](https://github.com/thebyte9/blaze/commit/6005cdf0e18f2eea51cc7bc143cf34423743fe5e))
|
|
103
|
-
* add isHtml option to data summary component to render string as html ([#3969](https://github.com/thebyte9/blaze/issues/3969)) ([78b6ed2](https://github.com/thebyte9/blaze/commit/78b6ed2735e94e078d4b174777ba3a99fc1a6b4c))
|
|
104
|
-
* add sticky setting to column and row ([#3988](https://github.com/thebyte9/blaze/issues/3988)) ([1d1a219](https://github.com/thebyte9/blaze/commit/1d1a21901b23fe184e1eadf2bbb49551dd5f9b33))
|
|
105
|
-
* enableLink in data summary now works with neste objects ([#3974](https://github.com/thebyte9/blaze/issues/3974)) ([67b3c7f](https://github.com/thebyte9/blaze/commit/67b3c7fee9ffd60526dae525fea4d87097742453))
|
|
106
|
-
* enableLink in data summary now works with neste objects ([#3974](https://github.com/thebyte9/blaze/issues/3974)) ([5411725](https://github.com/thebyte9/blaze/commit/54117258b20ecb95b6359a8a412c8317b38b4fb3))
|
|
107
|
-
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([013fead](https://github.com/thebyte9/blaze/commit/013fead2b1fa467c084535d36404d3b80b9db02f))
|
|
108
|
-
* Filters and sorts now target generic or specific lists ([#3973](https://github.com/thebyte9/blaze/issues/3973)) ([3041c71](https://github.com/thebyte9/blaze/commit/3041c71418996a874138fa9ea9b509040264bf43))
|
|
109
|
-
* filteryBy on cards allow for id prop which fetches related data on parent to render ([#3975](https://github.com/thebyte9/blaze/issues/3975)) ([2eed0ed](https://github.com/thebyte9/blaze/commit/2eed0ed09cedda3a9424d3b88cb16bb437eada50))
|
|
110
|
-
* filteryBy on cards allow for id prop which fetches related data on parent to render ([#3975](https://github.com/thebyte9/blaze/issues/3975)) ([b18c177](https://github.com/thebyte9/blaze/commit/b18c177b9ad0c137fe98a979bfa6ca4baa5e214b))
|
|
72
|
+
* do not override properties in card banners ([#4001](https://github.com/thebyte9/blaze/issues/4001)) ([44353b1](https://github.com/thebyte9/blaze/commit/44353b159f2da9d447833a12751fde6ebd4a734f))
|
|
111
73
|
|
|
112
74
|
|
|
113
75
|
|
|
@@ -27,7 +27,7 @@ var _hooks = require("../../hooks");
|
|
|
27
27
|
var _helpers = require("./helpers");
|
|
28
28
|
var _helpers2 = require("../../helpers");
|
|
29
29
|
var _constants = require("../../constants");
|
|
30
|
-
var _excluded = ["type", "children", "settings", "modifier", "backgroundImage", "tagType", "dataNoSnippet"];
|
|
30
|
+
var _excluded = ["type", "children", "settings", "modifier", "backgroundImage", "tagType", "dataNoSnippet", "sticky"];
|
|
31
31
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
32
32
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
33
33
|
var Layout = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
@@ -38,6 +38,7 @@ var Layout = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
|
38
38
|
backgroundImage = _ref.backgroundImage,
|
|
39
39
|
tagType = _ref.tagType,
|
|
40
40
|
dataNoSnippet = _ref.dataNoSnippet,
|
|
41
|
+
sticky = _ref.sticky,
|
|
41
42
|
otherProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
42
43
|
var _useGetImages = (0, _hooks.useGetImages)(backgroundImage),
|
|
43
44
|
_useGetImages$data$ge = _useGetImages.data.getFile,
|
|
@@ -49,7 +50,8 @@ var Layout = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
|
49
50
|
});
|
|
50
51
|
var title = settings.title;
|
|
51
52
|
var classModifiers = (0, _utils.getClassModifiers)(type, _objectSpread({
|
|
52
|
-
modifier: modifier
|
|
53
|
+
modifier: modifier,
|
|
54
|
+
sticky: sticky
|
|
53
55
|
}, otherProps));
|
|
54
56
|
var additionalRowModifier = (0, _helpers.checkIfRowHasColumns)(type, children) ? ' display-row' : '';
|
|
55
57
|
if (type === _constants.COLUMN && !(0, _helpers2.hasChildren)(children)) return null;
|
|
@@ -67,6 +69,7 @@ var Layout = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
|
67
69
|
});
|
|
68
70
|
Layout.propTypes = {
|
|
69
71
|
type: _propTypes["default"].string.isRequired,
|
|
72
|
+
sticky: _propTypes["default"].bool,
|
|
70
73
|
settings: _propTypes["default"].shape({
|
|
71
74
|
title: _propTypes["default"].string
|
|
72
75
|
}),
|
|
@@ -83,7 +86,8 @@ Layout.defaultProps = {
|
|
|
83
86
|
backgroundImage: '',
|
|
84
87
|
modifier: '',
|
|
85
88
|
tagType: '',
|
|
86
|
-
dataNoSnippet: false
|
|
89
|
+
dataNoSnippet: false,
|
|
90
|
+
sticky: false
|
|
87
91
|
};
|
|
88
92
|
var _default = Layout;
|
|
89
93
|
exports["default"] = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.js","names":["_react","_interopRequireDefault","require","_propTypes","_Wrapper","_utils","_hooks","_helpers","_helpers2","_constants","_excluded","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","Layout","React","forwardRef","_ref","ref","type","children","settings","modifier","backgroundImage","tagType","dataNoSnippet","otherProps","_objectWithoutProperties2","_useGetImages","useGetImages","_useGetImages$data$ge","data","getFile","_useGetImages$data$ge2","_useGetImages$data$ge3","url","style","getStylesToUpdate","title","classModifiers","getClassModifiers","additionalRowModifier","checkIfRowHasColumns","COLUMN","hasChildren","otherWrapperProps","createElement","_extends2","className","modifiers","concat","renderChildren","propTypes","PropTypes","string","isRequired","
|
|
1
|
+
{"version":3,"file":"Layout.js","names":["_react","_interopRequireDefault","require","_propTypes","_Wrapper","_utils","_hooks","_helpers","_helpers2","_constants","_excluded","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","Layout","React","forwardRef","_ref","ref","type","children","settings","modifier","backgroundImage","tagType","dataNoSnippet","sticky","otherProps","_objectWithoutProperties2","_useGetImages","useGetImages","_useGetImages$data$ge","data","getFile","_useGetImages$data$ge2","_useGetImages$data$ge3","url","style","getStylesToUpdate","title","classModifiers","getClassModifiers","additionalRowModifier","checkIfRowHasColumns","COLUMN","hasChildren","otherWrapperProps","createElement","_extends2","className","modifiers","concat","renderChildren","propTypes","PropTypes","string","isRequired","bool","shape","oneOfType","arrayOf","node","defaultProps","_default","exports"],"sources":["../../../src/components/Layout/Layout.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Wrapper from '../Wrapper';\nimport { getClassModifiers } from '../../utils';\nimport { useGetImages } from '../../hooks';\nimport { getStylesToUpdate, checkIfRowHasColumns } from './helpers';\nimport { renderChildren, hasChildren } from '../../helpers';\nimport { COLUMN } from '../../constants';\n\nconst Layout = React.forwardRef(\n (\n {\n type,\n children,\n settings,\n modifier,\n backgroundImage,\n tagType,\n dataNoSnippet,\n sticky,\n ...otherProps\n },\n ref\n ) => {\n const {\n data: { getFile: { url = null } = {} }\n } = useGetImages(backgroundImage);\n\n const style = getStylesToUpdate({ backgroundImage: url });\n const { title } = settings;\n\n const classModifiers = getClassModifiers(type, { modifier, sticky, ...otherProps });\n const additionalRowModifier = checkIfRowHasColumns(type, children) ? ' display-row' : '';\n\n if (type === COLUMN && !hasChildren(children)) return null;\n\n const otherWrapperProps = {};\n if (dataNoSnippet) otherWrapperProps['data-nosnippet'] = true;\n\n return (\n <Wrapper\n ref={ref}\n tagType={tagType}\n className={type}\n modifiers={`${classModifiers}${additionalRowModifier}`}\n style={style}\n {...otherWrapperProps}>\n {title && <h2 className=\"heading heading--section\">{title}</h2>}\n {renderChildren(children, otherProps)}\n </Wrapper>\n );\n }\n);\n\nLayout.propTypes = {\n type: PropTypes.string.isRequired,\n sticky: PropTypes.bool,\n settings: PropTypes.shape({\n title: PropTypes.string\n }),\n modifier: PropTypes.string,\n backgroundImage: PropTypes.string,\n tagType: PropTypes.string,\n dataNoSnippet: PropTypes.bool,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired\n};\n\nLayout.defaultProps = {\n settings: {\n title: ''\n },\n backgroundImage: '',\n modifier: '',\n tagType: '',\n dataNoSnippet: false,\n sticky: false\n};\n\nexport default Layout;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAAyC,IAAAQ,SAAA;AAAA,SAAAC,QAAAC,MAAA,EAAAC,cAAA,QAAAC,IAAA,GAAAC,MAAA,CAAAD,IAAA,CAAAF,MAAA,OAAAG,MAAA,CAAAC,qBAAA,QAAAC,OAAA,GAAAF,MAAA,CAAAC,qBAAA,CAAAJ,MAAA,GAAAC,cAAA,KAAAI,OAAA,GAAAA,OAAA,CAAAC,MAAA,WAAAC,GAAA,WAAAJ,MAAA,CAAAK,wBAAA,CAAAR,MAAA,EAAAO,GAAA,EAAAE,UAAA,OAAAP,IAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,IAAA,EAAAG,OAAA,YAAAH,IAAA;AAAA,SAAAU,cAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,WAAAF,SAAA,CAAAD,CAAA,IAAA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,CAAC,CAAC;EACFjC,QAAQ,EAAEgC,qBAAS,CAACC,MAAM;EAC1BhC,eAAe,EAAE+B,qBAAS,CAACC,MAAM;EACjC/B,OAAO,EAAE8B,qBAAS,CAACC,MAAM;EACzB9B,aAAa,EAAE6B,qBAAS,CAACG,IAAI;EAC7BrC,QAAQ,EAAEkC,qBAAS,CAACK,SAAS,CAAC,CAACL,qBAAS,CAACM,OAAO,CAACN,qBAAS,CAACO,IAAI,CAAC,EAAEP,qBAAS,CAACO,IAAI,CAAC,CAAC,CAACL;AACrF,CAAC;AAED1C,MAAM,CAACgD,YAAY,GAAG;EACpBzC,QAAQ,EAAE;IACRkB,KAAK,EAAE;EACT,CAAC;EACDhB,eAAe,EAAE,EAAE;EACnBD,QAAQ,EAAE,EAAE;EACZE,OAAO,EAAE,EAAE;EACXC,aAAa,EAAE,KAAK;EACpBC,MAAM,EAAE;AACV,CAAC;AAAC,IAAAqC,QAAA,GAEajD,MAAM;AAAAkD,OAAA,cAAAD,QAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
const _excluded = ["type", "children", "settings", "modifier", "backgroundImage", "tagType", "dataNoSnippet"];
|
|
4
|
+
const _excluded = ["type", "children", "settings", "modifier", "backgroundImage", "tagType", "dataNoSnippet", "sticky"];
|
|
5
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
7
|
import React from 'react';
|
|
@@ -20,7 +20,8 @@ const Layout = React.forwardRef((_ref, ref) => {
|
|
|
20
20
|
modifier,
|
|
21
21
|
backgroundImage,
|
|
22
22
|
tagType,
|
|
23
|
-
dataNoSnippet
|
|
23
|
+
dataNoSnippet,
|
|
24
|
+
sticky
|
|
24
25
|
} = _ref,
|
|
25
26
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
26
27
|
const {
|
|
@@ -37,7 +38,8 @@ const Layout = React.forwardRef((_ref, ref) => {
|
|
|
37
38
|
title
|
|
38
39
|
} = settings;
|
|
39
40
|
const classModifiers = getClassModifiers(type, _objectSpread({
|
|
40
|
-
modifier
|
|
41
|
+
modifier,
|
|
42
|
+
sticky
|
|
41
43
|
}, otherProps));
|
|
42
44
|
const additionalRowModifier = checkIfRowHasColumns(type, children) ? ' display-row' : '';
|
|
43
45
|
if (type === COLUMN && !hasChildren(children)) return null;
|
|
@@ -55,6 +57,7 @@ const Layout = React.forwardRef((_ref, ref) => {
|
|
|
55
57
|
});
|
|
56
58
|
Layout.propTypes = {
|
|
57
59
|
type: PropTypes.string.isRequired,
|
|
60
|
+
sticky: PropTypes.bool,
|
|
58
61
|
settings: PropTypes.shape({
|
|
59
62
|
title: PropTypes.string
|
|
60
63
|
}),
|
|
@@ -71,7 +74,8 @@ Layout.defaultProps = {
|
|
|
71
74
|
backgroundImage: '',
|
|
72
75
|
modifier: '',
|
|
73
76
|
tagType: '',
|
|
74
|
-
dataNoSnippet: false
|
|
77
|
+
dataNoSnippet: false,
|
|
78
|
+
sticky: false
|
|
75
79
|
};
|
|
76
80
|
export default Layout;
|
|
77
81
|
//# sourceMappingURL=Layout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.js","names":["React","PropTypes","Wrapper","getClassModifiers","useGetImages","getStylesToUpdate","checkIfRowHasColumns","renderChildren","hasChildren","COLUMN","Layout","forwardRef","_ref","ref","type","children","settings","modifier","backgroundImage","tagType","dataNoSnippet","otherProps","_objectWithoutProperties","_excluded","data","getFile","url","style","title","classModifiers","_objectSpread","additionalRowModifier","otherWrapperProps","createElement","_extends","className","modifiers","propTypes","string","isRequired","
|
|
1
|
+
{"version":3,"file":"Layout.js","names":["React","PropTypes","Wrapper","getClassModifiers","useGetImages","getStylesToUpdate","checkIfRowHasColumns","renderChildren","hasChildren","COLUMN","Layout","forwardRef","_ref","ref","type","children","settings","modifier","backgroundImage","tagType","dataNoSnippet","sticky","otherProps","_objectWithoutProperties","_excluded","data","getFile","url","style","title","classModifiers","_objectSpread","additionalRowModifier","otherWrapperProps","createElement","_extends","className","modifiers","propTypes","string","isRequired","bool","shape","oneOfType","arrayOf","node","defaultProps"],"sources":["../../../src/components/Layout/Layout.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Wrapper from '../Wrapper';\nimport { getClassModifiers } from '../../utils';\nimport { useGetImages } from '../../hooks';\nimport { getStylesToUpdate, checkIfRowHasColumns } from './helpers';\nimport { renderChildren, hasChildren } from '../../helpers';\nimport { COLUMN } from '../../constants';\n\nconst Layout = React.forwardRef(\n (\n {\n type,\n children,\n settings,\n modifier,\n backgroundImage,\n tagType,\n dataNoSnippet,\n sticky,\n ...otherProps\n },\n ref\n ) => {\n const {\n data: { getFile: { url = null } = {} }\n } = useGetImages(backgroundImage);\n\n const style = getStylesToUpdate({ backgroundImage: url });\n const { title } = settings;\n\n const classModifiers = getClassModifiers(type, { modifier, sticky, ...otherProps });\n const additionalRowModifier = checkIfRowHasColumns(type, children) ? ' display-row' : '';\n\n if (type === COLUMN && !hasChildren(children)) return null;\n\n const otherWrapperProps = {};\n if (dataNoSnippet) otherWrapperProps['data-nosnippet'] = true;\n\n return (\n <Wrapper\n ref={ref}\n tagType={tagType}\n className={type}\n modifiers={`${classModifiers}${additionalRowModifier}`}\n style={style}\n {...otherWrapperProps}>\n {title && <h2 className=\"heading heading--section\">{title}</h2>}\n {renderChildren(children, otherProps)}\n </Wrapper>\n );\n }\n);\n\nLayout.propTypes = {\n type: PropTypes.string.isRequired,\n sticky: PropTypes.bool,\n settings: PropTypes.shape({\n title: PropTypes.string\n }),\n modifier: PropTypes.string,\n backgroundImage: PropTypes.string,\n tagType: PropTypes.string,\n dataNoSnippet: PropTypes.bool,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired\n};\n\nLayout.defaultProps = {\n settings: {\n title: ''\n },\n backgroundImage: '',\n modifier: '',\n tagType: '',\n dataNoSnippet: false,\n sticky: false\n};\n\nexport default Layout;\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,OAAO,MAAM,YAAY;AAChC,SAASC,iBAAiB,QAAQ,aAAa;AAC/C,SAASC,YAAY,QAAQ,aAAa;AAC1C,SAASC,iBAAiB,EAAEC,oBAAoB,QAAQ,WAAW;AACnE,SAASC,cAAc,EAAEC,WAAW,QAAQ,eAAe;AAC3D,SAASC,MAAM,QAAQ,iBAAiB;AAExC,MAAMC,MAAM,GAAGV,KAAK,CAACW,UAAU,CAC7B,CAAAC,IAAA,EAYEC,GAAG,KACA;EAAA,IAZH;MACEC,IAAI;MACJC,QAAQ;MACRC,QAAQ;MACRC,QAAQ;MACRC,eAAe;MACfC,OAAO;MACPC,aAAa;MACbC;IAEF,CAAC,GAAAT,IAAA;IADIU,UAAU,GAAAC,wBAAA,CAAAX,IAAA,EAAAY,SAAA;EAIf,MAAM;IACJC,IAAI,EAAE;MAAEC,OAAO,EAAE;QAAEC,GAAG,GAAG;MAAK,CAAC,GAAG,CAAC;IAAE;EACvC,CAAC,GAAGvB,YAAY,CAACc,eAAe,CAAC;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AAEjB,SAAS,CAACsC,MAAM;EACjCpB,OAAO,EAAElB,SAAS,CAACsC,MAAM;EACzBnB,aAAa,EAAEnB,SAAS,CAACwC,IAAI;EAC7B1B,QAAQ,EAAEd,SAAS,CAAC0C,SAAS,CAAC,CAAC1C,SAAS,CAAC2C,OAAO,CAAC3C,SAAS,CAAC4C,IAAI,CAAC,EAAE5C,SAAS,CAAC4C,IAAI,CAAC,CAAC,CAACL;AACrF,CAAC;AAED9B,MAAM,CAACoC,YAAY,GAAG;EACpB9B,QAAQ,EAAE;IACRa,KAAK,EAAE;EACT,CAAC;EACDX,eAAe,EAAE,EAAE;EACnBD,QAAQ,EAAE,EAAE;EACZE,OAAO,EAAE,EAAE;EACXC,aAAa,EAAE,KAAK;EACpBC,MAAM,EAAE;AACV,CAAC;AAED,eAAeX,MAAM"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blaze-cms/react-page-builder",
|
|
3
|
-
"version": "0.132.0-
|
|
3
|
+
"version": "0.132.0-core-styles.0",
|
|
4
4
|
"description": "Blaze react page builder",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-es/index.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "GPL-3.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@blaze-cms/core-auth-ui": "0.132.0-
|
|
31
|
-
"@blaze-cms/core-errors": "0.132.0-
|
|
32
|
-
"@blaze-cms/core-errors-ui": "0.132.0-
|
|
30
|
+
"@blaze-cms/core-auth-ui": "0.132.0-core-styles.0",
|
|
31
|
+
"@blaze-cms/core-errors": "0.132.0-core-styles.0",
|
|
32
|
+
"@blaze-cms/core-errors-ui": "0.132.0-core-styles.0",
|
|
33
33
|
"@blaze-cms/image-cdn-react": "0.3.0-alpha.5",
|
|
34
|
-
"@blaze-cms/nextjs-components": "0.132.0-
|
|
35
|
-
"@blaze-cms/plugin-search-ui": "0.132.0-
|
|
36
|
-
"@blaze-cms/setup-ui": "0.132.0-
|
|
37
|
-
"@blaze-cms/utils": "0.132.0-
|
|
38
|
-
"@blaze-cms/utils-handlebars": "0.132.0-
|
|
34
|
+
"@blaze-cms/nextjs-components": "0.132.0-core-styles.0",
|
|
35
|
+
"@blaze-cms/plugin-search-ui": "0.132.0-core-styles.0",
|
|
36
|
+
"@blaze-cms/setup-ui": "0.132.0-core-styles.0",
|
|
37
|
+
"@blaze-cms/utils": "0.132.0-core-styles.0",
|
|
38
|
+
"@blaze-cms/utils-handlebars": "0.132.0-core-styles.0",
|
|
39
39
|
"@blaze-react/breadcrumb": "0.8.0-alpha.60",
|
|
40
40
|
"@blaze-react/button": "0.5.19",
|
|
41
41
|
"@blaze-react/checkboxes": "0.5.31",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"lib/*",
|
|
90
90
|
"lib-es/*"
|
|
91
91
|
],
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "60caae92a09559c3b2826ea504c0acb5e9ee7701"
|
|
93
93
|
}
|
|
@@ -9,7 +9,17 @@ import { COLUMN } from '../../constants';
|
|
|
9
9
|
|
|
10
10
|
const Layout = React.forwardRef(
|
|
11
11
|
(
|
|
12
|
-
{
|
|
12
|
+
{
|
|
13
|
+
type,
|
|
14
|
+
children,
|
|
15
|
+
settings,
|
|
16
|
+
modifier,
|
|
17
|
+
backgroundImage,
|
|
18
|
+
tagType,
|
|
19
|
+
dataNoSnippet,
|
|
20
|
+
sticky,
|
|
21
|
+
...otherProps
|
|
22
|
+
},
|
|
13
23
|
ref
|
|
14
24
|
) => {
|
|
15
25
|
const {
|
|
@@ -19,7 +29,7 @@ const Layout = React.forwardRef(
|
|
|
19
29
|
const style = getStylesToUpdate({ backgroundImage: url });
|
|
20
30
|
const { title } = settings;
|
|
21
31
|
|
|
22
|
-
const classModifiers = getClassModifiers(type, { modifier, ...otherProps });
|
|
32
|
+
const classModifiers = getClassModifiers(type, { modifier, sticky, ...otherProps });
|
|
23
33
|
const additionalRowModifier = checkIfRowHasColumns(type, children) ? ' display-row' : '';
|
|
24
34
|
|
|
25
35
|
if (type === COLUMN && !hasChildren(children)) return null;
|
|
@@ -44,6 +54,7 @@ const Layout = React.forwardRef(
|
|
|
44
54
|
|
|
45
55
|
Layout.propTypes = {
|
|
46
56
|
type: PropTypes.string.isRequired,
|
|
57
|
+
sticky: PropTypes.bool,
|
|
47
58
|
settings: PropTypes.shape({
|
|
48
59
|
title: PropTypes.string
|
|
49
60
|
}),
|
|
@@ -61,7 +72,8 @@ Layout.defaultProps = {
|
|
|
61
72
|
backgroundImage: '',
|
|
62
73
|
modifier: '',
|
|
63
74
|
tagType: '',
|
|
64
|
-
dataNoSnippet: false
|
|
75
|
+
dataNoSnippet: false,
|
|
76
|
+
sticky: false
|
|
65
77
|
};
|
|
66
78
|
|
|
67
79
|
export default Layout;
|