@hyvor/design 2.1.22-beta.1 → 2.1.22-beta.2

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.
@@ -46,7 +46,7 @@
46
46
  --border: #e1e1e1;
47
47
 
48
48
  --text: #000;
49
- --text-light: #777;
49
+ --text-light: #545454;
50
50
  --text-white: #fff;
51
51
 
52
52
  /*
@@ -3,7 +3,7 @@
3
3
  import type { HTMLAttributes } from 'svelte/elements';
4
4
 
5
5
  interface ComponentProps {
6
- children: Snippet;
6
+ children?: Snippet;
7
7
  }
8
8
 
9
9
  type Props = ComponentProps & HTMLAttributes<HTMLDivElement>;
@@ -14,5 +14,5 @@
14
14
  </script>
15
15
 
16
16
  <div role={head ? 'columnheader' : 'cell'} {...rest}>
17
- {@render children()}
17
+ {@render children?.()}
18
18
  </div>
@@ -1,7 +1,7 @@
1
1
  import { type Snippet } from 'svelte';
2
2
  import type { HTMLAttributes } from 'svelte/elements';
3
3
  interface ComponentProps {
4
- children: Snippet;
4
+ children?: Snippet;
5
5
  }
6
6
  type Props = ComponentProps & HTMLAttributes<HTMLDivElement>;
7
7
  declare const TableCell: import("svelte").Component<Props, {}, "">;
@@ -164,6 +164,7 @@
164
164
  size="small"
165
165
  variant="invisible"
166
166
  color="input"
167
+ aria-label={emailCopied ? copiedLabel : copyEmailLabel}
167
168
  onclick={handleCopyEmail}
168
169
  onmouseleave={() => (emailCopied = false)}
169
170
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyvor/design",
3
- "version": "2.1.22-beta.1",
3
+ "version": "2.1.22-beta.2",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "sideEffects": [