@northlight/ui 2.28.3 → 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 +3 -2
- package/dist/es/northlight.js +1 -1
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +1 -1
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +1 -1
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +2 -2
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)
|
package/dist/es/northlight.js
CHANGED
|
@@ -14074,8 +14074,8 @@ const CreatableSelectDropdown = (_a) => {
|
|
|
14074
14074
|
}
|
|
14075
14075
|
if (option.value !== CREATION_OPTION_VALUE) {
|
|
14076
14076
|
setSelectedOption(option);
|
|
14077
|
+
onOptionChange(option);
|
|
14077
14078
|
}
|
|
14078
|
-
onOptionChange(option);
|
|
14079
14079
|
};
|
|
14080
14080
|
const combinedOptions = useMemo(
|
|
14081
14081
|
() => uniqBy(prop("value"), [...standardOptions, ...createdOptions]),
|