@4sh/ui-kit 0.15.0 → 0.16.0

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 (30) hide show
  1. package/README.fr.md +8 -0
  2. package/README.md +8 -0
  3. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +69 -22
  4. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +13 -4
  6. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +12 -4
  8. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +19 -8
  10. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +30 -9
  12. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +8 -3
  14. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +10 -4
  16. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  17. package/fesm2022/4sh-ui-kit-forms.mjs +46 -2
  18. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  19. package/mcp/data/component-api.json +14 -0
  20. package/mcp/data/text-search-docs.json +29 -9
  21. package/mcp/package.json +1 -1
  22. package/package.json +1 -1
  23. package/styles/utils/_mixins.scss +11 -0
  24. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +16 -3
  25. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +2 -0
  26. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +4 -1
  27. package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +5 -1
  28. package/types/4sh-ui-kit-forms-ui-input.d.ts +2 -0
  29. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +2 -0
  30. package/types/4sh-ui-kit-forms.d.ts +25 -1
@@ -329,5 +329,29 @@ declare function formatLabel(template: string, value: string | number): string;
329
329
 
330
330
  declare function warnMissingAccessibleName(componentTag: string, message: string): void;
331
331
 
332
- export { BaseControlValueAccessor, BaseFieldControl, BaseFormField, MASK_TOKENS, acceptsMaskChar, addDays, addMonths, applyMaskTemplate, autoFormatSegments, buildMaskSlots, caretForMask, createOptionResolver, dropdownOverlayPositions, extractMaskData, finalizeParsed, firstOfMonth, formatLabel, isSameDay, normalizeDateInput, parseIsoDate, parseIsoDateTime, parseIsoTime, parseMaskRanges, startOfDay, toIsoDate, toIsoDateTime, toIsoTime, warnMissingAccessibleName };
332
+ /**
333
+ * Reports the events through which the browser may write a value into a native
334
+ * `<input>`/`<textarea>` without an `input` event:
335
+ *
336
+ * - its autofill: the `:-webkit-autofill` animation declared by the
337
+ * `utils.browser-fill` mixin, which the host stylesheet must include;
338
+ * - a `change`.
339
+ *
340
+ * Either may follow an edit the host already handled through `input`: the
341
+ * host syncs only when the native value differs from the one it renders, so
342
+ * nothing is emitted twice. An `input` sent by the browser to a field without
343
+ * focus already reaches the host's own `(input)` handler: `hasFocus()` tells
344
+ * it apart from a keystroke.
345
+ */
346
+ declare class UiBrowserFill {
347
+ /** Emitted with the change/animation event that may reveal a fill. */
348
+ readonly browserFill: _angular_core.OutputEmitterRef<Event>;
349
+ protected onAnimationStart(event: AnimationEvent): void;
350
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiBrowserFill, never>;
351
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiBrowserFill, "[uiBrowserFill]", never, {}, { "browserFill": "browserFill"; }, never, never, true, never>;
352
+ }
353
+ /** Whether `element` holds the focus (works inside a shadow root). */
354
+ declare function hasFocus(element: Element): boolean;
355
+
356
+ export { BaseControlValueAccessor, BaseFieldControl, BaseFormField, MASK_TOKENS, UiBrowserFill, acceptsMaskChar, addDays, addMonths, applyMaskTemplate, autoFormatSegments, buildMaskSlots, caretForMask, createOptionResolver, dropdownOverlayPositions, extractMaskData, finalizeParsed, firstOfMonth, formatLabel, hasFocus, isSameDay, normalizeDateInput, parseIsoDate, parseIsoDateTime, parseIsoTime, parseMaskRanges, startOfDay, toIsoDate, toIsoDateTime, toIsoTime, warnMissingAccessibleName };
333
357
  export type { FieldFloatLabel, FieldLevel, FieldSize, MaskBounds, MaskBuildResult, MaskSlot, OptionEntry, OptionResolver, OptionResolverFields };