@kumix/ui 0.1.3 → 0.2.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/README.md +115 -95
- package/dist/components/reui/alert.d.ts +12 -0
- package/dist/components/reui/alert.d.ts.map +1 -0
- package/dist/components/reui/alert.js +58 -0
- package/dist/components/reui/alert.js.map +1 -0
- package/dist/components/reui/autocomplete.d.ts +43 -0
- package/dist/components/reui/autocomplete.d.ts.map +1 -0
- package/dist/components/reui/autocomplete.js +165 -0
- package/dist/components/reui/autocomplete.js.map +1 -0
- package/dist/components/reui/badge.d.ts +17 -0
- package/dist/components/reui/badge.d.ts.map +1 -0
- package/dist/components/reui/badge.js +75 -0
- package/dist/components/reui/badge.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-column-filter.d.ts +17 -0
- package/dist/components/reui/data-grid/data-grid-column-filter.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-column-filter.js +127 -0
- package/dist/components/reui/data-grid/data-grid-column-filter.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-column-header.d.ts +18 -0
- package/dist/components/reui/data-grid/data-grid-column-header.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-column-header.js +228 -0
- package/dist/components/reui/data-grid/data-grid-column-header.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-column-visibility.d.ts +10 -0
- package/dist/components/reui/data-grid/data-grid-column-visibility.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-column-visibility.js +28 -0
- package/dist/components/reui/data-grid/data-grid-column-visibility.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-pagination.d.ts +22 -0
- package/dist/components/reui/data-grid/data-grid-pagination.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-pagination.js +144 -0
- package/dist/components/reui/data-grid/data-grid-pagination.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-scroll-area.d.ts +12 -0
- package/dist/components/reui/data-grid/data-grid-scroll-area.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-scroll-area.js +289 -0
- package/dist/components/reui/data-grid/data-grid-scroll-area.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.d.ts +14 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js +166 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd.d.ts +10 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd.js +171 -0
- package/dist/components/reui/data-grid/data-grid-table-dnd.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table-virtual.d.ts +29 -0
- package/dist/components/reui/data-grid/data-grid-table-virtual.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table-virtual.js +269 -0
- package/dist/components/reui/data-grid/data-grid-table-virtual.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table.d.ts +116 -0
- package/dist/components/reui/data-grid/data-grid-table.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid-table.js +864 -0
- package/dist/components/reui/data-grid/data-grid-table.js.map +1 -0
- package/dist/components/reui/data-grid/data-grid.d.ts +112 -0
- package/dist/components/reui/data-grid/data-grid.d.ts.map +1 -0
- package/dist/components/reui/data-grid/data-grid.js +134 -0
- package/dist/components/reui/data-grid/data-grid.js.map +1 -0
- package/dist/components/reui/date-selector.d.ts +131 -0
- package/dist/components/reui/date-selector.d.ts.map +1 -0
- package/dist/components/reui/date-selector.js +783 -0
- package/dist/components/reui/date-selector.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.d.ts +7 -0
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.js +108 -0
- package/dist/components/reui/event-calendar/event-calendar-agenda-view.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-content.d.ts +15 -0
- package/dist/components/reui/event-calendar/event-calendar-content.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-content.js +44 -0
- package/dist/components/reui/event-calendar/event-calendar-content.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-dnd.d.ts +30 -0
- package/dist/components/reui/event-calendar/event-calendar-dnd.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-dnd.js +581 -0
- package/dist/components/reui/event-calendar/event-calendar-dnd.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-event.d.ts +73 -0
- package/dist/components/reui/event-calendar/event-calendar-event.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-event.js +299 -0
- package/dist/components/reui/event-calendar/event-calendar-event.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-i18n.d.ts +103 -0
- package/dist/components/reui/event-calendar/event-calendar-i18n.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-i18n.js +141 -0
- package/dist/components/reui/event-calendar/event-calendar-i18n.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-lib.d.ts +111 -0
- package/dist/components/reui/event-calendar/event-calendar-lib.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-lib.js +398 -0
- package/dist/components/reui/event-calendar/event-calendar-lib.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-month-view.d.ts +29 -0
- package/dist/components/reui/event-calendar/event-calendar-month-view.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-month-view.js +530 -0
- package/dist/components/reui/event-calendar/event-calendar-month-view.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-nav.d.ts +71 -0
- package/dist/components/reui/event-calendar/event-calendar-nav.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-nav.js +319 -0
- package/dist/components/reui/event-calendar/event-calendar-nav.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-recurrence.d.ts +32 -0
- package/dist/components/reui/event-calendar/event-calendar-recurrence.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-recurrence.js +300 -0
- package/dist/components/reui/event-calendar/event-calendar-recurrence.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-resource-view.d.ts +14 -0
- package/dist/components/reui/event-calendar/event-calendar-resource-view.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-resource-view.js +355 -0
- package/dist/components/reui/event-calendar/event-calendar-resource-view.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-time-grid.d.ts +35 -0
- package/dist/components/reui/event-calendar/event-calendar-time-grid.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-time-grid.js +651 -0
- package/dist/components/reui/event-calendar/event-calendar-time-grid.js.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-types.d.ts +236 -0
- package/dist/components/reui/event-calendar/event-calendar-types.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar-types.js +2 -0
- package/dist/components/reui/event-calendar/event-calendar.d.ts +561 -0
- package/dist/components/reui/event-calendar/event-calendar.d.ts.map +1 -0
- package/dist/components/reui/event-calendar/event-calendar.js +817 -0
- package/dist/components/reui/event-calendar/event-calendar.js.map +1 -0
- package/dist/components/reui/filters.d.ts +176 -0
- package/dist/components/reui/filters.d.ts.map +1 -0
- package/dist/components/reui/filters.js +1216 -0
- package/dist/components/reui/filters.js.map +1 -0
- package/dist/components/reui/frame.d.ts +32 -0
- package/dist/components/reui/frame.d.ts.map +1 -0
- package/dist/components/reui/frame.js +115 -0
- package/dist/components/reui/frame.js.map +1 -0
- package/dist/components/reui/gantt/gantt-bar.d.ts +44 -0
- package/dist/components/reui/gantt/gantt-bar.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-bar.js +229 -0
- package/dist/components/reui/gantt/gantt-bar.js.map +1 -0
- package/dist/components/reui/gantt/gantt-dnd.d.ts +36 -0
- package/dist/components/reui/gantt/gantt-dnd.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-dnd.js +615 -0
- package/dist/components/reui/gantt/gantt-dnd.js.map +1 -0
- package/dist/components/reui/gantt/gantt-i18n.d.ts +91 -0
- package/dist/components/reui/gantt/gantt-i18n.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-i18n.js +131 -0
- package/dist/components/reui/gantt/gantt-i18n.js.map +1 -0
- package/dist/components/reui/gantt/gantt-lib.d.ts +123 -0
- package/dist/components/reui/gantt/gantt-lib.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-lib.js +354 -0
- package/dist/components/reui/gantt/gantt-lib.js.map +1 -0
- package/dist/components/reui/gantt/gantt-nav.d.ts +60 -0
- package/dist/components/reui/gantt/gantt-nav.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-nav.js +266 -0
- package/dist/components/reui/gantt/gantt-nav.js.map +1 -0
- package/dist/components/reui/gantt/gantt-recurrence.d.ts +37 -0
- package/dist/components/reui/gantt/gantt-recurrence.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-recurrence.js +230 -0
- package/dist/components/reui/gantt/gantt-recurrence.js.map +1 -0
- package/dist/components/reui/gantt/gantt-types.d.ts +251 -0
- package/dist/components/reui/gantt/gantt-types.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-types.js +2 -0
- package/dist/components/reui/gantt/gantt-view.d.ts +10 -0
- package/dist/components/reui/gantt/gantt-view.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt-view.js +2193 -0
- package/dist/components/reui/gantt/gantt-view.js.map +1 -0
- package/dist/components/reui/gantt/gantt.d.ts +602 -0
- package/dist/components/reui/gantt/gantt.d.ts.map +1 -0
- package/dist/components/reui/gantt/gantt.js +796 -0
- package/dist/components/reui/gantt/gantt.js.map +1 -0
- package/dist/components/reui/icon-stack.d.ts +7 -0
- package/dist/components/reui/icon-stack.d.ts.map +1 -0
- package/dist/components/reui/icon-stack.js +76 -0
- package/dist/components/reui/icon-stack.js.map +1 -0
- package/dist/components/reui/kanban.d.ts +70 -0
- package/dist/components/reui/kanban.d.ts.map +1 -0
- package/dist/components/reui/kanban.js +519 -0
- package/dist/components/reui/kanban.js.map +1 -0
- package/dist/components/reui/number-field.d.ts +29 -0
- package/dist/components/reui/number-field.d.ts.map +1 -0
- package/dist/components/reui/number-field.js +127 -0
- package/dist/components/reui/number-field.js.map +1 -0
- package/dist/components/reui/phone-input.d.ts +13 -0
- package/dist/components/reui/phone-input.d.ts.map +1 -0
- package/dist/components/reui/phone-input.js +126 -0
- package/dist/components/reui/phone-input.js.map +1 -0
- package/dist/components/reui/rating.d.ts +34 -0
- package/dist/components/reui/rating.d.ts.map +1 -0
- package/dist/components/reui/rating.js +94 -0
- package/dist/components/reui/rating.js.map +1 -0
- package/dist/components/reui/scrollspy.d.ts +17 -0
- package/dist/components/reui/scrollspy.d.ts.map +1 -0
- package/dist/components/reui/scrollspy.js +130 -0
- package/dist/components/reui/scrollspy.js.map +1 -0
- package/dist/components/reui/sortable.d.ts +48 -0
- package/dist/components/reui/sortable.d.ts.map +1 -0
- package/dist/components/reui/sortable.js +230 -0
- package/dist/components/reui/sortable.js.map +1 -0
- package/dist/components/reui/stepper.d.ts +63 -0
- package/dist/components/reui/stepper.d.ts.map +1 -0
- package/dist/components/reui/stepper.js +234 -0
- package/dist/components/reui/stepper.js.map +1 -0
- package/dist/components/reui/timeline.d.ts +24 -0
- package/dist/components/reui/timeline.d.ts.map +1 -0
- package/dist/components/reui/timeline.js +123 -0
- package/dist/components/reui/timeline.js.map +1 -0
- package/dist/components/reui/tree.d.ts +23 -0
- package/dist/components/reui/tree.d.ts.map +1 -0
- package/dist/components/reui/tree.js +115 -0
- package/dist/components/reui/tree.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +9 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +56 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +21 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +96 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.d.ts +13 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +45 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +8 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +16 -0
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/attachment.d.ts +26 -0
- package/dist/components/ui/attachment.d.ts.map +1 -0
- package/dist/components/ui/attachment.js +106 -0
- package/dist/components/ui/attachment.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +14 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +52 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +32 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +13 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +72 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/bubble.d.ts +19 -0
- package/dist/components/ui/bubble.d.ts.map +1 -0
- package/dist/components/ui/bubble.js +75 -0
- package/dist/components/ui/bubble.js.map +1 -0
- package/dist/components/ui/button-group.d.ts +14 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button-group.js +44 -0
- package/dist/components/ui/button-group.js.map +1 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +47 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/calendar.d.ts +13 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +110 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +14 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +58 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/carousel.d.ts +31 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +135 -0
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/chart.d.ts +47 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +151 -0
- package/dist/components/ui/chart.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +6 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +22 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +8 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +26 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/combobox.d.ts +27 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +164 -0
- package/dist/components/ui/combobox.js.map +1 -0
- package/dist/components/ui/command.d.ts +22 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +89 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/context-menu.d.ts +32 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +134 -0
- package/dist/components/ui/context-menu.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +93 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/direction.d.ts +2 -0
- package/dist/components/ui/direction.js +3 -0
- package/dist/components/ui/drawer.d.ts +19 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +125 -0
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +32 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +138 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/empty.d.ts +15 -0
- package/dist/components/ui/empty.d.ts.map +1 -0
- package/dist/components/ui/empty.js +62 -0
- package/dist/components/ui/empty.js.map +1 -0
- package/dist/components/ui/field.d.ts +28 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/field.js +112 -0
- package/dist/components/ui/field.js.map +1 -0
- package/dist/components/ui/hover-card.d.ts +8 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +38 -0
- package/dist/components/ui/hover-card.js.map +1 -0
- package/dist/components/ui/input-group.d.ts +21 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +80 -0
- package/dist/components/ui/input-group.js.map +1 -0
- package/dist/components/ui/input-otp.d.ts +14 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/input-otp.js +49 -0
- package/dist/components/ui/input-otp.js.map +1 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +17 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/item.d.ts +25 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/item.js +123 -0
- package/dist/components/ui/item.js.map +1 -0
- package/dist/components/ui/kbd.d.ts +7 -0
- package/dist/components/ui/kbd.d.ts.map +1 -0
- package/dist/components/ui/kbd.js +22 -0
- package/dist/components/ui/kbd.js.map +1 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +15 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/marker.d.ts +13 -0
- package/dist/components/ui/marker.d.ts.map +1 -0
- package/dist/components/ui/marker.js +45 -0
- package/dist/components/ui/marker.js.map +1 -0
- package/dist/components/ui/menubar.d.ts +32 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +137 -0
- package/dist/components/ui/menubar.js.map +1 -0
- package/dist/components/ui/message-scroller.d.ts +13 -0
- package/dist/components/ui/message-scroller.d.ts.map +1 -0
- package/dist/components/ui/message-scroller.js +62 -0
- package/dist/components/ui/message-scroller.js.map +1 -0
- package/dist/components/ui/message.d.ts +13 -0
- package/dist/components/ui/message.d.ts.map +1 -0
- package/dist/components/ui/message.js +51 -0
- package/dist/components/ui/message.js.map +1 -0
- package/dist/components/ui/native-select.d.ts +11 -0
- package/dist/components/ui/native-select.d.ts.map +1 -0
- package/dist/components/ui/native-select.js +40 -0
- package/dist/components/ui/native-select.js.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +15 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +85 -0
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/pagination.d.ts +20 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.js +81 -0
- package/dist/components/ui/pagination.js.map +1 -0
- package/dist/components/ui/popover.d.ts +12 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +56 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.d.ts +10 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +46 -0
- package/dist/components/ui/progress.js.map +1 -0
- package/dist/components/ui/radio-group.d.ts +8 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +29 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/resizable.d.ts +10 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +30 -0
- package/dist/components/ui/resizable.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +7 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +38 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +18 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +99 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +6 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +17 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +17 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +90 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/sidebar.d.ts +66 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +383 -0
- package/dist/components/ui/sidebar.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +6 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +15 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/slider.d.ts +6 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +36 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/sonner.d.ts +7 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +32 -0
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/spinner.d.ts +6 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +18 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +8 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +21 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +13 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +68 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +13 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +47 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +6 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +15 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +14 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +54 -0
- package/dist/components/ui/toggle-group.js.map +1 -0
- package/dist/components/ui/toggle.d.ts +11 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +38 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +9 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +43 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/hooks/use-body-classes.d.ts +27 -0
- package/dist/hooks/use-body-classes.d.ts.map +1 -0
- package/dist/hooks/use-body-classes.js +52 -0
- package/dist/hooks/use-body-classes.js.map +1 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts +43 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -0
- package/dist/hooks/use-copy-to-clipboard.js +69 -0
- package/dist/hooks/use-copy-to-clipboard.js.map +1 -0
- package/dist/hooks/use-file-upload.d.ts +49 -0
- package/dist/hooks/use-file-upload.d.ts.map +1 -0
- package/dist/hooks/use-file-upload.js +227 -0
- package/dist/hooks/use-file-upload.js.map +1 -0
- package/dist/hooks/use-hydrated.d.ts +37 -0
- package/dist/hooks/use-hydrated.d.ts.map +1 -0
- package/dist/hooks/use-hydrated.js +50 -0
- package/dist/hooks/use-hydrated.js.map +1 -0
- package/dist/hooks/use-intersection-observer.d.ts +55 -0
- package/dist/hooks/use-intersection-observer.d.ts.map +1 -0
- package/dist/hooks/use-intersection-observer.js +144 -0
- package/dist/hooks/use-intersection-observer.js.map +1 -0
- package/dist/hooks/use-is-mac.d.ts +28 -0
- package/dist/hooks/use-is-mac.d.ts.map +1 -0
- package/dist/hooks/use-is-mac.js +38 -0
- package/dist/hooks/use-is-mac.js.map +1 -0
- package/dist/hooks/use-media-query.d.ts +44 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +58 -0
- package/dist/hooks/use-media-query.js.map +1 -0
- package/dist/hooks/use-meta-color.d.ts +78 -0
- package/dist/hooks/use-meta-color.d.ts.map +1 -0
- package/dist/hooks/use-meta-color.js +138 -0
- package/dist/hooks/use-meta-color.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +5 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +21 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/hooks/use-mutation-observer.d.ts +61 -0
- package/dist/hooks/use-mutation-observer.d.ts.map +1 -0
- package/dist/hooks/use-mutation-observer.js +96 -0
- package/dist/hooks/use-mutation-observer.js.map +1 -0
- package/dist/hooks/use-scroll-position.d.ts +76 -0
- package/dist/hooks/use-scroll-position.d.ts.map +1 -0
- package/dist/hooks/use-scroll-position.js +97 -0
- package/dist/hooks/use-scroll-position.js.map +1 -0
- package/dist/hooks/use-slider-input.d.ts +94 -0
- package/dist/hooks/use-slider-input.d.ts.map +1 -0
- package/dist/hooks/use-slider-input.js +116 -0
- package/dist/hooks/use-slider-input.js.map +1 -0
- package/dist/hooks/use-viewport.d.ts +72 -0
- package/dist/hooks/use-viewport.d.ts.map +1 -0
- package/dist/hooks/use-viewport.js +91 -0
- package/dist/hooks/use-viewport.js.map +1 -0
- package/dist/style.css +0 -247
- package/dist/theme.css +244 -0
- package/dist/theme.css.d.ts +3 -0
- package/package.json +42 -40
- package/dist/hooks.d.ts +0 -957
- package/dist/hooks.d.ts.map +0 -1
- package/dist/hooks.js +0 -1391
- package/dist/hooks.js.map +0 -1
- package/dist/index.d.ts +0 -1993
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -10647
- package/dist/index.js.map +0 -1
- package/dist/source.css +0 -1
- package/dist/source.css.d.ts +0 -3
- package/dist/use-is-mobile-Dln4-L1O.js +0 -210
- package/dist/use-is-mobile-Dln4-L1O.js.map +0 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
|
+
//#region src/hooks/use-viewport.ts
|
|
4
|
+
/**
|
|
5
|
+
* Viewport dimensions tracking hook for React components
|
|
6
|
+
* Provides real-time viewport width and height with automatic updates
|
|
7
|
+
* on window resize events with SSR-safe implementation
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Hook to track viewport dimensions with real-time updates
|
|
11
|
+
*
|
|
12
|
+
* This hook provides the current viewport dimensions and automatically
|
|
13
|
+
* updates when the window is resized. It's useful for responsive layouts,
|
|
14
|
+
* conditional rendering based on screen size, and dynamic calculations.
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Real-time viewport dimension tracking
|
|
18
|
+
* - Automatic updates on window resize
|
|
19
|
+
* - Performance optimized with passive event listeners
|
|
20
|
+
* - SSR-safe implementation
|
|
21
|
+
* - Returns both width and height
|
|
22
|
+
*
|
|
23
|
+
* @returns Tuple containing [width, height] in pixels
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* // Basic usage
|
|
28
|
+
* function ResponsiveComponent() {
|
|
29
|
+
* const [width, height] = useViewport();
|
|
30
|
+
*
|
|
31
|
+
* return (
|
|
32
|
+
* <div>
|
|
33
|
+
* <p>Viewport: {width}x{height}</p>
|
|
34
|
+
* {width > 768 ? <DesktopLayout /> : <MobileLayout />}
|
|
35
|
+
* </div>
|
|
36
|
+
* );
|
|
37
|
+
* }
|
|
38
|
+
*
|
|
39
|
+
* // Destructured usage
|
|
40
|
+
* function ViewportInfo() {
|
|
41
|
+
* const [width, height] = useViewport();
|
|
42
|
+
* const aspectRatio = (width / height).toFixed(2);
|
|
43
|
+
*
|
|
44
|
+
* return (
|
|
45
|
+
* <div className="viewport-info">
|
|
46
|
+
* <p>Width: {width}px</p>
|
|
47
|
+
* <p>Height: {height}px</p>
|
|
48
|
+
* <p>Aspect Ratio: {aspectRatio}</p>
|
|
49
|
+
* </div>
|
|
50
|
+
* );
|
|
51
|
+
* }
|
|
52
|
+
*
|
|
53
|
+
* // Conditional rendering based on viewport
|
|
54
|
+
* function AdaptiveGrid() {
|
|
55
|
+
* const [width] = useViewport();
|
|
56
|
+
* const columns = width > 1200 ? 4 : width > 768 ? 3 : width > 480 ? 2 : 1;
|
|
57
|
+
*
|
|
58
|
+
* return (
|
|
59
|
+
* <div className={`grid grid-cols-${columns} gap-4`}>
|
|
60
|
+
* {items.map(item => <GridItem key={item.id} {...item} />)}
|
|
61
|
+
* </div>
|
|
62
|
+
* );
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
const useViewport = () => {
|
|
67
|
+
/**
|
|
68
|
+
* State to track viewport dimensions
|
|
69
|
+
* Initialized with current window dimensions or fallback for SSR
|
|
70
|
+
*/
|
|
71
|
+
const [dimensions, setDimensions] = useState([0, 0]);
|
|
72
|
+
useEffect(() => {
|
|
73
|
+
/**
|
|
74
|
+
* Handle window resize events
|
|
75
|
+
* Updates dimensions state with current viewport size
|
|
76
|
+
*/
|
|
77
|
+
const handleResize = () => {
|
|
78
|
+
setDimensions([window.innerWidth, window.innerHeight]);
|
|
79
|
+
};
|
|
80
|
+
handleResize();
|
|
81
|
+
window.addEventListener("resize", handleResize, { passive: true });
|
|
82
|
+
return () => {
|
|
83
|
+
window.removeEventListener("resize", handleResize);
|
|
84
|
+
};
|
|
85
|
+
}, []);
|
|
86
|
+
return dimensions;
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { useViewport };
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=use-viewport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-viewport.js","names":[],"sources":["../../src/hooks/use-viewport.ts"],"sourcesContent":["/**\n * Viewport dimensions tracking hook for React components\n * Provides real-time viewport width and height with automatic updates\n * on window resize events with SSR-safe implementation\n */\n\n\"use client\";\n\nimport { useEffect, useState } from \"react\";\n\n/**\n * Type definition for viewport dimensions\n * Returns tuple of [width, height] in pixels\n */\ntype ViewportDimensions = [number, number];\n\n/**\n * Hook to track viewport dimensions with real-time updates\n *\n * This hook provides the current viewport dimensions and automatically\n * updates when the window is resized. It's useful for responsive layouts,\n * conditional rendering based on screen size, and dynamic calculations.\n *\n * Features:\n * - Real-time viewport dimension tracking\n * - Automatic updates on window resize\n * - Performance optimized with passive event listeners\n * - SSR-safe implementation\n * - Returns both width and height\n *\n * @returns Tuple containing [width, height] in pixels\n *\n * @example\n * ```tsx\n * // Basic usage\n * function ResponsiveComponent() {\n * const [width, height] = useViewport();\n *\n * return (\n * <div>\n * <p>Viewport: {width}x{height}</p>\n * {width > 768 ? <DesktopLayout /> : <MobileLayout />}\n * </div>\n * );\n * }\n *\n * // Destructured usage\n * function ViewportInfo() {\n * const [width, height] = useViewport();\n * const aspectRatio = (width / height).toFixed(2);\n *\n * return (\n * <div className=\"viewport-info\">\n * <p>Width: {width}px</p>\n * <p>Height: {height}px</p>\n * <p>Aspect Ratio: {aspectRatio}</p>\n * </div>\n * );\n * }\n *\n * // Conditional rendering based on viewport\n * function AdaptiveGrid() {\n * const [width] = useViewport();\n * const columns = width > 1200 ? 4 : width > 768 ? 3 : width > 480 ? 2 : 1;\n *\n * return (\n * <div className={`grid grid-cols-${columns} gap-4`}>\n * {items.map(item => <GridItem key={item.id} {...item} />)}\n * </div>\n * );\n * }\n * ```\n */\nexport const useViewport = (): ViewportDimensions => {\n /**\n * State to track viewport dimensions\n * Initialized with current window dimensions or fallback for SSR\n */\n const [dimensions, setDimensions] = useState<ViewportDimensions>([0, 0]);\n\n useEffect(() => {\n /**\n * Handle window resize events\n * Updates dimensions state with current viewport size\n */\n const handleResize = (): void => {\n setDimensions([window.innerWidth, window.innerHeight]);\n };\n\n // Set initial dimensions on mount (for SSR hydration)\n handleResize();\n\n // Add resize event listener with passive option for better performance\n window.addEventListener(\"resize\", handleResize, { passive: true });\n\n // Cleanup function to remove event listener\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n };\n }, []); // Empty dependency array - effect runs once on mount\n\n return dimensions;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEA,MAAa,oBAAwC;;;;;CAKnD,MAAM,CAAC,YAAY,iBAAiB,SAA6B,CAAC,GAAG,CAAC,CAAC;CAEvE,gBAAgB;;;;;EAKd,MAAM,qBAA2B;GAC/B,cAAc,CAAC,OAAO,YAAY,OAAO,WAAW,CAAC;EACvD;EAGA,aAAa;EAGb,OAAO,iBAAiB,UAAU,cAAc,EAAE,SAAS,KAAK,CAAC;EAGjE,aAAa;GACX,OAAO,oBAAoB,UAAU,YAAY;EACnD;CACF,GAAG,CAAC,CAAC;CAEL,OAAO;AACT"}
|
package/dist/style.css
CHANGED
|
@@ -1,248 +1 @@
|
|
|
1
|
-
@import "tw-animate-css";
|
|
2
|
-
|
|
3
1
|
@source ".";
|
|
4
|
-
|
|
5
|
-
@custom-variant dark (&:is(.dark *));
|
|
6
|
-
|
|
7
|
-
:root {
|
|
8
|
-
/** Base Colors **/
|
|
9
|
-
--background: oklch(1 0 0);
|
|
10
|
-
--foreground: oklch(0.145 0 0);
|
|
11
|
-
|
|
12
|
-
--card: oklch(1 0 0);
|
|
13
|
-
--card-foreground: oklch(0.145 0 0);
|
|
14
|
-
|
|
15
|
-
--popover: oklch(1 0 0);
|
|
16
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
17
|
-
|
|
18
|
-
--primary: oklch(0.205 0 0);
|
|
19
|
-
--primary-foreground: oklch(0.985 0 0);
|
|
20
|
-
|
|
21
|
-
--secondary: oklch(0.97 0 0);
|
|
22
|
-
--secondary-foreground: oklch(0.205 0 0);
|
|
23
|
-
|
|
24
|
-
--muted: oklch(0.97 0 0);
|
|
25
|
-
--muted-foreground: oklch(0.556 0 0);
|
|
26
|
-
|
|
27
|
-
--accent: oklch(0.97 0 0);
|
|
28
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
29
|
-
|
|
30
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
31
|
-
--destructive-foreground: oklch(0.97 0 0);
|
|
32
|
-
|
|
33
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
34
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
35
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
36
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
37
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
38
|
-
|
|
39
|
-
--sidebar: oklch(0.985 0 0);
|
|
40
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
|
41
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
42
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
43
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
44
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
45
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
46
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
47
|
-
|
|
48
|
-
/** Base Styles **/
|
|
49
|
-
--border: oklch(0.922 0 0);
|
|
50
|
-
--input: oklch(0.922 0 0);
|
|
51
|
-
--ring: oklch(0.708 0 0);
|
|
52
|
-
--radius: 0.5rem;
|
|
53
|
-
|
|
54
|
-
/* Extended colors */
|
|
55
|
-
--success: var(--color-emerald-500);
|
|
56
|
-
--success-foreground: var(--color-emerald-900);
|
|
57
|
-
--info: var(--color-violet-500);
|
|
58
|
-
--info-foreground: var(--color-violet-900);
|
|
59
|
-
--warning: var(--color-yellow-500);
|
|
60
|
-
--warning-foreground: var(--color-yellow-900);
|
|
61
|
-
--invert: var(--color-zinc-900);
|
|
62
|
-
--invert-foreground: var(--color-zinc-50);
|
|
63
|
-
|
|
64
|
-
/** Dashboard **/
|
|
65
|
-
--sidebar-width: 280px;
|
|
66
|
-
--header-height: 60px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.dark {
|
|
70
|
-
/** Base Colors **/
|
|
71
|
-
--background: oklch(0.145 0 0);
|
|
72
|
-
--foreground: oklch(0.985 0 0);
|
|
73
|
-
|
|
74
|
-
--card: oklch(0.205 0 0);
|
|
75
|
-
--card-foreground: oklch(0.985 0 0);
|
|
76
|
-
|
|
77
|
-
--popover: oklch(0.269 0 0);
|
|
78
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
79
|
-
|
|
80
|
-
--primary: oklch(0.922 0 0);
|
|
81
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
82
|
-
|
|
83
|
-
--secondary: oklch(0.269 0 0);
|
|
84
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
85
|
-
|
|
86
|
-
--muted: oklch(0.269 0 0);
|
|
87
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
88
|
-
|
|
89
|
-
--accent: oklch(0.371 0 0);
|
|
90
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
91
|
-
|
|
92
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
93
|
-
--destructive-foreground: oklch(0.985 0 0);
|
|
94
|
-
|
|
95
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
|
96
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
97
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
98
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
99
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
100
|
-
|
|
101
|
-
--sidebar: oklch(0.205 0 0);
|
|
102
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
|
103
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
104
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
105
|
-
--sidebar-accent: oklch(0.269 0 0);
|
|
106
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
107
|
-
--sidebar-border: oklch(1 0 0 / 10%);
|
|
108
|
-
--sidebar-ring: oklch(0.439 0 0);
|
|
109
|
-
|
|
110
|
-
/** Base Styles **/
|
|
111
|
-
--border: oklch(1 0 0 / 10%);
|
|
112
|
-
--input: oklch(1 0 0 / 15%);
|
|
113
|
-
--ring: oklch(0.556 0 0);
|
|
114
|
-
|
|
115
|
-
/* Extended colors */
|
|
116
|
-
--success: var(--color-emerald-500);
|
|
117
|
-
--success-foreground: var(--color-emerald-600);
|
|
118
|
-
--info: var(--color-violet-500);
|
|
119
|
-
--info-foreground: var(--color-violet-600);
|
|
120
|
-
--warning: var(--color-yellow-500);
|
|
121
|
-
--warning-foreground: var(--color-yellow-600);
|
|
122
|
-
--invert: var(--color-zinc-700);
|
|
123
|
-
--invert-foreground: var(--color-zinc-50);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/** Theme Setup **/
|
|
127
|
-
@theme inline {
|
|
128
|
-
/** Base Colors **/
|
|
129
|
-
--color-background: var(--background);
|
|
130
|
-
--color-foreground: var(--foreground);
|
|
131
|
-
|
|
132
|
-
--color-card: var(--card);
|
|
133
|
-
--color-card-foreground: var(--card-foreground);
|
|
134
|
-
|
|
135
|
-
--color-popover: var(--popover);
|
|
136
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
137
|
-
|
|
138
|
-
--color-primary: var(--primary);
|
|
139
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
140
|
-
|
|
141
|
-
--color-secondary: var(--secondary);
|
|
142
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
143
|
-
|
|
144
|
-
--color-muted: var(--muted);
|
|
145
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
146
|
-
|
|
147
|
-
--color-accent: var(--accent);
|
|
148
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
149
|
-
|
|
150
|
-
--color-destructive: var(--destructive);
|
|
151
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
152
|
-
|
|
153
|
-
--color-chart-1: var(--chart-1);
|
|
154
|
-
--color-chart-2: var(--chart-2);
|
|
155
|
-
--color-chart-3: var(--chart-3);
|
|
156
|
-
--color-chart-4: var(--chart-4);
|
|
157
|
-
--color-chart-5: var(--chart-5);
|
|
158
|
-
|
|
159
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
160
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
161
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
162
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
163
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
164
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
165
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
166
|
-
--color-sidebar: var(--sidebar);
|
|
167
|
-
|
|
168
|
-
/** Base Styles **/
|
|
169
|
-
--color-border: var(--border);
|
|
170
|
-
--color-input: var(--input);
|
|
171
|
-
--color-ring: var(--ring);
|
|
172
|
-
|
|
173
|
-
/* Extended colors */
|
|
174
|
-
--color-success: var(--success);
|
|
175
|
-
--color-success-foreground: var(--success-foreground);
|
|
176
|
-
--color-info: var(--info);
|
|
177
|
-
--color-info-foreground: var(--info-foreground);
|
|
178
|
-
--color-warning: var(--warning);
|
|
179
|
-
--color-warning-foreground: var(--warning-foreground);
|
|
180
|
-
--color-invert: var(--invert);
|
|
181
|
-
--color-invert-foreground: var(--invert-foreground);
|
|
182
|
-
|
|
183
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
184
|
-
--radius-lg: var(--radius);
|
|
185
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
186
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
187
|
-
|
|
188
|
-
--animate-marquee: marquee var(--duration) infinite linear;
|
|
189
|
-
--animate-marquee-vertical: marquee-vertical var(--duration) linear infinite;
|
|
190
|
-
|
|
191
|
-
@keyframes marquee {
|
|
192
|
-
from {
|
|
193
|
-
transform: translateX(0);
|
|
194
|
-
}
|
|
195
|
-
to {
|
|
196
|
-
transform: translateX(calc(-100% - var(--gap)));
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
@keyframes marquee-vertical {
|
|
201
|
-
from {
|
|
202
|
-
transform: translateY(0);
|
|
203
|
-
}
|
|
204
|
-
to {
|
|
205
|
-
transform: translateY(calc(-100% - var(--gap)));
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@keyframes move {
|
|
210
|
-
to {
|
|
211
|
-
transform: translateX(0);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/** Custom Scrollbar **/
|
|
217
|
-
@layer base {
|
|
218
|
-
::-webkit-scrollbar {
|
|
219
|
-
width: 5px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
::-webkit-scrollbar-track {
|
|
223
|
-
background: transparent;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
::-webkit-scrollbar-thumb {
|
|
227
|
-
background: var(--input);
|
|
228
|
-
border-radius: 5px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
* {
|
|
232
|
-
scrollbar-width: thin;
|
|
233
|
-
scrollbar-color: var(--input) transparent;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
::selection {
|
|
237
|
-
color: var(--primary-foreground);
|
|
238
|
-
background: var(--primary);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
* {
|
|
242
|
-
@apply border-border outline-ring/50;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
body {
|
|
246
|
-
@apply bg-background text-foreground;
|
|
247
|
-
}
|
|
248
|
-
}
|
package/dist/theme.css
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
@import "tw-animate-css";
|
|
2
|
+
|
|
3
|
+
@source ".";
|
|
4
|
+
|
|
5
|
+
@custom-variant dark (&:is(.dark *));
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
/** Base Colors **/
|
|
9
|
+
--background: oklch(1 0 0);
|
|
10
|
+
--foreground: oklch(0.145 0 0);
|
|
11
|
+
|
|
12
|
+
--card: oklch(1 0 0);
|
|
13
|
+
--card-foreground: oklch(0.145 0 0);
|
|
14
|
+
|
|
15
|
+
--popover: oklch(1 0 0);
|
|
16
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
17
|
+
|
|
18
|
+
--primary: oklch(0.205 0 0);
|
|
19
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
20
|
+
|
|
21
|
+
--secondary: oklch(0.97 0 0);
|
|
22
|
+
--secondary-foreground: oklch(0.205 0 0);
|
|
23
|
+
|
|
24
|
+
--muted: oklch(0.97 0 0);
|
|
25
|
+
--muted-foreground: oklch(0.556 0 0);
|
|
26
|
+
|
|
27
|
+
--accent: oklch(0.97 0 0);
|
|
28
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
29
|
+
|
|
30
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
31
|
+
--destructive-foreground: oklch(0.97 0 0);
|
|
32
|
+
|
|
33
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
34
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
35
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
36
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
37
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
38
|
+
|
|
39
|
+
--sidebar: oklch(0.985 0 0);
|
|
40
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
41
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
42
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
43
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
44
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
45
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
46
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
47
|
+
|
|
48
|
+
/** Base Styles **/
|
|
49
|
+
--border: oklch(0.922 0 0);
|
|
50
|
+
--input: oklch(0.922 0 0);
|
|
51
|
+
--ring: oklch(0.708 0 0);
|
|
52
|
+
--radius: 0.5rem;
|
|
53
|
+
|
|
54
|
+
/* Extended colors */
|
|
55
|
+
--success: var(--color-emerald-500);
|
|
56
|
+
--success-foreground: var(--color-emerald-900);
|
|
57
|
+
--info: var(--color-violet-500);
|
|
58
|
+
--info-foreground: var(--color-violet-900);
|
|
59
|
+
--warning: var(--color-yellow-500);
|
|
60
|
+
--warning-foreground: var(--color-yellow-900);
|
|
61
|
+
--invert: var(--color-zinc-900);
|
|
62
|
+
--invert-foreground: var(--color-zinc-50);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.dark {
|
|
66
|
+
/** Base Colors **/
|
|
67
|
+
--background: oklch(0.145 0 0);
|
|
68
|
+
--foreground: oklch(0.985 0 0);
|
|
69
|
+
|
|
70
|
+
--card: oklch(0.205 0 0);
|
|
71
|
+
--card-foreground: oklch(0.985 0 0);
|
|
72
|
+
|
|
73
|
+
--popover: oklch(0.269 0 0);
|
|
74
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
75
|
+
|
|
76
|
+
--primary: oklch(0.922 0 0);
|
|
77
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
78
|
+
|
|
79
|
+
--secondary: oklch(0.269 0 0);
|
|
80
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
81
|
+
|
|
82
|
+
--muted: oklch(0.269 0 0);
|
|
83
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
84
|
+
|
|
85
|
+
--accent: oklch(0.371 0 0);
|
|
86
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
87
|
+
|
|
88
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
89
|
+
--destructive-foreground: oklch(0.985 0 0);
|
|
90
|
+
|
|
91
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
92
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
93
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
94
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
95
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
96
|
+
|
|
97
|
+
--sidebar: oklch(0.205 0 0);
|
|
98
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
99
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
100
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
101
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
102
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
103
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
104
|
+
--sidebar-ring: oklch(0.439 0 0);
|
|
105
|
+
|
|
106
|
+
/** Base Styles **/
|
|
107
|
+
--border: oklch(1 0 0 / 10%);
|
|
108
|
+
--input: oklch(1 0 0 / 15%);
|
|
109
|
+
--ring: oklch(0.556 0 0);
|
|
110
|
+
|
|
111
|
+
/* Extended colors */
|
|
112
|
+
--success: var(--color-emerald-500);
|
|
113
|
+
--success-foreground: var(--color-emerald-600);
|
|
114
|
+
--info: var(--color-violet-500);
|
|
115
|
+
--info-foreground: var(--color-violet-600);
|
|
116
|
+
--warning: var(--color-yellow-500);
|
|
117
|
+
--warning-foreground: var(--color-yellow-600);
|
|
118
|
+
--invert: var(--color-zinc-700);
|
|
119
|
+
--invert-foreground: var(--color-zinc-50);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/** Theme Setup **/
|
|
123
|
+
@theme inline {
|
|
124
|
+
/** Base Colors **/
|
|
125
|
+
--color-background: var(--background);
|
|
126
|
+
--color-foreground: var(--foreground);
|
|
127
|
+
|
|
128
|
+
--color-card: var(--card);
|
|
129
|
+
--color-card-foreground: var(--card-foreground);
|
|
130
|
+
|
|
131
|
+
--color-popover: var(--popover);
|
|
132
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
133
|
+
|
|
134
|
+
--color-primary: var(--primary);
|
|
135
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
136
|
+
|
|
137
|
+
--color-secondary: var(--secondary);
|
|
138
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
139
|
+
|
|
140
|
+
--color-muted: var(--muted);
|
|
141
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
142
|
+
|
|
143
|
+
--color-accent: var(--accent);
|
|
144
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
145
|
+
|
|
146
|
+
--color-destructive: var(--destructive);
|
|
147
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
148
|
+
|
|
149
|
+
--color-chart-1: var(--chart-1);
|
|
150
|
+
--color-chart-2: var(--chart-2);
|
|
151
|
+
--color-chart-3: var(--chart-3);
|
|
152
|
+
--color-chart-4: var(--chart-4);
|
|
153
|
+
--color-chart-5: var(--chart-5);
|
|
154
|
+
|
|
155
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
156
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
157
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
158
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
159
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
160
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
161
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
162
|
+
--color-sidebar: var(--sidebar);
|
|
163
|
+
|
|
164
|
+
/** Base Styles **/
|
|
165
|
+
--color-border: var(--border);
|
|
166
|
+
--color-input: var(--input);
|
|
167
|
+
--color-ring: var(--ring);
|
|
168
|
+
|
|
169
|
+
/* Extended colors */
|
|
170
|
+
--color-success: var(--success);
|
|
171
|
+
--color-success-foreground: var(--success-foreground);
|
|
172
|
+
--color-info: var(--info);
|
|
173
|
+
--color-info-foreground: var(--info-foreground);
|
|
174
|
+
--color-warning: var(--warning);
|
|
175
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
176
|
+
--color-invert: var(--invert);
|
|
177
|
+
--color-invert-foreground: var(--invert-foreground);
|
|
178
|
+
|
|
179
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
180
|
+
--radius-lg: var(--radius);
|
|
181
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
182
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
183
|
+
|
|
184
|
+
--animate-marquee: marquee var(--duration) infinite linear;
|
|
185
|
+
--animate-marquee-vertical: marquee-vertical var(--duration) linear infinite;
|
|
186
|
+
|
|
187
|
+
@keyframes marquee {
|
|
188
|
+
from {
|
|
189
|
+
transform: translateX(0);
|
|
190
|
+
}
|
|
191
|
+
to {
|
|
192
|
+
transform: translateX(calc(-100% - var(--gap)));
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@keyframes marquee-vertical {
|
|
197
|
+
from {
|
|
198
|
+
transform: translateY(0);
|
|
199
|
+
}
|
|
200
|
+
to {
|
|
201
|
+
transform: translateY(calc(-100% - var(--gap)));
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@keyframes move {
|
|
206
|
+
to {
|
|
207
|
+
transform: translateX(0);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/** Custom Scrollbar **/
|
|
213
|
+
@layer base {
|
|
214
|
+
::-webkit-scrollbar {
|
|
215
|
+
width: 5px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
::-webkit-scrollbar-track {
|
|
219
|
+
background: transparent;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
::-webkit-scrollbar-thumb {
|
|
223
|
+
background: var(--input);
|
|
224
|
+
border-radius: 5px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
* {
|
|
228
|
+
scrollbar-width: thin;
|
|
229
|
+
scrollbar-color: var(--input) transparent;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
::selection {
|
|
233
|
+
color: var(--primary-foreground);
|
|
234
|
+
background: var(--primary);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
* {
|
|
238
|
+
@apply border-border outline-ring/50;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
body {
|
|
242
|
+
@apply bg-background text-foreground;
|
|
243
|
+
}
|
|
244
|
+
}
|