@croquiscom/pds 0.20.0 → 0.21.1

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.
@@ -14,6 +14,13 @@ export declare const input_error_style: {
14
14
  border: string;
15
15
  };
16
16
  };
17
+ export declare const input_focus_style: {
18
+ outline: string;
19
+ zIndex: number;
20
+ '&:focus': {
21
+ outline: string;
22
+ };
23
+ };
17
24
  export declare const input_disabled_style: {
18
25
  backgroundColor: string;
19
26
  border: string;
@@ -4,9 +4,10 @@ export declare const getRadioGroupStyleByProps: ({ radio_item_type, align, spaci
4
4
  align?: AlignType;
5
5
  spacing?: Number;
6
6
  }) => import("@emotion/utils").SerializedStyles;
7
- export declare const getRadioStyleByProps: ({ radio_item_type, fill, disabled, checked, }: {
7
+ export declare const getRadioStyleByProps: ({ radio_item_type, fill, disabled, checked, focused, }: {
8
8
  radio_item_type?: RadioItemType;
9
9
  fill?: boolean;
10
10
  disabled?: boolean;
11
11
  checked?: boolean;
12
+ focused?: boolean;
12
13
  }) => import("@emotion/utils").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croquiscom/pds",
3
- "version": "0.20.0",
3
+ "version": "0.21.1",
4
4
  "description": "Design system for Zigzag's Partner Center",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.es.js",
@@ -72,6 +72,8 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@floating-ui/react-dom-interactions": "0.10.1",
75
+ "@react-aria/focus": "^3.9.0",
76
+ "@react-aria/utils": "^3.14.0",
75
77
  "classnames": "^2.3.1",
76
78
  "lodash-es": "^4.17.21",
77
79
  "polished": "^4.2.2"