pdm-ui-kit 1.6.1 → 1.6.3
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/esm2020/button/button-group.component.mjs +29 -21
- package/esm2020/select/select.component.mjs +4 -4
- package/esm2020/src/button/button-group.component.mjs +29 -21
- package/esm2020/src/select/select.component.mjs +4 -4
- package/fesm2015/pdm-ui-kit-src-button.mjs +28 -20
- package/fesm2015/pdm-ui-kit-src-button.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-select.mjs +3 -3
- package/fesm2015/pdm-ui-kit-src-select.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit.mjs +31 -23
- package/fesm2015/pdm-ui-kit.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-button.mjs +28 -20
- package/fesm2020/pdm-ui-kit-src-button.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-select.mjs +3 -3
- package/fesm2020/pdm-ui-kit-src-select.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit.mjs +31 -23
- package/fesm2020/pdm-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/select/select.component.d.ts +1 -1
- package/src/select/select.component.d.ts +1 -1
package/fesm2015/pdm-ui-kit.mjs
CHANGED
|
@@ -708,13 +708,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
|
|
|
708
708
|
"[&>pdm-input>div]:min-w-0",
|
|
709
709
|
"[&>pdm-input>div]:!rounded-none",
|
|
710
710
|
"[&>pdm-input>div]:shadow-none",
|
|
711
|
-
"[&>pdm-input>div>
|
|
712
|
-
"[&>pdm-input>div>
|
|
713
|
-
"[&>pdm-input>div>input]
|
|
711
|
+
"[&>pdm-input>div>div]:w-full",
|
|
712
|
+
"[&>pdm-input>div>div]:min-w-0",
|
|
713
|
+
"[&>pdm-input>div>div>input]:!rounded-none",
|
|
714
|
+
"[&>pdm-input>div>div>input]:bg-background",
|
|
715
|
+
"[&>pdm-input>div>div>input]:shadow-none",
|
|
714
716
|
"[&>pdm-input:first-child>div]:!rounded-l-md",
|
|
715
717
|
"[&>pdm-input:last-child>div]:!rounded-r-md",
|
|
716
|
-
"[&>pdm-input:first-child>div>input]:!rounded-l-md",
|
|
717
|
-
"[&>pdm-input:last-child>div>input]:!rounded-r-md",
|
|
718
|
+
"[&>pdm-input:first-child>div>div>input]:!rounded-l-md",
|
|
719
|
+
"[&>pdm-input:last-child>div>div>input]:!rounded-r-md",
|
|
718
720
|
"[&>pdm-input-group]:min-w-0",
|
|
719
721
|
"[&>pdm-input-group>div]:!rounded-none",
|
|
720
722
|
"[&>pdm-input-group>div]:shadow-none",
|
|
@@ -752,13 +754,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
|
|
|
752
754
|
"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-r-md",
|
|
753
755
|
"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
|
|
754
756
|
"[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
|
|
755
|
-
"[&>pdm-tooltip>span>pdm-input>div>
|
|
756
|
-
"[&>pdm-tooltip>span>pdm-input>div>
|
|
757
|
-
"[&>pdm-tooltip>span>pdm-input>div>input]
|
|
757
|
+
"[&>pdm-tooltip>span>pdm-input>div>div]:w-full",
|
|
758
|
+
"[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0",
|
|
759
|
+
"[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none",
|
|
760
|
+
"[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background",
|
|
761
|
+
"[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none",
|
|
758
762
|
"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-l-md",
|
|
759
763
|
"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-r-md",
|
|
760
|
-
"[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-l-md",
|
|
761
|
-
"[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-r-md",
|
|
764
|
+
"[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-l-md",
|
|
765
|
+
"[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-r-md",
|
|
762
766
|
"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
|
|
763
767
|
"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
|
|
764
768
|
"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-l-md",
|
|
@@ -788,13 +792,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
|
|
|
788
792
|
"[&>pdm-button:last-child>button]:!rounded-b-md",
|
|
789
793
|
"[&>pdm-input>div]:!rounded-none",
|
|
790
794
|
"[&>pdm-input>div]:shadow-none",
|
|
791
|
-
"[&>pdm-input>div>
|
|
792
|
-
"[&>pdm-input>div>
|
|
793
|
-
"[&>pdm-input>div>input]
|
|
795
|
+
"[&>pdm-input>div>div]:w-full",
|
|
796
|
+
"[&>pdm-input>div>div]:min-w-0",
|
|
797
|
+
"[&>pdm-input>div>div>input]:!rounded-none",
|
|
798
|
+
"[&>pdm-input>div>div>input]:bg-background",
|
|
799
|
+
"[&>pdm-input>div>div>input]:shadow-none",
|
|
794
800
|
"[&>pdm-input:first-child>div]:!rounded-t-md",
|
|
795
801
|
"[&>pdm-input:last-child>div]:!rounded-b-md",
|
|
796
|
-
"[&>pdm-input:first-child>div>input]:!rounded-t-md",
|
|
797
|
-
"[&>pdm-input:last-child>div>input]:!rounded-b-md",
|
|
802
|
+
"[&>pdm-input:first-child>div>div>input]:!rounded-t-md",
|
|
803
|
+
"[&>pdm-input:last-child>div>div>input]:!rounded-b-md",
|
|
798
804
|
"[&>pdm-input-group>div]:!rounded-none",
|
|
799
805
|
"[&>pdm-input-group>div]:shadow-none",
|
|
800
806
|
"[&>pdm-input-group:first-child>div]:!rounded-t-md",
|
|
@@ -831,13 +837,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
|
|
|
831
837
|
"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-b-md",
|
|
832
838
|
"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
|
|
833
839
|
"[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
|
|
834
|
-
"[&>pdm-tooltip>span>pdm-input>div>
|
|
835
|
-
"[&>pdm-tooltip>span>pdm-input>div>
|
|
836
|
-
"[&>pdm-tooltip>span>pdm-input>div>input]
|
|
840
|
+
"[&>pdm-tooltip>span>pdm-input>div>div]:w-full",
|
|
841
|
+
"[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0",
|
|
842
|
+
"[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none",
|
|
843
|
+
"[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background",
|
|
844
|
+
"[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none",
|
|
837
845
|
"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-t-md",
|
|
838
846
|
"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-b-md",
|
|
839
|
-
"[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-t-md",
|
|
840
|
-
"[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-b-md",
|
|
847
|
+
"[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-t-md",
|
|
848
|
+
"[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-b-md",
|
|
841
849
|
"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
|
|
842
850
|
"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
|
|
843
851
|
"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-t-md",
|
|
@@ -6170,6 +6178,9 @@ class PdmSelectComponent {
|
|
|
6170
6178
|
this.inputOptions = [];
|
|
6171
6179
|
this.projectedOptionCache = new WeakMap();
|
|
6172
6180
|
this.cachedProjectedOptions = [];
|
|
6181
|
+
this.trackByOptionValue = (index, option) => {
|
|
6182
|
+
return this.optionKey(option, index);
|
|
6183
|
+
};
|
|
6173
6184
|
}
|
|
6174
6185
|
set options(value) {
|
|
6175
6186
|
this.inputOptions = value !== null && value !== void 0 ? value : [];
|
|
@@ -6233,9 +6244,6 @@ class PdmSelectComponent {
|
|
|
6233
6244
|
this.valueChange.emit(option.value);
|
|
6234
6245
|
this.closePanel();
|
|
6235
6246
|
}
|
|
6236
|
-
trackByOptionValue(index, option) {
|
|
6237
|
-
return this.optionKey(option, index);
|
|
6238
|
-
}
|
|
6239
6247
|
onEscape() {
|
|
6240
6248
|
if (this.open) {
|
|
6241
6249
|
this.closePanel();
|