@koobiq/components 18.39.2 → 18.39.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.
Files changed (62) hide show
  1. package/core/highlight/highlight.pipe.d.ts +2 -0
  2. package/core/option/action.d.ts +5 -6
  3. package/datepicker/datepicker-input.directive.d.ts +6 -1
  4. package/esm2022/core/highlight/highlight.pipe.mjs +23 -5
  5. package/esm2022/core/option/action.mjs +21 -22
  6. package/esm2022/core/version.mjs +2 -2
  7. package/esm2022/datepicker/datepicker-input.directive.mjs +9 -2
  8. package/esm2022/datepicker/datepicker.component.mjs +2 -2
  9. package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -2
  10. package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +3 -3
  11. package/esm2022/form-field/cleaner.mjs +3 -3
  12. package/esm2022/form-field/fieldset.mjs +2 -2
  13. package/esm2022/form-field/form-field.mjs +2 -2
  14. package/esm2022/form-field/password-toggle.mjs +3 -3
  15. package/esm2022/icon/icon-button.component.mjs +2 -2
  16. package/esm2022/inline-edit/inline-edit.mjs +4 -4
  17. package/esm2022/list/list-selection.component.mjs +12 -2
  18. package/esm2022/popover/popover-confirm.component.mjs +3 -3
  19. package/esm2022/popover/popover.component.mjs +3 -3
  20. package/esm2022/search-expandable/search-expandable.mjs +50 -23
  21. package/esm2022/select/select.component.mjs +7 -4
  22. package/esm2022/tags/tag-input.mjs +7 -6
  23. package/esm2022/tags/tag-list.component.mjs +11 -3
  24. package/esm2022/tags/tag.component.mjs +9 -3
  25. package/fesm2022/koobiq-components-core.mjs +42 -26
  26. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  27. package/fesm2022/koobiq-components-datepicker.mjs +9 -2
  28. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  29. package/fesm2022/koobiq-components-dropdown.mjs +2 -1
  30. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  31. package/fesm2022/koobiq-components-filter-bar.mjs +2 -2
  32. package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
  33. package/fesm2022/koobiq-components-form-field.mjs +8 -8
  34. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  35. package/fesm2022/koobiq-components-icon.mjs +2 -2
  36. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  37. package/fesm2022/koobiq-components-inline-edit.mjs +3 -3
  38. package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
  39. package/fesm2022/koobiq-components-list.mjs +11 -1
  40. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  41. package/fesm2022/koobiq-components-popover.mjs +4 -4
  42. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  43. package/fesm2022/koobiq-components-search-expandable.mjs +49 -22
  44. package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
  45. package/fesm2022/koobiq-components-select.mjs +6 -3
  46. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  47. package/fesm2022/koobiq-components-tags.mjs +24 -9
  48. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  49. package/form-field/_form-field-theme.scss +2 -2
  50. package/form-field/form-field.scss +0 -1
  51. package/icon/icon-button.scss +5 -4
  52. package/inline-edit/inline-edit-tokens.scss +1 -1
  53. package/inline-edit/inline-edit.d.ts +2 -2
  54. package/inline-edit/inline-edit.scss +1 -1
  55. package/list/list-selection.component.d.ts +1 -0
  56. package/package.json +4 -4
  57. package/popover/_popover-theme.scss +1 -1
  58. package/schematics/ng-add/index.js +2 -2
  59. package/search-expandable/search-expandable.d.ts +19 -4
  60. package/select/select.component.d.ts +2 -1
  61. package/tags/tag-list.component.d.ts +7 -1
  62. package/tags/tag.component.d.ts +2 -0
@@ -9,7 +9,7 @@ import { KbqButtonModule } from '@koobiq/components/button';
9
9
  import * as i3 from '@koobiq/components/select';
10
10
  import { KbqSelectModule } from '@koobiq/components/select';
11
11
  import * as i4 from '@koobiq/components/form-field';
12
- import { KbqFormFieldControl, KbqFormFieldModule } from '@koobiq/components/form-field';
12
+ import { KbqFormFieldControl, KbqFormField, KbqFormFieldModule } from '@koobiq/components/form-field';
13
13
  import * as i1$2 from '@koobiq/components/icon';
14
14
  import { KbqIconModule } from '@koobiq/components/icon';
15
15
  import { Subject, Subscription, merge, of } from 'rxjs';
@@ -939,7 +939,7 @@ class KbqDatepicker {
939
939
  createPopupPositionStrategy() {
940
940
  return this.overlay
941
941
  .position()
942
- .flexibleConnectedTo(this.datepickerInput.elementRef)
942
+ .flexibleConnectedTo(this.datepickerInput.getOrigin())
943
943
  .withTransformOriginOn('.kbq-datepicker__content')
944
944
  .withFlexibleDimensions(false)
945
945
  .withViewportMargin(8)
@@ -1324,7 +1324,10 @@ class KbqDatepickerInput {
1324
1324
  this.adapter = adapter;
1325
1325
  this.dateFormats = dateFormats;
1326
1326
  /** @docs-private */
1327
+ this.formField = inject(KbqFormField, { optional: true, host: true });
1328
+ /** @docs-private */
1327
1329
  this.localeService = inject(KBQ_LOCALE_SERVICE, { optional: true });
1330
+ /** @docs-private */
1328
1331
  this.externalConfiguration = inject(KBQ_DATEPICKER_CONFIGURATION, { optional: true });
1329
1332
  this.stateChanges = new Subject();
1330
1333
  this.controlType = 'datepicker';
@@ -1611,6 +1614,10 @@ class KbqDatepickerInput {
1611
1614
  updateErrorState() {
1612
1615
  this.errorStateTracker.updateErrorState();
1613
1616
  }
1617
+ /** Returns the ElementRef of the formField if it exists; otherwise, returns the ElementRef of the input. */
1618
+ getOrigin() {
1619
+ return this.formField ? this.formField.getConnectedOverlayOrigin() : this.elementRef;
1620
+ }
1614
1621
  saveTimePart(selected) {
1615
1622
  if (!this.value) {
1616
1623
  return selected;