@ctrliq/quantic-components 1.64.4 → 1.65.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/dist/index.js.map +1 -1
- package/dist/layout/page.component.d.ts +1 -0
- package/dist/layout/page.component.js +19 -0
- package/dist/layout/page.stories.d.ts +10 -0
- package/dist/layout/page.stories.js +23 -0
- package/dist/meta/index.js.map +1 -1
- package/dist/quantic-components.js +19 -0
- package/dist/quantic-components.js.map +1 -1
- package/dist/quantic-components.min.js +12 -2
- package/dist/quantic-components.min.js.map +1 -1
- package/dist/types/layout/page.component.d.ts +1 -0
- package/dist/types/layout/page.stories.d.ts +10 -0
- package/package.json +3 -3
|
@@ -37354,13 +37354,15 @@ const to="important",io=" !"+to,no=Re(class extends Oe{constructor(e){if(super(e
|
|
|
37354
37354
|
:host {
|
|
37355
37355
|
display: contents;
|
|
37356
37356
|
}
|
|
37357
|
-
`,t([en({context:zo,subscribe:!0})],e.LayoutLogo.prototype,"expanded",void 0),e.LayoutLogo=t([be("quantic-layout-logo")],e.LayoutLogo),e.Page=class extends Ce{constructor(){super(...arguments),this.fill=!1,this.bleeds=!1}render(){return ze`
|
|
37357
|
+
`,t([en({context:zo,subscribe:!0})],e.LayoutLogo.prototype,"expanded",void 0),e.LayoutLogo=t([be("quantic-layout-logo")],e.LayoutLogo),e.Page=class extends Ce{constructor(){super(...arguments),this.fill=!1,this.bleeds=!1,this.contained=!1}render(){return ze`
|
|
37358
37358
|
<main class="main">
|
|
37359
37359
|
<slot></slot>
|
|
37360
37360
|
</main>
|
|
37361
37361
|
`}},e.Page.meta={tag:"quantic-page",description:"Main content area of the quantic-layout shell. Wraps content in a semantic <main> element and fills available space.",category:"layout",slots:{"":{description:"Page content."}},relatedTo:["quantic-layout"]},e.Page.styles=l`
|
|
37362
37362
|
:host {
|
|
37363
37363
|
--quantic-component-page-padding: var(--quantic-spacing-4);
|
|
37364
|
+
--quantic-component-page-max-width: 80rem;
|
|
37365
|
+
--quantic-component-page-contained-padding-inline: calc(2 * var(--quantic-component-page-padding));
|
|
37364
37366
|
display: block;
|
|
37365
37367
|
width: 100%;
|
|
37366
37368
|
height: 100%;
|
|
@@ -37386,7 +37388,15 @@ const to="important",io=" !"+to,no=Re(class extends Oe{constructor(e){if(super(e
|
|
|
37386
37388
|
:host([fill]) .main {
|
|
37387
37389
|
overflow: hidden;
|
|
37388
37390
|
}
|
|
37389
|
-
|
|
37391
|
+
|
|
37392
|
+
@media (min-width: 48rem) {
|
|
37393
|
+
:host([contained]:not([bleeds])) .main {
|
|
37394
|
+
max-width: var(--quantic-component-page-max-width);
|
|
37395
|
+
margin-inline: auto;
|
|
37396
|
+
padding-inline: var(--quantic-component-page-contained-padding-inline);
|
|
37397
|
+
}
|
|
37398
|
+
}
|
|
37399
|
+
`,t([Ie({type:"boolean",default:"false",reflect:!0,description:"Constrain the page to the available height and clip overflow, so internal regions own their own scrolling (e.g. splitter panes, full-height grids, maps). Without this, the page grows with its content and the layout body slot scrolls."})],e.Page.prototype,"fill",void 0),t([Ie({type:"boolean",default:"false",reflect:!0,description:"Remove the default padding so content extends edge-to-edge. Useful for full-bleed layouts such as maps, images, or custom-padded regions."})],e.Page.prototype,"bleeds",void 0),t([Ie({type:"boolean",default:"false",reflect:!0,description:"Constrain the page content to a maximum width and center it horizontally on viewports wider than the md breakpoint. Override the width via --quantic-component-page-max-width and inline padding via --quantic-component-page-contained-padding-inline."})],e.Page.prototype,"contained",void 0),e.Page=t([be("quantic-page")],e.Page);const Ho={Top:"top",TopStart:"top-start",TopEnd:"top-end",Bottom:"bottom",BottomStart:"bottom-start",BottomEnd:"bottom-end",Left:"left",LeftStart:"left-start",LeftEnd:"left-end",Right:"right",RightStart:"right-start",RightEnd:"right-end"},To={Small:"sm",Medium:"md",Large:"lg"};var Do,Vo,Fo;e.TooltipPopup=class extends Ce{constructor(){super(...arguments),this.visible=!1}render(){return G`
|
|
37390
37400
|
<div class="content"><slot></slot></div>
|
|
37391
37401
|
<div class="arrow"></div>
|
|
37392
37402
|
`}},e.TooltipPopup.meta={tag:"quantic-tooltip-popup",description:"Internal floating content container for quantic-tooltip. Positioned absolutely relative to the trigger via @floating-ui/dom. Not intended for direct use — use quantic-tooltip instead.",category:"feedback",slots:{"":{description:"Tooltip content (managed by quantic-tooltip)."}},relatedTo:["quantic-tooltip"]},e.TooltipPopup.styles=l`
|