andoncloud-sdk 1.7.33 → 1.7.34

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -7
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -5,10 +5,6 @@ import { SxProps, Theme } from '@mui/material/styles';
5
5
  import * as Sentry from '@sentry/react';
6
6
  import { InitOptions } from 'i18next';
7
7
 
8
- import { CheckboxProps } from './core/ui/Checkbox';
9
- import { RadioProps } from './core/ui/Radio';
10
- import { RadioGroupProps } from './core/ui/RadioGroup';
11
-
12
8
  declare module '@mui/material/styles' {
13
9
  interface Palette {
14
10
  gray: Palette['primary'];
@@ -442,11 +438,17 @@ declare module 'andoncloud-sdk' {
442
438
 
443
439
  export const captureException: typeof Sentry.captureException;
444
440
 
445
- export const Checkbox: React.FC<CheckboxProps>;
441
+ // NOTE: Checkbox/Radio/RadioGroup types loosened to `any` because their
442
+ // source declarations live in src/core/ui/* which is not bundled into
443
+ // published dist (only dist/index.js + dist/index.d.ts ship). Restoring
444
+ // proper types requires either bundling .d.ts (via tsdown --dts or
445
+ // rollup-plugin-dts) or migrating SDK to TypeScript (tech-debt #4).
446
+ // Downstream consumers will see these as React.FC<any> until then.
447
+ export const Checkbox: React.FC<any>;
446
448
 
447
- export const Radio: React.FC<RadioProps>;
449
+ export const Radio: React.FC<any>;
448
450
 
449
- export const RadioGroup: React.FC<RadioGroupProps>;
451
+ export const RadioGroup: React.FC<any>;
450
452
 
451
453
  export const sidePanelDefaultProps: SidePanelProps;
452
454
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andoncloud-sdk",
3
- "version": "1.7.33",
3
+ "version": "1.7.34",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "ajv": "^8.18.0",
53
53
  "andoncloud-library-scripts": "^2.0.0",
54
54
  "copyfiles": "^2.4.1",
55
- "cypress": "^15.13.1",
55
+ "cypress": "^15.16.0",
56
56
  "cypress-rspack-dev-server": "^1.1.2",
57
57
  "eslint": "8.57.1",
58
58
  "eslint-config-andoncloud": "^1.1.0",