indicator-ui 0.0.24 → 0.0.25

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.
@@ -0,0 +1 @@
1
+ export declare function TagPage(): import("react/jsx-runtime").JSX.Element;
@@ -9,3 +9,4 @@ export * from './CheckboxPage';
9
9
  export * from './ToggleBasePage';
10
10
  export * from './TogglePage';
11
11
  export * from './CascadeSelectorPage';
12
+ export * from './TagPage';
@@ -22,6 +22,9 @@ export type SelectFieldPropsType = {
22
22
  required?: boolean;
23
23
  multiple?: boolean;
24
24
  disabled?: boolean;
25
+ /**
26
+ * Опция для синхронизации внешних **options**, не включайте, если передаете **options** без постоянного указателя.
27
+ * */
25
28
  offOptionsSyncing?: boolean;
26
29
  placeholder?: string;
27
30
  onBlur?: () => void;
@@ -0,0 +1,2 @@
1
+ export * from './ui';
2
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ export { default as TagCheckboxStyle } from './TagCheckbox.module.scss';
2
+ export { default as TagCountStyle } from './TagCount.module.scss';
3
+ export { default as TagStyle } from './Tag.module.scss';
@@ -0,0 +1,7 @@
1
+ export type TagCheckboxSizeType = 'small' | 'medium' | 'large';
2
+ export type TagCheckboxPropsType = {
3
+ onClick?: () => void;
4
+ checked?: boolean;
5
+ disabled?: boolean;
6
+ size?: TagCheckboxSizeType;
7
+ };
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export type TagCountPropsType = {
3
+ count?: React.ReactNode;
4
+ color?: 'gray' | 'color';
5
+ size?: 'small' | 'medium' | 'large';
6
+ };
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ export type TagPropsType = {
3
+ label?: React.ReactNode;
4
+ size?: 'small' | 'medium' | 'large';
5
+ icon?: boolean | React.ReactNode;
6
+ actions?: 'text-only' | 'x-close' | 'count';
7
+ count?: React.ReactNode;
8
+ checkbox?: boolean;
9
+ checked?: boolean;
10
+ onCheckboxClick?: () => void;
11
+ onXCloseClick?: () => void;
12
+ active?: boolean;
13
+ };
@@ -0,0 +1,3 @@
1
+ export * from './TagTypes';
2
+ export * from './TagCheckboxTypes';
3
+ export * from './TagCountTypes';
@@ -0,0 +1,2 @@
1
+ import { TagPropsType } from "../types";
2
+ export declare function Tag({ active, size, icon, label, checkbox, checked, actions, onCheckboxClick, onXCloseClick, count, }: TagPropsType): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TagCheckboxPropsType } from '../types';
2
+ export declare function TagCheckbox({ size, checked, disabled, onClick }: TagCheckboxPropsType): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TagCountPropsType } from "../types";
2
+ export declare function TagCount({ count, color, size }: TagCountPropsType): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './Tag';
2
+ export * from './TagCheckbox';
3
+ export * from './TagCount';
@@ -8,3 +8,4 @@ export * from './Checkbox';
8
8
  export * from './ToggleBase';
9
9
  export * from './Toggle';
10
10
  export * from './CascadeSelector';
11
+ export * from './Tag';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",