@btst/stack 1.4.0 → 1.5.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.
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/index.cjs +85 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/index.mjs +83 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.cjs +237 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.mjs +235 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/tzName/index.cjs +41 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/tzName/index.mjs +39 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/tzOffset/index.cjs +46 -0
- package/dist/node_modules/.pnpm/@date-fns_tz@1.4.1/node_modules/@date-fns/tz/tzOffset/index.mjs +44 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.12_@types_react-dom@19.2.3_@types_react@19.2.6__@types_re_947719a27ff11ec6f09710dd9e85efc5/node_modules/@radix-ui/react-accordion/dist/index.cjs +321 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.12_@types_react-dom@19.2.3_@types_react@19.2.6__@types_re_947719a27ff11ec6f09710dd9e85efc5/node_modules/@radix-ui/react-accordion/dist/index.mjs +306 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_c1e3fbdebd5ee34a254141dc5a2dcd28/node_modules/@radix-ui/react-checkbox/dist/index.cjs +296 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_c1e3fbdebd5ee34a254141dc5a2dcd28/node_modules/@radix-ui/react-checkbox/dist/index.mjs +271 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@19.2.3_@types_react@19.2.6__@types__d025a77f62ee83ca6bd8b0ea1f9de738/node_modules/@radix-ui/react-collapsible/dist/index.cjs +168 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@19.2.3_@types_react@19.2.6__@types__d025a77f62ee83ca6bd8b0ea1f9de738/node_modules/@radix-ui/react-collapsible/dist/index.mjs +146 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_5c5a3ca63b34dfe7d9d23f1e8cee675c/node_modules/@radix-ui/react-popover/dist/index.cjs +325 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_5c5a3ca63b34dfe7d9d23f1e8cee675c/node_modules/@radix-ui/react-popover/dist/index.mjs +299 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_43b950ce9f6b8d55739cce33fe173a1c/node_modules/@radix-ui/react-primitive/dist/index.cjs +56 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_43b950ce9f6b8d55739cce33fe173a1c/node_modules/@radix-ui/react-primitive/dist/index.mjs +40 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.8_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_e0d4db654009398ea41c8e459eeae4ee/node_modules/@radix-ui/react-radio-group/dist/index.cjs +304 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.8_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_e0d4db654009398ea41c8e459eeae4ee/node_modules/@radix-ui/react-radio-group/dist/index.mjs +283 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.8_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_8aae318b88145540882c32de0262377a/node_modules/@radix-ui/react-separator/dist/index.cjs +47 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.8_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_8aae318b88145540882c32de0262377a/node_modules/@radix-ui/react-separator/dist/index.mjs +30 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/DayPicker.cjs +326 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/DayPicker.mjs +320 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/UI.cjs +122 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/UI.mjs +122 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/CalendarDay.cjs +35 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/CalendarDay.mjs +33 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.cjs +16 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.cjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/DateLib.cjs +577 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/classes/DateLib.mjs +573 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Button.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Button.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/CaptionLabel.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/CaptionLabel.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Chevron.cjs +26 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Chevron.mjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Day.cjs +24 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Day.mjs +18 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/DayButton.cjs +25 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/DayButton.mjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Dropdown.cjs +27 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Dropdown.mjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/DropdownNav.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/DropdownNav.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Footer.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Footer.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Month.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Month.mjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/MonthCaption.cjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/MonthCaption.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/MonthGrid.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/MonthGrid.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Months.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Months.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.mjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Nav.cjs +37 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Nav.mjs +31 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/NextMonthButton.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/NextMonthButton.mjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Option.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Option.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.mjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Root.cjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Root.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Select.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Select.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Week.cjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Week.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/WeekNumber.cjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/WeekNumber.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Weekday.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Weekday.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Weekdays.cjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Weekdays.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Weeks.cjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/Weeks.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/YearsDropdown.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/YearsDropdown.mjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/custom-components.cjs +57 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/components/custom-components.mjs +26 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatCaption.cjs +29 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatCaption.mjs +26 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatDay.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatDay.mjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.cjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.mjs +18 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.cjs +23 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.mjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.cjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.mjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.cjs +26 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.mjs +23 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/index.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/formatters/index.mjs +7 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.cjs +75 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.mjs +73 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.cjs +97 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.mjs +95 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.cjs +24 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.mjs +22 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.cjs +30 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.mjs +28 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.cjs +35 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.mjs +33 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getComponents.cjs +22 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getComponents.mjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.cjs +29 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.mjs +27 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDates.cjs +61 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDates.mjs +59 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDays.cjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDays.mjs +19 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.cjs +35 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.mjs +33 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.cjs +26 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.mjs +24 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.cjs +48 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.mjs +46 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getFormatters.cjs +26 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getFormatters.mjs +24 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.cjs +29 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.mjs +27 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getLabels.cjs +55 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getLabels.mjs +53 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.cjs +35 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.mjs +33 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getMonths.cjs +71 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getMonths.mjs +69 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.cjs +53 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.mjs +51 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.cjs +42 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.mjs +40 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.cjs +38 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.mjs +36 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.cjs +39 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.mjs +37 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.cjs +29 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.mjs +27 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.cjs +28 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.mjs +26 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getWeeks.cjs +16 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getWeeks.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.cjs +38 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.mjs +36 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.cjs +29 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.mjs +27 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.cjs +33 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.mjs +31 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/index.cjs +29 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/index.mjs +11 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelDayButton.cjs +35 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelDayButton.mjs +32 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelGrid.cjs +28 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelGrid.mjs +25 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelGridcell.cjs +24 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelGridcell.mjs +22 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.cjs +16 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelNav.cjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelNav.mjs +13 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelNext.cjs +18 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelNext.mjs +16 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelPrevious.cjs +17 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelPrevious.mjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.cjs +17 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.mjs +15 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.cjs +16 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelWeekday.cjs +20 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelWeekday.mjs +18 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.cjs +16 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.mjs +14 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/locale/en-US.cjs +69 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/locale/en-US.mjs +67 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/selection/useMulti.cjs +59 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/selection/useMulti.mjs +57 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/selection/useRange.cjs +47 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/selection/useRange.mjs +45 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/selection/useSingle.cjs +46 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/selection/useSingle.mjs +44 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useAnimation.cjs +176 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useAnimation.mjs +174 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useCalendar.cjs +115 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useCalendar.mjs +113 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useDayPicker.cjs +28 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useDayPicker.mjs +25 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useFocus.cjs +58 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useFocus.mjs +56 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useSelection.cjs +33 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/useSelection.mjs +31 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/addToRange.cjs +97 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/addToRange.mjs +95 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.cjs +59 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.mjs +57 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.cjs +64 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.mjs +62 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.cjs +32 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.mjs +30 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.cjs +76 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.mjs +74 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.cjs +37 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.mjs +35 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.cjs +23 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.mjs +21 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/toTimeZone.cjs +18 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/toTimeZone.mjs +16 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/typeguards.cjs +73 -0
- package/dist/node_modules/.pnpm/react-day-picker@9.12.0_react@19.2.0/node_modules/react-day-picker/dist/esm/utils/typeguards.mjs +66 -0
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-interface.cjs +36 -3
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-interface.mjs +36 -3
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-layout.cjs +16 -3
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-layout.mjs +16 -3
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-message.cjs +35 -3
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-message.mjs +35 -3
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-sidebar.cjs +131 -124
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/chat-sidebar.mjs +131 -124
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/tool-call-display.cjs +123 -0
- package/dist/packages/better-stack/src/plugins/ai-chat/client/components/tool-call-display.mjs +121 -0
- package/dist/packages/better-stack/src/plugins/ai-chat/schemas.cjs +23 -23
- package/dist/packages/better-stack/src/plugins/blog/api/plugin.cjs +28 -12
- package/dist/packages/better-stack/src/plugins/blog/api/plugin.mjs +18 -2
- package/dist/packages/better-stack/src/plugins/blog/client/components/loading/form-page-skeleton.cjs +1 -1
- package/dist/packages/better-stack/src/plugins/blog/client/components/loading/form-page-skeleton.mjs +1 -1
- package/dist/packages/better-stack/src/plugins/blog/client/components/loading/list-page-skeleton.cjs +1 -1
- package/dist/packages/better-stack/src/plugins/blog/client/components/loading/list-page-skeleton.mjs +1 -1
- package/dist/packages/better-stack/src/plugins/blog/client/components/loading/post-page-skeleton.cjs +1 -1
- package/dist/packages/better-stack/src/plugins/blog/client/components/loading/post-page-skeleton.mjs +1 -1
- package/dist/packages/better-stack/src/plugins/blog/client/components/shared/page-wrapper.cjs +10 -6
- package/dist/packages/better-stack/src/plugins/blog/client/components/shared/page-wrapper.mjs +11 -7
- package/dist/packages/better-stack/src/plugins/blog/schemas.cjs +17 -17
- package/dist/packages/better-stack/src/plugins/cms/api/plugin.cjs +457 -0
- package/dist/packages/better-stack/src/plugins/cms/api/plugin.mjs +455 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.cjs +299 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.mjs +297 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.cjs +118 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.mjs +116 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/loading/dashboard-skeleton.cjs +18 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/loading/dashboard-skeleton.mjs +16 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/loading/editor-skeleton.cjs +32 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/loading/editor-skeleton.mjs +30 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/loading/list-skeleton.cjs +32 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/loading/list-skeleton.mjs +30 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/404-page.cjs +20 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/404-page.mjs +18 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-editor-page.cjs +46 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-editor-page.internal.cjs +83 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-editor-page.internal.mjs +81 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-editor-page.mjs +44 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-list-page.cjs +43 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-list-page.internal.cjs +152 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-list-page.internal.mjs +150 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-list-page.mjs +41 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/dashboard-page.cjs +39 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/dashboard-page.internal.cjs +68 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/dashboard-page.internal.mjs +66 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/pages/dashboard-page.mjs +37 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/shared/default-error.cjs +17 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/shared/default-error.mjs +15 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/shared/empty-state.cjs +16 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/shared/empty-state.mjs +14 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/shared/page-wrapper.cjs +27 -0
- package/dist/packages/better-stack/src/plugins/cms/client/components/shared/page-wrapper.mjs +25 -0
- package/dist/packages/better-stack/src/plugins/cms/client/hooks/cms-hooks.cjs +402 -0
- package/dist/packages/better-stack/src/plugins/cms/client/hooks/cms-hooks.mjs +390 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-common.cjs +29 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-common.mjs +27 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-dashboard.cjs +13 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-dashboard.mjs +11 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-editor.cjs +12 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-editor.mjs +10 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-list.cjs +18 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-list.mjs +16 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-toasts.cjs +12 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/cms-toasts.mjs +10 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/index.cjs +17 -0
- package/dist/packages/better-stack/src/plugins/cms/client/localization/index.mjs +15 -0
- package/dist/packages/better-stack/src/plugins/cms/client/plugin.cjs +185 -0
- package/dist/packages/better-stack/src/plugins/cms/client/plugin.mjs +183 -0
- package/dist/packages/better-stack/src/plugins/cms/db.cjs +76 -0
- package/dist/packages/better-stack/src/plugins/cms/db.mjs +74 -0
- package/dist/packages/better-stack/src/plugins/cms/schemas.cjs +54 -0
- package/dist/packages/better-stack/src/plugins/cms/schemas.mjs +49 -0
- package/dist/packages/better-stack/src/plugins/cms/utils.cjs +15 -0
- package/dist/packages/better-stack/src/plugins/cms/utils.mjs +9 -0
- package/dist/packages/ui/src/components/accordion.cjs +67 -0
- package/dist/packages/ui/src/components/accordion.mjs +62 -0
- package/dist/packages/ui/src/components/calendar.cjs +205 -0
- package/dist/packages/ui/src/components/calendar.mjs +188 -0
- package/dist/packages/ui/src/components/checkbox.cjs +34 -0
- package/dist/packages/ui/src/components/checkbox.mjs +32 -0
- package/dist/packages/ui/src/components/date-picker.cjs +41 -0
- package/dist/packages/ui/src/components/date-picker.mjs +39 -0
- package/dist/packages/ui/src/components/form.mjs +1 -1
- package/dist/packages/{better-stack/src/plugins/blog/client/components/shared → ui/src/components}/page-layout.cjs +2 -1
- package/dist/packages/{better-stack/src/plugins/blog/client/components/shared → ui/src/components}/page-layout.mjs +2 -1
- package/dist/packages/ui/src/components/page-wrapper.cjs +20 -0
- package/dist/packages/ui/src/components/page-wrapper.mjs +18 -0
- package/dist/packages/ui/src/components/popover.cjs +41 -0
- package/dist/packages/ui/src/components/popover.mjs +37 -0
- package/dist/packages/ui/src/components/radio-group.cjs +48 -0
- package/dist/packages/ui/src/components/radio-group.mjs +45 -0
- package/dist/packages/ui/src/components/separator.cjs +29 -0
- package/dist/packages/ui/src/components/separator.mjs +27 -0
- package/dist/packages/ui/src/components/table.cjs +89 -0
- package/dist/packages/ui/src/components/table.mjs +82 -0
- package/dist/packages/ui/src/components/ui/auto-form/common/label.cjs +18 -0
- package/dist/packages/ui/src/components/ui/auto-form/common/label.mjs +16 -0
- package/dist/packages/ui/src/components/ui/auto-form/common/tooltip.cjs +9 -0
- package/dist/packages/ui/src/components/ui/auto-form/common/tooltip.mjs +7 -0
- package/dist/packages/ui/src/components/ui/auto-form/config.cjs +42 -0
- package/dist/packages/ui/src/components/ui/auto-form/config.mjs +39 -0
- package/dist/packages/ui/src/components/ui/auto-form/dependencies.cjs +48 -0
- package/dist/packages/ui/src/components/ui/auto-form/dependencies.mjs +46 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/array.cjs +103 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/array.mjs +87 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/checkbox.cjs +38 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/checkbox.mjs +36 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/date.cjs +37 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/date.mjs +35 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/enum.cjs +73 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/enum.mjs +71 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/file.cjs +63 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/file.mjs +61 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/input.cjs +32 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/input.mjs +30 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/number.cjs +31 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/number.mjs +29 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/object.cjs +149 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/object.mjs +133 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/radio-group.cjs +67 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/radio-group.mjs +65 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/switch.cjs +38 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/switch.mjs +36 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/textarea.cjs +31 -0
- package/dist/packages/ui/src/components/ui/auto-form/fields/textarea.mjs +29 -0
- package/dist/packages/ui/src/components/ui/auto-form/index.cjs +87 -0
- package/dist/packages/ui/src/components/ui/auto-form/index.mjs +78 -0
- package/dist/packages/ui/src/components/ui/auto-form/types.cjs +11 -0
- package/dist/packages/ui/src/components/ui/auto-form/types.mjs +9 -0
- package/dist/packages/ui/src/components/ui/auto-form/utils.cjs +179 -0
- package/dist/packages/ui/src/components/ui/auto-form/utils.mjs +169 -0
- package/dist/plugins/ai-chat/api/index.d.cts +1 -1
- package/dist/plugins/ai-chat/api/index.d.mts +1 -1
- package/dist/plugins/ai-chat/api/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/components/index.cjs +2 -0
- package/dist/plugins/ai-chat/client/components/index.d.cts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.mts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/components/index.mjs +1 -0
- package/dist/plugins/ai-chat/client/hooks/index.d.cts +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.d.mts +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/index.cjs +2 -0
- package/dist/plugins/ai-chat/client/index.d.cts +5 -176
- package/dist/plugins/ai-chat/client/index.d.mts +5 -176
- package/dist/plugins/ai-chat/client/index.d.ts +5 -176
- package/dist/plugins/ai-chat/client/index.mjs +1 -0
- package/dist/plugins/ai-chat/query-keys.d.cts +56 -250
- package/dist/plugins/ai-chat/query-keys.d.mts +56 -250
- package/dist/plugins/ai-chat/query-keys.d.ts +56 -250
- package/dist/plugins/blog/client/components/shared/markdown-content-styles.css +6 -0
- package/dist/plugins/blog/query-keys.d.cts +102 -362
- package/dist/plugins/blog/query-keys.d.mts +102 -362
- package/dist/plugins/blog/query-keys.d.ts +102 -362
- package/dist/plugins/cms/api/index.cjs +7 -0
- package/dist/plugins/cms/api/index.d.cts +101 -0
- package/dist/plugins/cms/api/index.d.mts +101 -0
- package/dist/plugins/cms/api/index.d.ts +101 -0
- package/dist/plugins/cms/api/index.mjs +1 -0
- package/dist/plugins/cms/client/components/index.cjs +14 -0
- package/dist/plugins/cms/client/components/index.d.cts +20 -0
- package/dist/plugins/cms/client/components/index.d.mts +20 -0
- package/dist/plugins/cms/client/components/index.d.ts +20 -0
- package/dist/plugins/cms/client/components/index.mjs +10 -0
- package/dist/plugins/cms/client/hooks/index.cjs +17 -0
- package/dist/plugins/cms/client/hooks/index.d.cts +203 -0
- package/dist/plugins/cms/client/hooks/index.d.mts +203 -0
- package/dist/plugins/cms/client/hooks/index.d.ts +203 -0
- package/dist/plugins/cms/client/hooks/index.mjs +1 -0
- package/dist/plugins/cms/client/index.cjs +9 -0
- package/dist/plugins/cms/client/index.d.cts +344 -0
- package/dist/plugins/cms/client/index.d.mts +344 -0
- package/dist/plugins/cms/client/index.d.ts +344 -0
- package/dist/plugins/cms/client/index.mjs +2 -0
- package/dist/plugins/cms/client.css +2 -0
- package/dist/plugins/cms/query-keys.cjs +137 -0
- package/dist/plugins/cms/query-keys.d.cts +79 -0
- package/dist/plugins/cms/query-keys.d.mts +79 -0
- package/dist/plugins/cms/query-keys.d.ts +79 -0
- package/dist/plugins/cms/query-keys.mjs +135 -0
- package/dist/plugins/cms/style.css +19 -0
- package/dist/shared/stack.BwkyFwF8.d.cts +135 -0
- package/dist/shared/stack.DBqxCs0V.d.mts +135 -0
- package/dist/shared/stack.DaOcgmrM.d.cts +323 -0
- package/dist/shared/stack.DaOcgmrM.d.mts +323 -0
- package/dist/shared/stack.DaOcgmrM.d.ts +323 -0
- package/dist/shared/stack.DwnJA87a.d.ts +135 -0
- package/dist/shared/stack.NZJogTUn.d.cts +66 -0
- package/dist/shared/stack.NZJogTUn.d.mts +66 -0
- package/dist/shared/stack.NZJogTUn.d.ts +66 -0
- package/package.json +58 -5
- package/src/plugins/ai-chat/client/components/chat-interface.tsx +56 -2
- package/src/plugins/ai-chat/client/components/chat-layout.tsx +16 -1
- package/src/plugins/ai-chat/client/components/chat-message.tsx +59 -3
- package/src/plugins/ai-chat/client/components/chat-sidebar.tsx +4 -1
- package/src/plugins/ai-chat/client/components/index.ts +2 -0
- package/src/plugins/ai-chat/client/components/tool-call-display.tsx +197 -0
- package/src/plugins/ai-chat/client/index.ts +12 -1
- package/src/plugins/ai-chat/client/overrides.ts +71 -0
- package/src/plugins/blog/api/plugin.ts +29 -2
- package/src/plugins/blog/client/components/loading/form-page-skeleton.tsx +1 -1
- package/src/plugins/blog/client/components/loading/list-page-skeleton.tsx +1 -1
- package/src/plugins/blog/client/components/loading/post-page-skeleton.tsx +1 -1
- package/src/plugins/blog/client/components/shared/markdown-content-styles.css +6 -0
- package/src/plugins/blog/client/components/shared/page-wrapper.tsx +9 -9
- package/src/plugins/cms/__tests__/schema-roundtrip.test.ts +611 -0
- package/src/plugins/cms/api/index.ts +1 -0
- package/src/plugins/cms/api/plugin.ts +611 -0
- package/src/plugins/cms/client/components/forms/content-form.tsx +477 -0
- package/src/plugins/cms/client/components/forms/file-upload.tsx +164 -0
- package/src/plugins/cms/client/components/index.tsx +10 -0
- package/src/plugins/cms/client/components/loading/dashboard-skeleton.tsx +22 -0
- package/src/plugins/cms/client/components/loading/editor-skeleton.tsx +35 -0
- package/src/plugins/cms/client/components/loading/index.tsx +3 -0
- package/src/plugins/cms/client/components/loading/list-skeleton.tsx +38 -0
- package/src/plugins/cms/client/components/pages/404-page.tsx +27 -0
- package/src/plugins/cms/client/components/pages/content-editor-page.internal.tsx +121 -0
- package/src/plugins/cms/client/components/pages/content-editor-page.tsx +50 -0
- package/src/plugins/cms/client/components/pages/content-list-page.internal.tsx +198 -0
- package/src/plugins/cms/client/components/pages/content-list-page.tsx +45 -0
- package/src/plugins/cms/client/components/pages/dashboard-page.internal.tsx +94 -0
- package/src/plugins/cms/client/components/pages/dashboard-page.tsx +37 -0
- package/src/plugins/cms/client/components/shared/default-error.tsx +30 -0
- package/src/plugins/cms/client/components/shared/empty-state.tsx +26 -0
- package/src/plugins/cms/client/components/shared/page-wrapper.tsx +32 -0
- package/src/plugins/cms/client/components/shared/pagination.tsx +72 -0
- package/src/plugins/cms/client/hooks/cms-hooks.tsx +724 -0
- package/src/plugins/cms/client/hooks/index.tsx +1 -0
- package/src/plugins/cms/client/index.ts +13 -0
- package/src/plugins/cms/client/localization/cms-common.ts +29 -0
- package/src/plugins/cms/client/localization/cms-dashboard.ts +10 -0
- package/src/plugins/cms/client/localization/cms-editor.ts +8 -0
- package/src/plugins/cms/client/localization/cms-list.ts +14 -0
- package/src/plugins/cms/client/localization/cms-toasts.ts +8 -0
- package/src/plugins/cms/client/localization/index.ts +15 -0
- package/src/plugins/cms/client/overrides.ts +166 -0
- package/src/plugins/cms/client/plugin.tsx +283 -0
- package/src/plugins/cms/client.css +2 -0
- package/src/plugins/cms/db.ts +76 -0
- package/src/plugins/cms/query-keys.ts +186 -0
- package/src/plugins/cms/schemas.ts +81 -0
- package/src/plugins/cms/style.css +19 -0
- package/src/plugins/cms/types.ts +220 -0
- package/src/plugins/cms/utils.ts +11 -0
- package/dist/shared/stack.DorMi9CZ.d.cts +0 -80
- package/dist/shared/stack.DorMi9CZ.d.mts +0 -80
- package/dist/shared/stack.DorMi9CZ.d.ts +0 -80
- package/src/plugins/blog/client/components/shared/page-layout.tsx +0 -23
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Returns the years to display in the dropdown.
|
|
5
|
+
*
|
|
6
|
+
* This function generates a list of years between the navigation start and end
|
|
7
|
+
* dates, formatted using the provided formatter.
|
|
8
|
+
*
|
|
9
|
+
* @param navStart The start date for navigation.
|
|
10
|
+
* @param navEnd The end date for navigation.
|
|
11
|
+
* @param formatters The formatters to use for formatting the year labels.
|
|
12
|
+
* @param dateLib The date library to use for date manipulation.
|
|
13
|
+
* @param reverse If true, reverses the order of the years (descending).
|
|
14
|
+
* @returns An array of dropdown options representing the years, or `undefined`
|
|
15
|
+
* if `navStart` or `navEnd` is not provided.
|
|
16
|
+
*/
|
|
17
|
+
function getYearOptions(navStart, navEnd, formatters, dateLib, reverse = false) {
|
|
18
|
+
if (!navStart)
|
|
19
|
+
return undefined;
|
|
20
|
+
if (!navEnd)
|
|
21
|
+
return undefined;
|
|
22
|
+
const { startOfYear, endOfYear, eachYearOfInterval, getYear } = dateLib;
|
|
23
|
+
const firstNavYear = startOfYear(navStart);
|
|
24
|
+
const lastNavYear = endOfYear(navEnd);
|
|
25
|
+
const years = eachYearOfInterval({ start: firstNavYear, end: lastNavYear });
|
|
26
|
+
if (reverse)
|
|
27
|
+
years.reverse();
|
|
28
|
+
return years.map((year) => {
|
|
29
|
+
const label = formatters.formatYearDropdown(year, dateLib);
|
|
30
|
+
return {
|
|
31
|
+
value: getYear(year),
|
|
32
|
+
label,
|
|
33
|
+
disabled: false,
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.getYearOptions = getYearOptions;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the years to display in the dropdown.
|
|
3
|
+
*
|
|
4
|
+
* This function generates a list of years between the navigation start and end
|
|
5
|
+
* dates, formatted using the provided formatter.
|
|
6
|
+
*
|
|
7
|
+
* @param navStart The start date for navigation.
|
|
8
|
+
* @param navEnd The end date for navigation.
|
|
9
|
+
* @param formatters The formatters to use for formatting the year labels.
|
|
10
|
+
* @param dateLib The date library to use for date manipulation.
|
|
11
|
+
* @param reverse If true, reverses the order of the years (descending).
|
|
12
|
+
* @returns An array of dropdown options representing the years, or `undefined`
|
|
13
|
+
* if `navStart` or `navEnd` is not provided.
|
|
14
|
+
*/
|
|
15
|
+
function getYearOptions(navStart, navEnd, formatters, dateLib, reverse = false) {
|
|
16
|
+
if (!navStart)
|
|
17
|
+
return undefined;
|
|
18
|
+
if (!navEnd)
|
|
19
|
+
return undefined;
|
|
20
|
+
const { startOfYear, endOfYear, eachYearOfInterval, getYear } = dateLib;
|
|
21
|
+
const firstNavYear = startOfYear(navStart);
|
|
22
|
+
const lastNavYear = endOfYear(navEnd);
|
|
23
|
+
const years = eachYearOfInterval({ start: firstNavYear, end: lastNavYear });
|
|
24
|
+
if (reverse)
|
|
25
|
+
years.reverse();
|
|
26
|
+
return years.map((year) => {
|
|
27
|
+
const label = formatters.formatYearDropdown(year, dateLib);
|
|
28
|
+
return {
|
|
29
|
+
value: getYear(year),
|
|
30
|
+
label,
|
|
31
|
+
disabled: false,
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { getYearOptions };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Returns the start date of the week in the broadcast calendar.
|
|
5
|
+
*
|
|
6
|
+
* The broadcast week starts on Monday. If the first day of the month is not a
|
|
7
|
+
* Monday, this function calculates the previous Monday as the start of the
|
|
8
|
+
* broadcast week.
|
|
9
|
+
*
|
|
10
|
+
* @since 9.4.0
|
|
11
|
+
* @param date The date for which to calculate the start of the broadcast week.
|
|
12
|
+
* @param dateLib The date library to use for date manipulation.
|
|
13
|
+
* @returns The start date of the broadcast week.
|
|
14
|
+
*/
|
|
15
|
+
function startOfBroadcastWeek(date, dateLib) {
|
|
16
|
+
const firstOfMonth = dateLib.startOfMonth(date);
|
|
17
|
+
const dayOfWeek = firstOfMonth.getDay();
|
|
18
|
+
if (dayOfWeek === 1) {
|
|
19
|
+
return firstOfMonth;
|
|
20
|
+
}
|
|
21
|
+
else if (dayOfWeek === 0) {
|
|
22
|
+
return dateLib.addDays(firstOfMonth, -1 * 6);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
return dateLib.addDays(firstOfMonth, -1 * (dayOfWeek - 1));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
exports.startOfBroadcastWeek = startOfBroadcastWeek;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the start date of the week in the broadcast calendar.
|
|
3
|
+
*
|
|
4
|
+
* The broadcast week starts on Monday. If the first day of the month is not a
|
|
5
|
+
* Monday, this function calculates the previous Monday as the start of the
|
|
6
|
+
* broadcast week.
|
|
7
|
+
*
|
|
8
|
+
* @since 9.4.0
|
|
9
|
+
* @param date The date for which to calculate the start of the broadcast week.
|
|
10
|
+
* @param dateLib The date library to use for date manipulation.
|
|
11
|
+
* @returns The start date of the broadcast week.
|
|
12
|
+
*/
|
|
13
|
+
function startOfBroadcastWeek(date, dateLib) {
|
|
14
|
+
const firstOfMonth = dateLib.startOfMonth(date);
|
|
15
|
+
const dayOfWeek = firstOfMonth.getDay();
|
|
16
|
+
if (dayOfWeek === 1) {
|
|
17
|
+
return firstOfMonth;
|
|
18
|
+
}
|
|
19
|
+
else if (dayOfWeek === 0) {
|
|
20
|
+
return dateLib.addDays(firstOfMonth, -1 * 6);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
return dateLib.addDays(firstOfMonth, -1 * (dayOfWeek - 1));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { startOfBroadcastWeek };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const React = require('react');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A custom hook for managing both controlled and uncontrolled component states.
|
|
7
|
+
*
|
|
8
|
+
* This hook allows a component to support both controlled and uncontrolled
|
|
9
|
+
* states by determining whether the `controlledValue` is provided. If it is
|
|
10
|
+
* undefined, the hook falls back to using the internal state.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* // Uncontrolled usage
|
|
14
|
+
* const [value, setValue] = useControlledValue(0, undefined);
|
|
15
|
+
*
|
|
16
|
+
* // Controlled usage
|
|
17
|
+
* const [value, setValue] = useControlledValue(0, props.value);
|
|
18
|
+
*
|
|
19
|
+
* @template T - The type of the value.
|
|
20
|
+
* @param defaultValue The initial value for the uncontrolled state.
|
|
21
|
+
* @param controlledValue The value for the controlled state. If undefined, the
|
|
22
|
+
* component will use the uncontrolled state.
|
|
23
|
+
* @returns A tuple where the first element is the current value (either
|
|
24
|
+
* controlled or uncontrolled) and the second element is a setter function to
|
|
25
|
+
* update the value.
|
|
26
|
+
*/
|
|
27
|
+
function useControlledValue(defaultValue, controlledValue) {
|
|
28
|
+
const [uncontrolledValue, setValue] = React.useState(defaultValue);
|
|
29
|
+
const value = controlledValue === undefined ? uncontrolledValue : controlledValue;
|
|
30
|
+
return [value, setValue];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.useControlledValue = useControlledValue;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A custom hook for managing both controlled and uncontrolled component states.
|
|
5
|
+
*
|
|
6
|
+
* This hook allows a component to support both controlled and uncontrolled
|
|
7
|
+
* states by determining whether the `controlledValue` is provided. If it is
|
|
8
|
+
* undefined, the hook falls back to using the internal state.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* // Uncontrolled usage
|
|
12
|
+
* const [value, setValue] = useControlledValue(0, undefined);
|
|
13
|
+
*
|
|
14
|
+
* // Controlled usage
|
|
15
|
+
* const [value, setValue] = useControlledValue(0, props.value);
|
|
16
|
+
*
|
|
17
|
+
* @template T - The type of the value.
|
|
18
|
+
* @param defaultValue The initial value for the uncontrolled state.
|
|
19
|
+
* @param controlledValue The value for the controlled state. If undefined, the
|
|
20
|
+
* component will use the uncontrolled state.
|
|
21
|
+
* @returns A tuple where the first element is the current value (either
|
|
22
|
+
* controlled or uncontrolled) and the second element is a setter function to
|
|
23
|
+
* update the value.
|
|
24
|
+
*/
|
|
25
|
+
function useControlledValue(defaultValue, controlledValue) {
|
|
26
|
+
const [uncontrolledValue, setValue] = useState(defaultValue);
|
|
27
|
+
const value = controlledValue === undefined ? uncontrolledValue : controlledValue;
|
|
28
|
+
return [value, setValue];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { useControlledValue };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const labelDayButton = require('./labelDayButton.cjs');
|
|
4
|
+
const labelGrid = require('./labelGrid.cjs');
|
|
5
|
+
const labelGridcell = require('./labelGridcell.cjs');
|
|
6
|
+
const labelMonthDropdown = require('./labelMonthDropdown.cjs');
|
|
7
|
+
const labelNav = require('./labelNav.cjs');
|
|
8
|
+
const labelNext = require('./labelNext.cjs');
|
|
9
|
+
const labelPrevious = require('./labelPrevious.cjs');
|
|
10
|
+
const labelWeekday = require('./labelWeekday.cjs');
|
|
11
|
+
const labelWeekNumber = require('./labelWeekNumber.cjs');
|
|
12
|
+
const labelWeekNumberHeader = require('./labelWeekNumberHeader.cjs');
|
|
13
|
+
const labelYearDropdown = require('./labelYearDropdown.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.labelDay = labelDayButton.labelDay;
|
|
18
|
+
exports.labelDayButton = labelDayButton.labelDayButton;
|
|
19
|
+
exports.labelCaption = labelGrid.labelCaption;
|
|
20
|
+
exports.labelGrid = labelGrid.labelGrid;
|
|
21
|
+
exports.labelGridcell = labelGridcell.labelGridcell;
|
|
22
|
+
exports.labelMonthDropdown = labelMonthDropdown.labelMonthDropdown;
|
|
23
|
+
exports.labelNav = labelNav.labelNav;
|
|
24
|
+
exports.labelNext = labelNext.labelNext;
|
|
25
|
+
exports.labelPrevious = labelPrevious.labelPrevious;
|
|
26
|
+
exports.labelWeekday = labelWeekday.labelWeekday;
|
|
27
|
+
exports.labelWeekNumber = labelWeekNumber.labelWeekNumber;
|
|
28
|
+
exports.labelWeekNumberHeader = labelWeekNumberHeader.labelWeekNumberHeader;
|
|
29
|
+
exports.labelYearDropdown = labelYearDropdown.labelYearDropdown;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { labelDay, labelDayButton } from './labelDayButton.mjs';
|
|
2
|
+
export { labelCaption, labelGrid } from './labelGrid.mjs';
|
|
3
|
+
export { labelGridcell } from './labelGridcell.mjs';
|
|
4
|
+
export { labelMonthDropdown } from './labelMonthDropdown.mjs';
|
|
5
|
+
export { labelNav } from './labelNav.mjs';
|
|
6
|
+
export { labelNext } from './labelNext.mjs';
|
|
7
|
+
export { labelPrevious } from './labelPrevious.mjs';
|
|
8
|
+
export { labelWeekday } from './labelWeekday.mjs';
|
|
9
|
+
export { labelWeekNumber } from './labelWeekNumber.mjs';
|
|
10
|
+
export { labelWeekNumberHeader } from './labelWeekNumberHeader.mjs';
|
|
11
|
+
export { labelYearDropdown } from './labelYearDropdown.mjs';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DateLib = require('../classes/DateLib.cjs');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Generates the ARIA label for a day button.
|
|
7
|
+
*
|
|
8
|
+
* Use the `modifiers` argument to provide additional context for the label,
|
|
9
|
+
* such as indicating if the day is "today" or "selected."
|
|
10
|
+
*
|
|
11
|
+
* @defaultValue The formatted date.
|
|
12
|
+
* @param date - The date to format.
|
|
13
|
+
* @param modifiers - The modifiers providing context for the day.
|
|
14
|
+
* @param options - Optional configuration for the date formatting library.
|
|
15
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
16
|
+
* @returns The ARIA label for the day button.
|
|
17
|
+
* @group Labels
|
|
18
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
19
|
+
*/
|
|
20
|
+
function labelDayButton(date, modifiers, options, dateLib) {
|
|
21
|
+
let label = (dateLib ?? new DateLib.DateLib(options)).format(date, "PPPP");
|
|
22
|
+
if (modifiers.today)
|
|
23
|
+
label = `Today, ${label}`;
|
|
24
|
+
if (modifiers.selected)
|
|
25
|
+
label = `${label}, selected`;
|
|
26
|
+
return label;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @ignore
|
|
30
|
+
* @deprecated Use `labelDayButton` instead.
|
|
31
|
+
*/
|
|
32
|
+
const labelDay = labelDayButton;
|
|
33
|
+
|
|
34
|
+
exports.labelDay = labelDay;
|
|
35
|
+
exports.labelDayButton = labelDayButton;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DateLib } from '../classes/DateLib.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for a day button.
|
|
5
|
+
*
|
|
6
|
+
* Use the `modifiers` argument to provide additional context for the label,
|
|
7
|
+
* such as indicating if the day is "today" or "selected."
|
|
8
|
+
*
|
|
9
|
+
* @defaultValue The formatted date.
|
|
10
|
+
* @param date - The date to format.
|
|
11
|
+
* @param modifiers - The modifiers providing context for the day.
|
|
12
|
+
* @param options - Optional configuration for the date formatting library.
|
|
13
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
14
|
+
* @returns The ARIA label for the day button.
|
|
15
|
+
* @group Labels
|
|
16
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
17
|
+
*/
|
|
18
|
+
function labelDayButton(date, modifiers, options, dateLib) {
|
|
19
|
+
let label = (dateLib ?? new DateLib(options)).format(date, "PPPP");
|
|
20
|
+
if (modifiers.today)
|
|
21
|
+
label = `Today, ${label}`;
|
|
22
|
+
if (modifiers.selected)
|
|
23
|
+
label = `${label}, selected`;
|
|
24
|
+
return label;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @ignore
|
|
28
|
+
* @deprecated Use `labelDayButton` instead.
|
|
29
|
+
*/
|
|
30
|
+
const labelDay = labelDayButton;
|
|
31
|
+
|
|
32
|
+
export { labelDay, labelDayButton };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DateLib = require('../classes/DateLib.cjs');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Generates the ARIA label for the month grid, which is announced when entering
|
|
7
|
+
* the grid.
|
|
8
|
+
*
|
|
9
|
+
* @defaultValue Locale-specific month/year order (e.g., "November 2022").
|
|
10
|
+
* @param date - The date representing the month.
|
|
11
|
+
* @param options - Optional configuration for the date formatting library.
|
|
12
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
13
|
+
* @returns The ARIA label for the month grid.
|
|
14
|
+
* @group Labels
|
|
15
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
16
|
+
*/
|
|
17
|
+
function labelGrid(date, options, dateLib) {
|
|
18
|
+
const lib = dateLib ?? new DateLib.DateLib(options);
|
|
19
|
+
return lib.formatMonthYear(date);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @ignore
|
|
23
|
+
* @deprecated Use {@link labelGrid} instead.
|
|
24
|
+
*/
|
|
25
|
+
const labelCaption = labelGrid;
|
|
26
|
+
|
|
27
|
+
exports.labelCaption = labelCaption;
|
|
28
|
+
exports.labelGrid = labelGrid;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DateLib } from '../classes/DateLib.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for the month grid, which is announced when entering
|
|
5
|
+
* the grid.
|
|
6
|
+
*
|
|
7
|
+
* @defaultValue Locale-specific month/year order (e.g., "November 2022").
|
|
8
|
+
* @param date - The date representing the month.
|
|
9
|
+
* @param options - Optional configuration for the date formatting library.
|
|
10
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
11
|
+
* @returns The ARIA label for the month grid.
|
|
12
|
+
* @group Labels
|
|
13
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
14
|
+
*/
|
|
15
|
+
function labelGrid(date, options, dateLib) {
|
|
16
|
+
const lib = dateLib ?? new DateLib(options);
|
|
17
|
+
return lib.formatMonthYear(date);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
* @deprecated Use {@link labelGrid} instead.
|
|
22
|
+
*/
|
|
23
|
+
const labelCaption = labelGrid;
|
|
24
|
+
|
|
25
|
+
export { labelCaption, labelGrid };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DateLib = require('../classes/DateLib.cjs');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Generates the label for a day grid cell when the calendar is not interactive.
|
|
7
|
+
*
|
|
8
|
+
* @param date - The date to format.
|
|
9
|
+
* @param modifiers - Optional modifiers providing context for the day.
|
|
10
|
+
* @param options - Optional configuration for the date formatting library.
|
|
11
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
12
|
+
* @returns The label for the day grid cell.
|
|
13
|
+
* @group Labels
|
|
14
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
15
|
+
*/
|
|
16
|
+
function labelGridcell(date, modifiers, options, dateLib) {
|
|
17
|
+
let label = (dateLib ?? new DateLib.DateLib(options)).format(date, "PPPP");
|
|
18
|
+
if (modifiers?.today) {
|
|
19
|
+
label = `Today, ${label}`;
|
|
20
|
+
}
|
|
21
|
+
return label;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
exports.labelGridcell = labelGridcell;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DateLib } from '../classes/DateLib.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the label for a day grid cell when the calendar is not interactive.
|
|
5
|
+
*
|
|
6
|
+
* @param date - The date to format.
|
|
7
|
+
* @param modifiers - Optional modifiers providing context for the day.
|
|
8
|
+
* @param options - Optional configuration for the date formatting library.
|
|
9
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
10
|
+
* @returns The label for the day grid cell.
|
|
11
|
+
* @group Labels
|
|
12
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
13
|
+
*/
|
|
14
|
+
function labelGridcell(date, modifiers, options, dateLib) {
|
|
15
|
+
let label = (dateLib ?? new DateLib(options)).format(date, "PPPP");
|
|
16
|
+
if (modifiers?.today) {
|
|
17
|
+
label = `Today, ${label}`;
|
|
18
|
+
}
|
|
19
|
+
return label;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { labelGridcell };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for the months dropdown.
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue `"Choose the Month"`
|
|
7
|
+
* @param options - Optional configuration for the date formatting library.
|
|
8
|
+
* @returns The ARIA label for the months dropdown.
|
|
9
|
+
* @group Labels
|
|
10
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
11
|
+
*/
|
|
12
|
+
function labelMonthDropdown(_options) {
|
|
13
|
+
return "Choose the Month";
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
exports.labelMonthDropdown = labelMonthDropdown;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates the ARIA label for the months dropdown.
|
|
3
|
+
*
|
|
4
|
+
* @defaultValue `"Choose the Month"`
|
|
5
|
+
* @param options - Optional configuration for the date formatting library.
|
|
6
|
+
* @returns The ARIA label for the months dropdown.
|
|
7
|
+
* @group Labels
|
|
8
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
9
|
+
*/
|
|
10
|
+
function labelMonthDropdown(_options) {
|
|
11
|
+
return "Choose the Month";
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { labelMonthDropdown };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for the navigation toolbar.
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue `""`
|
|
7
|
+
* @returns The ARIA label for the navigation toolbar.
|
|
8
|
+
* @group Labels
|
|
9
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
10
|
+
*/
|
|
11
|
+
function labelNav() {
|
|
12
|
+
return "";
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
exports.labelNav = labelNav;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates the ARIA label for the navigation toolbar.
|
|
3
|
+
*
|
|
4
|
+
* @defaultValue `""`
|
|
5
|
+
* @returns The ARIA label for the navigation toolbar.
|
|
6
|
+
* @group Labels
|
|
7
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
8
|
+
*/
|
|
9
|
+
function labelNav() {
|
|
10
|
+
return "";
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { labelNav };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const defaultLabel = "Go to the Next Month";
|
|
4
|
+
/**
|
|
5
|
+
* Generates the ARIA label for the "next month" button.
|
|
6
|
+
*
|
|
7
|
+
* @defaultValue `"Go to the Next Month"`
|
|
8
|
+
* @param month - The date representing the next month, or `undefined` if there
|
|
9
|
+
* is no next month.
|
|
10
|
+
* @returns The ARIA label for the "next month" button.
|
|
11
|
+
* @group Labels
|
|
12
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
13
|
+
*/
|
|
14
|
+
function labelNext(_month, _options) {
|
|
15
|
+
return defaultLabel;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
exports.labelNext = labelNext;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const defaultLabel = "Go to the Next Month";
|
|
2
|
+
/**
|
|
3
|
+
* Generates the ARIA label for the "next month" button.
|
|
4
|
+
*
|
|
5
|
+
* @defaultValue `"Go to the Next Month"`
|
|
6
|
+
* @param month - The date representing the next month, or `undefined` if there
|
|
7
|
+
* is no next month.
|
|
8
|
+
* @returns The ARIA label for the "next month" button.
|
|
9
|
+
* @group Labels
|
|
10
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
11
|
+
*/
|
|
12
|
+
function labelNext(_month, _options) {
|
|
13
|
+
return defaultLabel;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { labelNext };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for the "previous month" button.
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue `"Go to the Previous Month"`
|
|
7
|
+
* @param month - The date representing the previous month, or `undefined` if
|
|
8
|
+
* there is no previous month.
|
|
9
|
+
* @returns The ARIA label for the "previous month" button.
|
|
10
|
+
* @group Labels
|
|
11
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
12
|
+
*/
|
|
13
|
+
function labelPrevious(_month) {
|
|
14
|
+
return "Go to the Previous Month";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.labelPrevious = labelPrevious;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates the ARIA label for the "previous month" button.
|
|
3
|
+
*
|
|
4
|
+
* @defaultValue `"Go to the Previous Month"`
|
|
5
|
+
* @param month - The date representing the previous month, or `undefined` if
|
|
6
|
+
* there is no previous month.
|
|
7
|
+
* @returns The ARIA label for the "previous month" button.
|
|
8
|
+
* @group Labels
|
|
9
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
10
|
+
*/
|
|
11
|
+
function labelPrevious(_month) {
|
|
12
|
+
return "Go to the Previous Month";
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { labelPrevious };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for the week number cell (the first cell in a row).
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue `Week ${weekNumber}`
|
|
7
|
+
* @param weekNumber - The number of the week.
|
|
8
|
+
* @param options - Optional configuration for the date formatting library.
|
|
9
|
+
* @returns The ARIA label for the week number cell.
|
|
10
|
+
* @group Labels
|
|
11
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
12
|
+
*/
|
|
13
|
+
function labelWeekNumber(weekNumber, _options) {
|
|
14
|
+
return `Week ${weekNumber}`;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.labelWeekNumber = labelWeekNumber;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates the ARIA label for the week number cell (the first cell in a row).
|
|
3
|
+
*
|
|
4
|
+
* @defaultValue `Week ${weekNumber}`
|
|
5
|
+
* @param weekNumber - The number of the week.
|
|
6
|
+
* @param options - Optional configuration for the date formatting library.
|
|
7
|
+
* @returns The ARIA label for the week number cell.
|
|
8
|
+
* @group Labels
|
|
9
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
10
|
+
*/
|
|
11
|
+
function labelWeekNumber(weekNumber, _options) {
|
|
12
|
+
return `Week ${weekNumber}`;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { labelWeekNumber };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for the week number header element.
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue `"Week Number"`
|
|
7
|
+
* @param options - Optional configuration for the date formatting library.
|
|
8
|
+
* @returns The ARIA label for the week number header.
|
|
9
|
+
* @group Labels
|
|
10
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
11
|
+
*/
|
|
12
|
+
function labelWeekNumberHeader(_options) {
|
|
13
|
+
return "Week Number";
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
exports.labelWeekNumberHeader = labelWeekNumberHeader;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates the ARIA label for the week number header element.
|
|
3
|
+
*
|
|
4
|
+
* @defaultValue `"Week Number"`
|
|
5
|
+
* @param options - Optional configuration for the date formatting library.
|
|
6
|
+
* @returns The ARIA label for the week number header.
|
|
7
|
+
* @group Labels
|
|
8
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
9
|
+
*/
|
|
10
|
+
function labelWeekNumberHeader(_options) {
|
|
11
|
+
return "Week Number";
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { labelWeekNumberHeader };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const DateLib = require('../classes/DateLib.cjs');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Generates the ARIA label for a weekday column header.
|
|
7
|
+
*
|
|
8
|
+
* @defaultValue `"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"`
|
|
9
|
+
* @param date - The date representing the weekday.
|
|
10
|
+
* @param options - Optional configuration for the date formatting library.
|
|
11
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
12
|
+
* @returns The ARIA label for the weekday column header.
|
|
13
|
+
* @group Labels
|
|
14
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
15
|
+
*/
|
|
16
|
+
function labelWeekday(date, options, dateLib) {
|
|
17
|
+
return (dateLib ?? new DateLib.DateLib(options)).format(date, "cccc");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
exports.labelWeekday = labelWeekday;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DateLib } from '../classes/DateLib.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Generates the ARIA label for a weekday column header.
|
|
5
|
+
*
|
|
6
|
+
* @defaultValue `"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"`
|
|
7
|
+
* @param date - The date representing the weekday.
|
|
8
|
+
* @param options - Optional configuration for the date formatting library.
|
|
9
|
+
* @param dateLib - An optional instance of the date formatting library.
|
|
10
|
+
* @returns The ARIA label for the weekday column header.
|
|
11
|
+
* @group Labels
|
|
12
|
+
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
13
|
+
*/
|
|
14
|
+
function labelWeekday(date, options, dateLib) {
|
|
15
|
+
return (dateLib ?? new DateLib(options)).format(date, "cccc");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { labelWeekday };
|