@scbt-ecom/ui 0.42.2 → 0.42.3

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.
@@ -1,12 +1,7 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { AllowedIcons } from '..';
4
- declare const customLinkConfig: (props?: ({
5
- intent?: "blue" | "white" | "dark" | null | undefined;
6
- withUnderline?: boolean | null | undefined;
7
- disabled?: boolean | null | undefined;
8
- size?: "sm" | "md" | null | undefined;
9
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
3
+ import { AllowedIcons } from '../icon';
4
+ import { customLinkConfig } from './model/helpers';
10
5
  type CustomLinkClasses = {
11
6
  link?: string;
12
7
  icon?: string;
@@ -0,0 +1,10 @@
1
+ export declare const customLinkConfig: (props?: ({
2
+ intent?: "blue" | "white" | "dark" | null | undefined;
3
+ withUnderline?: boolean | null | undefined;
4
+ disabled?: boolean | null | undefined;
5
+ size?: "sm" | "md" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export declare const linkArrowConfig: (props?: ({
8
+ intent?: "blue" | "white" | "dark" | null | undefined;
9
+ disabled?: boolean | null | undefined;
10
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,12 +1,6 @@
1
1
  import { HTMLAttributes, ReactElement } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- declare const wrapperConfig: (props?: ({
4
- position?: "fixed" | "absolute" | "static" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- declare const loaderConfig: (props?: ({
7
- intent?: "primary" | "secondary" | null | undefined;
8
- size?: "sm" | "md" | "lg" | null | undefined;
9
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
3
+ import { loaderConfig, wrapperConfig } from './model/helpers';
10
4
  type TLoaderClasses = {
11
5
  wrapper?: string;
12
6
  loader?: string;
@@ -0,0 +1,7 @@
1
+ export declare const wrapperConfig: (props?: ({
2
+ position?: "fixed" | "absolute" | "static" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
+ export declare const loaderConfig: (props?: ({
5
+ intent?: "primary" | "secondary" | null | undefined;
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,4 +1,5 @@
1
- export interface SkeletonProps {
1
+ import { HTMLAttributes } from 'react';
2
+ export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
2
3
  className?: string;
3
4
  }
4
5
  export declare const Skeleton: ({ className }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;