@flywheel-io/vision 0.3.0 → 0.4.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.
Files changed (40) hide show
  1. package/bundles/flywheel-io-vision.umd.js +419 -22
  2. package/bundles/flywheel-io-vision.umd.js.map +1 -1
  3. package/bundles/flywheel-io-vision.umd.min.js +1 -1
  4. package/bundles/flywheel-io-vision.umd.min.js.map +1 -1
  5. package/components/dialog/choice-dialog.component.d.ts +24 -0
  6. package/components/dialog/confirm-dialog.component.d.ts +12 -0
  7. package/components/dialog/dialog.module.d.ts +2 -0
  8. package/components/dialog/dialog.service.d.ts +19 -0
  9. package/components/dialog/error-dialog.component.d.ts +10 -0
  10. package/components/dialog/portal-dialog.component.d.ts +25 -0
  11. package/components/notification/notification-container/notification-container.component.d.ts +2 -2
  12. package/components/shared/pipes/pipes.module.d.ts +4 -0
  13. package/components/shared/pipes/translate.pipe.d.ts +15 -0
  14. package/components/shared/pipes/trusthtml.pipe.d.ts +7 -0
  15. package/components/shared/translation.service.d.ts +11 -0
  16. package/esm2015/components/dialog/choice-dialog.component.js +52 -0
  17. package/esm2015/components/dialog/confirm-dialog.component.js +40 -0
  18. package/esm2015/components/dialog/dialog.module.js +45 -0
  19. package/esm2015/components/dialog/dialog.service.js +69 -0
  20. package/esm2015/components/dialog/error-dialog.component.js +32 -0
  21. package/esm2015/components/dialog/portal-dialog.component.js +88 -0
  22. package/esm2015/components/notification/notification/notification.component.js +3 -3
  23. package/esm2015/components/notification/notification-container/notification-container.component.js +17 -16
  24. package/esm2015/components/popover/popover.component.js +1 -1
  25. package/esm2015/components/shared/pipes/pipes.module.js +24 -0
  26. package/esm2015/components/shared/pipes/translate.pipe.js +40 -0
  27. package/esm2015/components/shared/pipes/trusthtml.pipe.js +20 -0
  28. package/esm2015/components/shared/translation.service.js +22 -0
  29. package/esm2015/flywheel-io-vision.js +5 -2
  30. package/esm2015/public-api.js +8 -1
  31. package/fesm2015/flywheel-io-vision.js +420 -23
  32. package/fesm2015/flywheel-io-vision.js.map +1 -1
  33. package/flywheel-io-vision.d.ts +4 -1
  34. package/flywheel-io-vision.metadata.json +1 -1
  35. package/package.json +2 -2
  36. package/public-api.d.ts +7 -0
  37. package/scss/config/colors.scss +5 -2
  38. package/scss/material/overrides.scss +8 -20
  39. package/styles.css +104 -109
  40. package/styles.scss +0 -3
package/styles.css CHANGED
@@ -7,60 +7,6 @@
7
7
  /* stylelint-disable-next-line material/theme-mixin-api */
8
8
  /* stylelint-disable material/no-prefixes */
9
9
  /* stylelint-enable */
10
- /* http://meyerweb.com/eric/tools/css/reset/
11
- v2.0 | 20110126
12
- License: none (public domain)
13
- */
14
- html, body, div, span, applet, object, iframe,
15
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
16
- a, abbr, acronym, address, big, cite, code,
17
- del, dfn, em, img, ins, kbd, q, s, samp,
18
- small, strike, strong, sub, sup, tt, var,
19
- b, u, i, center,
20
- dl, dt, dd, ol, ul, li,
21
- fieldset, form, label, legend,
22
- table, caption, tbody, tfoot, thead, tr, th, td,
23
- article, aside, canvas, details, embed,
24
- figure, figcaption, footer, header, hgroup,
25
- menu, nav, output, ruby, section, summary,
26
- time, mark, audio, video {
27
- margin: 0;
28
- padding: 0;
29
- border: 0;
30
- font-size: 100%;
31
- font: inherit;
32
- vertical-align: baseline;
33
- }
34
-
35
- /* HTML5 display-role reset for older browsers */
36
- article, aside, details, figcaption, figure,
37
- footer, header, hgroup, menu, nav, section {
38
- display: block;
39
- }
40
-
41
- body {
42
- line-height: 1;
43
- }
44
-
45
- ol, ul {
46
- list-style: none;
47
- }
48
-
49
- blockquote, q {
50
- quotes: none;
51
- }
52
-
53
- blockquote:before, blockquote:after,
54
- q:before, q:after {
55
- content: "";
56
- content: none;
57
- }
58
-
59
- table {
60
- border-collapse: collapse;
61
- border-spacing: 0;
62
- }
63
-
64
10
  .mat-badge-content {
65
11
  font-weight: 600;
66
12
  font-size: 12px;
@@ -719,12 +665,8 @@ input.mat-input-element {
719
665
  overflow-y: scroll;
720
666
  }
721
667
 
722
- @keyframes cdk-text-field-autofill-start {
723
- /*!*/
724
- }
725
- @keyframes cdk-text-field-autofill-end {
726
- /*!*/
727
- }
668
+ @keyframes cdk-text-field-autofill-start { /*!*/ }
669
+ @keyframes cdk-text-field-autofill-end { /*!*/ }
728
670
  .cdk-text-field-autofill-monitored:-webkit-autofill {
729
671
  animation: cdk-text-field-autofill-start 0s 1ms;
730
672
  }
@@ -2558,7 +2500,6 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
2558
2500
  .mat-toolbar-multiple-rows {
2559
2501
  min-height: 56px;
2560
2502
  }
2561
-
2562
2503
  .mat-toolbar-row, .mat-toolbar-single-row {
2563
2504
  height: 56px;
2564
2505
  }
@@ -2979,35 +2920,67 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
2979
2920
  }
2980
2921
 
2981
2922
  .red {
2982
- color: #d22239 !important;
2923
+ color: #de584c !important;
2983
2924
  }
2984
2925
 
2985
2926
  .fill-red {
2986
- background-color: #d22239 !important;
2927
+ background-color: #de584c !important;
2987
2928
  }
2988
2929
 
2989
2930
  .border-red {
2990
- border-color: #d22239 !important;
2931
+ border-color: #de584c !important;
2991
2932
  }
2992
2933
 
2993
2934
  .border-top-red {
2994
2935
  border-top: 1px solid;
2995
- border-color: #d22239 !important;
2936
+ border-color: #de584c !important;
2996
2937
  }
2997
2938
 
2998
2939
  .border-right-red {
2999
2940
  border-right: 1px solid;
3000
- border-color: #d22239 !important;
2941
+ border-color: #de584c !important;
3001
2942
  }
3002
2943
 
3003
2944
  .border-bottom-red {
3004
2945
  border-bottom: 1px solid;
3005
- border-color: #d22239 !important;
2946
+ border-color: #de584c !important;
3006
2947
  }
3007
2948
 
3008
2949
  .border-left-red {
3009
2950
  border-left: 1px solid;
3010
- border-color: #d22239 !important;
2951
+ border-color: #de584c !important;
2952
+ }
2953
+
2954
+ .light-red {
2955
+ color: #f8e5e4 !important;
2956
+ }
2957
+
2958
+ .fill-light-red {
2959
+ background-color: #f8e5e4 !important;
2960
+ }
2961
+
2962
+ .border-light-red {
2963
+ border-color: #f8e5e4 !important;
2964
+ }
2965
+
2966
+ .border-top-light-red {
2967
+ border-top: 1px solid;
2968
+ border-color: #f8e5e4 !important;
2969
+ }
2970
+
2971
+ .border-right-light-red {
2972
+ border-right: 1px solid;
2973
+ border-color: #f8e5e4 !important;
2974
+ }
2975
+
2976
+ .border-bottom-light-red {
2977
+ border-bottom: 1px solid;
2978
+ border-color: #f8e5e4 !important;
2979
+ }
2980
+
2981
+ .border-left-light-red {
2982
+ border-left: 1px solid;
2983
+ border-color: #f8e5e4 !important;
3011
2984
  }
3012
2985
 
3013
2986
  .blue {
@@ -3107,35 +3080,35 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
3107
3080
  }
3108
3081
 
3109
3082
  .light-blue {
3110
- color: #e7f0fc !important;
3083
+ color: #e7effe !important;
3111
3084
  }
3112
3085
 
3113
3086
  .fill-light-blue {
3114
- background-color: #e7f0fc !important;
3087
+ background-color: #e7effe !important;
3115
3088
  }
3116
3089
 
3117
3090
  .border-light-blue {
3118
- border-color: #e7f0fc !important;
3091
+ border-color: #e7effe !important;
3119
3092
  }
3120
3093
 
3121
3094
  .border-top-light-blue {
3122
3095
  border-top: 1px solid;
3123
- border-color: #e7f0fc !important;
3096
+ border-color: #e7effe !important;
3124
3097
  }
3125
3098
 
3126
3099
  .border-right-light-blue {
3127
3100
  border-right: 1px solid;
3128
- border-color: #e7f0fc !important;
3101
+ border-color: #e7effe !important;
3129
3102
  }
3130
3103
 
3131
3104
  .border-bottom-light-blue {
3132
3105
  border-bottom: 1px solid;
3133
- border-color: #e7f0fc !important;
3106
+ border-color: #e7effe !important;
3134
3107
  }
3135
3108
 
3136
3109
  .border-left-light-blue {
3137
3110
  border-left: 1px solid;
3138
- border-color: #e7f0fc !important;
3111
+ border-color: #e7effe !important;
3139
3112
  }
3140
3113
 
3141
3114
  .bright-blue {
@@ -3791,35 +3764,67 @@ html, body {
3791
3764
  }
3792
3765
 
3793
3766
  .red {
3794
- color: #d22239 !important;
3767
+ color: #de584c !important;
3795
3768
  }
3796
3769
 
3797
3770
  .fill-red {
3798
- background-color: #d22239 !important;
3771
+ background-color: #de584c !important;
3799
3772
  }
3800
3773
 
3801
3774
  .border-red {
3802
- border-color: #d22239 !important;
3775
+ border-color: #de584c !important;
3803
3776
  }
3804
3777
 
3805
3778
  .border-top-red {
3806
3779
  border-top: 1px solid;
3807
- border-color: #d22239 !important;
3780
+ border-color: #de584c !important;
3808
3781
  }
3809
3782
 
3810
3783
  .border-right-red {
3811
3784
  border-right: 1px solid;
3812
- border-color: #d22239 !important;
3785
+ border-color: #de584c !important;
3813
3786
  }
3814
3787
 
3815
3788
  .border-bottom-red {
3816
3789
  border-bottom: 1px solid;
3817
- border-color: #d22239 !important;
3790
+ border-color: #de584c !important;
3818
3791
  }
3819
3792
 
3820
3793
  .border-left-red {
3821
3794
  border-left: 1px solid;
3822
- border-color: #d22239 !important;
3795
+ border-color: #de584c !important;
3796
+ }
3797
+
3798
+ .light-red {
3799
+ color: #f8e5e4 !important;
3800
+ }
3801
+
3802
+ .fill-light-red {
3803
+ background-color: #f8e5e4 !important;
3804
+ }
3805
+
3806
+ .border-light-red {
3807
+ border-color: #f8e5e4 !important;
3808
+ }
3809
+
3810
+ .border-top-light-red {
3811
+ border-top: 1px solid;
3812
+ border-color: #f8e5e4 !important;
3813
+ }
3814
+
3815
+ .border-right-light-red {
3816
+ border-right: 1px solid;
3817
+ border-color: #f8e5e4 !important;
3818
+ }
3819
+
3820
+ .border-bottom-light-red {
3821
+ border-bottom: 1px solid;
3822
+ border-color: #f8e5e4 !important;
3823
+ }
3824
+
3825
+ .border-left-light-red {
3826
+ border-left: 1px solid;
3827
+ border-color: #f8e5e4 !important;
3823
3828
  }
3824
3829
 
3825
3830
  .blue {
@@ -3919,35 +3924,35 @@ html, body {
3919
3924
  }
3920
3925
 
3921
3926
  .light-blue {
3922
- color: #e7f0fc !important;
3927
+ color: #e7effe !important;
3923
3928
  }
3924
3929
 
3925
3930
  .fill-light-blue {
3926
- background-color: #e7f0fc !important;
3931
+ background-color: #e7effe !important;
3927
3932
  }
3928
3933
 
3929
3934
  .border-light-blue {
3930
- border-color: #e7f0fc !important;
3935
+ border-color: #e7effe !important;
3931
3936
  }
3932
3937
 
3933
3938
  .border-top-light-blue {
3934
3939
  border-top: 1px solid;
3935
- border-color: #e7f0fc !important;
3940
+ border-color: #e7effe !important;
3936
3941
  }
3937
3942
 
3938
3943
  .border-right-light-blue {
3939
3944
  border-right: 1px solid;
3940
- border-color: #e7f0fc !important;
3945
+ border-color: #e7effe !important;
3941
3946
  }
3942
3947
 
3943
3948
  .border-bottom-light-blue {
3944
3949
  border-bottom: 1px solid;
3945
- border-color: #e7f0fc !important;
3950
+ border-color: #e7effe !important;
3946
3951
  }
3947
3952
 
3948
3953
  .border-left-light-blue {
3949
3954
  border-left: 1px solid;
3950
- border-color: #e7f0fc !important;
3955
+ border-color: #e7effe !important;
3951
3956
  }
3952
3957
 
3953
3958
  .bright-blue {
@@ -4474,12 +4479,12 @@ html, body {
4474
4479
  top: -4px;
4475
4480
  }
4476
4481
 
4477
- [mat-dialog-content].fill {
4482
+ mat-dialog-content.fill, [mat-dialog-content].fill {
4478
4483
  width: calc(100% + 48px) !important;
4479
4484
  padding: 0 !important;
4480
4485
  margin: 0 -24px -24px !important;
4481
4486
  }
4482
- [mat-dialog-content].fill-width {
4487
+ mat-dialog-content.fill-width, [mat-dialog-content].fill-width {
4483
4488
  width: calc(100% + 48px) !important;
4484
4489
  padding: 0 !important;
4485
4490
  margin: 0 -24px !important;
@@ -4494,6 +4499,13 @@ html, body {
4494
4499
  max-width: 98vw;
4495
4500
  }
4496
4501
 
4502
+ /* Buttons */
4503
+ .mat-button-wrapper {
4504
+ display: flex;
4505
+ align-items: center;
4506
+ justify-content: center;
4507
+ }
4508
+
4497
4509
  /* Form Controls */
4498
4510
  .form-block-fields .mat-form-field {
4499
4511
  display: block !important;
@@ -4508,23 +4520,6 @@ html, body {
4508
4520
  width: 100%;
4509
4521
  }
4510
4522
 
4511
- mat-form-field.mat-prefix-button .mat-form-field-prefix {
4512
- height: 20px;
4513
- width: 20px;
4514
- line-height: 0.25;
4515
- top: 2px;
4516
- }
4517
- mat-form-field.mat-prefix-button mat-datepicker-toggle > button.mat-icon-button {
4518
- margin-left: -7px;
4519
- padding-top: 5px;
4520
- }
4521
- mat-form-field.mat-prefix-button input {
4522
- color: #58595b;
4523
- }
4524
- mat-form-field.mat-prefix-button label.mat-form-field-empty {
4525
- top: 2em;
4526
- }
4527
-
4528
4523
  .mat-form-field.solid-background > .mat-form-field-wrapper,
4529
4524
  .solid-background > .mat-form-field > .mat-form-field-wrapper {
4530
4525
  background-color: white;
@@ -4667,7 +4662,7 @@ mat-header-cell.full-width > .mat-sort-header-container > .mat-sort-header-conte
4667
4662
 
4668
4663
  /* Alerts */
4669
4664
  mat-error {
4670
- color: #d22239;
4665
+ color: #de584c;
4671
4666
  }
4672
4667
 
4673
4668
  mat-success {
package/styles.scss CHANGED
@@ -7,9 +7,6 @@
7
7
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700');
8
8
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600');
9
9
 
10
- // Reset
11
- @import './scss/vendor/reset';
12
-
13
10
  // Include the common styles for Angular Material. We include this here so that you only
14
11
  // have to load a single css file for Angular Material in your app.
15
12
  // Be sure that you only ever include this mixin once!