@indice/ng-components 0.4.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.
- package/package.json +2 -2
- package/src/assets/styles/advanced-search.css +30 -48
- package/src/assets/styles/avatar-initials.css +22 -24
- package/src/assets/styles/cards.css +63 -64
- package/src/assets/styles/collapsible-panel.css +18 -19
- package/src/assets/styles/combobox.css +21 -22
- package/src/assets/styles/components.css +24 -26
- package/src/assets/styles/drop-down-menu.css +48 -49
- package/src/assets/styles/form-layout.css +39 -40
- package/src/assets/styles/list-view.css +47 -48
- package/src/assets/styles/modal.css +35 -8
- package/src/assets/styles/model-view-layout.css +36 -37
- package/src/assets/styles/nav-links.css +48 -50
- package/src/assets/styles/notifications-indicator.component.css +23 -25
- package/src/assets/styles/pager.css +24 -25
- package/src/assets/styles/shell-layout.css +185 -187
- package/src/assets/styles/shell-sidebar-layout.css +86 -89
- package/src/assets/styles/shell-sidebar.css +24 -25
- package/src/assets/styles/side-pane.css +36 -38
- package/src/assets/styles/side-view-layout.css +42 -43
- package/src/assets/styles/stepper.css +166 -167
- package/src/assets/styles/tab-group.css +21 -22
- package/src/assets/styles/toast.css +54 -54
- package/src/assets/styles/toggle-button.component.css +39 -40
- package/src/assets/styles/toggle-buttons-list.component.css +44 -45
- package/src/assets/styles/toggle.css +18 -19
- package/src/assets/styles/view-layout.css +66 -66
- package/src/styles.css +0 -2
- package/src/assets/styles/list-view-empty-state.css +0 -0
- package/src/assets/styles/shell-sidebar-header.css +0 -2
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
.toast {
|
|
2
|
+
@apply fixed inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start z-50;
|
|
3
|
+
animation: move 400ms ease-in;
|
|
4
|
+
}
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
.toast-closed {
|
|
7
|
+
@apply fixed inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start;
|
|
8
|
+
animation: close 100ms ease-out;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
.toast-container {
|
|
12
|
+
@apply w-full flex flex-col items-center space-y-4 sm:items-end z-50;
|
|
13
|
+
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
.toast-pill {
|
|
16
|
+
@apply max-w-sm w-full bg-white shadow-lg rounded-xl pointer-events-auto ring-1 ring-black ring-black/5 overflow-hidden;
|
|
17
|
+
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
.toast-context-padding {
|
|
20
|
+
@apply p-4;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
.toast-context {
|
|
24
|
+
@apply flex items-start;
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
.toast-icon {
|
|
28
|
+
@apply flex-shrink-0;
|
|
29
|
+
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
.toast-close-icon {
|
|
32
|
+
@apply ml-4 flex-shrink-0 flex;
|
|
33
|
+
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
.toast-close-button {
|
|
36
|
+
@apply bg-white rounded-sm inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500;
|
|
37
|
+
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
.toast-title {
|
|
40
|
+
@apply mb-1 text-sm font-medium text-gray-900;
|
|
41
|
+
}
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
.toast-body {
|
|
44
|
+
@apply text-sm text-gray-500 whitespace-normal;
|
|
45
|
+
word-break: break-word;
|
|
46
|
+
}
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
@keyframes move {
|
|
49
|
+
from {
|
|
50
|
+
opacity: 0;
|
|
51
|
+
--tw-translate-y: 0.5rem;
|
|
52
|
+
transform: translateY(0.5rem);
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
55
|
+
to {
|
|
56
|
+
--tw-translate-y: 0;
|
|
57
|
+
transform: translateY(0);
|
|
58
|
+
opacity: 100;
|
|
60
59
|
}
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
@keyframes close {
|
|
63
|
+
from {
|
|
64
|
+
opacity: 100;
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
67
|
+
to {
|
|
68
|
+
opacity: 0;
|
|
70
69
|
}
|
|
70
|
+
}
|
|
@@ -1,52 +1,51 @@
|
|
|
1
|
+
.toggle-button-button {
|
|
2
|
+
@apply relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-1 focus:ring-gray-500 focus:ring-offset-1;
|
|
3
|
+
}
|
|
1
4
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
.toggle-button-button-disabled {
|
|
6
|
+
@apply opacity-75;
|
|
7
|
+
}
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
.toggle-button-bg-false {
|
|
10
|
+
@apply bg-gray-200;
|
|
11
|
+
}
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
.toggle-button-bg-true {
|
|
14
|
+
@apply bg-gray-600;
|
|
15
|
+
}
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
.toggle-button-icon-container {
|
|
18
|
+
@apply pointer-events-none relative inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out;
|
|
19
|
+
}
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
.toggle-button-icon-container-true {
|
|
22
|
+
@apply translate-x-5;
|
|
23
|
+
}
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
.toggle-button-icon-container-false {
|
|
26
|
+
@apply translate-x-0;
|
|
27
|
+
}
|
|
25
28
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
.toggle-button-icon-container-inner {
|
|
30
|
+
@apply opacity-100 ease-in duration-200 absolute inset-0 flex h-full w-full items-center justify-center transition-opacity;
|
|
31
|
+
}
|
|
29
32
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
.toggle-button-container-inner-true {
|
|
34
|
+
@apply opacity-0 ease-out duration-100;
|
|
35
|
+
}
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
.toggle-button-container-inner-false {
|
|
38
|
+
@apply opacity-100 ease-in duration-200;
|
|
39
|
+
}
|
|
37
40
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
.toggle-button-icon {
|
|
42
|
+
@apply h-3 w-3 text-gray-600;
|
|
43
|
+
}
|
|
41
44
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
.toggle-button-text {
|
|
46
|
+
@apply text-sm font-medium text-gray-900;
|
|
47
|
+
}
|
|
45
48
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
.toggle-button-description {
|
|
51
|
-
@apply text-xs mt-1 text-gray-500;
|
|
52
|
-
}
|
|
49
|
+
.toggle-button-description {
|
|
50
|
+
@apply text-xs mt-1 text-gray-500;
|
|
51
|
+
}
|
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
.
|
|
44
|
-
|
|
45
|
-
}
|
|
1
|
+
.toggle-buttons-list-container {
|
|
2
|
+
@apply relative items-center inline-flex;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.toggle-buttons-list-icon-container {
|
|
6
|
+
@apply flex-none mr-2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.toggle-buttons-list-drop-down-container {
|
|
10
|
+
@apply block lg:hidden z-10;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.toggle-buttons-list-drop-down-compact-container {
|
|
14
|
+
@apply block z-10;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* mw-40 not supported*/
|
|
18
|
+
.toggle-buttons-list-drop-down {
|
|
19
|
+
@apply w-full;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.toggle-buttons-list {
|
|
23
|
+
@apply hidden lg:block;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.toggle-buttons-list-button {
|
|
27
|
+
@apply relative inline-flex items-center p-2 first:border-l first:rounded-l-lg last:rounded-r-lg border-t border-b border-r border-gray-300 bg-white text-xs text-gray-700 hover:text-gray-900 focus:z-10 focus:outline-none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.toggle-buttons-list-button-selected {
|
|
31
|
+
@apply bg-gray-100;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.toggle-buttons-list-button-icon-container {
|
|
35
|
+
@apply flex-none mr-2;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.toggle-buttons-list-button-button-text {
|
|
39
|
+
@apply mr-2 block overflow-ellipsis overflow-hidden;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.toggle-buttons-list-button-button-count {
|
|
43
|
+
@apply ml-1.5 rounded py-0.5 px-1.5 bg-gray-200 text-xs text-gray-700 tabular-nums;
|
|
44
|
+
}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
+
.toggle-button {
|
|
2
|
+
@apply mt-3 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500;
|
|
3
|
+
}
|
|
1
4
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
.toggle-span {
|
|
6
|
+
@apply translate-x-0 pointer-events-none inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200;
|
|
7
|
+
}
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
.enabled {
|
|
10
|
+
@apply bg-indigo-600;
|
|
11
|
+
}
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
.enabled-anim {
|
|
14
|
+
@apply translate-x-5;
|
|
15
|
+
}
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
.disabled {
|
|
18
|
+
@apply bg-gray-200;
|
|
19
|
+
}
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.disabled-anim {
|
|
23
|
-
@apply translate-x-0
|
|
24
|
-
}
|
|
21
|
+
.disabled-anim {
|
|
22
|
+
@apply translate-x-0;
|
|
23
|
+
}
|
|
@@ -1,89 +1,89 @@
|
|
|
1
1
|
@reference tailwindcss;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
.view-container {
|
|
4
|
+
@apply mt-4 sm:mt-5 flex flex-col;
|
|
5
|
+
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
.view-container-fluid {
|
|
8
|
+
@apply sm:px-0 ;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
.view-layout-paddings {
|
|
12
|
+
@apply py-4 sm:py-6;
|
|
13
|
+
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
.sidebar .view-layout-paddings {
|
|
16
|
+
@apply py-2 sm:py-4;
|
|
17
|
+
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
.view-layout-title-container {
|
|
20
|
+
@apply flex text-white flex-col md:flex-row justify-start;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
.view-layout-title-container-inner {
|
|
24
|
+
@apply flex-1 min-w-0;
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
.view-layout-title-container-far {
|
|
28
|
+
@apply flex items-center justify-start sm:justify-end;
|
|
29
|
+
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
.title-icon {
|
|
32
|
+
@apply text-2xl md:text-xl text-white font-thin mr-1;
|
|
33
|
+
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
.sidebar .title-icon {
|
|
36
|
+
@apply text-2xl md:text-xl font-thin mr-1 text-gray-900;
|
|
37
|
+
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
.view-layout-title {
|
|
40
|
+
@apply inline text-xl md:text-3xl text-white;
|
|
41
|
+
}
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
.sidebar .view-layout-title {
|
|
44
|
+
@apply inline text-xl md:text-3xl text-gray-900;
|
|
45
|
+
}
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
.view-layout-title-busy {
|
|
48
|
+
@apply animate-pulse inline text-xl md:text-3xl text-gray-200;
|
|
49
|
+
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
.sidebar .view-layout-title-busy {
|
|
52
|
+
@apply animate-pulse inline text-xl md:text-3xl text-gray-400;
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
.meta-container {
|
|
56
|
+
@apply mt-1 ml-1 hidden h-0 w-0 md:w-full md:flex md:flex-wrap opacity-75;
|
|
57
|
+
}
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
.sidebar .meta-container {
|
|
60
|
+
@apply text-gray-900;
|
|
61
|
+
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
.meta-item-container {
|
|
64
|
+
@apply flex items-center mr-2;
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
.meta-icon {
|
|
68
|
+
@apply text-sm mr-1;
|
|
69
|
+
}
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
.meta-text {
|
|
72
|
+
@apply text-xs mr-1;
|
|
73
|
+
}
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
.search-container {
|
|
76
|
+
@apply relative rounded-lg inline-flex items-center bg-white text-gray-400 focus-within:text-gray-600 focus:shadow hover:shadow border border-gray-300;
|
|
77
|
+
}
|
|
78
78
|
/*
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
.search-input {
|
|
80
|
+
@apply pl-10 pr-20 w-60 bg-gray-50 rounded-sm text-sm text-gray-900 border-gray-400 placeholder-gray-500 outline-none focus:shadow focus:outline-none z-0;
|
|
81
|
+
} */
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
.search-input {
|
|
84
|
+
@apply w-64 rounded-lg text-sm text-gray-900 pt-2 pl-2 pb-2 placeholder-gray-500 outline-none border-0 focus:outline-none focus:ring-0;
|
|
85
|
+
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
.search-button {
|
|
88
|
+
@apply mr-1 text-xs focus:outline-none inline-flex items-center justify-center w-6 h-6 text-gray-800 hover:text-gray-900;
|
|
89
|
+
}
|
package/src/styles.css
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
@import './assets/styles/tab-group.css';
|
|
8
8
|
|
|
9
9
|
@import './assets/styles/shell-sidebar.css';
|
|
10
|
-
@import './assets/styles/shell-sidebar-header.css';
|
|
11
10
|
@import './assets/styles/shell-sidebar-layout.css';
|
|
12
11
|
|
|
13
12
|
@import './assets/styles/notifications-indicator.component.css';
|
|
@@ -22,7 +21,6 @@
|
|
|
22
21
|
@import './assets/styles/list-view.css';
|
|
23
22
|
@import './assets/styles/model-view-layout.css';
|
|
24
23
|
@import './assets/styles/nav-links.css';
|
|
25
|
-
@import './assets/styles/notifications-indicator.component.css';
|
|
26
24
|
@import './assets/styles/pager.css';
|
|
27
25
|
@import './assets/styles/advanced-search.css';
|
|
28
26
|
@import './assets/styles/shell-layout.css';
|
|
File without changes
|