react-better-html 1.1.188 → 1.1.189
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -984,6 +984,8 @@ type BetterHtmlConfig = {
|
|
|
984
984
|
icons: Partial<IconsConfig>;
|
|
985
985
|
assets: Partial<AssetsConfig>;
|
|
986
986
|
loaders: Partial<LoaderConfig>;
|
|
987
|
+
sideMenuIsCollapsed: boolean;
|
|
988
|
+
sideMenuIsOpenMobile: boolean;
|
|
987
989
|
components: {
|
|
988
990
|
button?: {
|
|
989
991
|
style?: ComponentStyleConfig<"default" | "secondary" | "destructive" | "icon" | "upload">;
|
package/dist/index.d.ts
CHANGED
|
@@ -984,6 +984,8 @@ type BetterHtmlConfig = {
|
|
|
984
984
|
icons: Partial<IconsConfig>;
|
|
985
985
|
assets: Partial<AssetsConfig>;
|
|
986
986
|
loaders: Partial<LoaderConfig>;
|
|
987
|
+
sideMenuIsCollapsed: boolean;
|
|
988
|
+
sideMenuIsOpenMobile: boolean;
|
|
987
989
|
components: {
|
|
988
990
|
button?: {
|
|
989
991
|
style?: ComponentStyleConfig<"default" | "secondary" | "destructive" | "icon" | "upload">;
|
package/dist/index.js
CHANGED
|
@@ -9604,10 +9604,10 @@ var SideMenuComponent = function SideMenu({
|
|
|
9604
9604
|
readyBottomItems && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
9605
9605
|
Div_default.column,
|
|
9606
9606
|
{
|
|
9607
|
-
borderTop: `solid 1px ${theme2.colors.border}
|
|
9607
|
+
borderTop: mediaQuery.size1000 ? `solid 1px ${theme2.colors.border}` : void 0,
|
|
9608
9608
|
gap: theme2.styles.gap / 2,
|
|
9609
9609
|
marginTop: "auto",
|
|
9610
|
-
paddingTop: theme2.styles.space,
|
|
9610
|
+
paddingTop: mediaQuery.size1000 ? theme2.styles.space : void 0,
|
|
9611
9611
|
paddingInline: theme2.styles.space,
|
|
9612
9612
|
paddingBottom: !isCollapsable ? theme2.styles.space : void 0,
|
|
9613
9613
|
children: readyBottomItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(MenuItemComponent, { item, onClick: onClickXButton }, item.text))
|