@bravobit/bb-foundation 0.51.0 → 0.51.2
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-collections.mjs +27 -9
- package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs +4 -4
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-dialog.mjs +75 -85
- package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-elements.mjs +37 -64
- package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-localize.mjs +24 -0
- package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-notifications.mjs +2 -2
- package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +2 -2
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-select.mjs +2 -2
- package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-table.mjs +26 -8
- package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
- 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/package.json +8 -8
- package/styles/theme.scss +11 -3
- 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.51.
|
|
3
|
+
"version": "0.51.2",
|
|
4
4
|
"description": "The Angular core foundation of the Bravobit team.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Stan van Heumen",
|
|
@@ -44,22 +44,22 @@
|
|
|
44
44
|
"types": "./collections/index.d.ts",
|
|
45
45
|
"default": "./fesm2022/bravobit-bb-foundation-collections.mjs"
|
|
46
46
|
},
|
|
47
|
-
"./combobox": {
|
|
48
|
-
"types": "./combobox/index.d.ts",
|
|
49
|
-
"default": "./fesm2022/bravobit-bb-foundation-combobox.mjs"
|
|
50
|
-
},
|
|
51
47
|
"./dashboard": {
|
|
52
48
|
"types": "./dashboard/index.d.ts",
|
|
53
49
|
"default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
|
|
54
50
|
},
|
|
55
|
-
"./
|
|
56
|
-
"types": "./
|
|
57
|
-
"default": "./fesm2022/bravobit-bb-foundation-
|
|
51
|
+
"./combobox": {
|
|
52
|
+
"types": "./combobox/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/bravobit-bb-foundation-combobox.mjs"
|
|
58
54
|
},
|
|
59
55
|
"./dialog": {
|
|
60
56
|
"types": "./dialog/index.d.ts",
|
|
61
57
|
"default": "./fesm2022/bravobit-bb-foundation-dialog.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
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
--bb-button-destructive-active-background-color: var(--bb-destructive-color-650);
|
|
47
47
|
|
|
48
48
|
// General controls.
|
|
49
|
-
--bb-form-label-color:
|
|
49
|
+
--bb-form-label-color: hsl(0, 0%, 32%);
|
|
50
50
|
--bb-form-label-font-weight: 400;
|
|
51
51
|
--bb-form-label-font-size: 0.875rem;
|
|
52
52
|
--bb-form-label-required-color: hsla(2, 58%, 48%, 1);
|
|
@@ -59,6 +59,8 @@
|
|
|
59
59
|
--bb-control-error-border-color: hsl(0, 80%, 30%);
|
|
60
60
|
--bb-control-error-background-color: hsl(0, 80%, 90%);
|
|
61
61
|
--bb-control-error-box-shadow: 0 0.375rem 0.375rem -0.375rem hsla(0, 0%, 0%, 0.1), 0 0 0 0.1875rem hsl(0, 80%, 90%);
|
|
62
|
+
--bb-control-disabled-color: hsla(0, 0%, 50%, 1);
|
|
63
|
+
--bb-control-disabled-background-color: hsla(0, 0%, 90%, 1);
|
|
62
64
|
|
|
63
65
|
// Checkbox.
|
|
64
66
|
--bb-checkbox-border-radius: 0.25rem;
|
|
@@ -112,11 +114,14 @@
|
|
|
112
114
|
|
|
113
115
|
// Collections table label.
|
|
114
116
|
--bb-collections-table-label-color: var(--bb-primary-color-550);
|
|
115
|
-
--bb-collections-table-loader-color:
|
|
117
|
+
--bb-collections-table-loader-color: var(--bb-primary-color-500);
|
|
116
118
|
|
|
117
119
|
// Spinner.
|
|
118
120
|
--bb-spinner-color: var(--bb-primary-color-500);
|
|
119
|
-
--bb-spinner-background-color:
|
|
121
|
+
--bb-spinner-background-color: hsl(210, 18%, 96%);
|
|
122
|
+
|
|
123
|
+
// Dialog.
|
|
124
|
+
--bb-dialog-border-radius: 0.5rem;
|
|
120
125
|
}
|
|
121
126
|
}
|
|
122
127
|
|
|
@@ -158,5 +163,8 @@
|
|
|
158
163
|
--bb-file-picker-border-radius: 0.1875rem;
|
|
159
164
|
--bb-file-picker-border-color: hsla(213, 8%, 74%, 1);
|
|
160
165
|
--bb-file-picker-background-color: hsla(300, 100%, 99%, 1);
|
|
166
|
+
|
|
167
|
+
// Legacy dialog styling.
|
|
168
|
+
--bb-dialog-border-radius: 0.25rem;
|
|
161
169
|
}
|
|
162
170
|
}
|
|
@@ -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
|
-
}
|