@bigbinary/neeto-molecules 1.3.6 → 1.3.8

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 (42) hide show
  1. package/dist/Breadcrumbs.js +1 -1
  2. package/dist/CalendarView.js +1 -1
  3. package/dist/Codeblock.js +9 -3
  4. package/dist/Codeblock.js.map +1 -1
  5. package/dist/Container.js +1 -1
  6. package/dist/CustomDomainDashboard.js +9 -6
  7. package/dist/CustomDomainDashboard.js.map +1 -1
  8. package/dist/DateRangeFilter.js +3 -3
  9. package/dist/DateRangeFilter.js.map +1 -1
  10. package/dist/EmailForm.js +3 -3
  11. package/dist/EmailForm.js.map +1 -1
  12. package/dist/EmailPreview.js +3 -3
  13. package/dist/EmailPreview.js.map +1 -1
  14. package/dist/Header.js +5 -3
  15. package/dist/Header.js.map +1 -1
  16. package/dist/IntegrationWalkthroughModal.js +2 -2
  17. package/dist/IntegrationWalkthroughModal.js.map +1 -1
  18. package/dist/IpRestriction.js +23 -10
  19. package/dist/IpRestriction.js.map +1 -1
  20. package/dist/LoginPage.js +16 -14
  21. package/dist/LoginPage.js.map +1 -1
  22. package/dist/NavigationHeader.js +1 -1
  23. package/dist/NeetoWidget.js +2 -2
  24. package/dist/NeetoWidget.js.map +1 -1
  25. package/dist/PublishYourItem.js +3 -3
  26. package/dist/PublishYourItem.js.map +1 -1
  27. package/dist/Rename.js +1 -1
  28. package/dist/Schedule.js +26 -23
  29. package/dist/Schedule.js.map +1 -1
  30. package/dist/Security.js +6 -4
  31. package/dist/Security.js.map +1 -1
  32. package/dist/ShareViaEmail.js +3 -3
  33. package/dist/ShareViaEmail.js.map +1 -1
  34. package/dist/SubHeader.js +1 -1
  35. package/dist/SuffixedInput.js +64 -6
  36. package/dist/SuffixedInput.js.map +1 -1
  37. package/dist/Taxonomy.js +7 -5
  38. package/dist/Taxonomy.js.map +1 -1
  39. package/package.json +2 -1
  40. package/types/EmailForm.d.ts +1 -1
  41. package/types/PhoneNumber.d.ts +3 -1
  42. package/types/SuffixedInput.d.ts +17 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -159,6 +159,7 @@
159
159
  "react-syntax-highlighter": "^15.5.0",
160
160
  "react-toastify": "^9.0.8",
161
161
  "remark-gfm": "4.0.0",
162
+ "rfs": "^10.0.0",
162
163
  "rollup": "^2.76.0",
163
164
  "rollup-plugin-analyzer": "^4.0.0",
164
165
  "rollup-plugin-cleaner": "^1.0.0",
@@ -28,7 +28,7 @@ type FieldOptions = {
28
28
  * return (
29
29
  * <EmailFormProvider>
30
30
  * {({ values }) => (
31
- * <div className="flex gap-2 p-6">
31
+ * <div className="flex flex-col gap-2 p-6 md:flex-row">
32
32
  * <EmailForm
33
33
  * showReplyToField
34
34
  * showSendToField
@@ -28,7 +28,9 @@ export
28
28
  *
29
29
  * picker. The default country code will be detected automatically based on the
30
30
  *
31
- * location of the user's ip address. We are leveraging neetoIpLookupWeb for the same.
31
+ * location of the user's ip address. We are leveraging neetoIpLookupWeb for the
32
+ *
33
+ * same.
32
34
  *
33
35
  * ![PhoneNumberInput](https://user-images.githubusercontent.com/35297280/231367938-93aa94b0-2a8c-44b3-b1c7-8c60843e40c4.png|height=200|width=300)
34
36
  *
@@ -1,32 +1,29 @@
1
1
  import React from "react";
2
2
  /**
3
3
  *
4
- * This component can be used to display an input where the value is customizable by the user,
4
+ * This component can be used to display an input where the value is customizable
5
5
  *
6
- * but not the suffix. eg: Emails, blog urls etc.
6
+ * by the user, but not the suffix. eg: Emails, blog urls etc.
7
7
  *
8
8
  * @example
9
9
  *
10
10
  * import SuffixedInput from "@bigbinary/neeto-molecules/SuffixedInput";
11
11
  *
12
12
  * const MailboxConfiguration = () => {
13
- * return (<Form
14
- * formikProps={{
15
- * initialValues: { email: "" },
16
- * onSubmit: noop,
17
- * onreset: noop,
18
- * }}
19
- * >
20
- * {({ values: { email } }) => (
21
- * <div className="w-full p-6">
22
- * <SuffixedInput
23
- * {...{ ...args }}
24
- * value={email}
25
- * name="email"
26
- * />
27
- * </div>
28
- * )}
29
- * </Form>
13
+ * return (
14
+ * <Form
15
+ * formikProps={{
16
+ * initialValues: { email: "" },
17
+ * onSubmit: noop,
18
+ * onreset: noop,
19
+ * }}
20
+ * >
21
+ * {({ values: { email } }) => (
22
+ * <div className="w-full p-6">
23
+ * <SuffixedInput {...{ ...args }} value={email} name="email" />
24
+ * </div>
25
+ * )}
26
+ * </Form>
30
27
  * );
31
28
  * };
32
29
  * @endexample
@@ -41,6 +38,6 @@ const SuffixedInput: React.FC<{
41
38
  suffix: string;
42
39
  isCopyToClipboardEnabled?: boolean;
43
40
  name?: string;
44
- dataCy?: string;
41
+ inputProps?: object;
45
42
  }>;
46
43
  export default SuffixedInput;