@uniformdev/design-system 19.181.1-alpha.4 → 19.181.2

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/esm/index.js CHANGED
@@ -18165,7 +18165,6 @@ import { useCallback as useCallback8, useEffect as useEffect13, useRef as useRef
18165
18165
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
18166
18166
  import { css as css78 } from "@emotion/react";
18167
18167
  var loadingOverlayContainer = css78`
18168
- position: absolute;
18169
18168
  inset: 0;
18170
18169
  overflow: hidden;
18171
18170
  justify-content: center;
@@ -18204,7 +18203,8 @@ var LoadingOverlay = ({
18204
18203
  overlayBackgroundColor = "var(--white)",
18205
18204
  isTopAligned = false,
18206
18205
  isPaused = false,
18207
- children
18206
+ children,
18207
+ position = "absolute"
18208
18208
  }) => {
18209
18209
  const lottieRef = useRef8(null);
18210
18210
  const onLoopComplete = useCallback8(() => {
@@ -18225,7 +18225,12 @@ var LoadingOverlay = ({
18225
18225
  "div",
18226
18226
  {
18227
18227
  role: "alert",
18228
- css: [loadingOverlayContainer, { zIndex }, isActive ? loadingOverlayVisible : loadingOverlayHidden],
18228
+ css: [
18229
+ loadingOverlayContainer,
18230
+ { position },
18231
+ { zIndex },
18232
+ isActive ? loadingOverlayVisible : loadingOverlayHidden
18233
+ ],
18229
18234
  "aria-hidden": !isActive,
18230
18235
  "aria-busy": isActive && !isPaused,
18231
18236
  children: [
package/dist/index.d.mts CHANGED
@@ -22592,13 +22592,17 @@ interface LoadingOverlayProps {
22592
22592
  */
22593
22593
  isTopAligned?: boolean;
22594
22594
  children?: React__default.ReactNode;
22595
+ /** (optional) sets the position of the overlay
22596
+ * @default 'absolute'
22597
+ */
22598
+ position?: 'absolute' | 'fixed';
22595
22599
  }
22596
22600
  /**
22597
22601
  * Loading Overlay.
22598
22602
  * NOTE: the container/parent element must have a non-static `position` value for the overlay to work properly.
22599
22603
  * @example <LoadingOverlay isActive={true} statusMessage="Loading..." />
22600
22604
  */
22601
- declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
22605
+ declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, position, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
22602
22606
  interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
22603
22607
  /** (optional) prop that sets a number value for the height of the icon */
22604
22608
  width?: number;
@@ -23896,6 +23900,7 @@ type HeadingProps = {
23896
23900
  */
23897
23901
  declare const Heading: ({ level, as, asSpan, withMarginBottom, children, ...hAttributes }: HeadingProps) => _emotion_react_jsx_runtime.JSX.Element;
23898
23902
 
23903
+ /** @deprecated - Integration header section props are no longer supported or maintained */
23899
23904
  type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
23900
23905
  /** sets the title text of the integration */
23901
23906
  title: string;
@@ -23915,7 +23920,7 @@ type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement>
23915
23920
  menu?: React$1.ReactNode;
23916
23921
  };
23917
23922
  /**
23918
- * Uniform Integration Header Section Component
23923
+ * @deprecated Uniform Integration Header Section Component is no longer supported or maintained
23919
23924
  * @Example <IntegrationHeaderSection title="custom integration" description="custom integration description text" />
23920
23925
  */
23921
23926
  declare const IntegrationHeaderSection: ({ title, description, icon, docsLink, badgeText, menu, children, ...props }: IntegrationHeaderSectionProps) => _emotion_react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -22592,13 +22592,17 @@ interface LoadingOverlayProps {
22592
22592
  */
22593
22593
  isTopAligned?: boolean;
22594
22594
  children?: React__default.ReactNode;
22595
+ /** (optional) sets the position of the overlay
22596
+ * @default 'absolute'
22597
+ */
22598
+ position?: 'absolute' | 'fixed';
22595
22599
  }
22596
22600
  /**
22597
22601
  * Loading Overlay.
22598
22602
  * NOTE: the container/parent element must have a non-static `position` value for the overlay to work properly.
22599
22603
  * @example <LoadingOverlay isActive={true} statusMessage="Loading..." />
22600
22604
  */
22601
- declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
22605
+ declare const LoadingOverlay: ({ isActive, statusMessage, zIndex, loaderSize, overlayBackgroundColor, isTopAligned, isPaused, children, position, }: LoadingOverlayProps) => _emotion_react_jsx_runtime.JSX.Element;
22602
22606
  interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
22603
22607
  /** (optional) prop that sets a number value for the height of the icon */
22604
22608
  width?: number;
@@ -23896,6 +23900,7 @@ type HeadingProps = {
23896
23900
  */
23897
23901
  declare const Heading: ({ level, as, asSpan, withMarginBottom, children, ...hAttributes }: HeadingProps) => _emotion_react_jsx_runtime.JSX.Element;
23898
23902
 
23903
+ /** @deprecated - Integration header section props are no longer supported or maintained */
23899
23904
  type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
23900
23905
  /** sets the title text of the integration */
23901
23906
  title: string;
@@ -23915,7 +23920,7 @@ type IntegrationHeaderSectionProps = React$1.HtmlHTMLAttributes<HTMLDivElement>
23915
23920
  menu?: React$1.ReactNode;
23916
23921
  };
23917
23922
  /**
23918
- * Uniform Integration Header Section Component
23923
+ * @deprecated Uniform Integration Header Section Component is no longer supported or maintained
23919
23924
  * @Example <IntegrationHeaderSection title="custom integration" description="custom integration description text" />
23920
23925
  */
23921
23926
  declare const IntegrationHeaderSection: ({ title, description, icon, docsLink, badgeText, menu, children, ...props }: IntegrationHeaderSectionProps) => _emotion_react_jsx_runtime.JSX.Element;
package/dist/index.js CHANGED
@@ -20013,7 +20013,6 @@ var import_react113 = require("react");
20013
20013
  init_emotion_jsx_shim();
20014
20014
  var import_react112 = require("@emotion/react");
20015
20015
  var loadingOverlayContainer = import_react112.css`
20016
- position: absolute;
20017
20016
  inset: 0;
20018
20017
  overflow: hidden;
20019
20018
  justify-content: center;
@@ -20052,7 +20051,8 @@ var LoadingOverlay = ({
20052
20051
  overlayBackgroundColor = "var(--white)",
20053
20052
  isTopAligned = false,
20054
20053
  isPaused = false,
20055
- children
20054
+ children,
20055
+ position = "absolute"
20056
20056
  }) => {
20057
20057
  const lottieRef = (0, import_react113.useRef)(null);
20058
20058
  const onLoopComplete = (0, import_react113.useCallback)(() => {
@@ -20073,7 +20073,12 @@ var LoadingOverlay = ({
20073
20073
  "div",
20074
20074
  {
20075
20075
  role: "alert",
20076
- css: [loadingOverlayContainer, { zIndex }, isActive ? loadingOverlayVisible : loadingOverlayHidden],
20076
+ css: [
20077
+ loadingOverlayContainer,
20078
+ { position },
20079
+ { zIndex },
20080
+ isActive ? loadingOverlayVisible : loadingOverlayHidden
20081
+ ],
20077
20082
  "aria-hidden": !isActive,
20078
20083
  "aria-busy": isActive && !isPaused,
20079
20084
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.181.1-alpha.4+63886f3999",
3
+ "version": "19.181.2",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "@storybook/react": "8.0.10",
25
25
  "@types/react": "18.3.3",
26
26
  "@types/react-dom": "18.3.0",
27
- "@uniformdev/canvas": "^19.181.1-alpha.4+63886f3999",
28
- "@uniformdev/richtext": "^19.181.1-alpha.4+63886f3999",
27
+ "@uniformdev/canvas": "^19.181.2",
28
+ "@uniformdev/richtext": "^19.181.2",
29
29
  "autoprefixer": "10.4.16",
30
30
  "hygen": "6.2.11",
31
31
  "postcss": "8.4.38",
@@ -77,5 +77,5 @@
77
77
  "publishConfig": {
78
78
  "access": "public"
79
79
  },
80
- "gitHead": "63886f3999fa693ef6b012fdcaefc930e238fc4d"
80
+ "gitHead": "89ffb2d1ab09ac3cb09b3928194352e358ef7f07"
81
81
  }