@crediblemark/build 0.24.4 → 0.24.5

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.
@@ -4006,7 +4006,7 @@ function PropsProvider(props) {
4006
4006
  var usePropsContext = () => useContext10(propsContext);
4007
4007
 
4008
4008
  // css-module:/home/crediblemark/Project/Credibuild/components/CredBuild/components/Layout/styles.module.css#css-module
4009
- var styles_module_default13 = { "CredBuildLayout": "_CredBuildLayout_ildl0_1", "CredBuildLayout-inner": "_CredBuildLayout-inner_ildl0_8", "CredBuildLayout--leftSideBarVisible": "_CredBuildLayout--leftSideBarVisible_ildl0_29", "CredBuildLayout--rightSideBarVisible": "_CredBuildLayout--rightSideBarVisible_ildl0_33", "CredBuild--hidePlugins": "_CredBuild--hidePlugins_ildl0_37", "CredBuildLayout-item": "_CredBuildLayout-item_ildl0_43", "CredBuildLayout-header": "_CredBuildLayout-header_ildl0_49", "CredBuildLayout-left": "_CredBuildLayout-left_ildl0_54", "CredBuildLayout-editor": "_CredBuildLayout-editor_ildl0_67", "CredBuildLayout-right": "_CredBuildLayout-right_ildl0_76", "CredBuildLayout-sidebar": "_CredBuildLayout-sidebar_ildl0_93", "CredBuildPluginTab": "_CredBuildPluginTab_ildl0_108", "CredBuildPluginTab--visible": "_CredBuildPluginTab--visible_ildl0_115", "CredBuildPluginTab-body": "_CredBuildPluginTab-body_ildl0_119", "CredBuildLayout--mounted": "_CredBuildLayout--mounted_ildl0_135" };
4009
+ var styles_module_default13 = { "CredBuildLayout": "_CredBuildLayout_14aaz_1", "CredBuildLayout-inner": "_CredBuildLayout-inner_14aaz_8", "CredBuildLayout--leftSideBarVisible": "_CredBuildLayout--leftSideBarVisible_14aaz_29", "CredBuildLayout--rightSideBarVisible": "_CredBuildLayout--rightSideBarVisible_14aaz_33", "CredBuild--hidePlugins": "_CredBuild--hidePlugins_14aaz_37", "CredBuildLayout-item": "_CredBuildLayout-item_14aaz_43", "CredBuildLayout-header": "_CredBuildLayout-header_14aaz_49", "CredBuildLayout-left": "_CredBuildLayout-left_14aaz_54", "CredBuildLayout-editor": "_CredBuildLayout-editor_14aaz_67", "CredBuildLayout-right": "_CredBuildLayout-right_14aaz_75", "CredBuildLayout-sidebar": "_CredBuildLayout-sidebar_14aaz_92", "CredBuildPluginTab": "_CredBuildPluginTab_14aaz_107", "CredBuildPluginTab--visible": "_CredBuildPluginTab--visible_14aaz_114", "CredBuildPluginTab-body": "_CredBuildPluginTab-body_14aaz_118", "CredBuildLayout--mounted": "_CredBuildLayout--mounted_14aaz_134" };
4010
4010
 
4011
4011
  // lib/use-inject-css.ts
4012
4012
  import { useEffect as useEffect16, useState as useState10 } from "react";
@@ -5583,7 +5583,8 @@ var Canvas = () => {
5583
5583
  className: getClassName17("root"),
5584
5584
  style: {
5585
5585
  width: iframe.enabled ? viewports.current.width : "100%",
5586
- height: isNaN(zoomConfig.rootHeight) ? "auto" : zoomConfig.rootHeight,
5586
+ height: !zoomConfig.rootHeight || isNaN(zoomConfig.rootHeight) ? "100%" : zoomConfig.rootHeight,
5587
+ minHeight: "100%",
5587
5588
  transform: iframe.enabled ? `scale(${zoomConfig.zoom})` : void 0,
5588
5589
  transition: showTransition ? `width ${TRANSITION_DURATION}ms ease-out, height ${TRANSITION_DURATION}ms ease-out, transform ${TRANSITION_DURATION}ms ease-out` : "",
5589
5590
  overflow: iframe.enabled ? void 0 : "auto"
@@ -6147,7 +6148,7 @@ var Layout = ({ children }) => {
6147
6148
  ]
6148
6149
  }
6149
6150
  ),
6150
- /* @__PURE__ */ jsx36("div", { className: getLayoutClassName("editor"), children: /* @__PURE__ */ jsx36(Canvas, {}) }),
6151
+ /* @__PURE__ */ jsx36(Canvas, {}),
6151
6152
  !hasDesktopFieldsPlugin && /* @__PURE__ */ jsx36(
6152
6153
  Sidebar,
6153
6154
  {
package/dist/index.css CHANGED
@@ -2054,13 +2054,13 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
2054
2054
  }
2055
2055
 
2056
2056
  /* css-module:/home/crediblemark/Project/Credibuild/components/CredBuild/components/Layout/styles.module.css/#css-module-data */
2057
- ._CredBuildLayout_ildl0_1 {
2057
+ ._CredBuildLayout_14aaz_1 {
2058
2058
  display: flex;
2059
2059
  flex: 1;
2060
2060
  height: 100vh;
2061
2061
  overflow: hidden;
2062
2062
  }
2063
- ._CredBuildLayout-inner_ildl0_8 {
2063
+ ._CredBuildLayout-inner_14aaz_8 {
2064
2064
  display: grid;
2065
2065
  flex: 1;
2066
2066
  grid-template-areas: "header";
@@ -2070,7 +2070,7 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
2070
2070
  overflow: hidden;
2071
2071
  }
2072
2072
  @media (min-width: 638px) {
2073
- ._CredBuildLayout-inner_ildl0_8 {
2073
+ ._CredBuildLayout-inner_14aaz_8 {
2074
2074
  --credbuild-side-bar-width: 300px;
2075
2075
  --cb-left-sidebar-width: 0px;
2076
2076
  --cb-right-sidebar-width: 0px;
@@ -2078,27 +2078,27 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
2078
2078
  grid-template-columns: var(--cb-left-sidebar-width) 1fr var(--cb-right-sidebar-width);
2079
2079
  grid-template-rows: 40px 1fr;
2080
2080
  }
2081
- ._CredBuildLayout--leftSideBarVisible_ildl0_29 ._CredBuildLayout-inner_ildl0_8 {
2081
+ ._CredBuildLayout--leftSideBarVisible_14aaz_29 ._CredBuildLayout-inner_14aaz_8 {
2082
2082
  --cb-left-sidebar-width: var(--credbuild-user-left-side-bar-width, var(--credbuild-side-bar-width));
2083
2083
  }
2084
- ._CredBuildLayout--rightSideBarVisible_ildl0_33 ._CredBuildLayout-inner_ildl0_8 {
2084
+ ._CredBuildLayout--rightSideBarVisible_14aaz_33 ._CredBuildLayout-inner_14aaz_8 {
2085
2085
  --cb-right-sidebar-width: var(--credbuild-user-right-side-bar-width, var(--credbuild-side-bar-width));
2086
2086
  }
2087
- ._CredBuild--hidePlugins_ildl0_37 ._CredBuildLayout-inner_ildl0_8 {
2087
+ ._CredBuild--hidePlugins_14aaz_37 ._CredBuildLayout-inner_14aaz_8 {
2088
2088
  grid-template-areas: "header header" "editor right";
2089
2089
  grid-template-columns: 1fr auto;
2090
2090
  }
2091
2091
  }
2092
- ._CredBuildLayout-item_ildl0_43 {
2092
+ ._CredBuildLayout-item_14aaz_43 {
2093
2093
  box-sizing: border-box;
2094
2094
  overflow: hidden;
2095
2095
  position: relative;
2096
2096
  }
2097
- ._CredBuildLayout-header_ildl0_49 {
2097
+ ._CredBuildLayout-header_14aaz_49 {
2098
2098
  grid-area: header;
2099
2099
  z-index: 20;
2100
2100
  }
2101
- ._CredBuildLayout-left_ildl0_54 {
2101
+ ._CredBuildLayout-left_14aaz_54 {
2102
2102
  grid-area: left;
2103
2103
  display: flex;
2104
2104
  flex-direction: column;
@@ -2106,36 +2106,35 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
2106
2106
  overflow: hidden;
2107
2107
  border-right: 1px solid var(--credbuild-color-grey-10);
2108
2108
  }
2109
- ._CredBuildLayout_ildl0_1:not(._CredBuildLayout--leftSideBarVisible_ildl0_29) ._CredBuildLayout-left_ildl0_54 {
2109
+ ._CredBuildLayout_14aaz_1:not(._CredBuildLayout--leftSideBarVisible_14aaz_29) ._CredBuildLayout-left_14aaz_54 {
2110
2110
  border-right: none;
2111
2111
  }
2112
- ._CredBuildLayout-editor_ildl0_67 {
2112
+ ._CredBuildLayout-editor_14aaz_67 {
2113
2113
  grid-area: editor;
2114
2114
  background-color: var(--credbuild-color-grey-09);
2115
2115
  display: flex;
2116
2116
  flex-direction: column;
2117
2117
  position: relative;
2118
- overflow: auto;
2119
2118
  }
2120
- ._CredBuildLayout-right_ildl0_76 {
2119
+ ._CredBuildLayout-right_14aaz_75 {
2121
2120
  grid-area: right;
2122
2121
  z-index: 10;
2123
2122
  border-left: 1px solid var(--credbuild-color-grey-10);
2124
2123
  overflow: auto;
2125
2124
  }
2126
- ._CredBuildLayout_ildl0_1:not(._CredBuildLayout--rightSideBarVisible_ildl0_33) ._CredBuildLayout-right_ildl0_76 {
2125
+ ._CredBuildLayout_14aaz_1:not(._CredBuildLayout--rightSideBarVisible_14aaz_33) ._CredBuildLayout-right_14aaz_75 {
2127
2126
  border-left: none;
2128
2127
  }
2129
- ._CredBuildLayout-left_ildl0_54,
2130
- ._CredBuildLayout-right_ildl0_76 {
2128
+ ._CredBuildLayout-left_14aaz_54,
2129
+ ._CredBuildLayout-right_14aaz_75 {
2131
2130
  background-color: var(--credbuild-color-white);
2132
2131
  height: 100%;
2133
2132
  }
2134
- ._CredBuildLayout-sidebar_ildl0_93 {
2133
+ ._CredBuildLayout-sidebar_14aaz_92 {
2135
2134
  display: none;
2136
2135
  }
2137
2136
  @media (min-width: 638px) {
2138
- ._CredBuildLayout-sidebar_ildl0_93 {
2137
+ ._CredBuildLayout-sidebar_14aaz_92 {
2139
2138
  display: block;
2140
2139
  height: 100%;
2141
2140
  overflow: hidden;
@@ -2143,31 +2142,31 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
2143
2142
  flex-direction: column;
2144
2143
  }
2145
2144
  }
2146
- ._CredBuildPluginTab_ildl0_108 {
2145
+ ._CredBuildPluginTab_14aaz_107 {
2147
2146
  display: none;
2148
2147
  flex-direction: column;
2149
2148
  flex: 1;
2150
2149
  overflow: hidden;
2151
2150
  }
2152
- ._CredBuildPluginTab--visible_ildl0_115 {
2151
+ ._CredBuildPluginTab--visible_14aaz_114 {
2153
2152
  display: flex;
2154
2153
  }
2155
- ._CredBuildPluginTab-body_ildl0_119 {
2154
+ ._CredBuildPluginTab-body_14aaz_118 {
2156
2155
  display: flex;
2157
2156
  flex-direction: column;
2158
2157
  flex: 1;
2159
2158
  overflow-y: auto;
2160
2159
  padding-bottom: 32px;
2161
2160
  }
2162
- ._CredBuildLayout-left_ildl0_54,
2163
- ._CredBuildLayout-right_ildl0_76,
2164
- ._CredBuildLayout-header_ildl0_49 {
2161
+ ._CredBuildLayout-left_14aaz_54,
2162
+ ._CredBuildLayout-right_14aaz_75,
2163
+ ._CredBuildLayout-header_14aaz_49 {
2165
2164
  border-radius: 0 !important;
2166
2165
  margin: 0 !important;
2167
2166
  box-shadow: none !important;
2168
2167
  border-top: none;
2169
2168
  }
2170
- ._CredBuildLayout--mounted_ildl0_135 ._CredBuildLayout-inner_ildl0_8 {
2169
+ ._CredBuildLayout--mounted_14aaz_134 ._CredBuildLayout-inner_14aaz_8 {
2171
2170
  opacity: 1;
2172
2171
  }
2173
2172
 
package/dist/index.js CHANGED
@@ -12509,7 +12509,7 @@ var usePropsContext = () => (0, import_react86.useContext)(propsContext);
12509
12509
 
12510
12510
  // css-module:/home/crediblemark/Project/Credibuild/components/CredBuild/components/Layout/styles.module.css#css-module
12511
12511
  init_react_import();
12512
- var styles_module_default22 = { "CredBuildLayout": "_CredBuildLayout_ildl0_1", "CredBuildLayout-inner": "_CredBuildLayout-inner_ildl0_8", "CredBuildLayout--leftSideBarVisible": "_CredBuildLayout--leftSideBarVisible_ildl0_29", "CredBuildLayout--rightSideBarVisible": "_CredBuildLayout--rightSideBarVisible_ildl0_33", "CredBuild--hidePlugins": "_CredBuild--hidePlugins_ildl0_37", "CredBuildLayout-item": "_CredBuildLayout-item_ildl0_43", "CredBuildLayout-header": "_CredBuildLayout-header_ildl0_49", "CredBuildLayout-left": "_CredBuildLayout-left_ildl0_54", "CredBuildLayout-editor": "_CredBuildLayout-editor_ildl0_67", "CredBuildLayout-right": "_CredBuildLayout-right_ildl0_76", "CredBuildLayout-sidebar": "_CredBuildLayout-sidebar_ildl0_93", "CredBuildPluginTab": "_CredBuildPluginTab_ildl0_108", "CredBuildPluginTab--visible": "_CredBuildPluginTab--visible_ildl0_115", "CredBuildPluginTab-body": "_CredBuildPluginTab-body_ildl0_119", "CredBuildLayout--mounted": "_CredBuildLayout--mounted_ildl0_135" };
12512
+ var styles_module_default22 = { "CredBuildLayout": "_CredBuildLayout_14aaz_1", "CredBuildLayout-inner": "_CredBuildLayout-inner_14aaz_8", "CredBuildLayout--leftSideBarVisible": "_CredBuildLayout--leftSideBarVisible_14aaz_29", "CredBuildLayout--rightSideBarVisible": "_CredBuildLayout--rightSideBarVisible_14aaz_33", "CredBuild--hidePlugins": "_CredBuild--hidePlugins_14aaz_37", "CredBuildLayout-item": "_CredBuildLayout-item_14aaz_43", "CredBuildLayout-header": "_CredBuildLayout-header_14aaz_49", "CredBuildLayout-left": "_CredBuildLayout-left_14aaz_54", "CredBuildLayout-editor": "_CredBuildLayout-editor_14aaz_67", "CredBuildLayout-right": "_CredBuildLayout-right_14aaz_75", "CredBuildLayout-sidebar": "_CredBuildLayout-sidebar_14aaz_92", "CredBuildPluginTab": "_CredBuildPluginTab_14aaz_107", "CredBuildPluginTab--visible": "_CredBuildPluginTab--visible_14aaz_114", "CredBuildPluginTab-body": "_CredBuildPluginTab-body_14aaz_118", "CredBuildLayout--mounted": "_CredBuildLayout--mounted_14aaz_134" };
12513
12513
 
12514
12514
  // lib/use-inject-css.ts
12515
12515
  init_react_import();
@@ -14214,7 +14214,8 @@ var Canvas = () => {
14214
14214
  className: getClassName36("root"),
14215
14215
  style: {
14216
14216
  width: iframe.enabled ? viewports.current.width : "100%",
14217
- height: isNaN(zoomConfig.rootHeight) ? "auto" : zoomConfig.rootHeight,
14217
+ height: !zoomConfig.rootHeight || isNaN(zoomConfig.rootHeight) ? "100%" : zoomConfig.rootHeight,
14218
+ minHeight: "100%",
14218
14219
  transform: iframe.enabled ? `scale(${zoomConfig.zoom})` : void 0,
14219
14220
  transition: showTransition ? `width ${TRANSITION_DURATION}ms ease-out, height ${TRANSITION_DURATION}ms ease-out, transform ${TRANSITION_DURATION}ms ease-out` : "",
14220
14221
  overflow: iframe.enabled ? void 0 : "auto"
@@ -14872,7 +14873,7 @@ var Layout = ({ children }) => {
14872
14873
  ]
14873
14874
  }
14874
14875
  ),
14875
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: getLayoutClassName("editor"), children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Canvas, {}) }),
14876
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Canvas, {}),
14876
14877
  !hasDesktopFieldsPlugin && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
14877
14878
  Sidebar,
14878
14879
  {
package/dist/index.mjs CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  registerOverlayPortal,
13
13
  useCredBuild,
14
14
  useGetCredBuild
15
- } from "./chunk-P3RHOUJG.mjs";
15
+ } from "./chunk-5VWWS4RS.mjs";
16
16
  import "./chunk-6RPYD5IO.mjs";
17
17
  import {
18
18
  setDeep
@@ -1817,13 +1817,13 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
1817
1817
  }
1818
1818
 
1819
1819
  /* css-module:/home/crediblemark/Project/Credibuild/components/CredBuild/components/Layout/styles.module.css/#css-module-data */
1820
- ._CredBuildLayout_ildl0_1 {
1820
+ ._CredBuildLayout_14aaz_1 {
1821
1821
  display: flex;
1822
1822
  flex: 1;
1823
1823
  height: 100vh;
1824
1824
  overflow: hidden;
1825
1825
  }
1826
- ._CredBuildLayout-inner_ildl0_8 {
1826
+ ._CredBuildLayout-inner_14aaz_8 {
1827
1827
  display: grid;
1828
1828
  flex: 1;
1829
1829
  grid-template-areas: "header";
@@ -1833,7 +1833,7 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
1833
1833
  overflow: hidden;
1834
1834
  }
1835
1835
  @media (min-width: 638px) {
1836
- ._CredBuildLayout-inner_ildl0_8 {
1836
+ ._CredBuildLayout-inner_14aaz_8 {
1837
1837
  --credbuild-side-bar-width: 300px;
1838
1838
  --cb-left-sidebar-width: 0px;
1839
1839
  --cb-right-sidebar-width: 0px;
@@ -1841,27 +1841,27 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
1841
1841
  grid-template-columns: var(--cb-left-sidebar-width) 1fr var(--cb-right-sidebar-width);
1842
1842
  grid-template-rows: 40px 1fr;
1843
1843
  }
1844
- ._CredBuildLayout--leftSideBarVisible_ildl0_29 ._CredBuildLayout-inner_ildl0_8 {
1844
+ ._CredBuildLayout--leftSideBarVisible_14aaz_29 ._CredBuildLayout-inner_14aaz_8 {
1845
1845
  --cb-left-sidebar-width: var(--credbuild-user-left-side-bar-width, var(--credbuild-side-bar-width));
1846
1846
  }
1847
- ._CredBuildLayout--rightSideBarVisible_ildl0_33 ._CredBuildLayout-inner_ildl0_8 {
1847
+ ._CredBuildLayout--rightSideBarVisible_14aaz_33 ._CredBuildLayout-inner_14aaz_8 {
1848
1848
  --cb-right-sidebar-width: var(--credbuild-user-right-side-bar-width, var(--credbuild-side-bar-width));
1849
1849
  }
1850
- ._CredBuild--hidePlugins_ildl0_37 ._CredBuildLayout-inner_ildl0_8 {
1850
+ ._CredBuild--hidePlugins_14aaz_37 ._CredBuildLayout-inner_14aaz_8 {
1851
1851
  grid-template-areas: "header header" "editor right";
1852
1852
  grid-template-columns: 1fr auto;
1853
1853
  }
1854
1854
  }
1855
- ._CredBuildLayout-item_ildl0_43 {
1855
+ ._CredBuildLayout-item_14aaz_43 {
1856
1856
  box-sizing: border-box;
1857
1857
  overflow: hidden;
1858
1858
  position: relative;
1859
1859
  }
1860
- ._CredBuildLayout-header_ildl0_49 {
1860
+ ._CredBuildLayout-header_14aaz_49 {
1861
1861
  grid-area: header;
1862
1862
  z-index: 20;
1863
1863
  }
1864
- ._CredBuildLayout-left_ildl0_54 {
1864
+ ._CredBuildLayout-left_14aaz_54 {
1865
1865
  grid-area: left;
1866
1866
  display: flex;
1867
1867
  flex-direction: column;
@@ -1869,36 +1869,35 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
1869
1869
  overflow: hidden;
1870
1870
  border-right: 1px solid var(--credbuild-color-grey-10);
1871
1871
  }
1872
- ._CredBuildLayout_ildl0_1:not(._CredBuildLayout--leftSideBarVisible_ildl0_29) ._CredBuildLayout-left_ildl0_54 {
1872
+ ._CredBuildLayout_14aaz_1:not(._CredBuildLayout--leftSideBarVisible_14aaz_29) ._CredBuildLayout-left_14aaz_54 {
1873
1873
  border-right: none;
1874
1874
  }
1875
- ._CredBuildLayout-editor_ildl0_67 {
1875
+ ._CredBuildLayout-editor_14aaz_67 {
1876
1876
  grid-area: editor;
1877
1877
  background-color: var(--credbuild-color-grey-09);
1878
1878
  display: flex;
1879
1879
  flex-direction: column;
1880
1880
  position: relative;
1881
- overflow: auto;
1882
1881
  }
1883
- ._CredBuildLayout-right_ildl0_76 {
1882
+ ._CredBuildLayout-right_14aaz_75 {
1884
1883
  grid-area: right;
1885
1884
  z-index: 10;
1886
1885
  border-left: 1px solid var(--credbuild-color-grey-10);
1887
1886
  overflow: auto;
1888
1887
  }
1889
- ._CredBuildLayout_ildl0_1:not(._CredBuildLayout--rightSideBarVisible_ildl0_33) ._CredBuildLayout-right_ildl0_76 {
1888
+ ._CredBuildLayout_14aaz_1:not(._CredBuildLayout--rightSideBarVisible_14aaz_33) ._CredBuildLayout-right_14aaz_75 {
1890
1889
  border-left: none;
1891
1890
  }
1892
- ._CredBuildLayout-left_ildl0_54,
1893
- ._CredBuildLayout-right_ildl0_76 {
1891
+ ._CredBuildLayout-left_14aaz_54,
1892
+ ._CredBuildLayout-right_14aaz_75 {
1894
1893
  background-color: var(--credbuild-color-white);
1895
1894
  height: 100%;
1896
1895
  }
1897
- ._CredBuildLayout-sidebar_ildl0_93 {
1896
+ ._CredBuildLayout-sidebar_14aaz_92 {
1898
1897
  display: none;
1899
1898
  }
1900
1899
  @media (min-width: 638px) {
1901
- ._CredBuildLayout-sidebar_ildl0_93 {
1900
+ ._CredBuildLayout-sidebar_14aaz_92 {
1902
1901
  display: block;
1903
1902
  height: 100%;
1904
1903
  overflow: hidden;
@@ -1906,31 +1905,31 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
1906
1905
  flex-direction: column;
1907
1906
  }
1908
1907
  }
1909
- ._CredBuildPluginTab_ildl0_108 {
1908
+ ._CredBuildPluginTab_14aaz_107 {
1910
1909
  display: none;
1911
1910
  flex-direction: column;
1912
1911
  flex: 1;
1913
1912
  overflow: hidden;
1914
1913
  }
1915
- ._CredBuildPluginTab--visible_ildl0_115 {
1914
+ ._CredBuildPluginTab--visible_14aaz_114 {
1916
1915
  display: flex;
1917
1916
  }
1918
- ._CredBuildPluginTab-body_ildl0_119 {
1917
+ ._CredBuildPluginTab-body_14aaz_118 {
1919
1918
  display: flex;
1920
1919
  flex-direction: column;
1921
1920
  flex: 1;
1922
1921
  overflow-y: auto;
1923
1922
  padding-bottom: 32px;
1924
1923
  }
1925
- ._CredBuildLayout-left_ildl0_54,
1926
- ._CredBuildLayout-right_ildl0_76,
1927
- ._CredBuildLayout-header_ildl0_49 {
1924
+ ._CredBuildLayout-left_14aaz_54,
1925
+ ._CredBuildLayout-right_14aaz_75,
1926
+ ._CredBuildLayout-header_14aaz_49 {
1928
1927
  border-radius: 0 !important;
1929
1928
  margin: 0 !important;
1930
1929
  box-shadow: none !important;
1931
1930
  border-top: none;
1932
1931
  }
1933
- ._CredBuildLayout--mounted_ildl0_135 ._CredBuildLayout-inner_ildl0_8 {
1932
+ ._CredBuildLayout--mounted_14aaz_134 ._CredBuildLayout-inner_14aaz_8 {
1934
1933
  opacity: 1;
1935
1934
  }
1936
1935
 
@@ -12509,7 +12509,7 @@ var usePropsContext = () => (0, import_react86.useContext)(propsContext);
12509
12509
 
12510
12510
  // css-module:/home/crediblemark/Project/Credibuild/components/CredBuild/components/Layout/styles.module.css#css-module
12511
12511
  init_react_import();
12512
- var styles_module_default22 = { "CredBuildLayout": "_CredBuildLayout_ildl0_1", "CredBuildLayout-inner": "_CredBuildLayout-inner_ildl0_8", "CredBuildLayout--leftSideBarVisible": "_CredBuildLayout--leftSideBarVisible_ildl0_29", "CredBuildLayout--rightSideBarVisible": "_CredBuildLayout--rightSideBarVisible_ildl0_33", "CredBuild--hidePlugins": "_CredBuild--hidePlugins_ildl0_37", "CredBuildLayout-item": "_CredBuildLayout-item_ildl0_43", "CredBuildLayout-header": "_CredBuildLayout-header_ildl0_49", "CredBuildLayout-left": "_CredBuildLayout-left_ildl0_54", "CredBuildLayout-editor": "_CredBuildLayout-editor_ildl0_67", "CredBuildLayout-right": "_CredBuildLayout-right_ildl0_76", "CredBuildLayout-sidebar": "_CredBuildLayout-sidebar_ildl0_93", "CredBuildPluginTab": "_CredBuildPluginTab_ildl0_108", "CredBuildPluginTab--visible": "_CredBuildPluginTab--visible_ildl0_115", "CredBuildPluginTab-body": "_CredBuildPluginTab-body_ildl0_119", "CredBuildLayout--mounted": "_CredBuildLayout--mounted_ildl0_135" };
12512
+ var styles_module_default22 = { "CredBuildLayout": "_CredBuildLayout_14aaz_1", "CredBuildLayout-inner": "_CredBuildLayout-inner_14aaz_8", "CredBuildLayout--leftSideBarVisible": "_CredBuildLayout--leftSideBarVisible_14aaz_29", "CredBuildLayout--rightSideBarVisible": "_CredBuildLayout--rightSideBarVisible_14aaz_33", "CredBuild--hidePlugins": "_CredBuild--hidePlugins_14aaz_37", "CredBuildLayout-item": "_CredBuildLayout-item_14aaz_43", "CredBuildLayout-header": "_CredBuildLayout-header_14aaz_49", "CredBuildLayout-left": "_CredBuildLayout-left_14aaz_54", "CredBuildLayout-editor": "_CredBuildLayout-editor_14aaz_67", "CredBuildLayout-right": "_CredBuildLayout-right_14aaz_75", "CredBuildLayout-sidebar": "_CredBuildLayout-sidebar_14aaz_92", "CredBuildPluginTab": "_CredBuildPluginTab_14aaz_107", "CredBuildPluginTab--visible": "_CredBuildPluginTab--visible_14aaz_114", "CredBuildPluginTab-body": "_CredBuildPluginTab-body_14aaz_118", "CredBuildLayout--mounted": "_CredBuildLayout--mounted_14aaz_134" };
12513
12513
 
12514
12514
  // lib/use-inject-css.ts
12515
12515
  init_react_import();
@@ -14214,7 +14214,8 @@ var Canvas = () => {
14214
14214
  className: getClassName36("root"),
14215
14215
  style: {
14216
14216
  width: iframe.enabled ? viewports.current.width : "100%",
14217
- height: isNaN(zoomConfig.rootHeight) ? "auto" : zoomConfig.rootHeight,
14217
+ height: !zoomConfig.rootHeight || isNaN(zoomConfig.rootHeight) ? "100%" : zoomConfig.rootHeight,
14218
+ minHeight: "100%",
14218
14219
  transform: iframe.enabled ? `scale(${zoomConfig.zoom})` : void 0,
14219
14220
  transition: showTransition ? `width ${TRANSITION_DURATION}ms ease-out, height ${TRANSITION_DURATION}ms ease-out, transform ${TRANSITION_DURATION}ms ease-out` : "",
14220
14221
  overflow: iframe.enabled ? void 0 : "auto"
@@ -14872,7 +14873,7 @@ var Layout = ({ children }) => {
14872
14873
  ]
14873
14874
  }
14874
14875
  ),
14875
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: getLayoutClassName("editor"), children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Canvas, {}) }),
14876
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Canvas, {}),
14876
14877
  !hasDesktopFieldsPlugin && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
14877
14878
  Sidebar,
14878
14879
  {
@@ -12,7 +12,7 @@ import {
12
12
  registerOverlayPortal,
13
13
  useCredBuild,
14
14
  useGetCredBuild
15
- } from "./chunk-P3RHOUJG.mjs";
15
+ } from "./chunk-5VWWS4RS.mjs";
16
16
  import "./chunk-6RPYD5IO.mjs";
17
17
  import {
18
18
  setDeep
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crediblemark/build",
3
- "version": "0.24.4",
3
+ "version": "0.24.5",
4
4
  "description": "The open-source visual editor for React",
5
5
  "author": "Rasyiqi Crediblemark",
6
6
  "repository": {