playbook_ui 12.2.0 → 12.3.0.pre.alpha.patchtest1

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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +3 -0
  3. data/app/pb_kits/playbook/data/menu.yml +1 -0
  4. data/app/pb_kits/playbook/index.js +3 -2
  5. data/app/pb_kits/playbook/pb_button/_button.scss +0 -5
  6. data/app/pb_kits/playbook/pb_button/_button.tsx +4 -0
  7. data/app/pb_kits/playbook/pb_button/_button_mixins.scss +39 -4
  8. data/app/pb_kits/playbook/pb_button/button.rb +2 -0
  9. data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx +1 -0
  10. data/app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx +1 -0
  11. data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +4 -0
  12. data/app/pb_kits/playbook/pb_button/docs/_button_form.jsx +1 -0
  13. data/app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx +1 -0
  14. data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb +2 -2
  15. data/app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx +4 -0
  16. data/app/pb_kits/playbook/pb_button/docs/_button_link.html.erb +3 -3
  17. data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +6 -0
  18. data/app/pb_kits/playbook/pb_button/docs/_button_loading.html.erb +3 -3
  19. data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +6 -0
  20. data/app/pb_kits/playbook/pb_button/docs/_button_options.jsx +1 -0
  21. data/app/pb_kits/playbook/pb_button/docs/_button_size.html.erb +3 -3
  22. data/app/pb_kits/playbook/pb_button/docs/_button_size.jsx +6 -0
  23. data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +26 -19
  24. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss +24 -0
  25. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +10 -2
  26. data/app/pb_kits/playbook/pb_map/_map.scss +8 -0
  27. data/app/pb_kits/playbook/pb_map/_map.tsx +40 -0
  28. data/app/pb_kits/playbook/pb_map/docs/_map_default.jsx +52 -0
  29. data/app/pb_kits/playbook/pb_map/docs/_map_default.md +13 -0
  30. data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +64 -0
  31. data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.md +8 -0
  32. data/app/pb_kits/playbook/pb_map/docs/example.yml +7 -0
  33. data/app/pb_kits/playbook/pb_map/docs/index.js +2 -0
  34. data/app/pb_kits/playbook/pb_map/map.test.jsx +17 -0
  35. data/app/pb_kits/playbook/pb_progress_simple/{_progress_simple.jsx → _progress_simple.tsx} +7 -5
  36. data/app/pb_kits/playbook/pb_progress_simple/progress_simple.test.js +120 -0
  37. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +4 -9
  38. data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +11 -2
  39. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +0 -2
  40. data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +95 -0
  41. data/app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.jsx +1 -1
  42. data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +1 -0
  43. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb +19 -0
  44. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.jsx +39 -0
  45. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.md +1 -0
  46. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +2 -0
  47. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +1 -0
  48. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +3 -0
  49. data/app/pb_kits/playbook/playbook-doc.js +2 -0
  50. data/app/pb_kits/playbook/tokens/_colors.scss +3 -1
  51. data/app/pb_kits/playbook/utilities/_focus.scss +12 -0
  52. data/lib/playbook/version.rb +2 -2
  53. metadata +20 -5
@@ -0,0 +1,12 @@
1
+ @mixin focus {
2
+ &:focus-visible {
3
+ outline: none;
4
+ box-shadow: 0px 0px 0 2px white, 0px 0px 0 4px $primary_action;
5
+ }
6
+ }
7
+ @mixin focus-dark {
8
+ &:focus-visible {
9
+ outline: none;
10
+ box-shadow: 0px 0px 0 2px $bg_dark_card, 0px 0px 0 4px $primary_action;
11
+ }
12
+ }
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "12.1.0"
5
- VERSION = "12.2.0"
4
+ PREVIOUS_VERSION = "12.3.0"
5
+ VERSION = "12.3.0.pre.alpha.patchtest1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.2.0
4
+ version: 12.3.0.pre.alpha.patchtest1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-07 00:00:00.000000000 Z
12
+ date: 2023-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -1389,6 +1389,15 @@ files:
1389
1389
  - app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb
1390
1390
  - app/pb_kits/playbook/pb_loading_inline/loading_inline.rb
1391
1391
  - app/pb_kits/playbook/pb_logistic/_logistic.jsx
1392
+ - app/pb_kits/playbook/pb_map/_map.scss
1393
+ - app/pb_kits/playbook/pb_map/_map.tsx
1394
+ - app/pb_kits/playbook/pb_map/docs/_map_default.jsx
1395
+ - app/pb_kits/playbook/pb_map/docs/_map_default.md
1396
+ - app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx
1397
+ - app/pb_kits/playbook/pb_map/docs/_map_with_plugin.md
1398
+ - app/pb_kits/playbook/pb_map/docs/example.yml
1399
+ - app/pb_kits/playbook/pb_map/docs/index.js
1400
+ - app/pb_kits/playbook/pb_map/map.test.jsx
1392
1401
  - app/pb_kits/playbook/pb_message/_message.jsx
1393
1402
  - app/pb_kits/playbook/pb_message/_message.scss
1394
1403
  - app/pb_kits/playbook/pb_message/_message_mixins.scss
@@ -1588,8 +1597,8 @@ files:
1588
1597
  - app/pb_kits/playbook/pb_progress_pills/docs/index.js
1589
1598
  - app/pb_kits/playbook/pb_progress_pills/progress_pills.html.erb
1590
1599
  - app/pb_kits/playbook/pb_progress_pills/progress_pills.rb
1591
- - app/pb_kits/playbook/pb_progress_simple/_progress_simple.jsx
1592
1600
  - app/pb_kits/playbook/pb_progress_simple/_progress_simple.scss
1601
+ - app/pb_kits/playbook/pb_progress_simple/_progress_simple.tsx
1593
1602
  - app/pb_kits/playbook/pb_progress_simple/docs/_description.md
1594
1603
  - app/pb_kits/playbook/pb_progress_simple/docs/_footer.md
1595
1604
  - app/pb_kits/playbook/pb_progress_simple/docs/_progress_simple_align.html.erb
@@ -1609,6 +1618,7 @@ files:
1609
1618
  - app/pb_kits/playbook/pb_progress_simple/docs/index.js
1610
1619
  - app/pb_kits/playbook/pb_progress_simple/progress_simple.html.erb
1611
1620
  - app/pb_kits/playbook/pb_progress_simple/progress_simple.rb
1621
+ - app/pb_kits/playbook/pb_progress_simple/progress_simple.test.js
1612
1622
  - app/pb_kits/playbook/pb_progress_step/_progress_step.jsx
1613
1623
  - app/pb_kits/playbook/pb_progress_step/_progress_step.scss
1614
1624
  - app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx
@@ -2151,6 +2161,7 @@ files:
2151
2161
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb
2152
2162
  - app/pb_kits/playbook/pb_typeahead/_typeahead.jsx
2153
2163
  - app/pb_kits/playbook/pb_typeahead/_typeahead.scss
2164
+ - app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx
2154
2165
  - app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.jsx
2155
2166
  - app/pb_kits/playbook/pb_typeahead/components/Control.jsx
2156
2167
  - app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.jsx
@@ -2165,6 +2176,9 @@ files:
2165
2176
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_createable.jsx
2166
2177
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb
2167
2178
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
2179
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.html.erb
2180
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.jsx
2181
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_error_state.md
2168
2182
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb
2169
2183
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
2170
2184
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
@@ -2285,6 +2299,7 @@ files:
2285
2299
  - app/pb_kits/playbook/utilities/_cursor.scss
2286
2300
  - app/pb_kits/playbook/utilities/_display.scss
2287
2301
  - app/pb_kits/playbook/utilities/_flexbox.scss
2302
+ - app/pb_kits/playbook/utilities/_focus.scss
2288
2303
  - app/pb_kits/playbook/utilities/_line_height.scss
2289
2304
  - app/pb_kits/playbook/utilities/_max_width.scss
2290
2305
  - app/pb_kits/playbook/utilities/_mixins.scss
@@ -2391,9 +2406,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2391
2406
  version: '0'
2392
2407
  required_rubygems_version: !ruby/object:Gem::Requirement
2393
2408
  requirements:
2394
- - - ">="
2409
+ - - ">"
2395
2410
  - !ruby/object:Gem::Version
2396
- version: '0'
2411
+ version: 1.3.1
2397
2412
  requirements: []
2398
2413
  rubygems_version: 3.3.7
2399
2414
  signing_key: