@preline/non-auto 5.0.0 → 5.1.0

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.
Files changed (4) hide show
  1. package/index.d.ts +9 -0
  2. package/index.js +65 -63
  3. package/index.mjs +55 -55
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -591,6 +591,7 @@ export interface ISelectOptions {
591
591
  searchNoResultText?: string | null;
592
592
  searchNoResultClasses?: string | null;
593
593
  optionAllowEmptyOption?: boolean;
594
+ optionValueAsTitle?: boolean;
594
595
  optionTemplate?: string;
595
596
  optionTag?: string;
596
597
  optionClasses?: string;
@@ -619,6 +620,7 @@ export interface ICustomDatepickerOptions extends Options {
619
620
  inputModeOptions?: {
620
621
  dateSeparator?: string;
621
622
  itemsSeparator?: string;
623
+ closeOnSelect?: boolean;
622
624
  };
623
625
  templates?: {
624
626
  time?: string;
@@ -638,6 +640,7 @@ export interface ICustomDatepickerOptions extends Options {
638
640
  dateFormat?: string;
639
641
  dateLocale?: string;
640
642
  replaceTodayWithText?: boolean;
643
+ showTodayButton?: boolean;
641
644
  }
642
645
  export interface IDatepicker {
643
646
  options?: ICustomDatepickerOptions;
@@ -660,6 +663,7 @@ export declare class HSDatepicker extends HSBasePlugin<{}> implements IDatepicke
660
663
  private changeDateSeparator;
661
664
  private formatDateArrayToIndividualDates;
662
665
  private hasTime;
666
+ private shouldCloseOnSelect;
663
667
  private createArrowFromTemplate;
664
668
  private concatObjectProperties;
665
669
  private updateTemplate;
@@ -676,6 +680,9 @@ export declare class HSDatepicker extends HSBasePlugin<{}> implements IDatepicke
676
680
  private parseCustomYear;
677
681
  private parseArrowPrev;
678
682
  private parseArrowNext;
683
+ private generateCustomTodayMarkup;
684
+ private parseCustomToday;
685
+ private selectToday;
679
686
  private processCustomTemplate;
680
687
  private disableOptions;
681
688
  private disableNav;
@@ -1249,6 +1256,7 @@ export declare class HSSelect extends HSBasePlugin<ISelectOptions> implements IS
1249
1256
  private readonly searchNoResultText;
1250
1257
  private readonly searchNoResultClasses;
1251
1258
  private readonly optionAllowEmptyOption;
1259
+ private readonly optionValueAsTitle;
1252
1260
  private readonly optionTag;
1253
1261
  private readonly optionTemplate;
1254
1262
  private readonly optionClasses;
@@ -1312,6 +1320,7 @@ export declare class HSSelect extends HSBasePlugin<ISelectOptions> implements IS
1312
1320
  private buildExtraMarkup;
1313
1321
  private buildToggle;
1314
1322
  private setToggleIcon;
1323
+ private setToggleText;
1315
1324
  private setToggleTitle;
1316
1325
  private buildTags;
1317
1326
  private reassignTagsInputPlaceholder;