@gooddata/sdk-ui-ext 10.18.0-alpha.1 → 10.18.0-alpha.11
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/NOTICE +102 -3
- package/esm/index.d.ts +11 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +2 -0
- package/esm/index.js.map +1 -1
- package/esm/internal/translations/en-US.json +80 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.d.ts +12 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.d.ts.map +1 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.js +18 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/OrganizationContext.js.map +1 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.d.ts +22 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.d.ts.map +1 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.js +15 -0
- package/esm/notificationsPanel/@staging/OrganizationContext/useFetchOrganization.js.map +1 -0
- package/esm/notificationsPanel/Notification/AlertNotification.d.ts +15 -0
- package/esm/notificationsPanel/Notification/AlertNotification.d.ts.map +1 -0
- package/esm/notificationsPanel/Notification/AlertNotification.js +74 -0
- package/esm/notificationsPanel/Notification/AlertNotification.js.map +1 -0
- package/esm/notificationsPanel/Notification/DefaultNotification.d.ts +15 -0
- package/esm/notificationsPanel/Notification/DefaultNotification.d.ts.map +1 -0
- package/esm/notificationsPanel/Notification/DefaultNotification.js +26 -0
- package/esm/notificationsPanel/Notification/DefaultNotification.js.map +1 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.d.ts +13 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.js +37 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetail.js.map +1 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.d.ts +14 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.js +24 -0
- package/esm/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.js.map +1 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.d.ts +10 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.js +42 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetail.js.map +1 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.d.ts +12 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.js +27 -0
- package/esm/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.js.map +1 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.d.ts +28 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.js +23 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsList.js.map +1 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.d.ts +13 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.js +23 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.js.map +1 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.d.ts +13 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.js +18 -0
- package/esm/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.js.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.d.ts +38 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js +13 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.d.ts +32 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.js +41 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.js.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.d.ts +35 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.js +16 -0
- package/esm/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.js.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.d.ts +76 -0
- package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.d.ts.map +1 -0
- package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js +97 -0
- package/esm/notificationsPanel/NotificationsPanel/NotificationsPanel.js.map +1 -0
- package/esm/notificationsPanel/bem.d.ts +5 -0
- package/esm/notificationsPanel/bem.d.ts.map +1 -0
- package/esm/notificationsPanel/bem.js +4 -0
- package/esm/notificationsPanel/bem.js.map +1 -0
- package/esm/notificationsPanel/components/DetailsDialog.d.ts +9 -0
- package/esm/notificationsPanel/components/DetailsDialog.d.ts.map +1 -0
- package/esm/notificationsPanel/components/DetailsDialog.js +23 -0
- package/esm/notificationsPanel/components/DetailsDialog.js.map +1 -0
- package/esm/notificationsPanel/components/Skeleton.d.ts +8 -0
- package/esm/notificationsPanel/components/Skeleton.d.ts.map +1 -0
- package/esm/notificationsPanel/components/Skeleton.js +11 -0
- package/esm/notificationsPanel/components/Skeleton.js.map +1 -0
- package/esm/notificationsPanel/components/Tooltip.d.ts +6 -0
- package/esm/notificationsPanel/components/Tooltip.d.ts.map +1 -0
- package/esm/notificationsPanel/components/Tooltip.js +10 -0
- package/esm/notificationsPanel/components/Tooltip.js.map +1 -0
- package/esm/notificationsPanel/components/VirtualList.d.ts +15 -0
- package/esm/notificationsPanel/components/VirtualList.d.ts.map +1 -0
- package/esm/notificationsPanel/components/VirtualList.js +77 -0
- package/esm/notificationsPanel/components/VirtualList.js.map +1 -0
- package/esm/notificationsPanel/data/NotificationsContext.d.ts +27 -0
- package/esm/notificationsPanel/data/NotificationsContext.d.ts.map +1 -0
- package/esm/notificationsPanel/data/NotificationsContext.js +18 -0
- package/esm/notificationsPanel/data/NotificationsContext.js.map +1 -0
- package/esm/notificationsPanel/data/attributeFilterNaming.d.ts +4 -0
- package/esm/notificationsPanel/data/attributeFilterNaming.d.ts.map +1 -0
- package/esm/notificationsPanel/data/attributeFilterNaming.js +9 -0
- package/esm/notificationsPanel/data/attributeFilterNaming.js.map +1 -0
- package/esm/notificationsPanel/data/dateFilterNaming.d.ts +4 -0
- package/esm/notificationsPanel/data/dateFilterNaming.d.ts.map +1 -0
- package/esm/notificationsPanel/data/dateFilterNaming.js +15 -0
- package/esm/notificationsPanel/data/dateFilterNaming.js.map +1 -0
- package/esm/notificationsPanel/data/useFetchNotifications.d.ts +33 -0
- package/esm/notificationsPanel/data/useFetchNotifications.d.ts.map +1 -0
- package/esm/notificationsPanel/data/useFetchNotifications.js +66 -0
- package/esm/notificationsPanel/data/useFetchNotifications.js.map +1 -0
- package/esm/notificationsPanel/data/useNotificationFiltersDetail.d.ts +12 -0
- package/esm/notificationsPanel/data/useNotificationFiltersDetail.d.ts.map +1 -0
- package/esm/notificationsPanel/data/useNotificationFiltersDetail.js +96 -0
- package/esm/notificationsPanel/data/useNotificationFiltersDetail.js.map +1 -0
- package/esm/notificationsPanel/data/useNotifications.d.ts +28 -0
- package/esm/notificationsPanel/data/useNotifications.d.ts.map +1 -0
- package/esm/notificationsPanel/data/useNotifications.js +94 -0
- package/esm/notificationsPanel/data/useNotifications.js.map +1 -0
- package/esm/notificationsPanel/localization/IntlWrapper.d.ts +13 -0
- package/esm/notificationsPanel/localization/IntlWrapper.d.ts.map +1 -0
- package/esm/notificationsPanel/localization/IntlWrapper.js +32 -0
- package/esm/notificationsPanel/localization/IntlWrapper.js.map +1 -0
- package/esm/notificationsPanel/types.d.ts +5 -0
- package/esm/notificationsPanel/types.d.ts.map +1 -0
- package/esm/notificationsPanel/types.js +3 -0
- package/esm/notificationsPanel/types.js.map +1 -0
- package/esm/sdk-ui-ext.d.ts +201 -0
- package/package.json +20 -16
- package/src/notificationsPanel/Notification/DefaultNotification.scss +134 -0
- package/src/notificationsPanel/NotificationFiltersDetail/NotificationFiltersDetailDialog.scss +29 -0
- package/src/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.scss +72 -0
- package/src/notificationsPanel/NotificationsList/DefaultNotificationsList.scss +7 -0
- package/src/notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.scss +21 -0
- package/src/notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.scss +21 -0
- package/src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.scss +18 -0
- package/src/notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.scss +28 -0
- package/src/notificationsPanel/NotificationsPanel/DefaultOpenNotificationsPanelButton.scss +34 -0
- package/src/notificationsPanel/components/DetailsDialog.scss +51 -0
- package/src/notificationsPanel/components/Skeleton.scss +25 -0
- package/src/notificationsPanel/components/VirtualList.scss +26 -0
- package/src/notificationsPanel/notificationPanel.scss +19 -0
- package/styles/css/main.css +407 -0
- package/styles/css/main.css.map +1 -1
- package/styles/scss/main.scss +1 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notification {
|
|
4
|
+
$root: &;
|
|
5
|
+
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
align-items: center;
|
|
9
|
+
align-self: stretch;
|
|
10
|
+
|
|
11
|
+
border-radius: 3px;
|
|
12
|
+
border: 1px solid var(--gd-palette-complementary-3);
|
|
13
|
+
|
|
14
|
+
padding: 10px;
|
|
15
|
+
height: 52px;
|
|
16
|
+
gap: 10px;
|
|
17
|
+
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
line-height: 14px;
|
|
20
|
+
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
|
|
23
|
+
transition: var(--gd-transition-all);
|
|
24
|
+
|
|
25
|
+
&:hover {
|
|
26
|
+
&:not(#{$root}--isUnsupported) {
|
|
27
|
+
background: var(--gd-palette-complementary-2);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:not(#{$root}--isRead) {
|
|
31
|
+
#{$root}__mark-as-read-button {
|
|
32
|
+
display: flex;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#{$root}__time {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__unsupported {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
flex-shrink: 1;
|
|
46
|
+
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
cursor: default;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__icon {
|
|
53
|
+
width: 27px;
|
|
54
|
+
height: 27px;
|
|
55
|
+
border-radius: 51%;
|
|
56
|
+
|
|
57
|
+
background-color: var(--gd-palette-complementary-2);
|
|
58
|
+
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
flex-shrink: 0;
|
|
63
|
+
|
|
64
|
+
position: relative;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&__unread-status {
|
|
68
|
+
width: 7px;
|
|
69
|
+
height: 7px;
|
|
70
|
+
border-radius: 51%;
|
|
71
|
+
background-color: var(--gd-palette-primary-base);
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 0;
|
|
74
|
+
right: 0;
|
|
75
|
+
border: 1.4px solid var(--gd-palette-complementary-0);
|
|
76
|
+
box-sizing: content-box;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&__details {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
flex-shrink: 1;
|
|
84
|
+
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: 100%;
|
|
87
|
+
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&__title {
|
|
92
|
+
font-weight: 600;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
text-overflow: ellipsis;
|
|
95
|
+
white-space: nowrap;
|
|
96
|
+
color: var(--gd-palette-complementary-8);
|
|
97
|
+
flex-shrink: 0;
|
|
98
|
+
|
|
99
|
+
&--isRead {
|
|
100
|
+
font-weight: 400;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&__time {
|
|
105
|
+
text-align: right;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
text-overflow: ellipsis;
|
|
108
|
+
white-space: nowrap;
|
|
109
|
+
|
|
110
|
+
font-size: 12px;
|
|
111
|
+
font-style: normal;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
line-height: normal;
|
|
114
|
+
|
|
115
|
+
height: 100%;
|
|
116
|
+
color: var(--gd-palette-complementary-7);
|
|
117
|
+
|
|
118
|
+
flex-shrink: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&__mark-as-read-button {
|
|
122
|
+
display: none;
|
|
123
|
+
align-items: flex-start;
|
|
124
|
+
justify-content: flex-start;
|
|
125
|
+
|
|
126
|
+
height: 100%;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&__links {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: row;
|
|
132
|
+
align-items: center;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notification-filters-detail-dialog {
|
|
4
|
+
padding: 5px 0;
|
|
5
|
+
gap: 10px;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
&__item {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__values {
|
|
15
|
+
color: var(--gd-palette-complementary-8);
|
|
16
|
+
|
|
17
|
+
font-size: 12px;
|
|
18
|
+
font-weight: 700;
|
|
19
|
+
line-height: normal;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__label {
|
|
23
|
+
color: var(--gd-palette-complementary-7);
|
|
24
|
+
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
line-height: normal;
|
|
28
|
+
}
|
|
29
|
+
}
|
package/src/notificationsPanel/NotificationTriggersDetail/NotificationTriggersDetailDialog.scss
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notification-triggers-detail-dialog {
|
|
4
|
+
padding: 5px 0;
|
|
5
|
+
|
|
6
|
+
&__header {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__header-title {
|
|
14
|
+
color: var(--gd-palette-complementary-7);
|
|
15
|
+
|
|
16
|
+
font-size: 12px;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
text-overflow: ellipsis;
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
|
|
24
|
+
text-align: right;
|
|
25
|
+
|
|
26
|
+
width: 50%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__table {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
|
|
33
|
+
color: var(--gd-palette-complementary-8);
|
|
34
|
+
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
font-style: normal;
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
line-height: normal;
|
|
39
|
+
|
|
40
|
+
text-align: right;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__values-labels,
|
|
44
|
+
&__values {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
|
|
48
|
+
color: var(--gd-palette-complementary-8);
|
|
49
|
+
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-weight: 700;
|
|
53
|
+
line-height: normal;
|
|
54
|
+
|
|
55
|
+
width: 50%;
|
|
56
|
+
|
|
57
|
+
text-align: left;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__values-label {
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
text-overflow: ellipsis;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__values-value {
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
text-overflow: ellipsis;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
text-align: right;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notifications-list-empty-state {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
gap: 10px;
|
|
10
|
+
|
|
11
|
+
min-height: 124px;
|
|
12
|
+
width: 100%;
|
|
13
|
+
|
|
14
|
+
color: var(--gd-palette-complementary-6);
|
|
15
|
+
|
|
16
|
+
text-overflow: ellipsis;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
line-height: 20px;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notifications-list-error-state {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
gap: 10px;
|
|
10
|
+
|
|
11
|
+
min-height: 124px;
|
|
12
|
+
width: 100%;
|
|
13
|
+
|
|
14
|
+
color: var(--gd-palette-error-base);
|
|
15
|
+
|
|
16
|
+
text-overflow: ellipsis;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
line-height: 20px;
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notifications-panel {
|
|
4
|
+
font-family: var(--gd-font-family);
|
|
5
|
+
background-color: var(--gd-palette-complementary-0);
|
|
6
|
+
|
|
7
|
+
box-shadow: 0 2px 10px 0 var(--gd-shadow-color);
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
|
|
12
|
+
padding-top: 15px;
|
|
13
|
+
|
|
14
|
+
width: 370px;
|
|
15
|
+
max-height: 560px;
|
|
16
|
+
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notifications-panel-header {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
padding-left: 15px;
|
|
9
|
+
padding-right: 15px;
|
|
10
|
+
|
|
11
|
+
width: 100%;
|
|
12
|
+
|
|
13
|
+
&__tabs {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 28px;
|
|
16
|
+
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
align-items: stretch;
|
|
20
|
+
justify-content: flex-end;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__mark-all-as-read-button {
|
|
24
|
+
height: 28px;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
border-bottom: 1px solid var(--gd-palette-complementary-3);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-open-notifications-button {
|
|
4
|
+
color: inherit;
|
|
5
|
+
padding: 0 10px;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
|
|
10
|
+
&:hover,
|
|
11
|
+
&--isOpen {
|
|
12
|
+
background: rgba(255, 255, 255, 0.3);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__icon {
|
|
16
|
+
opacity: 0.8;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__unread-status {
|
|
24
|
+
width: 7px;
|
|
25
|
+
height: 7px;
|
|
26
|
+
border-radius: 51%;
|
|
27
|
+
background-color: var(--gd-palette-primary-base);
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: -3px;
|
|
30
|
+
right: -4px;
|
|
31
|
+
z-index: 1;
|
|
32
|
+
box-sizing: content-box;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-notification-details-dialog {
|
|
4
|
+
width: 245px;
|
|
5
|
+
box-shadow: 0 2px 10px 0 var(--gd-shadow-color);
|
|
6
|
+
border-radius: 3px;
|
|
7
|
+
border: 1px solid var(--gd-palette-complementary-3);
|
|
8
|
+
background-color: var(--gd-palette-complementary-0);
|
|
9
|
+
font-family: var(--gd-font-family);
|
|
10
|
+
|
|
11
|
+
&__header {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
padding: 10px;
|
|
17
|
+
background: var(--gd-palette-complementary-2);
|
|
18
|
+
height: 35px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__header-title {
|
|
22
|
+
color: var(--gd-palette-complementary-6);
|
|
23
|
+
font-size: 11px;
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
line-height: normal;
|
|
27
|
+
text-transform: uppercase;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__header-close-button {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
opacity: 1;
|
|
33
|
+
transition: opacity 0.2s ease-in-out;
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
opacity: 0.7;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__content {
|
|
41
|
+
padding: 10px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__footer {
|
|
45
|
+
border-top: 1px solid var(--gd-palette-complementary-3);
|
|
46
|
+
padding: 10px;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: row;
|
|
49
|
+
justify-content: flex-end;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
@use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
|
|
4
|
+
@use "react-loading-skeleton/dist/skeleton.css";
|
|
5
|
+
|
|
6
|
+
.gd-ui-ext-skeleton {
|
|
7
|
+
height: 100%;
|
|
8
|
+
width: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
|
|
12
|
+
&__item {
|
|
13
|
+
border-radius: 3px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.react-loading-skeleton {
|
|
17
|
+
--base-color: var(--gd-palette-complementary-2);
|
|
18
|
+
--highlight-color: var(--gd-palette-complementary-0);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
span {
|
|
22
|
+
line-height: 0;
|
|
23
|
+
font-size: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
.gd-ui-ext-virtual-list {
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
&--hasScroll {
|
|
8
|
+
padding-right: 4px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__scroll-container {
|
|
12
|
+
overflow: auto;
|
|
13
|
+
overflow-x: hidden;
|
|
14
|
+
|
|
15
|
+
&::-webkit-scrollbar {
|
|
16
|
+
-webkit-appearance: none;
|
|
17
|
+
appearance: none;
|
|
18
|
+
width: 6px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&::-webkit-scrollbar-thumb {
|
|
22
|
+
background-color: var(--gd-palette-complementary-2);
|
|
23
|
+
border-radius: 3px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
|
|
3
|
+
@use "./components/DetailsDialog.scss";
|
|
4
|
+
@use "./components/Skeleton.scss";
|
|
5
|
+
@use "./components/VirtualList.scss";
|
|
6
|
+
// Panel
|
|
7
|
+
@use "./NotificationsPanel/DefaultNotificationsPanel.scss";
|
|
8
|
+
@use "./NotificationsPanel/DefaultNotificationsPanelHeader.scss";
|
|
9
|
+
@use "./NotificationsPanel/DefaultOpenNotificationsPanelButton.scss";
|
|
10
|
+
// List
|
|
11
|
+
@use "./NotificationsList/DefaultNotificationsList.scss";
|
|
12
|
+
@use "./NotificationsList/DefaultNotificationsListEmptyState.scss";
|
|
13
|
+
@use "./NotificationsList/DefaultNotificationsListErrorState.scss";
|
|
14
|
+
// Notification
|
|
15
|
+
@use "./Notification/DefaultNotification.scss";
|
|
16
|
+
// Notification filters detail
|
|
17
|
+
@use "./NotificationFiltersDetail/NotificationFiltersDetailDialog.scss";
|
|
18
|
+
// Notification triggers detail
|
|
19
|
+
@use "./NotificationTriggersDetail/NotificationTriggersDetailDialog.scss";
|