@villedemontreal/angular-ui 13.1.0 → 14.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.
Files changed (90) hide show
  1. package/esm2020/lib/alert/alert.component.mjs +19 -19
  2. package/esm2020/lib/alert/module.mjs +5 -5
  3. package/esm2020/lib/avatar/avatar.component.mjs +7 -7
  4. package/esm2020/lib/avatar/module.mjs +5 -5
  5. package/esm2020/lib/badge/badge.component.mjs +4 -4
  6. package/esm2020/lib/badge/module.mjs +5 -5
  7. package/esm2020/lib/bao.module.mjs +14 -13
  8. package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +4 -4
  9. package/esm2020/lib/breadcrumb/module.mjs +5 -5
  10. package/esm2020/lib/button/button.component.mjs +6 -6
  11. package/esm2020/lib/button/module.mjs +5 -5
  12. package/esm2020/lib/card/card.component.mjs +16 -16
  13. package/esm2020/lib/card/module.mjs +5 -5
  14. package/esm2020/lib/checkbox/checkbox-group.component.mjs +4 -4
  15. package/esm2020/lib/checkbox/checkbox.component.mjs +7 -7
  16. package/esm2020/lib/checkbox/module.mjs +5 -5
  17. package/esm2020/lib/common-components/error-text/errorText.component.mjs +4 -4
  18. package/esm2020/lib/common-components/guiding-text/guidingText.component.mjs +4 -4
  19. package/esm2020/lib/common-components/label-text/labelText.component.mjs +4 -4
  20. package/esm2020/lib/common-components/module.mjs +5 -5
  21. package/esm2020/lib/common-components/title-text/titleText.component.mjs +4 -4
  22. package/esm2020/lib/dropdown-menu/dropdown-menu.component.mjs +22 -22
  23. package/esm2020/lib/dropdown-menu/module.mjs +5 -5
  24. package/esm2020/lib/file/file-input.component.mjs +18 -18
  25. package/esm2020/lib/file/file-intl.mjs +7 -7
  26. package/esm2020/lib/file/file-preview.component.mjs +7 -7
  27. package/esm2020/lib/file/module.mjs +9 -11
  28. package/esm2020/lib/header-info/header-info.component.mjs +19 -19
  29. package/esm2020/lib/header-info/module.mjs +5 -5
  30. package/esm2020/lib/hyperlink/hyperlink.component.mjs +4 -4
  31. package/esm2020/lib/hyperlink/module.mjs +5 -5
  32. package/esm2020/lib/icon/bao-icon-registry.mjs +4 -4
  33. package/esm2020/lib/icon/icon.component.mjs +4 -4
  34. package/esm2020/lib/icon/module.mjs +5 -5
  35. package/esm2020/lib/list/list.component.mjs +16 -16
  36. package/esm2020/lib/list/module.mjs +5 -5
  37. package/esm2020/lib/modal/modal-container.mjs +23 -37
  38. package/esm2020/lib/modal/modal-directives.mjs +4 -4
  39. package/esm2020/lib/modal/modal-ref.mjs +4 -1
  40. package/esm2020/lib/modal/modal.mjs +15 -36
  41. package/esm2020/lib/modal/module.mjs +6 -23
  42. package/esm2020/lib/radio/module.mjs +10 -12
  43. package/esm2020/lib/radio/radio-group.component.mjs +5 -5
  44. package/esm2020/lib/radio/radio.component.mjs +7 -7
  45. package/esm2020/lib/summary/list-summary.component.mjs +9 -16
  46. package/esm2020/lib/summary/module.mjs +5 -5
  47. package/esm2020/lib/summary/summary.component.mjs +7 -7
  48. package/esm2020/lib/tabs/module.mjs +5 -5
  49. package/esm2020/lib/tabs/tabs.component.mjs +13 -13
  50. package/esm2020/lib/tag/module.mjs +5 -5
  51. package/esm2020/lib/tag/tag.component.mjs +4 -4
  52. package/fesm2015/villedemontreal-angular-ui.mjs +331 -419
  53. package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
  54. package/fesm2020/villedemontreal-angular-ui.mjs +331 -417
  55. package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
  56. package/{villedemontreal-angular-ui.d.ts → index.d.ts} +0 -0
  57. package/lib/alert/alert.component.d.ts +5 -5
  58. package/lib/avatar/avatar.component.d.ts +2 -2
  59. package/lib/badge/badge.component.d.ts +1 -1
  60. package/lib/bao.module.d.ts +11 -11
  61. package/lib/breadcrumb/breadcrumb.component.d.ts +1 -1
  62. package/lib/button/button.component.d.ts +1 -1
  63. package/lib/card/card.component.d.ts +5 -5
  64. package/lib/checkbox/checkbox-group.component.d.ts +1 -1
  65. package/lib/checkbox/checkbox.component.d.ts +2 -2
  66. package/lib/common-components/error-text/errorText.component.d.ts +1 -1
  67. package/lib/common-components/guiding-text/guidingText.component.d.ts +1 -1
  68. package/lib/common-components/label-text/labelText.component.d.ts +1 -1
  69. package/lib/common-components/title-text/titleText.component.d.ts +1 -1
  70. package/lib/dropdown-menu/dropdown-menu.component.d.ts +7 -7
  71. package/lib/file/file-input.component.d.ts +3 -3
  72. package/lib/file/file-preview.component.d.ts +1 -1
  73. package/lib/header-info/header-info.component.d.ts +6 -6
  74. package/lib/hyperlink/hyperlink.component.d.ts +1 -1
  75. package/lib/icon/icon.component.d.ts +1 -1
  76. package/lib/list/list.component.d.ts +5 -5
  77. package/lib/modal/modal-container.d.ts +6 -7
  78. package/lib/modal/modal-directives.d.ts +1 -1
  79. package/lib/modal/modal-ref.d.ts +1 -0
  80. package/lib/modal/modal.d.ts +4 -5
  81. package/lib/modal/module.d.ts +1 -2
  82. package/lib/radio/radio-group.component.d.ts +1 -1
  83. package/lib/radio/radio.component.d.ts +2 -2
  84. package/lib/summary/list-summary.component.d.ts +2 -2
  85. package/lib/summary/summary.component.d.ts +2 -2
  86. package/lib/tabs/tabs.component.d.ts +4 -4
  87. package/lib/tag/tag.component.d.ts +1 -1
  88. package/package.json +7 -7
  89. package/esm2020/lib/modal/modal-animations.mjs +0 -29
  90. package/lib/modal/modal-animations.d.ts +0 -8
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@villedemontreal/angular-ui",
3
- "version": "13.1.0",
3
+ "version": "14.1.0",
4
4
  "peerDependencies": {
5
- "@angular/cdk": ">=12.0.0 <14.0.0",
6
- "@angular/common": ">=12.0.0 <14.0.0",
7
- "@angular/core": ">=12.0.0 <14.0.0",
8
- "@angular/forms": ">=12.0.0 <14.0.0"
5
+ "@angular/cdk": ">=8.0.0 <15.0.0",
6
+ "@angular/common": ">=8.0.0 <15.0.0",
7
+ "@angular/core": ">=8.0.0 <15.0.0",
8
+ "@angular/forms": ">=8.0.0 <15.0.0"
9
9
  },
10
10
  "module": "fesm2015/villedemontreal-angular-ui.mjs",
11
11
  "es2020": "fesm2020/villedemontreal-angular-ui.mjs",
12
12
  "esm2020": "esm2020/villedemontreal-angular-ui.mjs",
13
13
  "fesm2020": "fesm2020/villedemontreal-angular-ui.mjs",
14
14
  "fesm2015": "fesm2015/villedemontreal-angular-ui.mjs",
15
- "typings": "villedemontreal-angular-ui.d.ts",
15
+ "typings": "index.d.ts",
16
16
  "exports": {
17
17
  "./package.json": {
18
18
  "default": "./package.json"
19
19
  },
20
20
  ".": {
21
- "types": "./villedemontreal-angular-ui.d.ts",
21
+ "types": "./index.d.ts",
22
22
  "esm2020": "./esm2020/villedemontreal-angular-ui.mjs",
23
23
  "es2020": "./fesm2020/villedemontreal-angular-ui.mjs",
24
24
  "es2015": "./fesm2015/villedemontreal-angular-ui.mjs",
@@ -1,29 +0,0 @@
1
- /*
2
- * Copyright (c) 2023 Ville de Montreal. All rights reserved.
3
- * Licensed under the MIT license.
4
- * See LICENSE file in the project root for full license information.
5
- */
6
- import { animate, state, style, transition, trigger, query, animateChild, group } from '@angular/animations';
7
- /**
8
- * Animations used by MatDialog.
9
- * @docs-private
10
- */
11
- export const baoModalAnimations = {
12
- /** Animation that is applied on the modal container by default. */
13
- modalContainer: trigger('modalContainer', [
14
- // Note: The `enter` animation transitions to `transform: none`, because for some reason
15
- // specifying the transform explicitly, causes IE both to blur the modal content and
16
- // decimate the animation performance. Leaving it as `none` solves both issues.
17
- state('void, exit', style({ opacity: 0, transform: 'scale(0.7)' })),
18
- state('enter', style({ transform: 'none' })),
19
- transition('* => enter', group([
20
- animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'none', opacity: 1 })),
21
- query('@*', animateChild(), { optional: true })
22
- ])),
23
- transition('* => void, * => exit', group([
24
- animate('75ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ opacity: 0 })),
25
- query('@*', animateChild(), { optional: true })
26
- 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4aXQnLFxuICAgICAgZ3JvdXAoW1xuICAgICAgICBhbmltYXRlKCc3NW1zIGN1YmljLWJlemllcigwLjQsIDAuMCwgMC4yLCAxKScsIHN0eWxlKHsgb3BhY2l0eTogMCB9KSksXG4gICAgICAgIHF1ZXJ5KCdAKicsIGFuaW1hdGVDaGlsZCgpLCB7IG9wdGlvbmFsOiB0cnVlIH0pXG4gICAgICBdKVxuICAgIClcbiAgXSlcbn07XG4iXX0=
@@ -1,8 +0,0 @@
1
- import { AnimationTriggerMetadata } from '@angular/animations';
2
- /**
3
- * Animations used by MatDialog.
4
- * @docs-private
5
- */
6
- export declare const baoModalAnimations: {
7
- readonly modalContainer: AnimationTriggerMetadata;
8
- };