@slotted/angular 0.1.0-beta.36 → 0.1.0-beta.37

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.
Files changed (68) hide show
  1. package/docs/button.json +1 -1
  2. package/docs/button.md +1 -90
  3. package/docs/button.props.md +97 -0
  4. package/docs/calendar.json +22 -0
  5. package/docs/calendar.md +4 -1
  6. package/docs/chart.json +1 -1
  7. package/docs/chart.md +1 -1
  8. package/docs/collapsible.json +2 -1
  9. package/docs/collapsible.md +1 -1
  10. package/docs/floating-panel.json +22 -4
  11. package/docs/floating-panel.md +6 -4
  12. package/docs/message.json +7 -0
  13. package/docs/message.md +1 -0
  14. package/docs/page.json +7 -0
  15. package/docs/page.md +1 -0
  16. package/docs/section.json +10 -2
  17. package/docs/section.md +2 -1
  18. package/docs/skills/theme-app/SKILL.md +1 -1
  19. package/docs/table.json +15 -3
  20. package/docs/table.md +4 -3
  21. package/fesm2022/slotted-angular-app-shell.mjs +2 -2
  22. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  23. package/fesm2022/slotted-angular-button.mjs +16 -15
  24. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  25. package/fesm2022/slotted-angular-calendar.mjs +249 -137
  26. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  27. package/fesm2022/slotted-angular-chart.mjs +11 -5
  28. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  29. package/fesm2022/slotted-angular-collapsible.mjs +10 -6
  30. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  31. package/fesm2022/slotted-angular-dashboard-grid.mjs +2 -2
  32. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  33. package/fesm2022/slotted-angular-date-picker.mjs +1 -1
  34. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  35. package/fesm2022/slotted-angular-date-range-picker.mjs +1 -1
  36. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  37. package/fesm2022/slotted-angular-datetime-picker.mjs +1 -1
  38. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  39. package/fesm2022/slotted-angular-datetime-range-picker.mjs +1 -1
  40. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  41. package/fesm2022/slotted-angular-floating-panel.mjs +33 -30
  42. package/fesm2022/slotted-angular-floating-panel.mjs.map +1 -1
  43. package/fesm2022/slotted-angular-message.mjs +18 -8
  44. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  45. package/fesm2022/slotted-angular-page.mjs +2 -2
  46. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  47. package/fesm2022/slotted-angular-section.mjs +20 -3
  48. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  49. package/fesm2022/slotted-angular-split-button.mjs +4 -4
  50. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  51. package/fesm2022/slotted-angular-table.mjs +37 -8
  52. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  53. package/package.json +3 -3
  54. package/types/slotted-angular-button.d.ts +2 -1
  55. package/types/slotted-angular-button.d.ts.map +1 -1
  56. package/types/slotted-angular-calendar.d.ts +26 -2
  57. package/types/slotted-angular-calendar.d.ts.map +1 -1
  58. package/types/slotted-angular-chart.d.ts.map +1 -1
  59. package/types/slotted-angular-collapsible.d.ts +4 -1
  60. package/types/slotted-angular-collapsible.d.ts.map +1 -1
  61. package/types/slotted-angular-floating-panel.d.ts +27 -22
  62. package/types/slotted-angular-floating-panel.d.ts.map +1 -1
  63. package/types/slotted-angular-message.d.ts +9 -3
  64. package/types/slotted-angular-message.d.ts.map +1 -1
  65. package/types/slotted-angular-section.d.ts +10 -1
  66. package/types/slotted-angular-section.d.ts.map +1 -1
  67. package/types/slotted-angular-table.d.ts +21 -7
  68. package/types/slotted-angular-table.d.ts.map +1 -1
@@ -154,7 +154,7 @@ class SlSection {
154
154
  });
155
155
  }
156
156
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlSection, deps: [], target: i0.ɵɵFactoryTarget.Component });
157
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: SlSection, isStandalone: true, selector: "[slSection]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, ground: { classPropertyName: "ground", publicName: "ground", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, divider: { classPropertyName: "divider", publicName: "divider", isSignal: true, isRequired: false, transformFunction: null }, sticky: { classPropertyName: "sticky", publicName: "sticky", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "section", "data-ui-section": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.id": "id()", "attr.aria-labelledby": "hasHeading() ? headingId() : null", "attr.data-size": "resolvedSize()", "attr.data-level": "resolvedLevel()", "attr.data-ground": "resolvedGround()", "attr.data-heading": "resolvedHeading()", "attr.data-divider": "resolvedDivider() ? '' : null", "attr.data-sticky": "resolvedSticky() ? '' : null" } }, exportAs: ["slSection"], ngImport: i0, template: '<ng-content />', isInline: true, styles: ["@layer slotted.components{[data-ui-section]{--_gap: var(--slotted-section-gap, var(--slotted-space-5, .75rem));--_text: var(--slotted-text, CanvasText);--_muted: var(--slotted-text-muted, GrayText);--_rule: var(--slotted-section-border, var(--slotted-border-subtle, ButtonBorder));--_heading-size: var(--slotted-section-heading-size-md, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-md, var(--slotted-font-size-md, .875rem) );--_subheading-line-height: var(--slotted-line-height-md, 1.5);--_title-size: var(--slotted-section-title-size-md, var(--slotted-font-size-lg, 1rem));--_title-line-height: var(--slotted-line-height-lg, 1.5);--_ground: var(--slotted-page-ground, var(--slotted-surface, Canvas));color:var(--_text);display:flex;flex-direction:column;font-family:var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif);gap:var(--_gap);min-inline-size:0;scroll-margin-block-start:var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-size=sm]{--_heading-size: var(--slotted-section-heading-size-sm, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-sm, var(--slotted-font-size-sm, .8125rem) );--_subheading-line-height: var(--slotted-line-height-sm, 1.45);--_title-size: var(--slotted-section-title-size-sm, var(--slotted-font-size-md, .875rem));--_title-line-height: var(--slotted-line-height-md, 1.5)}[data-ui-section][data-size=lg]{--_heading-size: var(--slotted-section-heading-size-lg, var(--slotted-font-size-sm, .8125rem));--_heading-line-height: var(--slotted-line-height-sm, 1.45);--_subheading-size: var( --slotted-section-subheading-size-lg, var(--slotted-font-size-lg, 1rem) );--_subheading-line-height: var(--slotted-line-height-lg, 1.5);--_title-size: var(--slotted-section-title-size-lg, var(--slotted-font-size-xl, 1.125rem));--_title-line-height: var(--slotted-line-height-xl, 1.5)}:is([data-ui-container],[data-part-body])>[data-ui-section]+[data-ui-section]{margin-block-start:var(--slotted-section-spacing, var(--slotted-space-9, 2rem))}[data-ui-section]>[data-part-body]>[data-ui-section]:not(:first-child){margin-block-start:var(--slotted-section-subsection-spacing, var(--slotted-space-7, 1.25rem))}[data-ui-section][data-ground=surface]{--_ground: var(--slotted-section-surface, var(--slotted-surface-raised, Canvas));--slotted-ground: var(--_ground);background-color:var(--_ground);border:var(--slotted-border-width-thin, 1px) solid var(--_rule);border-radius:var(--slotted-section-radius, var(--slotted-radius-lg, 8px));padding:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section]>[data-part-header]{align-items:baseline;container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto auto auto 1fr;min-inline-size:0}[data-ui-section][data-divider]>[data-part-header]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--_rule);padding-block-end:var(--slotted-space-4, .5rem)}[data-ui-section][data-ground=surface][data-divider]>[data-part-header]{margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));padding-inline:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section][data-sticky]>[data-part-header]{background-color:var(--slotted-section-header-background, var(--_ground));inset-block-start:var(--slotted-page-sticky-top, 0px);margin-block-start:calc(-1 * var(--slotted-space-4, .5rem));padding-block-start:var(--slotted-space-4, .5rem);position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-section][data-sticky]{--_above: var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-sticky]>[data-part-body]{--slotted-page-sticky-top: calc(var(--_above) + var(--slotted-section-header-size, 0px));--slotted-table-sticky-offset: var(--slotted-page-sticky-top)}[data-ui-section]>[data-part-header]>[data-part-title]{align-items:baseline;display:grid;grid-column:1;grid-row:2 / span 3;grid-template-columns:minmax(min-content,max-content) 1fr;grid-template-rows:subgrid;min-inline-size:0}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-eyebrow]{color:var(--_muted);font-size:var(--slotted-font-size-xs, .75rem);grid-column:1 / -1;grid-row:1;margin-block-end:var(--slotted-space-1, .125rem);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--slotted-line-height-xs, 1.4);text-transform:uppercase}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_text);font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );font-size:var(--_heading-size);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.08em;line-height:var(--_heading-line-height);text-transform:uppercase;grid-column:1;grid-row:2;margin:0;min-inline-size:0;overflow-wrap:break-word;text-wrap:pretty}[data-ui-section][data-heading=title]>[data-part-header]>[data-part-title]>[data-part-heading]{font-size:var(--_title-size);letter-spacing:normal;line-height:var(--_title-line-height);text-transform:none}[data-ui-section] [data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_muted);font-size:var(--_subheading-size);letter-spacing:normal;line-height:var(--_subheading-line-height);text-transform:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]{align-items:baseline;display:flex;flex-wrap:wrap;gap:var(--slotted-space-3, .375rem);grid-column:2;grid-row:2;justify-self:start;margin-inline-start:var(--slotted-space-4, .5rem)}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]:empty{display:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-description]{color:var(--_muted);font-size:var(--slotted-font-size-sm, .8125rem);grid-column:1 / -1;grid-row:3;line-height:var(--slotted-line-height-sm, 1.45);margin:var(--slotted-section-description-gap, var(--slotted-space-1, .125rem)) 0 0;max-inline-size:var(--slotted-section-description-measure, 70ch);text-wrap:pretty}[data-ui-section]>[data-part-header]>[data-part-actions]{--slotted-link-font-size: var(--slotted-font-size-sm, .8125rem);align-items:center;align-self:center;display:flex;gap:var(--slotted-action-gap, 8px);grid-column:2;grid-row:1 / -1;margin-inline-start:var(--slotted-space-6, 1rem)}[data-ui-section]>[data-part-header]>[data-part-actions]:empty{display:none}@container (inline-size < 20rem){[data-ui-section]>[data-part-header]>[data-part-actions]{grid-column:1 / -1;grid-row:6;justify-self:end;margin:var(--slotted-space-3, .375rem) 0 0}}[data-ui-section]>[data-part-body]{min-inline-size:0}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]{--_inner-radius: calc( var(--slotted-section-radius, var(--slotted-radius-lg, 8px)) - var(--slotted-border-width-thin, 1px) );margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));overflow:clip}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:first-child{border-start-end-radius:var(--_inner-radius);border-start-start-radius:var(--_inner-radius);margin-block-start:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:last-child{border-end-end-radius:var(--_inner-radius);border-end-start-radius:var(--_inner-radius);margin-block-end:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
157
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: SlSection, isStandalone: true, selector: "[slSection]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, ground: { classPropertyName: "ground", publicName: "ground", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, divider: { classPropertyName: "divider", publicName: "divider", isSignal: true, isRequired: false, transformFunction: null }, sticky: { classPropertyName: "sticky", publicName: "sticky", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-ui": "section", "data-ui-section": "", "data-part": "root", "data-part-root": "" }, properties: { "attr.id": "id()", "attr.aria-labelledby": "hasHeading() ? headingId() : null", "attr.data-size": "resolvedSize()", "attr.data-level": "resolvedLevel()", "attr.data-ground": "resolvedGround()", "attr.data-heading": "resolvedHeading()", "attr.data-divider": "resolvedDivider() ? '' : null", "attr.data-sticky": "resolvedSticky() ? '' : null" } }, exportAs: ["slSection"], ngImport: i0, template: '<ng-content />', isInline: true, styles: ["@layer slotted.components{[data-ui-section]{--_gap: var(--slotted-section-gap, var(--slotted-space-5, .75rem));--_text: var(--slotted-text, CanvasText);--_muted: var(--slotted-text-muted, GrayText);--_rule: var(--slotted-section-border, var(--slotted-border-subtle, ButtonBorder));--_heading-size: var(--slotted-section-heading-size-md, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-md, var(--slotted-font-size-md, .875rem) );--_subheading-line-height: var(--slotted-line-height-md, 1.5);--_title-size: var(--slotted-section-title-size-md, var(--slotted-font-size-lg, 1rem));--_title-line-height: var(--slotted-line-height-lg, 1.5);--_ground: var(--slotted-page-ground, var(--slotted-surface, Canvas));color:var(--_text);display:flex;flex-direction:column;font-family:var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif);gap:var(--_gap);min-inline-size:0;scroll-margin-block-start:var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-size=sm]{--_heading-size: var(--slotted-section-heading-size-sm, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-sm, var(--slotted-font-size-sm, .8125rem) );--_subheading-line-height: var(--slotted-line-height-sm, 1.45);--_title-size: var(--slotted-section-title-size-sm, var(--slotted-font-size-md, .875rem));--_title-line-height: var(--slotted-line-height-md, 1.5)}[data-ui-section][data-size=lg]{--_heading-size: var(--slotted-section-heading-size-lg, var(--slotted-font-size-sm, .8125rem));--_heading-line-height: var(--slotted-line-height-sm, 1.45);--_subheading-size: var( --slotted-section-subheading-size-lg, var(--slotted-font-size-lg, 1rem) );--_subheading-line-height: var(--slotted-line-height-lg, 1.5);--_title-size: var(--slotted-section-title-size-lg, var(--slotted-font-size-xl, 1.125rem));--_title-line-height: var(--slotted-line-height-xl, 1.5)}:is([data-ui-container],[data-part-body])>[data-ui-section]+[data-ui-section]{margin-block-start:var(--slotted-section-spacing, var(--slotted-space-9, 2rem))}[data-ui-section]>[data-part-body]>[data-ui-section]:not(:first-child){margin-block-start:var(--slotted-section-subsection-spacing, var(--slotted-space-7, 1.25rem))}[data-ui-section][data-ground=surface]{--_ground: var(--slotted-section-surface, var(--slotted-surface-raised, Canvas));--slotted-ground: var(--_ground);background-color:var(--_ground);border:var(--slotted-border-width-thin, 1px) solid var(--_rule);border-radius:var(--slotted-section-radius, var(--slotted-radius-lg, 8px));padding:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section]>[data-part-header]{align-items:baseline;container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto auto auto 1fr;min-inline-size:0}[data-ui-section][data-divider]>[data-part-header]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--_rule);padding-block-end:var(--slotted-space-4, .5rem)}[data-ui-section][data-ground=surface][data-divider]>[data-part-header]{margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));padding-inline:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section][data-sticky]>[data-part-header]{background-color:var(--slotted-section-header-background, var(--_ground));inset-block-start:var(--slotted-page-sticky-top, 0px);margin-block-start:calc(-1 * var(--slotted-space-4, .5rem));padding-block-start:var(--slotted-space-4, .5rem);position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-section][data-sticky]{--_above: var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-sticky]>[data-part-body]{--slotted-page-sticky-top: calc(var(--_above) + var(--slotted-section-header-size, 0px));--slotted-table-sticky-offset: var(--slotted-page-sticky-top)}[data-ui-section]>[data-part-header]>[data-part-title]{align-items:baseline;display:grid;grid-column:1;grid-row:2 / span 3;grid-template-columns:minmax(min-content,max-content) 1fr;grid-template-rows:subgrid;min-inline-size:0}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-eyebrow]{color:var(--_muted);font-size:var(--slotted-font-size-xs, .75rem);grid-column:1 / -1;grid-row:1;margin-block-end:var(--slotted-space-1, .125rem);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--slotted-line-height-xs, 1.4);text-transform:uppercase}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_text);font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );font-size:var(--_heading-size);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.08em;line-height:var(--_heading-line-height);text-transform:uppercase;grid-column:1;grid-row:2;margin:0;min-inline-size:0;overflow-wrap:break-word;text-wrap:pretty}[data-ui-section][data-heading=title]>[data-part-header]>[data-part-title]>[data-part-heading]{font-size:var(--_title-size);letter-spacing:normal;line-height:var(--_title-line-height);text-transform:none}[data-ui-section] [data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_muted);font-size:var(--_subheading-size);letter-spacing:normal;line-height:var(--_subheading-line-height);text-transform:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]{align-items:baseline;display:flex;flex-wrap:wrap;gap:var(--slotted-space-3, .375rem);grid-column:2;grid-row:2;justify-self:start;margin-inline-start:var(--slotted-space-4, .5rem)}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]:empty{display:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-description]{color:var(--_muted);font-size:var(--slotted-font-size-sm, .8125rem);grid-column:1 / -1;grid-row:3;line-height:var(--slotted-line-height-sm, 1.45);margin:var(--slotted-section-description-gap, var(--slotted-space-1, .125rem)) 0 0;max-inline-size:var(--slotted-section-description-measure, 70ch);text-wrap:pretty}[data-ui-section]>[data-part-header]>[data-part-actions]{--slotted-link-font-size: var(--slotted-font-size-sm, .8125rem);align-items:center;align-self:center;display:flex;gap:var(--slotted-action-gap, 8px);grid-column:2;grid-row:1 / -1;margin-inline-start:var(--slotted-space-6, 1rem)}[data-ui-section]>[data-part-header]>[data-part-actions]:empty{display:none}@container (inline-size < 20rem){[data-ui-section]>[data-part-header]>[data-part-actions]{grid-column:1 / -1;grid-row:6;justify-self:end;margin:var(--slotted-space-3, .375rem) 0 0}}[data-ui-section]>[data-part-body]{min-inline-size:0}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]{--_inner-radius: calc( var(--slotted-section-radius, var(--slotted-radius-lg, 8px)) - var(--slotted-border-width-thin, 1px) );margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));overflow:clip}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:first-child{border-start-end-radius:var(--_inner-radius);border-start-start-radius:var(--_inner-radius);margin-block-start:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:last-child{border-end-end-radius:var(--_inner-radius);border-end-start-radius:var(--_inner-radius);margin-block-end:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}[data-ui-section][data-ground=surface]>[data-part-body]>[data-part-bleed],[data-ui-section][data-ground=surface]>[data-part-body]>*>[data-part-bleed]{--_inner-radius: calc( var(--slotted-section-radius, var(--slotted-radius-lg, 8px)) - var(--slotted-border-width-thin, 1px) );justify-self:stretch;margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));max-inline-size:none;min-inline-size:0;overflow:clip}[data-ui-section][data-ground=surface]>[data-part-body]:last-child>[data-part-bleed]:last-child,[data-ui-section][data-ground=surface]>[data-part-body]:last-child>:last-child>[data-part-bleed]:last-child{border-end-end-radius:var(--_inner-radius);border-end-start-radius:var(--_inner-radius);margin-block-end:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
158
158
  }
159
159
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlSection, decorators: [{
160
160
  type: Component,
@@ -171,7 +171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
171
171
  '[attr.data-heading]': 'resolvedHeading()',
172
172
  '[attr.data-divider]': "resolvedDivider() ? '' : null",
173
173
  '[attr.data-sticky]': "resolvedSticky() ? '' : null",
174
- }, styles: ["@layer slotted.components{[data-ui-section]{--_gap: var(--slotted-section-gap, var(--slotted-space-5, .75rem));--_text: var(--slotted-text, CanvasText);--_muted: var(--slotted-text-muted, GrayText);--_rule: var(--slotted-section-border, var(--slotted-border-subtle, ButtonBorder));--_heading-size: var(--slotted-section-heading-size-md, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-md, var(--slotted-font-size-md, .875rem) );--_subheading-line-height: var(--slotted-line-height-md, 1.5);--_title-size: var(--slotted-section-title-size-md, var(--slotted-font-size-lg, 1rem));--_title-line-height: var(--slotted-line-height-lg, 1.5);--_ground: var(--slotted-page-ground, var(--slotted-surface, Canvas));color:var(--_text);display:flex;flex-direction:column;font-family:var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif);gap:var(--_gap);min-inline-size:0;scroll-margin-block-start:var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-size=sm]{--_heading-size: var(--slotted-section-heading-size-sm, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-sm, var(--slotted-font-size-sm, .8125rem) );--_subheading-line-height: var(--slotted-line-height-sm, 1.45);--_title-size: var(--slotted-section-title-size-sm, var(--slotted-font-size-md, .875rem));--_title-line-height: var(--slotted-line-height-md, 1.5)}[data-ui-section][data-size=lg]{--_heading-size: var(--slotted-section-heading-size-lg, var(--slotted-font-size-sm, .8125rem));--_heading-line-height: var(--slotted-line-height-sm, 1.45);--_subheading-size: var( --slotted-section-subheading-size-lg, var(--slotted-font-size-lg, 1rem) );--_subheading-line-height: var(--slotted-line-height-lg, 1.5);--_title-size: var(--slotted-section-title-size-lg, var(--slotted-font-size-xl, 1.125rem));--_title-line-height: var(--slotted-line-height-xl, 1.5)}:is([data-ui-container],[data-part-body])>[data-ui-section]+[data-ui-section]{margin-block-start:var(--slotted-section-spacing, var(--slotted-space-9, 2rem))}[data-ui-section]>[data-part-body]>[data-ui-section]:not(:first-child){margin-block-start:var(--slotted-section-subsection-spacing, var(--slotted-space-7, 1.25rem))}[data-ui-section][data-ground=surface]{--_ground: var(--slotted-section-surface, var(--slotted-surface-raised, Canvas));--slotted-ground: var(--_ground);background-color:var(--_ground);border:var(--slotted-border-width-thin, 1px) solid var(--_rule);border-radius:var(--slotted-section-radius, var(--slotted-radius-lg, 8px));padding:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section]>[data-part-header]{align-items:baseline;container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto auto auto 1fr;min-inline-size:0}[data-ui-section][data-divider]>[data-part-header]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--_rule);padding-block-end:var(--slotted-space-4, .5rem)}[data-ui-section][data-ground=surface][data-divider]>[data-part-header]{margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));padding-inline:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section][data-sticky]>[data-part-header]{background-color:var(--slotted-section-header-background, var(--_ground));inset-block-start:var(--slotted-page-sticky-top, 0px);margin-block-start:calc(-1 * var(--slotted-space-4, .5rem));padding-block-start:var(--slotted-space-4, .5rem);position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-section][data-sticky]{--_above: var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-sticky]>[data-part-body]{--slotted-page-sticky-top: calc(var(--_above) + var(--slotted-section-header-size, 0px));--slotted-table-sticky-offset: var(--slotted-page-sticky-top)}[data-ui-section]>[data-part-header]>[data-part-title]{align-items:baseline;display:grid;grid-column:1;grid-row:2 / span 3;grid-template-columns:minmax(min-content,max-content) 1fr;grid-template-rows:subgrid;min-inline-size:0}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-eyebrow]{color:var(--_muted);font-size:var(--slotted-font-size-xs, .75rem);grid-column:1 / -1;grid-row:1;margin-block-end:var(--slotted-space-1, .125rem);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--slotted-line-height-xs, 1.4);text-transform:uppercase}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_text);font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );font-size:var(--_heading-size);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.08em;line-height:var(--_heading-line-height);text-transform:uppercase;grid-column:1;grid-row:2;margin:0;min-inline-size:0;overflow-wrap:break-word;text-wrap:pretty}[data-ui-section][data-heading=title]>[data-part-header]>[data-part-title]>[data-part-heading]{font-size:var(--_title-size);letter-spacing:normal;line-height:var(--_title-line-height);text-transform:none}[data-ui-section] [data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_muted);font-size:var(--_subheading-size);letter-spacing:normal;line-height:var(--_subheading-line-height);text-transform:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]{align-items:baseline;display:flex;flex-wrap:wrap;gap:var(--slotted-space-3, .375rem);grid-column:2;grid-row:2;justify-self:start;margin-inline-start:var(--slotted-space-4, .5rem)}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]:empty{display:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-description]{color:var(--_muted);font-size:var(--slotted-font-size-sm, .8125rem);grid-column:1 / -1;grid-row:3;line-height:var(--slotted-line-height-sm, 1.45);margin:var(--slotted-section-description-gap, var(--slotted-space-1, .125rem)) 0 0;max-inline-size:var(--slotted-section-description-measure, 70ch);text-wrap:pretty}[data-ui-section]>[data-part-header]>[data-part-actions]{--slotted-link-font-size: var(--slotted-font-size-sm, .8125rem);align-items:center;align-self:center;display:flex;gap:var(--slotted-action-gap, 8px);grid-column:2;grid-row:1 / -1;margin-inline-start:var(--slotted-space-6, 1rem)}[data-ui-section]>[data-part-header]>[data-part-actions]:empty{display:none}@container (inline-size < 20rem){[data-ui-section]>[data-part-header]>[data-part-actions]{grid-column:1 / -1;grid-row:6;justify-self:end;margin:var(--slotted-space-3, .375rem) 0 0}}[data-ui-section]>[data-part-body]{min-inline-size:0}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]{--_inner-radius: calc( var(--slotted-section-radius, var(--slotted-radius-lg, 8px)) - var(--slotted-border-width-thin, 1px) );margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));overflow:clip}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:first-child{border-start-end-radius:var(--_inner-radius);border-start-start-radius:var(--_inner-radius);margin-block-start:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:last-child{border-end-end-radius:var(--_inner-radius);border-end-start-radius:var(--_inner-radius);margin-block-end:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}}\n"] }]
174
+ }, styles: ["@layer slotted.components{[data-ui-section]{--_gap: var(--slotted-section-gap, var(--slotted-space-5, .75rem));--_text: var(--slotted-text, CanvasText);--_muted: var(--slotted-text-muted, GrayText);--_rule: var(--slotted-section-border, var(--slotted-border-subtle, ButtonBorder));--_heading-size: var(--slotted-section-heading-size-md, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-md, var(--slotted-font-size-md, .875rem) );--_subheading-line-height: var(--slotted-line-height-md, 1.5);--_title-size: var(--slotted-section-title-size-md, var(--slotted-font-size-lg, 1rem));--_title-line-height: var(--slotted-line-height-lg, 1.5);--_ground: var(--slotted-page-ground, var(--slotted-surface, Canvas));color:var(--_text);display:flex;flex-direction:column;font-family:var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif);gap:var(--_gap);min-inline-size:0;scroll-margin-block-start:var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-size=sm]{--_heading-size: var(--slotted-section-heading-size-sm, var(--slotted-font-size-xs, .75rem));--_heading-line-height: var(--slotted-line-height-xs, 1.4);--_subheading-size: var( --slotted-section-subheading-size-sm, var(--slotted-font-size-sm, .8125rem) );--_subheading-line-height: var(--slotted-line-height-sm, 1.45);--_title-size: var(--slotted-section-title-size-sm, var(--slotted-font-size-md, .875rem));--_title-line-height: var(--slotted-line-height-md, 1.5)}[data-ui-section][data-size=lg]{--_heading-size: var(--slotted-section-heading-size-lg, var(--slotted-font-size-sm, .8125rem));--_heading-line-height: var(--slotted-line-height-sm, 1.45);--_subheading-size: var( --slotted-section-subheading-size-lg, var(--slotted-font-size-lg, 1rem) );--_subheading-line-height: var(--slotted-line-height-lg, 1.5);--_title-size: var(--slotted-section-title-size-lg, var(--slotted-font-size-xl, 1.125rem));--_title-line-height: var(--slotted-line-height-xl, 1.5)}:is([data-ui-container],[data-part-body])>[data-ui-section]+[data-ui-section]{margin-block-start:var(--slotted-section-spacing, var(--slotted-space-9, 2rem))}[data-ui-section]>[data-part-body]>[data-ui-section]:not(:first-child){margin-block-start:var(--slotted-section-subsection-spacing, var(--slotted-space-7, 1.25rem))}[data-ui-section][data-ground=surface]{--_ground: var(--slotted-section-surface, var(--slotted-surface-raised, Canvas));--slotted-ground: var(--_ground);background-color:var(--_ground);border:var(--slotted-border-width-thin, 1px) solid var(--_rule);border-radius:var(--slotted-section-radius, var(--slotted-radius-lg, 8px));padding:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section]>[data-part-header]{align-items:baseline;container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto auto auto 1fr;min-inline-size:0}[data-ui-section][data-divider]>[data-part-header]{border-block-end:var(--slotted-border-width-thin, 1px) solid var(--_rule);padding-block-end:var(--slotted-space-4, .5rem)}[data-ui-section][data-ground=surface][data-divider]>[data-part-header]{margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));padding-inline:var(--slotted-section-inset, var(--slotted-space-6, 1rem))}[data-ui-section][data-sticky]>[data-part-header]{background-color:var(--slotted-section-header-background, var(--_ground));inset-block-start:var(--slotted-page-sticky-top, 0px);margin-block-start:calc(-1 * var(--slotted-space-4, .5rem));padding-block-start:var(--slotted-space-4, .5rem);position:sticky;z-index:var(--slotted-z-index-sticky, 100)}[data-ui-section][data-sticky]{--_above: var(--slotted-page-sticky-top, 0px)}[data-ui-section][data-sticky]>[data-part-body]{--slotted-page-sticky-top: calc(var(--_above) + var(--slotted-section-header-size, 0px));--slotted-table-sticky-offset: var(--slotted-page-sticky-top)}[data-ui-section]>[data-part-header]>[data-part-title]{align-items:baseline;display:grid;grid-column:1;grid-row:2 / span 3;grid-template-columns:minmax(min-content,max-content) 1fr;grid-template-rows:subgrid;min-inline-size:0}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-eyebrow]{color:var(--_muted);font-size:var(--slotted-font-size-xs, .75rem);grid-column:1 / -1;grid-row:1;margin-block-end:var(--slotted-space-1, .125rem);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.06em;line-height:var(--slotted-line-height-xs, 1.4);text-transform:uppercase}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_text);font-family:var( --slotted-font-family-heading, var(--slotted-font-family-sans, ui-sans-serif, system-ui, sans-serif) );font-size:var(--_heading-size);font-weight:var(--slotted-font-weight-semibold, 600);letter-spacing:.08em;line-height:var(--_heading-line-height);text-transform:uppercase;grid-column:1;grid-row:2;margin:0;min-inline-size:0;overflow-wrap:break-word;text-wrap:pretty}[data-ui-section][data-heading=title]>[data-part-header]>[data-part-title]>[data-part-heading]{font-size:var(--_title-size);letter-spacing:normal;line-height:var(--_title-line-height);text-transform:none}[data-ui-section] [data-ui-section]>[data-part-header]>[data-part-title]>[data-part-heading]{color:var(--_muted);font-size:var(--_subheading-size);letter-spacing:normal;line-height:var(--_subheading-line-height);text-transform:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]{align-items:baseline;display:flex;flex-wrap:wrap;gap:var(--slotted-space-3, .375rem);grid-column:2;grid-row:2;justify-self:start;margin-inline-start:var(--slotted-space-4, .5rem)}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-tags]:empty{display:none}[data-ui-section]>[data-part-header]>[data-part-title]>[data-part-description]{color:var(--_muted);font-size:var(--slotted-font-size-sm, .8125rem);grid-column:1 / -1;grid-row:3;line-height:var(--slotted-line-height-sm, 1.45);margin:var(--slotted-section-description-gap, var(--slotted-space-1, .125rem)) 0 0;max-inline-size:var(--slotted-section-description-measure, 70ch);text-wrap:pretty}[data-ui-section]>[data-part-header]>[data-part-actions]{--slotted-link-font-size: var(--slotted-font-size-sm, .8125rem);align-items:center;align-self:center;display:flex;gap:var(--slotted-action-gap, 8px);grid-column:2;grid-row:1 / -1;margin-inline-start:var(--slotted-space-6, 1rem)}[data-ui-section]>[data-part-header]>[data-part-actions]:empty{display:none}@container (inline-size < 20rem){[data-ui-section]>[data-part-header]>[data-part-actions]{grid-column:1 / -1;grid-row:6;justify-self:end;margin:var(--slotted-space-3, .375rem) 0 0}}[data-ui-section]>[data-part-body]{min-inline-size:0}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]{--_inner-radius: calc( var(--slotted-section-radius, var(--slotted-radius-lg, 8px)) - var(--slotted-border-width-thin, 1px) );margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));overflow:clip}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:first-child{border-start-end-radius:var(--_inner-radius);border-start-start-radius:var(--_inner-radius);margin-block-start:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}[data-ui-section][data-ground=surface]>[data-part-body][data-bleed]:last-child{border-end-end-radius:var(--_inner-radius);border-end-start-radius:var(--_inner-radius);margin-block-end:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}[data-ui-section][data-ground=surface]>[data-part-body]>[data-part-bleed],[data-ui-section][data-ground=surface]>[data-part-body]>*>[data-part-bleed]{--_inner-radius: calc( var(--slotted-section-radius, var(--slotted-radius-lg, 8px)) - var(--slotted-border-width-thin, 1px) );justify-self:stretch;margin-inline:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)));max-inline-size:none;min-inline-size:0;overflow:clip}[data-ui-section][data-ground=surface]>[data-part-body]:last-child>[data-part-bleed]:last-child,[data-ui-section][data-ground=surface]>[data-part-body]:last-child>:last-child>[data-part-bleed]:last-child{border-end-end-radius:var(--_inner-radius);border-end-start-radius:var(--_inner-radius);margin-block-end:calc(-1 * var(--slotted-section-inset, var(--slotted-space-6, 1rem)))}}\n"] }]
175
175
  }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], ground: [{ type: i0.Input, args: [{ isSignal: true, alias: "ground", required: false }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], divider: [{ type: i0.Input, args: [{ isSignal: true, alias: "divider", required: false }] }], sticky: [{ type: i0.Input, args: [{ isSignal: true, alias: "sticky", required: false }] }] } });
176
176
 
177
177
  const HEADINGS = new Set(['H1', 'H2', 'H3', 'H4', 'H5', 'H6']);
@@ -312,6 +312,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
312
312
  },
313
313
  }]
314
314
  }] });
315
+ /**
316
+ * A child of the body that bleeds alone: a table under a line of text runs to
317
+ * the panel's inline edges while the text keeps the section's inset. It stands
318
+ * in the body or in the one stack the body holds.
319
+ */
320
+ class SlSectionBleed {
321
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlSectionBleed, deps: [], target: i0.ɵɵFactoryTarget.Directive });
322
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: SlSectionBleed, isStandalone: true, selector: "[slSectionBleed]", host: { attributes: { "data-part": "bleed", "data-part-bleed": "" } }, ngImport: i0 });
323
+ }
324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SlSectionBleed, decorators: [{
325
+ type: Directive,
326
+ args: [{
327
+ selector: '[slSectionBleed]',
328
+ standalone: true,
329
+ host: { 'data-part': 'bleed', 'data-part-bleed': '' },
330
+ }]
331
+ }] });
315
332
  /** The content, one outline step deeper: `slHeadingLevel` is a host directive. */
316
333
  class SlSectionBody {
317
334
  /**
@@ -341,5 +358,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
341
358
  * Generated bundle index. Do not edit.
342
359
  */
343
360
 
344
- export { HEADER_SIZE_PROPERTY, SECTION_DEFAULTS, SlSection, SlSectionActions, SlSectionBody, SlSectionDescription, SlSectionEyebrow, SlSectionHeader, SlSectionHeading, SlSectionIdFactory, SlSectionTags, SlSectionTitle, injectSectionDefaults, provideSectionDefaults };
361
+ export { HEADER_SIZE_PROPERTY, SECTION_DEFAULTS, SlSection, SlSectionActions, SlSectionBleed, SlSectionBody, SlSectionDescription, SlSectionEyebrow, SlSectionHeader, SlSectionHeading, SlSectionIdFactory, SlSectionTags, SlSectionTitle, injectSectionDefaults, provideSectionDefaults };
345
362
  //# sourceMappingURL=slotted-angular-section.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"slotted-angular-section.mjs","sources":["../../section/src/section-defaults.ts","../../section/src/section.ts","../../section/src/section-parts.ts","../../section/src/slotted-angular-section.ts"],"sourcesContent":["import { inject, Injectable, InjectionToken } from '@angular/core';\n\n/** The type step the heading sits at, independent of its rank. */\nexport type SectionSize = 'sm' | 'md' | 'lg';\n\n/** The rank of the heading. `auto` takes the one the outline gives. */\nexport type SectionLevel = 'auto' | '1' | '2' | '3' | '4' | '5' | '6';\n\n/** The ground: nothing, or a surface with an edge and a radius and no shadow. */\nexport type SectionGround = 'none' | 'surface';\n\n/**\n * The form of a top-level heading: `label` is small capitals, `title` is mixed\n * case at a larger step. A nested section keeps the subsection's form.\n */\nexport type SectionHeadingForm = 'label' | 'title';\n\nexport interface SectionDefaults {\n divider: boolean;\n ground: SectionGround;\n heading: SectionHeadingForm;\n size: SectionSize;\n sticky: boolean;\n}\n\nconst FALLBACK: SectionDefaults = {\n divider: false,\n ground: 'none',\n heading: 'label',\n size: 'md',\n sticky: false,\n};\n\nexport const SECTION_DEFAULTS = new InjectionToken<SectionDefaults>('slotted section defaults', {\n providedIn: 'root',\n factory: () => FALLBACK,\n});\n\n/**\n * An application decides once how its sections separate — a rule, a surface,\n * the step of their headings — rather than repeating the same inputs on every\n * one. A section that states any of them itself still wins.\n */\nexport function provideSectionDefaults(defaults: Partial<SectionDefaults>) {\n return {\n provide: SECTION_DEFAULTS,\n useFactory: (): SectionDefaults => ({ ...FALLBACK, ...defaults }),\n };\n}\n\n/** What a section renders as here, before it states anything of its own. */\nexport function injectSectionDefaults(): SectionDefaults {\n return inject(SECTION_DEFAULTS);\n}\n\n/** Application-scoped, for the reason `field` records: the server and the client sequences must match. */\n@Injectable({ providedIn: 'root' })\nexport class SlSectionIdFactory {\n private count = 0;\n\n next() {\n this.count += 1;\n return `slotted-section-${this.count}`;\n }\n}\n","import { SlHeadingLevel } from '@slotted/angular/typography';\nimport { observeStuck } from '@slotted/core/sticky-header';\nimport type { HeadingLevelValue } from '@slotted/angular/typography';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n HostAttributeToken,\n inject,\n input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { injectSectionDefaults, SlSectionIdFactory } from './section-defaults';\nimport type {\n SectionGround,\n SectionHeadingForm,\n SectionLevel,\n SectionSize,\n} from './section-defaults';\n\nexport type {\n SectionDefaults,\n SectionGround,\n SectionHeadingForm,\n SectionLevel,\n SectionSize,\n} from './section-defaults';\n\n/**\n * One unit of content inside a page: a header — eyebrow, heading,\n * description, actions — and a body one outline step deeper.\n *\n * **The rank is the outline's.** `typography` owns it: the heading takes the\n * rank `slHeadingLevel` gives — `h2` directly in a page body, one deeper\n * inside another section's body — unless `level` says otherwise. The element\n * is the consumer's: `<h2 slSectionHeading>` is a native heading and the\n * directive adds nothing to it; `<div slSectionHeading>` gets `role=\"heading\"`\n * and the level the section resolved.\n *\n * **A region only when it has a name.** The root is `aria-labelledby` its\n * heading once one is rendered, which makes the `section` a region landmark.\n *\n * **The hooks anchor navigation needs.** The root carries an `id`, the\n * consumer's own or a generated one, and a scroll margin the height of the\n * page's fixed chrome, so a hash link lands under the header.\n */\n/** The measured height of a sticky section's header, written on the root. */\nexport const HEADER_SIZE_PROPERTY = '--slotted-section-header-size';\n\n@Component({\n selector: '[slSection]',\n standalone: true,\n exportAs: 'slSection',\n template: '<ng-content />',\n styleUrl: '../../../styles/src/section/section.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'data-ui': 'section',\n 'data-ui-section': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.id]': 'id()',\n '[attr.aria-labelledby]': 'hasHeading() ? headingId() : null',\n '[attr.data-size]': 'resolvedSize()',\n '[attr.data-level]': 'resolvedLevel()',\n '[attr.data-ground]': 'resolvedGround()',\n '[attr.data-heading]': 'resolvedHeading()',\n '[attr.data-divider]': \"resolvedDivider() ? '' : null\",\n '[attr.data-sticky]': \"resolvedSticky() ? '' : null\",\n },\n})\nexport class SlSection {\n readonly size = input<SectionSize | undefined>(undefined);\n /** Defaults to `auto`: the rank the outline gives. */\n readonly level = input<SectionLevel | undefined>(undefined);\n readonly ground = input<SectionGround | undefined>(undefined);\n /** The form of a top-level heading. Defaults to the provider, then `label`. */\n readonly heading = input<SectionHeadingForm | undefined>(undefined);\n readonly divider = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n readonly sticky = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n\n private readonly defaults = injectSectionDefaults();\n private readonly outline = inject(SlHeadingLevel, { optional: true });\n private readonly writtenId = inject(new HostAttributeToken('id'), { optional: true });\n private readonly generated = inject(SlSectionIdFactory).next();\n\n /** Whether a heading is rendered, which is what makes the section a region. */\n readonly hasHeading = signal(false);\n /** The header element, handed over by `slSectionHeader`, so a sticky header can be measured. */\n readonly header = signal<HTMLElement | null>(null);\n\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n\n readonly id = computed(() => this.writtenId ?? this.generated);\n readonly headingId = computed(() => `${this.id()}-heading`);\n readonly resolvedSize = computed(() => this.size() ?? this.defaults.size);\n readonly resolvedGround = computed(() => this.ground() ?? this.defaults.ground);\n readonly resolvedHeading = computed(() => this.heading() ?? this.defaults.heading);\n readonly resolvedDivider = computed(() => (this.divider() ?? this.defaults.divider) === true);\n readonly resolvedSticky = computed(() => (this.sticky() ?? this.defaults.sticky) === true);\n readonly resolvedLevel = computed<HeadingLevelValue>(() => {\n const level = this.level();\n if (level === undefined || level === 'auto') return this.outline?.level ?? 1;\n return Number(level) as HeadingLevelValue;\n });\n\n constructor() {\n /**\n * A sticky header is chrome for what is under it: its height, measured,\n * goes on the root as `--slotted-section-header-size`, and the stylesheet\n * republishes `--slotted-page-sticky-top` for the body as page plus\n * header, so a table's column header or a nested section stops under this\n * header. Written on the element, so a resize costs no change detection.\n */\n effect((onCleanup) => {\n const header = this.header();\n if (!this.resolvedSticky() || header === null) return;\n /* Rounded up: a fractional height rounded down leaves a hairline gap the rows show through. */\n const write = () =>\n this.native.style.setProperty(\n HEADER_SIZE_PROPERTY,\n `${Math.ceil(header.getBoundingClientRect().height || header.offsetHeight)}px`,\n );\n write();\n const sizes = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(write);\n sizes?.observe(header);\n onCleanup(() => {\n sizes?.disconnect();\n this.native.style.removeProperty(HEADER_SIZE_PROPERTY);\n });\n });\n\n /**\n * `data-stuck` on the header while content passes under it, so a theme\n * can paint the header's ground only then. Written on the element, so a\n * scroll costs no change detection.\n */\n effect((onCleanup) => {\n const header = this.header();\n if (!this.resolvedSticky() || header === null) return;\n const stop = observeStuck(header, (stuck) => {\n if (stuck) header.setAttribute('data-stuck', '');\n else header.removeAttribute('data-stuck');\n });\n onCleanup(() => {\n stop();\n header.removeAttribute('data-stuck');\n });\n });\n }\n}\n","import { SlHeadingLevel } from '@slotted/angular/typography';\nimport {\n booleanAttribute,\n computed,\n Directive,\n ElementRef,\n inject,\n input,\n isDevMode,\n} from '@angular/core';\nimport type { OnDestroy, OnInit } from '@angular/core';\n\nimport { SlSection } from './section';\n\nconst HEADINGS = new Set(['H1', 'H2', 'H3', 'H4', 'H5', 'H6']);\n\n/**\n * The row above the body: the title column and the actions. It hands the\n * root its element, so a sticky header's height reaches the stylesheet.\n */\n@Directive({\n selector: '[slSectionHeader]',\n standalone: true,\n host: { 'data-part': 'header', 'data-part-header': '' },\n})\nexport class SlSectionHeader implements OnInit, OnDestroy {\n private readonly section = inject(SlSection);\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n\n ngOnInit() {\n this.section.header.set(this.native);\n }\n\n ngOnDestroy() {\n if (this.section.header() === this.native) this.section.header.set(null);\n }\n}\n\n/** Eyebrow, heading, tags, description, in that order. */\n@Directive({\n selector: '[slSectionTitle]',\n standalone: true,\n host: { 'data-part': 'title', 'data-part-title': '' },\n})\nexport class SlSectionTitle {}\n\n/** A short overline above the heading — a count, a category. Structural, not status. */\n@Directive({\n selector: '[slSectionEyebrow]',\n standalone: true,\n host: { 'data-part': 'eyebrow', 'data-part-eyebrow': '' },\n})\nexport class SlSectionEyebrow {}\n\n/**\n * Badges or tags beside the heading — a count, a status — on its baseline.\n * Outside the heading, so they are not read into the region's name.\n */\n@Directive({\n selector: '[slSectionTags]',\n standalone: true,\n host: { 'data-part': 'tags', 'data-part-tags': '' },\n})\nexport class SlSectionTags {}\n\n/** A paragraph under the heading, in the muted text, with a measure. */\n@Directive({\n selector: '[slSectionDescription]',\n standalone: true,\n host: { 'data-part': 'description', 'data-part-description': '' },\n})\nexport class SlSectionDescription implements OnInit {\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n\n ngOnInit() {\n if (isDevMode() && this.native.parentElement?.getAttribute('data-part') !== 'title') {\n console.warn(\n 'slSectionDescription is written outside slSectionTitle, so the stylesheet does not reach it and it renders unstyled. Move it inside slSectionTitle.',\n );\n }\n }\n}\n\n/** The end of the heading's row, on its baseline: a button, a toolbar, a link. */\n@Directive({\n selector: '[slSectionActions]',\n standalone: true,\n host: { 'data-part': 'actions', 'data-part-actions': '' },\n})\nexport class SlSectionActions {}\n\n/**\n * The heading, at the rank the section resolved. Rendering it is what makes\n * the section a region: the root names it through `aria-labelledby`. The\n * element is the consumer's own — a native heading gets nothing added, and\n * anything else gets `role=\"heading\"` and `aria-level`.\n */\n@Directive({\n selector: '[slSectionHeading]',\n standalone: true,\n exportAs: 'slSectionHeading',\n host: {\n 'data-part': 'heading',\n 'data-part-heading': '',\n '[attr.id]': 'section.headingId()',\n '[attr.role]': 'ariaRole()',\n '[attr.aria-level]': 'ariaLevel()',\n },\n})\nexport class SlSectionHeading implements OnInit, OnDestroy {\n protected readonly section = inject(SlSection);\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n private readonly isNativeHeading = HEADINGS.has(this.native.tagName);\n\n protected readonly ariaRole = computed(() => (this.isNativeHeading ? null : 'heading'));\n protected readonly ariaLevel = computed(() =>\n this.isNativeHeading ? null : this.section.resolvedLevel(),\n );\n\n ngOnInit() {\n this.section.hasHeading.set(true);\n }\n\n ngOnDestroy() {\n this.section.hasHeading.set(false);\n }\n}\n\n/** The content, one outline step deeper: `slHeadingLevel` is a host directive. */\n@Directive({\n selector: '[slSectionBody]',\n standalone: true,\n hostDirectives: [SlHeadingLevel],\n host: {\n 'data-part': 'body',\n 'data-part-body': '',\n '[attr.data-bleed]': \"bleed() ? '' : null\",\n },\n})\nexport class SlSectionBody {\n /**\n * In a surface section, runs the body to the panel's inline edges and to\n * the block edge it touches, clipped to the panel's corners. For a table or\n * a grid with no frame of its own. Without a surface it has no effect.\n */\n readonly bleed = input(false, { transform: booleanAttribute });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAyBA,MAAM,QAAQ,GAAoB;AAChC,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,MAAM,E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C;AAChC,oBAAA,IAAI,EAAE;AACJ,wBAAA,WAAW,EAAE,MAAM;AACnB,wBAAA,gBAAgB,EAAE,EAAE;AACpB,wBAAA,mBAAmB,EAAE,qBAAqB;AAC3C,qBAAA;AACF,iBAAA;;;AC1ID;;AAEG;;"}
1
+ {"version":3,"file":"slotted-angular-section.mjs","sources":["../../section/src/section-defaults.ts","../../section/src/section.ts","../../section/src/section-parts.ts","../../section/src/slotted-angular-section.ts"],"sourcesContent":["import { inject, Injectable, InjectionToken } from '@angular/core';\n\n/** The type step the heading sits at, independent of its rank. */\nexport type SectionSize = 'sm' | 'md' | 'lg';\n\n/** The rank of the heading. `auto` takes the one the outline gives. */\nexport type SectionLevel = 'auto' | '1' | '2' | '3' | '4' | '5' | '6';\n\n/** The ground: nothing, or a surface with an edge and a radius and no shadow. */\nexport type SectionGround = 'none' | 'surface';\n\n/**\n * The form of a top-level heading: `label` is small capitals, `title` is mixed\n * case at a larger step. A nested section keeps the subsection's form.\n */\nexport type SectionHeadingForm = 'label' | 'title';\n\nexport interface SectionDefaults {\n divider: boolean;\n ground: SectionGround;\n heading: SectionHeadingForm;\n size: SectionSize;\n sticky: boolean;\n}\n\nconst FALLBACK: SectionDefaults = {\n divider: false,\n ground: 'none',\n heading: 'label',\n size: 'md',\n sticky: false,\n};\n\nexport const SECTION_DEFAULTS = new InjectionToken<SectionDefaults>('slotted section defaults', {\n providedIn: 'root',\n factory: () => FALLBACK,\n});\n\n/**\n * An application decides once how its sections separate — a rule, a surface,\n * the step of their headings — rather than repeating the same inputs on every\n * one. A section that states any of them itself still wins.\n */\nexport function provideSectionDefaults(defaults: Partial<SectionDefaults>) {\n return {\n provide: SECTION_DEFAULTS,\n useFactory: (): SectionDefaults => ({ ...FALLBACK, ...defaults }),\n };\n}\n\n/** What a section renders as here, before it states anything of its own. */\nexport function injectSectionDefaults(): SectionDefaults {\n return inject(SECTION_DEFAULTS);\n}\n\n/** Application-scoped, for the reason `field` records: the server and the client sequences must match. */\n@Injectable({ providedIn: 'root' })\nexport class SlSectionIdFactory {\n private count = 0;\n\n next() {\n this.count += 1;\n return `slotted-section-${this.count}`;\n }\n}\n","import { SlHeadingLevel } from '@slotted/angular/typography';\nimport { observeStuck } from '@slotted/core/sticky-header';\nimport type { HeadingLevelValue } from '@slotted/angular/typography';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n HostAttributeToken,\n inject,\n input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { injectSectionDefaults, SlSectionIdFactory } from './section-defaults';\nimport type {\n SectionGround,\n SectionHeadingForm,\n SectionLevel,\n SectionSize,\n} from './section-defaults';\n\nexport type {\n SectionDefaults,\n SectionGround,\n SectionHeadingForm,\n SectionLevel,\n SectionSize,\n} from './section-defaults';\n\n/**\n * One unit of content inside a page: a header — eyebrow, heading,\n * description, actions — and a body one outline step deeper.\n *\n * **The rank is the outline's.** `typography` owns it: the heading takes the\n * rank `slHeadingLevel` gives — `h2` directly in a page body, one deeper\n * inside another section's body — unless `level` says otherwise. The element\n * is the consumer's: `<h2 slSectionHeading>` is a native heading and the\n * directive adds nothing to it; `<div slSectionHeading>` gets `role=\"heading\"`\n * and the level the section resolved.\n *\n * **A region only when it has a name.** The root is `aria-labelledby` its\n * heading once one is rendered, which makes the `section` a region landmark.\n *\n * **The hooks anchor navigation needs.** The root carries an `id`, the\n * consumer's own or a generated one, and a scroll margin the height of the\n * page's fixed chrome, so a hash link lands under the header.\n */\n/** The measured height of a sticky section's header, written on the root. */\nexport const HEADER_SIZE_PROPERTY = '--slotted-section-header-size';\n\n@Component({\n selector: '[slSection]',\n standalone: true,\n exportAs: 'slSection',\n template: '<ng-content />',\n styleUrl: '../../../styles/src/section/section.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n 'data-ui': 'section',\n 'data-ui-section': '',\n 'data-part': 'root',\n 'data-part-root': '',\n '[attr.id]': 'id()',\n '[attr.aria-labelledby]': 'hasHeading() ? headingId() : null',\n '[attr.data-size]': 'resolvedSize()',\n '[attr.data-level]': 'resolvedLevel()',\n '[attr.data-ground]': 'resolvedGround()',\n '[attr.data-heading]': 'resolvedHeading()',\n '[attr.data-divider]': \"resolvedDivider() ? '' : null\",\n '[attr.data-sticky]': \"resolvedSticky() ? '' : null\",\n },\n})\nexport class SlSection {\n readonly size = input<SectionSize | undefined>(undefined);\n /** Defaults to `auto`: the rank the outline gives. */\n readonly level = input<SectionLevel | undefined>(undefined);\n readonly ground = input<SectionGround | undefined>(undefined);\n /** The form of a top-level heading. Defaults to the provider, then `label`. */\n readonly heading = input<SectionHeadingForm | undefined>(undefined);\n readonly divider = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n readonly sticky = input<boolean | undefined, boolean | string | undefined>(undefined, {\n transform: (state) => (state === undefined ? undefined : booleanAttribute(state)),\n });\n\n private readonly defaults = injectSectionDefaults();\n private readonly outline = inject(SlHeadingLevel, { optional: true });\n private readonly writtenId = inject(new HostAttributeToken('id'), { optional: true });\n private readonly generated = inject(SlSectionIdFactory).next();\n\n /** Whether a heading is rendered, which is what makes the section a region. */\n readonly hasHeading = signal(false);\n /** The header element, handed over by `slSectionHeader`, so a sticky header can be measured. */\n readonly header = signal<HTMLElement | null>(null);\n\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n\n readonly id = computed(() => this.writtenId ?? this.generated);\n readonly headingId = computed(() => `${this.id()}-heading`);\n readonly resolvedSize = computed(() => this.size() ?? this.defaults.size);\n readonly resolvedGround = computed(() => this.ground() ?? this.defaults.ground);\n readonly resolvedHeading = computed(() => this.heading() ?? this.defaults.heading);\n readonly resolvedDivider = computed(() => (this.divider() ?? this.defaults.divider) === true);\n readonly resolvedSticky = computed(() => (this.sticky() ?? this.defaults.sticky) === true);\n readonly resolvedLevel = computed<HeadingLevelValue>(() => {\n const level = this.level();\n if (level === undefined || level === 'auto') return this.outline?.level ?? 1;\n return Number(level) as HeadingLevelValue;\n });\n\n constructor() {\n /**\n * A sticky header is chrome for what is under it: its height, measured,\n * goes on the root as `--slotted-section-header-size`, and the stylesheet\n * republishes `--slotted-page-sticky-top` for the body as page plus\n * header, so a table's column header or a nested section stops under this\n * header. Written on the element, so a resize costs no change detection.\n */\n effect((onCleanup) => {\n const header = this.header();\n if (!this.resolvedSticky() || header === null) return;\n /* Rounded up: a fractional height rounded down leaves a hairline gap the rows show through. */\n const write = () =>\n this.native.style.setProperty(\n HEADER_SIZE_PROPERTY,\n `${Math.ceil(header.getBoundingClientRect().height || header.offsetHeight)}px`,\n );\n write();\n const sizes = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(write);\n sizes?.observe(header);\n onCleanup(() => {\n sizes?.disconnect();\n this.native.style.removeProperty(HEADER_SIZE_PROPERTY);\n });\n });\n\n /**\n * `data-stuck` on the header while content passes under it, so a theme\n * can paint the header's ground only then. Written on the element, so a\n * scroll costs no change detection.\n */\n effect((onCleanup) => {\n const header = this.header();\n if (!this.resolvedSticky() || header === null) return;\n const stop = observeStuck(header, (stuck) => {\n if (stuck) header.setAttribute('data-stuck', '');\n else header.removeAttribute('data-stuck');\n });\n onCleanup(() => {\n stop();\n header.removeAttribute('data-stuck');\n });\n });\n }\n}\n","import { SlHeadingLevel } from '@slotted/angular/typography';\nimport {\n booleanAttribute,\n computed,\n Directive,\n ElementRef,\n inject,\n input,\n isDevMode,\n} from '@angular/core';\nimport type { OnDestroy, OnInit } from '@angular/core';\n\nimport { SlSection } from './section';\n\nconst HEADINGS = new Set(['H1', 'H2', 'H3', 'H4', 'H5', 'H6']);\n\n/**\n * The row above the body: the title column and the actions. It hands the\n * root its element, so a sticky header's height reaches the stylesheet.\n */\n@Directive({\n selector: '[slSectionHeader]',\n standalone: true,\n host: { 'data-part': 'header', 'data-part-header': '' },\n})\nexport class SlSectionHeader implements OnInit, OnDestroy {\n private readonly section = inject(SlSection);\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n\n ngOnInit() {\n this.section.header.set(this.native);\n }\n\n ngOnDestroy() {\n if (this.section.header() === this.native) this.section.header.set(null);\n }\n}\n\n/** Eyebrow, heading, tags, description, in that order. */\n@Directive({\n selector: '[slSectionTitle]',\n standalone: true,\n host: { 'data-part': 'title', 'data-part-title': '' },\n})\nexport class SlSectionTitle {}\n\n/** A short overline above the heading — a count, a category. Structural, not status. */\n@Directive({\n selector: '[slSectionEyebrow]',\n standalone: true,\n host: { 'data-part': 'eyebrow', 'data-part-eyebrow': '' },\n})\nexport class SlSectionEyebrow {}\n\n/**\n * Badges or tags beside the heading — a count, a status — on its baseline.\n * Outside the heading, so they are not read into the region's name.\n */\n@Directive({\n selector: '[slSectionTags]',\n standalone: true,\n host: { 'data-part': 'tags', 'data-part-tags': '' },\n})\nexport class SlSectionTags {}\n\n/** A paragraph under the heading, in the muted text, with a measure. */\n@Directive({\n selector: '[slSectionDescription]',\n standalone: true,\n host: { 'data-part': 'description', 'data-part-description': '' },\n})\nexport class SlSectionDescription implements OnInit {\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n\n ngOnInit() {\n if (isDevMode() && this.native.parentElement?.getAttribute('data-part') !== 'title') {\n console.warn(\n 'slSectionDescription is written outside slSectionTitle, so the stylesheet does not reach it and it renders unstyled. Move it inside slSectionTitle.',\n );\n }\n }\n}\n\n/** The end of the heading's row, on its baseline: a button, a toolbar, a link. */\n@Directive({\n selector: '[slSectionActions]',\n standalone: true,\n host: { 'data-part': 'actions', 'data-part-actions': '' },\n})\nexport class SlSectionActions {}\n\n/**\n * The heading, at the rank the section resolved. Rendering it is what makes\n * the section a region: the root names it through `aria-labelledby`. The\n * element is the consumer's own — a native heading gets nothing added, and\n * anything else gets `role=\"heading\"` and `aria-level`.\n */\n@Directive({\n selector: '[slSectionHeading]',\n standalone: true,\n exportAs: 'slSectionHeading',\n host: {\n 'data-part': 'heading',\n 'data-part-heading': '',\n '[attr.id]': 'section.headingId()',\n '[attr.role]': 'ariaRole()',\n '[attr.aria-level]': 'ariaLevel()',\n },\n})\nexport class SlSectionHeading implements OnInit, OnDestroy {\n protected readonly section = inject(SlSection);\n private readonly native: HTMLElement = inject(ElementRef).nativeElement;\n private readonly isNativeHeading = HEADINGS.has(this.native.tagName);\n\n protected readonly ariaRole = computed(() => (this.isNativeHeading ? null : 'heading'));\n protected readonly ariaLevel = computed(() =>\n this.isNativeHeading ? null : this.section.resolvedLevel(),\n );\n\n ngOnInit() {\n this.section.hasHeading.set(true);\n }\n\n ngOnDestroy() {\n this.section.hasHeading.set(false);\n }\n}\n\n/**\n * A child of the body that bleeds alone: a table under a line of text runs to\n * the panel's inline edges while the text keeps the section's inset. It stands\n * in the body or in the one stack the body holds.\n */\n@Directive({\n selector: '[slSectionBleed]',\n standalone: true,\n host: { 'data-part': 'bleed', 'data-part-bleed': '' },\n})\nexport class SlSectionBleed {}\n\n/** The content, one outline step deeper: `slHeadingLevel` is a host directive. */\n@Directive({\n selector: '[slSectionBody]',\n standalone: true,\n hostDirectives: [SlHeadingLevel],\n host: {\n 'data-part': 'body',\n 'data-part-body': '',\n '[attr.data-bleed]': \"bleed() ? '' : null\",\n },\n})\nexport class SlSectionBody {\n /**\n * In a surface section, runs the body to the panel's inline edges and to\n * the block edge it touches, clipped to the panel's corners. For a table or\n * a grid with no frame of its own. Without a surface it has no effect.\n */\n readonly bleed = input(false, { transform: booleanAttribute });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAyBA,MAAM,QAAQ,GAAoB;AAChC,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,MAAM,EAAE,MAAM;AACd,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,IAAI,EAAE,IAAI;AACV,IAAA,MAAM,EAAE,KAAK;CACd;MAEY,gBAAgB,GAAG,IAAI,cAAc,CAAkB,0BAA0B,EAAE;AAC9F,IAAA,UAAU,EAAE,MAAM;AAClB,IAAA,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