x-ui-design 0.2.74 → 0.2.76

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.
@@ -153,6 +153,8 @@ const SelectComponent = forwardRef<HTMLDivElement, SelectProps>(
153
153
 
154
154
  if (hasMode) {
155
155
  handleClearInputValue();
156
+ } else {
157
+ setSearchQuery('');
156
158
  }
157
159
  }
158
160
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-ui-design",
3
- "version": "0.2.74",
3
+ "version": "0.2.76",
4
4
  "license": "ISC",
5
5
  "author": "Gabriel Boyajyan",
6
6
  "main": "dist/index.js",
package/src/app/page.tsx CHANGED
@@ -1,11 +1,16 @@
1
1
  'use client'
2
2
 
3
- import { Skeleton } from "../../lib/components/Skeleton";
3
+ import { Select } from "../../lib/components/Select";
4
4
 
5
5
  export default function Home() {
6
6
  return (
7
7
  <>
8
- <Skeleton.Avatar />
8
+ <Select
9
+ showSearch
10
+ options={[
11
+ { value: 'Spain', label: 'Spain' },
12
+ { value: 'Armenia', label: 'Armenia' }
13
+ ]} />
9
14
  </>
10
15
  )
11
16
  }