@mhmo91/schmancy 0.5.47 → 0.6.2

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 (41) hide show
  1. package/dist/{avatar-hoEk1kwv.js → avatar-BMmeU44n.js} +5 -10
  2. package/dist/avatar-BMmeU44n.js.map +1 -0
  3. package/dist/{avatar-hzSHTXXv.cjs → avatar-BqI1dN1B.cjs} +3 -8
  4. package/dist/avatar-BqI1dN1B.cjs.map +1 -0
  5. package/dist/badge.cjs +1 -1
  6. package/dist/badge.js +1 -1
  7. package/dist/content-drawer.cjs +1 -1
  8. package/dist/content-drawer.js +1 -1
  9. package/dist/{email-recipients-DPpv0qRr.js → email-recipients-4TQJPQKu.js} +2 -2
  10. package/dist/{email-recipients-DPpv0qRr.js.map → email-recipients-4TQJPQKu.js.map} +1 -1
  11. package/dist/{email-recipients-Uogc-X_3.cjs → email-recipients-H0_FxRAQ.cjs} +2 -2
  12. package/dist/{email-recipients-Uogc-X_3.cjs.map → email-recipients-H0_FxRAQ.cjs.map} +1 -1
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.js +4 -4
  15. package/dist/mailbox.cjs +1 -1
  16. package/dist/mailbox.js +1 -1
  17. package/dist/nav-drawer.cjs +1 -1
  18. package/dist/nav-drawer.js +1 -1
  19. package/dist/navigation-bar.cjs +1 -1
  20. package/dist/navigation-bar.js +1 -1
  21. package/dist/{sheet-D5-XmZs5.js → sheet-9Eb7YGq-.js} +2 -2
  22. package/dist/{sheet-D5-XmZs5.js.map → sheet-9Eb7YGq-.js.map} +1 -1
  23. package/dist/{sheet-CcVGEdfr.cjs → sheet-DEJQhNgI.cjs} +2 -2
  24. package/dist/{sheet-CcVGEdfr.cjs.map → sheet-DEJQhNgI.cjs.map} +1 -1
  25. package/dist/sheet.cjs +1 -1
  26. package/dist/sheet.js +2 -2
  27. package/dist/sheet.service-B7zfNaO4.cjs +2 -0
  28. package/dist/sheet.service-B7zfNaO4.cjs.map +1 -0
  29. package/dist/sheet.service-ufuyuYea.js +80 -0
  30. package/dist/sheet.service-ufuyuYea.js.map +1 -0
  31. package/dist/teleport.cjs +1 -1
  32. package/dist/teleport.js +1 -1
  33. package/package.json +1 -1
  34. package/readme.md +270 -56
  35. package/types/src/navigation-bar/navigation-bar.d.ts +16 -2
  36. package/dist/avatar-hoEk1kwv.js.map +0 -1
  37. package/dist/avatar-hzSHTXXv.cjs.map +0 -1
  38. package/dist/sheet.service-C66WNur0.js +0 -80
  39. package/dist/sheet.service-C66WNur0.js.map +0 -1
  40. package/dist/sheet.service-iUShtJp1.cjs +0 -2
  41. package/dist/sheet.service-iUShtJp1.cjs.map +0 -1
package/readme.md CHANGED
@@ -1,93 +1,307 @@
1
1
  # Schmancy UI Library
2
2
 
3
- Schmancy is a UI library built as web components, designed to provide a collection of reusable and customizable UI elements for modern web applications. It offers an uncomplicated implementation of Material Design 3 (M3), with minor deviations, utilizing [lit.dev](https://lit.dev/) and [Tailwind CSS](https://tailwindcss.com/), and employs [Vite](https://vitejs.dev/) as the build process.
3
+ [![npm version](https://img.shields.io/npm/v/@mhmo91/schmancy.svg)](https://www.npmjs.com/package/@mhmo91/schmancy)
4
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4
5
 
5
- ## Features
6
+ Schmancy is a modern, production-ready UI component library built as web components. It provides an elegant implementation of Material Design 3 (M3) with minimal deviations, powered by [Lit](https://lit.dev/), [Tailwind CSS](https://tailwindcss.com/), and [RxJS](https://rxjs.dev/).
6
7
 
7
- - **Web Components**: Built using the Web Components standard, ensuring encapsulation and reusability across different projects.
8
- - **Material Design 3**: Adheres to M3 guidelines, providing a modern and cohesive design language.
9
- - **Customizable**: Easily style and configure components to match your application's design requirements.
10
- - **Lightweight**: Minimal dependencies to keep your application performant.
8
+ **Built for developers who value:** Simplicity, type safety, reactive patterns, and accessibility.
9
+
10
+ ## Key Features
11
+
12
+ - **🧩 Web Components Standard** - Framework-agnostic, works with React, Vue, Angular, or vanilla JS
13
+ - **🎨 Material Design 3** - Modern, cohesive design language with full theming support
14
+ - **⚡ Reactive & Type-Safe** - Built with TypeScript and RxJS for predictable state management
15
+ - **♿ Accessible by Default** - ARIA support, keyboard navigation, and screen reader compatibility
16
+ - **🎯 Tree-Shakeable** - Import only what you need for optimal bundle size
17
+ - **🛠️ Developer-Friendly** - Comprehensive TypeScript types and AI-assisted documentation
11
18
 
12
19
  ## Installation
13
20
 
14
- To install Schmancy
15
- use yarn:
16
- ```bash
17
- yarn add @mhmo91/schmancy
18
- ```
19
- use npm:
21
+ ### Using npm
22
+
20
23
  ```bash
21
24
  npm install @mhmo91/schmancy
22
25
  ```
23
26
 
24
-
25
- Alternatively, if you're using Yarn:
27
+ ### Using yarn
26
28
 
27
29
  ```bash
28
30
  yarn add @mhmo91/schmancy
29
31
  ```
30
32
 
31
- ## Usage
33
+ ### Peer Dependencies
34
+
35
+ Schmancy requires Lit and Tailwind CSS as peer dependencies:
32
36
 
33
- After installation, you can import and use Schmancy components in your project.
37
+ ```bash
38
+ npm install lit tailwindcss
39
+ ```
34
40
 
35
- ### Importing All Components
41
+ ## Quick Start
36
42
 
37
- To import all components:
43
+ ### Import All Components
38
44
 
39
45
  ```javascript
40
46
  import '@mhmo91/schmancy'
41
47
  ```
42
48
 
43
- This will make all Schmancy components available for use in your application.
49
+ This makes all Schmancy components available throughout your application.
44
50
 
45
- ### Importing Individual Components
51
+ ### Import Individual Components
46
52
 
47
- To import a specific component, such as the `schmancy-button`:
53
+ For better tree-shaking and smaller bundle sizes:
48
54
 
49
55
  ```javascript
50
56
  import '@mhmo91/schmancy/button'
57
+ import '@mhmo91/schmancy/input'
58
+ import '@mhmo91/schmancy/select'
51
59
  ```
52
60
 
53
- This will load only the `schmancy-button` component, which can be used as follows:
61
+ ### Basic Usage
54
62
 
55
63
  ```html
56
- <schmancy-button>Click Me</schmancy-button>
57
- ```
64
+ <!-- Buttons with variants -->
65
+ <schmancy-button variant="filled">Primary Action</schmancy-button>
66
+ <schmancy-button variant="outlined">Secondary Action</schmancy-button>
67
+
68
+ <!-- Form inputs with validation -->
69
+ <schmancy-input
70
+ label="Email"
71
+ type="email"
72
+ required
73
+ placeholder="you@example.com"
74
+ ></schmancy-input>
58
75
 
59
- _Note: Replace `'button'` with the desired component name to import other components individually._
76
+ <!-- Select with options -->
77
+ <schmancy-select label="Choose an option" value="option1">
78
+ <schmancy-option value="option1">Option 1</schmancy-option>
79
+ <schmancy-option value="option2">Option 2</schmancy-option>
80
+ </schmancy-select>
81
+
82
+ <!-- Surfaces with elevation -->
83
+ <schmancy-surface elevation="2" rounded="all" class="p-6">
84
+ <schmancy-typography type="headline" token="md">Card Title</schmancy-typography>
85
+ <schmancy-typography type="body" token="md">Card content goes here</schmancy-typography>
86
+ </schmancy-surface>
87
+ ```
60
88
 
61
89
  ## Documentation
62
90
 
63
- For detailed documentation and examples, please visit the [Schmancy Wiki](https://github.com/mhmo91/schmancy/wiki).
64
-
65
- Below is a table linking to each component’s documentation on the GitHub Wiki:
66
-
67
- | Component | Description | Documentation |
68
- | ------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------- |
69
- | `schmancy-area` | Area component | [Wiki - schmancy-area](https://github.com/mhmo91/schmancy/wiki/schmancy-area) |
70
- | `schmancy-typewriter` | Typewriter component | [Wiki - schmancy-area](https://github.com/mhmo91/schmancy/wiki/schmancy-typewriter) |
71
- | `schmancy-autocomplete` | Autocomplete field | [Wiki - schmancy-autocomplete](https://github.com/mhmo91/schmancy/wiki/schmancy-autocomplete) |
72
- | `schmancy-busy` | Loading/busy indicator | [Wiki - schmancy-busy](https://github.com/mhmo91/schmancy/wiki/schmancy-busy) |
73
- | `schmancy-button` | Customizable button | [Wiki - schmancy-button](https://github.com/mhmo91/schmancy/wiki/schmancy-button) |
74
- | `schmancy-card` | Card for content display | [Wiki - schmancy-card](https://github.com/mhmo91/schmancy/wiki/schmancy-card) |
75
- | `schmancy-checkbox` | Checkbox component | [Wiki - schmancy-checkbox](https://github.com/mhmo91/schmancy/wiki/schmancy-checkbox) |
76
- | `schmancy-chips` | Chips for display or selection | [Wiki - schmancy-chips](https://github.com/mhmo91/schmancy/wiki/schmancy-chips) |
77
- | `schmancy-content-drawer` | Collapsible drawer component | [Wiki - schmancy-content-drawer](https://github.com/mhmo91/schmancy/wiki/schmancy-content-drawer) |
78
- | `schmancy-divider` | Divider for separating sections | [Wiki - schmancy-divider](https://github.com/mhmo91/schmancy/wiki/schmancy-divider) |
79
- | `schmancy-form` | Form component | [Wiki - schmancy-form](https://github.com/mhmo91/schmancy/wiki/schmancy-form) |
80
- | `schmancy-icons` | Icon set | [Wiki - schmancy-icons](https://github.com/mhmo91/schmancy/wiki/schmancy-icons) |
81
- | `schmancy-input` | Input field component | [Wiki - schmancy-input](https://github.com/mhmo91/schmancy/wiki/schmancy-input) |
82
- | `schmancy-layout` | Layout utility | [Wiki - schmancy-layout](https://github.com/mhmo91/schmancy/wiki/schmancy-layout) |
83
- | `schmancy-list` | List component | [Wiki - schmancy-list](https://github.com/mhmo91/schmancy/wiki/schmancy-list) |
84
- | `schmancy-menu` | Menu component | [Wiki - schmancy-menu](https://github.com/mhmo91/schmancy/wiki/schmancy-menu) |
85
- | `schmancy-nav-drawer` | Navigation drawer | [Wiki - schmancy-nav-drawer](https://github.com/mhmo91/schmancy/wiki/schmancy-nav-drawer) |
86
- | `schmancy-notification` | Notification component | [Wiki - schmancy-notification](https://github.com/mhmo91/schmancy/wiki/schmancy-notification) |
87
- | `schmancy-option` | Option selector | [Wiki - schmancy-option](https://github.com/mhmo91/schmancy/wiki/schmancy-option) |
88
- | `schmancy-radio-group` | Radio button group | [Wiki - schmancy-radio-group](https://github.com/mhmo91/schmancy/wiki/schmancy-radio-group) |
89
- | `schmancy-select` | Select dropdown | [Wiki - schmancy-select](https://github.com/mhmo91/schmancy/wiki/schmancy-select) |
90
- | `schmancy-sheet` | Sheet component | [Wiki - schmancy-sheet](https://github.com/mhmo91/schmancy/wiki/schmancy-sheet) |
91
- | `schmancy-surface` | Surface element | [Wiki - schmancy-surface](https://github.com/mhmo91/schmancy/wiki/schmancy-surface) |
92
- | `schmancy-table` | Table component | [Wiki - schmancy-table](https://github.com/mhmo91/schmancy/wiki/schmancy-table) |
93
- | `schmancy-tabs` | Tabbed navigation | [Wiki - schmancy-tabs](https://github.com/mhmo91/schmancy/wiki/schmancy-tabs) |
91
+ ### 📚 User Documentation
92
+
93
+ **[Interactive Component Demos](https://schmancy.samwa.ai/)** - Explore all components with live examples and code snippets
94
+
95
+ ### 🤖 AI-Assisted Development
96
+
97
+ The `/ai/` directory contains concise reference documentation optimized for AI assistants and LLM-based tools:
98
+
99
+ - **[AI Documentation Index](./ai/index.md)** - Overview and quick reference
100
+ - **[Component Relationships](./ai/component-relationships.md)** - How components work together
101
+ - **[Documentation Template](./ai/template.md)** - Contribution guidelines
102
+
103
+ #### Component References
104
+
105
+ <details>
106
+ <summary><strong>Core Components</strong></summary>
107
+
108
+ - [Animated Text](./ai/animated-text.md) - Animated text effects
109
+ - [Autocomplete](./ai/autocomplete.md) - Searchable input with suggestions
110
+ - [Avatar](./ai/avatar.md) - User profile images
111
+ - [Badge](./ai/badge.md) - Status indicators
112
+ - [Button](./ai/button.md) - Action buttons
113
+ - [Busy/Spinner](./ai/busy.md) - Loading indicators
114
+ - [Card](./ai/card.md) - Content containers
115
+ - [Checkbox](./ai/checkbox.md) - Checkable inputs
116
+ - [Chips](./ai/chips.md) - Compact selection elements
117
+ - [Progress](./ai/progress.md) - Progress indicators
118
+ </details>
119
+
120
+ <details>
121
+ <summary><strong>Form Elements</strong></summary>
122
+
123
+ - [Form](./ai/form.md) - Form containers with validation
124
+ - [Input](./ai/input.md) - Text input fields
125
+ - [Option](./ai/option.md) - Select/autocomplete options
126
+ - [Radio Group](./ai/radio-group.md) - Radio button groups
127
+ - [Select](./ai/select.md) - Dropdown selection
128
+ - [Textarea](./ai/textarea.md) - Multi-line text input
129
+ - [Payment Card Form](./ai/payment-card-form.md) - Credit card input
130
+ </details>
131
+
132
+ <details>
133
+ <summary><strong>Layout & Navigation</strong></summary>
134
+
135
+ - [Area](./ai/area.md) - Routing system
136
+ - [Content Drawer](./ai/content-drawer.md) - Sliding panels
137
+ - [Details](./ai/details.md) - Expandable content
138
+ - [Divider](./ai/divider.md) - Visual separators
139
+ - [Layout](./ai/layout.md) - Layout utilities (deprecated)
140
+ - [Navigation Bar](./ai/navigation-bar.md) - Bottom navigation
141
+ - [Navigation Bar Item](./ai/navigation-bar-item.md) - Navigation items
142
+ - [Navigation Rail](./ai/navigation-rail.md) - Side navigation
143
+ - [Nav Drawer](./ai/nav-drawer.md) - Navigation drawer
144
+ - [Sheet](./ai/sheet.md) - Bottom/side sheets
145
+ - [Tabs](./ai/tabs.md) - Tabbed interfaces
146
+ </details>
147
+
148
+ <details>
149
+ <summary><strong>Feedback & Overlays</strong></summary>
150
+
151
+ - [Dialog](./ai/dialog.md) - Modal dialogs
152
+ - [Dropdown](./ai/dropdown.md) - Floating dropdowns
153
+ - [Menu](./ai/menu.md) - Context menus
154
+ - [Notification](./ai/notification.md) - Toast notifications
155
+ - [Tooltip](./ai/tooltip.md) - Contextual help
156
+ </details>
157
+
158
+ <details>
159
+ <summary><strong>Data Display</strong></summary>
160
+
161
+ - [List](./ai/list.md) - Interactive lists
162
+ - [Table](./ai/table.md) - Data tables
163
+ - [Tree](./ai/tree.md) - Hierarchical views
164
+ - [Slider](./ai/slider.md) - Content carousels
165
+ - [Steps](./ai/steps.md) - Step indicators
166
+ </details>
167
+
168
+ <details>
169
+ <summary><strong>Utilities & Advanced</strong></summary>
170
+
171
+ - [Code Highlight](./ai/code-highlight.md) - Syntax highlighting
172
+ - [Context](./ai/context.md) - Context API
173
+ - [Countries](./ai/countries.md) - Country selector
174
+ - [Date Range](./ai/date-range.md) - Date range picker
175
+ - [Date Range Inline](./ai/date-range-inline.md) - Inline date picker
176
+ - [Delay](./ai/delay.md) - Delayed rendering
177
+ - [Directives](./ai/directives.md) - Lit directives
178
+ - [Icons](./ai/icons.md) - Material icons
179
+ - [Mailbox](./ai/mailbox.md) - Message inbox
180
+ - [Map](./ai/map.md) - Map integration
181
+ - [Store](./ai/store.md) - State management
182
+ - [Surface](./ai/surface.md) - Elevation system
183
+ - [Teleport](./ai/teleport.md) - FLIP animations
184
+ - [Theme](./ai/theme.md) - Theming system
185
+ - [Theme Button](./ai/theme-button.md) - Theme switcher
186
+ - [Timezone](./ai/timezone.md) - Timezone selector
187
+ - [Typography](./ai/typography.md) - Text styling
188
+ - [Typewriter](./ai/typewriter.md) - Typing animations
189
+ - [Boat](./ai/boat.md) - Advanced layout system
190
+ </details>
191
+
192
+ ### 👨‍💻 Developer Guidelines
193
+
194
+ If you're contributing to or extending Schmancy, read these essential guides:
195
+
196
+ - **[CLAUDE.md](./CLAUDE.md)** - Project structure and development workflow
197
+ - **[src/CLAUDE.md](./src/CLAUDE.md)** - Library component patterns and architecture
198
+ - **[demo/CLAUDE.md](./demo/CLAUDE.md)** - Demo creation and testing patterns
199
+
200
+ ## Component Overview
201
+
202
+ ### Core Categories
203
+
204
+ | Category | Components | Use Cases |
205
+ |----------|-----------|-----------|
206
+ | **Buttons & Actions** | Button, Icon Button, FAB | User interactions, form submissions |
207
+ | **Form Inputs** | Input, Textarea, Select, Autocomplete, Checkbox, Radio Group | Data collection, user preferences |
208
+ | **Navigation** | Tabs, Nav Drawer, Navigation Bar, Area Router | App navigation, content organization |
209
+ | **Feedback** | Dialog, Notification, Tooltip, Progress, Busy | User feedback, loading states |
210
+ | **Layout** | Surface, Card, Divider, Content Drawer | Content structure, visual hierarchy |
211
+ | **Data Display** | Table, List, Tree, Typography | Data presentation, content display |
212
+ | **Advanced** | Theme System, Store, Context API | Theming, state management |
213
+
214
+ ### Architecture Highlights
215
+
216
+ - **$LitElement Mixin** - Base class providing reactive cleanup, classMap, styleMap, and component discovery
217
+ - **RxJS Integration** - Built-in reactive patterns with automatic cleanup via `takeUntil(this.disconnecting)`
218
+ - **Context System** - Type-safe state management with `@select` decorator and compound selectors
219
+ - **Theme System** - Material Design 3 theming with CSS custom properties and Tailwind integration
220
+ - **Accessibility First** - ARIA attributes, keyboard navigation, and screen reader support built-in
221
+
222
+ ## Development
223
+
224
+ ### Running the Demo Site
225
+
226
+ ```bash
227
+ yarn dev
228
+ ```
229
+
230
+ This starts the development server with live reload at `http://localhost:5173`.
231
+
232
+ ### Building the Library
233
+
234
+ ```bash
235
+ yarn build
236
+ ```
237
+
238
+ Compiles TypeScript and bundles the library to `/dist`.
239
+
240
+ ### Running Tests
241
+
242
+ ```bash
243
+ yarn test # Run tests once
244
+ yarn test:watch # Watch mode
245
+ yarn test:ui # Interactive UI
246
+ yarn test:coverage # With coverage report
247
+ ```
248
+
249
+ ### Project Structure
250
+
251
+ ```plaintext
252
+ schmancy/
253
+ ├── src/ # Library source code
254
+ │ ├── Button/ # Component directories
255
+ │ ├── Input/
256
+ │ └── ...
257
+ ├── demo/ # Demo site
258
+ │ └── src/
259
+ │ └── features/ # Component demos
260
+ ├── ai/ # AI reference docs
261
+ ├── types/ # TypeScript definitions
262
+ └── dist/ # Build output
263
+ ```
264
+
265
+ ## Contributing
266
+
267
+ We welcome contributions! Please:
268
+
269
+ 1. Read the [developer guidelines](./CLAUDE.md)
270
+ 2. Check existing [issues](https://github.com/mhmo91/schmancy/issues)
271
+ 3. Follow the established patterns in [src/CLAUDE.md](./src/CLAUDE.md)
272
+ 4. Add demos following [demo/CLAUDE.md](./demo/CLAUDE.md)
273
+ 5. Ensure tests pass and types are correct
274
+ 6. Submit a pull request
275
+
276
+
277
+ ## Browser Support
278
+
279
+ Schmancy supports all modern browsers that implement the Web Components standard:
280
+
281
+ - Chrome/Edge 90+
282
+ - Firefox 88+
283
+ - Safari 14+
284
+
285
+
286
+ ## License
287
+
288
+ Apache License 2.0 - see [LICENSE](LICENSE) file for details.
289
+
290
+ ## Credits
291
+
292
+ Built with:
293
+ - [Lit](https://lit.dev/) - Efficient web components
294
+ - [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS
295
+ - [RxJS](https://rxjs.dev/) - Reactive programming
296
+ - [Material Design 3](https://m3.material.io/) - Design system
297
+
298
+ ## Links
299
+
300
+ - **npm Package**: [@mhmo91/schmancy](https://www.npmjs.com/package/@mhmo91/schmancy)
301
+ - **GitHub Repository**: [mhmo91/schmancy](https://github.com/mhmo91/schmancy)
302
+ - **Issue Tracker**: [GitHub Issues](https://github.com/mhmo91/schmancy/issues)
303
+ - **Demo Site**: [Component Demos](https://schmancy.samwa.ai/)
304
+
305
+ ---
306
+
307
+ Made with ❤️ by [@mhmo91](https://github.com/mhmo91)
@@ -3,21 +3,35 @@ declare const SchmancyNavigationBar_base: import("../../mixins").Constructor<Cus
3
3
  * `<schmancy-navigation-bar>` component
4
4
  *
5
5
  * A horizontal navigation component following Material Design 3 specifications.
6
- * Navigation bars provide access to between 3-7 primary destinations, fixed at the bottom of the viewport.
6
+ * Navigation bars provide access to between 3-7 primary destinations.
7
7
  * Automatically hides in fullscreen mode when triggered via schmancyTheme.next({ fullscreen: true }).
8
8
  *
9
+ * **IMPORTANT**: This component does not apply positioning by default. The consumer is responsible
10
+ * for positioning the navigation bar in their layout. For typical bottom-fixed positioning, add:
11
+ * `class="fixed bottom-0 left-0 right-0 z-10"` or similar CSS to position the component.
12
+ *
9
13
  * @element schmancy-navigation-bar
10
14
  * @slot - Default slot for navigation bar items
11
15
  *
12
16
  * @fires navigation-change - When an item is selected
13
17
  *
14
18
  * @example
15
- * <schmancy-navigation-bar activeIndex="0">
19
+ * <!-- Fixed at bottom (typical usage) -->
20
+ * <schmancy-navigation-bar activeIndex="0" class="fixed bottom-0 left-0 right-0 z-10">
16
21
  * <schmancy-navigation-bar-item icon="home" label="Home"></schmancy-navigation-bar-item>
17
22
  * <schmancy-navigation-bar-item icon="search" label="Search"></schmancy-navigation-bar-item>
18
23
  * <schmancy-navigation-bar-item icon="favorite" label="Favorites"></schmancy-navigation-bar-item>
19
24
  * <schmancy-navigation-bar-item icon="settings" label="Settings"></schmancy-navigation-bar-item>
20
25
  * </schmancy-navigation-bar>
26
+ *
27
+ * @example
28
+ * <!-- Within a container (demo/mockup usage) -->
29
+ * <div class="flex flex-col h-screen">
30
+ * <main class="flex-1">Content</main>
31
+ * <schmancy-navigation-bar activeIndex="0">
32
+ * <schmancy-navigation-bar-item icon="home" label="Home"></schmancy-navigation-bar-item>
33
+ * </schmancy-navigation-bar>
34
+ * </div>
21
35
  */
22
36
  export declare class SchmancyNavigationBar extends SchmancyNavigationBar_base {
23
37
  /**