@flywheel-io/vision 0.16.0 → 1.0.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 (125) hide show
  1. package/README.md +41 -45
  2. package/components/alert/alert.component.d.ts +1 -1
  3. package/components/app-icon/app-icon.component.d.ts +4 -3
  4. package/components/badge/badge.component.d.ts +9 -0
  5. package/components/badge/badge.module.d.ts +8 -0
  6. package/components/breadcrumbs/breadcrumbs.component.d.ts +9 -0
  7. package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  8. package/components/breadcrumbs/crumb.component.d.ts +12 -0
  9. package/components/button/button.component.d.ts +2 -2
  10. package/components/card/card-attribute/card-attribute.component.d.ts +2 -2
  11. package/components/card/card-header/card-header.component.d.ts +2 -2
  12. package/components/chip/chip.component.d.ts +3 -3
  13. package/components/dialog/dialog.service.d.ts +17 -0
  14. package/components/dialog/dialogs.module.d.ts +4 -4
  15. package/components/layouts/grid/grid.component.d.ts +19 -0
  16. package/components/layouts/layouts.module.d.ts +4 -3
  17. package/components/legacy/dialog/choice-dialog.component.d.ts +3 -3
  18. package/components/legacy/dialog/confirm-dialog.component.d.ts +3 -3
  19. package/components/legacy/dialog/dialog.module.d.ts +4 -4
  20. package/components/legacy/dialog/dialog.service.d.ts +3 -3
  21. package/components/legacy/dialog/error-dialog.component.d.ts +4 -4
  22. package/components/legacy/dialog/portal-dialog.component.d.ts +3 -3
  23. package/components/menu/menu-container/menu-container.component.d.ts +2 -1
  24. package/components/menu/menu-item/menu-item.component.d.ts +4 -3
  25. package/components/popover/popover-panel/popover-panel.component.d.ts +10 -0
  26. package/components/popover/popover.component.d.ts +19 -0
  27. package/components/popover/popover.module.d.ts +11 -0
  28. package/components/section-heading/back-button/back-button.component.d.ts +1 -0
  29. package/components/section-heading/section-heading.component.d.ts +3 -2
  30. package/components/section-heading/section-heading.module.d.ts +7 -6
  31. package/components/section-heading/subsection-heading/subsection-heading.component.d.ts +8 -0
  32. package/components/select-menu/multi-select-menu/multi-select-menu.component.d.ts +2 -2
  33. package/components/select-menu/select-menu.component.d.ts +3 -3
  34. package/components/stepper/step.component.d.ts +2 -2
  35. package/components/tabs/tab/tab.component.d.ts +20 -0
  36. package/components/tabs/tab-panel/tab-panel.component.d.ts +6 -0
  37. package/components/tabs/tabs.component.d.ts +16 -0
  38. package/components/tabs/tabs.module.d.ts +11 -0
  39. package/components/tooltip/tooltip-panel/tooltip-panel.component.d.ts +12 -0
  40. package/components/tooltip/tooltip.component.d.ts +15 -0
  41. package/components/tooltip/tooltip.module.d.ts +11 -0
  42. package/esm2020/components/alert/alert.component.mjs +3 -3
  43. package/esm2020/components/app-icon/app-icon.component.mjs +6 -4
  44. package/esm2020/components/avatar/avatar.component.mjs +2 -2
  45. package/esm2020/components/badge/badge.component.mjs +28 -0
  46. package/esm2020/components/badge/badge.module.mjs +24 -0
  47. package/esm2020/components/breadcrumbs/breadcrumbs.component.mjs +22 -0
  48. package/esm2020/components/breadcrumbs/breadcrumbs.module.mjs +33 -0
  49. package/esm2020/components/breadcrumbs/crumb.component.mjs +34 -0
  50. package/esm2020/components/button/button.component.mjs +5 -6
  51. package/esm2020/components/card/card-attribute/card-attribute.component.mjs +4 -4
  52. package/esm2020/components/card/card-content/card-content.component.mjs +2 -2
  53. package/esm2020/components/card/card-header/card-header.component.mjs +4 -4
  54. package/esm2020/components/card/card.component.mjs +2 -2
  55. package/esm2020/components/chip/chip.component.mjs +5 -5
  56. package/esm2020/components/dialog/dialog-confirm.component.mjs +3 -3
  57. package/esm2020/components/dialog/dialog-simple.component.mjs +3 -3
  58. package/esm2020/components/dialog/dialog.component.mjs +2 -2
  59. package/esm2020/components/dialog/dialog.service.mjs +49 -0
  60. package/esm2020/components/dialog/dialogs.module.mjs +29 -23
  61. package/esm2020/components/icon-button/icon-button.component.mjs +2 -2
  62. package/esm2020/components/layouts/grid/grid.component.mjs +60 -0
  63. package/esm2020/components/layouts/layouts.module.mjs +12 -3
  64. package/esm2020/components/legacy/dialog/choice-dialog.component.mjs +6 -6
  65. package/esm2020/components/legacy/dialog/confirm-dialog.component.mjs +5 -5
  66. package/esm2020/components/legacy/dialog/dialog.module.mjs +28 -28
  67. package/esm2020/components/legacy/dialog/dialog.service.mjs +5 -5
  68. package/esm2020/components/legacy/dialog/error-dialog.component.mjs +5 -5
  69. package/esm2020/components/legacy/dialog/portal-dialog.component.mjs +5 -5
  70. package/esm2020/components/legacy/notification/notification-container/notification-container.component.mjs +1 -1
  71. package/esm2020/components/menu/menu-container/menu-container.component.mjs +8 -4
  72. package/esm2020/components/menu/menu-item/menu-item.component.mjs +14 -6
  73. package/esm2020/components/menu/menu.component.mjs +3 -3
  74. package/esm2020/components/popover/popover-panel/popover-panel.component.mjs +30 -0
  75. package/esm2020/components/popover/popover.component.mjs +76 -0
  76. package/esm2020/components/popover/popover.module.mjs +42 -0
  77. package/esm2020/components/section-heading/back-button/back-button.component.mjs +9 -5
  78. package/esm2020/components/section-heading/section-heading.component.mjs +9 -5
  79. package/esm2020/components/section-heading/section-heading.module.mjs +10 -5
  80. package/esm2020/components/section-heading/subsection-heading/subsection-heading.component.mjs +19 -0
  81. package/esm2020/components/select-menu/multi-select-menu/multi-select-menu.component.mjs +8 -8
  82. package/esm2020/components/select-menu/select-menu.component.mjs +9 -9
  83. package/esm2020/components/snackbar/snackbar/snackbar.component.mjs +2 -2
  84. package/esm2020/components/snackbar/snackbar-container/snackbar-container.component.mjs +1 -1
  85. package/esm2020/components/stepper/step.component.mjs +4 -4
  86. package/esm2020/components/tabs/tab/tab.component.mjs +79 -0
  87. package/esm2020/components/tabs/tab-panel/tab-panel.component.mjs +19 -0
  88. package/esm2020/components/tabs/tabs.component.mjs +65 -0
  89. package/esm2020/components/tabs/tabs.module.mjs +38 -0
  90. package/esm2020/components/tooltip/tooltip-panel/tooltip-panel.component.mjs +37 -0
  91. package/esm2020/components/tooltip/tooltip.component.mjs +39 -0
  92. package/esm2020/components/tooltip/tooltip.module.mjs +42 -0
  93. package/esm2020/public-api.mjs +20 -5
  94. package/fesm2015/flywheel-io-vision.mjs +903 -463
  95. package/fesm2015/flywheel-io-vision.mjs.map +1 -1
  96. package/fesm2020/flywheel-io-vision.mjs +901 -461
  97. package/fesm2020/flywheel-io-vision.mjs.map +1 -1
  98. package/global.scss +5 -29
  99. package/package.json +2 -2
  100. package/public-api.d.ts +19 -4
  101. package/public-api.scss +4 -1
  102. package/scss/config/colors.scss +136 -161
  103. package/scss/config/shadows.scss +23 -0
  104. package/scss/icons/_icon-font-face.scss +10 -8
  105. package/scss/icons/icons.scss +9 -2
  106. package/scss/material/theme.scss +239 -0
  107. package/styles.css +6554 -4649
  108. package/components/legacy/popover/popover-trigger.component.d.ts +0 -19
  109. package/components/legacy/popover/popover-trigger.directive.d.ts +0 -33
  110. package/components/legacy/popover/popover.component.d.ts +0 -8
  111. package/components/legacy/popover/popover.module.d.ts +0 -10
  112. package/esm2020/components/legacy/popover/popover-trigger.component.mjs +0 -66
  113. package/esm2020/components/legacy/popover/popover-trigger.directive.mjs +0 -139
  114. package/esm2020/components/legacy/popover/popover.component.mjs +0 -35
  115. package/esm2020/components/legacy/popover/popover.module.mjs +0 -40
  116. package/scss/atoms/cards.scss +0 -12
  117. package/scss/atoms/grid.scss +0 -55
  118. package/scss/atoms/typography.scss +0 -21
  119. package/scss/config/config.scss +0 -23
  120. package/scss/config/general.scss +0 -45
  121. package/scss/config/theme.scss +0 -160
  122. package/scss/config/vision-colors.scss +0 -131
  123. package/scss/global/variables.scss +0 -79
  124. package/scss/material/overrides.scss +0 -371
  125. package/scss/vendor/reset.scss +0 -53
@@ -1,371 +0,0 @@
1
- @use '../config/colors';
2
-
3
- /* Dialogs */
4
-
5
- /**
6
- * Add this to Component decorator options:
7
- * host: {
8
- * class: 'mat-dialog-component'
9
- * }
10
- */
11
- .mat-dialog-component {
12
- display: block;
13
- position: relative;
14
- }
15
-
16
- /**
17
- * Add these modifiers to the MatDialog.open invocation:
18
- * open(DialogComponent, {
19
- * panelClass: 'border-radius-0 padding-0'
20
- * })
21
- */
22
- .cdk-overlay-pane {
23
- &.padding-0 mat-dialog-container {
24
- padding: 0;
25
- }
26
-
27
- &.border-radius-0 mat-dialog-container {
28
- border-radius: 0;
29
- }
30
- }
31
-
32
- .mat-dialog-title {
33
- font-weight: 500 !important;
34
- }
35
-
36
- .mat-dialog-close-button {
37
- color: colors.$medium-grey;
38
- position: absolute !important;
39
- right: -4px;
40
- top: -4px;
41
-
42
- &.no-title {
43
- right: -10px;
44
- top: -10px;
45
- }
46
- }
47
-
48
- [mat-dialog-close][mat-icon-button] {
49
- @extend .mat-dialog-close-button;
50
- }
51
-
52
- mat-dialog-content, [mat-dialog-content] {
53
- @mixin fill-styles {
54
- width: calc(100% + 48px) !important;
55
- padding: 0 !important;
56
- }
57
-
58
- &.fill {
59
- @include fill-styles;
60
-
61
- margin: 0 -24px -24px !important;
62
- }
63
-
64
- &.fill-width {
65
- @include fill-styles;
66
-
67
- margin: 0 -24px !important;
68
- }
69
- }
70
-
71
- /* CDK Layers */
72
- .cdk-overlay-container {
73
- z-index: 1100;
74
- }
75
-
76
- .cdk-overlay-pane {
77
- max-width: 98vw;
78
- }
79
-
80
- /* Buttons */
81
- .mat-button-wrapper {
82
- display: flex;
83
- align-items: center;
84
- justify-content: center;
85
- }
86
-
87
- /* Form Controls */
88
- .form-block-fields .mat-form-field {
89
- display: block !important;
90
- }
91
-
92
- .mat-form-field-wrapper {
93
- margin: 0;
94
- }
95
-
96
- .mat-form-field.full-width,
97
- .full-width > .mat-form-field {
98
- width: 100%;
99
- }
100
-
101
- .mat-form-field.solid-background > .mat-form-field-wrapper,
102
- .solid-background > .mat-form-field > .mat-form-field-wrapper {
103
- background-color: white;
104
- border-radius: 4px;
105
- }
106
-
107
- .mat-form-field.disabled > .mat-form-field-wrapper,
108
- .disabled > .mat-form-field > .mat-form-field-wrapper {
109
- background-color: colors.$light-grey;
110
-
111
- mat-icon {
112
- cursor: default;
113
- }
114
- }
115
-
116
- .mat-form-field.nowrap-subscript .mat-form-field-subscript-wrapper {
117
- overflow: visible;
118
- white-space: nowrap;
119
- }
120
-
121
- .mat-form-field-appearance-outline {
122
- .mat-form-field-wrapper {
123
- margin: 0;
124
- padding: 0 !important;
125
-
126
- .mat-form-field-infix {
127
- border-top: 2px solid transparent;
128
- padding: 8px 0 6px;
129
- }
130
-
131
- .mat-select-arrow-wrapper {
132
- transform: none;
133
- }
134
-
135
- .mat-error, .mat-hint {
136
- margin-top: 15px;
137
- }
138
- }
139
-
140
- .mat-form-field-suffix {
141
- top: 0.3em !important;
142
- margin-right: -0.75em !important;
143
-
144
- button {
145
- height: 2em !important;
146
- width: 2em !important;
147
- }
148
- }
149
- }
150
-
151
- .form-full-width .mat-form-field {
152
- width: 100%;
153
-
154
- .mat-form-field-infix {
155
- width: 100%;
156
- }
157
-
158
- .mat-input-element {
159
- min-width: auto;
160
- }
161
- }
162
-
163
- .initial-text .mat-form-field-label-wrapper {
164
- text-transform: initial;
165
- }
166
-
167
- /* Input */
168
- .mat-input-element {
169
- min-height: 16px;
170
- min-width: 120px;
171
- }
172
-
173
- /* Select */
174
- .mat-select {
175
- display: flex !important;
176
- min-height: 16px;
177
-
178
- .mat-select-trigger {
179
- display: flex;
180
- align-items: center;
181
- justify-content: space-between;
182
- width: 100%;
183
- min-height: 16px;
184
-
185
- .mat-select-value {
186
- max-width: 200px;
187
- }
188
- }
189
-
190
- .mat-select-arrow-wrapper {
191
- transform: translateY(-10%) !important;
192
- }
193
- }
194
-
195
- .mat-option {
196
- .mat-pseudo-checkbox::after {
197
- top: 2px;
198
- left: 1px;
199
- width: 8px;
200
- height: 3px;
201
- }
202
- }
203
-
204
- .mat-select.muted {
205
- .mat-select-arrow {
206
- color: colors.$soft-blue-border;
207
- }
208
- }
209
-
210
- aside.search-state {
211
- .mat-form-field {
212
- width: 100%;
213
- }
214
-
215
- .mat-form-field-wrapper {
216
- height: 31px;
217
- }
218
-
219
- .mat-form-field-outline {
220
- display: none;
221
- }
222
-
223
- .mat-form-field-appearance-outline .mat-form-field-flex {
224
- margin-top: 0;
225
- }
226
- }
227
-
228
- /* Radio */
229
- mat-radio-button .mat-radio-label {
230
- margin-bottom: 0; // set by Bootstrap
231
- }
232
-
233
- /* DatePicker */
234
- mat-datepicker-toggle.mat-datepicker-toggle {
235
- &.xs button {
236
- height: 24px;
237
- width: 24px;
238
- }
239
- }
240
-
241
- /* Tables */
242
- table.mat-table {
243
- [mat-sort-header].cdk-keyboard-focused,
244
- [mat-sort-header].cdk-program-focused {
245
- .mat-sort-header-container {
246
- border-bottom: none !important;
247
- }
248
- }
249
- }
250
-
251
- mat-header-cell.full-width > .mat-sort-header-container {
252
- width: 100%;
253
-
254
- > .mat-sort-header-content {
255
- width: calc(100% - 30px); // minus sort icon
256
- }
257
- }
258
-
259
- .fw-table {
260
- .mat-sort-header-button {
261
- text-transform: uppercase;
262
- }
263
-
264
- tr {
265
- &.disabled td {
266
- color: colors.$medium-dark-grey;
267
- }
268
-
269
- th.mat-header-cell.text-right {
270
- text-align: right;
271
- }
272
- }
273
- }
274
-
275
- /* Alerts */
276
- mat-error {
277
- color: colors.$red;
278
- }
279
-
280
- mat-success {
281
- color: colors.$green;
282
- }
283
-
284
- /* Dialog */
285
- .mat-dialog {
286
- &-title {
287
- font-weight: 300;
288
- }
289
- }
290
-
291
- /* Checkbox */
292
- .mat-checkbox {
293
- label {
294
- margin-bottom: 0; // Bootstrap sets a margin on all labels
295
- }
296
- }
297
-
298
- /* Tooltips */
299
- /* For use as `matTooltipClass="tooltip-multiline"` */
300
- .tooltip-multiline {
301
- white-space: pre-line;
302
- }
303
-
304
- .tooltip-preformatted {
305
- white-space: pre !important;
306
- }
307
-
308
- .tooltip-stretch {
309
- max-width: none !important;
310
- }
311
-
312
- .mat-tooltip {
313
- font-size: 12px !important;
314
- padding: 5px 10px !important;
315
- white-space: pre-line;
316
- }
317
-
318
- /* Tabs */
319
- .tabs-compact {
320
- .mat-tab-label {
321
- flex-grow: 1;
322
- font-size: 12px;
323
- height: 38px !important;
324
- min-width: 0 !important;
325
- padding: 0 10px !important;
326
- }
327
- }
328
-
329
- .tabs-white {
330
- .mat-tab-list {
331
- background-color: white;
332
- }
333
- }
334
-
335
- mat-tab-group {
336
- height: 100%;
337
- }
338
-
339
- div.mat-tab-body-wrapper {
340
- height: 100%;
341
- }
342
-
343
- /* Floating Action Button */
344
- .extended-fab-button[mat-fab] {
345
- width: unset;
346
- padding: 0 26px;
347
- border-radius: 29px;
348
-
349
- .mat-icon {
350
- margin-right: 10px;
351
- }
352
-
353
- .extended-fab-button__text {
354
- font-weight: 300;
355
- letter-spacing: .1em;
356
- text-transform: uppercase;
357
- }
358
-
359
- &.fab-absolute {
360
- position: fixed;
361
- bottom: 3rem;
362
- right: 3rem;
363
- }
364
- }
365
-
366
- /* Slide Toggle */
367
- mat-slide-toggle.mat-slide-toggle {
368
- .mat-slide-toggle-ripple {
369
- display: none;
370
- }
371
- }
@@ -1,53 +0,0 @@
1
- /* http://meyerweb.com/eric/tools/css/reset/
2
- v2.0 | 20110126
3
- License: none (public domain)
4
- */
5
-
6
- html, body, div, span, applet, object, iframe,
7
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
- a, abbr, acronym, address, big, cite, code,
9
- del, dfn, em, img, ins, kbd, q, s, samp,
10
- small, strike, strong, sub, sup, tt, var,
11
- b, u, i, center,
12
- dl, dt, dd, ol, ul, li,
13
- fieldset, form, label, legend,
14
- table, caption, tbody, tfoot, thead, tr, th, td,
15
- article, aside, canvas, details, embed,
16
- figure, figcaption, footer, header, hgroup,
17
- menu, nav, output, ruby, section, summary,
18
- time, mark, audio, video {
19
- margin: 0;
20
- padding: 0;
21
- border: 0;
22
- font: inherit;
23
- font-size: 100%;
24
- vertical-align: baseline;
25
- }
26
-
27
- /* HTML5 display-role reset for older browsers */
28
- article, aside, details, figcaption, figure,
29
- footer, header, hgroup, menu, nav, section {
30
- display: block;
31
- }
32
-
33
- body {
34
- line-height: 1;
35
- }
36
-
37
- ol, ul {
38
- list-style: none;
39
- }
40
-
41
- blockquote, q {
42
- quotes: none;
43
- }
44
-
45
- blockquote::before, blockquote::after,
46
- q::before, q::after {
47
- content: none;
48
- }
49
-
50
- table {
51
- border-collapse: collapse;
52
- border-spacing: 0;
53
- }