playbook_ui_docs 15.0.0.pre.alpha.PLAY2316advancedtablerightsidedoubleborder10693 → 15.0.0.pre.alpha.PLAY2316advancedtablerightsidedoubleborder10726

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: 4470179ffd27bd5e0d7384edd4938e6706770e8e5f04db806f1d1284763806bc
4
- data.tar.gz: aaa8ad22e9495cb99ee4c19b6eb49c088ae416015989d94ab01eaca65b1431a3
3
+ metadata.gz: df963e3ed4bc831a25fad881219c945d9f230e2930b1f7a35143f9fe5f103b96
4
+ data.tar.gz: 22bb0eefa9869115fccf925343b7650208b93e41614756cf236f4109a1be4c84
5
5
  SHA512:
6
- metadata.gz: 99a502ed0186798fb2603b5e53212b2cbeef4f199c18239224081738a96a0c30688853c53e11a398b7343e87e17af0c2b9b33a93296fda505ffa0abdf2533fa2
7
- data.tar.gz: a5ea60abc45d41d226ac3d25c7f0a5177ff0abf4b3dfeee530626174ca8de54939ebf4f86379b297733a32056255655f42201673a991841b66ece3a839131293
6
+ metadata.gz: 80cb33e096877cf72ed3df4f51e75053ded8439401314c961740a0559d027356e05f9e5e44dce3218966de9c790406eb69ee01a3e1ff0d7bd90a5370dc482c50
7
+ data.tar.gz: c5ad1c755cbe421ee9c9cf625963033ee86c77fa1ed8e58b086062b05067f0831273f511a80292cb9c5195b97c798fd01fa69204afe741a4970547b5981a7b95
@@ -39,5 +39,7 @@
39
39
  ],
40
40
  },
41
41
  ] %>
42
-
43
- <%= pb_rails("advanced_table", props: { id: "table_multi_headers_vertical_borders", table_data: @table_data, column_definitions: column_definitions, table_props: { vertical_border: true } }) %>
42
+ <%# Adjusting for test purposes. Will revert prior to commit. %>
43
+ <%= pb_rails("card", props: {}) do %>
44
+ <%= pb_rails("advanced_table", props: { id: "table_multi_headers_vertical_borders", table_data: @table_data, column_definitions: column_definitions, table_props: { container: false, vertical_border: true } }) %>
45
+ <% end %>
@@ -1,4 +1,5 @@
1
1
  import React from "react"
2
+ import Card from "../../pb_card/_card"
2
3
  import AdvancedTable from '../../pb_advanced_table/_advanced_table'
3
4
  import MOCK_DATA from "./advanced_table_mock_data.json"
4
5
 
@@ -44,19 +45,21 @@ const AdvancedTableColumnHeadersVerticalBorder = (props) => {
44
45
  ],
45
46
  },
46
47
  ];
47
-
48
+
48
49
  const tableProps = {
49
- verticalBorder: true
50
+ sticky: true,
50
51
  }
51
-
52
+ // Adjusted for testing purposes. Will revert prior to commit.
52
53
  return (
53
54
  <>
54
- <AdvancedTable
55
- columnDefinitions={columnDefinitions}
56
- tableData={MOCK_DATA}
57
- tableProps={tableProps}
58
- {...props}
59
- />
55
+ <Card>
56
+ <AdvancedTable
57
+ columnDefinitions={columnDefinitions}
58
+ tableData={MOCK_DATA}
59
+ tableProps={tableProps}
60
+ {...props}
61
+ />
62
+ </Card>
60
63
  </>
61
64
  )
62
65
  }
@@ -4,8 +4,8 @@
4
4
 
5
5
  <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "caption_breached" }) %>
6
6
 
7
- <%= javascript_tag do %>
8
- window.addEventListener("DOMContentLoaded", () => {
7
+ <script>
8
+ window.addEventListener("load", () => {
9
9
 
10
10
  // variables for the kits you are targeting
11
11
  const passphrase = document.querySelector(".passphrase_breached").querySelector("input")
@@ -142,4 +142,4 @@
142
142
  });
143
143
 
144
144
  })
145
- <% end %>
145
+ </script>
@@ -10,8 +10,8 @@
10
10
  <%= pb_rails("caption", props: { size: 'xs', text: "hello", id: "caption_common" }) %>
11
11
 
12
12
 
13
- <%= javascript_tag do %>
14
- window.addEventListener("DOMContentLoaded", () => {
13
+ <script>
14
+ window.addEventListener("load", () => {
15
15
 
16
16
  const commonText = document.querySelector("#body_common")
17
17
 
@@ -133,4 +133,4 @@
133
133
  });
134
134
 
135
135
  })
136
- <% end %>
136
+ </script>
@@ -4,8 +4,8 @@
4
4
 
5
5
  <div id="match"> </div>
6
6
 
7
- <%= javascript_tag do %>
8
- window.addEventListener("DOMContentLoaded", () => {
7
+ <script>
8
+ window.addEventListener("load", () => {
9
9
 
10
10
  const useState = (defaultValue) => {
11
11
  let value = defaultValue;
@@ -48,4 +48,4 @@
48
48
 
49
49
  }
50
50
  })
51
- <% end %>
51
+ </script>
@@ -32,8 +32,8 @@
32
32
 
33
33
 
34
34
 
35
- <%= javascript_tag do %>
36
- window.addEventListener("DOMContentLoaded", () => {
35
+ <script>
36
+ window.addEventListener("load", () => {
37
37
 
38
38
 
39
39
  // variables for the passphrase kits you are targeting
@@ -320,4 +320,4 @@
320
320
 
321
321
 
322
322
  })
323
- <% end %>
323
+ </script>
@@ -7,8 +7,8 @@
7
7
  <%= pb_rails("text_input", props: { label: "Passphrase Strength", value: "0", disabled: true, id: "calc_strength_change" }) %>
8
8
 
9
9
 
10
- <%= javascript_tag do %>
11
- window.addEventListener("DOMContentLoaded", () => {
10
+ <script>
11
+ window.addEventListener("load", () => {
12
12
 
13
13
  // variables for the kits you are targeting
14
14
  const passphrase = document.querySelector(".passphrase_change").querySelector("input")
@@ -120,4 +120,4 @@
120
120
  });
121
121
 
122
122
  })
123
- <% end %>
123
+ </script>
@@ -13,8 +13,8 @@
13
13
  <script>
14
14
  document.addEventListener('DOMContentLoaded', () => {
15
15
  function handleButtonClick() {
16
- const editorContainer = [...document.querySelectorAll('[data-react-props]')]
17
- .find(element => element.getAttribute('data-react-props')?.includes('"id":"content-preview-editor"'))
16
+ const editorContainer = [...document.querySelectorAll('[data-pb-react-props]')]
17
+ .find(element => element.getAttribute('data-pb-react-props')?.includes('"id":"content-preview-editor"'))
18
18
 
19
19
  const editorElement = editorContainer?.querySelector('trix-editor')
20
20
  const inputId = editorElement?.getAttribute('input')