Conversation
|
cf21174 to
6663ce1
Compare
|
|
||
| import { omitProps, pickProps } from '@instructure/ui-react-utils' | ||
|
|
||
| import { allowedProps as formFieldLayoutAllowedProps } from '../../FormFieldLayout/v2/props' | ||
|
|
There was a problem hiding this comment.
FormField needed to be fixed. The v12 version only had a v1 of FormField, which was acutally the reworked version, see #2273 So I made that the v2 version and copied the files from master to v1.
| /* | ||
| * The MIT License (MIT) | ||
| * | ||
| * Copyright (c) 2015 - present Instructure, Inc. | ||
| * | ||
| * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| * of this software and associated documentation files (the "Software"), to deal |
There was a problem hiding this comment.
AiInformation has a v2 version, but the export only had a a.ts files, so AiInformation was not accessible. So I created a b.ts file.
| <div css={styles?.statusIndicatorWrapper}> | ||
| <Pill color={pass ? 'success' : 'error'}> | ||
| <Pill color={pass ? 'success' : 'danger'}> | ||
| {pass ? successLabel : failureLabel} |
There was a problem hiding this comment.
It threw some error so I fixed this. It is 'danger' on master https://github.com/instructure/instructure-ui/blob/master/packages/ui-color-picker/src/ColorContrast/index.tsx so this must have been an older version of the index file? This also in my ColorPicker rework. #2439
| import { Byline } from '../index' | ||
| import { BylineProps } from '../props' | ||
| import { runAxeCheck } from '@instructure/ui-axe-check' | ||
| import { View } from '@instructure/ui-view/latest' |
There was a problem hiding this comment.
Since Byline has just this version, we should use the /latest?
| import { Component } from 'react' | ||
|
|
||
| import { omitProps } from '@instructure/ui-react-utils' | ||
| import { View } from '@instructure/ui-view/latest' |
There was a problem hiding this comment.
Since Byline has just this version, we should use the /latest?
| import { Pill } from '@instructure/ui-pill/latest' | ||
| import { Text } from '@instructure/ui-text/v11_6' | ||
| import { Heading } from '@instructure/ui-heading/v11_6' | ||
| import { Pill } from '@instructure/ui-pill/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version
| import { View } from '@instructure/ui-view/latest' | ||
| import type { ViewOwnProps } from '@instructure/ui-view/latest' | ||
| import { View } from '@instructure/ui-view/v11_6' | ||
| import type { ViewOwnProps } from '@instructure/ui-view/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version
|
|
||
| import { ScreenReaderContent } from '@instructure/ui-a11y-content' | ||
| import { TextInput } from '@instructure/ui-text-input/latest' | ||
| import { TextInput } from '@instructure/ui-text-input/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version
|
|
||
| import type { SyntheticEvent, InputHTMLAttributes } from 'react' | ||
| import type { FormMessage } from '@instructure/ui-form-field' | ||
| import type { FormMessage } from '@instructure/ui-form-field/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version
| import { FormFieldGroup } from '@instructure/ui-form-field/v11_6' | ||
| import type { FormMessage } from '@instructure/ui-form-field/v11_6' | ||
|
|
||
| import { DateInput } from '@instructure/ui-date-input/latest' | ||
| import { TimeSelect } from '@instructure/ui-time-select/latest' | ||
| import { Calendar } from '@instructure/ui-calendar/latest' | ||
| import { DateInput } from '@instructure/ui-date-input/v11_6' | ||
| import { TimeSelect } from '@instructure/ui-time-select/v11_6' | ||
| import { Calendar } from '@instructure/ui-calendar/v11_6' | ||
| import { AccessibleContent } from '@instructure/ui-a11y-content' | ||
| import { IconButton } from '@instructure/ui-buttons/latest' | ||
| import { IconButton } from '@instructure/ui-buttons/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version
|
|
||
| import { SyntheticEvent } from 'react' | ||
| import type { FormMessage } from '@instructure/ui-form-field' | ||
| import type { FormMessage } from '@instructure/ui-form-field/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version
| import { runAxeCheck } from '@instructure/ui-axe-check' | ||
| import { IconCheckSolid } from '@instructure/ui-icons' | ||
| import { Popover } from '@instructure/ui-popover/latest' | ||
| import { Popover } from '@instructure/ui-popover/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version
| OptionsItemRenderProps, | ||
| OptionsItemProps | ||
| } from '@instructure/ui-options' | ||
| } from '@instructure/ui-options/v11_6' |
There was a problem hiding this comment.
I think this needs to be /latest because this has just one version (same for all other exports in Drilldown)
INSTUI-4953
ISSUES:
TEST: