@equinor/eds-core-react 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/dist/esm/components/Accordion/{Accordion.js → Accordion.mjs} +2 -2
- package/dist/esm/components/Accordion/{AccordionHeader.js → AccordionHeader.mjs} +4 -4
- package/dist/esm/components/Accordion/{index.js → index.mjs} +6 -6
- package/dist/esm/components/Autocomplete/{AddNewOption.js → AddNewOption.mjs} +4 -4
- package/dist/esm/components/Autocomplete/{Autocomplete.js → Autocomplete.mjs} +8 -8
- package/dist/esm/components/Autocomplete/{Autocomplete.tokens.js → Autocomplete.tokens.mjs} +1 -1
- package/dist/esm/components/Autocomplete/{EmptyOption.js → EmptyOption.mjs} +2 -2
- package/dist/esm/components/Autocomplete/{MultipleInput.js → MultipleInput.mjs} +4 -4
- package/dist/esm/components/Autocomplete/{Option.js → Option.mjs} +2 -2
- package/dist/esm/components/Autocomplete/{OptionList.js → OptionList.mjs} +8 -8
- package/dist/esm/components/Autocomplete/{RightAdornments.js → RightAdornments.mjs} +4 -4
- package/dist/esm/components/Autocomplete/{SelectAllOption.js → SelectAllOption.mjs} +3 -3
- package/dist/esm/components/Autocomplete/{SingleInput.js → SingleInput.mjs} +3 -3
- package/dist/esm/components/Autocomplete/{useAutocomplete.js → useAutocomplete.mjs} +4 -4
- package/dist/esm/components/Autocomplete/{utils.js → utils.mjs} +2 -2
- package/dist/esm/components/Avatar/{Avatar.js → Avatar.mjs} +1 -1
- package/dist/esm/components/Banner/{Banner.js → Banner.mjs} +5 -5
- package/dist/esm/components/Banner/{BannerIcon.js → BannerIcon.mjs} +2 -2
- package/dist/esm/components/Banner/{BannerMessage.js → BannerMessage.mjs} +1 -1
- package/dist/esm/components/Banner/{index.js → index.mjs} +4 -4
- package/dist/esm/components/Breadcrumbs/{Breadcrumb.js → Breadcrumb.mjs} +3 -3
- package/dist/esm/components/Breadcrumbs/{Breadcrumbs.js → Breadcrumbs.mjs} +2 -2
- package/dist/esm/components/Breadcrumbs/{index.js → index.mjs} +2 -2
- package/dist/esm/components/Button/{Button.js → Button.mjs} +3 -3
- package/dist/esm/components/Button/ButtonGroup/{ButtonGroup.js → ButtonGroup.mjs} +1 -1
- package/dist/esm/components/Button/ToggleButton/{ToggleButton.js → ToggleButton.mjs} +2 -2
- package/dist/esm/components/Button/{index.js → index.mjs} +3 -3
- package/dist/esm/components/Button/tokens/{contained.js → contained.mjs} +2 -2
- package/dist/esm/components/Button/tokens/{contained_icon.js → contained_icon.mjs} +2 -2
- package/dist/esm/components/Button/tokens/{ghost.js → ghost.mjs} +2 -2
- package/dist/esm/components/Button/tokens/{icon.js → icon.mjs} +2 -2
- package/dist/esm/components/Button/tokens/{index.js → index.mjs} +5 -5
- package/dist/esm/components/Button/tokens/{outlined.js → outlined.mjs} +2 -2
- package/dist/esm/components/Card/{Card.js → Card.mjs} +2 -2
- package/dist/esm/components/Card/{CardActions.js → CardActions.mjs} +2 -2
- package/dist/esm/components/Card/{CardContent.js → CardContent.mjs} +1 -1
- package/dist/esm/components/Card/{CardHeader.js → CardHeader.mjs} +1 -1
- package/dist/esm/components/Card/{CardMedia.js → CardMedia.mjs} +1 -1
- package/dist/esm/components/Card/{index.js → index.mjs} +6 -6
- package/dist/esm/components/Checkbox/{Checkbox.js → Checkbox.mjs} +2 -2
- package/dist/esm/components/Checkbox/{Input.js → Input.mjs} +2 -2
- package/dist/esm/components/Chip/{Chip.js → Chip.mjs} +2 -2
- package/dist/esm/components/Chip/{Icon.js → Icon.mjs} +2 -2
- package/dist/esm/components/Datepicker/{DatePicker.js → DatePicker.mjs} +9 -9
- package/dist/esm/components/Datepicker/{DateRangePicker.js → DateRangePicker.mjs} +9 -9
- package/dist/esm/components/Datepicker/calendars/{Calendar.js → Calendar.mjs} +4 -4
- package/dist/esm/components/Datepicker/calendars/{CalendarCell.js → CalendarCell.mjs} +2 -2
- package/dist/esm/components/Datepicker/calendars/{CalendarGrid.js → CalendarGrid.mjs} +2 -2
- package/dist/esm/components/Datepicker/calendars/{CalendarHeader.js → CalendarHeader.mjs} +3 -3
- package/dist/esm/components/Datepicker/calendars/{RangeCalendar.js → RangeCalendar.mjs} +4 -4
- package/dist/esm/components/Datepicker/calendars/{YearGrid.js → YearGrid.mjs} +1 -1
- package/dist/esm/components/Datepicker/fields/{DateField.js → DateField.mjs} +2 -2
- package/dist/esm/components/Datepicker/fields/{DateFieldSegments.js → DateFieldSegments.mjs} +1 -1
- package/dist/esm/components/Datepicker/fields/{DateRangeField.js → DateRangeField.mjs} +3 -3
- package/dist/esm/components/Datepicker/fields/{DateSegment.js → DateSegment.mjs} +1 -1
- package/dist/esm/components/Datepicker/fields/{FieldWrapper.js → FieldWrapper.mjs} +3 -3
- package/dist/esm/components/Datepicker/fields/{Toggle.js → Toggle.mjs} +2 -2
- package/dist/esm/components/Datepicker/utils/{useConvertedValidationFunctions.js → useConvertedValidationFunctions.mjs} +1 -1
- package/dist/esm/components/Dialog/{Dialog.js → Dialog.mjs} +3 -3
- package/dist/esm/components/Dialog/{DialogContent.js → DialogContent.mjs} +1 -1
- package/dist/esm/components/Dialog/{DialogHeader.js → DialogHeader.mjs} +1 -1
- package/dist/esm/components/Dialog/{index.js → index.mjs} +5 -5
- package/dist/esm/components/Divider/{Divider.js → Divider.mjs} +1 -1
- package/dist/esm/components/Icon/{Icon.js → Icon.mjs} +1 -1
- package/dist/esm/components/Icon/index.mjs +7 -0
- package/dist/esm/components/Input/{Input.js → Input.mjs} +2 -2
- package/dist/esm/components/Input/{Input.tokens.js → Input.tokens.mjs} +1 -1
- package/dist/esm/components/InputWrapper/HelperText/{HelperText.js → HelperText.mjs} +1 -1
- package/dist/esm/components/InputWrapper/{InputWrapper.js → InputWrapper.mjs} +4 -4
- package/dist/esm/components/InputWrapper/{InputWrapper.tokens.js → InputWrapper.tokens.mjs} +1 -1
- package/dist/esm/components/Label/{Label.js → Label.mjs} +1 -1
- package/dist/esm/components/List/{List.js → List.mjs} +1 -1
- package/dist/esm/components/List/{index.js → index.mjs} +2 -2
- package/dist/esm/components/Menu/{Menu.js → Menu.mjs} +5 -5
- package/dist/esm/components/Menu/{MenuItem.js → MenuItem.mjs} +2 -2
- package/dist/esm/components/Menu/{MenuList.js → MenuList.mjs} +4 -4
- package/dist/esm/components/Menu/{MenuSection.js → MenuSection.mjs} +3 -3
- package/dist/esm/components/Menu/{index.js → index.mjs} +3 -3
- package/dist/esm/components/Pagination/{Pagination.js → Pagination.mjs} +6 -6
- package/dist/esm/components/Pagination/{PaginationItem.js → PaginationItem.mjs} +2 -2
- package/dist/esm/components/Paper/{Paper.js → Paper.mjs} +1 -1
- package/dist/esm/components/Popover/{Popover.js → Popover.mjs} +3 -3
- package/dist/esm/components/Popover/{PopoverHeader.js → PopoverHeader.mjs} +1 -1
- package/dist/esm/components/Popover/{index.js → index.mjs} +5 -5
- package/dist/esm/components/Progress/Circular/{CircularProgress.js → CircularProgress.mjs} +1 -1
- package/dist/esm/components/Progress/Dots/{DotProgress.js → DotProgress.mjs} +1 -1
- package/dist/esm/components/Progress/Linear/{LinearProgress.js → LinearProgress.mjs} +1 -1
- package/dist/esm/components/Progress/Star/{StarProgress.js → StarProgress.mjs} +1 -1
- package/dist/esm/components/Progress/index.mjs +13 -0
- package/dist/esm/components/Radio/{Radio.js → Radio.mjs} +2 -2
- package/dist/esm/components/Scrim/{Scrim.js → Scrim.mjs} +1 -1
- package/dist/esm/components/Search/{Search.js → Search.mjs} +4 -4
- package/dist/esm/components/Select/{NativeSelect.js → NativeSelect.mjs} +3 -3
- package/dist/esm/components/SideBar/{SideBar.js → SideBar.mjs} +3 -3
- package/dist/esm/components/SideBar/SideBarAccordion/{index.js → index.mjs} +6 -6
- package/dist/esm/components/SideBar/SideBarAccordionItem/{index.js → index.mjs} +3 -3
- package/dist/esm/components/SideBar/SideBarButton/{index.js → index.mjs} +5 -5
- package/dist/esm/components/SideBar/{SideBarToggle.js → SideBarToggle.mjs} +5 -5
- package/dist/esm/components/SideBar/SidebarLink/{index.js → index.mjs} +5 -5
- package/dist/esm/components/SideBar/{index.js → index.mjs} +8 -8
- package/dist/esm/components/SideSheet/{SideSheet.js → SideSheet.mjs} +4 -4
- package/dist/esm/components/Slider/{MinMax.js → MinMax.mjs} +1 -1
- package/dist/esm/components/Slider/{Output.js → Output.mjs} +1 -1
- package/dist/esm/components/Slider/{Slider.js → Slider.mjs} +4 -4
- package/dist/esm/components/Slider/{SliderInput.js → SliderInput.mjs} +1 -1
- package/dist/esm/components/Snackbar/{Snackbar.js → Snackbar.mjs} +3 -3
- package/dist/esm/components/Snackbar/index.mjs +7 -0
- package/dist/esm/components/Switch/{Switch.js → Switch.mjs} +4 -4
- package/dist/esm/components/Switch/{SwitchDefault.js → SwitchDefault.mjs} +1 -1
- package/dist/esm/components/Switch/{SwitchSmall.js → SwitchSmall.mjs} +1 -1
- package/dist/esm/components/Table/{Body.js → Body.mjs} +1 -1
- package/dist/esm/components/Table/{Cell.js → Cell.mjs} +4 -4
- package/dist/esm/components/Table/DataCell/{DataCell.js → DataCell.mjs} +2 -2
- package/dist/esm/components/Table/DataCell/{DataCell.tokens.js → DataCell.tokens.mjs} +1 -1
- package/dist/esm/components/Table/Foot/{Foot.js → Foot.mjs} +2 -2
- package/dist/esm/components/Table/FooterCell/{FooterCell.js → FooterCell.mjs} +2 -2
- package/dist/esm/components/Table/Head/{Head.js → Head.mjs} +2 -2
- package/dist/esm/components/Table/HeaderCell/{HeaderCell.js → HeaderCell.mjs} +2 -2
- package/dist/esm/components/Table/Row/{Row.js → Row.mjs} +1 -1
- package/dist/esm/components/Table/{Table.js → Table.mjs} +1 -1
- package/dist/esm/components/Table/{index.js → index.mjs} +7 -7
- package/dist/esm/components/TableOfContents/{TableOfContents.js → TableOfContents.mjs} +4 -4
- package/dist/esm/components/TableOfContents/{index.js → index.mjs} +2 -2
- package/dist/esm/components/Tabs/{TabList.js → TabList.mjs} +1 -1
- package/dist/esm/components/Tabs/{TabPanels.js → TabPanels.mjs} +1 -1
- package/dist/esm/components/Tabs/{Tabs.js → Tabs.mjs} +3 -3
- package/dist/esm/components/Tabs/{index.js → index.mjs} +5 -5
- package/dist/esm/components/TextField/{TextField.js → TextField.mjs} +3 -3
- package/dist/esm/components/Textarea/{Textarea.js → Textarea.mjs} +6 -6
- package/dist/{esm-next/components/Tooltip/Tooltip.js → esm/components/Tooltip/Tooltip.mjs} +2 -2
- package/dist/esm/components/TopBar/{TopBar.js → TopBar.mjs} +3 -3
- package/dist/esm/components/TopBar/{index.js → index.mjs} +4 -4
- package/dist/esm/components/Typography/{Heading.js → Heading.mjs} +1 -1
- package/dist/esm/components/Typography/{Paragraph.js → Paragraph.mjs} +1 -1
- package/dist/esm/components/Typography/{Typography.js → Typography.mjs} +1 -1
- package/dist/esm/index.mjs +100 -0
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_curry1.js → _curry1.mjs} +1 -1
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_curry2.js → _curry2.mjs} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_curry3.js → _curry3.mjs} +3 -3
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeDeepRight.js → mergeDeepRight.mjs} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeDeepWithKey.js → mergeDeepWithKey.mjs} +3 -3
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeWith.js → mergeWith.mjs} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeWithKey.js → mergeWithKey.mjs} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{pickBy.js → pickBy.mjs} +1 -1
- package/dist/{esm/components/Tooltip/Tooltip.js → esm-next/components/Tooltip/Tooltip.mjs} +2 -2
- package/dist/esm-next/components/next/Button/{Button.js → Button.mjs} +1 -1
- package/dist/esm-next/components/next/Checkbox/{Checkbox.js → Checkbox.mjs} +2 -2
- package/dist/esm-next/components/next/Field/{Field.Description.js → Field.Description.mjs} +1 -1
- package/dist/esm-next/components/next/Field/{Field.HelperMessage.js → Field.HelperMessage.mjs} +1 -1
- package/dist/esm-next/components/next/Field/{Field.Label.js → Field.Label.mjs} +1 -1
- package/dist/esm-next/components/next/Field/{Field.js → Field.mjs} +3 -3
- package/dist/esm-next/components/next/Input/{Input.js → Input.mjs} +1 -1
- package/dist/esm-next/components/next/Radio/{Radio.js → Radio.mjs} +2 -2
- package/dist/esm-next/components/next/Switch/{Switch.js → Switch.mjs} +1 -1
- package/dist/esm-next/components/next/TextField/{TextField.js → TextField.mjs} +5 -5
- package/dist/esm-next/index.next.mjs +9 -0
- package/package.json +6 -6
- package/dist/esm/components/Icon/index.js +0 -7
- package/dist/esm/components/Progress/index.js +0 -13
- package/dist/esm/components/Snackbar/index.js +0 -7
- package/dist/esm/index.js +0 -100
- package/dist/esm-next/index.next.js +0 -9
- /package/dist/esm/components/Accordion/{Accordion.tokens.js → Accordion.tokens.mjs} +0 -0
- /package/dist/esm/components/Accordion/{AccordionHeaderActions.js → AccordionHeaderActions.mjs} +0 -0
- /package/dist/esm/components/Accordion/{AccordionHeaderTitle.js → AccordionHeaderTitle.mjs} +0 -0
- /package/dist/esm/components/Accordion/{AccordionItem.js → AccordionItem.mjs} +0 -0
- /package/dist/esm/components/Accordion/{AccordionPanel.js → AccordionPanel.mjs} +0 -0
- /package/dist/esm/components/Autocomplete/{AutocompleteContext.js → AutocompleteContext.mjs} +0 -0
- /package/dist/esm/components/Avatar/{Avatar.tokens.js → Avatar.tokens.mjs} +0 -0
- /package/dist/esm/components/Banner/{Banner.tokens.js → Banner.tokens.mjs} +0 -0
- /package/dist/esm/components/Banner/{BannerActions.js → BannerActions.mjs} +0 -0
- /package/dist/esm/components/Breadcrumbs/{Breadcrumbs.tokens.js → Breadcrumbs.tokens.mjs} +0 -0
- /package/dist/esm/components/Button/ButtonGroup/{ButtonGroup.tokens.js → ButtonGroup.tokens.mjs} +0 -0
- /package/dist/esm/components/Button/{InnerFullWidth.js → InnerFullWidth.mjs} +0 -0
- /package/dist/esm/components/Button/tokens/{button.js → button.mjs} +0 -0
- /package/dist/esm/components/Card/{Card.tokens.js → Card.tokens.mjs} +0 -0
- /package/dist/esm/components/Card/{CardHeaderTitle.js → CardHeaderTitle.mjs} +0 -0
- /package/dist/esm/components/Checkbox/{Checkbox.tokens.js → Checkbox.tokens.mjs} +0 -0
- /package/dist/esm/components/Chip/{Chip.tokens.js → Chip.tokens.mjs} +0 -0
- /package/dist/esm/components/Datepicker/calendars/{CalendarWrapper.js → CalendarWrapper.mjs} +0 -0
- /package/dist/esm/components/Datepicker/utils/{context.js → context.mjs} +0 -0
- /package/dist/esm/components/Datepicker/utils/{get-calendar-date.js → get-calendar-date.mjs} +0 -0
- /package/dist/esm/components/Datepicker/utils/{getPageYears.js → getPageYears.mjs} +0 -0
- /package/dist/esm/components/Datepicker/utils/{useGetLocale.js → useGetLocale.mjs} +0 -0
- /package/dist/esm/components/Dialog/{Dialog.tokens.js → Dialog.tokens.mjs} +0 -0
- /package/dist/esm/components/Dialog/{DialogActions.js → DialogActions.mjs} +0 -0
- /package/dist/esm/components/Dialog/{DialogTitle.js → DialogTitle.mjs} +0 -0
- /package/dist/esm/components/Divider/{Divider.tokens.js → Divider.tokens.mjs} +0 -0
- /package/dist/esm/components/EdsProvider/{eds.context.js → eds.context.mjs} +0 -0
- /package/dist/esm/components/Icon/{library.js → library.mjs} +0 -0
- /package/dist/esm/components/InputWrapper/HelperText/{HelperText.token.js → HelperText.token.mjs} +0 -0
- /package/dist/esm/components/InputWrapper/{useInputField.js → useInputField.mjs} +0 -0
- /package/dist/esm/components/Label/{Label.tokens.js → Label.tokens.mjs} +0 -0
- /package/dist/esm/components/List/{List.tokens.js → List.tokens.mjs} +0 -0
- /package/dist/esm/components/List/{ListItem.js → ListItem.mjs} +0 -0
- /package/dist/esm/components/Menu/{Menu.context.js → Menu.context.mjs} +0 -0
- /package/dist/esm/components/Menu/{Menu.tokens.js → Menu.tokens.mjs} +0 -0
- /package/dist/esm/components/Pagination/{Pagination.tokens.js → Pagination.tokens.mjs} +0 -0
- /package/dist/esm/components/Pagination/{paginationControl.js → paginationControl.mjs} +0 -0
- /package/dist/esm/components/Paper/{Paper.tokens.js → Paper.tokens.mjs} +0 -0
- /package/dist/esm/components/Popover/{Popover.tokens.js → Popover.tokens.mjs} +0 -0
- /package/dist/esm/components/Popover/{PopoverActions.js → PopoverActions.mjs} +0 -0
- /package/dist/esm/components/Popover/{PopoverContent.js → PopoverContent.mjs} +0 -0
- /package/dist/esm/components/Popover/{PopoverTitle.js → PopoverTitle.mjs} +0 -0
- /package/dist/esm/components/Progress/Circular/{CircularProgress.tokens.js → CircularProgress.tokens.mjs} +0 -0
- /package/dist/esm/components/Progress/Dots/{DotProgress.tokens.js → DotProgress.tokens.mjs} +0 -0
- /package/dist/esm/components/Progress/Linear/{LinearProgress.tokens.js → LinearProgress.tokens.mjs} +0 -0
- /package/dist/esm/components/Progress/Star/{StarProgress.tokens.js → StarProgress.tokens.mjs} +0 -0
- /package/dist/esm/components/Radio/{Radio.tokens.js → Radio.tokens.mjs} +0 -0
- /package/dist/esm/components/Scrim/{Scrim.tokens.js → Scrim.tokens.mjs} +0 -0
- /package/dist/esm/components/Select/{NativeSelect.tokens.js → NativeSelect.tokens.mjs} +0 -0
- /package/dist/esm/components/SideBar/{SideBar.context.js → SideBar.context.mjs} +0 -0
- /package/dist/esm/components/SideBar/{SideBar.tokens.js → SideBar.tokens.mjs} +0 -0
- /package/dist/esm/components/SideBar/{SideBarContent.js → SideBarContent.mjs} +0 -0
- /package/dist/esm/components/SideBar/{SideBarFooter.js → SideBarFooter.mjs} +0 -0
- /package/dist/esm/components/SideSheet/{SideSheet.tokens.js → SideSheet.tokens.mjs} +0 -0
- /package/dist/esm/components/Slider/{Slider.tokens.js → Slider.tokens.mjs} +0 -0
- /package/dist/esm/components/Snackbar/{Snackbar.tokens.js → Snackbar.tokens.mjs} +0 -0
- /package/dist/esm/components/Snackbar/{SnackbarAction.js → SnackbarAction.mjs} +0 -0
- /package/dist/esm/components/Switch/{Switch.styles.js → Switch.styles.mjs} +0 -0
- /package/dist/esm/components/Switch/{Switch.tokens.js → Switch.tokens.mjs} +0 -0
- /package/dist/esm/components/Table/{Caption.js → Caption.mjs} +0 -0
- /package/dist/esm/components/Table/Foot/{Foot.tokens.js → Foot.tokens.mjs} +0 -0
- /package/dist/esm/components/Table/Head/{Head.tokens.js → Head.tokens.mjs} +0 -0
- /package/dist/esm/components/Table/HeaderCell/{HeaderCell.tokens.js → HeaderCell.tokens.mjs} +0 -0
- /package/dist/esm/components/Table/{Inner.context.js → Inner.context.mjs} +0 -0
- /package/dist/esm/components/Table/Row/{Row.tokens.js → Row.tokens.mjs} +0 -0
- /package/dist/esm/components/TableOfContents/{LinkItem.js → LinkItem.mjs} +0 -0
- /package/dist/esm/components/TableOfContents/{TableOfContents.tokens.js → TableOfContents.tokens.mjs} +0 -0
- /package/dist/esm/components/Tabs/{Tab.js → Tab.mjs} +0 -0
- /package/dist/esm/components/Tabs/{TabPanel.js → TabPanel.mjs} +0 -0
- /package/dist/esm/components/Tabs/{Tabs.context.js → Tabs.context.mjs} +0 -0
- /package/dist/esm/components/Tabs/{Tabs.tokens.js → Tabs.tokens.mjs} +0 -0
- /package/dist/esm/components/Tooltip/{Tooltip.tokens.js → Tooltip.tokens.mjs} +0 -0
- /package/dist/esm/components/TopBar/{Actions.js → Actions.mjs} +0 -0
- /package/dist/esm/components/TopBar/{CustomContent.js → CustomContent.mjs} +0 -0
- /package/dist/esm/components/TopBar/{Header.js → Header.mjs} +0 -0
- /package/dist/esm/components/TopBar/{TopBar.tokens.js → TopBar.tokens.mjs} +0 -0
- /package/dist/esm/components/Typography/{Typography.new.js → Typography.new.mjs} +0 -0
- /package/dist/esm/components/Typography/{Typography.tokens.js → Typography.tokens.mjs} +0 -0
- /package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_has.js → _has.mjs} +0 -0
- /package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_isObject.js → _isObject.mjs} +0 -0
- /package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_isPlaceholder.js → _isPlaceholder.mjs} +0 -0
- /package/dist/esm-next/components/EdsProvider/{eds.context.js → eds.context.mjs} +0 -0
- /package/dist/esm-next/components/Tooltip/{Tooltip.tokens.js → Tooltip.tokens.mjs} +0 -0
- /package/dist/esm-next/components/Typography/{Typography.new.js → Typography.new.mjs} +0 -0
- /package/dist/esm-next/components/next/Field/{useFieldIds.js → useFieldIds.mjs} +0 -0
- /package/dist/esm-next/components/next/Icon/{Icon.js → Icon.mjs} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
|
-
import { nativeselect } from './NativeSelect.tokens.
|
|
3
|
+
import { nativeselect } from './NativeSelect.tokens.mjs';
|
|
4
4
|
import { useToken, typographyTemplate, spacingsTemplate, outlineTemplate } from '@equinor/eds-utils';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
7
|
-
import { Label } from '../Label/Label.
|
|
6
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
7
|
+
import { Label } from '../Label/Label.mjs';
|
|
8
8
|
|
|
9
9
|
const Container = styled.div.withConfig({
|
|
10
10
|
displayName: "NativeSelect__Container",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { forwardRef, useEffect } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
|
-
import { sidebar } from './SideBar.tokens.
|
|
3
|
+
import { sidebar } from './SideBar.tokens.mjs';
|
|
4
4
|
import { useToken, bordersTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { SideBarProvider, useSideBar } from './SideBar.context.
|
|
5
|
+
import { SideBarProvider, useSideBar } from './SideBar.context.mjs';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
7
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
8
8
|
|
|
9
9
|
const SideBarContainer = /*#__PURE__*/forwardRef(function SideBarContainer({
|
|
10
10
|
onToggle: onToggleCallback,
|
|
@@ -2,13 +2,13 @@ import { forwardRef, useId, useState, useMemo, Children } from 'react';
|
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { mergeRefs, bordersTemplate, outlineTemplate } from '@equinor/eds-utils';
|
|
4
4
|
import { chevron_up, chevron_down, arrow_drop_down } from '@equinor/eds-icons';
|
|
5
|
-
import { useSideBar } from '../SideBar.context.
|
|
6
|
-
import { sidebar } from '../SideBar.tokens.
|
|
7
|
-
import { Icon } from '../../Icon/index.
|
|
8
|
-
import { Menu } from '../../Menu/index.
|
|
5
|
+
import { useSideBar } from '../SideBar.context.mjs';
|
|
6
|
+
import { sidebar } from '../SideBar.tokens.mjs';
|
|
7
|
+
import { Icon } from '../../Icon/index.mjs';
|
|
8
|
+
import { Menu } from '../../Menu/index.mjs';
|
|
9
9
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
10
|
-
import { Typography } from '../../Typography/Typography.
|
|
11
|
-
import { Tooltip as Tooltip$1 } from '../../Tooltip/Tooltip.
|
|
10
|
+
import { Typography } from '../../Typography/Typography.mjs';
|
|
11
|
+
import { Tooltip as Tooltip$1 } from '../../Tooltip/Tooltip.mjs';
|
|
12
12
|
|
|
13
13
|
const {
|
|
14
14
|
minWidth,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { outlineTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { sidebar } from '../SideBar.tokens.
|
|
5
|
-
import { useSideBar } from '../SideBar.context.
|
|
4
|
+
import { sidebar } from '../SideBar.tokens.mjs';
|
|
5
|
+
import { useSideBar } from '../SideBar.context.mjs';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
|
-
import { Typography } from '../../Typography/Typography.
|
|
7
|
+
import { Typography } from '../../Typography/Typography.mjs';
|
|
8
8
|
|
|
9
9
|
const {
|
|
10
10
|
minWidth,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
|
-
import { Button } from '../../Button/index.
|
|
3
|
-
import { Icon } from '../../Icon/index.
|
|
4
|
-
import { sidebar } from '../SideBar.tokens.
|
|
5
|
-
import { useSideBar } from '../SideBar.context.
|
|
2
|
+
import { Button } from '../../Button/index.mjs';
|
|
3
|
+
import { Icon } from '../../Icon/index.mjs';
|
|
4
|
+
import { sidebar } from '../SideBar.tokens.mjs';
|
|
5
|
+
import { useSideBar } from '../SideBar.context.mjs';
|
|
6
6
|
import styled, { css } from 'styled-components';
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import { Tooltip } from '../../Tooltip/Tooltip.
|
|
8
|
+
import { Tooltip } from '../../Tooltip/Tooltip.mjs';
|
|
9
9
|
|
|
10
10
|
const {
|
|
11
11
|
entities: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
|
-
import { Button } from '../Button/index.
|
|
3
|
-
import { Icon } from '../Icon/index.
|
|
4
|
-
import { useSideBar } from './SideBar.context.
|
|
5
|
-
import { sidebar } from './SideBar.tokens.
|
|
2
|
+
import { Button } from '../Button/index.mjs';
|
|
3
|
+
import { Icon } from '../Icon/index.mjs';
|
|
4
|
+
import { useSideBar } from './SideBar.context.mjs';
|
|
5
|
+
import { sidebar } from './SideBar.tokens.mjs';
|
|
6
6
|
import { collapse, expand } from '@equinor/eds-icons';
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
|
-
import { Tooltip } from '../Tooltip/Tooltip.
|
|
9
|
+
import { Tooltip } from '../Tooltip/Tooltip.mjs';
|
|
10
10
|
|
|
11
11
|
const {
|
|
12
12
|
entities: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
|
-
import { sidebar } from '../SideBar.tokens.
|
|
2
|
+
import { sidebar } from '../SideBar.tokens.mjs';
|
|
3
3
|
import { bordersTemplate, outlineTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { Icon } from '../../Icon/index.
|
|
4
|
+
import { Icon } from '../../Icon/index.mjs';
|
|
5
5
|
import styled, { css } from 'styled-components';
|
|
6
|
-
import { useSideBar } from '../SideBar.context.
|
|
6
|
+
import { useSideBar } from '../SideBar.context.mjs';
|
|
7
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
|
-
import { Typography } from '../../Typography/Typography.
|
|
9
|
-
import { Tooltip as Tooltip$1 } from '../../Tooltip/Tooltip.
|
|
8
|
+
import { Typography } from '../../Typography/Typography.mjs';
|
|
9
|
+
import { Tooltip as Tooltip$1 } from '../../Tooltip/Tooltip.mjs';
|
|
10
10
|
|
|
11
11
|
const {
|
|
12
12
|
entities: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SideBar as SideBar$1 } from './SideBar.
|
|
2
|
-
import { SidebarLink } from './SidebarLink/index.
|
|
3
|
-
import { SideBarContent } from './SideBarContent.
|
|
4
|
-
import { SideBarFooter } from './SideBarFooter.
|
|
5
|
-
import { SideBarToggle } from './SideBarToggle.
|
|
6
|
-
import { SideBarButton } from './SideBarButton/index.
|
|
7
|
-
import { SideBarAccordion } from './SideBarAccordion/index.
|
|
8
|
-
import { SideBarAccordionItem } from './SideBarAccordionItem/index.
|
|
1
|
+
import { SideBar as SideBar$1 } from './SideBar.mjs';
|
|
2
|
+
import { SidebarLink } from './SidebarLink/index.mjs';
|
|
3
|
+
import { SideBarContent } from './SideBarContent.mjs';
|
|
4
|
+
import { SideBarFooter } from './SideBarFooter.mjs';
|
|
5
|
+
import { SideBarToggle } from './SideBarToggle.mjs';
|
|
6
|
+
import { SideBarButton } from './SideBarButton/index.mjs';
|
|
7
|
+
import { SideBarAccordion } from './SideBarAccordion/index.mjs';
|
|
8
|
+
import { SideBarAccordionItem } from './SideBarAccordionItem/index.mjs';
|
|
9
9
|
|
|
10
10
|
const SideBar = SideBar$1;
|
|
11
11
|
SideBar.Link = SidebarLink;
|
|
@@ -2,11 +2,11 @@ import { forwardRef } from 'react';
|
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { clear } from '@equinor/eds-icons';
|
|
4
4
|
import { bordersTemplate, spacingsTemplate, typographyTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { Button } from '../Button/index.
|
|
6
|
-
import { Icon } from '../Icon/index.
|
|
7
|
-
import { variants, comfortable } from './SideSheet.tokens.
|
|
5
|
+
import { Button } from '../Button/index.mjs';
|
|
6
|
+
import { Icon } from '../Icon/index.mjs';
|
|
7
|
+
import { variants, comfortable } from './SideSheet.tokens.mjs';
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
|
-
import { Typography } from '../Typography/Typography.
|
|
9
|
+
import { Typography } from '../Typography/Typography.mjs';
|
|
10
10
|
|
|
11
11
|
const {
|
|
12
12
|
background,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { typographyTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { slider } from './Slider.tokens.
|
|
4
|
+
import { slider } from './Slider.tokens.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { typographyTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { slider } from './Slider.tokens.
|
|
4
|
+
import { slider } from './Slider.tokens.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
const {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef, useState, useEffect, useRef, useId, useCallback } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
|
-
import { slider } from './Slider.tokens.
|
|
4
|
-
import { MinMax } from './MinMax.
|
|
5
|
-
import { Output } from './Output.
|
|
6
|
-
import { SliderInput } from './SliderInput.
|
|
3
|
+
import { slider } from './Slider.tokens.mjs';
|
|
4
|
+
import { MinMax } from './MinMax.mjs';
|
|
5
|
+
import { Output } from './Output.mjs';
|
|
6
|
+
import { SliderInput } from './SliderInput.mjs';
|
|
7
7
|
import { bordersTemplate } from '@equinor/eds-utils';
|
|
8
8
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
|
-
import { slider } from './Slider.tokens.
|
|
3
|
+
import { slider } from './Slider.tokens.mjs';
|
|
4
4
|
import { outlineTemplate, bordersTemplate } from '@equinor/eds-utils';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { forwardRef, useState, useRef, useEffect } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
|
-
import { snackbar } from './Snackbar.tokens.
|
|
3
|
+
import { snackbar } from './Snackbar.tokens.mjs';
|
|
4
4
|
import { useToken, spacingsTemplate, bordersTemplate, typographyTemplate } from '@equinor/eds-utils';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
7
|
-
import { Paper } from '../Paper/Paper.
|
|
6
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
7
|
+
import { Paper } from '../Paper/Paper.mjs';
|
|
8
8
|
|
|
9
9
|
const PopoverDiv = styled('div').withConfig({
|
|
10
10
|
shouldForwardProp: () => true //workaround to avoid warning until popover gets added to react types
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
|
-
import { SwitchSmall } from './SwitchSmall.
|
|
4
|
-
import { SwitchDefault } from './SwitchDefault.
|
|
5
|
-
import { comfortable } from './Switch.tokens.
|
|
3
|
+
import { SwitchSmall } from './SwitchSmall.mjs';
|
|
4
|
+
import { SwitchDefault } from './SwitchDefault.mjs';
|
|
5
|
+
import { comfortable } from './Switch.tokens.mjs';
|
|
6
6
|
import { useToken, typographyTemplate } from '@equinor/eds-utils';
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
8
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
9
9
|
|
|
10
10
|
const StyledLabel = styled.label.withConfig({
|
|
11
11
|
displayName: "Switch__StyledLabel",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { bordersTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { GridWrapper, BaseInputWrapper, BaseInput } from './Switch.styles.
|
|
4
|
+
import { GridWrapper, BaseInputWrapper, BaseInput } from './Switch.styles.mjs';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
const Input = styled(BaseInput).withConfig({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
|
-
import { GridWrapper, BaseInputWrapper, BaseInput } from './Switch.styles.
|
|
3
|
+
import { GridWrapper, BaseInputWrapper, BaseInput } from './Switch.styles.mjs';
|
|
4
4
|
import { outlineTemplate } from '@equinor/eds-utils';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import { InnerContext } from './Inner.context.
|
|
3
|
+
import { InnerContext } from './Inner.context.mjs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const TableBase = styled.tbody.withConfig({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
|
-
import { InnerContext } from './Inner.context.
|
|
2
|
+
import { InnerContext } from './Inner.context.mjs';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
import { TableDataCell } from './DataCell/DataCell.
|
|
5
|
-
import { TableFooterCell } from './FooterCell/FooterCell.
|
|
6
|
-
import { TableHeaderCell } from './HeaderCell/HeaderCell.
|
|
4
|
+
import { TableDataCell } from './DataCell/DataCell.mjs';
|
|
5
|
+
import { TableFooterCell } from './FooterCell/FooterCell.mjs';
|
|
6
|
+
import { TableHeaderCell } from './HeaderCell/HeaderCell.mjs';
|
|
7
7
|
|
|
8
8
|
const Cell = /*#__PURE__*/forwardRef(function Cell({
|
|
9
9
|
...rest
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
3
|
import { useToken, spacingsTemplate, typographyTemplate, bordersTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { applyVariant, tableCell } from './DataCell.tokens.
|
|
4
|
+
import { applyVariant, tableCell } from './DataCell.tokens.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../../EdsProvider/eds.context.
|
|
6
|
+
import { useEds } from '../../EdsProvider/eds.context.mjs';
|
|
7
7
|
|
|
8
8
|
const StyledTableCell = styled.td.withConfig({
|
|
9
9
|
displayName: "DataCell__StyledTableCell",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tokens } from '@equinor/eds-tokens';
|
|
2
|
-
import mergeDeepRight from '../../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/mergeDeepRight.
|
|
2
|
+
import mergeDeepRight from '../../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/mergeDeepRight.mjs';
|
|
3
3
|
|
|
4
4
|
const {
|
|
5
5
|
typography: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import { token } from './Foot.tokens.
|
|
3
|
+
import { token } from './Foot.tokens.mjs';
|
|
4
4
|
import { bordersTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { InnerContext } from '../Inner.context.
|
|
5
|
+
import { InnerContext } from '../Inner.context.mjs';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
const StyledTableFoot = styled.tfoot.withConfig({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
3
|
import { useToken, spacingsTemplate, typographyTemplate, bordersTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { token } from '../HeaderCell/HeaderCell.tokens.
|
|
4
|
+
import { token } from '../HeaderCell/HeaderCell.tokens.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../../EdsProvider/eds.context.
|
|
6
|
+
import { useEds } from '../../EdsProvider/eds.context.mjs';
|
|
7
7
|
|
|
8
8
|
const StyledTableCell = styled.th.withConfig({
|
|
9
9
|
displayName: "FooterCell__StyledTableCell",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import { token } from './Head.tokens.
|
|
3
|
+
import { token } from './Head.tokens.mjs';
|
|
4
4
|
import { bordersTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { InnerContext } from '../Inner.context.
|
|
5
|
+
import { InnerContext } from '../Inner.context.mjs';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
const StyledTableHead = styled.thead.withConfig({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
3
|
import { useToken, isFirefox, spacingsTemplate, typographyTemplate, bordersTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { token } from './HeaderCell.tokens.
|
|
4
|
+
import { token } from './HeaderCell.tokens.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../../EdsProvider/eds.context.
|
|
6
|
+
import { useEds } from '../../EdsProvider/eds.context.mjs';
|
|
7
7
|
|
|
8
8
|
const StyledTableCell = styled.th.withConfig({
|
|
9
9
|
displayName: "HeaderCell__StyledTableCell",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import { tableCell } from './DataCell/DataCell.tokens.
|
|
3
|
+
import { tableCell } from './DataCell/DataCell.tokens.mjs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const TableBase = styled.table.withConfig({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Table as Table$1 } from './Table.
|
|
2
|
-
import { Body } from './Body.
|
|
3
|
-
import { Cell } from './Cell.
|
|
4
|
-
import { Caption } from './Caption.
|
|
5
|
-
import { Head } from './Head/Head.
|
|
6
|
-
import { Foot } from './Foot/Foot.
|
|
7
|
-
import { Row } from './Row/Row.
|
|
1
|
+
import { Table as Table$1 } from './Table.mjs';
|
|
2
|
+
import { Body } from './Body.mjs';
|
|
3
|
+
import { Cell } from './Cell.mjs';
|
|
4
|
+
import { Caption } from './Caption.mjs';
|
|
5
|
+
import { Head } from './Head/Head.mjs';
|
|
6
|
+
import { Foot } from './Foot/Foot.mjs';
|
|
7
|
+
import { Row } from './Row/Row.mjs';
|
|
8
8
|
|
|
9
9
|
const Table = Table$1;
|
|
10
10
|
Table.Body = Body;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
|
-
import { List } from '../List/index.
|
|
3
|
+
import { List } from '../List/index.mjs';
|
|
4
4
|
import { useToken, typographyTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { tableOfContents } from './TableOfContents.tokens.
|
|
5
|
+
import { tableOfContents } from './TableOfContents.tokens.mjs';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
8
|
-
import { Typography } from '../Typography/Typography.
|
|
7
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
8
|
+
import { Typography } from '../Typography/Typography.mjs';
|
|
9
9
|
|
|
10
10
|
const StyledTableOfContents = styled.nav.withConfig({
|
|
11
11
|
displayName: "TableOfContents__StyledTableOfContents",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TableOfContents as TableOfContents$1 } from './TableOfContents.
|
|
2
|
-
import { LinkItem } from './LinkItem.
|
|
1
|
+
import { TableOfContents as TableOfContents$1 } from './TableOfContents.mjs';
|
|
2
|
+
import { LinkItem } from './LinkItem.mjs';
|
|
3
3
|
|
|
4
4
|
const TableOfContents = TableOfContents$1;
|
|
5
5
|
TableOfContents.LinkItem = LinkItem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef, useContext, useRef, useState, useCallback, Children, isValidElement, cloneElement } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { mergeRefs } from '@equinor/eds-utils';
|
|
4
|
-
import { TabsContext } from './Tabs.context.
|
|
4
|
+
import { TabsContext } from './Tabs.context.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
const variants = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { forwardRef, useContext, Children, isValidElement, cloneElement } from 'react';
|
|
2
|
-
import { TabsContext } from './Tabs.context.
|
|
2
|
+
import { TabsContext } from './Tabs.context.mjs';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
const TabPanels = /*#__PURE__*/forwardRef(function TabPanels({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { forwardRef, useId, useRef, useMemo, useState, useEffect } from 'react';
|
|
2
|
-
import { TabsProvider } from './Tabs.context.
|
|
3
|
-
import { token } from './Tabs.tokens.
|
|
2
|
+
import { TabsProvider } from './Tabs.context.mjs';
|
|
3
|
+
import { token } from './Tabs.tokens.mjs';
|
|
4
4
|
import { mergeRefs, useToken } from '@equinor/eds-utils';
|
|
5
5
|
import { ThemeProvider } from 'styled-components';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
7
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
8
8
|
|
|
9
9
|
const Tabs = /*#__PURE__*/forwardRef(function Tabs({
|
|
10
10
|
activeTab = 0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Tabs as Tabs$1 } from './Tabs.
|
|
2
|
-
import { TabList } from './TabList.
|
|
3
|
-
import { Tab } from './Tab.
|
|
4
|
-
import { TabPanels } from './TabPanels.
|
|
5
|
-
import { TabPanel } from './TabPanel.
|
|
1
|
+
import { Tabs as Tabs$1 } from './Tabs.mjs';
|
|
2
|
+
import { TabList } from './TabList.mjs';
|
|
3
|
+
import { Tab } from './Tab.mjs';
|
|
4
|
+
import { TabPanels } from './TabPanels.mjs';
|
|
5
|
+
import { TabPanel } from './TabPanel.mjs';
|
|
6
6
|
|
|
7
7
|
const Tabs = Tabs$1;
|
|
8
8
|
Tabs.Tab = Tab;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
|
-
import { useInputField } from '../InputWrapper/useInputField.
|
|
4
|
-
import { InputWrapper } from '../InputWrapper/InputWrapper.
|
|
5
|
-
import { Input } from '../Input/Input.
|
|
3
|
+
import { useInputField } from '../InputWrapper/useInputField.mjs';
|
|
4
|
+
import { InputWrapper } from '../InputWrapper/InputWrapper.mjs';
|
|
5
|
+
import { Input } from '../Input/Input.mjs';
|
|
6
6
|
|
|
7
7
|
const TextField = /*#__PURE__*/forwardRef(function TextField({
|
|
8
8
|
id,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { forwardRef, useMemo } from 'react';
|
|
2
|
-
import * as Input_tokens from '../Input/Input.tokens.
|
|
3
|
-
import { input as input$1 } from '../Input/Input.tokens.
|
|
2
|
+
import * as Input_tokens from '../Input/Input.tokens.mjs';
|
|
3
|
+
import { input as input$1 } from '../Input/Input.tokens.mjs';
|
|
4
4
|
import { useAutoResize, mergeRefs } from '@equinor/eds-utils';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useInputField } from '../InputWrapper/useInputField.
|
|
7
|
-
import { InputWrapper } from '../InputWrapper/InputWrapper.
|
|
8
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
9
|
-
import { Input } from '../Input/Input.
|
|
6
|
+
import { useInputField } from '../InputWrapper/useInputField.mjs';
|
|
7
|
+
import { InputWrapper } from '../InputWrapper/InputWrapper.mjs';
|
|
8
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
9
|
+
import { Input } from '../Input/Input.mjs';
|
|
10
10
|
|
|
11
11
|
const {
|
|
12
12
|
input
|
|
@@ -2,10 +2,10 @@ import { forwardRef, useRef, useState, useMemo, useEffect, cloneElement } from '
|
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { mergeRefs, typographyTemplate, spacingsTemplate, bordersTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { tooltip } from './Tooltip.tokens.
|
|
5
|
+
import { tooltip } from './Tooltip.tokens.mjs';
|
|
6
6
|
import { useFloating, autoUpdate, offset, flip, shift, arrow, useInteractions, useHover, useFocus, useRole, useDismiss } from '@floating-ui/react';
|
|
7
7
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
8
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
8
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
9
9
|
|
|
10
10
|
const StyledTooltip = styled('div').withConfig({
|
|
11
11
|
shouldForwardProp: () => true //workaround to avoid warning until popover gets added to react types
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
3
|
import { useToken, bordersTemplate, spacingsTemplate, typographyTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { topbar } from './TopBar.tokens.
|
|
4
|
+
import { topbar } from './TopBar.tokens.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
7
|
-
import { Paper } from '../Paper/Paper.
|
|
6
|
+
import { useEds } from '../EdsProvider/eds.context.mjs';
|
|
7
|
+
import { Paper } from '../Paper/Paper.mjs';
|
|
8
8
|
|
|
9
9
|
const StyledTopBar = styled(Paper).withConfig({
|
|
10
10
|
displayName: "TopBar__StyledTopBar",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TopBar as TopBar$1 } from './TopBar.
|
|
2
|
-
import { Actions } from './Actions.
|
|
3
|
-
import { Header } from './Header.
|
|
4
|
-
import { CustomContent } from './CustomContent.
|
|
1
|
+
import { TopBar as TopBar$1 } from './TopBar.mjs';
|
|
2
|
+
import { Actions } from './Actions.mjs';
|
|
3
|
+
import { Header } from './Header.mjs';
|
|
4
|
+
import { CustomContent } from './CustomContent.mjs';
|
|
5
5
|
|
|
6
6
|
const TopBar = TopBar$1;
|
|
7
7
|
TopBar.Actions = Actions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { typographyTemplate, outlineTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { quickVariants, typography, colors, link } from './Typography.tokens.
|
|
4
|
+
import { quickVariants, typography, colors, link } from './Typography.tokens.mjs';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
const getElementType = (variant, link) => {
|