shadcn-rails 0.1.0 → 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.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +69 -2
  3. data/README.md +102 -1398
  4. data/__mocks__/@floating-ui/dom.js +67 -0
  5. data/app/assets/javascripts/shadcn/controllers/base_menu_controller.js +266 -0
  6. data/app/assets/javascripts/shadcn/controllers/combobox_controller.js +34 -8
  7. data/app/assets/javascripts/shadcn/controllers/command_controller.js +5 -1
  8. data/app/assets/javascripts/shadcn/controllers/context_menu_controller.js +64 -135
  9. data/app/assets/javascripts/shadcn/controllers/dropdown_controller.js +56 -186
  10. data/app/assets/javascripts/shadcn/controllers/hover_card_controller.js +29 -55
  11. data/app/assets/javascripts/shadcn/controllers/menubar_controller.js +10 -7
  12. data/app/assets/javascripts/shadcn/controllers/navigation_menu_controller.js +10 -6
  13. data/app/assets/javascripts/shadcn/controllers/popover_controller.js +35 -60
  14. data/app/assets/javascripts/shadcn/controllers/select_controller.js +37 -17
  15. data/app/assets/javascripts/shadcn/controllers/sidebar_controller.js +24 -14
  16. data/app/assets/javascripts/shadcn/controllers/tooltip_controller.js +28 -59
  17. data/app/assets/javascripts/shadcn/index.js +9 -1
  18. data/app/assets/javascripts/shadcn/utils/floating.js +179 -0
  19. data/app/assets/stylesheets/shadcn/base.css +32 -0
  20. data/app/assets/stylesheets/shadcn/components.css +12 -0
  21. data/app/components/shadcn/accordion_component.html.erb +8 -0
  22. data/app/components/shadcn/accordion_component.rb +6 -15
  23. data/app/components/shadcn/alert_component.html.erb +6 -0
  24. data/app/components/shadcn/alert_component.rb +0 -18
  25. data/app/components/shadcn/alert_dialog_component.html.erb +12 -0
  26. data/app/components/shadcn/alert_dialog_component.rb +7 -27
  27. data/app/components/shadcn/aspect_ratio_component.html.erb +7 -0
  28. data/app/components/shadcn/aspect_ratio_component.rb +4 -19
  29. data/app/components/shadcn/avatar_component.html.erb +20 -0
  30. data/app/components/shadcn/avatar_component.rb +8 -36
  31. data/app/components/shadcn/badge_component.html.erb +1 -0
  32. data/app/components/shadcn/badge_component.rb +0 -11
  33. data/app/components/shadcn/base_component.rb +15 -2
  34. data/app/components/shadcn/breadcrumb_component.html.erb +5 -0
  35. data/app/components/shadcn/breadcrumb_component.rb +6 -16
  36. data/app/components/shadcn/button_component.html.erb +18 -0
  37. data/app/components/shadcn/button_component.rb +1 -41
  38. data/app/components/shadcn/card_component.html.erb +8 -0
  39. data/app/components/shadcn/card_component.rb +2 -6
  40. data/app/components/shadcn/checkbox_component.html.erb +32 -0
  41. data/app/components/shadcn/checkbox_component.rb +4 -43
  42. data/app/components/shadcn/collapsible_component.html.erb +8 -0
  43. data/app/components/shadcn/collapsible_component.rb +6 -15
  44. data/app/components/shadcn/command_list_component.rb +29 -14
  45. data/app/components/shadcn/context_menu_checkbox_item_component.rb +76 -0
  46. data/app/components/shadcn/context_menu_component.html.erb +11 -0
  47. data/app/components/shadcn/context_menu_component.rb +6 -26
  48. data/app/components/shadcn/context_menu_content_component.rb +37 -14
  49. data/app/components/shadcn/context_menu_item_component.rb +3 -2
  50. data/app/components/shadcn/context_menu_radio_group_component.rb +42 -0
  51. data/app/components/shadcn/context_menu_radio_item_component.rb +76 -0
  52. data/app/components/shadcn/dialog_component.html.erb +14 -0
  53. data/app/components/shadcn/dialog_component.rb +8 -29
  54. data/app/components/shadcn/drawer_component.html.erb +12 -0
  55. data/app/components/shadcn/drawer_component.rb +7 -27
  56. data/app/components/shadcn/dropdown_menu_checkbox_item_component.rb +76 -0
  57. data/app/components/shadcn/dropdown_menu_component.html.erb +14 -0
  58. data/app/components/shadcn/dropdown_menu_component.rb +9 -29
  59. data/app/components/shadcn/dropdown_menu_content_component.rb +45 -16
  60. data/app/components/shadcn/dropdown_menu_radio_group_component.rb +42 -0
  61. data/app/components/shadcn/dropdown_menu_radio_item_component.rb +76 -0
  62. data/app/components/shadcn/field_component.rb +7 -8
  63. data/app/components/shadcn/hover_card_component.html.erb +12 -0
  64. data/app/components/shadcn/hover_card_component.rb +7 -26
  65. data/app/components/shadcn/input_component.html.erb +18 -0
  66. data/app/components/shadcn/input_component.rb +2 -27
  67. data/app/components/shadcn/input_otp_component.rb +3 -3
  68. data/app/components/shadcn/kbd_component.html.erb +1 -0
  69. data/app/components/shadcn/kbd_component.rb +3 -10
  70. data/app/components/shadcn/label_component.html.erb +3 -0
  71. data/app/components/shadcn/label_component.rb +2 -18
  72. data/app/components/shadcn/menubar_component.html.erb +6 -0
  73. data/app/components/shadcn/menubar_component.rb +4 -15
  74. data/app/components/shadcn/menubar_content_component.rb +45 -20
  75. data/app/components/shadcn/menubar_sub_content_component.rb +21 -8
  76. data/app/components/shadcn/native_select_component.html.erb +22 -0
  77. data/app/components/shadcn/native_select_component.rb +9 -39
  78. data/app/components/shadcn/navigation_menu_component.html.erb +6 -0
  79. data/app/components/shadcn/navigation_menu_component.rb +4 -15
  80. data/app/components/shadcn/pagination_component.html.erb +5 -0
  81. data/app/components/shadcn/pagination_component.rb +11 -15
  82. data/app/components/shadcn/popover_component.html.erb +15 -0
  83. data/app/components/shadcn/popover_component.rb +10 -30
  84. data/app/components/shadcn/progress_component.html.erb +13 -0
  85. data/app/components/shadcn/progress_component.rb +6 -26
  86. data/app/components/shadcn/radio_group_component.html.erb +8 -0
  87. data/app/components/shadcn/radio_group_component.rb +12 -26
  88. data/app/components/shadcn/radio_group_item_component.rb +32 -6
  89. data/app/components/shadcn/resizable_panel_group_component.rb +27 -16
  90. data/app/components/shadcn/scroll_area_component.html.erb +7 -0
  91. data/app/components/shadcn/scroll_area_component.rb +4 -16
  92. data/app/components/shadcn/select_component.html.erb +46 -0
  93. data/app/components/shadcn/select_component.rb +29 -86
  94. data/app/components/shadcn/separator_component.html.erb +5 -0
  95. data/app/components/shadcn/separator_component.rb +6 -14
  96. data/app/components/shadcn/sheet_component.html.erb +12 -0
  97. data/app/components/shadcn/sheet_component.rb +7 -27
  98. data/app/components/shadcn/sidebar_component.rb +2 -2
  99. data/app/components/shadcn/skeleton_component.html.erb +1 -0
  100. data/app/components/shadcn/skeleton_component.rb +4 -2
  101. data/app/components/shadcn/slider_component.html.erb +12 -0
  102. data/app/components/shadcn/slider_component.rb +2 -21
  103. data/app/components/shadcn/spinner_component.html.erb +18 -0
  104. data/app/components/shadcn/spinner_component.rb +2 -30
  105. data/app/components/shadcn/switch_component.html.erb +72 -0
  106. data/app/components/shadcn/switch_component.rb +4 -82
  107. data/app/components/shadcn/table_component.html.erb +9 -0
  108. data/app/components/shadcn/table_component.rb +2 -10
  109. data/app/components/shadcn/tabs_component.html.erb +8 -0
  110. data/app/components/shadcn/tabs_component.rb +4 -17
  111. data/app/components/shadcn/textarea_component.html.erb +13 -0
  112. data/app/components/shadcn/textarea_component.rb +6 -22
  113. data/app/components/shadcn/toast_component.html.erb +36 -0
  114. data/app/components/shadcn/toast_component.rb +6 -54
  115. data/app/components/shadcn/toggle_component.html.erb +12 -0
  116. data/app/components/shadcn/toggle_component.rb +6 -21
  117. data/app/components/shadcn/toggle_group_component.html.erb +14 -0
  118. data/app/components/shadcn/toggle_group_component.rb +6 -29
  119. data/app/components/shadcn/tooltip_component.html.erb +20 -0
  120. data/app/components/shadcn/tooltip_component.rb +13 -38
  121. data/lib/generators/shadcn/add/USAGE +24 -0
  122. data/lib/generators/shadcn/add/add_generator.rb +279 -0
  123. data/lib/generators/shadcn/install/USAGE +22 -0
  124. data/lib/generators/shadcn/install/install_generator.rb +8 -3
  125. data/lib/generators/shadcn/install/templates/initializer.rb.tt +7 -27
  126. data/lib/generators/shadcn/install/templates/shadcn.yml.tt +15 -31
  127. data/lib/shadcn/rails/version.rb +1 -1
  128. metadata +54 -42
  129. data/.dockerignore +0 -40
  130. data/CLAUDE.md +0 -463
  131. data/PROGRESS.md +0 -485
  132. data/Rakefile +0 -29
  133. data/__tests__/controllers/__snapshots__/calendar_controller.test.js.snap +0 -13
  134. data/__tests__/controllers/__snapshots__/popover_controller.test.js.snap +0 -46
  135. data/__tests__/controllers/__snapshots__/sheet_controller.test.js.snap +0 -111
  136. data/__tests__/controllers/__snapshots__/tabs_controller.test.js.snap +0 -27
  137. data/__tests__/controllers/accordion_controller.test.js +0 -904
  138. data/__tests__/controllers/calendar_controller.test.js +0 -1370
  139. data/__tests__/controllers/carousel_controller.test.js +0 -912
  140. data/__tests__/controllers/checkbox_controller.test.js +0 -454
  141. data/__tests__/controllers/collapsible_controller.test.js +0 -407
  142. data/__tests__/controllers/combobox_controller.test.js +0 -966
  143. data/__tests__/controllers/context_menu_controller.test.js +0 -627
  144. data/__tests__/controllers/date_picker_controller.test.js +0 -636
  145. data/__tests__/controllers/dialog_controller.test.js +0 -878
  146. data/__tests__/controllers/drawer_controller.test.js +0 -995
  147. data/__tests__/controllers/menubar_controller.test.js +0 -736
  148. data/__tests__/controllers/navigation_menu_controller.test.js +0 -598
  149. data/__tests__/controllers/popover_controller.test.js +0 -1007
  150. data/__tests__/controllers/radio_group_controller.test.js +0 -640
  151. data/__tests__/controllers/resizable_controller.test.js +0 -680
  152. data/__tests__/controllers/select_controller.test.js +0 -674
  153. data/__tests__/controllers/sheet_controller.test.js +0 -986
  154. data/__tests__/controllers/slider_controller.test.js +0 -1036
  155. data/__tests__/controllers/switch_controller.test.js +0 -424
  156. data/__tests__/controllers/tabs_controller.test.js +0 -907
  157. data/__tests__/controllers/toggle_group_controller.test.js +0 -839
  158. data/__tests__/controllers/tooltip_controller.test.js +0 -808
  159. data/__tests__/helpers/stimulus-test-helper.js +0 -203
  160. data/babel.config.cjs +0 -5
  161. data/bin/console +0 -11
  162. data/bin/setup +0 -8
  163. data/jest.config.js +0 -19
  164. data/jest.setup.js +0 -8
  165. data/lib/generators/shadcn/component/component_generator.rb +0 -188
  166. data/lib/generators/shadcn/theme/theme_generator.rb +0 -128
  167. data/package-lock.json +0 -7415
  168. data/package.json +0 -68
  169. data/rollup.config.js +0 -29
@@ -1,13 +0,0 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
-
3
- exports[`CalendarController range mode CSS rendering range mode snapshot 1`] = `"<button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-31" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">31</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-01" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">1</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-02" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">2</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-03" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">3</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-04" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">4</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-05" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">5</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-06" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">6</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-07" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">7</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-08" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">8</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-09" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">9</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-l-md bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground cursor-pointer" data-date="2024-11-10" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-selected="true" tabindex="-1">10</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring bg-accent/50 cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-11" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">11</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring bg-accent/50 cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-12" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">12</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring bg-accent/50 cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-13" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">13</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring bg-accent/50 cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-14" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">14</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-r-md bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground cursor-pointer" data-date="2024-11-15" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-selected="true" tabindex="-1">15</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-16" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">16</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-17" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">17</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-18" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">18</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-19" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">19</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-20" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">20</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-21" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">21</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-22" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">22</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-23" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">23</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-24" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">24</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-25" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">25</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-26" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">26</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button>"`;
4
-
5
- exports[`CalendarController snapshots renders calendar with disabled dates correctly 1`] = `"<button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-31" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">31</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-01" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">1</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-02" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">2</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-03" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">3</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-04" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">4</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-05" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">5</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-06" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">6</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-07" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">7</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-08" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">8</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-09" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">9</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-10" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">10</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-11" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">11</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-12" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">12</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-13" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">13</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-14" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">14</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-15" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">15</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-16" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">16</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-17" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">17</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-18" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">18</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-19" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">19</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-20" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">20</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-21" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">21</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-22" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">22</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-23" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">23</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-24" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">24</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-25" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">25</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-26" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">26</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button>"`;
6
-
7
- exports[`CalendarController snapshots renders calendar with disabled weekends correctly 1`] = `"<button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-10-27" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-31" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">31</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-01" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">1</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-02" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">2</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-03" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">3</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-04" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">4</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-05" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">5</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-06" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">6</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-07" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">7</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-08" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">8</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-09" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">9</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-10" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">10</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-11" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">11</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-12" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">12</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-13" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">13</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-14" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">14</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-15" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">15</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-16" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">16</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-17" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">17</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-18" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">18</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-19" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">19</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-20" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">20</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-21" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">21</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-22" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">22</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-23" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">23</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-24" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">24</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-25" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">25</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-26" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">26</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-30" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">30</button>"`;
8
-
9
- exports[`CalendarController snapshots renders calendar with min and max dates correctly 1`] = `"<button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-10-27" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-10-28" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-10-29" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-10-30" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">30</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-10-31" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">31</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-01" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">1</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-02" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">2</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-03" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">3</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-04" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">4</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-05" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">5</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-06" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">6</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-07" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">7</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-08" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">8</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-09" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">9</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-10" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">10</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-11" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">11</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-12" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">12</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-13" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">13</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-14" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">14</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-15" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">15</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-16" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">16</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-17" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">17</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-18" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">18</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-19" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">19</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-20" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">20</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-21" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">21</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-22" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">22</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-23" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">23</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-24" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">24</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-25" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">25</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-26" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">26</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-27" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-28" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-29" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md text-muted-foreground opacity-50 cursor-not-allowed" data-date="2024-11-30" data-shadcn--calendar-target="day" data-action="focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-disabled="true" disabled="" tabindex="-1">30</button>"`;
10
-
11
- exports[`CalendarController snapshots renders calendar with selected date correctly 1`] = `"<button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-31" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">31</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-01" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">1</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-02" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">2</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-03" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">3</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-04" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">4</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-05" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">5</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-06" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">6</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-07" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">7</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-08" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">8</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-09" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">9</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-10" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">10</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-11" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">11</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-12" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">12</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-13" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">13</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-14" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">14</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground cursor-pointer" data-date="2024-11-15" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" aria-selected="true" tabindex="-1">15</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-16" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">16</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-17" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">17</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-18" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">18</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-19" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">19</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-20" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">20</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-21" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">21</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-22" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">22</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-23" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">23</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-24" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">24</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-25" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">25</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-26" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">26</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button>"`;
12
-
13
- exports[`CalendarController snapshots renders default calendar grid correctly 1`] = `"<button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground text-muted-foreground opacity-50" data-date="2024-10-31" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">31</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-01" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">1</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-02" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">2</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-03" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">3</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-04" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">4</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-05" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">5</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-06" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">6</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-07" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">7</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-08" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">8</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-09" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">9</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-10" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">10</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-11" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">11</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-12" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">12</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-13" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">13</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-14" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">14</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-15" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">15</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-16" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">16</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-17" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">17</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-18" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">18</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-19" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">19</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-20" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">20</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-21" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">21</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-22" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">22</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-23" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">23</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-24" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">24</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-25" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">25</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-26" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">26</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-27" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">27</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-28" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">28</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-29" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">29</button><button type="button" class="h-8 w-8 text-center text-sm p-0 relative flex items-center justify-center focus:outline-none focus:ring-1 focus:ring-ring rounded-md cursor-pointer hover:bg-accent hover:text-accent-foreground" data-date="2024-11-30" data-shadcn--calendar-target="day" data-action="click->shadcn--calendar#selectDay focus->shadcn--calendar#enableKeyboard blur->shadcn--calendar#disableKeyboard" tabindex="-1">30</button>"`;
@@ -1,46 +0,0 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
-
3
- exports[`PopoverController snapshots renders closed popover correctly 1`] = `
4
- "
5
-
6
- <button data-shadcn--popover-target="trigger" data-action="click->shadcn--popover#toggle">
7
- Open
8
- </button>
9
-
10
-
11
- <div data-shadcn--popover-target="content" hidden="">
12
- Popover content
13
- </div>
14
-
15
- "
16
- `;
17
-
18
- exports[`PopoverController snapshots renders modal popover correctly 1`] = `
19
- "
20
-
21
- <button data-shadcn--popover-target="trigger" data-action="click->shadcn--popover#toggle">
22
- Open
23
- </button>
24
-
25
-
26
- <div data-shadcn--popover-target="content" hidden="">
27
- Popover content
28
- </div>
29
-
30
- "
31
- `;
32
-
33
- exports[`PopoverController snapshots renders open popover correctly 1`] = `
34
- "
35
-
36
- <button data-shadcn--popover-target="trigger" data-action="click->shadcn--popover#toggle">
37
- Open
38
- </button>
39
-
40
-
41
- <div data-shadcn--popover-target="content" data-state="open" data-side="bottom" style="position: absolute; top: 100%; bottom: auto; margin-top: 8px; left: 50%; transform: translateX(-50%);">
42
- Popover content
43
- </div>
44
-
45
- "
46
- `;
@@ -1,111 +0,0 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
-
3
- exports[`SheetController snapshots renders closed sheet correctly 1`] = `
4
- "
5
- <button data-shadcn--sheet-target="trigger" data-action="click->shadcn--sheet#toggle">
6
- Open Sheet
7
- </button>
8
-
9
- <template data-shadcn--sheet-target="template">
10
- <div data-shadcn--sheet-target="overlay" data-state="closed" hidden="" data-action="click->shadcn--sheet#close" class="fixed inset-0 z-50 bg-black/80">
11
- </div>
12
- <div data-shadcn--sheet-target="content" data-state="closed" hidden="" data-side="right" class="fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out">
13
- <button data-action="click->shadcn--sheet#close" class="close-button">
14
- Close
15
- </button>
16
- <input type="text" class="first-input" placeholder="First input">
17
- <button class="action-button">Action</button>
18
- <a href="#" class="link">Link</a>
19
- <input type="text" class="last-input" placeholder="Last input">
20
- </div>
21
- </template>
22
- "
23
- `;
24
-
25
- exports[`SheetController snapshots renders with different sides: side-bottom 1`] = `
26
- "
27
- <button data-shadcn--sheet-target="trigger" data-action="click->shadcn--sheet#toggle">
28
- Open Sheet
29
- </button>
30
-
31
- <template data-shadcn--sheet-target="template">
32
- <div data-shadcn--sheet-target="overlay" data-state="closed" hidden="" data-action="click->shadcn--sheet#close" class="fixed inset-0 z-50 bg-black/80">
33
- </div>
34
- <div data-shadcn--sheet-target="content" data-state="closed" hidden="" data-side="bottom" class="fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out">
35
- <button data-action="click->shadcn--sheet#close" class="close-button">
36
- Close
37
- </button>
38
- <input type="text" class="first-input" placeholder="First input">
39
- <button class="action-button">Action</button>
40
- <a href="#" class="link">Link</a>
41
- <input type="text" class="last-input" placeholder="Last input">
42
- </div>
43
- </template>
44
- "
45
- `;
46
-
47
- exports[`SheetController snapshots renders with different sides: side-left 1`] = `
48
- "
49
- <button data-shadcn--sheet-target="trigger" data-action="click->shadcn--sheet#toggle">
50
- Open Sheet
51
- </button>
52
-
53
- <template data-shadcn--sheet-target="template">
54
- <div data-shadcn--sheet-target="overlay" data-state="closed" hidden="" data-action="click->shadcn--sheet#close" class="fixed inset-0 z-50 bg-black/80">
55
- </div>
56
- <div data-shadcn--sheet-target="content" data-state="closed" hidden="" data-side="left" class="fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out">
57
- <button data-action="click->shadcn--sheet#close" class="close-button">
58
- Close
59
- </button>
60
- <input type="text" class="first-input" placeholder="First input">
61
- <button class="action-button">Action</button>
62
- <a href="#" class="link">Link</a>
63
- <input type="text" class="last-input" placeholder="Last input">
64
- </div>
65
- </template>
66
- "
67
- `;
68
-
69
- exports[`SheetController snapshots renders with different sides: side-right 1`] = `
70
- "
71
- <button data-shadcn--sheet-target="trigger" data-action="click->shadcn--sheet#toggle">
72
- Open Sheet
73
- </button>
74
-
75
- <template data-shadcn--sheet-target="template">
76
- <div data-shadcn--sheet-target="overlay" data-state="closed" hidden="" data-action="click->shadcn--sheet#close" class="fixed inset-0 z-50 bg-black/80">
77
- </div>
78
- <div data-shadcn--sheet-target="content" data-state="closed" hidden="" data-side="right" class="fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out">
79
- <button data-action="click->shadcn--sheet#close" class="close-button">
80
- Close
81
- </button>
82
- <input type="text" class="first-input" placeholder="First input">
83
- <button class="action-button">Action</button>
84
- <a href="#" class="link">Link</a>
85
- <input type="text" class="last-input" placeholder="Last input">
86
- </div>
87
- </template>
88
- "
89
- `;
90
-
91
- exports[`SheetController snapshots renders with different sides: side-top 1`] = `
92
- "
93
- <button data-shadcn--sheet-target="trigger" data-action="click->shadcn--sheet#toggle">
94
- Open Sheet
95
- </button>
96
-
97
- <template data-shadcn--sheet-target="template">
98
- <div data-shadcn--sheet-target="overlay" data-state="closed" hidden="" data-action="click->shadcn--sheet#close" class="fixed inset-0 z-50 bg-black/80">
99
- </div>
100
- <div data-shadcn--sheet-target="content" data-state="closed" hidden="" data-side="top" class="fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out">
101
- <button data-action="click->shadcn--sheet#close" class="close-button">
102
- Close
103
- </button>
104
- <input type="text" class="first-input" placeholder="First input">
105
- <button class="action-button">Action</button>
106
- <a href="#" class="link">Link</a>
107
- <input type="text" class="last-input" placeholder="Last input">
108
- </div>
109
- </template>
110
- "
111
- `;
@@ -1,27 +0,0 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
-
3
- exports[`TabsController snapshots renders default tabs correctly 1`] = `
4
- "
5
- <div data-shadcn--tabs-target="list" role="tablist">
6
- <button data-shadcn--tabs-target="trigger" data-value="tab1" role="tab" data-action="click->shadcn--tabs#selectTab keydown->shadcn--tabs#handleKeydown" data-state="active" aria-selected="true" tabindex="0">Tab 1</button>
7
- <button data-shadcn--tabs-target="trigger" data-value="tab2" role="tab" data-action="click->shadcn--tabs#selectTab keydown->shadcn--tabs#handleKeydown" data-state="inactive" aria-selected="false" tabindex="-1">Tab 2</button>
8
- <button data-shadcn--tabs-target="trigger" data-value="tab3" role="tab" data-action="click->shadcn--tabs#selectTab keydown->shadcn--tabs#handleKeydown" data-state="inactive" aria-selected="false" tabindex="-1">Tab 3</button>
9
- </div>
10
- <div data-shadcn--tabs-target="content" data-value="tab1" role="tabpanel" data-state="active">Content 1</div>
11
- <div data-shadcn--tabs-target="content" data-value="tab2" role="tabpanel" hidden="" data-state="inactive">Content 2</div>
12
- <div data-shadcn--tabs-target="content" data-value="tab3" role="tabpanel" hidden="" data-state="inactive">Content 3</div>
13
- "
14
- `;
15
-
16
- exports[`TabsController snapshots renders tabs with tab2 active 1`] = `
17
- "
18
- <div data-shadcn--tabs-target="list" role="tablist">
19
- <button data-shadcn--tabs-target="trigger" data-value="tab1" role="tab" data-action="click->shadcn--tabs#selectTab keydown->shadcn--tabs#handleKeydown" data-state="inactive" aria-selected="false" tabindex="-1">Tab 1</button>
20
- <button data-shadcn--tabs-target="trigger" data-value="tab2" role="tab" data-action="click->shadcn--tabs#selectTab keydown->shadcn--tabs#handleKeydown" data-state="active" aria-selected="true" tabindex="0">Tab 2</button>
21
- <button data-shadcn--tabs-target="trigger" data-value="tab3" role="tab" data-action="click->shadcn--tabs#selectTab keydown->shadcn--tabs#handleKeydown" data-state="inactive" aria-selected="false" tabindex="-1">Tab 3</button>
22
- </div>
23
- <div data-shadcn--tabs-target="content" data-value="tab1" role="tabpanel" data-state="inactive" hidden="">Content 1</div>
24
- <div data-shadcn--tabs-target="content" data-value="tab2" role="tabpanel" data-state="active">Content 2</div>
25
- <div data-shadcn--tabs-target="content" data-value="tab3" role="tabpanel" hidden="" data-state="inactive">Content 3</div>
26
- "
27
- `;