@react95/core 9.6.2 → 9.6.3-alpha.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.
Files changed (39) hide show
  1. package/cjs/Button/Button.cjs +12 -13
  2. package/cjs/Frame/Frame.cjs +4 -4
  3. package/cjs/List/List.cjs +4 -2
  4. package/cjs/List/ListDivider.cjs +12 -2
  5. package/cjs/List/ListItem.cjs +14 -3
  6. package/cjs/TitleBar/TitleBar.cjs +44 -54
  7. package/cjs/Video/Video.cjs +0 -1
  8. package/esm/Button/Button.mjs +12 -13
  9. package/esm/Frame/Frame.mjs +5 -5
  10. package/esm/List/List.mjs +6 -4
  11. package/esm/List/ListDivider.mjs +14 -4
  12. package/esm/List/ListItem.mjs +16 -5
  13. package/esm/TitleBar/TitleBar.mjs +44 -54
  14. package/esm/Video/Video.mjs +0 -1
  15. package/package.json +3 -2
  16. package/types/Alert/Alert.d.ts +2374 -1
  17. package/types/Avatar/Avatar.d.ts +2 -2
  18. package/types/Button/Button.d.ts +3 -3
  19. package/types/Dropdown/Dropdown.d.ts +1 -1
  20. package/types/Fieldset/Fieldset.d.ts +1 -1
  21. package/types/Frame/Frame.d.ts +11 -2370
  22. package/types/GlobalStyle/GlobalStyle.css.d.ts +1 -0
  23. package/types/GlobalStyle/index.d.ts +1 -0
  24. package/types/GlobalStyle/utils.d.ts +15 -0
  25. package/types/Input/Input.d.ts +2364 -3
  26. package/types/List/List.d.ts +10 -7
  27. package/types/List/ListDivider.d.ts +6 -4
  28. package/types/List/ListItem.d.ts +9 -7
  29. package/types/Modal/Modal.d.ts +7 -10
  30. package/types/ProgressBar/ProgressBar.d.ts +2 -2
  31. package/types/Range/Range.d.ts +2364 -3
  32. package/types/Tabs/Tab.d.ts +2369 -3
  33. package/types/Tabs/Tabs.d.ts +2368 -3
  34. package/types/TaskBar/TaskBar.d.ts +2366 -3
  35. package/types/TextArea/TextArea.d.ts +2364 -3
  36. package/types/TitleBar/TitleBar.d.ts +7 -2372
  37. package/types/Tree/Node.d.ts +2 -2
  38. package/types/Tree/Tree.d.ts +3 -3
  39. package/types/Video/Video.d.ts +2367 -2
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { FC, ReactElement, MouseEvent, KeyboardEvent } from 'react';
2
+ import type { FC, ReactElement, MouseEvent, KeyboardEvent, LiHTMLAttributes } from 'react';
3
3
  import { FrameProps } from '../Frame/Frame';
4
4
  export declare const icons: {
5
5
  readonly FILE_MEDIA: React.FC<import("@react95/icons").MediaCdProps>;
@@ -17,7 +17,7 @@ export type NodeProps = {
17
17
  id: number;
18
18
  children?: Array<NodeProps>;
19
19
  onClick?(event: MouseEvent | KeyboardEvent, props: NodeProps): void;
20
- } & Omit<FrameProps<'li'>, 'id' | 'children'>;
20
+ } & Omit<FrameProps, 'id' | 'children'> & Omit<LiHTMLAttributes<HTMLLIElement>, 'id' | 'children'>;
21
21
  export type NodeRootProps = Omit<NodeProps, 'children'>;
22
22
  export declare const Node: FC<NodeProps>;
23
23
  export declare const NodeRoot: FC<NodeRootProps>;
@@ -1,12 +1,12 @@
1
- import type { ForwardRefExoticComponent, RefAttributes } from 'react';
1
+ import type { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from 'react';
2
2
  import { icons, NodeProps } from './Node';
3
3
  import { FrameProps } from '../Frame/Frame';
4
4
  export type TreeProps = {
5
5
  data: Array<NodeProps>;
6
6
  root?: Omit<NodeProps, 'children'>;
7
- } & FrameProps<'ul'>;
7
+ } & FrameProps & HTMLAttributes<HTMLUListElement>;
8
8
  type TreeComposition = ForwardRefExoticComponent<TreeProps & RefAttributes<HTMLUListElement>> & {
9
9
  icons: typeof icons;
10
- } & Omit<FrameProps<'ul'>, 'as'>;
10
+ } & Omit<FrameProps, 'as'>;
11
11
  export declare const Tree: TreeComposition;
12
12
  export {};