@indico-data/design-system 2.36.3 → 2.37.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/lib/index.css CHANGED
@@ -1888,7 +1888,7 @@ form {
1888
1888
  }
1889
1889
 
1890
1890
  .floatui-container {
1891
- z-index: 99;
1891
+ z-index: 999;
1892
1892
  }
1893
1893
 
1894
1894
  .floatui-content {
package/lib/index.d.ts CHANGED
@@ -1048,8 +1048,8 @@ declare const Form: ({ children, onSubmit, action, method, target, autocomplete,
1048
1048
 
1049
1049
  type Props$1 = {
1050
1050
  className?: string;
1051
- height?: number;
1052
- width?: number;
1051
+ height?: number | string;
1052
+ width?: number | string;
1053
1053
  isCircle?: boolean;
1054
1054
  isFullHeight?: boolean;
1055
1055
  };
package/lib/index.esm.css CHANGED
@@ -1888,7 +1888,7 @@ form {
1888
1888
  }
1889
1889
 
1890
1890
  .floatui-container {
1891
- z-index: 99;
1891
+ z-index: 999;
1892
1892
  }
1893
1893
 
1894
1894
  .floatui-content {
package/lib/index.esm.js CHANGED
@@ -21055,7 +21055,7 @@ const Form = (_a) => {
21055
21055
 
21056
21056
  const Skeleton = (_a) => {
21057
21057
  var { className, height, width, isCircle, isFullHeight } = _a, rest = __rest$1(_a, ["className", "height", "width", "isCircle", "isFullHeight"]);
21058
- const dynamicStyle = Object.assign(Object.assign({}, (height && { height: `${height}px` })), (width && { width: `${width}px` }));
21058
+ const dynamicStyle = Object.assign(Object.assign({}, (height && { height: typeof height === 'number' ? `${height}px` : height })), (width && { width: typeof width === 'number' ? `${width}px` : width }));
21059
21059
  const circleClass = isCircle ? 'skeleton--circle' : '';
21060
21060
  const fullHeightClass = isFullHeight ? 'skeleton--full-height' : '';
21061
21061
  const combinedClassName = `skeleton ${circleClass} ${fullHeightClass} ${className || ''}`.trim();