@radix-ng/primitives 0.28.0 → 0.29.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 (37) hide show
  1. package/fesm2022/radix-ng-primitives-separator.mjs +1 -1
  2. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  3. package/fesm2022/radix-ng-primitives-slider.mjs +101 -72
  4. package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
  5. package/fesm2022/radix-ng-primitives-toggle-group.mjs +130 -9
  6. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
  7. package/fesm2022/radix-ng-primitives-toolbar.mjs +155 -0
  8. package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -0
  9. package/package.json +13 -8
  10. package/schematics/collection.json +11 -0
  11. package/schematics/ng-add/index.d.ts +7 -0
  12. package/schematics/ng-add/index.js +31 -0
  13. package/schematics/ng-add/index.js.map +1 -0
  14. package/schematics/ng-add/schema.d.ts +3 -0
  15. package/schematics/ng-add/schema.js +3 -0
  16. package/schematics/ng-add/schema.js.map +1 -0
  17. package/separator/src/separator.directive.d.ts +1 -1
  18. package/slider/src/slider-horizontal.component.d.ts +6 -7
  19. package/slider/src/slider-impl.directive.d.ts +6 -7
  20. package/slider/src/slider-root.component.d.ts +78 -4
  21. package/slider/src/slider-vertical.component.d.ts +6 -7
  22. package/toggle-group/index.d.ts +1 -0
  23. package/toggle-group/src/toggle-group-item.directive.d.ts +8 -2
  24. package/toggle-group/src/toggle-group-without-focus.directive.d.ts +69 -0
  25. package/toggle-group/src/toggle-group.directive.d.ts +12 -1
  26. package/toggle-group/src/toggle-group.token.d.ts +8 -3
  27. package/toolbar/README.md +3 -0
  28. package/toolbar/index.d.ts +19 -0
  29. package/toolbar/src/toolbar-button.directive.d.ts +11 -0
  30. package/toolbar/src/toolbar-link.directive.d.ts +7 -0
  31. package/toolbar/src/toolbar-root.directive.d.ts +8 -0
  32. package/toolbar/src/toolbar-root.token.d.ts +5 -0
  33. package/toolbar/src/toolbar-separator.directive.d.ts +6 -0
  34. package/toolbar/src/toolbar-toggle-group.directive.d.ts +6 -0
  35. package/toolbar/src/toolbar-toggle-item.directive.d.ts +6 -0
  36. package/tooltip/src/tooltip-root.directive.d.ts +4 -4
  37. package/compodoc/documentation.json +0 -39585
@@ -42,7 +42,7 @@ class RdxSeparatorRootDirective {
42
42
  *
43
43
  * @ignore
44
44
  */
45
- this.computedAriaOrientation = computed(() => !this.decorative() && this.orientation() === 'vertical' ? 'vertical' : null);
45
+ this.computedAriaOrientation = computed(() => !this.decorative() && this.orientation() === 'vertical' ? 'vertical' : undefined);
46
46
  }
47
47
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: RdxSeparatorRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
48
48
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.5", type: RdxSeparatorRootDirective, isStandalone: true, selector: "div[rdxSeparatorRoot]", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, decorative: { classPropertyName: "decorative", publicName: "decorative", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "computedRole()", "attr.aria-orientation": "computedAriaOrientation()", "attr.data-orientation": "orientation()" } }, ngImport: i0 }); }
@@ -1 +1 @@
1
- {"version":3,"file":"radix-ng-primitives-separator.mjs","sources":["../../../packages/primitives/separator/src/separator.directive.ts","../../../packages/primitives/separator/radix-ng-primitives-separator.ts"],"sourcesContent":["import { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, computed, Directive, input } from '@angular/core';\n\nconst DEFAULT_ORIENTATION = 'horizontal';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst ORIENTATIONS = ['horizontal', 'vertical'] as const;\n\nexport type Orientation = (typeof ORIENTATIONS)[number];\n\nexport interface SeparatorProps {\n /**\n * Either `vertical` or `horizontal`. Defaults to `horizontal`.\n */\n orientation?: Orientation;\n /**\n * Whether the component is purely decorative. When true, accessibility-related attributes\n * are updated so that the rendered element is removed from the accessibility tree.\n */\n decorative?: boolean;\n}\n\n/**\n * Directive that adds accessible and configurable separator element to the DOM.\n * This can be either horizontal or vertical and optionally decorative (which removes\n * it from the accessibility tree).\n *\n * @group Components\n */\n@Directive({\n selector: 'div[rdxSeparatorRoot]',\n standalone: true,\n host: {\n '[attr.role]': 'computedRole()',\n '[attr.aria-orientation]': 'computedAriaOrientation()',\n\n '[attr.data-orientation]': 'orientation()'\n }\n})\nexport class RdxSeparatorRootDirective {\n /**\n * Orientation of the separator, can be either 'horizontal' or 'vertical'.\n *\n * @defaultValue 'horizontal'\n * @group Props\n */\n readonly orientation = input<Orientation>(DEFAULT_ORIENTATION);\n\n /**\n * If true, the separator will be considered decorative and removed from\n * the accessibility tree. Defaults to false.\n *\n * @defaultValue false\n * @group Props\n */\n readonly decorative = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n /**\n * Computes the `role` attribute for the separator. If `decorative` is true,\n * the role is set to \"none\", otherwise it is \"separator\".\n *\n * @ignore\n */\n protected readonly computedRole = computed(() => (this.decorative() ? 'none' : 'separator'));\n\n /**\n * Computes the `aria-orientation` attribute. It is set to \"vertical\" only if\n * the separator is not decorative and the orientation is set to \"vertical\".\n * For horizontal orientation, the attribute is omitted.\n *\n * @ignore\n */\n protected readonly computedAriaOrientation = computed(() =>\n !this.decorative() && this.orientation() === 'vertical' ? 'vertical' : null\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAGA,MAAM,mBAAmB,GAAG,YAAY;AAExC;AACA,MAAM,YAAY,GAAG,CAAC,YAAY,EAAE,UAAU,CAAU;AAgBxD;;;;;;AAMG;MAWU,yBAAyB,CAAA;AAVtC,IAAA,WAAA,GAAA;AAWI;;;;;AAKG;AACM,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAc,mBAAmB,CAAC;AAE9D;;;;;;AAMG;QACM,IAAU,CAAA,UAAA,GAAG,KAAK,CAAwB,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAE1F;;;;;AAKG;QACgB,IAAY,CAAA,YAAA,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,UAAU,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,CAAC;AAE5F;;;;;;AAMG;QACgB,IAAuB,CAAA,uBAAA,GAAG,QAAQ,CAAC,MAClD,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,UAAU,GAAG,UAAU,GAAG,IAAI,CAC9E;AACJ;8GApCY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,uBAAA,EAAA,2BAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAVrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,aAAa,EAAE,gBAAgB;AAC/B,wBAAA,yBAAyB,EAAE,2BAA2B;AAEtD,wBAAA,yBAAyB,EAAE;AAC9B;AACJ,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"radix-ng-primitives-separator.mjs","sources":["../../../packages/primitives/separator/src/separator.directive.ts","../../../packages/primitives/separator/radix-ng-primitives-separator.ts"],"sourcesContent":["import { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, computed, Directive, input } from '@angular/core';\n\nconst DEFAULT_ORIENTATION = 'horizontal';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst ORIENTATIONS = ['horizontal', 'vertical'] as const;\n\nexport type Orientation = (typeof ORIENTATIONS)[number];\n\nexport interface SeparatorProps {\n /**\n * Either `vertical` or `horizontal`. Defaults to `horizontal`.\n */\n orientation?: Orientation;\n /**\n * Whether the component is purely decorative. When true, accessibility-related attributes\n * are updated so that the rendered element is removed from the accessibility tree.\n */\n decorative?: boolean;\n}\n\n/**\n * Directive that adds accessible and configurable separator element to the DOM.\n * This can be either horizontal or vertical and optionally decorative (which removes\n * it from the accessibility tree).\n *\n * @group Components\n */\n@Directive({\n selector: 'div[rdxSeparatorRoot]',\n standalone: true,\n host: {\n '[attr.role]': 'computedRole()',\n '[attr.aria-orientation]': 'computedAriaOrientation()',\n\n '[attr.data-orientation]': 'orientation()'\n }\n})\nexport class RdxSeparatorRootDirective {\n /**\n * Orientation of the separator, can be either 'horizontal' or 'vertical'.\n *\n * @defaultValue 'horizontal'\n * @group Props\n */\n readonly orientation = input<Orientation>(DEFAULT_ORIENTATION);\n\n /**\n * If true, the separator will be considered decorative and removed from\n * the accessibility tree. Defaults to false.\n *\n * @defaultValue false\n * @group Props\n */\n readonly decorative = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n /**\n * Computes the `role` attribute for the separator. If `decorative` is true,\n * the role is set to \"none\", otherwise it is \"separator\".\n *\n * @ignore\n */\n protected readonly computedRole = computed(() => (this.decorative() ? 'none' : 'separator'));\n\n /**\n * Computes the `aria-orientation` attribute. It is set to \"vertical\" only if\n * the separator is not decorative and the orientation is set to \"vertical\".\n * For horizontal orientation, the attribute is omitted.\n *\n * @ignore\n */\n protected readonly computedAriaOrientation = computed(() =>\n !this.decorative() && this.orientation() === 'vertical' ? 'vertical' : undefined\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAGA,MAAM,mBAAmB,GAAG,YAAY;AAExC;AACA,MAAM,YAAY,GAAG,CAAC,YAAY,EAAE,UAAU,CAAU;AAgBxD;;;;;;AAMG;MAWU,yBAAyB,CAAA;AAVtC,IAAA,WAAA,GAAA;AAWI;;;;;AAKG;AACM,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAc,mBAAmB,CAAC;AAE9D;;;;;;AAMG;QACM,IAAU,CAAA,UAAA,GAAG,KAAK,CAAwB,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAE1F;;;;;AAKG;QACgB,IAAY,CAAA,YAAA,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,UAAU,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,CAAC;AAE5F;;;;;;AAMG;QACgB,IAAuB,CAAA,uBAAA,GAAG,QAAQ,CAAC,MAClD,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,UAAU,GAAG,UAAU,GAAG,SAAS,CACnF;AACJ;8GApCY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,uBAAA,EAAA,2BAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAVrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,aAAa,EAAE,gBAAgB;AAC/B,wBAAA,yBAAyB,EAAE,2BAA2B;AAEtD,wBAAA,yBAAyB,EAAE;AAC9B;AACJ,iBAAA;;;ACtCD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, EventEmitter, Directive, Output, input, booleanAttribute, viewChild, signal, Component, Input, Injectable, numberAttribute, model, computed, ElementRef, PLATFORM_ID, NgModule } from '@angular/core';
2
+ import { inject, output, Directive, input, booleanAttribute, viewChild, signal, Component, Input, Injectable, numberAttribute, model, computed, ElementRef, PLATFORM_ID, NgModule } from '@angular/core';
3
3
  import { NgIf, NgTemplateOutlet, isPlatformBrowser } from '@angular/common';
4
4
 
5
5
  // https://github.com/tmcw-up-for-adoption/simple-linear-scale/blob/master/index.js
@@ -99,12 +99,12 @@ function clamp(value, min = Number.NEGATIVE_INFINITY, max = Number.POSITIVE_INFI
99
99
  class RdxSliderImplDirective {
100
100
  constructor() {
101
101
  this.rootContext = inject(RdxSliderRootComponent);
102
- this.slideStart = new EventEmitter();
103
- this.slideMove = new EventEmitter();
104
- this.slideEnd = new EventEmitter();
105
- this.homeKeyDown = new EventEmitter();
106
- this.endKeyDown = new EventEmitter();
107
- this.stepKeyDown = new EventEmitter();
102
+ this.slideStart = output();
103
+ this.slideMove = output();
104
+ this.slideEnd = output();
105
+ this.homeKeyDown = output();
106
+ this.endKeyDown = output();
107
+ this.stepKeyDown = output();
108
108
  }
109
109
  onKeyDown(event) {
110
110
  if (event.key === 'Home') {
@@ -157,7 +157,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
157
157
  type: Directive,
158
158
  args: [{
159
159
  selector: '[rdxSliderImpl]',
160
- standalone: true,
161
160
  host: {
162
161
  role: 'slider',
163
162
  tabindex: '0',
@@ -167,19 +166,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
167
166
  '(pointerup)': 'onPointerUp($event)'
168
167
  }
169
168
  }]
170
- }], propDecorators: { slideStart: [{
171
- type: Output
172
- }], slideMove: [{
173
- type: Output
174
- }], slideEnd: [{
175
- type: Output
176
- }], homeKeyDown: [{
177
- type: Output
178
- }], endKeyDown: [{
179
- type: Output
180
- }], stepKeyDown: [{
181
- type: Output
182
- }] } });
169
+ }] });
183
170
 
184
171
  class RdxSliderHorizontalComponent {
185
172
  constructor() {
@@ -189,12 +176,12 @@ class RdxSliderHorizontalComponent {
189
176
  this.min = 0;
190
177
  this.max = 100;
191
178
  this.className = '';
192
- this.slideStart = new EventEmitter();
193
- this.slideMove = new EventEmitter();
194
- this.slideEnd = new EventEmitter();
195
- this.stepKeyDown = new EventEmitter();
196
- this.endKeyDown = new EventEmitter();
197
- this.homeKeyDown = new EventEmitter();
179
+ this.slideStart = output();
180
+ this.slideMove = output();
181
+ this.slideEnd = output();
182
+ this.stepKeyDown = output();
183
+ this.endKeyDown = output();
184
+ this.homeKeyDown = output();
198
185
  this.sliderElement = viewChild('sliderElement');
199
186
  this.rect = signal(undefined);
200
187
  }
@@ -278,18 +265,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
278
265
  type: Input
279
266
  }], className: [{
280
267
  type: Input
281
- }], slideStart: [{
282
- type: Output
283
- }], slideMove: [{
284
- type: Output
285
- }], slideEnd: [{
286
- type: Output
287
- }], stepKeyDown: [{
288
- type: Output
289
- }], endKeyDown: [{
290
- type: Output
291
- }], homeKeyDown: [{
292
- type: Output
293
268
  }] } });
294
269
 
295
270
  class RdxSliderOrientationContextService {
@@ -325,12 +300,12 @@ class RdxSliderVerticalComponent {
325
300
  this.min = 0;
326
301
  this.max = 100;
327
302
  this.className = '';
328
- this.slideStart = new EventEmitter();
329
- this.slideMove = new EventEmitter();
330
- this.slideEnd = new EventEmitter();
331
- this.stepKeyDown = new EventEmitter();
332
- this.endKeyDown = new EventEmitter();
333
- this.homeKeyDown = new EventEmitter();
303
+ this.slideStart = output();
304
+ this.slideMove = output();
305
+ this.slideEnd = output();
306
+ this.stepKeyDown = output();
307
+ this.endKeyDown = output();
308
+ this.homeKeyDown = output();
334
309
  this.sliderElement = viewChild('sliderElement');
335
310
  this.rect = signal(undefined);
336
311
  }
@@ -414,36 +389,98 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
414
389
  type: Input
415
390
  }], className: [{
416
391
  type: Input
417
- }], slideStart: [{
418
- type: Output
419
- }], slideMove: [{
420
- type: Output
421
- }], slideEnd: [{
422
- type: Output
423
- }], stepKeyDown: [{
424
- type: Output
425
- }], endKeyDown: [{
426
- type: Output
427
- }], homeKeyDown: [{
428
- type: Output
429
392
  }] } });
430
393
 
394
+ /**
395
+ * @group Components
396
+ */
431
397
  class RdxSliderRootComponent {
432
398
  constructor() {
433
399
  /** @ignore */
434
400
  this.orientationContext = inject(RdxSliderOrientationContextService);
401
+ /**
402
+ * The minimum value for the range.
403
+ *
404
+ * @group Props
405
+ * @defaultValue 0
406
+ */
435
407
  this.min = input(0, { transform: numberAttribute });
408
+ /**
409
+ * The maximum value for the range.
410
+ *
411
+ * @group Props
412
+ * @defaultValue 100
413
+ */
436
414
  this.max = input(100, { transform: numberAttribute });
415
+ /**
416
+ * The stepping interval.
417
+ *
418
+ * @group Props
419
+ * @defaultValue 1
420
+ */
437
421
  this.step = input(1, { transform: numberAttribute });
422
+ /**
423
+ * The minimum permitted steps between multiple thumbs.
424
+ *
425
+ * @group Props
426
+ * @defaultValue 0
427
+ */
438
428
  this.minStepsBetweenThumbs = input(0, { transform: numberAttribute });
429
+ /**
430
+ * The orientation of the slider.
431
+ *
432
+ * @group Props
433
+ * @defaultValue 'horizontal'
434
+ */
439
435
  this.orientation = input('horizontal');
436
+ /**
437
+ * When true, prevents the user from interacting with the slider.
438
+ *
439
+ * @group Props
440
+ * @defaultValue false
441
+ */
440
442
  this.disabled = input(false, { transform: booleanAttribute });
443
+ /**
444
+ * Whether the slider is visually inverted.
445
+ *
446
+ * @group Props
447
+ * @defaultValue false
448
+ */
441
449
  this.inverted = input(false, { transform: booleanAttribute });
450
+ /**
451
+ * The reading direction of the combobox when applicable.
452
+ *
453
+ * @group Props
454
+ * @defaultValue 'ltr'
455
+ */
442
456
  this.dir = input('ltr');
443
457
  this.className = '';
444
- this.valueChange = new EventEmitter();
445
- this.valueCommit = new EventEmitter();
458
+ /**
459
+ * Style class of the component.
460
+ *
461
+ * @group Props
462
+ */
463
+ this.styleClass = input();
464
+ /**
465
+ * The controlled value of the slider.
466
+ *
467
+ * @group Props
468
+ */
446
469
  this.modelValue = model([0]);
470
+ /**
471
+ * Event handler called when the slider value changes.
472
+ *
473
+ * @group Emits
474
+ */
475
+ this.valueChange = output();
476
+ /**
477
+ * Event handler called when the value changes at the end of an interaction.
478
+ *
479
+ * Useful when you only need to capture a final value e.g. to update a backend service.
480
+ *
481
+ * @group Emits
482
+ */
483
+ this.valueCommit = output();
447
484
  /** @ignore */
448
485
  this.valueIndexToChange = model(0);
449
486
  /** @ignore */
@@ -524,12 +561,12 @@ class RdxSliderRootComponent {
524
561
  }
525
562
  }
526
563
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: RdxSliderRootComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
527
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.5", type: RdxSliderRootComponent, isStandalone: true, selector: "rdx-slider", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, minStepsBetweenThumbs: { classPropertyName: "minStepsBetweenThumbs", publicName: "minStepsBetweenThumbs", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inverted: { classPropertyName: "inverted", publicName: "inverted", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: false, isRequired: false, transformFunction: null }, modelValue: { classPropertyName: "modelValue", publicName: "modelValue", isSignal: true, isRequired: false, transformFunction: null }, valueIndexToChange: { classPropertyName: "valueIndexToChange", publicName: "valueIndexToChange", isSignal: true, isRequired: false, transformFunction: null }, valuesBeforeSlideStart: { classPropertyName: "valuesBeforeSlideStart", publicName: "valuesBeforeSlideStart", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", valueCommit: "valueCommit", modelValue: "modelValueChange", valueIndexToChange: "valueIndexToChangeChange", valuesBeforeSlideStart: "valuesBeforeSlideStartChange" }, providers: [RdxSliderOrientationContextService], ngImport: i0, template: `
564
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.5", type: RdxSliderRootComponent, isStandalone: true, selector: "rdx-slider", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, minStepsBetweenThumbs: { classPropertyName: "minStepsBetweenThumbs", publicName: "minStepsBetweenThumbs", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inverted: { classPropertyName: "inverted", publicName: "inverted", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, modelValue: { classPropertyName: "modelValue", publicName: "modelValue", isSignal: true, isRequired: false, transformFunction: null }, valueIndexToChange: { classPropertyName: "valueIndexToChange", publicName: "valueIndexToChange", isSignal: true, isRequired: false, transformFunction: null }, valuesBeforeSlideStart: { classPropertyName: "valuesBeforeSlideStart", publicName: "valuesBeforeSlideStart", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { modelValue: "modelValueChange", valueChange: "valueChange", valueCommit: "valueCommit", valueIndexToChange: "valueIndexToChangeChange", valuesBeforeSlideStart: "valuesBeforeSlideStartChange" }, providers: [RdxSliderOrientationContextService], ngImport: i0, template: `
528
565
  <ng-template #transclude><ng-content /></ng-template>
529
566
 
530
567
  <ng-container *ngIf="orientation() === 'horizontal'">
531
568
  <rdx-slider-horizontal
532
- [className]="className"
569
+ [className]="styleClass() || className"
533
570
  [min]="min()"
534
571
  [max]="max()"
535
572
  [dir]="dir()"
@@ -550,7 +587,7 @@ class RdxSliderRootComponent {
550
587
 
551
588
  <ng-container *ngIf="orientation() === 'vertical'">
552
589
  <rdx-slider-vertical
553
- [className]="className"
590
+ [className]="styleClass() || className"
554
591
  [min]="min()"
555
592
  [max]="max()"
556
593
  [dir]="dir()"
@@ -581,7 +618,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
581
618
 
582
619
  <ng-container *ngIf="orientation() === 'horizontal'">
583
620
  <rdx-slider-horizontal
584
- [className]="className"
621
+ [className]="styleClass() || className"
585
622
  [min]="min()"
586
623
  [max]="max()"
587
624
  [dir]="dir()"
@@ -602,7 +639,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
602
639
 
603
640
  <ng-container *ngIf="orientation() === 'vertical'">
604
641
  <rdx-slider-vertical
605
- [className]="className"
642
+ [className]="styleClass() || className"
606
643
  [min]="min()"
607
644
  [max]="max()"
608
645
  [dir]="dir()"
@@ -624,10 +661,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
624
661
  }]
625
662
  }], propDecorators: { className: [{
626
663
  type: Input
627
- }], valueChange: [{
628
- type: Output
629
- }], valueCommit: [{
630
- type: Output
631
664
  }] } });
632
665
 
633
666
  class RdxSliderRangeComponent {
@@ -655,7 +688,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
655
688
  type: Component,
656
689
  args: [{
657
690
  selector: 'rdx-slider-range',
658
- standalone: true,
659
691
  host: {
660
692
  '[attr.data-disabled]': 'rootContext.disabled() ? "" : undefined',
661
693
  '[attr.data-orientation]': 'rootContext.orientation()',
@@ -752,7 +784,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
752
784
  type: Directive,
753
785
  args: [{
754
786
  selector: '[rdxSliderThumbImpl]',
755
- standalone: true,
756
787
  host: {
757
788
  role: 'slider',
758
789
  '[tabindex]': 'rootContext.disabled() ? undefined : 0',
@@ -778,7 +809,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
778
809
  type: Component,
779
810
  args: [{
780
811
  selector: 'rdx-slider-thumb',
781
- standalone: true,
782
812
  hostDirectives: [RdxSliderThumbImplDirective],
783
813
  template: `
784
814
  <ng-content />
@@ -799,7 +829,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
799
829
  type: Component,
800
830
  args: [{
801
831
  selector: 'rdx-slider-track',
802
- standalone: true,
803
832
  host: {
804
833
  '[attr.data-disabled]': "rootContext.disabled() ? '' : undefined",
805
834
  '[attr.data-orientation]': 'rootContext.orientation()'