playbook_ui 13.11.0 → 13.11.1.pre.alpha.play900startratingasinput1530

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.rb +3 -1
  3. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.html.erb +22 -0
  4. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.md +3 -0
  5. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.html.erb +40 -0
  6. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.md +1 -0
  7. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +2 -0
  8. data/app/pb_kits/playbook/pb_collapsible/index.js +4 -0
  9. data/app/pb_kits/playbook/pb_icon/docs/_icon_border_swift.md +7 -0
  10. data/app/pb_kits/playbook/pb_icon/docs/_icon_default_swift.md +7 -0
  11. data/app/pb_kits/playbook/pb_icon/docs/_icon_flip_swift.md +11 -0
  12. data/app/pb_kits/playbook/pb_icon/docs/_icon_props_swift.md +8 -0
  13. data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate_swift.md +11 -0
  14. data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes_swift.md +46 -0
  15. data/app/pb_kits/playbook/pb_icon/docs/example.yml +8 -0
  16. data/app/pb_kits/playbook/pb_image/docs/_image_props_swift.md +7 -0
  17. data/app/pb_kits/playbook/pb_image/docs/_rounded_image_swift.md +47 -0
  18. data/app/pb_kits/playbook/pb_image/docs/_size_image_swift.md +47 -0
  19. data/app/pb_kits/playbook/pb_image/docs/_size_none_image_swift.md +15 -0
  20. data/app/pb_kits/playbook/pb_image/docs/example.yml +5 -0
  21. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_default_swift.md +11 -0
  22. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md +72 -0
  23. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_swift.md +41 -0
  24. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_props_swift.md +11 -0
  25. data/app/pb_kits/playbook/pb_label_value/docs/example.yml +6 -0
  26. data/app/pb_kits/playbook/pb_message/docs/_message_default_swift.md +57 -0
  27. data/app/pb_kits/playbook/pb_message/docs/_message_props_swift.md +12 -0
  28. data/app/pb_kits/playbook/pb_message/docs/example.yml +4 -0
  29. data/app/pb_kits/playbook/pb_star_rating/_star_rating.scss +61 -49
  30. data/app/pb_kits/playbook/pb_star_rating/_star_rating.tsx +151 -54
  31. data/app/pb_kits/playbook/pb_star_rating/custom-icons.js +356 -0
  32. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb +7 -0
  33. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx +40 -0
  34. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb +11 -1
  35. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +17 -2
  36. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb +6 -1
  37. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +22 -5
  38. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb +12 -0
  39. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx +57 -0
  40. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb +23 -0
  41. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx +59 -0
  42. data/app/pb_kits/playbook/pb_star_rating/docs/example.yml +10 -5
  43. data/app/pb_kits/playbook/pb_star_rating/docs/index.js +6 -0
  44. data/app/pb_kits/playbook/pb_star_rating/star.svg +3 -0
  45. data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +56 -15
  46. data/app/pb_kits/playbook/pb_star_rating/star_rating.rb +49 -6
  47. data/app/pb_kits/playbook/pb_star_rating/star_rating.test.js +33 -34
  48. data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +4 -4
  49. data/app/pb_kits/playbook/pb_table/styles/_hover.scss +26 -2
  50. data/app/pb_kits/playbook/pb_table/styles/_table-dark.scss +1 -17
  51. data/app/pb_kits/playbook/pb_table/table_header.html.erb +4 -3
  52. data/app/pb_kits/playbook/pb_table/table_header.rb +28 -5
  53. data/app/pb_kits/playbook/pb_tooltip/_tooltip.tsx +25 -9
  54. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb +1 -1
  55. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx +0 -2
  56. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx +0 -1
  57. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx +0 -1
  58. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx +0 -1
  59. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb +1 -1
  60. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.html.erb +39 -0
  61. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.md +5 -0
  62. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.jsx +45 -0
  63. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.md +3 -0
  64. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +3 -0
  65. data/app/pb_kits/playbook/pb_tooltip/docs/index.js +1 -0
  66. data/app/pb_kits/playbook/pb_tooltip/index.js +6 -0
  67. data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +2 -1
  68. data/app/pb_kits/playbook/pb_tooltip/tooltip.test.jsx +34 -0
  69. data/app/pb_kits/playbook/playbook-doc.js +1 -1
  70. data/dist/playbook-rails.js +5 -5
  71. data/lib/playbook/pb_doc_helper.rb +2 -21
  72. data/lib/playbook/version.rb +2 -2
  73. metadata +39 -8
  74. data/app/pb_kits/playbook/pb_dawg/docs/example.yml +0 -9
@@ -33,9 +33,9 @@ module Playbook
33
33
  kits.each do |kit|
34
34
  if kit.is_a?(Hash)
35
35
  nav_hash_array(kit).each do |sub_kit|
36
- display_kits << render_pb_doc_kit(sub_kit, type, limit_examples, false, dark_mode) if pb_doc_has_kit_type?(sub_kit, type)
36
+ display_kits << render_pb_doc_kit(sub_kit, type, limit_examples, false, dark_mode)
37
37
  end
38
- elsif pb_doc_has_kit_type?(kit, type)
38
+ else
39
39
  display_kits << render_pb_doc_kit(kit, type, limit_examples, false, dark_mode)
40
40
  end
41
41
  end
@@ -92,25 +92,6 @@ module Playbook
92
92
  end
93
93
  end
94
94
 
95
- def pb_doc_has_kit_type?(kit, type = "rails")
96
- case type
97
- when "rails"
98
- extension = "erb"
99
- query_string = extension
100
- when "react"
101
- extension = "jsx"
102
- query_string = extension
103
- when "swift"
104
- extension = "md"
105
- query_string = "_swift"
106
- end
107
-
108
- pb_doc_kit_path(kit, "docs")
109
- .glob("**/*.#{extension}")
110
- .any? { |path| path.basename.to_s.include?(query_string) }
111
- .present?
112
- end
113
-
114
95
  def pb_doc_render_clickable_title(kit, type)
115
96
  url = "#"
116
97
  begin
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.10.0"
5
- VERSION = "13.11.0"
4
+ PREVIOUS_VERSION = "13.11.1"
5
+ VERSION = "13.11.1.pre.alpha.play900startratingasinput1530"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.11.0
4
+ version: 13.11.1.pre.alpha.play900startratingasinput1530
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-10 00:00:00.000000000 Z
12
+ date: 2023-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -638,6 +638,10 @@ files:
638
638
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.md
639
639
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.html.erb
640
640
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx
641
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.html.erb
642
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls.md
643
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.html.erb
644
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_external_controls_multiple.md
641
645
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.html.erb
642
646
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
643
647
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.md
@@ -881,7 +885,6 @@ files:
881
885
  - app/pb_kits/playbook/pb_date_year_stacked/docs/_footer.md
882
886
  - app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml
883
887
  - app/pb_kits/playbook/pb_date_year_stacked/docs/index.js
884
- - app/pb_kits/playbook/pb_dawg/docs/example.yml
885
888
  - app/pb_kits/playbook/pb_detail/_detail.scss
886
889
  - app/pb_kits/playbook/pb_detail/_detail.tsx
887
890
  - app/pb_kits/playbook/pb_detail/_detail_mixins.scss
@@ -1218,23 +1221,29 @@ files:
1218
1221
  - app/pb_kits/playbook/pb_icon/docs/_icon_animate.md
1219
1222
  - app/pb_kits/playbook/pb_icon/docs/_icon_border.html.erb
1220
1223
  - app/pb_kits/playbook/pb_icon/docs/_icon_border.jsx
1224
+ - app/pb_kits/playbook/pb_icon/docs/_icon_border_swift.md
1221
1225
  - app/pb_kits/playbook/pb_icon/docs/_icon_custom.html.erb
1222
1226
  - app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx
1223
1227
  - app/pb_kits/playbook/pb_icon/docs/_icon_custom.md
1224
1228
  - app/pb_kits/playbook/pb_icon/docs/_icon_default.html.erb
1225
1229
  - app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx
1230
+ - app/pb_kits/playbook/pb_icon/docs/_icon_default_swift.md
1226
1231
  - app/pb_kits/playbook/pb_icon/docs/_icon_fa_kit.html.erb
1227
1232
  - app/pb_kits/playbook/pb_icon/docs/_icon_fa_kit.jsx
1228
1233
  - app/pb_kits/playbook/pb_icon/docs/_icon_fa_kit.md
1229
1234
  - app/pb_kits/playbook/pb_icon/docs/_icon_flip.html.erb
1230
1235
  - app/pb_kits/playbook/pb_icon/docs/_icon_flip.jsx
1236
+ - app/pb_kits/playbook/pb_icon/docs/_icon_flip_swift.md
1237
+ - app/pb_kits/playbook/pb_icon/docs/_icon_props_swift.md
1231
1238
  - app/pb_kits/playbook/pb_icon/docs/_icon_pull.html.erb
1232
1239
  - app/pb_kits/playbook/pb_icon/docs/_icon_pull.jsx
1233
1240
  - app/pb_kits/playbook/pb_icon/docs/_icon_pull.md
1234
1241
  - app/pb_kits/playbook/pb_icon/docs/_icon_rotate.html.erb
1235
1242
  - app/pb_kits/playbook/pb_icon/docs/_icon_rotate.jsx
1243
+ - app/pb_kits/playbook/pb_icon/docs/_icon_rotate_swift.md
1236
1244
  - app/pb_kits/playbook/pb_icon/docs/_icon_sizes.html.erb
1237
1245
  - app/pb_kits/playbook/pb_icon/docs/_icon_sizes.jsx
1246
+ - app/pb_kits/playbook/pb_icon/docs/_icon_sizes_swift.md
1238
1247
  - app/pb_kits/playbook/pb_icon/docs/example.yml
1239
1248
  - app/pb_kits/playbook/pb_icon/docs/index.js
1240
1249
  - app/pb_kits/playbook/pb_icon/icon.html.erb
@@ -1297,8 +1306,12 @@ files:
1297
1306
  - app/pb_kits/playbook/pb_image/docs/_default_image.html.erb
1298
1307
  - app/pb_kits/playbook/pb_image/docs/_default_image.jsx
1299
1308
  - app/pb_kits/playbook/pb_image/docs/_description.md
1309
+ - app/pb_kits/playbook/pb_image/docs/_image_props_swift.md
1300
1310
  - app/pb_kits/playbook/pb_image/docs/_rounded_image.html.erb
1301
1311
  - app/pb_kits/playbook/pb_image/docs/_rounded_image.jsx
1312
+ - app/pb_kits/playbook/pb_image/docs/_rounded_image_swift.md
1313
+ - app/pb_kits/playbook/pb_image/docs/_size_image_swift.md
1314
+ - app/pb_kits/playbook/pb_image/docs/_size_none_image_swift.md
1302
1315
  - app/pb_kits/playbook/pb_image/docs/_transition_image.html.erb
1303
1316
  - app/pb_kits/playbook/pb_image/docs/_transition_image.jsx
1304
1317
  - app/pb_kits/playbook/pb_image/docs/_transition_image.md
@@ -1327,11 +1340,15 @@ files:
1327
1340
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_default.html.erb
1328
1341
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_default.jsx
1329
1342
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_default.md
1343
+ - app/pb_kits/playbook/pb_label_value/docs/_label_value_default_swift.md
1330
1344
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_details.html.erb
1331
1345
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_details.jsx
1332
1346
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_details.md
1333
1347
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples.html.erb
1334
1348
  - app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples.jsx
1349
+ - app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_swift.md
1350
+ - app/pb_kits/playbook/pb_label_value/docs/_label_value_details_swift.md
1351
+ - app/pb_kits/playbook/pb_label_value/docs/_label_value_props_swift.md
1335
1352
  - app/pb_kits/playbook/pb_label_value/docs/example.yml
1336
1353
  - app/pb_kits/playbook/pb_label_value/docs/index.js
1337
1354
  - app/pb_kits/playbook/pb_label_value/label_value.html.erb
@@ -1502,11 +1519,13 @@ files:
1502
1519
  - app/pb_kits/playbook/pb_message/docs/_message_default.html.erb
1503
1520
  - app/pb_kits/playbook/pb_message/docs/_message_default.jsx
1504
1521
  - app/pb_kits/playbook/pb_message/docs/_message_default.md
1522
+ - app/pb_kits/playbook/pb_message/docs/_message_default_swift.md
1505
1523
  - app/pb_kits/playbook/pb_message/docs/_message_hover.html.erb
1506
1524
  - app/pb_kits/playbook/pb_message/docs/_message_hover.jsx
1507
1525
  - app/pb_kits/playbook/pb_message/docs/_message_mentions.html.erb
1508
1526
  - app/pb_kits/playbook/pb_message/docs/_message_mentions.jsx
1509
1527
  - app/pb_kits/playbook/pb_message/docs/_message_mentions.md
1528
+ - app/pb_kits/playbook/pb_message/docs/_message_props_swift.md
1510
1529
  - app/pb_kits/playbook/pb_message/docs/_message_timestamp.html.erb
1511
1530
  - app/pb_kits/playbook/pb_message/docs/_message_timestamp.jsx
1512
1531
  - app/pb_kits/playbook/pb_message/docs/example.yml
@@ -2036,13 +2055,21 @@ files:
2036
2055
  - app/pb_kits/playbook/pb_source/source.test.js
2037
2056
  - app/pb_kits/playbook/pb_star_rating/_star_rating.scss
2038
2057
  - app/pb_kits/playbook/pb_star_rating/_star_rating.tsx
2058
+ - app/pb_kits/playbook/pb_star_rating/custom-icons.js
2039
2059
  - app/pb_kits/playbook/pb_star_rating/docs/_description.md
2060
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.html.erb
2061
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_color_options.jsx
2040
2062
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.html.erb
2041
2063
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx
2042
2064
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.html.erb
2043
2065
  - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx
2066
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.html.erb
2067
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_number_config.jsx
2068
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.html.erb
2069
+ - app/pb_kits/playbook/pb_star_rating/docs/_star_rating_size_options.jsx
2044
2070
  - app/pb_kits/playbook/pb_star_rating/docs/example.yml
2045
2071
  - app/pb_kits/playbook/pb_star_rating/docs/index.js
2072
+ - app/pb_kits/playbook/pb_star_rating/star.svg
2046
2073
  - app/pb_kits/playbook/pb_star_rating/star_rating.html.erb
2047
2074
  - app/pb_kits/playbook/pb_star_rating/star_rating.rb
2048
2075
  - app/pb_kits/playbook/pb_star_rating/star_rating.test.js
@@ -2394,6 +2421,10 @@ files:
2394
2421
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.md
2395
2422
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.html.erb
2396
2423
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_selectors.md
2424
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.html.erb
2425
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip.md
2426
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.jsx
2427
+ - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip_react.md
2397
2428
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_with_icon_circle.html.erb
2398
2429
  - app/pb_kits/playbook/pb_tooltip/docs/example.yml
2399
2430
  - app/pb_kits/playbook/pb_tooltip/docs/index.js
@@ -2678,7 +2709,7 @@ homepage: https://playbook.powerapp.cloud/
2678
2709
  licenses:
2679
2710
  - ISC
2680
2711
  metadata: {}
2681
- post_install_message:
2712
+ post_install_message:
2682
2713
  rdoc_options: []
2683
2714
  require_paths:
2684
2715
  - lib
@@ -2689,12 +2720,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
2689
2720
  version: '0'
2690
2721
  required_rubygems_version: !ruby/object:Gem::Requirement
2691
2722
  requirements:
2692
- - - ">="
2723
+ - - ">"
2693
2724
  - !ruby/object:Gem::Version
2694
- version: '0'
2725
+ version: 1.3.1
2695
2726
  requirements: []
2696
2727
  rubygems_version: 3.3.7
2697
- signing_key:
2728
+ signing_key:
2698
2729
  specification_version: 4
2699
2730
  summary: Playbook Design System
2700
2731
  test_files: []
@@ -1,9 +0,0 @@
1
- examples:
2
-
3
- rails:
4
- - dawg_default: Default
5
-
6
-
7
- react:
8
- - dawg_default: Default
9
-