@navette-js/forms 1.0.0-beta.1 → 1.0.0-beta.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@navette-js/forms",
3
- "version": "1.0.0-beta.1",
4
- "description": "Form fields for Navette, the Node.js port of Filament.",
3
+ "version": "1.0.0-beta.3",
4
+ "description": "Form fields and validation for Navette admin panels.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "exports": {
@@ -35,7 +35,6 @@
35
35
  },
36
36
  "keywords": [
37
37
  "navette",
38
- "filament",
39
38
  "admin",
40
39
  "panel",
41
40
  "livewire",
@@ -43,9 +42,9 @@
43
42
  "node"
44
43
  ],
45
44
  "dependencies": {
46
- "@navette-js/actions": "1.0.0-beta.1",
47
- "@navette-js/schemas": "1.0.0-beta.1",
48
- "@navette-js/support": "1.0.0-beta.1",
45
+ "@navette-js/actions": "1.0.0-beta.3",
46
+ "@navette-js/schemas": "1.0.0-beta.3",
47
+ "@navette-js/support": "1.0.0-beta.3",
49
48
  "@tiptap/core": "^3.33.1",
50
49
  "@tiptap/extension-highlight": "^3.33.1",
51
50
  "@tiptap/extension-image": "^3.33.1",
@@ -1,4 +1,4 @@
1
- <%# Enveloppe de champ par défaut — port de Filament\Forms\Components\Field::wrapEmbeddedHtml() %>
1
+ <%# Default field wrapper. %>
2
2
  <div data-field-wrapper class="<%- cls([locals.wrapperClass, 'fi-fo-field']) %>"<% if (locals.focusable) { %> tabindex="-1"<% } %>>
3
3
  <% if (locals.hiddenLabel) { %>
4
4
  <% if (locals.labelAsDiv) { %>
@@ -13,14 +13,14 @@
13
13
  <% } else { %>
14
14
  <div class="fi-fo-field-label-col">
15
15
  <div class="fi-fo-field-label-ctn">
16
- <%# Groupe de boutons : le libellé est un <div> référencé par aria-labelledby, pas un <label> %>
16
+ <%# Button groups: the label is a <div> referenced by aria-labelledby, not a <label> %>
17
17
  <<%- locals.labelAsDiv ? 'div id="' + id + '-label"' : 'label for="' + id + '"' %> class="fi-fo-field-label">
18
18
  <%- labelPrefix %>
19
19
  <span class="fi-fo-field-label-content">
20
20
  <%= label %><% if (required) { %><sup class="fi-fo-field-label-required-mark">*</sup><% } %>
21
21
  </span>
22
22
  </<%- locals.labelAsDiv ? 'div' : 'label' %>>
23
- <%# Après le libellé : indication (hint), icône et actions d'indication, en ligne et alignées à droite %>
23
+ <%# After the label: hint, hint icon and hint actions, inline and right-aligned %>
24
24
  <%- locals.afterLabel ?? '' %>
25
25
  </div>
26
26
  </div>
@@ -1,6 +1,5 @@
1
- <%# Éditeur riche — balisage de RichEditor::toEmbeddedHtml() (FilamentPHP 5.11.2, MIT), repris tel quel de l'oracle.
2
- Fichier généré par tools/gen-rich-editor-view.mjs : ne pas le modifier à la main.
3
- Variables : livewireId, key (clé et id du champ), statePath. État non géré ici : champ désactivé ou en erreur. %>
1
+ <%# Rich editor markup. Generated by tools/gen-rich-editor-view.mjs: do not edit by hand.
2
+ Variables: livewireId, key (field key and id), statePath. Not handled here: disabled or invalid state. %>
4
3
  <div x-cloak="x-cloak" style="--min-height: 10rem;" class="fi-fo-rich-editor fi-input-wrp">
5
4
 
6
5
  <div class="fi-input-wrp-content-ctn">
@@ -1,4 +1,4 @@
1
- <%# Champ texte — port de TextInput::toEmbeddedHtml() + Field::wrapInputHtml() %>
1
+ <%# Text input with its prefix/suffix wrapper. %>
2
2
  <div <%- wrapper %>>
3
3
  <% if (prefix !== null) { %>
4
4
  <div x-on:click="if (! $event.target.closest('.fi-input-wrp-actions')) $dispatch('focus-input')" class="fi-input-wrp-prefix fi-input-wrp-prefix-has-content fi-input-wrp-prefix-has-label">