@eccenca/gui-elements 23.4.0-rc.0 → 23.4.1
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/CHANGELOG.md +16 -1
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +3 -2
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +11 -6
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +7 -4
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
- package/dist/cjs/components/Icon/TestIcon.js +4 -4
- package/dist/cjs/components/Icon/TestIcon.js.map +1 -1
- package/dist/cjs/components/Icon/canonicalIconNames.js +5 -0
- package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +3 -2
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js +14 -9
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/esm/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +8 -4
- package/dist/esm/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
- package/dist/esm/components/Icon/TestIcon.js +4 -4
- package/dist/esm/components/Icon/TestIcon.js.map +1 -1
- package/dist/esm/components/Icon/canonicalIconNames.js +5 -0
- package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/types/cmem/ActivityControl/ActivityControlTypes.d.ts +1 -0
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +4 -0
- package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +8 -4
- package/dist/types/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.d.ts +5 -4
- package/dist/types/components/Icon/TestIcon.d.ts +2 -1
- package/dist/types/components/Icon/canonicalIconNames.d.ts +1 -1
- package/package.json +6 -3
- package/src/cmem/ActivityControl/ActivityControlTypes.ts +2 -0
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +6 -0
- package/src/cmem/ActivityControl/SilkActivityControl.tsx +78 -46
- package/src/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.tsx +12 -4
- package/src/components/Icon/TestIcon.tsx +9 -13
- package/src/components/Icon/canonicalIconNames.tsx +10 -0
- package/src/components/Icon/stories/Icon.stories.tsx +17 -30
- package/src/components/Icon/stories/TestIcon.stories.tsx +8 -9
- package/src/components/OverviewItem/overviewitem.scss +27 -33
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
$eccgui-color-overviewitem-divider: $ui-03 !default;
|
|
2
2
|
$eccgui-size-overviewitem-spacing: $eccgui-size-typo-base * 0.5 !default;
|
|
3
|
-
|
|
4
3
|
$eccgui-color-overviewitem-depiction-background: $eccgui-color-workspace-text !default;
|
|
5
4
|
$eccgui-color-overviewitem-depiction-text: $eccgui-color-workspace-background !default;
|
|
6
5
|
$eccgui-size-overviewitem-depiction-border-radius: $pt-border-radius !default;
|
|
7
|
-
|
|
8
6
|
$eccgui-size-overviewitem-line-typo-small: $eccgui-size-typo-caption !default;
|
|
9
7
|
$eccgui-size-overviewitem-line-typo-small-lineheight: $eccgui-size-typo-caption-lineheight !default;
|
|
10
8
|
$eccgui-size-overviewitem-line-typo-large: $eccgui-size-typo-subtitle !default;
|
|
@@ -12,8 +10,7 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
12
10
|
|
|
13
11
|
.#{$eccgui}-overviewitem__list--hascolumns {
|
|
14
12
|
display: flex;
|
|
15
|
-
flex-
|
|
16
|
-
flex-wrap: wrap;
|
|
13
|
+
flex-flow: row wrap;
|
|
17
14
|
align-items: stretch;
|
|
18
15
|
|
|
19
16
|
& > li {
|
|
@@ -25,8 +22,8 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
&.#{$eccgui}-overviewitem__list--hasspacing {
|
|
28
|
-
margin-left: -1 * $eccgui-size-overviewitem-spacing * 0.5;
|
|
29
25
|
margin-right: -1 * $eccgui-size-overviewitem-spacing * 0.5;
|
|
26
|
+
margin-left: -1 * $eccgui-size-overviewitem-spacing * 0.5;
|
|
30
27
|
|
|
31
28
|
& > li {
|
|
32
29
|
box-sizing: border-box;
|
|
@@ -48,13 +45,12 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
48
45
|
|
|
49
46
|
.#{$eccgui}-overviewitem__item {
|
|
50
47
|
display: flex;
|
|
51
|
-
flex-
|
|
52
|
-
flex-wrap: nowrap;
|
|
53
|
-
justify-content: flex-start;
|
|
54
|
-
align-items: stretch;
|
|
48
|
+
flex-flow: row nowrap;
|
|
55
49
|
align-content: stretch;
|
|
56
|
-
|
|
50
|
+
align-items: stretch;
|
|
51
|
+
justify-content: flex-start;
|
|
57
52
|
max-width: 100%;
|
|
53
|
+
height: mini-units(6);
|
|
58
54
|
|
|
59
55
|
&[tabindex]:not([tabindex="-1"]) {
|
|
60
56
|
cursor: pointer;
|
|
@@ -66,19 +62,19 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
66
62
|
// @extend .#{$ns}-menu-item;
|
|
67
63
|
|
|
68
64
|
&--active {
|
|
69
|
-
background-color: $eccgui-color-accent;
|
|
70
65
|
color: $eccgui-color-accent-contrast;
|
|
66
|
+
background-color: $eccgui-color-accent;
|
|
71
67
|
}
|
|
72
68
|
}
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
.#{$eccgui}-overviewitem__item--highdensity,
|
|
76
72
|
.#{$eccgui}-overviewitem__list--highdensity > li > .#{$eccgui}-overviewitem__item {
|
|
77
|
-
height: $button-height; //mini-units(4);
|
|
73
|
+
height: $button-height; // mini-units(4);
|
|
78
74
|
|
|
79
75
|
& > .#{$eccgui}-overviewitem__depiction {
|
|
80
|
-
width: $button-height; //mini-units(4);
|
|
81
|
-
height: $button-height; //mini-units(4);
|
|
76
|
+
width: $button-height; // mini-units(4);
|
|
77
|
+
height: $button-height; // mini-units(4);
|
|
82
78
|
}
|
|
83
79
|
}
|
|
84
80
|
|
|
@@ -98,27 +94,28 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
98
94
|
}
|
|
99
95
|
|
|
100
96
|
.#{$eccgui}-overviewitem__depiction {
|
|
97
|
+
display: flex;
|
|
101
98
|
flex-grow: 0;
|
|
102
99
|
flex-shrink: 0;
|
|
100
|
+
align-content: center;
|
|
101
|
+
align-items: center;
|
|
103
102
|
width: mini-units(6);
|
|
104
103
|
height: mini-units(6);
|
|
105
104
|
overflow: hidden;
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
align-content: center;
|
|
109
105
|
text-align: center;
|
|
110
106
|
border-radius: $eccgui-size-overviewitem-depiction-border-radius;
|
|
111
107
|
|
|
112
108
|
& > * {
|
|
109
|
+
display: block;
|
|
113
110
|
width: auto;
|
|
114
111
|
max-height: 100%;
|
|
115
|
-
display: block;
|
|
116
112
|
margin: 0 auto;
|
|
117
113
|
}
|
|
118
114
|
|
|
119
115
|
&:not(.#{$eccgui}-overviewitem__depiction--keepcolors) {
|
|
120
|
-
background-color: $eccgui-color-overviewitem-depiction-background;
|
|
121
116
|
color: $eccgui-color-overviewitem-depiction-text;
|
|
117
|
+
background-color: $eccgui-color-overviewitem-depiction-background;
|
|
118
|
+
|
|
122
119
|
svg {
|
|
123
120
|
fill: $eccgui-color-overviewitem-depiction-text;
|
|
124
121
|
}
|
|
@@ -126,14 +123,13 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
126
123
|
}
|
|
127
124
|
|
|
128
125
|
.#{$eccgui}-overviewitem__description {
|
|
129
|
-
flex-grow: 1;
|
|
130
|
-
flex-shrink: 1;
|
|
131
126
|
display: flex;
|
|
132
127
|
flex-direction: column;
|
|
133
|
-
flex-
|
|
134
|
-
|
|
135
|
-
align-items: stretch;
|
|
128
|
+
flex-grow: 1;
|
|
129
|
+
flex-shrink: 1;
|
|
136
130
|
align-content: stretch;
|
|
131
|
+
align-items: stretch;
|
|
132
|
+
justify-content: flex-start;
|
|
137
133
|
overflow: hidden;
|
|
138
134
|
|
|
139
135
|
.#{$eccgui}-overviewitem__depiction + & {
|
|
@@ -142,24 +138,23 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
142
138
|
}
|
|
143
139
|
|
|
144
140
|
.#{$eccgui}-overviewitem__line {
|
|
145
|
-
flex-shrink: 1;
|
|
146
|
-
flex-grow: 1;
|
|
147
141
|
display: flex;
|
|
142
|
+
flex: 1 1 100%;
|
|
148
143
|
align-items: center;
|
|
149
144
|
overflow: hidden;
|
|
150
|
-
white-space: nowrap;
|
|
151
145
|
font-size: 1rem;
|
|
146
|
+
white-space: nowrap;
|
|
152
147
|
|
|
153
148
|
& > * {
|
|
154
149
|
display: inline-block;
|
|
155
|
-
font-size: inherit;
|
|
156
150
|
max-width: 100%;
|
|
151
|
+
font-size: inherit;
|
|
157
152
|
}
|
|
158
153
|
}
|
|
159
154
|
|
|
160
155
|
.#{$eccgui}-overviewitem__line--small {
|
|
161
156
|
font-size: $eccgui-size-overviewitem-line-typo-small;
|
|
162
|
-
line-height: $eccgui-size-overviewitem-line-typo-small-lineheight
|
|
157
|
+
line-height: $eccgui-size-overviewitem-line-typo-small-lineheight;
|
|
163
158
|
}
|
|
164
159
|
|
|
165
160
|
.#{$eccgui}-overviewitem__line--large {
|
|
@@ -168,13 +163,12 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
|
|
|
168
163
|
}
|
|
169
164
|
|
|
170
165
|
.#{$eccgui}-overviewitem__actions {
|
|
166
|
+
display: flex;
|
|
167
|
+
flex-flow: row nowrap;
|
|
171
168
|
flex-grow: 0;
|
|
172
169
|
flex-shrink: 0;
|
|
173
|
-
display: flex;
|
|
174
|
-
flex-direction: row;
|
|
175
|
-
flex-wrap: nowrap;
|
|
176
|
-
justify-content: flex-end;
|
|
177
170
|
align-items: center;
|
|
171
|
+
justify-content: flex-end;
|
|
178
172
|
|
|
179
173
|
&:not(:first-child) {
|
|
180
174
|
margin-left: mini-units(1);
|