@mindly/ui-components 8.13.4 → 8.14.0
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/dist/cjs/index.js +1 -1
- package/dist/cjs/lib2/features/ScheduleFeature/types.d.ts +1 -1
- package/dist/cjs/lib2/features/ScheduleSectionsFeature/ScheduleSectionsFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/ScheduleSectionsFeature/components/ScheduleSection.d.ts +0 -3
- package/dist/cjs/lib2/features/ScheduleSectionsFeature/components/Slot.d.ts +1 -4
- package/dist/cjs/lib2/features/ScheduleSectionsFeature/mocks/slots.d.ts +2 -2
- package/dist/cjs/lib2/features/ScheduleSectionsFeature/types.d.ts +2 -1
- package/dist/cjs/lib2/features/ScheduleSectionsFeature/utils/toSections/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib2/features/ScheduleFeature/types.d.ts +1 -1
- package/dist/esm/lib2/features/ScheduleSectionsFeature/ScheduleSectionsFeature.d.ts +0 -1
- package/dist/esm/lib2/features/ScheduleSectionsFeature/components/ScheduleSection.d.ts +0 -3
- package/dist/esm/lib2/features/ScheduleSectionsFeature/components/Slot.d.ts +1 -4
- package/dist/esm/lib2/features/ScheduleSectionsFeature/mocks/slots.d.ts +2 -2
- package/dist/esm/lib2/features/ScheduleSectionsFeature/types.d.ts +2 -1
- package/dist/esm/lib2/features/ScheduleSectionsFeature/utils/toSections/index.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -7,7 +7,6 @@ type ScheduleSectionsFeatureProps = {
|
|
|
7
7
|
setSlots: (slots: Slot[]) => void;
|
|
8
8
|
isSectionsCollapsable?: boolean;
|
|
9
9
|
openSectionIfSlotSelected?: boolean;
|
|
10
|
-
showSlotStatus?: boolean;
|
|
11
10
|
};
|
|
12
11
|
declare const ScheduleSectionsFeature: FC<ScheduleSectionsFeatureProps>;
|
|
13
12
|
export default ScheduleSectionsFeature;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { DaySectionKey, Section, Slot } from '../types';
|
|
3
|
-
import { WithTranslation } from 'react-i18next';
|
|
4
3
|
type ScheduleSectionProps = {
|
|
5
4
|
section: Section;
|
|
6
5
|
selectAllLabel?: string;
|
|
7
6
|
isSectionsCollapsable: boolean;
|
|
8
7
|
onSelectAll: (sectionKey: DaySectionKey) => void;
|
|
9
8
|
onSlotClick: (slot: Slot) => void;
|
|
10
|
-
t: WithTranslation['t'];
|
|
11
9
|
className?: string;
|
|
12
|
-
showSlotStatus?: boolean;
|
|
13
10
|
};
|
|
14
11
|
declare const ScheduleSection: FC<ScheduleSectionProps>;
|
|
15
12
|
export default ScheduleSection;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { Slot as SlotType } from '../types';
|
|
2
|
-
import { WithTranslation } from 'react-i18next';
|
|
3
2
|
type SlotProps = {
|
|
4
3
|
slot: SlotType;
|
|
5
4
|
onClick: (slot: SlotType) => void;
|
|
6
|
-
t: WithTranslation['t'];
|
|
7
|
-
showSlotStatus?: boolean;
|
|
8
5
|
};
|
|
9
|
-
declare const Slot: ({ slot, onClick
|
|
6
|
+
declare const Slot: ({ slot, onClick }: SlotProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
7
|
export default Slot;
|
|
@@ -6,8 +6,9 @@ export declare enum DaySectionKey {
|
|
|
6
6
|
export { type DaySection } from '../ScheduleFeature/types';
|
|
7
7
|
export type Slot = {
|
|
8
8
|
title: string;
|
|
9
|
-
|
|
9
|
+
filled: boolean;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
+
label?: string | null;
|
|
11
12
|
};
|
|
12
13
|
export type Section = {
|
|
13
14
|
key: DaySectionKey;
|
package/dist/index.d.ts
CHANGED
|
@@ -4177,7 +4177,7 @@ declare const _default$y: React__default.NamedExoticComponent<StepperBaseProps$1
|
|
|
4177
4177
|
|
|
4178
4178
|
type SlotViewModel = {
|
|
4179
4179
|
title: string;
|
|
4180
|
-
|
|
4180
|
+
filled: boolean;
|
|
4181
4181
|
};
|
|
4182
4182
|
type DaySectionKey = 'morning' | 'day' | 'evening';
|
|
4183
4183
|
type DaySection = {
|
|
@@ -4212,8 +4212,9 @@ declare const Schedule: FC<ScheduleProps>;
|
|
|
4212
4212
|
|
|
4213
4213
|
type Slot = {
|
|
4214
4214
|
title: string;
|
|
4215
|
-
|
|
4215
|
+
filled: boolean;
|
|
4216
4216
|
disabled?: boolean;
|
|
4217
|
+
label?: string | null;
|
|
4217
4218
|
};
|
|
4218
4219
|
|
|
4219
4220
|
type ScheduleSectionsFeatureProps = {
|
|
@@ -4222,7 +4223,6 @@ type ScheduleSectionsFeatureProps = {
|
|
|
4222
4223
|
setSlots: (slots: Slot[]) => void;
|
|
4223
4224
|
isSectionsCollapsable?: boolean;
|
|
4224
4225
|
openSectionIfSlotSelected?: boolean;
|
|
4225
|
-
showSlotStatus?: boolean;
|
|
4226
4226
|
};
|
|
4227
4227
|
declare const ScheduleSectionsFeature: FC<ScheduleSectionsFeatureProps>;
|
|
4228
4228
|
|