@lets-events/react 11.7.2 → 11.7.3

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @lets-events/react@11.7.2 build
2
+ > @lets-events/react@11.7.3 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
+ DTS Build start
11
12
  CJS dist\index.js 332.14 KB
12
- CJS ⚡️ Build success in 234ms
13
+ CJS ⚡️ Build success in 908ms
13
14
  ESM dist\index.mjs 320.00 KB
14
- ESM ⚡️ Build success in 235ms
15
- DTS Build start
16
- DTS ⚡️ Build success in 4217ms
17
- DTS dist\index.d.mts 383.61 KB
18
- DTS dist\index.d.ts 383.61 KB
15
+ ESM ⚡️ Build success in 909ms
16
+ DTS ⚡️ Build success in 4528ms
17
+ DTS dist\index.d.mts 383.65 KB
18
+ DTS dist\index.d.ts 383.65 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 11.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - add placeholder to email form field
8
+
3
9
  ## 11.7.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -14668,7 +14668,8 @@ type EmailFormFieldProps = {
14668
14668
  name: string;
14669
14669
  label?: string;
14670
14670
  required?: boolean;
14671
+ placeholder?: string;
14671
14672
  };
14672
- declare const EmailFormField: ({ name, label, required, }: EmailFormFieldProps) => react_jsx_runtime.JSX.Element;
14673
+ declare const EmailFormField: ({ name, label, required, placeholder, }: EmailFormFieldProps) => react_jsx_runtime.JSX.Element;
14673
14674
 
14674
14675
  export { AddressFormFields, Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, BirthDateFormField, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, CNPJFormField, CPFFormField, Calendar, type CalendarProps, Card, type CardProps, CardStyled, CheckboxGroup, CheckboxGroupFormField, type CheckboxGroupFormFieldProps, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, CountryFormField, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, EmailFormField, type EmailFormFieldProps, ErrorFormMessage, type ErrorFormMessageProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Form, FormLabel, type FormLabelProps, type FormProps, Grid, type GridProps, GridStyled, Icon, IdentityDocumentNumberFormField, InputStyled, MenuDropdown, type MenuDropdownProps, Modal, type ModalProps, MultiSelect, MultiSelectFormField, type MultiSelectFormFieldProps, type MultiSelectProps, PhoneFormField, type PhoneFormFieldProps, RadioGroup, RadioGroupFormField, type RadioGroupFormFieldProps, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, SelectFormField, type SelectFormFieldProps, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextAreaFormField, type TextAreaFormFieldProps, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, TextFormField, type TextFormFieldProps, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, isValidCNPJ, maskFormat, maskUnformat, useToast };
package/dist/index.d.ts CHANGED
@@ -14668,7 +14668,8 @@ type EmailFormFieldProps = {
14668
14668
  name: string;
14669
14669
  label?: string;
14670
14670
  required?: boolean;
14671
+ placeholder?: string;
14671
14672
  };
14672
- declare const EmailFormField: ({ name, label, required, }: EmailFormFieldProps) => react_jsx_runtime.JSX.Element;
14673
+ declare const EmailFormField: ({ name, label, required, placeholder, }: EmailFormFieldProps) => react_jsx_runtime.JSX.Element;
14673
14674
 
14674
14675
  export { AddressFormFields, Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, BirthDateFormField, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, CNPJFormField, CPFFormField, Calendar, type CalendarProps, Card, type CardProps, CardStyled, CheckboxGroup, CheckboxGroupFormField, type CheckboxGroupFormFieldProps, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, CountryFormField, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, EmailFormField, type EmailFormFieldProps, ErrorFormMessage, type ErrorFormMessageProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Form, FormLabel, type FormLabelProps, type FormProps, Grid, type GridProps, GridStyled, Icon, IdentityDocumentNumberFormField, InputStyled, MenuDropdown, type MenuDropdownProps, Modal, type ModalProps, MultiSelect, MultiSelectFormField, type MultiSelectFormFieldProps, type MultiSelectProps, PhoneFormField, type PhoneFormFieldProps, RadioGroup, RadioGroupFormField, type RadioGroupFormFieldProps, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, SelectFormField, type SelectFormFieldProps, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextAreaFormField, type TextAreaFormFieldProps, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, TextFormField, type TextFormFieldProps, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, isValidCNPJ, maskFormat, maskUnformat, useToast };
package/dist/index.js CHANGED
@@ -10800,7 +10800,8 @@ var import_jsx_runtime49 = require("react/jsx-runtime");
10800
10800
  var EmailFormField = ({
10801
10801
  name,
10802
10802
  label,
10803
- required
10803
+ required,
10804
+ placeholder
10804
10805
  }) => {
10805
10806
  return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
10806
10807
  TextFormField,
@@ -10808,7 +10809,7 @@ var EmailFormField = ({
10808
10809
  name,
10809
10810
  label,
10810
10811
  required,
10811
- placeholder: "@mail.com",
10812
+ placeholder,
10812
10813
  type: "email",
10813
10814
  validate: validateEmail("E-mail inv\xE1lido.")
10814
10815
  }
package/dist/index.mjs CHANGED
@@ -10706,7 +10706,8 @@ import { jsx as jsx49 } from "react/jsx-runtime";
10706
10706
  var EmailFormField = ({
10707
10707
  name,
10708
10708
  label,
10709
- required
10709
+ required,
10710
+ placeholder
10710
10711
  }) => {
10711
10712
  return /* @__PURE__ */ jsx49(
10712
10713
  TextFormField,
@@ -10714,7 +10715,7 @@ var EmailFormField = ({
10714
10715
  name,
10715
10716
  label,
10716
10717
  required,
10717
- placeholder: "@mail.com",
10718
+ placeholder,
10718
10719
  type: "email",
10719
10720
  validate: validateEmail("E-mail inv\xE1lido.")
10720
10721
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "11.7.2",
3
+ "version": "11.7.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -5,19 +5,21 @@ export type EmailFormFieldProps = {
5
5
  name: string;
6
6
  label?: string;
7
7
  required?: boolean;
8
+ placeholder?: string;
8
9
  };
9
10
 
10
11
  export const EmailFormField = ({
11
12
  name,
12
13
  label,
13
14
  required,
15
+ placeholder,
14
16
  }: EmailFormFieldProps) => {
15
17
  return (
16
18
  <TextFormField
17
19
  name={name}
18
20
  label={label}
19
21
  required={required}
20
- placeholder="@mail.com"
22
+ placeholder={placeholder}
21
23
  type="email"
22
24
  validate={validateEmail("E-mail inválido.")}
23
25
  />