@nypl/design-system-react-components 1.0.1 → 1.0.3

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 (129) hide show
  1. package/CHANGELOG.md +1452 -3
  2. package/README.md +389 -3
  3. package/dist/__tests__/fileMock.d.ts +4 -0
  4. package/dist/__tests__/setup.d.ts +2 -0
  5. package/{lib/stories/0-Welcome.stories.d.ts → dist/__tests__/utils/utils.test.d.ts} +1 -1
  6. package/dist/components/Accordion/Accordion.d.ts +21 -0
  7. package/dist/components/Autosuggest/Autosuggest.stories.d.ts +4 -0
  8. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +18 -0
  9. package/dist/components/Button/Button.d.ts +25 -0
  10. package/dist/components/ButtonGroup/ButtonGroup.d.ts +22 -0
  11. package/dist/components/Card/Card.d.ts +51 -0
  12. package/dist/components/Checkbox/Checkbox.d.ts +47 -0
  13. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +49 -0
  14. package/dist/components/ComponentWrapper/ComponentWrapper.d.ts +29 -0
  15. package/dist/components/DatePicker/DatePicker.d.ts +81 -0
  16. package/dist/components/Fieldset/Fieldset.d.ts +22 -0
  17. package/dist/components/Form/Form.d.ts +29 -0
  18. package/dist/components/Grid/SimpleGrid.d.ts +17 -0
  19. package/dist/components/Heading/Heading.d.ts +27 -0
  20. package/dist/components/HelperErrorText/HelperErrorText.d.ts +29 -0
  21. package/dist/components/Hero/Hero.d.ts +40 -0
  22. package/dist/components/HorizontalRule/HorizontalRule.d.ts +11 -0
  23. package/dist/components/Icons/Icon.d.ts +37 -0
  24. package/dist/components/Icons/IconSvgs.d.ts +33 -0
  25. package/dist/components/Image/Image.d.ts +61 -0
  26. package/dist/components/Label/Label.d.ts +20 -0
  27. package/dist/components/Link/Link.d.ts +20 -0
  28. package/dist/components/List/List.d.ts +35 -0
  29. package/dist/components/Logo/Logo.d.ts +26 -0
  30. package/dist/components/Logo/LogoSvgs.d.ts +48 -0
  31. package/dist/components/Modal/Modal.d.ts +33 -0
  32. package/dist/components/Notification/Notification.d.ts +50 -0
  33. package/dist/components/Pagination/Pagination.d.ts +27 -0
  34. package/dist/components/Placeholder/Placeholder.d.ts +10 -0
  35. package/dist/components/ProgressIndicator/ProgressIndicator.d.ts +30 -0
  36. package/dist/components/Radio/Radio.d.ts +43 -0
  37. package/dist/components/RadioGroup/RadioGroup.d.ts +51 -0
  38. package/dist/components/SearchBar/SearchBar.d.ts +61 -0
  39. package/dist/components/Select/Select.d.ts +57 -0
  40. package/dist/components/SkeletonLoader/SkeletonLoader.d.ts +39 -0
  41. package/dist/components/SkipNavigation/SkipNavigation.d.ts +17 -0
  42. package/dist/components/Slider/Slider.d.ts +59 -0
  43. package/dist/components/StatusBadge/StatusBadge.d.ts +16 -0
  44. package/dist/components/StructuredContent/StructuredContent.d.ts +28 -0
  45. package/dist/components/StyleGuide/ColorCard.d.ts +12 -0
  46. package/dist/components/Table/Table.d.ts +30 -0
  47. package/dist/components/Tabs/Tabs.d.ts +26 -0
  48. package/dist/components/Template/Template.d.ts +126 -0
  49. package/dist/components/Text/Text.d.ts +16 -0
  50. package/dist/components/TextInput/TextInput.d.ts +79 -0
  51. package/dist/components/Toggle/Toggle.d.ts +42 -0
  52. package/dist/components/VideoPlayer/VideoPlayer.d.ts +38 -0
  53. package/dist/design-system-react-components.cjs.development.js +11648 -0
  54. package/dist/design-system-react-components.cjs.development.js.map +1 -0
  55. package/dist/design-system-react-components.cjs.production.min.js +2 -0
  56. package/dist/design-system-react-components.cjs.production.min.js.map +1 -0
  57. package/dist/design-system-react-components.esm.js +11493 -0
  58. package/dist/design-system-react-components.esm.js.map +1 -0
  59. package/dist/helpers/types.d.ts +1 -0
  60. package/dist/hooks/__tests__/useCarouselStyles.test.d.ts +1 -0
  61. package/dist/hooks/useCarouselStyles.d.ts +17 -0
  62. package/dist/hooks/useNYPLTheme.d.ts +66 -0
  63. package/dist/hooks/useWindowSize.d.ts +10 -0
  64. package/dist/index.d.ts +48 -0
  65. package/dist/index.js +8 -0
  66. package/dist/resources.scss +386 -0
  67. package/dist/styles.css +3 -0
  68. package/dist/theme/components/accordion.d.ts +20 -0
  69. package/dist/theme/components/breadcrumb.d.ts +105 -0
  70. package/dist/theme/components/button.d.ts +120 -0
  71. package/dist/theme/components/buttonGroup.d.ts +11 -0
  72. package/dist/theme/components/card.d.ts +381 -0
  73. package/dist/theme/components/checkbox.d.ts +95 -0
  74. package/dist/theme/components/checkboxGroup.d.ts +14 -0
  75. package/dist/theme/components/componentWrapper.d.ts +12 -0
  76. package/dist/theme/components/customTable.d.ts +624 -0
  77. package/dist/theme/components/datePicker.d.ts +16 -0
  78. package/dist/theme/components/fieldset.d.ts +20 -0
  79. package/dist/theme/components/global.d.ts +73 -0
  80. package/dist/theme/components/globalMixins.d.ts +23 -0
  81. package/dist/theme/components/heading.d.ts +160 -0
  82. package/dist/theme/components/helperErrorText.d.ts +12 -0
  83. package/dist/theme/components/hero.d.ts +499 -0
  84. package/dist/theme/components/horizontalRule.d.ts +15 -0
  85. package/dist/theme/components/icon.d.ts +47755 -0
  86. package/dist/theme/components/image.d.ts +590 -0
  87. package/dist/theme/components/label.d.ts +18 -0
  88. package/dist/theme/components/link.d.ts +62 -0
  89. package/dist/theme/components/list.d.ts +182 -0
  90. package/dist/theme/components/logo.d.ts +477 -0
  91. package/dist/theme/components/notification.d.ts +95 -0
  92. package/dist/theme/components/pagination.d.ts +16 -0
  93. package/dist/theme/components/progressIndicator.d.ts +52 -0
  94. package/dist/theme/components/radio.d.ts +107 -0
  95. package/dist/theme/components/radioGroup.d.ts +14 -0
  96. package/dist/theme/components/searchBar.d.ts +18 -0
  97. package/dist/theme/components/select.d.ts +82 -0
  98. package/dist/theme/components/skeletonLoader.d.ts +102 -0
  99. package/dist/theme/components/skipNavigation.d.ts +25 -0
  100. package/dist/theme/components/slider.d.ts +59 -0
  101. package/dist/theme/components/statusBadge.d.ts +25 -0
  102. package/dist/theme/components/structuredContent.d.ts +326 -0
  103. package/dist/theme/components/tabs.d.ts +136 -0
  104. package/dist/theme/components/template.d.ts +108 -0
  105. package/dist/theme/components/text.d.ts +26 -0
  106. package/dist/theme/components/textInput.d.ts +124 -0
  107. package/dist/theme/components/toggle.d.ts +93 -0
  108. package/dist/theme/components/videoPlayer.d.ts +40 -0
  109. package/dist/theme/foundations/breakpoints.d.ts +23 -0
  110. package/dist/theme/foundations/colors.d.ts +3 -0
  111. package/dist/theme/foundations/global.d.ts +58 -0
  112. package/dist/theme/foundations/radii.d.ts +6 -0
  113. package/dist/theme/foundations/shadows.d.ts +4 -0
  114. package/dist/theme/foundations/spacing.d.ts +82 -0
  115. package/dist/theme/foundations/typography.d.ts +8 -0
  116. package/dist/theme/index.d.ts +20 -0
  117. package/dist/theme/provider.d.ts +3 -0
  118. package/dist/theme/types.d.ts +1 -0
  119. package/dist/utils/componentCategories.d.ts +1 -0
  120. package/dist/utils/interfaces.d.ts +5 -0
  121. package/dist/utils/utils.d.ts +31 -0
  122. package/package.json +132 -20
  123. package/lib/components/Button/Button.d.ts +0 -17
  124. package/lib/components/Button/Button.js +0 -42
  125. package/lib/index.d.ts +0 -1
  126. package/lib/index.js +0 -6
  127. package/lib/stories/0-Welcome.stories.js +0 -19
  128. package/lib/stories/1-Button.stories.d.ts +0 -6
  129. package/lib/stories/1-Button.stories.js +0 -20
@@ -0,0 +1,120 @@
1
+ declare const Button: {
2
+ baseStyle: {
3
+ borderRadius: string;
4
+ lineHeight: string;
5
+ display: string;
6
+ cursor: string;
7
+ color: string;
8
+ justifyContent: string;
9
+ maxHeight: string;
10
+ py: string;
11
+ px: string;
12
+ textDecoration: string;
13
+ wordWrap: string;
14
+ fontWeight: string;
15
+ svg: {
16
+ fill: string;
17
+ marginTop: string;
18
+ };
19
+ _hover: {
20
+ bg: string;
21
+ };
22
+ _visited: {
23
+ color: string;
24
+ };
25
+ _disabled: {
26
+ bg: string;
27
+ color: string;
28
+ pointerEvents: string;
29
+ opacity: string;
30
+ };
31
+ };
32
+ variants: {
33
+ primary: {
34
+ bg: string;
35
+ minWidth: string;
36
+ height: string;
37
+ fontSize: string;
38
+ };
39
+ secondary: {
40
+ bg: string;
41
+ border: string;
42
+ borderColor: string;
43
+ color: string;
44
+ fontSize: string;
45
+ _hover: {
46
+ bg: string;
47
+ borderColor: string;
48
+ };
49
+ _disabled: {
50
+ bg: string;
51
+ };
52
+ };
53
+ link: {
54
+ bg: string;
55
+ lineHeight: string;
56
+ color: string;
57
+ textDecoration: string;
58
+ _disabled: {
59
+ bg: string;
60
+ };
61
+ _hover: {
62
+ bg: string;
63
+ color: string;
64
+ };
65
+ };
66
+ pill: {
67
+ bg: string;
68
+ border: string;
69
+ borderColor: string;
70
+ color: string;
71
+ borderRadius: string;
72
+ py: string;
73
+ px: string;
74
+ fontSize: string;
75
+ _hover: {
76
+ bg: string;
77
+ borderColor: string;
78
+ };
79
+ _disabled: {
80
+ bg: string;
81
+ };
82
+ };
83
+ iconOnly: {
84
+ bg: string;
85
+ border: string;
86
+ borderColor: string;
87
+ color: string;
88
+ _hover: {
89
+ bg: string;
90
+ borderColor: string;
91
+ };
92
+ paddingInlineStart: string;
93
+ paddingInlineEnd: string;
94
+ };
95
+ callout: {
96
+ bg: string;
97
+ fontSize: string;
98
+ _hover: {
99
+ bg: string;
100
+ };
101
+ _active: {
102
+ bg: string;
103
+ };
104
+ };
105
+ noBrand: {
106
+ bg: string;
107
+ color: string;
108
+ _hover: {
109
+ bg: string;
110
+ };
111
+ minWidth: string;
112
+ height: string;
113
+ fontSize: string;
114
+ };
115
+ };
116
+ defaultProps: {
117
+ variant: string;
118
+ };
119
+ };
120
+ export default Button;
@@ -0,0 +1,11 @@
1
+ declare const ButtonGroup: {
2
+ baseStyle: ({ buttonWidth }: {
3
+ buttonWidth: any;
4
+ }) => {
5
+ width: string;
6
+ button: {
7
+ flexGrow: string;
8
+ };
9
+ };
10
+ };
11
+ export default ButtonGroup;
@@ -0,0 +1,381 @@
1
+ interface CardBaseStyleProps {
2
+ hasImage: boolean;
3
+ imageIsAtEnd: boolean;
4
+ isAlignedRightActions: boolean;
5
+ isBordered: boolean;
6
+ isCentered: boolean;
7
+ layout: string;
8
+ mainActionLink: boolean;
9
+ }
10
+ interface CardImageBaseStyleProps {
11
+ imageIsAtEnd: boolean;
12
+ isCentered: boolean;
13
+ size: keyof typeof imageSizes;
14
+ layout: string;
15
+ }
16
+ interface CardActionsBaseStyleProps {
17
+ bottomBorder: boolean;
18
+ isCentered: boolean;
19
+ layout: string;
20
+ topBorder: boolean;
21
+ }
22
+ declare const imageSizes: {
23
+ xxsmall: {
24
+ flex: {
25
+ base: string;
26
+ md: string;
27
+ };
28
+ width: string;
29
+ };
30
+ xsmall: {
31
+ flex: {
32
+ md: string;
33
+ };
34
+ };
35
+ small: {
36
+ flex: {
37
+ md: string;
38
+ };
39
+ };
40
+ medium: {
41
+ flex: {
42
+ md: string;
43
+ };
44
+ };
45
+ large: {
46
+ flex: {
47
+ md: string;
48
+ };
49
+ };
50
+ };
51
+ declare const _default: {
52
+ Card: {
53
+ parts: string[];
54
+ baseStyle: ({ hasImage, imageIsAtEnd, isAlignedRightActions, isBordered, isCentered, layout, mainActionLink, }: CardBaseStyleProps) => {
55
+ display: string;
56
+ flexFlow: {
57
+ base: string;
58
+ md: string;
59
+ };
60
+ maxWidth: string;
61
+ textAlign: string;
62
+ alignItems: string;
63
+ border: string;
64
+ borderColor: string;
65
+ actions: {
66
+ flexShrink: {
67
+ base: string;
68
+ md: string;
69
+ };
70
+ marginLeft: {
71
+ base: string;
72
+ md: string;
73
+ };
74
+ marginTop: {
75
+ base: string;
76
+ md: string;
77
+ };
78
+ maxWidth: {
79
+ base: string;
80
+ md: string;
81
+ };
82
+ width: string;
83
+ };
84
+ body: {
85
+ display: {
86
+ md: string;
87
+ };
88
+ flexBasis: {
89
+ sm: string;
90
+ };
91
+ flexFlow: {
92
+ md: string;
93
+ };
94
+ margin: any;
95
+ padding: any;
96
+ width: {
97
+ base: string;
98
+ md: string;
99
+ };
100
+ };
101
+ heading: {
102
+ marginBottom: string;
103
+ a: {
104
+ color: string;
105
+ };
106
+ };
107
+ } | {
108
+ display: string;
109
+ flexFlow: string;
110
+ maxWidth?: undefined;
111
+ textAlign: string;
112
+ alignItems: string;
113
+ border: string;
114
+ borderColor: string;
115
+ actions: {
116
+ flexShrink: {
117
+ base: string;
118
+ md: string;
119
+ };
120
+ marginLeft: {
121
+ base: string;
122
+ md: string;
123
+ };
124
+ marginTop: {
125
+ base: string;
126
+ md: string;
127
+ };
128
+ maxWidth: {
129
+ base: string;
130
+ md: string;
131
+ };
132
+ width: string;
133
+ };
134
+ body: {
135
+ display: {
136
+ md: string;
137
+ };
138
+ flexBasis: {
139
+ sm: string;
140
+ };
141
+ flexFlow: {
142
+ md: string;
143
+ };
144
+ margin: any;
145
+ padding: any;
146
+ width: {
147
+ base: string;
148
+ md: string;
149
+ };
150
+ };
151
+ heading: {
152
+ marginBottom: string;
153
+ a: {
154
+ color: string;
155
+ };
156
+ };
157
+ } | {
158
+ display: string;
159
+ flexFlow: {
160
+ base: string;
161
+ md: string;
162
+ };
163
+ maxWidth: string;
164
+ textAlign: string;
165
+ alignItems: string;
166
+ border?: undefined;
167
+ borderColor?: undefined;
168
+ actions: {
169
+ flexShrink: {
170
+ base: string;
171
+ md: string;
172
+ };
173
+ marginLeft: {
174
+ base: string;
175
+ md: string;
176
+ };
177
+ marginTop: {
178
+ base: string;
179
+ md: string;
180
+ };
181
+ maxWidth: {
182
+ base: string;
183
+ md: string;
184
+ };
185
+ width: string;
186
+ };
187
+ body: {
188
+ display: {
189
+ md: string;
190
+ };
191
+ flexBasis: {
192
+ sm: string;
193
+ };
194
+ flexFlow: {
195
+ md: string;
196
+ };
197
+ margin: any;
198
+ padding: any;
199
+ width: {
200
+ base: string;
201
+ md: string;
202
+ };
203
+ };
204
+ heading: {
205
+ marginBottom: string;
206
+ a: {
207
+ color: string;
208
+ };
209
+ };
210
+ } | {
211
+ display: string;
212
+ flexFlow: string;
213
+ maxWidth?: undefined;
214
+ textAlign: string;
215
+ alignItems: string;
216
+ border?: undefined;
217
+ borderColor?: undefined;
218
+ actions: {
219
+ flexShrink: {
220
+ base: string;
221
+ md: string;
222
+ };
223
+ marginLeft: {
224
+ base: string;
225
+ md: string;
226
+ };
227
+ marginTop: {
228
+ base: string;
229
+ md: string;
230
+ };
231
+ maxWidth: {
232
+ base: string;
233
+ md: string;
234
+ };
235
+ width: string;
236
+ };
237
+ body: {
238
+ display: {
239
+ md: string;
240
+ };
241
+ flexBasis: {
242
+ sm: string;
243
+ };
244
+ flexFlow: {
245
+ md: string;
246
+ };
247
+ margin: any;
248
+ padding: any;
249
+ width: {
250
+ base: string;
251
+ md: string;
252
+ };
253
+ };
254
+ heading: {
255
+ marginBottom: string;
256
+ a: {
257
+ color: string;
258
+ };
259
+ };
260
+ };
261
+ };
262
+ CardActions: {
263
+ baseStyle: ({ bottomBorder, isCentered, layout, topBorder, }: CardActionsBaseStyleProps) => {
264
+ justifyContent: any;
265
+ borderColor: string;
266
+ borderBottom: string;
267
+ paddingBottom: string;
268
+ borderTop: string;
269
+ paddingTop: string;
270
+ marginBottom: string;
271
+ columnGap: string;
272
+ display: string;
273
+ _last: {
274
+ marginBottom: string;
275
+ };
276
+ } | {
277
+ justifyContent: any;
278
+ borderColor: string;
279
+ borderBottom?: undefined;
280
+ paddingBottom?: undefined;
281
+ borderTop: string;
282
+ paddingTop: string;
283
+ marginBottom: string;
284
+ columnGap: string;
285
+ display: string;
286
+ _last: {
287
+ marginBottom: string;
288
+ };
289
+ } | {
290
+ justifyContent: any;
291
+ borderColor: string;
292
+ borderBottom: string;
293
+ paddingBottom: string;
294
+ borderTop?: undefined;
295
+ paddingTop?: undefined;
296
+ marginBottom: string;
297
+ columnGap: string;
298
+ display: string;
299
+ _last: {
300
+ marginBottom: string;
301
+ };
302
+ } | {
303
+ justifyContent: any;
304
+ borderColor: string;
305
+ borderBottom?: undefined;
306
+ paddingBottom?: undefined;
307
+ borderTop?: undefined;
308
+ paddingTop?: undefined;
309
+ marginBottom: string;
310
+ columnGap: string;
311
+ display: string;
312
+ _last: {
313
+ marginBottom: string;
314
+ };
315
+ };
316
+ };
317
+ CardContent: {
318
+ baseStyle: {
319
+ marginBottom: string;
320
+ _last: {
321
+ marginBottom: string;
322
+ };
323
+ };
324
+ };
325
+ CardImage: {
326
+ baseStyle: ({ imageIsAtEnd, isCentered, layout, size, }: CardImageBaseStyleProps) => {
327
+ flex: {
328
+ md: string;
329
+ };
330
+ maxWidth: {
331
+ base: string;
332
+ md: string;
333
+ };
334
+ textAlign: string;
335
+ alignItems: string;
336
+ margin: {
337
+ base: string;
338
+ md: string;
339
+ };
340
+ width: {
341
+ base: string;
342
+ md: any;
343
+ };
344
+ marginBottom: string[];
345
+ marginTop: string;
346
+ order: string;
347
+ } | {
348
+ marginBottom: string;
349
+ width: string;
350
+ marginTop: string;
351
+ order: string;
352
+ } | {
353
+ flex: {
354
+ md: string;
355
+ };
356
+ maxWidth: {
357
+ base: string;
358
+ md: string;
359
+ };
360
+ textAlign: string;
361
+ alignItems: string;
362
+ margin: {
363
+ base: string;
364
+ md: string;
365
+ };
366
+ width: {
367
+ base: string;
368
+ md: any;
369
+ };
370
+ marginBottom: string[];
371
+ marginTop?: undefined;
372
+ order?: undefined;
373
+ } | {
374
+ marginBottom: string;
375
+ width: string;
376
+ marginTop?: undefined;
377
+ order?: undefined;
378
+ };
379
+ };
380
+ };
381
+ export default _default;
@@ -0,0 +1,95 @@
1
+ declare const Checkbox: {
2
+ parts: string[];
3
+ baseStyle: {
4
+ icon: {
5
+ transitionProperty: string;
6
+ transitionDuration: string;
7
+ width: string;
8
+ height: string;
9
+ };
10
+ control: {
11
+ border: string;
12
+ borderRadius: string;
13
+ borderColor: string;
14
+ color: string;
15
+ outline: string;
16
+ transitionProperty: string;
17
+ transitionDuration: string;
18
+ _checked: {
19
+ bg: string;
20
+ borderColor: string;
21
+ color: string;
22
+ _hover: {
23
+ bg: string;
24
+ };
25
+ _disabled: {
26
+ bg: string;
27
+ borderColor: string;
28
+ svg: {
29
+ color: string;
30
+ };
31
+ };
32
+ _indeterminate: {
33
+ color: string;
34
+ borderColor: string;
35
+ };
36
+ };
37
+ _indeterminate: {
38
+ color: string;
39
+ borderColor: string;
40
+ };
41
+ _disabled: {
42
+ bg: string;
43
+ borderColor: string;
44
+ };
45
+ _focus: {
46
+ borderColor: string;
47
+ boxShadow: string;
48
+ outlineColor: string;
49
+ };
50
+ _invalid: {
51
+ borderColor: string;
52
+ color: string;
53
+ };
54
+ };
55
+ label: {
56
+ userSelect: string;
57
+ fontWeight: string;
58
+ marginBottom: string;
59
+ marginLeft: string;
60
+ width: string;
61
+ _disabled: {
62
+ color: string;
63
+ opacity: number;
64
+ fontStyle: string;
65
+ };
66
+ _invalid: {
67
+ color: string;
68
+ };
69
+ };
70
+ helperErrorText: {
71
+ marginLeft: string;
72
+ _disabled: {
73
+ color: string;
74
+ fontStyle: string;
75
+ };
76
+ };
77
+ };
78
+ sizes: {
79
+ lg: {
80
+ control: {
81
+ borderRadius: string;
82
+ h: string;
83
+ w: string;
84
+ };
85
+ label: {
86
+ fontSize: string;
87
+ };
88
+ };
89
+ };
90
+ defaultProps: {
91
+ size: string;
92
+ colorScheme: string;
93
+ };
94
+ };
95
+ export default Checkbox;
@@ -0,0 +1,14 @@
1
+ declare const CheckboxGroup: {
2
+ parts: string[];
3
+ baseStyle: ({ isFullWidth }: {
4
+ isFullWidth?: boolean;
5
+ }) => {
6
+ helperErrorText: {
7
+ marginTop: string;
8
+ };
9
+ label: {
10
+ width: string;
11
+ };
12
+ };
13
+ };
14
+ export default CheckboxGroup;
@@ -0,0 +1,12 @@
1
+ interface ComponentWrapperProps {
2
+ hasChildren: boolean;
3
+ }
4
+ declare const ComponentWrapper: {
5
+ parts: string[];
6
+ baseStyle: ({ hasChildren }: ComponentWrapperProps) => {
7
+ helperErrorText: {
8
+ marginTop: string;
9
+ };
10
+ };
11
+ };
12
+ export default ComponentWrapper;