@ongov/ontario-design-system-component-library-angular 4.3.0 → 4.3.1-alpha.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/dist/component-library/esm2020/lib/stencil-generated/components.mjs +1 -1
- package/dist/component-library/fesm2015/angular-component-library.mjs.map +1 -1
- package/dist/component-library/fesm2020/angular-component-library.mjs.map +1 -1
- package/dist/component-library/lib/stencil-generated/components.d.ts +8 -3
- package/package.json +4 -4
- package/projects/component-library/src/lib/stencil-generated/components.ts +10 -5
|
@@ -7,6 +7,7 @@ import type { InputFocusBlurEvent as IOntarioDropdownListInputFocusBlurEvent } f
|
|
|
7
7
|
import type { InputInputEvent as IOntarioInputInputInputEvent } from '@ongov/ontario-design-system-component-library';
|
|
8
8
|
import type { InputInteractionEvent as IOntarioInputInputInteractionEvent } from '@ongov/ontario-design-system-component-library';
|
|
9
9
|
import type { InputFocusBlurEvent as IOntarioInputInputFocusBlurEvent } from '@ongov/ontario-design-system-component-library';
|
|
10
|
+
import type { Language as IOntarioLanguageToggleLanguage } from '@ongov/ontario-design-system-component-library';
|
|
10
11
|
import type { HeaderLanguageToggleEventDetails as IOntarioLanguageToggleHeaderLanguageToggleEventDetails } from '@ongov/ontario-design-system-component-library';
|
|
11
12
|
import type { RadioAndCheckboxChangeEvent as IOntarioRadioButtonsRadioAndCheckboxChangeEvent } from '@ongov/ontario-design-system-component-library';
|
|
12
13
|
import type { InputFocusBlurEvent as IOntarioRadioButtonsInputFocusBlurEvent } from '@ongov/ontario-design-system-component-library';
|
|
@@ -1294,11 +1295,15 @@ export declare class OntarioLanguageToggle {
|
|
|
1294
1295
|
}
|
|
1295
1296
|
export declare interface OntarioLanguageToggle extends Components.OntarioLanguageToggle {
|
|
1296
1297
|
/**
|
|
1297
|
-
*
|
|
1298
|
+
* Event that fires during the setAppLanguageHandler() method.
|
|
1299
|
+
|
|
1300
|
+
The event contains the current language (after language logic has already occurred).
|
|
1298
1301
|
*/
|
|
1299
|
-
setAppLanguage: EventEmitter<CustomEvent<
|
|
1302
|
+
setAppLanguage: EventEmitter<CustomEvent<IOntarioLanguageToggleLanguage>>;
|
|
1300
1303
|
/**
|
|
1301
|
-
*
|
|
1304
|
+
* Event that fires when the language toggle is pressed/clicked.
|
|
1305
|
+
|
|
1306
|
+
The event contains the oldLanguage along with the newLanguage.
|
|
1302
1307
|
*/
|
|
1303
1308
|
headerLanguageToggled: EventEmitter<CustomEvent<IOntarioLanguageToggleHeaderLanguageToggleEventDetails>>;
|
|
1304
1309
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ongov/ontario-design-system-component-library-angular",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1-alpha.1",
|
|
4
4
|
"description": "Angular specific wrapper for ontario-design-system-component-library",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@angular/platform-browser": "^15.2.9",
|
|
43
43
|
"@angular/platform-browser-dynamic": "^15.2.9",
|
|
44
44
|
"@angular/router": "^15.2.9",
|
|
45
|
-
"@ongov/ontario-design-system-component-library": "4.3.
|
|
46
|
-
"@ongov/ontario-design-system-global-styles": "4.3.
|
|
45
|
+
"@ongov/ontario-design-system-component-library": "4.3.1-alpha.1",
|
|
46
|
+
"@ongov/ontario-design-system-global-styles": "4.3.1-alpha.1",
|
|
47
47
|
"copyfiles": "^2.4.1",
|
|
48
48
|
"rxjs": "~7.8.0",
|
|
49
49
|
"tslib": "^2.3.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"ng-packagr": "^15.2.2",
|
|
62
62
|
"typescript": "~4.9.4"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "ab7fc8a847e4155ec0ad01347484aaed6dc2d981"
|
|
65
65
|
}
|
|
@@ -2910,16 +2910,21 @@ export class OntarioLanguageToggle {
|
|
|
2910
2910
|
}
|
|
2911
2911
|
}
|
|
2912
2912
|
|
|
2913
|
+
import type { Language as IOntarioLanguageToggleLanguage } from '@ongov/ontario-design-system-component-library';
|
|
2913
2914
|
import type { HeaderLanguageToggleEventDetails as IOntarioLanguageToggleHeaderLanguageToggleEventDetails } from '@ongov/ontario-design-system-component-library';
|
|
2914
2915
|
|
|
2915
2916
|
export declare interface OntarioLanguageToggle extends Components.OntarioLanguageToggle {
|
|
2916
2917
|
/**
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2918
|
+
* Event that fires during the setAppLanguageHandler() method.
|
|
2919
|
+
|
|
2920
|
+
The event contains the current language (after language logic has already occurred).
|
|
2921
|
+
*/
|
|
2922
|
+
setAppLanguage: EventEmitter<CustomEvent<IOntarioLanguageToggleLanguage>>;
|
|
2920
2923
|
/**
|
|
2921
|
-
|
|
2922
|
-
|
|
2924
|
+
* Event that fires when the language toggle is pressed/clicked.
|
|
2925
|
+
|
|
2926
|
+
The event contains the oldLanguage along with the newLanguage.
|
|
2927
|
+
*/
|
|
2923
2928
|
headerLanguageToggled: EventEmitter<CustomEvent<IOntarioLanguageToggleHeaderLanguageToggleEventDetails>>;
|
|
2924
2929
|
}
|
|
2925
2930
|
|