willba-component-library 0.2.76 → 0.2.78

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 (74) hide show
  1. package/package.json +1 -1
  2. package/src/core/components/calendar/Calendar.css +2 -3
  3. package/src/themes/Default.css +1 -0
  4. package/willba-component-library-0.2.77.tgz +0 -0
  5. package/lib/assets/IconsSvg.d.ts +0 -9
  6. package/lib/assets/SpinnerSvg.d.ts +0 -5
  7. package/lib/components/Button/Button.d.ts +0 -29
  8. package/lib/components/Button/Button.stories.d.ts +0 -7
  9. package/lib/components/Button/index.d.ts +0 -1
  10. package/lib/components/FilterBar/FilterBar.d.ts +0 -5
  11. package/lib/components/FilterBar/FilterBar.stories.d.ts +0 -6
  12. package/lib/components/FilterBar/FilterBarTypes.d.ts +0 -56
  13. package/lib/components/FilterBar/components/buttons/close-button/CloseButton.d.ts +0 -7
  14. package/lib/components/FilterBar/components/buttons/index.d.ts +0 -4
  15. package/lib/components/FilterBar/components/buttons/select-button/SelectButton.d.ts +0 -10
  16. package/lib/components/FilterBar/components/buttons/submit-button/SubmitButton.d.ts +0 -3
  17. package/lib/components/FilterBar/components/buttons/tab-button/TabButton.d.ts +0 -10
  18. package/lib/components/FilterBar/components/calendar/Calendar.d.ts +0 -14
  19. package/lib/components/FilterBar/components/categories/Categories.d.ts +0 -8
  20. package/lib/components/FilterBar/components/divider/Divider.d.ts +0 -3
  21. package/lib/components/FilterBar/components/guests/GuestCount/GuestCount.d.ts +0 -4
  22. package/lib/components/FilterBar/components/guests/Guests.d.ts +0 -10
  23. package/lib/components/FilterBar/components/index.d.ts +0 -4
  24. package/lib/components/FilterBar/hooks/index.d.ts +0 -2
  25. package/lib/components/FilterBar/hooks/useCloseFilterSection.d.ts +0 -8
  26. package/lib/components/FilterBar/hooks/useFilterBar.d.ts +0 -27
  27. package/lib/components/FilterBar/hooks/useScrollInToView.d.ts +0 -9
  28. package/lib/components/FilterBar/hooks/useUpdateTranslations.d.ts +0 -5
  29. package/lib/components/FilterBar/index.d.ts +0 -2
  30. package/lib/components/FilterBar/utils/index.d.ts +0 -1
  31. package/lib/components/FilterBar/utils/parseDates.d.ts +0 -6
  32. package/lib/components/FilterBar/utils/parseGuests.d.ts +0 -17
  33. package/lib/components/FilterCalendar/FilterCalendar.d.ts +0 -5
  34. package/lib/components/FilterCalendar/FilterCalendar.stories.d.ts +0 -8
  35. package/lib/components/FilterCalendar/FilterCalendarTypes.d.ts +0 -9
  36. package/lib/components/FilterCalendar/components/Footer.d.ts +0 -10
  37. package/lib/components/FilterCalendar/hooks/useFilterCalendar.d.ts +0 -28
  38. package/lib/components/FilterCalendar/index.d.ts +0 -2
  39. package/lib/core/components/buttons/close-button/CloseButton.d.ts +0 -7
  40. package/lib/core/components/buttons/submit-button/SubmitButton.d.ts +0 -13
  41. package/lib/core/components/calendar/Calendar.d.ts +0 -5
  42. package/lib/core/components/calendar/CalendarTypes.d.ts +0 -46
  43. package/lib/core/components/calendar/hooks/index.d.ts +0 -3
  44. package/lib/core/components/calendar/hooks/useCalendarLoadingSpinner.d.ts +0 -5
  45. package/lib/core/components/calendar/hooks/useCalendarTooltips.d.ts +0 -5
  46. package/lib/core/components/calendar/hooks/useUpdateDisabledDates.d.ts +0 -14
  47. package/lib/core/components/calendar/utils/calendarSelectionRules.d.ts +0 -15
  48. package/lib/core/components/calendar/utils/checkForContinuousSelection.d.ts +0 -11
  49. package/lib/core/components/calendar/utils/disabledDatesByPage.d.ts +0 -9
  50. package/lib/core/components/calendar/utils/handleCalendarModifiers.d.ts +0 -47
  51. package/lib/core/components/calendar/utils/handleRangeContextDisabledDates.d.ts +0 -27
  52. package/lib/core/components/calendar/utils/index.d.ts +0 -8
  53. package/lib/core/components/calendar/utils/nightsCount.d.ts +0 -6
  54. package/lib/core/components/calendar/utils/parseDate.d.ts +0 -7
  55. package/lib/core/components/calendar/utils/parseDates.d.ts +0 -6
  56. package/lib/core/components/index.d.ts +0 -3
  57. package/lib/core/hooks/index.d.ts +0 -3
  58. package/lib/core/hooks/useAwaitRender.d.ts +0 -1
  59. package/lib/core/hooks/useCloseFilterSection.d.ts +0 -8
  60. package/lib/core/hooks/useUpdateTranslations.d.ts +0 -5
  61. package/lib/core/utils/handleOverlappingDates.d.ts +0 -1
  62. package/lib/core/utils/index.d.ts +0 -3
  63. package/lib/core/utils/nightsCount.d.ts +0 -6
  64. package/lib/core/utils/parseDate.d.ts +0 -7
  65. package/lib/core/utils/parseDates.d.ts +0 -6
  66. package/lib/i18n.d.ts +0 -2
  67. package/lib/index.d.ts +0 -127
  68. package/lib/index.esm.js +0 -12203
  69. package/lib/index.esm.js.map +0 -1
  70. package/lib/index.js +0 -12225
  71. package/lib/index.js.map +0 -1
  72. package/lib/index.umd.js +0 -12229
  73. package/lib/index.umd.js.map +0 -1
  74. package/lib/themes/useTheme.d.ts +0 -15
@@ -1,15 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- export type Palette = {
3
- primary: string;
4
- secondary: string;
5
- error: string;
6
- };
7
- export type ThemeProps = {
8
- palette?: Palette;
9
- };
10
- export interface CustomPaletteTypes extends CSSProperties {
11
- '--will-primary'?: string;
12
- '--will-secondary'?: string;
13
- '--will-error'?: string;
14
- }
15
- export default function useTheme({ palette }: ThemeProps): CustomPaletteTypes;