@streamoid/ui 0.4.2 → 0.4.3

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.
package/dist/index.d.mts CHANGED
@@ -260,7 +260,7 @@ interface IScRoleProps extends React.HTMLAttributes<HTMLDivElement> {
260
260
  }
261
261
  declare const ScRole: ({ type, label, className, ...props }: IScRoleProps) => JSX.Element;
262
262
 
263
- interface IScSidebarProps extends React.HTMLAttributes<HTMLDivElement> {
263
+ interface IScSidebarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
264
264
  state?: "expanded" | "collapsed";
265
265
  className?: string;
266
266
  onToggle?: (state: "expanded" | "collapsed") => void;
@@ -424,7 +424,7 @@ interface IScAppFieldProps extends React.HTMLAttributes<HTMLDivElement> {
424
424
  }
425
425
  declare const ScAppField: ({ appFieldTitle, className, artifaxEnabled, onArtifaxToggle, photogenixEnabled, onPhotogenixToggle, catalogixEnabled, onCatalogixToggle, catalogixStores, catalogixSelectedStores, onCatalogixStoreToggle, catalogixSearchValue, onCatalogixSearchChange, ...props }: IScAppFieldProps) => JSX.Element;
426
426
 
427
- interface IScArtifaxInviteProps extends React.HTMLAttributes<HTMLDivElement> {
427
+ interface IScArtifaxInviteProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
428
428
  active?: "false" | "true";
429
429
  appName?: string;
430
430
  appDescription?: string;
@@ -440,7 +440,7 @@ interface IScBillingHistoryHeaderProps {
440
440
  }
441
441
  declare const ScBillingHistoryHeader: ({ className, ...props }: IScBillingHistoryHeaderProps) => JSX.Element;
442
442
 
443
- interface IScCatalogixInviteProps extends React.HTMLAttributes<HTMLDivElement> {
443
+ interface IScCatalogixInviteProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
444
444
  active?: "false" | "true";
445
445
  appName?: string;
446
446
  appDescription?: string;
@@ -634,7 +634,7 @@ interface IScTextFieldProps extends React.InputHTMLAttributes<HTMLInputElement>
634
634
  }
635
635
  declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, style, ...props }: IScTextFieldProps) => JSX.Element;
636
636
 
637
- interface IScToggleSwitchProps extends React.HTMLAttributes<HTMLDivElement> {
637
+ interface IScToggleSwitchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
638
638
  active?: "true" | "false";
639
639
  checked?: boolean;
640
640
  onToggle?: (active: boolean) => void;
package/dist/index.d.ts CHANGED
@@ -260,7 +260,7 @@ interface IScRoleProps extends React.HTMLAttributes<HTMLDivElement> {
260
260
  }
261
261
  declare const ScRole: ({ type, label, className, ...props }: IScRoleProps) => JSX.Element;
262
262
 
263
- interface IScSidebarProps extends React.HTMLAttributes<HTMLDivElement> {
263
+ interface IScSidebarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
264
264
  state?: "expanded" | "collapsed";
265
265
  className?: string;
266
266
  onToggle?: (state: "expanded" | "collapsed") => void;
@@ -424,7 +424,7 @@ interface IScAppFieldProps extends React.HTMLAttributes<HTMLDivElement> {
424
424
  }
425
425
  declare const ScAppField: ({ appFieldTitle, className, artifaxEnabled, onArtifaxToggle, photogenixEnabled, onPhotogenixToggle, catalogixEnabled, onCatalogixToggle, catalogixStores, catalogixSelectedStores, onCatalogixStoreToggle, catalogixSearchValue, onCatalogixSearchChange, ...props }: IScAppFieldProps) => JSX.Element;
426
426
 
427
- interface IScArtifaxInviteProps extends React.HTMLAttributes<HTMLDivElement> {
427
+ interface IScArtifaxInviteProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
428
428
  active?: "false" | "true";
429
429
  appName?: string;
430
430
  appDescription?: string;
@@ -440,7 +440,7 @@ interface IScBillingHistoryHeaderProps {
440
440
  }
441
441
  declare const ScBillingHistoryHeader: ({ className, ...props }: IScBillingHistoryHeaderProps) => JSX.Element;
442
442
 
443
- interface IScCatalogixInviteProps extends React.HTMLAttributes<HTMLDivElement> {
443
+ interface IScCatalogixInviteProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
444
444
  active?: "false" | "true";
445
445
  appName?: string;
446
446
  appDescription?: string;
@@ -634,7 +634,7 @@ interface IScTextFieldProps extends React.InputHTMLAttributes<HTMLInputElement>
634
634
  }
635
635
  declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, style, ...props }: IScTextFieldProps) => JSX.Element;
636
636
 
637
- interface IScToggleSwitchProps extends React.HTMLAttributes<HTMLDivElement> {
637
+ interface IScToggleSwitchProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onToggle"> {
638
638
  active?: "true" | "false";
639
639
  checked?: boolean;
640
640
  onToggle?: (active: boolean) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/ui",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -19,17 +19,17 @@
19
19
  "lint": "eslint src/"
20
20
  },
21
21
  "peerDependencies": {
22
- "react": "^18.0.0",
23
- "react-dom": "^18.0.0"
22
+ "react": "^18.0.0 || ^19.0.0",
23
+ "react-dom": "^18.0.0 || ^19.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@streamoid/icons": "^0.2.1"
26
+ "@streamoid/icons": "*"
27
27
  },
28
28
  "devDependencies": {
29
- "@types/react": "^18.0.0",
30
- "@types/react-dom": "^18.0.0",
31
- "react": "^18.0.0",
32
- "react-dom": "^18.0.0",
29
+ "@types/react": "^19.0.0",
30
+ "@types/react-dom": "^19.0.0",
31
+ "react": "^19.0.0",
32
+ "react-dom": "^19.0.0",
33
33
  "tsup": "^8.0.0",
34
34
  "typescript": "^5.0.0"
35
35
  }