matcha-components 20.61.0 → 20.63.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.
package/index.d.ts CHANGED
@@ -1573,6 +1573,108 @@ declare class MatchaSliderComponent implements ControlValueAccessor, OnInit, OnD
1573
1573
  static ɵcmp: i0.ɵɵComponentDeclaration<MatchaSliderComponent, "matcha-slider", never, { "value": { "alias": "value"; "required": false; }; "highValue": { "alias": "highValue"; "required": false; }; "options": { "alias": "options"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; "highValueChange": "highValueChange"; "userChange": "userChange"; "userChangeEnd": "userChangeEnd"; }, never, never, false, never>;
1574
1574
  }
1575
1575
 
1576
+ declare class MatchaChipComponent {
1577
+ _elementRef: ElementRef;
1578
+ /** Cor do chip (primary, accent, warn) */
1579
+ color: 'primary' | 'accent' | 'warn' | string;
1580
+ /** Se o chip está selecionado */
1581
+ get selected(): boolean;
1582
+ set selected(value: boolean);
1583
+ private _selected;
1584
+ /** Se o chip pode ser selecionado */
1585
+ selectable: boolean;
1586
+ /** Se o chip pode ser removido */
1587
+ removable: boolean;
1588
+ /** Se o chip está desabilitado */
1589
+ get disabled(): boolean;
1590
+ set disabled(value: boolean);
1591
+ private _disabled;
1592
+ /** Valor associado ao chip */
1593
+ value: any;
1594
+ /** Evento emitido quando o chip é selecionado */
1595
+ selectedChange: EventEmitter<boolean>;
1596
+ /** Evento emitido quando o botão de remover é clicado */
1597
+ removed: EventEmitter<MatchaChipComponent>;
1598
+ /** Evento emitido quando o chip é destruído */
1599
+ destroyed: EventEmitter<MatchaChipComponent>;
1600
+ get hostClasses(): string;
1601
+ constructor(_elementRef: ElementRef);
1602
+ /** Manipula o clique no chip */
1603
+ _handleClick(event: Event): void;
1604
+ /** Manipula o evento de teclado */
1605
+ _handleKeydown(event: KeyboardEvent): void;
1606
+ /** Alterna o estado de seleção do chip */
1607
+ toggleSelected(): void;
1608
+ /** Remove o chip */
1609
+ remove(): void;
1610
+ /** Foco no elemento do chip */
1611
+ focus(): void;
1612
+ ngOnDestroy(): void;
1613
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaChipComponent, never>;
1614
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaChipComponent, "matcha-chip", never, { "color": { "alias": "color"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "selectedChange": "selectedChange"; "removed": "removed"; "destroyed": "destroyed"; }, never, ["*"], false, never>;
1615
+ }
1616
+
1617
+ declare class MatchaChipListComponent implements AfterContentInit, OnDestroy, ControlValueAccessor {
1618
+ /** Se múltiplos chips podem ser selecionados */
1619
+ multiple: boolean;
1620
+ /** Se os chips podem ser selecionados */
1621
+ selectable: boolean;
1622
+ /** Se a chip list está desabilitada */
1623
+ get disabled(): boolean;
1624
+ set disabled(value: boolean);
1625
+ private _disabled;
1626
+ /** Valor(es) selecionado(s) */
1627
+ get value(): any;
1628
+ set value(newValue: any);
1629
+ private _value;
1630
+ /** Orientação da lista de chips */
1631
+ orientation: 'horizontal' | 'vertical';
1632
+ /** Evento emitido quando a seleção muda */
1633
+ change: EventEmitter<any>;
1634
+ chips: QueryList<MatchaChipComponent>;
1635
+ chipListClass: boolean;
1636
+ get isDisabled(): boolean;
1637
+ role: string;
1638
+ get ariaMultiselectable(): "true" | null;
1639
+ get ariaDisabled(): string;
1640
+ private _chipSubscriptions;
1641
+ private _focusedChipIndex;
1642
+ onChange: any;
1643
+ onTouched: any;
1644
+ ngAfterContentInit(): void;
1645
+ ngOnDestroy(): void;
1646
+ /** Configura listeners para os chips */
1647
+ private _setupChipListeners;
1648
+ /** Limpa as subscrições dos chips */
1649
+ private _cleanupChipSubscriptions;
1650
+ /** Manipula mudança de seleção de um chip */
1651
+ private _onChipSelectionChange;
1652
+ /** Manipula a remoção de um chip */
1653
+ private _onChipRemoved;
1654
+ /** Atualiza o valor baseado nos chips selecionados */
1655
+ private _updateValue;
1656
+ /** Atualiza o estado de seleção dos chips baseado no valor */
1657
+ private _updateChipsSelectionState;
1658
+ /** Atualiza o estado desabilitado dos chips */
1659
+ private _updateChipsDisabledState;
1660
+ /** Manipula navegação por teclado */
1661
+ _handleKeydown(event: KeyboardEvent): void;
1662
+ /** Foca no chip anterior */
1663
+ private _focusPreviousChip;
1664
+ /** Foca no próximo chip */
1665
+ private _focusNextChip;
1666
+ /** Foca no primeiro chip */
1667
+ private _focusFirstChip;
1668
+ /** Foca no último chip */
1669
+ private _focusLastChip;
1670
+ writeValue(value: any): void;
1671
+ registerOnChange(fn: any): void;
1672
+ registerOnTouched(fn: any): void;
1673
+ setDisabledState(isDisabled: boolean): void;
1674
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaChipListComponent, never>;
1675
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaChipListComponent, "matcha-chip-list", never, { "multiple": { "alias": "multiple"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "change": "change"; }, ["chips"], ["*"], false, never>;
1676
+ }
1677
+
1576
1678
  declare class MatchaTooltipDirective implements OnDestroy {
1577
1679
  private el;
1578
1680
  private renderer;
@@ -2177,9 +2279,15 @@ declare class MatchaAvatarModule {
2177
2279
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaAvatarModule>;
2178
2280
  }
2179
2281
 
2282
+ declare class MatchaChipModule {
2283
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchaChipModule, never>;
2284
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaChipModule, [typeof MatchaChipComponent, typeof MatchaChipListComponent], [typeof i2.CommonModule, typeof MatchaDividerModule, typeof MatchaIconModule], [typeof MatchaChipComponent, typeof MatchaChipListComponent]>;
2285
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatchaChipModule>;
2286
+ }
2287
+
2180
2288
  declare class MatchaComponentsModule {
2181
2289
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaComponentsModule, never>;
2182
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule]>;
2290
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatchaComponentsModule, [typeof MatchaOverflowDraggableComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule], [typeof MatchaAccordionModule, typeof MatchaAutocompleteModule, typeof MatchaOptionModule, typeof MatchaPanelModule, typeof MatchaSelectModule, typeof MatchaButtonModule, typeof MatchaButtonToggleModule, typeof MatchaCardModule, typeof MatchaCheckboxModule, typeof MatchaRadioModule, typeof MatchaDividerModule, typeof MatchaElevationModule, typeof MatchaFormFieldModule, typeof MatchaHintTextModule, typeof MatchaIconModule, typeof MatchaInfiniteScrollModule, typeof MatchaLazyloadModule, typeof MatchaInputPhoneModule, typeof MatchaMasonryModule, typeof MatchaModalModule, typeof MatchaPaginatorModule, typeof MatchaRippleModule, typeof MatchaSlideToggleModule, typeof MatchaSliderModule, typeof MatchaSpinModule, typeof MatchaSpinnerModule, typeof MatchaStepperModule, typeof MatchaTabsModule, typeof MatchaTitleModule, typeof MatchaTooltipModule, typeof MatchaDateRangeModule, typeof MatchaTimeModule, typeof MatchaDropListModule, typeof MatchaPageLayoutModule, typeof MatchaAvatarModule, typeof MatchaDrawerModule, typeof MatchaHighlightModule, typeof MatchaMaskModule, typeof MatchaChipModule]>;
2183
2291
  static ɵinj: i0.ɵɵInjectorDeclaration<MatchaComponentsModule>;
2184
2292
  }
2185
2293
 
@@ -2429,5 +2537,5 @@ declare class StepContentDirective {
2429
2537
  static ɵdir: i0.ɵɵDirectiveDeclaration<StepContentDirective, "[step]", never, { "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
2430
2538
  }
2431
2539
 
2432
- export { CopyButtonComponent, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaComponentsModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMaskApplierService, MatchaMaskCompatibleDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, compatibleOptions, initialConfig, timeMasks, withoutValidation };
2540
+ export { CopyButtonComponent, INITIAL_CONFIG, MATCHA_MASK_CONFIG, MATCHA_OPTION_PARENT, MaskExpression, MatchaAccordionComponent, MatchaAccordionContentComponent, MatchaAccordionHeaderComponent, MatchaAccordionItemComponent, MatchaAccordionModule, MatchaAutocompleteComponent, MatchaAutocompleteModule, MatchaAutocompleteTriggerDirective, MatchaAvatarComponent, MatchaAvatarModule, MatchaBreakpointObservableModule, MatchaBreakpointObserver, MatchaButtonComponent, MatchaButtonModule, MatchaButtonToggleComponent, MatchaButtonToggleModule, MatchaCardComponent, MatchaCardModule, MatchaCheckboxComponent, MatchaCheckboxModule, MatchaChipComponent, MatchaChipListComponent, MatchaChipModule, MatchaComponentsModule, MatchaDateRangeComponent, MatchaDateRangeModule, MatchaDividerComponent, MatchaDividerModule, MatchaDragDirective, MatchaDragHandleDirective, MatchaDrawerComponent, MatchaDrawerContainerComponent, MatchaDrawerContentComponent, MatchaDrawerModule, MatchaDropListComponent, MatchaDropListModule, MatchaElevationDirective, MatchaElevationModule, MatchaErrorComponent, MatchaFormFieldComponent, MatchaFormFieldModule, MatchaGridComponent, MatchaGridModule, MatchaHighlightComponent, MatchaHighlightModule, MatchaHintTextComponent, MatchaHintTextModule, MatchaIconComponent, MatchaIconModule, MatchaInfiniteScrollComponent, MatchaInfiniteScrollDataComponent, MatchaInfiniteScrollModule, MatchaInputPhoneComponent, MatchaInputPhoneModule, MatchaLabelComponent, MatchaLazyloadComponent, MatchaLazyloadDataComponent, MatchaLazyloadModule, MatchaMaskApplierService, MatchaMaskCompatibleDirective, MatchaMaskModule, MatchaMaskPipe, MatchaMaskService, MatchaMasonryComponent, MatchaMasonryModule, MatchaModalComponent, MatchaModalContentComponent, MatchaModalFooterComponent, MatchaModalHeaderComponent, MatchaModalModule, MatchaModalOptionsComponent, MatchaModalService, MatchaOptionComponent, MatchaOptionModule, MatchaOverlayService, MatchaPageLayoutComponent, MatchaPageLayoutModule, MatchaPaginatorComponent, MatchaPaginatorIntl, MatchaPaginatorModule, MatchaPanelComponent, MatchaPanelModule, MatchaRadioComponent, MatchaRadioModule, MatchaRippleDirective, MatchaRippleModule, MatchaSelectComponent, MatchaSelectModule, MatchaSelectTriggerDirective, MatchaSkeletonComponent, MatchaSkeletonModule, MatchaSlideToggleComponent, MatchaSlideToggleModule, MatchaSliderComponent, MatchaSliderModule, MatchaSpinComponent, MatchaSpinModule, MatchaSpinnerComponent, MatchaSpinnerModule, MatchaStepperComponent, MatchaStepperContentComponent, MatchaStepperControllerComponent, MatchaStepperModule, MatchaStepperStateService, MatchaTabItemComponent, MatchaTabsComponent, MatchaTabsModule, MatchaTimeComponent, MatchaTimeModule, MatchaTitleComponent, MatchaTitleModule, MatchaToolbarButtonComponent, MatchaToolbarComponent, MatchaToolbarContentComponent, MatchaToolbarCustomButtonComponent, MatchaToolbarMainButtonComponent, MatchaToolbarModule, MatchaTooltipDirective, MatchaTooltipModule, NEW_CONFIG, NextStepDirective, PrevStepDirective, StepComponent, StepContentDirective, compatibleOptions, initialConfig, timeMasks, withoutValidation };
2433
2541
  export type { BreakpointState, DrawerMode, DrawerPosition, ILevelClasses, InputTransformFn, MatchaDropListConnectedToEvent, MatchaDropListDroppedEvent, MatchaMaskConfig, MatchaMaskOptions, MatchaOptionParent, ModalComponent, OutputTransformFn, PageEvent, PanelPlacement, PanelPosition, SliderOptions, TabChangeEvent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.61.0",
3
+ "version": "20.63.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"