@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,763 @@
|
|
|
1
|
+
.nm-modal {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: var(--nm-gap-section);
|
|
6
|
+
width: min(100%, var(--nm-modal-width));
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
min-width: var(--nm-modal-min-inline);
|
|
9
|
+
max-height: min(100%, var(--nm-modal-max-block));
|
|
10
|
+
min-height: var(--nm-modal-min-block);
|
|
11
|
+
overflow: auto;
|
|
12
|
+
padding: var(--nm-modal-pad-block) var(--nm-modal-pad-inline);
|
|
13
|
+
border: 0;
|
|
14
|
+
border-radius: var(--nm-menu-radius);
|
|
15
|
+
background: var(--nm-raised);
|
|
16
|
+
color: var(--nm-fg);
|
|
17
|
+
font-family: var(--nm-font);
|
|
18
|
+
box-shadow: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.nm-modal--simple {
|
|
22
|
+
width: min(100%, var(--nm-modal-width));
|
|
23
|
+
gap: var(--nm-space-16);
|
|
24
|
+
padding-block: var(--nm-space-24);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.nm-modal--simple .nm-modal__title,
|
|
28
|
+
.nm-modal--simple .nm-modal__title-bar {
|
|
29
|
+
margin-bottom: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.nm-modal--simple .nm-modal__body {
|
|
33
|
+
flex: 0 1 auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Body-only actions (OGDialog confirm flows) — skip an empty footer rail. */
|
|
37
|
+
.nm-modal--simple .nm-modal__footer:not(:has(button)) {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.nm-modal--menu {
|
|
42
|
+
width: min(100%, var(--nm-modal-menu));
|
|
43
|
+
height: min(100%, var(--nm-modal-max-block));
|
|
44
|
+
max-height: 100%;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.nm-modal--wide {
|
|
49
|
+
width: min(100%, var(--nm-modal-wide));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.nm-modal-layer {
|
|
53
|
+
position: fixed;
|
|
54
|
+
inset: 0;
|
|
55
|
+
z-index: calc(var(--nm-menu-z) + 1);
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
padding: var(--nm-modal-inset);
|
|
60
|
+
overscroll-behavior: none;
|
|
61
|
+
animation: nm-modal-in var(--reveal, 0.25s) cubic-bezier(0.22, 1, 0.36, 1);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.nm-modal-layer .nm-modal {
|
|
65
|
+
position: relative;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.nm-modal__backdrop {
|
|
69
|
+
position: absolute;
|
|
70
|
+
inset: 0;
|
|
71
|
+
background: var(--nm-canvas);
|
|
72
|
+
opacity: 0.8;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.nm-modal__title-bar {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: space-between;
|
|
79
|
+
gap: var(--nm-space-16);
|
|
80
|
+
margin: 0 0 calc(var(--nm-space-40) - var(--nm-gap-section));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.nm-modal__title {
|
|
84
|
+
margin: 0;
|
|
85
|
+
min-width: 0;
|
|
86
|
+
font-size: var(--nm-type-body);
|
|
87
|
+
font-weight: var(--nm-weight-medium);
|
|
88
|
+
line-height: normal;
|
|
89
|
+
letter-spacing: var(--nm-track);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.nm-modal__title--page {
|
|
93
|
+
font-size: var(--nm-type-lede);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.nm-modal--simple .nm-modal__title-bar {
|
|
97
|
+
margin-bottom: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.nm-modal__layout {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-direction: var(--nm-modal-layout);
|
|
103
|
+
flex-wrap: nowrap;
|
|
104
|
+
align-items: flex-start;
|
|
105
|
+
min-width: 0;
|
|
106
|
+
min-height: 0;
|
|
107
|
+
flex: 1 1 auto;
|
|
108
|
+
gap: var(--nm-gap-section);
|
|
109
|
+
overflow-x: hidden;
|
|
110
|
+
overflow-y: auto;
|
|
111
|
+
overflow-anchor: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.nm-modal__menu {
|
|
115
|
+
position: sticky;
|
|
116
|
+
top: 0;
|
|
117
|
+
display: flex;
|
|
118
|
+
width: var(--nm-modal-nav);
|
|
119
|
+
max-width: 100%;
|
|
120
|
+
min-width: var(--nm-modal-min-inline);
|
|
121
|
+
min-height: 0;
|
|
122
|
+
max-height: 100%;
|
|
123
|
+
flex: 0 0 auto;
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
gap: var(--nm-space-16);
|
|
126
|
+
overflow: auto;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.nm-modal__list {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
gap: var(--nm-space-4);
|
|
133
|
+
margin: 0;
|
|
134
|
+
padding: 0;
|
|
135
|
+
list-style: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.nm-modal__item {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: var(--nm-space-8);
|
|
142
|
+
width: 100%;
|
|
143
|
+
padding: var(--nm-space-6) var(--nm-space-12);
|
|
144
|
+
border: 0;
|
|
145
|
+
border-radius: var(--nm-menu-radius);
|
|
146
|
+
background: transparent;
|
|
147
|
+
color: var(--nm-fg);
|
|
148
|
+
font-family: var(--nm-font);
|
|
149
|
+
font-size: var(--nm-type-ui);
|
|
150
|
+
font-weight: var(--nm-weight-medium);
|
|
151
|
+
line-height: var(--nm-leading-none);
|
|
152
|
+
letter-spacing: var(--nm-track);
|
|
153
|
+
text-align: left;
|
|
154
|
+
cursor: pointer;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.nm-modal__item[data-active='true'],
|
|
158
|
+
.nm-modal__item[data-state='active'] {
|
|
159
|
+
background: var(--nm-panel);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.nm-modal__item:hover,
|
|
163
|
+
.nm-modal__item:focus-visible {
|
|
164
|
+
background: var(--nm-panel);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.nm-modal__item svg,
|
|
168
|
+
.nm-modal__item .nm-icon {
|
|
169
|
+
box-sizing: content-box;
|
|
170
|
+
width: var(--nm-icon-button);
|
|
171
|
+
height: var(--nm-icon-button);
|
|
172
|
+
flex-shrink: 0;
|
|
173
|
+
padding: var(--nm-icon-pad);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.nm-modal__main {
|
|
177
|
+
display: flex;
|
|
178
|
+
min-width: min(100%, var(--nm-modal-pane-min));
|
|
179
|
+
max-width: 100%;
|
|
180
|
+
min-height: min-content;
|
|
181
|
+
flex: 1 1 auto;
|
|
182
|
+
flex-direction: column;
|
|
183
|
+
gap: var(--nm-space-24);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.nm-modal__body {
|
|
187
|
+
display: flex;
|
|
188
|
+
min-height: 0;
|
|
189
|
+
flex: 1 1 auto;
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
gap: var(--nm-space-16);
|
|
192
|
+
overflow: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.nm-modal__layout .nm-modal__body {
|
|
196
|
+
min-height: min-content;
|
|
197
|
+
flex: 0 0 auto;
|
|
198
|
+
overflow: visible;
|
|
199
|
+
padding-inline-end: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.nm-modal,
|
|
203
|
+
.nm-modal__layout,
|
|
204
|
+
.nm-modal__menu,
|
|
205
|
+
.nm-modal__body,
|
|
206
|
+
.nm-field__menu {
|
|
207
|
+
scrollbar-gutter: stable;
|
|
208
|
+
scrollbar-width: thin;
|
|
209
|
+
scrollbar-color: transparent transparent;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.nm-modal__layout,
|
|
213
|
+
.nm-modal__menu,
|
|
214
|
+
.nm-modal__body {
|
|
215
|
+
padding-inline-end: var(--nm-rail-scrollbar);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.nm-modal[data-scrolling='true'],
|
|
219
|
+
.nm-modal__layout[data-scrolling='true'],
|
|
220
|
+
.nm-modal__menu[data-scrolling='true'],
|
|
221
|
+
.nm-modal__body[data-scrolling='true'],
|
|
222
|
+
.nm-field__menu[data-scrolling='true'] {
|
|
223
|
+
scrollbar-color: var(--nm-stroke) transparent;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.nm-modal::-webkit-scrollbar,
|
|
227
|
+
.nm-modal__layout::-webkit-scrollbar,
|
|
228
|
+
.nm-modal__menu::-webkit-scrollbar,
|
|
229
|
+
.nm-modal__body::-webkit-scrollbar,
|
|
230
|
+
.nm-field__menu::-webkit-scrollbar {
|
|
231
|
+
width: var(--nm-rail-scrollbar);
|
|
232
|
+
height: var(--nm-rail-scrollbar);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.nm-modal::-webkit-scrollbar-thumb,
|
|
236
|
+
.nm-modal__layout::-webkit-scrollbar-thumb,
|
|
237
|
+
.nm-modal__menu::-webkit-scrollbar-thumb,
|
|
238
|
+
.nm-modal__body::-webkit-scrollbar-thumb,
|
|
239
|
+
.nm-field__menu::-webkit-scrollbar-thumb {
|
|
240
|
+
background: transparent;
|
|
241
|
+
border-radius: var(--nm-radius-sm);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.nm-modal[data-scrolling='true']::-webkit-scrollbar-thumb,
|
|
245
|
+
.nm-modal__layout[data-scrolling='true']::-webkit-scrollbar-thumb,
|
|
246
|
+
.nm-modal__menu[data-scrolling='true']::-webkit-scrollbar-thumb,
|
|
247
|
+
.nm-modal__body[data-scrolling='true']::-webkit-scrollbar-thumb,
|
|
248
|
+
.nm-field__menu[data-scrolling='true']::-webkit-scrollbar-thumb {
|
|
249
|
+
background: var(--nm-stroke);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Scroll happens on .nm-modal__layout; disable scroll on .nm-modal__groups and inner lists. */
|
|
253
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__heading,
|
|
254
|
+
.nm-modal__body:has([data-kind='search']) > .nm-field,
|
|
255
|
+
.nm-modal__body:has([data-kind='search']) > .nm-tabs,
|
|
256
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form > :not(.nm-modal__list):not(.nm-modal__groups):not([data-kind='search']):not([data-kind='area']),
|
|
257
|
+
.nm-modal__body:has(.nm-tabs) > .nm-modal__form > :not(.nm-modal__list):not(.nm-modal__groups):not([data-kind='search']):not([data-kind='area']) {
|
|
258
|
+
flex-shrink: 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/* A long instruction yields when space is tight, and keeps its full rounded box across all tabs. */
|
|
262
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form > [data-kind='area'],
|
|
263
|
+
.nm-modal__body:has(.nm-tabs) > .nm-modal__form > [data-kind='area'] {
|
|
264
|
+
flex-grow: 0;
|
|
265
|
+
flex-shrink: 1;
|
|
266
|
+
flex-basis: auto;
|
|
267
|
+
min-height: 0;
|
|
268
|
+
overflow: visible;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form > [data-kind='area'] .nm-field__row,
|
|
272
|
+
.nm-modal__body:has(.nm-tabs) > .nm-modal__form > [data-kind='area'] .nm-field__row {
|
|
273
|
+
flex: 1 1 auto;
|
|
274
|
+
min-height: 0;
|
|
275
|
+
align-items: stretch;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form > [data-kind='area'] .nm-field__box,
|
|
279
|
+
.nm-modal__body:has(.nm-tabs) > .nm-modal__form > [data-kind='area'] .nm-field__box {
|
|
280
|
+
height: var(--nm-field-area);
|
|
281
|
+
min-height: var(--nm-field-area);
|
|
282
|
+
max-height: var(--nm-field-area);
|
|
283
|
+
align-items: flex-start;
|
|
284
|
+
overflow: hidden;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form,
|
|
288
|
+
.nm-modal__body:has(.nm-tabs) > .nm-modal__form {
|
|
289
|
+
flex: 0 0 auto;
|
|
290
|
+
min-height: min-content;
|
|
291
|
+
overflow: visible;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form > [data-kind='search'] {
|
|
295
|
+
flex: 0 0 auto;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form > .nm-modal__list,
|
|
299
|
+
.nm-modal__body:has([data-kind='search']) > .nm-modal__form > .nm-modal__groups,
|
|
300
|
+
.nm-modal__body:has(.nm-tabs) > .nm-modal__form > .nm-modal__list,
|
|
301
|
+
.nm-modal__body:has(.nm-tabs) > .nm-modal__form > .nm-modal__groups {
|
|
302
|
+
flex: none;
|
|
303
|
+
min-height: calc(var(--nm-list-row) * 3);
|
|
304
|
+
overflow: visible;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.nm-modal__body:has([data-kind='search']) .nm-modal__list,
|
|
308
|
+
.nm-modal__body:has([data-kind='search']) .nm-modal__groups,
|
|
309
|
+
.nm-modal__body:has(.nm-tabs) .nm-modal__list,
|
|
310
|
+
.nm-modal__body:has(.nm-tabs) .nm-modal__groups {
|
|
311
|
+
flex: none;
|
|
312
|
+
min-height: auto;
|
|
313
|
+
max-height: none;
|
|
314
|
+
overflow: visible;
|
|
315
|
+
padding-inline-end: 0;
|
|
316
|
+
scrollbar-gutter: auto;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.nm-modal__pane-title {
|
|
320
|
+
margin: 0;
|
|
321
|
+
font-size: var(--nm-type-body);
|
|
322
|
+
font-weight: var(--nm-weight-medium);
|
|
323
|
+
line-height: normal;
|
|
324
|
+
letter-spacing: var(--nm-track);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.nm-modal__pane-back {
|
|
328
|
+
display: inline-flex;
|
|
329
|
+
align-items: center;
|
|
330
|
+
gap: var(--nm-space-8);
|
|
331
|
+
margin: 0;
|
|
332
|
+
padding: 0;
|
|
333
|
+
border: 0;
|
|
334
|
+
background: transparent;
|
|
335
|
+
color: var(--nm-fg);
|
|
336
|
+
font-family: var(--nm-font);
|
|
337
|
+
font-size: var(--nm-type-body);
|
|
338
|
+
font-weight: var(--nm-weight-medium);
|
|
339
|
+
line-height: normal;
|
|
340
|
+
letter-spacing: var(--nm-track);
|
|
341
|
+
cursor: pointer;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.nm-modal__pane-back .nm-icon {
|
|
345
|
+
transform: rotate(90deg);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.nm-modal__form {
|
|
349
|
+
display: flex;
|
|
350
|
+
min-width: 0;
|
|
351
|
+
flex-direction: column;
|
|
352
|
+
gap: var(--nm-space-16);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.nm-modal__heading {
|
|
356
|
+
margin: 0;
|
|
357
|
+
font-size: var(--nm-type-body);
|
|
358
|
+
font-weight: var(--nm-weight-medium);
|
|
359
|
+
line-height: normal;
|
|
360
|
+
letter-spacing: var(--nm-track);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.nm-modal__groups {
|
|
364
|
+
display: flex;
|
|
365
|
+
flex-direction: column;
|
|
366
|
+
gap: var(--nm-space-40);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.nm-modal__group {
|
|
370
|
+
display: flex;
|
|
371
|
+
flex-direction: column;
|
|
372
|
+
gap: var(--nm-space-16);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.nm-modal__list--loose {
|
|
376
|
+
gap: var(--nm-space-16);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.nm-modal__field {
|
|
380
|
+
display: flex;
|
|
381
|
+
flex-direction: column;
|
|
382
|
+
gap: var(--nm-space-8);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.nm-modal__label {
|
|
386
|
+
margin: 0;
|
|
387
|
+
padding-inline: var(--nm-space-16);
|
|
388
|
+
color: var(--nm-fg-subtle);
|
|
389
|
+
font-size: var(--nm-type-caption);
|
|
390
|
+
font-weight: var(--nm-weight-medium);
|
|
391
|
+
line-height: normal;
|
|
392
|
+
letter-spacing: var(--nm-track);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.nm-modal__field input,
|
|
396
|
+
.nm-modal__field textarea,
|
|
397
|
+
.nm-modal__field select,
|
|
398
|
+
.nm-modal__field .nm-dropdown__trigger,
|
|
399
|
+
.nm-modal__control {
|
|
400
|
+
box-sizing: border-box;
|
|
401
|
+
width: 100%;
|
|
402
|
+
margin: 0;
|
|
403
|
+
padding: var(--nm-space-12) var(--nm-space-16);
|
|
404
|
+
border: 0;
|
|
405
|
+
border-radius: var(--nm-field-radius);
|
|
406
|
+
background: var(--nm-panel);
|
|
407
|
+
color: var(--nm-fg);
|
|
408
|
+
font-family: var(--nm-font);
|
|
409
|
+
font-size: var(--nm-type-ui);
|
|
410
|
+
font-weight: var(--nm-weight-medium);
|
|
411
|
+
line-height: var(--nm-leading-ui);
|
|
412
|
+
letter-spacing: var(--nm-track);
|
|
413
|
+
outline: none;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.nm-modal__field input::placeholder,
|
|
417
|
+
.nm-modal__field textarea::placeholder,
|
|
418
|
+
.nm-modal__search input::placeholder {
|
|
419
|
+
color: var(--nm-stroke);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.nm-modal__field textarea {
|
|
423
|
+
min-height: calc(var(--nm-space-12) * 2 + 1.25rem);
|
|
424
|
+
field-sizing: content;
|
|
425
|
+
resize: none;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.nm-modal__control {
|
|
429
|
+
display: flex;
|
|
430
|
+
align-items: center;
|
|
431
|
+
justify-content: space-between;
|
|
432
|
+
gap: var(--nm-space-8);
|
|
433
|
+
padding: var(--nm-space-6) var(--nm-space-16);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.nm-modal__control input {
|
|
437
|
+
width: auto;
|
|
438
|
+
min-width: 0;
|
|
439
|
+
flex: 1;
|
|
440
|
+
padding: 0;
|
|
441
|
+
border-radius: 0;
|
|
442
|
+
background: transparent;
|
|
443
|
+
color: var(--nm-stroke);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.nm-modal__control .nm-icon {
|
|
447
|
+
box-sizing: content-box;
|
|
448
|
+
width: var(--nm-icon-button);
|
|
449
|
+
height: var(--nm-icon-button);
|
|
450
|
+
flex-shrink: 0;
|
|
451
|
+
padding: var(--nm-icon-pad);
|
|
452
|
+
color: var(--nm-stroke);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.nm-modal__control .nm-icon[data-icon='ellipsis'] {
|
|
456
|
+
color: var(--nm-fg);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.nm-modal__toolbar {
|
|
460
|
+
display: flex;
|
|
461
|
+
align-items: center;
|
|
462
|
+
gap: var(--nm-space-8);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.nm-modal__toolbar .nm-modal__search {
|
|
466
|
+
flex: 1;
|
|
467
|
+
min-width: 0;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.nm-modal__add {
|
|
471
|
+
display: inline-flex;
|
|
472
|
+
flex-shrink: 0;
|
|
473
|
+
align-items: center;
|
|
474
|
+
justify-content: center;
|
|
475
|
+
margin: 0;
|
|
476
|
+
padding: var(--nm-icon-pad);
|
|
477
|
+
border: 0;
|
|
478
|
+
border-radius: var(--nm-composer-radius);
|
|
479
|
+
background: var(--nm-panel);
|
|
480
|
+
color: var(--nm-fg);
|
|
481
|
+
cursor: pointer;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.nm-modal__add .nm-icon {
|
|
485
|
+
display: block;
|
|
486
|
+
width: var(--nm-icon-button);
|
|
487
|
+
height: var(--nm-icon-button);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.nm-modal__search {
|
|
491
|
+
display: flex;
|
|
492
|
+
align-items: center;
|
|
493
|
+
gap: var(--nm-space-8);
|
|
494
|
+
padding: var(--nm-space-6) var(--nm-space-16);
|
|
495
|
+
border-radius: var(--nm-field-radius);
|
|
496
|
+
background: var(--nm-panel);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.nm-modal__search input {
|
|
500
|
+
width: auto;
|
|
501
|
+
min-width: 0;
|
|
502
|
+
flex: 1;
|
|
503
|
+
padding: 0;
|
|
504
|
+
border-radius: 0;
|
|
505
|
+
background: transparent;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.nm-modal__search .nm-icon {
|
|
509
|
+
box-sizing: content-box;
|
|
510
|
+
width: var(--nm-icon-button);
|
|
511
|
+
height: var(--nm-icon-button);
|
|
512
|
+
flex-shrink: 0;
|
|
513
|
+
padding: var(--nm-icon-pad);
|
|
514
|
+
color: var(--nm-fg);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.nm-modal__row {
|
|
518
|
+
display: flex;
|
|
519
|
+
align-items: center;
|
|
520
|
+
justify-content: space-between;
|
|
521
|
+
gap: var(--nm-space-8);
|
|
522
|
+
min-height: calc(var(--nm-space-12) * 2 + 1.25rem);
|
|
523
|
+
padding: var(--nm-space-12) var(--nm-space-16);
|
|
524
|
+
border-radius: var(--nm-field-radius);
|
|
525
|
+
background: transparent;
|
|
526
|
+
color: var(--nm-stroke);
|
|
527
|
+
font-size: var(--nm-type-ui);
|
|
528
|
+
font-weight: var(--nm-weight-medium);
|
|
529
|
+
line-height: var(--nm-leading-ui);
|
|
530
|
+
letter-spacing: var(--nm-track);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.nm-modal__row-detail {
|
|
534
|
+
color: var(--nm-line);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.nm-modal__row-menu {
|
|
538
|
+
display: none;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.nm-modal__row:hover,
|
|
542
|
+
.nm-modal__row:focus-within {
|
|
543
|
+
background: var(--nm-inset);
|
|
544
|
+
color: var(--nm-fg);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.nm-modal__row:hover .nm-modal__row-detail,
|
|
548
|
+
.nm-modal__row:focus-within .nm-modal__row-detail {
|
|
549
|
+
display: none;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.nm-modal__row:hover .nm-modal__row-menu,
|
|
553
|
+
.nm-modal__row:focus-within .nm-modal__row-menu {
|
|
554
|
+
display: inline-flex;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.nm-modal__row .nm-icon {
|
|
558
|
+
box-sizing: content-box;
|
|
559
|
+
width: var(--nm-icon-button);
|
|
560
|
+
height: var(--nm-icon-button);
|
|
561
|
+
padding: var(--nm-icon-pad);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.nm-modal__help {
|
|
565
|
+
margin: 0;
|
|
566
|
+
padding-inline: var(--nm-space-12);
|
|
567
|
+
color: var(--nm-fg-subtle);
|
|
568
|
+
font-size: var(--nm-type-caption);
|
|
569
|
+
font-weight: var(--nm-weight-medium);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.nm-modal__footer,
|
|
573
|
+
.nm-modal__actions,
|
|
574
|
+
.nm-modal__actions-end {
|
|
575
|
+
display: flex;
|
|
576
|
+
flex-shrink: 0;
|
|
577
|
+
align-items: center;
|
|
578
|
+
justify-content: flex-end;
|
|
579
|
+
gap: var(--nm-space-8);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.nm-modal__footer--pane {
|
|
583
|
+
margin-left: var(--nm-modal-footer-offset);
|
|
584
|
+
justify-content: space-between;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.nm-modal__footer .nm-modal__action .nm-icon[data-icon='chevron'] {
|
|
588
|
+
transform: rotate(90deg);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.nm-modal__actions--split {
|
|
592
|
+
justify-content: space-between;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.nm-modal__tabs {
|
|
596
|
+
display: flex;
|
|
597
|
+
gap: var(--nm-space-16);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.nm-modal__tabs button {
|
|
601
|
+
margin: 0;
|
|
602
|
+
padding: 0;
|
|
603
|
+
border: 0;
|
|
604
|
+
background: transparent;
|
|
605
|
+
color: var(--nm-stroke);
|
|
606
|
+
font-family: var(--nm-font);
|
|
607
|
+
font-size: var(--nm-type-ui);
|
|
608
|
+
font-weight: var(--nm-weight-medium);
|
|
609
|
+
line-height: var(--nm-leading-ui);
|
|
610
|
+
letter-spacing: var(--nm-track);
|
|
611
|
+
cursor: pointer;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.nm-modal__tabs button[aria-selected='true'] {
|
|
615
|
+
color: var(--nm-fg);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
button.nm-modal__action[type='button']:not(.nm-icon-button),
|
|
619
|
+
button.nm-modal__action[type='submit']:not(.nm-icon-button) {
|
|
620
|
+
display: inline-flex;
|
|
621
|
+
align-items: center;
|
|
622
|
+
justify-content: center;
|
|
623
|
+
gap: var(--nm-space-8);
|
|
624
|
+
min-height: var(--nm-icon-control);
|
|
625
|
+
margin: 0;
|
|
626
|
+
padding: var(--nm-icon-pad) var(--nm-space-16);
|
|
627
|
+
border: 0;
|
|
628
|
+
border-radius: var(--nm-composer-radius);
|
|
629
|
+
appearance: none;
|
|
630
|
+
-webkit-appearance: none;
|
|
631
|
+
background-image: none;
|
|
632
|
+
font-family: var(--nm-font);
|
|
633
|
+
font-size: var(--nm-type-ui);
|
|
634
|
+
font-weight: var(--nm-weight-semibold);
|
|
635
|
+
line-height: var(--nm-leading-tight);
|
|
636
|
+
letter-spacing: var(--nm-track);
|
|
637
|
+
white-space: nowrap;
|
|
638
|
+
cursor: pointer;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
button.nm-modal__action.nm-modal__action--icon {
|
|
642
|
+
gap: 0;
|
|
643
|
+
min-width: var(--nm-icon-control);
|
|
644
|
+
padding: var(--nm-icon-pad);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
button.nm-modal__action[type='button']:focus-visible,
|
|
648
|
+
button.nm-modal__action[type='submit']:focus-visible {
|
|
649
|
+
outline: var(--nm-rule) solid var(--nm-fg);
|
|
650
|
+
outline-offset: var(--nm-space-2);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
button.nm-modal__action.nm-modal__action--quiet {
|
|
654
|
+
background-color: var(--nm-panel);
|
|
655
|
+
color: var(--nm-fg);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
button.nm-modal__action.nm-modal__action--primary {
|
|
659
|
+
background-color: var(--nm-fg);
|
|
660
|
+
color: var(--nm-canvas);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
button.nm-modal__action[type='button']:disabled,
|
|
664
|
+
button.nm-modal__action[type='submit']:disabled {
|
|
665
|
+
opacity: var(--nm-soon-opacity);
|
|
666
|
+
cursor: default;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
button.nm-modal__action[data-save='saving']:disabled,
|
|
670
|
+
button.nm-modal__action[data-save='saved']:disabled {
|
|
671
|
+
opacity: 1;
|
|
672
|
+
cursor: progress;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
button.nm-modal__action[data-save='saved']:disabled {
|
|
676
|
+
cursor: default;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.nm-modal__action .nm-icon[data-icon='loader'] {
|
|
680
|
+
animation: nm-modal-spin 0.8s linear infinite;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
button.nm-modal__action:not(.nm-icon-button) .nm-icon {
|
|
684
|
+
display: block;
|
|
685
|
+
box-sizing: border-box;
|
|
686
|
+
flex-shrink: 0;
|
|
687
|
+
width: var(--nm-icon-button);
|
|
688
|
+
height: var(--nm-icon-button);
|
|
689
|
+
padding: 0;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.nm-icon-button.nm-modal__action .nm-icon {
|
|
693
|
+
padding: 0;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/* List views: the pane title and search stay put. Only the list scrolls. */
|
|
697
|
+
.nm-modal--menu .nm-modal__layout {
|
|
698
|
+
align-items: stretch;
|
|
699
|
+
overflow: hidden;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.nm-modal--menu .nm-modal__main {
|
|
703
|
+
min-height: 0;
|
|
704
|
+
overflow: hidden;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.nm-modal--menu .nm-modal__layout .nm-modal__body {
|
|
708
|
+
min-height: 0;
|
|
709
|
+
flex: 1 1 auto;
|
|
710
|
+
overflow: auto;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.nm-modal--menu .nm-modal__body:has(> .nm-modal__list),
|
|
714
|
+
.nm-modal--menu .nm-modal__body:has(> .nm-modal__groups),
|
|
715
|
+
.nm-modal--menu .nm-modal__body:has(.nm-modal__form .nm-modal__list) {
|
|
716
|
+
overflow: hidden;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.nm-modal--menu .nm-modal__body > .nm-modal__heading,
|
|
720
|
+
.nm-modal--menu .nm-modal__body > .nm-field,
|
|
721
|
+
.nm-modal--menu .nm-modal__body > .nm-modal__form > .nm-field:not(:has(.nm-modal__list)) {
|
|
722
|
+
flex: 0 0 auto;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.nm-modal--menu .nm-modal__body > .nm-modal__form:has(.nm-modal__list) {
|
|
726
|
+
flex: 1 1 auto;
|
|
727
|
+
min-height: 0;
|
|
728
|
+
overflow: hidden;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.nm-modal--menu .nm-modal__body > .nm-modal__list,
|
|
732
|
+
.nm-modal--menu .nm-modal__body > .nm-modal__groups,
|
|
733
|
+
.nm-modal--menu .nm-modal__body:has([data-kind='search']) > .nm-modal__list,
|
|
734
|
+
.nm-modal--menu .nm-modal__body:has([data-kind='search']) > .nm-modal__groups,
|
|
735
|
+
.nm-modal--menu .nm-modal__field:has(> .nm-modal__list),
|
|
736
|
+
.nm-modal--menu .nm-modal__field:has(> .nm-modal__list) > .nm-modal__list {
|
|
737
|
+
flex: 1 1 auto;
|
|
738
|
+
min-height: 0;
|
|
739
|
+
max-height: none;
|
|
740
|
+
overflow: auto;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
@keyframes nm-modal-spin {
|
|
744
|
+
to {
|
|
745
|
+
transform: rotate(360deg);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
@media (prefers-reduced-motion: reduce) {
|
|
750
|
+
.nm-modal-layer,
|
|
751
|
+
.nm-modal__action .nm-icon[data-icon='loader'] {
|
|
752
|
+
animation: none;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
@keyframes nm-modal-in {
|
|
757
|
+
from {
|
|
758
|
+
opacity: 0;
|
|
759
|
+
}
|
|
760
|
+
to {
|
|
761
|
+
opacity: 1;
|
|
762
|
+
}
|
|
763
|
+
}
|