@redsift/design-system 8.0.4 → 8.0.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/index.d.ts +6 -7
- package/index.js +7 -797
- package/index.js.map +1 -1
- package/package.json +8 -9
package/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { I18nProvider,
|
|
1
|
+
export { I18nProvider, useCollator, useDateFormatter, useFilter, useListFormatter, useLocale, useLocalizedStringFormatter, useNumberFormatter } from '@react-aria/i18n';
|
|
2
|
+
export { SSRProvider, useIsSSR } from '@react-aria/ssr';
|
|
2
3
|
import React$1, { Ref, ReactElement, ReactNode, ComponentProps, DependencyList, MutableRefObject, RefObject, ElementType, ChangeEvent } from 'react';
|
|
3
|
-
export { useCollator, useDateFormatter, useFilter, useListFormatter, useLocale, useLocalizedStringFormatter, useNumberFormatter } from '@react-aria/i18n';
|
|
4
|
-
export { useIsSSR } from '@react-aria/ssr';
|
|
5
4
|
import * as styled_components from 'styled-components';
|
|
6
5
|
|
|
7
6
|
/** Component Type. */
|
|
@@ -856,7 +855,7 @@ interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, P
|
|
|
856
855
|
/** A screen reader only label for the Icon. */
|
|
857
856
|
'aria-label'?: string;
|
|
858
857
|
/** Color variant. Either from color palette or hex or rgb strings. */
|
|
859
|
-
color?: ColorPalette | ProductColorPalette | string;
|
|
858
|
+
color?: ColorPalette | ProductColorPalette | (string & {});
|
|
860
859
|
/** Whether the icon has a badge attached to it. */
|
|
861
860
|
badge?: ReactElement;
|
|
862
861
|
/**
|
|
@@ -1539,7 +1538,7 @@ interface ShieldProps extends ComponentProps<'div'>, StylingProps {
|
|
|
1539
1538
|
variant?: ShieldVariant;
|
|
1540
1539
|
}
|
|
1541
1540
|
type StyledShieldProps = Omit<ShieldProps, 'color'> & {
|
|
1542
|
-
$color?: ColorPalette | ProductColorPalette | string;
|
|
1541
|
+
$color?: ColorPalette | ProductColorPalette | (string & {});
|
|
1543
1542
|
$isOutlined: ShieldProps['isOutlined'];
|
|
1544
1543
|
$isReversed: ShieldProps['isReversed'];
|
|
1545
1544
|
$variant: ShieldProps['variant'];
|
|
@@ -1677,7 +1676,7 @@ interface DetailedCardSectionProps extends ComponentProps<'div'> {
|
|
|
1677
1676
|
/** Props to pass to the badge displayed next to the title. */
|
|
1678
1677
|
badge?: Omit<BadgeProps, 'ref'>;
|
|
1679
1678
|
/** Color that will be used on the header line. */
|
|
1680
|
-
color?: ColorPalette | DataVizColorPalette | string;
|
|
1679
|
+
color?: ColorPalette | DataVizColorPalette | (string & {});
|
|
1681
1680
|
/** Header. */
|
|
1682
1681
|
header?: string | ReactElement;
|
|
1683
1682
|
/** Whether the section is collapsed or not. */
|
|
@@ -1798,7 +1797,7 @@ interface TextProps extends ComponentProps<'span'>, StylingProps {
|
|
|
1798
1797
|
/** Override component. */
|
|
1799
1798
|
as?: TextComponent;
|
|
1800
1799
|
/** Color variant. Either from color palette or hex or rgb strings. */
|
|
1801
|
-
color?: ColorPalette | ProductColorPalette | NeutralColorPalette | string;
|
|
1800
|
+
color?: ColorPalette | ProductColorPalette | NeutralColorPalette | (string & {});
|
|
1802
1801
|
/** Font family. */
|
|
1803
1802
|
fontFamily?: FontFamily;
|
|
1804
1803
|
/** Font size. */
|