@wavv/ui 2.4.4-alpha.7 → 2.4.4-alpha.8

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.
@@ -8,7 +8,7 @@ import DropdownMenu from "../DropdownMenu.js";
8
8
  import { marginProps } from "../helpers/styledProps.js";
9
9
  import Icon from "../Icon/index.js";
10
10
  import ButtonLoader from "./ButtonLoader.js";
11
- import dropdown_caret from "./dropdown-caret.js";
11
+ import DropdownCaretIcon from "./DropdownCaretIcon.js";
12
12
  import Group from "./Group.js";
13
13
  const Button_Button = ({ content, children, dropdown, options, ref, ...rest })=>{
14
14
  const text = content || children;
@@ -131,7 +131,7 @@ const DropdownButton = ({ children, options, dropdown = true, onClick, onPress,
131
131
  /*#__PURE__*/ jsx(CaretIconWrapper, {
132
132
  isOpen: optionsOpen,
133
133
  children: /*#__PURE__*/ jsx(Icon, {
134
- svg: /*#__PURE__*/ jsx(dropdown_caret, {}),
134
+ svg: /*#__PURE__*/ jsx(DropdownCaretIcon, {}),
135
135
  size: caretSize
136
136
  })
137
137
  })
@@ -0,0 +1,3 @@
1
+ import type * as React from 'react';
2
+ declare function DropdownCaretIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
3
+ export default DropdownCaretIcon;
@@ -0,0 +1,20 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ function DropdownCaretIcon(props) {
3
+ return /*#__PURE__*/ jsx("svg", {
4
+ width: "6",
5
+ height: "4",
6
+ viewBox: "0 0 6 4",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ ...props,
10
+ children: /*#__PURE__*/ jsx("path", {
11
+ d: "M0.75 0.75L3 3L5.25 0.75",
12
+ stroke: "currentColor",
13
+ strokeWidth: "1.5",
14
+ strokeLinecap: "round",
15
+ strokeLinejoin: "round"
16
+ })
17
+ });
18
+ }
19
+ const Button_DropdownCaretIcon = DropdownCaretIcon;
20
+ export { Button_DropdownCaretIcon as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "2.4.4-alpha.7",
3
+ "version": "2.4.4-alpha.8",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,2 +0,0 @@
1
- import dropdown_caret_namespaceObject from "../../static/svg/dropdown-caret.svg";
2
- export { dropdown_caret_namespaceObject as default };
@@ -1,3 +0,0 @@
1
- <svg width="6" height="4" viewBox="0 0 6 4" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0.75 0.75L3 3L5.25 0.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>