playbook_ui 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813 → 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown815

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: 3c77d2b51f74b4586420f4cab725e1cb69ff1aebdf74f9ee19b5b21375da5416
4
- data.tar.gz: c6b819ebf5bd7db6bb50ce1d50b919dacfb01daba64a62620473ede76bdfd698
3
+ metadata.gz: 3c7cf0818b185948390a703b3ec067d01b137ba056fd2271c18ef8e6fcc28717
4
+ data.tar.gz: a8cb5bb72f10cac1544bed1a62df3f507676e1fdb5c09a47b8178cb49dbb2232
5
5
  SHA512:
6
- metadata.gz: d3e9cc9de81ee79ba84c2ccb367f9715d5a1840e9dbde79965b8ec2f7c213bf40e6595ab367bc1cfe3609803197181aea088a6dd97916559c0a2c348ecd5a443
7
- data.tar.gz: e4c60566d522fb363c5da6615ee40ad467a1d86041360b3d5b4390a613dfdfd29c13678d31659fad8e4e577bfe6086d55c8c641fdb4f61770548e4f9318ee276
6
+ metadata.gz: df28a1c600ef1902f10ee9f05869828af8ab37dbda6a7bb9679019aa7f0024d13c3565f90011120cce3ddd2fd2b7f5d33e6344354f81a5c99c8a99406b3e5239
7
+ data.tar.gz: 7d0a54da2bfb9baa19ea90bb7e1e4666329d9a277f7ce9d8c7a616e35e75f991778c6dde56a9e74a9cecca5a296791fd87a0315314dea4a6bae117344253ce25
@@ -20,16 +20,8 @@
20
20
  placeholder: object.placeholder,
21
21
  required: object.required,
22
22
  }) %>
23
- <% if object.selection_type == "quickpick" %>
24
- <%= pb_rails("text_input", props: {
25
- id: "#{object.start_date}-#{object.picker_id}",
26
- name: object.start_date,
27
- }) %>
28
- <%= pb_rails("text_input", props: {
29
- id: "#{object.end_date}-#{object.picker_id}",
30
- name: object.end_date,
31
- }) %>
32
- <% end %>
23
+ <input type="hidden" id="<%= "#{object.start_date}-#{object.picker_id}" %>" name="<%= "#{object.start_date}-#{object.picker_id}" %>">
24
+ <input type="hidden" id="<%= "#{object.end_date}-#{object.picker_id}" %>" name="<%= "#{object.end_date}-#{object.picker_id}" %>">
33
25
  <% end %>
34
26
  <% if !object.hide_icon %>
35
27
  <div
@@ -70,14 +62,6 @@
70
62
  </div>
71
63
 
72
64
  <%= javascript_tag do %>
73
- if (<%= object.selection_type == "quickpick" %>) {
74
- const startDate = document.getElementById("<%= object.start_date %>-<%= object.picker_id %>")
75
- if (startDate) startDate.style.display = "none"
76
-
77
- const endDate = document.getElementById("<%= object.end_date %>-<%= object.picker_id %>")
78
- if (endDate) endDate.style.display = "none"
79
- }
80
-
81
65
  window.addEventListener("DOMContentLoaded", () => {
82
66
  datePickerHelper(<%= object.date_picker_config %>, "<%= object.scroll_container %>")
83
67
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.26.0"
5
- VERSION = "12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813"
5
+ VERSION = "12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown815"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813
4
+ version: 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown815
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX