@clickpalm/react 1.2.15 → 1.2.16
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 +20 -6
- package/dist/index.mjs +20 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -128,7 +128,7 @@ var radii = {
|
|
|
128
128
|
full: "99999px"
|
|
129
129
|
};
|
|
130
130
|
var fonts = {
|
|
131
|
-
default: "Nunito
|
|
131
|
+
default: "Nunito",
|
|
132
132
|
code: "monospace"
|
|
133
133
|
};
|
|
134
134
|
var fontSizes = {
|
|
@@ -2799,6 +2799,11 @@ var StyledItem3 = styled(Select.Item, {
|
|
|
2799
2799
|
backgroundColor: "$gray_light"
|
|
2800
2800
|
}
|
|
2801
2801
|
});
|
|
2802
|
+
var StyledItemText = styled(Select.ItemText, {
|
|
2803
|
+
fontFamily: "$default",
|
|
2804
|
+
fontSize: "$md",
|
|
2805
|
+
fontWeight: "$regular"
|
|
2806
|
+
});
|
|
2802
2807
|
var StyledIcon = styled(Select.Icon, {
|
|
2803
2808
|
display: "flex",
|
|
2804
2809
|
alignItems: "center",
|
|
@@ -2861,11 +2866,20 @@ var Select2 = (0, import_react16.forwardRef)(
|
|
|
2861
2866
|
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledIcon, { open, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
|
|
2862
2867
|
] }),
|
|
2863
2868
|
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Span6, { children: errorMessage }),
|
|
2864
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2870
|
+
StyledContent3,
|
|
2871
|
+
{
|
|
2872
|
+
side: "bottom",
|
|
2873
|
+
align: "start",
|
|
2874
|
+
position: "popper",
|
|
2875
|
+
className,
|
|
2876
|
+
children: [
|
|
2877
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
|
|
2878
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledViewport, { children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledItem3, { value: item.value, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(StyledItemText, { children: item.label }) }, item.value)) }),
|
|
2879
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
|
|
2880
|
+
]
|
|
2881
|
+
}
|
|
2882
|
+
) })
|
|
2869
2883
|
]
|
|
2870
2884
|
}
|
|
2871
2885
|
)
|
package/dist/index.mjs
CHANGED
|
@@ -49,7 +49,7 @@ var radii = {
|
|
|
49
49
|
full: "99999px"
|
|
50
50
|
};
|
|
51
51
|
var fonts = {
|
|
52
|
-
default: "Nunito
|
|
52
|
+
default: "Nunito",
|
|
53
53
|
code: "monospace"
|
|
54
54
|
};
|
|
55
55
|
var fontSizes = {
|
|
@@ -2728,6 +2728,11 @@ var StyledItem3 = styled(Select.Item, {
|
|
|
2728
2728
|
backgroundColor: "$gray_light"
|
|
2729
2729
|
}
|
|
2730
2730
|
});
|
|
2731
|
+
var StyledItemText = styled(Select.ItemText, {
|
|
2732
|
+
fontFamily: "$default",
|
|
2733
|
+
fontSize: "$md",
|
|
2734
|
+
fontWeight: "$regular"
|
|
2735
|
+
});
|
|
2731
2736
|
var StyledIcon = styled(Select.Icon, {
|
|
2732
2737
|
display: "flex",
|
|
2733
2738
|
alignItems: "center",
|
|
@@ -2790,11 +2795,20 @@ var Select2 = forwardRef11(
|
|
|
2790
2795
|
/* @__PURE__ */ jsx36(StyledIcon, { open, children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
|
|
2791
2796
|
] }),
|
|
2792
2797
|
errorMessage && /* @__PURE__ */ jsx36(Span6, { children: errorMessage }),
|
|
2793
|
-
/* @__PURE__ */ jsx36(CustomSelect.Portal, { children: /* @__PURE__ */ jsxs14(
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
+
/* @__PURE__ */ jsx36(CustomSelect.Portal, { children: /* @__PURE__ */ jsxs14(
|
|
2799
|
+
StyledContent3,
|
|
2800
|
+
{
|
|
2801
|
+
side: "bottom",
|
|
2802
|
+
align: "start",
|
|
2803
|
+
position: "popper",
|
|
2804
|
+
className,
|
|
2805
|
+
children: [
|
|
2806
|
+
/* @__PURE__ */ jsx36(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ jsx36(TriangleUpIcon, {}) }),
|
|
2807
|
+
/* @__PURE__ */ jsx36(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx36(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx36(StyledItemText, { children: item.label }) }, item.value)) }),
|
|
2808
|
+
/* @__PURE__ */ jsx36(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
|
|
2809
|
+
]
|
|
2810
|
+
}
|
|
2811
|
+
) })
|
|
2798
2812
|
]
|
|
2799
2813
|
}
|
|
2800
2814
|
)
|
package/package.json
CHANGED