New Textbox Component (#2718)
* Adding textbox with no props * Fixing namings and adding shape style * simplify usage * Fix linting issues * Re-name demo * Use new shape authoring style * Add tests Simplify API * Add better types for styles * Add more options to TextBox and add documentation --------- Co-authored-by: zohar11 <zohar@sumit-ai.com> Co-authored-by: Dolan <dolan_miu@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
c6bb255641
commit
3654eb0800
@ -21,6 +21,16 @@ export type PositiveUniversalMeasure = `${number}${"mm" | "cm" | "in" | "pt" | "
|
||||
// </xsd:simpleType>
|
||||
export type Percentage = `${"-" | ""}${number}%`;
|
||||
|
||||
// <xsd:simpleType name="ST_PositivePercentage">
|
||||
// <xsd:restriction base="ST_Percentage">
|
||||
// <xsd:pattern value="[0-9]+(\.[0-9]+)?%"/>
|
||||
// </xsd:restriction>
|
||||
// </xsd:simpleType>
|
||||
export type PositivePercentage = `${number}%`;
|
||||
|
||||
// Only applies to VmlTextbox so far
|
||||
export type RelativeMeasure = `${"-" | ""}${number}${"em" | "ex"}`;
|
||||
|
||||
// <xsd:simpleType name="ST_DecimalNumber">
|
||||
// <xsd:restriction base="xsd:integer"/>
|
||||
// </xsd:simpleType>
|
||||
|
Reference in New Issue
Block a user