@epam/ai-dial-ui-kit 0.6.0-rc.6 → 0.6.0-rc.60
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/README.md +5 -13
- package/dist/dial-ui-kit.cjs.js +28 -28
- package/dist/dial-ui-kit.es.js +9440 -9127
- package/dist/index.css +2 -2
- package/dist/src/components/AutocompleteInput/AutocompleteInput.d.ts +3 -4
- package/dist/src/components/Breadcrumb/BreadcrumbItem.d.ts +2 -3
- package/dist/src/components/Button/Button.d.ts +6 -2
- package/dist/src/components/Button/ButtonWrappers.d.ts +71 -0
- package/dist/src/components/Button/constants.d.ts +1 -1
- package/dist/src/components/Button/utils.d.ts +2 -0
- package/dist/src/components/ButtonDropdown/ButtonDropdown.d.ts +3 -4
- package/dist/src/components/ConfirmationPopup/constants.d.ts +9 -3
- package/dist/src/components/FileManager/FileManager.d.ts +20 -3
- package/dist/src/components/FileManager/FileManagerContext.d.ts +10 -3
- package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +4 -0
- package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +2 -0
- package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +2 -0
- package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +2 -0
- package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +4 -2
- package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +2 -0
- package/dist/src/components/FileManager/constants.d.ts +1 -1
- package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +3 -1
- package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +2 -1
- package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +3 -2
- package/dist/src/components/FileName/FileName.d.ts +2 -0
- package/dist/src/components/FolderName/FolderName.d.ts +3 -1
- package/dist/src/components/Grid/constants.d.ts +2 -0
- package/dist/src/components/InputPopup/InputPopup.d.ts +1 -1
- package/dist/src/components/LabelledText/LabelledText.d.ts +2 -0
- package/dist/src/components/Popup/Popup.d.ts +3 -1
- package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +1 -1
- package/dist/src/components/RemoveButton/RemoveButton.d.ts +2 -2
- package/dist/src/components/Select/Select.d.ts +10 -0
- package/dist/src/components/Select/constants.d.ts +1 -1
- package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +5 -3
- package/dist/src/components/Tabs/Tabs.d.ts +4 -0
- package/dist/src/hooks/use-screen-type.d.ts +2 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/types/button.d.ts +14 -2
- package/dist/src/utils/__tests__/path.spec.d.ts +1 -0
- package/dist/src/utils/path.d.ts +10 -0
- package/package.json +1 -1
- /package/dist/src/utils/{merge-classes.spec.d.ts → __tests__/merge-classes.spec.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -67,17 +67,13 @@ npm install @epam/ai-dial-ui-kit
|
|
|
67
67
|
### Basic Usage
|
|
68
68
|
|
|
69
69
|
```tsx
|
|
70
|
-
import {
|
|
70
|
+
import { DialPrimaryButton } from '@epam/ai-dial-ui-kit';
|
|
71
71
|
import '@epam/ai-dial-ui-kit/styles.css';
|
|
72
72
|
|
|
73
73
|
function App() {
|
|
74
74
|
return (
|
|
75
75
|
<div>
|
|
76
|
-
<
|
|
77
|
-
label="Click me"
|
|
78
|
-
variant={ButtonVariant.Primary}
|
|
79
|
-
onClick={() => console.log("Next.js + AI DIAL UI Kit!")}
|
|
80
|
-
/>
|
|
76
|
+
<DialPrimaryButton onClick={() => alert('Hello AI DIAL!')} />
|
|
81
77
|
</div>
|
|
82
78
|
);
|
|
83
79
|
}
|
|
@@ -235,17 +231,13 @@ import "@epam/ai-dial-ui-kit/styles.css";
|
|
|
235
231
|
```tsx
|
|
236
232
|
// app/page.tsx
|
|
237
233
|
"use client";
|
|
238
|
-
import {
|
|
234
|
+
import { DialPrimaryButton } from "@epam/ai-dial-ui-kit";
|
|
239
235
|
|
|
240
236
|
export default function Home() {
|
|
241
237
|
return (
|
|
242
238
|
<div className="w-full h-full flex flex-col gap-3 items-center justify-center">
|
|
243
239
|
<h1>Test library</h1>
|
|
244
|
-
<
|
|
245
|
-
onClick={() => console.log("Next.js + AI DIAL UI Kit!")}
|
|
246
|
-
label="Click me"
|
|
247
|
-
className="dial-primary-button"
|
|
248
|
-
/>
|
|
240
|
+
<DialPrimaryButton onClick={() => alert('Hello AI DIAL!')} />
|
|
249
241
|
</div>
|
|
250
242
|
);
|
|
251
243
|
}
|
|
@@ -259,7 +251,7 @@ export default function Home() {
|
|
|
259
251
|
|
|
260
252
|
```tsx
|
|
261
253
|
// ✅ Good - Tree shakable imports
|
|
262
|
-
import {
|
|
254
|
+
import { DialPrimaryButton, DialInput } from '@epam/ai-dial-ui-kit';
|
|
263
255
|
import '@epam/ai-dial-ui-kit/styles.css'; // Import styles separately
|
|
264
256
|
|
|
265
257
|
// ❌ Avoid - Imports entire library
|