@muziehdesign/components 18.2.0-beta.1974 → 18.2.0-next.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 (67) hide show
  1. package/README.md +2 -2
  2. package/esm2022/lib/alert/alert.component.mjs +3 -3
  3. package/esm2022/lib/button.directive.mjs +10 -10
  4. package/esm2022/lib/components.module.mjs +1 -1
  5. package/esm2022/lib/date-display/date-display.pipe.mjs +1 -1
  6. package/esm2022/lib/date-time/date-time.component.mjs +3 -3
  7. package/esm2022/lib/date-time/time-value.mjs +1 -1
  8. package/esm2022/lib/enum-display/enum-display.pipe.mjs +1 -1
  9. package/esm2022/lib/infinite-scroll/infinite-scroll.component.mjs +3 -3
  10. package/esm2022/lib/inline-message/inline-message-dialog/inline-message-dialog.component.mjs +3 -3
  11. package/esm2022/lib/inline-message/inline-message.component.mjs +3 -3
  12. package/esm2022/lib/models/loading-state.mjs +1 -1
  13. package/esm2022/lib/models/page-event.mjs +1 -1
  14. package/esm2022/lib/models/result-table-options.mjs +1 -1
  15. package/esm2022/lib/models/sort-event.mjs +1 -1
  16. package/esm2022/lib/models/subject.mjs +1 -1
  17. package/esm2022/lib/models/wizard-step-link.mjs +1 -1
  18. package/esm2022/lib/page-header/page-header.component.mjs +3 -3
  19. package/esm2022/lib/page-loading-indicator/page-loading-indicator.component.mjs +3 -3
  20. package/esm2022/lib/pagination/pagination-default-options.mjs +1 -1
  21. package/esm2022/lib/pagination/pagination-default-options.token.mjs +1 -1
  22. package/esm2022/lib/pagination/pagination.component.mjs +5 -5
  23. package/esm2022/lib/phone-number/phone-number.pipe.mjs +1 -1
  24. package/esm2022/lib/result-table/result-table.component.mjs +14 -25
  25. package/esm2022/lib/result-table/result-table.model.mjs +1 -1
  26. package/esm2022/lib/sort-key.directive.mjs +1 -1
  27. package/esm2022/lib/sort.directive.mjs +1 -1
  28. package/esm2022/lib/spinner/spinner.component.mjs +3 -3
  29. package/esm2022/lib/subject-display/subject-display.pipe.mjs +1 -1
  30. package/esm2022/lib/svg-icon/svg-icon-config.mjs +1 -1
  31. package/esm2022/lib/svg-icon/svg-icon.component.mjs +3 -3
  32. package/esm2022/lib/testing/muzieh-component-harness.mjs +1 -1
  33. package/esm2022/lib/testing/result-table-harness.mjs +2 -2
  34. package/esm2022/lib/time-value-accessor.directive.mjs +1 -1
  35. package/esm2022/lib/time-value-validator.directive.mjs +1 -1
  36. package/esm2022/lib/wizard-progress-tracker/wizard-progress-tracker.component.mjs +3 -3
  37. package/esm2022/public-api.mjs +1 -1
  38. package/fesm2022/muziehdesign-components.mjs +47 -58
  39. package/fesm2022/muziehdesign-components.mjs.map +1 -1
  40. package/lib/models/page-event.d.ts +3 -3
  41. package/lib/models/result-table-options.d.ts +1 -2
  42. package/lib/pagination/pagination.component.d.ts +1 -1
  43. package/lib/result-table/result-table.component.d.ts +6 -9
  44. package/lib/result-table/result-table.model.d.ts +5 -5
  45. package/package.json +1 -1
  46. package/assets/icons/chevron-down-solid.svg +0 -3
  47. package/assets/icons/chevron-up-solid.svg +0 -3
  48. package/assets/icons/icondefinitions.svg +0 -0
  49. package/design/_accordion.scss +0 -15
  50. package/design/_alert.scss +0 -51
  51. package/design/_base.scss +0 -54
  52. package/design/_breadcrumb.scss +0 -15
  53. package/design/_button.scss +0 -55
  54. package/design/_components.scss +0 -0
  55. package/design/_date-picker.scss +0 -23
  56. package/design/_dl.scss +0 -22
  57. package/design/_dropdown-menu.scss +0 -17
  58. package/design/_form.scss +0 -179
  59. package/design/_infinite-scroll.scss +0 -16
  60. package/design/_material.scss +0 -57
  61. package/design/_modal.scss +0 -287
  62. package/design/_muzieh.scss +0 -19
  63. package/design/_pagination.scss +0 -27
  64. package/design/_progress-bar.scss +0 -25
  65. package/design/_table.scss +0 -93
  66. package/design/_tabs.scss +0 -20
  67. package/design/_wizard.scss +0 -139
@@ -1,287 +0,0 @@
1
-
2
- .modal {
3
- position: fixed;
4
- top: 0;
5
- left: 0;
6
- z-index: 1055;
7
- display: none;
8
- width: 100%;
9
- height: 100%;
10
- overflow-x: hidden;
11
- overflow-y: auto;
12
- outline: 0;
13
- }
14
-
15
- .modal.show {
16
- display: block;
17
- }
18
-
19
- .modal-dialog {
20
- position: relative;
21
- width: auto;
22
- margin: 0.5rem;
23
- pointer-events: none;
24
- }
25
- .modal.fade .modal-dialog {
26
- transition: transform 0.3s ease-out;
27
- transform: translate(0, -50px);
28
- }
29
- @media (prefers-reduced-motion: reduce) {
30
- .modal.fade .modal-dialog {
31
- transition: none;
32
- }
33
- }
34
- .modal.show .modal-dialog {
35
- transform: none;
36
- }
37
- .modal.modal-static .modal-dialog {
38
- transform: scale(1.02);
39
- }
40
-
41
- .modal-dialog-scrollable {
42
- height: calc(100% - 1rem);
43
- }
44
- .modal-dialog-scrollable .modal-content {
45
- max-height: 100%;
46
- overflow: hidden;
47
- }
48
- .modal-dialog-scrollable .modal-body {
49
- overflow-y: auto;
50
- }
51
-
52
- .modal-dialog-centered {
53
- display: flex;
54
- align-items: center;
55
- min-height: calc(100% - 1rem);
56
- }
57
-
58
- .modal-content {
59
- position: relative;
60
- display: flex;
61
- flex-direction: column;
62
- width: 100%;
63
- pointer-events: auto;
64
- background-color: #fff;
65
- background-clip: padding-box;
66
- border: 1px solid rgba(0, 0, 0, 0.2);
67
- border-radius: 0.3rem;
68
- outline: 0;
69
- }
70
-
71
- .modal-backdrop {
72
- position: fixed;
73
- top: 0;
74
- left: 0;
75
- z-index: 1050;
76
- width: 100vw;
77
- height: 100vh;
78
- background-color: #000;
79
- }
80
- .modal-backdrop.fade {
81
- opacity: 0;
82
- }
83
- .modal-backdrop.show {
84
- opacity: 0.5;
85
- }
86
-
87
- .modal-header {
88
- display: flex;
89
- flex-shrink: 0;
90
- align-items: center;
91
- justify-content: space-between;
92
- padding: 1rem 1rem;
93
- border-bottom: 1px solid #dee2e6;
94
- border-top-left-radius: calc(0.3rem - 1px);
95
- border-top-right-radius: calc(0.3rem - 1px);
96
- }
97
- .modal-header .btn-close {
98
- padding: 0.5rem 0.5rem;
99
- margin: -0.5rem -0.5rem -0.5rem auto;
100
- }
101
-
102
- .modal-title {
103
- margin-bottom: 0;
104
- line-height: 1.5;
105
- }
106
-
107
- .modal-body {
108
- position: relative;
109
- flex: 1 1 auto;
110
- padding: 1rem;
111
- }
112
-
113
- .modal-footer {
114
- display: flex;
115
- flex-wrap: wrap;
116
- flex-shrink: 0;
117
- align-items: center;
118
- justify-content: flex-end;
119
- padding: 0.75rem;
120
- border-top: 1px solid #dee2e6;
121
- border-bottom-right-radius: calc(0.3rem - 1px);
122
- border-bottom-left-radius: calc(0.3rem - 1px);
123
- }
124
- .modal-footer > * {
125
- margin: 0.25rem;
126
- }
127
-
128
- @media (min-width: 576px) {
129
- .modal-dialog {
130
- max-width: 500px;
131
- margin: 1.75rem auto;
132
- }
133
-
134
- .modal-dialog-scrollable {
135
- height: calc(100% - 3.5rem);
136
- }
137
-
138
- .modal-dialog-centered {
139
- min-height: calc(100% - 3.5rem);
140
- }
141
-
142
- .modal-sm {
143
- max-width: 300px;
144
- }
145
- }
146
- @media (min-width: 992px) {
147
- .modal-lg,
148
- .modal-xl {
149
- max-width: 800px;
150
- }
151
- }
152
- @media (min-width: 1200px) {
153
- .modal-xl {
154
- max-width: 1140px;
155
- }
156
- }
157
- .modal-fullscreen {
158
- width: 100vw;
159
- max-width: none;
160
- height: 100%;
161
- margin: 0;
162
- }
163
- .modal-fullscreen .modal-content {
164
- height: 100%;
165
- border: 0;
166
- border-radius: 0;
167
- }
168
- .modal-fullscreen .modal-header {
169
- border-radius: 0;
170
- }
171
- .modal-fullscreen .modal-body {
172
- overflow-y: auto;
173
- }
174
- .modal-fullscreen .modal-footer {
175
- border-radius: 0;
176
- }
177
-
178
- @media (max-width: 575.98px) {
179
- .modal-fullscreen-sm-down {
180
- width: 100vw;
181
- max-width: none;
182
- height: 100%;
183
- margin: 0;
184
- }
185
- .modal-fullscreen-sm-down .modal-content {
186
- height: 100%;
187
- border: 0;
188
- border-radius: 0;
189
- }
190
- .modal-fullscreen-sm-down .modal-header {
191
- border-radius: 0;
192
- }
193
- .modal-fullscreen-sm-down .modal-body {
194
- overflow-y: auto;
195
- }
196
- .modal-fullscreen-sm-down .modal-footer {
197
- border-radius: 0;
198
- }
199
- }
200
- @media (max-width: 767.98px) {
201
- .modal-fullscreen-md-down {
202
- width: 100vw;
203
- max-width: none;
204
- height: 100%;
205
- margin: 0;
206
- }
207
- .modal-fullscreen-md-down .modal-content {
208
- height: 100%;
209
- border: 0;
210
- border-radius: 0;
211
- }
212
- .modal-fullscreen-md-down .modal-header {
213
- border-radius: 0;
214
- }
215
- .modal-fullscreen-md-down .modal-body {
216
- overflow-y: auto;
217
- }
218
- .modal-fullscreen-md-down .modal-footer {
219
- border-radius: 0;
220
- }
221
- }
222
- @media (max-width: 991.98px) {
223
- .modal-fullscreen-lg-down {
224
- width: 100vw;
225
- max-width: none;
226
- height: 100%;
227
- margin: 0;
228
- }
229
- .modal-fullscreen-lg-down .modal-content {
230
- height: 100%;
231
- border: 0;
232
- border-radius: 0;
233
- }
234
- .modal-fullscreen-lg-down .modal-header {
235
- border-radius: 0;
236
- }
237
- .modal-fullscreen-lg-down .modal-body {
238
- overflow-y: auto;
239
- }
240
- .modal-fullscreen-lg-down .modal-footer {
241
- border-radius: 0;
242
- }
243
- }
244
- @media (max-width: 1199.98px) {
245
- .modal-fullscreen-xl-down {
246
- width: 100vw;
247
- max-width: none;
248
- height: 100%;
249
- margin: 0;
250
- }
251
- .modal-fullscreen-xl-down .modal-content {
252
- height: 100%;
253
- border: 0;
254
- border-radius: 0;
255
- }
256
- .modal-fullscreen-xl-down .modal-header {
257
- border-radius: 0;
258
- }
259
- .modal-fullscreen-xl-down .modal-body {
260
- overflow-y: auto;
261
- }
262
- .modal-fullscreen-xl-down .modal-footer {
263
- border-radius: 0;
264
- }
265
- }
266
- @media (max-width: 1399.98px) {
267
- .modal-fullscreen-xxl-down {
268
- width: 100vw;
269
- max-width: none;
270
- height: 100%;
271
- margin: 0;
272
- }
273
- .modal-fullscreen-xxl-down .modal-content {
274
- height: 100%;
275
- border: 0;
276
- border-radius: 0;
277
- }
278
- .modal-fullscreen-xxl-down .modal-header {
279
- border-radius: 0;
280
- }
281
- .modal-fullscreen-xxl-down .modal-body {
282
- overflow-y: auto;
283
- }
284
- .modal-fullscreen-xxl-down .modal-footer {
285
- border-radius: 0;
286
- }
287
- }
@@ -1,19 +0,0 @@
1
- @import 'tailwindcss/base';
2
- @import 'design/_base';
3
- @import 'tailwindcss/components';
4
- @import 'design/_material';
5
- @import 'design/_button';
6
- @import 'design/_breadcrumb';
7
- @import 'design/_dl';
8
- @import 'design/_dropdown-menu';
9
- @import 'design/_form';
10
- @import 'design/_icon';
11
- @import 'design/_modal';
12
- @import 'design/_pagination';
13
- @import 'design/_table';
14
- @import 'design/_tabs';
15
- @import 'design/_progress-bar';
16
- @import 'design/_alert';
17
- @import 'design/date-picker';
18
- @import 'design/_infinite_scroll';
19
- @import 'tailwindcss/utilities';
@@ -1,27 +0,0 @@
1
- .pagination-wrapper {
2
- @apply grid grid-cols-3 gap-20 justify-center;
3
- }
4
-
5
- .pagination-nav {
6
- @apply px-4 flex justify-center col-start-2;
7
- }
8
-
9
- .page-link {
10
- @apply text-gray-500 hover:text-primary p-4 inline-block text-center font-medium cursor-pointer;
11
- }
12
-
13
- .page-link.active {
14
- @apply border-primary text-primary font-bold cursor-default hover:no-underline;
15
- }
16
-
17
- .page-link.disabled {
18
- @apply cursor-default text-gray-400 hover:text-gray-400 hover:border-transparent hover:no-underline;
19
- }
20
-
21
- .pagination-size, .collection-size {
22
- @apply text-gray-500 text-sm p-4 ml-auto hidden lg:inline-block;
23
- }
24
-
25
- .page-size-control {
26
- @apply py-0 pr-7 pl-0.5 mx-1;
27
- }
@@ -1,25 +0,0 @@
1
- .progress-bar-container {
2
- @apply w-full;
3
- }
4
-
5
- .progress-bar.progress-bar-indeterminate {
6
- @apply w-full h-1 bg-primary bg-opacity-50 overflow-hidden;
7
-
8
- .progress-bar-value {
9
- animation: indeterminateAnimation 0.75s infinite linear;
10
- transform-origin: 0% 50%;
11
- @apply bg-primary w-full h-full;
12
- }
13
- }
14
-
15
- @keyframes indeterminateAnimation {
16
- 0% {
17
- transform: translateX(0) scaleX(0);
18
- }
19
- 40% {
20
- transform: translateX(0) scaleX(0.4);
21
- }
22
- 100% {
23
- transform: translateX(100%) scaleX(0.5);
24
- }
25
- }
@@ -1,93 +0,0 @@
1
- .table-wrapper,
2
- .result-table {
3
- @apply max-w-full overflow-x-auto relative;
4
- }
5
-
6
- .table {
7
- @apply w-full text-left border-collapse;
8
- }
9
-
10
- .table caption {
11
- @apply text-left text-sm text-secondary mb-1.5;
12
- }
13
-
14
- .table tbody {
15
- @apply align-baseline;
16
- }
17
-
18
- .table tbody tr {
19
- @apply border-b border-gray-200;
20
- }
21
-
22
- .table tbody tr:nth-child(even) {
23
- @apply bg-gray-50;
24
- }
25
-
26
- .table td {
27
- @apply py-3 px-2;
28
- }
29
-
30
- .table th {
31
- @apply top-0 text-sm font-semibold text-gray-500 p-2;
32
- }
33
-
34
- .table thead tr {
35
- @apply py-3 border-b border-gray-500;
36
- }
37
-
38
- .result-table {
39
- .state-message {
40
- @apply p-9 text-center;
41
-
42
- .title {
43
- @apply text-xl;
44
- }
45
- }
46
- .has-overlay {
47
- @apply opacity-10;
48
- }
49
- .loading-overlay-spinner {
50
- @apply absolute top-20 flex flex-col items-center justify-center w-full;
51
- }
52
- }
53
-
54
- .result-table.loading,
55
- .result-table.failed {
56
- min-height: 14rem;
57
- }
58
-
59
- .result-table.loading {
60
- caption {
61
- visibility: hidden;
62
- }
63
- }
64
-
65
- .sort-trigger {
66
- @apply bg-gray-100 hover:bg-gray-200;
67
- }
68
-
69
- .sort-ascending .sort-icon {
70
- width: 10px;
71
- display: inline-flex;
72
- margin-bottom: -7px;
73
- margin-left: 10px;
74
- height: 23px;
75
- mask-image: url('/assets/arrow-up.svg');
76
- mask-repeat: no-repeat;
77
- mask-size: 1.2rem;
78
- mask-position: center;
79
- @apply bg-gray-500;
80
- }
81
-
82
- .sort-descending .sort-icon {
83
- width: 10px;
84
- display: inline-flex;
85
- margin-bottom: -7px;
86
- margin-left: 10px;
87
- height: 23px;
88
- mask-image: url('/assets/arrow-down.svg');
89
- mask-repeat: no-repeat;
90
- mask-size: 1.2rem;
91
- mask-position: center;
92
- @apply bg-gray-500;
93
- }
package/design/_tabs.scss DELETED
@@ -1,20 +0,0 @@
1
- .nav-tabs {
2
- @apply block border-b-gray-300 border-b;
3
- }
4
-
5
- .nav-item {
6
- @apply inline-block text-center;
7
- }
8
-
9
- .nav-link {
10
- @apply hover:no-underline inline-block text-gray-500 py-2 px-6 border-b border-b-transparent hover:text-primary;
11
- min-width: 8rem;
12
- }
13
-
14
- .nav-link.active {
15
- @apply text-primary border-b-primary border-b-2 font-medium;
16
- }
17
-
18
- .tab-pane {
19
- @apply py-3;
20
- }
@@ -1,139 +0,0 @@
1
- .wizard-step.previous {
2
- .step-desc {
3
- @apply px-5 text-secondary font-semibold;
4
- }
5
-
6
- .wizard-step-icon {
7
- @apply text-primary;
8
- }
9
- }
10
-
11
- .wizard-step:not(.previous) .wizard-step-icon {
12
- @apply lg:mt-1 lg:mb-1;
13
- }
14
-
15
- .wizard-step.previous .step-line,
16
- .wizard-step.current .step-line.left {
17
- @apply border-primary;
18
- }
19
-
20
- .spacer {
21
- @apply hidden h-4 border-l-2 border-transparent;
22
- }
23
-
24
- .wizard-step.current {
25
- .step-desc {
26
- @apply px-5 font-semibold text-primary;
27
- }
28
-
29
- .wizard-step-icon {
30
- @apply flex items-center justify-center h-8 w-8 mx-0 lg:mx-1 my-1 border-primary border-2 rounded-2xl;
31
- }
32
- }
33
-
34
- .step-inner-circle {
35
- @apply h-2.5 w-2.5 bg-primary rounded-2xl;
36
- }
37
-
38
- .step-line {
39
- @apply border-solid border-gray-400 border-l-2 h-4 lg:border-l-0 lg:border-t-2 lg:flex-1 lg:mt-3.5;
40
- }
41
-
42
- .toggable-icon {
43
- @apply lg:hidden;
44
- }
45
-
46
- .wizard-step.unvisited {
47
- .step-desc {
48
- @apply px-5;
49
- }
50
-
51
- .wizard-step-icon {
52
- @apply h-8 w-8 rounded-2xl border-2 border-gray-400 mx-0 lg:mx-1 my-1;
53
- }
54
- }
55
-
56
- .wizard-step {
57
- @apply flex flex-row items-center lg:flex-col;
58
-
59
- &:not(.previous) {
60
- @apply ml-1 lg:ml-0;
61
- }
62
- }
63
-
64
- .wizard-progress-tracker {
65
- .direction-container {
66
- @apply flex flex-col;
67
- }
68
- }
69
-
70
- .steps-count {
71
- @apply text-sm text-secondary lg:ml-5;
72
- }
73
-
74
- .wizard-steps-container {
75
- @apply flex flex-col mt-1 lg:flex-row;
76
-
77
- &:not(.previous) {
78
- @apply lg:pl-1;
79
- }
80
-
81
- &.toggled {
82
- .wizard-step.current {
83
- .spacer.left,
84
- .spacer.right {
85
- @apply flex lg:hidden;
86
- }
87
- }
88
-
89
- .wizard-step:first-of-type {
90
- .spacer.left {
91
- @apply flex lg:flex-1;
92
- }
93
- }
94
-
95
- .wizard-step:last-of-type {
96
- .spacer.right {
97
- @apply flex lg:flex-1;
98
- }
99
- }
100
-
101
- .wizard-step:not(.current) {
102
- @apply hidden lg:flex;
103
-
104
- .toggable-icon {
105
- @apply hidden;
106
- }
107
- }
108
-
109
- .wizard-step.current .step-line {
110
- @apply hidden lg:flex;
111
- }
112
- }
113
-
114
- &:not(.toggled) {
115
- .wizard-step:first-of-type {
116
- .spacer.left {
117
- @apply flex lg:flex-1;
118
- }
119
- }
120
-
121
- .wizard-step:last-of-type {
122
- .spacer.right {
123
- @apply flex lg:flex-1;
124
- }
125
- }
126
-
127
- .wizard-step:not(:first-of-type) .toggable-icon {
128
- @apply hidden;
129
- }
130
- }
131
- }
132
-
133
- .wizard-step-icon-container {
134
- @apply flex flex-col items-center lg:mb-3 lg:flex-row lg:w-full;
135
- }
136
-
137
- .wizard-step-icon .icon.icon-solid {
138
- @apply h-10 w-10;
139
- }