@pallasoft/ps-input-components 1.6.0 → 1.6.1

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.
@@ -23,6 +23,7 @@ const PsDateInput = ({ className, defaultValue, disabled, helperText, hideLabel,
23
23
  const existing = document.getElementById(portalId);
24
24
  const container = existing ? existing : document.createElement('div');
25
25
  container.id = portalId;
26
+ container.setAttribute(ps_date_input_config_1.PsDateInputConfig.topLayerAttribute, 'true');
26
27
  container.style.position = 'relative';
27
28
  container.style.zIndex = String(zIndex);
28
29
  if (!existing)
@@ -4,4 +4,5 @@ export declare const PsDateInputConfig: {
4
4
  readonly valueFormat: "YYYY-MM-DD";
5
5
  readonly placeholder: "Select a date";
6
6
  readonly portalId: "ps-floating-root";
7
+ readonly topLayerAttribute: "data-react-aria-top-layer";
7
8
  };
@@ -7,4 +7,5 @@ exports.PsDateInputConfig = {
7
7
  valueFormat: 'YYYY-MM-DD',
8
8
  placeholder: 'Select a date',
9
9
  portalId: 'ps-floating-root',
10
+ topLayerAttribute: 'data-react-aria-top-layer',
10
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pallasoft/ps-input-components",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",