@maxhub/max-ui 0.1.13 → 0.2.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 (122) hide show
  1. package/dist/components/Avatar/parts/AvatarContainer/AvatarContainer.d.ts.map +1 -1
  2. package/dist/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.d.ts.map +1 -1
  3. package/dist/components/Button/Button.d.ts +3 -5
  4. package/dist/components/Button/Button.d.ts.map +1 -1
  5. package/dist/components/Button/helpers.d.ts +4 -4
  6. package/dist/components/Button/helpers.d.ts.map +1 -1
  7. package/dist/components/Button/index.d.ts +1 -1
  8. package/dist/components/Button/index.d.ts.map +1 -1
  9. package/dist/components/CellAction/CellAction.d.ts.map +1 -1
  10. package/dist/components/CellInput/CellInput.d.ts.map +1 -1
  11. package/dist/components/CellSimple/CellSimple.d.ts +4 -1
  12. package/dist/components/CellSimple/CellSimple.d.ts.map +1 -1
  13. package/dist/components/Counter/Counter.d.ts +2 -6
  14. package/dist/components/Counter/Counter.d.ts.map +1 -1
  15. package/dist/components/Counter/index.d.ts +1 -1
  16. package/dist/components/Counter/index.d.ts.map +1 -1
  17. package/dist/components/Dot/Dot.d.ts +3 -0
  18. package/dist/components/Dot/Dot.d.ts.map +1 -1
  19. package/dist/components/IconButton/IconButton.d.ts +4 -5
  20. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  21. package/dist/components/IconButton/helpers.d.ts +2 -2
  22. package/dist/components/IconButton/helpers.d.ts.map +1 -1
  23. package/dist/components/IconButton/index.d.ts +1 -1
  24. package/dist/components/IconButton/index.d.ts.map +1 -1
  25. package/dist/components/Input/Input.d.ts +7 -4
  26. package/dist/components/Input/Input.d.ts.map +1 -1
  27. package/dist/components/Spinner/Spinner.d.ts +1 -7
  28. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  29. package/dist/components/Spinner/SpinnerAndroid.d.ts +4 -0
  30. package/dist/components/Spinner/SpinnerAndroid.d.ts.map +1 -0
  31. package/dist/components/Spinner/SpinnerIos.d.ts +4 -0
  32. package/dist/components/Spinner/SpinnerIos.d.ts.map +1 -0
  33. package/dist/components/Spinner/index.d.ts +2 -1
  34. package/dist/components/Spinner/index.d.ts.map +1 -1
  35. package/dist/components/Spinner/types.d.ts +11 -0
  36. package/dist/components/Spinner/types.d.ts.map +1 -0
  37. package/dist/components/Switch/Switch.d.ts +3 -0
  38. package/dist/components/Switch/Switch.d.ts.map +1 -1
  39. package/dist/components/ToolButton/ToolButton.d.ts +3 -0
  40. package/dist/components/ToolButton/ToolButton.d.ts.map +1 -1
  41. package/dist/components/index.d.ts +0 -10
  42. package/dist/components/index.d.ts.map +1 -1
  43. package/dist/helpers/dispatch-change-native-event.d.ts +6 -1
  44. package/dist/helpers/dispatch-change-native-event.d.ts.map +1 -1
  45. package/dist/helpers/get-subtree.d.ts +8 -4
  46. package/dist/helpers/get-subtree.d.ts.map +1 -1
  47. package/dist/hooks/use-image-loading-status.d.ts +5 -1
  48. package/dist/hooks/use-image-loading-status.d.ts.map +1 -1
  49. package/dist/hooks/use-system-color-scheme.d.ts +1 -1
  50. package/dist/hooks/use-system-color-scheme.d.ts.map +1 -1
  51. package/dist/index.d.ts +4 -1
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +1 -1
  54. package/dist/{components → internal}/ClearableInput/ClearableInput.d.ts +2 -1
  55. package/dist/internal/ClearableInput/ClearableInput.d.ts.map +1 -0
  56. package/dist/internal/ClearableInput/index.d.ts.map +1 -0
  57. package/dist/internal/Container/Container.d.ts.map +1 -0
  58. package/dist/internal/Container/index.d.ts.map +1 -0
  59. package/dist/internal/EllipsisText/EllipsisText.d.ts.map +1 -0
  60. package/dist/internal/EllipsisText/index.d.ts.map +1 -0
  61. package/dist/internal/Flex/Flex.d.ts.map +1 -0
  62. package/dist/internal/Flex/index.d.ts.map +1 -0
  63. package/dist/internal/Grid/Grid.d.ts.map +1 -0
  64. package/dist/internal/Grid/index.d.ts.map +1 -0
  65. package/dist/internal/Panel/Panel.d.ts.map +1 -0
  66. package/dist/internal/Panel/index.d.ts.map +1 -0
  67. package/dist/internal/Ripple/Ripple.d.ts.map +1 -0
  68. package/dist/internal/Ripple/index.d.ts.map +1 -0
  69. package/dist/internal/SvgButton/SvgButton.d.ts.map +1 -0
  70. package/dist/internal/SvgButton/index.d.ts.map +1 -0
  71. package/dist/internal/Tappable/Tappable.d.ts.map +1 -0
  72. package/dist/internal/Tappable/helpers.d.ts.map +1 -0
  73. package/dist/internal/Tappable/index.d.ts.map +1 -0
  74. package/dist/internal/index.d.ts +10 -0
  75. package/dist/internal/index.d.ts.map +1 -0
  76. package/dist/styles.css +1 -1
  77. package/package.json +8 -4
  78. package/dist/components/ClearableInput/ClearableInput.d.ts.map +0 -1
  79. package/dist/components/ClearableInput/index.d.ts.map +0 -1
  80. package/dist/components/Container/Container.d.ts.map +0 -1
  81. package/dist/components/Container/index.d.ts.map +0 -1
  82. package/dist/components/EllipsisText/EllipsisText.d.ts.map +0 -1
  83. package/dist/components/EllipsisText/index.d.ts.map +0 -1
  84. package/dist/components/Flex/Flex.d.ts.map +0 -1
  85. package/dist/components/Flex/index.d.ts.map +0 -1
  86. package/dist/components/Grid/Grid.d.ts.map +0 -1
  87. package/dist/components/Grid/index.d.ts.map +0 -1
  88. package/dist/components/Panel/Panel.d.ts.map +0 -1
  89. package/dist/components/Panel/index.d.ts.map +0 -1
  90. package/dist/components/Ripple/Ripple.d.ts.map +0 -1
  91. package/dist/components/Ripple/index.d.ts.map +0 -1
  92. package/dist/components/SearchInput/SearchInput.d.ts +0 -8
  93. package/dist/components/SearchInput/SearchInput.d.ts.map +0 -1
  94. package/dist/components/SearchInput/index.d.ts +0 -2
  95. package/dist/components/SearchInput/index.d.ts.map +0 -1
  96. package/dist/components/SvgButton/SvgButton.d.ts.map +0 -1
  97. package/dist/components/SvgButton/index.d.ts.map +0 -1
  98. package/dist/components/Tappable/Tappable.d.ts.map +0 -1
  99. package/dist/components/Tappable/helpers.d.ts.map +0 -1
  100. package/dist/components/Tappable/index.d.ts.map +0 -1
  101. package/dist/compositions/Profile/Profile.d.ts +0 -6
  102. package/dist/compositions/Profile/Profile.d.ts.map +0 -1
  103. package/dist/compositions/Profile/index.d.ts +0 -2
  104. package/dist/compositions/Profile/index.d.ts.map +0 -1
  105. /package/dist/{components → internal}/ClearableInput/index.d.ts +0 -0
  106. /package/dist/{components → internal}/Container/Container.d.ts +0 -0
  107. /package/dist/{components → internal}/Container/index.d.ts +0 -0
  108. /package/dist/{components → internal}/EllipsisText/EllipsisText.d.ts +0 -0
  109. /package/dist/{components → internal}/EllipsisText/index.d.ts +0 -0
  110. /package/dist/{components → internal}/Flex/Flex.d.ts +0 -0
  111. /package/dist/{components → internal}/Flex/index.d.ts +0 -0
  112. /package/dist/{components → internal}/Grid/Grid.d.ts +0 -0
  113. /package/dist/{components → internal}/Grid/index.d.ts +0 -0
  114. /package/dist/{components → internal}/Panel/Panel.d.ts +0 -0
  115. /package/dist/{components → internal}/Panel/index.d.ts +0 -0
  116. /package/dist/{components → internal}/Ripple/Ripple.d.ts +0 -0
  117. /package/dist/{components → internal}/Ripple/index.d.ts +0 -0
  118. /package/dist/{components → internal}/SvgButton/SvgButton.d.ts +0 -0
  119. /package/dist/{components → internal}/SvgButton/index.d.ts +0 -0
  120. /package/dist/{components → internal}/Tappable/Tappable.d.ts +0 -0
  121. /package/dist/{components → internal}/Tappable/helpers.d.ts +0 -0
  122. /package/dist/{components → internal}/Tappable/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/parts/AvatarContainer/AvatarContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5F,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAI/E,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,SAAS,GAAG,mBAAmB,GAAG,gBAAgB,CAAC;AACvG,MAAM,MAAM,mBAAmB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;AACzH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IAC9E,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAC1B,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAC1B,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;IAChE,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,iBAAiB,CAAC,EAAE,SAAS,CAAA;CAC9B;AAED,eAAO,MAAM,eAAe,8HAiE1B,CAAC"}
1
+ {"version":3,"file":"AvatarContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/parts/AvatarContainer/AvatarContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5F,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAI/E,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,SAAS,GAAG,mBAAmB,GAAG,gBAAgB,CAAC;AACvG,MAAM,MAAM,mBAAmB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;AACzH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW;IAC9E,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAC1B,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAC1B,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;IAChE,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,iBAAiB,CAAC,EAAE,SAAS,CAAA;CAC9B;AAED,eAAO,MAAM,eAAe,8HAoE1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarOnlineDot.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAMxD,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG;AAEvE,eAAO,MAAM,eAAe,+HAyB1B,CAAC"}
1
+ {"version":3,"file":"AvatarOnlineDot.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar/parts/AvatarOnlineDot/AvatarOnlineDot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAMxD,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,MAAM,CAAC;CAAG;AAEvE,eAAO,MAAM,eAAe,+HA6B1B,CAAC"}
@@ -1,13 +1,11 @@
1
1
  import { type ComponentProps, type ReactNode } from 'react';
2
2
  import { type AsChildProp, type InnerClassNamesProp } from '../../types';
3
- export type ButtonSize = 'small' | 'medium' | 'large';
4
- export type ButtonMode = 'primary' | 'secondary' | 'tertiary' | 'link';
5
- export type ButtonAppearance = 'themed' | 'negative' | 'neutral' | 'neutral-themed' | 'contrast-static';
3
+ export type ButtonSize = 'xsmall' | 'small' | 'medium' | 'large';
4
+ export type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'primary-contrast' | 'secondary-contrast' | 'overlay' | 'destructive';
6
5
  export type ButtonInnerElementKey = 'iconBefore' | 'iconAfter' | 'indicator' | 'content' | 'spinnerContainer' | 'spinner';
7
6
  export interface ButtonProps extends ComponentProps<'button'>, AsChildProp {
8
7
  size?: ButtonSize;
9
- mode?: ButtonMode;
10
- appearance?: ButtonAppearance;
8
+ variant?: ButtonVariant;
11
9
  stretched?: boolean;
12
10
  iconBefore?: ReactNode;
13
11
  iconAfter?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAwD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAOzE,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AACvE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;AACxG,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAAC;AAE1H,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW;IACxE,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,eAAe,CAAC,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,CAAA;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,MAAM,wHAqGjB,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAwD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAKzE,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AACjE,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,kBAAkB,GAAG,oBAAoB,GAAG,SAAS,GAAG,aAAa,CAAC;AACtI,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAAC;AAE1H,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW;IACxE,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,eAAe,CAAC,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,CAAA;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,MAAM,wHAoGjB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type CounterProps } from '../Counter';
3
3
  import { type SpinnerAppearance } from '../Spinner';
4
- import { type ButtonAppearance, type ButtonMode, type ButtonSize } from './Button';
4
+ import { type ButtonSize, type ButtonVariant } from './Button';
5
5
  export declare const getButtonSpinnerSize: (buttonSize: ButtonSize) => number;
6
- export declare const getButtonSpinnerAppearance: (buttonAppearance: ButtonAppearance, buttonMode: ButtonMode) => SpinnerAppearance;
7
- export declare const getButtonCounterAppearance: (buttonAppearance: ButtonAppearance, buttonMode: ButtonMode) => Pick<CounterProps, "appearance" | "mode">;
8
- export declare const injectButtonIndicator: (indicatorNode: ReactNode, buttonAppearance: ButtonAppearance, buttonMode: ButtonMode, disabled?: boolean) => ReactNode;
6
+ export declare const getButtonSpinnerAppearance: (buttonVariant: ButtonVariant) => SpinnerAppearance;
7
+ export declare const getButtonCounterAppearance: (buttonVariant: ButtonVariant) => Pick<CounterProps, "variant">;
8
+ export declare const injectButtonIndicator: (indicatorNode: ReactNode, buttonVariant: ButtonVariant) => ReactNode;
9
9
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/Button/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExF,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAEnF,eAAO,MAAM,oBAAoB,GAAI,YAAY,UAAU,KAAG,MAK7D,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,kBAAkB,gBAAgB,EAAE,YAAY,UAAU,KAAG,iBAmBvG,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,kBAAkB,gBAAgB,EAAE,YAAY,UAAU,KAAG,IAAI,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAY/I,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,eAAe,SAAS,EAAE,kBAAkB,gBAAgB,EAAE,YAAY,UAAU,EAAE,WAAW,OAAO,KAAG,SAgBhJ,CAAC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/Button/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExF,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAE/D,eAAO,MAAM,oBAAoB,GAAI,YAAY,UAAU,KAAG,MAM7D,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,eAAe,aAAa,KAAG,iBAczE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,eAAe,aAAa,KAAG,IAAI,CAAC,YAAY,EAAE,SAAS,CAiBrG,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,eAAe,SAAS,EAAE,eAAe,aAAa,KAAG,SAe9F,CAAC"}
@@ -1,2 +1,2 @@
1
- export { Button, type ButtonAppearance, type ButtonInnerElementKey, type ButtonMode, type ButtonProps, type ButtonSize } from './Button';
1
+ export { Button, type ButtonInnerElementKey, type ButtonProps, type ButtonSize, type ButtonVariant } from './Button';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,qBAAqB,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CellAction.d.ts","sourceRoot":"","sources":["../../../src/components/CellAction/CellAction.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAI1F,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzE,UAAU,kBAAmB,SAAQ,WAAW;IAC9C,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;CACjE;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAAC;AAEvF,eAAO,MAAM,UAAU,4HAmDrB,CAAC"}
1
+ {"version":3,"file":"CellAction.d.ts","sourceRoot":"","sources":["../../../src/components/CellAction/CellAction.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKxE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAG1F,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,aAAa,GAAG,QAAQ,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzE,UAAU,kBAAmB,SAAQ,WAAW;IAC9C,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;CACjE;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAAC;AAEvF,eAAO,MAAM,UAAU,4HAsDrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CellInput.d.ts","sourceRoot":"","sources":["../../../src/components/CellInput/CellInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAKvD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,CAAC;AACnD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,GAAG,MAAM,CAAC;AAE9E,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,OAAO,CAAC;IAC7D,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,eAAe,CAAC,EAAE,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;CAC3D;AAED,eAAO,MAAM,SAAS,0HA2CpB,CAAC"}
1
+ {"version":3,"file":"CellInput.d.ts","sourceRoot":"","sources":["../../../src/components/CellInput/CellInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGvD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,CAAC;AACnD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,GAAG,MAAM,CAAC;AAE9E,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,OAAO,CAAC;IAC7D,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,eAAe,CAAC,EAAE,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;CAC3D;AAED,eAAO,MAAM,SAAS,0HA2CpB,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { type ComponentProps, type ElementType, type ReactNode } from 'react';
2
2
  import { type AsChildProp, type InnerClassNamesProp, type MergeProps } from '../../types';
3
3
  export type CellSimpleHeight = 'compact' | 'normal';
4
- export type CellSimpleInnerElementKey = 'before' | 'after' | 'chevron' | 'content' | 'title' | 'subtitle' | 'overline';
4
+ export type CellSimpleInnerElementKey = 'before' | 'after' | 'chevron' | 'content' | 'title' | 'subtitle' | 'overline' | 'link';
5
+ export type Appearance = 'default' | 'promo' | 'themed' | 'attention';
5
6
  interface CellSimpleOwnProps extends AsChildProp {
6
7
  height?: CellSimpleHeight;
7
8
  innerClassNames?: InnerClassNamesProp<CellSimpleInnerElementKey>;
@@ -13,6 +14,8 @@ interface CellSimpleOwnProps extends AsChildProp {
13
14
  showChevron?: boolean;
14
15
  as?: ElementType;
15
16
  disabled?: boolean;
17
+ separator?: boolean;
18
+ link?: string;
16
19
  }
17
20
  export type CellSimpleProps = MergeProps<ComponentProps<'div'>, CellSimpleOwnProps>;
18
21
  export declare const CellSimple: import("react").ForwardRefExoticComponent<Omit<CellSimpleProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"CellSimple.d.ts","sourceRoot":"","sources":["../../../src/components/CellSimple/CellSimple.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1F,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAI1F,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAEvH,UAAU,kBAAmB,SAAQ,WAAW;IAC9C,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;IAChE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC,CAAC;AAEpF,eAAO,MAAM,UAAU,yHA4ErB,CAAC"}
1
+ {"version":3,"file":"CellSimple.d.ts","sourceRoot":"","sources":["../../../src/components/CellSimple/CellSimple.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK1F,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAG1F,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;AAChI,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAA;AAErE,UAAU,kBAAmB,SAAQ,WAAW;IAC9C,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;IAChE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC,CAAC;AAEpF,eAAO,MAAM,UAAU,yHA4FrB,CAAC"}
@@ -1,13 +1,9 @@
1
1
  import { type ComponentProps } from 'react';
2
- export type CounterAppearance = 'themed' | 'neutral' | 'neutral-themed' | 'neutral-static' | 'negative';
3
- export type CounterMode = 'filled' | 'inverse';
2
+ export type CounterVariant = 'primary' | 'primary-contrast' | 'attention' | 'attention-contrast' | 'promo' | 'static' | 'static-contrast' | 'default' | 'mute' | 'menu';
4
3
  export interface CounterProps extends ComponentProps<'span'> {
5
4
  value: number;
5
+ variant?: CounterVariant;
6
6
  rounded?: boolean;
7
- appearance?: CounterAppearance;
8
- disabled?: boolean;
9
- muted?: boolean;
10
- mode?: CounterMode;
11
7
  }
12
8
  export declare const Counter: import("react").ForwardRefExoticComponent<Omit<CounterProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
13
9
  //# sourceMappingURL=Counter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Counter.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/Counter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,OAAO,CAAC;AAIjE,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,SAAS,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,UAAU,CAAC;AAExG,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/C,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,MAAM,CAAC;IAC1D,KAAK,EAAE,MAAM,CAAA;IAEb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB;AAED,eAAO,MAAM,OAAO,uHAkClB,CAAC"}
1
+ {"version":3,"file":"Counter.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/Counter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,OAAO,CAAC;AAIjE,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,oBAAoB,GAAG,OAAO,GAAG,QAAQ,GAAG,iBAAiB,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAExK,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,MAAM,CAAC;IAC1D,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,OAAO,uHA0BlB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { Counter, type CounterAppearance, type CounterMode, type CounterProps } from './Counter';
1
+ export { Counter, type CounterProps, type CounterVariant } from './Counter';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC"}
@@ -3,5 +3,8 @@ export type DotAppearance = 'themed' | 'contrast-pinned' | 'neutral-fade' | 'acc
3
3
  export interface DotProps extends ComponentProps<'span'> {
4
4
  appearance?: DotAppearance;
5
5
  }
6
+ /**
7
+ * @deprecated Компонент будет удален в грядущей минорной версии.
8
+ */
6
9
  export declare const Dot: import("react").ForwardRefExoticComponent<Omit<DotProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
7
10
  //# sourceMappingURL=Dot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dot.d.ts","sourceRoot":"","sources":["../../../src/components/Dot/Dot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,iBAAiB,GAAG,cAAc,GAAG,YAAY,GAAG,SAAS,CAAC;AAErG,MAAM,WAAW,QAAS,SAAQ,cAAc,CAAC,MAAM,CAAC;IACtD,UAAU,CAAC,EAAE,aAAa,CAAA;CAC3B;AAED,eAAO,MAAM,GAAG,mHAgBd,CAAC"}
1
+ {"version":3,"file":"Dot.d.ts","sourceRoot":"","sources":["../../../src/components/Dot/Dot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,iBAAiB,GAAG,cAAc,GAAG,YAAY,GAAG,SAAS,CAAC;AAErG,MAAM,WAAW,QAAS,SAAQ,cAAc,CAAC,MAAM,CAAC;IACtD,UAAU,CAAC,EAAE,aAAa,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,GAAG,mHAgBd,CAAC"}
@@ -1,13 +1,12 @@
1
1
  import { type ComponentProps } from 'react';
2
2
  import { type AsChildProp, type InnerClassNamesProp } from '../../types';
3
- export type IconButtonSize = 'small' | 'medium' | 'large';
4
- export type IconButtonMode = 'primary' | 'secondary' | 'tertiary' | 'link';
5
- export type IconButtonAppearance = 'themed' | 'negative' | 'neutral' | 'neutral-themed' | 'contrast-static';
3
+ import { type ButtonVariant } from '../Button';
4
+ export type IconButtonSize = 'xsmall' | 'small' | 'medium' | 'large';
5
+ export type IconButtonVariant = ButtonVariant;
6
6
  export type IconButtonInnerElementKey = 'content' | 'spinnerContainer' | 'spinner';
7
7
  export interface IconButtonProps extends ComponentProps<'button'>, AsChildProp {
8
8
  size?: IconButtonSize;
9
- mode?: IconButtonMode;
10
- appearance?: IconButtonAppearance;
9
+ variant?: IconButtonVariant;
11
10
  disabled?: boolean;
12
11
  loading?: boolean;
13
12
  innerClassNames?: InnerClassNamesProp<IconButtonInnerElementKey>;
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAgC,MAAM,OAAO,CAAC;AAI1E,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAMzE,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,gBAAgB,GAAG,iBAAiB,CAAC;AAC5G,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAAC;AAEnF,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW;IAC5E,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;CACjE;AAED,eAAO,MAAM,UAAU,4HAmErB,CAAC"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAgC,MAAM,OAAO,CAAC;AAK1E,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAK/C,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC9C,MAAM,MAAM,yBAAyB,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAAC;AAEnF,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW;IAC5E,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;CACjE;AAED,eAAO,MAAM,UAAU,4HAoErB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type SpinnerAppearance } from '../Spinner';
2
- import { type IconButtonAppearance, type IconButtonMode, type IconButtonSize } from './IconButton';
2
+ import { type IconButtonSize, type IconButtonVariant } from './IconButton';
3
3
  export declare const getIconButtonSpinnerSize: (iconButtonSize: IconButtonSize) => number;
4
- export declare const getIconButtonSpinnerAppearance: (iconButtonAppearance: IconButtonAppearance, iconButtonMode: IconButtonMode) => SpinnerAppearance;
4
+ export declare const getIconButtonSpinnerAppearance: (iconButtonVariant: IconButtonVariant) => SpinnerAppearance;
5
5
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnG,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,cAAc,KAAG,MAKzE,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,sBAAsB,oBAAoB,EAAE,gBAAgB,cAAc,KAAG,iBAqB3H,CAAC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAE3E,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,cAAc,KAAG,MAMzE,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,mBAAmB,iBAAiB,KAAG,iBAcrF,CAAC"}
@@ -1,2 +1,2 @@
1
- export { IconButton, type IconButtonAppearance, type IconButtonInnerElementKey, type IconButtonMode, type IconButtonProps, type IconButtonSize } from './IconButton';
1
+ export { IconButton, type IconButtonInnerElementKey, type IconButtonProps, type IconButtonSize, type IconButtonVariant } from './IconButton';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,yBAAyB,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC"}
@@ -1,14 +1,17 @@
1
1
  import { type ComponentProps, type ReactNode } from 'react';
2
2
  import { type InnerClassNamesProp } from '../../types';
3
- export type InputMode = 'primary' | 'secondary';
4
- export type InputElementKey = 'input' | 'clearButton' | 'body' | 'iconBefore' | 'iconAfter';
5
- export interface InputProps extends ComponentProps<'input'> {
3
+ export type InputMode = 'default' | 'contrast';
4
+ export type InputSize = 'large' | 'medium';
5
+ export type InputElementKey = 'container' | 'input' | 'clearButton' | 'body' | 'iconBefore' | 'iconAfter' | 'hint';
6
+ export interface InputProps extends Omit<ComponentProps<'input'>, 'size'> {
6
7
  mode?: InputMode;
7
- compact?: boolean;
8
+ size?: InputSize;
8
9
  iconBefore?: ReactNode;
9
10
  iconAfter?: ReactNode;
10
11
  innerClassNames?: InnerClassNamesProp<InputElementKey>;
11
12
  withClearButton?: boolean;
13
+ count?: number;
14
+ hint?: ReactNode;
12
15
  }
13
16
  export declare const Input: import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
14
17
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAChD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,aAAa,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC;AAE5F,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,OAAO,CAAC;IACzD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,eAAe,CAAC,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAA;IACtD,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,eAAO,MAAM,KAAK,sHAgDhB,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EACP,KAAK,SAAS,EAC3B,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGvD,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAC/C,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC3C,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,GAAG,MAAM,CAAC;AAEnH,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IACvE,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,eAAe,CAAC,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAA;IACtD,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,eAAO,MAAM,KAAK,sHAoDhB,CAAC"}
@@ -1,9 +1,3 @@
1
- import { type ComponentProps } from 'react';
2
- export type SpinnerAppearance = 'primary' | 'themed' | 'neutral-themed' | 'primary-static' | 'contrast' | 'contrast-static' | 'negative';
3
- export type SpinnerSize = 20 | 24 | number;
4
- export interface SpinnerProps extends ComponentProps<'span'> {
5
- size?: SpinnerSize;
6
- appearance?: SpinnerAppearance;
7
- }
1
+ import { type SpinnerProps } from './types';
8
2
  export declare const Spinner: import("react").ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
9
3
  //# sourceMappingURL=Spinner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,QAAQ,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,UAAU,GAAG,iBAAiB,GAAG,UAAU,CAAC;AACzI,MAAM,MAAM,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;AAE3C,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,MAAM,CAAC;IAC1D,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B;AAED,eAAO,MAAM,OAAO,uHAqClB,CAAC"}
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,OAAO,uHA0BlB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type ReactElement } from 'react';
2
+ import { type SpinnerPlatformProps } from './types';
3
+ export declare const SpinnerAndroid: ({ size }: SpinnerPlatformProps) => ReactElement;
4
+ //# sourceMappingURL=SpinnerAndroid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpinnerAndroid.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/SpinnerAndroid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,cAAc,GAAI,UAAU,oBAAoB,KAAG,YAI/D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type ReactElement } from 'react';
2
+ import { type SpinnerPlatformProps } from './types';
3
+ export declare const SpinnerIos: ({ size }: SpinnerPlatformProps) => ReactElement;
4
+ //# sourceMappingURL=SpinnerIos.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpinnerIos.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/SpinnerIos.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAIpD,eAAO,MAAM,UAAU,GAAI,UAAU,oBAAoB,KAAG,YAU3D,CAAC"}
@@ -1,2 +1,3 @@
1
- export { Spinner, type SpinnerAppearance, type SpinnerProps, type SpinnerSize } from './Spinner';
1
+ export { Spinner } from './Spinner';
2
+ export { type SpinnerAppearance, type SpinnerProps, type SpinnerSize } from './types';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type ComponentProps } from 'react';
2
+ export type SpinnerAppearance = 'primary' | 'themed' | 'neutral-themed' | 'primary-static' | 'contrast' | 'contrast-static' | 'negative';
3
+ export type SpinnerSize = 20 | 24 | number;
4
+ export interface SpinnerProps extends ComponentProps<'span'> {
5
+ size?: SpinnerSize;
6
+ appearance?: SpinnerAppearance;
7
+ }
8
+ export interface SpinnerPlatformProps {
9
+ size?: SpinnerSize;
10
+ }
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,QAAQ,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,UAAU,GAAG,iBAAiB,GAAG,UAAU,CAAC;AACzI,MAAM,MAAM,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;AAE3C,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,MAAM,CAAC;IAC1D,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAA;CAC/B;AACD,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB"}
@@ -1,5 +1,8 @@
1
1
  import { type ComponentProps } from 'react';
2
2
  export interface SwitchProps extends ComponentProps<'input'> {
3
3
  }
4
+ /**
5
+ * @deprecated Компонент будет удален в грядущей минорной версии.
6
+ */
4
7
  export declare const Switch: import("react").ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
5
8
  //# sourceMappingURL=Switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAKxD,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,OAAO,CAAC;CAAG;AAE/D,eAAO,MAAM,MAAM,uHA6BjB,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAKxD,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,OAAO,CAAC;CAAG;AAE/D;;GAEG;AACH,eAAO,MAAM,MAAM,uHA6BjB,CAAC"}
@@ -7,5 +7,8 @@ export interface ToolButtonProps extends ComponentProps<'button'>, AsChildProp {
7
7
  innerClassNames?: InnerClassNamesProp<ToolButtonElementKey>;
8
8
  appearance?: ToolButtonAppearance;
9
9
  }
10
+ /**
11
+ * @deprecated Компонент будет удален в грядущей минорной версии.
12
+ */
10
13
  export declare const ToolButton: import("react").ForwardRefExoticComponent<Omit<ToolButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
11
14
  //# sourceMappingURL=ToolButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolButton.d.ts","sourceRoot":"","sources":["../../../src/components/ToolButton/ToolButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAKzE,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,WAAW,CAAC;AAC3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW;IAC5E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,eAAe,CAAC,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAA;IAC3D,UAAU,CAAC,EAAE,oBAAoB,CAAA;CAClC;AAED,eAAO,MAAM,UAAU,4HAqDrB,CAAC"}
1
+ {"version":3,"file":"ToolButton.d.ts","sourceRoot":"","sources":["../../../src/components/ToolButton/ToolButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGzE,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,WAAW,CAAC;AAC3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW;IAC5E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,eAAe,CAAC,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAA;IAC3D,UAAU,CAAC,EAAE,oBAAoB,CAAA;CAClC;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,4HAwDrB,CAAC"}
@@ -5,22 +5,12 @@ export * from './CellHeader';
5
5
  export * from './CellInput';
6
6
  export * from './CellList';
7
7
  export * from './CellSimple';
8
- export * from './Container';
9
8
  export * from './Counter';
10
- export * from './Dot';
11
- export * from './EllipsisText';
12
- export * from './Flex';
13
- export * from './Grid';
14
9
  export * from './IconButton';
15
10
  export * from './Input';
16
11
  export * from './MaxUI';
17
- export * from './Panel';
18
- export * from './Ripple';
19
- export * from './SearchInput';
20
12
  export * from './Spinner';
21
- export * from './SvgButton';
22
13
  export * from './Switch';
23
- export * from './Tappable';
24
14
  export * from './Textarea';
25
15
  export * from './ToolButton';
26
16
  export * from './Typography';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -1,2 +1,7 @@
1
- export declare const dispatchChangeNativeEvent: (el: HTMLElement, value?: string) => void;
1
+ interface DispatchChangeNativeEventProps {
2
+ el: HTMLElement;
3
+ value?: string;
4
+ }
5
+ export declare const dispatchChangeNativeEvent: (props: DispatchChangeNativeEventProps) => void;
6
+ export {};
2
7
  //# sourceMappingURL=dispatch-change-native-event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dispatch-change-native-event.d.ts","sourceRoot":"","sources":["../../src/helpers/dispatch-change-native-event.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,GAAI,IAAI,WAAW,EAAE,QAAO,MAAW,KAAG,IAM/E,CAAC"}
1
+ {"version":3,"file":"dispatch-change-native-event.d.ts","sourceRoot":"","sources":["../../src/helpers/dispatch-change-native-event.ts"],"names":[],"mappings":"AAAA,UAAU,8BAA8B;IACtC,EAAE,EAAE,WAAW,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,yBAAyB,GAAI,OAAO,8BAA8B,KAAG,IAOjF,CAAC"}
@@ -8,8 +8,12 @@ import { type ReactNode } from 'react';
8
8
  *
9
9
  * Reference: https://github.com/radix-ui/themes/blob/main/packages/radix-ui-themes/src/helpers/get-subtree.ts#L10
10
10
  */
11
- export declare const getSubtree: (options: {
12
- asChild: boolean | undefined;
13
- children: ReactNode;
14
- }, content: ReactNode | ((children: ReactNode) => ReactNode)) => ReactNode;
11
+ export interface GetSubtreeProps {
12
+ options: {
13
+ asChild: boolean | undefined;
14
+ children: ReactNode;
15
+ };
16
+ content: ReactNode | ((children: ReactNode) => ReactNode);
17
+ }
18
+ export declare const getSubtree: (props: GetSubtreeProps) => ReactNode;
15
19
  //# sourceMappingURL=get-subtree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-subtree.d.ts","sourceRoot":"","sources":["../../src/helpers/get-subtree.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GACrB,SAAS;IAAE,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,EAC9D,SAAS,SAAS,GAAG,CAAC,CAAC,QAAQ,EAAE,SAAS,KAAK,SAAS,CAAC,KACxD,SASF,CAAC"}
1
+ {"version":3,"file":"get-subtree.d.ts","sourceRoot":"","sources":["../../src/helpers/get-subtree.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElF;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE;QACP,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;QAC5B,QAAQ,EAAE,SAAS,CAAA;KACpB,CAAA;IACD,OAAO,EAAE,SAAS,GAAG,CAAC,CAAC,QAAQ,EAAE,SAAS,KAAK,SAAS,CAAC,CAAA;CAC1D;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,KAAG,SAUnD,CAAC"}
@@ -1,4 +1,8 @@
1
1
  import { type HTMLAttributeReferrerPolicy } from 'react';
2
2
  export type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
3
- export declare const useImageLoadingStatus: (src?: string, referrerPolicy?: HTMLAttributeReferrerPolicy) => ImageLoadingStatus;
3
+ export interface UseImageLoadingStatusParams {
4
+ src?: string;
5
+ referrerPolicy?: HTMLAttributeReferrerPolicy;
6
+ }
7
+ export declare const useImageLoadingStatus: (params: UseImageLoadingStatusParams) => ImageLoadingStatus;
4
8
  //# sourceMappingURL=use-image-loading-status.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-image-loading-status.d.ts","sourceRoot":"","sources":["../../src/hooks/use-image-loading-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,2BAA2B,EAA6B,MAAM,OAAO,CAAC;AAEpF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzE,eAAO,MAAM,qBAAqB,GAAI,MAAM,MAAM,EAAE,iBAAiB,2BAA2B,KAAG,kBA+BlG,CAAC"}
1
+ {"version":3,"file":"use-image-loading-status.d.ts","sourceRoot":"","sources":["../../src/hooks/use-image-loading-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,2BAA2B,EAA6B,MAAM,OAAO,CAAC;AAEpF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzE,MAAM,WAAW,2BAA2B;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,cAAc,CAAC,EAAE,2BAA2B,CAAA;CAC7C;AAED,eAAO,MAAM,qBAAqB,GAAI,QAAQ,2BAA2B,KAAG,kBAgC3E,CAAC"}
@@ -2,6 +2,6 @@ type SystemColorScheme = 'light' | 'dark';
2
2
  interface Params {
3
3
  listenChanges?: boolean;
4
4
  }
5
- export declare const useSystemColorScheme: ({ listenChanges }?: Params) => SystemColorScheme;
5
+ export declare const useSystemColorScheme: (params?: Params) => SystemColorScheme;
6
6
  export {};
7
7
  //# sourceMappingURL=use-system-color-scheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-system-color-scheme.d.ts","sourceRoot":"","sources":["../../src/hooks/use-system-color-scheme.ts"],"names":[],"mappings":"AAIA,KAAK,iBAAiB,GAAG,OAAO,GAAG,MAAM,CAAC;AAE1C,UAAU,MAAM;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,oBAAoB,GAAI,oBAAmB,MAAW,KAAG,iBA2BrE,CAAC"}
1
+ {"version":3,"file":"use-system-color-scheme.d.ts","sourceRoot":"","sources":["../../src/hooks/use-system-color-scheme.ts"],"names":[],"mappings":"AAIA,KAAK,iBAAiB,GAAG,OAAO,GAAG,MAAM,CAAC;AAE1C,UAAU,MAAM;IACd,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAQ,MAAW,KAAG,iBA4B1D,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  export * from './components';
2
+ export { getSubtree, type GetSubtreeProps, hasReactNode, mergeRefs } from './helpers';
2
3
  export * from './hooks';
3
- export { createSlot, createSlottable, Root, Slot, type SlotProps, Slottable } from '@radix-ui/react-slot';
4
+ export * from './icons';
5
+ export type { AsChildProp, ColorSchemeType, InnerClassNamesProp, MergeProps, PlatformType } from './types';
6
+ export { Slot, type SlotProps, Slottable } from '@radix-ui/react-slot';
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtF,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}