@equinor/eds-core-react 2.3.3 → 2.3.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.css +143 -277
- package/build/index.min.css +1 -5
- package/dist/eds-core-react.cjs +229 -30
- package/dist/esm/components/Accordion/{Accordion.mjs → Accordion.js} +2 -2
- package/dist/esm/components/Accordion/{AccordionHeader.mjs → AccordionHeader.js} +4 -4
- package/dist/esm/components/Accordion/{index.mjs → index.js} +6 -6
- package/dist/esm/components/Autocomplete/{AddNewOption.mjs → AddNewOption.js} +5 -5
- package/dist/esm/components/Autocomplete/{Autocomplete.mjs → Autocomplete.js} +9 -9
- package/dist/esm/components/Autocomplete/{Autocomplete.tokens.mjs → Autocomplete.tokens.js} +1 -1
- package/dist/esm/components/Autocomplete/{EmptyOption.mjs → EmptyOption.js} +2 -2
- package/dist/esm/components/Autocomplete/{MultipleInput.mjs → MultipleInput.js} +25 -9
- package/dist/esm/components/Autocomplete/{Option.mjs → Option.js} +13 -4
- package/dist/esm/components/Autocomplete/{OptionList.mjs → OptionList.js} +8 -8
- package/dist/esm/components/Autocomplete/{RightAdornments.mjs → RightAdornments.js} +4 -4
- package/dist/esm/components/Autocomplete/{SelectAllOption.mjs → SelectAllOption.js} +4 -4
- package/dist/esm/components/Autocomplete/{SingleInput.mjs → SingleInput.js} +3 -3
- package/dist/esm/components/Autocomplete/{useAutocomplete.mjs → useAutocomplete.js} +17 -6
- package/dist/esm/components/Autocomplete/{utils.mjs → utils.js} +2 -2
- package/dist/esm/components/Avatar/{Avatar.mjs → Avatar.js} +1 -1
- package/dist/esm/components/Banner/{Banner.mjs → Banner.js} +5 -5
- package/dist/esm/components/Banner/{Banner.tokens.mjs → Banner.tokens.js} +2 -10
- package/dist/esm/components/Banner/{BannerIcon.mjs → BannerIcon.js} +2 -2
- package/dist/esm/components/Banner/{BannerMessage.mjs → BannerMessage.js} +1 -1
- package/dist/esm/components/Banner/{index.mjs → index.js} +4 -4
- package/dist/esm/components/Breadcrumbs/{Breadcrumb.mjs → Breadcrumb.js} +3 -3
- package/dist/esm/components/Breadcrumbs/{Breadcrumbs.mjs → Breadcrumbs.js} +2 -2
- package/dist/esm/components/Breadcrumbs/{index.mjs → index.js} +2 -2
- package/dist/esm/components/Button/{Button.mjs → Button.js} +3 -3
- package/dist/esm/components/Button/ButtonGroup/{ButtonGroup.mjs → ButtonGroup.js} +1 -1
- package/dist/esm/components/Button/ToggleButton/{ToggleButton.mjs → ToggleButton.js} +2 -2
- package/dist/esm/components/Button/{index.mjs → index.js} +3 -3
- package/dist/esm/components/Button/tokens/{contained.mjs → contained.js} +2 -2
- package/dist/esm/components/Button/tokens/{contained_icon.mjs → contained_icon.js} +2 -2
- package/dist/esm/components/Button/tokens/{ghost.mjs → ghost.js} +2 -2
- package/dist/esm/components/Button/tokens/{icon.mjs → icon.js} +2 -2
- package/dist/esm/components/Button/tokens/{index.mjs → index.js} +5 -5
- package/dist/esm/components/Button/tokens/{outlined.mjs → outlined.js} +2 -2
- package/dist/esm/components/Card/{Card.mjs → Card.js} +2 -2
- package/dist/esm/components/Card/{CardActions.mjs → CardActions.js} +2 -2
- package/dist/esm/components/Card/{CardContent.mjs → CardContent.js} +1 -1
- package/dist/esm/components/Card/{CardHeader.mjs → CardHeader.js} +1 -1
- package/dist/esm/components/Card/{CardMedia.mjs → CardMedia.js} +1 -1
- package/dist/esm/components/Card/{index.mjs → index.js} +6 -6
- package/dist/esm/components/Checkbox/{Checkbox.mjs → Checkbox.js} +2 -2
- package/dist/esm/components/Checkbox/{Input.mjs → Input.js} +2 -2
- package/dist/esm/components/Chip/{Chip.mjs → Chip.js} +3 -3
- package/dist/esm/components/Chip/{Chip.tokens.mjs → Chip.tokens.js} +0 -2
- package/dist/esm/components/Chip/{Icon.mjs → Icon.js} +2 -2
- package/dist/esm/components/Datepicker/{DatePicker.mjs → DatePicker.js} +13 -10
- package/dist/esm/components/Datepicker/{DateRangePicker.mjs → DateRangePicker.js} +13 -10
- package/dist/esm/components/Datepicker/calendars/{Calendar.mjs → Calendar.js} +4 -4
- package/dist/esm/components/Datepicker/calendars/{CalendarCell.mjs → CalendarCell.js} +2 -2
- package/dist/esm/components/Datepicker/calendars/{CalendarGrid.mjs → CalendarGrid.js} +2 -2
- package/dist/esm/components/Datepicker/calendars/{CalendarHeader.mjs → CalendarHeader.js} +3 -3
- package/dist/esm/components/Datepicker/calendars/{RangeCalendar.mjs → RangeCalendar.js} +4 -4
- package/dist/esm/components/Datepicker/calendars/{YearGrid.mjs → YearGrid.js} +1 -1
- package/dist/esm/components/Datepicker/fields/{DateField.mjs → DateField.js} +2 -2
- package/dist/esm/components/Datepicker/fields/{DateFieldSegments.mjs → DateFieldSegments.js} +12 -3
- package/dist/esm/components/Datepicker/fields/{DateRangeField.mjs → DateRangeField.js} +3 -3
- package/dist/esm/components/Datepicker/fields/{DateSegment.mjs → DateSegment.js} +1 -1
- package/dist/esm/components/Datepicker/fields/{FieldWrapper.mjs → FieldWrapper.js} +3 -3
- package/dist/esm/components/Datepicker/fields/{Toggle.mjs → Toggle.js} +2 -2
- package/dist/esm/components/Datepicker/utils/{get-calendar-date.mjs → get-calendar-date.js} +1 -1
- package/dist/esm/components/Datepicker/utils/getLocalizedValidationErrors.js +164 -0
- package/dist/esm/components/Datepicker/utils/{useConvertedValidationFunctions.mjs → useConvertedValidationFunctions.js} +1 -1
- package/dist/esm/components/Dialog/{Dialog.mjs → Dialog.js} +3 -3
- package/dist/esm/components/Dialog/{DialogContent.mjs → DialogContent.js} +1 -1
- package/dist/esm/components/Dialog/{DialogHeader.mjs → DialogHeader.js} +1 -1
- package/dist/esm/components/Dialog/{index.mjs → index.js} +5 -5
- package/dist/esm/components/Divider/{Divider.mjs → Divider.js} +1 -1
- package/dist/esm/components/EdsProvider/{eds.context.mjs → eds.context.js} +1 -1
- package/dist/esm/components/Icon/{Icon.mjs → Icon.js} +1 -1
- package/dist/esm/components/Icon/index.js +7 -0
- package/dist/esm/components/Input/{Input.mjs → Input.js} +2 -2
- package/dist/esm/components/Input/{Input.tokens.mjs → Input.tokens.js} +1 -1
- package/dist/esm/components/InputWrapper/HelperText/{HelperText.mjs → HelperText.js} +1 -1
- package/dist/esm/components/InputWrapper/{InputWrapper.mjs → InputWrapper.js} +4 -4
- package/dist/esm/components/InputWrapper/{InputWrapper.tokens.mjs → InputWrapper.tokens.js} +1 -1
- package/dist/esm/components/Label/{Label.mjs → Label.js} +1 -1
- package/dist/esm/components/List/{List.mjs → List.js} +1 -1
- package/dist/esm/components/List/{index.mjs → index.js} +2 -2
- package/dist/esm/components/Menu/{Menu.context.mjs → Menu.context.js} +1 -1
- package/dist/esm/components/Menu/{Menu.mjs → Menu.js} +5 -5
- package/dist/esm/components/Menu/{MenuItem.mjs → MenuItem.js} +2 -2
- package/dist/esm/components/Menu/{MenuList.mjs → MenuList.js} +4 -4
- package/dist/esm/components/Menu/{MenuSection.mjs → MenuSection.js} +3 -3
- package/dist/esm/components/Menu/{index.mjs → index.js} +3 -3
- package/dist/esm/components/Pagination/{Pagination.mjs → Pagination.js} +6 -6
- package/dist/esm/components/Pagination/{PaginationItem.mjs → PaginationItem.js} +2 -2
- package/dist/esm/components/Paper/{Paper.mjs → Paper.js} +1 -1
- package/dist/esm/components/Popover/{Popover.mjs → Popover.js} +3 -3
- package/dist/esm/components/Popover/{PopoverHeader.mjs → PopoverHeader.js} +1 -1
- package/dist/esm/components/Popover/{index.mjs → index.js} +5 -5
- package/dist/esm/components/Progress/Circular/{CircularProgress.mjs → CircularProgress.js} +1 -1
- package/dist/esm/components/Progress/Dots/{DotProgress.mjs → DotProgress.js} +1 -1
- package/dist/esm/components/Progress/Linear/{LinearProgress.mjs → LinearProgress.js} +1 -1
- package/dist/esm/components/Progress/Star/{StarProgress.mjs → StarProgress.js} +1 -1
- package/dist/esm/components/Progress/index.js +13 -0
- package/dist/esm/components/Radio/{Radio.mjs → Radio.js} +2 -2
- package/dist/esm/components/Scrim/{Scrim.mjs → Scrim.js} +1 -1
- package/dist/esm/components/Search/{Search.mjs → Search.js} +4 -4
- package/dist/esm/components/Select/{NativeSelect.mjs → NativeSelect.js} +3 -3
- package/dist/esm/components/SideBar/{SideBar.context.mjs → SideBar.context.js} +1 -1
- package/dist/esm/components/SideBar/{SideBar.mjs → SideBar.js} +3 -3
- package/dist/esm/components/SideBar/SideBarAccordion/{index.mjs → index.js} +6 -6
- package/dist/esm/components/SideBar/SideBarAccordionItem/{index.mjs → index.js} +3 -3
- package/dist/esm/components/SideBar/SideBarButton/{index.mjs → index.js} +5 -5
- package/dist/esm/components/SideBar/{SideBarToggle.mjs → SideBarToggle.js} +5 -5
- package/dist/esm/components/SideBar/SidebarLink/{index.mjs → index.js} +5 -5
- package/dist/esm/components/SideBar/{index.mjs → index.js} +8 -8
- package/dist/esm/components/SideSheet/{SideSheet.mjs → SideSheet.js} +4 -4
- package/dist/esm/components/Slider/{MinMax.mjs → MinMax.js} +1 -1
- package/dist/esm/components/Slider/{Output.mjs → Output.js} +1 -1
- package/dist/esm/components/Slider/{Slider.mjs → Slider.js} +4 -4
- package/dist/esm/components/Slider/{SliderInput.mjs → SliderInput.js} +1 -1
- package/dist/esm/components/Snackbar/{Snackbar.mjs → Snackbar.js} +3 -3
- package/dist/esm/components/Snackbar/index.js +7 -0
- package/dist/esm/components/Switch/{Switch.mjs → Switch.js} +4 -4
- package/dist/esm/components/Switch/{SwitchDefault.mjs → SwitchDefault.js} +1 -1
- package/dist/esm/components/Switch/{SwitchSmall.mjs → SwitchSmall.js} +1 -1
- package/dist/esm/components/Table/{Body.mjs → Body.js} +1 -1
- package/dist/esm/components/Table/{Cell.mjs → Cell.js} +4 -4
- package/dist/esm/components/Table/DataCell/{DataCell.mjs → DataCell.js} +3 -3
- package/dist/esm/components/Table/DataCell/{DataCell.tokens.mjs → DataCell.tokens.js} +1 -1
- package/dist/esm/components/Table/Foot/{Foot.mjs → Foot.js} +2 -2
- package/dist/esm/components/Table/FooterCell/{FooterCell.mjs → FooterCell.js} +3 -3
- package/dist/esm/components/Table/Head/{Head.mjs → Head.js} +2 -2
- package/dist/esm/components/Table/HeaderCell/{HeaderCell.mjs → HeaderCell.js} +3 -3
- package/dist/esm/components/Table/Row/{Row.mjs → Row.js} +1 -1
- package/dist/esm/components/Table/{Table.mjs → Table.js} +1 -1
- package/dist/esm/components/Table/{index.mjs → index.js} +7 -7
- package/dist/esm/components/TableOfContents/{TableOfContents.mjs → TableOfContents.js} +4 -4
- package/dist/esm/components/TableOfContents/{index.mjs → index.js} +2 -2
- package/dist/esm/components/Tabs/{TabList.mjs → TabList.js} +1 -1
- package/dist/esm/components/Tabs/{TabPanels.mjs → TabPanels.js} +1 -1
- package/dist/esm/components/Tabs/{Tabs.mjs → Tabs.js} +3 -3
- package/dist/esm/components/Tabs/{index.mjs → index.js} +5 -5
- package/dist/esm/components/TextField/{TextField.mjs → TextField.js} +3 -3
- package/dist/esm/components/Textarea/{Textarea.mjs → Textarea.js} +6 -6
- package/dist/{esm-next/components/Tooltip/Tooltip.mjs → esm/components/Tooltip/Tooltip.js} +2 -2
- package/dist/esm/components/TopBar/{TopBar.mjs → TopBar.js} +3 -3
- package/dist/esm/components/TopBar/{index.mjs → index.js} +4 -4
- package/dist/esm/components/Typography/{Heading.mjs → Heading.js} +1 -1
- package/dist/esm/components/Typography/{Paragraph.mjs → Paragraph.js} +1 -1
- package/dist/esm/components/Typography/{Typography.mjs → Typography.js} +1 -1
- package/dist/esm/index.js +100 -0
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_curry1.mjs → _curry1.js} +1 -1
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_curry2.mjs → _curry2.js} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_curry3.mjs → _curry3.js} +3 -3
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeDeepRight.mjs → mergeDeepRight.js} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeDeepWithKey.mjs → mergeDeepWithKey.js} +3 -3
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeWith.mjs → mergeWith.js} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{mergeWithKey.mjs → mergeWithKey.js} +2 -2
- package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/{pickBy.mjs → pickBy.js} +1 -1
- package/dist/{esm/components/Tooltip/Tooltip.mjs → esm-next/components/Tooltip/Tooltip.js} +2 -2
- package/dist/esm-next/components/next/Button/{Button.mjs → Button.js} +4 -6
- package/dist/esm-next/components/next/Checkbox/{Checkbox.mjs → Checkbox.js} +2 -2
- package/dist/esm-next/components/next/Field/{Field.Description.mjs → Field.Description.js} +1 -1
- package/dist/esm-next/components/next/Field/{Field.HelperMessage.mjs → Field.HelperMessage.js} +1 -1
- package/dist/esm-next/components/next/Field/{Field.Label.mjs → Field.Label.js} +1 -1
- package/dist/esm-next/components/next/Field/{Field.mjs → Field.js} +3 -3
- package/dist/esm-next/components/next/Input/{Input.mjs → Input.js} +7 -12
- package/dist/esm-next/components/next/Radio/{Radio.mjs → Radio.js} +2 -2
- package/dist/esm-next/components/next/Switch/{Switch.mjs → Switch.js} +1 -1
- package/dist/esm-next/components/next/TextField/{TextField.mjs → TextField.js} +12 -7
- package/dist/esm-next/index.next.js +9 -0
- package/dist/index.next.cjs +15 -18
- package/dist/types/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/types/components/Autocomplete/AutocompleteContext.d.ts +2 -2
- package/dist/types/components/Autocomplete/useAutocomplete.d.ts +3 -2
- package/dist/types/components/Datepicker/DateRangePicker.d.ts +1 -1
- package/dist/types/components/Datepicker/utils/getLocalizedValidationErrors.d.ts +9 -0
- package/dist/types/components/SideBar/SideBarButton/index.d.ts +1 -1
- package/dist/types/components/Typography/index.d.ts +1 -0
- package/dist/types/components/next/Input/Input.types.d.ts +6 -4
- package/dist/types/components/next/TextField/TextField.d.ts +1 -0
- package/package.json +44 -37
- package/dist/esm/components/Icon/index.mjs +0 -7
- package/dist/esm/components/Progress/index.mjs +0 -13
- package/dist/esm/components/Snackbar/index.mjs +0 -7
- package/dist/esm/index.mjs +0 -100
- package/dist/esm-next/index.next.mjs +0 -9
- /package/dist/esm/components/Accordion/{Accordion.tokens.mjs → Accordion.tokens.js} +0 -0
- /package/dist/esm/components/Accordion/{AccordionHeaderActions.mjs → AccordionHeaderActions.js} +0 -0
- /package/dist/esm/components/Accordion/{AccordionHeaderTitle.mjs → AccordionHeaderTitle.js} +0 -0
- /package/dist/esm/components/Accordion/{AccordionItem.mjs → AccordionItem.js} +0 -0
- /package/dist/esm/components/Accordion/{AccordionPanel.mjs → AccordionPanel.js} +0 -0
- /package/dist/esm/components/Autocomplete/{AutocompleteContext.mjs → AutocompleteContext.js} +0 -0
- /package/dist/esm/components/Avatar/{Avatar.tokens.mjs → Avatar.tokens.js} +0 -0
- /package/dist/esm/components/Banner/{BannerActions.mjs → BannerActions.js} +0 -0
- /package/dist/esm/components/Breadcrumbs/{Breadcrumbs.tokens.mjs → Breadcrumbs.tokens.js} +0 -0
- /package/dist/esm/components/Button/ButtonGroup/{ButtonGroup.tokens.mjs → ButtonGroup.tokens.js} +0 -0
- /package/dist/esm/components/Button/{InnerFullWidth.mjs → InnerFullWidth.js} +0 -0
- /package/dist/esm/components/Button/tokens/{button.mjs → button.js} +0 -0
- /package/dist/esm/components/Card/{Card.tokens.mjs → Card.tokens.js} +0 -0
- /package/dist/esm/components/Card/{CardHeaderTitle.mjs → CardHeaderTitle.js} +0 -0
- /package/dist/esm/components/Checkbox/{Checkbox.tokens.mjs → Checkbox.tokens.js} +0 -0
- /package/dist/esm/components/Datepicker/calendars/{CalendarWrapper.mjs → CalendarWrapper.js} +0 -0
- /package/dist/esm/components/Datepicker/utils/{context.mjs → context.js} +0 -0
- /package/dist/esm/components/Datepicker/utils/{getPageYears.mjs → getPageYears.js} +0 -0
- /package/dist/esm/components/Datepicker/utils/{useGetLocale.mjs → useGetLocale.js} +0 -0
- /package/dist/esm/components/Dialog/{Dialog.tokens.mjs → Dialog.tokens.js} +0 -0
- /package/dist/esm/components/Dialog/{DialogActions.mjs → DialogActions.js} +0 -0
- /package/dist/esm/components/Dialog/{DialogTitle.mjs → DialogTitle.js} +0 -0
- /package/dist/esm/components/Divider/{Divider.tokens.mjs → Divider.tokens.js} +0 -0
- /package/dist/esm/components/Icon/{library.mjs → library.js} +0 -0
- /package/dist/esm/components/InputWrapper/HelperText/{HelperText.token.mjs → HelperText.token.js} +0 -0
- /package/dist/esm/components/InputWrapper/{useInputField.mjs → useInputField.js} +0 -0
- /package/dist/esm/components/Label/{Label.tokens.mjs → Label.tokens.js} +0 -0
- /package/dist/esm/components/List/{List.tokens.mjs → List.tokens.js} +0 -0
- /package/dist/esm/components/List/{ListItem.mjs → ListItem.js} +0 -0
- /package/dist/esm/components/Menu/{Menu.tokens.mjs → Menu.tokens.js} +0 -0
- /package/dist/esm/components/Pagination/{Pagination.tokens.mjs → Pagination.tokens.js} +0 -0
- /package/dist/esm/components/Pagination/{paginationControl.mjs → paginationControl.js} +0 -0
- /package/dist/esm/components/Paper/{Paper.tokens.mjs → Paper.tokens.js} +0 -0
- /package/dist/esm/components/Popover/{Popover.tokens.mjs → Popover.tokens.js} +0 -0
- /package/dist/esm/components/Popover/{PopoverActions.mjs → PopoverActions.js} +0 -0
- /package/dist/esm/components/Popover/{PopoverContent.mjs → PopoverContent.js} +0 -0
- /package/dist/esm/components/Popover/{PopoverTitle.mjs → PopoverTitle.js} +0 -0
- /package/dist/esm/components/Progress/Circular/{CircularProgress.tokens.mjs → CircularProgress.tokens.js} +0 -0
- /package/dist/esm/components/Progress/Dots/{DotProgress.tokens.mjs → DotProgress.tokens.js} +0 -0
- /package/dist/esm/components/Progress/Linear/{LinearProgress.tokens.mjs → LinearProgress.tokens.js} +0 -0
- /package/dist/esm/components/Progress/Star/{StarProgress.tokens.mjs → StarProgress.tokens.js} +0 -0
- /package/dist/esm/components/Radio/{Radio.tokens.mjs → Radio.tokens.js} +0 -0
- /package/dist/esm/components/Scrim/{Scrim.tokens.mjs → Scrim.tokens.js} +0 -0
- /package/dist/esm/components/Select/{NativeSelect.tokens.mjs → NativeSelect.tokens.js} +0 -0
- /package/dist/esm/components/SideBar/{SideBar.tokens.mjs → SideBar.tokens.js} +0 -0
- /package/dist/esm/components/SideBar/{SideBarContent.mjs → SideBarContent.js} +0 -0
- /package/dist/esm/components/SideBar/{SideBarFooter.mjs → SideBarFooter.js} +0 -0
- /package/dist/esm/components/SideSheet/{SideSheet.tokens.mjs → SideSheet.tokens.js} +0 -0
- /package/dist/esm/components/Slider/{Slider.tokens.mjs → Slider.tokens.js} +0 -0
- /package/dist/esm/components/Snackbar/{Snackbar.tokens.mjs → Snackbar.tokens.js} +0 -0
- /package/dist/esm/components/Snackbar/{SnackbarAction.mjs → SnackbarAction.js} +0 -0
- /package/dist/esm/components/Switch/{Switch.styles.mjs → Switch.styles.js} +0 -0
- /package/dist/esm/components/Switch/{Switch.tokens.mjs → Switch.tokens.js} +0 -0
- /package/dist/esm/components/Table/{Caption.mjs → Caption.js} +0 -0
- /package/dist/esm/components/Table/Foot/{Foot.tokens.mjs → Foot.tokens.js} +0 -0
- /package/dist/esm/components/Table/Head/{Head.tokens.mjs → Head.tokens.js} +0 -0
- /package/dist/esm/components/Table/HeaderCell/{HeaderCell.tokens.mjs → HeaderCell.tokens.js} +0 -0
- /package/dist/esm/components/Table/{Inner.context.mjs → Inner.context.js} +0 -0
- /package/dist/esm/components/Table/Row/{Row.tokens.mjs → Row.tokens.js} +0 -0
- /package/dist/esm/components/TableOfContents/{LinkItem.mjs → LinkItem.js} +0 -0
- /package/dist/esm/components/TableOfContents/{TableOfContents.tokens.mjs → TableOfContents.tokens.js} +0 -0
- /package/dist/esm/components/Tabs/{Tab.mjs → Tab.js} +0 -0
- /package/dist/esm/components/Tabs/{TabPanel.mjs → TabPanel.js} +0 -0
- /package/dist/esm/components/Tabs/{Tabs.context.mjs → Tabs.context.js} +0 -0
- /package/dist/esm/components/Tabs/{Tabs.tokens.mjs → Tabs.tokens.js} +0 -0
- /package/dist/esm/components/Tooltip/{Tooltip.tokens.mjs → Tooltip.tokens.js} +0 -0
- /package/dist/esm/components/TopBar/{Actions.mjs → Actions.js} +0 -0
- /package/dist/esm/components/TopBar/{CustomContent.mjs → CustomContent.js} +0 -0
- /package/dist/esm/components/TopBar/{Header.mjs → Header.js} +0 -0
- /package/dist/esm/components/TopBar/{TopBar.tokens.mjs → TopBar.tokens.js} +0 -0
- /package/dist/esm/components/Typography/{Typography.new.mjs → Typography.new.js} +0 -0
- /package/dist/esm/components/Typography/{Typography.tokens.mjs → Typography.tokens.js} +0 -0
- /package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_has.mjs → _has.js} +0 -0
- /package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_isObject.mjs → _isObject.js} +0 -0
- /package/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/{_isPlaceholder.mjs → _isPlaceholder.js} +0 -0
- /package/dist/esm-next/components/EdsProvider/{eds.context.mjs → eds.context.js} +0 -0
- /package/dist/esm-next/components/Tooltip/{Tooltip.tokens.mjs → Tooltip.tokens.js} +0 -0
- /package/dist/esm-next/components/Typography/{Typography.new.mjs → Typography.new.js} +0 -0
- /package/dist/esm-next/components/next/Field/{useFieldIds.mjs → useFieldIds.js} +0 -0
- /package/dist/esm-next/components/next/Icon/{Icon.mjs → Icon.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import { elevation, paper } from './Paper.tokens.
|
|
3
|
+
import { elevation, paper } from './Paper.tokens.js';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const StyledPaper = styled.div.withConfig({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { forwardRef, useRef, useMemo, useEffect } from 'react';
|
|
2
2
|
import styled, { ThemeProvider, css } from 'styled-components';
|
|
3
3
|
import { mergeRefs, useToken, typographyTemplate, bordersTemplate, outlineTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { popover } from './Popover.tokens.
|
|
4
|
+
import { popover } from './Popover.tokens.js';
|
|
5
5
|
import { useFloating, autoUpdate, offset, flip, shift, arrow, useInteractions, useDismiss, FloatingFocusManager } from '@floating-ui/react';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
8
|
-
import { Paper } from '../Paper/Paper.
|
|
7
|
+
import { useEds } from '../EdsProvider/eds.context.js';
|
|
8
|
+
import { Paper } from '../Paper/Paper.js';
|
|
9
9
|
|
|
10
10
|
const PopoverPaper = styled(Paper).withConfig({
|
|
11
11
|
displayName: "Popover__PopoverPaper",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
-
import { Divider } from '../Divider/Divider.
|
|
4
|
+
import { Divider } from '../Divider/Divider.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopoverHeader = styled.div.withConfig({
|
|
7
7
|
displayName: "PopoverHeader__StyledPopoverHeader",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Popover as Popover$1 } from './Popover.
|
|
2
|
-
import { PopoverTitle } from './PopoverTitle.
|
|
3
|
-
import { PopoverContent } from './PopoverContent.
|
|
4
|
-
import { PopoverHeader } from './PopoverHeader.
|
|
5
|
-
import { PopoverActions } from './PopoverActions.
|
|
1
|
+
import { Popover as Popover$1 } from './Popover.js';
|
|
2
|
+
import { PopoverTitle } from './PopoverTitle.js';
|
|
3
|
+
import { PopoverContent } from './PopoverContent.js';
|
|
4
|
+
import { PopoverHeader } from './PopoverHeader.js';
|
|
5
|
+
import { PopoverActions } from './PopoverActions.js';
|
|
6
6
|
|
|
7
7
|
const Popover = Popover$1;
|
|
8
8
|
Popover.Title = PopoverTitle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef, useState, useEffect } from 'react';
|
|
2
2
|
import styled, { css, keyframes } from 'styled-components';
|
|
3
|
-
import * as CircularProgress_tokens from './CircularProgress.tokens.
|
|
3
|
+
import * as CircularProgress_tokens from './CircularProgress.tokens.js';
|
|
4
4
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const indeterminate = keyframes(["100%{transform:rotate(360deg);}"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { keyframes } from 'styled-components';
|
|
3
|
-
import * as DotProgress_tokens from './DotProgress.tokens.
|
|
3
|
+
import * as DotProgress_tokens from './DotProgress.tokens.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const opacity = keyframes(["0%{opacity:1;}100%{opacity:0.5;}"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef, useState, useEffect } from 'react';
|
|
2
2
|
import styled, { keyframes } from 'styled-components';
|
|
3
|
-
import { primary } from './LinearProgress.tokens.
|
|
3
|
+
import { primary } from './LinearProgress.tokens.js';
|
|
4
4
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const indeterminate = keyframes(["0%{left:-200%;right:100%;}60%{left:107%;right:-8%;}100%{left:107%;right:-8%;}"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import styled, { css, keyframes } from 'styled-components';
|
|
3
|
-
import { token } from './StarProgress.tokens.
|
|
3
|
+
import { token } from './StarProgress.tokens.js';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
const indeterminate = keyframes(["0%{opacity:1;}20%{opacity:0.8;}40%{opacity:0.6;}60%{opacity:0.4;}80%{opacity:0.2;}100%{opacity:0.05;}"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LinearProgress } from './Linear/LinearProgress.js';
|
|
2
|
+
import { CircularProgress } from './Circular/CircularProgress.js';
|
|
3
|
+
import { StarProgress } from './Star/StarProgress.js';
|
|
4
|
+
import { DotProgress } from './Dots/DotProgress.js';
|
|
5
|
+
|
|
6
|
+
const Progress = {
|
|
7
|
+
Linear: LinearProgress,
|
|
8
|
+
Circular: CircularProgress,
|
|
9
|
+
Star: StarProgress,
|
|
10
|
+
Dots: DotProgress
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { CircularProgress, DotProgress, LinearProgress, Progress, StarProgress };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { forwardRef, useMemo } from 'react';
|
|
2
2
|
import styled, { ThemeProvider } from 'styled-components';
|
|
3
3
|
import { radio_button_selected, radio_button_unselected } from '@equinor/eds-icons';
|
|
4
|
-
import { comfortable } from './Radio.tokens.
|
|
4
|
+
import { comfortable } from './Radio.tokens.js';
|
|
5
5
|
import { useToken, spacingsTemplate, outlineTemplate, typographyTemplate } from '@equinor/eds-utils';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
7
|
+
import { useEds } from '../EdsProvider/eds.context.js';
|
|
8
8
|
|
|
9
9
|
/* eslint camelcase: "off" */
|
|
10
10
|
const Input = styled.input.attrs(({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef, useRef, useMemo } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
-
import { scrim } from './Scrim.tokens.
|
|
3
|
+
import { scrim } from './Scrim.tokens.js';
|
|
4
4
|
import { useHideBodyScroll, mergeRefs, useGlobalKeyPress } from '@equinor/eds-utils';
|
|
5
5
|
import { FloatingOverlay } from '@floating-ui/react';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { forwardRef, useRef, useState, useEffect, useMemo } from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { close, search } from '@equinor/eds-icons';
|
|
4
|
-
import { Button } from '../Button/index.
|
|
5
|
-
import { Icon } from '../Icon/index.
|
|
4
|
+
import { Button } from '../Button/index.js';
|
|
5
|
+
import { Icon } from '../Icon/index.js';
|
|
6
6
|
import { mergeRefs, setReactInputValue } from '@equinor/eds-utils';
|
|
7
7
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
8
|
-
import { InputWrapper } from '../InputWrapper/InputWrapper.
|
|
9
|
-
import { Input } from '../Input/Input.
|
|
8
|
+
import { InputWrapper } from '../InputWrapper/InputWrapper.js';
|
|
9
|
+
import { Input } from '../Input/Input.js';
|
|
10
10
|
|
|
11
11
|
const SearchInput = styled(Input).withConfig({
|
|
12
12
|
displayName: "Search__SearchInput",
|
|
@@ -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.js';
|
|
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.js';
|
|
7
|
+
import { Label } from '../Label/Label.js';
|
|
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.js';
|
|
4
4
|
import { useToken, bordersTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { SideBarProvider, useSideBar } from './SideBar.context.
|
|
5
|
+
import { SideBarProvider, useSideBar } from './SideBar.context.js';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
|
-
import { useEds } from '../EdsProvider/eds.context.
|
|
7
|
+
import { useEds } from '../EdsProvider/eds.context.js';
|
|
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.js';
|
|
6
|
+
import { sidebar } from '../SideBar.tokens.js';
|
|
7
|
+
import { Icon } from '../../Icon/index.js';
|
|
8
|
+
import { Menu } from '../../Menu/index.js';
|
|
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.js';
|
|
11
|
+
import { Tooltip as Tooltip$1 } from '../../Tooltip/Tooltip.js';
|
|
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.js';
|
|
5
|
+
import { useSideBar } from '../SideBar.context.js';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
|
-
import { Typography } from '../../Typography/Typography.
|
|
7
|
+
import { Typography } from '../../Typography/Typography.js';
|
|
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.js';
|
|
3
|
+
import { Icon } from '../../Icon/index.js';
|
|
4
|
+
import { sidebar } from '../SideBar.tokens.js';
|
|
5
|
+
import { useSideBar } from '../SideBar.context.js';
|
|
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.js';
|
|
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.js';
|
|
3
|
+
import { Icon } from '../Icon/index.js';
|
|
4
|
+
import { useSideBar } from './SideBar.context.js';
|
|
5
|
+
import { sidebar } from './SideBar.tokens.js';
|
|
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.js';
|
|
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.js';
|
|
3
3
|
import { bordersTemplate, outlineTemplate } from '@equinor/eds-utils';
|
|
4
|
-
import { Icon } from '../../Icon/index.
|
|
4
|
+
import { Icon } from '../../Icon/index.js';
|
|
5
5
|
import styled, { css } from 'styled-components';
|
|
6
|
-
import { useSideBar } from '../SideBar.context.
|
|
6
|
+
import { useSideBar } from '../SideBar.context.js';
|
|
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.js';
|
|
9
|
+
import { Tooltip as Tooltip$1 } from '../../Tooltip/Tooltip.js';
|
|
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.js';
|
|
2
|
+
import { SidebarLink } from './SidebarLink/index.js';
|
|
3
|
+
import { SideBarContent } from './SideBarContent.js';
|
|
4
|
+
import { SideBarFooter } from './SideBarFooter.js';
|
|
5
|
+
import { SideBarToggle } from './SideBarToggle.js';
|
|
6
|
+
import { SideBarButton } from './SideBarButton/index.js';
|
|
7
|
+
import { SideBarAccordion } from './SideBarAccordion/index.js';
|
|
8
|
+
import { SideBarAccordionItem } from './SideBarAccordionItem/index.js';
|
|
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.js';
|
|
6
|
+
import { Icon } from '../Icon/index.js';
|
|
7
|
+
import { variants, comfortable } from './SideSheet.tokens.js';
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
|
-
import { Typography } from '../Typography/Typography.
|
|
9
|
+
import { Typography } from '../Typography/Typography.js';
|
|
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.js';
|
|
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.js';
|
|
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.js';
|
|
4
|
+
import { MinMax } from './MinMax.js';
|
|
5
|
+
import { Output } from './Output.js';
|
|
6
|
+
import { SliderInput } from './SliderInput.js';
|
|
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.js';
|
|
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.js';
|
|
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.js';
|
|
7
|
+
import { Paper } from '../Paper/Paper.js';
|
|
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.js';
|
|
4
|
+
import { SwitchDefault } from './SwitchDefault.js';
|
|
5
|
+
import { comfortable } from './Switch.tokens.js';
|
|
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.js';
|
|
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.js';
|
|
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.js';
|
|
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.js';
|
|
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.js';
|
|
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.js';
|
|
5
|
+
import { TableFooterCell } from './FooterCell/FooterCell.js';
|
|
6
|
+
import { TableHeaderCell } from './HeaderCell/HeaderCell.js';
|
|
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.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../../EdsProvider/eds.context.
|
|
6
|
+
import { useEds } from '../../EdsProvider/eds.context.js';
|
|
7
7
|
|
|
8
8
|
const StyledTableCell = styled.td.withConfig({
|
|
9
9
|
displayName: "DataCell__StyledTableCell",
|
|
@@ -20,7 +20,7 @@ const StyledTableCell = styled.td.withConfig({
|
|
|
20
20
|
align
|
|
21
21
|
} = theme;
|
|
22
22
|
const backgroundColor = color === 'error' ? theme.validation.error?.background : '';
|
|
23
|
-
const base = css(["min-height:", ";height:", ";background:", ";vertical-align:", ";box-sizing:border-box;", " ", " ", ""], height, height, backgroundColor, align.vertical, spacingsTemplate(spacings), typographyTemplate(typography), bordersTemplate(border));
|
|
23
|
+
const base = css(["min-height:", ";height:", ";background:", ";vertical-align:", ";box-sizing:border-box;", " ", " ", " a{font-size:inherit;font-weight:inherit;}"], height, height, backgroundColor, align.vertical, spacingsTemplate(spacings), typographyTemplate(typography), bordersTemplate(border));
|
|
24
24
|
return base;
|
|
25
25
|
});
|
|
26
26
|
const TableDataCell = /*#__PURE__*/forwardRef(function TableDataCell({
|
|
@@ -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.js';
|
|
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.js';
|
|
4
4
|
import { bordersTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { InnerContext } from '../Inner.context.
|
|
5
|
+
import { InnerContext } from '../Inner.context.js';
|
|
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.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../../EdsProvider/eds.context.
|
|
6
|
+
import { useEds } from '../../EdsProvider/eds.context.js';
|
|
7
7
|
|
|
8
8
|
const StyledTableCell = styled.th.withConfig({
|
|
9
9
|
displayName: "FooterCell__StyledTableCell",
|
|
@@ -19,7 +19,7 @@ const StyledTableCell = styled.th.withConfig({
|
|
|
19
19
|
typography,
|
|
20
20
|
spacings
|
|
21
21
|
} = theme;
|
|
22
|
-
return css(["min-height:", ";height:", ";background:", ";box-sizing:border-box;", " ", " ", " ", ""], height, height, background, spacingsTemplate(spacings), typographyTemplate(typography), bordersTemplate(theme.border), $sticky ? css(["position:sticky;bottom:0;z-index:2;"]) : '');
|
|
22
|
+
return css(["min-height:", ";height:", ";background:", ";box-sizing:border-box;", " ", " ", " a{font-size:inherit;font-weight:inherit;}", ""], height, height, background, spacingsTemplate(spacings), typographyTemplate(typography), bordersTemplate(theme.border), $sticky ? css(["position:sticky;bottom:0;z-index:2;"]) : '');
|
|
23
23
|
});
|
|
24
24
|
const CellInner = styled.div.withConfig({
|
|
25
25
|
displayName: "FooterCell__CellInner",
|
|
@@ -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.js';
|
|
4
4
|
import { bordersTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { InnerContext } from '../Inner.context.
|
|
5
|
+
import { InnerContext } from '../Inner.context.js';
|
|
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.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
import { useEds } from '../../EdsProvider/eds.context.
|
|
6
|
+
import { useEds } from '../../EdsProvider/eds.context.js';
|
|
7
7
|
|
|
8
8
|
const StyledTableCell = styled.th.withConfig({
|
|
9
9
|
displayName: "HeaderCell__StyledTableCell",
|
|
@@ -34,7 +34,7 @@ const StyledTableCell = styled.th.withConfig({
|
|
|
34
34
|
// Firefox specific workaround (bug in v142.0) - see issue #3910
|
|
35
35
|
// Hardcoded padding values compensate for Firefox's incorrect table cell height calculation
|
|
36
36
|
const firefoxFix = isFirefox() ? css(["vertical-align:top;height:auto;min-height:", ";> div{padding:", " 0;}"], height, $density === 'compact' ? '7px' : '13px') : css([""]);
|
|
37
|
-
return css(["min-height:", ";height:", ";background:", ";box-sizing:border-box;", " ", " ", " ", " ", " ", " ", ""], height, height, background, spacingsTemplate(spacings), typographyTemplate(typography), bordersTemplate(theme.border), sortStylingHover, sortStylingActive, firefoxFix, $sticky ? css(["position:sticky;top:0;z-index:1;"]) : '');
|
|
37
|
+
return css(["min-height:", ";height:", ";background:", ";box-sizing:border-box;", " ", " ", " ", " ", " ", " a{font-size:inherit;font-weight:inherit;}", ""], height, height, background, spacingsTemplate(spacings), typographyTemplate(typography), bordersTemplate(theme.border), sortStylingHover, sortStylingActive, firefoxFix, $sticky ? css(["position:sticky;top:0;z-index:1;"]) : '');
|
|
38
38
|
});
|
|
39
39
|
const CellInner = styled.div.withConfig({
|
|
40
40
|
displayName: "HeaderCell__CellInner",
|
|
@@ -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.js';
|
|
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.js';
|
|
2
|
+
import { Body } from './Body.js';
|
|
3
|
+
import { Cell } from './Cell.js';
|
|
4
|
+
import { Caption } from './Caption.js';
|
|
5
|
+
import { Head } from './Head/Head.js';
|
|
6
|
+
import { Foot } from './Foot/Foot.js';
|
|
7
|
+
import { Row } from './Row/Row.js';
|
|
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.js';
|
|
4
4
|
import { useToken, typographyTemplate } from '@equinor/eds-utils';
|
|
5
|
-
import { tableOfContents } from './TableOfContents.tokens.
|
|
5
|
+
import { tableOfContents } from './TableOfContents.tokens.js';
|
|
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.js';
|
|
8
|
+
import { Typography } from '../Typography/Typography.js';
|
|
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.js';
|
|
2
|
+
import { LinkItem } from './LinkItem.js';
|
|
3
3
|
|
|
4
4
|
const TableOfContents = TableOfContents$1;
|
|
5
5
|
TableOfContents.LinkItem = LinkItem;
|