@studiocms/ui 0.4.8 → 0.4.10

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.
@@ -28,6 +28,9 @@
28
28
  border-top: 1px solid hsl(var(--border));
29
29
  padding: 1rem;
30
30
  }
31
+ .sui-card-footer:not(:has(*)) {
32
+ display: none;
33
+ }
31
34
  .filled .sui-card-footer {
32
35
  border: none;
33
36
  }
@@ -36,6 +36,10 @@ interface Props {
36
36
  * Whether the checkbox is required.
37
37
  */
38
38
  isRequired?: boolean;
39
+ /**
40
+ * The value of the checkbox.
41
+ */
42
+ value?: string;
39
43
  }
40
44
 
41
45
  const {
@@ -46,6 +50,7 @@ const {
46
50
  name = generateID('checkbox'),
47
51
  label,
48
52
  isRequired,
53
+ value,
49
54
  } = Astro.props;
50
55
 
51
56
  const iconSizes = {
@@ -83,6 +88,7 @@ const iconSizes = {
83
88
  disabled={disabled}
84
89
  required={isRequired}
85
90
  class="sui-checkbox"
91
+ value={value}
86
92
  hidden
87
93
  />
88
94
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiocms/ui",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "description": "The UI library for StudioCMS. Includes the layouts & components we use to build StudioCMS.",
5
5
  "repository": {
6
6
  "type": "git",