spiderly 19.3.0 → 19.4.0-preview.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 (31) hide show
  1. package/README.md +17 -17
  2. package/fesm2022/spiderly.mjs +122 -85
  3. package/fesm2022/spiderly.mjs.map +1 -1
  4. package/lib/components/layout/layout.component.d.ts +5 -1
  5. package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +14 -1
  6. package/package.json +1 -1
  7. package/styles/components/info-card/info-card.component.scss +60 -60
  8. package/styles/components/layout/profile-avatar/profile-avatar.component.scss +8 -8
  9. package/styles/components/layout/topbar/topbar.component.scss +38 -38
  10. package/styles/components/spiderly-data-table/spiderly-data-table.component.scss +48 -48
  11. package/styles/components/spiderly-data-view/spiderly-data-view.component.scss +55 -55
  12. package/styles/components/spiderly-panels/panel-body/panel-body.component.scss +8 -8
  13. package/styles/components/spiderly-panels/panel-footer/panel-footer.component.scss +16 -16
  14. package/styles/components/spiderly-panels/spiderly-panel/spiderly-panel.component.scss +87 -87
  15. package/styles/controls/base-controls.scss +16 -16
  16. package/styles/controls/spiderly-checkbox/spiderly-checkbox.component.scss +22 -22
  17. package/styles/styles/layout/_content.scss +14 -14
  18. package/styles/styles/layout/_footer.scss +11 -11
  19. package/styles/styles/layout/_main.scss +34 -34
  20. package/styles/styles/layout/_menu.scss +137 -137
  21. package/styles/styles/layout/_mixins.scss +13 -13
  22. package/styles/styles/layout/_preloading.scss +47 -47
  23. package/styles/styles/layout/_responsive.scss +102 -102
  24. package/styles/styles/layout/_spiderly-controls.scss +14 -14
  25. package/styles/styles/layout/_topbar.scss +235 -235
  26. package/styles/styles/layout/_typography.scss +63 -63
  27. package/styles/styles/layout/_utils.scss +19 -19
  28. package/styles/styles/layout/_variables.scss +908 -908
  29. package/styles/styles/layout/layout.scss +11 -11
  30. package/styles/styles/shared.scss +483 -483
  31. package/styles/styles/styles.scss +2 -2
@@ -1,236 +1,236 @@
1
- @use './_variables' as *;
2
- @use './_mixins' as *;
3
-
4
- .layout-topbar {
5
- position: fixed;
6
- height: 5rem;
7
- z-index: 997;
8
- left: 0;
9
- top: 0;
10
- width: 100%;
11
- padding: 0 2rem;
12
- background-color: var(--surface-card);
13
- transition: left $transitionDuration;
14
- display: flex;
15
- align-items: center;
16
- box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05),
17
- 0px 1px 4px rgba(0, 0, 0, 0.08);
18
-
19
- .layout-topbar-logo {
20
- display: flex;
21
- align-items: center;
22
- color: var(--surface-900);
23
- font-size: 1.5rem;
24
- font-weight: 500;
25
- width: 300px;
26
- border-radius: var(--p-content-border-radius);
27
-
28
- img {
29
- height: 2.5rem;
30
- margin-right: 0.5rem;
31
- }
32
-
33
- &:focus {
34
- @include focused();
35
- }
36
- }
37
-
38
- .layout-topbar-button {
39
- display: inline-flex;
40
- justify-content: center;
41
- align-items: center;
42
- position: relative;
43
- color: var(--p-text-color-secondary);
44
- background-color: transparent;
45
- border-color: transparent;
46
- // border-radius: 50%;
47
- // width: 3rem;
48
- // height: 3rem;
49
- cursor: pointer;
50
- transition: background-color $transitionDuration;
51
-
52
- &:hover {
53
- color: var(--p-text-color);
54
- background-color: var(--p-content-hover-background);
55
- }
56
-
57
- &:focus {
58
- @include focused();
59
- }
60
-
61
- i {
62
- font-size: 1.5rem;
63
- }
64
-
65
- span {
66
- font-size: 1rem;
67
- display: none;
68
- }
69
- }
70
-
71
- .layout-menu-button {
72
- border-radius: 50%;
73
- width: 3rem;
74
- height: 3rem;
75
- margin-left: 2rem;
76
- }
77
-
78
- // .layout-topbar-menu-button {
79
- // display: none;
80
-
81
- // i {
82
- // font-size: 1.25rem;
83
- // }
84
- // }
85
-
86
- .profile-button {
87
- margin: 0 0 0 auto;
88
- padding: 0;
89
- list-style: none;
90
- display: flex;
91
-
92
- .layout-topbar-button {
93
- margin-left: 1rem;
94
- }
95
- }
96
- }
97
-
98
- @media (max-width: 991px) {
99
-
100
- .display-none-on-mobile{
101
- display: none !important;
102
- }
103
-
104
- .layout-topbar {
105
- justify-content: space-between;
106
-
107
- .layout-topbar-logo {
108
- width: auto;
109
- order: 2;
110
- }
111
-
112
- .layout-menu-button {
113
- margin-left: 0;
114
- order: 1;
115
- }
116
-
117
- .profile-button {
118
- // burger meni
119
- border-radius: 50%;
120
- display: inline-flex;
121
- margin-left: 0;
122
- order: 3;
123
- }
124
-
125
- .layout-topbar-menu {
126
- // div koji obgrljuje buttone
127
- margin-left: 0;
128
- position: absolute;
129
- flex-direction: column;
130
- background-color: var(--surface-overlay);
131
- box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02),
132
- 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);
133
- border-radius: var(--p-content-border-radius);
134
- padding: 1rem;
135
- right: 2rem;
136
- top: 5rem;
137
- min-width: 15rem;
138
- display: none;
139
- -webkit-animation: scalein 0.15s linear;
140
- animation: scalein 0.15s linear;
141
-
142
- &.layout-topbar-menu-mobile-active {
143
- display: block;
144
- }
145
-
146
- .layout-topbar-button {
147
- margin-left: 0;
148
- display: flex;
149
- width: 100%;
150
- height: auto;
151
- justify-content: flex-start;
152
- border-radius: var(--p-content-border-radius);
153
- padding: 1rem;
154
-
155
- i {
156
- font-size: 1rem;
157
- margin-right: 0.5rem;
158
- }
159
-
160
- span {
161
- font-weight: medium;
162
- display: block;
163
- }
164
- }
165
- }
166
- }
167
- }
168
-
169
- .layout-topbar-profile-dropdown-menu {
170
- // background-color: var(--surface-card);
171
- display: none;
172
- position: absolute;
173
- background-color: var(--surface-overlay);
174
- box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05),
175
- 0px 1px 4px rgba(0, 0, 0, 0.08);
176
- border-radius: var(--p-content-border-radius);
177
- padding: 1rem;
178
- right: 2rem;
179
- top: 5rem;
180
- min-width: 15rem;
181
- -webkit-animation: scalein 0.15s linear;
182
- animation: scalein 0.15s linear;
183
- // height: 150px;
184
- // width: 280px;
185
- z-index: 10;
186
-
187
- &.layout-topbar-menu-mobile-active {
188
- display: block;
189
- }
190
-
191
- @media (max-width: 991px) {
192
- width: 210px;
193
- right: 1rem;
194
- top: 4.5rem;
195
- }
196
-
197
- .layout-topbar-profile-dropdown-button {
198
- margin-left: 0;
199
- display: flex;
200
- align-items: center;
201
- position: relative;
202
- color: var(--p-text-color-secondary);
203
- width: 100%;
204
- height: auto;
205
- justify-content: flex-start;
206
- border-radius: var(--p-content-border-radius);
207
- padding: 1rem;
208
- cursor: pointer;
209
- transition: background-color $transitionDuration;
210
-
211
- &:hover {
212
- color: var(--p-text-color);
213
- background-color: var(--p-content-hover-background);
214
- }
215
-
216
- &:focus {
217
- @include focused();
218
- }
219
-
220
- i {
221
- font-size: 1rem;
222
- margin-right: 0.5rem;
223
- }
224
-
225
- span {
226
- font-weight: medium;
227
- display: block;
228
- }
229
- }
230
- }
231
-
232
- @media (min-width: 992px) {
233
- .display-none-on-desktop{
234
- display: none !important;
235
- }
1
+ @use './_variables' as *;
2
+ @use './_mixins' as *;
3
+
4
+ .layout-topbar {
5
+ position: fixed;
6
+ height: 5rem;
7
+ z-index: 997;
8
+ left: 0;
9
+ top: 0;
10
+ width: 100%;
11
+ padding: 0 2rem;
12
+ background-color: var(--surface-card);
13
+ transition: left $transitionDuration;
14
+ display: flex;
15
+ align-items: center;
16
+ box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05),
17
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
18
+
19
+ .layout-topbar-logo {
20
+ display: flex;
21
+ align-items: center;
22
+ color: var(--surface-900);
23
+ font-size: 1.5rem;
24
+ font-weight: 500;
25
+ width: 300px;
26
+ border-radius: var(--p-content-border-radius);
27
+
28
+ img {
29
+ height: 2.5rem;
30
+ margin-right: 0.5rem;
31
+ }
32
+
33
+ &:focus {
34
+ @include focused();
35
+ }
36
+ }
37
+
38
+ .layout-topbar-button {
39
+ display: inline-flex;
40
+ justify-content: center;
41
+ align-items: center;
42
+ position: relative;
43
+ color: var(--p-text-color-secondary);
44
+ background-color: transparent;
45
+ border-color: transparent;
46
+ // border-radius: 50%;
47
+ // width: 3rem;
48
+ // height: 3rem;
49
+ cursor: pointer;
50
+ transition: background-color $transitionDuration;
51
+
52
+ &:hover {
53
+ color: var(--p-text-color);
54
+ background-color: var(--p-content-hover-background);
55
+ }
56
+
57
+ &:focus {
58
+ @include focused();
59
+ }
60
+
61
+ i {
62
+ font-size: 1.5rem;
63
+ }
64
+
65
+ span {
66
+ font-size: 1rem;
67
+ display: none;
68
+ }
69
+ }
70
+
71
+ .layout-menu-button {
72
+ border-radius: 50%;
73
+ width: 3rem;
74
+ height: 3rem;
75
+ margin-left: 2rem;
76
+ }
77
+
78
+ // .layout-topbar-menu-button {
79
+ // display: none;
80
+
81
+ // i {
82
+ // font-size: 1.25rem;
83
+ // }
84
+ // }
85
+
86
+ .profile-button {
87
+ margin: 0 0 0 auto;
88
+ padding: 0;
89
+ list-style: none;
90
+ display: flex;
91
+
92
+ .layout-topbar-button {
93
+ margin-left: 1rem;
94
+ }
95
+ }
96
+ }
97
+
98
+ @media (max-width: 991px) {
99
+
100
+ .display-none-on-mobile{
101
+ display: none !important;
102
+ }
103
+
104
+ .layout-topbar {
105
+ justify-content: space-between;
106
+
107
+ .layout-topbar-logo {
108
+ width: auto;
109
+ order: 2;
110
+ }
111
+
112
+ .layout-menu-button {
113
+ margin-left: 0;
114
+ order: 1;
115
+ }
116
+
117
+ .profile-button {
118
+ // burger meni
119
+ border-radius: 50%;
120
+ display: inline-flex;
121
+ margin-left: 0;
122
+ order: 3;
123
+ }
124
+
125
+ .layout-topbar-menu {
126
+ // div koji obgrljuje buttone
127
+ margin-left: 0;
128
+ position: absolute;
129
+ flex-direction: column;
130
+ background-color: var(--surface-overlay);
131
+ box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02),
132
+ 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);
133
+ border-radius: var(--p-content-border-radius);
134
+ padding: 1rem;
135
+ right: 2rem;
136
+ top: 5rem;
137
+ min-width: 15rem;
138
+ display: none;
139
+ -webkit-animation: scalein 0.15s linear;
140
+ animation: scalein 0.15s linear;
141
+
142
+ &.layout-topbar-menu-mobile-active {
143
+ display: block;
144
+ }
145
+
146
+ .layout-topbar-button {
147
+ margin-left: 0;
148
+ display: flex;
149
+ width: 100%;
150
+ height: auto;
151
+ justify-content: flex-start;
152
+ border-radius: var(--p-content-border-radius);
153
+ padding: 1rem;
154
+
155
+ i {
156
+ font-size: 1rem;
157
+ margin-right: 0.5rem;
158
+ }
159
+
160
+ span {
161
+ font-weight: medium;
162
+ display: block;
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+
169
+ .layout-topbar-profile-dropdown-menu {
170
+ // background-color: var(--surface-card);
171
+ display: none;
172
+ position: absolute;
173
+ background-color: var(--surface-overlay);
174
+ box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05),
175
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
176
+ border-radius: var(--p-content-border-radius);
177
+ padding: 1rem;
178
+ right: 2rem;
179
+ top: 5rem;
180
+ min-width: 15rem;
181
+ -webkit-animation: scalein 0.15s linear;
182
+ animation: scalein 0.15s linear;
183
+ // height: 150px;
184
+ // width: 280px;
185
+ z-index: 10;
186
+
187
+ &.layout-topbar-menu-mobile-active {
188
+ display: block;
189
+ }
190
+
191
+ @media (max-width: 991px) {
192
+ width: 210px;
193
+ right: 1rem;
194
+ top: 4.5rem;
195
+ }
196
+
197
+ .layout-topbar-profile-dropdown-button {
198
+ margin-left: 0;
199
+ display: flex;
200
+ align-items: center;
201
+ position: relative;
202
+ color: var(--p-text-color-secondary);
203
+ width: 100%;
204
+ height: auto;
205
+ justify-content: flex-start;
206
+ border-radius: var(--p-content-border-radius);
207
+ padding: 1rem;
208
+ cursor: pointer;
209
+ transition: background-color $transitionDuration;
210
+
211
+ &:hover {
212
+ color: var(--p-text-color);
213
+ background-color: var(--p-content-hover-background);
214
+ }
215
+
216
+ &:focus {
217
+ @include focused();
218
+ }
219
+
220
+ i {
221
+ font-size: 1rem;
222
+ margin-right: 0.5rem;
223
+ }
224
+
225
+ span {
226
+ font-weight: medium;
227
+ display: block;
228
+ }
229
+ }
230
+ }
231
+
232
+ @media (min-width: 992px) {
233
+ .display-none-on-desktop{
234
+ display: none !important;
235
+ }
236
236
  }
@@ -1,63 +1,63 @@
1
- h1, h2, h3, h4, h5, h6 {
2
- margin: 1.5rem 0 1rem 0;
3
- font-family: inherit;
4
- font-weight: 500;
5
- line-height: 1.2;
6
- color: var(--surface-900);
7
-
8
- &:first-child {
9
- margin-top: 0;
10
- }
11
- }
12
-
13
- h1 {
14
- font-size: 2.5rem;
15
- }
16
-
17
- h2 {
18
- font-size: 2rem;
19
- }
20
-
21
- h3 {
22
- font-size: 1.75rem;
23
- }
24
-
25
- h4 {
26
- font-size: 1.5rem;
27
- }
28
-
29
- h5 {
30
- font-size: 1.25rem;
31
- }
32
-
33
- h6 {
34
- font-size: 1rem;
35
- }
36
-
37
- mark {
38
- background: #FFF8E1;
39
- padding: .25rem .4rem;
40
- border-radius: var(--p-content-border-radius);
41
- font-family: monospace;
42
- }
43
-
44
- blockquote {
45
- margin: 1rem 0;
46
- padding: 0 2rem;
47
- border-left: 4px solid #90A4AE;
48
- }
49
-
50
- hr {
51
- border-top: solid var(--surface-border);
52
- border-width: 1px 0 0 0;
53
- margin: 1rem 0;
54
- }
55
-
56
- p {
57
- margin: 0 0 1rem 0;
58
- line-height: 1.5;
59
-
60
- &:last-child {
61
- margin-bottom: 0;
62
- }
63
- }
1
+ h1, h2, h3, h4, h5, h6 {
2
+ margin: 1.5rem 0 1rem 0;
3
+ font-family: inherit;
4
+ font-weight: 500;
5
+ line-height: 1.2;
6
+ color: var(--surface-900);
7
+
8
+ &:first-child {
9
+ margin-top: 0;
10
+ }
11
+ }
12
+
13
+ h1 {
14
+ font-size: 2.5rem;
15
+ }
16
+
17
+ h2 {
18
+ font-size: 2rem;
19
+ }
20
+
21
+ h3 {
22
+ font-size: 1.75rem;
23
+ }
24
+
25
+ h4 {
26
+ font-size: 1.5rem;
27
+ }
28
+
29
+ h5 {
30
+ font-size: 1.25rem;
31
+ }
32
+
33
+ h6 {
34
+ font-size: 1rem;
35
+ }
36
+
37
+ mark {
38
+ background: #FFF8E1;
39
+ padding: .25rem .4rem;
40
+ border-radius: var(--p-content-border-radius);
41
+ font-family: monospace;
42
+ }
43
+
44
+ blockquote {
45
+ margin: 1rem 0;
46
+ padding: 0 2rem;
47
+ border-left: 4px solid #90A4AE;
48
+ }
49
+
50
+ hr {
51
+ border-top: solid var(--surface-border);
52
+ border-width: 1px 0 0 0;
53
+ margin: 1rem 0;
54
+ }
55
+
56
+ p {
57
+ margin: 0 0 1rem 0;
58
+ line-height: 1.5;
59
+
60
+ &:last-child {
61
+ margin-bottom: 0;
62
+ }
63
+ }
@@ -1,20 +1,20 @@
1
- .card {
2
- background: var(--surface-card);
3
- border: 1px solid var(--surface-border);
4
- padding: 2rem;
5
- margin-bottom: 2rem;
6
- box-shadow: var(--card-shadow);
7
- border-radius: var(--p-content-border-radius);
8
-
9
- &:last-child {
10
- margin-bottom: 0;
11
- }
12
- }
13
-
14
- .p-toast {
15
- &.p-toast-top-right,
16
- &.p-toast-top-left,
17
- &.p-toast-top-center {
18
- top: 100px;
19
- }
1
+ .card {
2
+ background: var(--surface-card);
3
+ border: 1px solid var(--surface-border);
4
+ padding: 2rem;
5
+ margin-bottom: 2rem;
6
+ box-shadow: var(--card-shadow);
7
+ border-radius: var(--p-content-border-radius);
8
+
9
+ &:last-child {
10
+ margin-bottom: 0;
11
+ }
12
+ }
13
+
14
+ .p-toast {
15
+ &.p-toast-top-right,
16
+ &.p-toast-top-left,
17
+ &.p-toast-top-center {
18
+ top: 100px;
19
+ }
20
20
  }