@bravobit/bb-foundation 0.50.9 → 0.51.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/collections/lib/collections.config.d.ts +3 -0
- package/collections/lib/collections.interfaces.d.ts +10 -0
- package/collections/lib/components/collections-actions/collections-actions.component.d.ts +3 -0
- package/collections/lib/components/collections-pager/collections-pager.component.d.ts +3 -0
- package/collections/public_api.d.ts +2 -0
- package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +3 -5
- package/dialog/lib/dialog-header/dialog-header.component.d.ts +7 -1
- package/dialog/lib/dialog-modal/dialog-modal.component.d.ts +4 -7
- package/dialog/lib/dialog-overlay/dialog-overlay.component.d.ts +3 -2
- package/dialog/lib/dialog.insertion.d.ts +1 -2
- package/dialog/lib/dialog.interfaces.d.ts +5 -0
- package/dialog/lib/dialog.module.d.ts +5 -6
- package/dialog/lib/dialog.service.d.ts +4 -4
- package/dialog/lib/directives/confirm.directive.d.ts +2 -1
- package/dialog/public_api.d.ts +0 -1
- package/elements/lib/checkbox/checkbox.component.d.ts +3 -1
- package/elements/lib/elements.module.d.ts +22 -23
- package/elements/lib/radio-button/radio-button.component.d.ts +1 -3
- package/elements/public_api.d.ts +0 -1
- package/fesm2022/bravobit-bb-foundation-auth.mjs +19 -19
- package/fesm2022/bravobit-bb-foundation-collections.mjs +67 -49
- package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs +27 -27
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-dialog.mjs +95 -105
- package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-elements.mjs +95 -122
- package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-localize.mjs +40 -16
- package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation-notifications.mjs +14 -14
- package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-select.mjs +19 -19
- package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
- package/fesm2022/bravobit-bb-foundation-table.mjs +47 -29
- package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation.mjs +21 -21
- package/localize/lib/localizations/dutch.localization.d.ts +6 -0
- package/localize/lib/localizations/english.localization.d.ts +6 -0
- package/localize/lib/localizations/papiamento.localization.d.ts +6 -0
- package/localize/lib/localizations/spanish.localization.d.ts +6 -0
- package/localize/lib/transforms/plural.transform.d.ts +1 -1
- package/package.json +5 -5
- package/styles/theme.scss +7 -1
- package/table/lib/components/table/table.component.d.ts +3 -0
- package/table/lib/components/table-pager/table-pager.component.d.ts +3 -0
- package/table/lib/interfaces/table.interfaces.d.ts +10 -0
- package/table/lib/table.config.d.ts +3 -0
- package/table/public_api.d.ts +1 -0
- package/dialog/lib/dialog-link/dialog-link.component.d.ts +0 -5
- package/elements/lib/directives/addon.directive.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bravobit/bb-foundation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.1",
|
|
4
4
|
"description": "The Angular core foundation of the Bravobit team.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Stan van Heumen",
|
|
@@ -44,10 +44,6 @@
|
|
|
44
44
|
"types": "./collections/index.d.ts",
|
|
45
45
|
"default": "./fesm2022/bravobit-bb-foundation-collections.mjs"
|
|
46
46
|
},
|
|
47
|
-
"./elements": {
|
|
48
|
-
"types": "./elements/index.d.ts",
|
|
49
|
-
"default": "./fesm2022/bravobit-bb-foundation-elements.mjs"
|
|
50
|
-
},
|
|
51
47
|
"./combobox": {
|
|
52
48
|
"types": "./combobox/index.d.ts",
|
|
53
49
|
"default": "./fesm2022/bravobit-bb-foundation-combobox.mjs"
|
|
@@ -60,6 +56,10 @@
|
|
|
60
56
|
"types": "./dashboard/index.d.ts",
|
|
61
57
|
"default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
|
|
62
58
|
},
|
|
59
|
+
"./elements": {
|
|
60
|
+
"types": "./elements/index.d.ts",
|
|
61
|
+
"default": "./fesm2022/bravobit-bb-foundation-elements.mjs"
|
|
62
|
+
},
|
|
63
63
|
"./http": {
|
|
64
64
|
"types": "./http/index.d.ts",
|
|
65
65
|
"default": "./fesm2022/bravobit-bb-foundation-http.mjs"
|
package/styles/theme.scss
CHANGED
|
@@ -112,11 +112,14 @@
|
|
|
112
112
|
|
|
113
113
|
// Collections table label.
|
|
114
114
|
--bb-collections-table-label-color: var(--bb-primary-color-550);
|
|
115
|
-
--bb-collections-table-loader-color:
|
|
115
|
+
--bb-collections-table-loader-color: var(--bb-primary-color-500);
|
|
116
116
|
|
|
117
117
|
// Spinner.
|
|
118
118
|
--bb-spinner-color: var(--bb-primary-color-500);
|
|
119
119
|
--bb-spinner-background-color: #f2f4f6;
|
|
120
|
+
|
|
121
|
+
// Dialog.
|
|
122
|
+
--bb-dialog-border-radius: 0.5rem;
|
|
120
123
|
}
|
|
121
124
|
}
|
|
122
125
|
|
|
@@ -158,5 +161,8 @@
|
|
|
158
161
|
--bb-file-picker-border-radius: 0.1875rem;
|
|
159
162
|
--bb-file-picker-border-color: hsla(213, 8%, 74%, 1);
|
|
160
163
|
--bb-file-picker-background-color: hsla(300, 100%, 99%, 1);
|
|
164
|
+
|
|
165
|
+
// Legacy dialog styling.
|
|
166
|
+
--bb-dialog-border-radius: 0.25rem;
|
|
161
167
|
}
|
|
162
168
|
}
|
|
@@ -13,6 +13,9 @@ export declare class BbTableRowDef {
|
|
|
13
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableRowDef, "ng-template[bbTableRowDef]", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
15
15
|
export declare class BbTable implements OnInit, OnDestroy {
|
|
16
|
+
private readonly _config?;
|
|
17
|
+
readonly actionsSearchIconName: string;
|
|
18
|
+
readonly actionsCloseIconName: string;
|
|
16
19
|
tableColumnTemplates: QueryList<TemplateRef<any>>;
|
|
17
20
|
tableRowTemplate?: TemplateRef<any>;
|
|
18
21
|
identifier: string | null;
|
|
@@ -3,6 +3,9 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BbTablePager implements OnInit, ControlValueAccessor {
|
|
6
|
+
private readonly _config?;
|
|
7
|
+
readonly arrowPreviousIconName: string;
|
|
8
|
+
readonly arrowNextIconName: string;
|
|
6
9
|
amountOfButtons: number;
|
|
7
10
|
showArrowButtons: boolean;
|
|
8
11
|
disabled: boolean;
|
|
@@ -1 +1,11 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
export type TableColumnSortStrategy = 'asc' | 'desc' | 'none';
|
|
3
|
+
export declare const TABLE_CONFIG: InjectionToken<TableConfig>;
|
|
4
|
+
export interface TableConfig {
|
|
5
|
+
icons?: {
|
|
6
|
+
actionsSearch?: string;
|
|
7
|
+
actionsClose?: string;
|
|
8
|
+
pagerArrowPrevious?: string;
|
|
9
|
+
pagerArrowNext?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
package/table/public_api.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export * from './lib/components/table-cell/table-cell.component';
|
|
|
7
7
|
export * from './lib/components/table-header-cell/table-header-cell.component';
|
|
8
8
|
export * from './lib/components/table-pager/table-pager.component';
|
|
9
9
|
export * from './lib/table.module';
|
|
10
|
+
export * from './lib/table.config';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BbSuffix {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbSuffix, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSuffix, "[bbSuffix]", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
6
|
-
export declare class BbPrefix {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbPrefix, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbPrefix, "[bbPrefix]", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|