@pecb-ui/components 1.1.13 → 1.1.15

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/layout/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { AccordionItemComponent, AccordionSmallComponent, AccordionVariant, CardBodyComponent, CardComponent, CardElevation, CardFooterComponent, CardHeaderComponent, CardRadius, CardRole, ContentStyle, DashboardGridComponent, DashboardGridGap, DashboardGridLayout, DividerComponent, DividerType, GridAlign, GridColumns, GridComponent, GridGap, GridItemComponent, GridItemSpan, GridPadding, GridVerticalAlign, HeaderSearchType, ProfileType, ProjectLayoutComponent, QuizType, SpacerComponent, SpacerSize } from '@pecb-ui/components';
1
+ export { AccordionItemComponent, AccordionSmallComponent, AccordionVariant, CardBodyComponent, CardComponent, CardElevation, CardFooterComponent, CardHeaderComponent, CardRadius, CardRole, ContentStyle, DashboardGridComponent, DashboardGridGap, DashboardGridLayout, DividerComponent, DividerType, FormSectionCardComponent, GridAlign, GridColumns, GridComponent, GridGap, GridItemComponent, GridItemSpan, GridPadding, GridVerticalAlign, HeaderSearchType, ProfileType, ProjectLayoutComponent, QuizType, SpacerComponent, SpacerSize } from '@pecb-ui/components';
@@ -1 +1 @@
1
- export { BottomSheetComponent, ColumnOption, ConfirmationComponent, ConfirmationIconType, FilterColumnsActiveTab, FilterColumnsApplyEvent, FilterColumnsComponent, FilterField, FilterFieldType, FullscreenModalComponent, FullscreenModalContentDirective, FullscreenModalFooterDirective, FullscreenModalHeaderDirective, 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, 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.13",
3
+ "version": "1.1.15",
4
4
  "description": "Professional Angular UI Components Library with TypeScript and SCSS by PECB",
5
5
  "author": "PECB",
6
6
  "license": "MIT",
@@ -0,0 +1,65 @@
1
+ // =============================================================================
2
+ // OVERLAY LAYERING & CDK PANE COMPATIBILITY
3
+ //
4
+ // Global fixes for pecb-ui components that render inside the Angular CDK
5
+ // overlay (dropdown, datepicker, confirmation, pagination, header dropdowns).
6
+ // Shipped with main.scss so consuming apps no longer need local patches.
7
+ // =============================================================================
8
+
9
+ // ---------------------------------------------------------------------------
10
+ // Double-boxing guard
11
+ //
12
+ // Some app shells (e.g. the legacy pecb-libs-ui global stylesheet) paint every
13
+ // `.cdk-overlay-pane` with a white background + border + shadow, intended for
14
+ // Material select/menu panels. pecb-ui overlay components render their OWN
15
+ // surface inside the pane, so they end up double-boxed — a second white box
16
+ // around the real panel. Strip the outer box for panes that contain a pecb-ui
17
+ // panel; Material panes (which contain `.mat-mdc-*`, not `.pecb-*`) are
18
+ // unaffected.
19
+ // ---------------------------------------------------------------------------
20
+
21
+ .cdk-overlay-pane:has(.pecb-dropdown__panel),
22
+ .cdk-overlay-pane:has(.pecb-datepicker__calendar),
23
+ .cdk-overlay-pane:has(.pecb-confirmation__panel),
24
+ .cdk-overlay-pane:has(.pecb-pagination__dropdown),
25
+ .cdk-overlay-pane:has(.pecb-header__dropdown) {
26
+ background: transparent !important;
27
+ border: 0 !important;
28
+ box-shadow: none !important;
29
+ border-radius: 0 !important;
30
+ margin-top: 0 !important;
31
+ }
32
+
33
+ // ---------------------------------------------------------------------------
34
+ // Dropdown option panel width
35
+ //
36
+ // The pane's width is synced to the trigger, but the inner panel doesn't
37
+ // stretch to fill it — force it to fill the pane so options aren't cramped
38
+ // in a narrow box.
39
+ // ---------------------------------------------------------------------------
40
+
41
+ .cdk-overlay-pane .pecb-dropdown__panel {
42
+ width: 100%;
43
+ min-width: 160px;
44
+ box-sizing: border-box;
45
+ }
46
+
47
+ // ---------------------------------------------------------------------------
48
+ // Layering tokens
49
+ //
50
+ // Apps whose shell stacks above the CDK default (z-index: 1000) — e.g. a
51
+ // header at z-index 999999 — can lift every pecb overlay at once by setting
52
+ // the custom properties on :root, without `!important` overrides:
53
+ //
54
+ // :root {
55
+ // --pecb-z-modal: 1000000; // bottom sheet, fullscreen modal
56
+ // --pecb-z-overlay-container: 1000001; // CDK overlays (dropdowns, modals)
57
+ // }
58
+ //
59
+ // Keep the overlay container ABOVE the modals, or a dropdown opened inside a
60
+ // right-modal renders behind it.
61
+ // ---------------------------------------------------------------------------
62
+
63
+ .cdk-overlay-container {
64
+ z-index: var(--pecb-z-overlay-container, 1000);
65
+ }
package/styles/main.scss CHANGED
@@ -8,5 +8,8 @@
8
8
  @use "base/reset";
9
9
  @use "base/container";
10
10
 
11
+ // Component-adjacent global fixes (CDK overlay layering & pane compatibility)
12
+ @use "components/overlays";
13
+
11
14
  // Utility classes (directive-driven)
12
15
  @use "../lib/components/shadow/shadow.directive";