@total_onion/onion-library 1.0.211 → 1.0.212

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.
@@ -1,3 +1,6 @@
1
+ import flatpickr from "flatpickr";
2
+ import "flatpickr/dist/flatpickr.css";
3
+
1
4
  export default function modalformv3Js ( options = {} ) {
2
5
  try {
3
6
  const { block } = options;
@@ -41,6 +44,11 @@ export default function modalformv3Js ( options = {} ) {
41
44
  });
42
45
  }
43
46
 
47
+
48
+ flatpickr("#birthday3", {
49
+ dateFormat: "Y-m-d",
50
+ });
51
+
44
52
  const submit = block.querySelector(
45
53
  '.cdb-submit'
46
54
  );
@@ -9,7 +9,7 @@
9
9
 
10
10
  {{previewEntryPoint}}
11
11
 
12
- <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" style="{{sectionStyles}}" data-pattern-form-selection data-renderdynamic={{renderDynamic}} data-formid="{{fields.form}}" data-assetkey="{{blockClassName}}" data-eager="true">
12
+ <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" style="{{sectionStyles}}" data-pattern-form-selection data-renderdynamic={{renderDynamic}} data-formid="{{fields.form}}" data-assetkey="{{blockClassName}}">
13
13
 
14
14
  <div class="{{ blockClassName }}__container-inline">
15
15
  <div class="{{ blockClassName }}__inner">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.211",
3
+ "version": "1.0.212",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {