@ballistix.digital/react-components 4.2.0 → 4.3.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.
package/dist/index.d.ts CHANGED
@@ -1141,6 +1141,7 @@ type TSwitchFormProps = {
1141
1141
  isTouched?: boolean;
1142
1142
  error?: string;
1143
1143
  styles?: TSwitchStylesForm;
1144
+ size?: 'sm' | 'md';
1144
1145
  } & ({
1145
1146
  iconAccessorChecked?: undefined;
1146
1147
  iconAccessorUnchecked?: undefined;
@@ -1151,31 +1152,49 @@ type TSwitchFormProps = {
1151
1152
  declare const Switch: (props: TSwitchFormProps) => react_jsx_runtime.JSX.Element;
1152
1153
 
1153
1154
  declare const styles: {
1154
- label: string;
1155
- container: string;
1156
- head: string;
1157
- hint: string;
1158
- foot: string;
1159
- description: string;
1160
- switch: {
1161
- base: string;
1162
- screenreader: string;
1163
- checked: string;
1164
- unchecked: string;
1165
- disabled: string;
1155
+ base: {
1156
+ label: string;
1157
+ container: string;
1158
+ head: string;
1159
+ hint: string;
1160
+ foot: string;
1161
+ description: string;
1162
+ switch: {
1163
+ base: string;
1164
+ screenreader: string;
1165
+ checked: string;
1166
+ unchecked: string;
1167
+ disabled: string;
1168
+ };
1169
+ toggle: {
1170
+ base: string;
1171
+ checked: string;
1172
+ unchecked: string;
1173
+ };
1174
+ icon: {
1175
+ base: string;
1176
+ hidden: string;
1177
+ shown: string;
1178
+ icon: string;
1179
+ };
1180
+ error: string;
1166
1181
  };
1167
- toggle: {
1168
- base: string;
1169
- checked: string;
1170
- unchecked: string;
1182
+ md: {
1183
+ switch: {
1184
+ base: string;
1185
+ };
1186
+ toggle: {
1187
+ base: string;
1188
+ };
1171
1189
  };
1172
- icon: {
1173
- base: string;
1174
- hidden: string;
1175
- shown: string;
1176
- icon: string;
1190
+ sm: {
1191
+ switch: {
1192
+ base: string;
1193
+ };
1194
+ toggle: {
1195
+ base: string;
1196
+ };
1177
1197
  };
1178
- error: string;
1179
1198
  };
1180
1199
  type TSwitchStylesForm = DeepPartialType<typeof styles>;
1181
1200