@instructure/ui-options 11.7.4-snapshot-11 → 11.7.4-snapshot-49
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/CHANGELOG.md +1 -1
- package/LICENSE.md +1 -0
- package/es/Options/v1/Item/index.js +5 -4
- package/es/Options/v1/Separator/index.js +5 -4
- package/es/Options/v1/index.js +7 -7
- package/es/Options/v2/Item/index.js +4 -3
- package/es/Options/v2/Separator/index.js +4 -3
- package/es/Options/v2/index.js +6 -6
- package/es/exports/a.js +7 -6
- package/es/exports/b.js +4 -3
- package/lib/Options/v1/Item/index.js +4 -4
- package/lib/Options/v1/Separator/index.js +4 -4
- package/lib/Options/v1/index.js +10 -10
- package/lib/Options/v2/Item/index.js +3 -3
- package/lib/Options/v2/Separator/index.js +3 -3
- package/lib/Options/v2/index.js +9 -9
- package/lib/exports/a.js +9 -9
- package/lib/exports/b.js +6 -6
- package/package.json +11 -11
- package/src/Options/v1/Item/index.tsx +4 -3
- package/src/Options/v1/Separator/index.tsx +4 -3
- package/src/Options/v1/index.tsx +7 -6
- package/src/Options/v2/Item/index.tsx +3 -2
- package/src/Options/v2/Separator/index.tsx +3 -2
- package/src/Options/v2/index.tsx +6 -5
- package/src/exports/a.ts +6 -6
- package/src/exports/b.ts +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Options/v1/Item/index.d.ts +1 -0
- package/types/Options/v1/Item/index.d.ts.map +1 -1
- package/types/Options/v1/Separator/index.d.ts +1 -0
- package/types/Options/v1/Separator/index.d.ts.map +1 -1
- package/types/Options/v1/index.d.ts +4 -3
- package/types/Options/v1/index.d.ts.map +1 -1
- package/types/Options/v2/Item/index.d.ts +1 -0
- package/types/Options/v2/Item/index.d.ts.map +1 -1
- package/types/Options/v2/Separator/index.d.ts +1 -0
- package/types/Options/v2/Separator/index.d.ts.map +1 -1
- package/types/Options/v2/index.d.ts +4 -3
- package/types/Options/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +6 -6
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +3 -3
- package/types/exports/b.d.ts.map +1 -1
package/src/Options/v2/index.tsx
CHANGED
|
@@ -35,15 +35,15 @@ import { View } from '@instructure/ui-view/latest'
|
|
|
35
35
|
|
|
36
36
|
import { withStyleNew } from '@instructure/emotion'
|
|
37
37
|
|
|
38
|
-
import generateStyles from './styles'
|
|
38
|
+
import generateStyles from './styles.js'
|
|
39
39
|
|
|
40
|
-
import { Item } from './Item'
|
|
40
|
+
import { Item } from './Item/index.js'
|
|
41
41
|
import type { OptionsItemProps } from './Item/props'
|
|
42
|
-
import { Separator } from './Separator'
|
|
42
|
+
import { Separator } from './Separator/index.js'
|
|
43
43
|
import type { OptionsSeparatorProps } from './Separator/props'
|
|
44
44
|
|
|
45
45
|
import type { OptionsProps } from './props'
|
|
46
|
-
import { allowedProps } from './props'
|
|
46
|
+
import { allowedProps } from './props.js'
|
|
47
47
|
import { isAndroidOrIOS } from '@instructure/ui-utils'
|
|
48
48
|
|
|
49
49
|
type ItemChild = ComponentElement<OptionsItemProps, Item>
|
|
@@ -53,12 +53,13 @@ type OptionsChildren = (ItemChild | SeparatorChild | OptionsChild)[]
|
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
---
|
|
56
|
-
category: components/
|
|
56
|
+
category: components/Util Components
|
|
57
57
|
---
|
|
58
58
|
**/
|
|
59
59
|
@withDeterministicId()
|
|
60
60
|
@withStyleNew(generateStyles)
|
|
61
61
|
class Options extends Component<OptionsProps> {
|
|
62
|
+
static displayName = 'Options'
|
|
62
63
|
static readonly componentId = 'Options'
|
|
63
64
|
|
|
64
65
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { Options } from '../Options/v1'
|
|
26
|
-
export { Item as OptionItem } from '../Options/v1/Item'
|
|
27
|
-
export { Separator as OptionSeparator } from '../Options/v1/Separator'
|
|
25
|
+
export { Options } from '../Options/v1/index.js'
|
|
26
|
+
export { Item as OptionItem } from '../Options/v1/Item/index.js'
|
|
27
|
+
export { Separator as OptionSeparator } from '../Options/v1/Separator/index.js'
|
|
28
28
|
|
|
29
|
-
export { optionsThemeGenerator } from '../Options/v1/theme'
|
|
30
|
-
export { optionsItemThemeGenerator } from '../Options/v1/Item/theme'
|
|
31
|
-
export { optionsSeparatorThemeGenerator } from '../Options/v1/Separator/theme'
|
|
29
|
+
export { optionsThemeGenerator } from '../Options/v1/theme.js'
|
|
30
|
+
export { optionsItemThemeGenerator } from '../Options/v1/Item/theme.js'
|
|
31
|
+
export { optionsSeparatorThemeGenerator } from '../Options/v1/Separator/theme.js'
|
|
32
32
|
|
|
33
33
|
export type { OptionsProps } from '../Options/v1/props'
|
|
34
34
|
export type {
|
package/src/exports/b.ts
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { Options } from '../Options/v2'
|
|
26
|
-
export { Item as OptionItem } from '../Options/v2/Item'
|
|
27
|
-
export { Separator as OptionSeparator } from '../Options/v2/Separator'
|
|
25
|
+
export { Options } from '../Options/v2/index.js'
|
|
26
|
+
export { Item as OptionItem } from '../Options/v2/Item/index.js'
|
|
27
|
+
export { Separator as OptionSeparator } from '../Options/v2/Separator/index.js'
|
|
28
28
|
|
|
29
29
|
export type { OptionsProps } from '../Options/v2/props'
|
|
30
30
|
export type {
|