@acrodata/gui 2.0.0 → 2.1.0
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/README.md +1 -1
- package/esm2022/button-toggle/icon.mjs +3 -3
- package/esm2022/field-group/field-group.mjs +3 -3
- package/esm2022/file-uploader/file-uploader.mjs +3 -3
- package/esm2022/gui-form.mjs +3 -3
- package/esm2022/gui-utils.mjs +1 -2
- package/esm2022/icon-button-wrapper/icon-button-wrapper.mjs +3 -3
- package/esm2022/inline-group/inline-group.mjs +3 -3
- package/esm2022/interface.mjs +1 -1
- package/fesm2022/acrodata-gui.mjs +12 -13
- package/fesm2022/acrodata-gui.mjs.map +1 -1
- package/gui-form.scss +9 -0
- package/icon-button-wrapper/icon-button-wrapper.scss +2 -0
- package/interface.d.ts +2 -6
- package/package.json +1 -1
package/gui-form.scss
CHANGED
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
position: relative;
|
|
72
72
|
padding: 0 0.75rem;
|
|
73
73
|
line-height: 1.5rem;
|
|
74
|
+
border-bottom: var(--mat-tab-header-divider-height) solid transparent;
|
|
74
75
|
|
|
75
76
|
&::before {
|
|
76
77
|
position: absolute;
|
|
@@ -88,7 +89,15 @@
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
.gui-list-item-title {
|
|
92
|
+
display: flex;
|
|
91
93
|
flex: 1;
|
|
94
|
+
padding: 0;
|
|
95
|
+
background-color: transparent;
|
|
96
|
+
border: none;
|
|
97
|
+
font-size: inherit;
|
|
98
|
+
font-family: inherit;
|
|
99
|
+
letter-spacing: inherit;
|
|
100
|
+
line-height: inherit;
|
|
92
101
|
cursor: pointer;
|
|
93
102
|
|
|
94
103
|
.gui-list-item-active & {
|
package/interface.d.ts
CHANGED
|
@@ -36,9 +36,7 @@ export interface GuiField {
|
|
|
36
36
|
mode?: GuiFillMode | GuiSliderMode | GuiTabsMode;
|
|
37
37
|
rows?: number;
|
|
38
38
|
}
|
|
39
|
-
export
|
|
40
|
-
[key: string]: GuiField;
|
|
41
|
-
}
|
|
39
|
+
export type GuiFields = Record<string, GuiField>;
|
|
42
40
|
export interface GuiFieldOption {
|
|
43
41
|
label: string;
|
|
44
42
|
value: string | number | boolean;
|
|
@@ -57,6 +55,4 @@ export interface GuiControl extends GuiField {
|
|
|
57
55
|
template?: Partial<GuiControl>;
|
|
58
56
|
selectedIndex?: number;
|
|
59
57
|
}
|
|
60
|
-
export
|
|
61
|
-
[key: string]: GuiControl;
|
|
62
|
-
}
|
|
58
|
+
export type GuiControls = Record<string, GuiControl>;
|