diff --git a/_includes/calendar_input.liquid b/_includes/calendar_input.liquid
index 3347cda..db093b1 100644
--- a/_includes/calendar_input.liquid
+++ b/_includes/calendar_input.liquid
@@ -1,29 +1,40 @@
{% comment %}
-Custom Calendar Input Component
+Pure CSS Scrolling Date Picker Visual Mock-up
Usage:
{% include calendar_input.liquid
id="unique_calendar_id" (required for multiple instances)
label="Select Date" (optional, defaults to "Select Date")
placeholder="YYYY-MM-DD" (optional, defaults to "YYYY-MM-DD")
- value="2025-12-31" (optional, initial date in YYYY-MM-DD format)
%}
+This component is a visual mock-up and does not provide actual date selection functionality.
+The input field will not be updated by this picker.
{% endcomment %}
-
+
+{% assign current_year = "now" | date: "%Y" | plus: 0 %}
+{% assign future_year_limit = current_year | plus: 10 %}
+{% assign years = "" %}
+{% for i in (current_year..future_year_limit) %}
+ {% assign years = years | append: i | append: "," %}
+{% endfor %}
+{% assign years_array = years | split: "," %}
+
+{% assign months_array = "January,February,March,April,May,June,July,August,September,October,November,December" | split: "," %}
+{% assign days_array = "" %}
+{% for i in (1..31) %}
+ {% assign days_array = days_array | append: i | append: "," %}
+{% endfor %}
+{% assign days_array = days_array | split: "," %}
+
+
@@ -33,225 +44,90 @@ Usage:
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {% for year_val in years_array %}
+ {% if year_val != "" %}
+
{{ year_val }}
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+
+ {% for month_val in months_array %}
+ {% if month_val != "" %}
+
{{ month_val }}
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+
+ {% for day_val in days_array %}
+ {% if day_val != "" %}
+
{{ day_val }}
+ {% endif %}
+ {% endfor %}
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
This is a visual mock-up. Date selection is not functional.
-
+ /* Ensure scrolling snaps to items if desired (more complex, browser support varies) */
+ /* Basic approach: each item has a fixed height, scroll container has a height multiple of item height */
+ /* The pt-16/pb-16 on the inner divs of scroll columns is a hack to "center" the first/last few items against the selection line */
+