allaw-ui 5.4.1 → 5.4.3
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/components/atoms/buttons/ActionButton.d.ts +1 -1
- package/dist/components/atoms/buttons/ActionButton.js +2 -2
- package/dist/components/molecules/proSwitch/ProSwitchModal.js +0 -2
- package/package.json +12 -19
- package/dist/components/atoms/buttons/ActionButton.stories.d.ts +0 -110
- package/dist/components/atoms/buttons/ActionButton.stories.js +0 -171
- package/dist/components/atoms/buttons/ActionCircleButton.stories.d.ts +0 -35
- package/dist/components/atoms/buttons/ActionCircleButton.stories.js +0 -54
- package/dist/components/atoms/buttons/AgendaSlot.stories.d.ts +0 -41
- package/dist/components/atoms/buttons/AgendaSlot.stories.js +0 -77
- package/dist/components/atoms/buttons/FavoriteToggle.stories.d.ts +0 -23
- package/dist/components/atoms/buttons/FavoriteToggle.stories.js +0 -61
- package/dist/components/atoms/buttons/FilterButton.stories.d.ts +0 -36
- package/dist/components/atoms/buttons/FilterButton.stories.js +0 -56
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.d.ts +0 -7
- package/dist/components/atoms/buttons/FilterButtonPrimary.stories.js +0 -26
- package/dist/components/atoms/buttons/GhostButton.stories.d.ts +0 -79
- package/dist/components/atoms/buttons/GhostButton.stories.js +0 -95
- package/dist/components/atoms/buttons/IconButton.stories.d.ts +0 -51
- package/dist/components/atoms/buttons/IconButton.stories.js +0 -100
- package/dist/components/atoms/buttons/InboxButton.stories.d.ts +0 -68
- package/dist/components/atoms/buttons/InboxButton.stories.js +0 -143
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.d.ts +0 -67
- package/dist/components/atoms/buttons/OAuthProviderButton.stories.js +0 -168
- package/dist/components/atoms/buttons/PendingDocuments.stories.d.ts +0 -52
- package/dist/components/atoms/buttons/PendingDocuments.stories.js +0 -67
- package/dist/components/atoms/buttons/PrimaryButton.stories.d.ts +0 -121
- package/dist/components/atoms/buttons/PrimaryButton.stories.js +0 -187
- package/dist/components/atoms/buttons/SecondaryButton.stories.d.ts +0 -97
- package/dist/components/atoms/buttons/SecondaryButton.stories.js +0 -177
- package/dist/components/atoms/buttons/TabNavigation.stories.d.ts +0 -81
- package/dist/components/atoms/buttons/TabNavigation.stories.js +0 -178
- package/dist/components/atoms/buttons/TertiaryButton.stories.d.ts +0 -70
- package/dist/components/atoms/buttons/TertiaryButton.stories.js +0 -128
- package/dist/components/atoms/checkboxes/Checkbox.stories.d.ts +0 -77
- package/dist/components/atoms/checkboxes/Checkbox.stories.js +0 -123
- package/dist/components/atoms/datepickers/Datepicker.stories.d.ts +0 -167
- package/dist/components/atoms/datepickers/Datepicker.stories.js +0 -113
- package/dist/components/atoms/featureCard/featureCard.stories.d.ts +0 -21
- package/dist/components/atoms/featureCard/featureCard.stories.js +0 -101
- package/dist/components/atoms/filter/Filter.stories.d.ts +0 -9
- package/dist/components/atoms/filter/Filter.stories.js +0 -77
- package/dist/components/atoms/filters/SingleFilter.stories.d.ts +0 -10
- package/dist/components/atoms/filters/SingleFilter.stories.js +0 -84
- package/dist/components/atoms/inputs/Input.stories.d.ts +0 -85
- package/dist/components/atoms/inputs/Input.stories.js +0 -169
- package/dist/components/atoms/inputs/SearchBar.stories.d.ts +0 -142
- package/dist/components/atoms/inputs/SearchBar.stories.js +0 -197
- package/dist/components/atoms/inputs/TextArea.stories.d.ts +0 -95
- package/dist/components/atoms/inputs/TextArea.stories.js +0 -141
- package/dist/components/atoms/inputs/VerificationCodeInput.stories.d.ts +0 -81
- package/dist/components/atoms/inputs/VerificationCodeInput.stories.js +0 -89
- package/dist/components/atoms/progressBars/ProgressBar.stories.d.ts +0 -83
- package/dist/components/atoms/progressBars/ProgressBar.stories.js +0 -88
- package/dist/components/atoms/radios/RadioButton.stories.d.ts +0 -38
- package/dist/components/atoms/radios/RadioButton.stories.js +0 -87
- package/dist/components/atoms/radios/SelectCard.stories.d.ts +0 -92
- package/dist/components/atoms/radios/SelectCard.stories.js +0 -192
- package/dist/components/atoms/selects/ComboBox.stories.d.ts +0 -116
- package/dist/components/atoms/selects/ComboBox.stories.js +0 -136
- package/dist/components/atoms/selects/Select.stories.d.ts +0 -133
- package/dist/components/atoms/selects/Select.stories.js +0 -299
- package/dist/components/atoms/selects/SelectableListItem.stories.d.ts +0 -33
- package/dist/components/atoms/selects/SelectableListItem.stories.js +0 -53
- package/dist/components/atoms/tags/AppointementStatusTag.stories.d.ts +0 -17
- package/dist/components/atoms/tags/AppointementStatusTag.stories.js +0 -70
- package/dist/components/atoms/tags/FolderStatusTag.stories.d.ts +0 -28
- package/dist/components/atoms/tags/FolderStatusTag.stories.js +0 -51
- package/dist/components/atoms/tags/InlineTag.stories.d.ts +0 -109
- package/dist/components/atoms/tags/InlineTag.stories.js +0 -159
- package/dist/components/atoms/tags/OtherStatusTag.stories.d.ts +0 -99
- package/dist/components/atoms/tags/OtherStatusTag.stories.js +0 -160
- package/dist/components/atoms/typography/CardDate.stories.d.ts +0 -119
- package/dist/components/atoms/typography/CardDate.stories.js +0 -103
- package/dist/components/atoms/typography/Heading.stories.d.ts +0 -79
- package/dist/components/atoms/typography/Heading.stories.js +0 -150
- package/dist/components/atoms/typography/Link.stories.d.ts +0 -72
- package/dist/components/atoms/typography/Link.stories.js +0 -164
- package/dist/components/atoms/typography/Paragraph.stories.d.ts +0 -56
- package/dist/components/atoms/typography/Paragraph.stories.js +0 -97
- package/dist/components/atoms/typography/SmallTitle.stories.d.ts +0 -42
- package/dist/components/atoms/typography/SmallTitle.stories.js +0 -72
- package/dist/components/atoms/typography/Subtitle.stories.d.ts +0 -40
- package/dist/components/atoms/typography/Subtitle.stories.js +0 -60
- package/dist/components/atoms/typography/TinyInfo.stories.d.ts +0 -58
- package/dist/components/atoms/typography/TinyInfo.stories.js +0 -117
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.d.ts +0 -17
- package/dist/components/atoms/uiVariables/AnimatedBorder.stories.js +0 -20
- package/dist/components/atoms/uiVariables/BorderRadius.stories.d.ts +0 -18
- package/dist/components/atoms/uiVariables/BorderRadius.stories.js +0 -34
- package/dist/components/atoms/uiVariables/Shadows.stories.d.ts +0 -18
- package/dist/components/atoms/uiVariables/Shadows.stories.js +0 -34
- package/dist/components/atoms/uiVariables/Strokes.stories.d.ts +0 -18
- package/dist/components/atoms/uiVariables/Strokes.stories.js +0 -34
- package/dist/components/molecules/AiText/aiText.stories.d.ts +0 -43
- package/dist/components/molecules/AiText/aiText.stories.js +0 -216
- package/dist/components/molecules/DataStepper/Stepper.stories.d.ts +0 -8
- package/dist/components/molecules/DataStepper/Stepper.stories.js +0 -248
- package/dist/components/molecules/appointmentCard/AppointmentCard.stories.d.ts +0 -37
- package/dist/components/molecules/appointmentCard/AppointmentCard.stories.js +0 -106
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.d.ts +0 -95
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.stories.js +0 -204
- package/dist/components/molecules/banner/Banner.stories.d.ts +0 -31
- package/dist/components/molecules/banner/Banner.stories.js +0 -123
- package/dist/components/molecules/billingCount/BillingCount.stories.d.ts +0 -22
- package/dist/components/molecules/billingCount/BillingCount.stories.js +0 -49
- package/dist/components/molecules/blogCard/BlogCard.stories.d.ts +0 -10
- package/dist/components/molecules/blogCard/BlogCard.stories.js +0 -33
- package/dist/components/molecules/blogFooter/BlogFooter.stories.d.ts +0 -60
- package/dist/components/molecules/blogFooter/BlogFooter.stories.js +0 -67
- package/dist/components/molecules/blogHeader/BlogHeader.stories.d.ts +0 -49
- package/dist/components/molecules/blogHeader/BlogHeader.stories.js +0 -63
- package/dist/components/molecules/blogText/BlogText.stories.d.ts +0 -31
- package/dist/components/molecules/blogText/BlogText.stories.js +0 -51
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.d.ts +0 -37
- package/dist/components/molecules/blogTextImageBlock/BlogTextImageBlock.stories.js +0 -58
- package/dist/components/molecules/brands/Brands.stories.d.ts +0 -8
- package/dist/components/molecules/brands/Brands.stories.js +0 -66
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.d.ts +0 -24
- package/dist/components/molecules/breadcrumb/Breadcrumb.stories.js +0 -54
- package/dist/components/molecules/caseCard/CaseCard.stories.d.ts +0 -114
- package/dist/components/molecules/caseCard/CaseCard.stories.js +0 -200
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.d.ts +0 -11
- package/dist/components/molecules/caseCardCompact/CaseCardCompact.stories.js +0 -59
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.d.ts +0 -9
- package/dist/components/molecules/caseLinkCard/CaseCardLink.stories.js +0 -37
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.d.ts +0 -94
- package/dist/components/molecules/checkboxForm/CheckboxForm.stories.js +0 -157
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.d.ts +0 -108
- package/dist/components/molecules/checkboxForm/ColoredCheckbox.stories.js +0 -141
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.d.ts +0 -11
- package/dist/components/molecules/clientLinkCard/ClientLinkCard.stories.js +0 -59
- package/dist/components/molecules/contactCard/ContactCard.stories.d.ts +0 -69
- package/dist/components/molecules/contactCard/ContactCard.stories.js +0 -84
- package/dist/components/molecules/contactCard/ContactCardEdit.stories.d.ts +0 -88
- package/dist/components/molecules/contactCard/ContactCardEdit.stories.js +0 -106
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.d.ts +0 -94
- package/dist/components/molecules/contactCard/DetailedContactCard.stories.js +0 -83
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.d.ts +0 -291
- package/dist/components/molecules/datepickerForm/DatepickerForm.stories.js +0 -185
- package/dist/components/molecules/documentCard/DocumentCard.stories.d.ts +0 -72
- package/dist/components/molecules/documentCard/DocumentCard.stories.js +0 -108
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.d.ts +0 -74
- package/dist/components/molecules/employeeCard/EmployeeCard.stories.js +0 -65
- package/dist/components/molecules/emptyMessage/EmptyMessage.stories.d.ts +0 -75
- package/dist/components/molecules/emptyMessage/EmptyMessage.stories.js +0 -115
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.d.ts +0 -10
- package/dist/components/molecules/entityAdminCard/entityAdminCard.stories.js +0 -50
- package/dist/components/molecules/entityCard/EntityCard.stories.d.ts +0 -22
- package/dist/components/molecules/entityCard/EntityCard.stories.js +0 -63
- package/dist/components/molecules/featureGrid/FeatureGrid.stories.d.ts +0 -7
- package/dist/components/molecules/featureGrid/FeatureGrid.stories.js +0 -97
- package/dist/components/molecules/fileCard/FileCard.stories.d.ts +0 -42
- package/dist/components/molecules/fileCard/FileCard.stories.js +0 -185
- package/dist/components/molecules/fileUploader/FileUploader.stories.d.ts +0 -120
- package/dist/components/molecules/fileUploader/FileUploader.stories.js +0 -269
- package/dist/components/molecules/flexContent/FlexContent.stories.d.ts +0 -9
- package/dist/components/molecules/flexContent/FlexContent.stories.js +0 -47
- package/dist/components/molecules/frameCTA/FrameCTA.stories.d.ts +0 -8
- package/dist/components/molecules/frameCTA/FrameCTA.stories.js +0 -58
- package/dist/components/molecules/heroSection/HeroSection.stories.d.ts +0 -46
- package/dist/components/molecules/heroSection/HeroSection.stories.js +0 -100
- package/dist/components/molecules/loadingBox/LoadingBox.stories.d.ts +0 -54
- package/dist/components/molecules/loadingBox/LoadingBox.stories.js +0 -128
- package/dist/components/molecules/modal/Modal.stories.d.ts +0 -128
- package/dist/components/molecules/modal/Modal.stories.js +0 -373
- package/dist/components/molecules/notification/Notification.stories.d.ts +0 -377
- package/dist/components/molecules/notification/Notification.stories.js +0 -205
- package/dist/components/molecules/pagination/Pagination.stories.d.ts +0 -44
- package/dist/components/molecules/pagination/Pagination.stories.js +0 -59
- package/dist/components/molecules/proCard/ProCard.stories.d.ts +0 -49
- package/dist/components/molecules/proCard/ProCard.stories.js +0 -69
- package/dist/components/molecules/proSwitch/AvatarBubble.stories.d.ts +0 -112
- package/dist/components/molecules/proSwitch/AvatarBubble.stories.js +0 -255
- package/dist/components/molecules/proSwitch/AvatarToggleGroup.stories.d.ts +0 -88
- package/dist/components/molecules/proSwitch/AvatarToggleGroup.stories.js +0 -328
- package/dist/components/molecules/proSwitch/ProSwitch.stories.d.ts +0 -9
- package/dist/components/molecules/proSwitch/ProSwitch.stories.js +0 -152
- package/dist/components/molecules/proSwitch/ProSwitchModal.stories.d.ts +0 -62
- package/dist/components/molecules/proSwitch/ProSwitchModal.stories.js +0 -269
- package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.d.ts +0 -17
- package/dist/components/molecules/questionAnswer/QuestionAnswer.stories.js +0 -48
- package/dist/components/molecules/radioForm/RadioForm.stories.d.ts +0 -37
- package/dist/components/molecules/radioForm/RadioForm.stories.js +0 -75
- package/dist/components/molecules/rangeSlider/RangeSlider.stories.d.ts +0 -96
- package/dist/components/molecules/rangeSlider/RangeSlider.stories.js +0 -162
- package/dist/components/molecules/section/Section.stories.d.ts +0 -42
- package/dist/components/molecules/section/Section.stories.js +0 -162
- package/dist/components/molecules/segmentedControl/segmentedControl.stories.d.ts +0 -70
- package/dist/components/molecules/segmentedControl/segmentedControl.stories.js +0 -185
- package/dist/components/molecules/selectForm/SelectForm.stories.d.ts +0 -79
- package/dist/components/molecules/selectForm/SelectForm.stories.js +0 -113
- package/dist/components/molecules/stepper/Stepper.stories.d.ts +0 -62
- package/dist/components/molecules/stepper/Stepper.stories.js +0 -215
- package/dist/stories/Header.d.ts +0 -13
- package/dist/stories/Header.js +0 -20
- package/dist/stories/Header.stories.d.ts +0 -18
- package/dist/stories/Header.stories.js +0 -26
- package/dist/stories/Page.d.ts +0 -3
- package/dist/stories/Page.js +0 -37
- package/dist/stories/Page.stories.d.ts +0 -12
- package/dist/stories/Page.stories.js +0 -76
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { Notification as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace parameters {
|
|
6
|
-
let layout: string;
|
|
7
|
-
namespace docs {
|
|
8
|
-
namespace story {
|
|
9
|
-
let inline: boolean;
|
|
10
|
-
let iframeHeight: number;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export let decorators: ((Story: any) => React.JSX.Element)[];
|
|
15
|
-
export namespace argTypes {
|
|
16
|
-
export namespace show {
|
|
17
|
-
namespace control {
|
|
18
|
-
let type: string;
|
|
19
|
-
}
|
|
20
|
-
let description: string;
|
|
21
|
-
namespace table {
|
|
22
|
-
export namespace type_1 {
|
|
23
|
-
let summary: string;
|
|
24
|
-
}
|
|
25
|
-
export { type_1 as type };
|
|
26
|
-
export namespace defaultValue {
|
|
27
|
-
let summary_1: string;
|
|
28
|
-
export { summary_1 as summary };
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export namespace icon {
|
|
33
|
-
export namespace control_1 {
|
|
34
|
-
let type_2: string;
|
|
35
|
-
export { type_2 as type };
|
|
36
|
-
}
|
|
37
|
-
export { control_1 as control };
|
|
38
|
-
let description_1: string;
|
|
39
|
-
export { description_1 as description };
|
|
40
|
-
export namespace table_1 {
|
|
41
|
-
export namespace type_3 {
|
|
42
|
-
let summary_2: string;
|
|
43
|
-
export { summary_2 as summary };
|
|
44
|
-
}
|
|
45
|
-
export { type_3 as type };
|
|
46
|
-
export namespace defaultValue_1 {
|
|
47
|
-
let summary_3: string;
|
|
48
|
-
export { summary_3 as summary };
|
|
49
|
-
}
|
|
50
|
-
export { defaultValue_1 as defaultValue };
|
|
51
|
-
}
|
|
52
|
-
export { table_1 as table };
|
|
53
|
-
}
|
|
54
|
-
export namespace title_1 {
|
|
55
|
-
export namespace control_2 {
|
|
56
|
-
let type_4: string;
|
|
57
|
-
export { type_4 as type };
|
|
58
|
-
}
|
|
59
|
-
export { control_2 as control };
|
|
60
|
-
let description_2: string;
|
|
61
|
-
export { description_2 as description };
|
|
62
|
-
export namespace table_2 {
|
|
63
|
-
export namespace type_5 {
|
|
64
|
-
let summary_4: string;
|
|
65
|
-
export { summary_4 as summary };
|
|
66
|
-
}
|
|
67
|
-
export { type_5 as type };
|
|
68
|
-
}
|
|
69
|
-
export { table_2 as table };
|
|
70
|
-
}
|
|
71
|
-
export { title_1 as title };
|
|
72
|
-
export namespace showProgressBar {
|
|
73
|
-
export namespace control_3 {
|
|
74
|
-
let type_6: string;
|
|
75
|
-
export { type_6 as type };
|
|
76
|
-
}
|
|
77
|
-
export { control_3 as control };
|
|
78
|
-
let description_3: string;
|
|
79
|
-
export { description_3 as description };
|
|
80
|
-
export namespace table_3 {
|
|
81
|
-
export namespace type_7 {
|
|
82
|
-
let summary_5: string;
|
|
83
|
-
export { summary_5 as summary };
|
|
84
|
-
}
|
|
85
|
-
export { type_7 as type };
|
|
86
|
-
export namespace defaultValue_2 {
|
|
87
|
-
let summary_6: string;
|
|
88
|
-
export { summary_6 as summary };
|
|
89
|
-
}
|
|
90
|
-
export { defaultValue_2 as defaultValue };
|
|
91
|
-
}
|
|
92
|
-
export { table_3 as table };
|
|
93
|
-
}
|
|
94
|
-
export namespace progressBarValue {
|
|
95
|
-
export namespace control_4 {
|
|
96
|
-
let type_8: string;
|
|
97
|
-
export { type_8 as type };
|
|
98
|
-
export let min: number;
|
|
99
|
-
export let max: number;
|
|
100
|
-
export let step: number;
|
|
101
|
-
}
|
|
102
|
-
export { control_4 as control };
|
|
103
|
-
let description_4: string;
|
|
104
|
-
export { description_4 as description };
|
|
105
|
-
export namespace table_4 {
|
|
106
|
-
export namespace type_9 {
|
|
107
|
-
let summary_7: string;
|
|
108
|
-
export { summary_7 as summary };
|
|
109
|
-
}
|
|
110
|
-
export { type_9 as type };
|
|
111
|
-
export namespace defaultValue_3 {
|
|
112
|
-
let summary_8: string;
|
|
113
|
-
export { summary_8 as summary };
|
|
114
|
-
}
|
|
115
|
-
export { defaultValue_3 as defaultValue };
|
|
116
|
-
}
|
|
117
|
-
export { table_4 as table };
|
|
118
|
-
}
|
|
119
|
-
export namespace primaryButtonLabel {
|
|
120
|
-
export namespace control_5 {
|
|
121
|
-
let type_10: string;
|
|
122
|
-
export { type_10 as type };
|
|
123
|
-
}
|
|
124
|
-
export { control_5 as control };
|
|
125
|
-
let description_5: string;
|
|
126
|
-
export { description_5 as description };
|
|
127
|
-
export namespace table_5 {
|
|
128
|
-
export namespace type_11 {
|
|
129
|
-
let summary_9: string;
|
|
130
|
-
export { summary_9 as summary };
|
|
131
|
-
}
|
|
132
|
-
export { type_11 as type };
|
|
133
|
-
}
|
|
134
|
-
export { table_5 as table };
|
|
135
|
-
}
|
|
136
|
-
export namespace secondaryButtonLabel {
|
|
137
|
-
export namespace control_6 {
|
|
138
|
-
let type_12: string;
|
|
139
|
-
export { type_12 as type };
|
|
140
|
-
}
|
|
141
|
-
export { control_6 as control };
|
|
142
|
-
let description_6: string;
|
|
143
|
-
export { description_6 as description };
|
|
144
|
-
export namespace table_6 {
|
|
145
|
-
export namespace type_13 {
|
|
146
|
-
let summary_10: string;
|
|
147
|
-
export { summary_10 as summary };
|
|
148
|
-
}
|
|
149
|
-
export { type_13 as type };
|
|
150
|
-
}
|
|
151
|
-
export { table_6 as table };
|
|
152
|
-
}
|
|
153
|
-
export namespace primaryOnClick {
|
|
154
|
-
export let action: string;
|
|
155
|
-
let description_7: string;
|
|
156
|
-
export { description_7 as description };
|
|
157
|
-
export namespace table_7 {
|
|
158
|
-
export namespace type_14 {
|
|
159
|
-
let summary_11: string;
|
|
160
|
-
export { summary_11 as summary };
|
|
161
|
-
}
|
|
162
|
-
export { type_14 as type };
|
|
163
|
-
}
|
|
164
|
-
export { table_7 as table };
|
|
165
|
-
}
|
|
166
|
-
export namespace secondaryOnClick {
|
|
167
|
-
let action_1: string;
|
|
168
|
-
export { action_1 as action };
|
|
169
|
-
let description_8: string;
|
|
170
|
-
export { description_8 as description };
|
|
171
|
-
export namespace table_8 {
|
|
172
|
-
export namespace type_15 {
|
|
173
|
-
let summary_12: string;
|
|
174
|
-
export { summary_12 as summary };
|
|
175
|
-
}
|
|
176
|
-
export { type_15 as type };
|
|
177
|
-
}
|
|
178
|
-
export { table_8 as table };
|
|
179
|
-
}
|
|
180
|
-
export namespace onClose {
|
|
181
|
-
let action_2: string;
|
|
182
|
-
export { action_2 as action };
|
|
183
|
-
let description_9: string;
|
|
184
|
-
export { description_9 as description };
|
|
185
|
-
export namespace table_9 {
|
|
186
|
-
export namespace type_16 {
|
|
187
|
-
let summary_13: string;
|
|
188
|
-
export { summary_13 as summary };
|
|
189
|
-
}
|
|
190
|
-
export { type_16 as type };
|
|
191
|
-
}
|
|
192
|
-
export { table_9 as table };
|
|
193
|
-
}
|
|
194
|
-
export namespace className {
|
|
195
|
-
export namespace control_7 {
|
|
196
|
-
let type_17: string;
|
|
197
|
-
export { type_17 as type };
|
|
198
|
-
}
|
|
199
|
-
export { control_7 as control };
|
|
200
|
-
let description_10: string;
|
|
201
|
-
export { description_10 as description };
|
|
202
|
-
export namespace table_10 {
|
|
203
|
-
export namespace type_18 {
|
|
204
|
-
let summary_14: string;
|
|
205
|
-
export { summary_14 as summary };
|
|
206
|
-
}
|
|
207
|
-
export { type_18 as type };
|
|
208
|
-
}
|
|
209
|
-
export { table_10 as table };
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
export default _default;
|
|
214
|
-
export namespace Default {
|
|
215
|
-
namespace args {
|
|
216
|
-
let show_1: boolean;
|
|
217
|
-
export { show_1 as show };
|
|
218
|
-
let icon_1: string;
|
|
219
|
-
export { icon_1 as icon };
|
|
220
|
-
let title_2: string;
|
|
221
|
-
export { title_2 as title };
|
|
222
|
-
let showProgressBar_1: boolean;
|
|
223
|
-
export { showProgressBar_1 as showProgressBar };
|
|
224
|
-
let progressBarValue_1: number;
|
|
225
|
-
export { progressBarValue_1 as progressBarValue };
|
|
226
|
-
let primaryButtonLabel_1: string;
|
|
227
|
-
export { primaryButtonLabel_1 as primaryButtonLabel };
|
|
228
|
-
let secondaryButtonLabel_1: string;
|
|
229
|
-
export { secondaryButtonLabel_1 as secondaryButtonLabel };
|
|
230
|
-
export function primaryOnClick_1(): void;
|
|
231
|
-
export { primaryOnClick_1 as primaryOnClick };
|
|
232
|
-
export function secondaryOnClick_1(): void;
|
|
233
|
-
export { secondaryOnClick_1 as secondaryOnClick };
|
|
234
|
-
export function onClose_1(): void;
|
|
235
|
-
export { onClose_1 as onClose };
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
export namespace WithProgressBar {
|
|
239
|
-
export namespace args_1 {
|
|
240
|
-
let show_2: boolean;
|
|
241
|
-
export { show_2 as show };
|
|
242
|
-
let icon_2: string;
|
|
243
|
-
export { icon_2 as icon };
|
|
244
|
-
let title_3: string;
|
|
245
|
-
export { title_3 as title };
|
|
246
|
-
let showProgressBar_2: boolean;
|
|
247
|
-
export { showProgressBar_2 as showProgressBar };
|
|
248
|
-
let progressBarValue_2: number;
|
|
249
|
-
export { progressBarValue_2 as progressBarValue };
|
|
250
|
-
let primaryButtonLabel_2: string;
|
|
251
|
-
export { primaryButtonLabel_2 as primaryButtonLabel };
|
|
252
|
-
let secondaryButtonLabel_2: string;
|
|
253
|
-
export { secondaryButtonLabel_2 as secondaryButtonLabel };
|
|
254
|
-
export function primaryOnClick_2(): void;
|
|
255
|
-
export { primaryOnClick_2 as primaryOnClick };
|
|
256
|
-
export function secondaryOnClick_2(): void;
|
|
257
|
-
export { secondaryOnClick_2 as secondaryOnClick };
|
|
258
|
-
export function onClose_2(): void;
|
|
259
|
-
export { onClose_2 as onClose };
|
|
260
|
-
}
|
|
261
|
-
export { args_1 as args };
|
|
262
|
-
}
|
|
263
|
-
export namespace DocumentNotification {
|
|
264
|
-
export namespace args_2 {
|
|
265
|
-
let show_3: boolean;
|
|
266
|
-
export { show_3 as show };
|
|
267
|
-
let icon_3: string;
|
|
268
|
-
export { icon_3 as icon };
|
|
269
|
-
let title_4: string;
|
|
270
|
-
export { title_4 as title };
|
|
271
|
-
let showProgressBar_3: boolean;
|
|
272
|
-
export { showProgressBar_3 as showProgressBar };
|
|
273
|
-
let progressBarValue_3: number;
|
|
274
|
-
export { progressBarValue_3 as progressBarValue };
|
|
275
|
-
let primaryButtonLabel_3: string;
|
|
276
|
-
export { primaryButtonLabel_3 as primaryButtonLabel };
|
|
277
|
-
let secondaryButtonLabel_3: string;
|
|
278
|
-
export { secondaryButtonLabel_3 as secondaryButtonLabel };
|
|
279
|
-
export function primaryOnClick_3(): void;
|
|
280
|
-
export { primaryOnClick_3 as primaryOnClick };
|
|
281
|
-
export function secondaryOnClick_3(): void;
|
|
282
|
-
export { secondaryOnClick_3 as secondaryOnClick };
|
|
283
|
-
export function onClose_3(): void;
|
|
284
|
-
export { onClose_3 as onClose };
|
|
285
|
-
}
|
|
286
|
-
export { args_2 as args };
|
|
287
|
-
}
|
|
288
|
-
export namespace AppointmentNotification {
|
|
289
|
-
export namespace args_3 {
|
|
290
|
-
let show_4: boolean;
|
|
291
|
-
export { show_4 as show };
|
|
292
|
-
let icon_4: string;
|
|
293
|
-
export { icon_4 as icon };
|
|
294
|
-
let title_5: string;
|
|
295
|
-
export { title_5 as title };
|
|
296
|
-
let showProgressBar_4: boolean;
|
|
297
|
-
export { showProgressBar_4 as showProgressBar };
|
|
298
|
-
let progressBarValue_4: number;
|
|
299
|
-
export { progressBarValue_4 as progressBarValue };
|
|
300
|
-
let primaryButtonLabel_4: string;
|
|
301
|
-
export { primaryButtonLabel_4 as primaryButtonLabel };
|
|
302
|
-
let secondaryButtonLabel_4: string;
|
|
303
|
-
export { secondaryButtonLabel_4 as secondaryButtonLabel };
|
|
304
|
-
export function primaryOnClick_4(): void;
|
|
305
|
-
export { primaryOnClick_4 as primaryOnClick };
|
|
306
|
-
export function secondaryOnClick_4(): void;
|
|
307
|
-
export { secondaryOnClick_4 as secondaryOnClick };
|
|
308
|
-
export function onClose_4(): void;
|
|
309
|
-
export { onClose_4 as onClose };
|
|
310
|
-
}
|
|
311
|
-
export { args_3 as args };
|
|
312
|
-
}
|
|
313
|
-
export namespace ProgressNotification {
|
|
314
|
-
export namespace args_4 {
|
|
315
|
-
let show_5: boolean;
|
|
316
|
-
export { show_5 as show };
|
|
317
|
-
let icon_5: string;
|
|
318
|
-
export { icon_5 as icon };
|
|
319
|
-
let title_6: string;
|
|
320
|
-
export { title_6 as title };
|
|
321
|
-
let showProgressBar_5: boolean;
|
|
322
|
-
export { showProgressBar_5 as showProgressBar };
|
|
323
|
-
let progressBarValue_5: number;
|
|
324
|
-
export { progressBarValue_5 as progressBarValue };
|
|
325
|
-
let primaryButtonLabel_5: string;
|
|
326
|
-
export { primaryButtonLabel_5 as primaryButtonLabel };
|
|
327
|
-
let secondaryButtonLabel_5: string;
|
|
328
|
-
export { secondaryButtonLabel_5 as secondaryButtonLabel };
|
|
329
|
-
export function primaryOnClick_5(): void;
|
|
330
|
-
export { primaryOnClick_5 as primaryOnClick };
|
|
331
|
-
export function secondaryOnClick_5(): void;
|
|
332
|
-
export { secondaryOnClick_5 as secondaryOnClick };
|
|
333
|
-
export function onClose_5(): void;
|
|
334
|
-
export { onClose_5 as onClose };
|
|
335
|
-
}
|
|
336
|
-
export { args_4 as args };
|
|
337
|
-
}
|
|
338
|
-
export namespace RelativePosition {
|
|
339
|
-
export namespace args_5 {
|
|
340
|
-
let show_6: boolean;
|
|
341
|
-
export { show_6 as show };
|
|
342
|
-
let icon_6: string;
|
|
343
|
-
export { icon_6 as icon };
|
|
344
|
-
let title_7: string;
|
|
345
|
-
export { title_7 as title };
|
|
346
|
-
let showProgressBar_6: boolean;
|
|
347
|
-
export { showProgressBar_6 as showProgressBar };
|
|
348
|
-
let progressBarValue_6: number;
|
|
349
|
-
export { progressBarValue_6 as progressBarValue };
|
|
350
|
-
let primaryButtonLabel_6: string;
|
|
351
|
-
export { primaryButtonLabel_6 as primaryButtonLabel };
|
|
352
|
-
let secondaryButtonLabel_6: string;
|
|
353
|
-
export { secondaryButtonLabel_6 as secondaryButtonLabel };
|
|
354
|
-
export function primaryOnClick_6(): void;
|
|
355
|
-
export { primaryOnClick_6 as primaryOnClick };
|
|
356
|
-
export function secondaryOnClick_6(): void;
|
|
357
|
-
export { secondaryOnClick_6 as secondaryOnClick };
|
|
358
|
-
export function onClose_6(): void;
|
|
359
|
-
export { onClose_6 as onClose };
|
|
360
|
-
let className_1: string;
|
|
361
|
-
export { className_1 as className };
|
|
362
|
-
}
|
|
363
|
-
export { args_5 as args };
|
|
364
|
-
export namespace parameters_1 {
|
|
365
|
-
export namespace docs_1 {
|
|
366
|
-
export namespace description_11 {
|
|
367
|
-
let story_1: string;
|
|
368
|
-
export { story_1 as story };
|
|
369
|
-
}
|
|
370
|
-
export { description_11 as description };
|
|
371
|
-
}
|
|
372
|
-
export { docs_1 as docs };
|
|
373
|
-
}
|
|
374
|
-
export { parameters_1 as parameters };
|
|
375
|
-
}
|
|
376
|
-
import Notification from "./Notification";
|
|
377
|
-
import React from "react";
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Notification from "./Notification";
|
|
3
|
-
export default {
|
|
4
|
-
title: "components/molecules/Notification",
|
|
5
|
-
component: Notification,
|
|
6
|
-
tags: ["autodocs"],
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: "centered",
|
|
9
|
-
docs: {
|
|
10
|
-
story: {
|
|
11
|
-
inline: true,
|
|
12
|
-
iframeHeight: 400,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
decorators: [
|
|
17
|
-
function (Story) { return (React.createElement("div", { style: {
|
|
18
|
-
width: "100vw",
|
|
19
|
-
height: "400px",
|
|
20
|
-
position: "relative",
|
|
21
|
-
background: "#f5f5f5",
|
|
22
|
-
padding: "20px",
|
|
23
|
-
display: "flex",
|
|
24
|
-
alignItems: "center",
|
|
25
|
-
justifyContent: "center",
|
|
26
|
-
} },
|
|
27
|
-
React.createElement(Story, null))); },
|
|
28
|
-
],
|
|
29
|
-
argTypes: {
|
|
30
|
-
show: {
|
|
31
|
-
control: { type: "boolean" },
|
|
32
|
-
description: "Afficher ou masquer la notification",
|
|
33
|
-
table: {
|
|
34
|
-
type: { summary: "boolean" },
|
|
35
|
-
defaultValue: { summary: "true" },
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
icon: {
|
|
39
|
-
control: { type: "text" },
|
|
40
|
-
description: "Classe d'icône à afficher (ex: allaw-icon-folder)",
|
|
41
|
-
table: {
|
|
42
|
-
type: { summary: "string" },
|
|
43
|
-
defaultValue: { summary: "allaw-icon-folder" },
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
title: {
|
|
47
|
-
control: { type: "text" },
|
|
48
|
-
description: "Titre principal de la notification",
|
|
49
|
-
table: {
|
|
50
|
-
type: { summary: "string" },
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
showProgressBar: {
|
|
54
|
-
control: { type: "boolean" },
|
|
55
|
-
description: "Afficher la barre de progression",
|
|
56
|
-
table: {
|
|
57
|
-
type: { summary: "boolean" },
|
|
58
|
-
defaultValue: { summary: "false" },
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
progressBarValue: {
|
|
62
|
-
control: { type: "range", min: 0, max: 100, step: 1 },
|
|
63
|
-
description: "Valeur de progression (0-100)",
|
|
64
|
-
table: {
|
|
65
|
-
type: { summary: "number" },
|
|
66
|
-
defaultValue: { summary: "0" },
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
primaryButtonLabel: {
|
|
70
|
-
control: { type: "text" },
|
|
71
|
-
description: "Label du bouton principal",
|
|
72
|
-
table: {
|
|
73
|
-
type: { summary: "string" },
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
secondaryButtonLabel: {
|
|
77
|
-
control: { type: "text" },
|
|
78
|
-
description: "Label du bouton secondaire",
|
|
79
|
-
table: {
|
|
80
|
-
type: { summary: "string" },
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
primaryOnClick: {
|
|
84
|
-
action: "primary-clicked",
|
|
85
|
-
description: "Fonction appelée lors du clic sur le bouton principal",
|
|
86
|
-
table: {
|
|
87
|
-
type: { summary: "function" },
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
secondaryOnClick: {
|
|
91
|
-
action: "secondary-clicked",
|
|
92
|
-
description: "Fonction appelée lors du clic sur le bouton secondaire",
|
|
93
|
-
table: {
|
|
94
|
-
type: { summary: "function" },
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
onClose: {
|
|
98
|
-
action: "closed",
|
|
99
|
-
description: "Fonction appelée lors de la fermeture",
|
|
100
|
-
table: {
|
|
101
|
-
type: { summary: "function" },
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
className: {
|
|
105
|
-
control: { type: "text" },
|
|
106
|
-
description: "Classe CSS personnalisée",
|
|
107
|
-
table: {
|
|
108
|
-
type: { summary: "string" },
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
};
|
|
113
|
-
export var Default = {
|
|
114
|
-
args: {
|
|
115
|
-
show: true,
|
|
116
|
-
icon: "allaw-icon-folder",
|
|
117
|
-
title: "Complétez le dossier de Vincent DESBROSSES",
|
|
118
|
-
showProgressBar: false,
|
|
119
|
-
progressBarValue: 0,
|
|
120
|
-
primaryButtonLabel: "Voir le dossier",
|
|
121
|
-
secondaryButtonLabel: "Ignorer",
|
|
122
|
-
primaryOnClick: function () { return console.log("Primary button clicked"); },
|
|
123
|
-
secondaryOnClick: function () { return console.log("Secondary button clicked"); },
|
|
124
|
-
onClose: function () { return console.log("Notification closed"); },
|
|
125
|
-
},
|
|
126
|
-
};
|
|
127
|
-
export var WithProgressBar = {
|
|
128
|
-
args: {
|
|
129
|
-
show: true,
|
|
130
|
-
icon: "allaw-icon-folder",
|
|
131
|
-
title: "Dossier complété à 80%",
|
|
132
|
-
showProgressBar: true,
|
|
133
|
-
progressBarValue: 80,
|
|
134
|
-
primaryButtonLabel: "Voir le dossier",
|
|
135
|
-
secondaryButtonLabel: "Ignorer",
|
|
136
|
-
primaryOnClick: function () { return console.log("Primary button clicked"); },
|
|
137
|
-
secondaryOnClick: function () { return console.log("Secondary button clicked"); },
|
|
138
|
-
onClose: function () { return console.log("Notification closed"); },
|
|
139
|
-
},
|
|
140
|
-
};
|
|
141
|
-
export var DocumentNotification = {
|
|
142
|
-
args: {
|
|
143
|
-
show: true,
|
|
144
|
-
icon: "allaw-icon-file",
|
|
145
|
-
title: "Nouveau document reçu",
|
|
146
|
-
showProgressBar: false,
|
|
147
|
-
progressBarValue: 0,
|
|
148
|
-
primaryButtonLabel: "Consulter",
|
|
149
|
-
secondaryButtonLabel: "Plus tard",
|
|
150
|
-
primaryOnClick: function () { return console.log("Primary button clicked"); },
|
|
151
|
-
secondaryOnClick: function () { return console.log("Secondary button clicked"); },
|
|
152
|
-
onClose: function () { return console.log("Notification closed"); },
|
|
153
|
-
},
|
|
154
|
-
};
|
|
155
|
-
export var AppointmentNotification = {
|
|
156
|
-
args: {
|
|
157
|
-
show: true,
|
|
158
|
-
icon: "allaw-icon-calendar",
|
|
159
|
-
title: "Nouveau rendez-vous confirmé",
|
|
160
|
-
showProgressBar: false,
|
|
161
|
-
progressBarValue: 0,
|
|
162
|
-
primaryButtonLabel: "Voir l'agenda",
|
|
163
|
-
secondaryButtonLabel: "OK",
|
|
164
|
-
primaryOnClick: function () { return console.log("Primary button clicked"); },
|
|
165
|
-
secondaryOnClick: function () { return console.log("Secondary button clicked"); },
|
|
166
|
-
onClose: function () { return console.log("Notification closed"); },
|
|
167
|
-
},
|
|
168
|
-
};
|
|
169
|
-
export var ProgressNotification = {
|
|
170
|
-
args: {
|
|
171
|
-
show: true,
|
|
172
|
-
icon: "allaw-icon-upload",
|
|
173
|
-
title: "Upload en cours...",
|
|
174
|
-
showProgressBar: true,
|
|
175
|
-
progressBarValue: 45,
|
|
176
|
-
primaryButtonLabel: "Voir les détails",
|
|
177
|
-
secondaryButtonLabel: "Annuler",
|
|
178
|
-
primaryOnClick: function () { return console.log("Primary button clicked"); },
|
|
179
|
-
secondaryOnClick: function () { return console.log("Secondary button clicked"); },
|
|
180
|
-
onClose: function () { return console.log("Notification closed"); },
|
|
181
|
-
},
|
|
182
|
-
};
|
|
183
|
-
// Version avec positionnement relatif pour mieux voir dans Storybook
|
|
184
|
-
export var RelativePosition = {
|
|
185
|
-
args: {
|
|
186
|
-
show: true,
|
|
187
|
-
icon: "allaw-icon-folder",
|
|
188
|
-
title: "Complétez le dossier de Vincent DESBROSSES",
|
|
189
|
-
showProgressBar: true,
|
|
190
|
-
progressBarValue: 75,
|
|
191
|
-
primaryButtonLabel: "Voir le dossier",
|
|
192
|
-
secondaryButtonLabel: "Ignorer",
|
|
193
|
-
primaryOnClick: function () { return console.log("Primary button clicked"); },
|
|
194
|
-
secondaryOnClick: function () { return console.log("Secondary button clicked"); },
|
|
195
|
-
onClose: function () { return console.log("Notification closed"); },
|
|
196
|
-
className: "storybook-relative",
|
|
197
|
-
},
|
|
198
|
-
parameters: {
|
|
199
|
-
docs: {
|
|
200
|
-
description: {
|
|
201
|
-
story: "Version avec positionnement relatif pour une meilleure visualisation dans Storybook.",
|
|
202
|
-
},
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export let title: string;
|
|
3
|
-
export { Pagination as component };
|
|
4
|
-
export let tags: string[];
|
|
5
|
-
export namespace args {
|
|
6
|
-
let currentPage: number;
|
|
7
|
-
let totalPages: number;
|
|
8
|
-
function onPageChange(page: any): void;
|
|
9
|
-
}
|
|
10
|
-
export namespace argTypes {
|
|
11
|
-
export namespace currentPage_1 {
|
|
12
|
-
namespace control {
|
|
13
|
-
let type: string;
|
|
14
|
-
let min: number;
|
|
15
|
-
}
|
|
16
|
-
let description: string;
|
|
17
|
-
}
|
|
18
|
-
export { currentPage_1 as currentPage };
|
|
19
|
-
export namespace totalPages_1 {
|
|
20
|
-
export namespace control_1 {
|
|
21
|
-
let type_1: string;
|
|
22
|
-
export { type_1 as type };
|
|
23
|
-
let min_1: number;
|
|
24
|
-
export { min_1 as min };
|
|
25
|
-
}
|
|
26
|
-
export { control_1 as control };
|
|
27
|
-
let description_1: string;
|
|
28
|
-
export { description_1 as description };
|
|
29
|
-
}
|
|
30
|
-
export { totalPages_1 as totalPages };
|
|
31
|
-
export namespace onPageChange_1 {
|
|
32
|
-
export let action: string;
|
|
33
|
-
let description_2: string;
|
|
34
|
-
export { description_2 as description };
|
|
35
|
-
}
|
|
36
|
-
export { onPageChange_1 as onPageChange };
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export default _default;
|
|
40
|
-
export const Default: any;
|
|
41
|
-
export const FirstPage: any;
|
|
42
|
-
export const LastPage: any;
|
|
43
|
-
export const FewPages: any;
|
|
44
|
-
import Pagination from "./Pagination";
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import React from "react";
|
|
13
|
-
import Pagination from "./Pagination";
|
|
14
|
-
import "../../../styles/global.css";
|
|
15
|
-
export default {
|
|
16
|
-
title: "Components/Molecules/Pagination",
|
|
17
|
-
component: Pagination,
|
|
18
|
-
tags: ["autodocs"],
|
|
19
|
-
args: {
|
|
20
|
-
currentPage: 21,
|
|
21
|
-
totalPages: 42,
|
|
22
|
-
onPageChange: function (page) { return console.log("Page changed to ".concat(page)); },
|
|
23
|
-
},
|
|
24
|
-
argTypes: {
|
|
25
|
-
currentPage: {
|
|
26
|
-
control: { type: "number", min: 1 },
|
|
27
|
-
description: "La page actuellement sélectionnée",
|
|
28
|
-
},
|
|
29
|
-
totalPages: {
|
|
30
|
-
control: { type: "number", min: 1 },
|
|
31
|
-
description: "Le nombre total de pages",
|
|
32
|
-
},
|
|
33
|
-
onPageChange: {
|
|
34
|
-
action: "page changed",
|
|
35
|
-
description: "Fonction appelée lors du changement de page",
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
var Template = function (args) { return React.createElement(Pagination, __assign({}, args)); };
|
|
40
|
-
export var Default = Template.bind({});
|
|
41
|
-
Default.args = {
|
|
42
|
-
currentPage: 21,
|
|
43
|
-
totalPages: 42,
|
|
44
|
-
};
|
|
45
|
-
export var FirstPage = Template.bind({});
|
|
46
|
-
FirstPage.args = {
|
|
47
|
-
currentPage: 1,
|
|
48
|
-
totalPages: 42,
|
|
49
|
-
};
|
|
50
|
-
export var LastPage = Template.bind({});
|
|
51
|
-
LastPage.args = {
|
|
52
|
-
currentPage: 42,
|
|
53
|
-
totalPages: 42,
|
|
54
|
-
};
|
|
55
|
-
export var FewPages = Template.bind({});
|
|
56
|
-
FewPages.args = {
|
|
57
|
-
currentPage: 3,
|
|
58
|
-
totalPages: 5,
|
|
59
|
-
};
|