@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.
- package/assets/css/components/_index.css +7 -1
- package/assets/css/components/action-card.css +1 -0
- package/assets/css/components/action-icon.css +2 -2
- package/assets/css/components/alert.css +28 -22
- package/assets/css/components/animation.css +52 -32
- package/assets/css/components/badge.css +1 -0
- package/assets/css/components/banner-text.css +15 -4
- package/assets/css/components/card.css +0 -1
- package/assets/css/components/content-placeholder.css +104 -0
- package/assets/css/components/dropdown.css +20 -7
- package/assets/css/components/empty-container.css +69 -1
- package/assets/css/components/filter-chosen.css +6 -0
- package/assets/css/components/filter-date-range.css +17 -1
- package/assets/css/components/filter-month.css +23 -17
- package/assets/css/components/filter-select.css +11 -0
- package/assets/css/components/icon-menu-item.css +12 -7
- package/assets/css/components/layout.css +1 -32
- package/assets/css/components/mobile-menu-nav.css +8 -4
- package/assets/css/components/modal.css +1 -1
- package/assets/css/components/number.css +12 -0
- package/assets/css/components/page-aside.css +54 -0
- package/assets/css/components/text-field.css +4 -0
- package/assets/js/css.js +1 -1
- package/assets/js/icons/mono.js +59 -91
- package/assets/js/icons/multicolor.js +1 -31
- package/components/1_atoms/AwActionIcon.vue +11 -2
- package/components/1_atoms/AwContentPlaceholder.vue +60 -0
- package/components/1_atoms/AwFlow.vue +37 -49
- package/components/1_atoms/AwGrid.vue +11 -3
- package/components/1_atoms/AwIcon/AwIcon.vue +5 -3
- package/components/1_atoms/AwIcon/AwIconSystemMono.vue +3 -2
- package/components/1_atoms/AwInput.vue +2 -2
- package/components/1_atoms/AwLabel.vue +1 -1
- package/components/1_atoms/AwList.vue +3 -1
- package/components/1_atoms/AwRadio.vue +1 -1
- package/components/1_atoms/AwSlider.vue +15 -1
- package/components/1_atoms/AwTag.vue +6 -1
- package/components/2_molecules/AwAlert.vue +63 -42
- package/components/2_molecules/AwBadge.vue +1 -1
- package/components/2_molecules/AwBannerText.vue +8 -2
- package/components/2_molecules/AwButton.vue +1 -1
- package/components/2_molecules/AwDescriptionInput.vue +19 -1
- package/components/2_molecules/AwEmptyContainer.vue +74 -72
- package/components/2_molecules/AwNumber.vue +180 -0
- package/components/2_molecules/AwSelect.vue +11 -4
- package/components/3_organisms/AwBottomBar.vue +22 -4
- package/components/3_organisms/AwFilterChosen.vue +73 -0
- package/components/3_organisms/AwFilterDateRange.vue +177 -0
- package/components/3_organisms/AwFilterMonth.vue +37 -40
- package/components/3_organisms/AwFilterSelect.vue +368 -0
- package/components/3_organisms/AwMultiBlockBuilder.vue +1 -1
- package/components/3_organisms/AwSubnav.vue +11 -1
- package/components/3_organisms/AwTable/AwTableBuilder.vue +20 -60
- package/components/3_organisms/AwTable/_AwTableCellDropdown.vue +6 -1
- package/components/3_organisms/AwTable/_AwTableRow.vue +2 -1
- package/components/4_pages/AwPage.vue +1 -0
- package/components/4_pages/AwPageAside.vue +108 -0
- package/components/5_layouts/AwLayoutCenter.vue +3 -8
- package/components/5_layouts/_AwMenuItemIcon.vue +9 -2
- package/components/5_layouts/_AwMobileMenuItem.vue +5 -3
- package/components/5_layouts/_AwUserMenu.vue +1 -1
- package/components/_config.js +26 -1
- package/docs/_template.md +80 -0
- package/docs/components/atoms/aw-accordion-fold.md +129 -0
- package/docs/components/atoms/aw-action-card-body.md +99 -0
- package/docs/components/atoms/aw-action-card.md +130 -0
- package/docs/components/atoms/aw-action-icon.md +126 -0
- package/docs/components/atoms/aw-avatar.md +106 -0
- package/docs/components/atoms/aw-card.md +137 -0
- package/docs/components/atoms/aw-checkbox.md +288 -0
- package/docs/components/atoms/aw-content-placeholder.md +147 -0
- package/docs/components/atoms/aw-description.md +83 -0
- package/docs/components/atoms/aw-dock.md +90 -0
- package/docs/components/atoms/aw-dropdown-button.md +94 -0
- package/docs/components/atoms/aw-dropdown.md +178 -0
- package/docs/components/atoms/aw-file.md +73 -0
- package/docs/components/atoms/aw-flow.md +140 -0
- package/docs/components/atoms/aw-grid.md +109 -0
- package/docs/components/atoms/aw-headline.md +71 -0
- package/docs/components/atoms/aw-icon-system-color.md +122 -0
- package/docs/components/atoms/aw-icon-system-mono.md +206 -0
- package/docs/components/atoms/aw-icon.md +235 -0
- package/docs/components/atoms/aw-info.md +123 -0
- package/docs/components/atoms/aw-input.md +212 -0
- package/docs/components/atoms/aw-label.md +136 -0
- package/docs/components/atoms/aw-link.md +151 -0
- package/docs/components/atoms/aw-list.md +152 -0
- package/docs/components/atoms/aw-progress.md +119 -0
- package/docs/components/atoms/aw-radio.md +182 -0
- package/docs/components/atoms/aw-refresh-wrapper.md +81 -0
- package/docs/components/atoms/aw-select-native.md +234 -0
- package/docs/components/atoms/aw-slider.md +189 -0
- package/docs/components/atoms/aw-sub-headline.md +73 -0
- package/docs/components/atoms/aw-switcher.md +192 -0
- package/docs/components/atoms/aw-tag.md +144 -0
- package/docs/components/atoms/aw-title.md +70 -0
- package/docs/components/atoms/aw-toggler.md +90 -0
- package/docs/components/layouts/aw-layout-center.md +168 -0
- package/docs/components/layouts/aw-layout-error.md +153 -0
- package/docs/components/layouts/aw-layout-provider.md +238 -0
- package/docs/components/layouts/aw-layout.md +88 -0
- package/docs/components/molecules/aw-action-button.md +138 -0
- package/docs/components/molecules/aw-alert.md +191 -0
- package/docs/components/molecules/aw-badge.md +129 -0
- package/docs/components/molecules/aw-banner-text.md +156 -0
- package/docs/components/molecules/aw-button-nav.md +111 -0
- package/docs/components/molecules/aw-button.md +193 -0
- package/docs/components/molecules/aw-description-input.md +124 -0
- package/docs/components/molecules/aw-empty-container.md +235 -0
- package/docs/components/molecules/aw-island.md +506 -0
- package/docs/components/molecules/aw-number.md +138 -0
- package/docs/components/molecules/aw-select-object.md +401 -0
- package/docs/components/molecules/aw-select.md +215 -0
- package/docs/components/molecules/aw-tab-nav.md +108 -0
- package/docs/components/molecules/aw-tel.md +129 -0
- package/docs/components/molecules/aw-textarea.md +83 -0
- package/docs/components/molecules/aw-userpic.md +115 -0
- package/docs/components/organisms/aw-address-block.md +64 -0
- package/docs/components/organisms/aw-address.md +132 -0
- package/docs/components/organisms/aw-birthday-picker.md +73 -0
- package/docs/components/organisms/aw-bottom-bar.md +66 -0
- package/docs/components/organisms/aw-calendar-days.md +115 -0
- package/docs/components/organisms/aw-calendar-nav.md +98 -0
- package/docs/components/organisms/aw-calendar-view.md +98 -0
- package/docs/components/organisms/aw-calendar.md +166 -0
- package/docs/components/organisms/aw-chart.md +154 -0
- package/docs/components/organisms/aw-chip-select.md +164 -0
- package/docs/components/organisms/aw-chip.md +126 -0
- package/docs/components/organisms/aw-code-snippet.md +94 -0
- package/docs/components/organisms/aw-code.md +132 -0
- package/docs/components/organisms/aw-context-menu.md +117 -0
- package/docs/components/organisms/aw-cropper.md +151 -0
- package/docs/components/organisms/aw-date.md +161 -0
- package/docs/components/organisms/aw-display-date.md +33 -0
- package/docs/components/organisms/aw-download-link.md +46 -0
- package/docs/components/organisms/aw-fetch-data.md +161 -0
- package/docs/components/organisms/aw-filter-chosen.md +226 -0
- package/docs/components/organisms/aw-filter-date-range.md +205 -0
- package/docs/components/organisms/aw-filter-month.md +43 -0
- package/docs/components/organisms/aw-filter-select.md +239 -0
- package/docs/components/organisms/aw-form.md +174 -0
- package/docs/components/organisms/aw-gmap-marker.md +86 -0
- package/docs/components/organisms/aw-gmap.md +90 -0
- package/docs/components/organisms/aw-image-upload.md +56 -0
- package/docs/components/organisms/aw-island-avatar.md +87 -0
- package/docs/components/organisms/aw-markdown-editor.md +104 -0
- package/docs/components/organisms/aw-modal-buttons.md +57 -0
- package/docs/components/organisms/aw-modal.md +246 -0
- package/docs/components/organisms/aw-model-edit.md +74 -0
- package/docs/components/organisms/aw-money.md +53 -0
- package/docs/components/organisms/aw-multi-block-builder.md +165 -0
- package/docs/components/organisms/aw-pagination.md +121 -0
- package/docs/components/organisms/aw-password.md +103 -0
- package/docs/components/organisms/aw-preview-card.md +45 -0
- package/docs/components/organisms/aw-search.md +116 -0
- package/docs/components/organisms/aw-subnav.md +122 -0
- package/docs/components/organisms/aw-table-builder.md +165 -0
- package/docs/components/organisms/aw-table-col.md +123 -0
- package/docs/components/organisms/aw-table-head.md +92 -0
- package/docs/components/organisms/aw-table-row.md +91 -0
- package/docs/components/organisms/aw-table.md +172 -0
- package/docs/components/organisms/aw-tags.md +54 -0
- package/docs/components/organisms/aw-toggle-show-aside.md +43 -0
- package/docs/components/organisms/aw-uploader-files.md +125 -0
- package/docs/components/organisms/aw-uploader.md +163 -0
- package/docs/components/organisms/aw-user-menu.md +87 -0
- package/docs/components/pages/aw-page-aside.md +296 -0
- package/docs/components/pages/aw-page-menu-buttons.md +172 -0
- package/docs/components/pages/aw-page-modal.md +198 -0
- package/docs/components/pages/aw-page-single.md +300 -0
- package/docs/components/pages/aw-page.md +194 -0
- package/docs/configuration.md +493 -0
- package/docs/cookbook/advanced-patterns.md +1388 -0
- package/docs/cookbook/common-patterns.md +965 -0
- package/docs/cookbook/index.md +786 -0
- package/docs/getting-started.md +596 -0
- package/docs/guides/best-practices.md +1106 -0
- package/docs/guides/data-fetching.md +852 -0
- package/docs/guides/error-handling.md +1172 -0
- package/docs/guides/forms-guide.md +1329 -0
- package/docs/guides/mobile-subnavigation.md +359 -0
- package/docs/guides/page-patterns/aside-pages.md +1418 -0
- package/docs/guides/page-patterns/dashboard-pages.md +990 -0
- package/docs/guides/page-patterns/detail-pages.md +1556 -0
- package/docs/guides/page-patterns/list-pages.md +1242 -0
- package/docs/index.md +263 -1
- package/docs/integrations.md +870 -0
- package/docs/reference/colors.md +232 -0
- package/docs/reference/icons.md +163 -0
- package/docs/reference/menu.md +462 -0
- package/docs/reference/plugins.md +970 -0
- package/docs/reference/troubleshooting.md +964 -0
- package/nuxt/awes.config.js +9 -8
- package/nuxt/index.js +2 -2
- package/nuxt/pages/more.vue +1 -1
- package/package.json +5 -3
- package/readme.md +171 -1
- package/store/awesIo.js +11 -0
- package/CHANGELOG.md +0 -4520
- package/docs/aw-accordion-fold.md +0 -46
- package/docs/aw-address.md +0 -44
- package/docs/aw-avatar.md +0 -51
- package/docs/aw-badge.md +0 -32
- package/docs/aw-button-nav.md +0 -44
- package/docs/aw-button.md +0 -50
- package/docs/aw-calendar-days.md +0 -46
- package/docs/aw-calendar-nav.md +0 -25
- package/docs/aw-calendar-view.md +0 -12
- package/docs/aw-calendar.md +0 -59
- package/docs/aw-card.md +0 -48
- package/docs/aw-chart.md +0 -51
- package/docs/aw-checkbox.md +0 -56
- package/docs/aw-chip-select.md +0 -46
- package/docs/aw-chip.md +0 -53
- package/docs/aw-code-snippet.md +0 -18
- package/docs/aw-code.md +0 -56
- package/docs/aw-content-wrapper.md +0 -40
- package/docs/aw-context-menu.md +0 -31
- package/docs/aw-cropper.md +0 -60
- package/docs/aw-dashboard-card.md +0 -37
- package/docs/aw-dashboard-donut.md +0 -30
- package/docs/aw-dashboard-line.md +0 -20
- package/docs/aw-dashboard-progress.md +0 -33
- package/docs/aw-dashboard-section.md +0 -32
- package/docs/aw-dashboard-speed.md +0 -30
- package/docs/aw-date.md +0 -52
- package/docs/aw-dropdown-button.md +0 -31
- package/docs/aw-dropdown.md +0 -69
- package/docs/aw-fetch-data.md +0 -45
- package/docs/aw-form.md +0 -52
- package/docs/aw-grid.md +0 -48
- package/docs/aw-icon.md +0 -50
- package/docs/aw-info.md +0 -53
- package/docs/aw-input.md +0 -55
- package/docs/aw-layout-default.md +0 -30
- package/docs/aw-layout-frame-center.md +0 -29
- package/docs/aw-layout-simple.md +0 -49
- package/docs/aw-link.md +0 -54
- package/docs/aw-markdown-editor.md +0 -51
- package/docs/aw-modal.md +0 -63
- package/docs/aw-multi-block-builder.md +0 -66
- package/docs/aw-page.md +0 -36
- package/docs/aw-pagination.md +0 -54
- package/docs/aw-password.md +0 -48
- package/docs/aw-radio.md +0 -54
- package/docs/aw-search.md +0 -49
- package/docs/aw-select.md +0 -93
- package/docs/aw-slider.md +0 -40
- package/docs/aw-svg-image.md +0 -19
- package/docs/aw-switcher.md +0 -51
- package/docs/aw-tab-nav.md +0 -55
- package/docs/aw-table-builder.md +0 -58
- package/docs/aw-table-col.md +0 -33
- package/docs/aw-table-head.md +0 -28
- package/docs/aw-table-row.md +0 -33
- package/docs/aw-table.md +0 -59
- package/docs/aw-tel.md +0 -47
- package/docs/aw-textarea.md +0 -47
- package/docs/aw-toggler.md +0 -41
- package/docs/aw-uploader-files.md +0 -20
- package/docs/aw-uploader.md +0 -60
- package/docs/aw-user-menu.md +0 -34
- package/docs/aw-userpic.md +0 -34
- /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';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
flex-shrink: 0;
|
|
8
8
|
|
|
9
9
|
width: var(--size);
|
|
10
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
|
|
65
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
+
}
|
|
@@ -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:
|
|
7
|
-
|
|
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-
|
|
47
|
+
margin-top: 0.25rem;
|
|
48
|
+
/* margin-left: -0.25em; */
|
|
38
49
|
}
|
|
39
50
|
|
|
40
51
|
&__description {
|
|
@@ -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
|
-
|
|
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
|
|
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
|
}
|
|
@@ -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
|
-
|
|
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
|
-
|
|
2
|
+
display: inline-flex;
|
|
3
3
|
|
|
4
|
-
&
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
&__date {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
justify-content: center;
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
@apply rounded-l-none;
|
|
10
|
-
}
|
|
9
|
+
padding-inline: 1rem;
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
border-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
/* &__label {
|
|
21
|
+
font-size: 0.75rem;
|
|
22
|
+
color: var(--c-mono-400);
|
|
23
|
+
} */
|
|
24
24
|
|
|
25
25
|
&__btn {
|
|
26
|
-
border
|
|
27
|
-
|
|
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
|
}
|