@frame-kit/ui-ng 0.2.8 → 0.2.9

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@frame-kit/ui-ng",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Style-agnostic, token-driven Angular UI component library for FrameKit.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -173,6 +173,22 @@ declare class LabelComponent {
173
173
 
174
174
  type ShowErrorsOn = 'touched' | 'dirty' | 'submit';
175
175
 
176
+ declare const FK_LABEL_ACTION: InjectionToken<FkLabelActionDirective>;
177
+ /**
178
+ * Marks content that belongs on the label's own row, aligned to the trailing
179
+ * edge — a "Forgot password?" link beside a Password label being the canonical
180
+ * case.
181
+ *
182
+ * It sits outside the `<label>` element deliberately. A link inside a label is
183
+ * activated when the label is clicked, so the user reaches for the link and
184
+ * focuses the input instead; and its text would join the input's accessible
185
+ * name.
186
+ */
187
+ declare class FkLabelActionDirective {
188
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FkLabelActionDirective, never>;
189
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FkLabelActionDirective, "[fkLabelAction]", never, {}, {}, never, never, true, never>;
190
+ }
191
+
176
192
  declare const FK_PREFIX: InjectionToken<FkPrefixDirective>;
177
193
  declare class FkPrefixDirective {
178
194
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FkPrefixDirective, never>;
@@ -214,6 +230,7 @@ declare class FormFieldComponent implements AfterContentInit {
214
230
  readonly hintRef: _angular_core.Signal<HintComponent | undefined>;
215
231
  readonly errorRef: _angular_core.Signal<ErrorComponent | undefined>;
216
232
  readonly labelRef: _angular_core.Signal<LabelComponent | undefined>;
233
+ readonly labelActionRef: _angular_core.Signal<FkLabelActionDirective | undefined>;
217
234
  readonly prefixRef: _angular_core.Signal<FkPrefixDirective | undefined>;
218
235
  readonly suffixRef: _angular_core.Signal<FkSuffixDirective | undefined>;
219
236
  private readonly globalErrorMessages;
@@ -269,7 +286,7 @@ declare class FormFieldComponent implements AfterContentInit {
269
286
  constructor();
270
287
  private syncDescribedByIds;
271
288
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
272
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "fk-form-field", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showErrorsOn": { "alias": "showErrorsOn"; "required": false; "isSignal": true; }; "submitted": { "alias": "submitted"; "required": false; "isSignal": true; }; "externalDescribedBy": { "alias": "externalDescribedBy"; "required": false; "isSignal": true; }; "fallbackControl": { "alias": "fallbackControl"; "required": false; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, ["control", "hintRef", "errorRef", "labelRef", "prefixRef", "suffixRef"], ["fk-label", "[fkPrefix]", "*", "[fkSuffix]", "fk-error", "fk-hint"], true, never>;
289
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "fk-form-field", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showErrorsOn": { "alias": "showErrorsOn"; "required": false; "isSignal": true; }; "submitted": { "alias": "submitted"; "required": false; "isSignal": true; }; "externalDescribedBy": { "alias": "externalDescribedBy"; "required": false; "isSignal": true; }; "fallbackControl": { "alias": "fallbackControl"; "required": false; "isSignal": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; "isSignal": true; }; }, {}, ["control", "hintRef", "errorRef", "labelRef", "labelActionRef", "prefixRef", "suffixRef"], ["fk-label", "[fkLabelAction]", "[fkPrefix]", "*", "[fkSuffix]", "fk-error", "fk-hint"], true, never>;
273
290
  }
274
291
 
275
292
  /**
@@ -1723,5 +1740,5 @@ declare class TimeInputComponent implements ControlValueAccessor, FieldControl {
1723
1740
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeInputComponent, "fk-time-input", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "isRequired": { "alias": "required"; "required": false; "isSignal": true; }; "isReadonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1724
1741
  }
1725
1742
 
1726
- export { AutocompleteComponent, CheckboxComponent, DEFAULT_ERROR_MESSAGES, DateInputComponent, DatetimeInputComponent, ERROR_MESSAGES, ErrorComponent, FIELD_CONTROL, FK_AUTOCOMPLETE_OPTION_TPL, FK_FILE_DROPZONE_ICON, FK_PREFIX, FK_SUFFIX, FORM, FieldArrayOutletComponent, FieldGroupComponent, FieldOutletComponent, FieldRegistry, FileDropzoneComponent, FileUploadComponent, FkAutocompleteOptionTplDirective, FkFileDropzoneIconDirective, FkPrefixDirective, FkSuffixDirective, FormComponent, FormFieldComponent, FormRendererComponent, FormSectionComponent, HintComponent, InputComponent, LabelComponent, NumberInputComponent, PasswordInputComponent, RadioComponent, SchemaParser, SectionOutletComponent, SegmentedBarComponent, SelectComponent, SliderComponent, SwitchComponent, TagInputComponent, TextareaComponent, TimeInputComponent, ValidationRegistry, getError, getFieldState, getInvalidFields, hasError, interpolateMessage, isFormValid, markAllTouched, resolveErrorMessage };
1743
+ export { AutocompleteComponent, CheckboxComponent, DEFAULT_ERROR_MESSAGES, DateInputComponent, DatetimeInputComponent, ERROR_MESSAGES, ErrorComponent, FIELD_CONTROL, FK_AUTOCOMPLETE_OPTION_TPL, FK_FILE_DROPZONE_ICON, FK_LABEL_ACTION, FK_PREFIX, FK_SUFFIX, FORM, FieldArrayOutletComponent, FieldGroupComponent, FieldOutletComponent, FieldRegistry, FileDropzoneComponent, FileUploadComponent, FkAutocompleteOptionTplDirective, FkFileDropzoneIconDirective, FkLabelActionDirective, FkPrefixDirective, FkSuffixDirective, FormComponent, FormFieldComponent, FormRendererComponent, FormSectionComponent, HintComponent, InputComponent, LabelComponent, NumberInputComponent, PasswordInputComponent, RadioComponent, SchemaParser, SectionOutletComponent, SegmentedBarComponent, SelectComponent, SliderComponent, SwitchComponent, TagInputComponent, TextareaComponent, TimeInputComponent, ValidationRegistry, getError, getFieldState, getInvalidFields, hasError, interpolateMessage, isFormValid, markAllTouched, resolveErrorMessage };
1727
1744
  export type { AsyncValidatorConfig, AsyncValidatorFactory, AutocompleteFilterMode, AutocompleteOption, ErrorMessages, FieldControl, FieldGroupLayout, FieldSchema, FieldState, FieldUiConfig, FkFileDropzoneSelection, FormRendererSubmitValue, FormSchema, FormSchemaSection, FormStatus, InputType, LabelEndLink, LayoutColumn, LayoutRow, Option, PasswordAutoComplete, ProgressSegment, RadioOption, SegmentedBarSize, SelectOption, ShowErrorsOn, ValidatorConfig, ValidatorFactory, VisibilityRule };