commons-shared-web-ui 0.0.36 → 0.0.38
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/index.d.ts
CHANGED
|
@@ -1644,6 +1644,7 @@ declare class ButtonComponent implements OnInit {
|
|
|
1644
1644
|
variant: ButtonVariant;
|
|
1645
1645
|
type: 'button' | 'submit' | 'reset';
|
|
1646
1646
|
disabled: boolean;
|
|
1647
|
+
get pointerEvents(): string;
|
|
1647
1648
|
width?: string;
|
|
1648
1649
|
height?: string;
|
|
1649
1650
|
borderRadius?: string;
|
|
@@ -3101,6 +3102,14 @@ interface SideNavStyleConfig {
|
|
|
3101
3102
|
activeBg?: string;
|
|
3102
3103
|
activeColor?: string;
|
|
3103
3104
|
activeHoverBg?: string;
|
|
3105
|
+
toggleBg?: string;
|
|
3106
|
+
toggleBorderColor?: string;
|
|
3107
|
+
tooltipBg?: string;
|
|
3108
|
+
tooltipColor?: string;
|
|
3109
|
+
tooltipFontWeight?: string;
|
|
3110
|
+
tooltipLetterSpacing?: string;
|
|
3111
|
+
tooltipOffset?: string;
|
|
3112
|
+
tooltipShadow?: string;
|
|
3104
3113
|
}
|
|
3105
3114
|
interface SideNavSection {
|
|
3106
3115
|
heading?: string;
|
|
@@ -3651,6 +3660,8 @@ declare class SmartTableComponent implements OnInit, OnChanges, AfterViewInit, O
|
|
|
3651
3660
|
private calculateStickyPositions;
|
|
3652
3661
|
private toTitleCase;
|
|
3653
3662
|
get columnCount(): number;
|
|
3663
|
+
get showPagination(): boolean;
|
|
3664
|
+
private applyPaginationDefaults;
|
|
3654
3665
|
onColumnClick(row: any, col: TableColumn): void;
|
|
3655
3666
|
private getHeaders;
|
|
3656
3667
|
toggleDropdown(id: string, event: Event, items: any[], row: any): void;
|
package/package.json
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
$default-side-nav-config: (
|
|
4
4
|
// Container & Global
|
|
5
|
-
bg: #
|
|
5
|
+
bg: #ffffff,
|
|
6
|
+
border-color: rgba(0, 0, 0, 0.08),
|
|
6
7
|
width: 220px,
|
|
7
8
|
collapsed-width: 56px,
|
|
8
9
|
gap-sections: 24px,
|
|
@@ -23,27 +24,34 @@ $default-side-nav-config: (
|
|
|
23
24
|
item-font-weight: 400,
|
|
24
25
|
item-font-size: 14px,
|
|
25
26
|
item-color: #5F6368,
|
|
26
|
-
|
|
27
|
+
|
|
27
28
|
// Item Hover
|
|
28
|
-
|
|
29
|
-
item-hover-
|
|
30
|
-
item-hover-color: #3C4043,
|
|
29
|
+
item-hover-bg: rgba(30, 30, 45, 0.08),
|
|
30
|
+
item-hover-color: #1e1e2d,
|
|
31
31
|
|
|
32
32
|
// Active Item
|
|
33
|
-
active-bg: #
|
|
34
|
-
active-color: #
|
|
33
|
+
active-bg: #1e1e2d,
|
|
34
|
+
active-color: #ffffff,
|
|
35
35
|
active-font-weight: 500,
|
|
36
|
-
active-hover-bg: #
|
|
37
|
-
|
|
36
|
+
active-hover-bg: #2a2a3d,
|
|
37
|
+
|
|
38
38
|
// Disable State
|
|
39
39
|
disabled-opacity: 0.5,
|
|
40
40
|
|
|
41
|
+
// Toggle Pill
|
|
42
|
+
toggle-bg: #ffffff,
|
|
43
|
+
toggle-border-color: rgba(0, 0, 0, 0.1),
|
|
44
|
+
|
|
41
45
|
// Tooltip Styling
|
|
42
|
-
tooltip-bg:
|
|
46
|
+
tooltip-bg: #1e1e2d,
|
|
43
47
|
tooltip-color: #FFFFFF,
|
|
44
|
-
tooltip-padding: 8px
|
|
48
|
+
tooltip-padding: 8px 14px,
|
|
45
49
|
tooltip-border-radius: 6px,
|
|
46
|
-
tooltip-font-size: 12px
|
|
50
|
+
tooltip-font-size: 12px,
|
|
51
|
+
tooltip-font-weight: 500,
|
|
52
|
+
tooltip-letter-spacing: 0.2px,
|
|
53
|
+
tooltip-offset: 20px,
|
|
54
|
+
tooltip-shadow: 0 4px 12px rgba(0, 0, 0, 0.35)
|
|
47
55
|
);
|
|
48
56
|
|
|
49
57
|
@mixin side-nav-theme($user-config: ()) {
|
|
@@ -51,6 +59,7 @@ $default-side-nav-config: (
|
|
|
51
59
|
|
|
52
60
|
// Container
|
|
53
61
|
--cc-side-nav-bg: #{map.get($config, bg)};
|
|
62
|
+
--cc-side-nav-border-color: #{map.get($config, border-color)};
|
|
54
63
|
--cc-side-nav-width: #{map.get($config, width)};
|
|
55
64
|
--cc-side-nav-collapsed-width: #{map.get($config, collapsed-width)};
|
|
56
65
|
--cc-side-nav-gap-sections: #{map.get($config, gap-sections)};
|
|
@@ -85,10 +94,18 @@ $default-side-nav-config: (
|
|
|
85
94
|
// Disabled
|
|
86
95
|
--cc-side-nav-disabled-opacity: #{map.get($config, disabled-opacity)};
|
|
87
96
|
|
|
97
|
+
// Toggle Pill
|
|
98
|
+
--cc-side-nav-toggle-bg: #{map.get($config, toggle-bg)};
|
|
99
|
+
--cc-side-nav-toggle-border-color: #{map.get($config, toggle-border-color)};
|
|
100
|
+
|
|
88
101
|
// Tooltip
|
|
89
102
|
--cc-side-nav-tooltip-bg: #{map.get($config, tooltip-bg)};
|
|
90
103
|
--cc-side-nav-tooltip-color: #{map.get($config, tooltip-color)};
|
|
91
104
|
--cc-side-nav-tooltip-padding: #{map.get($config, tooltip-padding)};
|
|
92
105
|
--cc-side-nav-tooltip-border-radius: #{map.get($config, tooltip-border-radius)};
|
|
93
106
|
--cc-side-nav-tooltip-font-size: #{map.get($config, tooltip-font-size)};
|
|
107
|
+
--cc-side-nav-tooltip-font-weight: #{map.get($config, tooltip-font-weight)};
|
|
108
|
+
--cc-side-nav-tooltip-letter-spacing: #{map.get($config, tooltip-letter-spacing)};
|
|
109
|
+
--cc-side-nav-tooltip-offset: #{map.get($config, tooltip-offset)};
|
|
110
|
+
--cc-side-nav-tooltip-shadow: #{map.get($config, tooltip-shadow)};
|
|
94
111
|
}
|