@streamoid/ui 0.4.1 → 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.css CHANGED
@@ -1354,7 +1354,7 @@
1354
1354
  }
1355
1355
  .ScButton_scButton.ScButton_variant-secondary:hover,
1356
1356
  .ScButton_scButton.ScButton_state-hover.ScButton_variant-secondary {
1357
- background: #c7c7c7;
1357
+ background: var(--alias-fill-base-basehover, #c7c7c7);
1358
1358
  }
1359
1359
  .ScButton_scButton.ScButton_variant-primary:hover,
1360
1360
  .ScButton_scButton.ScButton_state-hover.ScButton_variant-primary {
@@ -3105,6 +3105,7 @@
3105
3105
  }
3106
3106
  .ScTextField_inputContainer {
3107
3107
  background: var(--alias-fill-neutral-neutralplus, #151515);
3108
+ border: 1px solid var(--alias-border-subtle, transparent);
3108
3109
  border-radius: var(--radius-3xl, 1rem);
3109
3110
  padding: var(--spacing-xl, 0.75rem) var(--spacing-3xl, 1rem) var(--spacing-xl, 0.75rem) var(--spacing-3xl, 1rem);
3110
3111
  display: flex;
@@ -3159,6 +3160,7 @@
3159
3160
  .ScTextField_scTextField.ScTextField_state-hover .ScTextField_inputContainer,
3160
3161
  .ScTextField_scTextField.ScTextField_state-filled .ScTextField_inputContainer {
3161
3162
  background: var(--alias-fill-neutral-neutral, #1a1a1a);
3163
+ border-color: var(--alias-border-default, transparent);
3162
3164
  }
3163
3165
  .ScTextField_scTextField.ScTextField_state-filled .ScTextField_inputText {
3164
3166
  color: var(--alias-text-and-icons-primary, #f5f5f5);
@@ -3438,6 +3440,7 @@
3438
3440
  flex-shrink: 0;
3439
3441
  height: 2.5rem;
3440
3442
  position: relative;
3443
+ cursor: pointer;
3441
3444
  }
3442
3445
  .ScSidebarMenu_content {
3443
3446
  color: var(--alias-text-and-icons-tertiary, #9e9e9e);
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.1",
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
  }