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.
- package/dist/{Input-DtHcqeCc.js → Input-BkHt7FC1.js} +2 -2
- package/dist/{clamp-DQOKpe2d.js → clamp-Bd-I2_Rk.js} +2 -2
- package/dist/{cn-CXogf8HW.js → cn-DWnOBdrm.js} +349 -307
- package/dist/components/layer-tree/index.d.ts +2 -1
- package/dist/components/layer-tree/layer-tree-search.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-sort.d.ts +1 -3
- package/dist/components/layer-tree/layer-tree.types.d.ts +5 -1
- package/dist/components/profile/index.d.ts +5 -1
- package/dist/components/profile/profile-action.d.ts +2 -0
- package/dist/components/profile/profile-content.d.ts +2 -0
- package/dist/components/profile/profile-name.d.ts +2 -0
- package/dist/components/profile/profile-subname.d.ts +2 -0
- package/dist/components/profile/profile.d.ts +1 -1
- package/dist/components/profile/profile.types.d.ts +6 -14
- package/dist/dawn-ui-react.js +15490 -11107
- package/dist/dawn-ui-react.umd.cjs +26 -26
- package/dist/{field-input-group-DRO7BT9K.js → field-input-group-BwMQAM6n.js} +3 -3
- package/dist/{field-input-group-input-D1w5gEYu.js → field-input-group-input-DnJFuMi4.js} +3 -3
- package/dist/{form-context-DBHjPCAB.js → form-context-om_k3VKa.js} +481 -461
- package/dist/{input-group-CDZSzmGh.js → input-group-CWH7SWRv.js} +2 -2
- package/dist/{input-group-input-DksiPZS5.js → input-group-input-DOxvfiMV.js} +2 -2
- package/dist/{input.types-BToTmX-b.js → input.types-BeeCYL9x.js} +1 -1
- package/dist/styles.css +21 -21
- package/dist/{useLabelableId-Bsez0mIm.js → useLabelableId-B_P81Wgy.js} +1 -1
- package/package.json +22 -22
- package/dist/field-description-BDRJXMS8.js +0 -12
- package/dist/field-errors-BndE4fDS.js +0 -21
- package/dist/field-input-BPNlupYr.js +0 -58
- package/dist/field-label-DiJO_3-h.js +0 -16
- package/dist/field-select-BRibIEnZ.js +0 -2147
- package/dist/field-slider-SYOU6bVj.js +0 -2167
- 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 {
|
|
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<
|
|
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
|
|
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';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ProfileProps } from './profile.types';
|
|
2
|
-
export declare const Profile: ({ className,
|
|
2
|
+
export declare const Profile: ({ className, children, ref, ...props }: ProfileProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export type
|
|
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'>;
|