playbook_ui 14.25.0.pre.alpha.PLAY2448datepickerhideLabelbugreact9924 → 14.25.0.pre.alpha.PLAY2450iconbuttonaccessibility10050

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: 84d5cc641523d00d63997f981a3fc8c250d28c3186a84bb43d897d93c7758d2b
4
- data.tar.gz: 408db4c5f5ee17a602562facef7ef532acd58f05303c72b8a5ecf487028bf1d7
3
+ metadata.gz: dd227aa3cf1f1d1cbd711c79950fb9ca64c9d87e4dffb1024c57573e21cb44f8
4
+ data.tar.gz: 8da9eccfa3f32b5289bb746aa4062d10caa4f97da8d2a8b423a7dacf0b7c2393
5
5
  SHA512:
6
- metadata.gz: 4e790c59d1967e429f4612db5984396ac2c7113c06f716ed71c4a4b6d8e26123494b4ddfdf090ca38744227d410c22ce40ad8d7ed2b3cb4a2525707c8e3fc1d6
7
- data.tar.gz: 366c92fdc41b21c0475acd059ac527a44101bd58676ca9917b3fd048a82e4cd935453cddddc1535d1487d3d5967d9ddbc433503ac094f49528df2d9a867fe7af
6
+ metadata.gz: 7df6f55ba47742e8bf1cc9e9c07a9c8669eb461b979423f6ba8cc9272d589fb8000b47ed9cbbf1fac3f76c30a278615705abcc0115a6ab0d2f03956221d7a9b0
7
+ data.tar.gz: dc98d1d465c56dfa04713dcb8b6833032a0a34d73c4370d42e272ade458b55ca510cb9d21cd161fe65b07be5bab249fa1cce104d0e305301eed8de5e9dd11340
@@ -210,12 +210,10 @@ const DatePicker = (props: DatePickerProps): React.ReactElement => {
210
210
  className="input_wrapper"
211
211
  >
212
212
 
213
- {!hideLabel && (
214
- <Caption
215
- className="pb_date_picker_kit_label"
216
- text={label}
217
- />
218
- )}
213
+ <Caption
214
+ className="pb_date_picker_kit_label"
215
+ text={hideLabel ? null : label}
216
+ />
219
217
  <>
220
218
  <div className="date_picker_input_wrapper">
221
219
  <input
@@ -51,6 +51,7 @@ const IconButton = (props: IconButtonProps) => {
51
51
  id={id}
52
52
  >
53
53
  <Button
54
+ aria={aria}
54
55
  borderRadius="xs"
55
56
  htmlType={htmlType}
56
57
  link={link}
@@ -1,5 +1,6 @@
1
1
  <%= pb_content_tag do %>
2
- <%= pb_rails("button", props: { type: object.type,
2
+ <%= pb_rails("button", props: { aria: object.aria,
3
+ type: object.type,
3
4
  link: object.link,
4
5
  new_window:object.new_window,
5
6
  target: object.target,