fulldev-ui 0.4.10 → 0.4.11
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 +3 -2
- package/pnpm-lock.yaml +3640 -2909
- package/public/images/og-image.png +0 -0
- package/src/blocks/Contact.astro +6 -4
- package/src/blocks/Intro.astro +5 -3
- package/src/blocks/Prices.astro +6 -4
- package/src/components/Avatar.astro +18 -16
- package/src/components/Badge.astro +33 -31
- package/src/components/Bento.astro +16 -14
- package/src/components/Button.astro +77 -75
- package/src/components/Card.astro +47 -45
- package/src/components/Carousel.astro +27 -25
- package/src/components/Checkbox.astro +12 -10
- package/src/components/Column.astro +35 -33
- package/src/components/Dialog.astro +19 -17
- package/src/components/Drawer.astro +39 -37
- package/src/components/Footer.astro +39 -37
- package/src/components/Grid.astro +9 -7
- package/src/components/Header.astro +58 -52
- package/src/components/Heading.astro +30 -28
- package/src/components/Icon.astro +15 -13
- package/src/components/Image.astro +93 -91
- package/src/components/Input.astro +51 -49
- package/src/components/Label.astro +11 -9
- package/src/components/Link.astro +34 -32
- package/src/components/List.astro +14 -12
- package/src/components/Masonry.astro +17 -15
- package/src/components/Rating.astro +15 -13
- package/src/components/Root.astro +8 -3
- package/src/components/Row.astro +17 -15
- package/src/components/Section.astro +62 -60
- package/src/components/Select.astro +59 -57
- package/src/components/Sidebar.astro +16 -13
- package/src/components/Split.astro +26 -24
- package/src/components/Spread.astro +18 -16
- package/src/components/Switch.astro +50 -48
- package/src/components/Table.astro +50 -48
- package/src/components/Tagline.astro +8 -6
- package/src/components/Text.astro +11 -9
- package/src/components/Textarea.astro +44 -42
- package/src/components/Toc.astro +16 -13
- package/src/components/Wrap.astro +16 -14
- package/src/components/experimental/Price.astro +11 -9
- package/src/components/experimental/Prose.astro +114 -112
- package/src/components/experimental/Window.astro +58 -56
- package/src/content/pages/index.mdx +1 -1
- package/src/content/pages/overview/frameworks.mdx +8 -17
- package/src/content/pages/overview/introduction.mdx +1 -1
- package/src/css/custom.css +0 -5
|
@@ -71,89 +71,73 @@ const {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
<style is:global lang="scss">
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
&.mask-sm {
|
|
80
|
-
-webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
|
|
81
|
-
mask-image: linear-gradient(to top, transparent 0%, black 30%);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.mask-md {
|
|
85
|
-
-webkit-mask-image: linear-gradient(to top, transparent 0%, black 65%);
|
|
86
|
-
mask-image: linear-gradient(to top, transparent 0%, black 65%);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&.mask-lg {
|
|
90
|
-
-webkit-mask-image: linear-gradient(to top, transparent 0%, black 100%);
|
|
91
|
-
mask-image: linear-gradient(to top, transparent 0%, black 100%);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.radius-none {
|
|
95
|
-
border-radius: 0;
|
|
96
|
-
}
|
|
74
|
+
@layer fulldev {
|
|
75
|
+
.image {
|
|
76
|
+
display: block;
|
|
77
|
+
width: 100%;
|
|
78
|
+
height: auto;
|
|
97
79
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
80
|
+
&.mask-sm {
|
|
81
|
+
-webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
|
|
82
|
+
mask-image: linear-gradient(to top, transparent 0%, black 30%);
|
|
83
|
+
}
|
|
101
84
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
85
|
+
&.mask-md {
|
|
86
|
+
-webkit-mask-image: linear-gradient(to top, transparent 0%, black 65%);
|
|
87
|
+
mask-image: linear-gradient(to top, transparent 0%, black 65%);
|
|
88
|
+
}
|
|
105
89
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
bottom: 0;
|
|
111
|
-
left: 0;
|
|
112
|
-
z-index: -1;
|
|
113
|
-
margin: 0 !important;
|
|
114
|
-
border-radius: 0;
|
|
115
|
-
width: 100%;
|
|
116
|
-
max-width: none;
|
|
117
|
-
height: 100%;
|
|
118
|
-
max-height: 100%;
|
|
119
|
-
object-fit: cover;
|
|
120
|
-
}
|
|
90
|
+
&.mask-lg {
|
|
91
|
+
-webkit-mask-image: linear-gradient(to top, transparent 0%, black 100%);
|
|
92
|
+
mask-image: linear-gradient(to top, transparent 0%, black 100%);
|
|
93
|
+
}
|
|
121
94
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
object-fit: cover;
|
|
126
|
-
}
|
|
95
|
+
&.radius-none {
|
|
96
|
+
border-radius: 0;
|
|
97
|
+
}
|
|
127
98
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
object-fit: contain;
|
|
132
|
-
object-position: center;
|
|
133
|
-
}
|
|
99
|
+
&.radius-auto {
|
|
100
|
+
border-radius: var(--radius-1);
|
|
101
|
+
}
|
|
134
102
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
103
|
+
&.radius-full {
|
|
104
|
+
border-radius: 9999px;
|
|
105
|
+
}
|
|
138
106
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
107
|
+
&.position-background {
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: 0;
|
|
110
|
+
right: 0;
|
|
111
|
+
bottom: 0;
|
|
112
|
+
left: 0;
|
|
113
|
+
z-index: -1;
|
|
114
|
+
margin: 0 !important;
|
|
115
|
+
border-radius: 0;
|
|
116
|
+
width: 100%;
|
|
117
|
+
max-width: none;
|
|
118
|
+
height: 100%;
|
|
119
|
+
max-height: 100%;
|
|
120
|
+
object-fit: cover;
|
|
121
|
+
}
|
|
143
122
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
123
|
+
&.position-cover {
|
|
124
|
+
width: 100%;
|
|
125
|
+
height: 100%;
|
|
126
|
+
object-fit: cover;
|
|
127
|
+
}
|
|
148
128
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
129
|
+
&.position-container {
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 100%;
|
|
132
|
+
object-fit: contain;
|
|
133
|
+
object-position: center;
|
|
153
134
|
}
|
|
154
135
|
|
|
155
|
-
|
|
156
|
-
|
|
136
|
+
&.position-inset {
|
|
137
|
+
max-width: none;
|
|
138
|
+
object-fit: cover;
|
|
139
|
+
|
|
140
|
+
&:is(.structure-column > &) {
|
|
157
141
|
margin-right: calc(var(--inset-right) * -1);
|
|
158
142
|
margin-left: calc(var(--inset-left) * -1);
|
|
159
143
|
width: calc(100% + var(--inset-left) + var(--inset-right));
|
|
@@ -169,34 +153,52 @@ const {
|
|
|
169
153
|
}
|
|
170
154
|
}
|
|
171
155
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
height: calc(100% + var(--inset-top) * 1 + var(--inset-bottom) * 1);
|
|
176
|
-
|
|
177
|
-
&.image:first-child {
|
|
156
|
+
&:is(.structure-split > &) {
|
|
157
|
+
@media (max-width: 1023.999px) {
|
|
158
|
+
margin-right: calc(var(--inset-right) * -1);
|
|
178
159
|
margin-left: calc(var(--inset-left) * -1);
|
|
179
|
-
width: calc(100% + var(--inset-left)
|
|
160
|
+
width: calc(100% + var(--inset-left) + var(--inset-right));
|
|
161
|
+
|
|
162
|
+
&.image:first-child {
|
|
163
|
+
margin-top: calc(var(--inset-top) * -1);
|
|
164
|
+
height: calc(100% + var(--inset-top) * 1);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&.image:last-child {
|
|
168
|
+
margin-bottom: calc(var(--inset-bottom) * -1);
|
|
169
|
+
height: calc(100% + var(--inset-bottom) * 1);
|
|
170
|
+
}
|
|
180
171
|
}
|
|
181
172
|
|
|
182
|
-
|
|
183
|
-
margin-
|
|
184
|
-
|
|
173
|
+
@media (min-width: 1024px) {
|
|
174
|
+
margin-top: calc(var(--inset-top) * -1);
|
|
175
|
+
margin-bottom: calc(var(--inset-bottom) * -1);
|
|
176
|
+
height: calc(100% + var(--inset-top) * 1 + var(--inset-bottom) * 1);
|
|
177
|
+
|
|
178
|
+
&.image:first-child {
|
|
179
|
+
margin-left: calc(var(--inset-left) * -1);
|
|
180
|
+
width: calc(100% + var(--inset-left) * 1);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&.image:last-child {
|
|
184
|
+
margin-right: calc(var(--inset-right) * -1);
|
|
185
|
+
width: calc(100% + var(--inset-right) * 1);
|
|
186
|
+
}
|
|
185
187
|
}
|
|
186
188
|
}
|
|
187
189
|
}
|
|
188
|
-
}
|
|
189
190
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
&.ratio-landscape {
|
|
192
|
+
aspect-ratio: 4/3;
|
|
193
|
+
}
|
|
193
194
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
&.ratio-square {
|
|
196
|
+
aspect-ratio: 1/1;
|
|
197
|
+
}
|
|
197
198
|
|
|
198
|
-
|
|
199
|
-
|
|
199
|
+
&.ratio-portrait {
|
|
200
|
+
aspect-ratio: 3/4;
|
|
201
|
+
}
|
|
200
202
|
}
|
|
201
203
|
}
|
|
202
204
|
</style>
|
|
@@ -52,67 +52,69 @@ const {
|
|
|
52
52
|
</Root>
|
|
53
53
|
|
|
54
54
|
<style is:global lang="scss">
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
position: relative;
|
|
58
|
-
flex-direction: column;
|
|
59
|
-
gap: var(--space-1);
|
|
60
|
-
width: 100%;
|
|
61
|
-
|
|
62
|
-
.icon {
|
|
63
|
-
position: absolute;
|
|
64
|
-
right: var(--space-4);
|
|
65
|
-
bottom: var(--space-4);
|
|
66
|
-
pointer-events: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
input {
|
|
55
|
+
@layer fulldev {
|
|
56
|
+
.input {
|
|
70
57
|
display: flex;
|
|
71
58
|
position: relative;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
border: 1px solid var(--color-6);
|
|
75
|
-
border-radius: var(--radius-1);
|
|
76
|
-
background-color: transparent;
|
|
77
|
-
padding: var(--space-4);
|
|
78
|
-
padding-right: calc(var(--text-2) + 2 * var(--space-4));
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
gap: var(--space-1);
|
|
79
61
|
width: 100%;
|
|
80
|
-
min-width: var(--space-4);
|
|
81
|
-
height: calc(var(--text-2) + 2 * var(--space-4));
|
|
82
|
-
color: var(--text);
|
|
83
|
-
font-size: var(--text-2);
|
|
84
|
-
line-height: 1.25;
|
|
85
62
|
|
|
86
|
-
|
|
87
|
-
|
|
63
|
+
.icon {
|
|
64
|
+
position: absolute;
|
|
65
|
+
right: var(--space-4);
|
|
66
|
+
bottom: var(--space-4);
|
|
67
|
+
pointer-events: none;
|
|
88
68
|
}
|
|
89
69
|
|
|
90
|
-
|
|
70
|
+
input {
|
|
71
|
+
display: flex;
|
|
72
|
+
position: relative;
|
|
73
|
+
align-items: center;
|
|
74
|
+
outline: none;
|
|
75
|
+
border: 1px solid var(--color-6);
|
|
91
76
|
border-radius: var(--radius-1);
|
|
92
|
-
|
|
77
|
+
background-color: transparent;
|
|
78
|
+
padding: var(--space-4);
|
|
79
|
+
padding-right: calc(var(--text-2) + 2 * var(--space-4));
|
|
80
|
+
width: 100%;
|
|
81
|
+
min-width: var(--space-4);
|
|
82
|
+
height: calc(var(--text-2) + 2 * var(--space-4));
|
|
83
|
+
color: var(--text);
|
|
84
|
+
font-size: var(--text-2);
|
|
85
|
+
line-height: 1.25;
|
|
93
86
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
87
|
+
&.radius-none {
|
|
88
|
+
border-radius: 0;
|
|
89
|
+
}
|
|
97
90
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
91
|
+
&.radius-auto {
|
|
92
|
+
border-radius: var(--radius-1);
|
|
93
|
+
}
|
|
101
94
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
95
|
+
&.radius-full {
|
|
96
|
+
border-radius: 9999px;
|
|
97
|
+
}
|
|
105
98
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
border-color: var(--color-7);
|
|
110
|
-
}
|
|
99
|
+
&::placeholder {
|
|
100
|
+
color: var(--color-11);
|
|
101
|
+
}
|
|
111
102
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
103
|
+
&:hover {
|
|
104
|
+
outline: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:focus {
|
|
108
|
+
outline: none;
|
|
109
|
+
box-shadow: inset 0 0 0 2px var(--color-7);
|
|
110
|
+
border-color: var(--color-7);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&:disabled {
|
|
114
|
+
opacity: 50%;
|
|
115
|
+
cursor: not-allowed;
|
|
116
|
+
pointer-events: none;
|
|
117
|
+
}
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
}
|
|
@@ -25,14 +25,16 @@ const { as = 'label', html, text, ...rest } = Astro.props
|
|
|
25
25
|
</Root>
|
|
26
26
|
|
|
27
27
|
<style is:global lang="scss">
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
@layer fulldev {
|
|
29
|
+
.label {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
color: var(--color-11);
|
|
33
|
+
font-size: var(--text-2);
|
|
34
|
+
line-height: 1;
|
|
35
|
+
font-family: var(--font-family);
|
|
36
|
+
text-align: left;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
37
39
|
}
|
|
38
40
|
</style>
|
|
@@ -27,47 +27,49 @@ const { html, text, as = 'a', underline = 'auto', ...rest } = Astro.props
|
|
|
27
27
|
</Root>
|
|
28
28
|
|
|
29
29
|
<style is:global lang="scss">
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
@layer fulldev {
|
|
31
|
+
.link {
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
align-items: center;
|
|
35
|
+
gap: var(--space-2);
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
border: none;
|
|
38
|
+
background: none;
|
|
39
|
+
color: var(--color-11);
|
|
40
|
+
font-weight: var(--font-weight);
|
|
41
|
+
font-size: var(--text-3);
|
|
42
|
+
font-family: var(--font-family);
|
|
43
|
+
text-decoration-color: var(--border); // FIXME, werkt niet
|
|
44
|
+
white-space: nowrap;
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
&:hover {
|
|
47
|
+
color: var(--color-12);
|
|
48
|
+
}
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
&.underline-auto {
|
|
51
|
+
text-decoration: none;
|
|
51
52
|
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
&:is(p > &) {
|
|
54
|
+
text-decoration: underline;
|
|
55
|
+
}
|
|
54
56
|
}
|
|
55
|
-
}
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
&.underline-always {
|
|
59
|
+
text-decoration: underline;
|
|
60
|
+
}
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
&.underline-hover {
|
|
63
|
+
text-decoration: none;
|
|
63
64
|
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
&:hover {
|
|
66
|
+
text-decoration: underline;
|
|
67
|
+
}
|
|
66
68
|
}
|
|
67
|
-
}
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
&.underline-none {
|
|
71
|
+
text-decoration: none;
|
|
72
|
+
}
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
</style>
|
|
@@ -21,21 +21,23 @@ const { as = 'ul', items, ...rest } = Astro.props
|
|
|
21
21
|
</Root>
|
|
22
22
|
|
|
23
23
|
<style is:global lang="scss">
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
font-size: var(--text-2);
|
|
30
|
-
line-height: 1.625;
|
|
31
|
-
list-style-type: disc;
|
|
32
|
-
|
|
33
|
-
li {
|
|
34
|
-
align-items: center;
|
|
35
|
-
max-width: calc(var(--space-4) * 44);
|
|
24
|
+
@layer fulldev {
|
|
25
|
+
.list {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
padding-left: var(--space-5);
|
|
36
29
|
color: var(--color-11);
|
|
37
30
|
font-size: var(--text-2);
|
|
38
31
|
line-height: 1.625;
|
|
32
|
+
list-style-type: disc;
|
|
33
|
+
|
|
34
|
+
li {
|
|
35
|
+
align-items: center;
|
|
36
|
+
max-width: calc(var(--space-4) * 44);
|
|
37
|
+
color: var(--color-11);
|
|
38
|
+
font-size: var(--text-2);
|
|
39
|
+
line-height: 1.625;
|
|
40
|
+
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
</style>
|
|
@@ -18,23 +18,25 @@ const { ...rest } = Astro.props
|
|
|
18
18
|
</Root>
|
|
19
19
|
|
|
20
20
|
<style is:global lang="scss">
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
@layer fulldev {
|
|
22
|
+
.masonry {
|
|
23
|
+
--column-width: calc(21 * var(--space-4));
|
|
24
|
+
--gap: var(--space-4);
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
break-inside: avoid;
|
|
31
|
-
width: 100%;
|
|
32
|
-
|
|
33
|
-
& > .root + .root,
|
|
34
|
-
& > * + * {
|
|
26
|
+
position: relative;
|
|
27
|
+
column-gap: var(--gap);
|
|
28
|
+
column-fill: balance;
|
|
29
|
+
column-width: var(--column-width);
|
|
30
|
+
column-count: 6;
|
|
35
31
|
break-inside: avoid;
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
width: 100%;
|
|
33
|
+
|
|
34
|
+
& > .root + .root,
|
|
35
|
+
& > * + * {
|
|
36
|
+
break-inside: avoid;
|
|
37
|
+
margin-top: var(--gap);
|
|
38
|
+
margin-bottom: var(--gap);
|
|
39
|
+
}
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
</style>
|
|
@@ -61,22 +61,24 @@ const getIcon = (count: number) => {
|
|
|
61
61
|
</Root>
|
|
62
62
|
|
|
63
63
|
<style is:global lang="scss">
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
@layer fulldev {
|
|
65
|
+
.rating {
|
|
66
|
+
display: flex;
|
|
67
|
+
gap: var(--space-4);
|
|
67
68
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
.avatar + .avatar {
|
|
70
|
+
margin-left: calc(var(--space-4) * -2.5);
|
|
71
|
+
}
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
.label {
|
|
74
|
+
margin-top: var(--space-2) !important;
|
|
75
|
+
}
|
|
75
76
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
.stars {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
gap: var(--space-2);
|
|
81
|
+
}
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
84
|
</style>
|
|
@@ -79,13 +79,18 @@ const render =
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
<style is:global lang="scss">
|
|
82
|
+
@import '@unocss/reset/tailwind.css' layer(base);
|
|
82
83
|
@import '../css/color.css';
|
|
83
84
|
@import '../css/styles.css';
|
|
84
85
|
@import '../css/size.css';
|
|
85
86
|
@import '../css/space.css';
|
|
86
87
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
@layer base, fulldev;
|
|
89
|
+
|
|
90
|
+
@layer fulldev {
|
|
91
|
+
.root {
|
|
92
|
+
z-index: 1;
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
}
|
|
90
95
|
}
|
|
91
96
|
</style>
|
package/src/components/Row.astro
CHANGED
|
@@ -22,25 +22,27 @@ const { space = 'auto', align = 'center', ...rest } = Astro.props
|
|
|
22
22
|
</Root>
|
|
23
23
|
|
|
24
24
|
<style is:global lang="scss">
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
@layer fulldev {
|
|
26
|
+
.row {
|
|
27
|
+
display: flex;
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
&.align-start {
|
|
30
|
+
align-items: flex-start;
|
|
31
|
+
text-align: left;
|
|
32
|
+
}
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
&.align-center {
|
|
35
|
+
align-items: center;
|
|
36
|
+
}
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
&.align-end {
|
|
39
|
+
align-items: flex-end;
|
|
40
|
+
}
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
&.space-auto {
|
|
43
|
+
> * + * {
|
|
44
|
+
margin-left: var(--space-auto);
|
|
45
|
+
}
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
}
|