playbook_ui 14.19.0.pre.alpha.borderfixadvancedtable7816 → 14.19.0.pre.alpha.play1997dropdownenablepillsinselection7702

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 (93) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/Components/RegularTableView.tsx +1 -11
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/TableActionBar.tsx +15 -148
  4. data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +3 -20
  5. data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableState.ts +13 -23
  6. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +3 -10
  7. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +2 -7
  8. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +8 -16
  9. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.rb +0 -9
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -6
  11. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -5
  12. data/app/pb_kits/playbook/pb_advanced_table/index.js +52 -355
  13. data/app/pb_kits/playbook/pb_advanced_table/scss_partials/advanced_table_sticky_mixin.scss +0 -1
  14. data/app/pb_kits/playbook/pb_advanced_table/table_header.rb +0 -4
  15. data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownContainer.tsx +2 -2
  16. data/app/pb_kits/playbook/pb_file_upload/_file_upload.scss +0 -13
  17. data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +1 -11
  18. data/app/pb_kits/playbook/pb_file_upload/docs/example.yml +0 -2
  19. data/app/pb_kits/playbook/pb_file_upload/docs/index.js +0 -1
  20. data/app/pb_kits/playbook/pb_file_upload/file_upload.html.erb +0 -1
  21. data/app/pb_kits/playbook/pb_file_upload/file_upload.rb +1 -7
  22. data/app/pb_kits/playbook/pb_file_upload/fileupload.test.js +0 -18
  23. data/app/pb_kits/playbook/pb_form_group/_error_state_mixin.scss +2 -2
  24. data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +12 -19
  25. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.tsx +7 -13
  26. data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +2 -2
  27. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.html.erb +11 -11
  28. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.jsx +11 -11
  29. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb +11 -11
  30. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +11 -11
  31. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled.html.erb +11 -11
  32. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled.jsx +11 -11
  33. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options.html.erb +11 -11
  34. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options.jsx +11 -11
  35. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_default.html.erb +11 -11
  36. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_default.jsx +11 -11
  37. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent.html.erb +11 -11
  38. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent.jsx +11 -11
  39. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent_default.html.erb +11 -11
  40. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent_default.jsx +11 -11
  41. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_error.html.erb +11 -11
  42. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_error.jsx +11 -11
  43. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_label.html.erb +11 -11
  44. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_label.jsx +11 -11
  45. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_react_hook.jsx +11 -11
  46. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.html.erb +11 -11
  47. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.html.erb +11 -11
  48. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.jsx +11 -11
  49. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb +11 -11
  50. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md +0 -2
  51. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids_react.jsx +11 -11
  52. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids_react.md +1 -3
  53. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +22 -22
  54. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +22 -22
  55. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb +22 -22
  56. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx +22 -22
  57. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx +11 -11
  58. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx +11 -11
  59. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb +11 -11
  60. data/app/pb_kits/playbook/pb_person/_person.tsx +2 -12
  61. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +9 -9
  62. data/app/pb_kits/playbook/pb_section_separator/_section_separator.tsx +2 -2
  63. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +2 -4
  64. data/dist/chunks/_typeahead-BQV04mOl.js +22 -0
  65. data/dist/chunks/_weekday_stacked-BdaYw6Ra.js +45 -0
  66. data/dist/chunks/{lib-B20MXZcW.js → lib-DwFasxbk.js} +2 -2
  67. data/dist/chunks/{pb_form_validation-WWvUXPKD.js → pb_form_validation-nnXW3T-3.js} +1 -1
  68. data/dist/chunks/vendor.js +1 -1
  69. data/dist/playbook-doc.js +1 -1
  70. data/dist/playbook-rails-react-bindings.js +1 -1
  71. data/dist/playbook-rails.js +1 -1
  72. data/dist/playbook.css +1 -1
  73. data/lib/playbook/version.rb +1 -1
  74. metadata +6 -23
  75. data/app/pb_kits/playbook/pb_advanced_table/Utilities/VisibilityTree.ts +0 -47
  76. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility.jsx +0 -57
  77. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility.md +0 -4
  78. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_custom.jsx +0 -62
  79. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_custom.md +0 -1
  80. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_multi.jsx +0 -82
  81. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_multi.md +0 -1
  82. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_with_state.jsx +0 -65
  83. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_with_state.md +0 -1
  84. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions_rails.html.erb +0 -137
  85. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions_rails.md +0 -3
  86. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header_rails.html.erb +0 -40
  87. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header_rails.md +0 -1
  88. data/app/pb_kits/playbook/pb_advanced_table/table_action_bar.html.erb +0 -23
  89. data/app/pb_kits/playbook/pb_advanced_table/table_action_bar.rb +0 -19
  90. data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_error.html.erb +0 -1
  91. data/app/pb_kits/playbook/pb_file_upload/docs/_file_upload_error.jsx +0 -41
  92. data/dist/chunks/_typeahead-B9-s4j4U.js +0 -22
  93. data/dist/chunks/_weekday_stacked-CvzpmXD5.js +0 -45
@@ -4,80 +4,80 @@ import MultiLevelSelect from "../_multi_level_select";
4
4
  const treeData = [
5
5
  {
6
6
  label: "HQ",
7
- value: "hQ",
7
+ value: "HQ",
8
8
  id: "hq1",
9
9
  },
10
10
  {
11
11
  label: "Philadelphia",
12
- value: "philadelphia",
12
+ value: "Philadelphia",
13
13
  id: "phl1",
14
14
  hideRadio: true,
15
15
  children: [
16
16
  {
17
17
  label: "Marketing & Sales PHL",
18
- value: "marketingAndSalesPhl",
18
+ value: "Marketing & Sales PHL",
19
19
  id: "marketingPHL1",
20
20
  },
21
21
  {
22
22
  label: "Installation Office PHL",
23
- value: "installationOfficePhl",
23
+ value: "Installation Office PHL",
24
24
  id: "installationPHL1",
25
25
  },
26
26
  {
27
27
  label: "Warehouse PHL",
28
- value: "warehousePhl",
28
+ value: "Warehouse PHL",
29
29
  id: "warehousePHL1",
30
30
  },
31
31
  ]
32
32
  },
33
33
  {
34
34
  label: "New Jersey",
35
- value: "newJersey",
35
+ value: "New Jersey",
36
36
  id: "nj2",
37
37
  hideRadio: true,
38
38
  children: [
39
39
  {
40
40
  label: "New Jersey",
41
- value: "newJersey",
41
+ value: "New Jersey",
42
42
  id: "nj3",
43
43
  hideRadio: true,
44
44
  children: [
45
45
  {
46
46
  label: "Marketing & Sales NJ",
47
- value: "marketingAndSalesNj",
47
+ value: "Marketing & Sales NJ",
48
48
  id: "marketingNJ1",
49
49
  },
50
50
  {
51
51
  label: "Installation Office NJ",
52
- value: "installationOfficeNj",
52
+ value: "Installation Office NJ",
53
53
  id: "installationNJ1",
54
54
  },
55
55
  {
56
56
  label: "Warehouse NJ",
57
- value: "warehouseNj",
57
+ value: "Warehouse NJ",
58
58
  id: "warehouseNJ1",
59
59
  },
60
60
  ],
61
61
  },
62
62
  {
63
63
  label: "Princeton",
64
- value: "princeton",
64
+ value: "Princeton",
65
65
  id: "princeton1",
66
66
  hideRadio: true,
67
67
  children: [
68
68
  {
69
69
  label: "Marketing & Sales Princeton",
70
- value: "marketingAndSalesPrinceton",
70
+ value: "Marketing & Sales Princeton",
71
71
  id: "marketingPR1",
72
72
  },
73
73
  {
74
74
  label: "Installation Office Princeton",
75
- value: "installationOfficePrinceton",
75
+ value: "Installation Office Princeton",
76
76
  id: "installationPR1",
77
77
  },
78
78
  {
79
79
  label: "Warehouse Princeton",
80
- value: "warehousePrinceton",
80
+ value: "Warehouse Princeton",
81
81
  id: "warehousePR1",
82
82
  },
83
83
  ]
@@ -86,46 +86,46 @@ const treeData = [
86
86
  },
87
87
  {
88
88
  label: "Maryland",
89
- value: "maryland",
89
+ value: "Maryland",
90
90
  id: "MD1",
91
91
  hideRadio: true,
92
92
  children: [
93
93
  {
94
94
  label: "Marketing & Sales MD",
95
- value: "marketingAndSalesMd",
95
+ value: "Marketing & Sales MD",
96
96
  id: "marketingMD1",
97
97
  },
98
98
  {
99
99
  label: "Installation Office MD",
100
- value: "installationOfficeMd",
100
+ value: "Installation Office MD",
101
101
  id: "installationMD1",
102
102
  },
103
103
  {
104
104
  label: "Warehouse MD",
105
- value: "warehouseMd",
105
+ value: "Warehouse MD",
106
106
  id: "warehouseMD1",
107
107
  },
108
108
  ]
109
109
  },
110
110
  {
111
111
  label: "Connecticut",
112
- value: "connecticut",
112
+ value: "Connecticut",
113
113
  id: "CT1",
114
114
  hideRadio: true,
115
115
  children: [
116
116
  {
117
117
  label: "Marketing & Sales CT",
118
- value: "marketingAndSalesCt",
118
+ value: "Marketing & Sales CT",
119
119
  id: "marketingCT1",
120
120
  },
121
121
  {
122
122
  label: "Installation Office CT",
123
- value: "installationOfficeCt",
123
+ value: "Installation Office CT",
124
124
  id: "installationCT1",
125
125
  },
126
126
  {
127
127
  label: "Warehouse CT",
128
- value: "warehouseCt",
128
+ value: "Warehouse CT",
129
129
  id: "warehouseCT1",
130
130
  },
131
131
  ]
@@ -5,25 +5,25 @@ import Badge from "../../pb_badge/_badge";
5
5
  const treeData = [
6
6
  {
7
7
  label: "Power Home Remodeling",
8
- value: "powerHomeRemodeling",
8
+ value: "Power Home Remodeling",
9
9
  id: "powerhome1",
10
10
  expanded: true,
11
11
  children: [
12
12
  {
13
13
  label: "People",
14
- value: "people",
14
+ value: "People",
15
15
  id: "people1",
16
16
  expanded: true,
17
17
  status: "active",
18
18
  children: [
19
19
  {
20
20
  label: "Talent Acquisition",
21
- value: "talentAcquisition",
21
+ value: "Talent Acquisition",
22
22
  id: "talent1",
23
23
  },
24
24
  {
25
25
  label: "Business Affairs",
26
- value: "businessAffairs",
26
+ value: "Business Affairs",
27
27
  id: "business1",
28
28
  status: "active",
29
29
  variant: "primary",
@@ -31,12 +31,12 @@ const treeData = [
31
31
  children: [
32
32
  {
33
33
  label: "Initiatives",
34
- value: "initiatives",
34
+ value: "Initiatives",
35
35
  id: "initiative1",
36
36
  },
37
37
  {
38
38
  label: "Learning & Development",
39
- value: "learningAndDevelopment",
39
+ value: "Learning & Development",
40
40
  id: "development1",
41
41
  status: "Inactive",
42
42
  },
@@ -44,31 +44,31 @@ const treeData = [
44
44
  },
45
45
  {
46
46
  label: "People Experience",
47
- value: "peopleExperience",
47
+ value: "People Experience",
48
48
  id: "experience1",
49
49
  },
50
50
  ],
51
51
  },
52
52
  {
53
53
  label: "Contact Center",
54
- value: "contactCenter",
54
+ value: "Contact Center",
55
55
  id: "contact1",
56
56
  status: "Inactive",
57
57
  variant: "error",
58
58
  children: [
59
59
  {
60
60
  label: "Appointment Management",
61
- value: "appointmentManagement",
61
+ value: "Appointment Management",
62
62
  id: "appointment1",
63
63
  },
64
64
  {
65
65
  label: "Customer Service",
66
- value: "customerService",
66
+ value: "Customer Service",
67
67
  id: "customer1",
68
68
  },
69
69
  {
70
70
  label: "Energy",
71
- value: "energy",
71
+ value: "Energy",
72
72
  id: "energy1",
73
73
  },
74
74
  ],
@@ -5,25 +5,25 @@ import Badge from "../../pb_badge/_badge";
5
5
  const treeData = [
6
6
  {
7
7
  label: "Power Home Remodeling",
8
- value: "powerHomeRemodeling",
8
+ value: "Power Home Remodeling",
9
9
  id: "powerhome1",
10
10
  expanded: true,
11
11
  children: [
12
12
  {
13
13
  label: "People",
14
- value: "people",
14
+ value: "People",
15
15
  id: "people1",
16
16
  expanded: true,
17
17
  status: "active",
18
18
  children: [
19
19
  {
20
20
  label: "Talent Acquisition",
21
- value: "talentAcquisition",
21
+ value: "Talent Acquisition",
22
22
  id: "talent1",
23
23
  },
24
24
  {
25
25
  label: "Business Affairs",
26
- value: "businessAffairs",
26
+ value: "Business Affairs",
27
27
  id: "business1",
28
28
  status: "active",
29
29
  variant: "primary",
@@ -31,12 +31,12 @@ const treeData = [
31
31
  children: [
32
32
  {
33
33
  label: "Initiatives",
34
- value: "initiatives",
34
+ value: "Initiatives",
35
35
  id: "initiative1",
36
36
  },
37
37
  {
38
38
  label: "Learning & Development",
39
- value: "learningAndDevelopment",
39
+ value: "Learning & Development",
40
40
  id: "development1",
41
41
  status: "Inactive",
42
42
  },
@@ -44,31 +44,31 @@ const treeData = [
44
44
  },
45
45
  {
46
46
  label: "People Experience",
47
- value: "peopleExperience",
47
+ value: "People Experience",
48
48
  id: "experience1",
49
49
  },
50
50
  ],
51
51
  },
52
52
  {
53
53
  label: "Contact Center",
54
- value: "contactCenter",
54
+ value: "Contact Center",
55
55
  id: "contact1",
56
56
  status: "Inactive",
57
57
  variant: "error",
58
58
  children: [
59
59
  {
60
60
  label: "Appointment Management",
61
- value: "appointmentManagement",
61
+ value: "Appointment Management",
62
62
  id: "appointment1",
63
63
  },
64
64
  {
65
65
  label: "Customer Service",
66
- value: "customerService",
66
+ value: "Customer Service",
67
67
  id: "customer1",
68
68
  },
69
69
  {
70
70
  label: "Energy",
71
- value: "energy",
71
+ value: "Energy",
72
72
  id: "energy1",
73
73
  },
74
74
  ],
@@ -2,62 +2,62 @@
2
2
 
3
3
  <% treeData = [{
4
4
  label: "Power Home Remodeling",
5
- value: "powerHomeRemodeling",
5
+ value: "Power Home Remodeling",
6
6
  id: "powerhome1",
7
7
  expanded: true,
8
8
  children: [
9
9
  {
10
10
  label: "People",
11
- value: "people",
11
+ value: "People",
12
12
  id: "people1",
13
13
  children: [
14
14
  {
15
15
  label: "Talent Acquisition",
16
- value: "talentAcquisition",
16
+ value: "Talent Acquisition",
17
17
  id: "talent1",
18
18
  },
19
19
  {
20
20
  label: "Business Affairs",
21
- value: "businessAffairs",
21
+ value: "Business Affairs",
22
22
  id: "business1",
23
23
  children: [
24
24
  {
25
25
  label: "Initiatives",
26
- value: "initiatives",
26
+ value: "Initiatives",
27
27
  id: "initiative1",
28
28
  },
29
29
  {
30
30
  label: "Learning & Development",
31
- value: "learningAndDevelopment",
31
+ value: "Learning & Development",
32
32
  id: "development1",
33
33
  },
34
34
  ],
35
35
  },
36
36
  {
37
37
  label: "People Experience",
38
- value: "peopleExperience",
38
+ value: "People Experience",
39
39
  id: "experience1",
40
40
  },
41
41
  ],
42
42
  },
43
43
  {
44
44
  label: "Contact Center",
45
- value: "contactCenter",
45
+ value: "Contact Center",
46
46
  id: "contact1",
47
47
  children: [
48
48
  {
49
49
  label: "Appointment Management",
50
- value: "appointmentManagement",
50
+ value: "Appointment Management",
51
51
  id: "appointment1",
52
52
  },
53
53
  {
54
54
  label: "Customer Service",
55
- value: "customerService",
55
+ value: "Customer Service",
56
56
  id: "customer1",
57
57
  },
58
58
  {
59
59
  label: "Energy",
60
- value: "energy",
60
+ value: "Energy",
61
61
  id: "energy1",
62
62
  },
63
63
  ],
@@ -41,16 +41,6 @@ const Person = (props: PersonProps): React.ReactElement => {
41
41
  className
42
42
  )
43
43
 
44
- const hasAllEmptyProps = [firstName, lastName].every(field => field === undefined || field === null || field === '')
45
-
46
- if (hasAllEmptyProps) {
47
- return (
48
- <>
49
-
50
- </>
51
- )
52
- }
53
-
54
44
  return (
55
45
  <div
56
46
  {...ariaProps}
@@ -63,13 +53,13 @@ const Person = (props: PersonProps): React.ReactElement => {
63
53
  className="pb_person_first"
64
54
  tag="span"
65
55
  >
66
- {firstName ?? ''}
56
+ {firstName}
67
57
  </Body>
68
58
  {lastName &&
69
59
  <Title
70
60
  className="pb_person_first"
71
61
  size={4}
72
- text={lastName ? ` ${lastName}` : ''}
62
+ text={` ${lastName}`}
73
63
  />
74
64
  }
75
65
  </div>
@@ -42,7 +42,7 @@ $flag-min-resolution: 192dpi;
42
42
  .iti__country-list {
43
43
  min-width: $dropdown-min-width;
44
44
  }
45
- // iti-spacer-horizontal's default is 8px, or $space_xs
45
+ // iti-spacer-horizontal's default is 8px, or $space_xs
46
46
  .iti__country-list .iti__flag, .iti__country-name {
47
47
  margin-right: $space_xs;
48
48
  }
@@ -60,7 +60,7 @@ $flag-min-resolution: 192dpi;
60
60
  color: $focus_input_light;
61
61
  }
62
62
 
63
- .dropdown_open:not(.error) {
63
+ .dropdown_open {
64
64
  .text_input {
65
65
  border-color: $primary !important;
66
66
  }
@@ -76,7 +76,7 @@ $flag-min-resolution: 192dpi;
76
76
  }
77
77
 
78
78
  .iti__divider {
79
- border-bottom: 1px solid $border_light !important;
79
+ border-bottom: 1px solid $border_light !important;
80
80
  }
81
81
 
82
82
  .iti__selected-country-primary {
@@ -96,7 +96,7 @@ $flag-min-resolution: 192dpi;
96
96
  justify-content: center;
97
97
  align-items: center;
98
98
  border-width: 0;
99
- border-radius: $space_xxs;
99
+ border-radius: $space_xxs;
100
100
 
101
101
  &[aria-expanded="true"] {
102
102
  color: $primary_action;
@@ -199,7 +199,7 @@ $flag-min-resolution: 192dpi;
199
199
  }
200
200
 
201
201
  .iti__dropdown-content {
202
- border-radius: $space_xs;
202
+ border-radius: $space_xs;
203
203
  border: 1px solid $border_light !important;
204
204
  position: absolute;
205
205
  top: 100%;
@@ -228,13 +228,13 @@ $flag-min-resolution: 192dpi;
228
228
  }
229
229
 
230
230
  .iti__dropdown-content {
231
- border-radius: $space_xs;
231
+ border-radius: $space_xs;
232
232
  border: 1px solid $border_dark !important;
233
233
  .iti__search-input {
234
234
  background-color: $bg_dark_card;
235
235
  &:hover {
236
236
  background-color: $bg_dark_card;
237
- }
237
+ }
238
238
  &:active,
239
239
  &:focus {
240
240
  background-color: $card_dark;
@@ -243,7 +243,7 @@ $flag-min-resolution: 192dpi;
243
243
  }
244
244
 
245
245
  .iti__divider {
246
- border-bottom: 1px solid $border_dark !important;
246
+ border-bottom: 1px solid $border_dark !important;
247
247
  }
248
248
 
249
249
  .iti__country-list {
@@ -278,7 +278,7 @@ $flag-min-resolution: 192dpi;
278
278
  color: $white;
279
279
  }
280
280
  }
281
-
281
+
282
282
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: $flag-min-resolution) {
283
283
  .iti__flag {
284
284
  background-image: url("https://unpkg.com/intl-tel-input@24.6.0/build/img/flags@2x.png");
@@ -2,7 +2,7 @@ import React from 'react'
2
2
  import classnames from 'classnames'
3
3
 
4
4
  import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from '../utilities/props'
5
- import { globalProps, globalInlineProps, GlobalProps } from '../utilities/globalProps'
5
+ import { globalProps, globalInlineProps } from '../utilities/globalProps'
6
6
 
7
7
  import Caption from '../pb_caption/_caption'
8
8
 
@@ -19,7 +19,7 @@ type SectionSeparatorProps = {
19
19
  orientation?: "horizontal" | "vertical",
20
20
  text?: string,
21
21
  variant?: "card" | "background",
22
- } & GlobalProps
22
+ }
23
23
 
24
24
  const SectionSeparator = (props: SectionSeparatorProps): React.ReactElement => {
25
25
  const {
@@ -71,8 +71,7 @@
71
71
  }
72
72
  &.error {
73
73
  .text_input_wrapper {
74
- // The `:not` here prevents error styling from affecting the country search input in the Phone Number Input Kit.
75
- input:not(.iti__search-input),
74
+ input,
76
75
  .text_input {
77
76
  border-color: $error_dark;
78
77
  }
@@ -103,8 +102,7 @@
103
102
  [class*="pb_body_kit"] {
104
103
  margin-top: $space_xs / 2;
105
104
  }
106
- // The `:not` here prevents error styling from affecting the country search input in the Phone Number Input Kit.
107
- input:not(.iti__search-input),
105
+ input,
108
106
  .text_input {
109
107
  border-color: $error;
110
108
  }