@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.
@@ -1,5 +1,5 @@
1
1
  import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
2
- import { ButtonProps } from '@brightlocal/ui-components/button';
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>;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator } from '@brightlocal/ui-components/command';
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 */
@@ -1,6 +1,6 @@
1
1
  import { DateRange } from 'react-day-picker';
2
- import { CalendarProps } from '@brightlocal/ui-components/calendar';
3
- import { PopoverContent } from '@brightlocal/ui-components/popover';
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 '@brightlocal/ui-components/label';
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;
@@ -1,4 +1,4 @@
1
- import { InputGroupInput, InputGroupButton } from '@brightlocal/ui-components/input-group';
1
+ import { InputGroupInput, InputGroupButton } from './input-group';
2
2
  import * as React from "react";
3
3
  /**
4
4
  * Default password strength levels (industry standard)
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 '@brightlocal/ui-components/sonner';
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 '@brightlocal/ui-components/sonner';
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 '@brightlocal/ui-components/sonner';
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 '@brightlocal/ui-components/sonner';
138
+ * import { sonner } from './sonner';
139
139
  *
140
140
  * // Simple toast
141
141
  * sonner({ title: "Hello world" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightlocal/ui-components",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "BrightLocal Design System UI Components",
5
5
  "type": "module",
6
6
  "private": false,