nectiasw 0.0.193 → 0.0.196

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.
@@ -0,0 +1,13 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Select } from '.';
3
+
4
+ declare const meta: Meta<typeof Select>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof Select>;
7
+ export declare const Default: Story;
8
+ export declare const Disabled: Story;
9
+ export declare const Searchable: Story;
10
+ export declare const CustomSize: Story;
11
+ export declare const CustomVariant: Story;
12
+ export declare const YearSelect: Story;
13
+ export declare const Multi: Story;
@@ -37,6 +37,8 @@ export type SelectProps = {
37
37
  onClear?: () => void;
38
38
  listHeight?: number;
39
39
  handleKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;
40
+ isMulti?: boolean;
41
+ isClearable?: boolean;
40
42
  };
41
43
  export type OptionListProps = {
42
44
  active?: boolean;
package/dist/index.d.ts CHANGED
@@ -116,7 +116,7 @@ export { download } from './utils/download';
116
116
  export { capitalize } from './utils/capitalize';
117
117
  export { formatHourTime, removeHourFormat } from './utils/time';
118
118
  export { createTimeSlots, createHalfTimeSlots } from './utils/slots';
119
- export { useIsMobile } from './utils/responsive';
119
+ export { useDeviceSize } from './utils/responsive';
120
120
  export * as Detail from './components/Detail';
121
121
  export type { DetailProps, SectionProps } from './components/Detail';
122
122
  export { Timeline } from './components/Timeline';