hplx-react-elements-dev 1.1.20 → 1.1.22
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/esm/index.js +5 -5
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -4804,13 +4804,13 @@ var getSizeClassName$2 = function getSizeClassName(size) {
|
|
|
4804
4804
|
var getPaddingClassName = function getPaddingClassName(size, disabled) {
|
|
4805
4805
|
switch (size) {
|
|
4806
4806
|
case "sm":
|
|
4807
|
-
return disabled ? "hplxt-flex hplxt-w-
|
|
4807
|
+
return disabled ? "hplxt-flex hplxt-w-[16px] hplxt-h-[16px] hplxt-bg-white hplxt-border hplxt-border-Gray-300 hplxt-border-Gray-300 hplxt-rounded-full hplxt-cursor-pointer focus:hplxt-outline-none hplxt-bg-Gray-200 hplxt-p-2 " : "hplxt-flex hplxt-w-[16px] hplxt-h-[16px] hplxt-bg-white hplxt-border hplxt-border-Gray-300 hover:hplxt-border-Primary-600 peer-checked:hplxt-border-Primary-600 hplxt-rounded-full hplxt-cursor-pointer focus:hplxt-outline-none hover:hplxt-bg-Primary-50 peer-checked:hplxt-bg-Primary-600 hplxt-p-2 peer-checked:hplxt-ring-2 hplxt-ring-Primary-300 peer-checked:hplxt-border-transparent ";
|
|
4808
4808
|
|
|
4809
4809
|
case "md":
|
|
4810
|
-
return disabled ? "hplxt-flex hplxt-w-
|
|
4810
|
+
return disabled ? "hplxt-flex hplxt-w-[20px] hplxt-h-[20px] hplxt-bg-white hplxt-border hplxt-border-Gray-300 hplxt-border-Gray-300 hplxt-rounded-full hplxt-cursor-pointer focus:hplxt-outline-none hplxt-bg-Gray-200 hplxt-p-2 " : "hplxt-flex hplxt-w-[20px] hplxt-h-[20px] hplxt-bg-white hplxt-border hplxt-border-Gray-300 hover:hplxt-border-Primary-600 peer-checked:hplxt-border-Primary-600 hplxt-rounded-full hplxt-cursor-pointer focus:hplxt-outline-none hover:hplxt-bg-Primary-50 peer-checked:hplxt-bg-Primary-600 hplxt-p-2 peer-checked:hplxt-ring-2 peer-checked:hplxt-border-transparent ";
|
|
4811
4811
|
|
|
4812
4812
|
default:
|
|
4813
|
-
return "hplxt-flex hplxt-w-
|
|
4813
|
+
return "hplxt-flex hplxt-w-[16px] hplxt-h-[16px] hplxt-bg-white hplxt-border hplxt-border-Gray-300 hover:hplxt-border-Primary-600 peer-checked:hplxt-border-Primary-600 hplxt-rounded-full hplxt-cursor-pointer focus:hplxt-outline-none hover:hplxt-bg-Primary-50 peer-checked:hplxt-bg-Primary-600 hplxt-p-2 peer-checked:hplxt-ring-2 hplxt-ring-Primary-300 peer-checked:hplxt-border-transparent ";
|
|
4814
4814
|
}
|
|
4815
4815
|
};
|
|
4816
4816
|
|
|
@@ -4821,13 +4821,13 @@ var getLabelStyle$1 = function getLabelStyle(disabled) {
|
|
|
4821
4821
|
var getIconTypeClassName = function getIconTypeClassName(iconfile, size, disabled) {
|
|
4822
4822
|
switch (iconfile) {
|
|
4823
4823
|
case "dot":
|
|
4824
|
-
return size === "sm" ? disabled ? "hplxt-ring-4 hplxt-p-1 hplxt-ring-Gray-50 hplxt-bg-Gray-300 -hplxt-ml-[13px] hplxt-mt-[4.95px] hplxt-w-
|
|
4824
|
+
return size === "sm" ? disabled ? "hplxt-ring-4 hplxt-p-1 hplxt-ring-Gray-50 hplxt-bg-Gray-300 -hplxt-ml-[13px] hplxt-mt-[4.95px] hplxt-w-[8px] hplxt-h-[8px] hplxt-rounded-full peer-checked:hplxt-block" : "hplxt-hidden hplxt-ring-4 hplxt-p-1 hplxt-ring-Primary-50 -hplxt-ml-[13px] hplxt-mt-[4.95px] hplxt-w-[8px] hplxt-h-[8px] hplxt-rounded-full peer-checked:hplxt-block" : disabled ? "hplxt-ring-4 hplxt-p-1 hplxt-ring-Gray-50 hplxt-bg-Gray-300 -hplxt-ml-[14px] hplxt-mt-[6px] hplxt-w-[8px] hplxt-h-[8px] hplxt-rounded-full peer-checked:hplxt-block" : "hplxt-hidden hplxt-ring-4 hplxt-p-1 hplxt-ring-Primary-50 -hplxt-ml-[14px] hplxt-mt-[6px] hplxt-w-[8px] hplxt-h-[8px] hplxt-rounded-full peer-checked:hplxt-block";
|
|
4825
4825
|
|
|
4826
4826
|
case "checkmark":
|
|
4827
4827
|
return size === "sm" ? disabled ? "hx_checkmark hplxt-text-[12px] -hplxt-ml-[17px] hplxt-mt-[3px] hplxt-text-White peer-checked:hplxt-block " : "hplxt-hidden hx_checkmark hplxt-text-[12px] -hplxt-ml-[17px] hplxt-mt-[3px] hplxt-text-White peer-checked:hplxt-block" : disabled ? "hx_checkmark -hplxt-ml-[21px] hplxt-mt-[2px] hplxt-text-White peer-checked:hplxt-block " : "hplxt-hidden hx_checkmark -hplxt-ml-[21px] hplxt-mt-[2px] hplxt-text-White peer-checked:hplxt-block";
|
|
4828
4828
|
|
|
4829
4829
|
default:
|
|
4830
|
-
return size === "sm" ? "hplxt-hidden hplxt-ring-4 hplxt-p-1 hplxt-ring-Primary-50 -hplxt-ml-[13px] hplxt-mt-[4.95px] hplxt-w-
|
|
4830
|
+
return size === "sm" ? "hplxt-hidden hplxt-ring-4 hplxt-p-1 hplxt-ring-Primary-50 -hplxt-ml-[13px] hplxt-mt-[4.95px] hplxt-w-[8px] hplxt-h-[8px] hplxt-rounded-full peer-checked:hplxt-block" : "hplxt-hidden hplxt-ring-4 hplxt-p-1 hplxt-ring-Primary-50 -hplxt-ml-[14px] hplxt-mt-[6px] hplxt-w-[8px] hplxt-h-[8px] hplxt-rounded-full peer-checked:hplxt-block";
|
|
4831
4831
|
}
|
|
4832
4832
|
};
|
|
4833
4833
|
|