playbook-ui 16.5.0-alpha.RTEPOC15748 → 16.5.0-alpha.testingplayground15743

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 (80) hide show
  1. package/dist/ai/all-schemas.json +815 -238
  2. package/dist/ai/index.json +2 -2
  3. package/dist/ai/kits/advanced_table.schema.json +54 -7
  4. package/dist/ai/kits/avatar.schema.json +13 -5
  5. package/dist/ai/kits/background.schema.json +14 -0
  6. package/dist/ai/kits/badge.schema.json +6 -0
  7. package/dist/ai/kits/body.schema.json +6 -0
  8. package/dist/ai/kits/button_toolbar.schema.json +7 -8
  9. package/dist/ai/kits/card.schema.json +30 -8
  10. package/dist/ai/kits/checkbox.schema.json +6 -0
  11. package/dist/ai/kits/circle_icon_button.schema.json +6 -0
  12. package/dist/ai/kits/collapsible.schema.json +18 -3
  13. package/dist/ai/kits/contact.schema.json +6 -0
  14. package/dist/ai/kits/currency.schema.json +6 -0
  15. package/dist/ai/kits/dashboard_value.schema.json +9 -7
  16. package/dist/ai/kits/date.schema.json +17 -12
  17. package/dist/ai/kits/date_picker.schema.json +9 -3
  18. package/dist/ai/kits/date_range_inline.schema.json +16 -10
  19. package/dist/ai/kits/date_range_stacked.schema.json +6 -0
  20. package/dist/ai/kits/date_stacked.schema.json +12 -6
  21. package/dist/ai/kits/date_time_stacked.schema.json +6 -0
  22. package/dist/ai/kits/date_year_stacked.schema.json +6 -0
  23. package/dist/ai/kits/detail.schema.json +6 -0
  24. package/dist/ai/kits/dialog.schema.json +17 -19
  25. package/dist/ai/kits/draggable.schema.json +11 -5
  26. package/dist/ai/kits/dropdown.schema.json +32 -20
  27. package/dist/ai/kits/file_upload.schema.json +8 -2
  28. package/dist/ai/kits/fixed_confirmation_toast.schema.json +16 -10
  29. package/dist/ai/kits/flex.schema.json +18 -0
  30. package/dist/ai/kits/form_pill.schema.json +7 -1
  31. package/dist/ai/kits/hashtag.schema.json +6 -0
  32. package/dist/ai/kits/home_address_street.schema.json +6 -0
  33. package/dist/ai/kits/icon.schema.json +2 -2
  34. package/dist/ai/kits/icon_button.schema.json +7 -7
  35. package/dist/ai/kits/icon_circle.schema.json +6 -0
  36. package/dist/ai/kits/icon_stat_value.schema.json +6 -0
  37. package/dist/ai/kits/icon_value.schema.json +6 -0
  38. package/dist/ai/kits/label_value.schema.json +14 -8
  39. package/dist/ai/kits/layout.schema.json +18 -2
  40. package/dist/ai/kits/legend.schema.json +6 -0
  41. package/dist/ai/kits/link.schema.json +6 -0
  42. package/dist/ai/kits/list.schema.json +17 -12
  43. package/dist/ai/kits/loading_inline.schema.json +6 -0
  44. package/dist/ai/kits/multi_level_select.schema.json +15 -15
  45. package/dist/ai/kits/multiple_users.schema.json +6 -0
  46. package/dist/ai/kits/multiple_users_stacked.schema.json +6 -0
  47. package/dist/ai/kits/nav.schema.json +7 -1
  48. package/dist/ai/kits/overlay.schema.json +7 -1
  49. package/dist/ai/kits/pagination.schema.json +3 -3
  50. package/dist/ai/kits/passphrase.schema.json +6 -0
  51. package/dist/ai/kits/phone_number_input.schema.json +6 -0
  52. package/dist/ai/kits/popover.schema.json +7 -8
  53. package/dist/ai/kits/progress_pills.schema.json +6 -0
  54. package/dist/ai/kits/progress_simple.schema.json +12 -0
  55. package/dist/ai/kits/radio.schema.json +6 -0
  56. package/dist/ai/kits/rich_text_editor.schema.json +17 -20
  57. package/dist/ai/kits/section_separator.schema.json +6 -0
  58. package/dist/ai/kits/select.schema.json +13 -1
  59. package/dist/ai/kits/selectable_card.schema.json +7 -1
  60. package/dist/ai/kits/selectable_card_icon.schema.json +7 -1
  61. package/dist/ai/kits/selectable_icon.schema.json +7 -1
  62. package/dist/ai/kits/skeleton_loading.schema.json +30 -0
  63. package/dist/ai/kits/star_rating.schema.json +6 -0
  64. package/dist/ai/kits/stat_change.schema.json +6 -0
  65. package/dist/ai/kits/table.schema.json +9 -3
  66. package/dist/ai/kits/text_input.schema.json +13 -6
  67. package/dist/ai/kits/textarea.schema.json +1 -1
  68. package/dist/ai/kits/time.schema.json +16 -12
  69. package/dist/ai/kits/time_picker.schema.json +8 -2
  70. package/dist/ai/kits/time_range_inline.schema.json +6 -0
  71. package/dist/ai/kits/time_stacked.schema.json +6 -0
  72. package/dist/ai/kits/timestamp.schema.json +6 -0
  73. package/dist/ai/kits/title_count.schema.json +6 -0
  74. package/dist/ai/kits/tooltip.schema.json +48 -2
  75. package/dist/ai/kits/typeahead.schema.json +24 -3
  76. package/dist/ai/kits/user.schema.json +6 -0
  77. package/dist/ai/kits/weekday_stacked.schema.json +6 -0
  78. package/dist/chunks/vendor.js +1 -1
  79. package/dist/playbook.css +1 -1
  80. package/package.json +2 -1
@@ -811,7 +811,7 @@
811
811
  ]
812
812
  },
813
813
  "customSort": {
814
- "type": "boolean;",
814
+ "type": "boolean",
815
815
  "platforms": [
816
816
  "react"
817
817
  ]
@@ -842,7 +842,7 @@
842
842
  ]
843
843
  },
844
844
  "expandByDepth": {
845
- "type": "{ [key: string]: string | number }",
845
+ "type": "array",
846
846
  "platforms": [
847
847
  "react"
848
848
  ]
@@ -875,6 +875,22 @@
875
875
  ],
876
876
  "default": false
877
877
  },
878
+ "maxHeight": {
879
+ "type": "enum",
880
+ "platforms": [
881
+ "react"
882
+ ],
883
+ "values": [
884
+ "auto",
885
+ "xs",
886
+ "sm",
887
+ "md",
888
+ "lg",
889
+ "xl",
890
+ "xxl",
891
+ "xxxl"
892
+ ]
893
+ },
878
894
  "onRowToggleClick": {
879
895
  "type": "function",
880
896
  "platforms": [
@@ -894,11 +910,18 @@
894
910
  ]
895
911
  },
896
912
  "paginationProps": {
897
- "type": "function",
913
+ "type": "GenericObject",
898
914
  "platforms": [
899
915
  "react"
900
916
  ]
901
917
  },
918
+ "pinnedRows": {
919
+ "type": "GenericObject",
920
+ "platforms": [
921
+ "react",
922
+ "rails"
923
+ ]
924
+ },
902
925
  "responsive": {
903
926
  "type": "enum",
904
927
  "platforms": [
@@ -962,6 +985,12 @@
962
985
  "react"
963
986
  ]
964
987
  },
988
+ "stickyLeftColumn": {
989
+ "type": "array",
990
+ "platforms": [
991
+ "react"
992
+ ]
993
+ },
965
994
  "tableData": {
966
995
  "type": "array",
967
996
  "platforms": [
@@ -1018,11 +1047,29 @@
1018
1047
  "react"
1019
1048
  ]
1020
1049
  },
1021
- "pinnedRows": {
1050
+ "enableSorting": {
1051
+ "type": "boolean",
1022
1052
  "platforms": [
1023
- "rails"
1024
- ],
1025
- "type": "string"
1053
+ "react"
1054
+ ]
1055
+ },
1056
+ "sortIcon": {
1057
+ "type": "string | string[]",
1058
+ "platforms": [
1059
+ "react"
1060
+ ]
1061
+ },
1062
+ "collapsibleTrail": {
1063
+ "type": "boolean",
1064
+ "platforms": [
1065
+ "react"
1066
+ ]
1067
+ },
1068
+ "subRowHeaders": {
1069
+ "type": "array",
1070
+ "platforms": [
1071
+ "react"
1072
+ ]
1026
1073
  }
1027
1074
  },
1028
1075
  "globalProps": true,
@@ -1046,6 +1093,19 @@
1046
1093
  "rails"
1047
1094
  ],
1048
1095
  "props": {
1096
+ "componentOverlay": {
1097
+ "type": "GenericObject",
1098
+ "platforms": [
1099
+ "react",
1100
+ "rails"
1101
+ ]
1102
+ },
1103
+ "dark": {
1104
+ "type": "boolean",
1105
+ "platforms": [
1106
+ "react"
1107
+ ]
1108
+ },
1049
1109
  "grayscale": {
1050
1110
  "type": "boolean",
1051
1111
  "platforms": [
@@ -1104,11 +1164,6 @@
1104
1164
  "offline",
1105
1165
  "online"
1106
1166
  ]
1107
- },
1108
- "componentOverlay": {
1109
- "platforms": [
1110
- "rails"
1111
- ]
1112
1167
  }
1113
1168
  },
1114
1169
  "globalProps": true,
@@ -1281,6 +1336,20 @@
1281
1336
  ],
1282
1337
  "default": null
1283
1338
  },
1339
+ "padding": {
1340
+ "type": "enum",
1341
+ "platforms": [
1342
+ "react"
1343
+ ],
1344
+ "values": [
1345
+ "none",
1346
+ "xs",
1347
+ "sm",
1348
+ "md",
1349
+ "lg",
1350
+ "xl"
1351
+ ]
1352
+ },
1284
1353
  "tag": {
1285
1354
  "type": "enum",
1286
1355
  "platforms": [
@@ -1340,6 +1409,12 @@
1340
1409
  "rails"
1341
1410
  ],
1342
1411
  "props": {
1412
+ "closeProps": {
1413
+ "type": "GenericObject",
1414
+ "platforms": [
1415
+ "react"
1416
+ ]
1417
+ },
1343
1418
  "removeIcon": {
1344
1419
  "type": "boolean",
1345
1420
  "platforms": [
@@ -1429,6 +1504,12 @@
1429
1504
  ],
1430
1505
  "default": "default"
1431
1506
  },
1507
+ "dark": {
1508
+ "type": "boolean",
1509
+ "platforms": [
1510
+ "react"
1511
+ ]
1512
+ },
1432
1513
  "highlightedText": {
1433
1514
  "type": "array",
1434
1515
  "platforms": [
@@ -1749,14 +1830,6 @@
1749
1830
  "rails"
1750
1831
  ],
1751
1832
  "props": {
1752
- "connected": {
1753
- "type": "boolean",
1754
- "platforms": [
1755
- "react",
1756
- "rails"
1757
- ],
1758
- "default": false
1759
- },
1760
1833
  "onClick": {
1761
1834
  "type": "ReactNode",
1762
1835
  "platforms": [
@@ -1793,6 +1866,13 @@
1793
1866
  "secondary"
1794
1867
  ],
1795
1868
  "default": "primary"
1869
+ },
1870
+ "connected": {
1871
+ "platforms": [
1872
+ "rails"
1873
+ ],
1874
+ "type": "boolean",
1875
+ "default": false
1796
1876
  }
1797
1877
  },
1798
1878
  "globalProps": true,
@@ -1961,6 +2041,21 @@
1961
2041
  ],
1962
2042
  "default": false
1963
2043
  },
2044
+ "borderRadius": {
2045
+ "type": "enum",
2046
+ "platforms": [
2047
+ "react"
2048
+ ],
2049
+ "values": [
2050
+ "xs",
2051
+ "sm",
2052
+ "md",
2053
+ "lg",
2054
+ "xl",
2055
+ "none",
2056
+ "rounded"
2057
+ ]
2058
+ },
1964
2059
  "dragId": {
1965
2060
  "type": "string",
1966
2061
  "platforms": [
@@ -1984,12 +2079,25 @@
1984
2079
  ],
1985
2080
  "default": true
1986
2081
  },
2082
+ "highlight": {
2083
+ "type": "GenericObject",
2084
+ "platforms": [
2085
+ "react",
2086
+ "rails"
2087
+ ]
2088
+ },
1987
2089
  "length": {
1988
2090
  "type": "number",
1989
2091
  "platforms": [
1990
2092
  "react"
1991
2093
  ]
1992
2094
  },
2095
+ "padding": {
2096
+ "type": "string",
2097
+ "platforms": [
2098
+ "react"
2099
+ ]
2100
+ },
1993
2101
  "selected": {
1994
2102
  "type": "boolean",
1995
2103
  "platforms": [
@@ -2030,12 +2138,6 @@
2030
2138
  ],
2031
2139
  "default": false
2032
2140
  },
2033
- "highlight": {
2034
- "platforms": [
2035
- "rails"
2036
- ],
2037
- "type": "string"
2038
- },
2039
2141
  "items": {
2040
2142
  "platforms": [
2041
2143
  "rails"
@@ -2058,11 +2160,11 @@
2058
2160
  "usage": {
2059
2161
  "react": {
2060
2162
  "import": "import { Card } from 'playbook-ui'",
2061
- "example": "<Card background=\"white\" tag=\"div\"></Card>"
2163
+ "example": "<Card background=\"white\" borderRadius=\"xs\"></Card>"
2062
2164
  },
2063
2165
  "rails": {
2064
2166
  "import": null,
2065
- "example": "<%= pb_rails(\"card\", props: { background: \"white\", tag: \"div\" }) %>"
2167
+ "example": "<%= pb_rails(\"card\", props: { background: \"white\", border_radius: \"xs\" }) %>"
2066
2168
  }
2067
2169
  }
2068
2170
  },
@@ -2083,6 +2185,12 @@
2083
2185
  ],
2084
2186
  "default": false
2085
2187
  },
2188
+ "dark": {
2189
+ "type": "boolean",
2190
+ "platforms": [
2191
+ "react"
2192
+ ]
2193
+ },
2086
2194
  "disabled": {
2087
2195
  "type": "boolean",
2088
2196
  "platforms": [
@@ -2218,6 +2326,12 @@
2218
2326
  "rails"
2219
2327
  ],
2220
2328
  "props": {
2329
+ "dark": {
2330
+ "type": "boolean",
2331
+ "platforms": [
2332
+ "react"
2333
+ ]
2334
+ },
2221
2335
  "disabled": {
2222
2336
  "type": "boolean",
2223
2337
  "platforms": [
@@ -2362,9 +2476,24 @@
2362
2476
  ]
2363
2477
  },
2364
2478
  "iconSize": {
2365
- "type": "IconSizes",
2479
+ "type": "enum",
2366
2480
  "platforms": [
2367
2481
  "react"
2482
+ ],
2483
+ "values": [
2484
+ "lg",
2485
+ "xs",
2486
+ "sm",
2487
+ "1x",
2488
+ "2x",
2489
+ "3x",
2490
+ "4x",
2491
+ "5x",
2492
+ "6x",
2493
+ "7x",
2494
+ "8x",
2495
+ "9x",
2496
+ "10x"
2368
2497
  ]
2369
2498
  },
2370
2499
  "onIconClick": {
@@ -2408,11 +2537,11 @@
2408
2537
  "usage": {
2409
2538
  "react": {
2410
2539
  "import": "import { Collapsible } from 'playbook-ui'",
2411
- "example": "<Collapsible iconColor=\"default\" tag=\"h1\"></Collapsible>"
2540
+ "example": "<Collapsible iconColor=\"default\" iconSize=\"lg\"></Collapsible>"
2412
2541
  },
2413
2542
  "rails": {
2414
2543
  "import": null,
2415
- "example": "<%= pb_rails(\"collapsible\", props: { icon_color: \"default\", tag: \"h1\" }) %>"
2544
+ "example": "<%= pb_rails(\"collapsible\", props: { icon_color: \"default\", icon_size: \"lg\" }) %>"
2416
2545
  }
2417
2546
  }
2418
2547
  },
@@ -2446,6 +2575,12 @@
2446
2575
  "rails"
2447
2576
  ]
2448
2577
  },
2578
+ "dark": {
2579
+ "type": "boolean",
2580
+ "platforms": [
2581
+ "react"
2582
+ ]
2583
+ },
2449
2584
  "iconEnabled": {
2450
2585
  "type": "boolean",
2451
2586
  "platforms": [
@@ -2606,6 +2741,12 @@
2606
2741
  "rails"
2607
2742
  ]
2608
2743
  },
2744
+ "dark": {
2745
+ "type": "boolean",
2746
+ "platforms": [
2747
+ "react"
2748
+ ]
2749
+ },
2609
2750
  "decimals": {
2610
2751
  "type": "enum",
2611
2752
  "platforms": [
@@ -2733,24 +2874,26 @@
2733
2874
  ],
2734
2875
  "default": "left"
2735
2876
  },
2736
- "statLabel": {
2737
- "type": "string statValue?: { unit?: string value?: string | number",
2877
+ "statChange": {
2878
+ "type": "GenericObject",
2738
2879
  "platforms": [
2739
2880
  "react",
2740
2881
  "rails"
2741
2882
  ]
2742
2883
  },
2743
- "statChange": {
2884
+ "statLabel": {
2885
+ "type": "string",
2744
2886
  "platforms": [
2887
+ "react",
2745
2888
  "rails"
2746
- ],
2747
- "type": "string"
2889
+ ]
2748
2890
  },
2749
2891
  "statValue": {
2892
+ "type": "GenericObject",
2750
2893
  "platforms": [
2894
+ "react",
2751
2895
  "rails"
2752
- ],
2753
- "type": "string"
2896
+ ]
2754
2897
  }
2755
2898
  },
2756
2899
  "globalProps": true,
@@ -2775,7 +2918,7 @@
2775
2918
  ],
2776
2919
  "props": {
2777
2920
  "alignment": {
2778
- "type": "\"left\" | \"center\" | \"right\";",
2921
+ "type": "enum",
2779
2922
  "platforms": [
2780
2923
  "react",
2781
2924
  "rails"
@@ -2787,8 +2930,14 @@
2787
2930
  ],
2788
2931
  "default": "left"
2789
2932
  },
2933
+ "dark": {
2934
+ "type": "boolean",
2935
+ "platforms": [
2936
+ "react"
2937
+ ]
2938
+ },
2790
2939
  "showDayOfWeek": {
2791
- "type": "boolean;",
2940
+ "type": "boolean",
2792
2941
  "platforms": [
2793
2942
  "react",
2794
2943
  "rails"
@@ -2796,7 +2945,7 @@
2796
2945
  "default": false
2797
2946
  },
2798
2947
  "showCurrentYear": {
2799
- "type": "boolean;",
2948
+ "type": "boolean",
2800
2949
  "platforms": [
2801
2950
  "react",
2802
2951
  "rails"
@@ -2804,7 +2953,7 @@
2804
2953
  "default": false
2805
2954
  },
2806
2955
  "showIcon": {
2807
- "type": "boolean;",
2956
+ "type": "boolean",
2808
2957
  "platforms": [
2809
2958
  "react",
2810
2959
  "rails"
@@ -2812,21 +2961,20 @@
2812
2961
  "default": false
2813
2962
  },
2814
2963
  "size": {
2815
- "type": "\"sm\" | \"md\" | \"lg\";",
2964
+ "type": "enum",
2816
2965
  "platforms": [
2817
2966
  "react",
2818
2967
  "rails"
2819
2968
  ],
2820
2969
  "values": [
2821
- "lg",
2822
- "md",
2823
2970
  "sm",
2824
- "xs"
2971
+ "md",
2972
+ "lg"
2825
2973
  ],
2826
2974
  "default": "md"
2827
2975
  },
2828
2976
  "unstyled": {
2829
- "type": "boolean;",
2977
+ "type": "boolean",
2830
2978
  "platforms": [
2831
2979
  "react",
2832
2980
  "rails"
@@ -2834,7 +2982,7 @@
2834
2982
  "default": false
2835
2983
  },
2836
2984
  "value": {
2837
- "type": "Date;",
2985
+ "type": "Date",
2838
2986
  "platforms": [
2839
2987
  "react"
2840
2988
  ]
@@ -2855,11 +3003,11 @@
2855
3003
  "usage": {
2856
3004
  "react": {
2857
3005
  "import": "import { Date } from 'playbook-ui'",
2858
- "example": "<Date alignment=\"left\" size=\"lg\"></Date>"
3006
+ "example": "<Date alignment=\"left\" size=\"sm\"></Date>"
2859
3007
  },
2860
3008
  "rails": {
2861
3009
  "import": null,
2862
- "example": "<%= pb_rails(\"date\", props: { alignment: \"left\", size: \"lg\" }) %>"
3010
+ "example": "<%= pb_rails(\"date\", props: { alignment: \"left\", size: \"sm\" }) %>"
2863
3011
  }
2864
3012
  }
2865
3013
  },
@@ -2881,12 +3029,18 @@
2881
3029
  "default": false
2882
3030
  },
2883
3031
  "customQuickPickDates": {
2884
- "type": "object",
3032
+ "type": "GenericObject",
2885
3033
  "platforms": [
2886
3034
  "react",
2887
3035
  "rails"
2888
3036
  ]
2889
3037
  },
3038
+ "dark": {
3039
+ "type": "boolean",
3040
+ "platforms": [
3041
+ "react"
3042
+ ]
3043
+ },
2890
3044
  "defaultDate": {
2891
3045
  "type": "string",
2892
3046
  "platforms": [
@@ -2976,14 +3130,14 @@
2976
3130
  ]
2977
3131
  },
2978
3132
  "inputAria": {
2979
- "type": "object",
3133
+ "type": "GenericObject",
2980
3134
  "platforms": [
2981
3135
  "react",
2982
3136
  "rails"
2983
3137
  ]
2984
3138
  },
2985
3139
  "inputData": {
2986
- "type": "object",
3140
+ "type": "GenericObject",
2987
3141
  "platforms": [
2988
3142
  "react",
2989
3143
  "rails"
@@ -3248,7 +3402,7 @@
3248
3402
  ],
3249
3403
  "props": {
3250
3404
  "align": {
3251
- "type": "\"left\" | \"center\" | \"right\";",
3405
+ "type": "enum",
3252
3406
  "platforms": [
3253
3407
  "react",
3254
3408
  "rails"
@@ -3260,34 +3414,40 @@
3260
3414
  ],
3261
3415
  "default": "left"
3262
3416
  },
3417
+ "dark": {
3418
+ "type": "boolean",
3419
+ "platforms": [
3420
+ "react"
3421
+ ]
3422
+ },
3263
3423
  "endDate": {
3264
- "type": "Date;",
3424
+ "type": "Date",
3265
3425
  "platforms": [
3266
3426
  "react",
3267
3427
  "rails"
3268
3428
  ]
3269
3429
  },
3270
3430
  "icon": {
3271
- "type": "boolean;",
3431
+ "type": "boolean",
3272
3432
  "platforms": [
3273
3433
  "react",
3274
3434
  "rails"
3275
3435
  ]
3276
3436
  },
3277
3437
  "size": {
3278
- "type": "\"sm\" | \"xs\";",
3438
+ "type": "enum",
3279
3439
  "platforms": [
3280
3440
  "react",
3281
3441
  "rails"
3282
3442
  ],
3283
3443
  "values": [
3284
- "xs",
3285
- "sm"
3444
+ "sm",
3445
+ "xs"
3286
3446
  ],
3287
3447
  "default": "sm"
3288
3448
  },
3289
3449
  "showCurrentYear": {
3290
- "type": "boolean;",
3450
+ "type": "boolean",
3291
3451
  "platforms": [
3292
3452
  "react",
3293
3453
  "rails"
@@ -3295,7 +3455,7 @@
3295
3455
  "default": false
3296
3456
  },
3297
3457
  "startDate": {
3298
- "type": "Date;",
3458
+ "type": "Date",
3299
3459
  "platforms": [
3300
3460
  "react",
3301
3461
  "rails"
@@ -3306,11 +3466,11 @@
3306
3466
  "usage": {
3307
3467
  "react": {
3308
3468
  "import": "import { DateRangeInline } from 'playbook-ui'",
3309
- "example": "<DateRangeInline align=\"left\" size=\"xs\"></DateRangeInline>"
3469
+ "example": "<DateRangeInline align=\"left\" size=\"sm\"></DateRangeInline>"
3310
3470
  },
3311
3471
  "rails": {
3312
3472
  "import": null,
3313
- "example": "<%= pb_rails(\"date_range_inline\", props: { align: \"left\", size: \"xs\" }) %>"
3473
+ "example": "<%= pb_rails(\"date_range_inline\", props: { align: \"left\", size: \"sm\" }) %>"
3314
3474
  }
3315
3475
  }
3316
3476
  },
@@ -3323,6 +3483,12 @@
3323
3483
  "rails"
3324
3484
  ],
3325
3485
  "props": {
3486
+ "dark": {
3487
+ "type": "boolean",
3488
+ "platforms": [
3489
+ "react"
3490
+ ]
3491
+ },
3326
3492
  "endDate": {
3327
3493
  "type": "Date",
3328
3494
  "platforms": [
@@ -3360,7 +3526,7 @@
3360
3526
  ],
3361
3527
  "props": {
3362
3528
  "align": {
3363
- "type": "\"left\" | \"center\" | \"right\";",
3529
+ "type": "enum",
3364
3530
  "platforms": [
3365
3531
  "react",
3366
3532
  "rails"
@@ -3373,22 +3539,28 @@
3373
3539
  "default": "left"
3374
3540
  },
3375
3541
  "bold": {
3376
- "type": "boolean;",
3542
+ "type": "boolean",
3377
3543
  "platforms": [
3378
3544
  "react",
3379
3545
  "rails"
3380
3546
  ],
3381
3547
  "default": false
3382
3548
  },
3549
+ "dark": {
3550
+ "type": "boolean",
3551
+ "platforms": [
3552
+ "react"
3553
+ ]
3554
+ },
3383
3555
  "date": {
3384
- "type": "Date;",
3556
+ "type": "Date",
3385
3557
  "platforms": [
3386
3558
  "react",
3387
3559
  "rails"
3388
3560
  ]
3389
3561
  },
3390
3562
  "size": {
3391
- "type": "\"sm\" | \"md\";",
3563
+ "type": "enum",
3392
3564
  "platforms": [
3393
3565
  "react",
3394
3566
  "rails"
@@ -3400,7 +3572,7 @@
3400
3572
  "default": "sm"
3401
3573
  },
3402
3574
  "reverse": {
3403
- "type": "boolean;",
3575
+ "type": "boolean",
3404
3576
  "platforms": [
3405
3577
  "react",
3406
3578
  "rails"
@@ -3408,7 +3580,7 @@
3408
3580
  "default": false
3409
3581
  },
3410
3582
  "showCurrentYear": {
3411
- "type": "boolean;",
3583
+ "type": "boolean",
3412
3584
  "platforms": [
3413
3585
  "react",
3414
3586
  "rails"
@@ -3546,6 +3718,12 @@
3546
3718
  "react"
3547
3719
  ]
3548
3720
  },
3721
+ "dark": {
3722
+ "type": "boolean",
3723
+ "platforms": [
3724
+ "react"
3725
+ ]
3726
+ },
3549
3727
  "timeZone": {
3550
3728
  "type": "string",
3551
3729
  "platforms": [
@@ -3608,6 +3786,12 @@
3608
3786
  ],
3609
3787
  "default": "left"
3610
3788
  },
3789
+ "dark": {
3790
+ "type": "boolean",
3791
+ "platforms": [
3792
+ "react"
3793
+ ]
3794
+ },
3611
3795
  "date": {
3612
3796
  "type": "Date",
3613
3797
  "platforms": [
@@ -3661,6 +3845,12 @@
3661
3845
  ],
3662
3846
  "default": "light"
3663
3847
  },
3848
+ "dark": {
3849
+ "type": "boolean",
3850
+ "platforms": [
3851
+ "react"
3852
+ ]
3853
+ },
3664
3854
  "tag": {
3665
3855
  "type": "enum",
3666
3856
  "platforms": [
@@ -3710,14 +3900,14 @@
3710
3900
  ],
3711
3901
  "props": {
3712
3902
  "cancelButton": {
3713
- "type": "string;",
3903
+ "type": "string",
3714
3904
  "platforms": [
3715
3905
  "react",
3716
3906
  "rails"
3717
3907
  ]
3718
3908
  },
3719
3909
  "closeable": {
3720
- "type": "boolean;",
3910
+ "type": "boolean",
3721
3911
  "platforms": [
3722
3912
  "react",
3723
3913
  "rails"
@@ -3725,14 +3915,14 @@
3725
3915
  "default": true
3726
3916
  },
3727
3917
  "confirmButton": {
3728
- "type": "string;",
3918
+ "type": "string",
3729
3919
  "platforms": [
3730
3920
  "react",
3731
3921
  "rails"
3732
3922
  ]
3733
3923
  },
3734
3924
  "fullHeight": {
3735
- "type": "boolean;",
3925
+ "type": "boolean",
3736
3926
  "platforms": [
3737
3927
  "react",
3738
3928
  "rails"
@@ -3740,7 +3930,7 @@
3740
3930
  "default": false
3741
3931
  },
3742
3932
  "loading": {
3743
- "type": "boolean;",
3933
+ "type": "boolean",
3744
3934
  "platforms": [
3745
3935
  "react",
3746
3936
  "rails"
@@ -3771,32 +3961,32 @@
3771
3961
  ]
3772
3962
  },
3773
3963
  "opened": {
3774
- "type": "boolean;",
3964
+ "type": "boolean",
3775
3965
  "platforms": [
3776
3966
  "react"
3777
3967
  ]
3778
3968
  },
3779
3969
  "portalClassName": {
3780
- "type": "string;",
3970
+ "type": "string",
3781
3971
  "platforms": [
3782
3972
  "react"
3783
3973
  ]
3784
3974
  },
3785
3975
  "placement": {
3786
- "type": "\"left\" | \"center\" | \"right\";",
3976
+ "type": "enum",
3787
3977
  "platforms": [
3788
3978
  "react",
3789
3979
  "rails"
3790
3980
  ],
3791
3981
  "values": [
3792
3982
  "left",
3793
- "right",
3794
- "center"
3983
+ "center",
3984
+ "right"
3795
3985
  ],
3796
3986
  "default": "center"
3797
3987
  },
3798
3988
  "shouldCloseOnOverlayClick": {
3799
- "type": "boolean;",
3989
+ "type": "boolean",
3800
3990
  "platforms": [
3801
3991
  "react",
3802
3992
  "rails"
@@ -3804,7 +3994,7 @@
3804
3994
  "default": true
3805
3995
  },
3806
3996
  "size": {
3807
- "type": "\"sm\" | \"md\" | \"lg\" | \"xl\" | \"status_size\" | \"content\";",
3997
+ "type": "enum",
3808
3998
  "platforms": [
3809
3999
  "react",
3810
4000
  "rails"
@@ -3820,7 +4010,7 @@
3820
4010
  "default": "md"
3821
4011
  },
3822
4012
  "status": {
3823
- "type": "\"info\" | \"caution\" | \"delete\" | \"error\" | \"success\";",
4013
+ "type": "enum",
3824
4014
  "platforms": [
3825
4015
  "react",
3826
4016
  "rails"
@@ -3830,28 +4020,26 @@
3830
4020
  "caution",
3831
4021
  "delete",
3832
4022
  "error",
3833
- "success",
3834
- "default",
3835
- ""
4023
+ "success"
3836
4024
  ],
3837
4025
  "default": ""
3838
4026
  },
3839
4027
  "text": {
3840
- "type": "string;",
4028
+ "type": "string",
3841
4029
  "platforms": [
3842
4030
  "react",
3843
4031
  "rails"
3844
4032
  ]
3845
4033
  },
3846
4034
  "title": {
3847
- "type": "string;",
4035
+ "type": "string",
3848
4036
  "platforms": [
3849
4037
  "react",
3850
4038
  "rails"
3851
4039
  ]
3852
4040
  },
3853
4041
  "trigger": {
3854
- "type": "string;",
4042
+ "type": "string",
3855
4043
  "platforms": [
3856
4044
  "react"
3857
4045
  ]
@@ -3944,20 +4132,26 @@
3944
4132
  ],
3945
4133
  "props": {
3946
4134
  "dropZone": {
3947
- "type": "'ghost' | 'outline' | 'shadow' | 'line';",
4135
+ "type": "enum",
3948
4136
  "platforms": [
3949
4137
  "react"
4138
+ ],
4139
+ "values": [
4140
+ "ghost",
4141
+ "outline",
4142
+ "shadow",
4143
+ "line"
3950
4144
  ]
3951
4145
  },
3952
4146
  "dropZoneColor": {
3953
- "type": "'primary' | 'neutral' | 'purple';",
4147
+ "type": "enum",
3954
4148
  "platforms": [
3955
4149
  "react",
3956
4150
  "rails"
3957
4151
  ],
3958
4152
  "values": [
3959
- "neutral",
3960
4153
  "primary",
4154
+ "neutral",
3961
4155
  "purple"
3962
4156
  ],
3963
4157
  "default": "neutral"
@@ -3986,11 +4180,11 @@
3986
4180
  "usage": {
3987
4181
  "react": {
3988
4182
  "import": "import { Draggable } from 'playbook-ui'",
3989
- "example": "<Draggable dropZoneColor=\"neutral\" dropZoneType=\"ghost\"></Draggable>"
4183
+ "example": "<Draggable dropZone=\"ghost\" dropZoneColor=\"primary\"></Draggable>"
3990
4184
  },
3991
4185
  "rails": {
3992
4186
  "import": null,
3993
- "example": "<%= pb_rails(\"draggable\", props: { drop_zone_color: \"neutral\", drop_zone_type: \"ghost\" }) %>"
4187
+ "example": "<%= pb_rails(\"draggable\", props: { drop_zone: \"ghost\", drop_zone_color: \"primary\" }) %>"
3994
4188
  }
3995
4189
  }
3996
4190
  },
@@ -4004,7 +4198,7 @@
4004
4198
  ],
4005
4199
  "props": {
4006
4200
  "autocomplete": {
4007
- "type": "boolean;",
4201
+ "type": "boolean",
4008
4202
  "platforms": [
4009
4203
  "react",
4010
4204
  "rails"
@@ -4012,7 +4206,7 @@
4012
4206
  "default": false
4013
4207
  },
4014
4208
  "blankSelection": {
4015
- "type": "string;",
4209
+ "type": "string",
4016
4210
  "platforms": [
4017
4211
  "react",
4018
4212
  "rails"
@@ -4020,7 +4214,7 @@
4020
4214
  "default": ""
4021
4215
  },
4022
4216
  "clearable": {
4023
- "type": "boolean;",
4217
+ "type": "boolean",
4024
4218
  "platforms": [
4025
4219
  "react",
4026
4220
  "rails"
@@ -4028,7 +4222,7 @@
4028
4222
  "default": true
4029
4223
  },
4030
4224
  "closeOnClick": {
4031
- "type": "\"outside\" | \"inside\" | \"any\";",
4225
+ "type": "enum",
4032
4226
  "platforms": [
4033
4227
  "react",
4034
4228
  "rails"
@@ -4041,7 +4235,7 @@
4041
4235
  "default": "any"
4042
4236
  },
4043
4237
  "constrainHeight": {
4044
- "type": "boolean;",
4238
+ "type": "boolean",
4045
4239
  "platforms": [
4046
4240
  "react",
4047
4241
  "rails"
@@ -4049,48 +4243,54 @@
4049
4243
  "default": false
4050
4244
  },
4051
4245
  "customQuickPickDates": {
4052
- "type": "CustomQuickPickDates;",
4246
+ "type": "CustomQuickPickDates",
4053
4247
  "platforms": [
4054
4248
  "react",
4055
4249
  "rails"
4056
4250
  ]
4057
4251
  },
4058
4252
  "formPillProps": {
4059
- "type": "GenericObject;",
4253
+ "type": "GenericObject",
4060
4254
  "platforms": [
4061
4255
  "react",
4062
4256
  "rails"
4063
4257
  ]
4064
4258
  },
4259
+ "dark": {
4260
+ "type": "boolean",
4261
+ "platforms": [
4262
+ "react"
4263
+ ]
4264
+ },
4065
4265
  "defaultValue": {
4066
- "type": "GenericObject;",
4266
+ "type": "GenericObject",
4067
4267
  "platforms": [
4068
4268
  "react",
4069
4269
  "rails"
4070
4270
  ]
4071
4271
  },
4072
4272
  "error": {
4073
- "type": "string;",
4273
+ "type": "string",
4074
4274
  "platforms": [
4075
4275
  "react",
4076
4276
  "rails"
4077
4277
  ]
4078
4278
  },
4079
4279
  "isClosed": {
4080
- "type": "boolean;",
4280
+ "type": "boolean",
4081
4281
  "platforms": [
4082
4282
  "react"
4083
4283
  ]
4084
4284
  },
4085
4285
  "label": {
4086
- "type": "string;",
4286
+ "type": "string",
4087
4287
  "platforms": [
4088
4288
  "react",
4089
4289
  "rails"
4090
4290
  ]
4091
4291
  },
4092
4292
  "multiSelect": {
4093
- "type": "boolean;",
4293
+ "type": "boolean",
4094
4294
  "platforms": [
4095
4295
  "react",
4096
4296
  "rails"
@@ -4104,21 +4304,21 @@
4104
4304
  ]
4105
4305
  },
4106
4306
  "options": {
4107
- "type": "GenericObject;",
4307
+ "type": "GenericObject",
4108
4308
  "platforms": [
4109
4309
  "react",
4110
4310
  "rails"
4111
4311
  ]
4112
4312
  },
4113
4313
  "placeholder": {
4114
- "type": "string;",
4314
+ "type": "string",
4115
4315
  "platforms": [
4116
4316
  "react",
4117
4317
  "rails"
4118
4318
  ]
4119
4319
  },
4120
4320
  "separators": {
4121
- "type": "boolean;",
4321
+ "type": "boolean",
4122
4322
  "platforms": [
4123
4323
  "react",
4124
4324
  "rails"
@@ -4126,7 +4326,7 @@
4126
4326
  "default": true
4127
4327
  },
4128
4328
  "variant": {
4129
- "type": "\"default\" | \"subtle\" | \"quickpick\";",
4329
+ "type": "enum",
4130
4330
  "platforms": [
4131
4331
  "react",
4132
4332
  "rails"
@@ -4139,7 +4339,7 @@
4139
4339
  "default": "default"
4140
4340
  },
4141
4341
  "rangeEndsToday": {
4142
- "type": "boolean;",
4342
+ "type": "boolean",
4143
4343
  "platforms": [
4144
4344
  "react",
4145
4345
  "rails"
@@ -4147,7 +4347,7 @@
4147
4347
  "default": false
4148
4348
  },
4149
4349
  "controlsStartId": {
4150
- "type": "string;",
4350
+ "type": "string",
4151
4351
  "platforms": [
4152
4352
  "react",
4153
4353
  "rails"
@@ -4155,15 +4355,21 @@
4155
4355
  "default": ""
4156
4356
  },
4157
4357
  "controlsEndId": {
4158
- "type": "string; activeStyle?: { backgroundColor?: string; fontColor?: string;",
4358
+ "type": "string",
4159
4359
  "platforms": [
4160
4360
  "react",
4161
4361
  "rails"
4162
4362
  ],
4163
4363
  "default": ""
4164
4364
  },
4365
+ "activeStyle": {
4366
+ "type": "GenericObject",
4367
+ "platforms": [
4368
+ "react"
4369
+ ]
4370
+ },
4165
4371
  "requiredIndicator": {
4166
- "type": "boolean;",
4372
+ "type": "boolean",
4167
4373
  "platforms": [
4168
4374
  "react",
4169
4375
  "rails"
@@ -4378,6 +4584,12 @@
4378
4584
  "react"
4379
4585
  ]
4380
4586
  },
4587
+ "dark": {
4588
+ "type": "boolean",
4589
+ "platforms": [
4590
+ "react"
4591
+ ]
4592
+ },
4381
4593
  "acceptedFilesDescription": {
4382
4594
  "type": "string",
4383
4595
  "platforms": [
@@ -4422,13 +4634,13 @@
4422
4634
  ]
4423
4635
  },
4424
4636
  "isDragActive": {
4425
- "type": "boolean;",
4637
+ "type": "boolean",
4426
4638
  "platforms": [
4427
4639
  "react"
4428
4640
  ]
4429
4641
  },
4430
4642
  "fileRejections": {
4431
- "type": "readonly FileRejection[];",
4643
+ "type": "array",
4432
4644
  "platforms": [
4433
4645
  "react"
4434
4646
  ]
@@ -4576,14 +4788,14 @@
4576
4788
  ],
4577
4789
  "props": {
4578
4790
  "autoClose": {
4579
- "type": "number;",
4791
+ "type": "number",
4580
4792
  "platforms": [
4581
4793
  "react",
4582
4794
  "rails"
4583
4795
  ]
4584
4796
  },
4585
4797
  "closeable": {
4586
- "type": "boolean;",
4798
+ "type": "boolean",
4587
4799
  "platforms": [
4588
4800
  "react",
4589
4801
  "rails"
@@ -4591,7 +4803,7 @@
4591
4803
  "default": false
4592
4804
  },
4593
4805
  "horizontal": {
4594
- "type": "\"right\" | \"left\" | \"center\";",
4806
+ "type": "enum",
4595
4807
  "platforms": [
4596
4808
  "react",
4597
4809
  "rails"
@@ -4611,7 +4823,7 @@
4611
4823
  ]
4612
4824
  },
4613
4825
  "multiLine": {
4614
- "type": "boolean;",
4826
+ "type": "boolean",
4615
4827
  "platforms": [
4616
4828
  "react",
4617
4829
  "rails"
@@ -4619,7 +4831,7 @@
4619
4831
  "default": false
4620
4832
  },
4621
4833
  "navMarginTop": {
4622
- "type": "boolean;",
4834
+ "type": "boolean",
4623
4835
  "platforms": [
4624
4836
  "react",
4625
4837
  "rails"
@@ -4627,19 +4839,19 @@
4627
4839
  "default": false
4628
4840
  },
4629
4841
  "onClose": {
4630
- "type": "VoidCallback;",
4842
+ "type": "VoidCallback",
4631
4843
  "platforms": [
4632
4844
  "react"
4633
4845
  ]
4634
4846
  },
4635
4847
  "open": {
4636
- "type": "boolean;",
4848
+ "type": "boolean",
4637
4849
  "platforms": [
4638
4850
  "react"
4639
4851
  ]
4640
4852
  },
4641
4853
  "status": {
4642
- "type": "\"success\" | \"error\" | \"neutral\" | \"tip\";",
4854
+ "type": "enum",
4643
4855
  "platforms": [
4644
4856
  "react",
4645
4857
  "rails"
@@ -4653,14 +4865,14 @@
4653
4865
  "default": "neutral"
4654
4866
  },
4655
4867
  "text": {
4656
- "type": "string;",
4868
+ "type": "string",
4657
4869
  "platforms": [
4658
4870
  "react",
4659
4871
  "rails"
4660
4872
  ]
4661
4873
  },
4662
4874
  "vertical": {
4663
- "type": "\"top\" | \"bottom\";",
4875
+ "type": "enum",
4664
4876
  "platforms": [
4665
4877
  "react",
4666
4878
  "rails"
@@ -4670,6 +4882,12 @@
4670
4882
  "bottom"
4671
4883
  ],
4672
4884
  "default": null
4885
+ },
4886
+ "zIndex": {
4887
+ "type": "number | string",
4888
+ "platforms": [
4889
+ "react"
4890
+ ]
4673
4891
  }
4674
4892
  },
4675
4893
  "globalProps": true,
@@ -4799,6 +5017,24 @@
4799
5017
  ],
4800
5018
  "default": "none"
4801
5019
  },
5020
+ "gap": {
5021
+ "type": "SizeType | SizeResponsiveType",
5022
+ "platforms": [
5023
+ "react"
5024
+ ]
5025
+ },
5026
+ "rowGap": {
5027
+ "type": "SizeType | SizeResponsiveType",
5028
+ "platforms": [
5029
+ "react"
5030
+ ]
5031
+ },
5032
+ "columnGap": {
5033
+ "type": "SizeType | SizeResponsiveType",
5034
+ "platforms": [
5035
+ "react"
5036
+ ]
5037
+ },
4802
5038
  "wrap": {
4803
5039
  "type": "boolean",
4804
5040
  "platforms": [
@@ -5025,13 +5261,19 @@
5025
5261
  ]
5026
5262
  },
5027
5263
  "wrapped": {
5028
- "type": "ReactNode",
5264
+ "type": "boolean",
5029
5265
  "platforms": [
5030
5266
  "react",
5031
5267
  "rails"
5032
5268
  ],
5033
5269
  "default": false
5034
5270
  },
5271
+ "closeProps": {
5272
+ "type": "GenericObject",
5273
+ "platforms": [
5274
+ "react"
5275
+ ]
5276
+ },
5035
5277
  "tabindex": {
5036
5278
  "platforms": [
5037
5279
  "rails"
@@ -5059,6 +5301,12 @@
5059
5301
  "rails"
5060
5302
  ],
5061
5303
  "props": {
5304
+ "dark": {
5305
+ "type": "boolean",
5306
+ "platforms": [
5307
+ "react"
5308
+ ]
5309
+ },
5062
5310
  "newWindow": {
5063
5311
  "type": "boolean",
5064
5312
  "platforms": [
@@ -5186,6 +5434,12 @@
5186
5434
  "rails"
5187
5435
  ]
5188
5436
  },
5437
+ "dark": {
5438
+ "type": "boolean",
5439
+ "platforms": [
5440
+ "react"
5441
+ ]
5442
+ },
5189
5443
  "preserveCase": {
5190
5444
  "type": "boolean",
5191
5445
  "platforms": [
@@ -5302,7 +5556,7 @@
5302
5556
  ]
5303
5557
  },
5304
5558
  "customIcon": {
5305
- "type": "ReactNode",
5559
+ "type": "GenericObject",
5306
5560
  "platforms": [
5307
5561
  "react",
5308
5562
  "rails"
@@ -5389,7 +5643,7 @@
5389
5643
  "default": null
5390
5644
  },
5391
5645
  "size": {
5392
- "type": "IconSizes",
5646
+ "type": "enum",
5393
5647
  "platforms": [
5394
5648
  "react",
5395
5649
  "rails"
@@ -5507,12 +5761,15 @@
5507
5761
  ]
5508
5762
  },
5509
5763
  "size": {
5510
- "type": "IconSizes",
5764
+ "type": "enum",
5511
5765
  "platforms": [
5512
5766
  "react",
5513
5767
  "rails"
5514
5768
  ],
5515
5769
  "values": [
5770
+ "lg",
5771
+ "xs",
5772
+ "sm",
5516
5773
  "1x",
5517
5774
  "2x",
5518
5775
  "3x",
@@ -5522,10 +5779,7 @@
5522
5779
  "7x",
5523
5780
  "8x",
5524
5781
  "9x",
5525
- "10x",
5526
- "xs",
5527
- "sm",
5528
- "lg"
5782
+ "10x"
5529
5783
  ],
5530
5784
  "default": "2x"
5531
5785
  },
@@ -5565,11 +5819,11 @@
5565
5819
  "usage": {
5566
5820
  "react": {
5567
5821
  "import": "import { IconButton } from 'playbook-ui'",
5568
- "example": "<IconButton htmlType=\"submit\" size=\"1x\"></IconButton>"
5822
+ "example": "<IconButton htmlType=\"submit\" size=\"lg\"></IconButton>"
5569
5823
  },
5570
5824
  "rails": {
5571
5825
  "import": null,
5572
- "example": "<%= pb_rails(\"icon_button\", props: { html_type: \"submit\", size: \"1x\" }) %>"
5826
+ "example": "<%= pb_rails(\"icon_button\", props: { html_type: \"submit\", size: \"lg\" }) %>"
5573
5827
  }
5574
5828
  }
5575
5829
  },
@@ -5582,6 +5836,12 @@
5582
5836
  "rails"
5583
5837
  ],
5584
5838
  "props": {
5839
+ "dark": {
5840
+ "type": "boolean",
5841
+ "platforms": [
5842
+ "react"
5843
+ ]
5844
+ },
5585
5845
  "icon": {
5586
5846
  "type": "string",
5587
5847
  "platforms": [
@@ -5647,6 +5907,12 @@
5647
5907
  "rails"
5648
5908
  ],
5649
5909
  "props": {
5910
+ "dark": {
5911
+ "type": "boolean",
5912
+ "platforms": [
5913
+ "react"
5914
+ ]
5915
+ },
5650
5916
  "icon": {
5651
5917
  "type": "string",
5652
5918
  "platforms": [
@@ -5756,6 +6022,12 @@
5756
6022
  ],
5757
6023
  "default": "left"
5758
6024
  },
6025
+ "dark": {
6026
+ "type": "boolean",
6027
+ "platforms": [
6028
+ "react"
6029
+ ]
6030
+ },
5759
6031
  "icon": {
5760
6032
  "type": "string",
5761
6033
  "platforms": [
@@ -5919,36 +6191,42 @@
5919
6191
  ],
5920
6192
  "props": {
5921
6193
  "active": {
5922
- "type": "boolean;",
6194
+ "type": "boolean",
5923
6195
  "platforms": [
5924
6196
  "react",
5925
6197
  "rails"
5926
6198
  ],
5927
6199
  "default": false
5928
6200
  },
6201
+ "dark": {
6202
+ "type": "boolean",
6203
+ "platforms": [
6204
+ "react"
6205
+ ]
6206
+ },
5929
6207
  "date": {
5930
- "type": "Date;",
6208
+ "type": "Date",
5931
6209
  "platforms": [
5932
6210
  "react",
5933
6211
  "rails"
5934
6212
  ]
5935
6213
  },
5936
6214
  "label": {
5937
- "type": "string;",
6215
+ "type": "string",
5938
6216
  "platforms": [
5939
6217
  "react",
5940
6218
  "rails"
5941
6219
  ]
5942
6220
  },
5943
6221
  "value": {
5944
- "type": "string;",
6222
+ "type": "string",
5945
6223
  "platforms": [
5946
6224
  "react",
5947
6225
  "rails"
5948
6226
  ]
5949
6227
  },
5950
6228
  "variant": {
5951
- "type": "\"default\" | \"details\";",
6229
+ "type": "enum",
5952
6230
  "platforms": [
5953
6231
  "react",
5954
6232
  "rails"
@@ -5960,21 +6238,21 @@
5960
6238
  "default": "default"
5961
6239
  },
5962
6240
  "icon": {
5963
- "type": "string;",
6241
+ "type": "string",
5964
6242
  "platforms": [
5965
6243
  "react",
5966
6244
  "rails"
5967
6245
  ]
5968
6246
  },
5969
6247
  "description": {
5970
- "type": "string;",
6248
+ "type": "string",
5971
6249
  "platforms": [
5972
6250
  "react",
5973
6251
  "rails"
5974
6252
  ]
5975
6253
  },
5976
6254
  "title": {
5977
- "type": "string;",
6255
+ "type": "string",
5978
6256
  "platforms": [
5979
6257
  "react",
5980
6258
  "rails"
@@ -6017,6 +6295,12 @@
6017
6295
  ],
6018
6296
  "default": "xs"
6019
6297
  },
6298
+ "dark": {
6299
+ "type": "boolean",
6300
+ "platforms": [
6301
+ "react"
6302
+ ]
6303
+ },
6020
6304
  "full": {
6021
6305
  "type": "boolean",
6022
6306
  "platforms": [
@@ -6025,6 +6309,16 @@
6025
6309
  ],
6026
6310
  "default": false
6027
6311
  },
6312
+ "position": {
6313
+ "type": "enum",
6314
+ "platforms": [
6315
+ "react"
6316
+ ],
6317
+ "values": [
6318
+ "left",
6319
+ "right"
6320
+ ]
6321
+ },
6028
6322
  "responsive": {
6029
6323
  "type": "boolean",
6030
6324
  "platforms": [
@@ -6092,11 +6386,11 @@
6092
6386
  "usage": {
6093
6387
  "react": {
6094
6388
  "import": "import { Layout } from 'playbook-ui'",
6095
- "example": "<Layout collapse=\"xs\" size=\"sm\"></Layout>"
6389
+ "example": "<Layout collapse=\"xs\" position=\"left\"></Layout>"
6096
6390
  },
6097
6391
  "rails": {
6098
6392
  "import": null,
6099
- "example": "<%= pb_rails(\"layout\", props: { collapse: \"xs\", size: \"sm\" }) %>"
6393
+ "example": "<%= pb_rails(\"layout\", props: { collapse: \"xs\", position: \"left\" }) %>"
6100
6394
  }
6101
6395
  }
6102
6396
  },
@@ -6117,6 +6411,12 @@
6117
6411
  ],
6118
6412
  "default": "data_1"
6119
6413
  },
6414
+ "dark": {
6415
+ "type": "boolean",
6416
+ "platforms": [
6417
+ "react"
6418
+ ]
6419
+ },
6120
6420
  "prefixText": {
6121
6421
  "type": "string",
6122
6422
  "platforms": [
@@ -6167,6 +6467,12 @@
6167
6467
  ],
6168
6468
  "default": "default"
6169
6469
  },
6470
+ "dark": {
6471
+ "type": "boolean",
6472
+ "platforms": [
6473
+ "react"
6474
+ ]
6475
+ },
6170
6476
  "disabled": {
6171
6477
  "type": "boolean",
6172
6478
  "platforms": [
@@ -6272,15 +6578,21 @@
6272
6578
  ],
6273
6579
  "props": {
6274
6580
  "borderless": {
6275
- "type": "boolean;",
6581
+ "type": "boolean",
6276
6582
  "platforms": [
6277
6583
  "react",
6278
6584
  "rails"
6279
6585
  ],
6280
6586
  "default": false
6281
6587
  },
6588
+ "dark": {
6589
+ "type": "boolean",
6590
+ "platforms": [
6591
+ "react"
6592
+ ]
6593
+ },
6282
6594
  "enableDrag": {
6283
- "type": "boolean;",
6595
+ "type": "boolean",
6284
6596
  "platforms": [
6285
6597
  "react",
6286
6598
  "rails"
@@ -6288,20 +6600,19 @@
6288
6600
  "default": false
6289
6601
  },
6290
6602
  "layout": {
6291
- "type": "\"\" | \"left\" | \"right\";",
6603
+ "type": "enum",
6292
6604
  "platforms": [
6293
6605
  "react",
6294
6606
  "rails"
6295
6607
  ],
6296
6608
  "values": [
6297
6609
  "left",
6298
- "right",
6299
- ""
6610
+ "right"
6300
6611
  ],
6301
6612
  "default": ""
6302
6613
  },
6303
6614
  "ordered": {
6304
- "type": "boolean;",
6615
+ "type": "boolean",
6305
6616
  "platforms": [
6306
6617
  "react",
6307
6618
  "rails"
@@ -6309,39 +6620,39 @@
6309
6620
  "default": false
6310
6621
  },
6311
6622
  "role": {
6312
- "type": "string;",
6623
+ "type": "string",
6313
6624
  "platforms": [
6314
6625
  "react",
6315
6626
  "rails"
6316
6627
  ]
6317
6628
  },
6318
6629
  "tabIndex": {
6319
- "type": "number;",
6630
+ "type": "number",
6320
6631
  "platforms": [
6321
6632
  "react"
6322
6633
  ]
6323
6634
  },
6324
6635
  "text": {
6325
- "type": "string;",
6636
+ "type": "string",
6326
6637
  "platforms": [
6327
6638
  "react"
6328
6639
  ]
6329
6640
  },
6330
6641
  "size": {
6331
- "type": "string;",
6642
+ "type": "string",
6332
6643
  "platforms": [
6333
6644
  "react",
6334
6645
  "rails"
6335
6646
  ]
6336
6647
  },
6337
6648
  "variant": {
6338
- "type": "string;",
6649
+ "type": "string",
6339
6650
  "platforms": [
6340
6651
  "react"
6341
6652
  ]
6342
6653
  },
6343
6654
  "xpadding": {
6344
- "type": "boolean;",
6655
+ "type": "boolean",
6345
6656
  "platforms": [
6346
6657
  "react",
6347
6658
  "rails"
@@ -6394,6 +6705,12 @@
6394
6705
  ],
6395
6706
  "default": "left"
6396
6707
  },
6708
+ "dark": {
6709
+ "type": "boolean",
6710
+ "platforms": [
6711
+ "react"
6712
+ ]
6713
+ },
6397
6714
  "text": {
6398
6715
  "type": "string",
6399
6716
  "platforms": [
@@ -6592,7 +6909,7 @@
6592
6909
  ],
6593
6910
  "props": {
6594
6911
  "disabled": {
6595
- "type": "boolean;",
6912
+ "type": "boolean",
6596
6913
  "platforms": [
6597
6914
  "react",
6598
6915
  "rails"
@@ -6600,7 +6917,7 @@
6600
6917
  "default": false
6601
6918
  },
6602
6919
  "error": {
6603
- "type": "string;",
6920
+ "type": "string",
6604
6921
  "platforms": [
6605
6922
  "react",
6606
6923
  "rails"
@@ -6608,7 +6925,7 @@
6608
6925
  "default": ""
6609
6926
  },
6610
6927
  "inputDisplay": {
6611
- "type": "\"pills\" | \"none\";",
6928
+ "type": "enum",
6612
6929
  "platforms": [
6613
6930
  "react",
6614
6931
  "rails"
@@ -6620,7 +6937,7 @@
6620
6937
  "default": "pills"
6621
6938
  },
6622
6939
  "inputName": {
6623
- "type": "string;",
6940
+ "type": "string",
6624
6941
  "platforms": [
6625
6942
  "react",
6626
6943
  "rails"
@@ -6628,7 +6945,7 @@
6628
6945
  "default": ""
6629
6946
  },
6630
6947
  "label": {
6631
- "type": "string;",
6948
+ "type": "string",
6632
6949
  "platforms": [
6633
6950
  "react",
6634
6951
  "rails"
@@ -6636,14 +6953,14 @@
6636
6953
  "default": ""
6637
6954
  },
6638
6955
  "name": {
6639
- "type": "string;",
6956
+ "type": "string",
6640
6957
  "platforms": [
6641
6958
  "react",
6642
6959
  "rails"
6643
6960
  ]
6644
6961
  },
6645
6962
  "required": {
6646
- "type": "boolean;",
6963
+ "type": "boolean",
6647
6964
  "platforms": [
6648
6965
  "react",
6649
6966
  "rails"
@@ -6651,7 +6968,7 @@
6651
6968
  "default": false
6652
6969
  },
6653
6970
  "requiredIndicator": {
6654
- "type": "boolean;",
6971
+ "type": "boolean",
6655
6972
  "platforms": [
6656
6973
  "react",
6657
6974
  "rails"
@@ -6659,7 +6976,7 @@
6659
6976
  "default": false
6660
6977
  },
6661
6978
  "returnAllSelected": {
6662
- "type": "boolean;",
6979
+ "type": "boolean",
6663
6980
  "platforms": [
6664
6981
  "react",
6665
6982
  "rails"
@@ -6667,7 +6984,7 @@
6667
6984
  "default": false
6668
6985
  },
6669
6986
  "showCheckedChildren": {
6670
- "type": "boolean;",
6987
+ "type": "boolean",
6671
6988
  "platforms": [
6672
6989
  "react",
6673
6990
  "rails"
@@ -6675,7 +6992,7 @@
6675
6992
  "default": true
6676
6993
  },
6677
6994
  "treeData": {
6678
- "type": "{ [key: string]: string }[] | any;",
6995
+ "type": "GenericObject",
6679
6996
  "platforms": [
6680
6997
  "react",
6681
6998
  "rails"
@@ -6694,7 +7011,7 @@
6694
7011
  ]
6695
7012
  },
6696
7013
  "placeholder": {
6697
- "type": "string;",
7014
+ "type": "string",
6698
7015
  "platforms": [
6699
7016
  "react",
6700
7017
  "rails"
@@ -6702,14 +7019,14 @@
6702
7019
  "default": "Start typing..."
6703
7020
  },
6704
7021
  "selectedIds": {
6705
- "type": "string[] | any;",
7022
+ "type": "string[] | any",
6706
7023
  "platforms": [
6707
7024
  "react",
6708
7025
  "rails"
6709
7026
  ]
6710
7027
  },
6711
7028
  "variant": {
6712
- "type": "\"multi\" | \"single\";",
7029
+ "type": "enum",
6713
7030
  "platforms": [
6714
7031
  "react",
6715
7032
  "rails"
@@ -6721,7 +7038,7 @@
6721
7038
  "default": "multi"
6722
7039
  },
6723
7040
  "wrapped": {
6724
- "type": "boolean;",
7041
+ "type": "boolean",
6725
7042
  "platforms": [
6726
7043
  "react",
6727
7044
  "rails"
@@ -6781,6 +7098,12 @@
6781
7098
  "rails"
6782
7099
  ],
6783
7100
  "props": {
7101
+ "dark": {
7102
+ "type": "boolean",
7103
+ "platforms": [
7104
+ "react"
7105
+ ]
7106
+ },
6784
7107
  "maxDisplayedUsers": {
6785
7108
  "type": "number",
6786
7109
  "platforms": [
@@ -6848,6 +7171,12 @@
6848
7171
  "rails"
6849
7172
  ],
6850
7173
  "props": {
7174
+ "dark": {
7175
+ "type": "boolean",
7176
+ "platforms": [
7177
+ "react"
7178
+ ]
7179
+ },
6851
7180
  "size": {
6852
7181
  "type": "enum",
6853
7182
  "platforms": [
@@ -6911,6 +7240,12 @@
6911
7240
  ],
6912
7241
  "default": false
6913
7242
  },
7243
+ "dark": {
7244
+ "type": "boolean",
7245
+ "platforms": [
7246
+ "react"
7247
+ ]
7248
+ },
6914
7249
  "extendedUnderline": {
6915
7250
  "type": "boolean",
6916
7251
  "platforms": [
@@ -6973,7 +7308,7 @@
6973
7308
  "default": "normal"
6974
7309
  },
6975
7310
  "itemSpacing": {
6976
- "type": "SpacingObject",
7311
+ "type": "GenericObject",
6977
7312
  "platforms": [
6978
7313
  "react"
6979
7314
  ]
@@ -7101,6 +7436,12 @@
7101
7436
  "react"
7102
7437
  ]
7103
7438
  },
7439
+ "position": {
7440
+ "type": "string",
7441
+ "platforms": [
7442
+ "react"
7443
+ ]
7444
+ },
7104
7445
  "size": {
7105
7446
  "type": "string",
7106
7447
  "platforms": [
@@ -7122,7 +7463,7 @@
7122
7463
  ]
7123
7464
  },
7124
7465
  "layout": {
7125
- "type": "object",
7466
+ "type": "GenericObject",
7126
7467
  "platforms": [
7127
7468
  "react",
7128
7469
  "rails"
@@ -7169,7 +7510,7 @@
7169
7510
  ],
7170
7511
  "props": {
7171
7512
  "current": {
7172
- "type": "number;",
7513
+ "type": "number",
7173
7514
  "platforms": [
7174
7515
  "react"
7175
7516
  ]
@@ -7181,13 +7522,13 @@
7181
7522
  ]
7182
7523
  },
7183
7524
  "range": {
7184
- "type": "number;",
7525
+ "type": "number",
7185
7526
  "platforms": [
7186
7527
  "react"
7187
7528
  ]
7188
7529
  },
7189
7530
  "total": {
7190
- "type": "number;",
7531
+ "type": "number",
7191
7532
  "platforms": [
7192
7533
  "react"
7193
7534
  ]
@@ -7232,6 +7573,12 @@
7232
7573
  ],
7233
7574
  "default": false
7234
7575
  },
7576
+ "dark": {
7577
+ "type": "boolean",
7578
+ "platforms": [
7579
+ "react"
7580
+ ]
7581
+ },
7235
7582
  "inputProps": {
7236
7583
  "type": "GenericObject",
7237
7584
  "platforms": [
@@ -7513,6 +7860,12 @@
7513
7860
  "rails"
7514
7861
  ],
7515
7862
  "props": {
7863
+ "dark": {
7864
+ "type": "boolean",
7865
+ "platforms": [
7866
+ "react"
7867
+ ]
7868
+ },
7516
7869
  "disabled": {
7517
7870
  "type": "boolean",
7518
7871
  "platforms": [
@@ -7728,7 +8081,7 @@
7728
8081
  ],
7729
8082
  "props": {
7730
8083
  "appendTo": {
7731
- "type": "string;",
8084
+ "type": "string",
7732
8085
  "platforms": [
7733
8086
  "react",
7734
8087
  "rails"
@@ -7736,13 +8089,12 @@
7736
8089
  "default": "body"
7737
8090
  },
7738
8091
  "closeOnClick": {
7739
- "type": "\"outside\" | \"inside\" | \"any\";",
8092
+ "type": "enum",
7740
8093
  "platforms": [
7741
8094
  "react",
7742
8095
  "rails"
7743
8096
  ],
7744
8097
  "values": [
7745
- "none",
7746
8098
  "outside",
7747
8099
  "inside",
7748
8100
  "any"
@@ -7750,7 +8102,7 @@
7750
8102
  "default": "none"
7751
8103
  },
7752
8104
  "offset": {
7753
- "type": "boolean;",
8105
+ "type": "boolean",
7754
8106
  "platforms": [
7755
8107
  "react",
7756
8108
  "rails"
@@ -7758,13 +8110,13 @@
7758
8110
  "default": false
7759
8111
  },
7760
8112
  "reference": {
7761
- "type": "PopperReference & any;",
8113
+ "type": "PopperReference & any",
7762
8114
  "platforms": [
7763
8115
  "react"
7764
8116
  ]
7765
8117
  },
7766
8118
  "show": {
7767
- "type": "boolean;",
8119
+ "type": "boolean",
7768
8120
  "platforms": [
7769
8121
  "react"
7770
8122
  ],
@@ -7792,11 +8144,11 @@
7792
8144
  "usage": {
7793
8145
  "react": {
7794
8146
  "import": "import { Popover } from 'playbook-ui'",
7795
- "example": "<Popover closeOnClick=\"none\"></Popover>"
8147
+ "example": "<Popover closeOnClick=\"outside\"></Popover>"
7796
8148
  },
7797
8149
  "rails": {
7798
8150
  "import": null,
7799
- "example": "<%= pb_rails(\"popover\", props: { close_on_click: \"none\" }) %>"
8151
+ "example": "<%= pb_rails(\"popover\", props: { close_on_click: \"outside\" }) %>"
7800
8152
  }
7801
8153
  }
7802
8154
  },
@@ -7817,6 +8169,12 @@
7817
8169
  ],
7818
8170
  "default": 0
7819
8171
  },
8172
+ "dark": {
8173
+ "type": "boolean",
8174
+ "platforms": [
8175
+ "react"
8176
+ ]
8177
+ },
7820
8178
  "fullWidthPill": {
7821
8179
  "type": "boolean",
7822
8180
  "platforms": [
@@ -7882,6 +8240,12 @@
7882
8240
  ],
7883
8241
  "default": "left"
7884
8242
  },
8243
+ "dark": {
8244
+ "type": "boolean",
8245
+ "platforms": [
8246
+ "react"
8247
+ ]
8248
+ },
7885
8249
  "max": {
7886
8250
  "type": "number",
7887
8251
  "platforms": [
@@ -7924,6 +8288,12 @@
7924
8288
  "warning"
7925
8289
  ],
7926
8290
  "default": "default"
8291
+ },
8292
+ "width": {
8293
+ "type": "string",
8294
+ "platforms": [
8295
+ "react"
8296
+ ]
7927
8297
  }
7928
8298
  },
7929
8299
  "globalProps": true,
@@ -8045,6 +8415,12 @@
8045
8415
  ],
8046
8416
  "default": false
8047
8417
  },
8418
+ "dark": {
8419
+ "type": "boolean",
8420
+ "platforms": [
8421
+ "react"
8422
+ ]
8423
+ },
8048
8424
  "disabled": {
8049
8425
  "type": "boolean",
8050
8426
  "platforms": [
@@ -8121,8 +8497,7 @@
8121
8497
  "name": "RichTextEditor",
8122
8498
  "description": "RichTextEditor component",
8123
8499
  "platforms": [
8124
- "react",
8125
- "rails"
8500
+ "react"
8126
8501
  ],
8127
8502
  "props": {
8128
8503
  "advancedEditor": {
@@ -8150,10 +8525,9 @@
8150
8525
  ]
8151
8526
  },
8152
8527
  "inputOptions": {
8153
- "type": "{ [key: string]: string | number | boolean | (() => void) }",
8528
+ "type": "GenericObject",
8154
8529
  "platforms": [
8155
- "react",
8156
- "rails"
8530
+ "react"
8157
8531
  ]
8158
8532
  },
8159
8533
  "inline": {
@@ -8165,12 +8539,11 @@
8165
8539
  "label": {
8166
8540
  "type": "string",
8167
8541
  "platforms": [
8168
- "react",
8169
- "rails"
8542
+ "react"
8170
8543
  ]
8171
8544
  },
8172
8545
  "extensions": {
8173
- "type": "object",
8546
+ "type": "GenericObject",
8174
8547
  "platforms": [
8175
8548
  "react"
8176
8549
  ]
@@ -8190,8 +8563,7 @@
8190
8563
  "placeholder": {
8191
8564
  "type": "string",
8192
8565
  "platforms": [
8193
- "react",
8194
- "rails"
8566
+ "react"
8195
8567
  ]
8196
8568
  },
8197
8569
  "inputHeight": {
@@ -8219,18 +8591,14 @@
8219
8591
  "requiredIndicator": {
8220
8592
  "type": "boolean",
8221
8593
  "platforms": [
8222
- "react",
8223
- "rails"
8224
- ],
8225
- "default": false
8594
+ "react"
8595
+ ]
8226
8596
  },
8227
8597
  "simple": {
8228
8598
  "type": "boolean",
8229
8599
  "platforms": [
8230
- "react",
8231
- "rails"
8232
- ],
8233
- "default": false
8600
+ "react"
8601
+ ]
8234
8602
  },
8235
8603
  "sticky": {
8236
8604
  "type": "boolean",
@@ -8247,8 +8615,13 @@
8247
8615
  "value": {
8248
8616
  "type": "string",
8249
8617
  "platforms": [
8250
- "react",
8251
- "rails"
8618
+ "react"
8619
+ ]
8620
+ },
8621
+ "maxWidth": {
8622
+ "type": "string",
8623
+ "platforms": [
8624
+ "react"
8252
8625
  ]
8253
8626
  },
8254
8627
  "TrixEditor": {
@@ -8297,6 +8670,12 @@
8297
8670
  ],
8298
8671
  "default": "default"
8299
8672
  },
8673
+ "dark": {
8674
+ "type": "boolean",
8675
+ "platforms": [
8676
+ "react"
8677
+ ]
8678
+ },
8300
8679
  "lineStyle": {
8301
8680
  "type": "enum",
8302
8681
  "platforms": [
@@ -8408,7 +8787,7 @@
8408
8787
  "default": false
8409
8788
  },
8410
8789
  "inputOptions": {
8411
- "type": "{[key: string]: string | number | boolean | (() => void)}",
8790
+ "type": "GenericObject",
8412
8791
  "platforms": [
8413
8792
  "react",
8414
8793
  "rails"
@@ -8421,6 +8800,18 @@
8421
8800
  "rails"
8422
8801
  ]
8423
8802
  },
8803
+ "margin": {
8804
+ "type": "string",
8805
+ "platforms": [
8806
+ "react"
8807
+ ]
8808
+ },
8809
+ "marginBottom": {
8810
+ "type": "string",
8811
+ "platforms": [
8812
+ "react"
8813
+ ]
8814
+ },
8424
8815
  "multiple": {
8425
8816
  "type": "boolean",
8426
8817
  "platforms": [
@@ -8528,7 +8919,13 @@
8528
8919
  "default": false
8529
8920
  },
8530
8921
  "customIcon": {
8531
- "type": "ReactNode",
8922
+ "type": "GenericObject",
8923
+ "platforms": [
8924
+ "react"
8925
+ ]
8926
+ },
8927
+ "dark": {
8928
+ "type": "boolean",
8532
8929
  "platforms": [
8533
8930
  "react"
8534
8931
  ]
@@ -8652,13 +9049,19 @@
8652
9049
  "default": false
8653
9050
  },
8654
9051
  "customIcon": {
8655
- "type": "ReactNode",
9052
+ "type": "GenericObject",
8656
9053
  "platforms": [
8657
9054
  "react",
8658
9055
  "rails"
8659
9056
  ],
8660
9057
  "default": null
8661
9058
  },
9059
+ "dark": {
9060
+ "type": "boolean",
9061
+ "platforms": [
9062
+ "react"
9063
+ ]
9064
+ },
8662
9065
  "disabled": {
8663
9066
  "type": "boolean",
8664
9067
  "platforms": [
@@ -8760,13 +9163,19 @@
8760
9163
  "default": false
8761
9164
  },
8762
9165
  "customIcon": {
8763
- "type": "ReactNode",
9166
+ "type": "GenericObject",
8764
9167
  "platforms": [
8765
9168
  "react",
8766
9169
  "rails"
8767
9170
  ],
8768
9171
  "default": null
8769
9172
  },
9173
+ "dark": {
9174
+ "type": "boolean",
9175
+ "platforms": [
9176
+ "react"
9177
+ ]
9178
+ },
8770
9179
  "disabled": {
8771
9180
  "type": "boolean",
8772
9181
  "platforms": [
@@ -8908,6 +9317,30 @@
8908
9317
  "rails"
8909
9318
  ],
8910
9319
  "props": {
9320
+ "height": {
9321
+ "type": "string",
9322
+ "platforms": [
9323
+ "react"
9324
+ ]
9325
+ },
9326
+ "width": {
9327
+ "type": "string",
9328
+ "platforms": [
9329
+ "react"
9330
+ ]
9331
+ },
9332
+ "borderRadius": {
9333
+ "type": "string",
9334
+ "platforms": [
9335
+ "react"
9336
+ ]
9337
+ },
9338
+ "gap": {
9339
+ "type": "Sizes | \"none\"",
9340
+ "platforms": [
9341
+ "react"
9342
+ ]
9343
+ },
8911
9344
  "stack": {
8912
9345
  "type": "number",
8913
9346
  "platforms": [
@@ -8927,6 +9360,12 @@
8927
9360
  "white"
8928
9361
  ],
8929
9362
  "default": "default"
9363
+ },
9364
+ "dark": {
9365
+ "type": "boolean",
9366
+ "platforms": [
9367
+ "react"
9368
+ ]
8930
9369
  }
8931
9370
  },
8932
9371
  "globalProps": true,
@@ -9011,6 +9450,12 @@
9011
9450
  "rails"
9012
9451
  ],
9013
9452
  "props": {
9453
+ "dark": {
9454
+ "type": "boolean",
9455
+ "platforms": [
9456
+ "react"
9457
+ ]
9458
+ },
9014
9459
  "fixedWidth": {
9015
9460
  "type": "boolean",
9016
9461
  "platforms": [
@@ -9176,6 +9621,12 @@
9176
9621
  ],
9177
9622
  "default": "neutral"
9178
9623
  },
9624
+ "dark": {
9625
+ "type": "boolean",
9626
+ "platforms": [
9627
+ "react"
9628
+ ]
9629
+ },
9179
9630
  "icon": {
9180
9631
  "type": "string",
9181
9632
  "platforms": [
@@ -9255,7 +9706,7 @@
9255
9706
  ],
9256
9707
  "props": {
9257
9708
  "cardProps": {
9258
- "type": "object",
9709
+ "type": "GenericObject",
9259
9710
  "platforms": [
9260
9711
  "react",
9261
9712
  "rails"
@@ -9282,6 +9733,12 @@
9282
9733
  ],
9283
9734
  "default": true
9284
9735
  },
9736
+ "dark": {
9737
+ "type": "boolean",
9738
+ "platforms": [
9739
+ "react"
9740
+ ]
9741
+ },
9285
9742
  "dataTable": {
9286
9743
  "type": "boolean",
9287
9744
  "platforms": [
@@ -9299,7 +9756,7 @@
9299
9756
  "default": false
9300
9757
  },
9301
9758
  "filterProps": {
9302
- "type": "object",
9759
+ "type": "GenericObject",
9303
9760
  "platforms": [
9304
9761
  "react",
9305
9762
  "rails"
@@ -9434,7 +9891,7 @@
9434
9891
  "default": null
9435
9892
  },
9436
9893
  "titleProps": {
9437
- "type": "object",
9894
+ "type": "GenericObject",
9438
9895
  "platforms": [
9439
9896
  "react",
9440
9897
  "rails"
@@ -9492,6 +9949,12 @@
9492
9949
  "rails"
9493
9950
  ],
9494
9951
  "props": {
9952
+ "dark": {
9953
+ "type": "boolean",
9954
+ "platforms": [
9955
+ "react"
9956
+ ]
9957
+ },
9495
9958
  "disabled": {
9496
9959
  "type": "boolean",
9497
9960
  "platforms": [
@@ -9595,6 +10058,13 @@
9595
10058
  "rails"
9596
10059
  ]
9597
10060
  },
10061
+ "addOn": {
10062
+ "type": "GenericObject",
10063
+ "platforms": [
10064
+ "react",
10065
+ "rails"
10066
+ ]
10067
+ },
9598
10068
  "autoComplete": {
9599
10069
  "type": "boolean | string",
9600
10070
  "platforms": [
@@ -9618,12 +10088,6 @@
9618
10088
  "rails"
9619
10089
  ],
9620
10090
  "type": "string"
9621
- },
9622
- "addOn": {
9623
- "platforms": [
9624
- "rails"
9625
- ],
9626
- "type": "string"
9627
10091
  }
9628
10092
  },
9629
10093
  "globalProps": true,
@@ -9686,7 +10150,7 @@
9686
10150
  "default": false
9687
10151
  },
9688
10152
  "inputOptions": {
9689
- "type": "object",
10153
+ "type": "GenericObject",
9690
10154
  "platforms": [
9691
10155
  "react",
9692
10156
  "rails"
@@ -9811,7 +10275,7 @@
9811
10275
  ],
9812
10276
  "props": {
9813
10277
  "align": {
9814
- "type": "\"left\" | \"center\" | \"right\";",
10278
+ "type": "enum",
9815
10279
  "platforms": [
9816
10280
  "react",
9817
10281
  "rails"
@@ -9824,13 +10288,19 @@
9824
10288
  "default": "left"
9825
10289
  },
9826
10290
  "date": {
9827
- "type": "Date;",
10291
+ "type": "Date",
10292
+ "platforms": [
10293
+ "react"
10294
+ ]
10295
+ },
10296
+ "dark": {
10297
+ "type": "boolean",
9828
10298
  "platforms": [
9829
10299
  "react"
9830
10300
  ]
9831
10301
  },
9832
10302
  "showIcon": {
9833
- "type": "boolean;",
10303
+ "type": "boolean",
9834
10304
  "platforms": [
9835
10305
  "react",
9836
10306
  "rails"
@@ -9838,21 +10308,19 @@
9838
10308
  "default": false
9839
10309
  },
9840
10310
  "size": {
9841
- "type": "\"md\" | \"sm\";",
10311
+ "type": "enum",
9842
10312
  "platforms": [
9843
10313
  "react",
9844
10314
  "rails"
9845
10315
  ],
9846
10316
  "values": [
9847
- "xs",
9848
- "sm",
9849
10317
  "md",
9850
- "lg"
10318
+ "sm"
9851
10319
  ],
9852
10320
  "default": "sm"
9853
10321
  },
9854
10322
  "showTimezone": {
9855
- "type": "boolean;",
10323
+ "type": "boolean",
9856
10324
  "platforms": [
9857
10325
  "react",
9858
10326
  "rails"
@@ -9860,13 +10328,13 @@
9860
10328
  "default": true
9861
10329
  },
9862
10330
  "timeZone": {
9863
- "type": "string;",
10331
+ "type": "string",
9864
10332
  "platforms": [
9865
10333
  "react"
9866
10334
  ]
9867
10335
  },
9868
10336
  "unstyled": {
9869
- "type": "boolean;",
10337
+ "type": "boolean",
9870
10338
  "platforms": [
9871
10339
  "react",
9872
10340
  "rails"
@@ -9889,11 +10357,11 @@
9889
10357
  "usage": {
9890
10358
  "react": {
9891
10359
  "import": "import { Time } from 'playbook-ui'",
9892
- "example": "<Time align=\"left\" size=\"xs\"></Time>"
10360
+ "example": "<Time align=\"left\" size=\"md\"></Time>"
9893
10361
  },
9894
10362
  "rails": {
9895
10363
  "import": null,
9896
- "example": "<%= pb_rails(\"time\", props: { align: \"left\", size: \"xs\" }) %>"
10364
+ "example": "<%= pb_rails(\"time\", props: { align: \"left\", size: \"md\" }) %>"
9897
10365
  }
9898
10366
  }
9899
10367
  },
@@ -9906,6 +10374,12 @@
9906
10374
  "rails"
9907
10375
  ],
9908
10376
  "props": {
10377
+ "dark": {
10378
+ "type": "boolean",
10379
+ "platforms": [
10380
+ "react"
10381
+ ]
10382
+ },
9909
10383
  "defaultTime": {
9910
10384
  "type": "string",
9911
10385
  "platforms": [
@@ -9929,7 +10403,7 @@
9929
10403
  ]
9930
10404
  },
9931
10405
  "inputOptions": {
9932
- "type": "{ [key: string]: string | number | boolean | (() => void) | ((arg?: Event) => void) }",
10406
+ "type": "GenericObject",
9933
10407
  "platforms": [
9934
10408
  "react",
9935
10409
  "rails"
@@ -10001,7 +10475,7 @@
10001
10475
  "default": false
10002
10476
  },
10003
10477
  "timeFormat": {
10004
- "type": "TimeFormat",
10478
+ "type": "enum",
10005
10479
  "platforms": [
10006
10480
  "react",
10007
10481
  "rails"
@@ -10074,6 +10548,12 @@
10074
10548
  ],
10075
10549
  "default": "sm"
10076
10550
  },
10551
+ "dark": {
10552
+ "type": "boolean",
10553
+ "platforms": [
10554
+ "react"
10555
+ ]
10556
+ },
10077
10557
  "icon": {
10078
10558
  "type": "boolean",
10079
10559
  "platforms": [
@@ -10139,6 +10619,12 @@
10139
10619
  ],
10140
10620
  "default": "left"
10141
10621
  },
10622
+ "dark": {
10623
+ "type": "boolean",
10624
+ "platforms": [
10625
+ "react"
10626
+ ]
10627
+ },
10142
10628
  "date": {
10143
10629
  "type": "Date",
10144
10630
  "platforms": [
@@ -10256,6 +10742,12 @@
10256
10742
  ],
10257
10743
  "default": "left"
10258
10744
  },
10745
+ "dark": {
10746
+ "type": "boolean",
10747
+ "platforms": [
10748
+ "react"
10749
+ ]
10750
+ },
10259
10751
  "text": {
10260
10752
  "type": "string",
10261
10753
  "platforms": [
@@ -10495,6 +10987,12 @@
10495
10987
  "rails"
10496
10988
  ]
10497
10989
  },
10990
+ "dark": {
10991
+ "type": "boolean",
10992
+ "platforms": [
10993
+ "react"
10994
+ ]
10995
+ },
10498
10996
  "title": {
10499
10997
  "type": "string",
10500
10998
  "platforms": [
@@ -10675,6 +11173,12 @@
10675
11173
  "react"
10676
11174
  ]
10677
11175
  },
11176
+ "height": {
11177
+ "type": "string",
11178
+ "platforms": [
11179
+ "react"
11180
+ ]
11181
+ },
10678
11182
  "icon": {
10679
11183
  "type": "string",
10680
11184
  "platforms": [
@@ -10689,18 +11193,58 @@
10689
11193
  ],
10690
11194
  "default": false
10691
11195
  },
11196
+ "maxHeight": {
11197
+ "type": "string",
11198
+ "platforms": [
11199
+ "react"
11200
+ ]
11201
+ },
11202
+ "maxWidth": {
11203
+ "type": "string",
11204
+ "platforms": [
11205
+ "react"
11206
+ ]
11207
+ },
11208
+ "minHeight": {
11209
+ "type": "string",
11210
+ "platforms": [
11211
+ "react"
11212
+ ]
11213
+ },
11214
+ "minWidth": {
11215
+ "type": "string",
11216
+ "platforms": [
11217
+ "react"
11218
+ ]
11219
+ },
10692
11220
  "placement": {
10693
11221
  "type": "Placement",
10694
11222
  "platforms": [
10695
11223
  "react"
10696
11224
  ]
10697
11225
  },
11226
+ "position": {
11227
+ "type": "enum",
11228
+ "platforms": [
11229
+ "react"
11230
+ ],
11231
+ "values": [
11232
+ "absolute",
11233
+ "fixed"
11234
+ ]
11235
+ },
10698
11236
  "text": {
10699
11237
  "type": "string",
10700
11238
  "platforms": [
10701
11239
  "react"
10702
11240
  ]
10703
11241
  },
11242
+ "width": {
11243
+ "type": "string",
11244
+ "platforms": [
11245
+ "react"
11246
+ ]
11247
+ },
10704
11248
  "showTooltip": {
10705
11249
  "type": "boolean",
10706
11250
  "platforms": [
@@ -10754,11 +11298,11 @@
10754
11298
  "usage": {
10755
11299
  "react": {
10756
11300
  "import": "import { Tooltip } from 'playbook-ui'",
10757
- "example": "<Tooltip triggerMethod=\"hover\"></Tooltip>"
11301
+ "example": "<Tooltip position=\"absolute\" triggerMethod=\"hover\"></Tooltip>"
10758
11302
  },
10759
11303
  "rails": {
10760
11304
  "import": null,
10761
- "example": "<%= pb_rails(\"tooltip\", props: { trigger_method: \"hover\" }) %>"
11305
+ "example": "<%= pb_rails(\"tooltip\", props: { position: \"absolute\", trigger_method: \"hover\" }) %>"
10762
11306
  }
10763
11307
  }
10764
11308
  },
@@ -10793,6 +11337,12 @@
10793
11337
  ],
10794
11338
  "default": false
10795
11339
  },
11340
+ "dark": {
11341
+ "type": "boolean",
11342
+ "platforms": [
11343
+ "react"
11344
+ ]
11345
+ },
10796
11346
  "disabled": {
10797
11347
  "type": "boolean",
10798
11348
  "platforms": [
@@ -10863,6 +11413,21 @@
10863
11413
  "rails"
10864
11414
  ]
10865
11415
  },
11416
+ "marginBottom": {
11417
+ "type": "enum",
11418
+ "platforms": [
11419
+ "react"
11420
+ ],
11421
+ "values": [
11422
+ "none",
11423
+ "xxs",
11424
+ "xs",
11425
+ "sm",
11426
+ "md",
11427
+ "lg",
11428
+ "xl"
11429
+ ]
11430
+ },
10866
11431
  "onChange": {
10867
11432
  "type": "any",
10868
11433
  "platforms": [
@@ -10893,7 +11458,7 @@
10893
11458
  "default": false
10894
11459
  },
10895
11460
  "validation": {
10896
- "type": "object",
11461
+ "type": "GenericObject",
10897
11462
  "platforms": [
10898
11463
  "react",
10899
11464
  "rails"
@@ -11035,11 +11600,11 @@
11035
11600
  "usage": {
11036
11601
  "react": {
11037
11602
  "import": "import { Typeahead } from 'playbook-ui'",
11038
- "example": "<Typeahead inputDisplay=\"pills\" pillColor=\"primary\"></Typeahead>"
11603
+ "example": "<Typeahead inputDisplay=\"pills\" marginBottom=\"none\"></Typeahead>"
11039
11604
  },
11040
11605
  "rails": {
11041
11606
  "import": null,
11042
- "example": "<%= pb_rails(\"typeahead\", props: { input_display: \"pills\", pill_color: \"primary\" }) %>"
11607
+ "example": "<%= pb_rails(\"typeahead\", props: { input_display: \"pills\", margin_bottom: \"none\" }) %>"
11043
11608
  }
11044
11609
  }
11045
11610
  },
@@ -11088,6 +11653,12 @@
11088
11653
  ],
11089
11654
  "default": true
11090
11655
  },
11656
+ "dark": {
11657
+ "type": "boolean",
11658
+ "platforms": [
11659
+ "react"
11660
+ ]
11661
+ },
11091
11662
  "avatarGrayscale": {
11092
11663
  "type": "boolean",
11093
11664
  "platforms": [
@@ -11259,6 +11830,12 @@
11259
11830
  ],
11260
11831
  "default": "left"
11261
11832
  },
11833
+ "dark": {
11834
+ "type": "boolean",
11835
+ "platforms": [
11836
+ "react"
11837
+ ]
11838
+ },
11262
11839
  "date": {
11263
11840
  "type": "Date",
11264
11841
  "platforms": [