@openfin/ui-library 0.1.40-alpha.1657030820 → 0.1.40
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/README.md +7 -0
- package/dist/assets/fonts/index.d.ts +6 -0
- package/dist/assets/fonts/index.js +11 -0
- package/dist/components/controls/Button/button.js +83 -0
- package/dist/components/controls/Button/button.variants.js +124 -0
- package/dist/components/controls/Button/index.js +14 -0
- package/dist/components/controls/Toggle/index.js +13 -0
- package/dist/components/controls/Toggle/toggle.js +98 -0
- package/dist/components/elements/Badge/badge.js +41 -0
- package/dist/components/elements/Badge/index.js +13 -0
- package/dist/components/elements/Icon/icon.js +56 -0
- package/dist/components/elements/Icon/icon.variants.js +60 -0
- package/dist/components/elements/Icon/index.js +13 -0
- package/dist/{types/components → components}/elements/Icon/openfin/BellIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/BellIcon.js +24 -0
- package/dist/{types/components → components}/elements/Icon/openfin/BrokenLinkIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/BrokenLinkIcon.js +21 -0
- package/dist/{types/components → components}/elements/Icon/openfin/FilterIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/FilterIcon.js +20 -0
- package/dist/{types/components → components}/elements/Icon/openfin/FloppyDiskIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/FloppyDiskIcon.js +23 -0
- package/dist/{types/components → components}/elements/Icon/openfin/LightBulbFilledIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/LightBulbFilledIcon.js +21 -0
- package/dist/{types/components → components}/elements/Icon/openfin/LightBulbOutlinedIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/LightBulbOutlinedIcon.js +20 -0
- package/dist/{types/components → components}/elements/Icon/openfin/LockedClosedFilledIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/LockedClosedFilledIcon.js +23 -0
- package/dist/{types/components → components}/elements/Icon/openfin/MinimizeIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/MinimizeIcon.js +23 -0
- package/dist/{types/components → components}/elements/Icon/openfin/OpenFinIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/OpenFinIcon.js +23 -0
- package/dist/{types/components → components}/elements/Icon/openfin/WorkspaceIcon.d.ts +1 -0
- package/dist/components/elements/Icon/openfin/WorkspaceIcon.js +26 -0
- package/dist/components/elements/Icon/openfin/index.js +22 -0
- package/dist/components/elements/Loader/index.js +13 -0
- package/dist/components/elements/Loader/loader.js +25 -0
- package/dist/components/input/BaseInput/baseInput.js +94 -0
- package/dist/components/input/BaseInput/index.js +13 -0
- package/dist/components/input/Checkbox/checkbox.js +96 -0
- package/dist/components/input/Checkbox/index.js +13 -0
- package/dist/components/input/NumberInput/index.js +13 -0
- package/dist/components/input/NumberInput/numberInput.js +108 -0
- package/dist/components/input/RawInput/index.js +13 -0
- package/dist/components/input/RawInput/rawInput.js +12 -0
- package/dist/components/input/TextInput/index.js +13 -0
- package/dist/components/input/TextInput/textInput.js +10 -0
- package/dist/components/layout/Box/box.js +50 -0
- package/dist/components/layout/Box/index.js +13 -0
- package/dist/components/layout/Box/types.js +2 -0
- package/dist/components/layout/DefinitionList/definitionList.js +49 -0
- package/dist/components/layout/DefinitionList/index.js +13 -0
- package/dist/components/system/GlobalStyles/globalStyles.js +53 -0
- package/dist/components/system/GlobalStyles/index.js +13 -0
- package/dist/components/system/HOC/index.js +2 -0
- package/dist/components/system/ThemeProvider/index.js +21 -0
- package/dist/{types/components → components}/system/ThemeProvider/lib/colors.d.ts +2 -2
- package/dist/components/system/ThemeProvider/lib/colors.js +21 -0
- package/dist/components/system/ThemeProvider/lib/config.js +6 -0
- package/dist/{types/components → components}/system/ThemeProvider/lib/constants.d.ts +1 -0
- package/dist/components/system/ThemeProvider/lib/constants.js +271 -0
- package/dist/components/system/ThemeProvider/lib/createFontFaceCss.js +43 -0
- package/dist/components/system/ThemeProvider/lib/createTheme.js +43 -0
- package/dist/components/system/ThemeProvider/lib/fonts.d.js +1 -0
- package/dist/{types/components → components}/system/ThemeProvider/lib/helpers.d.ts +1 -2
- package/dist/components/system/ThemeProvider/lib/helpers.js +54 -0
- package/dist/components/system/ThemeProvider/lib/interface.js +2 -0
- package/dist/components/system/ThemeProvider/lib/mixins.js +85 -0
- package/dist/components/system/ThemeProvider/lib/palette.js +38 -0
- package/dist/components/system/ThemeProvider/lib/types.js +2 -0
- package/dist/components/system/ThemeProvider/theme/index.js +13 -0
- package/dist/components/system/ThemeProvider/theme/openfin.js +39 -0
- package/dist/components/system/ThemeProvider/themeProvider.js +20 -0
- package/dist/components/templates/ContactCard/contactCard.js +114 -0
- package/dist/components/templates/ContactCard/index.js +13 -0
- package/dist/components/templates/utils/name.js +22 -0
- package/dist/{types/components → components}/typography/Heading/heading.d.ts +24 -24
- package/dist/components/typography/Heading/heading.js +64 -0
- package/dist/components/typography/Heading/index.js +13 -0
- package/dist/components/typography/Text/index.js +13 -0
- package/dist/components/typography/Text/text.js +21 -0
- package/dist/hooks/useColorScheme.js +33 -0
- package/dist/hooks/useMediaQuery.js +39 -0
- package/dist/hooks/usePrevious.js +12 -0
- package/dist/hooks/useTheme.js +34 -0
- package/dist/{types/index.d.ts → index.d.ts} +0 -2
- package/dist/index.js +46 -0
- package/dist/{types/lib → lib}/math.d.ts +1 -5
- package/dist/lib/math.js +24 -0
- package/dist/lib/whenFin.js +13 -0
- package/dist/lib/whenFin.spec.js +39 -0
- package/dist/react-app-env.d.js +2 -0
- package/dist/{types/storybookHelpers.d.ts → storybookHelpers.d.ts} +1 -1
- package/dist/storybookHelpers.js +58 -0
- package/package.json +70 -93
- package/dist/openfin.ui.js +0 -660
- package/dist/openfin.ui.js.LICENSE.txt +0 -14
- package/dist/types/components/controls/Button/button.stories.d.ts +0 -6
- package/dist/types/components/controls/Button/button.test.d.ts +0 -1
- package/dist/types/components/controls/Toggle/toggle.stories.d.ts +0 -6
- package/dist/types/components/controls/Toggle/toggle.test.d.ts +0 -1
- package/dist/types/components/elements/Badge/badge.stories.d.ts +0 -5
- package/dist/types/components/elements/Badge/badge.test.d.ts +0 -1
- package/dist/types/components/elements/Icon/icon.stories.d.ts +0 -15
- package/dist/types/components/elements/Icon/icon.test.d.ts +0 -1
- package/dist/types/components/elements/Loader/loader.stories.d.ts +0 -6
- package/dist/types/components/elements/Loader/loader.test.d.ts +0 -1
- package/dist/types/components/elements/Scrollbar/scrollbar.stories.d.ts +0 -6
- package/dist/types/components/elements/Scrollbar/scrollbarSmall.stories.d.ts +0 -9
- package/dist/types/components/input/BaseInput/baseInput.stories.d.ts +0 -7
- package/dist/types/components/input/Checkbox/checkbox.stories.d.ts +0 -7
- package/dist/types/components/input/NumberInput/numberInput.stories.d.ts +0 -7
- package/dist/types/components/input/RadioGroup/index.d.ts +0 -1
- package/dist/types/components/input/RadioGroup/radioGroup.d.ts +0 -12
- package/dist/types/components/input/RadioGroup/radioGroup.stories.d.ts +0 -6
- package/dist/types/components/input/RadioInput/index.d.ts +0 -1
- package/dist/types/components/input/RadioInput/radioInput.d.ts +0 -11
- package/dist/types/components/input/RadioInput/radioInput.stories.d.ts +0 -7
- package/dist/types/components/input/RadioInput/radioInput.test.d.ts +0 -1
- package/dist/types/components/input/RawInput/rawInput.stories.d.ts +0 -4
- package/dist/types/components/input/TextInput/textInput.stories.d.ts +0 -7
- package/dist/types/components/input/TextInput/textInput.test.d.ts +0 -1
- package/dist/types/components/layout/Box/box.stories.d.ts +0 -6
- package/dist/types/components/layout/Box/box.test.d.ts +0 -1
- package/dist/types/components/layout/DefinitionList/definitionList.stories.d.ts +0 -5
- package/dist/types/components/layout/DefinitionList/definitionList.test.d.ts +0 -1
- package/dist/types/components/system/ThemeProvider/palette.stories.d.ts +0 -7
- package/dist/types/components/system/ThemeProvider/theme.stories.d.ts +0 -7
- package/dist/types/components/system/ThemeProvider/themeProvider.stories.d.ts +0 -10
- package/dist/types/components/templates/ContactCard/contactCard.stories.d.ts +0 -7
- package/dist/types/components/templates/ContactCard/contactCard.test.d.ts +0 -1
- package/dist/types/components/typography/Heading/heading.stories.d.ts +0 -6
- package/dist/types/components/typography/Text/text.stories.d.ts +0 -6
- package/dist/types/hooks/usePrevious.stories.d.ts +0 -6
- package/dist/types/setupTests.d.ts +0 -1
- package/dist/types/testUtils.d.ts +0 -9
- /package/dist/{types/components → components}/controls/Button/button.d.ts +0 -0
- /package/dist/{types/components → components}/controls/Button/button.variants.d.ts +0 -0
- /package/dist/{types/components → components}/controls/Button/index.d.ts +0 -0
- /package/dist/{types/components → components}/controls/Toggle/index.d.ts +0 -0
- /package/dist/{types/components → components}/controls/Toggle/toggle.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Badge/badge.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Badge/index.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Icon/icon.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Icon/icon.variants.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Icon/index.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Icon/openfin/index.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Loader/index.d.ts +0 -0
- /package/dist/{types/components → components}/elements/Loader/loader.d.ts +0 -0
- /package/dist/{types/components → components}/input/BaseInput/baseInput.d.ts +0 -0
- /package/dist/{types/components → components}/input/BaseInput/index.d.ts +0 -0
- /package/dist/{types/components → components}/input/Checkbox/checkbox.d.ts +0 -0
- /package/dist/{types/components → components}/input/Checkbox/index.d.ts +0 -0
- /package/dist/{types/components → components}/input/NumberInput/index.d.ts +0 -0
- /package/dist/{types/components → components}/input/NumberInput/numberInput.d.ts +0 -0
- /package/dist/{types/components → components}/input/RawInput/index.d.ts +0 -0
- /package/dist/{types/components → components}/input/RawInput/rawInput.d.ts +0 -0
- /package/dist/{types/components → components}/input/TextInput/index.d.ts +0 -0
- /package/dist/{types/components → components}/input/TextInput/textInput.d.ts +0 -0
- /package/dist/{types/components → components}/layout/Box/box.d.ts +0 -0
- /package/dist/{types/components → components}/layout/Box/index.d.ts +0 -0
- /package/dist/{types/components → components}/layout/Box/types.d.ts +0 -0
- /package/dist/{types/components → components}/layout/DefinitionList/definitionList.d.ts +0 -0
- /package/dist/{types/components → components}/layout/DefinitionList/index.d.ts +0 -0
- /package/dist/{types/components → components}/system/GlobalStyles/globalStyles.d.ts +0 -0
- /package/dist/{types/components → components}/system/GlobalStyles/index.d.ts +0 -0
- /package/dist/{types/components → components}/system/HOC/index.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/index.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/lib/config.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/lib/createFontFaceCss.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/lib/createTheme.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/lib/interface.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/lib/mixins.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/lib/palette.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/lib/types.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/theme/index.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/theme/openfin.d.ts +0 -0
- /package/dist/{types/components → components}/system/ThemeProvider/themeProvider.d.ts +0 -0
- /package/dist/{types/components → components}/templates/ContactCard/contactCard.d.ts +0 -0
- /package/dist/{types/components → components}/templates/ContactCard/index.d.ts +0 -0
- /package/dist/{types/components → components}/templates/utils/name.d.ts +0 -0
- /package/dist/{types/components → components}/typography/Heading/index.d.ts +0 -0
- /package/dist/{types/components → components}/typography/Text/index.d.ts +0 -0
- /package/dist/{types/components → components}/typography/Text/text.d.ts +0 -0
- /package/dist/{types/hooks → hooks}/useColorScheme.d.ts +0 -0
- /package/dist/{types/hooks → hooks}/useMediaQuery.d.ts +0 -0
- /package/dist/{types/hooks → hooks}/usePrevious.d.ts +0 -0
- /package/dist/{types/hooks → hooks}/useTheme.d.ts +0 -0
- /package/dist/{types/lib → lib}/whenFin.d.ts +0 -0
- /package/dist/{types/lib → lib}/whenFin.spec.d.ts +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/** @license React v17.0.2
|
|
8
|
-
* react-jsx-runtime.production.min.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ButtonProps } from './button';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Button: Story<ButtonProps>;
|
|
6
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ToggleProps } from './toggle';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Toggle: Story<ToggleProps>;
|
|
6
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { IconProps } from './icon';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Icon: Story<IconProps>;
|
|
6
|
-
/**
|
|
7
|
-
* ## Icon Set
|
|
8
|
-
* All of the icons available to use with their Icon name
|
|
9
|
-
*/
|
|
10
|
-
export declare const AllIcons: () => JSX.Element;
|
|
11
|
-
/**
|
|
12
|
-
* ## Icon Extended
|
|
13
|
-
* Using Container Background Colors & Radius
|
|
14
|
-
*/
|
|
15
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { LoaderProps } from './loader';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Loader: Story<LoaderProps>;
|
|
6
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { BoxProps } from '../../layout/Box/box';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const HorizontalScrollbar: Story<BoxProps>;
|
|
6
|
-
export declare const VerticalScrollbar: Story<BoxProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { BoxProps } from '../../layout/Box/box';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
/**
|
|
6
|
-
* Re-use Scrollbar Stories
|
|
7
|
-
*/
|
|
8
|
-
export declare const HorizontalScrollbarSmall: Story<BoxProps>;
|
|
9
|
-
export declare const VerticalScrollbarSmall: Story<BoxProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { BaseInput as Component, BaseInputProps } from './baseInput';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const BaseInput: Story<BaseInputProps>;
|
|
7
|
-
export declare const WithRef: Story<ComponentProps<typeof Component>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { Checkbox as Component } from './checkbox';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Checkbox: Story<import("../BaseInput").BaseInputProps>;
|
|
7
|
-
export declare const WithRef: Story<ComponentProps<typeof Component>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { NumberInput as Component } from './numberInput';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const NumberInput: Story;
|
|
7
|
-
export declare const WithRef: Story<ComponentProps<typeof Component>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './radioGroup';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { UnitPxType } from '../../system/ThemeProvider';
|
|
3
|
-
import { RadioLabelSideType } from '../RadioInput/radioInput';
|
|
4
|
-
declare type RadioDirectionType = 'row' | 'column';
|
|
5
|
-
export declare type RadioGroupProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
6
|
-
direction?: RadioDirectionType;
|
|
7
|
-
gap?: UnitPxType;
|
|
8
|
-
labelSide?: RadioLabelSideType;
|
|
9
|
-
message?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const RadioGroup: React.FC<RadioGroupProps>;
|
|
12
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { RadioGroupProps } from './radioGroup';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const RadioGroup: Story<RadioGroupProps>;
|
|
6
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './radioInput';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { LabelSideType } from '../../controls/Toggle';
|
|
3
|
-
export declare type RadioLabelSideType = LabelSideType | 'top' | 'bottom';
|
|
4
|
-
export declare type RadioProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
5
|
-
label?: string;
|
|
6
|
-
labelSide?: RadioLabelSideType;
|
|
7
|
-
};
|
|
8
|
-
export declare const RadioInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & {
|
|
9
|
-
label?: string | undefined;
|
|
10
|
-
labelSide?: RadioLabelSideType | undefined;
|
|
11
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { RadioInput as Component, RadioProps } from './radioInput';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const RadioInput: Story<RadioProps>;
|
|
7
|
-
export declare const WithRef: Story<ComponentProps<typeof Component>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { TextInput as Component, TextInputProps } from './textInput';
|
|
4
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const TextInput: Story<TextInputProps>;
|
|
7
|
-
export declare const WithRef: Story<ComponentProps<typeof Component>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { BoxProps } from './box';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Box: Story<BoxProps>;
|
|
6
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { DefinitionListProps } from './definitionList';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const DefinitionList: Story<DefinitionListProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { DefaultTheme } from 'styled-components';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Palette: Story<{
|
|
6
|
-
theme: DefaultTheme;
|
|
7
|
-
}>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { DefaultTheme } from 'styled-components';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const DataStructure: Story<{
|
|
6
|
-
theme: DefaultTheme;
|
|
7
|
-
}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ThemeProviderProps } from './themeProvider';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
/**
|
|
6
|
-
* ## Default ThemeProvider
|
|
7
|
-
* - Uses system preference to determine Light or Dark theme
|
|
8
|
-
* - Defaults to "Light" if no preference is found
|
|
9
|
-
*/
|
|
10
|
-
export declare const ThemeProvider: Story<ThemeProviderProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { ContactCardProps } from './contactCard';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const WithPhoto: Story<ContactCardProps>;
|
|
6
|
-
export declare const WithInitials: Story<ContactCardProps>;
|
|
7
|
-
export declare const NoProfilePicture: Story<ContactCardProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { HeadingProps } from './heading';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Heading: Story<HeadingProps>;
|
|
6
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/react/types-6-0';
|
|
2
|
-
import { TextProps } from './text';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Text: Story<TextProps>;
|
|
6
|
-
export declare const Variations: () => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RenderOptions } from '@testing-library/react';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* Extending `render` to include the ThemeProvider ThemeProvider
|
|
5
|
-
* This helps test runs rendering components find the corresponding theme values
|
|
6
|
-
*/
|
|
7
|
-
declare const customRender: (ui: ReactElement, options?: Omit<RenderOptions, 'queries'>) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
8
|
-
export * from '@testing-library/react';
|
|
9
|
-
export { customRender as render };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types/components → components}/system/ThemeProvider/lib/createFontFaceCss.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|