@indxsearch/systm 1.0.0 → 1.1.0

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,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  interface IconProps {
3
3
  size?: string | number;
4
4
  color?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
3
  label?: string;
4
4
  score?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  export interface InputFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
3
  label?: string;
4
4
  error?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  export interface PopoverProps {
3
3
  trigger: React.ReactNode;
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from "react";
2
2
  type RadioButtonProps = {
3
3
  id: string;
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  interface IconProps {
3
3
  size?: string | number;
4
4
  color?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  export interface SelectOption {
3
3
  label: string;
4
4
  value: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from 'react';
2
2
  type SingleValue = number;
3
3
  type RangeValue = [number, number];
4
4
  interface BaseSliderProps {
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface TableProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare function Table({ children }: TableProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface TableCellProps {
3
+ label?: string;
4
+ children?: React.ReactNode;
5
+ }
6
+ export declare function TableCell({ label, children }: TableCellProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface TableHeaderProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare function TableHeader({ children }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IconProps {
3
+ size?: string | number;
4
+ color?: string;
5
+ }
6
+ interface TableIconProps {
7
+ children: React.ReactElement<IconProps>;
8
+ }
9
+ export declare function TableIcon({ children }: TableIconProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface TableRowProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare function TableRow({ children }: TableRowProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface TableValueProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare function TableValue({ children }: TableValueProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ export { Table } from './Table';
2
+ export { TableHeader } from './TableHeader';
3
+ export { TableRow } from './TableRow';
4
+ export { TableCell } from './TableCell';
5
+ export { TableValue } from './TableValue';
6
+ export { TableIcon } from './TableIcon';
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import React from "react";
2
2
  type ToggleSwitchProps = {
3
3
  id?: string;
4
4
  checked: boolean;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import './globals/globals.css';
1
2
  export { Button } from './components/Button/Button';
2
3
  export { Checkbox } from './components/Checkbox/Checkbox';
3
4
  export { Base, type BaseProps } from './components/Base/Base';
@@ -10,3 +11,4 @@ export { ToggleSwitch } from './components/ToggleSwitch/ToggleSwitch';
10
11
  export { Slider } from './components/Slider/Slider';
11
12
  export { Select, type SelectOption, type SelectProps } from './components/Select/Select';
12
13
  export { Popover, type PopoverProps } from './components/Popover';
14
+ export { Table, TableHeader, TableRow, TableCell, TableValue, TableIcon } from './components/Table';