@kosdev-code/base-ui-components 0.1.0-dev.5382 → 0.1.0-dev.5596
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/components/atoms/button/index.d.ts +1 -1
- package/components/atoms/button/index.d.ts.map +1 -1
- package/components/atoms/button-group/button-group-item.d.ts +42 -0
- package/components/atoms/button-group/button-group-item.d.ts.map +1 -0
- package/components/atoms/button-group/button-group.d.ts +40 -0
- package/components/atoms/button-group/button-group.d.ts.map +1 -0
- package/components/atoms/button-group/hooks/use-button-group-context.d.ts +8 -0
- package/components/atoms/button-group/hooks/use-button-group-context.d.ts.map +1 -0
- package/components/atoms/button-group/index.d.ts +4 -0
- package/components/atoms/button-group/index.d.ts.map +1 -0
- package/components/atoms/icon/common/types.d.ts +2 -2
- package/components/atoms/icon/common/types.d.ts.map +1 -1
- package/components/atoms/index.d.ts +2 -0
- package/components/atoms/index.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/helpers/get-resize-panel-element.d.ts +6 -1
- package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/helpers/get-resize-panel-element.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.d.ts +6 -2
- package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/common/types.d.ts +6 -0
- package/components/atoms/resizable-panel-group/common/types.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/index.d.ts +1 -0
- package/components/atoms/resizable-panel-group/index.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/resizable-panel-group.d.ts +8 -4
- package/components/atoms/resizable-panel-group/resizable-panel-group.d.ts.map +1 -1
- package/components/molecules/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/components/molecules/form/components/form-input.d.ts.map +1 -1
- package/components/molecules/form/components/form-submit.d.ts.map +1 -1
- package/components/molecules/index.d.ts +2 -0
- package/components/molecules/index.d.ts.map +1 -1
- package/components/molecules/item-selection-list/item-selection-list.d.ts +1 -1
- package/components/molecules/item-selection-list/item-selection-list.d.ts.map +1 -1
- package/components/molecules/list/async-list/async-list-group-header.d.ts +12 -0
- package/components/molecules/list/async-list/async-list-group-header.d.ts.map +1 -0
- package/components/molecules/list/async-list/async-list.d.ts +139 -0
- package/components/molecules/list/async-list/async-list.d.ts.map +1 -0
- package/components/molecules/list/async-list/helpers/is-item-template-factory.d.ts +19 -0
- package/components/molecules/list/async-list/helpers/is-item-template-factory.d.ts.map +1 -0
- package/components/molecules/list/async-list/index.d.ts +9 -0
- package/components/molecules/list/async-list/index.d.ts.map +1 -0
- package/components/molecules/list/async-list/item-action-bar.d.ts +31 -0
- package/components/molecules/list/async-list/item-action-bar.d.ts.map +1 -0
- package/components/molecules/list/async-list/templates/studio-named-list-item.d.ts +41 -0
- package/components/molecules/list/async-list/templates/studio-named-list-item.d.ts.map +1 -0
- package/components/molecules/list/async-list/types.d.ts +286 -0
- package/components/molecules/list/async-list/types.d.ts.map +1 -0
- package/components/molecules/list/common/data-providers/base-async-tree-data-provider.d.ts +117 -56
- package/components/molecules/list/common/data-providers/base-async-tree-data-provider.d.ts.map +1 -1
- package/components/molecules/list/common/types.d.ts +111 -0
- package/components/molecules/list/common/types.d.ts.map +1 -1
- package/components/molecules/list/index.d.ts +1 -0
- package/components/molecules/list/index.d.ts.map +1 -1
- package/components/molecules/list/select-list/select-list.d.ts +1 -0
- package/components/molecules/list/select-list/select-list.d.ts.map +1 -1
- package/components/molecules/list/tree-list/async-tree-list.d.ts +253 -30
- package/components/molecules/list/tree-list/async-tree-list.d.ts.map +1 -1
- package/components/molecules/list/tree-list/helpers/is-item-template-factory.d.ts +19 -0
- package/components/molecules/list/tree-list/helpers/is-item-template-factory.d.ts.map +1 -0
- package/components/molecules/list/tree-list/templates/async-named-collapsible-branch.d.ts.map +1 -1
- package/components/molecules/table/table.d.ts.map +1 -1
- package/components/molecules/table/virtual-table.d.ts.map +1 -1
- package/components/molecules/view/action-bar.d.ts +27 -0
- package/components/molecules/view/action-bar.d.ts.map +1 -0
- package/components/molecules/view/index.d.ts +9 -0
- package/components/molecules/view/index.d.ts.map +1 -0
- package/components/molecules/view/types.d.ts +103 -0
- package/components/molecules/view/types.d.ts.map +1 -0
- package/components/molecules/view/view-header.d.ts +32 -0
- package/components/molecules/view/view-header.d.ts.map +1 -0
- package/components/molecules/view/view.d.ts +60 -0
- package/components/molecules/view/view.d.ts.map +1 -0
- package/components/molecules/view-container/index.d.ts +6 -0
- package/components/molecules/view-container/index.d.ts.map +1 -0
- package/components/molecules/view-container/types.d.ts +28 -0
- package/components/molecules/view-container/types.d.ts.map +1 -0
- package/components/molecules/view-container/view-container.d.ts +52 -0
- package/components/molecules/view-container/view-container.d.ts.map +1 -0
- package/index.cjs +1062 -823
- package/index.cjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +6499 -4613
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/providers/data-providers/create-observable-list-provider.d.ts +116 -0
- package/providers/data-providers/create-observable-list-provider.d.ts.map +1 -0
- package/providers/data-providers/index.d.ts +86 -0
- package/providers/data-providers/index.d.ts.map +1 -0
- package/providers/data-providers/lifecycle-aware-list-provider.d.ts +206 -0
- package/providers/data-providers/lifecycle-aware-list-provider.d.ts.map +1 -0
- package/providers/data-providers/lifecycle-aware-tree-provider.d.ts +187 -0
- package/providers/data-providers/lifecycle-aware-tree-provider.d.ts.map +1 -0
- package/providers/data-providers/types.d.ts +124 -0
- package/providers/data-providers/types.d.ts.map +1 -0
- package/providers/index.d.ts +13 -0
- package/providers/index.d.ts.map +1 -0
- package/styles/tokens/component-tokens/button-group/index.d.ts +18 -0
- package/styles/tokens/component-tokens/button-group/index.d.ts.map +1 -0
- package/styles/tokens/component-tokens/icon/index.d.ts +1 -0
- package/styles/tokens/component-tokens/icon/index.d.ts.map +1 -1
- package/styles/tokens/component-tokens/index.d.ts +80 -0
- package/styles/tokens/component-tokens/index.d.ts.map +1 -1
- package/styles/tokens/component-tokens/notification/index.d.ts +37 -0
- package/styles/tokens/component-tokens/notification/index.d.ts.map +1 -0
- package/styles/tokens/component-tokens/studio-list-item/index.d.ts +13 -0
- package/styles/tokens/component-tokens/studio-list-item/index.d.ts.map +1 -0
- package/styles/tokens/component-tokens/view/index.d.ts +24 -0
- package/styles/tokens/component-tokens/view/index.d.ts.map +1 -0
- package/styles/tokens/component-tokens/view-container/index.d.ts +12 -0
- package/styles/tokens/component-tokens/view-container/index.d.ts.map +1 -0
- package/styles/tokens/index.d.ts +81 -1
- package/styles/tokens/index.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IconIds } from '../icon';
|
|
2
|
+
|
|
3
|
+
export interface ButtonGroupItemProps {
|
|
4
|
+
/**
|
|
5
|
+
* Unique value for this item. Used to determine active state.
|
|
6
|
+
*/
|
|
7
|
+
value: string;
|
|
8
|
+
/**
|
|
9
|
+
* Icon to display.
|
|
10
|
+
*/
|
|
11
|
+
iconId?: IconIds;
|
|
12
|
+
/**
|
|
13
|
+
* Text label (optional, for text buttons).
|
|
14
|
+
*/
|
|
15
|
+
label?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Tooltip text shown on hover.
|
|
18
|
+
*/
|
|
19
|
+
tooltip?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Whether this item is disabled.
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* ButtonGroupItem - An individual button within a ButtonGroup.
|
|
27
|
+
*
|
|
28
|
+
* Displays as an icon button by default, or can include a text label.
|
|
29
|
+
* Active state is managed by the parent ButtonGroup.
|
|
30
|
+
*
|
|
31
|
+
* @example Icon only
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <ButtonGroupItem value="tree" iconId="Partition" tooltip="Tree view" />
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @example With label
|
|
37
|
+
* ```tsx
|
|
38
|
+
* <ButtonGroupItem value="tree" iconId="Partition" label="Tree" />
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare const ButtonGroupItem: import('react').MemoExoticComponent<({ value, iconId, label, tooltip, disabled }: ButtonGroupItemProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
42
|
+
//# sourceMappingURL=button-group-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group-item.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/button-group/button-group-item.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,SAAS,CAAC;AAK7C,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,oFACoB,oBAAoB,sDA+BnE,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ButtonGroupProps {
|
|
4
|
+
/**
|
|
5
|
+
* Controlled value - the currently selected item value.
|
|
6
|
+
*/
|
|
7
|
+
value?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Default value for uncontrolled usage.
|
|
10
|
+
*/
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Callback when the selected value changes.
|
|
14
|
+
*/
|
|
15
|
+
onValueChange?: (value: string) => void;
|
|
16
|
+
/**
|
|
17
|
+
* The button group items.
|
|
18
|
+
*/
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Optional className for styling.
|
|
22
|
+
*/
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* ButtonGroup - A container for toggle-able buttons where only one can be active.
|
|
27
|
+
*
|
|
28
|
+
* Similar to Bootstrap's button group, this component groups buttons together
|
|
29
|
+
* and manages the selected/active state. Use with ButtonGroupItem children.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <ButtonGroup value={viewMode} onValueChange={setViewMode}>
|
|
34
|
+
* <ButtonGroupItem value="tree" iconId="Partition" tooltip="Tree view" />
|
|
35
|
+
* <ButtonGroupItem value="list" iconId="List" tooltip="List view" />
|
|
36
|
+
* </ButtonGroup>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare const ButtonGroup: ({ value, defaultValue, onValueChange, children, className, }: ButtonGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
40
|
+
//# sourceMappingURL=button-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/button-group/button-group.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAS1D,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW,iEAMrB,gBAAgB,qDAiBlB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ButtonGroupContextValue {
|
|
3
|
+
value: string | undefined;
|
|
4
|
+
setValue: (value: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const ButtonGroupContext: import('react').Context<ButtonGroupContextValue | undefined>;
|
|
7
|
+
export declare function useButtonGroupContext(): ButtonGroupContextValue;
|
|
8
|
+
//# sourceMappingURL=use-button-group-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-button-group-context.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/button-group/hooks/use-button-group-context.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,kBAAkB,8DAEnB,CAAC;AAEb,wBAAgB,qBAAqB,IAAI,uBAAuB,CAQ/D"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ButtonGroup, type ButtonGroupProps } from './button-group';
|
|
2
|
+
export { ButtonGroupItem, type ButtonGroupItemProps, } from './button-group-item';
|
|
3
|
+
export { useButtonGroupContext, type ButtonGroupContextValue, } from './hooks/use-button-group-context';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/button-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,KAAK,uBAAuB,GAC7B,MAAM,kCAAkC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HTMLProps } from 'react';
|
|
2
2
|
|
|
3
|
-
export type IconIds = "AccountBook" | "Aim" | "Alert" | "AlignCenter" | "AlignLeft" | "AlignRight" | "Android" | "Apartment" | "Api" | "Apple" | "Appstore" | "AppstoreAdd" | "AreaChart" | "ArrowDown" | "ArrowLeft" | "ArrowLineDown" | "ArrowRight" | "ArrowsAlt" | "ArrowUp" | "Artifact" | "ArtifactBrowser" | "ArtifactBrowserTool" | "ArtifactLocal" | "ArtifactManagerTool" | "ArtifactMarket" | "ArtifactMgmt" | "ArtifactOrg" | "ArtifactStoresTool" | "Audio" | "AudioMuted" | "Audit" | "Backward" | "Bank" | "BarChart" | "Barcode" | "Bars" | "Bell" | "BgColors" | "Block" | "Bold" | "Book" | "BookmarkFilled" | "Bookmark" | "Border" | "BorderBottom" | "BorderHorizontal" | "BorderInner" | "BorderLeft" | "BorderlessTable" | "BorderOuter" | "BorderRight" | "BorderTop" | "BorderVerticle" | "BoxPlot" | "Branches" | "Bug" | "Build" | "Bulb" | "BulbFilled" | "Calculator" | "Calendar" | "Camera" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "CarryOut" | "Check" | "CheckCircle" | "CheckSmall" | "CheckSquare" | "Ci" | "Clear" | "ClockCircle" | "Close" | "CloseCircle" | "CloseSquare" | "Cloud" | "CloudCrossedOut" | "CloudDownload" | "CloudServer" | "CloudSync" | "CloudUpload" | "Cluster" | "Code" | "Codepen" | "Coffee" | "ColumnHeightOutlined" | "ColumnWidthOutlined" | "Comment" | "Compass" | "Compress" | "ConsoleSql" | "Contacts" | "Container" | "Control" | "Copy" | "CopyFilled" | "CopyPlus" | "Copyright" | "CopyrightCircle" | "CreditCard" | "Crown" | "CustomerService" | "Dash" | "Dashboard" | "Database" | "DeleteColumn" | "DeleteOutlined" | "DeleteRow" | "DeliveredProcedure" | "DeploymentUnit" | "Desktop" | "Diagnostics" | "Diff" | "Disconnect" | "Dislike" | "Dollar" | "DollarCircle" | "Dot" | "DotChart" | "DoubleDown" | "DoubleLeft" | "DoubleRight" | "Down" | "DownCircle" | "Download" | "DownSquare" | "Drag" | "Edit" | "Ellipsis" | "Enter" | "Environment" | "Euro" | "EuroCircle" | "Exception" | "Exclamation" | "ExclamationCircle" | "Expand" | "ExpandAlt" | "Experiment" | "Export" | "ExternalLink" | "Eye" | "EyeInvisible" | "Facebook" | "Fall" | "FastBackward" | "FastForward" | "FieldBinary" | "FieldNumber" | "FieldString" | "FieldTime" | "File" | "FileAdd" | "FileDone" | "FileExcel" | "FileExclamation" | "FileImage" | "FileJpg" | "FileMarkdown" | "FilePdf" | "FilePpt" | "FileProtect" | "FileSearch" | "FileSync" | "FileText" | "FileUnknown" | "FileWord" | "FileZip" | "Filter" | "Fire" | "Flag" | "Fold" | "Folder" | "FolderAdd" | "FolderOpen" | "FolderView" | "FontColors" | "FontSize" | "Fork" | "Form" | "FormatPainter" | "Forward" | "Frown" | "Fullscreen" | "FullscreenExit" | "Function" | "Fund" | "FundProjectionScreen" | "FundView" | "FunnelPlotOutlined" | "FutureTracerEventEnd" | "FutureTracerEventEndFilled" | "FutureTracerEventStart" | "FutureTracerEventStartFilled" | "FutureTracerTool" | "Gateway" | "Gif" | "Gift" | "Github" | "Global" | "Gold" | "Group" | "HardwareProfileManagement" | "Hdd" | "Heart" | "HeatMap" | "Highlight" | "History" | "Home" | "HomeFilled" | "Hourglass" | "Idcard" | "Import" | "Inbox" | "Info" | "InfoCircle" | "Inherited" | "InsertRowAbove" | "InsertRowBelow" | "InsertRowLeft" | "InsertRowRight" | "Instagram" | "Insurance" | "Interaction" | "IssuesClose" | "Italic" | "KabViewer" | "Key" | "KeySet" | "NodeDiscovery" | "Laptop" | "Layer" | "Layout" | "Left" | "LeftCircle" | "LeftSquare" | "Like" | "Line" | "LineChart" | "LineHeight" | "Link" | "Linkedin" | "Loading" | "Loading3Quarters" | "Lock" | "Login" | "LogoLight" | "Logout" | "MacCommand" | "Mail" | "Man" | "MedicineBox" | "Meh" | "MergeCells" | "Minus" | "MinusCircle" | "MinusSquare" | "Mobile" | "MoneyCollect" | "Monitor" | "More" | "NodeCollapse" | "NodeExpand" | "NodeIndex" | "Notification" | "Number" | "OneToOne" | "OrderedList" | "PaperClip" | "Partition" | "Pause" | "PauseCircle" | "PayCircle" | "Percentage" | "Phone" | "PicCenter" | "PicLeft" | "PicRight" | "Picture" | "PieChart" | "PinFilled" | "PinOutline" | "PlayCircle" | "PlaySquare" | "Plus" | "PlusCircle" | "PlusSquare" | "Pound" | "PoundCircle" | "Poweroff" | "Printer" | "Profile" | "Project" | "PropertySafety" | "PullRequest" | "Pushpin" | "Qrcode" | "Question" | "QuestionCircle" | "RadarChart" | "RadiusBottomleft" | "RadiusBottomright" | "RadiusSettingOutlined" | "RadiusUpleft" | "RadiusUpright" | "Read" | "Reconciliation" | "RedEnvelope" | "Redo" | "Reload" | "Rest" | "Retweet" | "Right" | "RightCircle" | "RightSquare" | "RightSquareFilled" | "Rise" | "Robot" | "Rocket" | "Rollback" | "RotateLeft" | "RotateRight" | "Safety" | "SafetyCertificate" | "Save" | "Scan" | "Schedule" | "Scissor" | "Search" | "SecurityScan" | "Select" | "Send" | "Setting" | "Shake" | "ShareAlt" | "Shop" | "Shopping" | "ShoppingCart" | "Shrink" | "Sisternode" | "Skin" | "SlackSquare" | "SlidersOutlined" | "SmallDash" | "Smile" | "Snippets" | "Solution" | "Sort" | "SortAscending" | "SortDescending" | "Sound" | "SplitCells" | "Star" | "StarFilled" | "StepBackward" | "StepForward" | "Stock" | "Stop" | "StoreMgmt" | "Strikethrough" | "Subnode" | "Swap" | "SwapLeft" | "SwapRight" | "Switcher" | "Sync" | "Table" | "Tablet" | "Tag" | "Tags" | "Team" | "TeamShortcut" | "TeamShortcutsTool" | "Thunderbolt" | "Tool" | "TopBadge" | "ToTop" | "Trademark" | "Transaction" | "Translation" | "Trophy" | "Twitter" | "Underline" | "Undo" | "Unfold" | "Shrink" | "Ungroup" | "Unlock" | "UnorderedList" | "Up" | "UpCircle" | "Upload" | "UpSquare" | "Usb" | "User" | "UserAdd" | "UserDelete" | "UsergroupAdd" | "UsergroupDelete" | "UserSwitch" | "VerticalAlignBottom" | "VerticalAlignMiddle" | "VerticalAlignTop" | "VerticalLeft" | "VerticalRight" | "Wallet" | "Warning" | "WebsocketMonitorTool" | "Wifi" | "Windows" | "Youtube" | "ZoomIn" | "IngredientAssignment" | "BeverageAvailabilityGraph" | "LogViewer" | "ConfigurationEditor" | "ManifestViewer" | "AccountSettings" | "ProjectsManagement" | "ReleaseTemplates" | "SSHKeys" | "UserManagement" | "APIKeys" | "APIBrowser" | "PerfMonitor" | "AuthenticateArtifactStores" | "MarketplaceTool" | "Messages" | "MyImagesTool" | "Releases" | "ZoomOut" | "BringToFront";
|
|
3
|
+
export type IconIds = "AccountBook" | "Aim" | "Alert" | "AlignCenter" | "AlignLeft" | "AlignRight" | "Android" | "Apartment" | "Api" | "Apple" | "Appstore" | "AppstoreAdd" | "AreaChart" | "ArrowDown" | "ArrowLeft" | "ArrowLineDown" | "ArrowRight" | "ArrowsAlt" | "ArrowUp" | "Artifact" | "ArtifactBrowser" | "ArtifactBrowserTool" | "ArtifactLocal" | "ArtifactManagerTool" | "ArtifactMarket" | "ArtifactMgmt" | "ArtifactOrg" | "ArtifactStoresTool" | "Audio" | "AudioMuted" | "Audit" | "Backward" | "Bank" | "BarChart" | "Barcode" | "Bars" | "Bell" | "BgColors" | "Block" | "Bold" | "Book" | "BookmarkFilled" | "Bookmark" | "Border" | "BorderBottom" | "BorderHorizontal" | "BorderInner" | "BorderLeft" | "BorderlessTable" | "BorderOuter" | "BorderRight" | "BorderTop" | "BorderVerticle" | "BoxPlot" | "Branches" | "Bug" | "Build" | "Bulb" | "BulbFilled" | "Calculator" | "Calendar" | "Camera" | "CaretDown" | "CaretLeft" | "CaretRight" | "CaretUp" | "CarryOut" | "Check" | "CheckCircle" | "CheckSmall" | "CheckSquare" | "Ci" | "Clear" | "ClockCircle" | "Close" | "CloseCircle" | "CloseSquare" | "Cloud" | "CloudCrossedOut" | "CloudDownload" | "CloudServer" | "CloudSync" | "CloudUpload" | "Cluster" | "Code" | "Codepen" | "Coffee" | "ColumnHeightOutlined" | "ColumnWidthOutlined" | "Comment" | "Compass" | "Compress" | "ConsoleSql" | "Contacts" | "Container" | "Control" | "Copy" | "CopyFilled" | "CopyPlus" | "Copyright" | "CopyrightCircle" | "CreditCard" | "Crown" | "CustomerService" | "Dash" | "Dashboard" | "Database" | "DeleteColumn" | "DeleteOutlined" | "DeleteRow" | "DeliveredProcedure" | "DeploymentUnit" | "Desktop" | "Diagnostics" | "Diff" | "Disconnect" | "Dislike" | "Dollar" | "DollarCircle" | "Dot" | "DotChart" | "DoubleDown" | "DoubleLeft" | "DoubleRight" | "Down" | "DownCircle" | "Download" | "DownSquare" | "Drag" | "Edit" | "Ellipsis" | "Enter" | "Environment" | "Euro" | "EuroCircle" | "Exception" | "Exclamation" | "ExclamationCircle" | "Expand" | "ExpandAlt" | "Experiment" | "Export" | "ExternalLink" | "Eye" | "EyeInvisible" | "Facebook" | "Fall" | "FastBackward" | "FastForward" | "FieldBinary" | "FieldNumber" | "FieldString" | "FieldTime" | "File" | "FileAdd" | "FileDone" | "FileExcel" | "FileExclamation" | "FileImage" | "FileJpg" | "FileMarkdown" | "FilePdf" | "FilePpt" | "FileProtect" | "FileSearch" | "FileSync" | "FileText" | "FileUnknown" | "FileWord" | "FileZip" | "Filter" | "Fire" | "Flag" | "Fold" | "Folder" | "FolderAdd" | "FolderOpen" | "FolderView" | "FontColors" | "FontSize" | "Fork" | "Form" | "FormatPainter" | "Forward" | "Frown" | "Fullscreen" | "FullscreenExit" | "Function" | "Fund" | "FundProjectionScreen" | "FundView" | "FunnelPlotOutlined" | "FutureTracerEventEnd" | "FutureTracerEventEndFilled" | "FutureTracerEventStart" | "FutureTracerEventStartFilled" | "FutureTracerTool" | "Gateway" | "Gif" | "Gift" | "Github" | "Global" | "Gold" | "Group" | "HardwareProfileManagement" | "Hdd" | "Heart" | "HeatMap" | "Highlight" | "History" | "Home" | "HomeFilled" | "Hourglass" | "Idcard" | "Import" | "Inbox" | "Info" | "InfoCircle" | "Inherited" | "InsertRowAbove" | "InsertRowBelow" | "InsertRowLeft" | "InsertRowRight" | "Instagram" | "Insurance" | "Interaction" | "IssuesClose" | "Italic" | "KabViewer" | "Key" | "KeySet" | "NodeDiscovery" | "Laptop" | "Layer" | "Layout" | "Left" | "LeftCircle" | "LeftSquare" | "Like" | "Line" | "LineChart" | "LineHeight" | "Link" | "Linkedin" | "Loading" | "Loading3Quarters" | "Lock" | "Login" | "LogoLight" | "Logout" | "MacCommand" | "Mail" | "Man" | "MedicineBox" | "Meh" | "MergeCells" | "Minus" | "MinusCircle" | "MinusSquare" | "Mobile" | "MoneyCollect" | "Monitor" | "More" | "NodeCollapse" | "NodeExpand" | "NodeIndex" | "Notification" | "Number" | "OneToOne" | "OrderedList" | "PanelLeftFilled" | "PanelRightFilled" | "PanelBottomFilled" | "PanelRightOutlined" | "PanelBottomOutlined" | "PanelLeftOutlined" | "PaperClip" | "Partition" | "Pause" | "PauseCircle" | "PayCircle" | "Percentage" | "Phone" | "PicCenter" | "PicLeft" | "PicRight" | "Picture" | "PieChart" | "PinFilled" | "PinOutline" | "PlayCircle" | "PlaySquare" | "Plus" | "PlusCircle" | "PlusSquare" | "Pound" | "PoundCircle" | "Poweroff" | "Printer" | "Profile" | "Project" | "PropertySafety" | "PullRequest" | "Pushpin" | "Qrcode" | "Question" | "QuestionCircle" | "RadarChart" | "RadiusBottomleft" | "RadiusBottomright" | "RadiusSettingOutlined" | "RadiusUpleft" | "RadiusUpright" | "Read" | "Reconciliation" | "RedEnvelope" | "Redo" | "Reload" | "Rest" | "Retweet" | "Right" | "RightCircle" | "RightSquare" | "RightSquareFilled" | "Rise" | "Robot" | "Rocket" | "Rollback" | "RotateLeft" | "RotateRight" | "Safety" | "SafetyCertificate" | "Save" | "Scan" | "Schedule" | "Scissor" | "Search" | "SecurityScan" | "Select" | "Send" | "Setting" | "Shake" | "ShareAlt" | "Shop" | "Shopping" | "ShoppingCart" | "Shrink" | "Sisternode" | "Skin" | "SlackSquare" | "SlidersOutlined" | "SmallDash" | "Smile" | "Snippets" | "Solution" | "Sort" | "SortAscending" | "SortDescending" | "Sound" | "SplitCells" | "Star" | "StarFilled" | "StepBackward" | "StepForward" | "Stock" | "Stop" | "StoreMgmt" | "Strikethrough" | "Subnode" | "Swap" | "SwapLeft" | "SwapRight" | "Switcher" | "Sync" | "Table" | "Tablet" | "Tag" | "Tags" | "Team" | "TeamShortcut" | "TeamShortcutsTool" | "Thunderbolt" | "Tool" | "TopBadge" | "ToTop" | "Trademark" | "Transaction" | "Translation" | "Trophy" | "Twitter" | "Underline" | "Undo" | "Unfold" | "Shrink" | "Ungroup" | "Unlock" | "UnorderedList" | "Up" | "UpCircle" | "Upload" | "UpSquare" | "Usb" | "User" | "UserAdd" | "UserDelete" | "UsergroupAdd" | "UsergroupDelete" | "UserSwitch" | "VerticalAlignBottom" | "VerticalAlignMiddle" | "VerticalAlignTop" | "VerticalLeft" | "VerticalRight" | "Wallet" | "Warning" | "WebsocketMonitorTool" | "Wifi" | "Windows" | "Youtube" | "ZoomIn" | "IngredientAssignment" | "BeverageAvailabilityGraph" | "LogViewer" | "ConfigurationEditor" | "ManifestViewer" | "AccountSettings" | "ProjectsManagement" | "ReleaseTemplates" | "SSHKeys" | "UserManagement" | "APIKeys" | "APIBrowser" | "PerfMonitor" | "AuthenticateArtifactStores" | "MarketplaceTool" | "Messages" | "MyImagesTool" | "Releases" | "ZoomOut" | "BringToFront";
|
|
4
4
|
export declare const iconColors: readonly ["black", "blue", "green", "grey", "orange", "purple", "red", "white", "yellow"];
|
|
5
5
|
export type IconColors = (typeof iconColors)[number];
|
|
6
|
-
export declare const iconSizes: readonly ["xxsm", "xsm", "sm", "med", "lrg", "xlrg", "xxlrg"];
|
|
6
|
+
export declare const iconSizes: readonly ["xxsm", "xsm", "sm", "med", "lrg", "xlrg", "xxlrg", "xxxlrg"];
|
|
7
7
|
export type IconSizes = (typeof iconSizes)[number];
|
|
8
8
|
export interface IconProps extends Omit<HTMLProps<SVGSVGElement>, "as" | "size"> {
|
|
9
9
|
iconId: IconIds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/icon/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,OAAO,GACf,aAAa,GACb,KAAK,GACL,OAAO,GACP,aAAa,GACb,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,KAAK,GACL,OAAO,GACP,UAAU,GACV,aAAa,GACb,WAAW,GACX,WAAW,GACX,WAAW,GACX,eAAe,GACf,YAAY,GACZ,WAAW,GACX,SAAS,GACT,UAAU,GACV,iBAAiB,GACjB,qBAAqB,GACrB,eAAe,GACf,qBAAqB,GACrB,gBAAgB,G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OAAO,GACP,UAAU,GACV,UAAU,GACV,MAAM,GACN,eAAe,GACf,gBAAgB,GAChB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,cAAc,GACd,aAAa,GACb,OAAO,GACP,MAAM,GACN,WAAW,GACX,eAAe,GACf,SAAS,GACT,MAAM,GACN,UAAU,GACV,WAAW,GACX,UAAU,GACV,MAAM,GACN,OAAO,GACP,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,cAAc,GACd,mBAAmB,GACnB,aAAa,GACb,MAAM,GACN,UAAU,GACV,OAAO,GACP,WAAW,GACX,aAAa,GACb,aAAa,GACb,QAAQ,GACR,SAAS,GACT,WAAW,GACX,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,eAAe,GACf,IAAI,GACJ,UAAU,GACV,QAAQ,GACR,UAAU,GACV,KAAK,GACL,MAAM,GACN,SAAS,GACT,YAAY,GACZ,cAAc,GACd,iBAAiB,GACjB,YAAY,GACZ,qBAAqB,GACrB,qBAAqB,GACrB,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,QAAQ,GACR,SAAS,GACT,sBAAsB,GACtB,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,sBAAsB,GACtB,2BAA2B,GAC3B,WAAW,GACX,qBAAqB,GACrB,gBAAgB,GAChB,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,SAAS,GACT,gBAAgB,GAChB,SAAS,GACT,YAAY,GACZ,aAAa,GACb,4BAA4B,GAC5B,iBAAiB,GACjB,UAAU,GACV,cAAc,GACd,UAAU,GACV,SAAS,GACT,cAAc,CAAC;AAEnB,eAAO,MAAM,UAAU,2FAUb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/icon/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,OAAO,GACf,aAAa,GACb,KAAK,GACL,OAAO,GACP,aAAa,GACb,WAAW,GACX,YAAY,GACZ,SAAS,GACT,WAAW,GACX,KAAK,GACL,OAAO,GACP,UAAU,GACV,aAAa,GACb,WAAW,GACX,WAAW,GACX,WAAW,GACX,eAAe,GACf,YAAY,GACZ,WAAW,GACX,SAAS,GACT,UAAU,GACV,iBAAiB,GACjB,qBAAqB,GACrB,eAAe,GACf,qBAAqB,GACrB,gBAAgB,GAChB,cAAc,GACd,aAAa,GACb,oBAAoB,GACpB,OAAO,GACP,YAAY,GACZ,OAAO,GACP,UAAU,GACV,MAAM,GACN,UAAU,GACV,SAAS,GACT,MAAM,GACN,MAAM,GACN,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,gBAAgB,GAChB,UAAU,GACV,QAAQ,GACR,cAAc,GACd,kBAAkB,GAClB,aAAa,GACb,YAAY,GACZ,iBAAiB,GACjB,aAAa,GACb,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,SAAS,GACT,UAAU,GACV,KAAK,GACL,OAAO,GACP,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,QAAQ,GACR,WAAW,GACX,WAAW,GACX,YAAY,GACZ,SAAS,GACT,UAAU,GACV,OAAO,GACP,aAAa,GACb,YAAY,GACZ,aAAa,GACb,IAAI,GACJ,OAAO,GACP,aAAa,GACb,OAAO,GACP,aAAa,GACb,aAAa,GACb,OAAO,GACP,iBAAiB,GACjB,eAAe,GACf,aAAa,GACb,WAAW,GACX,aAAa,GACb,SAAS,GACT,MAAM,GACN,SAAS,GACT,QAAQ,GACR,sBAAsB,GACtB,qBAAqB,GACrB,SAAS,GACT,SAAS,GACT,UAAU,GACV,YAAY,GACZ,UAAU,GACV,WAAW,GACX,SAAS,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B,GACtB,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,sBAAsB,GACtB,2BAA2B,GAC3B,WAAW,GACX,qBAAqB,GACrB,gBAAgB,GAChB,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,SAAS,GACT,gBAAgB,GAChB,SAAS,GACT,YAAY,GACZ,aAAa,GACb,4BAA4B,GAC5B,iBAAiB,GACjB,UAAU,GACV,cAAc,GACd,UAAU,GACV,SAAS,GACT,cAAc,CAAC;AAEnB,eAAO,MAAM,UAAU,2FAUb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAErD,eAAO,MAAM,SAAS,yEASZ,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACrD,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './animate-presence';
|
|
2
2
|
export * from './alternating-status';
|
|
3
3
|
export * from './button';
|
|
4
|
+
export * from './button-group';
|
|
4
5
|
export * from './checkbox';
|
|
5
6
|
export * from './collapsible';
|
|
6
7
|
export * from './copyable-text';
|
|
@@ -16,6 +17,7 @@ export * from './label';
|
|
|
16
17
|
export * from './link';
|
|
17
18
|
export * from './middle-truncate-text';
|
|
18
19
|
export * from './pane-splitter';
|
|
20
|
+
export * from './radio-button';
|
|
19
21
|
export * from './resizable-panel-group';
|
|
20
22
|
export * from './screen-overlay';
|
|
21
23
|
export * from './select';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,YAAY,CAAC"}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ResizePanelResult = {
|
|
2
|
+
element: HTMLDivElement;
|
|
3
|
+
/** Position of the panel relative to the handle */
|
|
4
|
+
panelPosition: "left" | "right";
|
|
5
|
+
} | null;
|
|
6
|
+
export declare const getResizePanelElement: (id: string, groupId: string, scope?: ParentNode | HTMLElement) => ResizePanelResult;
|
|
2
7
|
//# sourceMappingURL=get-resize-panel-element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resize-panel-element.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/helpers/get-resize-panel-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-resize-panel-element.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/helpers/get-resize-panel-element.ts"],"names":[],"mappings":"AAeA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,cAAc,CAAC;IACxB,mDAAmD;IACnD,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC,GAAG,IAAI,CAAC;AAET,eAAO,MAAM,qBAAqB,OAC5B,MAAM,WACD,MAAM,UACR,UAAU,GAAG,WAAW,KAC9B,iBA+BF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Direction, ResizeEvent, ResizeHandler } from '../../types';
|
|
1
|
+
import { Direction, ResizeEndCallback, ResizeEvent, ResizeHandler } from '../../types';
|
|
2
2
|
import { MutableRefObject, ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
interface ResizablePanelGroupContextValues {
|
|
@@ -12,8 +12,12 @@ interface ResizablePanelGroupContextValues {
|
|
|
12
12
|
interface ResizablePanelGroupContextProviderProps {
|
|
13
13
|
children: (ref: MutableRefObject<HTMLDivElement | null>, id: string) => ReactNode;
|
|
14
14
|
direction: Direction;
|
|
15
|
+
/**
|
|
16
|
+
* Callback fired when a panel resize operation ends.
|
|
17
|
+
*/
|
|
18
|
+
onResizeEnd?: ResizeEndCallback;
|
|
15
19
|
}
|
|
16
|
-
export declare const ResizablePanelGroupContextProvider: ({ children, direction, }: ResizablePanelGroupContextProviderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const ResizablePanelGroupContextProvider: ({ children, direction, onResizeEnd, }: ResizablePanelGroupContextProviderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
21
|
export declare const useResizablePanelGroupContext: () => ResizablePanelGroupContextValues;
|
|
18
22
|
export {};
|
|
19
23
|
//# sourceMappingURL=use-resizable-panel-group-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-resizable-panel-group-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.tsx"],"names":[],"mappings":"AAEA,OAAO,EAUL,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"use-resizable-panel-group-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.tsx"],"names":[],"mappings":"AAEA,OAAO,EAUL,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,SAAS,EAET,iBAAiB,EACjB,WAAW,EACX,aAAa,EACd,MAAM,aAAa,CAAC;AA0IrB,UAAU,gCAAgC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAClE,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,mBAAmB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,SAAS,EAAE,SAAS,CAAC;IACrB,oBAAoB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,aAAa,CAAC;CAC/D;AAKD,UAAU,uCAAuC;IAC/C,QAAQ,EAAE,CACR,GAAG,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,EAC5C,EAAE,EAAE,MAAM,KACP,SAAS,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAED,eAAO,MAAM,kCAAkC,0CAI5C,uCAAuC,qDA0OzC,CAAC;AAEF,eAAO,MAAM,6BAA6B,wCAUzC,CAAC"}
|
|
@@ -6,4 +6,10 @@ export interface DragState {
|
|
|
6
6
|
initialCursorPosition: number;
|
|
7
7
|
}
|
|
8
8
|
export type ResizeHandler = (event: ResizeEvent) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Callback fired when a panel resize operation ends.
|
|
11
|
+
* @param panelId - The ID of the panel that was resized
|
|
12
|
+
* @param size - The new size in pixels
|
|
13
|
+
*/
|
|
14
|
+
export type ResizeEndCallback = (panelId: string, size: number) => void;
|
|
9
15
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/common/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,CAAC;AACpE,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AAElD,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/common/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,CAAC;AACpE,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AAElD,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAEzD;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kDAAkD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kDAAkD,CAAC;AACjE,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { Direction } from './common/types';
|
|
1
|
+
import { Direction, ResizeEndCallback } from './common/types';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
interface ResizablePanelGroupProps {
|
|
4
|
+
export interface ResizablePanelGroupProps {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
direction: Direction;
|
|
7
7
|
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Callback fired when a panel resize operation ends.
|
|
10
|
+
* Provides the panelId and the new size in pixels.
|
|
11
|
+
*/
|
|
12
|
+
onResizeEnd?: ResizeEndCallback;
|
|
8
13
|
}
|
|
9
|
-
export declare const ResizablePanelGroup: ({ children, direction, className, }: ResizablePanelGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
14
|
+
export declare const ResizablePanelGroup: ({ children, direction, className, onResizeEnd, }: ResizablePanelGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
15
|
//# sourceMappingURL=resizable-panel-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable-panel-group.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/resizable-panel-group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resizable-panel-group.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/atoms/resizable-panel-group/resizable-panel-group.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAED,eAAO,MAAM,mBAAmB,qDAK7B,wBAAwB,qDAgB1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/C,UAAU,iBAAiB;IACzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAYvE,CAAC;AAEF,eAAO,MAAM,kBAAkB;;
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/C,UAAU,iBAAiB;IACzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAYvE,CAAC;AAEF,eAAO,MAAM,kBAAkB;;UAM9B,CAAC;AAOF,eAAO,MAAM,eAAe;;;yGAI3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-input.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-input.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"form-input.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-input.tsx"],"names":[],"mappings":";AAIA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAKxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,MAAM,cAAc,CACxB,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IACnC,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC1B,IAAI,CACF,UAAU,EACR,MAAM,GACN,WAAW,GACX,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,iBAAiB,GACjB,cAAc,GACd,WAAW,CACd,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAuF7C,eAAO,MAAM,SAAS;;;iFAAoC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-submit.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-submit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,UAAU,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,CAC3D,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9C,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;
|
|
1
|
+
{"version":3,"file":"form-submit.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-submit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,UAAU,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,CAC3D,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9C,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAsCD,eAAO,MAAM,UAAU,kJAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC"}
|
|
@@ -9,7 +9,7 @@ export interface ItemSelectionListProps extends SelectListProps, Omit<ListProps<
|
|
|
9
9
|
onSelectAll?: (action: "select" | "deselect") => void;
|
|
10
10
|
t?: TranslationFunction;
|
|
11
11
|
}
|
|
12
|
-
export declare const ItemSelectionList: (({ defaultShowSelected, disabled, title, selected, onSelect, emptyMessage, dataProvider, onSelectAll, t, }: ItemSelectionListProps) => import("@emotion/react/jsx-runtime").JSX.Element) & {
|
|
12
|
+
export declare const ItemSelectionList: (({ defaultShowSelected, disabled, title, selected, onSelect, emptyMessage, dataProvider, className, onSelectAll, t, }: ItemSelectionListProps) => import("@emotion/react/jsx-runtime").JSX.Element) & {
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=item-selection-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-selection-list.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/item-selection-list/item-selection-list.tsx"],"names":[],"mappings":"AAKA,OAAO,EAML,KAAK,gBAAgB,EACrB,KAAK,SAAS,EAEd,KAAK,eAAe,EACrB,MAAM,SAAS,CAAC;AAGjB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAW9D,MAAM,WAAW,sBACf,SAAQ,eAAe,EACrB,IAAI,CACF,SAAS,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,EACzE,cAAc,GAAG,YAAY,CAC9B;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,UAAU,KAAK,IAAI,CAAC;IACtD,CAAC,CAAC,EAAE,mBAAmB,CAAC;CACzB;AAED,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"item-selection-list.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/item-selection-list/item-selection-list.tsx"],"names":[],"mappings":"AAKA,OAAO,EAML,KAAK,gBAAgB,EACrB,KAAK,SAAS,EAEd,KAAK,eAAe,EACrB,MAAM,SAAS,CAAC;AAGjB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAW9D,MAAM,WAAW,sBACf,SAAQ,eAAe,EACrB,IAAI,CACF,SAAS,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,EACzE,cAAc,GAAG,YAAY,CAC9B;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,UAAU,KAAK,IAAI,CAAC;IACtD,CAAC,CAAC,EAAE,mBAAmB,CAAC;CACzB;AAED,eAAO,MAAM,iBAAiB,0HAYzB,sBAAsB;;CA+G1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface AsyncListGroupHeaderProps {
|
|
4
|
+
/** The group display name */
|
|
5
|
+
groupName: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Non-collapsible group header for AsyncList grouping.
|
|
9
|
+
* Renders a simple label to visually separate groups of items.
|
|
10
|
+
*/
|
|
11
|
+
export declare const AsyncListGroupHeader: FunctionComponent<AsyncListGroupHeaderProps>;
|
|
12
|
+
//# sourceMappingURL=async-list-group-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"async-list-group-header.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/list/async-list/async-list-group-header.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,MAAM,WAAW,yBAAyB;IACxC,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAClD,yBAAyB,CAO1B,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { AsyncListDataProvider, AsyncListItemTemplateProps, AsyncListItemTemplateType, ItemActionConfig, ItemContentRenderer, ItemDecoratorConfig, ItemGroupExpression, ItemIconMap } from './types';
|
|
2
|
+
import { ListItem } from '../common/types';
|
|
3
|
+
import { ReactElement } from 'react';
|
|
4
|
+
|
|
5
|
+
export type { AsyncListItemTemplateProps };
|
|
6
|
+
/**
|
|
7
|
+
* Props for AsyncList component.
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
* @typeParam I - Raw input item type from the data source
|
|
11
|
+
* @typeParam T - Transformed ListItem type for display
|
|
12
|
+
*/
|
|
13
|
+
export interface AsyncListProps<I extends Record<string, any>, T extends ListItem = ListItem> {
|
|
14
|
+
/** Async list data provider */
|
|
15
|
+
dataProvider: AsyncListDataProvider<I, T> | null;
|
|
16
|
+
/**
|
|
17
|
+
* Template for rendering list items.
|
|
18
|
+
* Can be a static component or a factory that returns different components based on item data.
|
|
19
|
+
*
|
|
20
|
+
* @example Static component
|
|
21
|
+
* ```tsx
|
|
22
|
+
* ItemTemplate={StudioNamedListItem}
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @example Factory for dynamic template selection
|
|
26
|
+
* ```tsx
|
|
27
|
+
* ItemTemplate={{
|
|
28
|
+
* build: (item) => item.type === 'folder' ? FolderTemplate : FileTemplate
|
|
29
|
+
* }}
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
ItemTemplate: AsyncListItemTemplateType<T>;
|
|
33
|
+
/** Icon resolver for list items - static map or function */
|
|
34
|
+
itemIconMap?: ItemIconMap<T>;
|
|
35
|
+
/** Action button configurations */
|
|
36
|
+
itemActions?: ItemActionConfig<I, T>[];
|
|
37
|
+
/** Decorator configurations - presentation icons without actions */
|
|
38
|
+
itemDecorators?: ItemDecoratorConfig<T>[];
|
|
39
|
+
/** Custom content renderer - when provided, replaces default name/subText rendering */
|
|
40
|
+
itemContentRenderer?: ItemContentRenderer<T>;
|
|
41
|
+
/** Callback for list item actions */
|
|
42
|
+
onListItemAction?: (itemId: string, actionId: string) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Empty state - rendered when no items and not loading.
|
|
45
|
+
* Can be a React element or a factory function that receives the data provider.
|
|
46
|
+
*/
|
|
47
|
+
emptyState?: ReactElement | ((provider: AsyncListDataProvider<I, T>) => ReactElement);
|
|
48
|
+
/**
|
|
49
|
+
* Loading state - rendered while data is being fetched.
|
|
50
|
+
* Can be a React element or a factory function that receives the data provider.
|
|
51
|
+
*/
|
|
52
|
+
loadingState?: ReactElement | ((provider: AsyncListDataProvider<I, T>) => ReactElement);
|
|
53
|
+
/** CSS class name */
|
|
54
|
+
className?: string;
|
|
55
|
+
/** Callback when provider is initialized */
|
|
56
|
+
onInit?: () => void;
|
|
57
|
+
/**
|
|
58
|
+
* When true, disables the default selection styling (blue background, white text)
|
|
59
|
+
* on list items. Selection state is still tracked and passed to content renderers,
|
|
60
|
+
* allowing custom selection rendering via itemContentRenderer.
|
|
61
|
+
*
|
|
62
|
+
* @default false
|
|
63
|
+
*/
|
|
64
|
+
disableSelectionStyling?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Expression to group items under non-collapsible headers.
|
|
67
|
+
* When provided, items are organized into groups based on the return value.
|
|
68
|
+
*
|
|
69
|
+
* - Items where groupExpression returns undefined appear at the top (ungrouped)
|
|
70
|
+
* - Groups are sorted alphabetically by group name
|
|
71
|
+
* - Within each group, items maintain their existing order
|
|
72
|
+
*
|
|
73
|
+
* @example Group by category
|
|
74
|
+
* ```tsx
|
|
75
|
+
* <AsyncList
|
|
76
|
+
* groupExpression={(item) => item.category}
|
|
77
|
+
* ...
|
|
78
|
+
* />
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
groupExpression?: ItemGroupExpression<T>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Async list component with lazy loading support.
|
|
85
|
+
*
|
|
86
|
+
* Features:
|
|
87
|
+
* - Observable-based automatic UI updates
|
|
88
|
+
* - External decoration registration (icons, actions, decorators)
|
|
89
|
+
* - Fine-grained reactivity (only affected items recompute)
|
|
90
|
+
* - Extensible for pagination/cursor-based loading
|
|
91
|
+
* - Matches AsyncTreeList registration pattern
|
|
92
|
+
* - Supports custom content via children prop
|
|
93
|
+
*
|
|
94
|
+
* @category Components
|
|
95
|
+
* @typeParam I - Raw input item type from the data source
|
|
96
|
+
* @typeParam T - Transformed ListItem type for display
|
|
97
|
+
*
|
|
98
|
+
* @example Simple mode - name and subText
|
|
99
|
+
* ```tsx
|
|
100
|
+
* <AsyncList
|
|
101
|
+
* dataProvider={myAsyncListProvider}
|
|
102
|
+
* ItemTemplate={StudioNamedListItem}
|
|
103
|
+
* itemIconMap={(item) => ({ iconId: 'Project', color: 'blue' })}
|
|
104
|
+
* itemActions={[
|
|
105
|
+
* {
|
|
106
|
+
* id: 'delete',
|
|
107
|
+
* iconId: 'DeleteOutlined',
|
|
108
|
+
* onClick: (id, item) => handleDelete(id),
|
|
109
|
+
* }
|
|
110
|
+
* ]}
|
|
111
|
+
* />
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* @example Custom content mode with content renderer
|
|
115
|
+
* ```tsx
|
|
116
|
+
* <AsyncList
|
|
117
|
+
* dataProvider={myAsyncListProvider}
|
|
118
|
+
* ItemTemplate={StudioNamedListItem}
|
|
119
|
+
* itemContentRenderer={(item) => (
|
|
120
|
+
* <div>
|
|
121
|
+
* <strong>{item.name}</strong>
|
|
122
|
+
* <CustomBadge status={item.status} />
|
|
123
|
+
* <div className="metadata">Last updated: {item.lastUpdated}</div>
|
|
124
|
+
* </div>
|
|
125
|
+
* )}
|
|
126
|
+
* itemActions={[...]}
|
|
127
|
+
* />
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @see {@link AsyncListDataProvider} for the data provider interface
|
|
131
|
+
* @see {@link StudioNamedListItem} for the Studio 2.0 item template
|
|
132
|
+
*
|
|
133
|
+
* @author TBD
|
|
134
|
+
* @version 2.0.0
|
|
135
|
+
*/
|
|
136
|
+
export declare const AsyncList: (<I extends Record<string, any>, T extends ListItem>({ dataProvider, ItemTemplate, itemIconMap, itemActions, itemDecorators, itemContentRenderer, emptyState, loadingState, className, onInit, disableSelectionStyling, groupExpression, }: AsyncListProps<I, T>) => ReactElement | null) & {
|
|
137
|
+
displayName: string;
|
|
138
|
+
};
|
|
139
|
+
//# sourceMappingURL=async-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"async-list.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/list/async-list/async-list.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,KAAK,EACV,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EAEzB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,EAEZ,MA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C;;;;;;;;;;;;;;;OAeG;IACH,eAAe,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;CAC1C;AA+HD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,SAAS,8OAcjB,eAAe,CAAC,EAAE,CAAC,CAAC,KAAG,YAAY,GAAG,IAAI;;CAsH9C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AsyncListItemTemplateType, AsyncListItemTemplateFactory } from '../types';
|
|
2
|
+
import { ListItem } from '../../common/types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Type guard to determine if a template is a factory (has build method)
|
|
6
|
+
* or a static component.
|
|
7
|
+
*
|
|
8
|
+
* @category Utilities
|
|
9
|
+
* @typeParam T - The ListItem type
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* const ItemComponent = isItemTemplateFactory(template)
|
|
14
|
+
* ? template.build(item) // Call build method
|
|
15
|
+
* : template; // Use static component
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function isItemTemplateFactory<T extends ListItem>(template: AsyncListItemTemplateType<T>): template is AsyncListItemTemplateFactory<T>;
|
|
19
|
+
//# sourceMappingURL=is-item-template-factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-item-template-factory.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/list/async-list/helpers/is-item-template-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EACV,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,UAAU,CAAC;AAElB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,QAAQ,EACtD,QAAQ,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACrC,QAAQ,IAAI,4BAA4B,CAAC,CAAC,CAAC,CAG7C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* (C) Copyright 2025, TCCC, All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
export * from './async-list';
|
|
5
|
+
export * from './async-list-group-header';
|
|
6
|
+
export * from './types';
|
|
7
|
+
export * from './item-action-bar';
|
|
8
|
+
export * from './templates/studio-named-list-item';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/list/async-list/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC"}
|