@northlight/ui 2.28.4 → 2.28.5
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/es/northlight.d.ts
CHANGED
|
@@ -464,7 +464,7 @@ interface BlinkerProps {
|
|
|
464
464
|
*/
|
|
465
465
|
declare const Blinker: ({ color, size, isBlinking, ...rest }: BlinkerProps) => JSX.Element;
|
|
466
466
|
|
|
467
|
-
type ButtonVariants = 'default' | 'danger' | 'success' | 'brand' | 'brandSubdued' | 'link' | 'ghost' | 'ai';
|
|
467
|
+
type ButtonVariants = 'default' | 'danger' | 'success' | 'brand' | 'brandSubdued' | 'link' | 'ghost' | 'ai' | 'outline' | 'solid';
|
|
468
468
|
type ButtonProps = Omit<ButtonProps$1, 'as' | 'size'> & {
|
|
469
469
|
variant?: ButtonVariants;
|
|
470
470
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -487,7 +487,8 @@ type ButtonProps = Omit<ButtonProps$1, 'as' | 'size'> & {
|
|
|
487
487
|
* @example (Example)
|
|
488
488
|
* (?
|
|
489
489
|
* +
|
|
490
|
-
* const variants = ['link', 'success', 'default', 'danger', 'brand',
|
|
490
|
+
* const variants = ['link', 'success', 'default', 'danger', 'brand',
|
|
491
|
+
* 'ghost', 'ai', 'outline', 'brandSubdued', 'solid']
|
|
491
492
|
*
|
|
492
493
|
* const ExampleButton = () => {
|
|
493
494
|
* const [currentVariant, setCurrentVariant ] = useState(0)
|