playbook_ui_docs 14.19.0.pre.rc.1 → 14.19.0.pre.rc.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eaab3dbe03091f1c1f8c686a78368c2e6028eafd1b92f3fe1fb11b0a7546e383
4
- data.tar.gz: 2bb7f306c62f276cdd979ebb9a020589d080ff48ac5173a9e76ee738f776c9a6
3
+ metadata.gz: 00fc4f032c6af3e8bbdedda5f03f5b040cd61c4e43575290448360213e0aa7ee
4
+ data.tar.gz: 634bb2406706e7644b1bd162adb941aca413033a076224169dbf1517f4231883
5
5
  SHA512:
6
- metadata.gz: 00f1e110fd16af5e03eedc48e6ae78be11b1d13250ac7ade8cb516f883d2e70e365bf51becbcb3346ed53ff1b6950dd5df6d57ee90254939fcbae1706246a261
7
- data.tar.gz: 06e3fc820f1ec948a98afcc53add26023af6b4c20b2df90965187fbacd9301db601369b47cbf4de2354e78b3c34dd93db262233a02fd8ec9f4df4a32f1cacff7
6
+ metadata.gz: aaa92ab6e54e53af211c9f62f71c5e90e45bd1d24079bbb16a9ba84f5ead244c7cd20410b339f85fa814acee9723e6acd17a544551dacf6d30a09dfb789f53f4
7
+ data.tar.gz: 445e41cdacb9c3134facb5fab050c60198f46ee083e3a1cd9698dc2ad31a18a5117a013e2e9ed5aa567f6d1ff742daec4ccd3c8faba27f6c59c3f2edb4553cd8
@@ -12,10 +12,9 @@ examples:
12
12
  - advanced_table_custom_cell_rails: Custom Components for Cells
13
13
  - advanced_table_column_headers: Multi-Header Columns
14
14
  - advanced_table_column_headers_multiple: Multi-Header Columns (Multiple Levels)
15
+ - advanced_table_column_border_color_rails: Column Group Border Color
15
16
  # - advanced_table_selectable_rows: Selectable Rows
16
17
  # - advanced_table_selectable_rows_no_subrows: Selectable Rows (No Subrows)
17
- - advanced_table_column_border_color_rails: Column Group Border Color
18
-
19
18
 
20
19
  react:
21
20
  - advanced_table_default: Default (Required Props)
@@ -40,6 +39,7 @@ examples:
40
39
  - advanced_table_column_headers: Multi-Header Columns
41
40
  - advanced_table_column_headers_multiple: Multi-Header Columns (Multiple Levels)
42
41
  - advanced_table_column_headers_custom_cell: Multi-Header Columns with Custom Cells
42
+ - advanced_table_column_border_color: Column Group Border Color
43
43
  # - advanced_table_no_subrows: Table with No Subrows
44
44
  - advanced_table_selectable_rows: Selectable Rows
45
45
  - advanced_table_selectable_rows_no_subrows: Selectable Rows (No Subrows)
@@ -47,4 +47,3 @@ examples:
47
47
  - advanced_table_selectable_rows_header: Selectable Rows (No Actions Bar)
48
48
  - advanced_table_inline_editing: Inline Cell Editing
49
49
  - advanced_table_fullscreen: Fullscreen
50
- - advanced_table_column_border_color: Column Group Border Color
@@ -0,0 +1,10 @@
1
+ <%= pb_rails("phone_number_input", props: {
2
+ country_search: true,
3
+ id: "country-search",
4
+ }) %>
5
+
6
+ <%= pb_rails("phone_number_input", props: {
7
+ country_search: true,
8
+ id: "country-search-limited",
9
+ only_countries: ["br", "us", "ph", "gb"],
10
+ }) %>
@@ -0,0 +1,20 @@
1
+ import React from 'react'
2
+ import PhoneNumberInput from '../_phone_number_input'
3
+
4
+ const PhoneNumberInputCountrySearch = (props) => (
5
+ <>
6
+ <PhoneNumberInput
7
+ countrySearch
8
+ id='country-search'
9
+ {...props}
10
+ />
11
+ <PhoneNumberInput
12
+ countrySearch
13
+ id='country-search-limited'
14
+ onlyCountries={["br", "us", "ph", "gb"]}
15
+ {...props}
16
+ />
17
+ </>
18
+ )
19
+
20
+ export default PhoneNumberInputCountrySearch
@@ -0,0 +1 @@
1
+ Set `country_search` / `countrySearch` to true to allow users to search for a specific Country within the dropdown. If the range of countries has been limited, only the selected countries will be searchable.
@@ -9,6 +9,7 @@ examples:
9
9
  - phone_number_input_clear_field: Clearing the Input Field
10
10
  - phone_number_input_access_input_element: Accessing the Input Element
11
11
  - phone_number_input_format: Format as You Type
12
+ - phone_number_input_country_search: Country Search
12
13
 
13
14
  rails:
14
15
  - phone_number_input_default: Default
@@ -18,4 +19,5 @@ examples:
18
19
  - phone_number_input_validation: Form Validation
19
20
  - phone_number_input_format: Format as You Type
20
21
  - phone_number_input_hidden_inputs: Hidden Inputs
22
+ - phone_number_input_country_search: Country Search
21
23
 
@@ -6,3 +6,4 @@ export { default as PhoneNumberInputValidation } from './_phone_number_input_val
6
6
  export { default as PhoneNumberInputClearField } from './_phone_number_input_clear_field'
7
7
  export { default as PhoneNumberInputAccessInputElement } from './_phone_number_input_access_input_element'
8
8
  export { default as PhoneNumberInputFormat } from './_phone_number_input_format'
9
+ export { default as PhoneNumberInputCountrySearch } from './_phone_number_input_country_search'