@fremtind/jokul 0.25.0 → 0.25.1
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/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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Density } from '../../../core/types.cjs;
|
|
3
|
-
import { SkeletonElementProps } from './SkeletonElement.cjs;
|
|
2
|
+
import { Density } from '../../../core/types.cjs';
|
|
3
|
+
import { SkeletonElementProps } from './SkeletonElement.cjs';
|
|
4
4
|
export interface SkeletonLabelProps extends Omit<SkeletonElementProps, "width" | "height"> {
|
|
5
5
|
className?: string;
|
|
6
6
|
density?: Density;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Density } from '../../../core/types.cjs;
|
|
3
|
-
import { SkeletonElementProps } from './SkeletonElement.cjs;
|
|
4
|
-
import { SkeletonLabelProps } from './SkeletonLabel.cjs;
|
|
2
|
+
import { Density } from '../../../core/types.cjs';
|
|
3
|
+
import { SkeletonElementProps } from './SkeletonElement.cjs';
|
|
4
|
+
import { SkeletonLabelProps } from './SkeletonLabel.cjs';
|
|
5
5
|
export interface SkeletonRadioButtonGroupProps {
|
|
6
6
|
className?: string;
|
|
7
7
|
density?: Density;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, HTMLProps, ReactNode } from 'react';
|
|
2
|
-
import { Density } from '../../../core/types.cjs;
|
|
2
|
+
import { Density } from '../../../core/types.cjs';
|
|
3
3
|
export interface SkeletonTableProps extends Pick<HTMLProps<HTMLDivElement>, "style"> {
|
|
4
4
|
className?: string;
|
|
5
5
|
children: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Density } from '../../../core/types.cjs;
|
|
3
|
-
import { SkeletonElementProps } from './SkeletonElement.cjs;
|
|
4
|
-
import { SkeletonLabelProps } from './SkeletonLabel.cjs;
|
|
2
|
+
import { Density } from '../../../core/types.cjs';
|
|
3
|
+
import { SkeletonElementProps } from './SkeletonElement.cjs';
|
|
4
|
+
import { SkeletonLabelProps } from './SkeletonLabel.cjs';
|
|
5
5
|
export interface SkeletonTextAreaProps {
|
|
6
6
|
className?: string;
|
|
7
7
|
labelProps?: SkeletonLabelProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { LogoProps } from './Logo.cjs;
|
|
2
|
-
export { Logo } from './Logo.cjs;
|
|
3
|
-
export type { LogoStampProps } from './LogoStamp.cjs;
|
|
4
|
-
export { LogoStamp } from './LogoStamp.cjs;
|
|
5
|
-
export { ForsikringLevertAvFremtind, FraSB1ogDNB, InnovasjonFraFremtind, TeknologiFraFremtind, VartEgetForsikringsselskap, VartForsikringsselskap, } from './text-paths/index.cjs;
|
|
1
|
+
export type { LogoProps } from './Logo.cjs';
|
|
2
|
+
export { Logo } from './Logo.cjs';
|
|
3
|
+
export type { LogoStampProps } from './LogoStamp.cjs';
|
|
4
|
+
export { LogoStamp } from './LogoStamp.cjs';
|
|
5
|
+
export { ForsikringLevertAvFremtind, FraSB1ogDNB, InnovasjonFraFremtind, TeknologiFraFremtind, VartEgetForsikringsselskap, VartForsikringsselskap, } from './text-paths/index.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ForsikringLevertAvFremtind } from './ForsikringLevertAvFremtind.cjs;
|
|
2
|
-
export { FraSB1ogDNB } from './FraSB1ogDNB.cjs;
|
|
3
|
-
export { InnovasjonFraFremtind } from './InnovasjonFraFremtind.cjs;
|
|
4
|
-
export { TeknologiFraFremtind } from './TeknologiFraFremtind.cjs;
|
|
5
|
-
export { VartEgetForsikringsselskap } from './VartEgetForsikringsselskap.cjs;
|
|
6
|
-
export { VartForsikringsselskap } from './VartForsikringsselskap.cjs;
|
|
1
|
+
export { ForsikringLevertAvFremtind } from './ForsikringLevertAvFremtind.cjs';
|
|
2
|
+
export { FraSB1ogDNB } from './FraSB1ogDNB.cjs';
|
|
3
|
+
export { InnovasjonFraFremtind } from './InnovasjonFraFremtind.cjs';
|
|
4
|
+
export { TeknologiFraFremtind } from './TeknologiFraFremtind.cjs';
|
|
5
|
+
export { VartEgetForsikringsselskap } from './VartEgetForsikringsselskap.cjs';
|
|
6
|
+
export { VartForsikringsselskap } from './VartForsikringsselskap.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/react';
|
|
2
2
|
import { default as React, ButtonHTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
import { DataTestAutoId, WithChildren } from '../../core/types.cjs;
|
|
3
|
+
import { DataTestAutoId, WithChildren } from '../../core/types.cjs';
|
|
4
4
|
export interface MenuProps extends DataTestAutoId, WithChildren, Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
|
|
5
5
|
className?: string;
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs;
|
|
2
|
+
import { PolymorphicPropsWithRef } from '../../utilities/polymorphism/polymorphism.cjs';
|
|
3
3
|
export type MenuItemProps<ElementType extends React.ElementType> = PolymorphicPropsWithRef<ElementType, {
|
|
4
4
|
/**
|
|
5
5
|
* Et ikon som vises før innholdet i menypunktet
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { SwipeChangeHandler } from '../../hooks/useSwipeGesture/useSwipeGesture.cjs;
|
|
2
|
+
import { SwipeChangeHandler } from '../../hooks/useSwipeGesture/useSwipeGesture.cjs';
|
|
3
3
|
export interface MenuItemCheckboxProps extends Omit<HTMLAttributes<HTMLDivElement>, "aria-checked" | "onChange"> {
|
|
4
4
|
"aria-checked": boolean;
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Menu, type MenuProps } from './Menu.cjs;
|
|
2
|
-
export { MenuItem, type MenuItemProps } from './MenuItem.cjs;
|
|
3
|
-
export { MenuItemCheckbox, type MenuItemCheckboxProps } from './MenuItemCheckbox.cjs;
|
|
4
|
-
export { MenuDivider } from './MenuDivider.cjs;
|
|
1
|
+
export { Menu, type MenuProps } from './Menu.cjs';
|
|
2
|
+
export { MenuItem, type MenuItemProps } from './MenuItem.cjs';
|
|
3
|
+
export { MenuItemCheckbox, type MenuItemCheckboxProps } from './MenuItemCheckbox.cjs';
|
|
4
|
+
export { MenuDivider } from './MenuDivider.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InfoMessage, ErrorMessage, SuccessMessage, WarningMessage, type MessageProps } from './Message.cjs;
|
|
2
|
-
export { FormErrorMessage, type FormErrorMessageProps } from './FormErrorMessage.cjs;
|
|
1
|
+
export { InfoMessage, ErrorMessage, SuccessMessage, WarningMessage, type MessageProps } from './Message.cjs';
|
|
2
|
+
export { FormErrorMessage, type FormErrorMessageProps } from './FormErrorMessage.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WithOptionalChildren } from '../../core/types.cjs;
|
|
3
|
-
import { IconButtonProps } from '../icon-button/IconButton.cjs;
|
|
2
|
+
import { WithOptionalChildren } from '../../core/types.cjs';
|
|
3
|
+
import { IconButtonProps } from '../icon-button/IconButton.cjs';
|
|
4
4
|
export interface ModalProps extends WithOptionalChildren {
|
|
5
5
|
id?: string;
|
|
6
6
|
className?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ModalProps } from './Modal.cjs;
|
|
2
|
-
export { ModalContainer, ModalOverlay, Modal, ModalHeader, ModalTitle, ModalCloseButton, ModalBody, ModalActions, } from './Modal.cjs;
|
|
3
|
-
export type { UseModalOptions, ModalInstance, ModalConfig } from './useModal.cjs;
|
|
4
|
-
export { useModal } from './useModal.cjs;
|
|
1
|
+
export type { ModalProps } from './Modal.cjs';
|
|
2
|
+
export { ModalContainer, ModalOverlay, Modal, ModalHeader, ModalTitle, ModalCloseButton, ModalBody, ModalActions, } from './Modal.cjs';
|
|
3
|
+
export type { UseModalOptions, ModalInstance, ModalConfig } from './useModal.cjs';
|
|
4
|
+
export { useModal } from './useModal.cjs';
|
|
@@ -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 PaginationProps<ElementType extends React.ElementType> = PolymorphicPropsWithRef<ElementType, {
|
|
4
4
|
currentPage: number;
|
|
5
5
|
numberOfPages: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Pagination.cjs;
|
|
1
|
+
export * from './Pagination.cjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Popover } from './Popover.cjs;
|
|
1
|
+
export { default as Popover } from './Popover.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { CountdownProps } from './Countdown.cjs;
|
|
2
|
-
export { Countdown } from './Countdown.cjs;
|
|
3
|
-
export type { ProgressBarProps } from './ProgressBar.cjs;
|
|
4
|
-
export { ProgressBar } from './ProgressBar.cjs;
|
|
1
|
+
export type { CountdownProps } from './Countdown.cjs';
|
|
2
|
+
export { Countdown } from './Countdown.cjs';
|
|
3
|
+
export type { ProgressBarProps } from './ProgressBar.cjs';
|
|
4
|
+
export { ProgressBar } from './ProgressBar.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, ChangeEventHandler } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
3
|
-
import { RadioButtonProps } from './RadioButton.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
|
+
import { RadioButtonProps } from './RadioButton.cjs';
|
|
4
4
|
export interface BaseRadioButtonProps extends RadioButtonProps {
|
|
5
5
|
inline?: boolean;
|
|
6
6
|
density?: Density;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, InputHTMLAttributes, ChangeEventHandler, ReactNode } from 'react';
|
|
2
|
-
import { SupportLabelProps } from '../input-group/SupportLabel.cjs;
|
|
2
|
+
import { SupportLabelProps } from '../input-group/SupportLabel.cjs';
|
|
3
3
|
export interface RadioButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "children"> {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
value: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeEventHandler, FC } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
3
|
-
import { FieldGroupProps } from '../input-group/FieldGroup.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
|
+
import { FieldGroupProps } from '../input-group/FieldGroup.cjs';
|
|
4
4
|
export interface RadioButtonGroupProps extends Omit<FieldGroupProps, "onChange"> {
|
|
5
5
|
legend: string;
|
|
6
6
|
/** Alle RadioButton i gruppen får dette som name. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type { RadioButtonProps } from './RadioButton.cjs;
|
|
2
|
-
export { RadioButton } from './RadioButton.cjs;
|
|
3
|
-
export type { RadioButtonGroupProps } from './RadioButtonGroup.cjs;
|
|
4
|
-
export { RadioButtonGroup } from './RadioButtonGroup.cjs;
|
|
5
|
-
export type { BaseRadioButtonProps } from './BaseRadioButton.cjs;
|
|
6
|
-
export { BaseRadioButton } from './BaseRadioButton.cjs;
|
|
1
|
+
export type { RadioButtonProps } from './RadioButton.cjs';
|
|
2
|
+
export { RadioButton } from './RadioButton.cjs';
|
|
3
|
+
export type { RadioButtonGroupProps } from './RadioButtonGroup.cjs';
|
|
4
|
+
export { RadioButtonGroup } from './RadioButtonGroup.cjs';
|
|
5
|
+
export type { BaseRadioButtonProps } from './BaseRadioButton.cjs';
|
|
6
|
+
export { BaseRadioButton } from './BaseRadioButton.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ChangeEventHandler } from 'react';
|
|
2
|
-
import { Density, WithChildren } from '../../core/types.cjs;
|
|
2
|
+
import { Density, WithChildren } from '../../core/types.cjs';
|
|
3
3
|
type RadioGroupContext = {
|
|
4
4
|
name: string | undefined;
|
|
5
5
|
value: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, SelectHTMLAttributes } from 'react';
|
|
2
|
-
import { ValuePair } from '../../utilities/valuePair.cjs;
|
|
3
|
-
import { InputGroupProps } from '../input-group/InputGroup.cjs;
|
|
2
|
+
import { ValuePair } from '../../utilities/valuePair.cjs';
|
|
3
|
+
import { InputGroupProps } from '../input-group/InputGroup.cjs';
|
|
4
4
|
export interface NativeSelectProps extends Omit<InputGroupProps, "children">, SelectHTMLAttributes<HTMLSelectElement> {
|
|
5
5
|
/**
|
|
6
6
|
* Merk som ugyldig uten å sende inn en errorLabel.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React, ChangeEvent } from 'react';
|
|
2
|
-
import { DataTestAutoId, 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 { DataTestAutoId, 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
|
interface PartialChangeEvent extends Partial<Omit<ChangeEvent<HTMLSelectElement>, "target">> {
|
|
7
7
|
/** Kreves av react-hook-form, det skjer ulike ting avhengig av om det er blur eller change */
|
|
8
8
|
type: "change" | "blur";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { SelectProps } from './Select.cjs;
|
|
2
|
-
export { Select } from './Select.cjs;
|
|
3
|
-
export type { NativeSelectProps } from './NativeSelect.cjs;
|
|
4
|
-
export { NativeSelect } from './NativeSelect.cjs;
|
|
1
|
+
export type { SelectProps } from './Select.cjs';
|
|
2
|
+
export { Select } from './Select.cjs';
|
|
3
|
+
export type { NativeSelectProps } from './NativeSelect.cjs';
|
|
4
|
+
export { NativeSelect } from './NativeSelect.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SummaryTable } from './SummaryTable.cjs;
|
|
2
|
-
export { SummaryTableRow } from './SummaryTableRow.cjs;
|
|
1
|
+
export { SummaryTable } from './SummaryTable.cjs';
|
|
2
|
+
export { SummaryTableRow } from './SummaryTableRow.cjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { InfoSystemMessage, WarningSystemMessage, ErrorSystemMessage, SuccessSystemMessage } from './SystemMessage.cjs;
|
|
1
|
+
export { InfoSystemMessage, WarningSystemMessage, ErrorSystemMessage, SuccessSystemMessage } from './SystemMessage.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, TableHTMLAttributes } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
3
|
export interface DataTableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
4
4
|
/** Beskrivelse av tabellen for skjermlesere */
|
|
5
5
|
caption?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { TableCellProps } from './TableCell.cjs;
|
|
2
|
+
import { TableCellProps } from './TableCell.cjs';
|
|
3
3
|
export interface ExpandableTableRowControllerProps extends TableCellProps {
|
|
4
4
|
/** Settes automatisk av ExpandableTableRow */
|
|
5
5
|
isOpen?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, TableHTMLAttributes } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
3
|
export interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
4
4
|
density?: Density;
|
|
5
5
|
/** Bryt ned til en stablet listevisning på små skjermer. NB: husk å sette `data-th` på hver celle! */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, ThHTMLAttributes } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
3
|
-
import { TableSortProps } from './utils.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
|
+
import { TableSortProps } from './utils.cjs';
|
|
4
4
|
export type TableSortDirection = "asc" | "desc";
|
|
5
5
|
export interface TableHeaderProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
6
6
|
bold?: boolean;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export { DataTable } from './DataTable.cjs;
|
|
2
|
-
export { Table } from './Table.cjs;
|
|
3
|
-
export { TableBody } from './TableBody.cjs;
|
|
4
|
-
export { TableCaption } from './TableCaption.cjs;
|
|
5
|
-
export { TableCell } from './TableCell.cjs;
|
|
6
|
-
export { TableColumn } from './TableColumn.cjs;
|
|
7
|
-
export { TableColumnGroup } from './TableColumnGroup.cjs;
|
|
8
|
-
export { useTableContext, TableContextProvider } from './tableContext.cjs;
|
|
9
|
-
export { useTableSectionContext, TableSectionContextProvider } from './tableSectionContext.cjs;
|
|
10
|
-
export { TableFooter } from './TableFooter.cjs;
|
|
11
|
-
export { TableHead } from './TableHead.cjs;
|
|
12
|
-
export { TableHeader } from './TableHeader.cjs;
|
|
13
|
-
export { TablePagination } from './TablePagination.cjs;
|
|
14
|
-
export { TableRow } from './TableRow.cjs;
|
|
15
|
-
export { ExpandableTableRow } from './ExpandableTableRow.cjs;
|
|
16
|
-
export { ExpandableTableRowController } from './ExpandableTableRowController.cjs;
|
|
17
|
-
export { useSortableTableHeader } from './utils.cjs;
|
|
18
|
-
export type { DataTableProps } from './DataTable.cjs;
|
|
19
|
-
export type { TableProps } from './Table.cjs;
|
|
20
|
-
export type { TableBodyProps } from './TableBody.cjs;
|
|
21
|
-
export type { TableCaptionProps } from './TableCaption.cjs;
|
|
22
|
-
export type { TableCellProps } from './TableCell.cjs;
|
|
23
|
-
export type { TableColumnProps } from './TableColumn.cjs;
|
|
24
|
-
export type { TableColumnGroupProps } from './TableColumnGroup.cjs;
|
|
25
|
-
export type { TableContextProviderProps } from './tableContext.cjs;
|
|
26
|
-
export type { TableSectionContextProviderProps } from './tableSectionContext.cjs;
|
|
27
|
-
export type { TableFooterProps } from './TableFooter.cjs;
|
|
28
|
-
export type { TableHeadProps } from './TableHead.cjs;
|
|
29
|
-
export type { TableHeaderProps, TableSortDirection } from './TableHeader.cjs;
|
|
30
|
-
export type { TablePaginationProps } from './TablePagination.cjs;
|
|
31
|
-
export type { TableRowProps } from './TableRow.cjs;
|
|
32
|
-
export type { ExpandableTableRowProps } from './ExpandableTableRow.cjs;
|
|
33
|
-
export type { ExpandableTableRowControllerProps } from './ExpandableTableRowController.cjs;
|
|
34
|
-
export type { TableSortProps } from './utils.cjs;
|
|
1
|
+
export { DataTable } from './DataTable.cjs';
|
|
2
|
+
export { Table } from './Table.cjs';
|
|
3
|
+
export { TableBody } from './TableBody.cjs';
|
|
4
|
+
export { TableCaption } from './TableCaption.cjs';
|
|
5
|
+
export { TableCell } from './TableCell.cjs';
|
|
6
|
+
export { TableColumn } from './TableColumn.cjs';
|
|
7
|
+
export { TableColumnGroup } from './TableColumnGroup.cjs';
|
|
8
|
+
export { useTableContext, TableContextProvider } from './tableContext.cjs';
|
|
9
|
+
export { useTableSectionContext, TableSectionContextProvider } from './tableSectionContext.cjs';
|
|
10
|
+
export { TableFooter } from './TableFooter.cjs';
|
|
11
|
+
export { TableHead } from './TableHead.cjs';
|
|
12
|
+
export { TableHeader } from './TableHeader.cjs';
|
|
13
|
+
export { TablePagination } from './TablePagination.cjs';
|
|
14
|
+
export { TableRow } from './TableRow.cjs';
|
|
15
|
+
export { ExpandableTableRow } from './ExpandableTableRow.cjs';
|
|
16
|
+
export { ExpandableTableRowController } from './ExpandableTableRowController.cjs';
|
|
17
|
+
export { useSortableTableHeader } from './utils.cjs';
|
|
18
|
+
export type { DataTableProps } from './DataTable.cjs';
|
|
19
|
+
export type { TableProps } from './Table.cjs';
|
|
20
|
+
export type { TableBodyProps } from './TableBody.cjs';
|
|
21
|
+
export type { TableCaptionProps } from './TableCaption.cjs';
|
|
22
|
+
export type { TableCellProps } from './TableCell.cjs';
|
|
23
|
+
export type { TableColumnProps } from './TableColumn.cjs';
|
|
24
|
+
export type { TableColumnGroupProps } from './TableColumnGroup.cjs';
|
|
25
|
+
export type { TableContextProviderProps } from './tableContext.cjs';
|
|
26
|
+
export type { TableSectionContextProviderProps } from './tableSectionContext.cjs';
|
|
27
|
+
export type { TableFooterProps } from './TableFooter.cjs';
|
|
28
|
+
export type { TableHeadProps } from './TableHead.cjs';
|
|
29
|
+
export type { TableHeaderProps, TableSortDirection } from './TableHeader.cjs';
|
|
30
|
+
export type { TablePaginationProps } from './TablePagination.cjs';
|
|
31
|
+
export type { TableRowProps } from './TableRow.cjs';
|
|
32
|
+
export type { ExpandableTableRowProps } from './ExpandableTableRow.cjs';
|
|
33
|
+
export type { ExpandableTableRowControllerProps } from './ExpandableTableRowController.cjs';
|
|
34
|
+
export type { TableSortProps } from './utils.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TableSortDirection } from './TableHeader.cjs;
|
|
1
|
+
import { TableSortDirection } from './TableHeader.cjs';
|
|
2
2
|
export type TableSortProps = ReturnType<ReturnType<typeof useSortableTableHeader>["getSortProps"]>["sortable"];
|
|
3
3
|
export declare const useSortableTableHeader: (activeSortKey: string, activeSortDirection: TableSortDirection, onChange: (newSortKey: string, newSortDirection: TableSortDirection) => void) => {
|
|
4
4
|
getSortProps: (sortKey: string) => {
|
|
@@ -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 interface NavTabsProps extends WithChildren {
|
|
4
4
|
"aria-label"?: string;
|
|
5
5
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './NavTab.cjs;
|
|
2
|
-
export * from './NavTabs.cjs;
|
|
3
|
-
export * from './Tabs.cjs;
|
|
4
|
-
export * from './TabList.cjs;
|
|
5
|
-
export * from './Tab.cjs;
|
|
6
|
-
export * from './TabPanel.cjs;
|
|
1
|
+
export * from './NavTab.cjs';
|
|
2
|
+
export * from './NavTabs.cjs';
|
|
3
|
+
export * from './Tabs.cjs';
|
|
4
|
+
export * from './TabList.cjs';
|
|
5
|
+
export * from './Tab.cjs';
|
|
6
|
+
export * from './TabPanel.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ButtonHTMLAttributes, HTMLAttributes, MouseEventHandler } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
3
|
export interface DismissAction extends Exclude<ButtonHTMLAttributes<HTMLButtonElement>, "disabled"> {
|
|
4
4
|
label: string;
|
|
5
5
|
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Tag, InfoTag, ErrorTag, WarningTag, SuccessTag } from './Tag.cjs;
|
|
2
|
-
export type { TagProps } from './Tag.cjs;
|
|
1
|
+
import { Tag, InfoTag, ErrorTag, WarningTag, SuccessTag } from './Tag.cjs';
|
|
2
|
+
export type { TagProps } from './Tag.cjs';
|
|
3
3
|
export { Tag, InfoTag, ErrorTag, WarningTag, SuccessTag };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, MouseEventHandler, ReactNode, InputHTMLAttributes, HTMLProps } from 'react';
|
|
2
|
-
import { Density } from '../../core/types.cjs;
|
|
3
|
-
import { IconProps } from '../icon/index.cjs;
|
|
2
|
+
import { Density } from '../../core/types.cjs';
|
|
3
|
+
import { IconProps } from '../icon/index.cjs';
|
|
4
4
|
interface ActionBaseProps extends Exclude<HTMLProps<HTMLButtonElement>, "disabled"> {
|
|
5
5
|
icon: React.ReactElement<IconProps>;
|
|
6
6
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { InputGroupProps } from '../input-group/InputGroup.cjs;
|
|
3
|
-
import { BaseTextAreaProps } from './BaseTextArea.cjs;
|
|
2
|
+
import { InputGroupProps } from '../input-group/InputGroup.cjs';
|
|
3
|
+
import { BaseTextAreaProps } from './BaseTextArea.cjs';
|
|
4
4
|
export interface TextAreaProps extends Omit<InputGroupProps, "children">, BaseTextAreaProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { InputGroupProps } from '../input-group/InputGroup.cjs;
|
|
3
|
-
import { BaseTextInputProps } from './BaseTextInput.cjs;
|
|
2
|
+
import { InputGroupProps } from '../input-group/InputGroup.cjs';
|
|
3
|
+
import { BaseTextInputProps } from './BaseTextInput.cjs';
|
|
4
4
|
export interface TextInputProps extends Omit<InputGroupProps, "children">, BaseTextInputProps {
|
|
5
5
|
"data-testautoid"?: string;
|
|
6
6
|
inline?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BaseTextArea, type BaseTextAreaProps } from './BaseTextArea.cjs;
|
|
2
|
-
export { BaseTextInput, type BaseTextInputProps } from './BaseTextInput.cjs;
|
|
3
|
-
export { TextArea, type TextAreaProps } from './TextArea.cjs;
|
|
4
|
-
export { TextInput, type TextInputProps } from './TextInput.cjs;
|
|
1
|
+
export { BaseTextArea, type BaseTextAreaProps } from './BaseTextArea.cjs';
|
|
2
|
+
export { BaseTextInput, type BaseTextInputProps } from './BaseTextInput.cjs';
|
|
3
|
+
export { TextArea, type TextAreaProps } from './TextArea.cjs';
|
|
4
|
+
export { TextInput, type TextInputProps } from './TextInput.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AriaToastProps } from '@react-aria/toast';
|
|
2
2
|
import { QueuedToast, ToastState } from '@react-stately/toast';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
|
-
import { ToastContent, ToastOptions } from './types.cjs;
|
|
4
|
+
import { ToastContent, ToastOptions } from './types.cjs';
|
|
5
5
|
interface ToastProps<T extends ToastContent> extends AriaToastProps<T> {
|
|
6
6
|
className?: string;
|
|
7
7
|
state: ToastState<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToastQueue } from '@react-stately/toast';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
import { ToastContent } from './types.cjs;
|
|
3
|
+
import { ToastContent } from './types.cjs';
|
|
4
4
|
export declare function ToastRegion({ queue, placement }: {
|
|
5
5
|
queue: ToastQueue<ToastContent>;
|
|
6
6
|
placement: "center" | "left";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ToastProvider, useToast } from './toastContext.cjs;
|
|
2
|
-
export { type ToastContent } from './types.cjs;
|
|
1
|
+
export { ToastProvider, useToast } from './toastContext.cjs';
|
|
2
|
+
export { type ToastContent } from './types.cjs';
|