use-wc 1.0.0-pre.25 → 1.0.0-pre.27

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.
@@ -96,6 +96,34 @@
96
96
  {
97
97
  "description": "A disabled date cell",
98
98
  "name": "day-disabled"
99
+ },
100
+ {
101
+ "description": "The clickable button wrapping the month/year title",
102
+ "name": "title-button"
103
+ },
104
+ {
105
+ "description": "The scrollable month/year picker panel (replaces grid when open)",
106
+ "name": "picker"
107
+ },
108
+ {
109
+ "description": "Container for one year's label and month grid",
110
+ "name": "picker-year-section"
111
+ },
112
+ {
113
+ "description": "The year heading inside a year section",
114
+ "name": "picker-year-label"
115
+ },
116
+ {
117
+ "description": "The 4-column month grid inside a year section",
118
+ "name": "picker-months"
119
+ },
120
+ {
121
+ "description": "An individual month button",
122
+ "name": "picker-month"
123
+ },
124
+ {
125
+ "description": "Applied to the currently selected month button",
126
+ "name": "picker-month-current"
99
127
  }
100
128
  ],
101
129
  "slots": [
@@ -32,6 +32,13 @@ export type UseCalendarRenderDay = (data: {
32
32
  * @csspart day-selected - A selected day cell
33
33
  * @csspart day-today - The current date cell
34
34
  * @csspart day-disabled - A disabled date cell
35
+ * @csspart title-button - The clickable button wrapping the month/year title
36
+ * @csspart picker - The scrollable month/year picker panel (replaces grid when open)
37
+ * @csspart picker-year-section - Container for one year's label and month grid
38
+ * @csspart picker-year-label - The year heading inside a year section
39
+ * @csspart picker-months - The 4-column month grid inside a year section
40
+ * @csspart picker-month - An individual month button
41
+ * @csspart picker-month-current - Applied to the currently selected month button
35
42
  */
36
43
  export declare class UseCalendar extends LitElement {
37
44
  #private;
@@ -58,6 +65,7 @@ export declare class UseCalendar extends LitElement {
58
65
  end?: string;
59
66
  constructor();
60
67
  connectedCallback(): void;
68
+ disconnectedCallback(): void;
61
69
  firstUpdated(): void;
62
70
  get value(): string;
63
71
  set value(value: string[] | string);
@@ -134,3 +134,9 @@ export declare const WeekSelectionLocale: StoryObj<UseCalendar>;
134
134
  */
135
135
  export declare const WeekSelectionMinMax: StoryObj<UseCalendar>;
136
136
  export declare const CustomStyles: StoryObj<UseCalendar>;
137
+ /**
138
+ * Clicking the month/year title opens an inline scrollable picker.
139
+ * Each year has its own section with a 4-column month grid. Selecting a month
140
+ * from any year navigates directly to that month and year.
141
+ */
142
+ export declare const MonthYearPicker: StoryObj<UseCalendar>;