@7shifts/sous-chef 3.58.0 → 3.59.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.
|
@@ -6,6 +6,7 @@ type Props = {
|
|
|
6
6
|
value?: string | number;
|
|
7
7
|
onChange?: (e: string | number) => void;
|
|
8
8
|
label?: React.ReactNode;
|
|
9
|
+
caption?: React.ReactNode;
|
|
9
10
|
error?: React.ReactNode;
|
|
10
11
|
/**
|
|
11
12
|
* **DEPRECATED** *Use the `columns` prop instead.*<br/><br/>When true it will place the options on the same line up to 4 options per line. It only applies when using `RadioGroupOption` as children
|
|
@@ -21,5 +22,5 @@ type Props = {
|
|
|
21
22
|
columns?: 2 | 3 | 4;
|
|
22
23
|
};
|
|
23
24
|
/** RadioGroupField form element. */
|
|
24
|
-
declare const RadioGroupField: ({ name, value, onChange, label, error, inline, disabled, children, testId, columns }: Props) => React.JSX.Element;
|
|
25
|
+
declare const RadioGroupField: ({ name, value, onChange, label, caption, error, inline, disabled, children, testId, columns }: Props) => React.JSX.Element;
|
|
25
26
|
export default RadioGroupField;
|
package/dist/index.css
CHANGED
|
@@ -3072,6 +3072,14 @@ input:focus-visible + ._JXakU {
|
|
|
3072
3072
|
text-overflow: ellipsis;
|
|
3073
3073
|
}
|
|
3074
3074
|
|
|
3075
|
+
._JNfQO {
|
|
3076
|
+
font-family: var(--font-family-body);
|
|
3077
|
+
font-size: var(--font-size-100);
|
|
3078
|
+
line-height: var(--font-line-height-100);
|
|
3079
|
+
font-weight: var(--p-font-weight-normal);
|
|
3080
|
+
color: var(--color-grey-500);
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3075
3083
|
._2KvuU {
|
|
3076
3084
|
font-family: var(--font-family-body);
|
|
3077
3085
|
font-size: var(--font-size-200);
|
|
@@ -3084,6 +3092,13 @@ input:focus-visible + ._JXakU {
|
|
|
3084
3092
|
color: var(--color-grey-500);
|
|
3085
3093
|
min-height: 16px;
|
|
3086
3094
|
}
|
|
3095
|
+
._ZeIOd {
|
|
3096
|
+
font-family: var(--font-family-body);
|
|
3097
|
+
font-size: var(--font-size-100);
|
|
3098
|
+
line-height: var(--font-line-height-100);
|
|
3099
|
+
font-weight: var(--p-font-weight-normal);
|
|
3100
|
+
color: var(--color-grey-500);
|
|
3101
|
+
}
|
|
3087
3102
|
._s7mjc {
|
|
3088
3103
|
font-family: var(--font-family-body);
|
|
3089
3104
|
font-size: var(--font-size-200);
|
|
@@ -3119,6 +3134,7 @@ input:focus-visible + ._JXakU {
|
|
|
3119
3134
|
background: var(--color-white);
|
|
3120
3135
|
width: auto;
|
|
3121
3136
|
padding: 0;
|
|
3137
|
+
float: none;
|
|
3122
3138
|
}
|
|
3123
3139
|
._IIX-P input {
|
|
3124
3140
|
border: 0px;
|