@sesamehr/react-design-system 1.1.0 → 1.3.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.
Files changed (56) hide show
  1. package/dist/Button/Button.d.ts +1 -1
  2. package/dist/Data/Table/TableBody/TableBody.d.ts +1 -2
  3. package/dist/Feedback/Alert/Alert.d.ts +7 -5
  4. package/dist/Feedback/Dialog/Dialog.d.ts +1 -1
  5. package/dist/Feedback/Dialog/DialogTwoPanelContent.d.ts +1 -1
  6. package/dist/Feedback/Popover/Popover.d.ts +2 -2
  7. package/dist/Feedback/Tooltip/Tooltip.d.ts +2 -2
  8. package/dist/Forms/Inputs/Combobox/Combobox.d.ts +2 -2
  9. package/dist/Forms/Inputs/Combobox/ComboboxChipsInput.d.ts +1 -1
  10. package/dist/Forms/Inputs/Combobox/ComboboxContent.d.ts +1 -1
  11. package/dist/Forms/Inputs/Combobox/ComboboxEmpty.d.ts +1 -1
  12. package/dist/Forms/Inputs/Combobox/ComboboxGroup.d.ts +1 -1
  13. package/dist/Forms/Inputs/Combobox/ComboboxInput.d.ts +1 -1
  14. package/dist/Forms/Inputs/Combobox/ComboboxItem.d.ts +1 -1
  15. package/dist/Forms/Inputs/Combobox/ComboboxSeparator.d.ts +1 -1
  16. package/dist/Forms/Inputs/Combobox/context.d.ts +4 -4
  17. package/dist/Forms/Inputs/InputNumber/InputNumber.d.ts +2 -1
  18. package/dist/Forms/Inputs/InputNumber/InputNumberDecrement.d.ts +1 -1
  19. package/dist/Forms/Inputs/InputNumber/InputNumberIncrement.d.ts +1 -1
  20. package/dist/Forms/Inputs/InputNumber/InputNumberInput.d.ts +1 -1
  21. package/dist/Forms/Inputs/InputOtp/InputOtp.d.ts +4 -5
  22. package/dist/Forms/Inputs/InputOtp/types.d.ts +2 -2
  23. package/dist/Forms/Inputs/InputPassword/InputPassword.d.ts +5 -5
  24. package/dist/Forms/Inputs/InputPassword/InputPasswordToggle.d.ts +2 -2
  25. package/dist/Forms/Inputs/InputText/InputText.d.ts +7 -7
  26. package/dist/Forms/Inputs/Select/Select.d.ts +20 -0
  27. package/dist/Forms/Inputs/Select/SelectContent.d.ts +11 -0
  28. package/dist/Forms/Inputs/Select/SelectGroup.d.ts +7 -0
  29. package/dist/Forms/Inputs/Select/SelectItem.d.ts +14 -0
  30. package/dist/Forms/Inputs/Select/SelectSeparator.d.ts +4 -0
  31. package/dist/Forms/Inputs/Select/SelectTrigger.d.ts +25 -0
  32. package/dist/Forms/Inputs/Select/context.d.ts +21 -0
  33. package/dist/Forms/Inputs/Select/index.d.ts +6 -0
  34. package/dist/Forms/Inputs/Select/types.d.ts +6 -0
  35. package/dist/Forms/Inputs/Toggle/Checkbox/Checkbox.d.ts +4 -4
  36. package/dist/Forms/Inputs/Toggle/RadioButton/RadioButton.d.ts +2 -2
  37. package/dist/Forms/Inputs/Toggle/RadioButton/RadioGroup.d.ts +1 -1
  38. package/dist/Forms/Inputs/Toggle/Switch/Switch.d.ts +2 -3
  39. package/dist/Forms/Inputs/index.d.ts +1 -0
  40. package/dist/Forms/Inputs/inputSize.d.ts +3 -3
  41. package/dist/Layout/Card/Card.d.ts +1 -1
  42. package/dist/Layout/Divider/Divider.d.ts +6 -5
  43. package/dist/Layout/Resizable/Resizable.d.ts +4 -4
  44. package/dist/Layout/Resizable/ResizableHandle.d.ts +5 -6
  45. package/dist/Layout/Resizable/ResizablePanel.d.ts +1 -1
  46. package/dist/Navigation/Accordion/Accordion.d.ts +1 -1
  47. package/dist/Navigation/Tabs/Tabs.d.ts +1 -1
  48. package/dist/Transitions/TransitionBase.d.ts +2 -2
  49. package/dist/Transitions/TransitionFlip/TransitionFlip.d.ts +3 -2
  50. package/dist/main.d.ts +1 -1
  51. package/dist/react-design-system.css +1 -1
  52. package/dist/react-design-system.js +10287 -7834
  53. package/dist/react-design-system.umd.cjs +48 -48
  54. package/package.json +2 -1
  55. package/src/assets/styles/theme-v2.css +2 -2
  56. package/src/assets/styles/theme-v3.css +2 -2
@@ -2,5 +2,5 @@ import { Panel } from 'react-resizable-panels';
2
2
  export interface ResizablePanelProps extends React.ComponentPropsWithoutRef<typeof Panel> {
3
3
  dataTestid: string;
4
4
  }
5
- /** ResizablePanel — maps reka-ui `SplitterPanel` to `react-resizable-panels` `Panel`. */
5
+ /** ResizablePanel — built on `react-resizable-panels` `Panel`. */
6
6
  export declare const ResizablePanel: import('react').ForwardRefExoticComponent<ResizablePanelProps & import('react').RefAttributes<import('react-resizable-panels').ImperativePanelHandle>>;
@@ -1,4 +1,4 @@
1
1
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
2
  export type AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
3
- /** Accordion root — maps reka-ui `AccordionRoot` to `@radix-ui/react-accordion`. */
3
+ /** Accordion root — built on `@radix-ui/react-accordion`. */
4
4
  export declare const Accordion: import('react').ForwardRefExoticComponent<AccordionProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -2,5 +2,5 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
2
2
  export interface TabsProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
3
3
  dataTestid: string;
4
4
  }
5
- /** Tabs root — maps reka-ui `TabsRoot` to `@radix-ui/react-tabs`. */
5
+ /** Tabs root — built on `@radix-ui/react-tabs`. */
6
6
  export declare const Tabs: import('react').ForwardRefExoticComponent<TabsProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -23,8 +23,8 @@ interface InternalTransitionProps extends TransitionBaseProps {
23
23
  /**
24
24
  * Shared wrapper around react-transition-group's `CSSTransition`, used by every
25
25
  * Transition* component. Injects the per-instance duration CSS variables and a
26
- * `nodeRef` onto the single child (no extra wrapper node — mirrors Vue's
27
- * `<Transition>`, which applies transition classes directly to its child).
26
+ * `nodeRef` onto the single child, so the transition classes land on that
27
+ * child and no wrapper node is added to the DOM.
28
28
  */
29
29
  export declare function TransitionBase({ in: inProp, appear, unmountOnExit, mountOnEnter, classNames, timeout, styleVars, children, }: InternalTransitionProps): import("react/jsx-runtime").JSX.Element;
30
30
  export {};
@@ -4,8 +4,9 @@ export interface TransitionFlipProps extends TransitionBaseProps {
4
4
  leaveDuration?: number;
5
5
  axis?: 'x' | 'y';
6
6
  /**
7
- * Kept for API parity with the Vue source; the Animista keyframes use fixed
8
- * 70°/80° rotations, so this value does not alter the animation (matches core).
7
+ * Accepted but inert: the keyframes use fixed 70°/80° rotations, so changing
8
+ * this does not alter the animation. Kept so the API does not shift under
9
+ * anyone already passing it.
9
10
  */
10
11
  enterDegrees?: number;
11
12
  }
package/dist/main.d.ts CHANGED
@@ -23,6 +23,6 @@ export { Accordion as OxAccordion, AccordionItem as OxAccordionItem, AccordionTr
23
23
  export { Tabs as OxTabs, TabsList as OxTabsList, TabsTrigger as OxTabsTrigger, TabsContent as OxTabsContent, } from './Navigation/Tabs/index.ts';
24
24
  export { Breadcrumb as OxBreadcrumb, BreadcrumbList as OxBreadcrumbList, BreadcrumbItem as OxBreadcrumbItem, BreadcrumbLink as OxBreadcrumbLink, BreadcrumbPage as OxBreadcrumbPage, BreadcrumbSeparator as OxBreadcrumbSeparator, BreadcrumbEllipsis as OxBreadcrumbEllipsis, } from './Navigation/Breadcrumb/index.ts';
25
25
  export { FieldGroup as OxFieldGroup, FieldLabel as OxFieldLabel, FieldMessage as OxFieldMessage, type FieldGroupProps, } from './Forms/Field/index.ts';
26
- export { InputGroup as OxInputGroup, InputText as OxInputText, InputNumber as OxInputNumber, InputNumberContent as OxInputNumberContent, InputNumberDecrement as OxInputNumberDecrement, InputNumberIncrement as OxInputNumberIncrement, InputNumberInput as OxInputNumberInput, InputPassword as OxInputPassword, InputPasswordInput as OxInputPasswordInput, InputPasswordToggle as OxInputPasswordToggle, useInputPassword, InputOtp as OxInputOtp, InputOtpGroup as OxInputOtpGroup, InputOtpSlot as OxInputOtpSlot, InputOtpSeparator as OxInputOtpSeparator, useInputOtp, Combobox as OxCombobox, ComboboxInput as OxComboboxInput, ComboboxChipsInput as OxComboboxChipsInput, ComboboxContent as OxComboboxContent, ComboboxItem as OxComboboxItem, ComboboxEmpty as OxComboboxEmpty, ComboboxGroup as OxComboboxGroup, ComboboxSeparator as OxComboboxSeparator, Switch as OxSwitch, Checkbox as OxCheckbox, RadioButton as OxRadioButton, RadioGroup as OxRadioGroup, ToggleGroup as OxToggleGroup, ToggleLabel as OxToggleLabel, ToggleDescription as OxToggleDescription, SWITCH_SIZES, type InputNumberProps, type InputPasswordProps, type InputPasswordContext, type InputOtpProps, type InputOtpSlotProps, type InputOtpContext, type ComboboxProps, type RadioGroupProps, type ToggleGroupProps, type ToggleLabelProps, type ToggleDescriptionProps, } from './Forms/Inputs/index.ts';
26
+ export { InputGroup as OxInputGroup, InputText as OxInputText, InputNumber as OxInputNumber, InputNumberContent as OxInputNumberContent, InputNumberDecrement as OxInputNumberDecrement, InputNumberIncrement as OxInputNumberIncrement, InputNumberInput as OxInputNumberInput, InputPassword as OxInputPassword, InputPasswordInput as OxInputPasswordInput, InputPasswordToggle as OxInputPasswordToggle, useInputPassword, InputOtp as OxInputOtp, InputOtpGroup as OxInputOtpGroup, InputOtpSlot as OxInputOtpSlot, InputOtpSeparator as OxInputOtpSeparator, useInputOtp, Combobox as OxCombobox, ComboboxInput as OxComboboxInput, ComboboxChipsInput as OxComboboxChipsInput, ComboboxContent as OxComboboxContent, ComboboxItem as OxComboboxItem, ComboboxEmpty as OxComboboxEmpty, ComboboxGroup as OxComboboxGroup, ComboboxSeparator as OxComboboxSeparator, Select as OxSelect, SelectTrigger as OxSelectTrigger, SelectContent as OxSelectContent, SelectItem as OxSelectItem, SelectGroup as OxSelectGroup, SelectSeparator as OxSelectSeparator, Switch as OxSwitch, Checkbox as OxCheckbox, RadioButton as OxRadioButton, RadioGroup as OxRadioGroup, ToggleGroup as OxToggleGroup, ToggleLabel as OxToggleLabel, ToggleDescription as OxToggleDescription, SWITCH_SIZES, type InputNumberProps, type InputPasswordProps, type InputPasswordContext, type InputOtpProps, type InputOtpSlotProps, type InputOtpContext, type ComboboxProps, type SelectProps, type RadioGroupProps, type ToggleGroupProps, type ToggleLabelProps, type ToggleDescriptionProps, } from './Forms/Inputs/index.ts';
27
27
  export { Table as OxTable, TableHead as OxTableHead, TableBody as OxTableBody, TableRow as OxTableRow, TableCell as OxTableCell, TableHeaderCell as OxTableHeaderCell, TableSelectCell as OxTableSelectCell, TableDragCell as OxTableDragCell, TableBulkHeader as OxTableBulkHeader, TablePagination as OxTablePagination, TableEmpty as OxTableEmpty, TableAvatar as OxTableAvatar, TableRowExpanded as OxTableRowExpanded, TableExpandCell as OxTableExpandCell, TableColumnVisibility as OxTableColumnVisibility, useTable, useTableSelection, useTableSorting, useTablePagination, useTableDetailRow, useTablePinning, useTableColumns, useScrollShadow, useDragToScroll, useFixedColumns, } from './Data/Table/index.ts';
28
28
  export type { UseTableOptions, UseTableReturn, UseTableSelectionReturn, UseTableSortingReturn, UseTablePaginationOptions, UseTablePaginationReturn, DetailRowInstance, DetailRowOptions, DetailRowPluginDef, UseTablePinningOptions, UseTablePinningReturn, CellInfo, HeaderInfo, UseTableColumnsOptions, UseTableColumnsReturn, UseScrollShadowOptions, UseScrollShadowReturn, UseDragToScrollOptions, UseDragToScrollReturn, UseFixedColumnsOptions, TableProps, TableMode, ColumnDef, ColumnAlign, CellContext, SortingState, PaginationState, PaginationChangePayload, SortingChangePayload, SelectionChangePayload, FilterChangePayload, ColumnResizeMode, ColumnVisibilityState, ColumnOrderState, ExpandedState, ColumnVisibilityChangePayload, ColumnOrderChangePayload, RowExpandChangePayload, ColumnResizePayload, ColumnPinningState, } from './Data/Table/index.ts';