@k3-tech/react-kit 0.0.68 → 0.0.69

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,4 +1,4 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
2
  @layer base {
3
3
  * {
4
4
  border-color: oklch(var(--border));
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
2
  @layer properties {
3
3
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
4
  *, :before, :after, ::backdrop {
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
2
  @layer properties {
3
3
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
4
  *, :before, :after, ::backdrop {
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
2
  @layer properties {
3
3
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
4
  *, :before, :after, ::backdrop {
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
2
  @layer properties {
3
3
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
4
  *, :before, :after, ::backdrop {
@@ -2,7 +2,7 @@ import { Slot } from '@radix-ui/react-slot';
2
2
  import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
3
3
  import * as React from 'react';
4
4
  import type * as LabelPrimitive from '@radix-ui/react-label';
5
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
5
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => import("react").JSX.Element;
6
6
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
7
7
  declare const useFormField: () => {
8
8
  invalid: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/shadcn/ui/form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,KAAK,cAAc,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAKL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAKzB,QAAA,MAAM,IAAI,4MAAe,CAAC;AAa1B,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAC;AAUF,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KA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E,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAYrE;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAYlD;AAED,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,2CAiBnE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAW1E;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,kDAkBtE;AAED,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,GACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k3-tech/react-kit",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -92,4 +92,4 @@
92
92
  "tailwindcss": "^4.1.12",
93
93
  "tw-animate-css": "^1.3.7"
94
94
  }
95
- }
95
+ }
@@ -142,7 +142,7 @@ export function DatePicker({
142
142
  showOutsideDays
143
143
  />
144
144
  {(props.showFooter ?? true) && (
145
- <div className="flex items-center justify-between gap-2 p-2 border-t">
145
+ <div className="flex items-center justify-between gap-2 p-2 border-t border-border">
146
146
  <Button
147
147
  type="button"
148
148
  variant="ghost"
@@ -490,7 +490,7 @@ export function DateRangePicker({
490
490
  )}
491
491
  </div>
492
492
  {(props.showFooter ?? true) && (
493
- <div className="flex items-center justify-end gap-2 pt-3 mt-3 border-t">
493
+ <div className="flex items-center justify-end gap-2 pt-3 mt-3 border-t border-border">
494
494
  <Button
495
495
  type="button"
496
496
  variant="ghost"
@@ -375,7 +375,7 @@ export function DateTimePicker({
375
375
  </div>
376
376
 
377
377
  {(props.showFooter ?? true) && (
378
- <div className="flex items-center justify-between gap-2 p-2 border-t">
378
+ <div className="flex items-center justify-between gap-2 p-2 border-t border-border">
379
379
  <Button
380
380
  type="button"
381
381
  variant="outline"
@@ -629,7 +629,7 @@ export function DateTimeRangePicker({
629
629
  />
630
630
  </div>
631
631
  {(props.showFooter ?? true) && (
632
- <div className="flex items-center justify-between gap-2 pt-3 mt-3 border-t">
632
+ <div className="flex items-center justify-between gap-2 pt-3 mt-3 border-t border-border">
633
633
  <Button
634
634
  type="button"
635
635
  variant="outline"
@@ -274,7 +274,7 @@ export function TimePicker({
274
274
  </div>
275
275
 
276
276
  {(props.showFooter ?? true) && (
277
- <div className="flex items-center justify-between gap-2 pt-3 mt-3 border-t">
277
+ <div className="flex items-center justify-between gap-2 pt-3 mt-3 border-t border-border">
278
278
  <Button
279
279
  type="button"
280
280
  variant="outline"
@@ -323,7 +323,7 @@ export function TimeRangePicker({
323
323
  </div>
324
324
 
325
325
  {(props.showFooter ?? true) && (
326
- <div className="flex items-center justify-between gap-2 pt-3 mt-3 border-t">
326
+ <div className="flex items-center justify-between gap-2 pt-3 mt-3 border-t border-border">
327
327
  <Button
328
328
  type="button"
329
329
  variant="outline"
@@ -45,7 +45,7 @@ function Calendar({
45
45
  ...formatters,
46
46
  }}
47
47
  classNames={{
48
- root: cn('w-fit', defaultClassNames.root),
48
+ root: cn(defaultClassNames.root),
49
49
  months: cn(
50
50
  'flex gap-4 flex-col md:flex-row relative',
51
51
  defaultClassNames.months,