fulldev-ui 0.3.5 → 0.3.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "A component library built for Astro",
5
5
  "homepage": "https://ui.full.dev",
6
6
  "bugs": "https://github.com/fulldotdev/ui/issues",
@@ -4,8 +4,8 @@ interface Props {
4
4
  [key: string | number | symbol]: any
5
5
  }
6
6
 
7
- const libraryComponents = await Astro.glob('../**/*.astro')
8
- const userComponents = await Astro.glob('/src/**/*.astro')
7
+ const libraryComponents = await Astro.glob('../blocks/**/*.astro')
8
+ const userComponents = await Astro.glob('/src/blocks/**/*.astro')
9
9
  const components = [...userComponents, ...libraryComponents]
10
10
 
11
11
  const { _block, ...rest } = Astro.props
@@ -1,6 +1,6 @@
1
- ---
2
- import { isObject, pascal } from 'radash'
3
- import { isArray, isString } from 'remeda'
1
+ <!-- ---
2
+ import { isObject,pascal } from 'radash'
3
+ import { isArray,isString } from 'remeda'
4
4
 
5
5
  interface Props {
6
6
  [key: string]: any
@@ -28,4 +28,4 @@ const components = await Astro.glob('../**/*.astro')
28
28
  if (isObject(value) || isArray(value)) return <Component {...value} />
29
29
  return <Component html={value} />
30
30
  })
31
- }
31
+ } -->
@@ -1,4 +1,4 @@
1
- ---
1
+ <!-- ---
2
2
  import type { Polymorphic } from 'astro/types'
3
3
  import '../../../css/utils.scss'
4
4
  import Component from '../../_Component.astro'
@@ -63,4 +63,4 @@ const {
63
63
  gap: var(--space-3);
64
64
  width: 100%;
65
65
  }
66
- </style>
66
+ </style> -->
@@ -1,4 +1,4 @@
1
- ---
1
+ <!-- ---
2
2
  import type { HTMLAttributes } from 'astro/types'
3
3
  import Component from '../../_Component.astro'
4
4
 
@@ -31,4 +31,4 @@ const { label, value, name, options, ...rest } = Astro.props
31
31
  height: var(--text-1);
32
32
  accent-color: var(--color-9);
33
33
  }
34
- </style>
34
+ </style> -->
@@ -42,7 +42,7 @@ const {
42
42
  >
43
43
  <Label
44
44
  for={name}
45
- {...typeof label === 'string' ? { text: label } : label}
45
+ text={label}
46
46
  />
47
47
  <SelectElement
48
48
  id={name}
@@ -86,17 +86,5 @@ const {
86
86
  background-color: var(--background);
87
87
  padding: var(--inner-y) var(--inner-x);
88
88
  }
89
-
90
- &.align-start {
91
- align-items: flex-start;
92
- }
93
-
94
- &.align-center {
95
- align-items: center;
96
- }
97
-
98
- &.align-end {
99
- align-items: flex-end;
100
- }
101
89
  }
102
90
  </style>
@@ -81,22 +81,5 @@ const {
81
81
  border: 1px solid var(--border);
82
82
  border-radius: var(--radius-3);
83
83
  }
84
-
85
- &.align-start {
86
- align-items: flex-start;
87
- }
88
-
89
- &.align-center {
90
- align-items: center;
91
- text-align: center;
92
-
93
- & > * > * {
94
- text-align: left;
95
- }
96
- }
97
-
98
- &.align-end {
99
- align-items: flex-end;
100
- }
101
84
  }
102
85
  </style>
@@ -37,6 +37,11 @@ const { align = 'start', ...rest } = Astro.props
37
37
 
38
38
  &.align-center {
39
39
  align-items: center;
40
+ text-align: center;
41
+
42
+ & > * > * {
43
+ text-align: left;
44
+ }
40
45
  }
41
46
 
42
47
  &.align-end {
package/src/index.ts CHANGED
@@ -12,7 +12,7 @@ export { default as Video } from './components/base/Video.astro'
12
12
  export { default as Checkbox } from './components/base/checkbox/Checkbox.astro'
13
13
  export { default as Input } from './components/base/input/Input.astro'
14
14
  export { default as InputElement } from './components/base/input/InputElement.astro'
15
- export { default as Radio } from './components/base/radio/Radio.astro'
15
+ // export { default as Radio } from './components/base/radio/Radio.astro'
16
16
  export { default as Select } from './components/base/select/Select.astro'
17
17
  export { default as SelectElement } from './components/base/select/SelectElement.astro'
18
18
  export { default as SelectOption } from './components/base/select/SelectOption.astro'
@@ -63,6 +63,6 @@ export { default as Wrap } from './components/structure/Wrap.astro'
63
63
  // Utility components
64
64
  export { default as Block } from './components/_Block.astro'
65
65
  export { default as Blocks } from './components/_Blocks.astro'
66
- export { default as Children } from './components/_Children.astro'
66
+ // export { default as Children } from './components/_Children.astro'
67
67
  export { default as Head } from './components/utility/Head.astro'
68
68
  export { default as Layout } from './components/utility/Layout.astro'