@zambon-dev/ui 1.4.1 → 1.5.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/CHANGELOG.md +52 -15
- package/LICENSE +21 -0
- package/README.md +55 -54
- package/fesm2022/zambon-dev-ui-framework.mjs +8 -8
- package/fesm2022/zambon-dev-ui-framework.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-library.mjs +3 -3
- package/fesm2022/zambon-dev-ui-library.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-shared.mjs +446 -446
- package/fesm2022/zambon-dev-ui-shared.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-testing.mjs.map +1 -1
- package/i18n/shared/top-bar/en.json +4 -0
- package/i18n/shared/top-bar/pt.json +4 -0
- package/package.json +14 -9
- package/styles/theme.css +15 -6
- package/styles/variables.scss +3 -3
- package/types/zambon-dev-ui-framework.d.ts +397 -24
- package/types/zambon-dev-ui-library.d.ts +312 -1
- package/types/zambon-dev-ui-shared.d.ts +180 -10
- package/types/zambon-dev-ui-testing.d.ts +1 -0
|
@@ -693,7 +693,7 @@ var DataGridDataset = class DataGridDataset extends GridDataset {
|
|
|
693
693
|
}
|
|
694
694
|
get columnsSize() {
|
|
695
695
|
const sizes = [];
|
|
696
|
-
if (this.configs.multiSelect) sizes.push(this.configs.multiSelectSize ?? "
|
|
696
|
+
if (this.configs.multiSelect) sizes.push(this.configs.multiSelectSize ?? "min-content");
|
|
697
697
|
sizes.push(...this.columns.map((col) => col.size ?? "minmax(0,1fr)"));
|
|
698
698
|
return sizes.join(" ");
|
|
699
699
|
}
|
|
@@ -3334,7 +3334,7 @@ var DataGridComponent = class DataGridComponent extends BaseComponent {
|
|
|
3334
3334
|
return this.dataGridDataset?.configs?.messageOnFailed ?? "";
|
|
3335
3335
|
}
|
|
3336
3336
|
get selectionColWidth() {
|
|
3337
|
-
return this.selectionColRealSize ? `${this.selectionColRealSize}px` : this.configs.multiSelectSize ?? "
|
|
3337
|
+
return this.selectionColRealSize ? `${this.selectionColRealSize}px` : this.configs.multiSelectSize ?? "min-content";
|
|
3338
3338
|
}
|
|
3339
3339
|
get shouldDisplayMessageWhenEmpty() {
|
|
3340
3340
|
return this.dataGridDataset?.configs?.showMessageOnEmpty ?? true;
|
|
@@ -6001,7 +6001,7 @@ var DataGridConfigsProvider = class DataGridConfigsProvider extends GridConfigsP
|
|
|
6001
6001
|
this._configs = {
|
|
6002
6002
|
...this._configs,
|
|
6003
6003
|
multiSelect: false,
|
|
6004
|
-
multiSelectSize: "
|
|
6004
|
+
multiSelectSize: "min-content"
|
|
6005
6005
|
};
|
|
6006
6006
|
}
|
|
6007
6007
|
static ɵfac = i0.ɵɵngDeclareFactory({
|