@progress/kendo-react-common 7.2.4-develop.2 → 7.2.4-develop.4

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 (203) hide show
  1. package/Draggable.js +8 -0
  2. package/Draggable.mjs +79 -0
  3. package/Droppable.js +8 -0
  4. package/Droppable.mjs +64 -0
  5. package/FormComponent.js +8 -0
  6. package/FormComponent.mjs +13 -0
  7. package/browser-support.service.js +8 -0
  8. package/browser-support.service.mjs +25 -0
  9. package/canUseDOM.js +8 -0
  10. package/canUseDOM.mjs +13 -0
  11. package/canUseRef.js +8 -0
  12. package/canUseRef.mjs +15 -0
  13. package/classNames.js +8 -0
  14. package/classNames.mjs +17 -0
  15. package/clone.js +8 -0
  16. package/clone.mjs +44 -0
  17. package/constants/index.js +8 -0
  18. package/constants/index.mjs +12 -0
  19. package/contexts/ZIndexContext.js +8 -0
  20. package/contexts/ZIndexContext.mjs +15 -0
  21. package/dist/cdn/js/kendo-react-common.js +8 -5
  22. package/drag-n-drop/context/index.js +8 -0
  23. package/drag-n-drop/context/index.mjs +23 -0
  24. package/drag-n-drop/index.js +8 -0
  25. package/drag-n-drop/index.mjs +46 -0
  26. package/events/dispatchEvent.js +8 -0
  27. package/events/dispatchEvent.mjs +21 -0
  28. package/fieldList.js +8 -0
  29. package/fieldList.mjs +18 -0
  30. package/getActiveElement.js +8 -0
  31. package/getActiveElement.mjs +19 -0
  32. package/getTabIndex.js +8 -0
  33. package/getTabIndex.mjs +16 -0
  34. package/getter.js +8 -0
  35. package/getter.mjs +26 -0
  36. package/guid.js +8 -0
  37. package/guid.mjs +17 -0
  38. package/hasRelativeStackingContext.js +8 -0
  39. package/hasRelativeStackingContext.mjs +25 -0
  40. package/hocs/AsyncFocusBlur.js +8 -0
  41. package/hocs/AsyncFocusBlur.mjs +23 -0
  42. package/hocs/use-id-hoc.js +8 -0
  43. package/hocs/use-id-hoc.mjs +17 -0
  44. package/hocs/withPropsContext.js +8 -0
  45. package/hocs/withPropsContext.mjs +18 -0
  46. package/hooks/use-id.js +8 -0
  47. package/hooks/use-id.mjs +35 -0
  48. package/hooks/use-isomorphic-layout-effect.js +8 -0
  49. package/hooks/use-isomorphic-layout-effect.mjs +13 -0
  50. package/hooks/useAsyncFocusBlur.js +8 -0
  51. package/hooks/useAsyncFocusBlur.mjs +38 -0
  52. package/hooks/useCollection.js +8 -0
  53. package/hooks/useCollection.mjs +32 -0
  54. package/hooks/useControlledState.js +8 -0
  55. package/hooks/useControlledState.mjs +21 -0
  56. package/hooks/useCustomComponent.js +8 -0
  57. package/hooks/useCustomComponent.mjs +22 -0
  58. package/hooks/useDir.js +8 -0
  59. package/hooks/useDir.mjs +24 -0
  60. package/hooks/useDocument.js +8 -0
  61. package/hooks/useDocument.mjs +22 -0
  62. package/hooks/useDraggable.js +8 -0
  63. package/hooks/useDraggable.mjs +308 -0
  64. package/hooks/useDroppable.js +8 -0
  65. package/hooks/useDroppable.mjs +67 -0
  66. package/hooks/useInheritedState.js +8 -0
  67. package/hooks/useInheritedState.mjs +21 -0
  68. package/hooks/useMouse.js +8 -0
  69. package/hooks/useMouse.mjs +98 -0
  70. package/hooks/usePropsContext.js +8 -0
  71. package/hooks/usePropsContext.mjs +13 -0
  72. package/hooks/useRtl.js +8 -0
  73. package/hooks/useRtl.mjs +24 -0
  74. package/hooks/useWindow.js +8 -0
  75. package/hooks/useWindow.mjs +20 -0
  76. package/icons/Icon.js +8 -0
  77. package/icons/Icon.mjs +92 -0
  78. package/icons/IconWrap.js +8 -0
  79. package/icons/IconWrap.mjs +24 -0
  80. package/icons/IconsContext.js +8 -0
  81. package/icons/IconsContext.mjs +14 -0
  82. package/icons/SvgIcon.js +8 -0
  83. package/icons/SvgIcon.mjs +124 -0
  84. package/icons/constants.js +8 -0
  85. package/icons/constants.mjs +21 -0
  86. package/icons/utils.js +8 -0
  87. package/icons/utils.mjs +19 -0
  88. package/index.d.mts +1771 -5
  89. package/index.d.ts +1771 -65
  90. package/index.js +8 -5
  91. package/index.mjs +147 -1812
  92. package/keys.js +8 -0
  93. package/keys.mjs +28 -0
  94. package/memoize.js +8 -0
  95. package/memoize.mjs +38 -0
  96. package/navigation.js +8 -0
  97. package/navigation.mjs +97 -0
  98. package/noop.js +8 -0
  99. package/noop.mjs +13 -0
  100. package/package.json +1 -1
  101. package/scrollbarWidth.js +8 -0
  102. package/scrollbarWidth.mjs +20 -0
  103. package/setter.js +8 -0
  104. package/setter.mjs +27 -0
  105. package/theme.js +8 -0
  106. package/theme.mjs +27 -0
  107. package/trappedFocus.js +8 -0
  108. package/trappedFocus.mjs +58 -0
  109. package/tree-utils/FieldsService.js +8 -0
  110. package/tree-utils/FieldsService.mjs +48 -0
  111. package/tree-utils/SortedPublicItemIds.js +8 -0
  112. package/tree-utils/SortedPublicItemIds.mjs +24 -0
  113. package/tree-utils/itemIdUtils.js +8 -0
  114. package/tree-utils/itemIdUtils.mjs +87 -0
  115. package/tree-utils/itemUtils.js +8 -0
  116. package/tree-utils/itemUtils.mjs +118 -0
  117. package/tree-utils/misc.js +8 -0
  118. package/tree-utils/misc.mjs +22 -0
  119. package/treeDataOperations.js +8 -0
  120. package/treeDataOperations.mjs +45 -0
  121. package/typography/Typography.js +8 -0
  122. package/typography/Typography.mjs +110 -0
  123. package/typography/constants.js +8 -0
  124. package/typography/constants.mjs +71 -0
  125. package/validate-package.js +8 -0
  126. package/validate-package.mjs +20 -0
  127. package/watermark/WatermarkOverlay.js +8 -0
  128. package/watermark/WatermarkOverlay.mjs +93 -0
  129. package/Draggable.d.ts +0 -90
  130. package/Droppable.d.ts +0 -81
  131. package/FormComponent.d.ts +0 -167
  132. package/browser-support.service.d.ts +0 -11
  133. package/canUseDOM.d.ts +0 -8
  134. package/canUseRef.d.ts +0 -9
  135. package/classNames.d.ts +0 -8
  136. package/clone.d.ts +0 -24
  137. package/constants/index.d.ts +0 -8
  138. package/contexts/ZIndexContext.d.ts +0 -11
  139. package/drag-n-drop/context/index.d.ts +0 -23
  140. package/drag-n-drop/index.d.ts +0 -25
  141. package/events/BaseEvent.d.ts +0 -22
  142. package/events/dispatchEvent.d.ts +0 -18
  143. package/fieldList.d.ts +0 -8
  144. package/focus.d.ts +0 -8
  145. package/getActiveElement.d.ts +0 -12
  146. package/getTabIndex.d.ts +0 -8
  147. package/getter.d.ts +0 -18
  148. package/guid.d.ts +0 -8
  149. package/hasRelativeStackingContext.d.ts +0 -6
  150. package/hocs/AsyncFocusBlur.d.ts +0 -17
  151. package/hocs/use-id-hoc.d.ts +0 -7
  152. package/hocs/withPropsContext.d.ts +0 -9
  153. package/hooks/index.d.ts +0 -16
  154. package/hooks/use-id.d.ts +0 -6
  155. package/hooks/use-isomorphic-layout-effect.d.ts +0 -7
  156. package/hooks/useAsyncFocusBlur.d.ts +0 -29
  157. package/hooks/useCollection.d.ts +0 -18
  158. package/hooks/useControlledState.d.ts +0 -11
  159. package/hooks/useCustomComponent.d.ts +0 -15
  160. package/hooks/useDir.d.ts +0 -9
  161. package/hooks/useDocument.d.ts +0 -11
  162. package/hooks/useDraggable.d.ts +0 -67
  163. package/hooks/useDroppable.d.ts +0 -32
  164. package/hooks/useInheritedState.d.ts +0 -17
  165. package/hooks/useMouse.d.ts +0 -24
  166. package/hooks/usePropsContext.d.ts +0 -7
  167. package/hooks/useRtl.d.ts +0 -9
  168. package/hooks/useWindow.d.ts +0 -11
  169. package/icons/BaseIconProps.d.ts +0 -76
  170. package/icons/Icon.d.ts +0 -39
  171. package/icons/IconWrap.d.ts +0 -11
  172. package/icons/IconsContext.d.ts +0 -25
  173. package/icons/SvgIcon.d.ts +0 -75
  174. package/icons/constants.d.ts +0 -17
  175. package/icons/models/flip.d.ts +0 -15
  176. package/icons/models/size.d.ts +0 -19
  177. package/icons/models/theme-color.d.ts +0 -25
  178. package/icons/utils.d.ts +0 -21
  179. package/keys.d.ts +0 -24
  180. package/memoize.d.ts +0 -14
  181. package/models/auto-scroll-options.d.ts +0 -26
  182. package/models/index.d.ts +0 -9
  183. package/models/kendoReactComponentBaseProps.d.ts +0 -27
  184. package/models/mouse.d.ts +0 -20
  185. package/models/pointer.d.ts +0 -27
  186. package/models/touch.d.ts +0 -21
  187. package/navigation.d.ts +0 -131
  188. package/noop.d.ts +0 -8
  189. package/scrollbarWidth.d.ts +0 -12
  190. package/setter.d.ts +0 -20
  191. package/theme.d.ts +0 -12
  192. package/tree-utils/FieldsService.d.ts +0 -29
  193. package/tree-utils/SortedPublicItemIds.d.ts +0 -12
  194. package/tree-utils/itemIdUtils.d.ts +0 -64
  195. package/tree-utils/itemUtils.d.ts +0 -49
  196. package/tree-utils/misc.d.ts +0 -12
  197. package/treeDataOperations.d.ts +0 -43
  198. package/typography/Typography.d.ts +0 -39
  199. package/typography/TypographyProps.d.ts +0 -124
  200. package/typography/constants.d.ts +0 -88
  201. package/typography/models/margin.d.ts +0 -27
  202. package/validate-package.d.ts +0 -13
  203. package/watermark/WatermarkOverlay.d.ts +0 -9
@@ -1,124 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { KendoReactComponentBaseProps } from '../models/kendoReactComponentBaseProps';
6
- import { MarginEnum } from './models/margin';
7
- /**
8
- * Represents the props of the [KendoReact Typography component]({% slug overview_typography %}).
9
- */
10
- export interface TypographyProps extends KendoReactComponentBaseProps {
11
- /**
12
- * Sets additional CSS styles to the element.
13
- */
14
- style?: React.CSSProperties;
15
- /**
16
- * Specifies a list of CSS classes that will be added to the element.
17
- */
18
- className?: string;
19
- /**
20
- * Overrides the font size applied by the theme typography styles
21
- * [see example]({% slug appearance_typography %}#toc-font-size).
22
- *
23
- * The possible values are:
24
- * * `xsmall`
25
- * * `small`
26
- * * `medium`
27
- * * `large`
28
- * * `xlarge`
29
- *
30
- */
31
- fontSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
32
- /**
33
- * Overrides the font weight applied by the theme typography styles
34
- * [see example]({% slug appearance_typography %}#toc-font-weight).
35
- *
36
- * The possible values are:
37
- * * `light`—font-weight: 300
38
- * * `normal`—font-weight: 400
39
- * * `bold`—For Default and Bootstrap themes—font-weight: 700. For Material theme—font-weight: 500.
40
- *
41
- */
42
- fontWeight?: 'light' | 'normal' | 'bold';
43
- /**
44
- * Specifies the applied margin to the element
45
- * [see example]({% slug appearance_typography %}#toc-margin).
46
- *
47
- * The possible values for the Default and Material themes are:
48
- * * `xsmall` —Applies 4px margin.
49
- * * `small` —Applies 8px margin.
50
- * * `medium` —Applies 12px margin.
51
- * * `large` —Applies 16px margin.
52
- * * `xlarge` —Applies 24px margin.
53
- * * `thin` —Applies 2px margin.
54
- * * `hair` —Applies 1px margin.
55
- * * `number` —Passing a number will apply a margin of 4 times the passed number in pixels. The minimum number value is 0 and the maximum is 24.
56
- * * `object` &smdash;Passing an object allows setting the margins for each side.
57
- *
58
- * The possible values for the Bootstrap theme are:
59
- * * `xsmall` —Applies 0.25rem margin.
60
- * * `small` —Applies 0.5rem margin.
61
- * * `medium` —Applies 0.75rem margin.
62
- * * `large` —Applies 1rem margin.
63
- * * `xlarge` —Applies 1.25rem margin.
64
- * * `thin` —Applies 0.125rem margin.
65
- * * `hair` —Applies 0.0625rem margin.
66
- * * `number` —Passing a number will apply a margin equal to the passed number divided by 4 in rem units.
67
- * The minimum number value is 0 and the maximum is 24.
68
- * * `object` &smdash;Passing an object allows setting the margins for each side.
69
- */
70
- margin?: MarginEnum | {
71
- top?: MarginEnum;
72
- bottom?: MarginEnum;
73
- left?: MarginEnum;
74
- right?: MarginEnum;
75
- };
76
- /**
77
- * Specifies the text align
78
- * [see example]({% slug appearance_typography %}#toc-text-align).
79
- *
80
- * The possible values are:
81
- * * `left`—Applies text-align: left
82
- * * `right`—Applies text-align: right
83
- * * `center`—Applies text-align: center
84
- * * `justify`—Applies text-align: justify
85
- *
86
- */
87
- textAlign?: 'left' | 'right' | 'center' | 'justify';
88
- /**
89
- * Specifies the text transform
90
- * [see example]({% slug appearance_typography %}#toc-text-transform).
91
- *
92
- * The possible values are:
93
- * * `lowercase`—Applies text-transform: lowercase
94
- * * `uppercase`—Applies text-transform: uppercase
95
- * * `capitalize`—Applies text-transform: capitalize
96
- *
97
- */
98
- textTransform?: 'lowercase' | 'uppercase' | 'capitalize';
99
- /**
100
- * Specifies the theme color of the Typography
101
- * [see example]({% slug appearance_typography %}#toc-theme-color).
102
- *
103
- * The possible values are:
104
- * * `inherit`—Applies coloring based on the current color.
105
- * * `primary` —Applies coloring based on primary theme color.
106
- * * `secondary`—Applies coloring based on secondary theme color.
107
- * * `tertiary`— Applies coloring based on tertiary theme color.
108
- * * `info`—Applies coloring based on info theme color.
109
- * * `success`— Applies coloring based on success theme color.
110
- * * `warning`— Applies coloring based on warning theme color.
111
- * * `error`— Applies coloring based on error theme color.
112
- * * `dark`— Applies coloring based on dark theme color.
113
- * * `light`— Applies coloring based on light theme color.
114
- * * `inverse`— Applies coloring based on inverse theme color.
115
- *
116
- * You can use the `style` property to apply custom color related properties to the element.
117
- *
118
- */
119
- themeColor?: 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
120
- /**
121
- * Sets a custom property to the element.
122
- */
123
- [customProp: string]: any;
124
- }
@@ -1,88 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export declare const FONT_SIZE_CLASSES: {
9
- xsmall: string;
10
- small: string;
11
- medium: string;
12
- large: string;
13
- xlarge: string;
14
- };
15
- /**
16
- * @hidden
17
- */
18
- export declare const FONT_WEIGHT_CLASSES: {
19
- light: string;
20
- normal: string;
21
- bold: string;
22
- };
23
- /**
24
- * @hidden
25
- */
26
- export declare const MARGIN_ENUM_CLASSES: {
27
- xsmall: string;
28
- small: string;
29
- medium: string;
30
- large: string;
31
- xlarge: string;
32
- thin: string;
33
- hair: string;
34
- };
35
- /**
36
- * @hidden
37
- */
38
- export declare const MARGIN_ENUM_VALUES: {
39
- xsmall: string;
40
- small: string;
41
- medium: string;
42
- large: string;
43
- xlarge: string;
44
- thin: string;
45
- hair: string;
46
- };
47
- /**
48
- * @hidden
49
- */
50
- export declare const MARGIN_SIDES_CLASSES: {
51
- top: string;
52
- right: string;
53
- bottom: string;
54
- left: string;
55
- };
56
- /**
57
- * @hidden
58
- */
59
- export declare const TEXT_ALIGN_CLASSES: {
60
- left: string;
61
- right: string;
62
- center: string;
63
- justify: string;
64
- };
65
- /**
66
- * @hidden
67
- */
68
- export declare const TEXT_TRANSFORM_CLASSES: {
69
- lowercase: string;
70
- uppercase: string;
71
- capitalize: string;
72
- };
73
- /**
74
- * @hidden
75
- */
76
- export declare const THEME_COLOR_CLASSES: {
77
- inherit: string;
78
- primary: string;
79
- secondary: string;
80
- tertiary: string;
81
- info: string;
82
- success: string;
83
- warning: string;
84
- error: string;
85
- dark: string;
86
- light: string;
87
- inverse: string;
88
- };
@@ -1,27 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * The possible values for the Default and Material themes are:
7
- * * `xsmall` —Applies 4px margin.
8
- * * `small` —Applies 8px margin.
9
- * * `medium` —Applies 12px margin.
10
- * * `large` —Applies 16px margin.
11
- * * `xlarge` —Applies 24px margin.
12
- * * `thin` —Applies 2px margin.
13
- * * `hair` —Applies 1px margin.
14
- * * `number` —Passing a number will apply a margin of 4 times the passed number in pixels. The minimum number value is 0 and the maximum is 24.
15
- *
16
- * The possible values for the Bootstrap theme are:
17
- * * `xsmall` —Applies 0.25rem margin.
18
- * * `small` —Applies 0.5rem margin.
19
- * * `medium` —Applies 0.75rem margin.
20
- * * `large` —Applies 1rem margin.
21
- * * `xlarge` —Applies 1.25rem margin.
22
- * * `thin` —Applies 0.125rem margin.
23
- * * `hair` —Applies 0.0625rem margin.
24
- * * `number` —Passing a number will apply a margin equal to the passed number divided by 4 in rem units.
25
- * The minimum number value is 0 and the maximum is 24.
26
- */
27
- export type MarginEnum = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'thin' | 'hair' | number;
@@ -1,13 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { validatePackage as validate } from '@progress/kendo-licensing';
6
- /**
7
- * @hidden
8
- */
9
- export declare const validatePackage: typeof validate;
10
- /**
11
- * @hidden
12
- */
13
- export declare function shouldShowValidationUI(packageMetadata: any): boolean;
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- *
7
- * @hidden
8
- */
9
- export declare const WatermarkOverlay: () => import("react/jsx-runtime").JSX.Element;