@underlayerdev/ui 0.14.5 → 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.5",
3
+ "version": "0.14.7",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^22.0.0",
6
6
  "@angular/common": "^22.0.0",
@@ -136,8 +136,18 @@ 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>;
140
- weight: _angular_core.InputSignal<IconWeight>;
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>;
145
+ /**
146
+ * Stroke weight of the glyph. Pass `null` to leave it out entirely, so the
147
+ * icon takes the surrounding `font-weight` (e.g. inside bold text) instead
148
+ * of always forcing `medium`.
149
+ */
150
+ weight: _angular_core.InputSignal<IconWeight | null>;
141
151
  icon: _angular_core.InputSignal<string>;
142
152
  readonly hostClasses: _angular_core.Signal<string>;
143
153
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
@@ -2044,6 +2054,8 @@ declare class FormFieldHelperComponent {
2044
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>;
2045
2055
  }
2046
2056
 
2057
+ /** 'bordered' draws a divider on the drawer's right edge; 'borderless' leaves it off. */
2058
+ type SidebarAppearance = 'bordered' | 'borderless';
2047
2059
  type SidebarItem = {
2048
2060
  label: string;
2049
2061
  value?: string;
@@ -2058,13 +2070,15 @@ declare class SidebarComponent {
2058
2070
  open: _angular_core.ModelSignal<boolean>;
2059
2071
  closeOnBackdropClick: _angular_core.InputSignal<boolean>;
2060
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>;
2061
2075
  itemSelected: _angular_core.OutputEmitterRef<SidebarItem>;
2062
2076
  close(): void;
2063
2077
  onOverlayClick(): void;
2064
2078
  onItemClick(item: SidebarItem, index: number): void;
2065
2079
  onEscape(): void;
2066
2080
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarComponent, never>;
2067
- 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>;
2068
2082
  }
2069
2083
 
2070
2084
  type Status = 'confirm' | 'alert' | 'error' | 'pending' | 'info';
@@ -2186,4 +2200,4 @@ declare class TextareaComponent implements FormValueControl<string> {
2186
2200
  }
2187
2201
 
2188
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 };
2189
- 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 };