@lets-events/react 11.5.0 → 11.5.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.
Files changed (59) hide show
  1. package/.eslintrc.json +2 -2
  2. package/.turbo/turbo-build.log +18 -20
  3. package/CHANGELOG.md +12 -0
  4. package/dist/index.d.mts +2 -1
  5. package/dist/index.d.ts +2 -1
  6. package/dist/index.js +3 -2
  7. package/dist/index.mjs +3 -2
  8. package/package.json +1 -1
  9. package/src/components/Alert.tsx +303 -303
  10. package/src/components/Avatar.tsx +55 -55
  11. package/src/components/Badge.tsx +125 -125
  12. package/src/components/Box.tsx +3 -3
  13. package/src/components/Button/index.tsx +16 -16
  14. package/src/components/Button/styledComponents.ts +287 -287
  15. package/src/components/ButtonGroup.tsx +484 -484
  16. package/src/components/Calendar/index.tsx +136 -136
  17. package/src/components/Calendar/styledComponents.ts +209 -209
  18. package/src/components/Card.tsx +48 -48
  19. package/src/components/CheckboxGroup.tsx +196 -196
  20. package/src/components/Container.tsx +39 -39
  21. package/src/components/Drawer/index.tsx +48 -48
  22. package/src/components/Drawer/styledComponents.ts +46 -46
  23. package/src/components/Dropdown.tsx +167 -167
  24. package/src/components/Filter.tsx +164 -164
  25. package/src/components/Flex.tsx +118 -118
  26. package/src/components/FormFields/ErrorFormMessage.tsx +36 -36
  27. package/src/components/FormFields/Form.tsx +25 -25
  28. package/src/components/FormFields/FormLabel.tsx +29 -29
  29. package/src/components/FormFields/MultiSelectFormField.tsx +59 -59
  30. package/src/components/FormFields/PhoneFormField.tsx +130 -130
  31. package/src/components/FormFields/TextAreaFormField.tsx +49 -46
  32. package/src/components/FormFields/TextFormField.tsx +46 -46
  33. package/src/components/Grid.tsx +137 -137
  34. package/src/components/Icon.tsx +47 -47
  35. package/src/components/MenuDropdown/index.tsx +30 -30
  36. package/src/components/MenuDropdown/styledComponents.ts +31 -31
  37. package/src/components/Modal.tsx +90 -90
  38. package/src/components/MultiSelect.tsx +218 -218
  39. package/src/components/RadioGroup.tsx +210 -210
  40. package/src/components/Section.tsx +33 -33
  41. package/src/components/Step.tsx +164 -164
  42. package/src/components/Switch.tsx +108 -108
  43. package/src/components/Text.tsx +38 -38
  44. package/src/components/TextField.tsx +315 -315
  45. package/src/components/TextareaField.tsx +128 -128
  46. package/src/components/TimePicker.tsx +298 -298
  47. package/src/components/Toast/components/ToastItem.tsx +41 -41
  48. package/src/components/Toast/components/ToastProvider.tsx +63 -63
  49. package/src/components/Toast/hooks/useToast.ts +12 -12
  50. package/src/components/Toast/index.tsx +5 -5
  51. package/src/components/Toast/styles/index.ts +135 -135
  52. package/src/components/Toast/types/index.ts +46 -46
  53. package/src/components/Tooltip/index.tsx +66 -66
  54. package/src/components/Tooltip/styles.ts +77 -77
  55. package/src/hooks/useOnClickOutside.tsx +20 -20
  56. package/src/index.tsx +45 -45
  57. package/src/styles/index.ts +38 -38
  58. package/src/types/typographyValues.ts +178 -178
  59. package/tsconfig.json +3 -3
package/.eslintrc.json CHANGED
@@ -1,3 +1,3 @@
1
- {
2
- "extends": "@lets-events/eslint-config"
1
+ {
2
+ "extends": "@lets-events/eslint-config"
3
3
  }
@@ -1,20 +1,18 @@
1
-
2
-
3
- > @lets-events/react@11.5.0 build
4
- > tsup src/index.tsx --format esm,cjs --dts --external react
5
-
6
- CLI Building entry: src/index.tsx
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.4.0
9
- CLI Target: es6
10
- ESM Build start
11
- CJS Build start
12
- ESM dist/index.mjs 292.73 KB
13
- ESM ⚡️ Build success in 384ms
14
- CJS dist/index.js 303.01 KB
15
- CJS ⚡️ Build success in 385ms
16
- DTS Build start
17
- DTS ⚡️ Build success in 6708ms
18
- DTS dist/index.d.mts 388.30 KB
19
- DTS dist/index.d.ts 388.30 KB
20
- ⠙
1
+
2
+ > @lets-events/react@11.5.2 build
3
+ > tsup src/index.tsx --format esm,cjs --dts --external react
4
+
5
+ CLI Building entry: src/index.tsx
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.4.0
8
+ CLI Target: es6
9
+ ESM Build start
10
+ CJS Build start
11
+ CJS dist\index.js 303.05 KB
12
+ CJS ⚡️ Build success in 229ms
13
+ ESM dist\index.mjs 292.77 KB
14
+ ESM ⚡️ Build success in 230ms
15
+ DTS Build start
16
+ DTS ⚡️ Build success in 4079ms
17
+ DTS dist\index.d.mts 388.35 KB
18
+ DTS dist\index.d.ts 388.35 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 11.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fix lock?
8
+
9
+ ## 11.5.1
10
+
11
+ ### Patch Changes
12
+
13
+ - fix: text area form field props
14
+
3
15
  ## 11.5.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -14883,8 +14883,9 @@ type TextAreaFormFieldProps = {
14883
14883
  label?: string;
14884
14884
  required?: boolean;
14885
14885
  placeholder?: string;
14886
+ fieldProps?: TextareaFieldProps;
14886
14887
  };
14887
- declare const TextAreaFormField: ({ name, label, required, placeholder, }: TextAreaFormFieldProps) => react_jsx_runtime.JSX.Element;
14888
+ declare const TextAreaFormField: ({ name, label, required, placeholder, fieldProps, }: TextAreaFormFieldProps) => react_jsx_runtime.JSX.Element;
14888
14889
 
14889
14890
  type TextFormFieldProps = {
14890
14891
  name: string;
package/dist/index.d.ts CHANGED
@@ -14883,8 +14883,9 @@ type TextAreaFormFieldProps = {
14883
14883
  label?: string;
14884
14884
  required?: boolean;
14885
14885
  placeholder?: string;
14886
+ fieldProps?: TextareaFieldProps;
14886
14887
  };
14887
- declare const TextAreaFormField: ({ name, label, required, placeholder, }: TextAreaFormFieldProps) => react_jsx_runtime.JSX.Element;
14888
+ declare const TextAreaFormField: ({ name, label, required, placeholder, fieldProps, }: TextAreaFormFieldProps) => react_jsx_runtime.JSX.Element;
14888
14889
 
14889
14890
  type TextFormFieldProps = {
14890
14891
  name: string;
package/dist/index.js CHANGED
@@ -9654,7 +9654,8 @@ var TextAreaFormField = ({
9654
9654
  name,
9655
9655
  label,
9656
9656
  required,
9657
- placeholder
9657
+ placeholder,
9658
+ fieldProps
9658
9659
  }) => {
9659
9660
  var _a;
9660
9661
  const {
@@ -9675,7 +9676,7 @@ var TextAreaFormField = ({
9675
9676
  ),
9676
9677
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
9677
9678
  TextareaField,
9678
- __spreadProps(__spreadValues({}, register(name, { required })), {
9679
+ __spreadProps(__spreadValues(__spreadValues({}, fieldProps), register(name, { required })), {
9679
9680
  placeholder,
9680
9681
  color: haveError ? "error" : "default",
9681
9682
  "aria-labelledby": `${name}-label`
package/dist/index.mjs CHANGED
@@ -9562,7 +9562,8 @@ var TextAreaFormField = ({
9562
9562
  name,
9563
9563
  label,
9564
9564
  required,
9565
- placeholder
9565
+ placeholder,
9566
+ fieldProps
9566
9567
  }) => {
9567
9568
  var _a;
9568
9569
  const {
@@ -9583,7 +9584,7 @@ var TextAreaFormField = ({
9583
9584
  ),
9584
9585
  /* @__PURE__ */ jsx32(
9585
9586
  TextareaField,
9586
- __spreadProps(__spreadValues({}, register(name, { required })), {
9587
+ __spreadProps(__spreadValues(__spreadValues({}, fieldProps), register(name, { required })), {
9587
9588
  placeholder,
9588
9589
  color: haveError ? "error" : "default",
9589
9590
  "aria-labelledby": `${name}-label`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "11.5.0",
3
+ "version": "11.5.2",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",