@atlaskit/primitives 0.8.6 → 0.8.7
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
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -7,7 +7,7 @@ declare type BaseBoxPropsFoundation<T extends ElementType> = {
|
|
|
7
7
|
/**
|
|
8
8
|
* The DOM element to render as the Box. Defaults to `div`.
|
|
9
9
|
*/
|
|
10
|
-
as?: 'div' | '
|
|
10
|
+
as?: 'article' | 'aside' | 'dialog' | 'div' | 'footer' | 'header' | 'li' | 'main' | 'nav' | 'ol' | 'section' | 'span' | 'ul';
|
|
11
11
|
/**
|
|
12
12
|
* The HTML className attribute.
|
|
13
13
|
*
|
package/package.json
CHANGED
package/report.api.md
CHANGED
|
@@ -183,7 +183,20 @@ type BaseBoxProps<T extends ElementType = 'div'> = Omit<
|
|
|
183
183
|
|
|
184
184
|
// @public (undocumented)
|
|
185
185
|
type BaseBoxPropsFoundation<T extends ElementType> = {
|
|
186
|
-
as?:
|
|
186
|
+
as?:
|
|
187
|
+
| 'article'
|
|
188
|
+
| 'aside'
|
|
189
|
+
| 'dialog'
|
|
190
|
+
| 'div'
|
|
191
|
+
| 'footer'
|
|
192
|
+
| 'header'
|
|
193
|
+
| 'li'
|
|
194
|
+
| 'main'
|
|
195
|
+
| 'nav'
|
|
196
|
+
| 'ol'
|
|
197
|
+
| 'section'
|
|
198
|
+
| 'span'
|
|
199
|
+
| 'ul';
|
|
187
200
|
className?: string;
|
|
188
201
|
children?: ReactNode;
|
|
189
202
|
backgroundColor?: BackgroundColor;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -167,7 +167,7 @@ type BaseBoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef
|
|
|
167
167
|
|
|
168
168
|
// @public (undocumented)
|
|
169
169
|
type BaseBoxPropsFoundation<T extends ElementType> = {
|
|
170
|
-
as?: 'div' | 'li' | 'span';
|
|
170
|
+
as?: 'article' | 'aside' | 'dialog' | 'div' | 'footer' | 'header' | 'li' | 'main' | 'nav' | 'ol' | 'section' | 'span' | 'ul';
|
|
171
171
|
className?: string;
|
|
172
172
|
children?: ReactNode;
|
|
173
173
|
backgroundColor?: BackgroundColor;
|