dasar-ui 2.6.0 → 2.6.2
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/fesm2022/dasar-ui.mjs +16 -8
- package/fesm2022/dasar-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/dasar-ui.d.ts +11 -0
package/package.json
CHANGED
package/types/dasar-ui.d.ts
CHANGED
|
@@ -5001,10 +5001,12 @@ declare function filterTree(items: DasarTreeItem[], matches: (item: DasarTreeIte
|
|
|
5001
5001
|
declare function moveItem(items: DasarTreeItem[], dragKey: DasarTreeKey, targetKey: DasarTreeKey, position: DasarTreeDropPosition): DasarTreeItem[] | null;
|
|
5002
5002
|
export type DasarTreeType = 'file' | 'selectable' | 'multiple' | null;
|
|
5003
5003
|
export type DasarTreeSize = Extract<ScaleAttributeType$1, 'sm' | 'md' | 'lg'>;
|
|
5004
|
+
export type DasarTreeSpacing = 'normal' | 'compact';
|
|
5004
5005
|
export type DasarTreeFilterMethod = (item: DasarTreeItem, query: string) => boolean;
|
|
5005
5006
|
export interface DasarTreeConfig {
|
|
5006
5007
|
type?: DasarTreeType;
|
|
5007
5008
|
size?: DasarTreeSize;
|
|
5009
|
+
spacing?: DasarTreeSpacing;
|
|
5008
5010
|
disabled?: boolean;
|
|
5009
5011
|
label?: string;
|
|
5010
5012
|
hint?: string;
|
|
@@ -5148,6 +5150,7 @@ export declare class DasarTree implements ControlValueAccessor, OnInit, OnChange
|
|
|
5148
5150
|
protected readonly rows: import("@angular/core").Signal<DasarTreeRow[]>;
|
|
5149
5151
|
type: NonNullable<DasarTreeType | undefined> | null;
|
|
5150
5152
|
size: NonNullable<DasarTreeSize | undefined>;
|
|
5153
|
+
spacing: NonNullable<DasarTreeSpacing | undefined>;
|
|
5151
5154
|
label: string;
|
|
5152
5155
|
hint: string;
|
|
5153
5156
|
set disabled(value: boolean);
|
|
@@ -5254,6 +5257,10 @@ export declare class DasarTree implements ControlValueAccessor, OnInit, OnChange
|
|
|
5254
5257
|
"alias": "size";
|
|
5255
5258
|
"required": false;
|
|
5256
5259
|
};
|
|
5260
|
+
"spacing": {
|
|
5261
|
+
"alias": "spacing";
|
|
5262
|
+
"required": false;
|
|
5263
|
+
};
|
|
5257
5264
|
"label": {
|
|
5258
5265
|
"alias": "label";
|
|
5259
5266
|
"required": false;
|
|
@@ -6217,6 +6224,10 @@ export interface DasarThemeTree {
|
|
|
6217
6224
|
rowPaddingX?: string;
|
|
6218
6225
|
indent?: string;
|
|
6219
6226
|
expanderSize?: string;
|
|
6227
|
+
compactIndent?: string;
|
|
6228
|
+
compactExpanderSize?: string;
|
|
6229
|
+
compactRowGap?: string;
|
|
6230
|
+
compactRowPaddingX?: string;
|
|
6220
6231
|
hoverBg?: string;
|
|
6221
6232
|
selectedBg?: string;
|
|
6222
6233
|
selectedColor?: string;
|