@prokodo/ui 0.1.14 → 1.0.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/LICENSE +187 -26
- package/NOTICE +24 -0
- package/README.md +32 -302
- package/dist/components/RTE/RTE.client.js +0 -1
- package/dist/components/RTE/RTE.css +180 -68
- package/dist/components/RTE/RTE.js +4 -1
- package/dist/components/RTE/RTE.module.css +180 -68
- package/dist/components/RTE/RTE.module.scss.js +10 -0
- package/dist/components/RTE/RTE.view.js +5 -1
- package/dist/components/accordion/Accordion.css +120 -67
- package/dist/components/accordion/Accordion.js +8 -2
- package/dist/components/accordion/Accordion.module.css +120 -67
- package/dist/components/accordion/Accordion.module.scss.js +12 -5
- package/dist/components/accordion/Accordion.view.js +4 -4
- package/dist/components/animated/Animated.client.js +13 -5
- package/dist/components/animated/Animated.js +8 -2
- package/dist/components/animatedText/AnimatedText.client.js +10 -2
- package/dist/components/animatedText/AnimatedText.js +8 -2
- package/dist/components/autocomplete/Autocomplete.client.js +5 -1
- package/dist/components/autocomplete/Autocomplete.css +111 -95
- package/dist/components/autocomplete/Autocomplete.js +4 -1
- package/dist/components/autocomplete/Autocomplete.module.css +111 -95
- package/dist/components/autocomplete/Autocomplete.module.scss.js +11 -4
- package/dist/components/autocomplete/Autocomplete.view.js +16 -5
- package/dist/components/avatar/Avatar.css +11 -8
- package/dist/components/avatar/Avatar.js +4 -1
- package/dist/components/avatar/Avatar.module.css +11 -8
- package/dist/components/avatar/Avatar.module.scss.js +1 -0
- package/dist/components/avatar/Avatar.view.js +22 -15
- package/dist/components/base-link/BaseLink.js +4 -1
- package/dist/components/base-link/BaseLink.view.js +3 -0
- package/dist/components/button/Button.client.js +12 -16
- package/dist/components/button/Button.css +85 -137
- package/dist/components/button/Button.js +4 -1
- package/dist/components/button/Button.module.css +85 -137
- package/dist/components/button/Button.module.scss.js +15 -19
- package/dist/components/button/Button.view.js +8 -2
- package/dist/components/calendly/Calendly.css +132 -0
- package/dist/components/calendly/Calendly.js +8 -2
- package/dist/components/calendly/Calendly.module.css +132 -0
- package/dist/components/calendly/Calendly.module.scss.js +6 -0
- package/dist/components/calendly/Calendly.view.js +12 -6
- package/dist/components/card/Card.client.js +6 -1
- package/dist/components/card/Card.css +67 -32
- package/dist/components/card/Card.js +11 -5
- package/dist/components/card/Card.module.css +67 -32
- package/dist/components/card/Card.module.scss.js +8 -2
- package/dist/components/card/Card.view.js +25 -8
- package/dist/components/carousel/Carousel.client.js +138 -129
- package/dist/components/carousel/Carousel.css +8 -4
- package/dist/components/carousel/Carousel.js +8 -2
- package/dist/components/carousel/Carousel.module.css +8 -4
- package/dist/components/carousel/Carousel.view.js +10 -0
- package/dist/components/checkbox/Checkbox.css +100 -79
- package/dist/components/checkbox/Checkbox.js +4 -1
- package/dist/components/checkbox/Checkbox.module.css +100 -79
- package/dist/components/checkbox/Checkbox.module.scss.js +11 -4
- package/dist/components/checkbox/Checkbox.view.js +7 -2
- package/dist/components/checkbox-group/CheckboxGroup.css +39 -6
- package/dist/components/checkbox-group/CheckboxGroup.js +4 -1
- package/dist/components/checkbox-group/CheckboxGroup.module.css +39 -6
- package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +8 -0
- package/dist/components/checkbox-group/CheckboxGroup.view.js +7 -2
- package/dist/components/chip/Chip.css +185 -61
- package/dist/components/chip/Chip.js +4 -1
- package/dist/components/chip/Chip.module.css +185 -61
- package/dist/components/chip/Chip.module.scss.js +13 -17
- package/dist/components/chip/Chip.view.js +7 -4
- package/dist/components/datePicker/DatePicker.client.js +211 -66
- package/dist/components/datePicker/DatePicker.css +940 -0
- package/dist/components/datePicker/DatePicker.js +4 -1
- package/dist/components/datePicker/DatePicker.module.css +940 -0
- package/dist/components/datePicker/DatePicker.module.scss.js +62 -0
- package/dist/components/datePicker/DatePicker.server.js +31 -1
- package/dist/components/datePicker/DatePicker.utils.js +103 -0
- package/dist/components/datePicker/DatePicker.view.js +113 -41
- package/dist/components/datePicker/DatePickerDialog.view.js +291 -0
- package/dist/components/dialog/Dialog.css +107 -132
- package/dist/components/dialog/Dialog.js +8 -2
- package/dist/components/dialog/Dialog.module.css +107 -132
- package/dist/components/dialog/Dialog.module.scss.js +13 -8
- package/dist/components/dialog/Dialog.view.js +23 -5
- package/dist/components/drawer/Drawer.client.js +0 -1
- package/dist/components/drawer/Drawer.css +8 -8
- package/dist/components/drawer/Drawer.js +4 -1
- package/dist/components/drawer/Drawer.module.css +8 -8
- package/dist/components/drawer/Drawer.view.js +14 -3
- package/dist/components/dynamic-list/DynamicList.client.js +1 -0
- package/dist/components/dynamic-list/DynamicList.css +20 -12
- package/dist/components/dynamic-list/DynamicList.js +4 -1
- package/dist/components/dynamic-list/DynamicList.module.css +20 -12
- package/dist/components/dynamic-list/DynamicList.module.scss.js +1 -0
- package/dist/components/dynamic-list/DynamicList.view.js +89 -44
- package/dist/components/form/Form.client.js +4 -1
- package/dist/components/form/Form.js +4 -1
- package/dist/components/form/Form.view.js +6 -4
- package/dist/components/form/FormField.client.js +59 -4
- package/dist/components/form/FormField.js +4 -1
- package/dist/components/form/FormField.server.js +10 -4
- package/dist/components/form/FormResponse.js +6 -3
- package/dist/components/grid/Grid.css +1 -1
- package/dist/components/grid/Grid.module.css +1 -1
- package/dist/components/headline/Headline.css +16 -16
- package/dist/components/headline/Headline.js +13 -8
- package/dist/components/headline/Headline.module.css +16 -16
- package/dist/components/headline/Headline.module.scss.js +1 -1
- package/dist/components/headline/Headline.variants.js +4 -1
- package/dist/components/icon/Icon.css +14 -14
- package/dist/components/icon/Icon.js +8 -2
- package/dist/components/icon/Icon.module.css +14 -14
- package/dist/components/image/Image.client.js +9 -5
- package/dist/components/image/Image.css +4 -3
- package/dist/components/image/Image.js +8 -2
- package/dist/components/image/Image.module.css +4 -3
- package/dist/components/image/Image.server.js +2 -1
- package/dist/components/image-text/ImageText.css +43 -14
- package/dist/components/image-text/ImageText.js +68 -50
- package/dist/components/image-text/ImageText.module.css +43 -14
- package/dist/components/image-text/ImageText.module.scss.js +11 -2
- package/dist/components/input/Input.client.js +15 -2
- package/dist/components/input/Input.css +197 -115
- package/dist/components/input/Input.js +4 -1
- package/dist/components/input/Input.module.css +197 -115
- package/dist/components/input/Input.module.scss.js +19 -3
- package/dist/components/input/Input.view.js +102 -63
- package/dist/components/input/InputValidation.js +6 -2
- package/dist/components/inputOTP/InputOTP.client.js +165 -0
- package/dist/components/inputOTP/InputOTP.css +155 -7
- package/dist/components/inputOTP/InputOTP.js +10 -194
- package/dist/components/inputOTP/InputOTP.lazy.js +12 -0
- package/dist/components/inputOTP/InputOTP.module.css +155 -7
- package/dist/components/inputOTP/InputOTP.module.scss.js +14 -0
- package/dist/components/inputOTP/InputOTP.server.js +32 -0
- package/dist/components/inputOTP/InputOTP.view.js +117 -0
- package/dist/components/label/Label.css +33 -14
- package/dist/components/label/Label.js +37 -35
- package/dist/components/label/Label.module.css +33 -14
- package/dist/components/label/Label.module.scss.js +9 -2
- package/dist/components/link/Link.css +13 -13
- package/dist/components/link/Link.js +5 -3
- package/dist/components/link/Link.module.css +13 -13
- package/dist/components/link/Link.view.js +16 -13
- package/dist/components/list/List.css +71 -32
- package/dist/components/list/List.js +74 -28
- package/dist/components/list/List.module.css +71 -32
- package/dist/components/list/List.module.scss.js +1 -1
- package/dist/components/loading/Loading.js +4 -1
- package/dist/components/loading/Loading.view.js +47 -7
- package/dist/components/lottie/Lottie.css +16 -0
- package/dist/components/lottie/Lottie.js +9 -5
- package/dist/components/lottie/Lottie.module.css +16 -0
- package/dist/components/lottie/Lottie.module.scss.js +6 -2
- package/dist/components/map/Map.css +130 -0
- package/dist/components/map/Map.js +67 -46
- package/dist/components/map/Map.module.css +130 -0
- package/dist/components/map/Map.module.scss.js +6 -0
- package/dist/components/pagination/Pagination.css +127 -11
- package/dist/components/pagination/Pagination.js +4 -1
- package/dist/components/pagination/Pagination.module.css +127 -11
- package/dist/components/pagination/Pagination.module.scss.js +12 -4
- package/dist/components/pagination/Pagination.view.js +16 -2
- package/dist/components/post-item/PostItem.css +16 -16
- package/dist/components/post-item/PostItem.js +4 -1
- package/dist/components/post-item/PostItem.module.css +16 -16
- package/dist/components/post-item/PostItem.view.js +14 -5
- package/dist/components/post-item/PostItemAuthor.js +4 -1
- package/dist/components/post-teaser/PostTeaser.css +13 -13
- package/dist/components/post-teaser/PostTeaser.js +4 -1
- package/dist/components/post-teaser/PostTeaser.module.css +13 -13
- package/dist/components/post-teaser/PostTeaser.view.js +14 -5
- package/dist/components/post-widget/PostWidget.css +6 -8
- package/dist/components/post-widget/PostWidget.js +5 -3
- package/dist/components/post-widget/PostWidget.module.css +6 -8
- package/dist/components/post-widget/PostWidget.view.js +21 -8
- package/dist/components/post-widget-carousel/PostWidgetCarousel.css +7 -7
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +8 -2
- package/dist/components/post-widget-carousel/PostWidgetCarousel.module.css +7 -7
- package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +32 -14
- package/dist/components/progressBar/ProgressBar.css +4 -4
- package/dist/components/progressBar/ProgressBar.js +8 -2
- package/dist/components/progressBar/ProgressBar.module.css +4 -4
- package/dist/components/progressBar/ProgressBar.view.js +6 -3
- package/dist/components/quote/Quote.css +21 -6
- package/dist/components/quote/Quote.js +5 -5
- package/dist/components/quote/Quote.module.css +21 -6
- package/dist/components/quote/Quote.module.scss.js +5 -0
- package/dist/components/rating/Rating.client.js +6 -1
- package/dist/components/rating/Rating.css +34 -21
- package/dist/components/rating/Rating.js +4 -1
- package/dist/components/rating/Rating.module.css +34 -21
- package/dist/components/rating/Rating.module.scss.js +8 -0
- package/dist/components/rating/Rating.view.js +4 -2
- package/dist/components/rich-text/RichText.client.js +55 -20
- package/dist/components/rich-text/RichText.css +47 -31
- package/dist/components/rich-text/RichText.js +8 -2
- package/dist/components/rich-text/RichText.module.css +47 -31
- package/dist/components/rich-text/RichText.server.js +3 -0
- package/dist/components/select/Select.client.js +303 -102
- package/dist/components/select/Select.css +542 -221
- package/dist/components/select/Select.js +8 -2
- package/dist/components/select/Select.module.css +542 -221
- package/dist/components/select/Select.module.scss.js +57 -14
- package/dist/components/select/Select.view.js +75 -25
- package/dist/components/sidenav/SideNav.client.js +24 -1
- package/dist/components/sidenav/SideNav.css +89 -21
- package/dist/components/sidenav/SideNav.js +8 -2
- package/dist/components/sidenav/SideNav.module.css +89 -21
- package/dist/components/sidenav/SideNav.module.scss.js +6 -1
- package/dist/components/sidenav/SideNav.view.js +69 -14
- package/dist/components/skeleton/Skeleton.css +7 -7
- package/dist/components/skeleton/Skeleton.module.css +7 -7
- package/dist/components/slider/Slider.client.js +11 -2
- package/dist/components/slider/Slider.css +177 -112
- package/dist/components/slider/Slider.js +4 -1
- package/dist/components/slider/Slider.module.css +177 -112
- package/dist/components/slider/Slider.module.scss.js +11 -2
- package/dist/components/slider/Slider.view.js +140 -90
- package/dist/components/snackbar/Snackbar.client.js +5 -1
- package/dist/components/snackbar/Snackbar.css +125 -64
- package/dist/components/snackbar/Snackbar.js +4 -1
- package/dist/components/snackbar/Snackbar.module.css +125 -64
- package/dist/components/snackbar/Snackbar.module.scss.js +11 -13
- package/dist/components/snackbar/Snackbar.view.js +2 -2
- package/dist/components/snackbar/SnackbarProvider.js +8 -2
- package/dist/components/stepper/Stepper.client.js +27 -9
- package/dist/components/stepper/Stepper.css +46 -11
- package/dist/components/stepper/Stepper.js +4 -1
- package/dist/components/stepper/Stepper.module.css +46 -11
- package/dist/components/stepper/Stepper.module.scss.js +7 -0
- package/dist/components/stepper/Stepper.server.js +2 -0
- package/dist/components/stepper/Stepper.view.js +6 -1
- package/dist/components/switch/Switch.css +108 -84
- package/dist/components/switch/Switch.js +4 -1
- package/dist/components/switch/Switch.module.css +108 -84
- package/dist/components/switch/Switch.module.scss.js +14 -12
- package/dist/components/switch/Switch.view.js +10 -8
- package/dist/components/table/Table.css +19 -14
- package/dist/components/table/Table.js +1 -0
- package/dist/components/table/Table.module.css +19 -14
- package/dist/components/tabs/Tabs.client.js +1 -0
- package/dist/components/tabs/Tabs.css +53 -27
- package/dist/components/tabs/Tabs.js +8 -2
- package/dist/components/tabs/Tabs.module.css +53 -27
- package/dist/components/tabs/Tabs.module.scss.js +7 -2
- package/dist/components/tabs/Tabs.view.js +12 -4
- package/dist/components/teaser/Teaser.css +5 -5
- package/dist/components/teaser/Teaser.js +4 -4
- package/dist/components/teaser/Teaser.module.css +5 -5
- package/dist/components/tooltip/Tooltip.client.js +140 -95
- package/dist/components/tooltip/Tooltip.css +46 -9
- package/dist/components/tooltip/Tooltip.js +10 -4
- package/dist/components/tooltip/Tooltip.module.css +46 -9
- package/dist/components/tooltip/Tooltip.module.scss.js +5 -1
- package/dist/components/tooltip/Tooltip.view.js +7 -1
- package/dist/constants/project.js +1 -1
- package/dist/helpers/createIsland.js +1 -0
- package/dist/helpers/createLazyWrapper.js +1 -0
- package/dist/hooks/useGoogleMaps.js +0 -1
- package/dist/theme.css +3269 -1588
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/RTE/RTE.d.ts +6 -1
- package/dist/types/components/RTE/RTE.lazy.d.ts +6 -1
- package/dist/types/components/RTE/RTE.view.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.lazy.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.view.d.ts +1 -1
- package/dist/types/components/autocomplete/Autocomplete.model.d.ts +2 -0
- package/dist/types/components/autocomplete/Autocomplete.view.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.lazy.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.model.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.view.d.ts +1 -1
- package/dist/types/components/calendly/Calendly.view.d.ts +1 -1
- package/dist/types/components/card/Card.model.d.ts +1 -1
- package/dist/types/components/card/Card.view.d.ts +1 -1
- package/dist/types/components/carousel/Carousel.view.d.ts +1 -1
- package/dist/types/components/checkbox/Checkbox.d.ts +1 -0
- package/dist/types/components/checkbox/Checkbox.lazy.d.ts +1 -0
- package/dist/types/components/checkbox/Checkbox.model.d.ts +2 -0
- package/dist/types/components/checkbox/Checkbox.view.d.ts +1 -1
- package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +2 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +1 -1
- package/dist/types/components/datePicker/DatePicker.model.d.ts +70 -1
- package/dist/types/components/datePicker/DatePicker.utils.d.ts +10 -0
- package/dist/types/components/datePicker/DatePicker.view.d.ts +7 -4
- package/dist/types/components/datePicker/DatePickerDialog.view.d.ts +4 -0
- package/dist/types/components/dynamic-list/DynamicList.model.d.ts +3 -1
- package/dist/types/components/dynamic-list/DynamicList.view.d.ts +1 -1
- package/dist/types/components/form/Form.d.ts +1 -1
- package/dist/types/components/form/Form.lazy.d.ts +1 -1
- package/dist/types/components/form/Form.model.d.ts +19 -4
- package/dist/types/components/form/FormField.client.d.ts +2 -2
- package/dist/types/components/form/FormField.d.ts +1 -1
- package/dist/types/components/form/FormField.lazy.d.ts +1 -1
- package/dist/types/components/form/FormField.server.d.ts +2 -2
- package/dist/types/components/headline/Headline.model.d.ts +2 -2
- package/dist/types/components/input/Input.model.d.ts +8 -1
- package/dist/types/components/input/Input.view.d.ts +1 -1
- package/dist/types/components/inputOTP/InputOTP.client.d.ts +4 -0
- package/dist/types/components/inputOTP/InputOTP.d.ts +10 -3
- package/dist/types/components/inputOTP/InputOTP.lazy.d.ts +11 -0
- package/dist/types/components/inputOTP/InputOTP.model.d.ts +10 -0
- package/dist/types/components/inputOTP/InputOTP.server.d.ts +3 -0
- package/dist/types/components/inputOTP/InputOTP.view.d.ts +3 -0
- package/dist/types/components/inputOTP/index.d.ts +1 -1
- package/dist/types/components/label/Label.model.d.ts +2 -0
- package/dist/types/components/link/Link.model.d.ts +1 -1
- package/dist/types/components/link/Link.view.d.ts +1 -1
- package/dist/types/components/list/List.d.ts +1 -1
- package/dist/types/components/list/List.model.d.ts +14 -5
- package/dist/types/components/list/index.d.ts +1 -1
- package/dist/types/components/loading/Loading.model.d.ts +2 -0
- package/dist/types/components/loading/index.d.ts +1 -1
- package/dist/types/components/pagination/Pagination.model.d.ts +2 -0
- package/dist/types/components/pagination/Pagination.view.d.ts +1 -1
- package/dist/types/components/post-item/PostItem.model.d.ts +2 -1
- package/dist/types/components/post-teaser/PostTeaser.model.d.ts +2 -1
- package/dist/types/components/post-widget/PostWidget.view.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.lazy.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.model.d.ts +3 -2
- package/dist/types/components/progressBar/ProgressBar.view.d.ts +1 -1
- package/dist/types/components/progressBar/index.d.ts +1 -1
- package/dist/types/components/quote/Quote.model.d.ts +1 -1
- package/dist/types/components/rating/Rating.model.d.ts +2 -0
- package/dist/types/components/rich-text/RichText.client.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.lazy.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.model.d.ts +1 -1
- package/dist/types/components/select/Select.model.d.ts +2 -0
- package/dist/types/components/select/Select.view.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.client.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.model.d.ts +16 -2
- package/dist/types/components/sidenav/SideNav.view.d.ts +1 -1
- package/dist/types/components/slider/Slider.model.d.ts +2 -0
- package/dist/types/components/snackbar/Snackbar.model.d.ts +3 -2
- package/dist/types/components/snackbar/Snackbar.view.d.ts +3 -2
- package/dist/types/components/snackbar/index.d.ts +1 -1
- package/dist/types/components/stepper/Stepper.d.ts +1 -0
- package/dist/types/components/stepper/Stepper.lazy.d.ts +1 -0
- package/dist/types/components/stepper/Stepper.model.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.server.d.ts +1 -1
- package/dist/types/components/switch/Switch.d.ts +2 -2
- package/dist/types/components/switch/Switch.lazy.d.ts +2 -2
- package/dist/types/components/switch/Switch.model.d.ts +3 -4
- package/dist/types/components/tabs/Tabs.model.d.ts +2 -0
- package/dist/types/components/tabs/Tabs.view.d.ts +1 -1
- package/dist/types/components/teaser/Teaser.model.d.ts +1 -1
- package/dist/types/components/tooltip/Tooltip.model.d.ts +2 -0
- package/package.json +53 -24
|
@@ -133,11 +133,11 @@
|
|
|
133
133
|
.prokodo-Drawer__backdrop {
|
|
134
134
|
position: fixed;
|
|
135
135
|
inset: 0;
|
|
136
|
-
background-color:
|
|
136
|
+
background-color: var(--pk-drawer-backdrop-bg);
|
|
137
137
|
opacity: 0;
|
|
138
138
|
pointer-events: none;
|
|
139
139
|
transition: opacity 0.3s ease;
|
|
140
|
-
z-index:
|
|
140
|
+
z-index: calc(var(--pk-drawer-z-index) - 1);
|
|
141
141
|
}
|
|
142
142
|
.prokodo-Drawer__backdrop--open {
|
|
143
143
|
opacity: 1;
|
|
@@ -150,9 +150,9 @@
|
|
|
150
150
|
}
|
|
151
151
|
.prokodo-Drawer__container {
|
|
152
152
|
position: fixed;
|
|
153
|
-
background-color: var(--
|
|
154
|
-
box-shadow: var(--
|
|
155
|
-
z-index:
|
|
153
|
+
background-color: var(--pk-drawer-bg);
|
|
154
|
+
box-shadow: var(--pk-drawer-shadow);
|
|
155
|
+
z-index: var(--pk-drawer-z-index);
|
|
156
156
|
pointer-events: none;
|
|
157
157
|
width: 300px;
|
|
158
158
|
height: 100%;
|
|
@@ -229,11 +229,11 @@
|
|
|
229
229
|
display: flex;
|
|
230
230
|
align-items: center;
|
|
231
231
|
justify-content: space-between;
|
|
232
|
-
padding:
|
|
233
|
-
border-bottom: 1px solid var(--
|
|
232
|
+
padding: var(--pk-drawer-padding);
|
|
233
|
+
border-bottom: 1px solid var(--pk-drawer-border);
|
|
234
234
|
}
|
|
235
235
|
.prokodo-Drawer__content {
|
|
236
|
-
padding:
|
|
236
|
+
padding: var(--pk-drawer-padding);
|
|
237
237
|
max-height: calc(100% - 7rem);
|
|
238
238
|
overflow-y: auto;
|
|
239
239
|
-webkit-overflow-scrolling: touch;
|
|
@@ -5,7 +5,10 @@ import DrawerServer from "./Drawer.server.js";
|
|
|
5
5
|
const Drawer = createIsland({
|
|
6
6
|
name: "Drawer",
|
|
7
7
|
Server: DrawerServer,
|
|
8
|
-
loadLazy:
|
|
8
|
+
loadLazy: (
|
|
9
|
+
/* istanbul ignore next */
|
|
10
|
+
/* @__PURE__ */ __name(() => import("./Drawer.lazy.js"), "loadLazy")
|
|
11
|
+
)
|
|
9
12
|
});
|
|
10
13
|
export {
|
|
11
14
|
Drawer,
|
|
@@ -133,11 +133,11 @@
|
|
|
133
133
|
.prokodo-Drawer__backdrop {
|
|
134
134
|
position: fixed;
|
|
135
135
|
inset: 0;
|
|
136
|
-
background-color:
|
|
136
|
+
background-color: var(--pk-drawer-backdrop-bg);
|
|
137
137
|
opacity: 0;
|
|
138
138
|
pointer-events: none;
|
|
139
139
|
transition: opacity 0.3s ease;
|
|
140
|
-
z-index:
|
|
140
|
+
z-index: calc(var(--pk-drawer-z-index) - 1);
|
|
141
141
|
}
|
|
142
142
|
.prokodo-Drawer__backdrop--open {
|
|
143
143
|
opacity: 1;
|
|
@@ -150,9 +150,9 @@
|
|
|
150
150
|
}
|
|
151
151
|
.prokodo-Drawer__container {
|
|
152
152
|
position: fixed;
|
|
153
|
-
background-color: var(--
|
|
154
|
-
box-shadow: var(--
|
|
155
|
-
z-index:
|
|
153
|
+
background-color: var(--pk-drawer-bg);
|
|
154
|
+
box-shadow: var(--pk-drawer-shadow);
|
|
155
|
+
z-index: var(--pk-drawer-z-index);
|
|
156
156
|
pointer-events: none;
|
|
157
157
|
width: 300px;
|
|
158
158
|
height: 100%;
|
|
@@ -229,11 +229,11 @@
|
|
|
229
229
|
display: flex;
|
|
230
230
|
align-items: center;
|
|
231
231
|
justify-content: space-between;
|
|
232
|
-
padding:
|
|
233
|
-
border-bottom: 1px solid var(--
|
|
232
|
+
padding: var(--pk-drawer-padding);
|
|
233
|
+
border-bottom: 1px solid var(--pk-drawer-border);
|
|
234
234
|
}
|
|
235
235
|
.prokodo-Drawer__content {
|
|
236
|
-
padding:
|
|
236
|
+
padding: var(--pk-drawer-padding);
|
|
237
237
|
max-height: calc(100% - 7rem);
|
|
238
238
|
overflow-y: auto;
|
|
239
239
|
-webkit-overflow-scrolling: touch;
|
|
@@ -30,7 +30,10 @@ const DrawerView = /* @__PURE__ */ __name(({
|
|
|
30
30
|
return /* @__PURE__ */ jsxs(
|
|
31
31
|
"div",
|
|
32
32
|
{
|
|
33
|
-
"aria-hidden": isOpen ? void 0 :
|
|
33
|
+
"aria-hidden": isOpen ? void 0 : (
|
|
34
|
+
/* istanbul ignore next */
|
|
35
|
+
true
|
|
36
|
+
),
|
|
34
37
|
className: bem("backdrop", { open: isOpen }),
|
|
35
38
|
...backdropProps,
|
|
36
39
|
children: [
|
|
@@ -50,8 +53,13 @@ const DrawerView = /* @__PURE__ */ __name(({
|
|
|
50
53
|
ref: containerRef,
|
|
51
54
|
"aria-labelledby": isString(title) ? "drawer-title" : void 0,
|
|
52
55
|
role: "dialog",
|
|
56
|
+
/* istanbul ignore next */
|
|
57
|
+
/* istanbul ignore next */
|
|
53
58
|
...isOpen ? { "aria-modal": "true" } : { "aria-hidden": "true", inert: true },
|
|
54
|
-
"aria-modal": isOpen ? "true" :
|
|
59
|
+
"aria-modal": isOpen ? "true" : (
|
|
60
|
+
/* istanbul ignore next */
|
|
61
|
+
void 0
|
|
62
|
+
),
|
|
55
63
|
className: bem(
|
|
56
64
|
"container",
|
|
57
65
|
{
|
|
@@ -74,7 +82,10 @@ const DrawerView = /* @__PURE__ */ __name(({
|
|
|
74
82
|
variant: "text",
|
|
75
83
|
...closeButtonProps,
|
|
76
84
|
ref: closeButtonRef,
|
|
77
|
-
onClick:
|
|
85
|
+
onClick: (
|
|
86
|
+
/* istanbul ignore next */
|
|
87
|
+
/* @__PURE__ */ __name(() => onClose == null ? void 0 : onClose("escapeKeyDown"), "onClick")
|
|
88
|
+
)
|
|
78
89
|
}
|
|
79
90
|
)
|
|
80
91
|
] }),
|
|
@@ -131,41 +131,49 @@
|
|
|
131
131
|
/* ───────────────── helper / error text */
|
|
132
132
|
}
|
|
133
133
|
.prokodo-DynamicList__label {
|
|
134
|
-
margin-bottom:
|
|
134
|
+
margin-bottom: var(--pk-dynamic-list-label-mb);
|
|
135
135
|
}
|
|
136
136
|
.prokodo-DynamicList__list {
|
|
137
137
|
display: flex;
|
|
138
138
|
align-items: baseline;
|
|
139
139
|
justify-content: space-between;
|
|
140
|
-
gap:
|
|
140
|
+
gap: var(--pk-dynamic-list-gap);
|
|
141
141
|
list-style-type: none;
|
|
142
142
|
padding: 0;
|
|
143
143
|
margin-top: 0;
|
|
144
144
|
}
|
|
145
145
|
.prokodo-DynamicList__list__item {
|
|
146
146
|
display: flex;
|
|
147
|
+
flex-direction: row;
|
|
147
148
|
align-items: center;
|
|
148
|
-
|
|
149
|
+
gap: var(--pk-space-sm);
|
|
149
150
|
width: 100%;
|
|
150
151
|
}
|
|
151
152
|
.prokodo-DynamicList__list__item--is-multi {
|
|
153
|
+
flex-direction: column;
|
|
152
154
|
align-items: flex-start;
|
|
155
|
+
width: auto;
|
|
156
|
+
}
|
|
157
|
+
.prokodo-DynamicList__field {
|
|
158
|
+
flex: 1 1;
|
|
159
|
+
min-width: 0;
|
|
153
160
|
}
|
|
154
161
|
.prokodo-DynamicList__field--is-multi {
|
|
155
|
-
margin-bottom:
|
|
162
|
+
margin-bottom: var(--pk-dynamic-list-field-mb);
|
|
156
163
|
}
|
|
157
164
|
.prokodo-DynamicList__field--is-multi:last-of-type {
|
|
158
165
|
margin-bottom: 0;
|
|
159
166
|
}
|
|
160
167
|
.prokodo-DynamicList__delete__button--is-multi {
|
|
161
|
-
margin-top:
|
|
168
|
+
margin-top: var(--pk-dynamic-list-delete-mt);
|
|
169
|
+
align-self: flex-start;
|
|
162
170
|
}
|
|
163
171
|
.prokodo-DynamicList__helperText {
|
|
164
|
-
padding-left:
|
|
165
|
-
padding-top:
|
|
172
|
+
padding-left: var(--pk-dynamic-list-helper-pl);
|
|
173
|
+
padding-top: var(--pk-dynamic-list-helper-pt);
|
|
166
174
|
display: flex;
|
|
167
|
-
color: var(--
|
|
168
|
-
width:
|
|
175
|
+
color: var(--pk-dynamic-list-helper-fg);
|
|
176
|
+
width: var(--pk-dynamic-list-helper-w);
|
|
169
177
|
font-weight: 400;
|
|
170
178
|
font-size: 1rem;
|
|
171
179
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -188,12 +196,12 @@
|
|
|
188
196
|
line-height: 1.4;
|
|
189
197
|
}
|
|
190
198
|
}
|
|
191
|
-
|
|
192
|
-
color: var(--
|
|
199
|
+
[data-theme="dark"] .prokodo-DynamicList__helperText, .pk-theme-dark .prokodo-DynamicList__helperText {
|
|
200
|
+
color: var(--pk-palette-grey-400);
|
|
193
201
|
}
|
|
194
202
|
.prokodo-DynamicList__helperText__content {
|
|
195
203
|
width: 100%;
|
|
196
204
|
}
|
|
197
205
|
.prokodo-DynamicList__helperText__content--is-error {
|
|
198
|
-
color: var(--
|
|
206
|
+
color: var(--pk-dynamic-list-error-fg);
|
|
199
207
|
}
|
|
@@ -5,7 +5,10 @@ import DynamicListServer from "./DynamicList.server.js";
|
|
|
5
5
|
const DynamicList = createIsland({
|
|
6
6
|
name: "DynamicList",
|
|
7
7
|
Server: DynamicListServer,
|
|
8
|
-
loadLazy:
|
|
8
|
+
loadLazy: (
|
|
9
|
+
/* istanbul ignore next */
|
|
10
|
+
/* @__PURE__ */ __name(() => import("./DynamicList.lazy.js"), "loadLazy")
|
|
11
|
+
)
|
|
9
12
|
});
|
|
10
13
|
export {
|
|
11
14
|
DynamicList
|
|
@@ -131,41 +131,49 @@
|
|
|
131
131
|
/* ───────────────── helper / error text */
|
|
132
132
|
}
|
|
133
133
|
.prokodo-DynamicList__label {
|
|
134
|
-
margin-bottom:
|
|
134
|
+
margin-bottom: var(--pk-dynamic-list-label-mb);
|
|
135
135
|
}
|
|
136
136
|
.prokodo-DynamicList__list {
|
|
137
137
|
display: flex;
|
|
138
138
|
align-items: baseline;
|
|
139
139
|
justify-content: space-between;
|
|
140
|
-
gap:
|
|
140
|
+
gap: var(--pk-dynamic-list-gap);
|
|
141
141
|
list-style-type: none;
|
|
142
142
|
padding: 0;
|
|
143
143
|
margin-top: 0;
|
|
144
144
|
}
|
|
145
145
|
.prokodo-DynamicList__list__item {
|
|
146
146
|
display: flex;
|
|
147
|
+
flex-direction: row;
|
|
147
148
|
align-items: center;
|
|
148
|
-
|
|
149
|
+
gap: var(--pk-space-sm);
|
|
149
150
|
width: 100%;
|
|
150
151
|
}
|
|
151
152
|
.prokodo-DynamicList__list__item--is-multi {
|
|
153
|
+
flex-direction: column;
|
|
152
154
|
align-items: flex-start;
|
|
155
|
+
width: auto;
|
|
156
|
+
}
|
|
157
|
+
.prokodo-DynamicList__field {
|
|
158
|
+
flex: 1 1;
|
|
159
|
+
min-width: 0;
|
|
153
160
|
}
|
|
154
161
|
.prokodo-DynamicList__field--is-multi {
|
|
155
|
-
margin-bottom:
|
|
162
|
+
margin-bottom: var(--pk-dynamic-list-field-mb);
|
|
156
163
|
}
|
|
157
164
|
.prokodo-DynamicList__field--is-multi:last-of-type {
|
|
158
165
|
margin-bottom: 0;
|
|
159
166
|
}
|
|
160
167
|
.prokodo-DynamicList__delete__button--is-multi {
|
|
161
|
-
margin-top:
|
|
168
|
+
margin-top: var(--pk-dynamic-list-delete-mt);
|
|
169
|
+
align-self: flex-start;
|
|
162
170
|
}
|
|
163
171
|
.prokodo-DynamicList__helperText {
|
|
164
|
-
padding-left:
|
|
165
|
-
padding-top:
|
|
172
|
+
padding-left: var(--pk-dynamic-list-helper-pl);
|
|
173
|
+
padding-top: var(--pk-dynamic-list-helper-pt);
|
|
166
174
|
display: flex;
|
|
167
|
-
color: var(--
|
|
168
|
-
width:
|
|
175
|
+
color: var(--pk-dynamic-list-helper-fg);
|
|
176
|
+
width: var(--pk-dynamic-list-helper-w);
|
|
169
177
|
font-weight: 400;
|
|
170
178
|
font-size: 1rem;
|
|
171
179
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -188,12 +196,12 @@
|
|
|
188
196
|
line-height: 1.4;
|
|
189
197
|
}
|
|
190
198
|
}
|
|
191
|
-
|
|
192
|
-
color: var(--
|
|
199
|
+
[data-theme="dark"] .prokodo-DynamicList__helperText, .pk-theme-dark .prokodo-DynamicList__helperText {
|
|
200
|
+
color: var(--pk-palette-grey-400);
|
|
193
201
|
}
|
|
194
202
|
.prokodo-DynamicList__helperText__content {
|
|
195
203
|
width: 100%;
|
|
196
204
|
}
|
|
197
205
|
.prokodo-DynamicList__helperText__content--is-error {
|
|
198
|
-
color: var(--
|
|
206
|
+
color: var(--pk-dynamic-list-error-fg);
|
|
199
207
|
}
|
|
@@ -4,6 +4,7 @@ const styles = {
|
|
|
4
4
|
"prokodo-DynamicList__list": "prokodo-DynamicList__list",
|
|
5
5
|
"prokodo-DynamicList__list__item": "prokodo-DynamicList__list__item",
|
|
6
6
|
"prokodo-DynamicList__list__item--is-multi": "prokodo-DynamicList__list__item--is-multi",
|
|
7
|
+
"prokodo-DynamicList__field": "prokodo-DynamicList__field",
|
|
7
8
|
"prokodo-DynamicList__field--is-multi": "prokodo-DynamicList__field--is-multi",
|
|
8
9
|
"prokodo-DynamicList__delete__button--is-multi": "prokodo-DynamicList__delete__button--is-multi",
|
|
9
10
|
"prokodo-DynamicList__helperText": "prokodo-DynamicList__helperText",
|
|
@@ -18,12 +18,21 @@ function DynamicListView({
|
|
|
18
18
|
className,
|
|
19
19
|
classNameList,
|
|
20
20
|
fields,
|
|
21
|
-
|
|
21
|
+
/* istanbul ignore next */
|
|
22
|
+
value = (
|
|
23
|
+
/* istanbul ignore next */
|
|
24
|
+
[]
|
|
25
|
+
),
|
|
22
26
|
buttonAddProps,
|
|
23
27
|
buttonDeleteProps,
|
|
24
|
-
|
|
28
|
+
/* istanbul ignore next */
|
|
29
|
+
name = (
|
|
30
|
+
/* istanbul ignore next */
|
|
31
|
+
"items"
|
|
32
|
+
),
|
|
25
33
|
errorText,
|
|
26
|
-
helperText
|
|
34
|
+
helperText,
|
|
35
|
+
color
|
|
27
36
|
}) {
|
|
28
37
|
const isError = Boolean(errorText);
|
|
29
38
|
const hasHelper = Boolean(helperText);
|
|
@@ -36,7 +45,11 @@ function DynamicListView({
|
|
|
36
45
|
{
|
|
37
46
|
"aria-describedby": isError ? errorId : helperId,
|
|
38
47
|
"aria-labelledby": `${name}-legend`,
|
|
39
|
-
className: bem(
|
|
48
|
+
className: bem(
|
|
49
|
+
void 0,
|
|
50
|
+
color ? { [color]: true } : void 0,
|
|
51
|
+
className
|
|
52
|
+
),
|
|
40
53
|
children: [
|
|
41
54
|
isString(label) && /* @__PURE__ */ jsx(
|
|
42
55
|
Label,
|
|
@@ -44,6 +57,7 @@ function DynamicListView({
|
|
|
44
57
|
...labelProps,
|
|
45
58
|
"aria-disabled": disabled,
|
|
46
59
|
className: bem("label", void 0, labelProps == null ? void 0 : labelProps.className),
|
|
60
|
+
color,
|
|
47
61
|
error: isError,
|
|
48
62
|
id: (labelProps == null ? void 0 : labelProps.id) ?? `${name}-legend`,
|
|
49
63
|
label,
|
|
@@ -57,45 +71,71 @@ function DynamicListView({
|
|
|
57
71
|
"aria-describedby": errorId ?? helperId,
|
|
58
72
|
className: bem("list", mod, classNameList),
|
|
59
73
|
children: [
|
|
60
|
-
/* @__PURE__ */
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
74
|
+
/* @__PURE__ */ jsxs("li", { className: bem("list__item", mod), children: [
|
|
75
|
+
fields.map(({ fieldType, ...field }) => {
|
|
76
|
+
switch (fieldType) {
|
|
77
|
+
case "select":
|
|
78
|
+
return /* @__PURE__ */ jsx(
|
|
79
|
+
Select,
|
|
80
|
+
{
|
|
81
|
+
fullWidth: true,
|
|
82
|
+
color,
|
|
83
|
+
...field,
|
|
84
|
+
className: bem("field", mod, field == null ? void 0 : field.className),
|
|
85
|
+
"data-field": field == null ? void 0 : field.name,
|
|
86
|
+
"data-index": idx,
|
|
87
|
+
disabled: disabled ?? (field == null ? void 0 : field.disabled),
|
|
88
|
+
id: `${name}-${idx}-${field.name}`,
|
|
89
|
+
required: required ?? (field == null ? void 0 : field.required),
|
|
90
|
+
name: single ? `${name}[${idx}]` : `${name}[${idx}].${field.name}`,
|
|
91
|
+
value: single ? item : (
|
|
92
|
+
/* istanbul ignore next */
|
|
93
|
+
item[(field == null ? void 0 : field.name) ?? /* istanbul ignore next */
|
|
94
|
+
""]
|
|
95
|
+
)
|
|
96
|
+
},
|
|
97
|
+
field.name
|
|
98
|
+
);
|
|
99
|
+
default:
|
|
100
|
+
return /* @__PURE__ */ jsx(
|
|
101
|
+
Input,
|
|
102
|
+
{
|
|
103
|
+
fullWidth: true,
|
|
104
|
+
color,
|
|
105
|
+
...field,
|
|
106
|
+
className: bem("field", mod, field == null ? void 0 : field.className),
|
|
107
|
+
"data-field": field == null ? void 0 : field.name,
|
|
108
|
+
"data-index": idx,
|
|
109
|
+
disabled: disabled ?? (field == null ? void 0 : field.disabled),
|
|
110
|
+
id: `${name}-${idx}-${field.name}`,
|
|
111
|
+
required: required ?? (field == null ? void 0 : field.required),
|
|
112
|
+
name: single ? `${name}[${idx}]` : `${name}[${idx}].${field.name}`,
|
|
113
|
+
value: single ? item : item[(field == null ? void 0 : field.name) ?? /* istanbul ignore next */
|
|
114
|
+
""]
|
|
115
|
+
},
|
|
116
|
+
field.name
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
}),
|
|
120
|
+
single && /* @__PURE__ */ jsx(
|
|
121
|
+
Button,
|
|
122
|
+
{
|
|
123
|
+
"aria-label": `Remove ${label} entry ${idx + 1}`,
|
|
124
|
+
color: "error",
|
|
125
|
+
"data-index": idx,
|
|
126
|
+
iconProps: {
|
|
127
|
+
name: "Delete02Icon"
|
|
128
|
+
},
|
|
129
|
+
...buttonDeleteProps,
|
|
130
|
+
className: bem(
|
|
131
|
+
"delete__button",
|
|
132
|
+
mod,
|
|
133
|
+
buttonDeleteProps == null ? void 0 : buttonDeleteProps.className
|
|
134
|
+
)
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
] }),
|
|
138
|
+
!single && /* @__PURE__ */ jsx(
|
|
99
139
|
Button,
|
|
100
140
|
{
|
|
101
141
|
"aria-label": `Remove ${label} entry ${idx + 1}`,
|
|
@@ -105,7 +145,11 @@ function DynamicListView({
|
|
|
105
145
|
name: "Delete02Icon"
|
|
106
146
|
},
|
|
107
147
|
...buttonDeleteProps,
|
|
108
|
-
className: bem(
|
|
148
|
+
className: bem(
|
|
149
|
+
"delete__button",
|
|
150
|
+
mod,
|
|
151
|
+
buttonDeleteProps == null ? void 0 : buttonDeleteProps.className
|
|
152
|
+
)
|
|
109
153
|
}
|
|
110
154
|
)
|
|
111
155
|
]
|
|
@@ -115,6 +159,7 @@ function DynamicListView({
|
|
|
115
159
|
/* @__PURE__ */ jsx(
|
|
116
160
|
Button,
|
|
117
161
|
{
|
|
162
|
+
color: color !== "white" ? color : void 0,
|
|
118
163
|
title: "Add item",
|
|
119
164
|
variant: "outlined",
|
|
120
165
|
...buttonAddProps,
|
|
@@ -194,7 +194,10 @@ const FormClient = memo((props) => {
|
|
|
194
194
|
const emptyArray = Array.isArray(field.value) && field.value.length === 0;
|
|
195
195
|
const emptyScalar = field.value === void 0 || field.value === "";
|
|
196
196
|
if (Boolean(field.required) && visible && (emptyScalar || emptyArray)) {
|
|
197
|
-
const errMsg = (
|
|
197
|
+
const errMsg = (
|
|
198
|
+
/* istanbul ignore next */
|
|
199
|
+
((_b = (_a = messagesFields == null ? void 0 : messagesFields.errors) == null ? void 0 : _a.input) == null ? void 0 : _b["required"]) ?? "This field is required"
|
|
200
|
+
);
|
|
198
201
|
const key = field.name ?? field.label ?? "";
|
|
199
202
|
if (!errors[key]) {
|
|
200
203
|
errors[key] = [];
|
|
@@ -5,7 +5,10 @@ import FormServer from "./Form.server.js";
|
|
|
5
5
|
const Form = createIsland({
|
|
6
6
|
name: "Form",
|
|
7
7
|
Server: FormServer,
|
|
8
|
-
loadLazy:
|
|
8
|
+
loadLazy: (
|
|
9
|
+
/* istanbul ignore next */
|
|
10
|
+
/* @__PURE__ */ __name(() => import("./Form.lazy.js"), "loadLazy")
|
|
11
|
+
)
|
|
9
12
|
});
|
|
10
13
|
Form.displayName = "Form";
|
|
11
14
|
export {
|
|
@@ -13,7 +13,7 @@ import { Headline } from "../headline/Headline.js";
|
|
|
13
13
|
const bem = create(styles, "Form");
|
|
14
14
|
const FormView = /* @__PURE__ */ __name(({
|
|
15
15
|
id,
|
|
16
|
-
|
|
16
|
+
color = "primary",
|
|
17
17
|
disabled,
|
|
18
18
|
action,
|
|
19
19
|
label,
|
|
@@ -77,9 +77,9 @@ const FormView = /* @__PURE__ */ __name(({
|
|
|
77
77
|
{
|
|
78
78
|
...field,
|
|
79
79
|
key: field.name,
|
|
80
|
+
color,
|
|
80
81
|
disabled: disabled !== void 0 ? disabled : field == null ? void 0 : field.disabled,
|
|
81
82
|
messagesFields,
|
|
82
|
-
variant,
|
|
83
83
|
...fieldProps
|
|
84
84
|
}
|
|
85
85
|
)),
|
|
@@ -91,10 +91,12 @@ const FormView = /* @__PURE__ */ __name(({
|
|
|
91
91
|
className: bem("hp"),
|
|
92
92
|
id: "hp",
|
|
93
93
|
name: "hp",
|
|
94
|
+
tabIndex: -1,
|
|
94
95
|
type: "text",
|
|
95
96
|
...honeypotRest,
|
|
96
97
|
readOnly: honeypotReadOnly,
|
|
97
|
-
value: hpValue
|
|
98
|
+
value: hpValue,
|
|
99
|
+
onChange: hpOnChange
|
|
98
100
|
}
|
|
99
101
|
)
|
|
100
102
|
] }),
|
|
@@ -108,7 +110,7 @@ const FormView = /* @__PURE__ */ __name(({
|
|
|
108
110
|
type: "submit",
|
|
109
111
|
...button,
|
|
110
112
|
className: bem("footer__submit", void 0, button == null ? void 0 : button.className),
|
|
111
|
-
color: (button == null ? void 0 : button.color) ??
|
|
113
|
+
color: (button == null ? void 0 : button.color) ?? color,
|
|
112
114
|
disabled: !isFormValid
|
|
113
115
|
}
|
|
114
116
|
)
|