@frontify/fondue 12.9.7 → 12.10.0
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/dist/components/Divider/Divider.es.js +25 -24
- package/dist/components/Divider/Divider.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/components/style.css +1 -1
- package/dist/packages/tokens/tailwind.config.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1366,7 +1366,7 @@ export declare type DimensionUnity = '%' | 'px' | 'rem' | 'em' | 'vh' | 'vw';
|
|
|
1366
1366
|
* @deprecated Please use updated Divider component from `@frontify/fondue/components` instead. Also check {@link https://github.com/Frontify/fondue/blob/main/packages/components/MIGRATING.md#divider the migration guide}.
|
|
1367
1367
|
*/
|
|
1368
1368
|
export declare const Divider: {
|
|
1369
|
-
({ vertical, style, height, "data-test-id": dataTestId, color, }: DividerProps): ReactElement;
|
|
1369
|
+
({ as, vertical, style, height, "data-test-id": dataTestId, color, }: DividerProps): ReactElement;
|
|
1370
1370
|
displayName: string;
|
|
1371
1371
|
};
|
|
1372
1372
|
|
|
@@ -1377,6 +1377,7 @@ export declare enum DividerHeight {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
1379
|
export declare type DividerProps = {
|
|
1380
|
+
as?: 'div' | 'li';
|
|
1380
1381
|
style?: DividerStyle;
|
|
1381
1382
|
height?: DividerHeight | string;
|
|
1382
1383
|
color?: string;
|