xmlui 0.11.9 → 0.11.10

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.
@@ -4321,23 +4321,24 @@ function getComposedRef(...refs) {
4321
4321
  return composeRefs(...nonUndefinedRefs);
4322
4322
  }
4323
4323
  const themeVars$U = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "backgroundColor-navPanel-App": "var(--xmlui-backgroundColor-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
4324
- const wrapper$l = "_wrapper_1le1z_15";
4325
- const verticalFullHeader = "_verticalFullHeader_1le1z_15";
4326
- const navPanelWrapper = "_navPanelWrapper_1le1z_15";
4327
- const vertical$5 = "_vertical_1le1z_15";
4328
- const contentWrapper$2 = "_contentWrapper_1le1z_33";
4329
- const noScrollbarGutters = "_noScrollbarGutters_1le1z_39";
4330
- const PagesWrapper = "_PagesWrapper_1le1z_46";
4331
- const footerWrapper = "_footerWrapper_1le1z_50";
4332
- const sticky = "_sticky_1le1z_53";
4333
- const nonSticky = "_nonSticky_1le1z_57";
4334
- const horizontal$5 = "_horizontal_1le1z_60";
4335
- const headerWrapper$1 = "_headerWrapper_1le1z_86";
4336
- const desktop = "_desktop_1le1z_92";
4337
- const PagesWrapperInner = "_PagesWrapperInner_1le1z_150";
4338
- const scrollWholePage = "_scrollWholePage_1le1z_228";
4339
- const content$7 = "_content_1le1z_33";
4340
- const withDefaultContentPadding = "_withDefaultContentPadding_1le1z_342";
4324
+ const wrapper$l = "_wrapper_188ri_15";
4325
+ const verticalFullHeader = "_verticalFullHeader_188ri_15";
4326
+ const navPanelWrapper = "_navPanelWrapper_188ri_15";
4327
+ const vertical$5 = "_vertical_188ri_15";
4328
+ const contentWrapper$2 = "_contentWrapper_188ri_33";
4329
+ const noScrollbarGutters = "_noScrollbarGutters_188ri_39";
4330
+ const PagesWrapper = "_PagesWrapper_188ri_46";
4331
+ const footerWrapper = "_footerWrapper_188ri_50";
4332
+ const sticky = "_sticky_188ri_53";
4333
+ const nonSticky = "_nonSticky_188ri_57";
4334
+ const horizontal$5 = "_horizontal_188ri_60";
4335
+ const headerWrapper$1 = "_headerWrapper_188ri_86";
4336
+ const desktop = "_desktop_188ri_92";
4337
+ const PagesWrapperInner = "_PagesWrapperInner_188ri_150";
4338
+ const noFooter = "_noFooter_188ri_208";
4339
+ const scrollWholePage = "_scrollWholePage_188ri_234";
4340
+ const content$7 = "_content_188ri_33";
4341
+ const withDefaultContentPadding = "_withDefaultContentPadding_188ri_348";
4341
4342
  const styles$1c = {
4342
4343
  themeVars: themeVars$U,
4343
4344
  wrapper: wrapper$l,
@@ -4354,6 +4355,7 @@ const styles$1c = {
4354
4355
  headerWrapper: headerWrapper$1,
4355
4356
  desktop,
4356
4357
  PagesWrapperInner,
4358
+ noFooter,
4357
4359
  scrollWholePage,
4358
4360
  content: content$7,
4359
4361
  withDefaultContentPadding
@@ -7430,6 +7432,7 @@ function App({
7430
7432
  {
7431
7433
  [styles$1c.scrollWholePage]: scrollWholePage2,
7432
7434
  [styles$1c.noScrollbarGutters]: noScrollbarGutters2,
7435
+ [styles$1c.noFooter]: !footerSticky,
7433
7436
  "media-large": mediaSize.largeScreen,
7434
7437
  "media-small": mediaSize.smallScreen,
7435
7438
  "media-desktop": mediaSize.desktop,
@@ -8282,7 +8285,7 @@ const NavLinkMd = createMetadata({
8282
8285
  [`textColor-${COMP$1t}`]: "$textColor-primary",
8283
8286
  [`textColor-${COMP$1t}--active`]: "$color-primary-500",
8284
8287
  [`fontWeight-${COMP$1t}--active`]: "$fontWeight-bold",
8285
- [`fontWeight-${COMP$1t}--pressed`]: "$fontWeight-normal",
8288
+ [`fontWeight-${COMP$1t}--pressed`]: "$fontWeight-bold",
8286
8289
  [`thickness-indicator-${COMP$1t}`]: "$space-0_5",
8287
8290
  [`outlineColor-${COMP$1t}--focus`]: "$outlineColor--focus",
8288
8291
  [`outlineWidth-${COMP$1t}--focus`]: "$outlineWidth--focus",
@@ -15619,10 +15622,10 @@ const avatarComponentRenderer = createComponentRenderer(
15619
15622
  );
15620
15623
  }
15621
15624
  );
15622
- const themeVars$D = `'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)", "marginTop-ContentSeparator": "var(--xmlui-marginTop-ContentSeparator)", "marginBottom-ContentSeparator": "var(--xmlui-marginBottom-ContentSeparator)", "marginVertical-ContentSeparator": "var(--xmlui-marginVertical-ContentSeparator)", "marginLeft-ContentSeparator": "var(--xmlui-marginLeft-ContentSeparator)", "marginRight-ContentSeparator": "var(--xmlui-marginRight-ContentSeparator)", "marginHorizontal-ContentSeparator": "var(--xmlui-marginHorizontal-ContentSeparator)", "paddingTop-ContentSeparator": "var(--xmlui-paddingTop-ContentSeparator)", "paddingBottom-ContentSeparator": "var(--xmlui-paddingBottom-ContentSeparator)", "paddingVertical-ContentSeparator": "var(--xmlui-paddingVertical-ContentSeparator)", "paddingLeft-ContentSeparator": "var(--xmlui-paddingLeft-ContentSeparator)", "paddingRight-ContentSeparator": "var(--xmlui-paddingRight-ContentSeparator)", "paddingHorizontal-ContentSeparator": "var(--xmlui-paddingHorizontal-ContentSeparator)"}'`;
15623
- const separator = "_separator_m0e86_14";
15624
- const horizontal$3 = "_horizontal_m0e86_27";
15625
- const vertical$3 = "_vertical_m0e86_31";
15625
+ const themeVars$D = `'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "thickness-ContentSeparator": "var(--xmlui-thickness-ContentSeparator)", "length-ContentSeparator": "var(--xmlui-length-ContentSeparator)", "marginTop-ContentSeparator": "var(--xmlui-marginTop-ContentSeparator)", "marginBottom-ContentSeparator": "var(--xmlui-marginBottom-ContentSeparator)", "marginVertical-ContentSeparator": "var(--xmlui-marginVertical-ContentSeparator)", "marginLeft-ContentSeparator": "var(--xmlui-marginLeft-ContentSeparator)", "marginRight-ContentSeparator": "var(--xmlui-marginRight-ContentSeparator)", "marginHorizontal-ContentSeparator": "var(--xmlui-marginHorizontal-ContentSeparator)", "paddingTop-ContentSeparator": "var(--xmlui-paddingTop-ContentSeparator)", "paddingBottom-ContentSeparator": "var(--xmlui-paddingBottom-ContentSeparator)", "paddingVertical-ContentSeparator": "var(--xmlui-paddingVertical-ContentSeparator)", "paddingLeft-ContentSeparator": "var(--xmlui-paddingLeft-ContentSeparator)", "paddingRight-ContentSeparator": "var(--xmlui-paddingRight-ContentSeparator)", "paddingHorizontal-ContentSeparator": "var(--xmlui-paddingHorizontal-ContentSeparator)"}'`;
15626
+ const separator = "_separator_1r9lf_14";
15627
+ const horizontal$3 = "_horizontal_1r9lf_27";
15628
+ const vertical$3 = "_vertical_1r9lf_31";
15626
15629
  const styles$Y = {
15627
15630
  themeVars: themeVars$D,
15628
15631
  separator,
@@ -15633,7 +15636,22 @@ const defaultProps$W = {
15633
15636
  orientation: "horizontal"
15634
15637
  };
15635
15638
  const ContentSeparator = forwardRef(
15636
- ({ orientation = defaultProps$W.orientation, size, style: style2, className, ...rest }, ref) => {
15639
+ ({ orientation = defaultProps$W.orientation, thickness, length, style: style2, className, ...rest }, ref) => {
15640
+ const inlineStyles = {};
15641
+ if (thickness !== void 0) {
15642
+ if (orientation === "horizontal") {
15643
+ inlineStyles.height = thickness;
15644
+ } else {
15645
+ inlineStyles.width = thickness;
15646
+ }
15647
+ }
15648
+ if (length !== void 0) {
15649
+ if (orientation === "horizontal") {
15650
+ inlineStyles.width = length;
15651
+ } else {
15652
+ inlineStyles.height = length;
15653
+ }
15654
+ }
15637
15655
  return /* @__PURE__ */ jsx(
15638
15656
  "div",
15639
15657
  {
@@ -15648,8 +15666,7 @@ const ContentSeparator = forwardRef(
15648
15666
  className
15649
15667
  ),
15650
15668
  style: {
15651
- height: orientation === "horizontal" ? size : void 0,
15652
- width: orientation === "horizontal" ? "100%" : size,
15669
+ ...inlineStyles,
15653
15670
  ...style2
15654
15671
  }
15655
15672
  }
@@ -15661,8 +15678,12 @@ const ContentSeparatorMd = createMetadata({
15661
15678
  status: "stable",
15662
15679
  description: "`ContentSeparator` creates visual dividers between content sections using horizontal or vertical lines. It's essential for improving readability by breaking up dense content, separating list items, or creating clear boundaries between different UI sections.",
15663
15680
  props: {
15664
- size: {
15665
- description: "This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical). If not defined, the component uses the entire available width or height.",
15681
+ thickness: {
15682
+ description: "This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical). If not defined, the component uses the theme variable `thickness-ContentSeparator` (default: 1px).",
15683
+ valueType: "any"
15684
+ },
15685
+ length: {
15686
+ description: "This property defines the component's width (if the `orientation` is horizontal) or the height (if the `orientation` is vertical). If not defined, the component uses the theme variable `length-ContentSeparator` (default: 100%).",
15666
15687
  valueType: "any"
15667
15688
  },
15668
15689
  orientation: {
@@ -15675,7 +15696,8 @@ const ContentSeparatorMd = createMetadata({
15675
15696
  themeVars: parseScssVar(styles$Y.themeVars),
15676
15697
  defaultThemeVars: {
15677
15698
  [`backgroundColor-${COMP$1h}`]: "$color-surface-200",
15678
- [`size-${COMP$1h}`]: "1px",
15699
+ [`thickness-${COMP$1h}`]: "1px",
15700
+ [`length-${COMP$1h}`]: "100%",
15679
15701
  [`marginVertical-${COMP$1h}`]: "0",
15680
15702
  [`marginHorizontal-${COMP$1h}`]: "0",
15681
15703
  [`paddingVertical-${COMP$1h}`]: "0",
@@ -15696,7 +15718,8 @@ const contentSeparatorComponentRenderer = createComponentRenderer(
15696
15718
  ContentSeparator,
15697
15719
  {
15698
15720
  orientation: extractValue(node.props.orientation),
15699
- size: extractValue.asSize(node.props.size),
15721
+ thickness: extractValue.asSize(node.props.thickness),
15722
+ length: extractValue.asSize(node.props.length),
15700
15723
  className
15701
15724
  }
15702
15725
  );
@@ -24383,7 +24406,7 @@ function ApiInterceptorProvider({
24383
24406
  return;
24384
24407
  }
24385
24408
  void (async () => {
24386
- const { initMock } = await import("./initMock-GfhLAym0.js");
24409
+ const { initMock } = await import("./initMock-DZD5kuk6.js");
24387
24410
  const apiInstance2 = await initMock(interceptor);
24388
24411
  setApiInstance(apiInstance2);
24389
24412
  setInitialized(true);
@@ -24400,7 +24423,7 @@ function ApiInterceptorProvider({
24400
24423
  if (process.env.VITE_MOCK_ENABLED) {
24401
24424
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24402
24425
  useWorker ? import("./apiInterceptorWorker-dwrAyq6l.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
24403
- import("./initMock-GfhLAym0.js")
24426
+ import("./initMock-DZD5kuk6.js")
24404
24427
  ]);
24405
24428
  if (interceptor || forceInitialize) {
24406
24429
  const apiInstance2 = await initMock(interceptor || {});
@@ -24437,7 +24460,7 @@ function ApiInterceptorProvider({
24437
24460
  void (async () => {
24438
24461
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24439
24462
  import("./apiInterceptorWorker-dwrAyq6l.js"),
24440
- import("./initMock-GfhLAym0.js")
24463
+ import("./initMock-DZD5kuk6.js")
24441
24464
  ]);
24442
24465
  const apiInstance2 = await initMock(interceptor);
24443
24466
  await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
@@ -28892,6 +28915,7 @@ function AppNode({ node, extractValue, renderChild: renderChild2, className, loo
28892
28915
  ...appProps,
28893
28916
  header: renderedHeader,
28894
28917
  footer: renderedFooter,
28918
+ footerSticky,
28895
28919
  navPanel: renderedNavPanel,
28896
28920
  navPanelDef: NavPanel3,
28897
28921
  logoContentDef: node.props.logoTemplate,
@@ -29149,6 +29173,7 @@ const NavPanelMd = createMetadata({
29149
29173
  [`backgroundColor-${COMP$S}-horizontal`]: "$backgroundColor-AppHeader",
29150
29174
  [`border-${COMP$S}`]: "0px solid $borderColor",
29151
29175
  [`borderRight-${COMP$S}-vertical`]: "1px solid $borderColor",
29176
+ [`paddingVertical-${COMP$S}`]: "$space-5",
29152
29177
  [`paddingHorizontal-${COMP$S}`]: "0",
29153
29178
  [`paddingVertical-logo-${COMP$S}`]: "$space-4",
29154
29179
  [`paddingHorizontal-logo-${COMP$S}`]: "$space-4",
@@ -31017,6 +31042,8 @@ const RootThemeDefinition = {
31017
31042
  "boxShadow-spread-2-xl": "-6px -4px 40px 18px rgba(0, 0, 0, 0.1)",
31018
31043
  // --- The default maximum content width
31019
31044
  "maxWidth-content": "1280px",
31045
+ // --- The default maximum content column width
31046
+ "maxWidth-columnContent": "800px",
31020
31047
  // --- Background colors
31021
31048
  backgroundColor: "$color-surface-subtle",
31022
31049
  "backgroundColor-overlay": "rgba(0, 0, 0, 0.2)",
@@ -46275,7 +46302,7 @@ function IconProvider({ children }) {
46275
46302
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
46276
46303
  ] });
46277
46304
  }
46278
- const version = "0.11.9";
46305
+ const version = "0.11.10";
46279
46306
  const miscellaneousUtils = {
46280
46307
  capitalize,
46281
46308
  pluralize: pluralize$1,