1849
1849
]
1850
1850
},
1851
1851
"Switch-payload" : {
1852
+ "type" : " object" ,
1853
+ "allOf" : [
1854
+ {
1855
+ "$ref" : " #/$defs/FormInput-payload"
1856
+ },
1857
+ {
1858
+ "type" : " object" ,
1859
+ "properties" : {
1860
+ "value" : {
1861
+ "type" : " boolean"
1862
+ },
1863
+ "leadingText" : {
1864
+ "type" : " string"
1865
+ },
1866
+ "trailingText" : {
1867
+ "type" : " string"
1868
+ },
1869
+ "styles" : {
1870
+ "allOf" : [
1871
+ {
1872
+ "$ref" : " #/$defs/switchStyles"
1873
+ }
1874
+ ]
1875
+ }
1876
+ }
1877
+ }
1878
+ ]
1879
+ },
1880
+ "TripleStateSwitch-payload" : {
1852
1881
"type" : " object" ,
1853
1882
"allOf" : [
1854
1883
{
1867
1896
"type" : " string"
1868
1897
},
1869
1898
"styles" : {
1870
- "type" : " object" ,
1871
- "properties" : {
1872
- "activeColor" : {
1873
- "$ref" : " #/$defs/type-color" ,
1874
- "description" : " The active color of the Switch Widget."
1875
- },
1876
- "inactiveColor" : {
1877
- "$ref" : " #/$defs/type-color" ,
1878
- "description" : " The inactive color of the Switch Widget."
1879
- },
1880
- "activeThumbColor" : {
1881
- "$ref" : " #/$defs/type-color" ,
1882
- "description" : " The active thumb color of the Switch Widget."
1899
+ "allOf" : [
1900
+ {
1901
+ "$ref" : " #/$defs/switchStyles"
1883
1902
},
1884
- "inactiveThumbColor" : {
1885
- "$ref" : " #/$defs/type-color" ,
1886
- "description" : " The inactive thumb color of the Switch Widget."
1903
+ {
1904
+ "properties" : {
1905
+ "intermediateColor" : {
1906
+ "$ref" : " #/$defs/type-color" ,
1907
+ "description" : " The middle state color of the Switch Widget."
1908
+ }
1909
+ }
1887
1910
}
1888
- }
1911
+ ]
1889
1912
}
1890
1913
}
1891
1914
}
5953
5976
}
5954
5977
}
5955
5978
},
5979
+ {
5980
+ "title" : " TripleStateSwitch" ,
5981
+ "required" : [
5982
+ " TripleStateSwitch"
5983
+ ],
5984
+ "properties" : {
5985
+ "TripleStateSwitch" : {
5986
+ "$ref" : " #/$defs/TripleStateSwitch-payload" ,
5987
+ "description" : " Kitchen Sink Example: https://studio.ensembleui.com/app/e24402cb-75e2-404c-866c-29e6c3dd7992/screen/"
5988
+ }
5989
+ }
5990
+ },
5956
5991
{
5957
5992
"title" : " Slider" ,
5958
5993
"required" : [
8106
8141
"description" : " Use the kochava.com for deeplink service"
8107
8142
}
8108
8143
]
8144
+ },
8145
+ "switchStyles" : {
8146
+ "type" : " object" ,
8147
+ "properties" : {
8148
+ "activeColor" : {
8149
+ "$ref" : " #/$defs/type-color" ,
8150
+ "description" : " The active color of the Switch Widget."
8151
+ },
8152
+ "inactiveColor" : {
8153
+ "$ref" : " #/$defs/type-color" ,
8154
+ "description" : " The inactive color of the Switch Widget."
8155
+ },
8156
+ "activeThumbColor" : {
8157
+ "$ref" : " #/$defs/type-color" ,
8158
+ "description" : " The active thumb color of the Switch Widget."
8159
+ },
8160
+ "inactiveThumbColor" : {
8161
+ "$ref" : " #/$defs/type-color" ,
8162
+ "description" : " The inactive thumb color of the Switch Widget."
8163
+ }
8164
+ }
8109
8165
}
8110
8166
}
8111
8167
}
0 commit comments