@rehagro/ui 1.0.44 → 1.0.45
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/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -6
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -972,12 +972,15 @@ var sizeClasses2 = {
|
|
|
972
972
|
};
|
|
973
973
|
var radiusClasses2 = {
|
|
974
974
|
none: "rh-rounded-none",
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
975
|
+
// IconButton is a square control, so it uses the same compact radius
|
|
976
|
+
// scale as the native implementation. The global web radius tokens are
|
|
977
|
+
// larger (md = 16px), which makes a 32px icon button look circular.
|
|
978
|
+
xxs: "rh-rounded-[2px]",
|
|
979
|
+
xs: "rh-rounded-[4px]",
|
|
980
|
+
sm: "rh-rounded-[8px]",
|
|
981
|
+
md: "rh-rounded-[12px]",
|
|
982
|
+
lg: "rh-rounded-[16px]",
|
|
983
|
+
xl: "rh-rounded-[24px]",
|
|
981
984
|
full: "rh-rounded-full"
|
|
982
985
|
};
|
|
983
986
|
var IconButton = forwardRef(function IconButton2({
|