File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed
examples/kendo-unstyled-tailwind/src Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
1616 InputClearValue ,
1717 RadioGroup ,
1818 TextBox ,
19+ type TextBoxChangeEvent ,
1920} from '@progress/kendo-react-inputs' ;
2021import { Label } from '@progress/kendo-react-labels' ;
2122import { xIcon } from '@progress/kendo-svg-icons' ;
@@ -28,8 +29,8 @@ const radioData = [
2829
2930const FormTextBox = ( fieldRenderProps : FieldRenderProps ) => {
3031 const { name, label, placeholder } = fieldRenderProps ;
31- const [ value , setValue ] = React . useState ( '' ) ;
32- const handleChange = ( e ) => {
32+ const [ value , setValue ] = React . useState < string | number | readonly string [ ] | undefined > ( '' ) ;
33+ const handleChange = ( e : TextBoxChangeEvent ) => {
3334 setValue ( e . value ) ;
3435 } ;
3536 const clearClick = ( ) => {
Original file line number Diff line number Diff line change @@ -425,8 +425,8 @@ const tailwindForm: AllClassStructure = {
425425 rangeSplitEnd : `relative after:content-[""] after:block after:absolute after:top-[0] after:bottom-[0] after:w-[5px]` ,
426426 rangeSplitStart : `relative after:content-[""] after:block after:absolute after:top-[0] after:bottom-[0] after:w-[5px]` ,
427427 active : `` ,
428- focused : `!border-solid-border !border-[1] ! text-focused-text bg-focused rounded` ,
429- selected : `border-solid-border bg-primary rounded` ,
428+ focused : `!border-solid-border !border-[1] text-focused-text bg-focused rounded` ,
429+ selected : `border-solid-border bg-primary !text-primary-text rounded` ,
430430 today : `[&>span]:text-primary` ,
431431 weekend : `` ,
432432 disabled : `outline-[none] cursor-default opacity-60 grayscale-[10%] pointer-events-none [box-shadow:none]` ,
Original file line number Diff line number Diff line change 1+ /// <reference path="../.astro/types.d.ts" />
12/// <reference types="astro/client" />
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ interface Props {
44}
55
66const { title } = Astro .props ;
7- import colors from " tailwindcss/colors"
87// TODO delete the kendo theme import
98import " @progress/kendo-theme-default/dist/all.css" ;
10- import tailwindConfig from " ../../tailwind.config.mjs" ;
119---
1210
1311<!doctype html >
Original file line number Diff line number Diff line change 11---
22import Layout from ' ../layouts/Layout.astro' ;
33import Template from ' ../components/Form/Form.tsx' ;
4- import Home from ' ../components/Home' ;
54---
65
76<Layout title =" Welcome to Astro." >
87 <main >
9- <Home client:load />
8+ <Template client:load />
109 </main >
1110</Layout >
You can’t perform that action at this time.
0 commit comments