prime-ui-kit 0.5.1 → 0.6.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.
@@ -120,8 +120,7 @@ function mergeRefs(...refs) {
120
120
  var AppShell_default = {
121
121
  layoutRoot: "AppShell_layoutRoot2",
122
122
  layoutMain: "AppShell_layoutMain2",
123
- layoutNav: "AppShell_layoutNav2",
124
- layoutMainInset: "AppShell_layoutMainInset2"
123
+ layoutNav: "AppShell_layoutNav2"
125
124
  };
126
125
 
127
126
  // src/layout/app-shell/AppShell.tsx
@@ -153,27 +152,13 @@ var AppShellMain = React4.forwardRef(function AppShellMain2({ className, childre
153
152
  overscrollBehavior: "contain",
154
153
  className: cx(AppShell_default.layoutMain, className),
155
154
  "data-layout-region": "main",
155
+ "data-app-shell-main-padded": "",
156
156
  ...rest,
157
157
  children
158
158
  }
159
159
  );
160
160
  });
161
161
  AppShellMain.displayName = "AppShell.Main";
162
- var AppShellMainInset = React4.forwardRef(
163
- function AppShellMainInset2({ className, children, ...rest }, forwardedRef) {
164
- return /* @__PURE__ */ jsx4(
165
- "div",
166
- {
167
- ref: forwardedRef,
168
- className: cx(AppShell_default.layoutMainInset, className),
169
- "data-app-shell-main-inset": "",
170
- ...rest,
171
- children
172
- }
173
- );
174
- }
175
- );
176
- AppShellMainInset.displayName = "AppShell.MainInset";
177
162
  function AppShellMainRouteScrollReset({
178
163
  mainRef
179
164
  }) {
@@ -198,7 +183,7 @@ var AppShellTemplate = React4.forwardRef(
198
183
  children: [
199
184
  /* @__PURE__ */ jsx4(AppShellNav, { ...navProps, children: nav }),
200
185
  /* @__PURE__ */ jsxs(AppShellMain, { ref: setMainRef, ...mainProps, children: [
201
- /* @__PURE__ */ jsx4(AppShellMainInset, { children }),
186
+ children,
202
187
  inRouter ? /* @__PURE__ */ jsx4(AppShellMainRouteScrollReset, { mainRef: mainElementRef }) : null
203
188
  ] })
204
189
  ]
@@ -211,7 +196,6 @@ var AppShell = {
211
196
  Root: AppShellRoot,
212
197
  Nav: AppShellNav,
213
198
  Main: AppShellMain,
214
- MainInset: AppShellMainInset,
215
199
  Template: AppShellTemplate
216
200
  };
217
201