@nordmanai/nif 0.0.0-stage → 0.2.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 +79 -2
- package/bin/nif.mjs +196 -0
- package/dist/index.d.ts +124 -0
- package/dist/index.js +12961 -0
- package/dist/styles.css +2 -0
- package/dist/tokens.css +72 -0
- package/dist/ui/components/nm-ai/nm-ai.d.ts +222 -0
- package/dist/ui/components/nm-avatar/nm-avatar.d.ts +12 -0
- package/dist/ui/components/nm-bar-overflow/nm-bar-overflow.d.ts +15 -0
- package/dist/ui/components/nm-bar-overflow/use-bar-overflow.d.ts +7 -0
- package/dist/ui/components/nm-brand-logo/nm-brand-logo.d.ts +10 -0
- package/dist/ui/components/nm-breadcrumb/nm-breadcrumb.d.ts +11 -0
- package/dist/ui/components/nm-button/nm-button.d.ts +19 -0
- package/dist/ui/components/nm-button-group/nm-button-group.d.ts +17 -0
- package/dist/ui/components/nm-calendar/nm-calendar.d.ts +3 -0
- package/dist/ui/components/nm-card/nm-card.d.ts +34 -0
- package/dist/ui/components/nm-chatbox/nm-chatbox-icon.d.ts +7 -0
- package/dist/ui/components/nm-chatbox/nm-chatbox.d.ts +19 -0
- package/dist/ui/components/nm-checkbox/nm-checkbox.d.ts +2 -0
- package/dist/ui/components/nm-chip/nm-chip.d.ts +38 -0
- package/dist/ui/components/nm-code-block/nm-code-block.d.ts +55 -0
- package/dist/ui/components/nm-collection/nm-collection-bar.d.ts +16 -0
- package/dist/ui/components/nm-collection/nm-collection-grid.d.ts +9 -0
- package/dist/ui/components/nm-collection/nm-collection-query.d.ts +18 -0
- package/dist/ui/components/nm-collection/nm-collection-row-menu.d.ts +7 -0
- package/dist/ui/components/nm-collection/nm-collection-table.d.ts +13 -0
- package/dist/ui/components/nm-collection/nm-collection-tile-actions.d.ts +7 -0
- package/dist/ui/components/nm-collection/nm-collection-title.d.ts +10 -0
- package/dist/ui/components/nm-collection/use-collection-scroll-reveal.d.ts +3 -0
- package/dist/ui/components/nm-color-picker/nm-color-picker.d.ts +15 -0
- package/dist/ui/components/nm-combobox/nm-combobox.d.ts +26 -0
- package/dist/ui/components/nm-command/nm-command.d.ts +37 -0
- package/dist/ui/components/nm-composer/nm-composer.d.ts +33 -0
- package/dist/ui/components/nm-context-menu/nm-context-menu.d.ts +9 -0
- package/dist/ui/components/nm-date-picker/nm-date-picker.d.ts +35 -0
- package/dist/ui/components/nm-dialog/nm-dialog.d.ts +13 -0
- package/dist/ui/components/nm-dropdown/nm-dropdown-item.d.ts +26 -0
- package/dist/ui/components/nm-dropdown/nm-dropdown-options.d.ts +12 -0
- package/dist/ui/components/nm-dropdown/nm-dropdown-panel.d.ts +16 -0
- package/dist/ui/components/nm-dropdown/nm-dropdown-placement.d.ts +55 -0
- package/dist/ui/components/nm-dropdown/nm-dropdown.d.ts +31 -0
- package/dist/ui/components/nm-dropdown-menu/nm-dropdown-menu.d.ts +30 -0
- package/dist/ui/components/nm-field/nm-field.d.ts +52 -0
- package/dist/ui/components/nm-form-field/nm-form-field.d.ts +18 -0
- package/dist/ui/components/nm-gallery/nm-gallery.d.ts +8 -0
- package/dist/ui/components/nm-hover-card/nm-hover-card.d.ts +5 -0
- package/dist/ui/components/nm-icon/nm-icon.d.ts +7 -0
- package/dist/ui/components/nm-icon/nm-lucide.d.ts +7 -0
- package/dist/ui/components/nm-icon-border/nm-icon-border.d.ts +21 -0
- package/dist/ui/components/nm-input/nm-input.d.ts +5 -0
- package/dist/ui/components/nm-input-group/nm-input-group.d.ts +9 -0
- package/dist/ui/components/nm-label/nm-label.d.ts +2 -0
- package/dist/ui/components/nm-list-item/nm-list-item.d.ts +23 -0
- package/dist/ui/components/nm-menubar/nm-menubar.d.ts +9 -0
- package/dist/ui/components/nm-message/nm-message-actions.d.ts +7 -0
- package/dist/ui/components/nm-message/nm-message-meta.d.ts +10 -0
- package/dist/ui/components/nm-message/nm-text-shimmer.d.ts +4 -0
- package/dist/ui/components/nm-message/nm-trace.d.ts +58 -0
- package/dist/ui/components/nm-modal/nm-modal.d.ts +35 -0
- package/dist/ui/components/nm-native-select/nm-native-select.d.ts +5 -0
- package/dist/ui/components/nm-panel/nm-panel.d.ts +14 -0
- package/dist/ui/components/nm-panel-bar/nm-panel-bar.d.ts +17 -0
- package/dist/ui/components/nm-popover/nm-popover.d.ts +8 -0
- package/dist/ui/components/nm-progress/nm-progress.d.ts +3 -0
- package/dist/ui/components/nm-prose/nm-prose.d.ts +6 -0
- package/dist/ui/components/nm-questionnaire/nm-questionnaire.d.ts +17 -0
- package/dist/ui/components/nm-radio-group/nm-radio-group.d.ts +4 -0
- package/dist/ui/components/nm-rail-icon/nm-rail-icon.d.ts +6 -0
- package/dist/ui/components/nm-resize-handle/nm-resize-handle.d.ts +18 -0
- package/dist/ui/components/nm-segmented/nm-segmented.d.ts +20 -0
- package/dist/ui/components/nm-select/nm-select.d.ts +22 -0
- package/dist/ui/components/nm-separator/nm-separator.d.ts +2 -0
- package/dist/ui/components/nm-side-panel/nm-side-panel.d.ts +33 -0
- package/dist/ui/components/nm-slider/nm-slider.d.ts +6 -0
- package/dist/ui/components/nm-small-icon-button/nm-small-icon-button.d.ts +21 -0
- package/dist/ui/components/nm-status-bar/nm-status-bar.d.ts +8 -0
- package/dist/ui/components/nm-switch/nm-switch.d.ts +2 -0
- package/dist/ui/components/nm-table/nm-table.d.ts +38 -0
- package/dist/ui/components/nm-tabs/nm-tabs.d.ts +9 -0
- package/dist/ui/components/nm-textarea/nm-textarea.d.ts +2 -0
- package/dist/ui/components/nm-toggle/nm-toggle.d.ts +9 -0
- package/dist/ui/components/nm-toolbar/nm-toolbar.d.ts +21 -0
- package/dist/ui/components/nm-tooltip/nm-tooltip.d.ts +5 -0
- package/dist/ui/components/nm-top-bar/nm-top-bar.d.ts +12 -0
- package/dist/ui/components/nordman-icon-button/nordman-icon-button.d.ts +29 -0
- package/dist/ui/components/nordman-login/nordman-login.d.ts +36 -0
- package/dist/ui/components/nordman-login-field/nordman-login-field.d.ts +13 -0
- package/dist/ui/components/nordman-login-forgot/nordman-login-forgot.d.ts +9 -0
- package/dist/ui/components/nordman-login-google/nordman-login-google.d.ts +6 -0
- package/dist/ui/components/nordman-login-hero/nordman-login-hero.d.ts +6 -0
- package/dist/ui/components/nordman-login-register/nordman-login-register.d.ts +11 -0
- package/dist/ui/components/nordman-login-reset/nordman-login-reset.d.ts +9 -0
- package/dist/ui/components/nordman-login-reveal/nordman-login-reveal.d.ts +6 -0
- package/dist/ui/components/nordman-login-sign-in/nordman-login-sign-in.d.ts +11 -0
- package/dist/ui/components/nordman-toggle/nordman-toggle.d.ts +12 -0
- package/dist/ui/config/nm-ai.d.ts +44 -0
- package/dist/ui/config/nm-app-panel.d.ts +36 -0
- package/dist/ui/config/nm-appearance.d.ts +100 -0
- package/dist/ui/config/nm-bar-overflow.d.ts +9 -0
- package/dist/ui/config/nm-button.d.ts +31 -0
- package/dist/ui/config/nm-chatbox-icons.d.ts +42 -0
- package/dist/ui/config/nm-chatbox.d.ts +40 -0
- package/dist/ui/config/nm-collection.d.ts +88 -0
- package/dist/ui/config/nm-composer.d.ts +42 -0
- package/dist/ui/config/nm-dropdown.d.ts +56 -0
- package/dist/ui/config/nm-fade.d.ts +6 -0
- package/dist/ui/config/nm-field.d.ts +38 -0
- package/dist/ui/config/nm-header-icons.d.ts +15 -0
- package/dist/ui/config/nm-icon-border.d.ts +3 -0
- package/dist/ui/config/nm-icon-button.d.ts +26 -0
- package/dist/ui/config/nm-icons.d.ts +371 -0
- package/dist/ui/config/nm-list-item.d.ts +14 -0
- package/dist/ui/config/nm-message.d.ts +87 -0
- package/dist/ui/config/nm-modal.d.ts +67 -0
- package/dist/ui/config/nm-panel-bar.d.ts +9 -0
- package/dist/ui/config/nm-questionnaire.d.ts +57 -0
- package/dist/ui/config/nm-radius.d.ts +49 -0
- package/dist/ui/config/nm-rail-icons.d.ts +14 -0
- package/dist/ui/config/nm-rail.d.ts +5 -0
- package/dist/ui/config/nm-segmented.d.ts +17 -0
- package/dist/ui/config/nm-side-panel.d.ts +33 -0
- package/dist/ui/config/nm-site-palette.d.ts +30 -0
- package/dist/ui/config/nm-small-icon-button.d.ts +12 -0
- package/dist/ui/config/nm-tabs.d.ts +8 -0
- package/dist/ui/config/nm-top-bar.d.ts +4 -0
- package/dist/ui/config/nordman-chrome.d.ts +12 -0
- package/dist/ui/config/nordman-login.d.ts +23 -0
- package/dist/ui/content/nm-modal.d.ts +1 -0
- package/dist/ui/content/nordman-login.d.ts +38 -0
- package/dist/ui/kit-logger.d.ts +1 -0
- package/dist/ui/lib/appearance/appearanceState.d.ts +28 -0
- package/dist/ui/lib/appearance/applyAppearance.d.ts +5 -0
- package/dist/ui/lib/appearance/cloudOrbAppearance.d.ts +4 -0
- package/dist/ui/lib/appearance/color.d.ts +13 -0
- package/dist/ui/lib/appearance/deriveTokens.d.ts +6 -0
- package/dist/ui/lib/appearance/index.d.ts +6 -0
- package/dist/ui/lib/appearance/markTokens.d.ts +2 -0
- package/dist/ui/lib/appearance/readLayoutMetrics.d.ts +4 -0
- package/dist/ui/lib/bar-overflow.d.ts +13 -0
- package/dist/ui/lib/logger.d.ts +8 -0
- package/dist/ui/lib/menu-motion.d.ts +72 -0
- package/dist/ui/lib/nm-class.d.ts +2 -0
- package/dist/ui/lib/nordman-ui-locale.d.ts +9 -0
- package/interface/app-panel/code.svg +5 -0
- package/interface/app-panel/console.svg +5 -0
- package/interface/app-panel/copy.svg +5 -0
- package/interface/app-panel/ellipsis.svg +7 -0
- package/interface/app-panel/message.svg +5 -0
- package/interface/app-panel/network.svg +10 -0
- package/interface/app-panel/play.svg +5 -0
- package/interface/app-panel/plus.svg +5 -0
- package/interface/chatbox/app.svg +5 -0
- package/interface/chatbox/audio-lines.svg +5 -0
- package/interface/chatbox/check.svg +5 -0
- package/interface/chatbox/globe.svg +5 -0
- package/interface/chatbox/integration.svg +5 -0
- package/interface/chatbox/mic.svg +5 -0
- package/interface/chatbox/paperclip.svg +5 -0
- package/interface/chatbox/pointer.svg +5 -0
- package/interface/chatbox/send.svg +5 -0
- package/interface/chatbox/settings.svg +5 -0
- package/interface/chatbox/spreadsheet.svg +5 -0
- package/interface/chatbox/x.svg +5 -0
- package/interface/collection/audio.svg +5 -0
- package/interface/collection/download.svg +5 -0
- package/interface/collection/expand.svg +5 -0
- package/interface/collection/grid.svg +10 -0
- package/interface/collection/image.svg +5 -0
- package/interface/collection/spreadsheet.svg +5 -0
- package/interface/collection/video.svg +5 -0
- package/interface/header/app.svg +5 -0
- package/interface/header/bot.svg +5 -0
- package/interface/header/chat.svg +10 -0
- package/interface/header/folder.svg +5 -0
- package/interface/header/layers.svg +10 -0
- package/interface/header/panel.svg +5 -0
- package/interface/header/play.svg +3 -0
- package/interface/header/schedule.svg +8 -0
- package/interface/header/search.svg +5 -0
- package/interface/header/settings.svg +5 -0
- package/interface/header/users.svg +5 -0
- package/interface/message/chevron.svg +5 -0
- package/interface/message/copy.svg +5 -0
- package/interface/message/fork.svg +5 -0
- package/interface/message/refresh.svg +5 -0
- package/interface/message/volume.svg +5 -0
- package/interface/rail/app.svg +5 -0
- package/interface/rail/bot.svg +5 -0
- package/interface/rail/chats.svg +5 -0
- package/interface/rail/folder.svg +5 -0
- package/interface/rail/library.svg +5 -0
- package/interface/rail/plus-sm.svg +5 -0
- package/interface/rail/plus.svg +5 -0
- package/interface/rail/search.svg +5 -0
- package/interface/rail/settings.svg +8 -0
- package/interface/rail/spreadsheet.svg +5 -0
- package/package.json +79 -4
- package/registry/index.json +1634 -0
- package/registry/tokens.css +72 -0
- package/registry/ui/components/nm-ai/nm-ai.css +358 -0
- package/registry/ui/components/nm-ai/nm-ai.tsx +632 -0
- package/registry/ui/components/nm-app-panel/nm-app-panel.css +169 -0
- package/registry/ui/components/nm-ask/nm-ask.css +277 -0
- package/registry/ui/components/nm-avatar/nm-avatar.css +85 -0
- package/registry/ui/components/nm-avatar/nm-avatar.tsx +30 -0
- package/registry/ui/components/nm-bar-overflow/nm-bar-overflow.css +43 -0
- package/registry/ui/components/nm-bar-overflow/nm-bar-overflow.tsx +61 -0
- package/registry/ui/components/nm-bar-overflow/use-bar-overflow.ts +92 -0
- package/registry/ui/components/nm-brand-logo/nm-brand-logo.css +20 -0
- package/registry/ui/components/nm-brand-logo/nm-brand-logo.tsx +21 -0
- package/registry/ui/components/nm-breadcrumb/nm-breadcrumb.css +57 -0
- package/registry/ui/components/nm-breadcrumb/nm-breadcrumb.tsx +42 -0
- package/registry/ui/components/nm-button/nm-button.css +110 -0
- package/registry/ui/components/nm-button/nm-button.tsx +58 -0
- package/registry/ui/components/nm-button-group/nm-button-group.css +87 -0
- package/registry/ui/components/nm-button-group/nm-button-group.tsx +32 -0
- package/registry/ui/components/nm-calendar/nm-calendar.css +178 -0
- package/registry/ui/components/nm-calendar/nm-calendar.tsx +43 -0
- package/registry/ui/components/nm-card/nm-card.css +130 -0
- package/registry/ui/components/nm-card/nm-card.tsx +83 -0
- package/registry/ui/components/nm-chatbox/nm-chatbox-icon.tsx +39 -0
- package/registry/ui/components/nm-chatbox/nm-chatbox.css +682 -0
- package/registry/ui/components/nm-chatbox/nm-chatbox.tsx +101 -0
- package/registry/ui/components/nm-checkbox/nm-checkbox.css +61 -0
- package/registry/ui/components/nm-checkbox/nm-checkbox.tsx +14 -0
- package/registry/ui/components/nm-chip/nm-chip.css +112 -0
- package/registry/ui/components/nm-chip/nm-chip.tsx +86 -0
- package/registry/ui/components/nm-code-block/nm-code-block.css +240 -0
- package/registry/ui/components/nm-code-block/nm-code-block.tsx +196 -0
- package/registry/ui/components/nm-collection/nm-collection-bar.tsx +65 -0
- package/registry/ui/components/nm-collection/nm-collection-grid.tsx +69 -0
- package/registry/ui/components/nm-collection/nm-collection-query.tsx +99 -0
- package/registry/ui/components/nm-collection/nm-collection-row-menu.tsx +55 -0
- package/registry/ui/components/nm-collection/nm-collection-table.tsx +99 -0
- package/registry/ui/components/nm-collection/nm-collection-tile-actions.tsx +50 -0
- package/registry/ui/components/nm-collection/nm-collection-title.tsx +25 -0
- package/registry/ui/components/nm-collection/nm-collection.css +353 -0
- package/registry/ui/components/nm-collection/use-collection-scroll-reveal.ts +38 -0
- package/registry/ui/components/nm-color-picker/nm-color-picker.css +67 -0
- package/registry/ui/components/nm-color-picker/nm-color-picker.tsx +79 -0
- package/registry/ui/components/nm-combobox/nm-combobox.css +72 -0
- package/registry/ui/components/nm-combobox/nm-combobox.tsx +80 -0
- package/registry/ui/components/nm-command/nm-command.css +190 -0
- package/registry/ui/components/nm-command/nm-command.tsx +125 -0
- package/registry/ui/components/nm-composer/nm-composer.css +178 -0
- package/registry/ui/components/nm-composer/nm-composer.tsx +151 -0
- package/registry/ui/components/nm-context-menu/nm-context-menu.tsx +25 -0
- package/registry/ui/components/nm-date-picker/nm-date-picker.css +140 -0
- package/registry/ui/components/nm-date-picker/nm-date-picker.tsx +153 -0
- package/registry/ui/components/nm-dialog/nm-dialog.css +84 -0
- package/registry/ui/components/nm-dialog/nm-dialog.tsx +40 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-item.ts +68 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-options.tsx +242 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-panel.tsx +171 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown-placement.ts +157 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown.css +312 -0
- package/registry/ui/components/nm-dropdown/nm-dropdown.tsx +412 -0
- package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.css +145 -0
- package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.tsx +118 -0
- package/registry/ui/components/nm-field/nm-field.css +356 -0
- package/registry/ui/components/nm-field/nm-field.tsx +355 -0
- package/registry/ui/components/nm-form-field/nm-form-field.css +103 -0
- package/registry/ui/components/nm-form-field/nm-form-field.tsx +71 -0
- package/registry/ui/components/nm-gallery/nm-gallery.css +66 -0
- package/registry/ui/components/nm-gallery/nm-gallery.tsx +31 -0
- package/registry/ui/components/nm-hover-card/nm-hover-card.css +26 -0
- package/registry/ui/components/nm-hover-card/nm-hover-card.tsx +28 -0
- package/registry/ui/components/nm-icon/nm-icon.css +6 -0
- package/registry/ui/components/nm-icon/nm-icon.tsx +69 -0
- package/registry/ui/components/nm-icon/nm-lucide.tsx +180 -0
- package/registry/ui/components/nm-icon-border/nm-icon-border.tsx +56 -0
- package/registry/ui/components/nm-input/nm-input.css +75 -0
- package/registry/ui/components/nm-input/nm-input.tsx +7 -0
- package/registry/ui/components/nm-input-group/nm-input-group.css +66 -0
- package/registry/ui/components/nm-input-group/nm-input-group.tsx +20 -0
- package/registry/ui/components/nm-label/nm-label.css +11 -0
- package/registry/ui/components/nm-label/nm-label.tsx +6 -0
- package/registry/ui/components/nm-list-item/nm-list-item.css +177 -0
- package/registry/ui/components/nm-list-item/nm-list-item.tsx +112 -0
- package/registry/ui/components/nm-menubar/nm-menubar.css +32 -0
- package/registry/ui/components/nm-menubar/nm-menubar.tsx +19 -0
- package/registry/ui/components/nm-message/nm-message-actions.tsx +24 -0
- package/registry/ui/components/nm-message/nm-message-meta.tsx +49 -0
- package/registry/ui/components/nm-message/nm-message.css +686 -0
- package/registry/ui/components/nm-message/nm-text-shimmer.tsx +6 -0
- package/registry/ui/components/nm-message/nm-trace.tsx +219 -0
- package/registry/ui/components/nm-modal/nm-modal.css +763 -0
- package/registry/ui/components/nm-modal/nm-modal.tsx +497 -0
- package/registry/ui/components/nm-native-select/nm-native-select.css +47 -0
- package/registry/ui/components/nm-native-select/nm-native-select.tsx +23 -0
- package/registry/ui/components/nm-panel/nm-panel.css +73 -0
- package/registry/ui/components/nm-panel/nm-panel.tsx +35 -0
- package/registry/ui/components/nm-panel-bar/nm-panel-bar.css +20 -0
- package/registry/ui/components/nm-panel-bar/nm-panel-bar.tsx +48 -0
- package/registry/ui/components/nm-popover/nm-popover.css +43 -0
- package/registry/ui/components/nm-popover/nm-popover.tsx +40 -0
- package/registry/ui/components/nm-progress/nm-progress.css +21 -0
- package/registry/ui/components/nm-progress/nm-progress.tsx +14 -0
- package/registry/ui/components/nm-prose/nm-prose.css +81 -0
- package/registry/ui/components/nm-prose/nm-prose.tsx +10 -0
- package/registry/ui/components/nm-questionnaire/nm-questionnaire.css +182 -0
- package/registry/ui/components/nm-questionnaire/nm-questionnaire.tsx +221 -0
- package/registry/ui/components/nm-radio-group/nm-radio-group.css +48 -0
- package/registry/ui/components/nm-radio-group/nm-radio-group.tsx +15 -0
- package/registry/ui/components/nm-rail-icon/nm-rail-icon.css +6 -0
- package/registry/ui/components/nm-rail-icon/nm-rail-icon.tsx +28 -0
- package/registry/ui/components/nm-resize-handle/nm-resize-handle.css +45 -0
- package/registry/ui/components/nm-resize-handle/nm-resize-handle.tsx +102 -0
- package/registry/ui/components/nm-segmented/nm-segmented.css +104 -0
- package/registry/ui/components/nm-segmented/nm-segmented.tsx +77 -0
- package/registry/ui/components/nm-select/nm-select.css +78 -0
- package/registry/ui/components/nm-select/nm-select.tsx +64 -0
- package/registry/ui/components/nm-separator/nm-separator.css +14 -0
- package/registry/ui/components/nm-separator/nm-separator.tsx +6 -0
- package/registry/ui/components/nm-side-panel/nm-side-panel.css +93 -0
- package/registry/ui/components/nm-side-panel/nm-side-panel.tsx +86 -0
- package/registry/ui/components/nm-slider/nm-slider.css +53 -0
- package/registry/ui/components/nm-slider/nm-slider.tsx +40 -0
- package/registry/ui/components/nm-small-icon-button/nm-small-icon-button.tsx +66 -0
- package/registry/ui/components/nm-status-bar/nm-status-bar.css +50 -0
- package/registry/ui/components/nm-status-bar/nm-status-bar.tsx +28 -0
- package/registry/ui/components/nm-switch/nm-switch.css +45 -0
- package/registry/ui/components/nm-switch/nm-switch.tsx +10 -0
- package/registry/ui/components/nm-table/nm-table.css +155 -0
- package/registry/ui/components/nm-table/nm-table.tsx +95 -0
- package/registry/ui/components/nm-tabs/nm-tabs.css +28 -0
- package/registry/ui/components/nm-tabs/nm-tabs.tsx +32 -0
- package/registry/ui/components/nm-textarea/nm-textarea.css +41 -0
- package/registry/ui/components/nm-textarea/nm-textarea.tsx +6 -0
- package/registry/ui/components/nm-toggle/nm-toggle.css +55 -0
- package/registry/ui/components/nm-toggle/nm-toggle.tsx +16 -0
- package/registry/ui/components/nm-toolbar/nm-toolbar.css +42 -0
- package/registry/ui/components/nm-toolbar/nm-toolbar.tsx +54 -0
- package/registry/ui/components/nm-tooltip/nm-tooltip.css +37 -0
- package/registry/ui/components/nm-tooltip/nm-tooltip.tsx +35 -0
- package/registry/ui/components/nm-top-bar/nm-top-bar.css +29 -0
- package/registry/ui/components/nm-top-bar/nm-top-bar.tsx +34 -0
- package/registry/ui/components/nordman-icon-button/nordman-icon-button.css +119 -0
- package/registry/ui/components/nordman-icon-button/nordman-icon-button.tsx +185 -0
- package/registry/ui/components/nordman-login/nordman-login.css +195 -0
- package/registry/ui/components/nordman-login/nordman-login.tsx +136 -0
- package/registry/ui/components/nordman-login-field/nordman-login-field.tsx +55 -0
- package/registry/ui/components/nordman-login-forgot/nordman-login-forgot.tsx +56 -0
- package/registry/ui/components/nordman-login-google/nordman-login-google.tsx +28 -0
- package/registry/ui/components/nordman-login-hero/nordman-login-hero.tsx +38 -0
- package/registry/ui/components/nordman-login-register/nordman-login-register.tsx +70 -0
- package/registry/ui/components/nordman-login-reset/nordman-login-reset.tsx +71 -0
- package/registry/ui/components/nordman-login-reveal/nordman-login-reveal.tsx +41 -0
- package/registry/ui/components/nordman-login-sign-in/nordman-login-sign-in.tsx +69 -0
- package/registry/ui/components/nordman-toggle/nordman-toggle.css +28 -0
- package/registry/ui/components/nordman-toggle/nordman-toggle.tsx +35 -0
- package/registry/ui/config/nm-ai.ts +59 -0
- package/registry/ui/config/nm-appearance.ts +275 -0
- package/registry/ui/config/nm-bar-overflow.ts +10 -0
- package/registry/ui/config/nm-button.ts +38 -0
- package/registry/ui/config/nm-chatbox-icons.ts +67 -0
- package/registry/ui/config/nm-chatbox.ts +42 -0
- package/registry/ui/config/nm-collection.ts +101 -0
- package/registry/ui/config/nm-composer.ts +39 -0
- package/registry/ui/config/nm-dropdown.ts +62 -0
- package/registry/ui/config/nm-field.ts +43 -0
- package/registry/ui/config/nm-icon-button.ts +35 -0
- package/registry/ui/config/nm-icons.ts +417 -0
- package/registry/ui/config/nm-list-item.ts +14 -0
- package/registry/ui/config/nm-message.ts +106 -0
- package/registry/ui/config/nm-modal.ts +76 -0
- package/registry/ui/config/nm-panel-bar.ts +11 -0
- package/registry/ui/config/nm-questionnaire.ts +53 -0
- package/registry/ui/config/nm-radius.ts +56 -0
- package/registry/ui/config/nm-rail-icons.ts +27 -0
- package/registry/ui/config/nm-segmented.ts +19 -0
- package/registry/ui/config/nm-side-panel.ts +16 -0
- package/registry/ui/config/nm-site-palette.ts +30 -0
- package/registry/ui/config/nm-small-icon-button.ts +17 -0
- package/registry/ui/config/nm-tabs.ts +9 -0
- package/registry/ui/config/nm-top-bar.ts +4 -0
- package/registry/ui/config/nordman-chrome.ts +14 -0
- package/registry/ui/config/nordman-login.ts +28 -0
- package/registry/ui/content/nm-modal.ts +5 -0
- package/registry/ui/content/nordman-login.ts +85 -0
- package/registry/ui/kit-logger.ts +1 -0
- package/registry/ui/lib/appearance/appearanceState.ts +240 -0
- package/registry/ui/lib/appearance/applyAppearance.ts +36 -0
- package/registry/ui/lib/appearance/cloudOrbAppearance.ts +36 -0
- package/registry/ui/lib/appearance/color.ts +96 -0
- package/registry/ui/lib/appearance/deriveTokens.ts +218 -0
- package/registry/ui/lib/appearance/index.ts +6 -0
- package/registry/ui/lib/appearance/markTokens.ts +49 -0
- package/registry/ui/lib/appearance/readLayoutMetrics.ts +28 -0
- package/registry/ui/lib/bar-overflow.ts +41 -0
- package/registry/ui/lib/logger.ts +53 -0
- package/registry/ui/lib/menu-motion.ts +187 -0
- package/registry/ui/lib/nm-class.ts +4 -0
- package/registry/ui/lib/nordman-ui-locale.ts +43 -0
- package/registry/ui/styles/interface-theme.css +196 -0
- package/registry/ui/styles/light-appearance.css +72 -0
- package/registry/ui/styles/tokens.css +424 -0
- package/registry/ui/styles/utilities.css +12 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
export declare const NM_ICON_IDS: readonly ['plus', 'user', 'paperclip', 'settings', 'globe', 'spreadsheet', 'pointer', 'mouse-pointer', 'mic', 'mic-off', 'audio-lines', 'send', 'chevron', 'check', 'circle-check', 'code', 'file-code', 'console', 'copy', 'volume', 'fork', 'chat', 'chat-dashed', 'folder', 'bot', 'app', 'layers', 'users', 'library', 'panel', 'ellipsis', 'camera', 'reload', 'expand', 'arrow-up-right', 'minimize', 'download', 'publish', 'share', 'pen', 'pin', 'archive', 'trash', 'folder-in', 'folder-out', 'duplicate', 'logout', 'table-properties', 'cable', 'menu', 'loader', 'monitor', 'server', 'filter', 'sliders', 'upload', 'image', 'image-plus', 'music', 'headphones', 'video', 'search', 'presentation', 'terminal', 'square-terminal', 'x', 'save', 'lock', 'mail', 'calendar', 'clock', 'gauge', 'minus', 'play', 'workflow', 'hard-drive', 'slack', 'github', 'building', 'file-text', 'wrench', 'file', 'brain', 'sun', 'moon', 'google', 'arrow-left', 'arrow-right', 'panel-left', 'rows'];
|
|
2
|
+
export type NmIconId = (typeof NM_ICON_IDS)[number];
|
|
3
|
+
export type NmIconSpec = {
|
|
4
|
+
viewBox: string;
|
|
5
|
+
path?: string | readonly string[];
|
|
6
|
+
fill?: string;
|
|
7
|
+
circles?: readonly {
|
|
8
|
+
cx: number;
|
|
9
|
+
cy: number;
|
|
10
|
+
r: number;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
export declare const NM_ICONS: {
|
|
14
|
+
readonly plus: {
|
|
15
|
+
readonly viewBox: '0 0 24 24';
|
|
16
|
+
readonly path: 'M12 5v14M5 12h14';
|
|
17
|
+
};
|
|
18
|
+
readonly user: {
|
|
19
|
+
readonly viewBox: '0 0 24 24';
|
|
20
|
+
readonly path: 'M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8z';
|
|
21
|
+
};
|
|
22
|
+
readonly paperclip: {
|
|
23
|
+
readonly viewBox: '0 0 24 24';
|
|
24
|
+
readonly path: 'M13.234 20.252 21 12.3M16 6l-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486';
|
|
25
|
+
};
|
|
26
|
+
readonly settings: {
|
|
27
|
+
readonly viewBox: '0 0 24 24';
|
|
28
|
+
readonly path: 'M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z';
|
|
29
|
+
};
|
|
30
|
+
readonly globe: {
|
|
31
|
+
readonly viewBox: '0 0 24 24';
|
|
32
|
+
readonly path: 'M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zM2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z';
|
|
33
|
+
};
|
|
34
|
+
readonly spreadsheet: {
|
|
35
|
+
readonly viewBox: '0 0 24 24';
|
|
36
|
+
readonly path: 'M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7zM14 2v6h6M8 13h2M14 13h2M8 17h2M14 17h2';
|
|
37
|
+
};
|
|
38
|
+
readonly pointer: {
|
|
39
|
+
readonly viewBox: '0 0 24 24';
|
|
40
|
+
readonly path: 'm13 21-3-8-8-3 18-7z';
|
|
41
|
+
};
|
|
42
|
+
readonly 'mouse-pointer': {
|
|
43
|
+
readonly viewBox: '0 0 24 24';
|
|
44
|
+
readonly path: 'M13 5v11l4-2 4 7M5 3l7 18 2-7 7-2z';
|
|
45
|
+
};
|
|
46
|
+
readonly mic: {
|
|
47
|
+
readonly viewBox: '0 0 24 24';
|
|
48
|
+
readonly path: 'M12 19v3M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3zM19 10v2a7 7 0 0 1-14 0v-2';
|
|
49
|
+
};
|
|
50
|
+
readonly 'mic-off': {
|
|
51
|
+
readonly viewBox: '0 0 24 24';
|
|
52
|
+
readonly path: 'm2 2 20 20M18.89 13.23A7.12 7.12 0 0 0 19 12v-2M5 10v2a7 7 0 0 0 12 5M15 9.34V5a3 3 0 0 0-5.68-1.33M9 9v3a3 3 0 0 0 5.12 2.12M12 19v3';
|
|
53
|
+
};
|
|
54
|
+
readonly 'audio-lines': {
|
|
55
|
+
readonly viewBox: '0 0 24 24';
|
|
56
|
+
readonly path: 'M2 10v3M6 6v11M10 3v18M14 8v7M18 5v13M22 10v3';
|
|
57
|
+
};
|
|
58
|
+
readonly send: {
|
|
59
|
+
readonly viewBox: '0 0 24 24';
|
|
60
|
+
readonly path: 'M12 19V5M5 12l7-7 7 7';
|
|
61
|
+
};
|
|
62
|
+
readonly chevron: {
|
|
63
|
+
readonly viewBox: '0 0 24 24';
|
|
64
|
+
readonly path: 'm6 9 6 6 6-6';
|
|
65
|
+
};
|
|
66
|
+
readonly check: {
|
|
67
|
+
readonly viewBox: '0 0 24 24';
|
|
68
|
+
readonly path: 'M20 6 9 17l-5-5';
|
|
69
|
+
};
|
|
70
|
+
readonly 'circle-check': {
|
|
71
|
+
readonly viewBox: '0 0 24 24';
|
|
72
|
+
readonly path: 'M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20zM9 12l2 2 4-4';
|
|
73
|
+
};
|
|
74
|
+
readonly code: {
|
|
75
|
+
readonly viewBox: '0 0 24 24';
|
|
76
|
+
readonly path: 'm16 18 6-6-6-6M8 6l-6 6 6 6';
|
|
77
|
+
};
|
|
78
|
+
readonly 'file-code': {
|
|
79
|
+
readonly viewBox: '0 0 24 24';
|
|
80
|
+
readonly path: 'M14 2H6v20h12V8zM14 2v6h6M10 13l-2 2 2 2M14 13l2 2-2 2';
|
|
81
|
+
};
|
|
82
|
+
readonly console: {
|
|
83
|
+
readonly viewBox: '0 0 24 24';
|
|
84
|
+
readonly path: 'M14 18h6M8 18 2 12l6-6';
|
|
85
|
+
};
|
|
86
|
+
readonly copy: {
|
|
87
|
+
readonly viewBox: '0 0 24 24';
|
|
88
|
+
readonly path: readonly ["M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2z", "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"];
|
|
89
|
+
};
|
|
90
|
+
readonly volume: {
|
|
91
|
+
readonly viewBox: '0 0 24 24';
|
|
92
|
+
readonly path: readonly ["M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z", "M16 9a5 5 0 0 1 0 6", "M19.364 18.364a9 9 0 0 0 0-12.728"];
|
|
93
|
+
};
|
|
94
|
+
readonly fork: {
|
|
95
|
+
readonly viewBox: '0 0 24 24';
|
|
96
|
+
readonly path: readonly ["M18 9v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V9", "M12 12v3"];
|
|
97
|
+
readonly circles: readonly [{
|
|
98
|
+
readonly cx: 6;
|
|
99
|
+
readonly cy: 6;
|
|
100
|
+
readonly r: 3;
|
|
101
|
+
}, {
|
|
102
|
+
readonly cx: 18;
|
|
103
|
+
readonly cy: 6;
|
|
104
|
+
readonly r: 3;
|
|
105
|
+
}, {
|
|
106
|
+
readonly cx: 12;
|
|
107
|
+
readonly cy: 18;
|
|
108
|
+
readonly r: 3;
|
|
109
|
+
}];
|
|
110
|
+
};
|
|
111
|
+
readonly chat: {
|
|
112
|
+
readonly viewBox: '0 0 24 24';
|
|
113
|
+
readonly path: 'M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z';
|
|
114
|
+
};
|
|
115
|
+
readonly folder: {
|
|
116
|
+
readonly viewBox: '0 0 24 24';
|
|
117
|
+
readonly path: 'M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z';
|
|
118
|
+
};
|
|
119
|
+
readonly bot: {
|
|
120
|
+
readonly viewBox: '0 0 24 24';
|
|
121
|
+
readonly path: 'M12 8V4H8M18 8a2 2 0 0 1 2 2v2H4v-2a2 2 0 0 1 2-2zM4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4M9 18h.01M15 18h.01';
|
|
122
|
+
};
|
|
123
|
+
readonly app: {
|
|
124
|
+
readonly viewBox: '0 0 24 24';
|
|
125
|
+
readonly path: 'M5 5h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zM2 12h20';
|
|
126
|
+
};
|
|
127
|
+
readonly layers: {
|
|
128
|
+
readonly viewBox: '0 0 24 24';
|
|
129
|
+
readonly path: 'M12 2 2 7l10 5 10-5zM2 17l10 5 10-5M2 12l10 5 10-5';
|
|
130
|
+
};
|
|
131
|
+
readonly users: {
|
|
132
|
+
readonly viewBox: '0 0 24 24';
|
|
133
|
+
readonly path: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.13a4 4 0 0 1 0 7.75M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8';
|
|
134
|
+
};
|
|
135
|
+
readonly library: {
|
|
136
|
+
readonly viewBox: '0 0 24 24';
|
|
137
|
+
readonly path: 'M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20';
|
|
138
|
+
};
|
|
139
|
+
readonly panel: {
|
|
140
|
+
readonly viewBox: '0 0 24 24';
|
|
141
|
+
readonly path: 'M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3';
|
|
142
|
+
};
|
|
143
|
+
readonly ellipsis: {
|
|
144
|
+
readonly viewBox: '0 0 24 24';
|
|
145
|
+
readonly circles: readonly [{
|
|
146
|
+
readonly cx: 5;
|
|
147
|
+
readonly cy: 12;
|
|
148
|
+
readonly r: 1;
|
|
149
|
+
}, {
|
|
150
|
+
readonly cx: 12;
|
|
151
|
+
readonly cy: 12;
|
|
152
|
+
readonly r: 1;
|
|
153
|
+
}, {
|
|
154
|
+
readonly cx: 19;
|
|
155
|
+
readonly cy: 12;
|
|
156
|
+
readonly r: 1;
|
|
157
|
+
}];
|
|
158
|
+
};
|
|
159
|
+
readonly camera: {
|
|
160
|
+
readonly viewBox: '0 0 24 24';
|
|
161
|
+
readonly path: readonly ["M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z", "M12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"];
|
|
162
|
+
};
|
|
163
|
+
readonly reload: {
|
|
164
|
+
readonly viewBox: '0 0 24 24';
|
|
165
|
+
readonly path: readonly ["M21 12a9 9 0 1 1-6.219-8.56", "M21 3v6h-6"];
|
|
166
|
+
};
|
|
167
|
+
readonly expand: {
|
|
168
|
+
readonly viewBox: '0 0 24 24';
|
|
169
|
+
readonly path: readonly ["M15 3h6v6", "M9 21H3v-6", "M21 3l-7 7", "M3 21l7-7"];
|
|
170
|
+
};
|
|
171
|
+
readonly 'arrow-up-right': {
|
|
172
|
+
readonly viewBox: '0 0 24 24';
|
|
173
|
+
readonly path: readonly ["M7 7h10v10", "M7 17 17 7"];
|
|
174
|
+
};
|
|
175
|
+
readonly minimize: {
|
|
176
|
+
readonly viewBox: '0 0 24 24';
|
|
177
|
+
readonly path: readonly ["M4 14h6v6", "M20 10h-6V4", "M14 10l7-7", "M3 21l7-7"];
|
|
178
|
+
};
|
|
179
|
+
readonly download: {
|
|
180
|
+
readonly viewBox: '0 0 24 24';
|
|
181
|
+
readonly path: readonly ["M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", "M7 10l5 5 5-5", "M12 15V3"];
|
|
182
|
+
};
|
|
183
|
+
readonly publish: {
|
|
184
|
+
readonly viewBox: '0 0 24 24';
|
|
185
|
+
readonly path: readonly ["M12 13v8", "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242", "M8 17l4-4 4 4"];
|
|
186
|
+
};
|
|
187
|
+
readonly share: {
|
|
188
|
+
readonly viewBox: '0 0 24 24';
|
|
189
|
+
readonly path: readonly ["M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8", "M16 6l-4-4-4 4", "M12 2v13"];
|
|
190
|
+
};
|
|
191
|
+
readonly pen: {
|
|
192
|
+
readonly viewBox: '0 0 24 24';
|
|
193
|
+
readonly path: 'M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z';
|
|
194
|
+
};
|
|
195
|
+
readonly pin: {
|
|
196
|
+
readonly viewBox: '0 0 24 24';
|
|
197
|
+
readonly path: readonly ["M12 17v5", "M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16h14v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"];
|
|
198
|
+
};
|
|
199
|
+
readonly archive: {
|
|
200
|
+
readonly viewBox: '0 0 24 24';
|
|
201
|
+
readonly path: readonly ["M21 8v13H3V8", "M1 3h22v5H1z", "M10 12h4"];
|
|
202
|
+
};
|
|
203
|
+
readonly trash: {
|
|
204
|
+
readonly viewBox: '0 0 24 24';
|
|
205
|
+
readonly path: readonly ["M3 6h18", "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"];
|
|
206
|
+
};
|
|
207
|
+
readonly 'folder-in': {
|
|
208
|
+
readonly viewBox: '0 0 24 24';
|
|
209
|
+
readonly path: readonly ["M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z", "M12 11v6", "M9 14h6"];
|
|
210
|
+
};
|
|
211
|
+
readonly 'folder-out': {
|
|
212
|
+
readonly viewBox: '0 0 24 24';
|
|
213
|
+
readonly path: readonly ["M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z", "M9 14h6"];
|
|
214
|
+
};
|
|
215
|
+
readonly duplicate: {
|
|
216
|
+
readonly viewBox: '0 0 24 24';
|
|
217
|
+
readonly path: readonly ["M16 8H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2z", "M18 4H8", "M11 14h.01", "M11 11v6"];
|
|
218
|
+
};
|
|
219
|
+
readonly logout: {
|
|
220
|
+
readonly viewBox: '0 0 24 24';
|
|
221
|
+
readonly path: readonly ["M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", "M16 17l5-5-5-5", "M21 12H9"];
|
|
222
|
+
};
|
|
223
|
+
readonly 'table-properties': {
|
|
224
|
+
readonly viewBox: '0 0 24 24';
|
|
225
|
+
readonly path: 'M15 3v18M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM21 9H3M21 15H3';
|
|
226
|
+
};
|
|
227
|
+
readonly cable: {
|
|
228
|
+
readonly viewBox: '0 0 24 24';
|
|
229
|
+
readonly path: 'M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1';
|
|
230
|
+
};
|
|
231
|
+
readonly menu: {
|
|
232
|
+
readonly viewBox: '0 0 24 24';
|
|
233
|
+
readonly path: 'M4 6h16M4 12h16M4 18h16';
|
|
234
|
+
};
|
|
235
|
+
readonly loader: {
|
|
236
|
+
readonly viewBox: '0 0 24 24';
|
|
237
|
+
readonly path: 'M21 12a9 9 0 1 1-6.219-8.56';
|
|
238
|
+
};
|
|
239
|
+
readonly monitor: {
|
|
240
|
+
readonly viewBox: '0 0 24 24';
|
|
241
|
+
readonly path: 'M12 17v4M8 21h8M4 3h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z';
|
|
242
|
+
};
|
|
243
|
+
readonly server: {
|
|
244
|
+
readonly viewBox: '0 0 24 24';
|
|
245
|
+
readonly path: 'M4 4h16v6H4zM4 14h16v6H4zM7 7h.01M7 17h.01';
|
|
246
|
+
};
|
|
247
|
+
readonly filter: {
|
|
248
|
+
readonly viewBox: '0 0 24 24';
|
|
249
|
+
readonly path: 'M3 6h18M7 12h10M10 18h4';
|
|
250
|
+
};
|
|
251
|
+
readonly sliders: {
|
|
252
|
+
readonly viewBox: '0 0 24 24';
|
|
253
|
+
readonly path: 'M20 7h-9M14 17H4M4 7h2M17 17h3';
|
|
254
|
+
};
|
|
255
|
+
readonly upload: {
|
|
256
|
+
readonly viewBox: '0 0 24 24';
|
|
257
|
+
readonly path: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12';
|
|
258
|
+
};
|
|
259
|
+
readonly image: {
|
|
260
|
+
readonly viewBox: '0 0 24 24';
|
|
261
|
+
readonly path: 'M3 5h18v14H3zM3 16l5-5 4 4 3-3 6 6';
|
|
262
|
+
};
|
|
263
|
+
readonly 'image-plus': {
|
|
264
|
+
readonly viewBox: '0 0 24 24';
|
|
265
|
+
readonly path: 'M3 5h18v14H3zM3 16l5-5 4 4 3-3 6 6M19 8h-6M16 5v6';
|
|
266
|
+
};
|
|
267
|
+
readonly music: {
|
|
268
|
+
readonly viewBox: '0 0 24 24';
|
|
269
|
+
readonly path: 'M9 18V5l12-2v13M9 18a3 3 0 1 1-6 0 3 3 0 0 1 6 0z';
|
|
270
|
+
};
|
|
271
|
+
readonly headphones: {
|
|
272
|
+
readonly viewBox: '0 0 24 24';
|
|
273
|
+
readonly path: 'M3 14v-1a9 9 0 0 1 18 0v1M3 14a2 2 0 0 1 2-2h2v6H5a2 2 0 0 1-2-2zM21 14a2 2 0 0 0-2-2h-2v6h2a2 2 0 0 0 2-2z';
|
|
274
|
+
};
|
|
275
|
+
readonly video: {
|
|
276
|
+
readonly viewBox: '0 0 24 24';
|
|
277
|
+
readonly path: 'M4 6h12v12H4zM16 10l4-2v8l-4-2';
|
|
278
|
+
};
|
|
279
|
+
readonly search: {
|
|
280
|
+
readonly viewBox: '0 0 24 24';
|
|
281
|
+
readonly path: 'M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM21 21l-4.3-4.3';
|
|
282
|
+
};
|
|
283
|
+
readonly presentation: {
|
|
284
|
+
readonly viewBox: '0 0 24 24';
|
|
285
|
+
readonly path: 'M2 3h20M4 3v12h16V3M12 15v6M8 21h8';
|
|
286
|
+
};
|
|
287
|
+
readonly terminal: {
|
|
288
|
+
readonly viewBox: '0 0 24 24';
|
|
289
|
+
readonly path: 'M4 17l6-5-6-5M12 19h8';
|
|
290
|
+
};
|
|
291
|
+
readonly 'square-terminal': {
|
|
292
|
+
readonly viewBox: '0 0 24 24';
|
|
293
|
+
readonly path: readonly ["M3 3h18v18H3z", "M7 11l2-2-2-2", "M11 13h4"];
|
|
294
|
+
};
|
|
295
|
+
readonly x: {
|
|
296
|
+
readonly viewBox: '0 0 24 24';
|
|
297
|
+
readonly path: 'M18 6 6 18M6 6l12 12';
|
|
298
|
+
};
|
|
299
|
+
readonly save: {
|
|
300
|
+
readonly viewBox: '0 0 24 24';
|
|
301
|
+
readonly path: 'M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2zM17 21v-8H7v8M7 3v5h8';
|
|
302
|
+
};
|
|
303
|
+
readonly lock: {
|
|
304
|
+
readonly viewBox: '0 0 24 24';
|
|
305
|
+
readonly path: 'M8 11V7a4 4 0 0 1 8 0v4M5 11h14v10H5z';
|
|
306
|
+
};
|
|
307
|
+
readonly mail: {
|
|
308
|
+
readonly viewBox: '0 0 24 24';
|
|
309
|
+
readonly path: 'M4 6h16v12H4zM4 7l8 6 8-6';
|
|
310
|
+
};
|
|
311
|
+
readonly calendar: {
|
|
312
|
+
readonly viewBox: '0 0 24 24';
|
|
313
|
+
readonly path: 'M5 5h14v16H5zM5 10h14M8 3v4M16 3v4';
|
|
314
|
+
};
|
|
315
|
+
readonly minus: {
|
|
316
|
+
readonly viewBox: '0 0 24 24';
|
|
317
|
+
readonly path: 'M5 12h14';
|
|
318
|
+
};
|
|
319
|
+
readonly gauge: {
|
|
320
|
+
readonly viewBox: '0 0 24 24';
|
|
321
|
+
readonly path: readonly ["M12 14l4-4", "M3.34 19a10 10 0 1 1 17.32 0"];
|
|
322
|
+
};
|
|
323
|
+
readonly clock: {
|
|
324
|
+
readonly viewBox: '0 0 24 24';
|
|
325
|
+
readonly path: readonly ["M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18z", "M12 7v5l3 2"];
|
|
326
|
+
};
|
|
327
|
+
readonly play: {
|
|
328
|
+
readonly viewBox: '0 0 24 24';
|
|
329
|
+
readonly path: 'M6 4l14 8-14 8z';
|
|
330
|
+
};
|
|
331
|
+
readonly workflow: {
|
|
332
|
+
readonly viewBox: '0 0 24 24';
|
|
333
|
+
readonly path: 'M7 5h4v4H7zM13 15h4v4h-4zM7 15h4v4H7zM11 7h2a4 4 0 0 1 4 4v2';
|
|
334
|
+
};
|
|
335
|
+
readonly 'hard-drive': {
|
|
336
|
+
readonly viewBox: '0 0 24 24';
|
|
337
|
+
readonly path: 'M4 14h16v6H4zM6 6h12l2 8H4zM8 17h.01M12 17h.01';
|
|
338
|
+
};
|
|
339
|
+
readonly slack: {
|
|
340
|
+
readonly viewBox: '0 0 24 24';
|
|
341
|
+
readonly path: 'M8 4v6H4M8 14v6M16 4v6M16 14v6h4M4 8h6M14 8h6M4 16h6M14 16h2';
|
|
342
|
+
};
|
|
343
|
+
readonly github: {
|
|
344
|
+
readonly viewBox: '0 0 24 24';
|
|
345
|
+
readonly path: 'M12 3a9 9 0 0 0-3 17.5c.5.1.6-.2.6-.5v-1.7c-2.5.5-3-1.2-3-1.2-.4-1-1-1.3-1-1.3-.8-.6.1-.6.1-.6.9.1 1.4.9 1.4.9.8 1.4 2.1 1 2.6.8.1-.6.3-1 .6-1.2-2-.2-4.1-1-4.1-4.4 0-1 .4-1.8 1-2.4-.1-.2-.4-1.2.1-2.5 0 0 .8-.3 2.7 1a9 9 0 0 1 5 0c1.9-1.3 2.7-1 2.7-1 .5 1.3.2 2.3.1 2.5.6.6 1 1.4 1 2.4 0 3.4-2.1 4.2-4.1 4.4.3.3.6.8.6 1.6v2.4c0 .3.1.6.6.5A9 9 0 0 0 12 3z';
|
|
346
|
+
};
|
|
347
|
+
readonly building: {
|
|
348
|
+
readonly viewBox: '0 0 24 24';
|
|
349
|
+
readonly path: 'M4 22V4h10v18M14 10h6v12M8 8h2M8 12h2M8 16h2';
|
|
350
|
+
};
|
|
351
|
+
readonly 'file-text': {
|
|
352
|
+
readonly viewBox: '0 0 24 24';
|
|
353
|
+
readonly path: 'M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5M8 13h8M8 17h6';
|
|
354
|
+
};
|
|
355
|
+
readonly wrench: {
|
|
356
|
+
readonly viewBox: '0 0 24 24';
|
|
357
|
+
readonly path: 'M14.7 6.3a4 4 0 0 0-5.6 5.6L3 18l3 3 6.1-6.1a4 4 0 0 0 5.6-5.6L15 12l-3-3z';
|
|
358
|
+
};
|
|
359
|
+
readonly file: {
|
|
360
|
+
readonly viewBox: '0 0 24 24';
|
|
361
|
+
readonly path: 'M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zM14 3v5h5';
|
|
362
|
+
};
|
|
363
|
+
readonly brain: {
|
|
364
|
+
readonly viewBox: '0 0 24 24';
|
|
365
|
+
readonly path: 'M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z';
|
|
366
|
+
};
|
|
367
|
+
readonly google: {
|
|
368
|
+
readonly viewBox: '0 0 20 21';
|
|
369
|
+
readonly fill: 'M19.7499 10.2456C19.7499 9.51343 19.684 8.81284 19.5615 8.13916H10.085V11.9988L15.5427 12C15.3213 13.2842 14.6089 14.3789 13.5174 15.1087V17.6128H16.7661C18.6631 15.869 19.7499 13.2912 19.7499 10.2456ZM13.5185 15.1088C12.6142 15.7146 11.4496 16.069 10.0873 16.069C7.45553 16.069 5.22298 14.3076 4.42345 11.9333H1.07227V14.5158C2.73255 17.7883 6.14497 20.0339 10.0873 20.0339C12.812 20.0339 15.1011 19.1439 16.7673 17.6117L13.5185 15.1088ZM4.10832 10.0175C4.10832 9.35087 4.22018 8.70643 4.42389 8.10058V5.51813H1.07271C0.386221 6.87134 0 8.39883 0 10.0175C0 11.6362 0.387398 13.1637 1.07271 14.5169L4.42389 11.9345C4.22018 11.3286 4.10832 10.6842 4.10832 10.0175ZM10.0873 3.96491C11.5745 3.96491 12.9062 4.47368 13.9577 5.46783L16.8367 2.61052C15.0881 0.992982 12.8085 0 10.0873 0C6.14614 0 2.73255 2.24561 1.07227 5.51812L4.42345 8.10058C5.22298 5.72631 7.45553 3.96491 10.0873 3.96491Z';
|
|
370
|
+
};
|
|
371
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const NM_LIST_ITEM_CLASSES: {
|
|
2
|
+
readonly root: 'nm-list-item';
|
|
3
|
+
readonly marked: 'nm-list-item--marked';
|
|
4
|
+
readonly icon: 'nm-list-item--icon';
|
|
5
|
+
readonly face: 'nm-list-item--face';
|
|
6
|
+
readonly identity: 'nm-list-item__identity';
|
|
7
|
+
readonly lead: 'nm-list-item__lead';
|
|
8
|
+
readonly title: 'nm-list-item__title';
|
|
9
|
+
readonly open: 'nm-list-item__open';
|
|
10
|
+
readonly detail: 'nm-list-item__detail';
|
|
11
|
+
readonly action: 'nm-list-item__action';
|
|
12
|
+
readonly menu: 'nm-list-item__menu';
|
|
13
|
+
readonly rest: 'nm-list-item__rest';
|
|
14
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export declare const NM_MESSAGE_ICON_IDS: readonly ['chevron', 'volume', 'copy', 'folder-in', 'fork', 'refresh'];
|
|
2
|
+
export type NmMessageIconId = (typeof NM_MESSAGE_ICON_IDS)[number];
|
|
3
|
+
export declare const NM_MESSAGE_ICON_GLYPH: {
|
|
4
|
+
readonly chevron: 'chevron';
|
|
5
|
+
readonly volume: 'volume';
|
|
6
|
+
readonly copy: 'copy';
|
|
7
|
+
readonly 'folder-in': 'folder-in';
|
|
8
|
+
readonly fork: 'fork';
|
|
9
|
+
readonly refresh: 'reload';
|
|
10
|
+
};
|
|
11
|
+
export declare const NM_MESSAGE_ICON_SRC: {
|
|
12
|
+
readonly chevron: '/interface/message/chevron.svg';
|
|
13
|
+
readonly volume: '/interface/message/volume.svg';
|
|
14
|
+
readonly copy: '/interface/message/copy.svg';
|
|
15
|
+
readonly 'folder-in': '/interface/header/folder.svg';
|
|
16
|
+
readonly fork: '/interface/message/fork.svg';
|
|
17
|
+
readonly refresh: '/interface/message/refresh.svg';
|
|
18
|
+
};
|
|
19
|
+
export declare const NM_TRACE_STATUSES: readonly ['running', 'error', 'pending'];
|
|
20
|
+
export type NmTraceStatus = (typeof NM_TRACE_STATUSES)[number];
|
|
21
|
+
export declare const NM_TRACE_GLYPH_PATHS: {
|
|
22
|
+
readonly read: 'M4 2.5h6l2 2V13.5H4zM6 7.5h4M6 10h3';
|
|
23
|
+
readonly write: 'M11.5 2.5l2 2L6 12H4v-2z';
|
|
24
|
+
readonly command: 'M3 5l3 3-3 3M8 12h5';
|
|
25
|
+
readonly search: 'M7 3.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7zM10 10l3 3';
|
|
26
|
+
readonly browse: 'M8 2.5a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11zM2.5 8h11M8 2.5c1.4 1.6 2 3.4 2 5.5s-.6 3.9-2 5.5c-1.4-1.6-2-3.4-2-5.5s.6-3.9 2-5.5z';
|
|
27
|
+
readonly preview: 'M4 3.5v9l8-4.5z';
|
|
28
|
+
readonly skill: 'M4 2.5h6l2 2V13.5H4zM6 7h4M6 9.5h3';
|
|
29
|
+
readonly tool: 'M9.5 2.5a2.5 2.5 0 0 0-2 4L3 11l2 2 4.5-4.5a2.5 2.5 0 1 0 0-6z';
|
|
30
|
+
readonly plan: 'M3.5 4.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM12.5 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM5 6h4.5a2 2 0 0 1 2 2v0a2 2 0 0 1-2 2H6.5a2 2 0 0 0-2 2v0a2 2 0 0 0 2 2H11';
|
|
31
|
+
readonly todo: 'M3.5 4.5h9M3.5 8h9M3.5 11.5h6';
|
|
32
|
+
readonly completed: 'M3 5l1.5 1.5L7.5 3.5M9.5 5h4M3 10.5l1.5 1.5 3-3M9.5 10.5h4';
|
|
33
|
+
readonly source: 'M8 2.5a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11zM2.5 8h11M8 2.5c1.4 1.6 2 3.4 2 5.5s-.6 3.9-2 5.5c-1.4-1.6-2-3.4-2-5.5s.6-3.9 2-5.5z';
|
|
34
|
+
readonly external: 'M5 11L11 5M6.5 5H11v4.5';
|
|
35
|
+
readonly check: 'M8 2.5a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11zM5.6 8.1l1.6 1.6 3.4-3.4';
|
|
36
|
+
readonly dot: 'M8 2.5a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11zM8 6.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z';
|
|
37
|
+
readonly circle: 'M8 2.5a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11z';
|
|
38
|
+
readonly alert: 'M8 2.5a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11zM8 5.2v3.3M8 10.8h.01';
|
|
39
|
+
readonly loader: 'M13.5 8a5.5 5.5 0 1 1-1.61-3.89';
|
|
40
|
+
};
|
|
41
|
+
export type NmTraceGlyphKind = keyof typeof NM_TRACE_GLYPH_PATHS;
|
|
42
|
+
export declare const NM_MESSAGE_CLASSES: {
|
|
43
|
+
readonly root: 'nm-message';
|
|
44
|
+
readonly user: 'nm-message--user';
|
|
45
|
+
readonly assistant: 'nm-message--assistant';
|
|
46
|
+
readonly stack: 'nm-message__stack';
|
|
47
|
+
readonly stackUser: 'nm-message__stack--user';
|
|
48
|
+
readonly bubble: 'nm-message__bubble';
|
|
49
|
+
readonly body: 'nm-message__body';
|
|
50
|
+
readonly flow: 'nm-message__flow';
|
|
51
|
+
readonly status: 'nm-message__status';
|
|
52
|
+
readonly tools: 'nm-message__tools';
|
|
53
|
+
readonly toolLine: 'nm-message__tool-line';
|
|
54
|
+
readonly toolsBody: 'nm-message__tools-body';
|
|
55
|
+
readonly trace: 'nm-trace';
|
|
56
|
+
readonly traceCollapsible: 'nm-trace__collapsible';
|
|
57
|
+
readonly traceHeader: 'nm-trace__header';
|
|
58
|
+
readonly traceTrigger: 'nm-trace__trigger';
|
|
59
|
+
readonly traceContent: 'nm-trace__content';
|
|
60
|
+
readonly traceLine: 'nm-trace__line';
|
|
61
|
+
readonly traceIcon: 'nm-trace__icon';
|
|
62
|
+
readonly traceIconSpin: 'nm-trace__icon--spin';
|
|
63
|
+
readonly traceTitle: 'nm-trace__title';
|
|
64
|
+
readonly traceDescription: 'nm-trace__description';
|
|
65
|
+
readonly traceBadges: 'nm-trace__badges';
|
|
66
|
+
readonly traceBadge: 'nm-trace__badge';
|
|
67
|
+
readonly traceLink: 'nm-trace__link';
|
|
68
|
+
readonly traceAction: 'nm-trace__action';
|
|
69
|
+
readonly think: 'nm-message__think';
|
|
70
|
+
readonly work: 'nm-message__work';
|
|
71
|
+
readonly workItem: 'nm-message__work-item';
|
|
72
|
+
readonly workError: 'nm-message__work-error';
|
|
73
|
+
readonly previewCard: 'nm-preview-card';
|
|
74
|
+
readonly previewBuilding: 'nm-preview-card--building';
|
|
75
|
+
readonly previewBar: 'nm-preview-card__bar';
|
|
76
|
+
readonly previewTitle: 'nm-preview-card__title';
|
|
77
|
+
readonly previewStage: 'nm-preview-card__stage';
|
|
78
|
+
readonly previewFrame: 'nm-preview-card__frame';
|
|
79
|
+
readonly meta: 'nm-message-meta';
|
|
80
|
+
readonly metaLabel: 'nm-message-meta__label';
|
|
81
|
+
readonly metaChevron: 'nm-message-meta__chevron';
|
|
82
|
+
readonly shimmer: 'nm-text-shimmer';
|
|
83
|
+
readonly icon: 'nm-message-icon';
|
|
84
|
+
readonly actions: 'nm-message-actions';
|
|
85
|
+
readonly actionsReveal: 'nm-message-actions--reveal';
|
|
86
|
+
readonly approval: 'nm-approval';
|
|
87
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const NM_MODAL_TITLE: {
|
|
2
|
+
readonly section: 'section';
|
|
3
|
+
readonly page: 'page';
|
|
4
|
+
};
|
|
5
|
+
export type NmModalTitleSize = (typeof NM_MODAL_TITLE)[keyof typeof NM_MODAL_TITLE];
|
|
6
|
+
export declare const NM_MODAL_SIZE: {
|
|
7
|
+
readonly simple: 'simple';
|
|
8
|
+
readonly menu: 'menu';
|
|
9
|
+
readonly wide: 'wide';
|
|
10
|
+
};
|
|
11
|
+
export type NmModalSize = (typeof NM_MODAL_SIZE)[keyof typeof NM_MODAL_SIZE];
|
|
12
|
+
export declare const NM_MODAL_FOOTER: {
|
|
13
|
+
readonly modal: 'modal';
|
|
14
|
+
readonly pane: 'pane';
|
|
15
|
+
};
|
|
16
|
+
export type NmModalFooter = (typeof NM_MODAL_FOOTER)[keyof typeof NM_MODAL_FOOTER];
|
|
17
|
+
export declare const NM_MODAL_ACTION: {
|
|
18
|
+
readonly quiet: 'quiet';
|
|
19
|
+
readonly primary: 'primary';
|
|
20
|
+
};
|
|
21
|
+
export type NmModalActionTone = (typeof NM_MODAL_ACTION)[keyof typeof NM_MODAL_ACTION];
|
|
22
|
+
/** Matches `--nm-rail-scroll-idle` (`--reveal` × 3). The thumb hides again after this rest. */
|
|
23
|
+
export declare const NM_MODAL_SCROLL_IDLE_MS = 750;
|
|
24
|
+
export declare const NM_MODAL_CLASSES: {
|
|
25
|
+
readonly layer: 'nm-modal-layer';
|
|
26
|
+
readonly root: 'nm-modal';
|
|
27
|
+
readonly simple: 'nm-modal--simple';
|
|
28
|
+
readonly menu: 'nm-modal--menu';
|
|
29
|
+
readonly wide: 'nm-modal--wide';
|
|
30
|
+
readonly backdrop: 'nm-modal__backdrop';
|
|
31
|
+
readonly title: 'nm-modal__title';
|
|
32
|
+
readonly titlePage: 'nm-modal__title--page';
|
|
33
|
+
readonly titleBar: 'nm-modal__title-bar';
|
|
34
|
+
readonly layout: 'nm-modal__layout';
|
|
35
|
+
readonly nav: 'nm-modal__menu';
|
|
36
|
+
readonly list: 'nm-modal__list';
|
|
37
|
+
readonly item: 'nm-modal__item';
|
|
38
|
+
readonly main: 'nm-modal__main';
|
|
39
|
+
readonly body: 'nm-modal__body';
|
|
40
|
+
readonly paneTitle: 'nm-modal__pane-title';
|
|
41
|
+
readonly paneBack: 'nm-modal__pane-back';
|
|
42
|
+
readonly form: 'nm-modal__form';
|
|
43
|
+
readonly heading: 'nm-modal__heading';
|
|
44
|
+
readonly groups: 'nm-modal__groups';
|
|
45
|
+
readonly group: 'nm-modal__group';
|
|
46
|
+
readonly listLoose: 'nm-modal__list--loose';
|
|
47
|
+
readonly field: 'nm-modal__field';
|
|
48
|
+
readonly label: 'nm-modal__label';
|
|
49
|
+
readonly control: 'nm-modal__control';
|
|
50
|
+
readonly search: 'nm-modal__search';
|
|
51
|
+
readonly toolbar: 'nm-modal__toolbar';
|
|
52
|
+
readonly add: 'nm-modal__add';
|
|
53
|
+
readonly row: 'nm-modal__row';
|
|
54
|
+
readonly rowDetail: 'nm-modal__row-detail';
|
|
55
|
+
readonly rowMenu: 'nm-modal__row-menu';
|
|
56
|
+
readonly help: 'nm-modal__help';
|
|
57
|
+
readonly footer: 'nm-modal__footer';
|
|
58
|
+
readonly footerPane: 'nm-modal__footer--pane';
|
|
59
|
+
readonly actions: 'nm-modal__actions';
|
|
60
|
+
readonly actionsSplit: 'nm-modal__actions--split';
|
|
61
|
+
readonly actionsEnd: 'nm-modal__actions-end';
|
|
62
|
+
readonly action: 'nm-modal__action';
|
|
63
|
+
readonly actionIcon: 'nm-modal__action--icon';
|
|
64
|
+
readonly actionQuiet: 'nm-modal__action--quiet';
|
|
65
|
+
readonly actionPrimary: 'nm-modal__action--primary';
|
|
66
|
+
readonly tabs: 'nm-modal__tabs';
|
|
67
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const NM_PANEL_BAR_LAYOUT: {
|
|
2
|
+
readonly icons: 'icons';
|
|
3
|
+
};
|
|
4
|
+
export type NmPanelBarLayout = (typeof NM_PANEL_BAR_LAYOUT)[keyof typeof NM_PANEL_BAR_LAYOUT];
|
|
5
|
+
export declare const NM_PANEL_BAR_CLASSES: {
|
|
6
|
+
readonly root: 'nm-panel-bar';
|
|
7
|
+
readonly icons: 'nm-panel-bar--icons';
|
|
8
|
+
readonly actions: 'nm-panel-bar__actions';
|
|
9
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/** Questionnaire: an agent asks one or more questions and the person answers them in steps. */
|
|
2
|
+
export declare const NM_QUESTIONNAIRE_SHORTCUTS: readonly ['none', 'letters', 'numbers'];
|
|
3
|
+
export type NmQuestionnaireShortcuts = (typeof NM_QUESTIONNAIRE_SHORTCUTS)[number];
|
|
4
|
+
export declare const NM_QUESTIONNAIRE_VARIANTS: readonly ['card', 'plain'];
|
|
5
|
+
export type NmQuestionnaireVariant = (typeof NM_QUESTIONNAIRE_VARIANTS)[number];
|
|
6
|
+
export type NmQuestionChoice = {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
};
|
|
11
|
+
export type NmQuestion = {
|
|
12
|
+
name: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
choices: readonly NmQuestionChoice[];
|
|
16
|
+
multiple?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
/** A freeform answer beside the fixed choices. It needs a visible label. */
|
|
19
|
+
input?: {
|
|
20
|
+
label: string;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type NmQuestionAnswer = {
|
|
25
|
+
values: readonly string[];
|
|
26
|
+
text: string;
|
|
27
|
+
};
|
|
28
|
+
export type NmQuestionnaireAnswers = Readonly<Record<string, NmQuestionAnswer>>;
|
|
29
|
+
export declare const NM_QUESTIONNAIRE_COPY: {
|
|
30
|
+
readonly previous: 'Previous';
|
|
31
|
+
readonly next: 'Next';
|
|
32
|
+
readonly skip: 'Skip';
|
|
33
|
+
readonly submit: 'Submit';
|
|
34
|
+
readonly required: 'Choose an answer to continue.';
|
|
35
|
+
readonly progress: (index: number, total: number) => string;
|
|
36
|
+
readonly skipped: 'Skipped';
|
|
37
|
+
};
|
|
38
|
+
export declare const NM_QUESTIONNAIRE_CLASSES: {
|
|
39
|
+
readonly root: 'nm-questionnaire';
|
|
40
|
+
readonly card: 'nm-questionnaire--card';
|
|
41
|
+
readonly progress: 'nm-questionnaire__progress';
|
|
42
|
+
readonly progressLabel: 'nm-questionnaire__progress-label';
|
|
43
|
+
readonly item: 'nm-questionnaire__item';
|
|
44
|
+
readonly title: 'nm-questionnaire__title';
|
|
45
|
+
readonly description: 'nm-questionnaire__description';
|
|
46
|
+
readonly choices: 'nm-questionnaire__choices';
|
|
47
|
+
readonly choice: 'nm-questionnaire__choice';
|
|
48
|
+
readonly input: 'nm-questionnaire__input';
|
|
49
|
+
readonly choiceBody: 'nm-questionnaire__choice-body';
|
|
50
|
+
readonly choiceLabel: 'nm-questionnaire__choice-label';
|
|
51
|
+
readonly choiceDescription: 'nm-questionnaire__choice-description';
|
|
52
|
+
readonly mark: 'nm-questionnaire__mark';
|
|
53
|
+
readonly key: 'nm-questionnaire__key';
|
|
54
|
+
readonly error: 'nm-questionnaire__error';
|
|
55
|
+
readonly actions: 'nm-questionnaire__actions';
|
|
56
|
+
readonly summary: 'nm-questionnaire__summary';
|
|
57
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/** Border-radius SSOT — authoritative CSS lives in `styles/tokens.css` (after `--nm-icon-control`). */
|
|
2
|
+
export declare const NM_RADIUS_SCALE_VAR: '--nm-radius-scale';
|
|
3
|
+
export declare const NM_RADIUS_PRIMITIVE_PX: {
|
|
4
|
+
readonly sm: 4;
|
|
5
|
+
readonly md: 8;
|
|
6
|
+
readonly lg: 12;
|
|
7
|
+
};
|
|
8
|
+
/** Space steps added to smart control radius for larger surfaces (rulebook §6). */
|
|
9
|
+
export declare const NM_RADIUS_SEMANTIC_OFFSET_SPACE: {
|
|
10
|
+
readonly row: '--nm-space-4';
|
|
11
|
+
readonly menu: '--nm-space-8';
|
|
12
|
+
readonly field: '--nm-space-12';
|
|
13
|
+
readonly composer: '--nm-space-24';
|
|
14
|
+
};
|
|
15
|
+
export declare const NM_RADIUS_CSS_VARS: {
|
|
16
|
+
readonly sm: '--nm-radius-sm';
|
|
17
|
+
readonly md: '--nm-radius-md';
|
|
18
|
+
readonly lg: '--nm-radius-lg';
|
|
19
|
+
readonly control: '--nm-control-radius';
|
|
20
|
+
readonly composer: '--nm-composer-radius';
|
|
21
|
+
readonly field: '--nm-field-radius';
|
|
22
|
+
readonly menu: '--nm-menu-radius';
|
|
23
|
+
readonly row: '--nm-row-radius';
|
|
24
|
+
};
|
|
25
|
+
/** Must match `tokens.css` — validated by `nm-radius.test.ts`. */
|
|
26
|
+
export declare const NM_RADIUS_FORMULAS: {
|
|
27
|
+
readonly control: 'calc(var(--nm-icon-control) / 2 * var(--nm-radius-scale))';
|
|
28
|
+
readonly composer: 'var(--nm-radius-lg)';
|
|
29
|
+
readonly field: 'var(--nm-control-r)';
|
|
30
|
+
readonly menu: 'var(--nm-radius-lg)';
|
|
31
|
+
readonly row: 'var(--nm-control-r)';
|
|
32
|
+
};
|
|
33
|
+
export declare const NM_RADIUS_PRIMITIVE_FORMULAS: {
|
|
34
|
+
readonly sm: 'calc(4px * var(--nm-radius-scale))';
|
|
35
|
+
readonly md: 'calc(8px * var(--nm-radius-scale))';
|
|
36
|
+
readonly lg: 'calc(12px * var(--nm-radius-scale))';
|
|
37
|
+
};
|
|
38
|
+
/** A control and the menu it opens share one radius rule. Defined in `tokens.css`. */
|
|
39
|
+
export declare const NM_CONTROL_MENU_CSS_VARS: {
|
|
40
|
+
readonly pad: '--nm-menu-pad';
|
|
41
|
+
readonly menuRadius: '--nm-control-menu-radius';
|
|
42
|
+
readonly optionRadius: '--nm-control-option-radius';
|
|
43
|
+
readonly inset: '--nm-control-inset';
|
|
44
|
+
readonly optionInset: '--nm-control-option-inset';
|
|
45
|
+
readonly panelPad: '--nm-panel-pad';
|
|
46
|
+
readonly panelItemRadius: '--nm-panel-item-radius';
|
|
47
|
+
readonly rowInline: '--nm-row-inline';
|
|
48
|
+
readonly rowInlineEnd: '--nm-row-inline-end';
|
|
49
|
+
};
|