@instructure/ui-list 8.13.1-snapshot.9 → 8.14.1-snapshot.6
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 +4 -0
- package/es/InlineList/InlineListItem/InlineListItemLocator.js +2 -1
- package/es/InlineList/InlineListItem/index.js +19 -15
- package/es/InlineList/InlineListItem/props.js +0 -24
- package/es/InlineList/InlineListLocator.js +2 -1
- package/es/InlineList/__examples__/InlineList.examples.js +1 -1
- package/es/InlineList/index.js +1 -2
- package/es/InlineList/props.js +0 -17
- package/es/List/ListItem/index.js +19 -15
- package/es/List/ListItem/props.js +0 -24
- package/es/List/ListLocator.js +4 -2
- package/es/List/__examples__/List.examples.js +1 -1
- package/es/List/index.js +16 -13
- package/es/List/props.js +0 -25
- package/lib/InlineList/InlineListItem/InlineListItemLocator.js +1 -0
- package/lib/InlineList/InlineListItem/index.js +19 -15
- package/lib/InlineList/InlineListItem/props.js +0 -24
- package/lib/InlineList/InlineListLocator.js +1 -0
- package/lib/InlineList/__examples__/InlineList.examples.js +1 -1
- package/lib/InlineList/index.js +1 -2
- package/lib/InlineList/props.js +0 -17
- package/lib/List/ListItem/index.js +19 -15
- package/lib/List/ListItem/props.js +0 -24
- package/lib/List/ListLocator.js +3 -1
- package/lib/List/__examples__/List.examples.js +1 -1
- package/lib/List/index.js +16 -13
- package/lib/List/props.js +0 -25
- package/package.json +14 -14
- package/src/InlineList/InlineListItem/index.tsx +5 -9
- package/src/InlineList/InlineListItem/props.ts +20 -20
- package/src/InlineList/__examples__/InlineList.examples.tsx +7 -4
- package/src/InlineList/index.tsx +1 -3
- package/src/InlineList/props.ts +16 -15
- package/src/List/ListItem/index.tsx +5 -9
- package/src/List/ListItem/props.ts +20 -20
- package/src/List/__examples__/List.examples.tsx +8 -5
- package/src/List/index.tsx +5 -10
- package/src/List/props.ts +20 -20
- package/tsconfig.build.json +18 -2
- package/tsconfig.build.tsbuildinfo +1 -0
- package/types/InlineList/InlineListItem/InlineListItemLocator.d.ts +52 -52
- package/types/InlineList/InlineListItem/index.d.ts +4 -4
- package/types/InlineList/InlineListItem/index.d.ts.map +1 -1
- package/types/InlineList/InlineListItem/props.d.ts +20 -1
- package/types/InlineList/InlineListItem/props.d.ts.map +1 -1
- package/types/InlineList/InlineListLocator.d.ts +182 -182
- package/types/InlineList/__examples__/InlineList.examples.d.ts +3 -8
- package/types/InlineList/__examples__/InlineList.examples.d.ts.map +1 -1
- package/types/InlineList/index.d.ts +1 -2
- package/types/InlineList/index.d.ts.map +1 -1
- package/types/InlineList/props.d.ts +14 -0
- package/types/InlineList/props.d.ts.map +1 -1
- package/types/List/ListItem/index.d.ts +4 -4
- package/types/List/ListItem/index.d.ts.map +1 -1
- package/types/List/ListItem/props.d.ts +20 -1
- package/types/List/ListItem/props.d.ts.map +1 -1
- package/types/List/ListLocator.d.ts +182 -182
- package/types/List/__examples__/List.examples.d.ts +3 -8
- package/types/List/__examples__/List.examples.d.ts.map +1 -1
- package/types/List/index.d.ts +2 -3
- package/types/List/index.d.ts.map +1 -1
- package/types/List/props.d.ts +20 -0
- package/types/List/props.d.ts.map +1 -1
|
@@ -2,12 +2,31 @@ import React from 'react';
|
|
|
2
2
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
3
3
|
import type { PropValidators, InlineListItemTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
4
4
|
declare type InlineListItemOwnProps = {
|
|
5
|
-
children: React.ReactNode | ((
|
|
5
|
+
children: React.ReactNode | (() => React.ReactNode);
|
|
6
|
+
/**
|
|
7
|
+
* Inherits delimiter from the parent InlineList component
|
|
8
|
+
*/
|
|
6
9
|
delimiter?: 'none' | 'pipe' | 'slash' | 'arrow';
|
|
7
10
|
size?: 'small' | 'medium' | 'large';
|
|
11
|
+
/**
|
|
12
|
+
* Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
|
|
13
|
+
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
|
|
14
|
+
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
|
|
15
|
+
*/
|
|
8
16
|
margin?: Spacing;
|
|
17
|
+
/**
|
|
18
|
+
* Valid values are `0`, `none`, `xxx-small`, `xx-small`, `x-small`,
|
|
19
|
+
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
|
|
20
|
+
* familiar CSS-like shorthand. For example: `padding="small x-large large"`.
|
|
21
|
+
*/
|
|
9
22
|
padding?: Spacing;
|
|
23
|
+
/**
|
|
24
|
+
* Inherits itemSpacing from the parent InlineList component
|
|
25
|
+
*/
|
|
10
26
|
spacing?: 'none' | 'xxx-small' | 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large';
|
|
27
|
+
/**
|
|
28
|
+
* provides a reference to the underlying html root element
|
|
29
|
+
*/
|
|
11
30
|
elementRef?: (element: Element | null) => void;
|
|
12
31
|
};
|
|
13
32
|
declare type PropKeys = keyof InlineListItemOwnProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/InlineList/InlineListItem/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAElC,aAAK,sBAAsB,GAAG;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/InlineList/InlineListItem/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,O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