@dxc-technology/halstack-react 15.2.2 → 15.3.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/README.md CHANGED
@@ -31,7 +31,7 @@ const App = () => (
31
31
 
32
32
  ## Where to start
33
33
 
34
- Learn everything you need to know about Halstack principles and components on the [official documentation site](https://developer.dxc.com/halstack/).
34
+ Learn everything you need to know about Halstack principles and components on the [official documentation site](https://developer.assure.dxc.com/halstack).
35
35
 
36
36
  ## Contributing
37
37
 
package/dist/index.d.mts CHANGED
@@ -1148,7 +1148,7 @@ type Props$w = {
1148
1148
  zIndex?: "auto" | number;
1149
1149
  };
1150
1150
 
1151
- declare function DxcContainer({ display, width, height, overflow, ...props }: Props$w): react_jsx_runtime.JSX.Element;
1151
+ declare const DxcContainer: react.ForwardRefExoticComponent<Props$w & react.RefAttributes<HTMLDivElement>>;
1152
1152
 
1153
1153
  type CommonItemProps = {
1154
1154
  badge?: ReactElement;
@@ -1771,6 +1771,10 @@ type Props$o = CommonProps$4 & {
1771
1771
  * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/order
1772
1772
  */
1773
1773
  order?: number;
1774
+ /**
1775
+ * If true, the flex container will take the full height of its parent.
1776
+ */
1777
+ fullHeight?: boolean;
1774
1778
  /**
1775
1779
  * Sets the flex-grow CSS property.
1776
1780
  *
@@ -1799,7 +1803,7 @@ type Props$o = CommonProps$4 & {
1799
1803
  children: ReactNode;
1800
1804
  };
1801
1805
 
1802
- declare const DxcFlex: ({ basis, direction, gap, grow, order, shrink, wrap, ...props }: Props$o) => react_jsx_runtime.JSX.Element;
1806
+ declare const DxcFlex: ({ basis, direction, fullHeight, gap, grow, order, shrink, wrap, ...props }: Props$o) => react_jsx_runtime.JSX.Element;
1803
1807
 
1804
1808
  type Gap = {
1805
1809
  rowGap: CoreSpacingTokensType;
@@ -2768,6 +2772,12 @@ type CommonProps$2 = {
2768
2772
  * If true, enables search functionality.
2769
2773
  */
2770
2774
  searchable?: boolean;
2775
+ /**
2776
+ * Defines the search mode when searchable is true.
2777
+ * If true, matches options that start with the search text.
2778
+ * If false, matches options that contain the search text anywhere in their label.
2779
+ */
2780
+ searchByStartsWith?: boolean;
2771
2781
  /**
2772
2782
  * If it is a defined value and also a truthy string, the component will
2773
2783
  * change its appearance, showing the error below the select component.
package/dist/index.d.ts CHANGED
@@ -1148,7 +1148,7 @@ type Props$w = {
1148
1148
  zIndex?: "auto" | number;
1149
1149
  };
1150
1150
 
1151
- declare function DxcContainer({ display, width, height, overflow, ...props }: Props$w): react_jsx_runtime.JSX.Element;
1151
+ declare const DxcContainer: react.ForwardRefExoticComponent<Props$w & react.RefAttributes<HTMLDivElement>>;
1152
1152
 
1153
1153
  type CommonItemProps = {
1154
1154
  badge?: ReactElement;
@@ -1771,6 +1771,10 @@ type Props$o = CommonProps$4 & {
1771
1771
  * See MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/order
1772
1772
  */
1773
1773
  order?: number;
1774
+ /**
1775
+ * If true, the flex container will take the full height of its parent.
1776
+ */
1777
+ fullHeight?: boolean;
1774
1778
  /**
1775
1779
  * Sets the flex-grow CSS property.
1776
1780
  *
@@ -1799,7 +1803,7 @@ type Props$o = CommonProps$4 & {
1799
1803
  children: ReactNode;
1800
1804
  };
1801
1805
 
1802
- declare const DxcFlex: ({ basis, direction, gap, grow, order, shrink, wrap, ...props }: Props$o) => react_jsx_runtime.JSX.Element;
1806
+ declare const DxcFlex: ({ basis, direction, fullHeight, gap, grow, order, shrink, wrap, ...props }: Props$o) => react_jsx_runtime.JSX.Element;
1803
1807
 
1804
1808
  type Gap = {
1805
1809
  rowGap: CoreSpacingTokensType;
@@ -2768,6 +2772,12 @@ type CommonProps$2 = {
2768
2772
  * If true, enables search functionality.
2769
2773
  */
2770
2774
  searchable?: boolean;
2775
+ /**
2776
+ * Defines the search mode when searchable is true.
2777
+ * If true, matches options that start with the search text.
2778
+ * If false, matches options that contain the search text anywhere in their label.
2779
+ */
2780
+ searchByStartsWith?: boolean;
2771
2781
  /**
2772
2782
  * If it is a defined value and also a truthy string, the component will
2773
2783
  * change its appearance, showing the error below the select component.