@gsa-tts/graymatter-ui 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/graymatter-ui.js +502 -491
- package/dist/graymatter-ui.umd.cjs +9 -7
- package/package.json +1 -1
- package/src/components/Button.svelte +14 -0
- package/src/components/Modal.svelte +374 -0
- package/src/components/index.ts +1 -0
- package/src/content/api/endpoints.mdx +8 -1
- package/src/content/api/getting-started.mdx +5 -1
package/README.md
CHANGED
|
@@ -152,6 +152,7 @@ import {
|
|
|
152
152
|
|
|
153
153
|
// UI Components
|
|
154
154
|
Button,
|
|
155
|
+
Modal,
|
|
155
156
|
Logo,
|
|
156
157
|
ProfileMenu,
|
|
157
158
|
|
|
@@ -193,6 +194,7 @@ import {
|
|
|
193
194
|
### UI Components
|
|
194
195
|
- **ProfileMenu** - User profile dropdown menu with event-driven actions
|
|
195
196
|
- **Button** - Accessible button component with multiple variants
|
|
197
|
+
- **Modal** - Flexible modal dialog component with declarative and custom content APIs
|
|
196
198
|
- **Logo** - Brand logo component
|
|
197
199
|
|
|
198
200
|
### Utility Components
|
|
@@ -234,6 +236,7 @@ Detailed documentation for specific components is available in the package:
|
|
|
234
236
|
|
|
235
237
|
- **[NAVIGATION_CONTROL.md](https://github.com/GSA-TTS/usai-gov/blob/main/packages/ui/NAVIGATION_CONTROL.md)** - DesktopSideNav external control system with event-based API
|
|
236
238
|
- **[PROFILE_MENU.md](https://github.com/GSA-TTS/usai-gov/blob/main/packages/ui/PROFILE_MENU.md)** - ProfileMenu component usage and event handling
|
|
239
|
+
- **[MODAL_COMPONENTS.md](https://github.com/GSA-TTS/usai-gov/blob/main/packages/ui/MODAL_COMPONENTS.md)** - Modal component with examples, API reference, and visual screenshots
|
|
237
240
|
- **[README_DocsLayout.md](https://github.com/GSA-TTS/usai-gov/blob/main/packages/ui/README_DocsLayout.md)** - DocsLayout component with dynamic navigation generation (Astro only)
|
|
238
241
|
|
|
239
242
|
These files are also included with the package in your `node_modules/@gsa-tts/graymatter-ui/` directory. If you don't have access to the private repository, you can find the documentation files locally after installation.
|