playbook-ui 13.33.1 → 13.34.0-alpha.PBNTR358responsiveadvancedtablereact3368

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 (31) hide show
  1. package/dist/app/components/playbook/pb_docs/advanced_table_mock_data.json +278 -0
  2. package/dist/app/components/playbook/pb_docs/kit_api.html.erb +321 -0
  3. package/dist/app/components/playbook/pb_docs/kit_api.rb +150 -0
  4. package/dist/app/components/playbook/pb_docs/kit_example.html.erb +80 -0
  5. package/dist/app/components/playbook/pb_docs/kit_example.rb +94 -0
  6. package/dist/pb_advanced_table/Components/TableHeaderCell.d.ts +2 -1
  7. package/dist/pb_advanced_table/SubKits/TableBody.d.ts +1 -0
  8. package/dist/pb_advanced_table/_advanced_table.d.ts +2 -0
  9. package/dist/pb_collapsible/_collapsible.d.ts +1 -1
  10. package/dist/pb_contact/_contact.d.ts +1 -0
  11. package/dist/pb_date_range_inline/_date_range_inline.d.ts +5 -5
  12. package/dist/pb_dialog/_dialog.d.ts +1 -1
  13. package/dist/pb_doc_helper.rb +103 -0
  14. package/dist/pb_form_pill/_form_pill.d.ts +1 -0
  15. package/dist/pb_icon/_icon.d.ts +1 -0
  16. package/dist/pb_message/_message.d.ts +1 -1
  17. package/dist/pb_radio/_radio.d.ts +100 -100
  18. package/dist/pb_select/_select.d.ts +100 -100
  19. package/dist/pb_star_rating/_star_rating.d.ts +5 -1
  20. package/dist/pb_star_rating/stars/utils.d.ts +22 -0
  21. package/dist/pb_star_rating/subcomponents/_star_rating_display.d.ts +12 -0
  22. package/dist/pb_star_rating/subcomponents/_star_rating_interactive.d.ts +11 -0
  23. package/dist/pb_text_input/_text_input.d.ts +104 -104
  24. package/dist/pb_textarea/_textarea.d.ts +100 -100
  25. package/dist/pb_timeline/_timeline.d.ts +1 -1
  26. package/dist/pb_tooltip/_tooltip.d.ts +100 -100
  27. package/dist/playbook-doc.js +11 -11
  28. package/dist/playbook-rails.js +6 -6
  29. package/dist/playbook.css +1 -1
  30. package/dist/playbook.js +7 -7
  31. package/package.json +1 -1
@@ -37,19 +37,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
37
37
  } & {
38
38
  alignContent?: never;
39
39
  } & {
40
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
40
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
41
41
  } & {
42
42
  alignSelf?: never;
43
43
  } & {
44
- borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
44
+ borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
45
45
  } & {
46
- cursor?: "progress" | "none" | "text" | "copy" | "auto" | "default" | "pointer" | "cell" | "contextMenu" | "help" | "wait" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
46
+ cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
47
47
  } & {
48
48
  dark?: boolean;
49
49
  } & {
50
50
  display?: import("../types").DisplayType;
51
51
  } & import("../types").DisplaySizes & {
52
- flex?: "none" | "0" | "1" | "auto" | "initial" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
52
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
53
53
  } & {
54
54
  flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
55
55
  } & {
@@ -63,15 +63,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
63
63
  } & {
64
64
  justifySelf?: never;
65
65
  } & {
66
- lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
66
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
67
67
  } & {
68
- marginRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
69
- marginLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
70
- marginTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
71
- marginBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
72
- marginX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
73
- marginY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
74
- margin?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
68
+ marginRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
69
+ marginLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
70
+ marginTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
71
+ marginBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
72
+ marginX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
73
+ marginY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
74
+ margin?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
75
75
  break?: string;
76
76
  default?: string;
77
77
  } & {
@@ -79,33 +79,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
79
79
  } & {
80
80
  numberSpacing?: "tabular";
81
81
  } & {
82
- order?: "none" | 2 | 1 | 12 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11;
82
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
83
83
  } & {
84
84
  overflowX?: "scroll" | "auto" | "hidden" | "visible";
85
85
  overflowY?: "scroll" | "auto" | "hidden" | "visible";
86
86
  overflow?: "scroll" | "auto" | "hidden" | "visible";
87
87
  } & {
88
- paddingRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
89
- paddingLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
90
- paddingTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
91
- paddingBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
92
- paddingX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
93
- paddingY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
94
- padding?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
88
+ paddingRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
89
+ paddingLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
90
+ paddingTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
91
+ paddingBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
92
+ paddingX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
93
+ paddingY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
94
+ padding?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
95
95
  break?: string;
96
96
  default?: string;
97
97
  } & {
98
- position?: "fixed" | "absolute" | "static" | "relative" | "sticky";
98
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
99
99
  } & {
100
100
  shadow?: "none" | "deep" | "deeper" | "deepest";
101
101
  } & {
102
- textAlign?: "right" | "left" | "center" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
102
+ textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
103
103
  } & {
104
- truncate?: "none" | 2 | 1 | 3 | 4 | 5;
104
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
105
105
  } & {
106
- verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
106
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
107
107
  } & {
108
- zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
108
+ zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
109
109
  } & {
110
110
  hover?: string;
111
111
  } & {
@@ -160,19 +160,19 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
160
160
  } & {
161
161
  alignContent?: never;
162
162
  } & {
163
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
163
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
164
164
  } & {
165
165
  alignSelf?: never;
166
166
  } & {
167
- borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
167
+ borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
168
168
  } & {
169
- cursor?: "progress" | "none" | "text" | "copy" | "auto" | "default" | "pointer" | "cell" | "contextMenu" | "help" | "wait" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
169
+ cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
170
170
  } & {
171
171
  dark?: boolean;
172
172
  } & {
173
173
  display?: import("../types").DisplayType;
174
174
  } & import("../types").DisplaySizes & {
175
- flex?: "none" | "0" | "1" | "auto" | "initial" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
175
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
176
176
  } & {
177
177
  flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
178
178
  } & {
@@ -186,15 +186,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
186
186
  } & {
187
187
  justifySelf?: never;
188
188
  } & {
189
- lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
189
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
190
190
  } & {
191
- marginRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
192
- marginLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
193
- marginTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
194
- marginBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
195
- marginX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
196
- marginY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
197
- margin?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
191
+ marginRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
192
+ marginLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
193
+ marginTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
194
+ marginBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
195
+ marginX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
196
+ marginY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
197
+ margin?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
198
198
  break?: string;
199
199
  default?: string;
200
200
  } & {
@@ -202,33 +202,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
202
202
  } & {
203
203
  numberSpacing?: "tabular";
204
204
  } & {
205
- order?: "none" | 2 | 1 | 12 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11;
205
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
206
206
  } & {
207
207
  overflowX?: "scroll" | "auto" | "hidden" | "visible";
208
208
  overflowY?: "scroll" | "auto" | "hidden" | "visible";
209
209
  overflow?: "scroll" | "auto" | "hidden" | "visible";
210
210
  } & {
211
- paddingRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
212
- paddingLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
213
- paddingTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
214
- paddingBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
215
- paddingX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
216
- paddingY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
217
- padding?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
211
+ paddingRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
212
+ paddingLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
213
+ paddingTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
214
+ paddingBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
215
+ paddingX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
216
+ paddingY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
217
+ padding?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
218
218
  break?: string;
219
219
  default?: string;
220
220
  } & {
221
- position?: "fixed" | "absolute" | "static" | "relative" | "sticky";
221
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
222
222
  } & {
223
223
  shadow?: "none" | "deep" | "deeper" | "deepest";
224
224
  } & {
225
- textAlign?: "right" | "left" | "center" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
225
+ textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
226
226
  } & {
227
- truncate?: "none" | 2 | 1 | 3 | 4 | 5;
227
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
228
228
  } & {
229
- verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
229
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
230
230
  } & {
231
- [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
231
+ [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
232
232
  } & {
233
233
  hover?: string;
234
234
  } & {
@@ -283,17 +283,17 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
283
283
  } & {
284
284
  alignContent?: never;
285
285
  } & {
286
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
286
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
287
287
  } & {
288
288
  alignSelf?: never;
289
289
  } & {
290
- borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
290
+ borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
291
291
  } & {
292
- cursor?: "progress" | "none" | "text" | "copy" | "auto" | "default" | "pointer" | "cell" | "contextMenu" | "help" | "wait" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
292
+ cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
293
293
  } & {
294
294
  dark?: boolean;
295
295
  } & import("../types").DisplaySizes & {
296
- flex?: "none" | "0" | "1" | "auto" | "initial" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
296
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
297
297
  } & {
298
298
  flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
299
299
  } & {
@@ -307,15 +307,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
307
307
  } & {
308
308
  justifySelf?: never;
309
309
  } & {
310
- lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
310
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
311
311
  } & {
312
- marginRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
313
- marginLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
314
- marginTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
315
- marginBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
316
- marginX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
317
- marginY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
318
- margin?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
312
+ marginRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
313
+ marginLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
314
+ marginTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
315
+ marginBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
316
+ marginX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
317
+ marginY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
318
+ margin?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
319
319
  break?: string;
320
320
  default?: string;
321
321
  } & {
@@ -323,33 +323,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
323
323
  } & {
324
324
  numberSpacing?: "tabular";
325
325
  } & {
326
- order?: "none" | 2 | 1 | 12 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11;
326
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
327
327
  } & {
328
328
  overflowX?: "scroll" | "auto" | "hidden" | "visible";
329
329
  overflowY?: "scroll" | "auto" | "hidden" | "visible";
330
330
  overflow?: "scroll" | "auto" | "hidden" | "visible";
331
331
  } & {
332
- paddingRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
333
- paddingLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
334
- paddingTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
335
- paddingBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
336
- paddingX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
337
- paddingY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
338
- padding?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
332
+ paddingRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
333
+ paddingLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
334
+ paddingTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
335
+ paddingBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
336
+ paddingX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
337
+ paddingY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
338
+ padding?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
339
339
  break?: string;
340
340
  default?: string;
341
341
  } & {
342
- position?: "fixed" | "absolute" | "static" | "relative" | "sticky";
342
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
343
343
  } & {
344
344
  shadow?: "none" | "deep" | "deeper" | "deepest";
345
345
  } & {
346
- textAlign?: "right" | "left" | "center" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
346
+ textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
347
347
  } & {
348
- truncate?: "none" | 2 | 1 | 3 | 4 | 5;
348
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
349
349
  } & {
350
- verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
350
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
351
351
  } & {
352
- zIndex?: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
352
+ zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
353
353
  } & {
354
354
  hover?: string;
355
355
  } & {
@@ -404,17 +404,17 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
404
404
  } & {
405
405
  alignContent?: never;
406
406
  } & {
407
- alignItems?: ("center" | "start" | "end") | "flexStart" | "flexEnd" | "stretch" | "baseline";
407
+ alignItems?: "stretch" | ("center" | "start" | "end") | "baseline" | "flexStart" | "flexEnd";
408
408
  } & {
409
409
  alignSelf?: never;
410
410
  } & {
411
- borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "rounded";
411
+ borderRadius?: "none" | "md" | "lg" | "sm" | "xl" | "xs" | "rounded";
412
412
  } & {
413
- cursor?: "progress" | "none" | "text" | "copy" | "auto" | "default" | "pointer" | "cell" | "contextMenu" | "help" | "wait" | "crosshair" | "verticalText" | "alias" | "move" | "noDrop" | "notAllowed" | "grab" | "grabbing" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
413
+ cursor?: "none" | "auto" | "text" | "progress" | "default" | "pointer" | "alias" | "cell" | "copy" | "crosshair" | "grab" | "grabbing" | "help" | "move" | "wait" | "contextMenu" | "verticalText" | "noDrop" | "notAllowed" | "eResize" | "nResize" | "neResize" | "nwResize" | "sResize" | "seResize" | "swResize" | "wResize" | "ewResize" | "nsResize" | "neswResize" | "nwseResize" | "colResize" | "rowResize" | "allScroll" | "zoomIn" | "zoomOut";
414
414
  } & {
415
415
  dark?: boolean;
416
416
  } & import("../types").DisplaySizes & {
417
- flex?: "none" | "0" | "1" | "auto" | "initial" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
417
+ flex?: "none" | "auto" | "initial" | "1" | "2" | "3" | "4" | "0" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
418
418
  } & {
419
419
  flexDirection?: "row" | "column" | "rowReverse" | "columnReverse";
420
420
  } & {
@@ -428,15 +428,15 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
428
428
  } & {
429
429
  justifySelf?: never;
430
430
  } & {
431
- lineHeight?: "loosest" | "looser" | "loose" | "normal" | "tight" | "tighter" | "tightest";
431
+ lineHeight?: "normal" | "loosest" | "looser" | "loose" | "tight" | "tighter" | "tightest";
432
432
  } & {
433
- marginRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
434
- marginLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
435
- marginTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
436
- marginBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
437
- marginX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
438
- marginY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
439
- margin?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
433
+ marginRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
434
+ marginLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
435
+ marginTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
436
+ marginBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
437
+ marginX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
438
+ marginY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
439
+ margin?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
440
440
  break?: string;
441
441
  default?: string;
442
442
  } & {
@@ -444,33 +444,33 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
444
444
  } & {
445
445
  numberSpacing?: "tabular";
446
446
  } & {
447
- order?: "none" | 2 | 1 | 12 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | "first" | 11;
447
+ order?: "none" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first";
448
448
  } & {
449
449
  overflowX?: "scroll" | "auto" | "hidden" | "visible";
450
450
  overflowY?: "scroll" | "auto" | "hidden" | "visible";
451
451
  overflow?: "scroll" | "auto" | "hidden" | "visible";
452
452
  } & {
453
- paddingRight?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
454
- paddingLeft?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
455
- paddingTop?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
456
- paddingBottom?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
457
- paddingX?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
458
- paddingY?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
459
- padding?: "none" | "auto" | "inherit" | import("../types").Sizes | "initial";
453
+ paddingRight?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
454
+ paddingLeft?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
455
+ paddingTop?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
456
+ paddingBottom?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
457
+ paddingX?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
458
+ paddingY?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
459
+ padding?: "none" | "auto" | import("../types").Sizes | "initial" | "inherit";
460
460
  break?: string;
461
461
  default?: string;
462
462
  } & {
463
- position?: "fixed" | "absolute" | "static" | "relative" | "sticky";
463
+ position?: "relative" | "absolute" | "fixed" | "sticky" | "static";
464
464
  } & {
465
465
  shadow?: "none" | "deep" | "deeper" | "deepest";
466
466
  } & {
467
- textAlign?: "right" | "left" | "center" | "start" | "end" | "justify" | "justifyAll" | "matchParent";
467
+ textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
468
468
  } & {
469
- truncate?: "none" | 2 | 1 | 3 | 4 | 5;
469
+ truncate?: "none" | 1 | 2 | 3 | 4 | 5;
470
470
  } & {
471
- verticalAlign?: "sub" | "top" | "bottom" | "baseline" | "super" | "middle" | "text-top" | "text-bottom";
471
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
472
472
  } & {
473
- [key: string]: 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
473
+ [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
474
474
  } & {
475
475
  hover?: string;
476
476
  } & {
@@ -4,7 +4,9 @@ declare type StarRatingProps = {
4
4
  [key: string]: string;
5
5
  };
6
6
  className?: string;
7
- data?: object;
7
+ data?: {
8
+ [key: string]: string;
9
+ };
8
10
  dark?: boolean;
9
11
  fixedWidth?: boolean;
10
12
  layoutOption?: "default" | "number" | "onestar";
@@ -18,6 +20,8 @@ declare type StarRatingProps = {
18
20
  colorOption?: "yellow" | "primary" | "subtle" | "outline";
19
21
  backgroundType?: "fill" | "outline";
20
22
  size?: "xs" | "sm" | "md" | "lg";
23
+ variant?: "display" | "interactive";
24
+ onClick?: (interactiveStarValue: number) => void;
21
25
  } & GlobalProps;
22
26
  declare const StarRating: (props: StarRatingProps) => JSX.Element;
23
27
  export default StarRating;
@@ -0,0 +1,22 @@
1
+ export declare const getStarIconObject: (backgroundType: string, color: string, dark: boolean, size: string) => {
2
+ yellow: {
3
+ className: string;
4
+ icon: JSX.Element;
5
+ };
6
+ primary: {
7
+ className: string;
8
+ icon: JSX.Element;
9
+ };
10
+ subtle: {
11
+ className: string;
12
+ icon: JSX.Element;
13
+ };
14
+ fill: {
15
+ className: string;
16
+ icon: JSX.Element;
17
+ };
18
+ outline: {
19
+ className: string;
20
+ icon: JSX.Element;
21
+ };
22
+ };
@@ -0,0 +1,12 @@
1
+ import { GlobalProps } from '../../utilities/globalProps';
2
+ declare type StarRatingDisplayProps = {
3
+ backgroundType: "fill" | "outline";
4
+ colorOption: "yellow" | "primary" | "subtle" | "outline";
5
+ dark: boolean;
6
+ denominator: number;
7
+ layoutOption: "default" | "number" | "onestar";
8
+ rating: number;
9
+ size: "xs" | "sm" | "md" | "lg";
10
+ } & GlobalProps;
11
+ declare const StarRatingDisplay: (props: StarRatingDisplayProps) => JSX.Element;
12
+ export default StarRatingDisplay;
@@ -0,0 +1,11 @@
1
+ import { GlobalProps } from '../../utilities/globalProps';
2
+ declare type StarRatingInteractiveProps = {
3
+ backgroundType: "fill" | "outline";
4
+ colorOption: "yellow" | "primary" | "subtle" | "outline";
5
+ dark: boolean;
6
+ denominator: number;
7
+ onClick?: (interactiveStarValue: number) => void;
8
+ size: "xs" | "sm" | "md" | "lg";
9
+ } & GlobalProps;
10
+ declare const StarRatingInteractive: (props: StarRatingInteractiveProps) => JSX.Element;
11
+ export default StarRatingInteractive;