@educarehq/solaris-components 0.6.9 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@educarehq/solaris-components",
3
- "version": "0.6.9",
3
+ "version": "0.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^21.1.0",
6
6
  "intl-tel-input": "^26.0.9",
@@ -140,10 +140,10 @@ type SolarisCustomString = string & {
140
140
  type SolarisColorPreset = 'primary' | 'surface' | 'success' | 'warning' | 'error' | 'info' | 'gradient';
141
141
  type SolarisSemanticColorPreset = Extract<SolarisColorPreset, 'primary' | 'success' | 'warning' | 'error' | 'info'>;
142
142
 
143
- type BadgeAppearance = 'outline' | 'soft' | 'solid' | 'elevated' | 'ghost' | 'glass' | 'gradient';
144
- type BadgeShape = 'rounded' | 'pill';
143
+ type BadgeAppearance = 'outline' | 'soft' | 'tonal' | 'solid' | 'elevated' | 'ghost' | 'glass' | 'gradient';
144
+ type BadgeShape = 'rounded' | 'full';
145
145
  type BadgeDensity = 'compact' | 'comfortable';
146
- type BadgeColorInput = SolarisColorPreset | SolarisCustomString;
146
+ type BadgeColorInput = SolarisColorPreset | 'info' | 'information' | SolarisCustomString;
147
147
 
148
148
  type SolarisStepperOrientation = 'horizontal' | 'vertical';
149
149
  type SolarisStepperAppearance = 'default' | 'compact';
@@ -765,13 +765,14 @@ declare class SolarisBadge {
765
765
  customTextColor?: string;
766
766
  interactive: boolean;
767
767
  ariaHidden: 'true' | 'false' | null;
768
- protected readonly hostClass = "solaris-badge-host";
768
+ protected readonly hostClass = true;
769
769
  private readonly presetColors;
770
770
  get resolvedAppearance(): BadgeAppearance;
771
771
  get resolvedShape(): BadgeShape;
772
- get resolvedColor(): SolarisColorPreset | 'custom';
772
+ get resolvedColor(): SolarisColorPreset | 'info' | 'custom';
773
773
  get isCustomColor(): boolean;
774
774
  get customColorValue(): string | null;
775
+ private get normalizedColorInput();
775
776
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SolarisBadge, never>;
776
777
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SolarisBadge, "solaris-badge", never, { "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "density": { "alias": "density"; "required": false; }; "color": { "alias": "color"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "customTextColor": { "alias": "customTextColor"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; }; }, {}, never, ["*"], true, never>;
777
778
  static ngAcceptInputType_interactive: unknown;