@@ -74,7 +74,7 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
7474 name : 'justify' ,
7575 description : 'Horizontal distribution of children along the row.' ,
7676 type : 'enum' ,
77- values : [ 'start' , 'center' , 'end' , 'spaceBetween' , 'spaceAround' , 'spaceEvenly' ] ,
77+ values : [ 'start' , 'center' , 'end' , 'spaceBetween' , 'spaceAround' , 'spaceEvenly' , 'stretch' ] ,
7878 default : 'start' ,
7979 } ,
8080 ] ,
@@ -136,7 +136,7 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
136136 name : 'justify' ,
137137 description : 'Vertical distribution of children along the column.' ,
138138 type : 'enum' ,
139- values : [ 'start' , 'center' , 'end' , 'spaceBetween' , 'spaceAround' , 'spaceEvenly' ] ,
139+ values : [ 'start' , 'center' , 'end' , 'spaceBetween' , 'spaceAround' , 'spaceEvenly' , 'stretch' ] ,
140140 default : 'start' ,
141141 } ,
142142 ] ,
@@ -198,6 +198,13 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
198198 values : [ 'vertical' , 'horizontal' ] ,
199199 default : 'vertical' ,
200200 } ,
201+ {
202+ name : 'align' ,
203+ description : 'Cross-axis alignment of list items.' ,
204+ type : 'enum' ,
205+ values : [ 'start' , 'center' , 'end' , 'stretch' ] ,
206+ default : 'stretch' ,
207+ } ,
201208 ] ,
202209 preview : {
203210 root : 'list-1' ,
@@ -366,7 +373,7 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
366373 name : 'fit' ,
367374 description : 'CSS object-fit value controlling how the image fills its container.' ,
368375 type : 'enum' ,
369- values : [ 'contain' , 'cover' , 'fill' , 'none' , 'scale-down ' ] ,
376+ values : [ 'contain' , 'cover' , 'fill' , 'none' , 'scaleDown ' ] ,
370377 default : 'fill' ,
371378 } ,
372379 ] ,
@@ -510,13 +517,13 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
510517 usage : `{
511518 "id": "textfield-1",
512519 "component": "TextField",
513- "text ": { "path": "/user/name" },
520+ "value ": { "path": "/user/name" },
514521 "label": "Your name",
515522 "variant": "shortText"
516523}` ,
517524 props : [
518525 {
519- name : 'text ' ,
526+ name : 'value ' ,
520527 description : 'The current input value. Typically bound to a data path for two-way binding.' ,
521528 type : 'string | { path: string }' ,
522529 } ,
@@ -529,7 +536,8 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
529536 name : 'variant' ,
530537 description : 'The variant of input field, affecting keyboard and validation behavior.' ,
531538 type : 'enum' ,
532- values : [ 'shortText' , 'number' , 'date' , 'longText' ] ,
539+ values : [ 'shortText' , 'longText' , 'number' , 'obscured' ] ,
540+ default : 'shortText' ,
533541 } ,
534542 {
535543 name : 'validationRegexp' ,
@@ -543,7 +551,7 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
543551 {
544552 id : 'textfield-1' ,
545553 component : 'TextField' ,
546- text : { path : '/name' } ,
554+ value : { path : '/name' } ,
547555 label : 'Enter your name' ,
548556 variant : 'shortText' ,
549557 } as A2UIComponent ,
@@ -601,10 +609,16 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
601609 description : 'The current slider value. Typically bound to a data path for two-way binding.' ,
602610 type : 'number | { path: string }' ,
603611 } ,
612+ {
613+ name : 'label' ,
614+ description : 'The label for the slider.' ,
615+ type : 'string' ,
616+ } ,
604617 {
605618 name : 'min' ,
606619 description : 'Minimum allowed value.' ,
607620 type : 'number' ,
621+ default : '0' ,
608622 } ,
609623 {
610624 name : 'max' ,
@@ -643,6 +657,11 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
643657 description : 'The current date/time value in ISO format. Typically bound to a data path.' ,
644658 type : 'string | { path: string }' ,
645659 } ,
660+ {
661+ name : 'label' ,
662+ description : 'The text label for the input field.' ,
663+ type : 'string' ,
664+ } ,
646665 {
647666 name : 'enableDate' ,
648667 description : 'Whether to show the date picker.' ,
@@ -660,6 +679,16 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
660679 description : 'Format string for the output value (e.g., "YYYY-MM-DD").' ,
661680 type : 'string' ,
662681 } ,
682+ {
683+ name : 'min' ,
684+ description : 'Minimum allowed date/time value (ISO 8601 format).' ,
685+ type : 'string' ,
686+ } ,
687+ {
688+ name : 'max' ,
689+ description : 'Maximum allowed date/time value (ISO 8601 format).' ,
690+ type : 'string' ,
691+ } ,
663692 ] ,
664693 preview : {
665694 root : 'datetime-1' ,
@@ -682,7 +711,7 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
682711 "id": "choice-1",
683712 "component": "ChoicePicker",
684713 "options": { "path": "/form/country" },
685- "variant": "radio ",
714+ "variant": "mutuallyExclusive ",
686715 "choices": [
687716 { "label": "United States", "value": "US" },
688717 { "label": "Canada", "value": "CA" },
@@ -705,7 +734,20 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
705734 name : 'variant' ,
706735 description : 'Visual variant for the choice picker.' ,
707736 type : 'enum' ,
708- values : [ 'radio' , 'checkbox' , 'dropdown' ] ,
737+ values : [ 'multipleSelection' , 'mutuallyExclusive' ] ,
738+ } ,
739+ {
740+ name : 'displayStyle' ,
741+ description : 'Visual display style for the choices.' ,
742+ type : 'enum' ,
743+ values : [ 'checkbox' , 'chips' ] ,
744+ default : 'checkbox' ,
745+ } ,
746+ {
747+ name : 'filterable' ,
748+ description : 'Whether choices can be filtered by typing.' ,
749+ type : 'boolean' ,
750+ default : 'false' ,
709751 } ,
710752 {
711753 name : 'maxAllowedSelections' ,
@@ -747,7 +789,7 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
747789 name : 'variant' ,
748790 description : 'Visual variant for the button.' ,
749791 type : 'enum' ,
750- values : [ 'primary' , 'borderless' ] ,
792+ values : [ 'default' , ' primary', 'borderless' ] ,
751793 } ,
752794 {
753795 name : 'action' ,
@@ -931,8 +973,7 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
931973 usage : `{
932974 "id": "divider-1",
933975 "component": "Divider",
934- "axis": "horizontal",
935- "thickness": 1
976+ "axis": "horizontal"
936977}` ,
937978 props : [
938979 {
@@ -941,16 +982,6 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
941982 type : 'enum' ,
942983 values : [ 'horizontal' , 'vertical' ] ,
943984 } ,
944- {
945- name : 'color' ,
946- description : 'Color of the divider (hex code or semantic name).' ,
947- type : 'string' ,
948- } ,
949- {
950- name : 'thickness' ,
951- description : 'Thickness of the divider line in pixels.' ,
952- type : 'number' ,
953- } ,
954985 ] ,
955986 preview : {
956987 root : 'divider-demo' ,
@@ -970,7 +1001,6 @@ export const COMPONENTS_DATA_V09: ComponentCategory[] = [
9701001 id : 'divider-1' ,
9711002 component : 'Divider' ,
9721003 axis : 'horizontal' ,
973- thickness : 1 ,
9741004 } as A2UIComponent ,
9751005 {
9761006 id : 'text-below' ,
0 commit comments