fulldev-ui 0.2.10 → 0.2.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 +1 -1
- package/src/components/base/Checkbox.astro +1 -1
- package/src/components/base/Radio.astro +1 -1
- package/src/components/segment/Card.astro +0 -1
- package/src/components/structure/Row.astro +26 -0
- package/src/components/typography/Label.astro +1 -1
- package/src/css/styles.css +0 -1
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
import type { ComponentProps, HTMLTag, Polymorphic } from 'astro/types'
|
|
3
|
+
import Tag from '../_Tag.astro'
|
|
4
|
+
|
|
5
|
+
type Props<As extends HTMLTag = 'div'> = Polymorphic<{ as: As }> &
|
|
6
|
+
ComponentProps<typeof Tag>
|
|
7
|
+
|
|
8
|
+
const { ...rest } = Astro.props
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<Tag
|
|
12
|
+
class:list={['row']}
|
|
13
|
+
{...rest}
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</Tag>
|
|
17
|
+
|
|
18
|
+
<style is:global lang="scss">
|
|
19
|
+
@import '../../css/utils.scss';
|
|
20
|
+
|
|
21
|
+
@include component('row') {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: var(--space-4);
|
|
25
|
+
}
|
|
26
|
+
</style>
|
package/src/css/styles.css
CHANGED
package/src/index.ts
CHANGED
|
@@ -43,6 +43,7 @@ export { default as Carousel } from './components/structure/Carousel.astro'
|
|
|
43
43
|
export { default as Grid } from './components/structure/Grid.astro'
|
|
44
44
|
export { default as Group } from './components/structure/Group.astro'
|
|
45
45
|
export { default as Masonry } from './components/structure/Masonry.astro'
|
|
46
|
+
export { default as Row } from './components/structure/Row.astro'
|
|
46
47
|
export { default as Split } from './components/structure/Split.astro'
|
|
47
48
|
export { default as Spread } from './components/structure/Spread.astro'
|
|
48
49
|
export { default as Stack } from './components/structure/Stack.astro'
|