@plitzi/plitzi-sdk 0.35.1 → 0.35.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.
- package/CHANGELOG.md +62 -0
- package/dist/plitzi-sdk.js +263 -263
- package/dist/plitzi-sdk.js.gz +0 -0
- package/dist/withElement-Nj-YY2Rh.js +5 -0
- package/package.json +12 -12
- package/dist/withElement-aG4S-kGR.js +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# @plitzi/plitzi-sdk
|
|
2
2
|
|
|
3
|
+
## 0.35.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0211dc4: A form speaks the site's language when it refuses a value.
|
|
8
|
+
|
|
9
|
+
- **Every rule of a `formControl` can say what it wants to say.** `requiredMessage`, `minLengthMessage`,
|
|
10
|
+
`maxLengthMessage` and `formatMessage` join `patternMessage` and `matchesMessage`; left empty, each falls back to
|
|
11
|
+
the English sentence it said before. `formatMessage` is said when the value does not have the shape the control's
|
|
12
|
+
type asks for — an address, for an `email` — one attribute for every type that has a shape. Offered in the builder under the rule they belong to.
|
|
13
|
+
- **A `form` can turn the browser's own checks off (`noValidate`, "Skip Browser Validation" in the builder).** Left on
|
|
14
|
+
— the default, as before — the browser answers first for a blank required field and a malformed address, in a
|
|
15
|
+
bubble no style reaches and in the browser's language, while every other rule answers under the control. Turned
|
|
16
|
+
on, the form's rules are the only ones, and all of them answer under the control.
|
|
17
|
+
- **An `email` control checks the address itself,** by the same definition the browser uses, so the format is still
|
|
18
|
+
asked for when the browser's checks are off.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [0211dc4]
|
|
21
|
+
- @plitzi/sdk-auth@0.35.3
|
|
22
|
+
- @plitzi/sdk-dev-tools@0.35.3
|
|
23
|
+
- @plitzi/sdk-elements@0.35.3
|
|
24
|
+
- @plitzi/sdk-event-bridge@0.35.3
|
|
25
|
+
- @plitzi/sdk-interactions@0.35.3
|
|
26
|
+
- @plitzi/sdk-navigation@0.35.3
|
|
27
|
+
- @plitzi/sdk-plugins@0.35.3
|
|
28
|
+
- @plitzi/sdk-schema@0.35.3
|
|
29
|
+
- @plitzi/sdk-shared@0.35.3
|
|
30
|
+
- @plitzi/sdk-style@0.35.3
|
|
31
|
+
- @plitzi/sdk-variables@0.35.3
|
|
32
|
+
|
|
33
|
+
## 0.35.2
|
|
34
|
+
|
|
35
|
+
### Minor Changes
|
|
36
|
+
|
|
37
|
+
- 470aaf8: A booking form can ask for a date, and a toggle can say it is one.
|
|
38
|
+
|
|
39
|
+
- **`formControl` accepts `subType: 'date'`.** It renders the browser's own date picker and submits `YYYY-MM-DD`, so
|
|
40
|
+
a flow or a server action reads one format whatever the visitor's locale. Until now a date was a free text field
|
|
41
|
+
and every form that needed one parsed whatever somebody typed. Offered in the builder's Input Type list.
|
|
42
|
+
- **`button` accepts `ariaExpanded` and `ariaPressed`.** A button that opens a menu or an answer, or one that stays on
|
|
43
|
+
like a filter, can tell assistive technology so — statically, or bound to the state it flips
|
|
44
|
+
(`bind: { ariaExpanded: 'state.menuOpen' }`). Left out, neither attribute is rendered: an ordinary button does not
|
|
45
|
+
claim to control anything.
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- v0.35.2
|
|
50
|
+
- Updated dependencies [470aaf8]
|
|
51
|
+
- Updated dependencies
|
|
52
|
+
- Updated dependencies [470aaf8]
|
|
53
|
+
- @plitzi/sdk-elements@0.35.2
|
|
54
|
+
- @plitzi/sdk-auth@0.35.2
|
|
55
|
+
- @plitzi/sdk-dev-tools@0.35.2
|
|
56
|
+
- @plitzi/sdk-event-bridge@0.35.2
|
|
57
|
+
- @plitzi/sdk-interactions@0.35.2
|
|
58
|
+
- @plitzi/sdk-navigation@0.35.2
|
|
59
|
+
- @plitzi/sdk-plugins@0.35.2
|
|
60
|
+
- @plitzi/sdk-schema@0.35.2
|
|
61
|
+
- @plitzi/sdk-shared@0.35.2
|
|
62
|
+
- @plitzi/sdk-style@0.35.2
|
|
63
|
+
- @plitzi/sdk-variables@0.35.2
|
|
64
|
+
|
|
3
65
|
## 0.35.1
|
|
4
66
|
|
|
5
67
|
### Patch Changes
|