@taiga-ui/core 5.24.0 → 5.25.0-canary.3fb67e2

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 (75) hide show
  1. package/classes/accessors.d.ts +9 -1
  2. package/components/cell/cell-stretch.directive.d.ts +1 -1
  3. package/components/data-list/option.directive.d.ts +1 -1
  4. package/components/scrollbar/scroll-controls.component.d.ts +1 -1
  5. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  6. package/components/scrollbar/scrollbar.component.d.ts +2 -3
  7. package/fesm2022/taiga-ui-core-classes.mjs +24 -7
  8. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  9. package/fesm2022/taiga-ui-core-components-button.mjs +2 -2
  10. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-core-components-calendar.mjs +1 -1
  12. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-core-components-carousel.mjs +2 -2
  14. package/fesm2022/taiga-ui-core-components-carousel.mjs.map +1 -1
  15. package/fesm2022/taiga-ui-core-components-cell.mjs +6 -9
  16. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  17. package/fesm2022/taiga-ui-core-components-checkbox.mjs +2 -2
  18. package/fesm2022/taiga-ui-core-components-checkbox.mjs.map +1 -1
  19. package/fesm2022/taiga-ui-core-components-data-list.mjs +7 -7
  20. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  21. package/fesm2022/taiga-ui-core-components-icon.mjs +2 -2
  22. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  23. package/fesm2022/taiga-ui-core-components-label.mjs +3 -3
  24. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-core-components-link.mjs +2 -2
  26. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-core-components-notification.mjs +2 -2
  28. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-core-components-radio.mjs +2 -2
  30. package/fesm2022/taiga-ui-core-components-radio.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-core-components-root.mjs +3 -3
  32. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +34 -49
  34. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-core-components-textfield.mjs +6 -5
  36. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-core-components-title.mjs +3 -3
  38. package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-core-directives-appearance.mjs +3 -3
  40. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-core-directives-group.mjs +3 -3
  42. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-core-directives-icons.mjs +3 -3
  44. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-core-portals-alert.mjs +3 -3
  46. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-core-portals-dialog.mjs +2 -2
  48. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-core-portals-dropdown.mjs +239 -146
  50. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-core-portals-hint.mjs +32 -34
  52. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-core-portals-modal.mjs +3 -3
  54. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-core-tokens.mjs +30 -8
  56. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-core-utils-dom.mjs +21 -1
  58. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  59. package/package.json +36 -36
  60. package/portals/dropdown/dropdown-anchor.directive.d.ts +5 -1
  61. package/portals/dropdown/dropdown-anchored.directive.d.ts +4 -1
  62. package/portals/dropdown/dropdown-context.directive.d.ts +3 -4
  63. package/portals/dropdown/dropdown-position-sided.directive.d.ts +2 -0
  64. package/portals/dropdown/dropdown-position.directive.d.ts +2 -0
  65. package/portals/dropdown/dropdown-selection.directive.d.ts +1 -1
  66. package/portals/dropdown/dropdown.component.d.ts +3 -4
  67. package/portals/dropdown/dropdown.directive.d.ts +1 -0
  68. package/portals/dropdown/dropdown.providers.d.ts +1 -1
  69. package/portals/hint/hint-anchor.directive.d.ts +5 -1
  70. package/portals/hint/hint-pointer.directive.d.ts +1 -3
  71. package/portals/hint/hint.d.ts +1 -2
  72. package/tokens/date-format.d.ts +19 -0
  73. package/tokens/number-format.d.ts +18 -8
  74. package/utils/dom/anchor-delegate.d.ts +1 -0
  75. package/utils/dom/index.d.ts +1 -0
@@ -50,17 +50,27 @@ export interface TuiNumberFormatSettings extends MaskitoNumberParams {
50
50
  */
51
51
  readonly decimalMode: TuiDecimalMode;
52
52
  }
53
- /**
54
- * TODO(v6): add required props
55
- * ```ts
56
- * minusSign: CHAR_MINUS,
57
- * maximumFractionDigits: Number.NaN,
58
- * minimumFractionDigits: 0,
59
- * ```
60
- */
61
53
  export declare const TUI_DEFAULT_NUMBER_FORMAT: TuiNumberFormatSettings;
62
54
  /**
63
55
  * Formatting configuration for displayed numbers
56
+ * TODO(v6): move to @taiga-ui/kit and refactor to
57
+ * ```ts
58
+ * import {maskitoWithNumberDefaults} from '@maskito/kit';
59
+ * import {LOCALE_ID} from '@angular/core';
60
+ *
61
+ * export const TUI_NUMBER_FORMAT = new InjectionToken<Signal<TuiNumberFormatSettings>>(
62
+ * ngDevMode ? 'TUI_NUMBER_FORMAT' : '',
63
+ * {
64
+ * factory: () =>
65
+ * signal({
66
+ * ...maskitoWithNumberDefaults({locale: inject(LOCALE_ID)}),
67
+ * maximumFractionDigits: Number.NaN,
68
+ * rounding: 'truncate',
69
+ * decimalMode: 'pad',
70
+ * })
71
+ * },
72
+ );
73
+ * ```
64
74
  */
65
75
  export declare const TUI_NUMBER_FORMAT: InjectionToken<Signal<TuiNumberFormatSettings>>;
66
76
  export declare function tuiNumberFormatProvider(options: Partial<TuiNumberFormatSettings>): Provider;
@@ -0,0 +1 @@
1
+ export declare function tuiAnchorDelegate(styles?: Partial<CSSStyleDeclaration>): HTMLElement;
@@ -1,3 +1,4 @@
1
+ export * from './anchor-delegate';
1
2
  export * from './check-fixed-position';
2
3
  export * from './get-viewport';
3
4
  export * from './get-word-range';