@sesamehr/react-design-system 1.2.0 → 1.4.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 (52) 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/Display/Avatar/AvatarRounded/AvatarRounded.d.ts +23 -0
  4. package/dist/Display/Avatar/AvatarSquare/AvatarSquare.d.ts +23 -0
  5. package/dist/Display/Avatar/hooks/useAvatarBullet.d.ts +6 -13
  6. package/dist/Display/Avatar/index.d.ts +32 -6
  7. package/dist/Feedback/Alert/Alert.d.ts +7 -5
  8. package/dist/Feedback/Dialog/Dialog.d.ts +1 -1
  9. package/dist/Feedback/Dialog/DialogTwoPanelContent.d.ts +1 -1
  10. package/dist/Feedback/Popover/Popover.d.ts +2 -2
  11. package/dist/Feedback/Tooltip/Tooltip.d.ts +2 -2
  12. package/dist/Forms/Inputs/Combobox/Combobox.d.ts +2 -2
  13. package/dist/Forms/Inputs/Combobox/ComboboxChipsInput.d.ts +1 -1
  14. package/dist/Forms/Inputs/Combobox/ComboboxContent.d.ts +1 -1
  15. package/dist/Forms/Inputs/Combobox/ComboboxEmpty.d.ts +1 -1
  16. package/dist/Forms/Inputs/Combobox/ComboboxGroup.d.ts +1 -1
  17. package/dist/Forms/Inputs/Combobox/ComboboxInput.d.ts +1 -1
  18. package/dist/Forms/Inputs/Combobox/ComboboxItem.d.ts +1 -1
  19. package/dist/Forms/Inputs/Combobox/ComboboxSeparator.d.ts +1 -1
  20. package/dist/Forms/Inputs/Combobox/context.d.ts +4 -4
  21. package/dist/Forms/Inputs/InputNumber/InputNumber.d.ts +2 -1
  22. package/dist/Forms/Inputs/InputNumber/InputNumberDecrement.d.ts +1 -1
  23. package/dist/Forms/Inputs/InputNumber/InputNumberIncrement.d.ts +1 -1
  24. package/dist/Forms/Inputs/InputNumber/InputNumberInput.d.ts +1 -1
  25. package/dist/Forms/Inputs/InputOtp/InputOtp.d.ts +4 -5
  26. package/dist/Forms/Inputs/InputOtp/types.d.ts +2 -2
  27. package/dist/Forms/Inputs/InputPassword/InputPassword.d.ts +5 -5
  28. package/dist/Forms/Inputs/InputPassword/InputPasswordToggle.d.ts +2 -2
  29. package/dist/Forms/Inputs/InputText/InputText.d.ts +7 -7
  30. package/dist/Forms/Inputs/Toggle/Checkbox/Checkbox.d.ts +4 -4
  31. package/dist/Forms/Inputs/Toggle/RadioButton/RadioButton.d.ts +2 -2
  32. package/dist/Forms/Inputs/Toggle/RadioButton/RadioGroup.d.ts +1 -1
  33. package/dist/Forms/Inputs/Toggle/Switch/Switch.d.ts +2 -3
  34. package/dist/Forms/Inputs/inputSize.d.ts +3 -3
  35. package/dist/Layout/Card/Card.d.ts +1 -1
  36. package/dist/Layout/Divider/Divider.d.ts +6 -5
  37. package/dist/Layout/Resizable/Resizable.d.ts +4 -4
  38. package/dist/Layout/Resizable/ResizableHandle.d.ts +5 -6
  39. package/dist/Layout/Resizable/ResizablePanel.d.ts +1 -1
  40. package/dist/Navigation/Accordion/Accordion.d.ts +1 -1
  41. package/dist/Navigation/Tabs/Tabs.d.ts +1 -1
  42. package/dist/Transitions/TransitionBase.d.ts +2 -2
  43. package/dist/Transitions/TransitionFlip/TransitionFlip.d.ts +3 -2
  44. package/dist/main.d.ts +1 -1
  45. package/dist/react-design-system.css +1 -1
  46. package/dist/react-design-system.js +7816 -7763
  47. package/dist/react-design-system.umd.cjs +48 -48
  48. package/package.json +1 -1
  49. package/src/assets/styles/primitives-v3.css +9 -5
  50. package/src/assets/styles/theme-v2.css +2 -2
  51. package/src/assets/styles/theme-v3.css +2 -2
  52. package/dist/Display/Avatar/Avatar.d.ts +0 -24
@@ -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
@@ -9,7 +9,7 @@ export { Button as OxButton, buttonVariants, type ButtonVariants, } from './Butt
9
9
  export { Card as OxCard } from './Layout/Card/index.ts';
10
10
  export { Divider as OxDivider, type DividerProps, } from './Layout/Divider/index.ts';
11
11
  export { Resizable as OxResizable, ResizablePanel as OxResizablePanel, ResizableHandle as OxResizableHandle, } from './Layout/Resizable/index.ts';
12
- export { Avatar as OxAvatar, avatarVariants, avatarTextVariants, type AvatarVariants, } from './Display/Avatar/index.ts';
12
+ export { AvatarRounded as OxAvatarRounded, AvatarSquare as OxAvatarSquare, avatarRoundedVariants, avatarSquareVariants, type AvatarRoundedVariants, type AvatarSize, type AvatarSquareVariants, type AvatarTone, } from './Display/Avatar/index.ts';
13
13
  export { AvatarGroup as OxAvatarGroup, type AvatarItem, } from './Display/AvatarGroup/index.ts';
14
14
  export { Badge as OxBadge, badgeVariants, type BadgeVariants, } from './Display/Badge/index.ts';
15
15
  export { PaymentCard as OxPaymentCard, paymentCardVariants, type PaymentCardVariants, type BadgeType, type CardData, } from './Display/PaymentCard/index.ts';