@officesdk/design 0.1.22 → 0.1.24

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.
@@ -1307,6 +1307,10 @@ declare const Dropdown: React$1.FC<DropdownProps>;
1307
1307
  declare const DropdownGlobalStyles: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>;
1308
1308
  declare const MenuGlobalStyles: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>;
1309
1309
 
1310
+ type DeepPartial<T extends object> = {
1311
+ [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
1312
+ };
1313
+
1310
1314
  type ToastPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
1311
1315
  interface ToastConfig {
1312
1316
  /**
@@ -1401,7 +1405,7 @@ interface UIConfig {
1401
1405
  /**
1402
1406
  * Theme configuration (required)
1403
1407
  */
1404
- theme: Theme;
1408
+ theme: DeepPartial<Theme>;
1405
1409
  /**
1406
1410
  * Icon registry (optional)
1407
1411
  */
@@ -1769,12 +1769,12 @@ var RadioOuter = exports.styled.div`
1769
1769
  if ($disabled) return "";
1770
1770
  const stateConfig = $checked ? theme3.components.radio.checked : theme3.components.radio.unchecked;
1771
1771
  return `
1772
- ${RadioContainer}:hover & {
1772
+ :hover & {
1773
1773
  background: ${stateConfig.backgroundHover};
1774
1774
  border-color: ${stateConfig.borderColorHover};
1775
1775
  }
1776
1776
 
1777
- ${RadioContainer}:active & {
1777
+ :active & {
1778
1778
  border-color: ${stateConfig.borderColorActive};
1779
1779
  }
1780
1780
  `;