@viax.io/uxm 4.46.0 → 4.47.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/CHANGELOG.md +7 -0
- package/dist/ui/index.cjs +2 -0
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +2 -1
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/menu/index.cjs +3 -1
- package/dist/ui/menu/index.cjs.map +1 -1
- package/dist/ui/menu/index.d.ts +1 -0
- package/dist/ui/menu/index.d.ts.map +1 -1
- package/dist/ui/menu/index.js +1 -0
- package/dist/ui/menu/index.js.map +1 -1
- package/dist/ui/menu/menu-button.cjs +89 -0
- package/dist/ui/menu/menu-button.cjs.map +1 -0
- package/dist/ui/menu/menu-button.css +30 -0
- package/dist/ui/menu/menu-button.d.ts +48 -0
- package/dist/ui/menu/menu-button.d.ts.map +1 -0
- package/dist/ui/menu/menu-button.js +70 -0
- package/dist/ui/menu/menu-button.js.map +1 -0
- package/dist/ui/styles.css +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [4.47.0](https://github.com/viax-io/uxm/compare/v4.46.0...v4.47.0) (2026-09-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **menu:** add MenuButton, the labelled dropdown trigger ([2e08a16](https://github.com/viax-io/uxm/commit/2e08a16345f00e6902395db79095457e7d9d2f53))
|
|
7
|
+
|
|
1
8
|
# [4.46.0](https://github.com/viax-io/uxm/compare/v4.45.0...v4.46.0) (2026-09-22)
|
|
2
9
|
|
|
3
10
|
|
package/dist/ui/index.cjs
CHANGED
|
@@ -89,6 +89,7 @@ __export(ui_exports, {
|
|
|
89
89
|
Listbox: () => import_listbox.Listbox,
|
|
90
90
|
Loader: () => import_loader.Loader,
|
|
91
91
|
Menu: () => import_menu.Menu,
|
|
92
|
+
MenuButton: () => import_menu.MenuButton,
|
|
92
93
|
MetaRow: () => import_meta_row.MetaRow,
|
|
93
94
|
Modal: () => import_modal.Modal,
|
|
94
95
|
MultiListbox: () => import_listbox.MultiListbox,
|
|
@@ -312,6 +313,7 @@ var import_icons = require("../lib/icons.cjs");
|
|
|
312
313
|
Listbox,
|
|
313
314
|
Loader,
|
|
314
315
|
Menu,
|
|
316
|
+
MenuButton,
|
|
315
317
|
MetaRow,
|
|
316
318
|
Modal,
|
|
317
319
|
MultiListbox,
|
package/dist/ui/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/ui/index.ts"],"sourcesContent":["export { AppSidebar, DEFAULT_SIDEBAR_ICON_COLORS } from './app-sidebar';\nexport type {\n AppSidebarBrand,\n AppSidebarIconColor,\n AppSidebarNavItem,\n AppSidebarProps,\n AppSidebarSection,\n} from './app-sidebar';\nexport { AppTopBar } from './app-top-bar';\nexport type { AppTopBarProps } from './app-top-bar';\nexport { Avatar } from './avatar';\nexport type { AvatarProps, AvatarSize, AvatarType } from './avatar';\nexport { BackLink } from './back-link';\nexport type { BackLinkProps } from './back-link';\nexport { Badge } from './badge';\nexport type { BadgeMode, BadgeProps, BadgeType } from './badge';\nexport { Banner } from './banner';\nexport type { BannerProps, BannerVariant } from './banner';\nexport { BulkActionBar } from './bulk-action-bar';\nexport type { BulkAction, BulkActionBarProps } from './bulk-action-bar';\nexport { Breadcrumb } from './breadcrumb';\nexport type { BreadcrumbCrumb, BreadcrumbProps, BreadcrumbSeparator } from './breadcrumb';\nexport { ButtonDanger, ButtonGhost, ButtonPrimary, ButtonSecondary, ButtonTertiary } from './button';\nexport type { ButtonProps } from './button';\nexport { ButtonGroup } from './button-group';\nexport type { ButtonGroupOption, ButtonGroupProps } from './button-group';\nexport { ButtonIcon } from './button-icon';\nexport type { ButtonIconProps } from './button-icon';\nexport { ButtonWithIcon } from './button-with-icon';\nexport type { ButtonWithIconProps } from './button-with-icon';\nexport { Calendar } from './calendar';\nexport type { CalendarProps, CalendarValue } from './calendar';\nexport { Card } from './card';\nexport type { CardProps } from './card';\nexport { Checkbox } from './checkbox';\nexport type { CheckboxProps } from './checkbox';\nexport { Chip } from './chip';\nexport type { ChipMode, ChipProps } from './chip';\nexport { Cluster } from './cluster';\nexport type { ClusterProps } from './cluster';\nexport { CodeBlock, CodeEditor } from './code-editor';\nexport type { CodeBlockProps, CodeEditorProps } from './code-editor';\nexport { ComponentRow } from './component-row';\nexport type { ComponentRowProps } from './component-row';\nexport { ConfigComponentRow } from './config-component-row';\nexport type { ConfigComponentRowProps } from './config-component-row';\nexport { ConfigSegmentItem } from './config-segment-item';\nexport type { ConfigSegmentItemProps } from './config-segment-item';\nexport { ContentTooltip, Tooltip } from './tooltip';\nexport type { ContentTooltipProps, TooltipPlacement, TooltipProps } from './tooltip';\nexport { DataTable } from './data-table';\nexport type { DataTableColumn, DataTableDensity, DataTableProps } from './data-table';\nexport { DateInput } from './date-input';\nexport type { DateInputFormat, DateInputMode, DateInputProps } from './date-input';\nexport { DetailSection } from './detail-section';\nexport type { DetailSectionProps } from './detail-section';\nexport { Dialog } from './dialog';\nexport type { DialogProps } from './dialog';\nexport { Disclosure } from './disclosure';\nexport type { DisclosureProps } from './disclosure';\nexport { Divider } from './divider';\nexport type { DividerProps } from './divider';\nexport { EditableCell } from './editable-cell';\nexport type { EditableCellAlign, EditableCellOption, EditableCellProps, EditableCellSize, EditableCellType, EditableCellValue } from './editable-cell';\nexport { EmptyState } from './empty-state';\nexport type { EmptyStateProps } from './empty-state';\nexport { ErrorPage } from './error-page';\nexport type { ErrorPageProps } from './error-page';\nexport { ExplorerListItem } from './explorer-list-item';\nexport type { ExplorerListItemProps } from './explorer-list-item';\nexport { ExplorerSection } from './explorer-section';\nexport type { ExplorerSectionProps } from './explorer-section';\nexport { FieldError } from './field-error';\nexport type { FieldErrorProps } from './field-error';\nexport { FilterTabs } from './filter-tabs';\nexport type { FilterTabsOption, FilterTabsProps } from './filter-tabs';\nexport { Icon } from './icon';\nexport type { IconProps } from './icon';\nexport { IconButton } from './icon-button';\nexport type { IconButtonProps, IconButtonVariant } from './icon-button';\nexport { IconTile } from './icon-tile';\nexport type { IconTileProps } from './icon-tile';\nexport { LifecycleConnector } from './lifecycle-connector';\nexport type {\n LifecycleConnectorArrowhead,\n LifecycleConnectorProps,\n LifecycleConnectorRouting,\n LifecycleConnectorState,\n} from './lifecycle-connector';\nexport { LifecycleDropSlot } from './lifecycle-drop-slot';\nexport type {\n LifecycleDropSlotProps,\n LifecycleDropSlotShape,\n} from './lifecycle-drop-slot';\nexport { LifecycleEdgeLabel } from './lifecycle-edge-label';\nexport type {\n LifecycleEdgeLabelProps,\n LifecycleEdgeLabelVariant,\n} from './lifecycle-edge-label';\nexport { LifecycleGroupBox } from './lifecycle-group-box';\nexport type { LifecycleGroupBoxProps } from './lifecycle-group-box';\nexport { LifecycleMinimap } from './lifecycle-minimap';\nexport type {\n LifecycleMinimapNode,\n LifecycleMinimapProps,\n LifecycleMinimapViewport,\n} from './lifecycle-minimap';\nexport { LifecycleNodeCard } from './lifecycle-node-card';\nexport type {\n LifecycleNodeCardProps,\n LifecycleNodeKind,\n} from './lifecycle-node-card';\nexport { LifecycleTerminal } from './lifecycle-terminal';\nexport type { LifecycleTerminalProps } from './lifecycle-terminal';\nexport { LifecycleZoomControl } from './lifecycle-zoom-control';\nexport type { LifecycleZoomControlProps } from './lifecycle-zoom-control';\nexport { MetaRow } from './meta-row';\nexport type { MetaRowProps } from './meta-row';\nexport { Modal } from './modal';\nexport type { ModalHeaderProps, ModalProps, ModalSectionProps, ModalSize } from './modal';\nexport { InlineAction } from './inline-action';\nexport type { InlineActionProps } from './inline-action';\nexport { InlineFilter } from './inline-filter';\nexport type { InlineFilterProps } from './inline-filter';\nexport { ColorInput, ColorInputPopover } from './color-input';\nexport type { ColorFormat, ColorInputPopoverProps, ColorInputProps } from './color-input';\nexport { InputWithIcon } from './input-with-icon';\nexport type { InputWithIconProps } from './input-with-icon';\nexport { Select, Textarea, TextInput } from './input';\nexport type { SelectProps, SelectSingleProps, SelectMultiProps, TextareaProps, TextInputProps } from './input';\nexport { LanguageSwitcher } from './language-switcher';\nexport type { LanguageSwitcherProps, LanguageSwitcherVariant } from './language-switcher';\nexport { Link } from './link';\nexport type { LinkProps, LinkUnderline } from './link';\nexport { List, ListItem } from './list';\nexport type { ListItemProps, ListProps, ListVariant } from './list';\nexport { SEARCHABLE_AUTO_THRESHOLD, Listbox, MultiListbox } from './listbox';\nexport type {\n ListboxProps,\n ListboxRenderItemState,\n ListboxRenderTriggerState,\n ListboxTriggerProps,\n MultiListboxProps,\n} from './listbox';\nexport { DEFAULT_UXM_LOCALE, UxmLocaleProvider, useUxmLocale } from './locale';\nexport type { UxmLocaleProviderProps } from './locale';\nexport { Loader } from './loader';\nexport type { LoaderLayout, LoaderProps, LoaderVariant } from './loader';\nexport { Menu } from './menu';\nexport type {\n MenuProps,\n MenuItem,\n MenuSeparator,\n MenuEntry,\n MenuTriggerProps,\n} from './menu';\nexport { NumberStepper } from './number-stepper';\nexport type { NumberStepperProps } from './number-stepper';\nexport { PageHeader } from './page-header';\nexport type { PageHeaderProps } from './page-header';\nexport { PageShell } from './page-shell';\nexport type { PageShellProps, PageShellVariant } from './page-shell';\nexport { CurrencyInput } from './currency-input';\nexport type { CurrencyInputProps, CurrencyValue } from './currency-input';\nexport { FileUpload } from './file-upload';\nexport type {\n FileStatus,\n FileUploadFileMeta,\n FileUploadLabels,\n FileUploadProps,\n FileUploadState,\n} from './file-upload';\nexport { FormField } from './form-field';\nexport type { FormFieldLabelPosition, FormFieldLabelTint, FormFieldLabelVariant, FormFieldProps } from './form-field';\nexport { HoverTooltip } from './hover-tooltip';\nexport type { HoverTooltipProps } from './hover-tooltip';\nexport { NumberInput } from './number-input';\nexport type { NumberInputProps } from './number-input';\nexport { PasswordInput } from './password-input';\nexport type { PasswordInputProps } from './password-input';\nexport { PhoneInput } from './phone-input';\nexport type { PhoneInputProps, PhoneValue } from './phone-input';\nexport { TimeInput } from './time-input';\nexport type { TimeInputFormat, TimeInputProps } from './time-input';\nexport { PillSelect } from './pill-select';\nexport type { PillSelectProps } from './pill-select';\nexport { Popover } from './popover';\nexport type { PopoverPlacement, PopoverProps } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport type { ProgressBarProps, ProgressBarVariant } from './progress-bar';\nexport { PropertyField, PropertyGrid } from './property-field';\nexport type { PropertyFieldProps, PropertyGridProps } from './property-field';\nexport { RadioGroup, RadioOption } from './radio-group';\nexport type { RadioGroupDirection, RadioGroupProps, RadioOptionProps } from './radio-group';\nexport { RangeSlider } from './range-slider';\nexport type { RangeSliderProps } from './range-slider';\nexport { ResponsiveGrid } from './responsive-grid';\nexport type { ResponsiveGridProps } from './responsive-grid';\nexport { SearchDropdown } from './search-dropdown';\nexport type { SearchDropdownOption, SearchDropdownProps } from './search-dropdown';\nexport { SideFlexpane } from './side-flexpane';\nexport type { SideFlexpaneProps } from './side-flexpane';\nexport { SectionHeader } from './section-header';\nexport type { SectionHeaderProps } from './section-header';\nexport { SegmentCard } from './segment-card';\nexport type { SegmentCardProps } from './segment-card';\nexport { SegmentRow } from './segment-row';\nexport type { SegmentRowProps } from './segment-row';\nexport { OptionList } from './option-list';\nexport type { OptionListItem, OptionListProps } from './option-list';\nexport { SidebarNavItem } from './sidebar-nav-item';\nexport type { SidebarNavItemProps } from './sidebar-nav-item';\nexport { SidebarNavTrigger } from './sidebar-nav-trigger';\nexport type {\n SidebarNavTriggerCaptionPlacement,\n SidebarNavTriggerProps,\n SidebarNavTriggerVariant,\n} from './sidebar-nav-trigger';\nexport { Slider } from './slider';\nexport type { SliderProps } from './slider';\nexport { Stack } from './stack';\nexport type { StackProps } from './stack';\nexport { StatCard } from './stat-card';\nexport type { StatCardProps, StatCardTrend } from './stat-card';\nexport { Tabs } from './tabs';\nexport type { TabsOption, TabsProps } from './tabs';\nexport { TabsUnderline } from './tabs-underline';\nexport type { TabsUnderlineOption, TabsUnderlineProps } from './tabs-underline';\nexport { Tag } from './tag';\nexport type { TagProps, TagSize, TagType } from './tag';\nexport { Thumbnail } from './thumbnail';\nexport type { ThumbnailFit, ThumbnailProps } from './thumbnail';\nexport { TimelineEntry } from './timeline-entry';\nexport type { TimelineDotState, TimelineEntryProps } from './timeline-entry';\nexport { Toast, Toaster, toast } from './toast';\nexport type {\n ToastPosition,\n ToasterProps,\n ToastProps,\n ToastVariant,\n} from './toast';\nexport { TypeOverviewCard } from './type-overview-card';\nexport type { TypeOverviewCardProps } from './type-overview-card';\nexport { ToggleSwitch } from './toggle-switch';\nexport type { ToggleSwitchProps } from './toggle-switch';\nexport { ViewSwitcher } from './view-switcher';\nexport type { ViewSwitcherOption, ViewSwitcherProps } from './view-switcher';\n\n// Icon registry — useful for shell-style tooling that needs to enumerate icons,\n// surface them in a picker, or look one up by id.\nexport { ICONS, ICON_OPTIONS, getIcon } from '../lib/icons';\nexport type { IconDef } from '../lib/icons';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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AAE5B,4BAA8B;AAE9B,yBAA2B;AAE3B,wBAA0B;AAE1B,yBAA2B;AAE3B,qBAAwB;AAExB,0BAA4B;AAE5B,4BAA4C;AAE5C,yBAAwC;AAExC,0BAA4B;AAE5B,6BAA+B;AAE/B,6BAA+B;AAE/B,2BAA6B;AAE7B,4BAA8B;AAE9B,0BAA4B;AAE5B,yBAA2B;AAE3B,yBAA2B;AAE3B,8BAA+B;AAE/B,iCAAkC;AAMlC,oBAAuB;AAEvB,mBAAsB;AAEtB,uBAAyB;AAEzB,kBAAqB;AAErB,4BAA8B;AAE9B,iBAAoB;AAEpB,uBAA0B;AAE1B,4BAA8B;AAE9B,mBAAsC;AAOtC,gCAAiC;AAEjC,2BAA6B;AAE7B,2BAA6B;AAK7B,mBAA6C;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/ui/index.ts"],"sourcesContent":["export { AppSidebar, DEFAULT_SIDEBAR_ICON_COLORS } from './app-sidebar';\nexport type {\n AppSidebarBrand,\n AppSidebarIconColor,\n AppSidebarNavItem,\n AppSidebarProps,\n AppSidebarSection,\n} from './app-sidebar';\nexport { AppTopBar } from './app-top-bar';\nexport type { AppTopBarProps } from './app-top-bar';\nexport { Avatar } from './avatar';\nexport type { AvatarProps, AvatarSize, AvatarType } from './avatar';\nexport { BackLink } from './back-link';\nexport type { BackLinkProps } from './back-link';\nexport { Badge } from './badge';\nexport type { BadgeMode, BadgeProps, BadgeType } from './badge';\nexport { Banner } from './banner';\nexport type { BannerProps, BannerVariant } from './banner';\nexport { BulkActionBar } from './bulk-action-bar';\nexport type { BulkAction, BulkActionBarProps } from './bulk-action-bar';\nexport { Breadcrumb } from './breadcrumb';\nexport type { BreadcrumbCrumb, BreadcrumbProps, BreadcrumbSeparator } from './breadcrumb';\nexport { ButtonDanger, ButtonGhost, ButtonPrimary, ButtonSecondary, ButtonTertiary } from './button';\nexport type { ButtonProps } from './button';\nexport { ButtonGroup } from './button-group';\nexport type { ButtonGroupOption, ButtonGroupProps } from './button-group';\nexport { ButtonIcon } from './button-icon';\nexport type { ButtonIconProps } from './button-icon';\nexport { ButtonWithIcon } from './button-with-icon';\nexport type { ButtonWithIconProps } from './button-with-icon';\nexport { Calendar } from './calendar';\nexport type { CalendarProps, CalendarValue } from './calendar';\nexport { Card } from './card';\nexport type { CardProps } from './card';\nexport { Checkbox } from './checkbox';\nexport type { CheckboxProps } from './checkbox';\nexport { Chip } from './chip';\nexport type { ChipMode, ChipProps } from './chip';\nexport { Cluster } from './cluster';\nexport type { ClusterProps } from './cluster';\nexport { CodeBlock, CodeEditor } from './code-editor';\nexport type { CodeBlockProps, CodeEditorProps } from './code-editor';\nexport { ComponentRow } from './component-row';\nexport type { ComponentRowProps } from './component-row';\nexport { ConfigComponentRow } from './config-component-row';\nexport type { ConfigComponentRowProps } from './config-component-row';\nexport { ConfigSegmentItem } from './config-segment-item';\nexport type { ConfigSegmentItemProps } from './config-segment-item';\nexport { ContentTooltip, Tooltip } from './tooltip';\nexport type { ContentTooltipProps, TooltipPlacement, TooltipProps } from './tooltip';\nexport { DataTable } from './data-table';\nexport type { DataTableColumn, DataTableDensity, DataTableProps } from './data-table';\nexport { DateInput } from './date-input';\nexport type { DateInputFormat, DateInputMode, DateInputProps } from './date-input';\nexport { DetailSection } from './detail-section';\nexport type { DetailSectionProps } from './detail-section';\nexport { Dialog } from './dialog';\nexport type { DialogProps } from './dialog';\nexport { Disclosure } from './disclosure';\nexport type { DisclosureProps } from './disclosure';\nexport { Divider } from './divider';\nexport type { DividerProps } from './divider';\nexport { EditableCell } from './editable-cell';\nexport type { EditableCellAlign, EditableCellOption, EditableCellProps, EditableCellSize, EditableCellType, EditableCellValue } from './editable-cell';\nexport { EmptyState } from './empty-state';\nexport type { EmptyStateProps } from './empty-state';\nexport { ErrorPage } from './error-page';\nexport type { ErrorPageProps } from './error-page';\nexport { ExplorerListItem } from './explorer-list-item';\nexport type { ExplorerListItemProps } from './explorer-list-item';\nexport { ExplorerSection } from './explorer-section';\nexport type { ExplorerSectionProps } from './explorer-section';\nexport { FieldError } from './field-error';\nexport type { FieldErrorProps } from './field-error';\nexport { FilterTabs } from './filter-tabs';\nexport type { FilterTabsOption, FilterTabsProps } from './filter-tabs';\nexport { Icon } from './icon';\nexport type { IconProps } from './icon';\nexport { IconButton } from './icon-button';\nexport type { IconButtonProps, IconButtonVariant } from './icon-button';\nexport { IconTile } from './icon-tile';\nexport type { IconTileProps } from './icon-tile';\nexport { LifecycleConnector } from './lifecycle-connector';\nexport type {\n LifecycleConnectorArrowhead,\n LifecycleConnectorProps,\n LifecycleConnectorRouting,\n LifecycleConnectorState,\n} from './lifecycle-connector';\nexport { LifecycleDropSlot } from './lifecycle-drop-slot';\nexport type {\n LifecycleDropSlotProps,\n LifecycleDropSlotShape,\n} from './lifecycle-drop-slot';\nexport { LifecycleEdgeLabel } from './lifecycle-edge-label';\nexport type {\n LifecycleEdgeLabelProps,\n LifecycleEdgeLabelVariant,\n} from './lifecycle-edge-label';\nexport { LifecycleGroupBox } from './lifecycle-group-box';\nexport type { LifecycleGroupBoxProps } from './lifecycle-group-box';\nexport { LifecycleMinimap } from './lifecycle-minimap';\nexport type {\n LifecycleMinimapNode,\n LifecycleMinimapProps,\n LifecycleMinimapViewport,\n} from './lifecycle-minimap';\nexport { LifecycleNodeCard } from './lifecycle-node-card';\nexport type {\n LifecycleNodeCardProps,\n LifecycleNodeKind,\n} from './lifecycle-node-card';\nexport { LifecycleTerminal } from './lifecycle-terminal';\nexport type { LifecycleTerminalProps } from './lifecycle-terminal';\nexport { LifecycleZoomControl } from './lifecycle-zoom-control';\nexport type { LifecycleZoomControlProps } from './lifecycle-zoom-control';\nexport { MetaRow } from './meta-row';\nexport type { MetaRowProps } from './meta-row';\nexport { Modal } from './modal';\nexport type { ModalHeaderProps, ModalProps, ModalSectionProps, ModalSize } from './modal';\nexport { InlineAction } from './inline-action';\nexport type { InlineActionProps } from './inline-action';\nexport { InlineFilter } from './inline-filter';\nexport type { InlineFilterProps } from './inline-filter';\nexport { ColorInput, ColorInputPopover } from './color-input';\nexport type { ColorFormat, ColorInputPopoverProps, ColorInputProps } from './color-input';\nexport { InputWithIcon } from './input-with-icon';\nexport type { InputWithIconProps } from './input-with-icon';\nexport { Select, Textarea, TextInput } from './input';\nexport type { SelectProps, SelectSingleProps, SelectMultiProps, TextareaProps, TextInputProps } from './input';\nexport { LanguageSwitcher } from './language-switcher';\nexport type { LanguageSwitcherProps, LanguageSwitcherVariant } from './language-switcher';\nexport { Link } from './link';\nexport type { LinkProps, LinkUnderline } from './link';\nexport { List, ListItem } from './list';\nexport type { ListItemProps, ListProps, ListVariant } from './list';\nexport { SEARCHABLE_AUTO_THRESHOLD, Listbox, MultiListbox } from './listbox';\nexport type {\n ListboxProps,\n ListboxRenderItemState,\n ListboxRenderTriggerState,\n ListboxTriggerProps,\n MultiListboxProps,\n} from './listbox';\nexport { DEFAULT_UXM_LOCALE, UxmLocaleProvider, useUxmLocale } from './locale';\nexport type { UxmLocaleProviderProps } from './locale';\nexport { Loader } from './loader';\nexport type { LoaderLayout, LoaderProps, LoaderVariant } from './loader';\nexport { Menu, MenuButton } from './menu';\nexport type {\n MenuProps,\n MenuButtonProps,\n MenuButtonVariant,\n MenuItem,\n MenuSeparator,\n MenuEntry,\n MenuTriggerProps,\n} from './menu';\nexport { NumberStepper } from './number-stepper';\nexport type { NumberStepperProps } from './number-stepper';\nexport { PageHeader } from './page-header';\nexport type { PageHeaderProps } from './page-header';\nexport { PageShell } from './page-shell';\nexport type { PageShellProps, PageShellVariant } from './page-shell';\nexport { CurrencyInput } from './currency-input';\nexport type { CurrencyInputProps, CurrencyValue } from './currency-input';\nexport { FileUpload } from './file-upload';\nexport type {\n FileStatus,\n FileUploadFileMeta,\n FileUploadLabels,\n FileUploadProps,\n FileUploadState,\n} from './file-upload';\nexport { FormField } from './form-field';\nexport type { FormFieldLabelPosition, FormFieldLabelTint, FormFieldLabelVariant, FormFieldProps } from './form-field';\nexport { HoverTooltip } from './hover-tooltip';\nexport type { HoverTooltipProps } from './hover-tooltip';\nexport { NumberInput } from './number-input';\nexport type { NumberInputProps } from './number-input';\nexport { PasswordInput } from './password-input';\nexport type { PasswordInputProps } from './password-input';\nexport { PhoneInput } from './phone-input';\nexport type { PhoneInputProps, PhoneValue } from './phone-input';\nexport { TimeInput } from './time-input';\nexport type { TimeInputFormat, TimeInputProps } from './time-input';\nexport { PillSelect } from './pill-select';\nexport type { PillSelectProps } from './pill-select';\nexport { Popover } from './popover';\nexport type { PopoverPlacement, PopoverProps } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport type { ProgressBarProps, ProgressBarVariant } from './progress-bar';\nexport { PropertyField, PropertyGrid } from './property-field';\nexport type { PropertyFieldProps, PropertyGridProps } from './property-field';\nexport { RadioGroup, RadioOption } from './radio-group';\nexport type { RadioGroupDirection, RadioGroupProps, RadioOptionProps } from './radio-group';\nexport { RangeSlider } from './range-slider';\nexport type { RangeSliderProps } from './range-slider';\nexport { ResponsiveGrid } from './responsive-grid';\nexport type { ResponsiveGridProps } from './responsive-grid';\nexport { SearchDropdown } from './search-dropdown';\nexport type { SearchDropdownOption, SearchDropdownProps } from './search-dropdown';\nexport { SideFlexpane } from './side-flexpane';\nexport type { SideFlexpaneProps } from './side-flexpane';\nexport { SectionHeader } from './section-header';\nexport type { SectionHeaderProps } from './section-header';\nexport { SegmentCard } from './segment-card';\nexport type { SegmentCardProps } from './segment-card';\nexport { SegmentRow } from './segment-row';\nexport type { SegmentRowProps } from './segment-row';\nexport { OptionList } from './option-list';\nexport type { OptionListItem, OptionListProps } from './option-list';\nexport { SidebarNavItem } from './sidebar-nav-item';\nexport type { SidebarNavItemProps } from './sidebar-nav-item';\nexport { SidebarNavTrigger } from './sidebar-nav-trigger';\nexport type {\n SidebarNavTriggerCaptionPlacement,\n SidebarNavTriggerProps,\n SidebarNavTriggerVariant,\n} from './sidebar-nav-trigger';\nexport { Slider } from './slider';\nexport type { SliderProps } from './slider';\nexport { Stack } from './stack';\nexport type { StackProps } from './stack';\nexport { StatCard } from './stat-card';\nexport type { StatCardProps, StatCardTrend } from './stat-card';\nexport { Tabs } from './tabs';\nexport type { TabsOption, TabsProps } from './tabs';\nexport { TabsUnderline } from './tabs-underline';\nexport type { TabsUnderlineOption, TabsUnderlineProps } from './tabs-underline';\nexport { Tag } from './tag';\nexport type { TagProps, TagSize, TagType } from './tag';\nexport { Thumbnail } from './thumbnail';\nexport type { ThumbnailFit, ThumbnailProps } from './thumbnail';\nexport { TimelineEntry } from './timeline-entry';\nexport type { TimelineDotState, TimelineEntryProps } from './timeline-entry';\nexport { Toast, Toaster, toast } from './toast';\nexport type {\n ToastPosition,\n ToasterProps,\n ToastProps,\n ToastVariant,\n} from './toast';\nexport { TypeOverviewCard } from './type-overview-card';\nexport type { TypeOverviewCardProps } from './type-overview-card';\nexport { ToggleSwitch } from './toggle-switch';\nexport type { ToggleSwitchProps } from './toggle-switch';\nexport { ViewSwitcher } from './view-switcher';\nexport type { ViewSwitcherOption, ViewSwitcherProps } from './view-switcher';\n\n// Icon registry — useful for shell-style tooling that needs to enumerate icons,\n// surface them in a picker, or look one up by id.\nexport { ICONS, ICON_OPTIONS, getIcon } from '../lib/icons';\nexport type { IconDef } from '../lib/icons';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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C;AAUjC,4BAA8B;AAE9B,yBAA2B;AAE3B,wBAA0B;AAE1B,4BAA8B;AAE9B,yBAA2B;AAQ3B,wBAA0B;AAE1B,2BAA6B;AAE7B,0BAA4B;AAE5B,4BAA8B;AAE9B,yBAA2B;AAE3B,wBAA0B;AAE1B,yBAA2B;AAE3B,qBAAwB;AAExB,0BAA4B;AAE5B,4BAA4C;AAE5C,yBAAwC;AAExC,0BAA4B;AAE5B,6BAA+B;AAE/B,6BAA+B;AAE/B,2BAA6B;AAE7B,4BAA8B;AAE9B,0BAA4B;AAE5B,yBAA2B;AAE3B,yBAA2B;AAE3B,8BAA+B;AAE/B,iCAAkC;AAMlC,oBAAuB;AAEvB,mBAAsB;AAEtB,uBAAyB;AAEzB,kBAAqB;AAErB,4BAA8B;AAE9B,iBAAoB;AAEpB,uBAA0B;AAE1B,4BAA8B;AAE9B,mBAAsC;AAOtC,gCAAiC;AAEjC,2BAA6B;AAE7B,2BAA6B;AAK7B,mBAA6C;","names":[]}
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -116,8 +116,8 @@ export { DEFAULT_UXM_LOCALE, UxmLocaleProvider, useUxmLocale } from './locale/in
|
|
|
116
116
|
export type { UxmLocaleProviderProps } from './locale/index.js';
|
|
117
117
|
export { Loader } from './loader/index.js';
|
|
118
118
|
export type { LoaderLayout, LoaderProps, LoaderVariant } from './loader/index.js';
|
|
119
|
-
export { Menu } from './menu/index.js';
|
|
120
|
-
export type { MenuProps, MenuItem, MenuSeparator, MenuEntry, MenuTriggerProps, } from './menu/index.js';
|
|
119
|
+
export { Menu, MenuButton } from './menu/index.js';
|
|
120
|
+
export type { MenuProps, MenuButtonProps, MenuButtonVariant, MenuItem, MenuSeparator, MenuEntry, MenuTriggerProps, } from './menu/index.js';
|
|
121
121
|
export { NumberStepper } from './number-stepper/index.js';
|
|
122
122
|
export type { NumberStepperProps } from './number-stepper/index.js';
|
|
123
123
|
export { PageHeader } from './page-header/index.js';
|
package/dist/ui/index.d.ts.map
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B,CAAC;AAI7E,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5D,YAAY,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/ui/index.js
CHANGED
|
@@ -57,7 +57,7 @@ import { List, ListItem } from "./list/index.js";
|
|
|
57
57
|
import { SEARCHABLE_AUTO_THRESHOLD, Listbox, MultiListbox } from "./listbox/index.js";
|
|
58
58
|
import { DEFAULT_UXM_LOCALE, UxmLocaleProvider, useUxmLocale } from "./locale/index.js";
|
|
59
59
|
import { Loader } from "./loader/index.js";
|
|
60
|
-
import { Menu } from "./menu/index.js";
|
|
60
|
+
import { Menu, MenuButton } from "./menu/index.js";
|
|
61
61
|
import { NumberStepper } from "./number-stepper/index.js";
|
|
62
62
|
import { PageHeader } from "./page-header/index.js";
|
|
63
63
|
import { PageShell } from "./page-shell/index.js";
|
|
@@ -169,6 +169,7 @@ export {
|
|
|
169
169
|
Listbox,
|
|
170
170
|
Loader,
|
|
171
171
|
Menu,
|
|
172
|
+
MenuButton,
|
|
172
173
|
MetaRow,
|
|
173
174
|
Modal,
|
|
174
175
|
MultiListbox,
|
package/dist/ui/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/ui/index.ts"],"sourcesContent":["export { AppSidebar, DEFAULT_SIDEBAR_ICON_COLORS } from './app-sidebar';\nexport type {\n AppSidebarBrand,\n AppSidebarIconColor,\n AppSidebarNavItem,\n AppSidebarProps,\n AppSidebarSection,\n} from './app-sidebar';\nexport { AppTopBar } from './app-top-bar';\nexport type { AppTopBarProps } from './app-top-bar';\nexport { Avatar } from './avatar';\nexport type { AvatarProps, AvatarSize, AvatarType } from './avatar';\nexport { BackLink } from './back-link';\nexport type { BackLinkProps } from './back-link';\nexport { Badge } from './badge';\nexport type { BadgeMode, BadgeProps, BadgeType } from './badge';\nexport { Banner } from './banner';\nexport type { BannerProps, BannerVariant } from './banner';\nexport { BulkActionBar } from './bulk-action-bar';\nexport type { BulkAction, BulkActionBarProps } from './bulk-action-bar';\nexport { Breadcrumb } from './breadcrumb';\nexport type { BreadcrumbCrumb, BreadcrumbProps, BreadcrumbSeparator } from './breadcrumb';\nexport { ButtonDanger, ButtonGhost, ButtonPrimary, ButtonSecondary, ButtonTertiary } from './button';\nexport type { ButtonProps } from './button';\nexport { ButtonGroup } from './button-group';\nexport type { ButtonGroupOption, ButtonGroupProps } from './button-group';\nexport { ButtonIcon } from './button-icon';\nexport type { ButtonIconProps } from './button-icon';\nexport { ButtonWithIcon } from './button-with-icon';\nexport type { ButtonWithIconProps } from './button-with-icon';\nexport { Calendar } from './calendar';\nexport type { CalendarProps, CalendarValue } from './calendar';\nexport { Card } from './card';\nexport type { CardProps } from './card';\nexport { Checkbox } from './checkbox';\nexport type { CheckboxProps } from './checkbox';\nexport { Chip } from './chip';\nexport type { ChipMode, ChipProps } from './chip';\nexport { Cluster } from './cluster';\nexport type { ClusterProps } from './cluster';\nexport { CodeBlock, CodeEditor } from './code-editor';\nexport type { CodeBlockProps, CodeEditorProps } from './code-editor';\nexport { ComponentRow } from './component-row';\nexport type { ComponentRowProps } from './component-row';\nexport { ConfigComponentRow } from './config-component-row';\nexport type { ConfigComponentRowProps } from './config-component-row';\nexport { ConfigSegmentItem } from './config-segment-item';\nexport type { ConfigSegmentItemProps } from './config-segment-item';\nexport { ContentTooltip, Tooltip } from './tooltip';\nexport type { ContentTooltipProps, TooltipPlacement, TooltipProps } from './tooltip';\nexport { DataTable } from './data-table';\nexport type { DataTableColumn, DataTableDensity, DataTableProps } from './data-table';\nexport { DateInput } from './date-input';\nexport type { DateInputFormat, DateInputMode, DateInputProps } from './date-input';\nexport { DetailSection } from './detail-section';\nexport type { DetailSectionProps } from './detail-section';\nexport { Dialog } from './dialog';\nexport type { DialogProps } from './dialog';\nexport { Disclosure } from './disclosure';\nexport type { DisclosureProps } from './disclosure';\nexport { Divider } from './divider';\nexport type { DividerProps } from './divider';\nexport { EditableCell } from './editable-cell';\nexport type { EditableCellAlign, EditableCellOption, EditableCellProps, EditableCellSize, EditableCellType, EditableCellValue } from './editable-cell';\nexport { EmptyState } from './empty-state';\nexport type { EmptyStateProps } from './empty-state';\nexport { ErrorPage } from './error-page';\nexport type { ErrorPageProps } from './error-page';\nexport { ExplorerListItem } from './explorer-list-item';\nexport type { ExplorerListItemProps } from './explorer-list-item';\nexport { ExplorerSection } from './explorer-section';\nexport type { ExplorerSectionProps } from './explorer-section';\nexport { FieldError } from './field-error';\nexport type { FieldErrorProps } from './field-error';\nexport { FilterTabs } from './filter-tabs';\nexport type { FilterTabsOption, FilterTabsProps } from './filter-tabs';\nexport { Icon } from './icon';\nexport type { IconProps } from './icon';\nexport { IconButton } from './icon-button';\nexport type { IconButtonProps, IconButtonVariant } from './icon-button';\nexport { IconTile } from './icon-tile';\nexport type { IconTileProps } from './icon-tile';\nexport { LifecycleConnector } from './lifecycle-connector';\nexport type {\n LifecycleConnectorArrowhead,\n LifecycleConnectorProps,\n LifecycleConnectorRouting,\n LifecycleConnectorState,\n} from './lifecycle-connector';\nexport { LifecycleDropSlot } from './lifecycle-drop-slot';\nexport type {\n LifecycleDropSlotProps,\n LifecycleDropSlotShape,\n} from './lifecycle-drop-slot';\nexport { LifecycleEdgeLabel } from './lifecycle-edge-label';\nexport type {\n LifecycleEdgeLabelProps,\n LifecycleEdgeLabelVariant,\n} from './lifecycle-edge-label';\nexport { LifecycleGroupBox } from './lifecycle-group-box';\nexport type { LifecycleGroupBoxProps } from './lifecycle-group-box';\nexport { LifecycleMinimap } from './lifecycle-minimap';\nexport type {\n LifecycleMinimapNode,\n LifecycleMinimapProps,\n LifecycleMinimapViewport,\n} from './lifecycle-minimap';\nexport { LifecycleNodeCard } from './lifecycle-node-card';\nexport type {\n LifecycleNodeCardProps,\n LifecycleNodeKind,\n} from './lifecycle-node-card';\nexport { LifecycleTerminal } from './lifecycle-terminal';\nexport type { LifecycleTerminalProps } from './lifecycle-terminal';\nexport { LifecycleZoomControl } from './lifecycle-zoom-control';\nexport type { LifecycleZoomControlProps } from './lifecycle-zoom-control';\nexport { MetaRow } from './meta-row';\nexport type { MetaRowProps } from './meta-row';\nexport { Modal } from './modal';\nexport type { ModalHeaderProps, ModalProps, ModalSectionProps, ModalSize } from './modal';\nexport { InlineAction } from './inline-action';\nexport type { InlineActionProps } from './inline-action';\nexport { InlineFilter } from './inline-filter';\nexport type { InlineFilterProps } from './inline-filter';\nexport { ColorInput, ColorInputPopover } from './color-input';\nexport type { ColorFormat, ColorInputPopoverProps, ColorInputProps } from './color-input';\nexport { InputWithIcon } from './input-with-icon';\nexport type { InputWithIconProps } from './input-with-icon';\nexport { Select, Textarea, TextInput } from './input';\nexport type { SelectProps, SelectSingleProps, SelectMultiProps, TextareaProps, TextInputProps } from './input';\nexport { LanguageSwitcher } from './language-switcher';\nexport type { LanguageSwitcherProps, LanguageSwitcherVariant } from './language-switcher';\nexport { Link } from './link';\nexport type { LinkProps, LinkUnderline } from './link';\nexport { List, ListItem } from './list';\nexport type { ListItemProps, ListProps, ListVariant } from './list';\nexport { SEARCHABLE_AUTO_THRESHOLD, Listbox, MultiListbox } from './listbox';\nexport type {\n ListboxProps,\n ListboxRenderItemState,\n ListboxRenderTriggerState,\n ListboxTriggerProps,\n MultiListboxProps,\n} from './listbox';\nexport { DEFAULT_UXM_LOCALE, UxmLocaleProvider, useUxmLocale } from './locale';\nexport type { UxmLocaleProviderProps } from './locale';\nexport { Loader } from './loader';\nexport type { LoaderLayout, LoaderProps, LoaderVariant } from './loader';\nexport { Menu } from './menu';\nexport type {\n MenuProps,\n MenuItem,\n MenuSeparator,\n MenuEntry,\n MenuTriggerProps,\n} from './menu';\nexport { NumberStepper } from './number-stepper';\nexport type { NumberStepperProps } from './number-stepper';\nexport { PageHeader } from './page-header';\nexport type { PageHeaderProps } from './page-header';\nexport { PageShell } from './page-shell';\nexport type { PageShellProps, PageShellVariant } from './page-shell';\nexport { CurrencyInput } from './currency-input';\nexport type { CurrencyInputProps, CurrencyValue } from './currency-input';\nexport { FileUpload } from './file-upload';\nexport type {\n FileStatus,\n FileUploadFileMeta,\n FileUploadLabels,\n FileUploadProps,\n FileUploadState,\n} from './file-upload';\nexport { FormField } from './form-field';\nexport type { FormFieldLabelPosition, FormFieldLabelTint, FormFieldLabelVariant, FormFieldProps } from './form-field';\nexport { HoverTooltip } from './hover-tooltip';\nexport type { HoverTooltipProps } from './hover-tooltip';\nexport { NumberInput } from './number-input';\nexport type { NumberInputProps } from './number-input';\nexport { PasswordInput } from './password-input';\nexport type { PasswordInputProps } from './password-input';\nexport { PhoneInput } from './phone-input';\nexport type { PhoneInputProps, PhoneValue } from './phone-input';\nexport { TimeInput } from './time-input';\nexport type { TimeInputFormat, TimeInputProps } from './time-input';\nexport { PillSelect } from './pill-select';\nexport type { PillSelectProps } from './pill-select';\nexport { Popover } from './popover';\nexport type { PopoverPlacement, PopoverProps } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport type { ProgressBarProps, ProgressBarVariant } from './progress-bar';\nexport { PropertyField, PropertyGrid } from './property-field';\nexport type { PropertyFieldProps, PropertyGridProps } from './property-field';\nexport { RadioGroup, RadioOption } from './radio-group';\nexport type { RadioGroupDirection, RadioGroupProps, RadioOptionProps } from './radio-group';\nexport { RangeSlider } from './range-slider';\nexport type { RangeSliderProps } from './range-slider';\nexport { ResponsiveGrid } from './responsive-grid';\nexport type { ResponsiveGridProps } from './responsive-grid';\nexport { SearchDropdown } from './search-dropdown';\nexport type { SearchDropdownOption, SearchDropdownProps } from './search-dropdown';\nexport { SideFlexpane } from './side-flexpane';\nexport type { SideFlexpaneProps } from './side-flexpane';\nexport { SectionHeader } from './section-header';\nexport type { SectionHeaderProps } from './section-header';\nexport { SegmentCard } from './segment-card';\nexport type { SegmentCardProps } from './segment-card';\nexport { SegmentRow } from './segment-row';\nexport type { SegmentRowProps } from './segment-row';\nexport { OptionList } from './option-list';\nexport type { OptionListItem, OptionListProps } from './option-list';\nexport { SidebarNavItem } from './sidebar-nav-item';\nexport type { SidebarNavItemProps } from './sidebar-nav-item';\nexport { SidebarNavTrigger } from './sidebar-nav-trigger';\nexport type {\n SidebarNavTriggerCaptionPlacement,\n SidebarNavTriggerProps,\n SidebarNavTriggerVariant,\n} from './sidebar-nav-trigger';\nexport { Slider } from './slider';\nexport type { SliderProps } from './slider';\nexport { Stack } from './stack';\nexport type { StackProps } from './stack';\nexport { StatCard } from './stat-card';\nexport type { StatCardProps, StatCardTrend } from './stat-card';\nexport { Tabs } from './tabs';\nexport type { TabsOption, TabsProps } from './tabs';\nexport { TabsUnderline } from './tabs-underline';\nexport type { TabsUnderlineOption, TabsUnderlineProps } from './tabs-underline';\nexport { Tag } from './tag';\nexport type { TagProps, TagSize, TagType } from './tag';\nexport { Thumbnail } from './thumbnail';\nexport type { ThumbnailFit, ThumbnailProps } from './thumbnail';\nexport { TimelineEntry } from './timeline-entry';\nexport type { TimelineDotState, TimelineEntryProps } from './timeline-entry';\nexport { Toast, Toaster, toast } from './toast';\nexport type {\n ToastPosition,\n ToasterProps,\n ToastProps,\n ToastVariant,\n} from './toast';\nexport { TypeOverviewCard } from './type-overview-card';\nexport type { TypeOverviewCardProps } from './type-overview-card';\nexport { ToggleSwitch } from './toggle-switch';\nexport type { ToggleSwitchProps } from './toggle-switch';\nexport { ViewSwitcher } from './view-switcher';\nexport type { ViewSwitcherOption, ViewSwitcherProps } from './view-switcher';\n\n// Icon registry — useful for shell-style tooling that needs to enumerate icons,\n// surface them in a picker, or look one up by id.\nexport { ICONS, ICON_OPTIONS, getIcon } from '../lib/icons';\nexport type { IconDef } from '../lib/icons';\n"],"mappings":"AAAA,SAAS,YAAY,mCAAmC;AAQxD,SAAS,iBAAiB;AAE1B,SAAS,cAAc;AAEvB,SAAS,gBAAgB;AAEzB,SAAS,aAAa;AAEtB,SAAS,cAAc;AAEvB,SAAS,qBAAqB;AAE9B,SAAS,kBAAkB;AAE3B,SAAS,cAAc,aAAa,eAAe,iBAAiB,s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,SAAS,kBAAkB;AAQ3B,SAAS,iBAAiB;AAE1B,SAAS,oBAAoB;AAE7B,SAAS,mBAAmB;AAE5B,SAAS,qBAAqB;AAE9B,SAAS,kBAAkB;AAE3B,SAAS,iBAAiB;AAE1B,SAAS,kBAAkB;AAE3B,SAAS,eAAe;AAExB,SAAS,mBAAmB;AAE5B,SAAS,eAAe,oBAAoB;AAE5C,SAAS,YAAY,mBAAmB;AAExC,SAAS,mBAAmB;AAE5B,SAAS,sBAAsB;AAE/B,SAAS,sBAAsB;AAE/B,SAAS,oBAAoB;AAE7B,SAAS,qBAAqB;AAE9B,SAAS,mBAAmB;AAE5B,SAAS,kBAAkB;AAE3B,SAAS,kBAAkB;AAE3B,SAAS,sBAAsB;AAE/B,SAAS,yBAAyB;AAMlC,SAAS,cAAc;AAEvB,SAAS,aAAa;AAEtB,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AAErB,SAAS,qBAAqB;AAE9B,SAAS,WAAW;AAEpB,SAAS,iBAAiB;AAE1B,SAAS,qBAAqB;AAE9B,SAAS,OAAO,SAAS,aAAa;AAOtC,SAAS,wBAAwB;AAEjC,SAAS,oBAAoB;AAE7B,SAAS,oBAAoB;AAK7B,SAAS,OAAO,cAAc,eAAe;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/ui/index.ts"],"sourcesContent":["export { AppSidebar, DEFAULT_SIDEBAR_ICON_COLORS } from './app-sidebar';\nexport type {\n AppSidebarBrand,\n AppSidebarIconColor,\n AppSidebarNavItem,\n AppSidebarProps,\n AppSidebarSection,\n} from './app-sidebar';\nexport { AppTopBar } from './app-top-bar';\nexport type { AppTopBarProps } from './app-top-bar';\nexport { Avatar } from './avatar';\nexport type { AvatarProps, AvatarSize, AvatarType } from './avatar';\nexport { BackLink } from './back-link';\nexport type { BackLinkProps } from './back-link';\nexport { Badge } from './badge';\nexport type { BadgeMode, BadgeProps, BadgeType } from './badge';\nexport { Banner } from './banner';\nexport type { BannerProps, BannerVariant } from './banner';\nexport { BulkActionBar } from './bulk-action-bar';\nexport type { BulkAction, BulkActionBarProps } from './bulk-action-bar';\nexport { Breadcrumb } from './breadcrumb';\nexport type { BreadcrumbCrumb, BreadcrumbProps, BreadcrumbSeparator } from './breadcrumb';\nexport { ButtonDanger, ButtonGhost, ButtonPrimary, ButtonSecondary, ButtonTertiary } from './button';\nexport type { ButtonProps } from './button';\nexport { ButtonGroup } from './button-group';\nexport type { ButtonGroupOption, ButtonGroupProps } from './button-group';\nexport { ButtonIcon } from './button-icon';\nexport type { ButtonIconProps } from './button-icon';\nexport { ButtonWithIcon } from './button-with-icon';\nexport type { ButtonWithIconProps } from './button-with-icon';\nexport { Calendar } from './calendar';\nexport type { CalendarProps, CalendarValue } from './calendar';\nexport { Card } from './card';\nexport type { CardProps } from './card';\nexport { Checkbox } from './checkbox';\nexport type { CheckboxProps } from './checkbox';\nexport { Chip } from './chip';\nexport type { ChipMode, ChipProps } from './chip';\nexport { Cluster } from './cluster';\nexport type { ClusterProps } from './cluster';\nexport { CodeBlock, CodeEditor } from './code-editor';\nexport type { CodeBlockProps, CodeEditorProps } from './code-editor';\nexport { ComponentRow } from './component-row';\nexport type { ComponentRowProps } from './component-row';\nexport { ConfigComponentRow } from './config-component-row';\nexport type { ConfigComponentRowProps } from './config-component-row';\nexport { ConfigSegmentItem } from './config-segment-item';\nexport type { ConfigSegmentItemProps } from './config-segment-item';\nexport { ContentTooltip, Tooltip } from './tooltip';\nexport type { ContentTooltipProps, TooltipPlacement, TooltipProps } from './tooltip';\nexport { DataTable } from './data-table';\nexport type { DataTableColumn, DataTableDensity, DataTableProps } from './data-table';\nexport { DateInput } from './date-input';\nexport type { DateInputFormat, DateInputMode, DateInputProps } from './date-input';\nexport { DetailSection } from './detail-section';\nexport type { DetailSectionProps } from './detail-section';\nexport { Dialog } from './dialog';\nexport type { DialogProps } from './dialog';\nexport { Disclosure } from './disclosure';\nexport type { DisclosureProps } from './disclosure';\nexport { Divider } from './divider';\nexport type { DividerProps } from './divider';\nexport { EditableCell } from './editable-cell';\nexport type { EditableCellAlign, EditableCellOption, EditableCellProps, EditableCellSize, EditableCellType, EditableCellValue } from './editable-cell';\nexport { EmptyState } from './empty-state';\nexport type { EmptyStateProps } from './empty-state';\nexport { ErrorPage } from './error-page';\nexport type { ErrorPageProps } from './error-page';\nexport { ExplorerListItem } from './explorer-list-item';\nexport type { ExplorerListItemProps } from './explorer-list-item';\nexport { ExplorerSection } from './explorer-section';\nexport type { ExplorerSectionProps } from './explorer-section';\nexport { FieldError } from './field-error';\nexport type { FieldErrorProps } from './field-error';\nexport { FilterTabs } from './filter-tabs';\nexport type { FilterTabsOption, FilterTabsProps } from './filter-tabs';\nexport { Icon } from './icon';\nexport type { IconProps } from './icon';\nexport { IconButton } from './icon-button';\nexport type { IconButtonProps, IconButtonVariant } from './icon-button';\nexport { IconTile } from './icon-tile';\nexport type { IconTileProps } from './icon-tile';\nexport { LifecycleConnector } from './lifecycle-connector';\nexport type {\n LifecycleConnectorArrowhead,\n LifecycleConnectorProps,\n LifecycleConnectorRouting,\n LifecycleConnectorState,\n} from './lifecycle-connector';\nexport { LifecycleDropSlot } from './lifecycle-drop-slot';\nexport type {\n LifecycleDropSlotProps,\n LifecycleDropSlotShape,\n} from './lifecycle-drop-slot';\nexport { LifecycleEdgeLabel } from './lifecycle-edge-label';\nexport type {\n LifecycleEdgeLabelProps,\n LifecycleEdgeLabelVariant,\n} from './lifecycle-edge-label';\nexport { LifecycleGroupBox } from './lifecycle-group-box';\nexport type { LifecycleGroupBoxProps } from './lifecycle-group-box';\nexport { LifecycleMinimap } from './lifecycle-minimap';\nexport type {\n LifecycleMinimapNode,\n LifecycleMinimapProps,\n LifecycleMinimapViewport,\n} from './lifecycle-minimap';\nexport { LifecycleNodeCard } from './lifecycle-node-card';\nexport type {\n LifecycleNodeCardProps,\n LifecycleNodeKind,\n} from './lifecycle-node-card';\nexport { LifecycleTerminal } from './lifecycle-terminal';\nexport type { LifecycleTerminalProps } from './lifecycle-terminal';\nexport { LifecycleZoomControl } from './lifecycle-zoom-control';\nexport type { LifecycleZoomControlProps } from './lifecycle-zoom-control';\nexport { MetaRow } from './meta-row';\nexport type { MetaRowProps } from './meta-row';\nexport { Modal } from './modal';\nexport type { ModalHeaderProps, ModalProps, ModalSectionProps, ModalSize } from './modal';\nexport { InlineAction } from './inline-action';\nexport type { InlineActionProps } from './inline-action';\nexport { InlineFilter } from './inline-filter';\nexport type { InlineFilterProps } from './inline-filter';\nexport { ColorInput, ColorInputPopover } from './color-input';\nexport type { ColorFormat, ColorInputPopoverProps, ColorInputProps } from './color-input';\nexport { InputWithIcon } from './input-with-icon';\nexport type { InputWithIconProps } from './input-with-icon';\nexport { Select, Textarea, TextInput } from './input';\nexport type { SelectProps, SelectSingleProps, SelectMultiProps, TextareaProps, TextInputProps } from './input';\nexport { LanguageSwitcher } from './language-switcher';\nexport type { LanguageSwitcherProps, LanguageSwitcherVariant } from './language-switcher';\nexport { Link } from './link';\nexport type { LinkProps, LinkUnderline } from './link';\nexport { List, ListItem } from './list';\nexport type { ListItemProps, ListProps, ListVariant } from './list';\nexport { SEARCHABLE_AUTO_THRESHOLD, Listbox, MultiListbox } from './listbox';\nexport type {\n ListboxProps,\n ListboxRenderItemState,\n ListboxRenderTriggerState,\n ListboxTriggerProps,\n MultiListboxProps,\n} from './listbox';\nexport { DEFAULT_UXM_LOCALE, UxmLocaleProvider, useUxmLocale } from './locale';\nexport type { UxmLocaleProviderProps } from './locale';\nexport { Loader } from './loader';\nexport type { LoaderLayout, LoaderProps, LoaderVariant } from './loader';\nexport { Menu, MenuButton } from './menu';\nexport type {\n MenuProps,\n MenuButtonProps,\n MenuButtonVariant,\n MenuItem,\n MenuSeparator,\n MenuEntry,\n MenuTriggerProps,\n} from './menu';\nexport { NumberStepper } from './number-stepper';\nexport type { NumberStepperProps } from './number-stepper';\nexport { PageHeader } from './page-header';\nexport type { PageHeaderProps } from './page-header';\nexport { PageShell } from './page-shell';\nexport type { PageShellProps, PageShellVariant } from './page-shell';\nexport { CurrencyInput } from './currency-input';\nexport type { CurrencyInputProps, CurrencyValue } from './currency-input';\nexport { FileUpload } from './file-upload';\nexport type {\n FileStatus,\n FileUploadFileMeta,\n FileUploadLabels,\n FileUploadProps,\n FileUploadState,\n} from './file-upload';\nexport { FormField } from './form-field';\nexport type { FormFieldLabelPosition, FormFieldLabelTint, FormFieldLabelVariant, FormFieldProps } from './form-field';\nexport { HoverTooltip } from './hover-tooltip';\nexport type { HoverTooltipProps } from './hover-tooltip';\nexport { NumberInput } from './number-input';\nexport type { NumberInputProps } from './number-input';\nexport { PasswordInput } from './password-input';\nexport type { PasswordInputProps } from './password-input';\nexport { PhoneInput } from './phone-input';\nexport type { PhoneInputProps, PhoneValue } from './phone-input';\nexport { TimeInput } from './time-input';\nexport type { TimeInputFormat, TimeInputProps } from './time-input';\nexport { PillSelect } from './pill-select';\nexport type { PillSelectProps } from './pill-select';\nexport { Popover } from './popover';\nexport type { PopoverPlacement, PopoverProps } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport type { ProgressBarProps, ProgressBarVariant } from './progress-bar';\nexport { PropertyField, PropertyGrid } from './property-field';\nexport type { PropertyFieldProps, PropertyGridProps } from './property-field';\nexport { RadioGroup, RadioOption } from './radio-group';\nexport type { RadioGroupDirection, RadioGroupProps, RadioOptionProps } from './radio-group';\nexport { RangeSlider } from './range-slider';\nexport type { RangeSliderProps } from './range-slider';\nexport { ResponsiveGrid } from './responsive-grid';\nexport type { ResponsiveGridProps } from './responsive-grid';\nexport { SearchDropdown } from './search-dropdown';\nexport type { SearchDropdownOption, SearchDropdownProps } from './search-dropdown';\nexport { SideFlexpane } from './side-flexpane';\nexport type { SideFlexpaneProps } from './side-flexpane';\nexport { SectionHeader } from './section-header';\nexport type { SectionHeaderProps } from './section-header';\nexport { SegmentCard } from './segment-card';\nexport type { SegmentCardProps } from './segment-card';\nexport { SegmentRow } from './segment-row';\nexport type { SegmentRowProps } from './segment-row';\nexport { OptionList } from './option-list';\nexport type { OptionListItem, OptionListProps } from './option-list';\nexport { SidebarNavItem } from './sidebar-nav-item';\nexport type { SidebarNavItemProps } from './sidebar-nav-item';\nexport { SidebarNavTrigger } from './sidebar-nav-trigger';\nexport type {\n SidebarNavTriggerCaptionPlacement,\n SidebarNavTriggerProps,\n SidebarNavTriggerVariant,\n} from './sidebar-nav-trigger';\nexport { Slider } from './slider';\nexport type { SliderProps } from './slider';\nexport { Stack } from './stack';\nexport type { StackProps } from './stack';\nexport { StatCard } from './stat-card';\nexport type { StatCardProps, StatCardTrend } from './stat-card';\nexport { Tabs } from './tabs';\nexport type { TabsOption, TabsProps } from './tabs';\nexport { TabsUnderline } from './tabs-underline';\nexport type { TabsUnderlineOption, TabsUnderlineProps } from './tabs-underline';\nexport { Tag } from './tag';\nexport type { TagProps, TagSize, TagType } from './tag';\nexport { Thumbnail } from './thumbnail';\nexport type { ThumbnailFit, ThumbnailProps } from './thumbnail';\nexport { TimelineEntry } from './timeline-entry';\nexport type { TimelineDotState, TimelineEntryProps } from './timeline-entry';\nexport { Toast, Toaster, toast } from './toast';\nexport type {\n ToastPosition,\n ToasterProps,\n ToastProps,\n ToastVariant,\n} from './toast';\nexport { TypeOverviewCard } from './type-overview-card';\nexport type { TypeOverviewCardProps } from './type-overview-card';\nexport { ToggleSwitch } from './toggle-switch';\nexport type { ToggleSwitchProps } from './toggle-switch';\nexport { ViewSwitcher } from './view-switcher';\nexport type { ViewSwitcherOption, ViewSwitcherProps } from './view-switcher';\n\n// Icon registry — useful for shell-style tooling that needs to enumerate icons,\n// surface them in a picker, or look one up by id.\nexport { ICONS, ICON_OPTIONS, getIcon } from '../lib/icons';\nexport type { IconDef } from '../lib/icons';\n"],"mappings":"AAAA,SAAS,YAAY,mCAAmC;AAQxD,SAAS,iBAAiB;AAE1B,SAAS,cAAc;AAEvB,SAAS,gBAAgB;AAEzB,SAAS,aAAa;AAEtB,SAAS,cAAc;AAEvB,SAAS,qBAAqB;AAE9B,SAAS,kBAAkB;AA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E3B,SAAS,iBAAiB;AAE1B,SAAS,qBAAqB;AAE9B,SAAS,kBAAkB;AAQ3B,SAAS,iBAAiB;AAE1B,SAAS,oBAAoB;AAE7B,SAAS,mBAAmB;AAE5B,SAAS,qBAAqB;AAE9B,SAAS,kBAAkB;AAE3B,SAAS,iBAAiB;AAE1B,SAAS,kBAAkB;AAE3B,SAAS,eAAe;AAExB,SAAS,mBAAmB;AAE5B,SAAS,eAAe,oBAAoB;AAE5C,SAAS,YAAY,mBAAmB;AAExC,SAAS,mBAAmB;AAE5B,SAAS,sBAAsB;AAE/B,SAAS,sBAAsB;AAE/B,SAAS,oBAAoB;AAE7B,SAAS,qBAAqB;AAE9B,SAAS,mBAAmB;AAE5B,SAAS,kBAAkB;AAE3B,SAAS,kBAAkB;AAE3B,SAAS,sBAAsB;AAE/B,SAAS,yBAAyB;AAMlC,SAAS,cAAc;AAEvB,SAAS,aAAa;AAEtB,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AAErB,SAAS,qBAAqB;AAE9B,SAAS,WAAW;AAEpB,SAAS,iBAAiB;AAE1B,SAAS,qBAAqB;AAE9B,SAAS,OAAO,SAAS,aAAa;AAOtC,SAAS,wBAAwB;AAEjC,SAAS,oBAAoB;AAE7B,SAAS,oBAAoB;AAK7B,SAAS,OAAO,cAAc,eAAe;","names":[]}
|
package/dist/ui/menu/index.cjs
CHANGED
|
@@ -16,8 +16,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
16
16
|
var menu_exports = {};
|
|
17
17
|
module.exports = __toCommonJS(menu_exports);
|
|
18
18
|
__reExport(menu_exports, require("./menu.cjs"), module.exports);
|
|
19
|
+
__reExport(menu_exports, require("./menu-button.cjs"), module.exports);
|
|
19
20
|
// Annotate the CommonJS export names for ESM import in node:
|
|
20
21
|
0 && (module.exports = {
|
|
21
|
-
...require("./menu.cjs")
|
|
22
|
+
...require("./menu.cjs"),
|
|
23
|
+
...require("./menu-button.cjs")
|
|
22
24
|
});
|
|
23
25
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/ui/menu/index.ts"],"sourcesContent":["export * from './menu';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,mBAAd;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/menu/index.ts"],"sourcesContent":["export * from './menu';\nexport * from './menu-button';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,mBAAd;AACA,yBAAc,0BADd;","names":[]}
|
package/dist/ui/menu/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC"}
|
package/dist/ui/menu/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/ui/menu/index.ts"],"sourcesContent":["export * from './menu';\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/menu/index.ts"],"sourcesContent":["export * from './menu';\nexport * from './menu-button';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var menu_button_exports = {};
|
|
20
|
+
__export(menu_button_exports, {
|
|
21
|
+
MenuButton: () => MenuButton
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(menu_button_exports);
|
|
24
|
+
var import_jsx_runtime = (
|
|
25
|
+
// `triggerProps` spreads straight onto the button — its `ref` included.
|
|
26
|
+
// Before 4.45.0 the button family did not declare `ref`, which is why
|
|
27
|
+
// consumers wrapped the trigger in a `<span ref>`; that wrapper is what
|
|
28
|
+
// this composite exists to stop re-deriving.
|
|
29
|
+
require("react/jsx-runtime")
|
|
30
|
+
);
|
|
31
|
+
var import_helpers = require("../../helpers/index.cjs");
|
|
32
|
+
var import_button = require("../button/index.cjs");
|
|
33
|
+
var import_icon = require("../icon/index.cjs");
|
|
34
|
+
var import_menu = require("./menu.cjs");
|
|
35
|
+
const TRIGGER = {
|
|
36
|
+
primary: import_button.ButtonPrimary,
|
|
37
|
+
secondary: import_button.ButtonSecondary,
|
|
38
|
+
tertiary: import_button.ButtonTertiary,
|
|
39
|
+
ghost: import_button.ButtonGhost
|
|
40
|
+
};
|
|
41
|
+
function MenuButton({
|
|
42
|
+
items,
|
|
43
|
+
children,
|
|
44
|
+
variant = "secondary",
|
|
45
|
+
icon,
|
|
46
|
+
chevron = true,
|
|
47
|
+
placement,
|
|
48
|
+
disabled,
|
|
49
|
+
"aria-label": ariaLabel,
|
|
50
|
+
className
|
|
51
|
+
}) {
|
|
52
|
+
const Trigger = TRIGGER[variant];
|
|
53
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
54
|
+
import_menu.Menu,
|
|
55
|
+
{
|
|
56
|
+
items,
|
|
57
|
+
placement,
|
|
58
|
+
"aria-label": ariaLabel,
|
|
59
|
+
renderTrigger: ({ open, triggerProps }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
60
|
+
Trigger,
|
|
61
|
+
{
|
|
62
|
+
...triggerProps,
|
|
63
|
+
disabled,
|
|
64
|
+
className: (0, import_helpers.cn)("uxm-menu-button", className),
|
|
65
|
+
children: [
|
|
66
|
+
icon,
|
|
67
|
+
children,
|
|
68
|
+
chevron && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
69
|
+
import_icon.Icon,
|
|
70
|
+
{
|
|
71
|
+
glyph: "chevron-down",
|
|
72
|
+
size: 14,
|
|
73
|
+
className: (0, import_helpers.cn)(
|
|
74
|
+
"uxm-menu-button__chevron",
|
|
75
|
+
open && "uxm-menu-button__chevron--open"
|
|
76
|
+
)
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
86
|
+
0 && (module.exports = {
|
|
87
|
+
MenuButton
|
|
88
|
+
});
|
|
89
|
+
//# sourceMappingURL=menu-button.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/menu/menu-button.tsx"],"sourcesContent":["import { cn } from '@/helpers';\nimport {\n ButtonGhost,\n ButtonPrimary,\n ButtonSecondary,\n ButtonTertiary,\n} from '@/ui/button';\nimport { Icon } from '@/ui/icon';\nimport type { PopoverPlacement } from '@/ui/popover';\n\nimport { Menu } from './menu';\n\nimport type { MenuEntry } from './menu';\nimport type { ComponentPropsWithRef, ReactNode } from 'react';\n\n/** Which shipped button renders the trigger. */\nexport type MenuButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';\n\nconst TRIGGER: Record<\n MenuButtonVariant,\n (props: ComponentPropsWithRef<'button'>) => ReactNode\n> = {\n primary: ButtonPrimary,\n secondary: ButtonSecondary,\n tertiary: ButtonTertiary,\n ghost: ButtonGhost,\n};\n\nexport interface MenuButtonProps {\n /** Menu entries — the same `MenuEntry[]` `Menu` takes. */\n items: MenuEntry[];\n /** Button label. */\n children: ReactNode;\n /** Which shipped button renders the trigger. Default `secondary`. */\n variant?: MenuButtonVariant;\n /** Optional leading icon, before the label. */\n icon?: ReactNode;\n /**\n * Trailing dropdown affordance. Default a `chevron-down` that rotates while\n * the menu is open; pass `false` to omit it (for a trigger whose label\n * already reads as a menu, or where space is tight).\n */\n chevron?: boolean;\n /** Forwarded to `Menu`. Default `bottom-end`, as `Menu`'s own default. */\n placement?: PopoverPlacement;\n /** Disables the trigger. The menu cannot be opened. */\n disabled?: boolean;\n /** Accessible name for the menu panel. Forwarded to `Menu`. */\n 'aria-label'?: string;\n /** Class on the trigger button. */\n className?: string;\n}\n\n/**\n * The labelled dropdown button — a `Menu` whose trigger is one of the shipped\n * `Button*` atoms, with the chevron, the ARIA and the trigger ref already\n * wired.\n *\n * `Menu` is deliberately trigger-agnostic: `renderTrigger` is required so a ⋮\n * `IconButton`, an avatar or a field can all open one. That is the right\n * primitive, but it means the single most common shape — a button that says\n * what it does and drops a menu — is re-derived at every call site, along with\n * a hand-added chevron and the `triggerProps` plumbing. This is that shape,\n * shipped once.\n *\n * It is a composition, not a new visual primitive: the button is a real\n * `Button*`, the menu is a real `Menu`. Anything this does not expose —\n * controlled `open`, `matchAnchorWidth`, a bespoke trigger — is a sign to drop\n * to `Menu` + `renderTrigger`, which is unchanged and always available.\n */\nexport function MenuButton({\n items,\n children,\n variant = 'secondary',\n icon,\n chevron = true,\n placement,\n disabled,\n 'aria-label': ariaLabel,\n className,\n}: MenuButtonProps) {\n const Trigger = TRIGGER[variant];\n\n return (\n <Menu\n items={items}\n placement={placement}\n aria-label={ariaLabel}\n renderTrigger={({ open, triggerProps }) => (\n // `triggerProps` spreads straight onto the button — its `ref` included.\n // Before 4.45.0 the button family did not declare `ref`, which is why\n // consumers wrapped the trigger in a `<span ref>`; that wrapper is what\n // this composite exists to stop re-deriving.\n <Trigger\n {...triggerProps}\n disabled={disabled}\n className={cn('uxm-menu-button', className)}\n >\n {icon}\n {children}\n {chevron && (\n <Icon\n glyph=\"chevron-down\"\n size={14}\n className={cn(\n 'uxm-menu-button__chevron',\n open && 'uxm-menu-button__chevron--open',\n )}\n />\n )}\n </Trigger>\n )}\n />\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA6FQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA7FR,qBAAmB;AACnB,oBAKO;AACP,kBAAqB;AAGrB,kBAAqB;AAQrB,MAAM,UAGF;AAAA,EACF,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,OAAO;AACT;AA4CO,SAAS,WAAW;AAAA,EACzB;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd;AACF,GAAoB;AAClB,QAAM,UAAU,QAAQ,OAAO;AAE/B,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,cAAY;AAAA,MACZ,eAAe,CAAC,EAAE,MAAM,aAAa,MAKnC;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACJ;AAAA,UACA,eAAW,mBAAG,mBAAmB,SAAS;AAAA,UAEzC;AAAA;AAAA,YACA;AAAA,YACA,WACC;AAAA,cAAC;AAAA;AAAA,gBACC,OAAM;AAAA,gBACN,MAAM;AAAA,gBACN,eAAW;AAAA,kBACT;AAAA,kBACA,QAAQ;AAAA,gBACV;AAAA;AAAA,YACF;AAAA;AAAA;AAAA,MAEJ;AAAA;AAAA,EAEJ;AAEJ;","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* ── menu-button ── */
|
|
2
|
+
/* `MenuButton` is a composition: the trigger IS a shipped `Button*`, so the
|
|
3
|
+
whole row — `display: inline-flex`, the alignment, and
|
|
4
|
+
`gap: var(--uxm-button-{variant}-gap, 8px)` — already comes from that atom.
|
|
5
|
+
Nothing here re-declares any of it.
|
|
6
|
+
|
|
7
|
+
That is not tidiness, it is the difference between the button's gap knob
|
|
8
|
+
working and not: `styles.css` imports `button.css` at line 16 and this file
|
|
9
|
+
at 65, so a `gap` declared here would win the cascade at equal specificity
|
|
10
|
+
and quietly pin a MenuButton to its own value while every other button in
|
|
11
|
+
the app followed `--uxm-button-{variant}-gap`.
|
|
12
|
+
|
|
13
|
+
So this block owns exactly one thing the button cannot know about: the
|
|
14
|
+
chevron's open state. */
|
|
15
|
+
.uxm-menu-button__chevron {
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
/* Turns to point at the open panel. Purely decorative — `aria-expanded` on
|
|
18
|
+
the trigger is what actually announces the state. */
|
|
19
|
+
transition: transform 0.15s ease;
|
|
20
|
+
}
|
|
21
|
+
.uxm-menu-button__chevron--open {
|
|
22
|
+
transform: rotate(180deg);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* The rotation is decoration; the chevron must still point the right way. */
|
|
26
|
+
@media (prefers-reduced-motion: reduce) {
|
|
27
|
+
.uxm-menu-button__chevron {
|
|
28
|
+
transition: none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { PopoverPlacement } from '../popover/index.js';
|
|
2
|
+
import type { MenuEntry } from './menu.js';
|
|
3
|
+
import type { ReactNode } from 'react';
|
|
4
|
+
/** Which shipped button renders the trigger. */
|
|
5
|
+
export type MenuButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
|
|
6
|
+
export interface MenuButtonProps {
|
|
7
|
+
/** Menu entries — the same `MenuEntry[]` `Menu` takes. */
|
|
8
|
+
items: MenuEntry[];
|
|
9
|
+
/** Button label. */
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
/** Which shipped button renders the trigger. Default `secondary`. */
|
|
12
|
+
variant?: MenuButtonVariant;
|
|
13
|
+
/** Optional leading icon, before the label. */
|
|
14
|
+
icon?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Trailing dropdown affordance. Default a `chevron-down` that rotates while
|
|
17
|
+
* the menu is open; pass `false` to omit it (for a trigger whose label
|
|
18
|
+
* already reads as a menu, or where space is tight).
|
|
19
|
+
*/
|
|
20
|
+
chevron?: boolean;
|
|
21
|
+
/** Forwarded to `Menu`. Default `bottom-end`, as `Menu`'s own default. */
|
|
22
|
+
placement?: PopoverPlacement;
|
|
23
|
+
/** Disables the trigger. The menu cannot be opened. */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/** Accessible name for the menu panel. Forwarded to `Menu`. */
|
|
26
|
+
'aria-label'?: string;
|
|
27
|
+
/** Class on the trigger button. */
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The labelled dropdown button — a `Menu` whose trigger is one of the shipped
|
|
32
|
+
* `Button*` atoms, with the chevron, the ARIA and the trigger ref already
|
|
33
|
+
* wired.
|
|
34
|
+
*
|
|
35
|
+
* `Menu` is deliberately trigger-agnostic: `renderTrigger` is required so a ⋮
|
|
36
|
+
* `IconButton`, an avatar or a field can all open one. That is the right
|
|
37
|
+
* primitive, but it means the single most common shape — a button that says
|
|
38
|
+
* what it does and drops a menu — is re-derived at every call site, along with
|
|
39
|
+
* a hand-added chevron and the `triggerProps` plumbing. This is that shape,
|
|
40
|
+
* shipped once.
|
|
41
|
+
*
|
|
42
|
+
* It is a composition, not a new visual primitive: the button is a real
|
|
43
|
+
* `Button*`, the menu is a real `Menu`. Anything this does not expose —
|
|
44
|
+
* controlled `open`, `matchAnchorWidth`, a bespoke trigger — is a sign to drop
|
|
45
|
+
* to `Menu` + `renderTrigger`, which is unchanged and always available.
|
|
46
|
+
*/
|
|
47
|
+
export declare function MenuButton({ items, children, variant, icon, chevron, placement, disabled, 'aria-label': ariaLabel, className, }: MenuButtonProps): import("react").JSX.Element;
|
|
48
|
+
//# sourceMappingURL=menu-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../../src/ui/menu/menu-button.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,KAAK,EAAyB,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,gDAAgD;AAChD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;AAY/E,MAAM,WAAW,eAAe;IAC9B,0DAA0D;IAC1D,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,oBAAoB;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,+CAA+C;IAC/C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,OAAqB,EACrB,IAAI,EACJ,OAAc,EACd,SAAS,EACT,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,SAAS,GACV,EAAE,eAAe,+BAkCjB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../helpers/index.js";
|
|
3
|
+
import {
|
|
4
|
+
ButtonGhost,
|
|
5
|
+
ButtonPrimary,
|
|
6
|
+
ButtonSecondary,
|
|
7
|
+
ButtonTertiary
|
|
8
|
+
} from "../button/index.js";
|
|
9
|
+
import { Icon } from "../icon/index.js";
|
|
10
|
+
import { Menu } from "./menu.js";
|
|
11
|
+
const TRIGGER = {
|
|
12
|
+
primary: ButtonPrimary,
|
|
13
|
+
secondary: ButtonSecondary,
|
|
14
|
+
tertiary: ButtonTertiary,
|
|
15
|
+
ghost: ButtonGhost
|
|
16
|
+
};
|
|
17
|
+
function MenuButton({
|
|
18
|
+
items,
|
|
19
|
+
children,
|
|
20
|
+
variant = "secondary",
|
|
21
|
+
icon,
|
|
22
|
+
chevron = true,
|
|
23
|
+
placement,
|
|
24
|
+
disabled,
|
|
25
|
+
"aria-label": ariaLabel,
|
|
26
|
+
className
|
|
27
|
+
}) {
|
|
28
|
+
const Trigger = TRIGGER[variant];
|
|
29
|
+
return /* @__PURE__ */ jsx(
|
|
30
|
+
Menu,
|
|
31
|
+
{
|
|
32
|
+
items,
|
|
33
|
+
placement,
|
|
34
|
+
"aria-label": ariaLabel,
|
|
35
|
+
renderTrigger: ({ open, triggerProps }) => (
|
|
36
|
+
// `triggerProps` spreads straight onto the button — its `ref` included.
|
|
37
|
+
// Before 4.45.0 the button family did not declare `ref`, which is why
|
|
38
|
+
// consumers wrapped the trigger in a `<span ref>`; that wrapper is what
|
|
39
|
+
// this composite exists to stop re-deriving.
|
|
40
|
+
/* @__PURE__ */ jsxs(
|
|
41
|
+
Trigger,
|
|
42
|
+
{
|
|
43
|
+
...triggerProps,
|
|
44
|
+
disabled,
|
|
45
|
+
className: cn("uxm-menu-button", className),
|
|
46
|
+
children: [
|
|
47
|
+
icon,
|
|
48
|
+
children,
|
|
49
|
+
chevron && /* @__PURE__ */ jsx(
|
|
50
|
+
Icon,
|
|
51
|
+
{
|
|
52
|
+
glyph: "chevron-down",
|
|
53
|
+
size: 14,
|
|
54
|
+
className: cn(
|
|
55
|
+
"uxm-menu-button__chevron",
|
|
56
|
+
open && "uxm-menu-button__chevron--open"
|
|
57
|
+
)
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
)
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
MenuButton
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=menu-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/ui/menu/menu-button.tsx"],"sourcesContent":["import { cn } from '@/helpers';\nimport {\n ButtonGhost,\n ButtonPrimary,\n ButtonSecondary,\n ButtonTertiary,\n} from '@/ui/button';\nimport { Icon } from '@/ui/icon';\nimport type { PopoverPlacement } from '@/ui/popover';\n\nimport { Menu } from './menu';\n\nimport type { MenuEntry } from './menu';\nimport type { ComponentPropsWithRef, ReactNode } from 'react';\n\n/** Which shipped button renders the trigger. */\nexport type MenuButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';\n\nconst TRIGGER: Record<\n MenuButtonVariant,\n (props: ComponentPropsWithRef<'button'>) => ReactNode\n> = {\n primary: ButtonPrimary,\n secondary: ButtonSecondary,\n tertiary: ButtonTertiary,\n ghost: ButtonGhost,\n};\n\nexport interface MenuButtonProps {\n /** Menu entries — the same `MenuEntry[]` `Menu` takes. */\n items: MenuEntry[];\n /** Button label. */\n children: ReactNode;\n /** Which shipped button renders the trigger. Default `secondary`. */\n variant?: MenuButtonVariant;\n /** Optional leading icon, before the label. */\n icon?: ReactNode;\n /**\n * Trailing dropdown affordance. Default a `chevron-down` that rotates while\n * the menu is open; pass `false` to omit it (for a trigger whose label\n * already reads as a menu, or where space is tight).\n */\n chevron?: boolean;\n /** Forwarded to `Menu`. Default `bottom-end`, as `Menu`'s own default. */\n placement?: PopoverPlacement;\n /** Disables the trigger. The menu cannot be opened. */\n disabled?: boolean;\n /** Accessible name for the menu panel. Forwarded to `Menu`. */\n 'aria-label'?: string;\n /** Class on the trigger button. */\n className?: string;\n}\n\n/**\n * The labelled dropdown button — a `Menu` whose trigger is one of the shipped\n * `Button*` atoms, with the chevron, the ARIA and the trigger ref already\n * wired.\n *\n * `Menu` is deliberately trigger-agnostic: `renderTrigger` is required so a ⋮\n * `IconButton`, an avatar or a field can all open one. That is the right\n * primitive, but it means the single most common shape — a button that says\n * what it does and drops a menu — is re-derived at every call site, along with\n * a hand-added chevron and the `triggerProps` plumbing. This is that shape,\n * shipped once.\n *\n * It is a composition, not a new visual primitive: the button is a real\n * `Button*`, the menu is a real `Menu`. Anything this does not expose —\n * controlled `open`, `matchAnchorWidth`, a bespoke trigger — is a sign to drop\n * to `Menu` + `renderTrigger`, which is unchanged and always available.\n */\nexport function MenuButton({\n items,\n children,\n variant = 'secondary',\n icon,\n chevron = true,\n placement,\n disabled,\n 'aria-label': ariaLabel,\n className,\n}: MenuButtonProps) {\n const Trigger = TRIGGER[variant];\n\n return (\n <Menu\n items={items}\n placement={placement}\n aria-label={ariaLabel}\n renderTrigger={({ open, triggerProps }) => (\n // `triggerProps` spreads straight onto the button — its `ref` included.\n // Before 4.45.0 the button family did not declare `ref`, which is why\n // consumers wrapped the trigger in a `<span ref>`; that wrapper is what\n // this composite exists to stop re-deriving.\n <Trigger\n {...triggerProps}\n disabled={disabled}\n className={cn('uxm-menu-button', className)}\n >\n {icon}\n {children}\n {chevron && (\n <Icon\n glyph=\"chevron-down\"\n size={14}\n className={cn(\n 'uxm-menu-button__chevron',\n open && 'uxm-menu-button__chevron--open',\n )}\n />\n )}\n </Trigger>\n )}\n />\n );\n}\n"],"mappings":"AA6FQ,SAQI,KARJ;AA7FR,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,YAAY;AAGrB,SAAS,YAAY;AAQrB,MAAM,UAGF;AAAA,EACF,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,OAAO;AACT;AA4CO,SAAS,WAAW;AAAA,EACzB;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd;AACF,GAAoB;AAClB,QAAM,UAAU,QAAQ,OAAO;AAE/B,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,cAAY;AAAA,MACZ,eAAe,CAAC,EAAE,MAAM,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA,QAKnC;AAAA,UAAC;AAAA;AAAA,YACE,GAAG;AAAA,YACJ;AAAA,YACA,WAAW,GAAG,mBAAmB,SAAS;AAAA,YAEzC;AAAA;AAAA,cACA;AAAA,cACA,WACC;AAAA,gBAAC;AAAA;AAAA,kBACC,OAAM;AAAA,kBACN,MAAM;AAAA,kBACN,WAAW;AAAA,oBACT;AAAA,oBACA,QAAQ;AAAA,kBACV;AAAA;AAAA,cACF;AAAA;AAAA;AAAA,QAEJ;AAAA;AAAA;AAAA,EAEJ;AAEJ;","names":[]}
|
package/dist/ui/styles.css
CHANGED