@base-framework/ui 1.0.219 → 1.0.220

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.
@@ -1,4 +1,6 @@
1
- export function CalendarHeader({ onMonthClick, onYearClick, next, previous }: {
1
+ export function CalendarHeader({ monthName, year, onMonthClick, onYearClick, next, previous }: {
2
+ monthName: string;
3
+ year: number;
2
4
  onMonthClick: Function;
3
5
  onYearClick: Function;
4
6
  next: Function;
@@ -2,6 +2,8 @@
2
2
  * Create a month calendar component.
3
3
  *
4
4
  * @param {object} props
5
+ * @param {string} props.monthName
6
+ * @param {number} props.year
5
7
  * @param {function} props.onMonthClick
6
8
  * @param {function} props.onYearClick
7
9
  * @param {function} props.next
@@ -32,6 +32,13 @@ export class RangeCalendar extends Component {
32
32
  * @returns {Data}
33
33
  */
34
34
  setData(): Data;
35
+ /**
36
+ * This will get the name of the month.
37
+ *
38
+ * @param {number} month
39
+ * @returns {string}
40
+ */
41
+ getMonthName(month: number): string;
35
42
  /**
36
43
  * Initialize component state.
37
44
  *
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.219",
3
+ "version": "1.0.220",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {