@rehagro/ui 1.0.37 → 1.0.38
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.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/dist/native.d.mts +4 -2
- package/dist/native.d.ts +4 -2
- package/dist/native.js +8 -0
- package/dist/native.js.map +1 -1
- package/dist/native.mjs +8 -0
- package/dist/native.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -48,6 +48,8 @@ var TOKEN_MAP = {
|
|
|
48
48
|
inputPxSm: { var: "--rh-input-px-sm", isColor: false },
|
|
49
49
|
inputPxMd: { var: "--rh-input-px-md", isColor: false },
|
|
50
50
|
inputPxLg: { var: "--rh-input-px-lg", isColor: false },
|
|
51
|
+
buttonHeightXxs: { var: "--rh-button-height-xxs", isColor: false },
|
|
52
|
+
buttonHeightXs: { var: "--rh-button-height-xs", isColor: false },
|
|
51
53
|
buttonHeightSm: { var: "--rh-button-height-sm", isColor: false },
|
|
52
54
|
buttonHeightMd: { var: "--rh-button-height-md", isColor: false },
|
|
53
55
|
buttonHeightLg: { var: "--rh-button-height-lg", isColor: false },
|
|
@@ -809,6 +811,8 @@ function getArbitraryColorStyle(variant, color) {
|
|
|
809
811
|
return { color, borderColor: "transparent" };
|
|
810
812
|
}
|
|
811
813
|
var sizeClasses = {
|
|
814
|
+
xxs: "rh-text-2xs rh-leading-none rh-px-1.5 rh-h-button-xxs rh-gap-1",
|
|
815
|
+
xs: "rh-text-xs rh-leading-none rh-px-2 rh-h-button-xs rh-gap-1",
|
|
812
816
|
sm: "rh-text-sm rh-px-3 rh-h-button-sm",
|
|
813
817
|
md: "rh-text-sm rh-px-4 rh-h-button-md",
|
|
814
818
|
lg: "rh-text-base rh-px-5 rh-h-button-lg",
|
|
@@ -958,6 +962,8 @@ function getArbitraryColorStyle2(variant, color) {
|
|
|
958
962
|
return { color, borderColor: "transparent" };
|
|
959
963
|
}
|
|
960
964
|
var sizeClasses2 = {
|
|
965
|
+
xxs: "rh-h-4 rh-w-4 rh-text-2xs",
|
|
966
|
+
xs: "rh-h-6 rh-w-6 rh-text-xs",
|
|
961
967
|
sm: "rh-h-8 rh-w-8 rh-text-sm",
|
|
962
968
|
md: "rh-h-10 rh-w-10 rh-text-base",
|
|
963
969
|
lg: "rh-h-12 rh-w-12 rh-text-lg"
|