@pecb-ui/components 1.1.19 → 1.1.22

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.
@@ -1 +1 @@
1
- export { BottomSheetComponent, ColumnOption, ConfirmationComponent, ConfirmationIconType, FilterColumnsActiveTab, FilterColumnsApplyEvent, FilterColumnsComponent, FilterField, FilterFieldType, FullscreenModalComponent, FullscreenModalContentDirective, FullscreenModalFooterDirective, FullscreenModalHeaderDirective, PeriodPaymentModalComponent, PeriodPaymentModalPeriod, RightModalComponent, RightModalContentDirective, RightModalFooterDirective, RightModalHeaderDirective, RightModalSize, SidebarComponent, SidebarMenuItem, SidebarSection, TooltipComponent, TooltipDirective, TooltipPointerPosition, TooltipTheme, TourComponent, TourIndicatorType, TourPlacement, TourStep, TourType } from '@pecb-ui/components';
1
+ export { BottomSheetComponent, ColumnOption, ConfirmationComponent, ConfirmationIconType, FilterColumnsActiveTab, FilterColumnsApplyEvent, FilterColumnsComponent, FilterField, FilterFieldType, FullscreenModalComponent, FullscreenModalContentDirective, FullscreenModalFooterDirective, FullscreenModalHeaderDirective, PeriodPaymentModalComponent, PeriodPaymentModalPeriod, RightModalComponent, RightModalContentDirective, RightModalFooterDirective, RightModalHeaderDirective, RightModalPosition, RightModalSize, SidebarComponent, SidebarMenuItem, SidebarSection, TooltipComponent, TooltipDirective, TooltipPointerPosition, TooltipTheme, TourComponent, TourIndicatorType, TourPlacement, TourStep, TourType } from '@pecb-ui/components';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pecb-ui/components",
3
- "version": "1.1.19",
3
+ "version": "1.1.22",
4
4
  "description": "Professional Angular UI Components Library with TypeScript and SCSS by PECB",
5
5
  "author": "PECB",
6
6
  "license": "MIT",
@@ -122,6 +122,23 @@
122
122
  }
123
123
  }
124
124
 
125
+ // Registry icons (icon-svg-registry.ts) hardcode stroke="black" / fill="black",
126
+ // so they ignore the surrounding `color`. Remapping only the literal "black"
127
+ // makes them tintable via currentColor while leaving multi-colour custom-*
128
+ // artwork (stroke="#2F9E44" etc.) untouched.
129
+ //
130
+ // Apply inside a selector that already reaches the injected <svg>, e.g.
131
+ // .pecb-icon__svg svg { @include tint-black-svg; }
132
+ @mixin tint-black-svg {
133
+ [stroke="black"] {
134
+ stroke: currentColor;
135
+ }
136
+
137
+ [fill="black"] {
138
+ fill: currentColor;
139
+ }
140
+ }
141
+
125
142
  // Elevation/Shadow
126
143
  @mixin elevation($level: 1) {
127
144
  @if $level == 1 {