dawn-ui-react 1.0.0-alpha.6 → 1.0.0-alpha.7

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 (32) hide show
  1. package/dist/{Input-DtHcqeCc.js → Input-BkHt7FC1.js} +2 -2
  2. package/dist/{clamp-DQOKpe2d.js → clamp-Bd-I2_Rk.js} +2 -2
  3. package/dist/{cn-CXogf8HW.js → cn-DWnOBdrm.js} +349 -307
  4. package/dist/components/layer-tree/index.d.ts +2 -1
  5. package/dist/components/layer-tree/layer-tree-search.d.ts +1 -1
  6. package/dist/components/layer-tree/layer-tree-sort.d.ts +1 -3
  7. package/dist/components/layer-tree/layer-tree.types.d.ts +5 -1
  8. package/dist/components/profile/index.d.ts +5 -1
  9. package/dist/components/profile/profile-action.d.ts +2 -0
  10. package/dist/components/profile/profile-content.d.ts +2 -0
  11. package/dist/components/profile/profile-name.d.ts +2 -0
  12. package/dist/components/profile/profile-subname.d.ts +2 -0
  13. package/dist/components/profile/profile.d.ts +1 -1
  14. package/dist/components/profile/profile.types.d.ts +6 -14
  15. package/dist/dawn-ui-react.js +15490 -11107
  16. package/dist/dawn-ui-react.umd.cjs +26 -26
  17. package/dist/{field-input-group-DRO7BT9K.js → field-input-group-BwMQAM6n.js} +3 -3
  18. package/dist/{field-input-group-input-D1w5gEYu.js → field-input-group-input-DnJFuMi4.js} +3 -3
  19. package/dist/{form-context-DBHjPCAB.js → form-context-om_k3VKa.js} +481 -461
  20. package/dist/{input-group-CDZSzmGh.js → input-group-CWH7SWRv.js} +2 -2
  21. package/dist/{input-group-input-DksiPZS5.js → input-group-input-DOxvfiMV.js} +2 -2
  22. package/dist/{input.types-BToTmX-b.js → input.types-BeeCYL9x.js} +1 -1
  23. package/dist/styles.css +21 -21
  24. package/dist/{useLabelableId-Bsez0mIm.js → useLabelableId-B_P81Wgy.js} +1 -1
  25. package/package.json +22 -22
  26. package/dist/field-description-BDRJXMS8.js +0 -12
  27. package/dist/field-errors-BndE4fDS.js +0 -21
  28. package/dist/field-input-BPNlupYr.js +0 -58
  29. package/dist/field-label-DiJO_3-h.js +0 -16
  30. package/dist/field-select-BRibIEnZ.js +0 -2147
  31. package/dist/field-slider-SYOU6bVj.js +0 -2167
  32. package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
@@ -1,4 +1,4 @@
1
- export type { LayerTreeBodyProps, LayerTreeExpandAllProps, LayerTreeNodeProps, LayerTreeNodeToggleProps, LayerTreeProps, LayerTreeRowProps, LayerTreeSearchProps, LayerTreeDataSet, LayerTreeNodeActionProps, LayerTreeFooterProps, } from './layer-tree.types';
1
+ export type { LayerTreeBodyProps, LayerTreeExpandAllProps, LayerTreeNodeProps, LayerTreeNodeToggleProps, LayerTreeProps, LayerTreeRowProps, LayerTreeSearchProps, LayerTreeDataSet, LayerTreeNodeActionProps, LayerTreeFooterProps, LayerTreeSortProps, } from './layer-tree.types';
2
2
  export type { LayerTreeNodeData } from './layer-tree-utils';
3
3
  export { findLayerTreeNode, insertLayerTreeNode, moveLayerTreeNode, moveLayerTreeNodeToRoot, removeLayerTreeNode, } from './layer-tree-utils';
4
4
  export { LayerTree } from './layer-tree';
@@ -9,3 +9,4 @@ export { LayerTreeNodeToggle } from './layer-tree-node-toggle';
9
9
  export { LayerTreeRow } from './layer-tree-row';
10
10
  export { LayerTreeSearch } from './layer-tree-search';
11
11
  export { LayerTreeFooter } from './layer-tree-footer';
12
+ export { LayerTreeSort } from './layer-tree-sort';
@@ -1,2 +1,2 @@
1
1
  import { LayerTreeSearchProps } from './layer-tree.types';
2
- export declare const LayerTreeSearch: ({ className, children, ref, ...props }: LayerTreeSearchProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const LayerTreeSearch: ({ placeholder, className, children, ref, ...props }: LayerTreeSearchProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,2 @@
1
- import { default as React } from 'react';
2
- type LayerTreeSortProps = React.ComponentProps<'button'>;
1
+ import { LayerTreeSortProps } from './layer-tree.types';
3
2
  export declare const LayerTreeSort: <TData>({ className, children, ref, ...props }: LayerTreeSortProps) => import("react/jsx-runtime").JSX.Element;
4
- export {};
@@ -1,3 +1,4 @@
1
+ import { InputGroup } from '../input-group';
1
2
  import { Button } from '../button';
2
3
  import { Row, Table as TanstackTable } from '@tanstack/react-table';
3
4
  export type LayerTreeDataSet<TData> = {
@@ -25,7 +26,10 @@ export type LayerTreeNodeProps<TData> = React.ComponentProps<'button'> & {
25
26
  icon?: React.ElementType;
26
27
  dndDisabled?: boolean;
27
28
  };
28
- export type LayerTreeSearchProps = React.ComponentProps<'input'>;
29
+ export type LayerTreeSearchProps = React.ComponentProps<typeof InputGroup> & {
30
+ placeholder?: string;
31
+ };
29
32
  export type LayerTreeExpandAllProps = React.ComponentProps<'button'>;
30
33
  export type LayerTreeNodeActionProps = React.ComponentProps<'button'>;
31
34
  export type LayerTreeFooterProps = React.ComponentProps<'div'>;
35
+ export type LayerTreeSortProps = React.ComponentProps<'button'>;
@@ -1,2 +1,6 @@
1
1
  export { Profile } from './profile';
2
- export type { ProfileProps } from './profile.types';
2
+ export { ProfileName } from './profile-name';
3
+ export { ProfileSubname } from './profile-subname';
4
+ export { ProfileAction } from './profile-action';
5
+ export { ProfileContent } from './profile-content';
6
+ export type { ProfileProps, ProfileNameProps, ProfileSubnameProps, ProfileActionProps, ProfileContentProps, } from './profile.types';
@@ -0,0 +1,2 @@
1
+ import { ProfileActionProps } from './profile.types';
2
+ export declare const ProfileAction: ({ className, children, ref, ...props }: ProfileActionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ProfileContentProps } from './profile.types';
2
+ export declare const ProfileContent: ({ compact, className, children, ref, ...props }: ProfileContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ProfileNameProps } from './profile.types';
2
+ export declare const ProfileName: ({ className, children, ref, ...props }: ProfileNameProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ProfileSubnameProps } from './profile.types';
2
+ export declare const ProfileSubname: ({ className, children, ref, ...props }: ProfileSubnameProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { ProfileProps } from './profile.types';
2
- export declare const Profile: ({ className, imageUrl, fallbackText, profileName, profileEmail, compact, hideEmail, avatarAlt, avatarSize, showBadge, badgeTone, badgePosition, badgeContent, children, ref, ...props }: ProfileProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Profile: ({ className, children, ref, ...props }: ProfileProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,8 @@
1
- import { AvatarBadgeProps, AvatarProps } from '../avatar';
2
- import { ComponentProps, ReactNode } from 'react';
3
- export type ProfileProps = ComponentProps<'div'> & {
4
- imageUrl?: string;
5
- fallbackText?: string;
6
- profileName: string;
7
- profileEmail?: string;
1
+ import { ComponentProps } from 'react';
2
+ export type ProfileProps = ComponentProps<'div'>;
3
+ export type ProfileContentProps = React.ComponentProps<'div'> & {
8
4
  compact?: boolean;
9
- hideEmail?: boolean;
10
- avatarAlt?: string;
11
- avatarSize?: AvatarProps['size'];
12
- showBadge?: boolean;
13
- badgeTone?: AvatarBadgeProps['tone'];
14
- badgePosition?: AvatarBadgeProps['position'];
15
- badgeContent?: ReactNode;
16
5
  };
6
+ export type ProfileActionProps = React.ComponentProps<'div'>;
7
+ export type ProfileNameProps = React.ComponentProps<'span'>;
8
+ export type ProfileSubnameProps = React.ComponentProps<'span'>;