@latty-ds/react 0.8.1 → 0.10.0

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.
@@ -4,6 +4,7 @@ export type ButtonProps = HTMLAttributes<ButtonEl> & {
4
4
  formAssociated?: boolean;
5
5
  variant?: ButtonEl['variant'];
6
6
  appearance?: ButtonEl['appearance'];
7
+ bordered?: boolean;
7
8
  size?: ButtonEl['size'];
8
9
  disabled?: boolean;
9
10
  loading?: boolean;
@@ -20,6 +21,7 @@ export declare const Button: import("react").ForwardRefExoticComponent<HTMLAttri
20
21
  formAssociated?: boolean;
21
22
  variant?: ButtonEl["variant"];
22
23
  appearance?: ButtonEl["appearance"];
24
+ bordered?: boolean;
23
25
  size?: ButtonEl["size"];
24
26
  disabled?: boolean;
25
27
  loading?: boolean;
@@ -9,6 +9,8 @@ export type DialogProps = HTMLAttributes<DialogEl> & {
9
9
  closeOnEscape?: boolean;
10
10
  uppercase?: boolean;
11
11
  backdropBlur?: boolean;
12
+ elevation?: DialogEl['elevation'];
13
+ appearance?: DialogEl['appearance'];
12
14
  onDialogOpen?: () => void;
13
15
  onClose?: () => void;
14
16
  onDialogClose?: () => void;
@@ -23,6 +25,8 @@ export declare const Dialog: import("react").ForwardRefExoticComponent<HTMLAttri
23
25
  closeOnEscape?: boolean;
24
26
  uppercase?: boolean;
25
27
  backdropBlur?: boolean;
28
+ elevation?: DialogEl["elevation"];
29
+ appearance?: DialogEl["appearance"];
26
30
  onDialogOpen?: () => void;
27
31
  onClose?: () => void;
28
32
  onDialogClose?: () => void;
@@ -5,6 +5,7 @@ export type IconButtonProps = HTMLAttributes<IconButtonEl> & {
5
5
  label?: string;
6
6
  variant?: IconButtonEl['variant'];
7
7
  appearance?: IconButtonEl['appearance'];
8
+ bordered?: boolean;
8
9
  size?: IconButtonEl['size'];
9
10
  disabled?: boolean;
10
11
  href?: string;
@@ -17,6 +18,7 @@ export declare const IconButton: import("react").ForwardRefExoticComponent<HTMLA
17
18
  label?: string;
18
19
  variant?: IconButtonEl["variant"];
19
20
  appearance?: IconButtonEl["appearance"];
21
+ bordered?: boolean;
20
22
  size?: IconButtonEl["size"];
21
23
  disabled?: boolean;
22
24
  href?: string;
@@ -7,6 +7,8 @@ export type SnackbarProps = HTMLAttributes<SnackbarEl> & {
7
7
  closable?: boolean;
8
8
  actionLabel?: string;
9
9
  icon?: LattyIconName;
10
+ elevation?: SnackbarEl['elevation'];
11
+ appearance?: SnackbarEl['appearance'];
10
12
  onShow?: () => void;
11
13
  onHide?: () => void;
12
14
  onAction?: () => void;
@@ -18,6 +20,8 @@ export declare const Snackbar: import("react").ForwardRefExoticComponent<HTMLAtt
18
20
  closable?: boolean;
19
21
  actionLabel?: string;
20
22
  icon?: LattyIconName;
23
+ elevation?: SnackbarEl["elevation"];
24
+ appearance?: SnackbarEl["appearance"];
21
25
  onShow?: () => void;
22
26
  onHide?: () => void;
23
27
  onAction?: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latty-ds/react",
3
- "version": "0.8.1",
3
+ "version": "0.10.0",
4
4
  "description": "React wrappers for the Latty design system — typed React components backed by @latty-ds/web",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -56,8 +56,8 @@
56
56
  "typescript": "^5.5.4"
57
57
  },
58
58
  "dependencies": {
59
- "@latty-ds/icons": "0.8.1",
60
- "@latty-ds/web": "0.8.1"
59
+ "@latty-ds/icons": "0.10.0",
60
+ "@latty-ds/web": "0.10.0"
61
61
  },
62
- "gitHead": "ad7b350db7869de83099eb299f659a254b224570"
62
+ "gitHead": "7b0b9856be6755a573abf02c0b7cbdb1a6db4fef"
63
63
  }