@bit.rhplus/ui.f7.detail-item 0.0.106 → 0.0.108

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.
@@ -3,16 +3,16 @@ export function Calendar({ value, title, onChange, placeholder, format, color, s
3
3
  value: any;
4
4
  title: any;
5
5
  onChange: any;
6
- placeholder?: string | undefined;
7
- format?: string | undefined;
6
+ placeholder?: string;
7
+ format?: string;
8
8
  color: any;
9
9
  style: any;
10
- disabled?: boolean | undefined;
11
- lucideIcon?: React.ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>> | undefined;
10
+ disabled?: boolean;
11
+ lucideIcon?: React.ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
12
12
  icon: any;
13
- iconSize?: number | undefined;
14
- field?: null | undefined;
15
- enableTime?: boolean | undefined;
16
- calendarParams?: {} | undefined;
13
+ iconSize?: number;
14
+ field?: any;
15
+ enableTime?: boolean;
16
+ calendarParams?: {};
17
17
  }): import("react/jsx-runtime").JSX.Element;
18
18
  import React from 'react';
@@ -3,12 +3,12 @@ export function Category({ children, value, onSave, onChange, title, placeholder
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  lucideIcon: any;
11
11
  icon: any;
12
- categories?: never[] | undefined;
13
- field?: null | undefined;
12
+ categories?: any[];
13
+ field?: any;
14
14
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,10 +3,10 @@ export function Contact({ value, onSave, onChange, title, placeholder, color, si
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
10
- field?: null | undefined;
11
- visibleFields?: string[] | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
+ field?: any;
11
+ visibleFields?: string[];
12
12
  }): import("react/jsx-runtime").JSX.Element;
@@ -5,8 +5,8 @@ export function CountryFlag({ children, value, country, countryCode, countryName
5
5
  country: any;
6
6
  countryCode: any;
7
7
  countryName: any;
8
- size?: number | undefined;
8
+ size?: number;
9
9
  style: any;
10
- showName?: boolean | undefined;
11
- field?: null | undefined;
10
+ showName?: boolean;
11
+ field?: any;
12
12
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,10 +3,10 @@ export function Custom({ value, onSave, onChange, title, placeholder, color, siz
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  lucideIcon: any;
11
11
  icon: any;
12
12
  FormRenderer: any;
@@ -15,8 +15,8 @@ export function Custom({ value, onSave, onChange, title, placeholder, color, siz
15
15
  label: string;
16
16
  type: string;
17
17
  placeholder: string;
18
- }[] | undefined;
19
- displayFields?: string[] | undefined;
20
- getDisplayText?: null | undefined;
21
- field?: null | undefined;
18
+ }[];
19
+ displayFields?: string[];
20
+ getDisplayText?: any;
21
+ field?: any;
22
22
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,10 +3,10 @@ export function Download({ children, href, onClick, color, size, value, lucideIc
3
3
  children: any;
4
4
  href: any;
5
5
  onClick: any;
6
- color?: string | undefined;
7
- size?: number | undefined;
6
+ color?: string;
7
+ size?: number;
8
8
  value: any;
9
9
  lucideIcon: any;
10
10
  icon: any;
11
- field?: null | undefined;
11
+ field?: any;
12
12
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,18 +3,18 @@ export function Grid({ children, value, onSave, onChange, title, placeholder, co
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  lucideIcon: any;
11
11
  icon: any;
12
- rowData?: never[] | undefined;
13
- columnDefs?: never[] | undefined;
14
- gridOptions?: {} | undefined;
12
+ rowData?: any[];
13
+ columnDefs?: any[];
14
+ gridOptions?: {};
15
15
  onRowDoubleClicked: any;
16
- gridHeight?: string | undefined;
17
- selectionMode?: string | undefined;
18
- displayField?: string | undefined;
19
- field?: null | undefined;
16
+ gridHeight?: string;
17
+ selectionMode?: string;
18
+ displayField?: string;
19
+ field?: any;
20
20
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,14 +3,14 @@ export function InputNumber({ children, value, onSave, onChange, title, placehol
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  min: any;
11
11
  max: any;
12
- step?: number | undefined;
12
+ step?: number;
13
13
  lucideIcon: any;
14
14
  icon: any;
15
- field?: null | undefined;
15
+ field?: any;
16
16
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,11 +3,11 @@ export function InputText({ children, value, onSave, onChange, title, placeholde
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  lucideIcon: any;
11
11
  icon: any;
12
- field?: null | undefined;
12
+ field?: any;
13
13
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,25 +3,25 @@ export function List({ children, value, onSave, onChange, title, placeholder, co
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  lucideIcon: any;
11
11
  icon: any;
12
- options?: never[] | undefined;
13
- selectionMode?: string | undefined;
14
- displayField?: string | undefined;
15
- titleField?: string | undefined;
16
- subtitleField?: string | undefined;
17
- iconField?: string | undefined;
18
- colorField?: string | undefined;
19
- countryField?: string | undefined;
20
- showCountryFlag?: boolean | undefined;
21
- flagSize?: number | undefined;
12
+ options?: any[];
13
+ selectionMode?: string;
14
+ displayField?: string;
15
+ titleField?: string;
16
+ subtitleField?: string;
17
+ iconField?: string;
18
+ colorField?: string;
19
+ countryField?: string;
20
+ showCountryFlag?: boolean;
21
+ flagSize?: number;
22
22
  ItemRenderer: any;
23
- field?: null | undefined;
24
- filterMultiSelect?: boolean | undefined;
23
+ field?: any;
24
+ filterMultiSelect?: boolean;
25
25
  filterPopupContent: any;
26
26
  onFilterTextClear: any;
27
27
  onFilter: any;
@@ -3,29 +3,29 @@ export function Project({ children, value, onSave, onChange, title, placeholder,
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  lucideIcon: any;
11
11
  icon: any;
12
- projects?: never[] | undefined;
13
- selectionMode?: string | undefined;
14
- displayField?: string | undefined;
15
- titleField?: string | undefined;
16
- subtitleField?: string | undefined;
17
- iconField?: string | undefined;
18
- colorField?: string | undefined;
19
- countryField?: string | undefined;
20
- showCountryFlag?: boolean | undefined;
21
- flagSize?: number | undefined;
12
+ projects?: any[];
13
+ selectionMode?: string;
14
+ displayField?: string;
15
+ titleField?: string;
16
+ subtitleField?: string;
17
+ iconField?: string;
18
+ colorField?: string;
19
+ countryField?: string;
20
+ showCountryFlag?: boolean;
21
+ flagSize?: number;
22
22
  ItemRenderer: any;
23
- field?: null | undefined;
24
- filterMultiSelect?: boolean | undefined;
23
+ field?: any;
24
+ filterMultiSelect?: boolean;
25
25
  filterPopupContent: any;
26
26
  onFilterTextClear: any;
27
27
  onFilter: any;
28
28
  filterFunction: any;
29
- googleMapsLoaded?: boolean | undefined;
30
- showGoogleTab?: boolean | undefined;
29
+ googleMapsLoaded?: boolean;
30
+ showGoogleTab?: boolean;
31
31
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,12 +3,12 @@ export function Select({ children, value, onSave, onChange, title, placeholder,
3
3
  value: any;
4
4
  onSave: any;
5
5
  onChange: any;
6
- title?: string | undefined;
7
- placeholder?: string | undefined;
8
- color?: string | undefined;
9
- size?: number | undefined;
6
+ title?: string;
7
+ placeholder?: string;
8
+ color?: string;
9
+ size?: number;
10
10
  lucideIcon: any;
11
11
  icon: any;
12
- options?: never[] | undefined;
13
- field?: null | undefined;
12
+ options?: any[];
13
+ field?: any;
14
14
  }): import("react/jsx-runtime").JSX.Element;
@@ -8,5 +8,5 @@ export function Switch({ checked, onChange, disabled, value, checkedChildren, un
8
8
  unCheckedChildren: any;
9
9
  lucideIcon: any;
10
10
  icon: any;
11
- field?: null | undefined;
11
+ field?: any;
12
12
  }): import("react/jsx-runtime").JSX.Element;
@@ -6,6 +6,6 @@ export function Text({ children, value, color, style, lucideIcon, icon, iconSize
6
6
  style: any;
7
7
  lucideIcon: any;
8
8
  icon: any;
9
- iconSize?: number | undefined;
10
- field?: null | undefined;
9
+ iconSize?: number;
10
+ field?: any;
11
11
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1 @@
1
- export { Text } from "./Text";
2
- export { Download } from "./Download";
3
- export { InputText } from "./InputText";
4
- export { InputNumber } from "./InputNumber";
5
- export { Switch } from "./Switch";
6
- export { Custom } from "./Custom";
7
- export { Contact } from "./Contact";
8
- export { Category } from "./Category";
9
- export { Select } from "./Select";
10
- export { Grid } from "./Grid";
11
- export { List } from "./List";
12
- export { CountryFlag } from "./CountryFlag";
13
- export { Project } from "./Project";
14
- export { Calendar } from "./Calendar";
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -7,11 +7,10 @@ declare function DetailItem({ title, subtitle, footer, input, children, classNam
7
7
  footer: any;
8
8
  input: any;
9
9
  children: any;
10
- className?: string | undefined;
10
+ className?: string;
11
11
  style: any;
12
- showValidationIcon?: boolean | undefined;
12
+ showValidationIcon?: boolean;
13
13
  value: any;
14
14
  onChange: any;
15
15
  disabled: any;
16
16
  }): import("react/jsx-runtime").JSX.Element;
17
- export { Text, Download, InputText, InputNumber, Switch, Custom, Category, Select, Grid, Contact, List, CountryFlag, Project, Calendar } from "./components";
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
1
  {
2
2
  "name": "@bit.rhplus/ui.f7.detail-item",
3
- "version": "0.0.106",
3
+ "version": "0.0.108",
4
4
  "homepage": "https://bit.cloud/remote-scope/ui/f7/detail-item",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "remote-scope",
8
8
  "name": "ui/f7/detail-item",
9
- "version": "0.0.106"
9
+ "version": "0.0.108"
10
10
  },
11
11
  "dependencies": {
12
12
  "lucide-react": "^0.503.0",
13
13
  "antd": "^5.20.6",
14
- "@bit.rhplus/ui.f7.list-item": "0.0.8",
15
- "@bit.rhplus/ui.f7.save-button": "0.0.7",
16
- "@bit.rhplus/ui.f7.small-button": "0.0.10",
17
- "@bit.rhplus/ui.circle-button": "0.0.15",
18
- "@bit.rhplus/ui.f7.category": "0.0.3",
19
- "@bit.rhplus/ui.grid": "0.0.131",
20
- "@bit.rhplus/ui.f7.filter": "0.0.4",
21
- "@bit.rhplus/ui.f7.segmented": "0.0.12",
22
- "@bit.rhplus/ui.form": "0.1.14"
14
+ "@bit.rhplus/ui.f7.list-item": "0.0.9",
15
+ "@bit.rhplus/ui.form": "0.1.15",
16
+ "@bit.rhplus/ui.f7.save-button": "0.0.8",
17
+ "@bit.rhplus/ui.f7.small-button": "0.0.11",
18
+ "@bit.rhplus/ui.circle-button": "0.0.16",
19
+ "@bit.rhplus/ui.f7.category": "0.0.4",
20
+ "@bit.rhplus/ui.grid": "0.0.133",
21
+ "@bit.rhplus/ui.f7.filter": "0.0.5",
22
+ "@bit.rhplus/ui.f7.segmented": "0.0.13"
23
23
  },
24
24
  "devDependencies": {
25
- "@teambit/react.react-env": "1.3.1"
25
+ "@bitdev/react.react-env": "4.0.14"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "framework7-react": "^8.3.3",
@@ -31,6 +31,7 @@
31
31
  "license": "SEE LICENSE IN UNLICENSED",
32
32
  "optionalDependencies": {},
33
33
  "peerDependenciesMeta": {},
34
+ "type": "module",
34
35
  "private": false,
35
36
  "publishConfig": {
36
37
  "scope": "@bit.rhplus",
package/types/env.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ export type ImportMetaEnv = Record<string, string>;
4
+
5
+ interface ImportMeta {
6
+ readonly env: ImportMetaEnv
7
+ }
8
+
9
+ declare global {
10
+ namespace NodeJS {
11
+ interface ProcessEnv {
12
+ [key: string]: string;
13
+ }
14
+ }
15
+ }