@dartcom/ui-kit 3.9.7 → 3.9.8

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 { SxProps } from '@mui/material';
2
- import { StringOrNumber } from '@/types';
2
+ import { StringOrNumber } from '../../../types';
3
3
  export type DraggableProps = {
4
4
  id: StringOrNumber;
5
5
  sx?: {
@@ -1,4 +1,4 @@
1
- import { StringOrNumber } from '@/types';
1
+ import { StringOrNumber } from '../../../types';
2
2
  export type DroppableProps = {
3
3
  id: StringOrNumber;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { StringOrNumber } from '@/types';
1
+ import { StringOrNumber } from '../../types';
2
2
  import { List } from '../list';
3
3
  import Draggable from './draggable';
4
4
  export type DragListProps<T> = Pick<React.ComponentProps<typeof List>, 'sx' | 'title'> & {
@@ -1,4 +1,4 @@
1
- import { Nullable } from '@/types';
1
+ import { Nullable } from '../../../../types';
2
2
  import { SourceLayerEventHandlers, TangramCustomLayer, TangramEventConfig, TangramLeafletLayer, TangramScene, TangramSourceConfig } from '../types';
3
3
  export declare const useGetLeafletLayer: ({ eventHandlers, }: {
4
4
  eventHandlers?: SourceLayerEventHandlers;
@@ -1,5 +1,5 @@
1
1
  import { LeafletMouseEvent } from 'leaflet';
2
- import { StringOrNumber } from '@/types';
2
+ import { StringOrNumber } from '../../../types';
3
3
  export declare enum SourceLayers {
4
4
  ONE_WAY = "\"OneWay\"",
5
5
  POINT_ADDRESS = "\"PointAddress\"",
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/material';
3
- import { StringOrNumber } from '@/types';
3
+ import { StringOrNumber } from '../../types';
4
4
  interface CustomListProps<T> {
5
5
  items: T[];
6
6
  columnsCount?: number;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/material';
3
3
  import { FieldValues, Path, PathValue } from 'react-hook-form';
4
- import { StringOrNumber } from '@/types';
4
+ import { StringOrNumber } from '../../types';
5
5
  interface SelectProps<V, O> {
6
6
  name: Path<V>;
7
7
  items: O[];
@@ -1,4 +1,4 @@
1
- import { ApiService } from '@/services/api';
1
+ import { ApiService } from '../../services/api';
2
2
  import { ResponseData } from './types';
3
3
  export interface ConfigOptions {
4
4
  apiKey: string;
@@ -1,2 +1,2 @@
1
- export declare const apiService: import("@/services").ApiService;
1
+ export declare const apiService: import("../../services").ApiService;
2
2
  //# sourceMappingURL=constants.d.ts.map
@@ -1,4 +1,4 @@
1
- import { SignInUserResponse } from '@/lib';
1
+ import { SignInUserResponse } from '../../lib';
2
2
  export type AuthPageProps = {
3
3
  onSuccessSignIn: (response: SignInUserResponse) => void;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ConfigOptions } from '@/configs';
1
+ import { ConfigOptions } from '../../configs';
2
2
  export type DartcomInitializeProviderProps = {
3
3
  configOptions: ConfigOptions;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { ThemeOptions } from '@mui/material';
2
- import { ConfigOptions } from '@/configs';
2
+ import { ConfigOptions } from '../configs';
3
3
  export type DartcomProvidersProps = {
4
4
  configOptions: ConfigOptions;
5
5
  themeOptions?: ThemeOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartcom/ui-kit",
3
- "version": "3.9.7",
3
+ "version": "3.9.8",
4
4
  "description": "Кастомная библиотека комопнентов Dartcom",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -105,6 +105,7 @@
105
105
  "rollup-plugin-peer-deps-external": "^2.2.4",
106
106
  "rollup-plugin-postcss": "^4.0.2",
107
107
  "rollup-plugin-preserve-directives": "^0.4.0",
108
+ "rollup-plugin-tsc-alias": "^1.1.4",
108
109
  "rollup-plugin-tsconfig-paths": "^1.5.2",
109
110
  "semantic-release": "^25.0.2",
110
111
  "storybook": "^10.1.4",