playbook_ui 12.4.0.pre.alpha.map1 → 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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_awesome/_awesome.scss +3 -0
  3. data/app/pb_kits/playbook/pb_awesome/_awesome.tsx +41 -0
  4. data/app/pb_kits/playbook/pb_awesome/awesome.html.erb +7 -0
  5. data/app/pb_kits/playbook/pb_awesome/awesome.rb +8 -0
  6. data/app/pb_kits/playbook/pb_awesome/awesome.test.jsx +17 -0
  7. data/app/pb_kits/playbook/pb_awesome/docs/_awesome_default.html.erb +1 -0
  8. data/app/pb_kits/playbook/pb_awesome/docs/_awesome_default.jsx +12 -0
  9. data/app/pb_kits/playbook/pb_awesome/docs/example.yml +9 -0
  10. data/app/pb_kits/playbook/pb_awesome/docs/index.js +1 -0
  11. data/app/pb_kits/playbook/pb_cool/_cool.scss +3 -0
  12. data/app/pb_kits/playbook/pb_cool/_cool.tsx +41 -0
  13. data/app/pb_kits/playbook/pb_cool/cool.html.erb +7 -0
  14. data/app/pb_kits/playbook/pb_cool/cool.rb +8 -0
  15. data/app/pb_kits/playbook/pb_cool/cool.test.jsx +17 -0
  16. data/app/pb_kits/playbook/pb_cool/docs/_cool_default.html.erb +1 -0
  17. data/app/pb_kits/playbook/pb_cool/docs/_cool_default.jsx +12 -0
  18. data/app/pb_kits/playbook/pb_cool/docs/example.yml +9 -0
  19. data/app/pb_kits/playbook/pb_cool/docs/index.js +1 -0
  20. data/app/pb_kits/playbook/pb_coolness/_coolness.scss +3 -0
  21. data/app/pb_kits/playbook/pb_coolness/_coolness.tsx +41 -0
  22. data/app/pb_kits/playbook/pb_coolness/coolness.html.erb +7 -0
  23. data/app/pb_kits/playbook/pb_coolness/coolness.rb +8 -0
  24. data/app/pb_kits/playbook/pb_coolness/coolness.test.jsx +17 -0
  25. data/app/pb_kits/playbook/pb_coolness/docs/_coolness_default.html.erb +1 -0
  26. data/app/pb_kits/playbook/pb_coolness/docs/_coolness_default.jsx +12 -0
  27. data/app/pb_kits/playbook/pb_coolness/docs/example.yml +9 -0
  28. data/app/pb_kits/playbook/pb_coolness/docs/index.js +1 -0
  29. data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +9 -6
  30. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +77 -56
  31. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +1 -1
  32. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +1 -0
  33. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_input_styles.scss +68 -0
  34. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +55 -0
  35. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.test.js +41 -0
  36. data/app/pb_kits/playbook/pb_map/docs/_map_default.jsx +0 -1
  37. data/app/pb_kits/playbook/pb_map/docs/_map_default.md +3 -3
  38. data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +7 -6
  39. data/app/pb_kits/playbook/pb_message/{_message.jsx → _message.tsx} +35 -35
  40. data/app/pb_kits/playbook/pb_message/message.test.js +63 -0
  41. data/app/pb_kits/playbook/pb_passphrase/{_passphrase.jsx → _passphrase.tsx} +56 -56
  42. data/app/pb_kits/playbook/pb_phone_number_input/PhoneNumberHelper.js +12 -0
  43. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb +3 -0
  44. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.html.erb +3 -0
  45. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.html.erb +4 -0
  46. data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb +4 -0
  47. data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +3 -0
  48. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.html.erb +15 -0
  49. data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +43 -0
  50. data/app/pb_kits/playbook/pb_popover/_popover.tsx +3 -3
  51. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.scss +1 -1
  52. data/app/pb_kits/playbook/pb_test/_test.scss +3 -0
  53. data/app/pb_kits/playbook/pb_test/_test.tsx +41 -0
  54. data/app/pb_kits/playbook/pb_test/docs/_test_default.html.erb +1 -0
  55. data/app/pb_kits/playbook/pb_test/docs/_test_default.jsx +12 -0
  56. data/app/pb_kits/playbook/pb_test/docs/example.yml +9 -0
  57. data/app/pb_kits/playbook/pb_test/docs/index.js +1 -0
  58. data/app/pb_kits/playbook/pb_test/test.html.erb +7 -0
  59. data/app/pb_kits/playbook/pb_test/test.rb +8 -0
  60. data/app/pb_kits/playbook/pb_test/test.test.jsx +17 -0
  61. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +4 -0
  62. data/app/pb_kits/playbook/playbook-rails-react-bindings.js +2 -0
  63. data/lib/playbook/version.rb +2 -2
  64. metadata +51 -5
  65. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +0 -37
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module PbPhoneNumberInput
5
+ class PhoneNumberInput < Playbook::KitBase
6
+ prop :disabled, type: Playbook::Props::Boolean,
7
+ default: false
8
+ prop :initial_country, type: Playbook::Props::String,
9
+ default: ""
10
+ prop :is_valid
11
+ prop :label, type: Playbook::Props::String,
12
+ default: ""
13
+ prop :name, type: Playbook::Props::String,
14
+ default: ""
15
+ prop :onchange
16
+ prop :only_countries, type: Playbook::Props::Array,
17
+ default: []
18
+ prop :preferred_countries, type: Playbook::Props::Array,
19
+ default: []
20
+ prop :value, type: Playbook::Props::String,
21
+ default: ""
22
+
23
+ def classname
24
+ generate_classname("pb_phone_number_input")
25
+ end
26
+
27
+ def phone_number_input_options
28
+ {
29
+ id: id,
30
+ disabled: disabled,
31
+ initialCountry: initial_country,
32
+ isValid: is_valid,
33
+ label: label,
34
+ name: name,
35
+ onChange: onchange,
36
+ onlyCountries: only_countries,
37
+ preferredCountries: preferred_countries,
38
+ value: value,
39
+ }
40
+ end
41
+ end
42
+ end
43
+ end
@@ -28,9 +28,9 @@ type PbPopoverProps = {
28
28
  offset?: boolean;
29
29
  reference: PopperReference & any;
30
30
  show?: boolean;
31
- shouldClosePopover?: (arg0: boolean) => boolean | boolean;
32
- } & GlobalProps &
33
- PopperProps<any>;
31
+ shouldClosePopover?: (arg0: boolean) => void;
32
+ } & GlobalProps & Omit<PopperProps<any>, 'children'>
33
+ & { children?: React.ReactChild[] | React.ReactChild }
34
34
 
35
35
  // Prop enabled default modifiers here
36
36
  // https://popper.js.org/docs/v2/modifiers
@@ -8,7 +8,7 @@
8
8
  background-color: $bg_light;
9
9
  }
10
10
  &[class*=checked_item] {
11
- background-color: $bg_light;
11
+ background-color: $active_light;
12
12
  }
13
13
  }
14
14
  [class^=pb_radio_kit] {
@@ -0,0 +1,3 @@
1
+ .pb_test {
2
+
3
+ }
@@ -0,0 +1,41 @@
1
+
2
+
3
+ /* @flow */
4
+
5
+ import React from 'react'
6
+ import classnames from 'classnames'
7
+ import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
8
+ import { globalProps } from '../utilities/globalProps'
9
+
10
+ type TestProps = {
11
+ aria?: { [key: string]: string },
12
+ className?: string,
13
+ data?: { [key: string]: string },
14
+ id?: string,
15
+ }
16
+
17
+ const Test = (props: TestProps) => {
18
+ const {
19
+ aria = {},
20
+ className,
21
+ data = {},
22
+ id,
23
+ } = props
24
+
25
+ const ariaProps = buildAriaProps(aria)
26
+ const dataProps = buildDataProps(data)
27
+ const classes = classnames(buildCss('pb_test'), globalProps(props), className)
28
+
29
+ return (
30
+ <div
31
+ {...ariaProps}
32
+ {...dataProps}
33
+ className={classes}
34
+ id={id}
35
+ >
36
+ {className}
37
+ </div>
38
+ )
39
+ }
40
+
41
+ export default Test
@@ -0,0 +1 @@
1
+ <%= pb_rails("test") %>
@@ -0,0 +1,12 @@
1
+ import React from 'react'
2
+ import Test from '../_Test'
3
+
4
+ const TestDefault = (props) => (
5
+ <div>
6
+ <Test
7
+ {...props}
8
+ />
9
+ </div>
10
+ )
11
+
12
+ export default TestDefault
@@ -0,0 +1,9 @@
1
+ examples:
2
+
3
+ rails:
4
+ - test_default: Default
5
+
6
+
7
+ react:
8
+ - test_default: Default
9
+
@@ -0,0 +1 @@
1
+ export { default as TestDefault } from './_test_default.jsx'
@@ -0,0 +1,7 @@
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id) do %>
6
+ <span>TEST CONTENT</span>
7
+ <% end %>
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module PbTest
5
+ class Test < ::Playbook::KitBase
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,17 @@
1
+ import { ensureAccessible, renderKit } from '../utilities/test-utils'
2
+
3
+ import { Test } from '../'
4
+
5
+ /* See these resources for more testing info:
6
+ - https://github.com/testing-library/jest-dom#usage for useage and examples
7
+ - https://jestjs.io/docs/en/using-matchers
8
+ */
9
+
10
+ test('generated scaffold test - update me', () => {
11
+ const props = {
12
+ data: { testid: 'default' }
13
+ }
14
+
15
+ const kit = renderKit(Test , props)
16
+ expect(kit).toBeInTheDocument()
17
+ })
@@ -183,6 +183,10 @@
183
183
  }
184
184
 
185
185
  .typeahead-kit-select__menu {
186
+ .typeahead-kit-select__menu-list {
187
+ padding: 0;
188
+ }
189
+
186
190
  .typeahead-kit-select__option {
187
191
  &.typeahead-kit-select__option--is-focused {
188
192
  background-color: $hover_light;
@@ -17,6 +17,7 @@ import Passphrase from './pb_passphrase/_passphrase'
17
17
  import RichTextEditor from './pb_rich_text_editor/_rich_text_editor'
18
18
  import TreemapChart from './pb_treemap_chart/_treemap_chart'
19
19
  import Typeahead from './pb_typeahead/_typeahead'
20
+ import PhoneNumberInput from './pb_phone_number_input/_phone_number_input'
20
21
 
21
22
  WebpackerReact.registerComponents({
22
23
  BarGraph,
@@ -33,6 +34,7 @@ WebpackerReact.registerComponents({
33
34
  TreemapChart,
34
35
  Typeahead,
35
36
  Gauge,
37
+ PhoneNumberInput
36
38
  })
37
39
 
38
40
  ujs.setup(
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "12.4.0"
5
- VERSION = "12.4.0.pre.alpha.map1"
4
+ PREVIOUS_VERSION = "12.5.0"
5
+ VERSION = "12.5.0.pre.alpha.datepicker1"
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.4.0.pre.alpha.map1
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-24 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
@@ -1399,8 +1428,8 @@ files:
1399
1428
  - app/pb_kits/playbook/pb_map/docs/index.js
1400
1429
  - app/pb_kits/playbook/pb_map/map.test.jsx
1401
1430
  - app/pb_kits/playbook/pb_map/pbMapTheme.ts
1402
- - app/pb_kits/playbook/pb_message/_message.jsx
1403
1431
  - app/pb_kits/playbook/pb_message/_message.scss
1432
+ - app/pb_kits/playbook/pb_message/_message.tsx
1404
1433
  - app/pb_kits/playbook/pb_message/_message_mixins.scss
1405
1434
  - app/pb_kits/playbook/pb_message/docs/_description.md
1406
1435
  - app/pb_kits/playbook/pb_message/docs/_footer.md
@@ -1413,6 +1442,7 @@ files:
1413
1442
  - app/pb_kits/playbook/pb_message/docs/index.js
1414
1443
  - app/pb_kits/playbook/pb_message/message.html.erb
1415
1444
  - app/pb_kits/playbook/pb_message/message.rb
1445
+ - app/pb_kits/playbook/pb_message/message.test.js
1416
1446
  - app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx
1417
1447
  - app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
1418
1448
  - app/pb_kits/playbook/pb_multiple_users/docs/_description.md
@@ -1497,8 +1527,8 @@ files:
1497
1527
  - app/pb_kits/playbook/pb_pagination/docs/example.yml
1498
1528
  - app/pb_kits/playbook/pb_pagination/pagination.html.erb
1499
1529
  - app/pb_kits/playbook/pb_pagination/pagination.rb
1500
- - app/pb_kits/playbook/pb_passphrase/_passphrase.jsx
1501
1530
  - app/pb_kits/playbook/pb_passphrase/_passphrase.scss
1531
+ - app/pb_kits/playbook/pb_passphrase/_passphrase.tsx
1502
1532
  - app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.html.erb
1503
1533
  - app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.jsx
1504
1534
  - app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.md
@@ -1554,18 +1584,25 @@ files:
1554
1584
  - app/pb_kits/playbook/pb_person_contact/docs/index.js
1555
1585
  - app/pb_kits/playbook/pb_person_contact/person_contact.html.erb
1556
1586
  - app/pb_kits/playbook/pb_person_contact/person_contact.rb
1587
+ - app/pb_kits/playbook/pb_phone_number_input/PhoneNumberHelper.js
1557
1588
  - app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss
1558
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
1559
1591
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx
1560
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
1561
1594
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.jsx
1562
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
1563
1597
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_only_countries.jsx
1564
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
1565
1600
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
1566
1601
  - app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
1567
1602
  - app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
1568
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
1569
1606
  - app/pb_kits/playbook/pb_phone_number_input/phone_number_input.test.js
1570
1607
  - app/pb_kits/playbook/pb_phone_number_input/types.d.ts
1571
1608
  - app/pb_kits/playbook/pb_pill/_pill.scss
@@ -1951,6 +1988,15 @@ files:
1951
1988
  - app/pb_kits/playbook/pb_table/table.test.js
1952
1989
  - app/pb_kits/playbook/pb_table/table_row.html.erb
1953
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
1954
2000
  - app/pb_kits/playbook/pb_text_input/_text_input.scss
1955
2001
  - app/pb_kits/playbook/pb_text_input/_text_input.tsx
1956
2002
  - app/pb_kits/playbook/pb_text_input/add_on.html.erb
@@ -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