@hexure/ui 1.4.0 → 1.4.1

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.
@@ -6,6 +6,7 @@ export { default as Button } from './components/Button';
6
6
  export { default as Checkbox } from './components/Checkbox';
7
7
  export { default as Checklist } from './components/Checklist';
8
8
  export { default as Copy } from './components/Copy';
9
+ export { default as DatePicker } from './components/DatePicker';
9
10
  export { default as Drawer } from './components/Drawer';
10
11
  export { default as Field } from './components/Field';
11
12
  export { default as FileUpload } from './components/FileUpload';
package/dist/index.d.ts CHANGED
@@ -134,6 +134,22 @@ interface CopyProps extends AccessibleProps {
134
134
  }
135
135
  declare const Copy: FC<CopyProps>;
136
136
 
137
+ interface DateProps extends AccessibleProps {
138
+ /** If it's value is true then select is disabled. */
139
+ readOnly?: boolean;
140
+ /** It is used to show error messages when it's value is false. */
141
+ invalid?: boolean;
142
+ /** Pass in the date in ISO 8601 string format (YYYY-MM-DD) */
143
+ maxDate?: number;
144
+ /** Pass in the date in ISO 8601 string format (YYYY-MM-DD) */
145
+ minDate?: number;
146
+ /** Pass in the date in ISO 8601 string format (YYYY-MM-DD) */
147
+ date?: string;
148
+ /** It is used to get selected value */
149
+ onChange: (e: any) => void;
150
+ }
151
+ declare const DatePicker: FC<DateProps>;
152
+
137
153
  interface ButtonProps$1 extends AccessibleProps {
138
154
  disabled: boolean;
139
155
  children: string;
@@ -425,4 +441,4 @@ interface ZeroStateProps extends AccessibleProps {
425
441
  }
426
442
  declare const ZeroState: FC<ZeroStateProps>;
427
443
 
428
- export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, Drawer, Field, FileUpload, Heading, Input, Logo, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
444
+ export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, DatePicker, Drawer, Field, FileUpload, Heading, Input, Logo, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",