@apptimate/ui 5.0.0 → 5.1.0
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/package.json +1 -1
- package/src/common-components/item-wizard/ItemFormWizard.tsx +1 -1
- package/src/common-components/item-wizard/SkuConfigModal.tsx +1 -1
- package/src/common-components/pickers/BrandPicker.tsx +1 -1
- package/src/common-components/pickers/CategoryPicker.tsx +1 -1
- package/src/common-components/pickers/EntityPickerModal.tsx +1 -1
- package/src/common-components/pickers/PartyPicker.tsx +1 -1
- package/src/common-components/pickers/UomGroupPicker.tsx +1 -1
- package/src/common-components/pickers/UomPicker.tsx +1 -1
- package/src/common-components/pickers/WarehousePicker.tsx +1 -1
- package/src/components/shared/CustomerSelectorComponent.tsx +1 -1
- package/src/components/shared/ImageUploadComponent.tsx +1 -1
- package/src/components/shared/PaymentModeComponent.tsx +1 -1
- package/src/components/shared/ProductSelectorComponent.tsx +1 -1
- package/src/index.tsx +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Input, Select, Button, WizardModal, Checkbox, HintIcon, TagsInput } from "
|
|
4
|
+
import { Input, Select, Button, WizardModal, Checkbox, HintIcon, TagsInput } from "../../index";
|
|
5
5
|
import { CategoryPicker, BrandPicker } from "../pickers";
|
|
6
6
|
import { UomPicker } from "../pickers/UomPicker";
|
|
7
7
|
import { ChevronLeft, ChevronRight, Settings, Trash, Trash2, Plus } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect } from "react";
|
|
4
|
-
import { Modal, ModalFooter, Button, Select, Input } from "
|
|
4
|
+
import { Modal, ModalFooter, Button, Select, Input } from "../../index";
|
|
5
5
|
import { saveInventorySetting, getInventorySetting, getItemCategoryCount } from "@apptimate/core-lib";
|
|
6
6
|
import { Trash2, Plus } from "lucide-react";
|
|
7
7
|
import toast from "react-hot-toast";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Button, Input, Modal, ModalFooter } from "
|
|
4
|
+
import { Button, Input, Modal, ModalFooter } from "../../index";
|
|
5
5
|
import { Plus, Package } from "lucide-react";
|
|
6
6
|
import {
|
|
7
7
|
EntityPickerModal,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback, useEffect } from "react";
|
|
4
|
-
import { Button, Input, Modal, ModalFooter } from "
|
|
4
|
+
import { Button, Input, Modal, ModalFooter } from "../../index";
|
|
5
5
|
import { Plus, List, GitBranch, ChevronRight, ChevronDown, FolderOpen } from "lucide-react";
|
|
6
6
|
import {
|
|
7
7
|
EntityPickerModal,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect, useCallback, ReactNode } from "react";
|
|
4
|
-
import { Modal, Input, Button } from "
|
|
4
|
+
import { Modal, Input, Button } from "../../index";
|
|
5
5
|
import { Search, Plus, X, Check } from "lucide-react";
|
|
6
6
|
|
|
7
7
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback, useEffect } from "react";
|
|
4
|
-
import { Button, Input, Modal, ModalFooter } from "
|
|
4
|
+
import { Button, Input, Modal, ModalFooter } from "../../index";
|
|
5
5
|
import { Plus, User } from "lucide-react";
|
|
6
6
|
import {
|
|
7
7
|
EntityPickerModal,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback, useEffect } from "react";
|
|
4
|
-
import { Button, Input, Modal, ModalFooter } from "
|
|
4
|
+
import { Button, Input, Modal, ModalFooter } from "../../index";
|
|
5
5
|
import { Plus, Folder } from "lucide-react";
|
|
6
6
|
import {
|
|
7
7
|
EntityPickerModal,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Button, Input, Modal, ModalFooter, Select } from "
|
|
4
|
+
import { Button, Input, Modal, ModalFooter, Select } from "../../index";
|
|
5
5
|
import { Plus, Ruler } from "lucide-react";
|
|
6
6
|
import {
|
|
7
7
|
EntityPickerModal,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from "react";
|
|
4
|
-
import { Button, Input, Modal, ModalFooter } from "
|
|
4
|
+
import { Button, Input, Modal, ModalFooter } from "../../index";
|
|
5
5
|
import { Plus, Warehouse } from "lucide-react";
|
|
6
6
|
import {
|
|
7
7
|
EntityPickerModal,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React, { useState, useEffect, useCallback, useRef } from "react";
|
|
3
|
-
import { Modal, Button, Input, Pagination, EmptyState, ModalFooter } from "
|
|
3
|
+
import { Modal, Button, Input, Pagination, EmptyState, ModalFooter } from "../../index";
|
|
4
4
|
import { Search, User, Phone, Mail, MapPin, X } from "lucide-react";
|
|
5
5
|
import toast from "react-hot-toast";
|
|
6
6
|
import { sendRequest, IApiResponse } from "@apptimate/core-lib";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React, { useState, useRef, useCallback } from "react";
|
|
3
|
-
import { Button, Modal, ModalFooter } from "
|
|
3
|
+
import { Button, Modal, ModalFooter } from "../../index";
|
|
4
4
|
import { Upload, X, Star, GripVertical, ImagePlus, Trash2 } from "lucide-react";
|
|
5
5
|
import toast from "react-hot-toast";
|
|
6
6
|
import { sendRequest } from "@apptimate/core-lib";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React, { useState, useEffect, useCallback } from "react";
|
|
4
|
-
import { Input, Modal, ModalFooter, Button, Badge } from "
|
|
4
|
+
import { Input, Modal, ModalFooter, Button, Badge } from "../../index";
|
|
5
5
|
import { Banknote, CreditCard, Building2, Smartphone, FileText, Plus, X, Search, ArrowRight, AlertTriangle, Clock } from "lucide-react";
|
|
6
6
|
|
|
7
7
|
// ── Types ────────────────────────────────────────────────────────────────
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import React, { useState, useEffect, useCallback, useRef } from "react";
|
|
3
|
-
import { Modal, Button, Pagination, EmptyState, ModalFooter, Badge } from "
|
|
3
|
+
import { Modal, Button, Pagination, EmptyState, ModalFooter, Badge } from "../../index";
|
|
4
4
|
import { Search, Package, X, Tag, Barcode } from "lucide-react";
|
|
5
5
|
import toast from "react-hot-toast";
|
|
6
6
|
import { sendRequest, IApiResponse } from "@apptimate/core-lib";
|
package/src/index.tsx
CHANGED
|
@@ -21,7 +21,6 @@ export * from './base-components/DesktopFilterPopover';
|
|
|
21
21
|
export * from './base-components/Input';
|
|
22
22
|
export * from './base-components/Textarea';
|
|
23
23
|
export * from './base-components/Label';
|
|
24
|
-
export * from './base-components/Textarea';
|
|
25
24
|
export * from './base-components/Modal';
|
|
26
25
|
export * from './base-components/ActionModal';
|
|
27
26
|
export * from './base-components/Pagination';
|