@xqmsg/ui-core 0.27.0 → 0.29.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.
Files changed (90) hide show
  1. package/README.md +3 -3
  2. package/dist/components/SimpleTable/SimpleTable.stories.d.ts +2 -2
  3. package/dist/components/SimpleTable/TableTypes.d.ts +1 -1
  4. package/dist/components/SimpleTable/utils/generateTableColumns.d.ts +1 -1
  5. package/dist/components/banner/Banner.stories.d.ts +2 -2
  6. package/dist/components/banner/index.d.ts +1 -0
  7. package/dist/components/breadcrumbs/Breadcrumbs.stories.d.ts +2 -2
  8. package/dist/components/button/Button.stories.d.ts +2 -2
  9. package/dist/components/button/google/GoogleButton.stories.d.ts +2 -2
  10. package/dist/components/button/index.d.ts +4 -5
  11. package/dist/components/button/microsoft/MicrosoftButton.stories.d.ts +2 -2
  12. package/dist/components/button/spinner/SpinnerButton.stories.d.ts +2 -2
  13. package/dist/components/card/Card.stories.d.ts +2 -2
  14. package/dist/components/card/index.d.ts +1 -0
  15. package/dist/components/form/Form.stories.d.ts +2 -2
  16. package/dist/components/form/section/FormSection.stories.d.ts +2 -2
  17. package/dist/components/input/Input.stories.d.ts +2 -2
  18. package/dist/components/input/InputTypes.d.ts +3 -1
  19. package/dist/components/input/components/token/Token.stories.d.ts +2 -2
  20. package/dist/components/layout/Layout.stories.d.ts +2 -2
  21. package/dist/components/link/Link.stories.d.ts +2 -2
  22. package/dist/components/loading/LoadingIndicator.stories.d.ts +2 -2
  23. package/dist/components/modal/Modal.stories.d.ts +2 -2
  24. package/dist/components/navigation/NavigationMenu.stories.d.ts +2 -2
  25. package/dist/components/tabs/TabsWrapper.stories.d.ts +2 -2
  26. package/dist/components/text/Text.stories.d.ts +2 -2
  27. package/dist/components/toast/Toast.stories.d.ts +2 -2
  28. package/dist/components/toolbar/Toolbar.stories.d.ts +2 -2
  29. package/dist/hooks/useToast.d.ts +1 -2
  30. package/dist/theme/components/checkbox.d.ts +1 -1
  31. package/dist/theme/components/code.d.ts +9 -3
  32. package/dist/theme/components/form-error.d.ts +1 -2
  33. package/dist/theme/components/link.d.ts +1 -1
  34. package/dist/theme/components/menu.d.ts +2 -1
  35. package/dist/theme/components/modal.d.ts +15 -11
  36. package/dist/theme/components/switch.d.ts +2 -1
  37. package/dist/theme/components/tabs.d.ts +4 -4
  38. package/dist/theme/foundations/colors.d.ts +225 -22
  39. package/dist/theme/foundations/typography.d.ts +10 -9
  40. package/dist/theme/styles.d.ts +0 -3
  41. package/dist/ui-core.cjs.development.js +296 -243
  42. package/dist/ui-core.cjs.development.js.map +1 -1
  43. package/dist/ui-core.cjs.production.min.js +1 -1
  44. package/dist/ui-core.cjs.production.min.js.map +1 -1
  45. package/dist/ui-core.esm.js +296 -244
  46. package/dist/ui-core.esm.js.map +1 -1
  47. package/package.json +4 -9
  48. package/src/components/SimpleTable/SimpleTable.tsx +1 -1
  49. package/src/components/SimpleTable/TableTypes.ts +1 -1
  50. package/src/components/SimpleTable/components/loading/index.tsx +2 -2
  51. package/src/components/SimpleTable/components/text/index.tsx +2 -2
  52. package/src/components/banner/index.tsx +18 -5
  53. package/src/components/breadcrumbs/components/icon/index.tsx +3 -3
  54. package/src/components/breadcrumbs/components/label/index.tsx +1 -1
  55. package/src/components/button/index.tsx +6 -6
  56. package/src/components/card/index.tsx +12 -10
  57. package/src/components/icons/chevron/down/index.tsx +1 -1
  58. package/src/components/icons/settings/index.tsx +1 -1
  59. package/src/components/input/InputTypes.ts +4 -1
  60. package/src/components/input/StackedMultiSelect/index.tsx +10 -3
  61. package/src/components/input/StackedNumberInput/StackedNumberInput.tsx +2 -2
  62. package/src/components/input/StackedPilledInput/index.tsx +11 -3
  63. package/src/components/input/StackedSelect/index.tsx +1 -5
  64. package/src/components/input/components/dropdown/index.tsx +8 -8
  65. package/src/components/input/components/label/index.tsx +2 -2
  66. package/src/components/input/components/token/index.tsx +1 -1
  67. package/src/components/input/index.tsx +1 -2
  68. package/src/components/link/index.tsx +1 -1
  69. package/src/components/loading/index.tsx +1 -1
  70. package/src/components/navigation/components/header/index.tsx +1 -1
  71. package/src/components/navigation/components/items/index.tsx +1 -1
  72. package/src/components/select/index.tsx +0 -19
  73. package/src/components/toast/index.tsx +2 -2
  74. package/src/components/toolbar/components/breadcrumbs/item/index.tsx +2 -2
  75. package/src/components/toolbar/components/dropdown/index.tsx +2 -2
  76. package/src/theme/components/alert.ts +4 -4
  77. package/src/theme/components/button.ts +50 -50
  78. package/src/theme/components/form-error.ts +3 -5
  79. package/src/theme/components/form-label.ts +1 -1
  80. package/src/theme/components/form.ts +2 -2
  81. package/src/theme/components/input.ts +3 -3
  82. package/src/theme/components/link.ts +4 -13
  83. package/src/theme/components/menu.ts +1 -1
  84. package/src/theme/components/modal.ts +17 -11
  85. package/src/theme/components/table.ts +2 -2
  86. package/src/theme/components/tabs.ts +6 -6
  87. package/src/theme/foundations/colors.ts +89 -37
  88. package/src/theme/foundations/shadows.ts +3 -3
  89. package/src/theme/foundations/typography.ts +3 -2
  90. package/src/theme/styles.ts +0 -3
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ## To test:
2
2
 
3
3
  Update the theme, components, etc. however you wish and when you are ready to test build:
4
- `yarn build`
4
+ `pnpm run build`
5
5
 
6
6
  Then in whatever project you would like to install this local bundled build into run change ui-core package version in package.json to:
7
7
  `"@xqmsg/ui-core": "file:../ui-core"`
@@ -15,7 +15,7 @@ Any time you make changes, rebuild ui-core and reinstall in project.
15
15
  Create and commit to a branch off of staging with descriptive git message signed at the end so we can track who made what changes.
16
16
 
17
17
  Then to version the project run the following:
18
- `yarn release:[type]`
18
+ `pnpm run release:[type]`
19
19
 
20
20
  Where:
21
21
 
@@ -30,6 +30,6 @@ Merge into staging once your PR is approved.
30
30
  From staging we can merge into master.
31
31
 
32
32
  Pull master locally and run the following, to fresh clean, install, build, and publish to npm, run the following:
33
- `yarn clean && yarn && yarn build && npm publish`
33
+ `pnpm run clean && pnpm install && pnpm run build && npm publish`
34
34
 
35
35
  Use Google Authenticator for your OTP.
@@ -1,6 +1,6 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { SimpleTableProps } from './SimpleTable';
3
3
  declare const tableColumns: string[];
4
4
  declare const meta: Meta<SimpleTableProps<typeof tableColumns>>;
5
5
  export default meta;
6
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SimpleTableProps<string[]>>;
6
+ export declare const Default: Story<SimpleTableProps<string[]>>;
@@ -5,7 +5,7 @@ export declare type TableHeaders<K extends ReadonlyTableColumns> = {
5
5
  [k in K[number]]: ReactNode;
6
6
  };
7
7
  export declare type TableColumnsWidths<K extends ReadonlyTableColumns> = {
8
- [k in K[number]]: string | number;
8
+ [k in K[number]]?: string | number;
9
9
  };
10
10
  export declare type TableRow<K extends ReadonlyTableColumns> = {
11
11
  [k in K[number]]: ReactNode;
@@ -3,4 +3,4 @@ import { TableColumns } from '../TableTypes';
3
3
  * This function is responsible for returning an array as a const, so the generic type `TableBody`
4
4
  * may accept it as an argument and use the elements of the array as keys.
5
5
  */
6
- export declare function generateTableColumnsAsConst<T extends TableColumns>(arr: T): readonly string[];
6
+ export declare function generateTableColumnsAsConst<T extends TableColumns>(arr: T): readonly [...T];
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { BannerProps } from '.';
3
3
  declare const meta: Meta<BannerProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BannerProps>;
5
+ export declare const Default: Story<BannerProps>;
@@ -6,6 +6,7 @@ export interface BannerProps {
6
6
  buttonText?: string;
7
7
  onClick?: () => void;
8
8
  type?: 'condensed' | 'expanded';
9
+ centered?: boolean;
9
10
  }
10
11
  /**
11
12
  * A functional React component utilized to render the `Banner` component
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { BreadcrumbsProps } from '.';
3
3
  declare const meta: Meta<BreadcrumbsProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbsProps>;
5
+ export declare const Default: Story<BreadcrumbsProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { ButtonProps } from '.';
3
3
  declare const meta: Meta<ButtonProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
5
+ export declare const Default: Story<ButtonProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { GoogleButtonProps } from '.';
3
3
  declare const meta: Meta<GoogleButtonProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, GoogleButtonProps>;
5
+ export declare const Default: Story<GoogleButtonProps>;
@@ -1,7 +1,9 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import buttonTheme from '../../theme/components/button';
3
3
  export interface ButtonProps {
4
- text: string;
4
+ children?: ReactNode;
5
+ /** @deprecated use children */
6
+ text?: string;
5
7
  onClick?: () => void;
6
8
  width: 'variable' | 'fixed';
7
9
  variant?: keyof typeof buttonTheme.variants;
@@ -13,7 +15,4 @@ export interface ButtonProps {
13
15
  rightIcon?: JSX.Element;
14
16
  color?: string;
15
17
  }
16
- /**
17
- * A functional React component utilized to render the `Button` component
18
- */
19
18
  export declare const Button: React.FC<ButtonProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { MicrosoftButtonProps } from '.';
3
3
  declare const meta: Meta<MicrosoftButtonProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, MicrosoftButtonProps>;
5
+ export declare const Default: Story<MicrosoftButtonProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { SpinnerButtonProps } from '.';
3
3
  declare const meta: Meta<SpinnerButtonProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SpinnerButtonProps>;
5
+ export declare const Default: Story<SpinnerButtonProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { CardProps } from '.';
3
3
  declare const meta: Meta<CardProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CardProps>;
5
+ export declare const Default: Story<CardProps>;
@@ -4,6 +4,7 @@ export interface CardProps {
4
4
  leftIcon?: JSX.Element;
5
5
  children: ReactNode | null;
6
6
  height?: string | number;
7
+ width?: string | number;
7
8
  }
8
9
  /**
9
10
  * A functional React component utilized to render the `Card` component
@@ -1,8 +1,8 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { FormProps } from '../../../src/components/form';
3
3
  declare const meta: Meta<FormProps<StoryFormSchema>>;
4
4
  interface StoryFormSchema {
5
5
  prop?: string;
6
6
  }
7
7
  export default meta;
8
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FormProps<StoryFormSchema>>;
8
+ export declare const Default: Story<FormProps<StoryFormSchema>>;
@@ -1,9 +1,9 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { FormSectionProps } from '.';
3
3
  declare type FormSectionStoryValues = {
4
4
  [k: string]: any;
5
5
  };
6
6
  declare const meta: Meta<FormSectionProps<'story', FormSectionStoryValues>>;
7
7
  export default meta;
8
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, FormSectionProps<"story", FormSectionStoryValues>>;
8
+ export declare const Default: Story<FormSectionProps<"story", FormSectionStoryValues>>;
9
9
  export declare const formSectionStoryArgs: Partial<FormSectionProps<'story', FormSectionStoryValues>>;
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { InputProps } from '.';
3
3
  declare const meta: Meta<InputProps<StoryFormSchema>>;
4
4
  interface StoryFormSchema {
@@ -11,4 +11,4 @@ interface StoryFormSchema {
11
11
  prop7?: number;
12
12
  }
13
13
  export default meta;
14
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps<StoryFormSchema>>;
14
+ export declare const Default: Story<InputProps<StoryFormSchema>>;
@@ -11,8 +11,10 @@ export declare type InputType = 'text' | 'select' | 'multi-select' | 'pilled-tex
11
11
  export declare type FieldOption = {
12
12
  label: string;
13
13
  value: string | 'section_header';
14
- sortValue: number;
14
+ sortValue?: number;
15
15
  };
16
+ /** @deprecated use FieldOption[] directly */
17
+ export declare type FieldOptions = FieldOption[];
16
18
  export interface ValidationProps {
17
19
  isRequired: boolean;
18
20
  isInvalid?: boolean;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { TokenProps } from '.';
3
3
  declare const meta: Meta<TokenProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TokenProps>;
5
+ export declare const Default: Story<TokenProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { LayoutProps } from '.';
3
3
  declare const meta: Meta<LayoutProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, LayoutProps>;
5
+ export declare const Default: Story<LayoutProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { LinkProps } from '.';
3
3
  declare const meta: Meta<LinkProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, LinkProps>;
5
+ export declare const Default: Story<LinkProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { LoadingIndicatorProps } from '.';
3
3
  declare const meta: Meta<LoadingIndicatorProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, LoadingIndicatorProps>;
5
+ export declare const Default: Story<LoadingIndicatorProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { ModalProps } from '.';
3
3
  declare const meta: Meta<ModalProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ModalProps>;
5
+ export declare const Default: Story<ModalProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { NavigationMenuProps } from '.';
3
3
  declare const meta: Meta<NavigationMenuProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, NavigationMenuProps>;
5
+ export declare const Default: Story<NavigationMenuProps>;
@@ -1,6 +1,6 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { SimpleTableProps } from '../SimpleTable/SimpleTable';
3
3
  import { TabsWrapperProps } from '.';
4
4
  declare const meta: Meta<TabsWrapperProps>;
5
5
  export default meta;
6
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SimpleTableProps<string[]>>;
6
+ export declare const Default: Story<SimpleTableProps<string[]>>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { TextProps } from '.';
3
3
  declare const meta: Meta<TextProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TextProps>;
5
+ export declare const Default: Story<TextProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { ToastProps } from '.';
3
3
  declare const meta: Meta<ToastProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToastProps>;
5
+ export declare const Default: Story<ToastProps>;
@@ -1,5 +1,5 @@
1
- import { Meta } from '@storybook/react';
1
+ import { Meta, Story } from '@storybook/react';
2
2
  import { ToolbarProps } from '.';
3
3
  declare const meta: Meta<ToolbarProps>;
4
4
  export default meta;
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToolbarProps>;
5
+ export declare const Default: Story<ToolbarProps>;
@@ -1,6 +1,5 @@
1
1
  import { ToastPosition } from '@chakra-ui/react';
2
- import React from 'react';
3
2
  import { ToastProps } from '../components/toast';
4
3
  export declare const useToast: () => (props: ToastProps & {
5
4
  position: ToastPosition;
6
- }) => React.Key;
5
+ }) => import("@chakra-ui/toast/dist/toast.types-f226a101").b;
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- baseStyle?: Partial<Record<"container" | "icon" | "label" | "control", import("@chakra-ui/styled-system").RecursiveCSSObject<import("@chakra-ui/styled-system").CSSWithMultiValues>>> | import("@chakra-ui/styled-system").PartsStyleFunction<{
2
+ baseStyle?: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
3
3
  keys: ("container" | "icon" | "label" | "control")[];
4
4
  }> | undefined;
5
5
  sizes?: {
@@ -6,15 +6,21 @@ declare const _default: {
6
6
  borderRadius: string;
7
7
  };
8
8
  variants: {
9
- solid: (props: Record<string, any>) => {
9
+ solid: (props: {
10
+ [x: string]: any;
11
+ }) => {
10
12
  bg: string;
11
13
  color: string;
12
14
  };
13
- subtle: (props: Record<string, any>) => {
15
+ subtle: (props: {
16
+ [x: string]: any;
17
+ }) => {
14
18
  bg: string;
15
19
  color: string;
16
20
  };
17
- outline: (props: Record<string, any>) => {
21
+ outline: (props: {
22
+ [x: string]: any;
23
+ }) => {
18
24
  color: any;
19
25
  boxShadow: string;
20
26
  };
@@ -3,8 +3,7 @@ declare const _default: {
3
3
  baseStyle: () => {
4
4
  text: {
5
5
  color: string;
6
- position: string;
7
- bottom: number;
6
+ mt: number;
8
7
  ml: number;
9
8
  fontSize: string;
10
9
  };
@@ -42,7 +42,7 @@ declare function variantSidebarExact(): {
42
42
  textDecoration: string;
43
43
  };
44
44
  };
45
- declare function variantSubNavigation(props: Dict): {
45
+ declare function variantSubNavigation(_props: Dict): {
46
46
  display: string;
47
47
  pl: number;
48
48
  mb: number;
@@ -1,6 +1,7 @@
1
+ declare type Dict = Record<string, any>;
1
2
  declare const _default: {
2
3
  parts: string[];
3
- baseStyle: (props: Record<string, any>) => {
4
+ baseStyle: (props: Dict) => {
4
5
  list: {
5
6
  bg: string;
6
7
  boxShadow: string;
@@ -1,30 +1,34 @@
1
1
  declare const _default: {
2
2
  parts: string[];
3
3
  baseStyle: {
4
- width: string;
5
- height: string;
6
- background: string;
7
- backdropFilter: string;
4
+ overlay: {
5
+ backdropFilter: string;
6
+ };
7
+ dialog: {
8
+ width: string;
9
+ height: string;
10
+ background: string;
11
+ };
8
12
  header: {
9
- pt: string;
10
- px: string;
11
- pb: string;
13
+ pt: number;
14
+ px: number;
15
+ pb: number;
12
16
  fontSize: string;
13
17
  fontWeight: number;
14
18
  lineHeight: string;
15
19
  };
16
20
  body: {
17
21
  pt: number;
18
- pb: string;
19
- px: string;
22
+ pb: number;
23
+ px: number;
20
24
  fontSize: string;
21
25
  fontWeight: number;
22
26
  lineHeight: string;
23
27
  whiteSpace: string;
24
28
  };
25
29
  footer: {
26
- py: string;
27
- px: string;
30
+ py: number;
31
+ px: number;
28
32
  display: string;
29
33
  justifyContent: string;
30
34
  width: string;
@@ -1,6 +1,7 @@
1
+ declare type Dict = Record<string, any>;
1
2
  declare const _default: {
2
3
  parts: string[];
3
- baseStyle: (props: Record<string, any>) => {
4
+ baseStyle: (props: Dict) => {
4
5
  track: {
5
6
  borderRadius: string;
6
7
  p: string;
@@ -128,7 +128,7 @@ declare function variantSolidRounded(props: Dict): {
128
128
  };
129
129
  declare const _default: {
130
130
  parts: string[];
131
- baseStyle: (props: Record<string, any>) => {
131
+ baseStyle: (props: Dict) => {
132
132
  root: {
133
133
  display: string;
134
134
  };
@@ -151,7 +151,7 @@ declare const _default: {
151
151
  sizes: {
152
152
  sm: {
153
153
  tab: {
154
- py: string;
154
+ py: number;
155
155
  px: number;
156
156
  fontSize: string;
157
157
  };
@@ -159,7 +159,7 @@ declare const _default: {
159
159
  md: {
160
160
  tab: {
161
161
  fontSize: string;
162
- py: string;
162
+ py: number;
163
163
  px: number;
164
164
  };
165
165
  };
@@ -169,7 +169,7 @@ declare const _default: {
169
169
  base: string;
170
170
  sm: string;
171
171
  };
172
- py: string;
172
+ py: number;
173
173
  px: number;
174
174
  };
175
175
  };