cekat-ui 1.3.11 → 1.3.13
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/index.d.mts +92 -0
- package/dist/index.d.ts +92 -0
- package/dist/index.mjs +3385 -3155
- package/dist/index.umd.js +4 -4
- package/dist/style.css +29 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,6 +8,7 @@ import { ComboBoxProps as ComboBoxProps_2 } from 'react-aria-components';
|
|
|
8
8
|
import { default as default_2 } from 'react';
|
|
9
9
|
import { DialogProps } from 'react-aria-components';
|
|
10
10
|
import { GroupProps } from 'react-aria-components';
|
|
11
|
+
import { IconProps as IconProps_2 } from '@tabler/icons-react';
|
|
11
12
|
import { InputProps as InputProps_2 } from 'react-aria-components';
|
|
12
13
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
13
14
|
import { Key } from 'react-aria-components';
|
|
@@ -392,6 +393,25 @@ declare type CheckboxSize = 'sm' | 'md'
|
|
|
392
393
|
/** @deprecated `lg` is no longer a distinct size — it now renders identically to `md` and will be removed in a future major version. Migrate to `md`. */
|
|
393
394
|
| 'lg';
|
|
394
395
|
|
|
396
|
+
export declare const CheckIcon: {
|
|
397
|
+
({ size, color, type, className, }: CheckIconProps): JSX_2.Element;
|
|
398
|
+
displayName: string;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
export declare type CheckIconColor = 'primary' | 'gray' | 'success';
|
|
402
|
+
|
|
403
|
+
export declare interface CheckIconProps {
|
|
404
|
+
size?: CheckIconSize;
|
|
405
|
+
color?: CheckIconColor;
|
|
406
|
+
type?: CheckIconType;
|
|
407
|
+
className?: string;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export declare type CheckIconSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
411
|
+
|
|
412
|
+
/** 'filled' inverts the glyph color against a solid background. */
|
|
413
|
+
export declare type CheckIconType = 'default' | 'line' | 'filled';
|
|
414
|
+
|
|
395
415
|
/**
|
|
396
416
|
* Renders the sort indicator from `sortDirection`/`allowsSorting`, never a
|
|
397
417
|
* plain boolean — the unsorted glyph stays visible at all times (not
|
|
@@ -510,6 +530,25 @@ export declare interface ComboBoxTriggerProps extends Omit<GroupProps, 'classNam
|
|
|
510
530
|
className?: ClassValue;
|
|
511
531
|
}
|
|
512
532
|
|
|
533
|
+
export declare const Dot: {
|
|
534
|
+
({ size, outline, className }: DotProps): JSX_2.Element;
|
|
535
|
+
displayName: string;
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
export declare interface DotProps {
|
|
539
|
+
size?: DotSize;
|
|
540
|
+
/** Adds a ring/halo around the dot. Default false. */
|
|
541
|
+
outline?: boolean;
|
|
542
|
+
/**
|
|
543
|
+
* Consumer controls color via `className` (e.g. `className="bg-success-500"`) — the
|
|
544
|
+
* Figma `Dot` component set has no `color` variant axis, only `size` × `outline`. See
|
|
545
|
+
* RFC-icon.md §2 Out table.
|
|
546
|
+
*/
|
|
547
|
+
className?: string;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export declare type DotSize = 'sm' | 'md' | 'lg';
|
|
551
|
+
|
|
513
552
|
/**
|
|
514
553
|
* Standalone, not table-scoped — search results and filtered lists need it
|
|
515
554
|
* too. Structure follows the shipped "No Data Found" design (Figma
|
|
@@ -526,6 +565,59 @@ export declare interface EmptyStateProps {
|
|
|
526
565
|
className?: string;
|
|
527
566
|
}
|
|
528
567
|
|
|
568
|
+
export declare const FeaturedIcon: {
|
|
569
|
+
({ icon, size, color, type, className, }: FeaturedIconProps): JSX_2.Element;
|
|
570
|
+
displayName: string;
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
export declare type FeaturedIconColor = 'brand' | 'gray' | 'error' | 'warning' | 'success';
|
|
574
|
+
|
|
575
|
+
export declare interface FeaturedIconProps {
|
|
576
|
+
/** Tabler icon component reference, rendered via the base `Icon` primitive internally. */
|
|
577
|
+
icon: React_2.ComponentType<IconProps_2>;
|
|
578
|
+
size?: FeaturedIconSize;
|
|
579
|
+
color?: FeaturedIconColor;
|
|
580
|
+
type?: FeaturedIconType;
|
|
581
|
+
className?: string;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export declare type FeaturedIconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Controls BOTH background color token AND container border-radius — a coupled
|
|
588
|
+
* behavior, not two independent styles. Per Figma: 'light' | 'modern' | 'glass' render
|
|
589
|
+
* a full circle; 'dark' renders `rounded-lg`. Additionally, 'modern' is only defined for
|
|
590
|
+
* `color="gray"` and 'glass' is only defined for `color="brand"` — see icon.styles.ts.
|
|
591
|
+
*/
|
|
592
|
+
export declare type FeaturedIconType = 'light' | 'dark' | 'modern' | 'glass';
|
|
593
|
+
|
|
594
|
+
export declare const Icon: {
|
|
595
|
+
({ icon: IconComponent, size, strokeWidth, label, className, ...rest }: IconProps): JSX_2.Element;
|
|
596
|
+
displayName: string;
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
export declare interface IconProps extends Omit<IconProps_2, 'size' | 'stroke'> {
|
|
600
|
+
/**
|
|
601
|
+
* Tabler icon component reference, e.g. `icon={IconCheck}`. A component reference
|
|
602
|
+
* (not a string name) so tree-shaking and TypeScript autocomplete come for free from
|
|
603
|
+
* `@tabler/icons-react` directly — no curated icon-name registry to maintain.
|
|
604
|
+
*/
|
|
605
|
+
icon: React_2.ComponentType<IconProps_2>;
|
|
606
|
+
/** Size token. Default 'md' (20px). */
|
|
607
|
+
size?: IconSize;
|
|
608
|
+
/** Stroke width passed through to the Tabler icon. Default 2 (Tabler's own default). */
|
|
609
|
+
strokeWidth?: number;
|
|
610
|
+
/**
|
|
611
|
+
* Decorative by default (`aria-hidden`). Pass a string to mark the icon as the sole
|
|
612
|
+
* functional indicator (e.g. an icon-only button) — renders `role="img"` +
|
|
613
|
+
* `aria-label={label}` instead.
|
|
614
|
+
*/
|
|
615
|
+
label?: string;
|
|
616
|
+
className?: string;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export declare type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
620
|
+
|
|
529
621
|
export declare const Input: InputCompound;
|
|
530
622
|
|
|
531
623
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ComboBoxProps as ComboBoxProps_2 } from 'react-aria-components';
|
|
|
8
8
|
import { default as default_2 } from 'react';
|
|
9
9
|
import { DialogProps } from 'react-aria-components';
|
|
10
10
|
import { GroupProps } from 'react-aria-components';
|
|
11
|
+
import { IconProps as IconProps_2 } from '@tabler/icons-react';
|
|
11
12
|
import { InputProps as InputProps_2 } from 'react-aria-components';
|
|
12
13
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
13
14
|
import { Key } from 'react-aria-components';
|
|
@@ -392,6 +393,25 @@ declare type CheckboxSize = 'sm' | 'md'
|
|
|
392
393
|
/** @deprecated `lg` is no longer a distinct size — it now renders identically to `md` and will be removed in a future major version. Migrate to `md`. */
|
|
393
394
|
| 'lg';
|
|
394
395
|
|
|
396
|
+
export declare const CheckIcon: {
|
|
397
|
+
({ size, color, type, className, }: CheckIconProps): JSX_2.Element;
|
|
398
|
+
displayName: string;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
export declare type CheckIconColor = 'primary' | 'gray' | 'success';
|
|
402
|
+
|
|
403
|
+
export declare interface CheckIconProps {
|
|
404
|
+
size?: CheckIconSize;
|
|
405
|
+
color?: CheckIconColor;
|
|
406
|
+
type?: CheckIconType;
|
|
407
|
+
className?: string;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export declare type CheckIconSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
411
|
+
|
|
412
|
+
/** 'filled' inverts the glyph color against a solid background. */
|
|
413
|
+
export declare type CheckIconType = 'default' | 'line' | 'filled';
|
|
414
|
+
|
|
395
415
|
/**
|
|
396
416
|
* Renders the sort indicator from `sortDirection`/`allowsSorting`, never a
|
|
397
417
|
* plain boolean — the unsorted glyph stays visible at all times (not
|
|
@@ -510,6 +530,25 @@ export declare interface ComboBoxTriggerProps extends Omit<GroupProps, 'classNam
|
|
|
510
530
|
className?: ClassValue;
|
|
511
531
|
}
|
|
512
532
|
|
|
533
|
+
export declare const Dot: {
|
|
534
|
+
({ size, outline, className }: DotProps): JSX_2.Element;
|
|
535
|
+
displayName: string;
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
export declare interface DotProps {
|
|
539
|
+
size?: DotSize;
|
|
540
|
+
/** Adds a ring/halo around the dot. Default false. */
|
|
541
|
+
outline?: boolean;
|
|
542
|
+
/**
|
|
543
|
+
* Consumer controls color via `className` (e.g. `className="bg-success-500"`) — the
|
|
544
|
+
* Figma `Dot` component set has no `color` variant axis, only `size` × `outline`. See
|
|
545
|
+
* RFC-icon.md §2 Out table.
|
|
546
|
+
*/
|
|
547
|
+
className?: string;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export declare type DotSize = 'sm' | 'md' | 'lg';
|
|
551
|
+
|
|
513
552
|
/**
|
|
514
553
|
* Standalone, not table-scoped — search results and filtered lists need it
|
|
515
554
|
* too. Structure follows the shipped "No Data Found" design (Figma
|
|
@@ -526,6 +565,59 @@ export declare interface EmptyStateProps {
|
|
|
526
565
|
className?: string;
|
|
527
566
|
}
|
|
528
567
|
|
|
568
|
+
export declare const FeaturedIcon: {
|
|
569
|
+
({ icon, size, color, type, className, }: FeaturedIconProps): JSX_2.Element;
|
|
570
|
+
displayName: string;
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
export declare type FeaturedIconColor = 'brand' | 'gray' | 'error' | 'warning' | 'success';
|
|
574
|
+
|
|
575
|
+
export declare interface FeaturedIconProps {
|
|
576
|
+
/** Tabler icon component reference, rendered via the base `Icon` primitive internally. */
|
|
577
|
+
icon: React_2.ComponentType<IconProps_2>;
|
|
578
|
+
size?: FeaturedIconSize;
|
|
579
|
+
color?: FeaturedIconColor;
|
|
580
|
+
type?: FeaturedIconType;
|
|
581
|
+
className?: string;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export declare type FeaturedIconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Controls BOTH background color token AND container border-radius — a coupled
|
|
588
|
+
* behavior, not two independent styles. Per Figma: 'light' | 'modern' | 'glass' render
|
|
589
|
+
* a full circle; 'dark' renders `rounded-lg`. Additionally, 'modern' is only defined for
|
|
590
|
+
* `color="gray"` and 'glass' is only defined for `color="brand"` — see icon.styles.ts.
|
|
591
|
+
*/
|
|
592
|
+
export declare type FeaturedIconType = 'light' | 'dark' | 'modern' | 'glass';
|
|
593
|
+
|
|
594
|
+
export declare const Icon: {
|
|
595
|
+
({ icon: IconComponent, size, strokeWidth, label, className, ...rest }: IconProps): JSX_2.Element;
|
|
596
|
+
displayName: string;
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
export declare interface IconProps extends Omit<IconProps_2, 'size' | 'stroke'> {
|
|
600
|
+
/**
|
|
601
|
+
* Tabler icon component reference, e.g. `icon={IconCheck}`. A component reference
|
|
602
|
+
* (not a string name) so tree-shaking and TypeScript autocomplete come for free from
|
|
603
|
+
* `@tabler/icons-react` directly — no curated icon-name registry to maintain.
|
|
604
|
+
*/
|
|
605
|
+
icon: React_2.ComponentType<IconProps_2>;
|
|
606
|
+
/** Size token. Default 'md' (20px). */
|
|
607
|
+
size?: IconSize;
|
|
608
|
+
/** Stroke width passed through to the Tabler icon. Default 2 (Tabler's own default). */
|
|
609
|
+
strokeWidth?: number;
|
|
610
|
+
/**
|
|
611
|
+
* Decorative by default (`aria-hidden`). Pass a string to mark the icon as the sole
|
|
612
|
+
* functional indicator (e.g. an icon-only button) — renders `role="img"` +
|
|
613
|
+
* `aria-label={label}` instead.
|
|
614
|
+
*/
|
|
615
|
+
label?: string;
|
|
616
|
+
className?: string;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export declare type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
620
|
+
|
|
529
621
|
export declare const Input: InputCompound;
|
|
530
622
|
|
|
531
623
|
/**
|