@clickpalm/react 1.2.15 → 1.2.17

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 CHANGED
@@ -128,7 +128,7 @@ var radii = {
128
128
  full: "99999px"
129
129
  };
130
130
  var fonts = {
131
- default: "Nunito, sans-serif",
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)(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
2865
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleUpIcon, {}) }),
2866
- /* @__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)(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2867
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react_icons2.TriangleDownIcon, {}) })
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, sans-serif",
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(StyledContent3, { side: "bottom", align: "start", position: "popper", children: [
2794
- /* @__PURE__ */ jsx36(CustomSelect.ScrollUpButton, { children: /* @__PURE__ */ jsx36(TriangleUpIcon, {}) }),
2795
- /* @__PURE__ */ jsx36(StyledViewport, { children: items.map((item) => /* @__PURE__ */ jsx36(StyledItem3, { value: item.value, children: /* @__PURE__ */ jsx36(CustomSelect.ItemText, { children: item.label }) }, item.value)) }),
2796
- /* @__PURE__ */ jsx36(CustomSelect.ScrollDownButton, { children: /* @__PURE__ */ jsx36(TriangleDownIcon, {}) })
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
@@ -3,7 +3,7 @@
3
3
  "description": "Design System da Clikpalm",
4
4
  "author": "Enisson Shilo",
5
5
  "license": "MIT",
6
- "version": "1.2.15",
6
+ "version": "1.2.17",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/clickpalm/clickpalm-designsystem-lib.git"
@@ -22,8 +22,8 @@
22
22
  "dist"
23
23
  ],
24
24
  "scripts": {
25
- "build": "tsup src/index.tsx --format esm,cjs --dts --external react",
26
- "dev": "tsup src/index.tsx --format esm,cjs --dts --external react --watch"
25
+ "build": "tsup src/index.tsx --format esm,cjs --dts --external react --inject-style",
26
+ "dev": "tsup src/index.tsx --format esm,cjs --dts --external react --watch --inject-style"
27
27
  },
28
28
  "dependencies": {
29
29
  "@radix-ui/react-accordion": "^1.2.11",
@@ -60,4 +60,4 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  }
63
- }
63
+ }