@openelement/ui 0.41.0-alpha.8 → 0.41.0-alpha.9

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 (50) hide show
  1. package/README.md +9 -14
  2. package/package.json +2 -55
  3. package/src/component-recipes.d.ts +4 -0
  4. package/src/component-recipes.js +45 -0
  5. package/src/generated-manifest.json +16 -438
  6. package/src/index.d.ts +0 -17
  7. package/src/index.js +1 -18
  8. package/src/manifest.d.ts +1 -1
  9. package/src/manifest.js +1 -1
  10. package/src/open-badge.d.ts +2 -2
  11. package/src/open-badge.js +4 -4
  12. package/src/open-button.d.ts +3 -2
  13. package/src/open-button.js +12 -10
  14. package/src/open-callout.d.ts +2 -2
  15. package/src/open-callout.js +5 -5
  16. package/src/open-card.d.ts +3 -2
  17. package/src/open-card.js +7 -4
  18. package/src/open-code-block.d.ts +2 -2
  19. package/src/open-code-block.js +5 -5
  20. package/src/open-dialog.d.ts +4 -3
  21. package/src/open-dialog.js +24 -20
  22. package/src/open-dropdown.d.ts +9 -17
  23. package/src/open-dropdown.js +64 -29
  24. package/src/open-input.d.ts +3 -2
  25. package/src/open-input.js +17 -15
  26. package/src/open-props-tokens.d.ts +1 -1
  27. package/src/open-props-tokens.js +28 -5
  28. package/src/open-tabs.d.ts +3 -21
  29. package/src/open-tabs.js +30 -38
  30. package/src/open-theme-toggle.d.ts +2 -2
  31. package/src/open-theme-toggle.js +6 -6
  32. package/src/register.js +1 -41
  33. package/src/daisy-classes.d.ts +0 -7
  34. package/src/daisy-classes.js +0 -770
  35. package/src/open-brand-mark.d.ts +0 -14
  36. package/src/open-brand-mark.js +0 -93
  37. package/src/open-hero-ping.d.ts +0 -26
  38. package/src/open-hero-ping.js +0 -146
  39. package/src/open-lab-panel.d.ts +0 -16
  40. package/src/open-lab-panel.js +0 -168
  41. package/src/open-lab-stage.d.ts +0 -15
  42. package/src/open-lab-stage.js +0 -808
  43. package/src/open-layout.d.ts +0 -91
  44. package/src/open-layout.js +0 -1367
  45. package/src/open-modal.d.ts +0 -25
  46. package/src/open-modal.js +0 -55
  47. package/src/open-standards-visual.d.ts +0 -20
  48. package/src/open-standards-visual.js +0 -648
  49. package/src/open-step-card.d.ts +0 -34
  50. package/src/open-step-card.js +0 -133
@@ -1,91 +0,0 @@
1
- /** @jsxImportSource @openelement/core */ /**
2
- * @openelement/ui - open-layout
3
- *
4
- * App layout component with header, sidebar, and footer.
5
- * Web Standards Lab: light-first, restrained, documentation-focused.
6
- *
7
- * v0.20.0: Migrated from DsdLitElement to DsdElement (Ocean component).
8
- * - CSSStyleSheet replaces Lit css``
9
- * - render() returns string
10
- * - @click bindings for mobile menu toggle
11
- * - Native links; application/router code owns navigation policy
12
- * v0.24.1: Migrated from html`` template to JSX (ADR-0057).
13
- *
14
- * @csspart container - The app-layout root div
15
- * @csspart header - The sticky header element
16
- * @csspart sidebar - The docs-sidebar nav
17
- * @csspart main - The layout-main element
18
- * @csspart footer - The app-footer element
19
- * @csspart nav - The header-nav element
20
- * @csspart nav-toggle - The mobile menu toggle button
21
- *
22
- * Usage:
23
- * ```html
24
- * <open-layout current-path="/guide/getting-started"
25
- * nav-items='[{"section":"Guide","items":[{"path":"/guide/getting-started","label":"Getting Started"}]}]'>
26
- * </open-layout>
27
- * ```
28
- */ import { OpenElement } from '@openelement/element';
29
- import { type StyleSheetLike } from '@openelement/core/style-sheet';
30
- import { type Context } from '@openelement/core';
31
- export declare const tagName: 'open-layout';
32
- /** SignalContext key: theme state shared across all components */ export declare const THEME_CTX: Context<'dark' | 'light'>;
33
- export interface NavItem {
34
- path?: string;
35
- href?: string;
36
- label: string;
37
- }
38
- export interface NavSection {
39
- section: string;
40
- items: NavItem[];
41
- }
42
- export interface HeaderNavLink {
43
- href: string;
44
- label: string;
45
- }
46
- declare const sheet: StyleSheetLike;
47
- export declare class OpenLayout extends OpenElement {
48
- private _scrollCleanup?: any;
49
- private _locales: any;
50
- private _defaultLocale: any;
51
- private _currentLocale: any;
52
- private _currentPathWithoutLocale: any;
53
- static override styles: [];
54
- static override observedAttributes: [string, string, string, string, string, string, string, string];
55
- private _themeHandler?: any;
56
- private _docClickCleanup?: any;
57
- override render(): ReturnType<typeof OpenElement.prototype.render>;
58
- private _getStr: any;
59
- private _getBool: any;
60
- private _currentPath: any;
61
- private _computeEditUrl: any;
62
- private _navItems: any;
63
- private _filterByPath: any;
64
- private _rawNavItems: any;
65
- private _headerNav: any;
66
- /** v0.24.1: SVG icon attributes shared across all mobile tab bar icons. */ private static _ICON_ATTRS: any;
67
- private _renderIcon: any;
68
- private _safeHref: any;
69
- private _isExternalHref: any;
70
- private _localizedSafeHref: any;
71
- private _renderLayout: any;
72
- private _renderHeaderNav: any;
73
- private _renderSidebarNav: any;
74
- private _renderMobileTabBar: any;
75
- private _setupScrollDetection: any;
76
- private _teardownScrollDetection: any;
77
- override connectedCallback(): void;
78
- override disconnectedCallback(): void;
79
- override attributeChangedCallback(name: string, old: string | null, val: string | null): void;
80
- private _menuBtnHandler: any;
81
- private _setupDetailsToggle: any;
82
- private _toggleMenu: any;
83
- private _syncInert: any;
84
- private _setupBackdropClose: any;
85
- private _closeMenu: any;
86
- private _propagateTheme: any;
87
- private _updateActiveNav: any;
88
- private _esc: any;
89
- private _escAttr: any;
90
- }
91
- export default OpenLayout;