@salutejs/plasma-new-hope 0.81.0-canary.1203.9111654116.0 → 0.81.0-canary.1206.9109080964.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/cjs/components/Calendar/Calendar.types.js.map +1 -1
  2. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  3. package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  4. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -4
  5. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  6. package/cjs/components/Calendar/hooks/useDays.js +3 -6
  7. package/cjs/components/Calendar/hooks/useDays.js.map +1 -1
  8. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  9. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  10. package/es/components/Calendar/Calendar.types.js.map +1 -1
  11. package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  12. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  13. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -4
  14. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  15. package/es/components/Calendar/hooks/useDays.js +3 -6
  16. package/es/components/Calendar/hooks/useDays.js.map +1 -1
  17. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  18. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  19. package/package.json +4 -4
  20. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  21. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -4
  22. package/styled-components/cjs/components/Calendar/hooks/useDays.js +3 -6
  23. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  24. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -18
  25. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -18
  26. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -18
  27. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  28. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -4
  29. package/styled-components/es/components/Calendar/hooks/useDays.js +3 -6
  30. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  31. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -18
  32. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -18
  33. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -18
  34. package/types/components/Calendar/Calendar.types.d.ts +0 -4
  35. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  36. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  37. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  38. package/types/components/Calendar/hooks/useDays.d.ts +1 -1
  39. package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
  40. package/types/components/Calendar/ui/CalendarDays/CalendarDays.d.ts.map +1 -1
  41. package/types/components/Calendar/ui/CalendarDays/CalendarDays.types.d.ts +0 -1
  42. package/types/components/Calendar/ui/CalendarDays/CalendarDays.types.d.ts.map +1 -1
@@ -79,7 +79,7 @@ const baseEvents = [
79
79
  ];
80
80
 
81
81
  const StoryDefault = (args: CalendarProps) => {
82
- const { isRange, isDouble, min, max, date, includeEdgeDates } = args;
82
+ const { isRange, isDouble, min, max, date } = args;
83
83
  const [value, setValue] = useState(new Date(2023, 10, 16));
84
84
  const [valueRange, setValueRange] = useState<[Date, Date?]>([new Date(2023, 10, 16), new Date(2023, 10, 23)]);
85
85
 
@@ -110,7 +110,6 @@ const StoryDefault = (args: CalendarProps) => {
110
110
  disabledList={disabledDays}
111
111
  min={min}
112
112
  max={max}
113
- includeEdgeDates={includeEdgeDates}
114
113
  onChangeValue={(isRange ? handleOnRangeChange : handleOnChange) as (value: Date | [Date, Date?]) => void}
115
114
  />
116
115
  );
@@ -122,13 +121,12 @@ export const Default: StoryObj<CalendarProps> = {
122
121
  max: new Date(2023, 11, 24),
123
122
  isDouble: false,
124
123
  isRange: false,
125
- includeEdgeDates: false,
126
124
  },
127
125
  render: (args) => <StoryDefault {...args} />,
128
126
  };
129
127
 
130
128
  const StoryBase = (args: CalendarBaseProps) => {
131
- const { min, max, type, includeEdgeDates } = args;
129
+ const { min, max, type } = args;
132
130
  const [value, setValue] = useState(new Date(2023, 10, 16));
133
131
 
134
132
  const handleOnChange = useCallback((newValue: Date) => {
@@ -152,7 +150,6 @@ const StoryBase = (args: CalendarBaseProps) => {
152
150
  disabledList={disabledDays}
153
151
  min={min}
154
152
  max={max}
155
- includeEdgeDates={includeEdgeDates}
156
153
  type={type}
157
154
  onChangeValue={handleOnChange}
158
155
  />
@@ -171,14 +168,13 @@ export const Base: StoryObj<CalendarBaseProps> = {
171
168
  args: {
172
169
  min: new Date(2023, 10, 1),
173
170
  max: new Date(2023, 11, 24),
174
- includeEdgeDates: false,
175
171
  type: 'Days',
176
172
  },
177
173
  render: (args) => <StoryBase {...args} />,
178
174
  };
179
175
 
180
176
  const StoryDouble = (args: CalendarDoubleProps) => {
181
- const { min, max, includeEdgeDates } = args;
177
+ const { min, max } = args;
182
178
  const [value, setValue] = useState(new Date(2023, 10, 16));
183
179
  const handleOnChange = useCallback((newValue: Date) => {
184
180
  setValue(newValue);
@@ -201,7 +197,6 @@ const StoryDouble = (args: CalendarDoubleProps) => {
201
197
  disabledList={disabledDays}
202
198
  min={min}
203
199
  max={max}
204
- includeEdgeDates={includeEdgeDates}
205
200
  onChangeValue={handleOnChange}
206
201
  />
207
202
  );
@@ -211,13 +206,12 @@ export const Double: StoryObj<CalendarDoubleProps> = {
211
206
  args: {
212
207
  min: new Date(2023, 10, 1),
213
208
  max: new Date(2023, 11, 24),
214
- includeEdgeDates: false,
215
209
  },
216
210
  render: (args) => <StoryDouble {...args} />,
217
211
  };
218
212
 
219
213
  const StoryRange = (args: CalendarBaseRangeProps) => {
220
- const { min, max, type, includeEdgeDates } = args;
214
+ const { min, max, type } = args;
221
215
  const [values, setValue] = useState<[Date, Date?]>([new Date(2023, 10, 15), new Date(2023, 10, 24)]);
222
216
  const handleOnChange = useCallback((newValue: [Date, Date?]) => {
223
217
  onChangeValue(newValue);
@@ -243,7 +237,6 @@ const StoryRange = (args: CalendarBaseRangeProps) => {
243
237
  disabledList={disabledList}
244
238
  min={min}
245
239
  max={max}
246
- includeEdgeDates={includeEdgeDates}
247
240
  type={type}
248
241
  onChangeValue={handleOnChange}
249
242
  />
@@ -262,14 +255,13 @@ export const Range: StoryObj<CalendarBaseRangeProps> = {
262
255
  args: {
263
256
  min: new Date(2023, 10, 1),
264
257
  max: new Date(2023, 11, 24),
265
- includeEdgeDates: false,
266
258
  type: 'Days',
267
259
  },
268
260
  render: (args) => <StoryRange {...args} />,
269
261
  };
270
262
 
271
263
  const StoryRangeDouble = (args: CalendarBaseRangeProps) => {
272
- const { min, max, includeEdgeDates } = args;
264
+ const { min, max } = args;
273
265
  const [values, setValue] = useState<[Date, Date?]>([new Date(2023, 10, 15), new Date(2023, 10, 24)]);
274
266
  const handleOnChange = useCallback((newValue: [Date, Date?]) => {
275
267
  onChangeValue(newValue);
@@ -295,7 +287,6 @@ const StoryRangeDouble = (args: CalendarBaseRangeProps) => {
295
287
  disabledList={disabledList}
296
288
  min={min}
297
289
  max={max}
298
- includeEdgeDates={includeEdgeDates}
299
290
  onChangeValue={handleOnChange}
300
291
  />
301
292
  );
@@ -305,13 +296,12 @@ export const RangeDouble: StoryObj<CalendarBaseRangeProps> = {
305
296
  args: {
306
297
  min: new Date(2023, 10, 1),
307
298
  max: new Date(2023, 11, 24),
308
- includeEdgeDates: false,
309
299
  },
310
300
  render: (args) => <StoryRangeDouble {...args} />,
311
301
  };
312
302
 
313
303
  const StoryWithPopover = (args: CalendarProps) => {
314
- const { isDouble, min, max, includeEdgeDates } = args;
304
+ const { isDouble, min, max } = args;
315
305
  const [isOpen, setIsOpen] = useState(false);
316
306
  const [textValue, setTextValue] = useState('2023-10-16');
317
307
  const [value, setValue] = useState(new Date(textValue));
@@ -350,7 +340,6 @@ const StoryWithPopover = (args: CalendarProps) => {
350
340
  disabledList={disabledDays}
351
341
  min={min}
352
342
  max={max}
353
- includeEdgeDates={includeEdgeDates}
354
343
  isDouble={isDouble}
355
344
  isRange={false}
356
345
  onChangeValue={handleOnChange}
@@ -364,7 +353,6 @@ export const WithPopover: StoryObj<CalendarProps> = {
364
353
  min: new Date(2023, 9, 1),
365
354
  max: new Date(2023, 11, 24),
366
355
  isDouble: false,
367
- includeEdgeDates: false,
368
356
  },
369
357
  render: (args) => <StoryWithPopover {...args} />,
370
358
  };
@@ -79,7 +79,7 @@ const baseEvents = [
79
79
  ];
80
80
 
81
81
  const StoryDefault = (args: CalendarProps) => {
82
- const { isRange, isDouble, min, max, date, includeEdgeDates } = args;
82
+ const { isRange, isDouble, min, max, date } = args;
83
83
  const [value, setValue] = useState(new Date(2023, 10, 16));
84
84
  const [valueRange, setValueRange] = useState<[Date, Date?]>([new Date(2023, 10, 16), new Date(2023, 10, 23)]);
85
85
 
@@ -110,7 +110,6 @@ const StoryDefault = (args: CalendarProps) => {
110
110
  disabledList={disabledDays}
111
111
  min={min}
112
112
  max={max}
113
- includeEdgeDates={includeEdgeDates}
114
113
  onChangeValue={(isRange ? handleOnRangeChange : handleOnChange) as (value: Date | [Date, Date?]) => void}
115
114
  />
116
115
  );
@@ -122,13 +121,12 @@ export const Default: StoryObj<CalendarProps> = {
122
121
  max: new Date(2023, 11, 24),
123
122
  isDouble: false,
124
123
  isRange: false,
125
- includeEdgeDates: false,
126
124
  },
127
125
  render: (args) => <StoryDefault {...args} />,
128
126
  };
129
127
 
130
128
  const StoryBase = (args: CalendarBaseProps) => {
131
- const { min, max, type, includeEdgeDates } = args;
129
+ const { min, max, type } = args;
132
130
  const [value, setValue] = useState(new Date(2023, 10, 16));
133
131
 
134
132
  const handleOnChange = useCallback((newValue: Date) => {
@@ -152,7 +150,6 @@ const StoryBase = (args: CalendarBaseProps) => {
152
150
  disabledList={disabledDays}
153
151
  min={min}
154
152
  max={max}
155
- includeEdgeDates={includeEdgeDates}
156
153
  type={type}
157
154
  onChangeValue={handleOnChange}
158
155
  />
@@ -171,14 +168,13 @@ export const Base: StoryObj<CalendarBaseProps> = {
171
168
  args: {
172
169
  min: new Date(2023, 10, 1),
173
170
  max: new Date(2023, 11, 24),
174
- includeEdgeDates: false,
175
171
  type: 'Days',
176
172
  },
177
173
  render: (args) => <StoryBase {...args} />,
178
174
  };
179
175
 
180
176
  const StoryDouble = (args: CalendarDoubleProps) => {
181
- const { min, max, includeEdgeDates } = args;
177
+ const { min, max } = args;
182
178
  const [value, setValue] = useState(new Date(2023, 10, 16));
183
179
  const handleOnChange = useCallback((newValue: Date) => {
184
180
  setValue(newValue);
@@ -201,7 +197,6 @@ const StoryDouble = (args: CalendarDoubleProps) => {
201
197
  disabledList={disabledDays}
202
198
  min={min}
203
199
  max={max}
204
- includeEdgeDates={includeEdgeDates}
205
200
  onChangeValue={handleOnChange}
206
201
  />
207
202
  );
@@ -211,13 +206,12 @@ export const Double: StoryObj<CalendarDoubleProps> = {
211
206
  args: {
212
207
  min: new Date(2023, 10, 1),
213
208
  max: new Date(2023, 11, 24),
214
- includeEdgeDates: false,
215
209
  },
216
210
  render: (args) => <StoryDouble {...args} />,
217
211
  };
218
212
 
219
213
  const StoryRange = (args: CalendarBaseRangeProps) => {
220
- const { min, max, type, includeEdgeDates } = args;
214
+ const { min, max, type } = args;
221
215
  const [values, setValue] = useState<[Date, Date?]>([new Date(2023, 10, 15), new Date(2023, 10, 24)]);
222
216
  const handleOnChange = useCallback((newValue: [Date, Date?]) => {
223
217
  onChangeValue(newValue);
@@ -243,7 +237,6 @@ const StoryRange = (args: CalendarBaseRangeProps) => {
243
237
  disabledList={disabledList}
244
238
  min={min}
245
239
  max={max}
246
- includeEdgeDates={includeEdgeDates}
247
240
  type={type}
248
241
  onChangeValue={handleOnChange}
249
242
  />
@@ -262,14 +255,13 @@ export const Range: StoryObj<CalendarBaseRangeProps> = {
262
255
  args: {
263
256
  min: new Date(2023, 10, 1),
264
257
  max: new Date(2023, 11, 24),
265
- includeEdgeDates: false,
266
258
  type: 'Days',
267
259
  },
268
260
  render: (args) => <StoryRange {...args} />,
269
261
  };
270
262
 
271
263
  const StoryRangeDouble = (args: CalendarBaseRangeProps) => {
272
- const { min, max, includeEdgeDates } = args;
264
+ const { min, max } = args;
273
265
  const [values, setValue] = useState<[Date, Date?]>([new Date(2023, 10, 15), new Date(2023, 10, 24)]);
274
266
  const handleOnChange = useCallback((newValue: [Date, Date?]) => {
275
267
  onChangeValue(newValue);
@@ -295,7 +287,6 @@ const StoryRangeDouble = (args: CalendarBaseRangeProps) => {
295
287
  disabledList={disabledList}
296
288
  min={min}
297
289
  max={max}
298
- includeEdgeDates={includeEdgeDates}
299
290
  onChangeValue={handleOnChange}
300
291
  />
301
292
  );
@@ -305,13 +296,12 @@ export const RangeDouble: StoryObj<CalendarBaseRangeProps> = {
305
296
  args: {
306
297
  min: new Date(2023, 10, 1),
307
298
  max: new Date(2023, 11, 24),
308
- includeEdgeDates: false,
309
299
  },
310
300
  render: (args) => <StoryRangeDouble {...args} />,
311
301
  };
312
302
 
313
303
  const StoryWithPopover = (args: CalendarProps) => {
314
- const { isDouble, min, max, includeEdgeDates } = args;
304
+ const { isDouble, min, max } = args;
315
305
  const [isOpen, setIsOpen] = useState(false);
316
306
  const [textValue, setTextValue] = useState('2023-10-16');
317
307
  const [value, setValue] = useState(new Date(textValue));
@@ -350,7 +340,6 @@ const StoryWithPopover = (args: CalendarProps) => {
350
340
  disabledList={disabledDays}
351
341
  min={min}
352
342
  max={max}
353
- includeEdgeDates={includeEdgeDates}
354
343
  isDouble={isDouble}
355
344
  isRange={false}
356
345
  onChangeValue={handleOnChange}
@@ -364,7 +353,6 @@ export const WithPopover: StoryObj<CalendarProps> = {
364
353
  min: new Date(2023, 9, 1),
365
354
  max: new Date(2023, 11, 24),
366
355
  isDouble: false,
367
- includeEdgeDates: false,
368
356
  },
369
357
  render: (args) => <StoryWithPopover {...args} />,
370
358
  };
@@ -84,10 +84,6 @@ export interface Calendar extends HTMLAttributes<HTMLDivElement> {
84
84
  * Максимальное значение даты.
85
85
  */
86
86
  max?: Date;
87
- /**
88
- * Должны ли значения минимального и максимального дня включаться в диапазон.
89
- */
90
- includeEdgeDates?: boolean;
91
87
  /**
92
88
  * Список событий.
93
89
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.types.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,oBAAY,IAAI;IACZ,MAAM,KAAK;IACX,QAAQ,KAAK;IACb,IAAI,KAAK;IACT,GAAG,KAAK;IACR,IAAI,KAAK;IACT,KAAK,KAAK;IACV,EAAE,KAAK;IACP,IAAI,KAAK;IACT,KAAK,KAAK;IACV,KAAK,KAAK;CACb;AAED,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,QAAS,SAAQ,SAAS;IACvC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;IACpB,QAAQ,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AEN,eAAO,MAAM,kBAAkB;;;mBAvOQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;QATxF;;WAEG;;;;;;;;;;;;;;;;CA+PV,CAAC"}
1
+ {"version":3,"file":"CalendarBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarBase/CalendarBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6D,cAAc,EAAc,MAAM,OAAO,CAAC;AAErH,OAAO,KAAK,EAAE,QAAQ,EAAqC,MAAM,mBAAmB,CAAC;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMxD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAM7C,oBAAY,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,GAC1D,QAAQ,GAAG;IACP;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEN;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;IATxF;;OAEG;;wCAiON,CAAC;AAEN,eAAO,MAAM,kBAAkB;;;mBA5NQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;QATxF;;WAEG;;;;;;;;;;;;;;;;CAoPV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDouble.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA8C,cAAc,EAAE,MAAM,OAAO,CAAC;AAE1F,OAAO,KAAK,EAAE,QAAQ,EAAc,MAAM,mBAAmB,CAAC;AAI9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,oBAAY,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,QAAQ,CAAC;AAE5E;;GAEG;AACH,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC,2HA4J7F,CAAC;AAEN,eAAO,MAAM,oBAAoB;;;mBA9JQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;;;;;;;;;;;CA4KjG,CAAC"}
1
+ {"version":3,"file":"CalendarDouble.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA8C,cAAc,EAAE,MAAM,OAAO,CAAC;AAE1F,OAAO,KAAK,EAAE,QAAQ,EAAc,MAAM,mBAAmB,CAAC;AAI9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,oBAAY,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,QAAQ,CAAC;AAE5E;;GAEG;AACH,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC,2HAuJ7F,CAAC;AAEN,eAAO,MAAM,oBAAoB;;;mBAzJQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;;;;;;;;;;;CAuKjG,CAAC"}
@@ -2,5 +2,5 @@ import type { CalendarValueType, DateItem, DateObject, DisabledDay, EventDay } f
2
2
  /**
3
3
  * Хук для получения списка дней.
4
4
  */
5
- export declare const useDays: (date: DateObject, value: CalendarValueType, eventList?: EventDay[] | undefined, disabledList?: DisabledDay[] | undefined, min?: Date | undefined, max?: Date | undefined, includeEdgeDates?: boolean | undefined) => readonly [DateItem[][], number[] | undefined];
5
+ export declare const useDays: (date: DateObject, value: CalendarValueType, eventList?: EventDay[] | undefined, disabledList?: DisabledDay[] | undefined, min?: Date | undefined, max?: Date | undefined) => readonly [DateItem[][], number[] | undefined];
6
6
  //# sourceMappingURL=useDays.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDays.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/hooks/useDays.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAwOxG;;GAEG;AACH,eAAO,MAAM,OAAO,SACV,UAAU,SACT,iBAAiB,wNAwB4B,CAAC"}
1
+ {"version":3,"file":"useDays.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/hooks/useDays.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAqOxG;;GAEG;AACH,eAAO,MAAM,OAAO,SACV,UAAU,SACT,iBAAiB,gLAuB4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDays.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAiB9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA8JpD,CAAC"}
1
+ {"version":3,"file":"CalendarDays.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAiB9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6JpD,CAAC"}
@@ -5,7 +5,6 @@ export interface CalendarDaysProps extends HTMLAttributes<HTMLDivElement> {
5
5
  value: CalendarValueType;
6
6
  min?: Date;
7
7
  max?: Date;
8
- includeEdgeDates?: boolean;
9
8
  eventList?: EventDay[];
10
9
  disabledList?: DisabledDay[];
11
10
  isDouble?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDays.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEjG,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,iBAAiB,CAAC;IACzB,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,EAAE,gBAAgB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;IAChD,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzD,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CAC9D"}
1
+ {"version":3,"file":"CalendarDays.types.d.ts","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