@underlayerdev/ui 0.14.6 → 0.14.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@underlayerdev/ui",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^22.0.0",
6
6
  "@angular/common": "^22.0.0",
@@ -136,7 +136,12 @@ type IconWeight = 'medium' | 'bold';
136
136
  /** Icon name / glyph key from design tokens (content['icon-glyph']). Valid values match token keys. */
137
137
  type IconName = string;
138
138
  declare class IconComponent {
139
- size: _angular_core.InputSignal<IconSize>;
139
+ /**
140
+ * Glyph size. Left unset it renders at '8' on its own, and a container that
141
+ * sizes its icons (e.g. ul-input) may resize it to fit; set it to keep that
142
+ * exact size even there.
143
+ */
144
+ size: _angular_core.InputSignal<IconSize | undefined>;
140
145
  /**
141
146
  * Stroke weight of the glyph. Pass `null` to leave it out entirely, so the
142
147
  * icon takes the surrounding `font-weight` (e.g. inside bold text) instead
@@ -2049,6 +2054,8 @@ declare class FormFieldHelperComponent {
2049
2054
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldHelperComponent, "ul-form-field-helper", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2050
2055
  }
2051
2056
 
2057
+ /** 'bordered' draws a divider on the drawer's right edge; 'borderless' leaves it off. */
2058
+ type SidebarAppearance = 'bordered' | 'borderless';
2052
2059
  type SidebarItem = {
2053
2060
  label: string;
2054
2061
  value?: string;
@@ -2063,13 +2070,15 @@ declare class SidebarComponent {
2063
2070
  open: _angular_core.ModelSignal<boolean>;
2064
2071
  closeOnBackdropClick: _angular_core.InputSignal<boolean>;
2065
2072
  hideItemFocusOutline: _angular_core.InputSignal<boolean>;
2073
+ /** Look of the drawer's edge. Use 'borderless' where the sidebar sits beside content that already has its own edge (e.g. a settings page). */
2074
+ appearance: _angular_core.InputSignal<SidebarAppearance>;
2066
2075
  itemSelected: _angular_core.OutputEmitterRef<SidebarItem>;
2067
2076
  close(): void;
2068
2077
  onOverlayClick(): void;
2069
2078
  onItemClick(item: SidebarItem, index: number): void;
2070
2079
  onEscape(): void;
2071
2080
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarComponent, never>;
2072
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarComponent, "ul-sidebar", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "hideItemFocusOutline": { "alias": "hideItemFocusOutline"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; "open": "openChange"; "itemSelected": "itemSelected"; }, never, ["[ul-sidebar-header]", "[ul-sidebar-nav]", "[ul-sidebar-footer]"], true, never>;
2081
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarComponent, "ul-sidebar", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "hideItemFocusOutline": { "alias": "hideItemFocusOutline"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; "open": "openChange"; "itemSelected": "itemSelected"; }, never, ["[ul-sidebar-header]", "[ul-sidebar-nav]", "[ul-sidebar-footer]"], true, never>;
2073
2082
  }
2074
2083
 
2075
2084
  type Status = 'confirm' | 'alert' | 'error' | 'pending' | 'info';
@@ -2191,4 +2200,4 @@ declare class TextareaComponent implements FormValueControl<string> {
2191
2200
  }
2192
2201
 
2193
2202
  export { AccordionComponent, AccordionItemComponent, AreaCodeComponent, AvatarComponent, AvatarGroupComponent, BreadcrumbComponent, ButtonComponent, CalendarComponent, CardComponent, CategoryPickerComponent, CheckboxComponent, CollapseComponent, CustomCurrencyPipe, DockComponent, DockItemComponent, DockItemContentSlotDirective, DropdownComponent, FileInputComponent, FooterComponent, FormFieldHelperComponent, FormFieldLabelComponent, HeroComponent, IconComponent, ImageCropperComponent, ImageNotFoundComponent, ImageNotFoundDirective, InputComponent, ListItemComponent, LongPressDirective, MenuComponent, MenuItemsComponent, MenuTriggerComponent, ModalComponent, NavbarAppNameSlotDirective, NavbarAvatarSlotDirective, NavbarComponent, NavbarLogoSlotDirective, NavbarSearchSlotDirective, PeHeroActionsSlotDirective, PeHeroBadgesSlotDirective, PeHeroContentSlotDirective, PeHeroSubtitleSlotDirective, PeHeroTitleSlotDirective, PillComponent, PriceButtonComponent, RadialComponent, RadioComponent, RadioGroupComponent, RichTextComponent, SearchInputComponent, SearchSelectComponent, SelectComponent, SelectableRowComponent, SidebarComponent, SkeletonComponent, StatusComponent, StepperComponent, TableComponent, TextareaComponent, TextareaFieldDirective, ToastContainerComponent, ToastService, ToggleComponent, TooltipComponent, createFormFieldIds, getFormFieldDescribedBy, toastIcon };
2194
- export type { ActionsDistribution, AvatarData, AvatarSize, BreadcrumbItem, BreadcrumbSeparator, CalendarDay, CalendarMode, CardCaptionSize, CardDirection, CategoryPickerNode, CheckboxZoneType, CollapseVariant, Currency, DockItemVariant, DropdownItem, FileInputAppearance, HeroAction, HeroAlignment, HeroSize, IconName, IconSize, IconWeight, ImageCropperShape, InputAppearance, InputType, ListItemTheme, MediaAspectRatio, MenuItem, ModalVariant, PillSize, PillTheme, PillVariant, RadioGroupOption, RichTextSize, RichTextTone, SalePosition, SearchSelectOption, SearchSuggestion, SelectOption, SidebarItem, SkeletonBorderRadius, SkeletonVariant, SortDirection, Status, TableColumn, TextareaResize, TimeSelection, ToastConfig, ToastKind, ToastWithRole, TooltipPosition };
2203
+ export type { ActionsDistribution, AvatarData, AvatarSize, BreadcrumbItem, BreadcrumbSeparator, CalendarDay, CalendarMode, CardCaptionSize, CardDirection, CategoryPickerNode, CheckboxZoneType, CollapseVariant, Currency, DockItemVariant, DropdownItem, FileInputAppearance, HeroAction, HeroAlignment, HeroSize, IconName, IconSize, IconWeight, ImageCropperShape, InputAppearance, InputType, ListItemTheme, MediaAspectRatio, MenuItem, ModalVariant, PillSize, PillTheme, PillVariant, RadioGroupOption, RichTextSize, RichTextTone, SalePosition, SearchSelectOption, SearchSuggestion, SelectOption, SidebarAppearance, SidebarItem, SkeletonBorderRadius, SkeletonVariant, SortDirection, Status, TableColumn, TextareaResize, TimeSelection, ToastConfig, ToastKind, ToastWithRole, TooltipPosition };