@zimyo/ui 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +78 -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,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 };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { ScrollArea as ScrollArea$1 } from 'radix-ui';
|
|
4
|
-
import { cn } from '../../lib/utils.js';
|
|
5
|
-
|
|
6
|
-
function ScrollArea(_a) {
|
|
7
|
-
var {
|
|
8
|
-
className,
|
|
9
|
-
children
|
|
10
|
-
} = _a,
|
|
11
|
-
props = __rest(_a, ["className", "children"]);
|
|
12
|
-
return jsxs(ScrollArea$1.Root, Object.assign({
|
|
13
|
-
"data-slot": "scroll-area",
|
|
14
|
-
className: cn("relative", className)
|
|
15
|
-
}, props, {
|
|
16
|
-
children: [jsx(ScrollArea$1.Viewport, {
|
|
17
|
-
"data-slot": "scroll-area-viewport",
|
|
18
|
-
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
19
|
-
children: children
|
|
20
|
-
}), jsx(ScrollBar, {}), jsx(ScrollArea$1.Corner, {})]
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
function ScrollBar(_a) {
|
|
24
|
-
var {
|
|
25
|
-
className,
|
|
26
|
-
orientation = "vertical"
|
|
27
|
-
} = _a,
|
|
28
|
-
props = __rest(_a, ["className", "orientation"]);
|
|
29
|
-
return jsx(ScrollArea$1.ScrollAreaScrollbar, Object.assign({
|
|
30
|
-
"data-slot": "scroll-area-scrollbar",
|
|
31
|
-
orientation: orientation,
|
|
32
|
-
className: cn("flex touch-none p-px transition-colors select-none", orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent", orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent", className)
|
|
33
|
-
}, props, {
|
|
34
|
-
children: jsx(ScrollArea$1.ScrollAreaThumb, {
|
|
35
|
-
"data-slot": "scroll-area-thumb",
|
|
36
|
-
className: "bg-border relative flex-1 rounded-full"
|
|
37
|
-
})
|
|
38
|
-
}));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { ScrollArea, ScrollBar };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Select as Select$1 } from 'radix-ui';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
declare function Select({ ...props }: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function SelectGroup({ ...props }: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
declare function SelectValue({ ...props }: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
|
|
8
|
-
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof Select$1.Trigger> & {
|
|
9
|
-
size?: "sm" | "default";
|
|
10
|
-
}): react_jsx_runtime.JSX.Element;
|
|
11
|
-
declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
12
|
-
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
13
|
-
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime.JSX.Element;
|
|
14
|
-
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
15
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
16
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
17
|
-
|
|
18
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from 'lucide-react';
|
|
4
|
-
import { Select as Select$1 } from 'radix-ui';
|
|
5
|
-
import { cn } from '../../lib/utils.js';
|
|
6
|
-
|
|
7
|
-
function Select(_a) {
|
|
8
|
-
var props = __rest(_a, []);
|
|
9
|
-
return jsx(Select$1.Root, Object.assign({
|
|
10
|
-
"data-slot": "select"
|
|
11
|
-
}, props));
|
|
12
|
-
}
|
|
13
|
-
function SelectGroup(_a) {
|
|
14
|
-
var props = __rest(_a, []);
|
|
15
|
-
return jsx(Select$1.Group, Object.assign({
|
|
16
|
-
"data-slot": "select-group"
|
|
17
|
-
}, props));
|
|
18
|
-
}
|
|
19
|
-
function SelectValue(_a) {
|
|
20
|
-
var props = __rest(_a, []);
|
|
21
|
-
return jsx(Select$1.Value, Object.assign({
|
|
22
|
-
"data-slot": "select-value"
|
|
23
|
-
}, props));
|
|
24
|
-
}
|
|
25
|
-
function SelectTrigger(_a) {
|
|
26
|
-
var {
|
|
27
|
-
className,
|
|
28
|
-
size = "default",
|
|
29
|
-
children
|
|
30
|
-
} = _a,
|
|
31
|
-
props = __rest(_a, ["className", "size", "children"]);
|
|
32
|
-
return jsxs(Select$1.Trigger, Object.assign({
|
|
33
|
-
"data-slot": "select-trigger",
|
|
34
|
-
"data-size": size,
|
|
35
|
-
className: cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground 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 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className)
|
|
36
|
-
}, props, {
|
|
37
|
-
children: [children, jsx(Select$1.Icon, {
|
|
38
|
-
asChild: true,
|
|
39
|
-
children: jsx(ChevronDownIcon, {
|
|
40
|
-
className: "size-4 opacity-50"
|
|
41
|
-
})
|
|
42
|
-
})]
|
|
43
|
-
}));
|
|
44
|
-
}
|
|
45
|
-
function SelectContent(_a) {
|
|
46
|
-
var {
|
|
47
|
-
className,
|
|
48
|
-
children,
|
|
49
|
-
position = "popper"
|
|
50
|
-
} = _a,
|
|
51
|
-
props = __rest(_a, ["className", "children", "position"]);
|
|
52
|
-
return jsx(Select$1.Portal, {
|
|
53
|
-
children: jsxs(Select$1.Content, Object.assign({
|
|
54
|
-
"data-slot": "select-content",
|
|
55
|
-
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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
56
|
-
position: position
|
|
57
|
-
}, props, {
|
|
58
|
-
children: [jsx(SelectScrollUpButton, {}), jsx(Select$1.Viewport, {
|
|
59
|
-
className: cn("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
|
|
60
|
-
children: children
|
|
61
|
-
}), jsx(SelectScrollDownButton, {})]
|
|
62
|
-
}))
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function SelectLabel(_a) {
|
|
66
|
-
var {
|
|
67
|
-
className
|
|
68
|
-
} = _a,
|
|
69
|
-
props = __rest(_a, ["className"]);
|
|
70
|
-
return jsx(Select$1.Label, Object.assign({
|
|
71
|
-
"data-slot": "select-label",
|
|
72
|
-
className: cn("text-muted-foreground px-2 py-1.5 text-xs", className)
|
|
73
|
-
}, props));
|
|
74
|
-
}
|
|
75
|
-
function SelectItem(_a) {
|
|
76
|
-
var {
|
|
77
|
-
className,
|
|
78
|
-
children
|
|
79
|
-
} = _a,
|
|
80
|
-
props = __rest(_a, ["className", "children"]);
|
|
81
|
-
return jsxs(Select$1.Item, Object.assign({
|
|
82
|
-
"data-slot": "select-item",
|
|
83
|
-
className: cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 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 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className)
|
|
84
|
-
}, props, {
|
|
85
|
-
children: [jsx("span", {
|
|
86
|
-
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
87
|
-
children: jsx(Select$1.ItemIndicator, {
|
|
88
|
-
children: jsx(CheckIcon, {
|
|
89
|
-
className: "size-4"
|
|
90
|
-
})
|
|
91
|
-
})
|
|
92
|
-
}), jsx(Select$1.ItemText, {
|
|
93
|
-
children: children
|
|
94
|
-
})]
|
|
95
|
-
}));
|
|
96
|
-
}
|
|
97
|
-
function SelectSeparator(_a) {
|
|
98
|
-
var {
|
|
99
|
-
className
|
|
100
|
-
} = _a,
|
|
101
|
-
props = __rest(_a, ["className"]);
|
|
102
|
-
return jsx(Select$1.Separator, Object.assign({
|
|
103
|
-
"data-slot": "select-separator",
|
|
104
|
-
className: cn("bg-border pointer-events-none -mx-1 my-1 h-px", className)
|
|
105
|
-
}, props));
|
|
106
|
-
}
|
|
107
|
-
function SelectScrollUpButton(_a) {
|
|
108
|
-
var {
|
|
109
|
-
className
|
|
110
|
-
} = _a,
|
|
111
|
-
props = __rest(_a, ["className"]);
|
|
112
|
-
return jsx(Select$1.ScrollUpButton, Object.assign({
|
|
113
|
-
"data-slot": "select-scroll-up-button",
|
|
114
|
-
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
115
|
-
}, props, {
|
|
116
|
-
children: jsx(ChevronUpIcon, {
|
|
117
|
-
className: "size-4"
|
|
118
|
-
})
|
|
119
|
-
}));
|
|
120
|
-
}
|
|
121
|
-
function SelectScrollDownButton(_a) {
|
|
122
|
-
var {
|
|
123
|
-
className
|
|
124
|
-
} = _a,
|
|
125
|
-
props = __rest(_a, ["className"]);
|
|
126
|
-
return jsx(Select$1.ScrollDownButton, Object.assign({
|
|
127
|
-
"data-slot": "select-scroll-down-button",
|
|
128
|
-
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
129
|
-
}, props, {
|
|
130
|
-
children: jsx(ChevronDownIcon, {
|
|
131
|
-
className: "size-4"
|
|
132
|
-
})
|
|
133
|
-
}));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Separator as Separator$1 } from 'radix-ui';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
|
|
7
|
-
export { Separator };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { Separator as Separator$1 } from 'radix-ui';
|
|
4
|
-
import { cn } from '../../lib/utils.js';
|
|
5
|
-
|
|
6
|
-
function Separator(_a) {
|
|
7
|
-
var {
|
|
8
|
-
className,
|
|
9
|
-
orientation = "horizontal",
|
|
10
|
-
decorative = true
|
|
11
|
-
} = _a,
|
|
12
|
-
props = __rest(_a, ["className", "orientation", "decorative"]);
|
|
13
|
-
return jsx(Separator$1.Root, Object.assign({
|
|
14
|
-
"data-slot": "separator",
|
|
15
|
-
decorative: decorative,
|
|
16
|
-
orientation: orientation,
|
|
17
|
-
className: cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className)
|
|
18
|
-
}, props));
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { Separator };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { Dialog } from 'radix-ui';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
declare function Sheet({ ...props }: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime.JSX.Element;
|
|
7
|
-
declare function SheetClose({ ...props }: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime.JSX.Element;
|
|
8
|
-
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof Dialog.Content> & {
|
|
9
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
10
|
-
}): react_jsx_runtime.JSX.Element;
|
|
11
|
-
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
12
|
-
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
13
|
-
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime.JSX.Element;
|
|
14
|
-
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime.JSX.Element;
|
|
15
|
-
|
|
16
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { __rest } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import { XIcon } from 'lucide-react';
|
|
4
|
-
import { Dialog } from 'radix-ui';
|
|
5
|
-
import { cn } from '../../lib/utils.js';
|
|
6
|
-
|
|
7
|
-
function Sheet(_a) {
|
|
8
|
-
var props = __rest(_a, []);
|
|
9
|
-
return jsx(Dialog.Root, Object.assign({
|
|
10
|
-
"data-slot": "sheet"
|
|
11
|
-
}, props));
|
|
12
|
-
}
|
|
13
|
-
function SheetTrigger(_a) {
|
|
14
|
-
var props = __rest(_a, []);
|
|
15
|
-
return jsx(Dialog.Trigger, Object.assign({
|
|
16
|
-
"data-slot": "sheet-trigger"
|
|
17
|
-
}, props));
|
|
18
|
-
}
|
|
19
|
-
function SheetClose(_a) {
|
|
20
|
-
var props = __rest(_a, []);
|
|
21
|
-
return jsx(Dialog.Close, Object.assign({
|
|
22
|
-
"data-slot": "sheet-close"
|
|
23
|
-
}, props));
|
|
24
|
-
}
|
|
25
|
-
function SheetPortal(_a) {
|
|
26
|
-
var props = __rest(_a, []);
|
|
27
|
-
return jsx(Dialog.Portal, Object.assign({
|
|
28
|
-
"data-slot": "sheet-portal"
|
|
29
|
-
}, props));
|
|
30
|
-
}
|
|
31
|
-
function SheetOverlay(_a) {
|
|
32
|
-
var {
|
|
33
|
-
className
|
|
34
|
-
} = _a,
|
|
35
|
-
props = __rest(_a, ["className"]);
|
|
36
|
-
return jsx(Dialog.Overlay, Object.assign({
|
|
37
|
-
"data-slot": "sheet-overlay",
|
|
38
|
-
className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className)
|
|
39
|
-
}, props));
|
|
40
|
-
}
|
|
41
|
-
function SheetContent(_a) {
|
|
42
|
-
var {
|
|
43
|
-
className,
|
|
44
|
-
children,
|
|
45
|
-
side = "right"
|
|
46
|
-
} = _a,
|
|
47
|
-
props = __rest(_a, ["className", "children", "side"]);
|
|
48
|
-
return jsxs(SheetPortal, {
|
|
49
|
-
children: [jsx(SheetOverlay, {}), jsxs(Dialog.Content, Object.assign({
|
|
50
|
-
"data-slot": "sheet-content",
|
|
51
|
-
className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", className)
|
|
52
|
-
}, props, {
|
|
53
|
-
children: [children, jsxs(Dialog.Close, {
|
|
54
|
-
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",
|
|
55
|
-
children: [jsx(XIcon, {
|
|
56
|
-
className: "size-4"
|
|
57
|
-
}), jsx("span", {
|
|
58
|
-
className: "sr-only",
|
|
59
|
-
children: "Close"
|
|
60
|
-
})]
|
|
61
|
-
})]
|
|
62
|
-
}))]
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function SheetHeader(_a) {
|
|
66
|
-
var {
|
|
67
|
-
className
|
|
68
|
-
} = _a,
|
|
69
|
-
props = __rest(_a, ["className"]);
|
|
70
|
-
return jsx("div", Object.assign({
|
|
71
|
-
"data-slot": "sheet-header",
|
|
72
|
-
className: cn("flex flex-col gap-1.5 p-4", className)
|
|
73
|
-
}, props));
|
|
74
|
-
}
|
|
75
|
-
function SheetFooter(_a) {
|
|
76
|
-
var {
|
|
77
|
-
className
|
|
78
|
-
} = _a,
|
|
79
|
-
props = __rest(_a, ["className"]);
|
|
80
|
-
return jsx("div", Object.assign({
|
|
81
|
-
"data-slot": "sheet-footer",
|
|
82
|
-
className: cn("mt-auto flex flex-col gap-2 p-4", className)
|
|
83
|
-
}, props));
|
|
84
|
-
}
|
|
85
|
-
function SheetTitle(_a) {
|
|
86
|
-
var {
|
|
87
|
-
className
|
|
88
|
-
} = _a,
|
|
89
|
-
props = __rest(_a, ["className"]);
|
|
90
|
-
return jsx(Dialog.Title, Object.assign({
|
|
91
|
-
"data-slot": "sheet-title",
|
|
92
|
-
className: cn("text-foreground font-semibold", className)
|
|
93
|
-
}, props));
|
|
94
|
-
}
|
|
95
|
-
function SheetDescription(_a) {
|
|
96
|
-
var {
|
|
97
|
-
className
|
|
98
|
-
} = _a,
|
|
99
|
-
props = __rest(_a, ["className"]);
|
|
100
|
-
return jsx(Dialog.Description, Object.assign({
|
|
101
|
-
"data-slot": "sheet-description",
|
|
102
|
-
className: cn("text-muted-foreground text-sm", className)
|
|
103
|
-
}, props));
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
@@ -1,74 +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 { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { Button } from './button.js';
|
|
6
|
-
import { Input } from './input.js';
|
|
7
|
-
import { Separator } from './separator.js';
|
|
8
|
-
import { TooltipContent } from './tooltip.js';
|
|
9
|
-
import 'radix-ui';
|
|
10
|
-
|
|
11
|
-
type SidebarContextProps = {
|
|
12
|
-
state: "expanded" | "collapsed";
|
|
13
|
-
open: boolean;
|
|
14
|
-
setOpen: (open: boolean) => void;
|
|
15
|
-
openMobile: boolean;
|
|
16
|
-
setOpenMobile: (open: boolean) => void;
|
|
17
|
-
isMobile: boolean;
|
|
18
|
-
toggleSidebar: () => void;
|
|
19
|
-
};
|
|
20
|
-
declare function useSidebar(): SidebarContextProps;
|
|
21
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
22
|
-
defaultOpen?: boolean;
|
|
23
|
-
open?: boolean;
|
|
24
|
-
onOpenChange?: (open: boolean) => void;
|
|
25
|
-
}): react_jsx_runtime.JSX.Element;
|
|
26
|
-
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
27
|
-
side?: "left" | "right";
|
|
28
|
-
variant?: "sidebar" | "floating" | "inset";
|
|
29
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
30
|
-
}): react_jsx_runtime.JSX.Element;
|
|
31
|
-
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
32
|
-
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
33
|
-
declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
34
|
-
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
35
|
-
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
36
|
-
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
37
|
-
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
38
|
-
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
39
|
-
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
40
|
-
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
41
|
-
asChild?: boolean;
|
|
42
|
-
}): react_jsx_runtime.JSX.Element;
|
|
43
|
-
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
|
|
44
|
-
asChild?: boolean;
|
|
45
|
-
}): react_jsx_runtime.JSX.Element;
|
|
46
|
-
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
47
|
-
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
48
|
-
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
49
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
50
|
-
variant?: "default" | "outline" | null | undefined;
|
|
51
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
52
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
53
|
-
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
|
|
54
|
-
asChild?: boolean;
|
|
55
|
-
isActive?: boolean;
|
|
56
|
-
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
57
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
58
|
-
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
|
|
59
|
-
asChild?: boolean;
|
|
60
|
-
showOnHover?: boolean;
|
|
61
|
-
}): react_jsx_runtime.JSX.Element;
|
|
62
|
-
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
63
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
64
|
-
showIcon?: boolean;
|
|
65
|
-
}): react_jsx_runtime.JSX.Element;
|
|
66
|
-
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
67
|
-
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
68
|
-
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
|
|
69
|
-
asChild?: boolean;
|
|
70
|
-
size?: "sm" | "md";
|
|
71
|
-
isActive?: boolean;
|
|
72
|
-
}): react_jsx_runtime.JSX.Element;
|
|
73
|
-
|
|
74
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|