@coolon/angular-ui-powerups 12.4.0-alpha.30 → 12.4.0-alpha.32

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.
@@ -0,0 +1,6 @@
1
+ @mixin floating-label-style() {
2
+ font-weight: 400;
3
+ font-size: calc(14px * .75);
4
+ color: rgba(0, 0, 0, 0.57);
5
+ white-space: nowrap;
6
+ }
@@ -0,0 +1,47 @@
1
+ @use "../../forms/mixins";
2
+
3
+ aup-inline-string-editor {
4
+ display: inline-block;
5
+
6
+ .content {
7
+
8
+ display: grid;
9
+ grid-template-areas: "label edit-control" "content edit-control";
10
+ grid-template-columns: 1fr auto;
11
+ grid-template-rows: 26px 24px;
12
+
13
+ > label {
14
+ grid-area: label;
15
+ align-self: end;
16
+ @include mixins.floating-label-style();
17
+ }
18
+
19
+ > p {
20
+ grid-area: content;
21
+ //height: 42px;
22
+ box-sizing: border-box;
23
+ font-size: 14px;
24
+ font-weight: 400;
25
+ flex: 1;
26
+ padding: 1px 0 0 0;
27
+ margin: 0;
28
+ cursor: pointer;
29
+
30
+ &.place-holder {
31
+ color: rgba(0,0,0,0.5); // TODO: get the angular theme value for disabled form elements...
32
+ }
33
+
34
+ }
35
+
36
+ &:hover {
37
+ //background-color: rgba(0, 0, 0, 0.03);
38
+ }
39
+
40
+ > aup-command {
41
+ grid-area: edit-control;
42
+ align-self: end;
43
+ transform: translateY(3px); // hack to line up with activity actions...!
44
+ }
45
+ }
46
+
47
+ }
@@ -0,0 +1,12 @@
1
+ .aup-input-activity {
2
+
3
+ &[layout=block] {
4
+ padding: calc(var(--aup-default-padding)/2);
5
+ }
6
+
7
+ // used for inline editors
8
+ &[layout=inline] {
9
+ display: flex;
10
+ flex-direction: row;
11
+ }
12
+ }
@@ -1,7 +1,7 @@
1
1
  @use "~@angular/material/theming";
2
2
 
3
- @use "interaction/editor/inline-string-editor";
4
- @use "interaction/input-activity";
3
+ @use "./interaction/editor/inline-string-editor";
4
+ @use "./interaction/input-activity";
5
5
 
6
6
  .dialog-interaction-context {
7
7
  max-width: 95vw !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "12.4.0-alpha.30",
3
+ "version": "12.4.0-alpha.32",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.2.0",