@fremtind/jokul 0.25.0 → 0.25.2
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/README.md +8 -0
- package/build/cjs/components/ScreenReaderOnly.d.cts +1 -1
- package/build/cjs/components/accordion/Accordion.d.cts +1 -1
- package/build/cjs/components/accordion/AccordionItem.d.cts +1 -1
- package/build/cjs/components/accordion/index.d.cts +2 -2
- package/build/cjs/components/breadcrumb/Breadcrumb.d.cts +1 -1
- package/build/cjs/components/breadcrumb/BreadcrumbItem.d.cts +1 -1
- package/build/cjs/components/breadcrumb/index.d.cts +4 -4
- package/build/cjs/components/button/Button.d.cts +1 -1
- package/build/cjs/components/button/index.d.cts +2 -2
- package/build/cjs/components/button/types.d.cts +2 -2
- package/build/cjs/components/card/Card.d.cts +2 -2
- package/build/cjs/components/card/CardImage.d.cts +1 -1
- package/build/cjs/components/card/InfoCard.d.cts +2 -2
- package/build/cjs/components/card/NavCard.d.cts +3 -3
- package/build/cjs/components/card/TaskCard.d.cts +2 -2
- package/build/cjs/components/card/documentation/examples/FakturainfoExample.d.cts +1 -1
- package/build/cjs/components/card/documentation/examples/InfoCardExample.d.cts +1 -1
- package/build/cjs/components/card/documentation/examples/NavCardExample.d.cts +1 -1
- package/build/cjs/components/card/documentation/examples/StatuskortExample.d.cts +1 -1
- package/build/cjs/components/card/documentation/examples/TaskCardExample.d.cts +1 -1
- package/build/cjs/components/card/documentation/examples/TopExample.d.cts +1 -1
- package/build/cjs/components/card/documentation/examples/cardExampleProps.d.cts +2 -2
- package/build/cjs/components/card/index.d.cts +6 -6
- package/build/cjs/components/card/utils.d.cts +1 -1
- package/build/cjs/components/checkbox/Checkbox.d.cts +1 -1
- package/build/cjs/components/checkbox/index.d.cts +1 -1
- package/build/cjs/components/combobox/Combobox.d.cts +4 -4
- package/build/cjs/components/combobox/index.d.cts +1 -1
- package/build/cjs/components/cookie-consent/CookieConsent.d.cts +1 -1
- package/build/cjs/components/cookie-consent/CookieConsentContext.d.cts +2 -2
- package/build/cjs/components/cookie-consent/CookieConsentModal.d.cts +1 -1
- package/build/cjs/components/cookie-consent/consents/CustomConsents.d.cts +2 -2
- package/build/cjs/components/cookie-consent/consents/DefaultConsents.d.cts +2 -2
- package/build/cjs/components/cookie-consent/consents/RequirementCheckbox.d.cts +1 -1
- package/build/cjs/components/cookie-consent/cookieConsentUtils.d.cts +1 -1
- package/build/cjs/components/cookie-consent/index.d.cts +5 -5
- package/build/cjs/components/datepicker/DatePicker.d.cts +1 -1
- package/build/cjs/components/datepicker/index.d.cts +4 -4
- package/build/cjs/components/datepicker/internal/Calendar.d.cts +3 -3
- package/build/cjs/components/datepicker/internal/useCalendar.d.cts +1 -1
- package/build/cjs/components/datepicker/internal/utils.d.cts +2 -2
- package/build/cjs/components/datepicker/types.d.cts +3 -3
- package/build/cjs/components/description-list/DescriptionList.d.cts +1 -1
- package/build/cjs/components/description-list/index.d.cts +1 -1
- package/build/cjs/components/expander/ExpandSection.d.cts +3 -3
- package/build/cjs/components/expander/Expander.d.cts +1 -1
- package/build/cjs/components/expander/index.d.cts +4 -4
- package/build/cjs/components/feedback/Feedback.d.cts +4 -4
- package/build/cjs/components/feedback/FeedbackSuccess.d.cts +1 -1
- package/build/cjs/components/feedback/FeedbackValues.d.cts +1 -1
- package/build/cjs/components/feedback/feedbackContext.d.cts +2 -2
- package/build/cjs/components/feedback/followup/Followup.d.cts +1 -1
- package/build/cjs/components/feedback/followup/followupContext.d.cts +2 -2
- package/build/cjs/components/feedback/followup/useFollowup.d.cts +1 -1
- package/build/cjs/components/feedback/index.d.cts +2 -2
- package/build/cjs/components/feedback/main-question/MainQuestion.d.cts +2 -2
- package/build/cjs/components/feedback/main-question/mainQuestionContext.d.cts +2 -2
- package/build/cjs/components/feedback/main-question/useMainQuestion.d.cts +1 -1
- package/build/cjs/components/feedback/presets.d.cts +1 -1
- package/build/cjs/components/feedback/questions/CheckboxQuestion.d.cts +1 -1
- package/build/cjs/components/feedback/questions/RadioQuestion.d.cts +1 -1
- package/build/cjs/components/feedback/questions/SmileyQuestion.d.cts +1 -1
- package/build/cjs/components/feedback/questions/TextQuestion.d.cts +1 -1
- package/build/cjs/components/feedback/questions/index.d.cts +6 -6
- package/build/cjs/components/feedback/questions/smileyUtils.d.cts +1 -1
- package/build/cjs/components/feedback/utils.d.cts +1 -1
- package/build/cjs/components/flex/Flex.d.cts +3 -3
- package/build/cjs/components/flex/index.d.cts +1 -1
- package/build/cjs/components/icon/Icon.d.cts +2 -2
- package/build/cjs/components/icon/documentation/internal/IconsExampleGrid.d.cts +1 -1
- package/build/cjs/components/icon/icons/ArrowDownIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ArrowLeftIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ArrowNorthEastIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ArrowRightIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ArrowUpIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/CalendarIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/CheckIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ChevronDownIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ChevronLeftIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ChevronRightIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ChevronUpIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/CloseIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/CopyIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/DotsIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/DragIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ErrorIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/GreenCheckIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/HamburgerIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/InfoIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/LinkIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/MinusIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/PenIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/PlusIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/QuestionIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/RedCrossIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/SearchIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/SuccessIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ThumbDownIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/ThumbUpIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/TrashCanIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/WarningIcon.d.cts +1 -1
- package/build/cjs/components/icon/icons/animated/ArrowHorizontalAnimated.d.cts +1 -1
- package/build/cjs/components/icon/icons/animated/ArrowVerticalAnimated.d.cts +1 -1
- package/build/cjs/components/icon/icons/animated/PlusRemoveAnimated.d.cts +1 -1
- package/build/cjs/components/icon/index.d.cts +39 -39
- package/build/cjs/components/icon-button/IconButton.d.cts +1 -1
- package/build/cjs/components/icon-button/index.d.cts +2 -2
- package/build/cjs/components/image/index.d.cts +1 -1
- package/build/cjs/components/index.d.cts +39 -39
- package/build/cjs/components/input-group/FieldGroup.d.cts +4 -4
- package/build/cjs/components/input-group/InputGroup.d.cts +4 -4
- package/build/cjs/components/input-group/Label.d.cts +1 -1
- package/build/cjs/components/input-group/SupportLabel.d.cts +1 -1
- package/build/cjs/components/input-group/index.d.cts +4 -4
- package/build/cjs/components/link/Link.d.cts +1 -1
- package/build/cjs/components/link/NavLink.d.cts +1 -1
- package/build/cjs/components/link/index.d.cts +2 -2
- package/build/cjs/components/link-list/LinkList.d.cts +1 -1
- package/build/cjs/components/link-list/index.d.cts +1 -1
- package/build/cjs/components/list/List.d.cts +1 -1
- package/build/cjs/components/list/ListItem.d.cts +1 -1
- package/build/cjs/components/list/index.d.cts +3 -3
- package/build/cjs/components/loader/index.d.cts +18 -18
- package/build/cjs/components/loader/skeletons/SkeletonAnimation.d.cts +1 -1
- package/build/cjs/components/loader/skeletons/SkeletonButton.d.cts +2 -2
- package/build/cjs/components/loader/skeletons/SkeletonCheckboxGroup.d.cts +3 -3
- package/build/cjs/components/loader/skeletons/SkeletonInput.d.cts +3 -3
- package/build/cjs/components/loader/skeletons/SkeletonLabel.d.cts +2 -2
- package/build/cjs/components/loader/skeletons/SkeletonRadioButtonGroup.d.cts +3 -3
- package/build/cjs/components/loader/skeletons/SkeletonTable.d.cts +1 -1
- package/build/cjs/components/loader/skeletons/SkeletonTextArea.d.cts +3 -3
- package/build/cjs/components/logo/LogoStamp.d.cts +1 -1
- package/build/cjs/components/logo/index.d.cts +5 -5
- package/build/cjs/components/logo/text-paths/index.d.cts +6 -6
- package/build/cjs/components/menu/Menu.d.cts +1 -1
- package/build/cjs/components/menu/MenuItem.d.cts +1 -1
- package/build/cjs/components/menu/MenuItemCheckbox.d.cts +1 -1
- package/build/cjs/components/menu/index.d.cts +4 -4
- package/build/cjs/components/message/FormErrorMessage.d.cts +1 -1
- package/build/cjs/components/message/Message.d.cts +1 -1
- package/build/cjs/components/message/index.d.cts +2 -2
- package/build/cjs/components/modal/Modal.d.cts +2 -2
- package/build/cjs/components/modal/index.d.cts +4 -4
- package/build/cjs/components/pagination/Pagination.d.cts +1 -1
- package/build/cjs/components/pagination/index.d.cts +1 -1
- package/build/cjs/components/popover/index.d.cts +1 -1
- package/build/cjs/components/progress-bar/index.d.cts +4 -4
- package/build/cjs/components/radio-button/BaseRadioButton.d.cts +2 -2
- package/build/cjs/components/radio-button/RadioButton.d.cts +1 -1
- package/build/cjs/components/radio-button/RadioButtonGroup.d.cts +2 -2
- package/build/cjs/components/radio-button/index.d.cts +6 -6
- package/build/cjs/components/radio-button/radioGroupContext.d.cts +1 -1
- package/build/cjs/components/select/NativeSelect.d.cts +2 -2
- package/build/cjs/components/select/Select.d.cts +4 -4
- package/build/cjs/components/select/index.d.cts +4 -4
- package/build/cjs/components/summary-table/index.d.cts +2 -2
- package/build/cjs/components/system-message/SystemMessage.d.cts +1 -1
- package/build/cjs/components/system-message/index.d.cts +1 -1
- package/build/cjs/components/table/DataTable.d.cts +1 -1
- package/build/cjs/components/table/ExpandableTableRow.d.cts +1 -1
- package/build/cjs/components/table/ExpandableTableRowController.d.cts +1 -1
- package/build/cjs/components/table/Table.d.cts +1 -1
- package/build/cjs/components/table/TableCell.d.cts +1 -1
- package/build/cjs/components/table/TableHeader.d.cts +2 -2
- package/build/cjs/components/table/TablePagination.d.cts +1 -1
- package/build/cjs/components/table/index.d.cts +34 -34
- package/build/cjs/components/table/tableContext.d.cts +1 -1
- package/build/cjs/components/table/tableSectionContext.d.cts +1 -1
- package/build/cjs/components/table/utils.d.cts +1 -1
- package/build/cjs/components/tabs/NavTabs.d.cts +1 -1
- package/build/cjs/components/tabs/Tab.d.cts +1 -1
- package/build/cjs/components/tabs/TabList.d.cts +1 -1
- package/build/cjs/components/tabs/TabPanel.d.cts +1 -1
- package/build/cjs/components/tabs/Tabs.d.cts +1 -1
- package/build/cjs/components/tabs/index.d.cts +6 -6
- package/build/cjs/components/tabs/tabsContext.d.cts +1 -1
- package/build/cjs/components/tag/Tag.d.cts +1 -1
- package/build/cjs/components/tag/index.d.cts +2 -2
- package/build/cjs/components/text-input/BaseTextInput.d.cts +2 -2
- package/build/cjs/components/text-input/TextArea.d.cts +2 -2
- package/build/cjs/components/text-input/TextInput.d.cts +2 -2
- package/build/cjs/components/text-input/index.d.cts +4 -4
- package/build/cjs/components/toast/Toast.d.cts +1 -1
- package/build/cjs/components/toast/ToastRegion.d.cts +1 -1
- package/build/cjs/components/toast/index.d.cts +2 -2
- package/build/cjs/components/toast/toastContext.d.cts +2 -2
- package/build/cjs/components/toggle-switch/ToggleSlider.d.cts +1 -1
- package/build/cjs/components/toggle-switch/ToggleSwitch.d.cts +2 -2
- package/build/cjs/components/toggle-switch/index.d.cts +2 -2
- package/build/cjs/components/tooltip/PopupTip.d.cts +1 -1
- package/build/cjs/components/tooltip/Tooltip.d.cts +1 -1
- package/build/cjs/components/tooltip/index.d.cts +4 -4
- package/build/cjs/core/index.d.cts +2 -2
- package/build/cjs/core/types.d.cts +1 -1
- package/build/cjs/hooks/index.d.cts +18 -18
- package/build/cjs/hooks/useAnimatedDetails/index.d.cts +1 -1
- package/build/cjs/hooks/useAnimatedHeight/index.d.cts +4 -4
- package/build/cjs/hooks/useAnimatedHeight/types.d.cts +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeight.d.cts +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAnimatedHeightBetween.d.cts +1 -1
- package/build/cjs/hooks/useAnimatedHeight/useAutoAnimateHeight.d.cts +1 -1
- package/build/cjs/hooks/useAriaLiveRegion/index.d.cts +1 -1
- package/build/cjs/hooks/useBrowserPreferences/index.d.cts +1 -1
- package/build/cjs/hooks/useBrowserPreferences/useBrowserPreferences.d.cts +1 -1
- package/build/cjs/hooks/useClickOutside/index.d.cts +1 -1
- package/build/cjs/hooks/useElementDimensions/index.d.cts +1 -1
- package/build/cjs/hooks/useFocusOutside/index.d.cts +1 -1
- package/build/cjs/hooks/useId/index.d.cts +1 -1
- package/build/cjs/hooks/useIntersectionObserver/index.d.cts +1 -1
- package/build/cjs/hooks/useKeyListener/index.d.cts +1 -1
- package/build/cjs/hooks/useListNavigation/index.d.cts +1 -1
- package/build/cjs/hooks/useLocalStorage/index.d.cts +1 -1
- package/build/cjs/hooks/useMutationObserver/index.d.cts +1 -1
- package/build/cjs/hooks/usePreviousValue/index.d.cts +1 -1
- package/build/cjs/hooks/useProgressiveImg/index.d.cts +1 -1
- package/build/cjs/hooks/useScreen/index.d.cts +2 -2
- package/build/cjs/hooks/useScreen/useScreen.d.cts +1 -1
- package/build/cjs/hooks/useScrollIntoView/index.d.cts +1 -1
- package/build/cjs/hooks/useSwipeGesture/index.d.cts +1 -1
- package/build/cjs/index.d.cts +4 -4
- package/build/cjs/utilities/constants/index.d.cts +1 -1
- package/build/cjs/utilities/formatters/avstand/formatAvstand.d.cts +1 -1
- package/build/cjs/utilities/formatters/bytes/formatBytes.d.cts +1 -1
- package/build/cjs/utilities/formatters/index.d.cts +14 -14
- package/build/cjs/utilities/formatters/util/registerWithMask.d.cts +7 -7
- package/build/cjs/utilities/formatters/valuta/formatValuta.d.cts +1 -1
- package/build/cjs/utilities/index.d.cts +7 -7
- package/build/cjs/utilities/polymorphism/index.d.cts +5 -5
- package/build/cjs/utilities/validators/index.d.cts +12 -12
- package/package.json +3 -4
- package/styles/components/button/button.css +2 -2
- package/styles/components/button/button.min.css +1 -1
- package/styles/components/checkbox/checkbox.css +4 -4
- package/styles/components/checkbox/checkbox.min.css +1 -1
- package/styles/components/feedback/feedback.css +2 -2
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/input-group/input-group.css +2 -2
- package/styles/components/input-group/input-group.min.css +1 -1
- package/styles/components/loader/loader.css +6 -6
- package/styles/components/loader/loader.min.css +1 -1
- package/styles/components/loader/skeleton-loader.css +5 -5
- package/styles/components/loader/skeleton-loader.min.css +1 -1
- package/styles/components/message/message.css +2 -2
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/progress-bar/progress-bar.css +2 -2
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/radio-button/radio-button.css +2 -2
- package/styles/components/radio-button/radio-button.min.css +1 -1
- package/styles/components/system-message/system-message.css +2 -2
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/toast/toast.css +4 -4
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/styles.css +33 -33
- package/styles/styles.min.css +1 -1
- package/styles/{core → vind}/_flex.scss +1 -1
- package/styles/{core → vind}/_font.scss +1 -1
- package/styles/vind/_index.scss +1 -0
- package/styles/{core → vind}/_margin.scss +1 -1
- package/styles/{core → vind}/_padding.scss +1 -1
- package/styles/{core → vind}/_space-between.scss +1 -1
- package/styles/{core → vind}/_typography.scss +1 -1
- package/styles/core/vind.scss +0 -3
- /package/styles/{core → vind}/vind.css +0 -0
- /package/styles/{core → vind}/vind.min.css +0 -0
- /package/styles/{core/_vind.scss → vind/vind.scss} +0 -0
package/README.md
CHANGED
|
@@ -155,3 +155,11 @@ import { tabListener, unicode } from "@fremtind/jokul/utilities";
|
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
For en full liste over utilities kan du kikke i [utilities-mappa](src/utilities/)
|
|
158
|
+
|
|
159
|
+
## Vind
|
|
160
|
+
|
|
161
|
+
Vi tilbyr også en Jøkulifisert versjon av Tailwind, tilgjengelig via
|
|
162
|
+
|
|
163
|
+
```scss
|
|
164
|
+
@use "@fremtind/jokul/styles/vind";
|
|
165
|
+
```
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Accordion, type AccordionProps } from './Accordion.cjs;
|
|
2
|
-
export { AccordionItem, type AccordionItemProps } from './AccordionItem.cjs;
|
|
1
|
+
export { Accordion, type AccordionProps } from './Accordion.cjs';
|
|
2
|
+
export { AccordionItem, type AccordionItemProps } from './AccordionItem.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { BreadcrumbProps } from './Breadcrumb.cjs;
|
|
2
|
-
export { Breadcrumb } from './Breadcrumb.cjs;
|
|
3
|
-
export type { BreadcrumbItemProps } from './BreadcrumbItem.cjs;
|
|
4
|
-
export { BreadcrumbItem } from './BreadcrumbItem.cjs;
|
|
1
|
+
export type { BreadcrumbProps } from './Breadcrumb.cjs';
|
|
2
|
+
export { Breadcrumb } from './Breadcrumb.cjs';
|
|
3
|
+
export type { BreadcrumbItemProps } from './BreadcrumbItem.cjs';
|
|
4
|
+
export { BreadcrumbItem } from './BreadcrumbItem.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ButtonHTMLAttributes } from 'react';
|
|
2
|
-
import { ButtonComponent, ButtonProps } from './types.cjs;
|
|
2
|
+
import { ButtonComponent, ButtonProps } from './types.cjs';
|
|
3
3
|
export declare const Button: ButtonComponent;
|
|
4
4
|
export declare function PrimaryButton<ElementType extends React.ElementType = "button">(props: Omit<ButtonProps<ElementType>, "variant" | "onClick" | "as"> & Pick<ButtonHTMLAttributes<HTMLButtonElement>, "onClick">): React.JSX.Element;
|
|
5
5
|
export declare function SecondaryButton<ElementType extends React.ElementType = "button">(props: Omit<ButtonProps<ElementType>, "variant" | "onClick" | "as"> & Pick<ButtonHTMLAttributes<HTMLButtonElement>, "onClick">): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button, PrimaryButton, SecondaryButton, TertiaryButton } from './Button.cjs;
|
|
2
|
-
export type { ButtonProps, ButtonVariant } from './types.cjs;
|
|
1
|
+
export { Button, PrimaryButton, SecondaryButton, TertiaryButton } from './Button.cjs';
|
|
2
|
+
export type { ButtonProps, ButtonVariant } from './types.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Density } from '../../core/types.cjs;
|
|
2
|
-
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs;
|
|
1
|
+
import { Density } from '../../core/types.cjs';
|
|
2
|
+
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs';
|
|
3
3
|
export declare const buttonVariants: readonly ["primary", "secondary", "tertiary", "ghost"];
|
|
4
4
|
export type ButtonVariant = (typeof buttonVariants)[number];
|
|
5
5
|
export type IconPosition = "left" | "right";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { AsChildProps } from '../../utilities/polymorphism/as-child.cjs;
|
|
3
|
-
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs;
|
|
2
|
+
import { AsChildProps } from '../../utilities/polymorphism/as-child.cjs';
|
|
3
|
+
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs';
|
|
4
4
|
export declare const CARD_PADDINGS: readonly ["s", "m", "l", "xl"];
|
|
5
5
|
export type CardPadding = (typeof CARD_PADDINGS)[number];
|
|
6
6
|
export declare const CARD_VARIANTS: readonly ["outlined", "high", "low"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs;
|
|
2
|
+
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs';
|
|
3
3
|
export type CardImageProps<ElementType extends React.ElementType> = PolymorphicPropsWithRef<ElementType, {
|
|
4
4
|
/**
|
|
5
5
|
* Legger til riktig negativ margin avhengig av hvor i kortet bildet
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { Density, WithChildren } from '../../core/types.cjs;
|
|
3
|
-
import { PaddingOptions, SpacingStep } from './types.cjs;
|
|
2
|
+
import { Density, WithChildren } from '../../core/types.cjs';
|
|
3
|
+
import { PaddingOptions, SpacingStep } from './types.cjs';
|
|
4
4
|
export interface InfoCardProps extends PaddingOptions, WithChildren {
|
|
5
5
|
className?: string;
|
|
6
6
|
title?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, ElementType, FC } from 'react';
|
|
2
|
-
import { Density, WithChildren } from '../../core/types.cjs;
|
|
3
|
-
import { ImageProps } from '../image/Image.cjs;
|
|
4
|
-
import { PaddingOptions } from './types.cjs;
|
|
2
|
+
import { Density, WithChildren } from '../../core/types.cjs';
|
|
3
|
+
import { ImageProps } from '../image/Image.cjs';
|
|
4
|
+
import { PaddingOptions } from './types.cjs';
|
|
5
5
|
export type TagType = "success" | "warning" | "info" | "error";
|
|
6
6
|
/**
|
|
7
7
|
* Bruk denne komponenten for å legge til ekstra informasjon i NavCard.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { Density, WithChildren } from '../../core/types.cjs;
|
|
3
|
-
import { PaddingOptions } from './types.cjs;
|
|
2
|
+
import { Density, WithChildren } from '../../core/types.cjs';
|
|
3
|
+
import { PaddingOptions } from './types.cjs';
|
|
4
4
|
export interface TaskCardProps extends PaddingOptions, WithChildren {
|
|
5
5
|
/**
|
|
6
6
|
* Bakgrunnsfargen til kortet
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExampleComponentProps, ExampleKnobsProps } from 'doc-utils/index.cjs;
|
|
1
|
+
import { ExampleComponentProps, ExampleKnobsProps } from 'doc-utils/index.cjs';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
export declare const FakturainfoExample: ({ boolValues, choiceValues }: ExampleComponentProps) => React.JSX.Element;
|
|
4
4
|
export declare const fakturainfoExampleProps: ExampleKnobsProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExampleComponentProps, ExampleKnobsProps } from 'doc-utils/index.cjs;
|
|
1
|
+
import { ExampleComponentProps, ExampleKnobsProps } from 'doc-utils/index.cjs';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
export declare const StatuskortExample: ({ boolValues, choiceValues }: ExampleComponentProps) => React.JSX.Element;
|
|
4
4
|
export declare const statuskortExampleProps: ExampleKnobsProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExampleKnobsProps } from 'doc-utils/index.cjs;
|
|
2
|
-
import { PaddingShorthand } from '../../types.cjs;
|
|
1
|
+
import { ExampleKnobsProps } from 'doc-utils/index.cjs';
|
|
2
|
+
import { PaddingShorthand } from '../../types.cjs';
|
|
3
3
|
export declare const baseCardExampleProps: {
|
|
4
4
|
choiceProps: {
|
|
5
5
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Card } from './Card.cjs;
|
|
2
|
-
export { CardImage } from './CardImage.cjs;
|
|
3
|
-
export { NavCard, InfoBlock, type NavCardProps } from './NavCard.cjs;
|
|
4
|
-
export { TaskCard, type TaskCardProps } from './TaskCard.cjs;
|
|
5
|
-
export { InfoCard, type InfoCardProps } from './InfoCard.cjs;
|
|
6
|
-
export type { SpacingStep, PaddingOptions } from './types.cjs;
|
|
1
|
+
export { Card } from './Card.cjs';
|
|
2
|
+
export { CardImage } from './CardImage.cjs';
|
|
3
|
+
export { NavCard, InfoBlock, type NavCardProps } from './NavCard.cjs';
|
|
4
|
+
export { TaskCard, type TaskCardProps } from './TaskCard.cjs';
|
|
5
|
+
export { InfoCard, type InfoCardProps } from './InfoCard.cjs';
|
|
6
|
+
export type { SpacingStep, PaddingOptions } from './types.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode, ChangeEventHandler, FocusEventHandler, InputHTMLAttributes } from 'react';
|
|
2
|
-
import { DataTestAutoId, Density } from '../../core/types.cjs;
|
|
2
|
+
import { DataTestAutoId, Density } from '../../core/types.cjs';
|
|
3
3
|
export interface CheckboxProps extends DataTestAutoId, InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Checkbox, type CheckboxProps } from './Checkbox.cjs;
|
|
1
|
+
export { Checkbox, type CheckboxProps } from './Checkbox.cjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeEvent, FC } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
3
|
-
import { ValuePair } from '../../utilities/valuePair.cjs;
|
|
4
|
-
import { InputGroupProps } from '../input-group/InputGroup.cjs;
|
|
5
|
-
import { LabelProps } from '../input-group/Label.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
|
+
import { ValuePair } from '../../utilities/valuePair.cjs';
|
|
4
|
+
import { InputGroupProps } from '../input-group/InputGroup.cjs';
|
|
5
|
+
import { LabelProps } from '../input-group/Label.cjs';
|
|
6
6
|
export type ComboboxValuePair = ValuePair & {
|
|
7
7
|
tagLabel?: string;
|
|
8
8
|
isMarked?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Combobox, getComboboxValuePair, type ComboboxValuePair } from './Combobox.cjs;
|
|
1
|
+
export { Combobox, getComboboxValuePair, type ComboboxValuePair } from './Combobox.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WithChildren } from '../../core/types.cjs;
|
|
3
|
-
import { Consent, ConsentRequirement } from './types.cjs;
|
|
2
|
+
import { WithChildren } from '../../core/types.cjs';
|
|
3
|
+
import { Consent, ConsentRequirement } from './types.cjs';
|
|
4
4
|
interface SetShowConsentAction {
|
|
5
5
|
type: "SET_SHOW_CONSENT";
|
|
6
6
|
payload: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ModalConfig } from '../../modal/useModal.cjs;
|
|
3
|
-
import { Consent } from '../types.cjs;
|
|
2
|
+
import { ModalConfig } from '../../modal/useModal.cjs';
|
|
3
|
+
import { Consent } from '../types.cjs';
|
|
4
4
|
type Props = {
|
|
5
5
|
modalConfig: ModalConfig;
|
|
6
6
|
handleAccept: (v: Consent | "implicit") => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ModalConfig } from '../../modal/useModal.cjs;
|
|
3
|
-
import { Consent } from '../types.cjs;
|
|
2
|
+
import { ModalConfig } from '../../modal/useModal.cjs';
|
|
3
|
+
import { Consent } from '../types.cjs';
|
|
4
4
|
type Props = {
|
|
5
5
|
modalConfig: ModalConfig;
|
|
6
6
|
handleAccept: (v: Consent | "implicit") => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WithChildren } from '../../../core/types.cjs;
|
|
2
|
+
import { WithChildren } from '../../../core/types.cjs';
|
|
3
3
|
interface RequirementCheckboxProps extends WithChildren {
|
|
4
4
|
defaultChecked: boolean;
|
|
5
5
|
name: "functional" | "marketing" | "statistics";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Consent, ConsentRequirement, ConsentState } from './types.cjs;
|
|
1
|
+
import { Consent, ConsentRequirement, ConsentState } from './types.cjs';
|
|
2
2
|
export declare const getConsentCookie: ({ adapter, name, }: {
|
|
3
3
|
adapter?: (() => Consent | undefined) | undefined;
|
|
4
4
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { AcceptConsentCallback, Consent, ConsentState } from './types.cjs;
|
|
2
|
-
export type { CookieConsentProps } from './CookieConsent.cjs;
|
|
3
|
-
export { CookieConsent } from './CookieConsent.cjs;
|
|
4
|
-
export type { CookieConsentProviderProps } from './CookieConsentContext.cjs;
|
|
5
|
-
export { CookieConsentProvider, useCookieConsent } from './CookieConsentContext.cjs;
|
|
1
|
+
export type { AcceptConsentCallback, Consent, ConsentState } from './types.cjs';
|
|
2
|
+
export type { CookieConsentProps } from './CookieConsent.cjs';
|
|
3
|
+
export { CookieConsent } from './CookieConsent.cjs';
|
|
4
|
+
export type { CookieConsentProviderProps } from './CookieConsentContext.cjs';
|
|
5
|
+
export { CookieConsentProvider, useCookieConsent } from './CookieConsentContext.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './types.cjs;
|
|
2
|
-
export * from './validation.cjs;
|
|
3
|
-
export * from './utils.cjs;
|
|
4
|
-
export { DatePicker } from './DatePicker.cjs;
|
|
1
|
+
export * from './types.cjs';
|
|
2
|
+
export * from './validation.cjs';
|
|
3
|
+
export * from './utils.cjs';
|
|
4
|
+
export { DatePicker } from './DatePicker.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Density } from '../../../core/types.cjs;
|
|
3
|
-
import { YearsToShow } from '../types.cjs;
|
|
4
|
-
import { UseCalendarProps } from './useCalendar.cjs;
|
|
2
|
+
import { Density } from '../../../core/types.cjs';
|
|
3
|
+
import { YearsToShow } from '../types.cjs';
|
|
4
|
+
import { UseCalendarProps } from './useCalendar.cjs';
|
|
5
5
|
interface CalendarProps extends Omit<UseCalendarProps, "date" | "onOffsetChanged" | "offset" | "firstDayOfWeek" | "selected"> {
|
|
6
6
|
date: Date | null;
|
|
7
7
|
density?: Density;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ValuePair } from '../../../utilities/valuePair.cjs;
|
|
3
|
-
import { YearsToShow } from '../types.cjs;
|
|
2
|
+
import { ValuePair } from '../../../utilities/valuePair.cjs';
|
|
3
|
+
import { YearsToShow } from '../types.cjs';
|
|
4
4
|
export declare function composeEventHandlers(...fns: Array<React.MouseEventHandler | undefined>): (event: React.MouseEvent) => boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Takes a calendars array and figures out the number of months to subtract
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, ChangeEvent, FocusEvent, KeyboardEvent } from 'react';
|
|
2
|
-
import { DataTestAutoId, Density } from '../../core/types.cjs;
|
|
3
|
-
import { InputGroupProps } from '../input-group/InputGroup.cjs;
|
|
4
|
-
import { LabelProps } from '../input-group/Label.cjs;
|
|
2
|
+
import { DataTestAutoId, Density } from '../../core/types.cjs';
|
|
3
|
+
import { InputGroupProps } from '../input-group/InputGroup.cjs';
|
|
4
|
+
import { LabelProps } from '../input-group/Label.cjs';
|
|
5
5
|
export type DateValidationError = "WRONG_FORMAT" | "OUTSIDE_LOWER_BOUND" | "OUTSIDE_UPPER_BOUND";
|
|
6
6
|
export type DatePickerChangeEventHandler = (e: ChangeEvent<HTMLInputElement>, date: Date | null, meta: DatePickerMetadata) => void;
|
|
7
7
|
export type DatePickerBlurEventHandler = (e: FocusEvent<HTMLInputElement>, date: Date | null, meta: DatePickerMetadata) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './DescriptionList.cjs;
|
|
1
|
+
export * from './DescriptionList.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
3
|
-
import { UseAnimatedHeightOptions } from '../../hooks/useAnimatedHeight/types.cjs;
|
|
4
|
-
import { ExpanderProps } from './Expander.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
|
+
import { UseAnimatedHeightOptions } from '../../hooks/useAnimatedHeight/types.cjs';
|
|
4
|
+
import { ExpanderProps } from './Expander.cjs';
|
|
5
5
|
export interface ExpandSectionProps {
|
|
6
6
|
/**
|
|
7
7
|
* Innholdet som skal kunne ekspanderes og skjules.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Density, WithChildren } from '../../core/types.cjs;
|
|
2
|
+
import { Density, WithChildren } from '../../core/types.cjs';
|
|
3
3
|
export type ExpandDirection = "up" | "down";
|
|
4
4
|
export interface ExpanderProps extends WithChildren {
|
|
5
5
|
as?: "summary" | "button";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ExpanderProps as ExpandButtonProps } from './Expander.cjs;
|
|
2
|
-
export { Expander } from './Expander.cjs;
|
|
3
|
-
export type { ExpandSectionProps } from './ExpandSection.cjs;
|
|
4
|
-
export { ExpandSection } from './ExpandSection.cjs;
|
|
1
|
+
export type { ExpanderProps as ExpandButtonProps } from './Expander.cjs';
|
|
2
|
+
export { Expander } from './Expander.cjs';
|
|
3
|
+
export type { ExpandSectionProps } from './ExpandSection.cjs';
|
|
4
|
+
export { ExpandSection } from './ExpandSection.cjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentProps, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { BaseTextAreaProps } from '../text-input/BaseTextArea.cjs;
|
|
3
|
-
import { Followup } from './followup/Followup.cjs;
|
|
4
|
-
import { ContactQuestion } from './questions/ContactQuestion.cjs;
|
|
5
|
-
import { FeedbackOption, FeedbackType } from './types.cjs;
|
|
2
|
+
import { BaseTextAreaProps } from '../text-input/BaseTextArea.cjs';
|
|
3
|
+
import { Followup } from './followup/Followup.cjs';
|
|
4
|
+
import { ContactQuestion } from './questions/ContactQuestion.cjs';
|
|
5
|
+
import { FeedbackOption, FeedbackType } from './types.cjs';
|
|
6
6
|
type FollowupProps = ComponentProps<typeof Followup>;
|
|
7
7
|
type ContactQuestionProps = ComponentProps<typeof ContactQuestion>;
|
|
8
8
|
type Props = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { WithChildren } from '../../core/types.cjs;
|
|
3
|
-
import { BaseTextAreaProps } from '../text-input/BaseTextArea.cjs;
|
|
2
|
+
import { WithChildren } from '../../core/types.cjs';
|
|
3
|
+
import { BaseTextAreaProps } from '../text-input/BaseTextArea.cjs';
|
|
4
4
|
type FeedbackContext = {
|
|
5
5
|
feedbackSubmitted: boolean;
|
|
6
6
|
followupStarted: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { FeedbackAnswer, FollowupQuestion } from '../types.cjs;
|
|
2
|
+
import { FeedbackAnswer, FollowupQuestion } from '../types.cjs';
|
|
3
3
|
interface Props {
|
|
4
4
|
/** Spørsmålet/ene som skal stilles. Kan være av typen radio, checkbox eller text */
|
|
5
5
|
questions: FollowupQuestion[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WithChildren } from '../../../core/types.cjs;
|
|
3
|
-
import { FollowupState } from '../types.cjs;
|
|
2
|
+
import { WithChildren } from '../../../core/types.cjs';
|
|
3
|
+
import { FollowupState } from '../types.cjs';
|
|
4
4
|
export declare const useFollowUpContext: () => FollowupState | undefined;
|
|
5
5
|
interface FollowupContextProviderProps extends WithChildren {
|
|
6
6
|
state: FollowupState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { FeedbackAnswer, FeedbackOption, FollowupQuestion } from '../types.cjs;
|
|
2
|
+
import { FeedbackAnswer, FeedbackOption, FollowupQuestion } from '../types.cjs';
|
|
3
3
|
type CurrentValue = FeedbackOption<string | number> | FeedbackOption<string | number>[] | undefined;
|
|
4
4
|
type Followup = {
|
|
5
5
|
questions: FollowupQuestion[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Feedback } from './Feedback.cjs;
|
|
2
|
-
import { PRESETS } from './presets.cjs;
|
|
1
|
+
import { Feedback } from './Feedback.cjs';
|
|
2
|
+
import { PRESETS } from './presets.cjs';
|
|
3
3
|
export { Feedback, PRESETS };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
|
-
import { Feedback } from '../Feedback.cjs;
|
|
3
|
-
import { FeedbackOption, FeedbackType } from '../types.cjs;
|
|
2
|
+
import { Feedback } from '../Feedback.cjs';
|
|
3
|
+
import { FeedbackOption, FeedbackType } from '../types.cjs';
|
|
4
4
|
type Props = Pick<ComponentProps<typeof Feedback>, "addOnQuestion"> & {
|
|
5
5
|
type: "radio" | "smiley";
|
|
6
6
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WithChildren } from '../../../core/types.cjs;
|
|
3
|
-
import { FeedbackState } from '../types.cjs;
|
|
2
|
+
import { WithChildren } from '../../../core/types.cjs';
|
|
3
|
+
import { FeedbackState } from '../types.cjs';
|
|
4
4
|
export declare const useMainQuestionContext: () => FeedbackState | undefined;
|
|
5
5
|
interface Props extends WithChildren {
|
|
6
6
|
state: FeedbackState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SetStateAction, Dispatch, FormEventHandler } from 'react';
|
|
2
|
-
import { FeedbackType, FeedbackOption } from '../types.cjs;
|
|
2
|
+
import { FeedbackType, FeedbackOption } from '../types.cjs';
|
|
3
3
|
type Value = FeedbackOption<string | number> | FeedbackOption<string | number>[] | undefined;
|
|
4
4
|
type MainQuestion = {
|
|
5
5
|
currentValue: Value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
|
-
import { Feedback } from './Feedback.cjs;
|
|
2
|
+
import { Feedback } from './Feedback.cjs';
|
|
3
3
|
type FeedbackProps = ComponentProps<typeof Feedback>;
|
|
4
4
|
type PresetProperties = Pick<FeedbackProps, "label" | "type" | "options" | "addOnQuestion">;
|
|
5
5
|
export declare const PRESETS: Record<string, PresetProperties>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CheckboxQuestion } from './CheckboxQuestion.cjs;
|
|
2
|
-
export { RadioQuestion } from './RadioQuestion.cjs;
|
|
3
|
-
export { TextQuestion } from './TextQuestion.cjs;
|
|
4
|
-
export { SmileyQuestion } from './SmileyQuestion.cjs;
|
|
5
|
-
export { AddonQuestion } from './AddonQuestion.cjs;
|
|
6
|
-
export { ContactQuestion } from './ContactQuestion.cjs;
|
|
1
|
+
export { CheckboxQuestion } from './CheckboxQuestion.cjs';
|
|
2
|
+
export { RadioQuestion } from './RadioQuestion.cjs';
|
|
3
|
+
export { TextQuestion } from './TextQuestion.cjs';
|
|
4
|
+
export { SmileyQuestion } from './SmileyQuestion.cjs';
|
|
5
|
+
export { AddonQuestion } from './AddonQuestion.cjs';
|
|
6
|
+
export { ContactQuestion } from './ContactQuestion.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { FeedbackOption } from '../types.cjs;
|
|
2
|
+
import { FeedbackOption } from '../types.cjs';
|
|
3
3
|
export declare const defaultOptions: FeedbackOption<number>[];
|
|
4
4
|
export declare const getSmiley: (value: number) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React, JSXElementConstructor, FC } from 'react';
|
|
2
|
-
import { QuestionProps, QuestionType } from './types.cjs;
|
|
2
|
+
import { QuestionProps, QuestionType } from './types.cjs';
|
|
3
3
|
export declare function getChildrenOfType<P>(...allowedTypes: Array<string | JSXElementConstructor<P>>): (children: React.ReactNode) => React.ReactElement<P, string | React.JSXElementConstructor<unknown>>[] | null | undefined;
|
|
4
4
|
export declare const getQuestionFromType: (type: QuestionType) => FC<QuestionProps>;
|