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

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 (35) hide show
  1. package/dist/{Input-DtHcqeCc.js → Input-kWMjBJ1G.js} +2 -2
  2. package/dist/{clamp-DQOKpe2d.js → clamp-adUQHSQX.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/popover/index.d.ts +2 -1
  9. package/dist/components/popover/popover-button.d.ts +2 -0
  10. package/dist/components/popover/popover.types.d.ts +2 -0
  11. package/dist/components/profile/index.d.ts +5 -1
  12. package/dist/components/profile/profile-action.d.ts +2 -0
  13. package/dist/components/profile/profile-content.d.ts +2 -0
  14. package/dist/components/profile/profile-name.d.ts +2 -0
  15. package/dist/components/profile/profile-subname.d.ts +2 -0
  16. package/dist/components/profile/profile.d.ts +1 -1
  17. package/dist/components/profile/profile.types.d.ts +6 -14
  18. package/dist/dawn-ui-react.js +15510 -11110
  19. package/dist/dawn-ui-react.umd.cjs +26 -26
  20. package/dist/{field-input-group-input-D1w5gEYu.js → field-input-group-input-CtDhhP9-.js} +3 -3
  21. package/dist/{field-input-group-DRO7BT9K.js → field-input-group-zaT2fZVE.js} +3 -3
  22. package/dist/{form-context-DBHjPCAB.js → form-context-D_CUI37x.js} +481 -461
  23. package/dist/{input-group-CDZSzmGh.js → input-group-B9tCZ-1V.js} +2 -2
  24. package/dist/{input-group-input-DksiPZS5.js → input-group-input-DJJYMhiE.js} +2 -2
  25. package/dist/{input.types-BToTmX-b.js → input.types-Cv68_8o4.js} +1 -1
  26. package/dist/styles.css +21 -21
  27. package/dist/{useLabelableId-Bsez0mIm.js → useLabelableId-Cu8szM6L.js} +1 -1
  28. package/package.json +22 -22
  29. package/dist/field-description-BDRJXMS8.js +0 -12
  30. package/dist/field-errors-BndE4fDS.js +0 -21
  31. package/dist/field-input-BPNlupYr.js +0 -58
  32. package/dist/field-label-DiJO_3-h.js +0 -16
  33. package/dist/field-select-BRibIEnZ.js +0 -2147
  34. package/dist/field-slider-SYOU6bVj.js +0 -2167
  35. 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,9 +1,10 @@
1
1
  export { Popover } from './popover';
2
- export type { PopoverContentProps, PopoverDescriptionProps, PopoverHeaderProps, PopoverPanelProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps, } from './popover.types';
2
+ export type { PopoverContentProps, PopoverDescriptionProps, PopoverHeaderProps, PopoverPanelProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps, PopoverButtonProps, } from './popover.types';
3
3
  export { PopoverDescription } from './popover-description';
4
4
  export { PopoverPanel } from './popover-panel';
5
5
  export { PopoverTitle } from './popover-title';
6
6
  export { PopoverTrigger } from './popover-trigger';
7
7
  export { PopoverHeader } from './popover-header';
8
8
  export { PopoverContent } from './popover-content';
9
+ export { PopoverButton } from './popover-button';
9
10
  export { popoverHandle } from './popover.types';
@@ -0,0 +1,2 @@
1
+ import { PopoverButtonProps } from './popover.types';
2
+ export declare const PopoverButton: ({ variant, tone, className, children, ref, ...props }: PopoverButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { Popover as BasePopover } from '@base-ui/react/popover';
2
+ import { Button } from '..';
2
3
  export type PopoverProps = React.ComponentProps<typeof BasePopover.Root>;
3
4
  export type PopoverTriggerProps = React.ComponentProps<typeof BasePopover.Trigger>;
4
5
  export type PopoverPanelProps = React.ComponentProps<typeof BasePopover.Positioner>;
@@ -6,4 +7,5 @@ export type PopoverTitleProps = React.ComponentProps<typeof BasePopover.Title>;
6
7
  export type PopoverDescriptionProps = React.ComponentProps<typeof BasePopover.Description>;
7
8
  export type PopoverHeaderProps = React.ComponentProps<'div'>;
8
9
  export type PopoverContentProps = React.ComponentProps<'div'>;
10
+ export type PopoverButtonProps = React.ComponentProps<typeof Button>;
9
11
  export declare const popoverHandle: BasePopover.Handle<import('react').ComponentType<{}>>;
@@ -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'>;