@segmentify/ui 0.0.61 → 0.0.63

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.
Files changed (34) hide show
  1. package/dist/components/atoms/autocomplete.d.ts +13 -0
  2. package/dist/components/atoms/calendar.d.ts +1 -1
  3. package/dist/components/atoms/chart.d.ts +1 -1
  4. package/dist/components/atoms/form.d.ts +1 -1
  5. package/dist/components/atoms/iphone-15.d.ts +2 -0
  6. package/dist/components/atoms/preview-single-button.d.ts +6 -0
  7. package/dist/components/atoms/quill-editor.d.ts +1 -1
  8. package/dist/components/molecules/async-combobox.d.ts +15 -0
  9. package/dist/components/molecules/autocomplete-field.d.ts +17 -0
  10. package/dist/components/molecules/base-button.d.ts +1 -1
  11. package/dist/components/molecules/confirmation-dialog.d.ts +24 -0
  12. package/dist/components/molecules/date-range-picker.d.ts +1 -1
  13. package/dist/components/molecules/form-phone-input.d.ts +1 -1
  14. package/dist/components/molecules/preview-sms.d.ts +5 -0
  15. package/dist/components/molecules/recommendation-card/components/selected-algorithms.d.ts +1 -1
  16. package/dist/components/molecules/select-multi-field.d.ts +1 -1
  17. package/dist/components/molecules/textarea-field.d.ts +3 -3
  18. package/dist/components/molecules/whatsapp-message.d.ts +15 -0
  19. package/dist/components/organisms/data-table/index.d.ts +3 -3
  20. package/dist/components/organisms/form-checkbox.d.ts +1 -0
  21. package/dist/components/organisms/form-select.d.ts +1 -1
  22. package/dist/components/organisms/form-textarea.d.ts +2 -4
  23. package/dist/components/organisms/timeline.d.ts +1 -1
  24. package/dist/hooks/use-data-table.d.ts +1 -1
  25. package/dist/index.d.ts +1 -0
  26. package/dist/mock/columns.d.ts +1 -1
  27. package/dist/segmentify-ui.cjs +84 -84
  28. package/dist/segmentify-ui.js +11658 -11609
  29. package/dist/src/components/atoms/sortable-item.d.ts +3 -2
  30. package/dist/src/components/molecules/sortable-list.d.ts +3 -2
  31. package/dist/src/components/organisms/form-sortable-list.d.ts +2 -1
  32. package/package.json +1 -1
  33. package/dist/components/atoms/phone-inpux.d.ts +0 -7
  34. package/dist/hooks/use-popup-layer-z-index.d.ts +0 -1
@@ -1,9 +1,10 @@
1
1
  import * as React from 'react';
2
- export interface SortableItemProps {
2
+ interface SortableItemProps {
3
3
  id: string;
4
4
  children: React.ReactNode;
5
5
  disabled?: boolean;
6
6
  className?: string;
7
7
  handleClassName?: string;
8
8
  }
9
- export declare const SortableItem: ({ id, children, disabled, className, handleClassName }: SortableItemProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const SortableItem: ({ id, children, disabled, className, handleClassName }: SortableItemProps) => import("react/jsx-runtime").JSX.Element;
10
+ export { SortableItem };
@@ -1,9 +1,10 @@
1
1
  import * as React from 'react';
2
- export interface SortableListProps {
2
+ interface SortableListProps {
3
3
  itemIds: string[];
4
4
  onReorder: (fromIndex: number, toIndex: number) => void;
5
5
  children: React.ReactNode;
6
6
  className?: string;
7
7
  orientation?: 'vertical' | 'horizontal';
8
8
  }
9
- export declare const SortableList: ({ itemIds, onReorder, children, className, orientation, }: SortableListProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const SortableList: ({ itemIds, onReorder, children, className, orientation }: SortableListProps) => import("react/jsx-runtime").JSX.Element;
10
+ export { SortableList };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { ArrayPath, FieldArrayWithId, FieldValues } from 'react-hook-form';
3
- export type FormSortableListProps<TFieldValues extends FieldValues = FieldValues, TName extends ArrayPath<TFieldValues> = ArrayPath<TFieldValues>> = {
3
+ type FormSortableListProps<TFieldValues extends FieldValues = FieldValues, TName extends ArrayPath<TFieldValues> = ArrayPath<TFieldValues>> = {
4
4
  name: TName;
5
5
  renderItem: (field: FieldArrayWithId<TFieldValues, TName, 'id'>, index: number) => React.ReactNode;
6
6
  label?: string;
@@ -14,3 +14,4 @@ export type FormSortableListProps<TFieldValues extends FieldValues = FieldValues
14
14
  hasRequiredIndicator?: boolean;
15
15
  };
16
16
  export declare const FormSortableList: <TFieldValues extends FieldValues = FieldValues, TName extends ArrayPath<TFieldValues> = ArrayPath<TFieldValues>>({ name, renderItem, label, description, containerClassName, listClassName, itemClassName, orientation, emptyState, isItemDisabled, hasRequiredIndicator, }: FormSortableListProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentify/ui",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "description": "A collection of reusable React UI components built with Tailwind CSS and Radix UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import * as RPNInput from 'react-phone-number-input';
3
- type PhoneInputProps = Omit<React.ComponentProps<'input'>, 'onChange' | 'value' | 'ref'> & Omit<RPNInput.Props<typeof RPNInput.default>, 'onChange'> & {
4
- onChange?: (value: RPNInput.Value) => void;
5
- };
6
- declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps>;
7
- export { PhoneInput };
@@ -1 +0,0 @@
1
- export declare const usePopupLayerZIndex: () => number | undefined;