@hexure/ui 1.12.6 → 1.12.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.
package/dist/index.d.ts CHANGED
@@ -89,7 +89,7 @@ interface ButtonProps$3 extends AccessibleProps {
89
89
  /** If enabled, the small button format will be used. */
90
90
  small?: boolean;
91
91
  /** Define which button format to display. By default the Primary button will be used. */
92
- format?: 'primary' | 'secondary' | 'red' | 'green';
92
+ format?: 'primary' | 'secondary' | 'red' | 'green' | string;
93
93
  }
94
94
  declare const Button: FC<ButtonProps$3>;
95
95
 
@@ -172,6 +172,7 @@ interface CheckboxProps extends AccessibleProps {
172
172
  children?: string;
173
173
  /** It is used to disable checkbox. */
174
174
  disabled?: boolean;
175
+ color?: string;
175
176
  /** If it's value id true then checkbox is default checked. */
176
177
  checked?: boolean;
177
178
  /** It is used to change value of checkbox. */
@@ -186,6 +187,7 @@ declare const Checkbox: FC<CheckboxProps>;
186
187
  interface OptionProps$3 {
187
188
  label?: string;
188
189
  value: string | number;
190
+ color?: string;
189
191
  }
190
192
  interface ChecklistProps extends AccessibleProps {
191
193
  disabled?: boolean;
@@ -235,6 +237,7 @@ declare const DatePicker: FC<DateProps>;
235
237
  interface ButtonProps$1 extends AccessibleProps {
236
238
  disabled?: boolean;
237
239
  children: string;
240
+ format?: string;
238
241
  icon?: string;
239
242
  onClick: (e?: any) => void;
240
243
  tabIndex?: number;
@@ -441,6 +444,7 @@ declare const Modal: FC<ModalProps>;
441
444
  interface OptionProps$2 {
442
445
  label?: string;
443
446
  value: string | number;
447
+ color?: string;
444
448
  }
445
449
  interface styleProps$1 {
446
450
  width?: number | string;
@@ -454,6 +458,7 @@ interface MultiSelectProps extends AccessibleProps {
454
458
  selected: (string | number)[];
455
459
  showSelectAll?: boolean;
456
460
  style?: styleProps$1;
461
+ searchable?: boolean;
457
462
  }
458
463
  declare const MultiSelect: FC<MultiSelectProps>;
459
464
 
@@ -536,6 +541,7 @@ interface OptionProps {
536
541
  label?: string;
537
542
  /** It is used to give value to option. */
538
543
  value: string | number;
544
+ color?: string;
539
545
  }
540
546
  interface OptionGroupProps {
541
547
  options: OptionProps[];
@@ -551,6 +557,7 @@ interface SelectProps extends AccessibleProps {
551
557
  options?: OptionProps[];
552
558
  optionGroups?: OptionGroupProps[];
553
559
  placeholder?: string;
560
+ searchable?: boolean;
554
561
  /** If it's value is true then select is disabled. */
555
562
  readOnly?: boolean;
556
563
  /** It is used to show error messages when it's value is false. */
@@ -561,6 +568,7 @@ interface SelectProps extends AccessibleProps {
561
568
  style?: styleProps;
562
569
  /** It is used to change value when an option is clicked. */
563
570
  onChange: (e: any) => void;
571
+ onSearch?: (searchTerm: string) => void;
564
572
  }
565
573
  declare const Select: FC<SelectProps>;
566
574
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.12.6",
3
+ "version": "1.12.8",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",