@gnwebsoft/ui 2.17.6 → 2.17.7

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.
@@ -24,6 +24,7 @@ var Component = function DatePickerElement(props) {
24
24
  inputProps,
25
25
  control,
26
26
  textReadOnly,
27
+ label,
27
28
  gridProps,
28
29
  slotProps,
29
30
  transform,
@@ -56,6 +57,7 @@ var Component = function DatePickerElement(props) {
56
57
  ...rest,
57
58
  ...field,
58
59
  value,
60
+ label,
59
61
  inputRef: handleInputRef,
60
62
  onClose: (...args) => {
61
63
  field.onBlur();
@@ -365,6 +367,7 @@ var Component4 = function TextFieldElement(props) {
365
367
  gridProps,
366
368
  transform,
367
369
  label,
370
+ placeholder,
368
371
  textFieldProps = {},
369
372
  ...rest
370
373
  } = props;
@@ -419,6 +422,7 @@ var Component4 = function TextFieldElement(props) {
419
422
  }
420
423
  },
421
424
  label,
425
+ placeholder,
422
426
  fullWidth: true,
423
427
  required,
424
428
  type,
@@ -24,6 +24,7 @@ var Component = function DatePickerElement(props) {
24
24
  inputProps,
25
25
  control,
26
26
  textReadOnly,
27
+ label,
27
28
  gridProps,
28
29
  slotProps,
29
30
  transform,
@@ -56,6 +57,7 @@ var Component = function DatePickerElement(props) {
56
57
  ...rest,
57
58
  ...field,
58
59
  value,
60
+ label,
59
61
  inputRef: handleInputRef,
60
62
  onClose: (...args) => {
61
63
  field.onBlur();
@@ -365,6 +367,7 @@ var Component4 = function TextFieldElement(props) {
365
367
  gridProps,
366
368
  transform,
367
369
  label,
370
+ placeholder,
368
371
  textFieldProps = {},
369
372
  ...rest
370
373
  } = props;
@@ -419,6 +422,7 @@ var Component4 = function TextFieldElement(props) {
419
422
  }
420
423
  },
421
424
  label,
425
+ placeholder,
422
426
  fullWidth: true,
423
427
  required,
424
428
  type,
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ require('./chunk-7M2VOCYN.js');
10
10
  require('./chunk-TLJXC46A.js');
11
11
 
12
12
 
13
- var _chunkAI4D4HA6js = require('./chunk-AI4D4HA6.js');
13
+ var _chunkA4ET2H3Djs = require('./chunk-A4ET2H3D.js');
14
14
 
15
15
 
16
16
  var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
@@ -41,4 +41,4 @@ var _chunkBSA6BJG2js = require('./chunk-BSA6BJG2.js');
41
41
 
42
42
 
43
43
 
44
- exports.ClearButton = _chunkMXOTA42Jjs.ClearButton_default; exports.Field = _chunkAI4D4HA6js.Field_default; exports.FilterButton = _chunkMXOTA42Jjs.FilterButton_default; exports.FormWrapper = _chunkMXOTA42Jjs.FormWrapper_default; exports.LabelText = _chunkMXOTA42Jjs.LabelText_default; exports.ListWrapper = _chunkMXOTA42Jjs.ListWrapper_default; exports.SimpleToolbar = _chunkMXOTA42Jjs.SimpleToolbar_default; exports.api = _chunkBSA6BJG2js.api; exports.flattenObjectKeys = _chunkBSA6BJG2js.flattenObjectKeys; exports.getTimezone = _chunkBSA6BJG2js.getTimezone; exports.handleServerErrors = _chunkBSA6BJG2js.handleServerErrors; exports.propertyExists = _chunkBSA6BJG2js.propertyExists; exports.readValueAsDate = _chunkBSA6BJG2js.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkBSA6BJG2js.removeLeadingTrailingSlashes; exports.schemaTools = _chunkBSA6BJG2js.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
44
+ exports.ClearButton = _chunkMXOTA42Jjs.ClearButton_default; exports.Field = _chunkA4ET2H3Djs.Field_default; exports.FilterButton = _chunkMXOTA42Jjs.FilterButton_default; exports.FormWrapper = _chunkMXOTA42Jjs.FormWrapper_default; exports.LabelText = _chunkMXOTA42Jjs.LabelText_default; exports.ListWrapper = _chunkMXOTA42Jjs.ListWrapper_default; exports.SimpleToolbar = _chunkMXOTA42Jjs.SimpleToolbar_default; exports.api = _chunkBSA6BJG2js.api; exports.flattenObjectKeys = _chunkBSA6BJG2js.flattenObjectKeys; exports.getTimezone = _chunkBSA6BJG2js.getTimezone; exports.handleServerErrors = _chunkBSA6BJG2js.handleServerErrors; exports.propertyExists = _chunkBSA6BJG2js.propertyExists; exports.readValueAsDate = _chunkBSA6BJG2js.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkBSA6BJG2js.removeLeadingTrailingSlashes; exports.schemaTools = _chunkBSA6BJG2js.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
package/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ import "./chunk-2JFL7TS5.mjs";
10
10
  import "./chunk-5VR5QVUV.mjs";
11
11
  import {
12
12
  Field_default
13
- } from "./chunk-5YW4SMPO.mjs";
13
+ } from "./chunk-RHG7GNU5.mjs";
14
14
  import {
15
15
  useTransform
16
16
  } from "./chunk-GFSTK7KN.mjs";
@@ -133,6 +133,7 @@ type DatePickerElementProps<TFieldValues extends FieldValues = FieldValues, TNam
133
133
  control?: Control<TFieldValues>;
134
134
  inputProps?: TextFieldProps;
135
135
  helperText?: TextFieldProps["helperText"];
136
+ label?: ReactNode;
136
137
  textReadOnly?: boolean;
137
138
  slotProps?: Omit<DatePickerSlotProps<TValue, TEnableAccessibleFieldDOMStructure>, "textField">;
138
139
  transform?: {
@@ -162,6 +163,7 @@ type TextFieldElementProps<TFieldValues extends FieldValues = FieldValues, TName
162
163
  output?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => PathValue<TFieldValues, TName>;
163
164
  };
164
165
  label?: string;
166
+ placeholder?: string;
165
167
  textFieldProps?: Omit<TextFieldProps, "name">;
166
168
  gridProps?: Grid2Props;
167
169
  };
@@ -133,6 +133,7 @@ type DatePickerElementProps<TFieldValues extends FieldValues = FieldValues, TNam
133
133
  control?: Control<TFieldValues>;
134
134
  inputProps?: TextFieldProps;
135
135
  helperText?: TextFieldProps["helperText"];
136
+ label?: ReactNode;
136
137
  textReadOnly?: boolean;
137
138
  slotProps?: Omit<DatePickerSlotProps<TValue, TEnableAccessibleFieldDOMStructure>, "textField">;
138
139
  transform?: {
@@ -162,6 +163,7 @@ type TextFieldElementProps<TFieldValues extends FieldValues = FieldValues, TName
162
163
  output?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => PathValue<TFieldValues, TName>;
163
164
  };
164
165
  label?: string;
166
+ placeholder?: string;
165
167
  textFieldProps?: Omit<TextFieldProps, "name">;
166
168
  gridProps?: Grid2Props;
167
169
  };
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkAI4D4HA6js = require('../chunk-AI4D4HA6.js');
3
+ var _chunkA4ET2H3Djs = require('../chunk-A4ET2H3D.js');
4
4
  require('../chunk-6JZ35VQJ.js');
5
5
  require('../chunk-BSA6BJG2.js');
6
6
 
7
7
 
8
- exports.Field = _chunkAI4D4HA6js.Field_default;
8
+ exports.Field = _chunkA4ET2H3Djs.Field_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Field_default
3
- } from "../chunk-5YW4SMPO.mjs";
3
+ } from "../chunk-RHG7GNU5.mjs";
4
4
  import "../chunk-GFSTK7KN.mjs";
5
5
  import "../chunk-44LP4RZD.mjs";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnwebsoft/ui",
3
- "version": "2.17.6",
3
+ "version": "2.17.7",
4
4
  "description": "A set of reusable wrappers for MUI v6",
5
5
  "author": "GNWebsoft Private Limited",
6
6
  "license": "",