@zimyo/ui 1.0.2 → 1.1.1
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/Accordion/index.d.ts +34 -0
- package/dist/Accordion/index.esm.js +129 -0
- package/dist/Accordion/index.js +137 -0
- package/dist/Button/index.d.ts +15 -0
- package/dist/Button/index.esm.js +23 -0
- package/dist/Button/index.js +28 -0
- package/dist/Card/index.d.ts +41 -0
- package/dist/Card/index.esm.js +36 -0
- package/dist/Card/index.js +38 -0
- package/dist/Popover/index.d.ts +19 -0
- package/dist/Popover/index.esm.js +22 -0
- package/dist/Popover/index.js +27 -0
- package/dist/RadioGroup/index.d.ts +31 -0
- package/dist/RadioGroup/index.esm.js +92 -0
- package/dist/RadioGroup/index.js +97 -0
- package/dist/Typography/index.d.ts +30 -0
- package/dist/Typography/index.esm.js +57 -0
- package/dist/Typography/index.js +66 -0
- package/package.json +106 -83
- package/dist/components/index.d.ts +0 -60
- package/dist/components/ui/accordion.d.ts +0 -10
- package/dist/components/ui/accordion.js +0 -58
- package/dist/components/ui/alert-dialog.d.ts +0 -17
- package/dist/components/ui/alert-dialog.js +0 -108
- package/dist/components/ui/alert.d.ts +0 -13
- package/dist/components/ui/alert.js +0 -52
- package/dist/components/ui/aspect-ratio.d.ts +0 -6
- package/dist/components/ui/aspect-ratio.js +0 -12
- package/dist/components/ui/avatar.d.ts +0 -9
- package/dist/components/ui/avatar.js +0 -37
- package/dist/components/ui/badge.d.ts +0 -13
- package/dist/components/ui/badge.js +0 -36
- package/dist/components/ui/breadcrumb.d.ts +0 -14
- package/dist/components/ui/breadcrumb.js +0 -94
- package/dist/components/ui/button.d.ts +0 -14
- package/dist/components/ui/button.js +0 -48
- package/dist/components/ui/calendar.d.ts +0 -13
- package/dist/components/ui/calendar.js +0 -137
- package/dist/components/ui/card.d.ts +0 -12
- package/dist/components/ui/card.js +0 -76
- package/dist/components/ui/carousel.d.ts +0 -25
- package/dist/components/ui/carousel.js +0 -173
- package/dist/components/ui/chart.d.ts +0 -44
- package/dist/components/ui/chart.js +0 -203
- package/dist/components/ui/checkbox.d.ts +0 -7
- package/dist/components/ui/checkbox.js +0 -26
- package/dist/components/ui/collapsible.d.ts +0 -8
- package/dist/components/ui/collapsible.js +0 -24
- package/dist/components/ui/command.d.ts +0 -22
- package/dist/components/ui/command.js +0 -119
- package/dist/components/ui/context-menu.d.ts +0 -28
- package/dist/components/ui/context-menu.js +0 -171
- package/dist/components/ui/dialog.d.ts +0 -18
- package/dist/components/ui/dialog.js +0 -106
- package/dist/components/ui/drawer.d.ts +0 -16
- package/dist/components/ui/drawer.js +0 -99
- package/dist/components/ui/dropdown-menu.d.ts +0 -28
- package/dist/components/ui/dropdown-menu.js +0 -173
- package/dist/components/ui/form.d.ts +0 -27
- package/dist/components/ui/form.js +0 -129
- package/dist/components/ui/hover-card.d.ts +0 -9
- package/dist/components/ui/hover-card.js +0 -36
- package/dist/components/ui/input-otp.d.ts +0 -14
- package/dist/components/ui/input-otp.js +0 -66
- package/dist/components/ui/input.d.ts +0 -6
- package/dist/components/ui/input.js +0 -18
- package/dist/components/ui/label.d.ts +0 -7
- package/dist/components/ui/label.js +0 -17
- package/dist/components/ui/menubar.d.ts +0 -29
- package/dist/components/ui/menubar.js +0 -191
- package/dist/components/ui/navigation-menu.d.ts +0 -18
- package/dist/components/ui/navigation-menu.js +0 -108
- package/dist/components/ui/pagination.d.ts +0 -18
- package/dist/components/ui/pagination.js +0 -103
- package/dist/components/ui/popover.d.ts +0 -10
- package/dist/components/ui/popover.js +0 -41
- package/dist/components/ui/progress.d.ts +0 -7
- package/dist/components/ui/progress.js +0 -26
- package/dist/components/ui/radio-group.d.ts +0 -8
- package/dist/components/ui/radio-group.js +0 -36
- package/dist/components/ui/resizable.d.ts +0 -11
- package/dist/components/ui/resizable.js +0 -42
- package/dist/components/ui/scroll-area.d.ts +0 -8
- package/dist/components/ui/scroll-area.js +0 -41
- package/dist/components/ui/select.d.ts +0 -18
- package/dist/components/ui/select.js +0 -136
- package/dist/components/ui/separator.d.ts +0 -7
- package/dist/components/ui/separator.js +0 -21
- package/dist/components/ui/sheet.d.ts +0 -16
- package/dist/components/ui/sheet.js +0 -106
- package/dist/components/ui/sidebar.d.ts +0 -74
- package/dist/components/ui/sidebar.js +0 -511
- package/dist/components/ui/skeleton.d.ts +0 -5
- package/dist/components/ui/skeleton.js +0 -16
- package/dist/components/ui/slider.d.ts +0 -7
- package/dist/components/ui/slider.js +0 -41
- package/dist/components/ui/sonner.d.ts +0 -6
- package/dist/components/ui/sonner.js +0 -18
- package/dist/components/ui/switch.d.ts +0 -7
- package/dist/components/ui/switch.js +0 -22
- package/dist/components/ui/table.d.ts +0 -13
- package/dist/components/ui/table.js +0 -90
- package/dist/components/ui/tabs.d.ts +0 -10
- package/dist/components/ui/tabs.js +0 -47
- package/dist/components/ui/textarea.d.ts +0 -6
- package/dist/components/ui/textarea.js +0 -16
- package/dist/components/ui/toggle-group.d.ts +0 -11
- package/dist/components/ui/toggle-group.js +0 -57
- package/dist/components/ui/toggle.d.ts +0 -13
- package/dist/components/ui/toggle.js +0 -41
- package/dist/components/ui/tooltip.d.ts +0 -10
- package/dist/components/ui/tooltip.js +0 -50
- package/dist/index.d.ts +0 -63
- package/dist/index.js +0 -48
- package/dist/lib/utils.d.ts +0 -5
- package/dist/lib/utils.js +0 -8
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -101
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -207
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -43
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -11
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -39
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -79
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -321
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -211
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -207
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -130
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -43
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -89
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -12
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -18
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -7
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -137
- package/dist/node_modules/class-variance-authority/dist/index.js +0 -44
- package/dist/node_modules/clsx/dist/clsx.js +0 -3
- package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js +0 -3
- package/dist/node_modules/cmdk/dist/index.js +0 -10
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -775
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -94
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -66
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -31
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -25
- package/dist/node_modules/date-fns/addDays.js +0 -41
- package/dist/node_modules/date-fns/addMonths.js +0 -75
- package/dist/node_modules/date-fns/addWeeks.js +0 -33
- package/dist/node_modules/date-fns/addYears.js +0 -33
- package/dist/node_modules/date-fns/constants.js +0 -46
- package/dist/node_modules/date-fns/constructFrom.js +0 -49
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -62
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -42
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -65
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -35
- package/dist/node_modules/date-fns/endOfMonth.js +0 -37
- package/dist/node_modules/date-fns/endOfWeek.js +0 -53
- package/dist/node_modules/date-fns/endOfYear.js +0 -37
- package/dist/node_modules/date-fns/format.js +0 -423
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -34
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -36
- package/dist/node_modules/date-fns/getISOWeek.js +0 -40
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -52
- package/dist/node_modules/date-fns/getMonth.js +0 -29
- package/dist/node_modules/date-fns/getWeek.js +0 -54
- package/dist/node_modules/date-fns/getWeekYear.js +0 -75
- package/dist/node_modules/date-fns/getYear.js +0 -29
- package/dist/node_modules/date-fns/isAfter.js +0 -25
- package/dist/node_modules/date-fns/isBefore.js +0 -25
- package/dist/node_modules/date-fns/isDate.js +0 -41
- package/dist/node_modules/date-fns/isSameDay.js +0 -46
- package/dist/node_modules/date-fns/isSameMonth.js +0 -43
- package/dist/node_modules/date-fns/isSameYear.js +0 -35
- package/dist/node_modules/date-fns/isValid.js +0 -39
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -64
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -59
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -22
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -103
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -41
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -13
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -189
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -134
- package/dist/node_modules/date-fns/locale/en-US.js +0 -28
- package/dist/node_modules/date-fns/max.js +0 -49
- package/dist/node_modules/date-fns/min.js +0 -49
- package/dist/node_modules/date-fns/setMonth.js +0 -46
- package/dist/node_modules/date-fns/setYear.js +0 -40
- package/dist/node_modules/date-fns/startOfDay.js +0 -35
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -35
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -42
- package/dist/node_modules/date-fns/startOfMonth.js +0 -37
- package/dist/node_modules/date-fns/startOfWeek.js +0 -53
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -64
- package/dist/node_modules/date-fns/startOfYear.js +0 -36
- package/dist/node_modules/date-fns/toDate.js +0 -46
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1669
- package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +0 -37
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -38
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -8
- package/dist/node_modules/input-otp/dist/index.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -285
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -122
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -30
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -522
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -31
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -25
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -73
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -95
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -33
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -51
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -33
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -46
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -28
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -33
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -69
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -51
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -39
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -36
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -37
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -38
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -27
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -31
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -32
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -24
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -57
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -45
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -44
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -175
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -85
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -25
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -50
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -31
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -92
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -62
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -30
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -74
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -35
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -66
- package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -507
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -9
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -160
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -38
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -21
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -110
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -56
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -10
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -31
- package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.js +0 -2407
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -19
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -25
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -51
- package/dist/node_modules/sonner/dist/index.js +0 -1125
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2956
- package/dist/node_modules/tslib/tslib.es6.js +0 -56
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -24
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -48
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -42
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -21
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -77
- package/dist/node_modules/vaul/dist/index.js +0 -1627
- package/dist/providers/ThemeProvider.d.ts +0 -12
- package/dist/providers/ThemeProvider.js +0 -27
- package/dist/providers/index.d.ts +0 -3
- package/dist/styles.css +0 -1
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
|
|
4
|
-
import { Menubar as Menubar$1 } from 'radix-ui';
|
|
5
|
-
import { cn } from '../../lib/utils.js';
|
|
6
|
-
|
|
7
|
-
function Menubar(_a) {
|
|
8
|
-
var {
|
|
9
|
-
className
|
|
10
|
-
} = _a,
|
|
11
|
-
props = __rest(_a, ["className"]);
|
|
12
|
-
return jsx(Menubar$1.Root, Object.assign({
|
|
13
|
-
"data-slot": "menubar",
|
|
14
|
-
className: cn("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs", className)
|
|
15
|
-
}, props));
|
|
16
|
-
}
|
|
17
|
-
function MenubarMenu(_a) {
|
|
18
|
-
var props = __rest(_a, []);
|
|
19
|
-
return jsx(Menubar$1.Menu, Object.assign({
|
|
20
|
-
"data-slot": "menubar-menu"
|
|
21
|
-
}, props));
|
|
22
|
-
}
|
|
23
|
-
function MenubarGroup(_a) {
|
|
24
|
-
var props = __rest(_a, []);
|
|
25
|
-
return jsx(Menubar$1.Group, Object.assign({
|
|
26
|
-
"data-slot": "menubar-group"
|
|
27
|
-
}, props));
|
|
28
|
-
}
|
|
29
|
-
function MenubarPortal(_a) {
|
|
30
|
-
var props = __rest(_a, []);
|
|
31
|
-
return jsx(Menubar$1.Portal, Object.assign({
|
|
32
|
-
"data-slot": "menubar-portal"
|
|
33
|
-
}, props));
|
|
34
|
-
}
|
|
35
|
-
function MenubarRadioGroup(_a) {
|
|
36
|
-
var props = __rest(_a, []);
|
|
37
|
-
return jsx(Menubar$1.RadioGroup, Object.assign({
|
|
38
|
-
"data-slot": "menubar-radio-group"
|
|
39
|
-
}, props));
|
|
40
|
-
}
|
|
41
|
-
function MenubarTrigger(_a) {
|
|
42
|
-
var {
|
|
43
|
-
className
|
|
44
|
-
} = _a,
|
|
45
|
-
props = __rest(_a, ["className"]);
|
|
46
|
-
return jsx(Menubar$1.Trigger, Object.assign({
|
|
47
|
-
"data-slot": "menubar-trigger",
|
|
48
|
-
className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none", className)
|
|
49
|
-
}, props));
|
|
50
|
-
}
|
|
51
|
-
function MenubarContent(_a) {
|
|
52
|
-
var {
|
|
53
|
-
className,
|
|
54
|
-
align = "start",
|
|
55
|
-
alignOffset = -4,
|
|
56
|
-
sideOffset = 8
|
|
57
|
-
} = _a,
|
|
58
|
-
props = __rest(_a, ["className", "align", "alignOffset", "sideOffset"]);
|
|
59
|
-
return jsx(MenubarPortal, {
|
|
60
|
-
children: jsx(Menubar$1.Content, Object.assign({
|
|
61
|
-
"data-slot": "menubar-content",
|
|
62
|
-
align: align,
|
|
63
|
-
alignOffset: alignOffset,
|
|
64
|
-
sideOffset: sideOffset,
|
|
65
|
-
className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md", className)
|
|
66
|
-
}, props))
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function MenubarItem(_a) {
|
|
70
|
-
var {
|
|
71
|
-
className,
|
|
72
|
-
inset,
|
|
73
|
-
variant = "default"
|
|
74
|
-
} = _a,
|
|
75
|
-
props = __rest(_a, ["className", "inset", "variant"]);
|
|
76
|
-
return jsx(Menubar$1.Item, Object.assign({
|
|
77
|
-
"data-slot": "menubar-item",
|
|
78
|
-
"data-inset": inset,
|
|
79
|
-
"data-variant": variant,
|
|
80
|
-
className: cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className)
|
|
81
|
-
}, props));
|
|
82
|
-
}
|
|
83
|
-
function MenubarCheckboxItem(_a) {
|
|
84
|
-
var {
|
|
85
|
-
className,
|
|
86
|
-
children,
|
|
87
|
-
checked
|
|
88
|
-
} = _a,
|
|
89
|
-
props = __rest(_a, ["className", "children", "checked"]);
|
|
90
|
-
return jsxs(Menubar$1.CheckboxItem, Object.assign({
|
|
91
|
-
"data-slot": "menubar-checkbox-item",
|
|
92
|
-
className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
93
|
-
checked: checked
|
|
94
|
-
}, props, {
|
|
95
|
-
children: [jsx("span", {
|
|
96
|
-
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
97
|
-
children: jsx(Menubar$1.ItemIndicator, {
|
|
98
|
-
children: jsx(CheckIcon, {
|
|
99
|
-
className: "size-4"
|
|
100
|
-
})
|
|
101
|
-
})
|
|
102
|
-
}), children]
|
|
103
|
-
}));
|
|
104
|
-
}
|
|
105
|
-
function MenubarRadioItem(_a) {
|
|
106
|
-
var {
|
|
107
|
-
className,
|
|
108
|
-
children
|
|
109
|
-
} = _a,
|
|
110
|
-
props = __rest(_a, ["className", "children"]);
|
|
111
|
-
return jsxs(Menubar$1.RadioItem, Object.assign({
|
|
112
|
-
"data-slot": "menubar-radio-item",
|
|
113
|
-
className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className)
|
|
114
|
-
}, props, {
|
|
115
|
-
children: [jsx("span", {
|
|
116
|
-
className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
117
|
-
children: jsx(Menubar$1.ItemIndicator, {
|
|
118
|
-
children: jsx(CircleIcon, {
|
|
119
|
-
className: "size-2 fill-current"
|
|
120
|
-
})
|
|
121
|
-
})
|
|
122
|
-
}), children]
|
|
123
|
-
}));
|
|
124
|
-
}
|
|
125
|
-
function MenubarLabel(_a) {
|
|
126
|
-
var {
|
|
127
|
-
className,
|
|
128
|
-
inset
|
|
129
|
-
} = _a,
|
|
130
|
-
props = __rest(_a, ["className", "inset"]);
|
|
131
|
-
return jsx(Menubar$1.Label, Object.assign({
|
|
132
|
-
"data-slot": "menubar-label",
|
|
133
|
-
"data-inset": inset,
|
|
134
|
-
className: cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className)
|
|
135
|
-
}, props));
|
|
136
|
-
}
|
|
137
|
-
function MenubarSeparator(_a) {
|
|
138
|
-
var {
|
|
139
|
-
className
|
|
140
|
-
} = _a,
|
|
141
|
-
props = __rest(_a, ["className"]);
|
|
142
|
-
return jsx(Menubar$1.Separator, Object.assign({
|
|
143
|
-
"data-slot": "menubar-separator",
|
|
144
|
-
className: cn("bg-border -mx-1 my-1 h-px", className)
|
|
145
|
-
}, props));
|
|
146
|
-
}
|
|
147
|
-
function MenubarShortcut(_a) {
|
|
148
|
-
var {
|
|
149
|
-
className
|
|
150
|
-
} = _a,
|
|
151
|
-
props = __rest(_a, ["className"]);
|
|
152
|
-
return jsx("span", Object.assign({
|
|
153
|
-
"data-slot": "menubar-shortcut",
|
|
154
|
-
className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className)
|
|
155
|
-
}, props));
|
|
156
|
-
}
|
|
157
|
-
function MenubarSub(_a) {
|
|
158
|
-
var props = __rest(_a, []);
|
|
159
|
-
return jsx(Menubar$1.Sub, Object.assign({
|
|
160
|
-
"data-slot": "menubar-sub"
|
|
161
|
-
}, props));
|
|
162
|
-
}
|
|
163
|
-
function MenubarSubTrigger(_a) {
|
|
164
|
-
var {
|
|
165
|
-
className,
|
|
166
|
-
inset,
|
|
167
|
-
children
|
|
168
|
-
} = _a,
|
|
169
|
-
props = __rest(_a, ["className", "inset", "children"]);
|
|
170
|
-
return jsxs(Menubar$1.SubTrigger, Object.assign({
|
|
171
|
-
"data-slot": "menubar-sub-trigger",
|
|
172
|
-
"data-inset": inset,
|
|
173
|
-
className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8", className)
|
|
174
|
-
}, props, {
|
|
175
|
-
children: [children, jsx(ChevronRightIcon, {
|
|
176
|
-
className: "ml-auto h-4 w-4"
|
|
177
|
-
})]
|
|
178
|
-
}));
|
|
179
|
-
}
|
|
180
|
-
function MenubarSubContent(_a) {
|
|
181
|
-
var {
|
|
182
|
-
className
|
|
183
|
-
} = _a,
|
|
184
|
-
props = __rest(_a, ["className"]);
|
|
185
|
-
return jsx(Menubar$1.SubContent, Object.assign({
|
|
186
|
-
"data-slot": "menubar-sub-content",
|
|
187
|
-
className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className)
|
|
188
|
-
}, props));
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { NavigationMenu as NavigationMenu$1 } from 'radix-ui';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
|
|
6
|
-
declare function NavigationMenu({ className, children, viewport, ...props }: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
7
|
-
viewport?: boolean;
|
|
8
|
-
}): react_jsx_runtime.JSX.Element;
|
|
9
|
-
declare function NavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
|
|
10
|
-
declare function NavigationMenuItem({ className, ...props }: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime.JSX.Element;
|
|
11
|
-
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;
|
|
12
|
-
declare function NavigationMenuTrigger({ className, children, ...props }: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
13
|
-
declare function NavigationMenuContent({ className, ...props }: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
14
|
-
declare function NavigationMenuViewport({ className, ...props }: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime.JSX.Element;
|
|
15
|
-
declare function NavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime.JSX.Element;
|
|
16
|
-
declare function NavigationMenuIndicator({ className, ...props }: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime.JSX.Element;
|
|
17
|
-
|
|
18
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { cva } from '../../node_modules/class-variance-authority/dist/index.js';
|
|
4
|
-
import { ChevronDownIcon } from 'lucide-react';
|
|
5
|
-
import { NavigationMenu as NavigationMenu$1 } from 'radix-ui';
|
|
6
|
-
import { cn } from '../../lib/utils.js';
|
|
7
|
-
|
|
8
|
-
function NavigationMenu(_a) {
|
|
9
|
-
var {
|
|
10
|
-
className,
|
|
11
|
-
children,
|
|
12
|
-
viewport = true
|
|
13
|
-
} = _a,
|
|
14
|
-
props = __rest(_a, ["className", "children", "viewport"]);
|
|
15
|
-
return jsxs(NavigationMenu$1.Root, Object.assign({
|
|
16
|
-
"data-slot": "navigation-menu",
|
|
17
|
-
"data-viewport": viewport,
|
|
18
|
-
className: cn("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", className)
|
|
19
|
-
}, props, {
|
|
20
|
-
children: [children, viewport && jsx(NavigationMenuViewport, {})]
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
function NavigationMenuList(_a) {
|
|
24
|
-
var {
|
|
25
|
-
className
|
|
26
|
-
} = _a,
|
|
27
|
-
props = __rest(_a, ["className"]);
|
|
28
|
-
return jsx(NavigationMenu$1.List, Object.assign({
|
|
29
|
-
"data-slot": "navigation-menu-list",
|
|
30
|
-
className: cn("group flex flex-1 list-none items-center justify-center gap-1", className)
|
|
31
|
-
}, props));
|
|
32
|
-
}
|
|
33
|
-
function NavigationMenuItem(_a) {
|
|
34
|
-
var {
|
|
35
|
-
className
|
|
36
|
-
} = _a,
|
|
37
|
-
props = __rest(_a, ["className"]);
|
|
38
|
-
return jsx(NavigationMenu$1.Item, Object.assign({
|
|
39
|
-
"data-slot": "navigation-menu-item",
|
|
40
|
-
className: cn("relative", className)
|
|
41
|
-
}, props));
|
|
42
|
-
}
|
|
43
|
-
const navigationMenuTriggerStyle = cva("group bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 inline-flex h-9 w-max items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50");
|
|
44
|
-
function NavigationMenuTrigger(_a) {
|
|
45
|
-
var {
|
|
46
|
-
className,
|
|
47
|
-
children
|
|
48
|
-
} = _a,
|
|
49
|
-
props = __rest(_a, ["className", "children"]);
|
|
50
|
-
return jsxs(NavigationMenu$1.Trigger, Object.assign({
|
|
51
|
-
"data-slot": "navigation-menu-trigger",
|
|
52
|
-
className: cn(navigationMenuTriggerStyle(), "group", className)
|
|
53
|
-
}, props, {
|
|
54
|
-
children: [children, " ", jsx(ChevronDownIcon, {
|
|
55
|
-
className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
56
|
-
"aria-hidden": "true"
|
|
57
|
-
})]
|
|
58
|
-
}));
|
|
59
|
-
}
|
|
60
|
-
function NavigationMenuContent(_a) {
|
|
61
|
-
var {
|
|
62
|
-
className
|
|
63
|
-
} = _a,
|
|
64
|
-
props = __rest(_a, ["className"]);
|
|
65
|
-
return jsx(NavigationMenu$1.Content, Object.assign({
|
|
66
|
-
"data-slot": "navigation-menu-content",
|
|
67
|
-
className: cn("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto", "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none", className)
|
|
68
|
-
}, props));
|
|
69
|
-
}
|
|
70
|
-
function NavigationMenuViewport(_a) {
|
|
71
|
-
var {
|
|
72
|
-
className
|
|
73
|
-
} = _a,
|
|
74
|
-
props = __rest(_a, ["className"]);
|
|
75
|
-
return jsx("div", {
|
|
76
|
-
className: cn("absolute top-full left-0 isolate z-50 flex justify-center"),
|
|
77
|
-
children: jsx(NavigationMenu$1.Viewport, Object.assign({
|
|
78
|
-
"data-slot": "navigation-menu-viewport",
|
|
79
|
-
className: cn("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]", className)
|
|
80
|
-
}, props))
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
function NavigationMenuLink(_a) {
|
|
84
|
-
var {
|
|
85
|
-
className
|
|
86
|
-
} = _a,
|
|
87
|
-
props = __rest(_a, ["className"]);
|
|
88
|
-
return jsx(NavigationMenu$1.Link, Object.assign({
|
|
89
|
-
"data-slot": "navigation-menu-link",
|
|
90
|
-
className: cn("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className)
|
|
91
|
-
}, props));
|
|
92
|
-
}
|
|
93
|
-
function NavigationMenuIndicator(_a) {
|
|
94
|
-
var {
|
|
95
|
-
className
|
|
96
|
-
} = _a,
|
|
97
|
-
props = __rest(_a, ["className"]);
|
|
98
|
-
return jsx(NavigationMenu$1.Indicator, Object.assign({
|
|
99
|
-
"data-slot": "navigation-menu-indicator",
|
|
100
|
-
className: cn("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden", className)
|
|
101
|
-
}, props, {
|
|
102
|
-
children: jsx("div", {
|
|
103
|
-
className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md"
|
|
104
|
-
})
|
|
105
|
-
}));
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Button } from './button.js';
|
|
4
|
-
import 'class-variance-authority/dist/types';
|
|
5
|
-
import 'class-variance-authority';
|
|
6
|
-
|
|
7
|
-
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
8
|
-
declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
9
|
-
declare function PaginationItem({ ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
10
|
-
type PaginationLinkProps = {
|
|
11
|
-
isActive?: boolean;
|
|
12
|
-
} & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
|
|
13
|
-
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
15
|
-
declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
16
|
-
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
17
|
-
|
|
18
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import { MoreHorizontalIcon, ChevronRightIcon, ChevronLeftIcon } from 'lucide-react';
|
|
4
|
-
import { buttonVariants } from './button.js';
|
|
5
|
-
import { cn } from '../../lib/utils.js';
|
|
6
|
-
|
|
7
|
-
function Pagination(_a) {
|
|
8
|
-
var {
|
|
9
|
-
className
|
|
10
|
-
} = _a,
|
|
11
|
-
props = __rest(_a, ["className"]);
|
|
12
|
-
return jsx("nav", Object.assign({
|
|
13
|
-
role: "navigation",
|
|
14
|
-
"aria-label": "pagination",
|
|
15
|
-
"data-slot": "pagination",
|
|
16
|
-
className: cn("mx-auto flex w-full justify-center", className)
|
|
17
|
-
}, props));
|
|
18
|
-
}
|
|
19
|
-
function PaginationContent(_a) {
|
|
20
|
-
var {
|
|
21
|
-
className
|
|
22
|
-
} = _a,
|
|
23
|
-
props = __rest(_a, ["className"]);
|
|
24
|
-
return jsx("ul", Object.assign({
|
|
25
|
-
"data-slot": "pagination-content",
|
|
26
|
-
className: cn("flex flex-row items-center gap-1", className)
|
|
27
|
-
}, props));
|
|
28
|
-
}
|
|
29
|
-
function PaginationItem(_a) {
|
|
30
|
-
var props = __rest(_a, []);
|
|
31
|
-
return jsx("li", Object.assign({
|
|
32
|
-
"data-slot": "pagination-item"
|
|
33
|
-
}, props));
|
|
34
|
-
}
|
|
35
|
-
function PaginationLink(_a) {
|
|
36
|
-
var {
|
|
37
|
-
className,
|
|
38
|
-
isActive,
|
|
39
|
-
size = "icon"
|
|
40
|
-
} = _a,
|
|
41
|
-
props = __rest(_a, ["className", "isActive", "size"]);
|
|
42
|
-
return jsx("a", Object.assign({
|
|
43
|
-
"aria-current": isActive ? "page" : undefined,
|
|
44
|
-
"data-slot": "pagination-link",
|
|
45
|
-
"data-active": isActive,
|
|
46
|
-
className: cn(buttonVariants({
|
|
47
|
-
variant: isActive ? "outline" : "ghost",
|
|
48
|
-
size
|
|
49
|
-
}), className)
|
|
50
|
-
}, props));
|
|
51
|
-
}
|
|
52
|
-
function PaginationPrevious(_a) {
|
|
53
|
-
var {
|
|
54
|
-
className
|
|
55
|
-
} = _a,
|
|
56
|
-
props = __rest(_a, ["className"]);
|
|
57
|
-
return jsxs(PaginationLink, Object.assign({
|
|
58
|
-
"aria-label": "Go to previous page",
|
|
59
|
-
size: "default",
|
|
60
|
-
className: cn("gap-1 px-2.5 sm:pl-2.5", className)
|
|
61
|
-
}, props, {
|
|
62
|
-
children: [jsx(ChevronLeftIcon, {}), jsx("span", {
|
|
63
|
-
className: "hidden sm:block",
|
|
64
|
-
children: "Previous"
|
|
65
|
-
})]
|
|
66
|
-
}));
|
|
67
|
-
}
|
|
68
|
-
function PaginationNext(_a) {
|
|
69
|
-
var {
|
|
70
|
-
className
|
|
71
|
-
} = _a,
|
|
72
|
-
props = __rest(_a, ["className"]);
|
|
73
|
-
return jsxs(PaginationLink, Object.assign({
|
|
74
|
-
"aria-label": "Go to next page",
|
|
75
|
-
size: "default",
|
|
76
|
-
className: cn("gap-1 px-2.5 sm:pr-2.5", className)
|
|
77
|
-
}, props, {
|
|
78
|
-
children: [jsx("span", {
|
|
79
|
-
className: "hidden sm:block",
|
|
80
|
-
children: "Next"
|
|
81
|
-
}), jsx(ChevronRightIcon, {})]
|
|
82
|
-
}));
|
|
83
|
-
}
|
|
84
|
-
function PaginationEllipsis(_a) {
|
|
85
|
-
var {
|
|
86
|
-
className
|
|
87
|
-
} = _a,
|
|
88
|
-
props = __rest(_a, ["className"]);
|
|
89
|
-
return jsxs("span", Object.assign({
|
|
90
|
-
"aria-hidden": true,
|
|
91
|
-
"data-slot": "pagination-ellipsis",
|
|
92
|
-
className: cn("flex size-9 items-center justify-center", className)
|
|
93
|
-
}, props, {
|
|
94
|
-
children: [jsx(MoreHorizontalIcon, {
|
|
95
|
-
className: "size-4"
|
|
96
|
-
}), jsx("span", {
|
|
97
|
-
className: "sr-only",
|
|
98
|
-
children: "More pages"
|
|
99
|
-
})]
|
|
100
|
-
}));
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Popover as Popover$1 } from 'radix-ui';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
declare function Popover({ ...props }: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime.JSX.Element;
|
|
8
|
-
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { Popover as Popover$1 } from 'radix-ui';
|
|
4
|
-
import { cn } from '../../lib/utils.js';
|
|
5
|
-
|
|
6
|
-
function Popover(_a) {
|
|
7
|
-
var props = __rest(_a, []);
|
|
8
|
-
return jsx(Popover$1.Root, Object.assign({
|
|
9
|
-
"data-slot": "popover"
|
|
10
|
-
}, props));
|
|
11
|
-
}
|
|
12
|
-
function PopoverTrigger(_a) {
|
|
13
|
-
var props = __rest(_a, []);
|
|
14
|
-
return jsx(Popover$1.Trigger, Object.assign({
|
|
15
|
-
"data-slot": "popover-trigger"
|
|
16
|
-
}, props));
|
|
17
|
-
}
|
|
18
|
-
function PopoverContent(_a) {
|
|
19
|
-
var {
|
|
20
|
-
className,
|
|
21
|
-
align = "center",
|
|
22
|
-
sideOffset = 4
|
|
23
|
-
} = _a,
|
|
24
|
-
props = __rest(_a, ["className", "align", "sideOffset"]);
|
|
25
|
-
return jsx(Popover$1.Portal, {
|
|
26
|
-
children: jsx(Popover$1.Content, Object.assign({
|
|
27
|
-
"data-slot": "popover-content",
|
|
28
|
-
align: align,
|
|
29
|
-
sideOffset: sideOffset,
|
|
30
|
-
className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className)
|
|
31
|
-
}, props))
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function PopoverAnchor(_a) {
|
|
35
|
-
var props = __rest(_a, []);
|
|
36
|
-
return jsx(Popover$1.Anchor, Object.assign({
|
|
37
|
-
"data-slot": "popover-anchor"
|
|
38
|
-
}, props));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Progress as Progress$1 } from 'radix-ui';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
|
|
7
|
-
export { Progress };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { Progress as Progress$1 } from 'radix-ui';
|
|
4
|
-
import { cn } from '../../lib/utils.js';
|
|
5
|
-
|
|
6
|
-
function Progress(_a) {
|
|
7
|
-
var {
|
|
8
|
-
className,
|
|
9
|
-
value
|
|
10
|
-
} = _a,
|
|
11
|
-
props = __rest(_a, ["className", "value"]);
|
|
12
|
-
return jsx(Progress$1.Root, Object.assign({
|
|
13
|
-
"data-slot": "progress",
|
|
14
|
-
className: cn("relative h-2 w-full overflow-hidden rounded-full", className)
|
|
15
|
-
}, props, {
|
|
16
|
-
children: jsx(Progress$1.Indicator, {
|
|
17
|
-
"data-slot": "progress-indicator",
|
|
18
|
-
className: "bg-primary h-full w-full flex-1 transition-all",
|
|
19
|
-
style: {
|
|
20
|
-
transform: `translateX(-${100 - (value || 0)}%)`
|
|
21
|
-
}
|
|
22
|
-
})
|
|
23
|
-
}));
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { Progress };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { RadioGroup as RadioGroup$1 } from 'radix-ui';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { CircleIcon } from 'lucide-react';
|
|
4
|
-
import { RadioGroup as RadioGroup$1 } from 'radix-ui';
|
|
5
|
-
import { cn } from '../../lib/utils.js';
|
|
6
|
-
|
|
7
|
-
function RadioGroup(_a) {
|
|
8
|
-
var {
|
|
9
|
-
className
|
|
10
|
-
} = _a,
|
|
11
|
-
props = __rest(_a, ["className"]);
|
|
12
|
-
return jsx(RadioGroup$1.Root, Object.assign({
|
|
13
|
-
"data-slot": "radio-group",
|
|
14
|
-
className: cn("grid gap-3", className)
|
|
15
|
-
}, props));
|
|
16
|
-
}
|
|
17
|
-
function RadioGroupItem(_a) {
|
|
18
|
-
var {
|
|
19
|
-
className
|
|
20
|
-
} = _a,
|
|
21
|
-
props = __rest(_a, ["className"]);
|
|
22
|
-
return jsx(RadioGroup$1.Item, Object.assign({
|
|
23
|
-
"data-slot": "radio-group-item",
|
|
24
|
-
className: cn("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className)
|
|
25
|
-
}, props, {
|
|
26
|
-
children: jsx(RadioGroup$1.Indicator, {
|
|
27
|
-
"data-slot": "radio-group-indicator",
|
|
28
|
-
className: "relative flex items-center justify-center",
|
|
29
|
-
children: jsx(CircleIcon, {
|
|
30
|
-
className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"
|
|
31
|
-
})
|
|
32
|
-
})
|
|
33
|
-
}));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
4
|
-
|
|
5
|
-
declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
8
|
-
withHandle?: boolean;
|
|
9
|
-
}): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { GripVerticalIcon } from 'lucide-react';
|
|
4
|
-
import { PanelResizeHandle, Panel, PanelGroup } from '../../node_modules/react-resizable-panels/dist/react-resizable-panels.js';
|
|
5
|
-
import { cn } from '../../lib/utils.js';
|
|
6
|
-
|
|
7
|
-
function ResizablePanelGroup(_a) {
|
|
8
|
-
var {
|
|
9
|
-
className
|
|
10
|
-
} = _a,
|
|
11
|
-
props = __rest(_a, ["className"]);
|
|
12
|
-
return jsx(PanelGroup, Object.assign({
|
|
13
|
-
"data-slot": "resizable-panel-group",
|
|
14
|
-
className: cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className)
|
|
15
|
-
}, props));
|
|
16
|
-
}
|
|
17
|
-
function ResizablePanel(_a) {
|
|
18
|
-
var props = __rest(_a, []);
|
|
19
|
-
return jsx(Panel, Object.assign({
|
|
20
|
-
"data-slot": "resizable-panel"
|
|
21
|
-
}, props));
|
|
22
|
-
}
|
|
23
|
-
function ResizableHandle(_a) {
|
|
24
|
-
var {
|
|
25
|
-
withHandle,
|
|
26
|
-
className
|
|
27
|
-
} = _a,
|
|
28
|
-
props = __rest(_a, ["withHandle", "className"]);
|
|
29
|
-
return jsx(PanelResizeHandle, Object.assign({
|
|
30
|
-
"data-slot": "resizable-handle",
|
|
31
|
-
className: cn("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90", className)
|
|
32
|
-
}, props, {
|
|
33
|
-
children: withHandle && jsx("div", {
|
|
34
|
-
className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",
|
|
35
|
-
children: jsx(GripVerticalIcon, {
|
|
36
|
-
className: "size-2.5"
|
|
37
|
-
})
|
|
38
|
-
})
|
|
39
|
-
}));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ScrollArea as ScrollArea$1 } from 'radix-ui';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { ScrollArea, ScrollBar };
|