@sharadox/form-web-library 0.7.1-changelog.25 → 0.7.1-development.23

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 (3) hide show
  1. package/llms.txt +4 -1
  2. package/package.json +2 -3
  3. package/CHANGELOG.md +0 -15
package/llms.txt CHANGED
@@ -10,7 +10,10 @@
10
10
  - /parse-contact: parseContact(form, { choices, choiceField='need', reach, requireMessage, minimumMessageLength, requireChoice, fields, now }) → value { name, email, phone, company, message, locale, choices, fields }
11
11
  - /contact-check isEmail(text), isPhone(text) (browser-safe, same rules as the server); /bot-check isLikelyBot; /rate-limit createRateLimiter({ window, maximum }); /field readField(form, name, max)
12
12
  - Env: EMAIL_SERVER_HOST/PORT/USERNAME/PASSWORD, EMAIL_SENDER_ADDRESS. License: Sharadox Open Source License 0.1.0
13
+ - 0.5.0: createContactAction takes `design` (email-web-library ^0.4.0 EmailDesign; plainDesign(company) by default) instead of `theme`, and lays out both emails with emailLayout; the notice has a button to answer the visitor (labels.reply "Reply to" + first name, or labels.call "Call" when only a phone was left); an acknowledgement may carry a `button`; with a design signature, the reply leaves out its line to the site; contact-email (brandedEmailHtml) is removed: use email-web-library's emailLayout
14
+ - 0.5.1: README's example passes a real EmailDesign
13
15
  - phone-field (client, React): PhoneField({ name, locale, defaultCountry?="PT", labels?={country,search}, inputProps?, className?, inputClassName? }); flag+calling-code button opens searchable listbox (Intl.DisplayNames names, default country first, arrows/Enter/Escape, outside press closes); number box digits only (max 15), "+"/"00" paste picks country; hidden input `name` = "+<code> <digits>" or ""; CSS vars --phone-field-line/-accent/-surface/-popover/-radius/-gap; flags lazy-loaded from @sharadox/icon-web-library/flag
14
16
  - calling-code: CALLING_CODES (ISO alpha-2 → digits, 245 countries, from libphonenumber metadata, Apache 2.0), MAIN_CALLING_COUNTRY (shared code → main country), type CallingCountry
15
17
  - phone-number: readPhone(text, current) → { country, digits }; fullPhone(country, digits) → "+351 912345678" | ""
16
- - Changes by version: CHANGELOG.md (in the package)
18
+
19
+ - 0.6.1: llms.txt summary names the phone field
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/form-web-library",
3
- "version": "0.7.1-changelog.25",
3
+ "version": "0.7.1-development.23",
4
4
  "description": "Forms: a phone field with every country's flag and calling code, and on the server field reading, honeypot and fill-time bot checks, rate limiting and a contact form action that emails messages with the visitor as reply-to.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENCA.md",
@@ -25,8 +25,7 @@
25
25
  "LICENCA.md",
26
26
  "LICENSE.md",
27
27
  "NOTICE.md",
28
- "llms.txt",
29
- "CHANGELOG.md"
28
+ "llms.txt"
30
29
  ],
31
30
  "sideEffects": [
32
31
  "**/*.css"
package/CHANGELOG.md DELETED
@@ -1,15 +0,0 @@
1
- # Changelog
2
-
3
- What changed in each version of `@sharadox/form-web-library`, newest first.
4
-
5
- ## 0.6.1
6
-
7
- Llms.txt summary names the phone field
8
-
9
- ## 0.5.1
10
-
11
- README's example passes a real EmailDesign
12
-
13
- ## 0.5.0
14
-
15
- CreateContactAction takes `design` (email-web-library ^0.4.0 EmailDesign; plainDesign(company) by default) instead of `theme`, and lays out both emails with emailLayout; the notice has a button to answer the visitor (labels.reply "Reply to" + first name, or labels.call "Call" when only a phone was left); an acknowledgement may carry a `button`; with a design signature, the reply leaves out its line to the site; contact-email (brandedEmailHtml) is removed: use email-web-library's emailLayout