@cocoar/ui-components 0.1.0-beta.79 → 0.1.0-beta.80

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": "@cocoar/ui-components",
3
- "version": "0.1.0-beta.79",
3
+ "version": "0.1.0-beta.80",
4
4
  "description": "Angular UI components for the Cocoar Design System",
5
5
  "author": "Cocoar",
6
6
  "license": "Apache-2.0",
@@ -1001,6 +1001,7 @@ type CoarIconRegisteredSource = Readonly<{
1001
1001
  canProvideIconKeys: boolean;
1002
1002
  }>;
1003
1003
  declare class CoarIconService {
1004
+ private readonly builtInSource;
1004
1005
  private readonly sourceEntries;
1005
1006
  private readonly defaultSourceOverrides;
1006
1007
  private readonly sourceByKey;
@@ -1065,7 +1066,14 @@ type ProvideCoarHttpIconSourceOptions = Readonly<{
1065
1066
  }>;
1066
1067
  declare function provideCoarHttpIconSource(options: ProvideCoarHttpIconSourceOptions): Provider;
1067
1068
 
1068
- declare function provideCoarIconBuiltInSourceAs(key: string): Provider;
1069
+ declare const COAR_BUILTIN_ICON_SOURCE_KEY: "coar-builtin";
1070
+ /**
1071
+ * Overrides (and/or adds) built-in icons while keeping the built-in set as a base.
1072
+ *
1073
+ * This registers a map source under the fixed key `coar-builtin`, so it replaces the
1074
+ * built-in fallback source inside `CoarIconService`.
1075
+ */
1076
+ declare function provideCoarIconBuiltInOverrides(overrides: Readonly<Record<string, string>>): Provider;
1069
1077
 
1070
1078
  /**
1071
1079
  * Loading strategy for tab content:
@@ -1864,5 +1872,5 @@ interface CalendarDay {
1864
1872
  markerCssClass: string | null;
1865
1873
  }
1866
1874
 
1867
- export { COAR_DEFAULT_ICON_SOURCE_KEY, COAR_ICON_SOURCE_ENTRY, COAR_LOCALE_SERVICE, CoarBadgeComponent, CoarButtonComponent, CoarCardComponent, CoarCheckboxComponent, CoarCodeBlockComponent, CoarControlValueAccessor, CoarDatePickerComponent, CoarDividerComponent, CoarIconComponent, CoarIconService, CoarLabelComponent, CoarLocaleService, CoarMultiSelectComponent, CoarNoteComponent, CoarNumberInputComponent, CoarPasswordInputComponent, CoarPopoverComponent, CoarPopoverGroupService, CoarScrollbarDirective, CoarSingleSelectComponent, CoarTabComponent, CoarTabGroupComponent, CoarTableComponent, CoarTagComponent, CoarTagSelectComponent, CoarTextInputComponent, CoarTooltipDirective, coarProvideValueAccessor, provideCoarDefaultIconSource, provideCoarHttpIconSource, provideCoarIconBuiltInSourceAs, provideCoarIconMapSource, provideCoarIconSource };
1875
+ export { COAR_BUILTIN_ICON_SOURCE_KEY, COAR_DEFAULT_ICON_SOURCE_KEY, COAR_ICON_SOURCE_ENTRY, COAR_LOCALE_SERVICE, CoarBadgeComponent, CoarButtonComponent, CoarCardComponent, CoarCheckboxComponent, CoarCodeBlockComponent, CoarControlValueAccessor, CoarDatePickerComponent, CoarDividerComponent, CoarIconComponent, CoarIconService, CoarLabelComponent, CoarLocaleService, CoarMultiSelectComponent, CoarNoteComponent, CoarNumberInputComponent, CoarPasswordInputComponent, CoarPopoverComponent, CoarPopoverGroupService, CoarScrollbarDirective, CoarSingleSelectComponent, CoarTabComponent, CoarTabGroupComponent, CoarTableComponent, CoarTagComponent, CoarTagSelectComponent, CoarTextInputComponent, CoarTooltipDirective, coarProvideValueAccessor, provideCoarDefaultIconSource, provideCoarHttpIconSource, provideCoarIconBuiltInOverrides, provideCoarIconMapSource, provideCoarIconSource };
1868
1876
  export type { BadgeSize, BadgeVariant, ButtonSize, ButtonVariant, CardColor, CardPadding, CoarCheckboxSize, CoarCheckboxState, CoarDateMarker, CoarDatePickerSize, CoarIconRegisteredSource, CoarIconSize, CoarIconSource, CoarIconSourceEntry, CoarLabelSize, CoarNumberInputSize, CoarNumberInputStepperButtons, CoarPasswordInputSize, CoarScrollbarAutoHide, CoarScrollbarOverflow, CoarScrollbarTheme, CoarSelectOption, CoarSelectSize, CoarTableVariant, CoarTextInputSize, DateFormatConfig, DividerAlign, DividerVariant, ICoarLocaleService, LocaleConfig, NoteColor, NotePadding, NumberFormatConfig, ProvideCoarHttpIconSourceOptions, ProvideCoarIconMapSourceOptions, ProvideCoarIconSourceOptions, TabContent, TabLoadingStrategy, TagColor, TagSize };