forstok-ui-lib 8.1.0 → 8.1.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/dist/index.d.ts +5 -2
- package/dist/index.js +218 -182
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +448 -412
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/icons/reload.svg +2 -0
- package/src/components/icon/index.tsx +3 -2
- package/src/components/icon/styles.ts +143 -702
- package/src/components/icon/type.ts +102 -0
package/dist/index.d.ts
CHANGED
|
@@ -527,10 +527,13 @@ type TLabel = HTMLAttributes<HTMLSpanElement> & {
|
|
|
527
527
|
};
|
|
528
528
|
declare const LabelComponent: ({ children, $mode, $position, ...props }: TLabel) => react_jsx_runtime.JSX.Element;
|
|
529
529
|
|
|
530
|
+
type IconName = 'search' | 'check' | 'check-grey' | 'arrow-left-blue' | 'edit' | 'arrow' | 'discount' | 'cash' | 'credit' | 'debit' | 'bank' | 'qris' | 'wallet' | 'delivery' | 'success' | 'email' | 'print' | 'warning' | 'alert' | 'barcode' | 'arrow-upload' | 'trash' | 'arrow-left' | 'arrow-left-double' | 'arrow-right' | 'arrow-right-double' | 'arrow-down' | 'calendar' | 'question' | 'sortby' | 'NotificationDownload' | 'NotificationUpload' | 'bar' | 'close' | 'person' | 'person-red' | 'cart' | 'back' | 'time' | 'dot' | 'dashboard-left-nav' | 'dashboard-active-left-nav' | 'chat-left-nav' | 'chat-active-left-nav' | 'ai-left-nav' | 'ai-active-left-nav' | 'reporting-left-nav' | 'reporting-active-left-nav' | 'activity-log-left-nav' | 'activity-log-active-left-nav' | 'integration-left-nav' | 'integration-active-left-nav' | 'setting-left-nav' | 'setting-active-left-nav' | 'customer-left-nav' | 'customer-active-left-nav' | 'marketing-left-nav' | 'marketing-active-left-nav' | 'product-left-nav' | 'product-active-left-nav' | 'inventory-left-nav' | 'inventory-active-left-nav' | 'order-left-nav' | 'order-active-left-nav' | 'price-left-nav' | 'price-active-left-nav' | 'invoice-left-nav' | 'invoice-active-left-nav' | 'warning-chat' | 'check-chat' | 'check-chat-blue' | 'phone' | 'location' | 'agent' | 'report' | 'gender' | 'birthday' | 'attach' | 'smile' | 'voucher-left-nav' | 'voucher-active-left-nav' | 'analytic-left-nav' | 'analytic-active-left-nav' | 'label-left-nav' | 'label-active-left-nav' | 'questions' | 'faq' | 'api' | 'gift' | 'document' | 'video' | 'image' | 'emoji' | 'price' | 'thumb' | 'clipboard' | 'reload';
|
|
531
|
+
type IconMode = 'filter' | 'disabled';
|
|
532
|
+
|
|
530
533
|
type TIcon = HTMLAttributes<HTMLElement> & {
|
|
531
|
-
$mode?:
|
|
534
|
+
$mode?: IconMode;
|
|
532
535
|
$isLoading?: boolean;
|
|
533
|
-
$name:
|
|
536
|
+
$name: IconName;
|
|
534
537
|
$width?: string | number;
|
|
535
538
|
};
|
|
536
539
|
declare const IconComponent: ({ $width, $name, $mode, onClick, $isLoading, ...props }: TIcon) => react_jsx_runtime.JSX.Element;
|