cax-design-system 1.1.1 → 1.2.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/README.md +1 -1
- package/autocomplete/autocomplete.d.ts +16 -33
- package/autocomplete/autocomplete.module.d.ts +20 -0
- package/autocomplete/public_api.d.ts +1 -0
- package/esm2022/autocomplete/autocomplete.mjs +35 -471
- package/esm2022/autocomplete/autocomplete.module.mjs +30 -0
- package/esm2022/autocomplete/public_api.mjs +2 -1
- package/esm2022/button/button.mjs +3 -3
- package/esm2022/inputmask/inputmask.mjs +2 -2
- package/esm2022/inputnumber/inputnumber.mjs +2 -2
- package/esm2022/inputtext/inputtext.component.mjs +3 -3
- package/esm2022/inputtext/inputtext.directive.mjs +6 -17
- package/esm2022/inputtextarea/inputtextarea.component.mjs +139 -0
- package/esm2022/inputtextarea/inputtextarea.directive.mjs +121 -0
- package/esm2022/inputtextarea/inputtextarea.module.mjs +20 -0
- package/esm2022/inputtextarea/public_api.mjs +4 -2
- package/esm2022/menu/menu.mjs +15 -342
- package/esm2022/menu/menu.module.mjs +22 -0
- package/esm2022/menu/public_api.mjs +2 -1
- package/esm2022/navigation/navigation.mjs +3 -3
- package/esm2022/password/password.mjs +2 -2
- package/esm2022/selectbutton/selectbutton.mjs +2 -2
- package/esm2022/sidebar/sidebar.mjs +3 -3
- package/esm2022/splitter/public_api.mjs +2 -1
- package/esm2022/splitter/splitter.mjs +27 -99
- package/esm2022/splitter/splitter.module.mjs +19 -0
- package/esm2022/table/components/table-body/table-body.mjs +5 -5
- package/esm2022/table/table.mjs +3 -3
- package/esm2022/togglebutton/togglebutton.mjs +2 -2
- package/esm2022/tree/tree.mjs +27 -19
- package/esm2022/tree/tree.module.mjs +5 -4
- package/esm2022/treeselect/treeselect.mjs +1 -1
- package/fesm2022/cax-design-system-autocomplete.mjs +41 -452
- package/fesm2022/cax-design-system-autocomplete.mjs.map +1 -1
- package/fesm2022/cax-design-system-button.mjs +2 -2
- package/fesm2022/cax-design-system-button.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputmask.mjs +1 -1
- package/fesm2022/cax-design-system-inputmask.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputnumber.mjs +1 -1
- package/fesm2022/cax-design-system-inputnumber.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputtext.mjs +7 -18
- package/fesm2022/cax-design-system-inputtext.mjs.map +1 -1
- package/fesm2022/cax-design-system-inputtextarea.mjs +157 -21
- package/fesm2022/cax-design-system-inputtextarea.mjs.map +1 -1
- package/fesm2022/cax-design-system-menu.mjs +17 -327
- package/fesm2022/cax-design-system-menu.mjs.map +1 -1
- package/fesm2022/cax-design-system-navigation.mjs +2 -2
- package/fesm2022/cax-design-system-navigation.mjs.map +1 -1
- package/fesm2022/cax-design-system-password.mjs +1 -1
- package/fesm2022/cax-design-system-password.mjs.map +1 -1
- package/fesm2022/cax-design-system-selectbutton.mjs +2 -2
- package/fesm2022/cax-design-system-selectbutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-sidebar.mjs +2 -2
- package/fesm2022/cax-design-system-sidebar.mjs.map +1 -1
- package/fesm2022/cax-design-system-splitter.mjs +24 -82
- package/fesm2022/cax-design-system-splitter.mjs.map +1 -1
- package/fesm2022/cax-design-system-table.mjs +6 -6
- package/fesm2022/cax-design-system-table.mjs.map +1 -1
- package/fesm2022/cax-design-system-togglebutton.mjs +2 -2
- package/fesm2022/cax-design-system-togglebutton.mjs.map +1 -1
- package/fesm2022/cax-design-system-tree.mjs +31 -22
- package/fesm2022/cax-design-system-tree.mjs.map +1 -1
- package/fesm2022/cax-design-system-treeselect.mjs +1 -1
- package/fesm2022/cax-design-system-treeselect.mjs.map +1 -1
- package/inputtext/inputtext.directive.d.ts +2 -3
- package/inputtextarea/inputtextarea.component.d.ts +51 -0
- package/inputtextarea/{inputtextarea.d.ts → inputtextarea.directive.d.ts} +3 -9
- package/inputtextarea/inputtextarea.module.d.ts +10 -0
- package/inputtextarea/public_api.d.ts +3 -1
- package/menu/menu.d.ts +2 -12
- package/menu/menu.module.d.ts +12 -0
- package/menu/public_api.d.ts +1 -0
- package/package.json +287 -287
- package/resources/cax.min.scss +1 -1
- package/resources/cax.scss +15 -3
- package/resources/components/autocomplete/{autocomplete.css → autocomplete.scss} +32 -18
- package/resources/components/button/button.scss +13 -1
- package/resources/components/inputtextarea/{inputtextarea.css → inputtextarea.scss} +2 -2
- package/resources/components/menu/{menu.css → menu.scss} +5 -5
- package/resources/components/navigation/navigation.scss +5 -1
- package/resources/components/sidebar/sidebar.scss +1 -1
- package/resources/components/splitter/splitter.scss +73 -0
- package/resources/components/table/table.scss +13 -0
- package/resources/themes/cax-theme.scss +112 -76
- package/splitter/public_api.d.ts +1 -0
- package/splitter/splitter.d.ts +7 -13
- package/splitter/splitter.module.d.ts +9 -0
- package/table/components/table-body/table-body.d.ts +1 -1
- package/tree/tree.d.ts +4 -2
- package/tree/tree.module.d.ts +2 -1
- package/esm2022/inputtextarea/inputtextarea.mjs +0 -135
- package/resources/components/splitter/splitter.css +0 -70
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Cax Design System
|
|
2
2
|
|
|
3
|
-
You can access all the modules available in cax design system in the [storybook](https://673d43a5032fb6c56edd4107-
|
|
3
|
+
You can access all the modules available in cax design system in the [storybook](https://673d43a5032fb6c56edd4107-kffmukohdo.chromatic.com/)
|
|
4
4
|
|
|
5
5
|
### Installation
|
|
6
6
|
|
|
@@ -8,18 +8,6 @@ import { Scroller } from 'cax-design-system/scroller';
|
|
|
8
8
|
import { Nullable } from 'cax-design-system/ts-helpers';
|
|
9
9
|
import { AutoCompleteCompleteEvent, AutoCompleteDropdownClickEvent, AutoCompleteLazyLoadEvent, AutoCompleteSelectEvent, AutoCompleteUnselectEvent } from './autocomplete.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@angular/common";
|
|
12
|
-
import * as i2 from "cax-design-system/overlay";
|
|
13
|
-
import * as i3 from "cax-design-system/inputtext";
|
|
14
|
-
import * as i4 from "cax-design-system/button";
|
|
15
|
-
import * as i5 from "cax-design-system/api";
|
|
16
|
-
import * as i6 from "cax-design-system/ripple";
|
|
17
|
-
import * as i7 from "cax-design-system/scroller";
|
|
18
|
-
import * as i8 from "cax-design-system/autofocus";
|
|
19
|
-
import * as i9 from "cax-design-system/icons/timescircle";
|
|
20
|
-
import * as i10 from "cax-design-system/icons/spinner";
|
|
21
|
-
import * as i11 from "cax-design-system/icons/times";
|
|
22
|
-
import * as i12 from "cax-design-system/icons/chevrondown";
|
|
23
11
|
export declare const AUTOCOMPLETE_VALUE_ACCESSOR: any;
|
|
24
12
|
/**
|
|
25
13
|
* AutoComplete is an input component that provides real-time suggestions when being typed.
|
|
@@ -480,30 +468,30 @@ export declare class AutoComplete implements AfterViewChecked, AfterContentInit,
|
|
|
480
468
|
get focusedMultipleOptionId(): string;
|
|
481
469
|
get focusedOptionId(): string;
|
|
482
470
|
get containerClass(): {
|
|
483
|
-
'
|
|
484
|
-
'
|
|
485
|
-
'
|
|
486
|
-
'
|
|
487
|
-
'
|
|
488
|
-
'
|
|
489
|
-
'
|
|
471
|
+
'cax-autocomplete cax-component cax-inputwrapper': boolean;
|
|
472
|
+
'cax-disabled': boolean;
|
|
473
|
+
'cax-focus': boolean;
|
|
474
|
+
'cax-autocomplete-dd': boolean;
|
|
475
|
+
'cax-autocomplete-multiple': boolean;
|
|
476
|
+
'cax-inputwrapper-focus': boolean;
|
|
477
|
+
'cax-overlay-open': boolean;
|
|
490
478
|
};
|
|
491
479
|
get multiContainerClass(): {
|
|
492
|
-
'
|
|
493
|
-
'
|
|
480
|
+
'cax-autocomplete-multiple-container cax-component cax-inputtext': boolean;
|
|
481
|
+
'cax-variant-filled': boolean;
|
|
494
482
|
};
|
|
495
483
|
get panelClass(): {
|
|
496
|
-
'
|
|
497
|
-
'
|
|
498
|
-
'
|
|
484
|
+
'cax-autocomplete-panel cax-component': boolean;
|
|
485
|
+
'cax-input-filled': boolean;
|
|
486
|
+
'cax-ripple-disabled': boolean;
|
|
499
487
|
};
|
|
500
488
|
get panelStyles(): {
|
|
501
489
|
'max-height': string;
|
|
502
490
|
};
|
|
503
491
|
get inputClass(): {
|
|
504
|
-
'
|
|
505
|
-
'
|
|
506
|
-
'
|
|
492
|
+
'cax-autocomplete-input cax-inputtext cax-component': boolean;
|
|
493
|
+
'cax-autocomplete-dd-input': boolean;
|
|
494
|
+
'cax-variant-filled': boolean;
|
|
507
495
|
};
|
|
508
496
|
get searchResultMessageText(): string;
|
|
509
497
|
get searchMessageText(): string;
|
|
@@ -593,7 +581,7 @@ export declare class AutoComplete implements AfterViewChecked, AfterContentInit,
|
|
|
593
581
|
onOverlayAnimationStart(event: AnimationEvent): void;
|
|
594
582
|
ngOnDestroy(): void;
|
|
595
583
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoComplete, never>;
|
|
596
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoComplete, "
|
|
584
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoComplete, "cax-autoComplete", never, { "minLength": { "alias": "minLength"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "style": { "alias": "style"; "required": false; }; "panelStyle": { "alias": "panelStyle"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "panelStyleClass": { "alias": "panelStyleClass"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "lazy": { "alias": "lazy"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; "virtualScrollOptions": { "alias": "virtualScrollOptions"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "size": { "alias": "size"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "autoHighlight": { "alias": "autoHighlight"; "required": false; }; "forceSelection": { "alias": "forceSelection"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoZIndex": { "alias": "autoZIndex"; "required": false; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "dropdownAriaLabel": { "alias": "dropdownAriaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "dropdownIcon": { "alias": "dropdownIcon"; "required": false; }; "unique": { "alias": "unique"; "required": false; }; "group": { "alias": "group"; "required": false; }; "completeOnFocus": { "alias": "completeOnFocus"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "field": { "alias": "field"; "required": false; }; "dropdown": { "alias": "dropdown"; "required": false; }; "showEmptyMessage": { "alias": "showEmptyMessage"; "required": false; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "showTransitionOptions": { "alias": "showTransitionOptions"; "required": false; }; "hideTransitionOptions": { "alias": "hideTransitionOptions"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "optionGroupChildren": { "alias": "optionGroupChildren"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "overlayOptions": { "alias": "overlayOptions"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "id": { "alias": "id"; "required": false; }; "searchMessage": { "alias": "searchMessage"; "required": false; }; "emptySelectionMessage": { "alias": "emptySelectionMessage"; "required": false; }; "selectionMessage": { "alias": "selectionMessage"; "required": false; }; "autoOptionFocus": { "alias": "autoOptionFocus"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "searchLocale": { "alias": "searchLocale"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "focusOnHover": { "alias": "focusOnHover"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "completeMethod": "completeMethod"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onDropdownClick": "onDropdownClick"; "onClear": "onClear"; "onKeyUp": "onKeyUp"; "onShow": "onShow"; "onHide": "onHide"; "onLazyLoad": "onLazyLoad"; }, ["templates"], never, false, never>;
|
|
597
585
|
static ngAcceptInputType_minLength: unknown;
|
|
598
586
|
static ngAcceptInputType_delay: unknown;
|
|
599
587
|
static ngAcceptInputType_readonly: unknown;
|
|
@@ -622,8 +610,3 @@ export declare class AutoComplete implements AfterViewChecked, AfterContentInit,
|
|
|
622
610
|
static ngAcceptInputType_searchLocale: unknown;
|
|
623
611
|
static ngAcceptInputType_focusOnHover: unknown;
|
|
624
612
|
}
|
|
625
|
-
export declare class AutoCompleteModule {
|
|
626
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteModule, never>;
|
|
627
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoCompleteModule, [typeof AutoComplete], [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.InputTextModule, typeof i4.ButtonModule, typeof i5.SharedModule, typeof i6.RippleModule, typeof i7.ScrollerModule, typeof i8.AutoFocusModule, typeof i9.TimesCircleIcon, typeof i10.SpinnerIcon, typeof i11.TimesIcon, typeof i12.ChevronDownIcon], [typeof AutoComplete, typeof i2.OverlayModule, typeof i5.SharedModule, typeof i7.ScrollerModule, typeof i8.AutoFocusModule]>;
|
|
628
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AutoCompleteModule>;
|
|
629
|
-
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./autocomplete";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "cax-design-system/overlay";
|
|
5
|
+
import * as i4 from "cax-design-system/inputtext";
|
|
6
|
+
import * as i5 from "cax-design-system/button";
|
|
7
|
+
import * as i6 from "cax-design-system/api";
|
|
8
|
+
import * as i7 from "cax-design-system/ripple";
|
|
9
|
+
import * as i8 from "cax-design-system/scroller";
|
|
10
|
+
import * as i9 from "cax-design-system/autofocus";
|
|
11
|
+
import * as i10 from "cax-design-system/icons/timescircle";
|
|
12
|
+
import * as i11 from "cax-design-system/icons/spinner";
|
|
13
|
+
import * as i12 from "cax-design-system/icons/times";
|
|
14
|
+
import * as i13 from "cax-design-system/icons/chevrondown";
|
|
15
|
+
import * as i14 from "cax-design-system/icons/search";
|
|
16
|
+
export declare class AutoCompleteModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoCompleteModule, [typeof i1.AutoComplete], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.InputTextModule, typeof i5.ButtonModule, typeof i6.SharedModule, typeof i7.RippleModule, typeof i8.ScrollerModule, typeof i9.AutoFocusModule, typeof i10.TimesCircleIcon, typeof i11.SpinnerIcon, typeof i12.TimesIcon, typeof i13.ChevronDownIcon, typeof i14.SearchIcon], [typeof i1.AutoComplete, typeof i3.OverlayModule, typeof i6.SharedModule, typeof i8.ScrollerModule, typeof i9.AutoFocusModule]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AutoCompleteModule>;
|
|
20
|
+
}
|