@brightlocal/ui-components 1.0.1 → 1.0.2
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/carousel.d.ts +1 -1
- package/dist/combobox.d.ts +1 -1
- package/dist/date-picker.d.ts +2 -2
- package/dist/field.d.ts +1 -1
- package/dist/input-password.d.ts +1 -1
- package/dist/sonner.d.ts +4 -4
- package/package.json +1 -1
package/dist/carousel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
|
|
2
|
-
import { ButtonProps } from '
|
|
2
|
+
import { ButtonProps } from './button';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
5
5
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
package/dist/combobox.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from '
|
|
2
|
+
import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from './command';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
export interface ComboboxProps {
|
|
5
5
|
/** Controlled selected value */
|
package/dist/date-picker.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateRange } from 'react-day-picker';
|
|
2
|
-
import { CalendarProps } from '
|
|
3
|
-
import { PopoverContent } from '
|
|
2
|
+
import { CalendarProps } from './calendar';
|
|
3
|
+
import { PopoverContent } from './popover';
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
/**
|
|
6
6
|
* Preset configuration for DatePicker
|
package/dist/field.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { LucideProps } from '@brightlocal/icons';
|
|
3
|
-
import { LabelProps } from '
|
|
3
|
+
import { LabelProps } from './label';
|
|
4
4
|
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare namespace FieldSet {
|
|
6
6
|
var displayName: string;
|
package/dist/input-password.d.ts
CHANGED
package/dist/sonner.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare function sonner(toast: ToastInput, options?: SonnerCustomOptions): void;
|
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* // CORRECT: Mount in your app root (App.tsx or layout.tsx)
|
|
64
|
-
* import { Sonner } from '
|
|
64
|
+
* import { Sonner } from './sonner';
|
|
65
65
|
*
|
|
66
66
|
* function App() {
|
|
67
67
|
* return (
|
|
@@ -98,7 +98,7 @@ declare function sonner(toast: ToastInput, options?: SonnerCustomOptions): void;
|
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* // Then use sonner() anywhere in your app
|
|
101
|
-
* import { sonner } from '
|
|
101
|
+
* import { sonner } from './sonner';
|
|
102
102
|
*
|
|
103
103
|
* function MyComponent() {
|
|
104
104
|
* const handleClick = () => {
|
|
@@ -129,13 +129,13 @@ declare namespace Sonner {
|
|
|
129
129
|
* @example
|
|
130
130
|
* ```tsx
|
|
131
131
|
* // 1. Mount the Sonner component in your app root
|
|
132
|
-
* import { Sonner } from '
|
|
132
|
+
* import { Sonner } from './sonner';
|
|
133
133
|
* import { toast } from 'sonner';
|
|
134
134
|
*
|
|
135
135
|
* <Sonner />
|
|
136
136
|
*
|
|
137
137
|
* // 2. Show toasts anywhere in your app
|
|
138
|
-
* import { sonner } from '
|
|
138
|
+
* import { sonner } from './sonner';
|
|
139
139
|
*
|
|
140
140
|
* // Simple toast
|
|
141
141
|
* sonner({ title: "Hello world" });
|