@awes-io/ui 2.142.3 → 2.144.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 (264) hide show
  1. package/assets/css/components/_index.css +7 -1
  2. package/assets/css/components/action-card.css +1 -0
  3. package/assets/css/components/action-icon.css +2 -2
  4. package/assets/css/components/alert.css +28 -22
  5. package/assets/css/components/animation.css +52 -32
  6. package/assets/css/components/badge.css +1 -0
  7. package/assets/css/components/banner-text.css +15 -4
  8. package/assets/css/components/card.css +0 -1
  9. package/assets/css/components/content-placeholder.css +104 -0
  10. package/assets/css/components/dropdown.css +20 -7
  11. package/assets/css/components/empty-container.css +69 -1
  12. package/assets/css/components/filter-chosen.css +6 -0
  13. package/assets/css/components/filter-date-range.css +17 -1
  14. package/assets/css/components/filter-month.css +23 -17
  15. package/assets/css/components/filter-select.css +11 -0
  16. package/assets/css/components/icon-menu-item.css +12 -7
  17. package/assets/css/components/layout.css +1 -32
  18. package/assets/css/components/mobile-menu-nav.css +8 -4
  19. package/assets/css/components/modal.css +1 -1
  20. package/assets/css/components/number.css +12 -0
  21. package/assets/css/components/page-aside.css +54 -0
  22. package/assets/css/components/text-field.css +4 -0
  23. package/assets/js/css.js +1 -1
  24. package/assets/js/icons/mono.js +59 -91
  25. package/assets/js/icons/multicolor.js +1 -31
  26. package/components/1_atoms/AwActionIcon.vue +11 -2
  27. package/components/1_atoms/AwContentPlaceholder.vue +60 -0
  28. package/components/1_atoms/AwFlow.vue +37 -49
  29. package/components/1_atoms/AwGrid.vue +11 -3
  30. package/components/1_atoms/AwIcon/AwIcon.vue +5 -3
  31. package/components/1_atoms/AwIcon/AwIconSystemMono.vue +3 -2
  32. package/components/1_atoms/AwInput.vue +2 -2
  33. package/components/1_atoms/AwLabel.vue +1 -1
  34. package/components/1_atoms/AwList.vue +3 -1
  35. package/components/1_atoms/AwRadio.vue +1 -1
  36. package/components/1_atoms/AwSlider.vue +15 -1
  37. package/components/1_atoms/AwTag.vue +6 -1
  38. package/components/2_molecules/AwAlert.vue +63 -42
  39. package/components/2_molecules/AwBadge.vue +1 -1
  40. package/components/2_molecules/AwBannerText.vue +8 -2
  41. package/components/2_molecules/AwButton.vue +1 -1
  42. package/components/2_molecules/AwDescriptionInput.vue +19 -1
  43. package/components/2_molecules/AwEmptyContainer.vue +74 -72
  44. package/components/2_molecules/AwNumber.vue +180 -0
  45. package/components/2_molecules/AwSelect.vue +11 -4
  46. package/components/3_organisms/AwBottomBar.vue +22 -4
  47. package/components/3_organisms/AwFilterChosen.vue +73 -0
  48. package/components/3_organisms/AwFilterDateRange.vue +177 -0
  49. package/components/3_organisms/AwFilterMonth.vue +37 -40
  50. package/components/3_organisms/AwFilterSelect.vue +368 -0
  51. package/components/3_organisms/AwMultiBlockBuilder.vue +1 -1
  52. package/components/3_organisms/AwSubnav.vue +11 -1
  53. package/components/3_organisms/AwTable/AwTableBuilder.vue +20 -60
  54. package/components/3_organisms/AwTable/_AwTableCellDropdown.vue +6 -1
  55. package/components/3_organisms/AwTable/_AwTableRow.vue +2 -1
  56. package/components/4_pages/AwPage.vue +1 -0
  57. package/components/4_pages/AwPageAside.vue +108 -0
  58. package/components/5_layouts/AwLayoutCenter.vue +3 -8
  59. package/components/5_layouts/_AwMenuItemIcon.vue +9 -2
  60. package/components/5_layouts/_AwMobileMenuItem.vue +5 -3
  61. package/components/5_layouts/_AwUserMenu.vue +1 -1
  62. package/components/_config.js +26 -1
  63. package/docs/_template.md +80 -0
  64. package/docs/components/atoms/aw-accordion-fold.md +129 -0
  65. package/docs/components/atoms/aw-action-card-body.md +99 -0
  66. package/docs/components/atoms/aw-action-card.md +130 -0
  67. package/docs/components/atoms/aw-action-icon.md +126 -0
  68. package/docs/components/atoms/aw-avatar.md +106 -0
  69. package/docs/components/atoms/aw-card.md +137 -0
  70. package/docs/components/atoms/aw-checkbox.md +288 -0
  71. package/docs/components/atoms/aw-content-placeholder.md +147 -0
  72. package/docs/components/atoms/aw-description.md +83 -0
  73. package/docs/components/atoms/aw-dock.md +90 -0
  74. package/docs/components/atoms/aw-dropdown-button.md +94 -0
  75. package/docs/components/atoms/aw-dropdown.md +178 -0
  76. package/docs/components/atoms/aw-file.md +73 -0
  77. package/docs/components/atoms/aw-flow.md +140 -0
  78. package/docs/components/atoms/aw-grid.md +109 -0
  79. package/docs/components/atoms/aw-headline.md +71 -0
  80. package/docs/components/atoms/aw-icon-system-color.md +122 -0
  81. package/docs/components/atoms/aw-icon-system-mono.md +206 -0
  82. package/docs/components/atoms/aw-icon.md +235 -0
  83. package/docs/components/atoms/aw-info.md +123 -0
  84. package/docs/components/atoms/aw-input.md +212 -0
  85. package/docs/components/atoms/aw-label.md +136 -0
  86. package/docs/components/atoms/aw-link.md +151 -0
  87. package/docs/components/atoms/aw-list.md +152 -0
  88. package/docs/components/atoms/aw-progress.md +119 -0
  89. package/docs/components/atoms/aw-radio.md +182 -0
  90. package/docs/components/atoms/aw-refresh-wrapper.md +81 -0
  91. package/docs/components/atoms/aw-select-native.md +234 -0
  92. package/docs/components/atoms/aw-slider.md +189 -0
  93. package/docs/components/atoms/aw-sub-headline.md +73 -0
  94. package/docs/components/atoms/aw-switcher.md +192 -0
  95. package/docs/components/atoms/aw-tag.md +144 -0
  96. package/docs/components/atoms/aw-title.md +70 -0
  97. package/docs/components/atoms/aw-toggler.md +90 -0
  98. package/docs/components/layouts/aw-layout-center.md +168 -0
  99. package/docs/components/layouts/aw-layout-error.md +153 -0
  100. package/docs/components/layouts/aw-layout-provider.md +238 -0
  101. package/docs/components/layouts/aw-layout.md +88 -0
  102. package/docs/components/molecules/aw-action-button.md +138 -0
  103. package/docs/components/molecules/aw-alert.md +191 -0
  104. package/docs/components/molecules/aw-badge.md +129 -0
  105. package/docs/components/molecules/aw-banner-text.md +156 -0
  106. package/docs/components/molecules/aw-button-nav.md +111 -0
  107. package/docs/components/molecules/aw-button.md +193 -0
  108. package/docs/components/molecules/aw-description-input.md +124 -0
  109. package/docs/components/molecules/aw-empty-container.md +235 -0
  110. package/docs/components/molecules/aw-island.md +506 -0
  111. package/docs/components/molecules/aw-number.md +138 -0
  112. package/docs/components/molecules/aw-select-object.md +401 -0
  113. package/docs/components/molecules/aw-select.md +215 -0
  114. package/docs/components/molecules/aw-tab-nav.md +108 -0
  115. package/docs/components/molecules/aw-tel.md +129 -0
  116. package/docs/components/molecules/aw-textarea.md +83 -0
  117. package/docs/components/molecules/aw-userpic.md +115 -0
  118. package/docs/components/organisms/aw-address-block.md +64 -0
  119. package/docs/components/organisms/aw-address.md +132 -0
  120. package/docs/components/organisms/aw-birthday-picker.md +73 -0
  121. package/docs/components/organisms/aw-bottom-bar.md +66 -0
  122. package/docs/components/organisms/aw-calendar-days.md +115 -0
  123. package/docs/components/organisms/aw-calendar-nav.md +98 -0
  124. package/docs/components/organisms/aw-calendar-view.md +98 -0
  125. package/docs/components/organisms/aw-calendar.md +166 -0
  126. package/docs/components/organisms/aw-chart.md +154 -0
  127. package/docs/components/organisms/aw-chip-select.md +164 -0
  128. package/docs/components/organisms/aw-chip.md +126 -0
  129. package/docs/components/organisms/aw-code-snippet.md +94 -0
  130. package/docs/components/organisms/aw-code.md +132 -0
  131. package/docs/components/organisms/aw-context-menu.md +117 -0
  132. package/docs/components/organisms/aw-cropper.md +151 -0
  133. package/docs/components/organisms/aw-date.md +161 -0
  134. package/docs/components/organisms/aw-display-date.md +33 -0
  135. package/docs/components/organisms/aw-download-link.md +46 -0
  136. package/docs/components/organisms/aw-fetch-data.md +161 -0
  137. package/docs/components/organisms/aw-filter-chosen.md +226 -0
  138. package/docs/components/organisms/aw-filter-date-range.md +205 -0
  139. package/docs/components/organisms/aw-filter-month.md +43 -0
  140. package/docs/components/organisms/aw-filter-select.md +239 -0
  141. package/docs/components/organisms/aw-form.md +174 -0
  142. package/docs/components/organisms/aw-gmap-marker.md +86 -0
  143. package/docs/components/organisms/aw-gmap.md +90 -0
  144. package/docs/components/organisms/aw-image-upload.md +56 -0
  145. package/docs/components/organisms/aw-island-avatar.md +87 -0
  146. package/docs/components/organisms/aw-markdown-editor.md +104 -0
  147. package/docs/components/organisms/aw-modal-buttons.md +57 -0
  148. package/docs/components/organisms/aw-modal.md +246 -0
  149. package/docs/components/organisms/aw-model-edit.md +74 -0
  150. package/docs/components/organisms/aw-money.md +53 -0
  151. package/docs/components/organisms/aw-multi-block-builder.md +165 -0
  152. package/docs/components/organisms/aw-pagination.md +121 -0
  153. package/docs/components/organisms/aw-password.md +103 -0
  154. package/docs/components/organisms/aw-preview-card.md +45 -0
  155. package/docs/components/organisms/aw-search.md +116 -0
  156. package/docs/components/organisms/aw-subnav.md +122 -0
  157. package/docs/components/organisms/aw-table-builder.md +165 -0
  158. package/docs/components/organisms/aw-table-col.md +123 -0
  159. package/docs/components/organisms/aw-table-head.md +92 -0
  160. package/docs/components/organisms/aw-table-row.md +91 -0
  161. package/docs/components/organisms/aw-table.md +172 -0
  162. package/docs/components/organisms/aw-tags.md +54 -0
  163. package/docs/components/organisms/aw-toggle-show-aside.md +43 -0
  164. package/docs/components/organisms/aw-uploader-files.md +125 -0
  165. package/docs/components/organisms/aw-uploader.md +163 -0
  166. package/docs/components/organisms/aw-user-menu.md +87 -0
  167. package/docs/components/pages/aw-page-aside.md +296 -0
  168. package/docs/components/pages/aw-page-menu-buttons.md +172 -0
  169. package/docs/components/pages/aw-page-modal.md +198 -0
  170. package/docs/components/pages/aw-page-single.md +300 -0
  171. package/docs/components/pages/aw-page.md +194 -0
  172. package/docs/configuration.md +493 -0
  173. package/docs/cookbook/advanced-patterns.md +1388 -0
  174. package/docs/cookbook/common-patterns.md +965 -0
  175. package/docs/cookbook/index.md +786 -0
  176. package/docs/getting-started.md +596 -0
  177. package/docs/guides/best-practices.md +1106 -0
  178. package/docs/guides/data-fetching.md +852 -0
  179. package/docs/guides/error-handling.md +1172 -0
  180. package/docs/guides/forms-guide.md +1329 -0
  181. package/docs/guides/mobile-subnavigation.md +359 -0
  182. package/docs/guides/page-patterns/aside-pages.md +1418 -0
  183. package/docs/guides/page-patterns/dashboard-pages.md +990 -0
  184. package/docs/guides/page-patterns/detail-pages.md +1556 -0
  185. package/docs/guides/page-patterns/list-pages.md +1242 -0
  186. package/docs/index.md +263 -1
  187. package/docs/integrations.md +870 -0
  188. package/docs/reference/colors.md +232 -0
  189. package/docs/reference/icons.md +163 -0
  190. package/docs/reference/menu.md +462 -0
  191. package/docs/reference/plugins.md +970 -0
  192. package/docs/reference/troubleshooting.md +964 -0
  193. package/nuxt/awes.config.js +9 -8
  194. package/nuxt/index.js +2 -2
  195. package/nuxt/pages/more.vue +1 -1
  196. package/package.json +5 -3
  197. package/readme.md +171 -1
  198. package/store/awesIo.js +11 -0
  199. package/CHANGELOG.md +0 -4520
  200. package/docs/aw-accordion-fold.md +0 -46
  201. package/docs/aw-address.md +0 -44
  202. package/docs/aw-avatar.md +0 -51
  203. package/docs/aw-badge.md +0 -32
  204. package/docs/aw-button-nav.md +0 -44
  205. package/docs/aw-button.md +0 -50
  206. package/docs/aw-calendar-days.md +0 -46
  207. package/docs/aw-calendar-nav.md +0 -25
  208. package/docs/aw-calendar-view.md +0 -12
  209. package/docs/aw-calendar.md +0 -59
  210. package/docs/aw-card.md +0 -48
  211. package/docs/aw-chart.md +0 -51
  212. package/docs/aw-checkbox.md +0 -56
  213. package/docs/aw-chip-select.md +0 -46
  214. package/docs/aw-chip.md +0 -53
  215. package/docs/aw-code-snippet.md +0 -18
  216. package/docs/aw-code.md +0 -56
  217. package/docs/aw-content-wrapper.md +0 -40
  218. package/docs/aw-context-menu.md +0 -31
  219. package/docs/aw-cropper.md +0 -60
  220. package/docs/aw-dashboard-card.md +0 -37
  221. package/docs/aw-dashboard-donut.md +0 -30
  222. package/docs/aw-dashboard-line.md +0 -20
  223. package/docs/aw-dashboard-progress.md +0 -33
  224. package/docs/aw-dashboard-section.md +0 -32
  225. package/docs/aw-dashboard-speed.md +0 -30
  226. package/docs/aw-date.md +0 -52
  227. package/docs/aw-dropdown-button.md +0 -31
  228. package/docs/aw-dropdown.md +0 -69
  229. package/docs/aw-fetch-data.md +0 -45
  230. package/docs/aw-form.md +0 -52
  231. package/docs/aw-grid.md +0 -48
  232. package/docs/aw-icon.md +0 -50
  233. package/docs/aw-info.md +0 -53
  234. package/docs/aw-input.md +0 -55
  235. package/docs/aw-layout-default.md +0 -30
  236. package/docs/aw-layout-frame-center.md +0 -29
  237. package/docs/aw-layout-simple.md +0 -49
  238. package/docs/aw-link.md +0 -54
  239. package/docs/aw-markdown-editor.md +0 -51
  240. package/docs/aw-modal.md +0 -63
  241. package/docs/aw-multi-block-builder.md +0 -66
  242. package/docs/aw-page.md +0 -36
  243. package/docs/aw-pagination.md +0 -54
  244. package/docs/aw-password.md +0 -48
  245. package/docs/aw-radio.md +0 -54
  246. package/docs/aw-search.md +0 -49
  247. package/docs/aw-select.md +0 -93
  248. package/docs/aw-slider.md +0 -40
  249. package/docs/aw-svg-image.md +0 -19
  250. package/docs/aw-switcher.md +0 -51
  251. package/docs/aw-tab-nav.md +0 -55
  252. package/docs/aw-table-builder.md +0 -58
  253. package/docs/aw-table-col.md +0 -33
  254. package/docs/aw-table-head.md +0 -28
  255. package/docs/aw-table-row.md +0 -33
  256. package/docs/aw-table.md +0 -59
  257. package/docs/aw-tel.md +0 -47
  258. package/docs/aw-textarea.md +0 -47
  259. package/docs/aw-toggler.md +0 -41
  260. package/docs/aw-uploader-files.md +0 -20
  261. package/docs/aw-uploader.md +0 -60
  262. package/docs/aw-user-menu.md +0 -34
  263. package/docs/aw-userpic.md +0 -34
  264. /package/components/{3_organisms → 2_molecules}/AwTel.vue +0 -0
@@ -24,6 +24,7 @@
24
24
  @import './action-card.css';
25
25
  @import './action-card-body.css';
26
26
  @import './card.css';
27
+ @import './content-placeholder.css';
27
28
 
28
29
  @import './chip.css';
29
30
  @import './chip-select';
@@ -39,7 +40,6 @@
39
40
  @import './dropdown.css';
40
41
  @import './dropdown-button.css';
41
42
  @import './flow.css';
42
- @import './filter-date-range.css';
43
43
  @import './list.css';
44
44
 
45
45
  @import './form.css';
@@ -47,6 +47,9 @@
47
47
  @import './text-field.css';
48
48
  @import './date.css';
49
49
  @import './filter-month.css';
50
+ @import './filter-select.css';
51
+ @import './filter-date-range.css';
52
+ @import './filter-chosen.css';
50
53
  @import './headline.css';
51
54
  @import './image-upload.css';
52
55
  @import './info.css';
@@ -70,6 +73,7 @@
70
73
  @import './user-menu.css';
71
74
  @import './nav.css';
72
75
  @import './page.css';
76
+ @import './page-aside.css';
73
77
  @import './page-modal.css';
74
78
  @import './page-menu-buttons.css';
75
79
  @import './page-header.css';
@@ -88,6 +92,8 @@
88
92
 
89
93
  @import './tel.css';
90
94
 
95
+ @import './number.css';
96
+
91
97
  @import './notification.css';
92
98
 
93
99
  @import './tags.css';
@@ -22,6 +22,7 @@
22
22
  margin-top: 0;
23
23
  margin-bottom: 0;
24
24
  margin-inline-end: auto;
25
+ min-width: 0;
25
26
  }
26
27
 
27
28
  &__title {
@@ -7,7 +7,7 @@
7
7
  flex-shrink: 0;
8
8
 
9
9
  width: var(--size);
10
- height: var(--size);
10
+ aspect-ratio: 1 / 1;
11
11
  padding: min(0.25rem, calc(var(--size) / 8));
12
12
  border-radius: var(--radius);
13
13
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  img {
18
18
  width: var(--size);
19
- height: var(--size);
19
+ aspect-ratio: 1 / 1;
20
20
  border-radius: var(--radius);
21
21
  object-fit: cover;
22
22
  }
@@ -1,11 +1,14 @@
1
1
  .aw-alert {
2
+ display: flex;
3
+ justify-content: space-between;
4
+
2
5
  padding: 0.875rem 1.375rem;
3
6
  border-radius: 0.625rem;
4
- border: 0.125rem dashed var(--aw-alert-color);
7
+ background: var(--aw-alert-color);
5
8
 
6
9
  &__icon {
7
10
  margin-right: 0.625rem;
8
- color: var(--aw-alert-color);
11
+ color: var(--aw-alert-on-color);
9
12
  }
10
13
 
11
14
  .aw-description {
@@ -30,16 +33,15 @@
30
33
  display: flex;
31
34
 
32
35
  align-items: center;
33
- margin-left: 1.75rem;
34
- margin-top: 0.5rem;
36
+ margin-top: 0.25rem;
35
37
 
36
38
  font-size: 0.875rem;
37
39
  line-height: 1.125rem;
38
40
  font-weight: 700;
39
41
 
40
42
  :where(:is(a, button):not(.aw-button)) {
41
- --btn-color: var(--aw-alert-color);
42
- color: var(--aw-alert-color);
43
+ --btn-color: var(--aw-alert-on-color) !important;
44
+ color: var(--aw-alert-on-color) !important;
43
45
  }
44
46
 
45
47
  :where(:is(a, button):not(.aw-button)) {
@@ -55,26 +57,30 @@
55
57
  }
56
58
  }
57
59
 
58
- &--title-start {
59
- .aw-alert__title {
60
- align-items: start;
60
+ &__close {
61
+ justify-content: flex-end;
62
+ margin-left: 1rem;
63
+ font-size: 0.875rem;
64
+ line-height: 1.125rem;
65
+ font-weight: 700;
66
+ color: var(--aw-alert-on-color);
67
+
68
+ :where(:is(a, button):not(.aw-button)) {
69
+ text-decoration: underline;
61
70
  }
62
- }
63
71
 
64
- &--color-default {
65
- border: 0.125rem dashed var(--c-mono-800);
72
+ a,
73
+ button {
74
+ font-size: 0.875rem;
75
+ line-height: 1.125rem;
76
+ font-weight: 700;
77
+ white-space: nowrap;
78
+ }
66
79
  }
67
- }
68
80
 
69
- @screen lg {
70
- .aw-alert {
71
- display: flex;
72
- justify-content: space-between;
73
-
74
- &__buttons {
75
- justify-content: flex-end;
76
- margin-left: 1rem;
77
- margin-top: 0;
81
+ &--title-start {
82
+ .aw-alert__title {
83
+ align-items: start;
78
84
  }
79
85
  }
80
86
  }
@@ -9,7 +9,7 @@
9
9
 
10
10
  @keyframes aw-rotate {
11
11
  to {
12
- transform: rotate(1turn)
12
+ transform: rotate(1turn);
13
13
  }
14
14
  }
15
15
 
@@ -25,35 +25,55 @@
25
25
  }
26
26
 
27
27
  @keyframes aw-shake {
28
- 0%,
29
- 100% {
30
- transform:translateX(0)
31
- }
32
- 10% {
33
- transform:translateX(-9px)
34
- }
35
- 20% {
36
- transform:translateX(8px)
37
- }
38
- 30% {
39
- transform:translateX(-7px)
40
- }
41
- 40% {
42
- transform:translateX(6px)
43
- }
44
- 50% {
45
- transform:translateX(-5px)
46
- }
47
- 60% {
48
- transform:translateX(4px)
49
- }
50
- 70% {
51
- transform:translateX(-3px)
52
- }
53
- 80% {
54
- transform:translateX(2px)
55
- }
56
- 90% {
57
- transform:translateX(-1px)
58
- }
28
+ 0%,
29
+ 100% {
30
+ transform: translateX(0);
31
+ }
32
+ 10% {
33
+ transform: translateX(-9px);
34
+ }
35
+ 20% {
36
+ transform: translateX(8px);
37
+ }
38
+ 30% {
39
+ transform: translateX(-7px);
40
+ }
41
+ 40% {
42
+ transform: translateX(6px);
43
+ }
44
+ 50% {
45
+ transform: translateX(-5px);
46
+ }
47
+ 60% {
48
+ transform: translateX(4px);
49
+ }
50
+ 70% {
51
+ transform: translateX(-3px);
52
+ }
53
+ 80% {
54
+ transform: translateX(2px);
55
+ }
56
+ 90% {
57
+ transform: translateX(-1px);
58
+ }
59
+ }
60
+
61
+ @keyframes aw-appear {
62
+ to {
63
+ opacity: 1;
64
+ }
59
65
  }
66
+
67
+ @keyframes aw-placeholder {
68
+ 0% {
69
+ transform: translateX(-100%);
70
+ opacity: 0;
71
+ }
72
+ 50% {
73
+ opacity: 1;
74
+ }
75
+ 100% {
76
+ transform: translateX(100%);
77
+ opacity: 0;
78
+ }
79
+ }
@@ -14,6 +14,7 @@
14
14
  display: inline-flex;
15
15
  align-items: center;
16
16
  justify-content: center;
17
+ gap: 0.25rem;
17
18
 
18
19
  min-height: 1.5rem;
19
20
  min-width: 1.5rem;
@@ -3,15 +3,16 @@
3
3
 
4
4
  display: grid;
5
5
  grid-gap: theme('spacing.1', 0.25rem) theme('spacing.4', 1rem);
6
- grid-template-areas: 'icon title'
7
- 'icon description';
6
+ grid-template-areas:
7
+ 'icon title'
8
+ 'icon description';
8
9
  grid-template-columns: var(--banner-text-icon-size) auto;
9
10
 
10
11
  &__icon {
11
12
  grid-area: icon;
12
13
 
13
14
  display: flex;
14
- align-items:center;
15
+ align-items: center;
15
16
  justify-content: center;
16
17
 
17
18
  width: var(--banner-text-icon-size);
@@ -25,16 +26,26 @@
25
26
  &--rounded {
26
27
  border-radius: 50%;
27
28
  }
29
+
30
+ &--square {
31
+ border-radius: 0.625rem;
32
+ }
28
33
  }
29
34
 
30
35
  &__title {
31
36
  grid-area: title;
32
37
  margin: 0;
38
+
39
+ &.aw-sub-headline {
40
+ display: flex;
41
+ gap: 0.25rem;
42
+ }
33
43
  }
34
44
 
35
45
  &__title-arrow {
36
46
  font-size: 0.875em;
37
- margin-left: -0.25em;
47
+ margin-top: 0.25rem;
48
+ /* margin-left: -0.25em; */
38
49
  }
39
50
 
40
51
  &__description {
@@ -30,7 +30,6 @@
30
30
 
31
31
  &__header-badge {
32
32
  flex-shrink: 0;
33
- margin-left: auto;
34
33
  align-self: flex-start;
35
34
  }
36
35
  }
@@ -0,0 +1,104 @@
1
+ .aw-content-placeholder {
2
+ --ph-gap-x: 1rem;
3
+ --ph-gap-y: 1rem;
4
+ --ph-border-radius: 0.5rem;
5
+
6
+ opacity: 0;
7
+ animation: aw-appear 200ms ease-in-out 100ms forwards;
8
+
9
+ display: grid;
10
+ grid-template-columns: repeat(var(--ph-columns), 1fr);
11
+ gap: var(--ph-gap-y) var(--ph-gap-x);
12
+
13
+ span {
14
+ display: block;
15
+ border-radius: var(--ph-border-radius);
16
+ width: var(--ph-width);
17
+ height: var(--ph-height);
18
+ aspect-ratio: var(--ph-aspect-ratio);
19
+
20
+ position: relative;
21
+ overflow: hidden;
22
+ background-color: rgba(var(--c-mono-800-rgb), 0.6);
23
+
24
+ &::before {
25
+ content: '';
26
+ position: absolute;
27
+ top: 0;
28
+ left: 0;
29
+ width: 100vw;
30
+ max-width: 1000px;
31
+ height: 100%;
32
+ background: linear-gradient(
33
+ to right,
34
+ transparent 0%,
35
+ rgba(var(--c-mono-800-rgb), 0.75) 15%,
36
+ transparent 30%
37
+ );
38
+
39
+ animation-duration: 1.5s;
40
+ animation-fill-mode: forwards;
41
+ animation-iteration-count: infinite;
42
+ animation-name: aw-placeholder;
43
+ animation-timing-function: linear;
44
+ }
45
+ }
46
+
47
+ &--text,
48
+ &--island {
49
+ --ph-gap-y: 0.625rem;
50
+ --ph-height: 1rem;
51
+ }
52
+
53
+ &--text > span {
54
+ width: 90%;
55
+
56
+ &:nth-child(n + 2) {
57
+ width: 100%;
58
+ }
59
+
60
+ &:nth-child(2n + 3) {
61
+ width: 95%;
62
+ }
63
+ }
64
+
65
+ &--form {
66
+ --ph-border-radius: 0.625rem;
67
+ --ph-gap-y: 1.5rem;
68
+ --ph-height: 3.5rem;
69
+ }
70
+
71
+ &--button {
72
+ display: flex;
73
+ align-items: center;
74
+
75
+ --ph-height: 2.5rem;
76
+
77
+ @screen lg {
78
+ --ph-height: 3.5rem;
79
+ }
80
+
81
+ & > span {
82
+ width: 8rem;
83
+ }
84
+ }
85
+
86
+ &--image {
87
+ --ph-width: minmax(1rem, 100%);
88
+ --ph-aspect-ratio: 16 / 9;
89
+ }
90
+
91
+ &--avatar {
92
+ --ph-width: 40px;
93
+ --ph-aspect-ratio: 1;
94
+ --ph-border-radius: 50%;
95
+ }
96
+ }
97
+
98
+ /* [data-dark='true'] .aw-content-placeholder span {
99
+ background-color: rgba(255, 255, 255, 0.08);
100
+ }
101
+
102
+ [data-dark='false'] .aw-content-placeholder span {
103
+ background-color: rgba(0, 0, 0, 0.04);
104
+ } */
@@ -55,21 +55,27 @@
55
55
  margin: 0;
56
56
  padding: 0.75rem 1.5rem;
57
57
  border-radius: 0.625rem 0.625rem 0 0;
58
-
59
- & + .aw-dropdown__content--mobile {
60
- border-top-left-radius: 0;
61
- border-top-right-radius: 0;
62
- border-top: 1px solid var(--c-mono-900);
63
- }
64
58
  }
65
59
 
66
60
  &__description {
61
+ background-color: var(--c-surface);
62
+ color: var(--c-mono-400);
63
+
67
64
  text-align: center;
68
65
  font-size: theme('fontSize.sm', 0.875rem);
69
- margin: theme('spacing.1', 0.5rem) auto 0;
66
+
67
+ margin: 0;
68
+ padding: 0.75rem theme('spacing.4', 1rem);
69
+ border-radius: 10px 10px 0 0;
70
70
  position: relative;
71
71
  }
72
72
 
73
+ &__title + &__description {
74
+ border-radius: 0;
75
+ margin-top: -0.5rem;
76
+ padding-block: 0;
77
+ }
78
+
73
79
  &__content {
74
80
  max-height: 100%;
75
81
 
@@ -95,6 +101,13 @@
95
101
  } */
96
102
  }
97
103
 
104
+ &__title + &__content--mobile,
105
+ &__description + &__content--mobile {
106
+ border-top-left-radius: 0;
107
+ border-top-right-radius: 0;
108
+ border-top: 1px solid var(--c-mono-900);
109
+ }
110
+
98
111
  &__close {
99
112
  width: 100%;
100
113
  margin-top: 1rem;
@@ -2,7 +2,75 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
5
+ justify-content: center;
5
6
  gap: 1.5rem;
7
+ opacity: 0;
6
8
 
7
- padding: 1.5rem 0;
9
+ &--padding {
10
+ @screen md {
11
+ padding: 1.25rem;
12
+ }
13
+
14
+ @acreen lg {
15
+ padding: 1.875rem;
16
+ }
17
+ }
18
+
19
+ &__icon {
20
+ width: 60px;
21
+ height: 60px;
22
+
23
+ @screen lg {
24
+ width: 80px;
25
+ height: 80px;
26
+ }
27
+ }
28
+
29
+ &__description {
30
+ max-width: 50rem;
31
+ width: 100%;
32
+ }
33
+
34
+ & > * {
35
+ opacity: 0;
36
+ transform: translateY(1.5rem);
37
+
38
+ &:nth-child(1) {
39
+ transition-delay: 140ms;
40
+ }
41
+
42
+ &:nth-child(2) {
43
+ transition-delay: 270ms;
44
+ }
45
+
46
+ &:nth-child(3) {
47
+ transition-delay: 340ms;
48
+ }
49
+
50
+ &:nth-child(4) {
51
+ transition-delay: 410ms;
52
+ }
53
+
54
+ &:nth-child(n + 5) {
55
+ transition-delay: 480ms;
56
+ }
57
+ }
58
+
59
+ img {
60
+ transform: scale(0.5);
61
+ transition-delay: 140ms;
62
+ }
63
+
64
+ &--visible {
65
+ opacity: 1;
66
+ transition: 200ms opacity cubic-bezier(0.33, 1, 0.68, 1);
67
+
68
+ & > *,
69
+ & > img {
70
+ opacity: 1;
71
+ transform: none;
72
+ transition: 300ms cubic-bezier(0.33, 1, 0.68, 1);
73
+ transition-property: transform, opacity;
74
+ }
75
+ }
8
76
  }
@@ -0,0 +1,6 @@
1
+ .aw-filter-chosen {
2
+ .aw-chip__text {
3
+ display: flex;
4
+ align-items: center;
5
+ }
6
+ }
@@ -6,12 +6,18 @@
6
6
  width: 100%;
7
7
  }
8
8
  }
9
+
10
+ .aw-filter-date-range {
11
+ .aw-dropdown__content--mobile {
12
+ max-height: 100%;
13
+ }
14
+ }
9
15
  }
10
16
 
11
17
  @screen sm {
12
18
  .aw-filter-date-range {
13
19
  &.aw-filter-date-range--width-full {
14
- width: auto;
20
+ width: auto;
15
21
 
16
22
  .aw-button {
17
23
  width: auto;
@@ -19,3 +25,13 @@
19
25
  }
20
26
  }
21
27
  }
28
+
29
+ @screen md {
30
+ .aw-filter-date-range {
31
+ &__dropdown {
32
+ width: 320px;
33
+ max-width: 100%;
34
+ min-height: 446px;
35
+ }
36
+ }
37
+ }
@@ -1,32 +1,30 @@
1
1
  .aw-filter-month {
2
- @apply inline-flex;
2
+ display: inline-flex;
3
3
 
4
- & > &__prev {
5
- @apply rounded-r-none;
6
- }
4
+ &__date {
5
+ display: flex;
6
+ flex-direction: column;
7
+ justify-content: center;
7
8
 
8
- & > &__next {
9
- @apply rounded-l-none;
10
- }
9
+ padding-inline: 1rem;
11
10
 
12
- & &__date {
13
- @apply px-4 self-stretch leading-none flex flex-col justify-center border-t border-b;
14
- border-color: theme('borderColor.default');
11
+ border: 2px solid var(--c-mono-800);
12
+ border-left-width: 0;
13
+ border-right-width: 0;
15
14
  }
16
15
 
17
16
  &.default &__date {
18
17
  min-width: 114px;
19
18
  }
20
19
 
21
- & &__label {
22
- @apply text-xs text-mono-400;
23
- }
20
+ /* &__label {
21
+ font-size: 0.75rem;
22
+ color: var(--c-mono-400);
23
+ } */
24
24
 
25
25
  &__btn {
26
- border-width: 1px;
27
- border-style: solid;
28
- border-color: theme('borderColor.default');
29
- padding: 0.5rem 0.75rem;
26
+ border: 2px solid var(--c-mono-800);
27
+ padding: 0.375rem 0.625rem;
30
28
 
31
29
  svg {
32
30
  opacity: 0.4;
@@ -37,5 +35,13 @@
37
35
  opacity: 0.9;
38
36
  }
39
37
  }
38
+
39
+ &--prev {
40
+ border-radius: 0.625rem 0 0 0.625rem;
41
+ }
42
+
43
+ &--next {
44
+ border-radius: 0 0.625rem 0.625rem 0;
45
+ }
40
46
  }
41
47
  }
@@ -0,0 +1,11 @@
1
+ .aw-filter-select {
2
+ &__buttons {
3
+ @apply overflow-auto;
4
+ max-height: 225px;
5
+ overscroll-behavior: contain;
6
+ }
7
+
8
+ .aw-dropdown {
9
+ min-width: 200px;
10
+ }
11
+ }