playbook_ui 12.4.0 → 12.5.0.pre.alpha.datepicker1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/index.js +4 -1
  3. data/app/pb_kits/playbook/pb_awesome/_awesome.scss +3 -0
  4. data/app/pb_kits/playbook/pb_awesome/_awesome.tsx +41 -0
  5. data/app/pb_kits/playbook/pb_awesome/awesome.html.erb +7 -0
  6. data/app/pb_kits/playbook/pb_awesome/awesome.rb +8 -0
  7. data/app/pb_kits/playbook/pb_awesome/awesome.test.jsx +17 -0
  8. data/app/pb_kits/playbook/pb_awesome/docs/_awesome_default.html.erb +1 -0
  9. data/app/pb_kits/playbook/pb_awesome/docs/_awesome_default.jsx +12 -0
  10. data/app/pb_kits/playbook/pb_awesome/docs/example.yml +9 -0
  11. data/app/pb_kits/playbook/pb_awesome/docs/index.js +1 -0
  12. data/app/pb_kits/playbook/pb_button/_button.tsx +2 -2
  13. data/app/pb_kits/playbook/pb_cool/_cool.scss +3 -0
  14. data/app/pb_kits/playbook/pb_cool/_cool.tsx +41 -0
  15. data/app/pb_kits/playbook/pb_cool/cool.html.erb +7 -0
  16. data/app/pb_kits/playbook/pb_cool/cool.rb +8 -0
  17. data/app/pb_kits/playbook/pb_cool/cool.test.jsx +17 -0
  18. data/app/pb_kits/playbook/pb_cool/docs/_cool_default.html.erb +1 -0
  19. data/app/pb_kits/playbook/pb_cool/docs/_cool_default.jsx +12 -0
  20. data/app/pb_kits/playbook/pb_cool/docs/example.yml +9 -0
  21. data/app/pb_kits/playbook/pb_cool/docs/index.js +1 -0
  22. data/app/pb_kits/playbook/pb_coolness/_coolness.scss +3 -0
  23. data/app/pb_kits/playbook/pb_coolness/_coolness.tsx +41 -0
  24. data/app/pb_kits/playbook/pb_coolness/coolness.html.erb +7 -0
  25. data/app/pb_kits/playbook/pb_coolness/coolness.rb +8 -0
  26. data/app/pb_kits/playbook/pb_coolness/coolness.test.jsx +17 -0
  27. data/app/pb_kits/playbook/pb_coolness/docs/_coolness_default.html.erb +1 -0
  28. data/app/pb_kits/playbook/pb_coolness/docs/_coolness_default.jsx +12 -0
  29. data/app/pb_kits/playbook/pb_coolness/docs/example.yml +9 -0
  30. data/app/pb_kits/playbook/pb_coolness/docs/index.js +1 -0
  31. data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +9 -6
  32. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +77 -56
  33. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +1 -1
  34. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +1 -0
  35. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +68 -0
  36. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +55 -0
  37. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.test.js +41 -0
  38. data/app/pb_kits/playbook/pb_map/_map.scss +114 -2
  39. data/app/pb_kits/playbook/pb_map/_map.tsx +42 -2
  40. data/app/pb_kits/playbook/pb_map/docs/_map_default.jsx +47 -24
  41. data/app/pb_kits/playbook/pb_map/docs/_map_default.md +5 -5
  42. data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +20 -17
  43. data/app/pb_kits/playbook/pb_map/docs/example.yml +0 -1
  44. data/app/pb_kits/playbook/pb_map/pbMapTheme.ts +23 -0
  45. data/app/pb_kits/playbook/pb_message/{_message.jsx → _message.tsx} +35 -35
  46. data/app/pb_kits/playbook/pb_message/message.test.js +63 -0
  47. data/app/pb_kits/playbook/pb_passphrase/{_passphrase.jsx → _passphrase.tsx} +56 -56
  48. data/app/pb_kits/playbook/pb_phone_number_input/PhoneNumberHelper.js +12 -0
  49. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb +3 -0
  50. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.html.erb +3 -0
  51. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.html.erb +4 -0
  52. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb +4 -0
  53. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +3 -0
  54. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.html.erb +15 -0
  55. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +43 -0
  56. data/app/pb_kits/playbook/pb_popover/_popover.tsx +3 -3
  57. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.scss +1 -1
  58. data/app/pb_kits/playbook/pb_test/_test.scss +3 -0
  59. data/app/pb_kits/playbook/pb_test/_test.tsx +41 -0
  60. data/app/pb_kits/playbook/pb_test/docs/_test_default.html.erb +1 -0
  61. data/app/pb_kits/playbook/pb_test/docs/_test_default.jsx +12 -0
  62. data/app/pb_kits/playbook/pb_test/docs/example.yml +9 -0
  63. data/app/pb_kits/playbook/pb_test/docs/index.js +1 -0
  64. data/app/pb_kits/playbook/pb_test/test.html.erb +7 -0
  65. data/app/pb_kits/playbook/pb_test/test.rb +8 -0
  66. data/app/pb_kits/playbook/pb_test/test.test.jsx +17 -0
  67. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +4 -0
  68. data/app/pb_kits/playbook/playbook-rails-react-bindings.js +2 -0
  69. data/lib/playbook/version.rb +2 -2
  70. metadata +54 -7
  71. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +0 -37
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.4.0
4
+ version: 12.5.0.pre.alpha.datepicker1
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-20 00:00:00.000000000 Z
12
+ date: 2023-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -332,6 +332,15 @@ files:
332
332
  - app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml
333
333
  - app/pb_kits/playbook/pb_avatar_action_button/docs/index.js
334
334
  - app/pb_kits/playbook/pb_avatar_action_button/pb_avatar_action_button.test.js
335
+ - app/pb_kits/playbook/pb_awesome/_awesome.scss
336
+ - app/pb_kits/playbook/pb_awesome/_awesome.tsx
337
+ - app/pb_kits/playbook/pb_awesome/awesome.html.erb
338
+ - app/pb_kits/playbook/pb_awesome/awesome.rb
339
+ - app/pb_kits/playbook/pb_awesome/awesome.test.jsx
340
+ - app/pb_kits/playbook/pb_awesome/docs/_awesome_default.html.erb
341
+ - app/pb_kits/playbook/pb_awesome/docs/_awesome_default.jsx
342
+ - app/pb_kits/playbook/pb_awesome/docs/example.yml
343
+ - app/pb_kits/playbook/pb_awesome/docs/index.js
335
344
  - app/pb_kits/playbook/pb_background/_background.scss
336
345
  - app/pb_kits/playbook/pb_background/_background.tsx
337
346
  - app/pb_kits/playbook/pb_background/background.html.erb
@@ -635,6 +644,24 @@ files:
635
644
  - app/pb_kits/playbook/pb_contact/docs/_description.md
636
645
  - app/pb_kits/playbook/pb_contact/docs/example.yml
637
646
  - app/pb_kits/playbook/pb_contact/docs/index.js
647
+ - app/pb_kits/playbook/pb_cool/_cool.scss
648
+ - app/pb_kits/playbook/pb_cool/_cool.tsx
649
+ - app/pb_kits/playbook/pb_cool/cool.html.erb
650
+ - app/pb_kits/playbook/pb_cool/cool.rb
651
+ - app/pb_kits/playbook/pb_cool/cool.test.jsx
652
+ - app/pb_kits/playbook/pb_cool/docs/_cool_default.html.erb
653
+ - app/pb_kits/playbook/pb_cool/docs/_cool_default.jsx
654
+ - app/pb_kits/playbook/pb_cool/docs/example.yml
655
+ - app/pb_kits/playbook/pb_cool/docs/index.js
656
+ - app/pb_kits/playbook/pb_coolness/_coolness.scss
657
+ - app/pb_kits/playbook/pb_coolness/_coolness.tsx
658
+ - app/pb_kits/playbook/pb_coolness/coolness.html.erb
659
+ - app/pb_kits/playbook/pb_coolness/coolness.rb
660
+ - app/pb_kits/playbook/pb_coolness/coolness.test.jsx
661
+ - app/pb_kits/playbook/pb_coolness/docs/_coolness_default.html.erb
662
+ - app/pb_kits/playbook/pb_coolness/docs/_coolness_default.jsx
663
+ - app/pb_kits/playbook/pb_coolness/docs/example.yml
664
+ - app/pb_kits/playbook/pb_coolness/docs/index.js
638
665
  - app/pb_kits/playbook/pb_currency/_currency.scss
639
666
  - app/pb_kits/playbook/pb_currency/_currency.tsx
640
667
  - app/pb_kits/playbook/pb_currency/currency.html.erb
@@ -754,6 +781,7 @@ files:
754
781
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss
755
782
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss
756
783
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_inline_styles.scss
784
+ - app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss
757
785
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_month_and_year_styles.scss
758
786
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss
759
787
  - app/pb_kits/playbook/pb_date_picker/sass_partials/_time_selection_styles.scss
@@ -1379,8 +1407,8 @@ files:
1379
1407
  - app/pb_kits/playbook/pb_list/item.rb
1380
1408
  - app/pb_kits/playbook/pb_list/list.html.erb
1381
1409
  - app/pb_kits/playbook/pb_list/list.rb
1382
- - app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx
1383
1410
  - app/pb_kits/playbook/pb_loading_inline/_loading_inline.scss
1411
+ - app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx
1384
1412
  - app/pb_kits/playbook/pb_loading_inline/docs/_description.md
1385
1413
  - app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.html.erb
1386
1414
  - app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.jsx
@@ -1388,6 +1416,7 @@ files:
1388
1416
  - app/pb_kits/playbook/pb_loading_inline/docs/index.js
1389
1417
  - app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb
1390
1418
  - app/pb_kits/playbook/pb_loading_inline/loading_inline.rb
1419
+ - app/pb_kits/playbook/pb_loading_inline/loading_inline.test.js
1391
1420
  - app/pb_kits/playbook/pb_logistic/_logistic.jsx
1392
1421
  - app/pb_kits/playbook/pb_map/_map.scss
1393
1422
  - app/pb_kits/playbook/pb_map/_map.tsx
@@ -1398,8 +1427,9 @@ files:
1398
1427
  - app/pb_kits/playbook/pb_map/docs/example.yml
1399
1428
  - app/pb_kits/playbook/pb_map/docs/index.js
1400
1429
  - app/pb_kits/playbook/pb_map/map.test.jsx
1401
- - app/pb_kits/playbook/pb_message/_message.jsx
1430
+ - app/pb_kits/playbook/pb_map/pbMapTheme.ts
1402
1431
  - app/pb_kits/playbook/pb_message/_message.scss
1432
+ - app/pb_kits/playbook/pb_message/_message.tsx
1403
1433
  - app/pb_kits/playbook/pb_message/_message_mixins.scss
1404
1434
  - app/pb_kits/playbook/pb_message/docs/_description.md
1405
1435
  - app/pb_kits/playbook/pb_message/docs/_footer.md
@@ -1412,6 +1442,7 @@ files:
1412
1442
  - app/pb_kits/playbook/pb_message/docs/index.js
1413
1443
  - app/pb_kits/playbook/pb_message/message.html.erb
1414
1444
  - app/pb_kits/playbook/pb_message/message.rb
1445
+ - app/pb_kits/playbook/pb_message/message.test.js
1415
1446
  - app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx
1416
1447
  - app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
1417
1448
  - app/pb_kits/playbook/pb_multiple_users/docs/_description.md
@@ -1496,8 +1527,8 @@ files:
1496
1527
  - app/pb_kits/playbook/pb_pagination/docs/example.yml
1497
1528
  - app/pb_kits/playbook/pb_pagination/pagination.html.erb
1498
1529
  - app/pb_kits/playbook/pb_pagination/pagination.rb
1499
- - app/pb_kits/playbook/pb_passphrase/_passphrase.jsx
1500
1530
  - app/pb_kits/playbook/pb_passphrase/_passphrase.scss
1531
+ - app/pb_kits/playbook/pb_passphrase/_passphrase.tsx
1501
1532
  - app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.html.erb
1502
1533
  - app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.jsx
1503
1534
  - app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.md
@@ -1553,18 +1584,25 @@ files:
1553
1584
  - app/pb_kits/playbook/pb_person_contact/docs/index.js
1554
1585
  - app/pb_kits/playbook/pb_person_contact/person_contact.html.erb
1555
1586
  - app/pb_kits/playbook/pb_person_contact/person_contact.rb
1587
+ - app/pb_kits/playbook/pb_phone_number_input/PhoneNumberHelper.js
1556
1588
  - app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss
1557
1589
  - app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx
1590
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb
1558
1591
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx
1559
1592
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.md
1593
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.html.erb
1560
1594
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.jsx
1561
1595
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.md
1596
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.html.erb
1562
1597
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.jsx
1563
1598
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.md
1599
+ - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
1564
1600
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
1565
1601
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
1566
1602
  - app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
1567
1603
  - app/pb_kits/playbook/pb_phone_number_input/docs/index.js
1604
+ - app/pb_kits/playbook/pb_phone_number_input/phone_number_input.html.erb
1605
+ - app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb
1568
1606
  - app/pb_kits/playbook/pb_phone_number_input/phone_number_input.test.js
1569
1607
  - app/pb_kits/playbook/pb_phone_number_input/types.d.ts
1570
1608
  - app/pb_kits/playbook/pb_pill/_pill.scss
@@ -1950,6 +1988,15 @@ files:
1950
1988
  - app/pb_kits/playbook/pb_table/table.test.js
1951
1989
  - app/pb_kits/playbook/pb_table/table_row.html.erb
1952
1990
  - app/pb_kits/playbook/pb_table/table_row.rb
1991
+ - app/pb_kits/playbook/pb_test/_test.scss
1992
+ - app/pb_kits/playbook/pb_test/_test.tsx
1993
+ - app/pb_kits/playbook/pb_test/docs/_test_default.html.erb
1994
+ - app/pb_kits/playbook/pb_test/docs/_test_default.jsx
1995
+ - app/pb_kits/playbook/pb_test/docs/example.yml
1996
+ - app/pb_kits/playbook/pb_test/docs/index.js
1997
+ - app/pb_kits/playbook/pb_test/test.html.erb
1998
+ - app/pb_kits/playbook/pb_test/test.rb
1999
+ - app/pb_kits/playbook/pb_test/test.test.jsx
1953
2000
  - app/pb_kits/playbook/pb_text_input/_text_input.scss
1954
2001
  - app/pb_kits/playbook/pb_text_input/_text_input.tsx
1955
2002
  - app/pb_kits/playbook/pb_text_input/add_on.html.erb
@@ -2422,9 +2469,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2422
2469
  version: '0'
2423
2470
  required_rubygems_version: !ruby/object:Gem::Requirement
2424
2471
  requirements:
2425
- - - ">="
2472
+ - - ">"
2426
2473
  - !ruby/object:Gem::Version
2427
- version: '0'
2474
+ version: 1.3.1
2428
2475
  requirements: []
2429
2476
  rubygems_version: 3.3.7
2430
2477
  signing_key:
@@ -1,37 +0,0 @@
1
- /* @flow */
2
-
3
- import React from 'react'
4
- import classnames from 'classnames'
5
-
6
- import { globalProps } from '../utilities/globalProps'
7
-
8
- import Body from '../pb_body/_body'
9
- import Icon from '../pb_icon/_icon'
10
- type LoadingInlineProps = {
11
- align?: "left" | "center" | "right",
12
- className?: string,
13
- dark?: boolean,
14
- data?: string,
15
- id?: string,
16
- }
17
-
18
- const LoadingInline = (props: LoadingInlineProps) => {
19
- const { align = 'left' } = props
20
- return (
21
- <div
22
- className={classnames(`pb_loading_inline_kit_${align}`, globalProps(props))}
23
- >
24
- <Body color="light">
25
- <Icon
26
- aria={{ label: 'loading icon' }}
27
- fixedWidth
28
- icon="spinner"
29
- pulse
30
- />
31
- {' Loading'}
32
- </Body>
33
- </div>
34
- )
35
- }
36
-
37
- export default LoadingInline