@ds-mo/ui 0.8.7 → 0.9.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/dist/components/ds-button-group.d.ts +11 -0
- package/dist/components/ds-button-group.js +2 -0
- package/dist/components/ds-button-group.js.map +1 -0
- package/dist/components/ds-button.js +1 -1
- package/dist/components/ds-button.js.map +1 -1
- package/dist/components/ds-card.js +1 -1
- package/dist/components/ds-card.js.map +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-checkbox.js.map +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-fade.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-field.js.map +1 -1
- package/dist/components/ds-header.js +1 -1
- package/dist/components/ds-icon.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-label-wrap.d.ts +11 -0
- package/dist/components/ds-label-wrap.js +2 -0
- package/dist/components/ds-label-wrap.js.map +1 -0
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-menu.js.map +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-panel-nav.js.map +1 -1
- package/dist/components/ds-radio-group.js +1 -1
- package/dist/components/ds-scrollbar.js +1 -1
- package/dist/components/ds-select.d.ts +11 -0
- package/dist/components/ds-select.js +2 -0
- package/dist/components/ds-select.js.map +1 -0
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-surface.js +1 -1
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tab-group.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast-provider.js +1 -1
- package/dist/components/ds-toggle-button-group.d.ts +11 -0
- package/dist/components/ds-toggle-button-group.js +2 -0
- package/dist/components/ds-toggle-button-group.js.map +1 -0
- package/dist/components/ds-toggle-button.d.ts +11 -0
- package/dist/components/ds-toggle-button.js +2 -0
- package/dist/components/ds-toggle-button.js.map +1 -0
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/{p-Cakvrs26.js → p-CGuwZUFk.js} +2 -2
- package/dist/components/p-CrfnBySX.js +2 -0
- package/dist/components/p-CrfnBySX.js.map +1 -0
- package/dist/components/p-DRuXu8Ql.js +2 -0
- package/dist/components/p-DRuXu8Ql.js.map +1 -0
- package/dist/components/{p-CIMd6yG3.js → p-DZN5IIgI.js} +2 -2
- package/dist/components/p-DdN6WnFs.js +2 -0
- package/dist/components/p-DdN6WnFs.js.map +1 -0
- package/dist/types/.stencil/ButtonGroup/ButtonGroup.d.ts +29 -0
- package/dist/types/.stencil/LabelWrap/LabelWrap.d.ts +15 -0
- package/dist/types/.stencil/PanelNav/PanelNav.d.ts +5 -3
- package/dist/types/.stencil/Select/Select.d.ts +39 -0
- package/dist/types/.stencil/TabGroup/TabGroup.d.ts +13 -2
- package/dist/types/.stencil/ToggleButton/ToggleButton.d.ts +37 -0
- package/dist/types/.stencil/ToggleButtonGroup/ToggleButtonGroup.d.ts +33 -0
- package/dist/types/components.d.ts +471 -0
- package/package.json +1 -1
- package/src/angular/index.ts +5 -0
- package/src/angular/proxies.ts +147 -4
- /package/dist/components/{p-Cakvrs26.js.map → p-CGuwZUFk.js.map} +0 -0
- /package/dist/components/{p-CIMd6yG3.js.map → p-DZN5IIgI.js.map} +0 -0
package/package.json
CHANGED
package/src/angular/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export const DIRECTIVES = [
|
|
|
7
7
|
d.DsBanner,
|
|
8
8
|
d.DsBreadcrumb,
|
|
9
9
|
d.DsButton,
|
|
10
|
+
d.DsButtonGroup,
|
|
10
11
|
d.DsCard,
|
|
11
12
|
d.DsCheckbox,
|
|
12
13
|
d.DsDivider,
|
|
@@ -16,6 +17,7 @@ export const DIRECTIVES = [
|
|
|
16
17
|
d.DsHeader,
|
|
17
18
|
d.DsIcon,
|
|
18
19
|
d.DsInput,
|
|
20
|
+
d.DsLabelWrap,
|
|
19
21
|
d.DsLoader,
|
|
20
22
|
d.DsMenu,
|
|
21
23
|
d.DsModal,
|
|
@@ -23,6 +25,7 @@ export const DIRECTIVES = [
|
|
|
23
25
|
d.DsPanelNav,
|
|
24
26
|
d.DsRadioGroup,
|
|
25
27
|
d.DsScrollbar,
|
|
28
|
+
d.DsSelect,
|
|
26
29
|
d.DsSidebar,
|
|
27
30
|
d.DsSkeleton,
|
|
28
31
|
d.DsSlider,
|
|
@@ -33,5 +36,7 @@ export const DIRECTIVES = [
|
|
|
33
36
|
d.DsText,
|
|
34
37
|
d.DsToastProvider,
|
|
35
38
|
d.DsToggle,
|
|
39
|
+
d.DsToggleButton,
|
|
40
|
+
d.DsToggleButtonGroup,
|
|
36
41
|
d.DsTooltip
|
|
37
42
|
];
|
package/src/angular/proxies.ts
CHANGED
|
@@ -150,6 +150,36 @@ export declare interface DsButton extends Components.DsButton {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
|
|
153
|
+
@ProxyCmp({
|
|
154
|
+
inputs: ['elevation', 'items', 'rounded', 'size']
|
|
155
|
+
})
|
|
156
|
+
@Component({
|
|
157
|
+
selector: 'ds-button-group',
|
|
158
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
159
|
+
template: '<ng-content></ng-content>',
|
|
160
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
161
|
+
inputs: ['elevation', 'items', 'rounded', 'size'],
|
|
162
|
+
outputs: ['dsClick'],
|
|
163
|
+
standalone: false
|
|
164
|
+
})
|
|
165
|
+
export class DsButtonGroup {
|
|
166
|
+
protected el: HTMLDsButtonGroupElement;
|
|
167
|
+
@Output() dsClick = new EventEmitter<CustomEvent<number>>();
|
|
168
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
169
|
+
c.detach();
|
|
170
|
+
this.el = r.nativeElement;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
export declare interface DsButtonGroup extends Components.DsButtonGroup {
|
|
176
|
+
/**
|
|
177
|
+
* Emits the index of the clicked item.
|
|
178
|
+
*/
|
|
179
|
+
dsClick: EventEmitter<CustomEvent<number>>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
153
183
|
@ProxyCmp({
|
|
154
184
|
inputs: ['elevation', 'radius']
|
|
155
185
|
})
|
|
@@ -371,6 +401,29 @@ export declare interface DsInput extends Components.DsInput {
|
|
|
371
401
|
}
|
|
372
402
|
|
|
373
403
|
|
|
404
|
+
@ProxyCmp({
|
|
405
|
+
inputs: ['size', 'truncate']
|
|
406
|
+
})
|
|
407
|
+
@Component({
|
|
408
|
+
selector: 'ds-label-wrap',
|
|
409
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
410
|
+
template: '<ng-content></ng-content>',
|
|
411
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
412
|
+
inputs: ['size', 'truncate'],
|
|
413
|
+
standalone: false
|
|
414
|
+
})
|
|
415
|
+
export class DsLabelWrap {
|
|
416
|
+
protected el: HTMLDsLabelWrapElement;
|
|
417
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
418
|
+
c.detach();
|
|
419
|
+
this.el = r.nativeElement;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
export declare interface DsLabelWrap extends Components.DsLabelWrap {}
|
|
425
|
+
|
|
426
|
+
|
|
374
427
|
@ProxyCmp({
|
|
375
428
|
inputs: ['label', 'size']
|
|
376
429
|
})
|
|
@@ -484,14 +537,14 @@ export declare interface DsPagination extends Components.DsPagination {
|
|
|
484
537
|
|
|
485
538
|
|
|
486
539
|
@ProxyCmp({
|
|
487
|
-
inputs: ['activeId', 'breakpoint', 'collapsed', 'currentUrl', 'groups', 'storageKey', 'userInitial', 'userName', 'variant']
|
|
540
|
+
inputs: ['activeId', 'breakpoint', 'collapsed', 'currentUrl', 'disableViewTransition', 'groups', 'storageKey', 'userInitial', 'userName', 'variant']
|
|
488
541
|
})
|
|
489
542
|
@Component({
|
|
490
543
|
selector: 'ds-panel-nav',
|
|
491
544
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
492
545
|
template: '<ng-content></ng-content>',
|
|
493
546
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
494
|
-
inputs: ['activeId', 'breakpoint', 'collapsed', 'currentUrl', 'groups', 'storageKey', 'userInitial', 'userName', 'variant'],
|
|
547
|
+
inputs: ['activeId', 'breakpoint', 'collapsed', 'currentUrl', 'disableViewTransition', 'groups', 'storageKey', 'userInitial', 'userName', 'variant'],
|
|
495
548
|
outputs: ['dsNavSelect', 'dsNavToggle', 'dsNavFooterAction'],
|
|
496
549
|
standalone: false
|
|
497
550
|
})
|
|
@@ -574,6 +627,36 @@ export class DsScrollbar {
|
|
|
574
627
|
export declare interface DsScrollbar extends Components.DsScrollbar {}
|
|
575
628
|
|
|
576
629
|
|
|
630
|
+
@ProxyCmp({
|
|
631
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'inactive', 'options', 'placeholder', 'value']
|
|
632
|
+
})
|
|
633
|
+
@Component({
|
|
634
|
+
selector: 'ds-select',
|
|
635
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
636
|
+
template: '<ng-content></ng-content>',
|
|
637
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
638
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'inactive', 'options', 'placeholder', 'value'],
|
|
639
|
+
outputs: ['dsChange'],
|
|
640
|
+
standalone: false
|
|
641
|
+
})
|
|
642
|
+
export class DsSelect {
|
|
643
|
+
protected el: HTMLDsSelectElement;
|
|
644
|
+
@Output() dsChange = new EventEmitter<CustomEvent<string>>();
|
|
645
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
646
|
+
c.detach();
|
|
647
|
+
this.el = r.nativeElement;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
export declare interface DsSelect extends Components.DsSelect {
|
|
653
|
+
/**
|
|
654
|
+
* Emits the selected value string.
|
|
655
|
+
*/
|
|
656
|
+
dsChange: EventEmitter<CustomEvent<string>>;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
|
|
577
660
|
@ProxyCmp({
|
|
578
661
|
inputs: ['collapsed', 'mobile', 'resizable', 'width']
|
|
579
662
|
})
|
|
@@ -682,14 +765,14 @@ export declare interface DsSurface extends Components.DsSurface {}
|
|
|
682
765
|
|
|
683
766
|
|
|
684
767
|
@ProxyCmp({
|
|
685
|
-
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'tabs', 'value']
|
|
768
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'orientation', 'tabs', 'value']
|
|
686
769
|
})
|
|
687
770
|
@Component({
|
|
688
771
|
selector: 'ds-tab-group',
|
|
689
772
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
690
773
|
template: '<ng-content></ng-content>',
|
|
691
774
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
692
|
-
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'tabs', 'value'],
|
|
775
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'orientation', 'tabs', 'value'],
|
|
693
776
|
outputs: ['dsChange'],
|
|
694
777
|
standalone: false
|
|
695
778
|
})
|
|
@@ -857,6 +940,66 @@ export declare interface DsToggle extends Components.DsToggle {
|
|
|
857
940
|
}
|
|
858
941
|
|
|
859
942
|
|
|
943
|
+
@ProxyCmp({
|
|
944
|
+
inputs: ['ariaLabel', 'background', 'elevation', 'icon', 'inactive', 'label', 'pressed', 'rounded', 'size']
|
|
945
|
+
})
|
|
946
|
+
@Component({
|
|
947
|
+
selector: 'ds-toggle-button',
|
|
948
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
949
|
+
template: '<ng-content></ng-content>',
|
|
950
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
951
|
+
inputs: ['ariaLabel', 'background', 'elevation', 'icon', 'inactive', 'label', 'pressed', 'rounded', 'size'],
|
|
952
|
+
outputs: ['dsChange'],
|
|
953
|
+
standalone: false
|
|
954
|
+
})
|
|
955
|
+
export class DsToggleButton {
|
|
956
|
+
protected el: HTMLDsToggleButtonElement;
|
|
957
|
+
@Output() dsChange = new EventEmitter<CustomEvent<boolean>>();
|
|
958
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
959
|
+
c.detach();
|
|
960
|
+
this.el = r.nativeElement;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
export declare interface DsToggleButton extends Components.DsToggleButton {
|
|
966
|
+
/**
|
|
967
|
+
* Emits the new pressed value (!pressed) on click.
|
|
968
|
+
*/
|
|
969
|
+
dsChange: EventEmitter<CustomEvent<boolean>>;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
@ProxyCmp({
|
|
974
|
+
inputs: ['background', 'elevation', 'items', 'rounded', 'size', 'value']
|
|
975
|
+
})
|
|
976
|
+
@Component({
|
|
977
|
+
selector: 'ds-toggle-button-group',
|
|
978
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
979
|
+
template: '<ng-content></ng-content>',
|
|
980
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
981
|
+
inputs: ['background', 'elevation', 'items', 'rounded', 'size', 'value'],
|
|
982
|
+
outputs: ['dsChange'],
|
|
983
|
+
standalone: false
|
|
984
|
+
})
|
|
985
|
+
export class DsToggleButtonGroup {
|
|
986
|
+
protected el: HTMLDsToggleButtonGroupElement;
|
|
987
|
+
@Output() dsChange = new EventEmitter<CustomEvent<string>>();
|
|
988
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
989
|
+
c.detach();
|
|
990
|
+
this.el = r.nativeElement;
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
export declare interface DsToggleButtonGroup extends Components.DsToggleButtonGroup {
|
|
996
|
+
/**
|
|
997
|
+
* Emits the id of the newly selected item.
|
|
998
|
+
*/
|
|
999
|
+
dsChange: EventEmitter<CustomEvent<string>>;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
|
|
860
1003
|
@ProxyCmp({
|
|
861
1004
|
inputs: ['align', 'alignOffset', 'delay', 'label', 'shortcutKey', 'shortcutKeyPosition', 'side', 'sideOffset']
|
|
862
1005
|
})
|
|
File without changes
|
|
File without changes
|