Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/guides/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ type: example
- theme variable `colorError` has been renamed to `errorTextColor`
- theme variable `colorSuccess` has been renamed to `successTextColor`
- theme variable `errorIconMarginRight` is now removed
- `newError` message type is now deprecated. Both `newError` and the original `error` type now behave identically (using the new implementation that was previously exclusive to `newError`)
Copy link
Contributor Author

@ToMESSKa ToMESSKa Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these comments were missing from this PR: #2273


### FormFieldMessages

Expand Down Expand Up @@ -233,6 +234,7 @@ type: example
- theme variable `focusOutlineColor` is now removed
- theme variable `requiredInvalidColor` is now removed
- `error` or `success` messages are no longer displayed when the component is `readOnly` or `disabled`
- `newError` message type is now deprecated. Both `newError` and the original `error` type now behave identically (using the new implementation that was previously exclusive to `newError`)

### NumberInput

Expand All @@ -250,16 +252,19 @@ type: example
- theme variable `focusOutlineColor` is now removed
- theme variable `requiredInvalidColor` is now removed
- `error` or `success` messages are no longer displayed when the component is '`readOnly` or `disabled`
- `newError` message type is now deprecated. Both `newError` and the original `error` type now behave identically (using the new implementation that was previously exclusive to `newError`)

### RadioInputGroup

- theme variable `invalidAsteriskColor` is now removed
- `error` or `success` messages are no longer displayed when the component is '`readOnly` or `disabled`
- `newError` message type is now deprecated. Both `newError` and the original `error` type now behave identically (using the new implementation that was previously exclusive to `newError`)

### TextInput

- theme variable `requiredInvalidColor` is now removed
- `error` or `success` messages are no longer displayed when the component is '`readOnly` or `disabled`
- `newError` message type is now deprecated. Both `newError` and the original `error` type now behave identically (using the new implementation that was previously exclusive to `newError`)

### Tabs.Panel

Expand Down
5 changes: 2 additions & 3 deletions packages/ui-popover/src/Popover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ import type { ViewProps, ContextViewProps } from '@instructure/ui-view'
import type { PositionProps } from '@instructure/ui-position'
import type { DialogProps } from '@instructure/ui-dialog'

import { withStyleRework as withStyle } from '@instructure/emotion'
import { withStyle } from '@instructure/emotion'

import generateStyle from './styles'
import generateComponentTheme from './theme'

import type { PopoverProps, PopoverState } from './props'
import { allowedProps } from './props'
Expand All @@ -75,7 +74,7 @@ tags: overlay, portal, dialog
**/
@withDeterministicId()
@textDirectionContextConsumer()
@withStyle(generateStyle, generateComponentTheme)
@withStyle(generateStyle)
class Popover extends Component<PopoverProps, PopoverState> {
static readonly componentId = 'Popover'

Expand Down
8 changes: 4 additions & 4 deletions packages/ui-popover/src/Popover/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

import type { PopoverTheme } from '@instructure/shared-types'
import type { NewComponentTypes } from '@instructure/ui-themes'
import type { PopoverStyle } from './props'

/**
Expand All @@ -31,11 +31,11 @@ import type { PopoverStyle } from './props'
* ---
* Generates the style object from the theme and provided additional information
* @param {Object} componentTheme The theme variable object.
* @param {Object} props the props of the component, the style is applied to
* @param {Object} state the state of the component, the style is applied to
* @return {Object} The final style object, which will be used in the component
*/
const generateStyle = (componentTheme: PopoverTheme): PopoverStyle => {
const generateStyle = (
componentTheme: NewComponentTypes['Popover']
): PopoverStyle => {
return {
borderColor: componentTheme.borderColor
}
Expand Down
43 changes: 0 additions & 43 deletions packages/ui-popover/src/Popover/theme.ts

This file was deleted.