@allxsmith/bestax-bulma 5.67.1 → 5.67.2

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 (33) hide show
  1. package/dist/bestax.css +1 -1
  2. package/dist/bestax.css.map +1 -1
  3. package/dist/esm/form/DateInputBase.js +1 -1
  4. package/dist/esm/form/DateInputBase.js.map +1 -1
  5. package/dist/esm/form/DateRangeInputBase.js +1 -1
  6. package/dist/esm/form/DateRangeInputBase.js.map +1 -1
  7. package/dist/esm/form/DateTimeInputBase.js +3 -3
  8. package/dist/esm/form/DateTimeInputBase.js.map +1 -1
  9. package/dist/esm/form/_pickerInternals/Calendar.js +19 -10
  10. package/dist/esm/form/_pickerInternals/Calendar.js.map +1 -1
  11. package/dist/extras.css +1 -1
  12. package/dist/extras.css.map +1 -1
  13. package/dist/index.cjs +24 -15
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/types/form/DateInputBase.d.ts +10 -2
  16. package/dist/types/form/DateRangeInputBase.d.ts +10 -2
  17. package/dist/types/form/DateTimeInputBase.d.ts +10 -2
  18. package/dist/types/form/_pickerInternals/Calendar.d.ts +12 -0
  19. package/dist/types-cjs/form/DateInputBase.d.ts +10 -2
  20. package/dist/types-cjs/form/DateRangeInputBase.d.ts +10 -2
  21. package/dist/types-cjs/form/DateTimeInputBase.d.ts +10 -2
  22. package/dist/types-cjs/form/_pickerInternals/Calendar.d.ts +12 -0
  23. package/dist/versions/bestax-no-dark-mode.css +1 -1
  24. package/dist/versions/bestax-no-dark-mode.css.map +1 -1
  25. package/dist/versions/bestax-no-helpers-prefixed.css +1 -1
  26. package/dist/versions/bestax-no-helpers-prefixed.css.map +1 -1
  27. package/dist/versions/bestax-no-helpers.css +1 -1
  28. package/dist/versions/bestax-no-helpers.css.map +1 -1
  29. package/dist/versions/bestax-prefixed.css +1 -1
  30. package/dist/versions/bestax-prefixed.css.map +1 -1
  31. package/package.json +1 -1
  32. package/src/scss/form/_dateinput.scss +4 -0
  33. package/src/scss/form/_datetimeinput.scss +9 -1
@@ -28,9 +28,17 @@ export interface DateInputBaseProps extends Omit<React.InputHTMLAttributes<HTMLI
28
28
  min?: Date;
29
29
  /** Latest selectable date. */
30
30
  max?: Date;
31
- /** Disable the input. */
31
+ /**
32
+ * Disable the input. An `inline` calendar disables its days and header
33
+ * buttons, but its hidden input still submits the value, where a disabled
34
+ * input submits nothing.
35
+ */
32
36
  disabled?: boolean;
33
- /** Make the input read-only. */
37
+ /**
38
+ * Make the input read-only. An `inline` calendar still moves through the
39
+ * dates by key and by its header, but a click, Enter or Space picks
40
+ * nothing.
41
+ */
34
42
  readOnly?: boolean;
35
43
  /** Placeholder text for the input. */
36
44
  placeholder?: string;
@@ -35,9 +35,17 @@ export interface DateRangeInputBaseProps extends Omit<React.HTMLAttributes<HTMLD
35
35
  min?: Date;
36
36
  /** Latest selectable date, for either end. */
37
37
  max?: Date;
38
- /** Disable both inputs and the launcher. */
38
+ /**
39
+ * Disable both inputs and the launcher, or an `inline` calendar's days and
40
+ * header buttons. The hidden inputs still submit the range, in every mode,
41
+ * where a disabled input submits nothing.
42
+ */
39
43
  disabled?: boolean;
40
- /** Make both inputs read-only and keep the popover closed. */
44
+ /**
45
+ * Make both inputs read-only and keep the popover closed. An `inline`
46
+ * calendar still moves through the dates by key and by its header, but a
47
+ * click, Enter or Space picks nothing.
48
+ */
41
49
  readOnly?: boolean;
42
50
  /** Placeholder text, shown in both inputs while they are empty. */
43
51
  placeholder?: string;
@@ -32,9 +32,17 @@ export interface DateTimeInputBaseProps extends Omit<React.InputHTMLAttributes<H
32
32
  min?: Date;
33
33
  /** Upper bound for the combined date-time. */
34
34
  max?: Date;
35
- /** Disable the input. */
35
+ /**
36
+ * Disable the input. An `inline` panel disables its days, header buttons,
37
+ * Time, Reset and ✓, but its hidden input still submits the value, where a
38
+ * disabled input submits nothing.
39
+ */
36
40
  disabled?: boolean;
37
- /** Read-only input. */
41
+ /**
42
+ * Read-only input. An `inline` panel still moves through the dates by key
43
+ * and by its header, but a click, Enter or Space picks nothing, and Time
44
+ * and Reset are disabled, so the time can't change either.
45
+ */
38
46
  readOnly?: boolean;
39
47
  /** Placeholder text. */
40
48
  placeholder?: string;
@@ -45,6 +45,18 @@ interface CalendarBaseProps {
45
45
  * receives the period's first day.
46
46
  */
47
47
  granularity?: DateGranularity;
48
+ /**
49
+ * Disable every button the calendar draws, its days and header included,
50
+ * as a disabled fieldset around it does, so nothing can be picked or
51
+ * focused.
52
+ */
53
+ disabled?: boolean;
54
+ /**
55
+ * Pick nothing. Focus still moves through the dates, by key and pointer,
56
+ * and the header still turns the month, but a click, Enter or Space selects
57
+ * no day, month or year.
58
+ */
59
+ readOnly?: boolean;
48
60
  }
49
61
  /** A calendar that picks one day, month or year. */
50
62
  interface CalendarSingleProps {
@@ -28,9 +28,17 @@ export interface DateInputBaseProps extends Omit<React.InputHTMLAttributes<HTMLI
28
28
  min?: Date;
29
29
  /** Latest selectable date. */
30
30
  max?: Date;
31
- /** Disable the input. */
31
+ /**
32
+ * Disable the input. An `inline` calendar disables its days and header
33
+ * buttons, but its hidden input still submits the value, where a disabled
34
+ * input submits nothing.
35
+ */
32
36
  disabled?: boolean;
33
- /** Make the input read-only. */
37
+ /**
38
+ * Make the input read-only. An `inline` calendar still moves through the
39
+ * dates by key and by its header, but a click, Enter or Space picks
40
+ * nothing.
41
+ */
34
42
  readOnly?: boolean;
35
43
  /** Placeholder text for the input. */
36
44
  placeholder?: string;
@@ -35,9 +35,17 @@ export interface DateRangeInputBaseProps extends Omit<React.HTMLAttributes<HTMLD
35
35
  min?: Date;
36
36
  /** Latest selectable date, for either end. */
37
37
  max?: Date;
38
- /** Disable both inputs and the launcher. */
38
+ /**
39
+ * Disable both inputs and the launcher, or an `inline` calendar's days and
40
+ * header buttons. The hidden inputs still submit the range, in every mode,
41
+ * where a disabled input submits nothing.
42
+ */
39
43
  disabled?: boolean;
40
- /** Make both inputs read-only and keep the popover closed. */
44
+ /**
45
+ * Make both inputs read-only and keep the popover closed. An `inline`
46
+ * calendar still moves through the dates by key and by its header, but a
47
+ * click, Enter or Space picks nothing.
48
+ */
41
49
  readOnly?: boolean;
42
50
  /** Placeholder text, shown in both inputs while they are empty. */
43
51
  placeholder?: string;
@@ -32,9 +32,17 @@ export interface DateTimeInputBaseProps extends Omit<React.InputHTMLAttributes<H
32
32
  min?: Date;
33
33
  /** Upper bound for the combined date-time. */
34
34
  max?: Date;
35
- /** Disable the input. */
35
+ /**
36
+ * Disable the input. An `inline` panel disables its days, header buttons,
37
+ * Time, Reset and ✓, but its hidden input still submits the value, where a
38
+ * disabled input submits nothing.
39
+ */
36
40
  disabled?: boolean;
37
- /** Read-only input. */
41
+ /**
42
+ * Read-only input. An `inline` panel still moves through the dates by key
43
+ * and by its header, but a click, Enter or Space picks nothing, and Time
44
+ * and Reset are disabled, so the time can't change either.
45
+ */
38
46
  readOnly?: boolean;
39
47
  /** Placeholder text. */
40
48
  placeholder?: string;
@@ -45,6 +45,18 @@ interface CalendarBaseProps {
45
45
  * receives the period's first day.
46
46
  */
47
47
  granularity?: DateGranularity;
48
+ /**
49
+ * Disable every button the calendar draws, its days and header included,
50
+ * as a disabled fieldset around it does, so nothing can be picked or
51
+ * focused.
52
+ */
53
+ disabled?: boolean;
54
+ /**
55
+ * Pick nothing. Focus still moves through the dates, by key and pointer,
56
+ * and the header still turns the month, but a click, Enter or Space selects
57
+ * no day, month or year.
58
+ */
59
+ readOnly?: boolean;
48
60
  }
49
61
  /** A calendar that picks one day, month or year. */
50
62
  interface CalendarSingleProps {