@twintag/twintag-form 1.1.0 → 1.1.1

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,5 +1,5 @@
1
1
 
2
- > @twintag/twintag-form@1.1.0 build C:\Users\daryl\Desktop\twintag-projects\twintag-admin\packages\twintag-form
2
+ > @twintag/twintag-form@1.1.1 build C:\Users\daryl\Desktop\twintag-projects\twintag-admin\packages\twintag-form
3
3
  > tsc && vite build
4
4
 
5
5
  vite v4.4.9 building for production...
@@ -14,8 +14,8 @@ computing gzip size...
14
14
  [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/prettier.config.d.mts
15
15
  [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/dev/main.d.ts
16
16
  [vite:dts] Outside emitted: C:/Users/daryl/Desktop/twintag-projects/twintag-admin/packages/twintag-form/vite.config.d.ts
17
- [vite:dts] Declaration files built in 4882ms.
17
+ [vite:dts] Declaration files built in 4729ms.
18
18
 
19
19
  dist/twintag-form.webcomponent.js 119.72 kB │ gzip: 33.42 kB
20
- dist/twintag-form.react.js 687.68 kB │ gzip: 139.91 kB
21
- ✓ built in 10.80s
20
+ dist/twintag-form.react.js 687.57 kB │ gzip: 139.88 kB
21
+ ✓ built in 10.13s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @twintag/twintag-form
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: (date-picker) remove harcoded value
8
+
3
9
  ## 1.1.0
4
10
 
5
11
  ### Minor Changes
@@ -18288,7 +18288,6 @@ const JE = Pe({
18288
18288
  mode: "single",
18289
18289
  selected: isNaN(new Date(i.value).getTime()) ? void 0 : new Date(i.value),
18290
18290
  onSelect: i.onChange,
18291
- disabled: (c) => c > /* @__PURE__ */ new Date() || c < /* @__PURE__ */ new Date("1900-01-01"),
18292
18291
  initialFocus: !0
18293
18292
  }
18294
18293
  ) })
@@ -102,9 +102,6 @@ export const DatePicker: React.FC<Props> = ({ label, bind, options }) => {
102
102
  : undefined
103
103
  }
104
104
  onSelect={field.onChange}
105
- disabled={(date) =>
106
- date > new Date() || date < new Date('1900-01-01')
107
- }
108
105
  initialFocus
109
106
  />
110
107
  </PopoverContent>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twintag/twintag-form",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "author": "Twintag",
5
5
  "type": "module",
6
6
  "exports": {