willba-component-library 0.2.43 → 0.2.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "willba-component-library",
3
- "version": "0.2.43",
3
+ "version": "0.2.44",
4
4
  "description": "A custom UI component library",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
@@ -138,6 +138,10 @@ export const Primary: Story = {
138
138
  },
139
139
  ],
140
140
  disabledDates: [
141
+ {
142
+ from: new Date('2024-07-02'),
143
+ to: new Date('2024-07-03'),
144
+ },
141
145
  {
142
146
  from: new Date('2024-08-07'),
143
147
  to: new Date('2024-08-07'),
@@ -159,9 +163,9 @@ export const Primary: Story = {
159
163
  },
160
164
  loadingData: true,
161
165
  toggleCalendar: true,
162
- onSubmit: (val) => console.log('Submit', val),
163
- setToggleCalendar: (val) => console.log(val),
164
- requestDates: (val) => console.log(val),
166
+ onSubmit: (val) => console.log('onSubmit ->', val),
167
+ setToggleCalendar: (val) => console.log('setToggleCalendar ->', val),
168
+ requestDates: (val) => console.log('requestDates ->', val),
165
169
  showFeedback: true,
166
170
  noActiveSelection: true,
167
171
  },
@@ -174,7 +178,7 @@ export const Primary: Story = {
174
178
  toggleCalendar={toggleCalendar}
175
179
  setToggleCalendar={setToggleCalendar}
176
180
  />
177
- <button onClick={() => setToggleCalendar(true)}>Open calendar</button>
181
+ {/* <button onClick={() => setToggleCalendar(true)}>Open calendar</button> */}
178
182
  </div>
179
183
  )
180
184
  },