playbook_ui_docs 13.34.1.pre.alpha.PLAY14043436 → 13.34.1.pre.alpha.PLAY14633399

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3812a664d81e2b4f059a5a654999a18ee1c2b527845449ddab01cbe13005c3e0
4
- data.tar.gz: 4033ba38e0d909416df96bbee0aea167712c7ed68c8f4652966a2c034e6ab89e
3
+ metadata.gz: 29b7dfa9fecc4f3e494dbc8ecbb33e0a6a9860ecbf3d963b2b96335b49f5c333
4
+ data.tar.gz: 39f79e2c5703cbcebf1c4a8bf52c636fa0915cd3d1244a9f3b775b8683f95a90
5
5
  SHA512:
6
- metadata.gz: 321a2a3eb423049704efba3cecdb4a7240b0abbbcd9e07eaf930456cbc0afe2c5d5fd5df824e9b4c8c0826fc2618b34e6be7db87fc6185f4b306b4fdefc0733d
7
- data.tar.gz: c1ade40c7eff5c7d6720f1ac7f71b038c3f37df49f6574c921b4d58b70ea01863ee0cd98da452d146678afe15f3744230e95b5c7d0d344a9cd2777fd06da32ed
6
+ metadata.gz: 13fdcf53821ba39cbd3cd97536de1af8e54f35d25438e464d56e55a1186e3efcb797e625573edb5a37aee271c588c637e7e15cfcb27ca7941d4ba80b313944b7
7
+ data.tar.gz: 6d3348808e35cadafe4b70fb2f99624465d00b21232c93fca38cc9808297ee7315d9aa47630e3a4583a478f98239d0222adc718fc29282a2d0013e4c68ed9d2c
@@ -5,17 +5,21 @@ const DialogDefault = () => {
5
5
  const [isOpen, setIsOpen] = useState(false)
6
6
  const close = () => setIsOpen(false)
7
7
  const open = () => setIsOpen(true)
8
+ const [isLoading, setIsLoading] = useState(false)
8
9
 
9
10
  return (
10
11
  <>
11
12
  <Button onClick={open}>{'Open Dialog'}</Button>
12
13
  <Dialog
13
14
  cancelButton="Cancel Button"
15
+ className="wrapper"
14
16
  confirmButton="Okay"
17
+ loading={isLoading}
15
18
  onCancel={close}
16
19
  onClose={close}
17
- onConfirm={close}
20
+ onConfirm={() => setIsLoading(!isLoading)}
18
21
  opened={isOpen}
22
+ portalClassName="portal"
19
23
  size="sm"
20
24
  text="Hello Body Text, Nice to meet ya."
21
25
  title="Header Title is the Title Prop"
@@ -22,7 +22,6 @@ examples:
22
22
  - dialog_stacked_alert: Stacked Button Alert
23
23
  - dialog_full_height: Full Height
24
24
  - dialog_full_height_placement: Full Height Placement
25
- - dialog_loading: Loading
26
25
 
27
26
  swift:
28
27
  - dialog_default_swift: Simple
@@ -8,4 +8,3 @@ export { default as DialogStatus } from './_dialog_status.jsx'
8
8
  export { default as DialogStackedAlert } from './_dialog_stacked_alert.jsx'
9
9
  export { default as DialogFullHeight } from './_dialog_full_height.jsx'
10
10
  export { default as DialogFullHeightPlacement } from './_dialog_full_height_placement.jsx'
11
- export { default as DialogLoading } from './_dialog_loading.jsx'
@@ -5,12 +5,12 @@ import TextInput from '../../pb_text_input/_text_input'
5
5
  import Title from '../../pb_title/_title'
6
6
 
7
7
  const TextInputDefault = (props) => {
8
+ const [firstName, setFirstName] = useState('')
8
9
  const handleOnChangeFirstName = ({ target }) => {
9
10
  setFirstName(target.value)
10
11
  }
11
12
  const ref = React.createRef()
12
13
 
13
- const [firstName, setFirstName] = useState('')
14
14
  const [formFields, setFormFields] = useState({
15
15
  firstName: 'Jane',
16
16
  lastName: 'Doe',