@ankhorage/zora 3.0.0 → 3.0.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 52d0916: Update `@ankhorage/surface` to include the Web overlay pointer-interaction fix.
8
+
9
+ ## 3.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 7e0ae67: Support the React Native 0.86 patch line as a peer, consume the released Surface peer fix, and align ZORA's validation and Expo 57 examples with React Native 0.86.3.
14
+
3
15
  ## 3.0.0
4
16
 
5
17
  ### Major Changes
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/form/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,cAAc,GACtB;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACtC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACnC;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACtD;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,UAAU,CAA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,EAAE,CAAC;IAC1C,aAAa,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,uBAAuB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM;IACpE,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAC1B,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IAC/C,aAAa,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5D,QAAQ,EAAE,MAAM,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAC5C,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/form/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { FieldProps as SurfaceFieldProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\nimport type { InputProps } from '../input';\n\nexport type ValidationRule =\n | { kind: 'required'; message?: string }\n | { kind: 'email'; message?: string }\n | { kind: 'minLength'; value: number; message?: string }\n | { kind: 'pattern'; value: string; message?: string };\n\nexport type FormFieldValue = string;\nexport type FormValues<TName extends string = string> = Record<TName, FormFieldValue>;\nexport type FormErrors<TName extends string = string> = Partial<Record<TName, React.ReactNode>>;\nexport type FormValidationErrors<TName extends string = string> = Partial<Record<TName, string>>;\n\nexport type FormFieldInputType = 'email' | 'number' | 'otp' | 'password' | 'tel' | 'text' | 'url';\n\nexport interface FormFieldConfig<TName extends string = string> {\n name: TName;\n label: React.ReactNode;\n description?: React.ReactNode;\n helperText?: React.ReactNode;\n type?: FormFieldInputType;\n placeholder?: string;\n rules?: readonly ValidationRule[];\n autoCapitalize?: InputProps['autoCapitalize'];\n autoComplete?: InputProps['autoComplete'];\n keyboardType?: InputProps['keyboardType'];\n maxLength?: InputProps['maxLength'];\n readOnly?: boolean;\n required?: boolean;\n secureTextEntry?: boolean;\n textContentType?: InputProps['textContentType'];\n disabled?: boolean;\n testID?: string;\n}\n\ninterface FormFieldWrapperProps\n extends\n ZoraBaseProps,\n Pick<\n Omit<SurfaceFieldProps, 'mode' | 'themeId'>,\n 'children' | 'disabled' | 'errorText' | 'invalid' | 'readOnly' | 'required'\n > {\n label: React.ReactNode;\n description?: React.ReactNode;\n helperText?: React.ReactNode;\n}\n\nexport interface FormFieldControlProps<TName extends string = string> extends ZoraBaseProps {\n field: FormFieldConfig<TName>;\n value: FormFieldValue;\n onChange: (name: TName, value: FormFieldValue) => void;\n error?: React.ReactNode;\n disabled?: boolean;\n loading?: boolean;\n}\n\nexport type FormFieldProps<TName extends string = string> =\n | FormFieldControlProps<TName>\n | FormFieldWrapperProps;\n\nexport interface FormActionsProps extends ZoraBaseProps {\n submitLabel?: React.ReactNode;\n loading?: boolean;\n disabled?: boolean;\n onSubmit?: () => void;\n children?: React.ReactNode;\n}\n\nexport interface FormErrorProps extends ZoraBaseProps {\n error?: React.ReactNode;\n}\n\nexport interface FormProps<TName extends string = string> extends ZoraBaseProps {\n fields: readonly FormFieldConfig<TName>[];\n values: FormValues<TName>;\n onChange: (values: FormValues<TName>) => void;\n onSubmit: (values: FormValues<TName>) => void | Promise<void>;\n errors?: FormErrors<TName>;\n error?: React.ReactNode;\n loading?: boolean;\n disabled?: boolean;\n submitLabel?: React.ReactNode;\n actions?: React.ReactNode;\n footer?: React.ReactNode;\n validateOnChange?: boolean;\n}\n\nexport interface FormValidationResult<TName extends string = string> {\n errors: FormValidationErrors<TName>;\n valid: boolean;\n}\n\nexport interface UseFormControllerOptions<TName extends string = string> {\n fields: readonly FormFieldConfig<TName>[];\n initialValues?: Partial<FormValues<TName>>;\n values?: FormValues<TName>;\n errors?: FormErrors<TName>;\n onChange?: (values: FormValues<TName>) => void;\n onSubmit?: (values: FormValues<TName>) => void | Promise<void>;\n validateOnChange?: boolean;\n}\n\nexport interface UseFormControllerResult<TName extends string = string> {\n values: FormValues<TName>;\n errors: FormErrors<TName>;\n setValues: (values: FormValues<TName>) => void;\n setFieldValue: (name: TName, value: FormFieldValue) => void;\n validate: () => FormValidationResult<TName>;\n handleSubmit: () => Promise<void>;\n reset: () => void;\n}\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/form/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { FieldProps as SurfaceFieldProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\nimport type { InputProps } from '../input';\n\nexport type ValidationRule =\n | { kind: 'required'; message?: string }\n | { kind: 'email'; message?: string }\n | { kind: 'minLength'; value: number; message?: string }\n | { kind: 'pattern'; value: string; message?: string };\n\nexport type FormFieldValue = string;\nexport type FormValues<TName extends string = string> = Record<TName, FormFieldValue>;\nexport type FormErrors<TName extends string = string> = Partial<Record<TName, React.ReactNode>>;\nexport type FormValidationErrors<TName extends string = string> = Partial<Record<TName, string>>;\n\nexport type FormFieldInputType = 'email' | 'number' | 'otp' | 'password' | 'tel' | 'text' | 'url';\n\nexport interface FormFieldConfig<TName extends string = string> {\n name: TName;\n label: React.ReactNode;\n description?: React.ReactNode;\n helperText?: React.ReactNode;\n type?: FormFieldInputType;\n placeholder?: string;\n rules?: readonly ValidationRule[];\n autoCapitalize?: InputProps['autoCapitalize'];\n autoComplete?: InputProps['autoComplete'];\n keyboardType?: InputProps['keyboardType'];\n maxLength?: InputProps['maxLength'];\n readOnly?: boolean;\n required?: boolean;\n secureTextEntry?: boolean;\n textContentType?: InputProps['textContentType'];\n disabled?: boolean;\n testID?: string;\n}\n\ninterface FormFieldWrapperProps\n extends\n ZoraBaseProps,\n Pick<\n Omit<SurfaceFieldProps, 'mode' | 'themeId'>,\n 'children' | 'disabled' | 'errorText' | 'invalid' | 'readOnly' | 'required'\n > {\n label: React.ReactNode;\n description?: React.ReactNode;\n helperText?: React.ReactNode;\n}\n\nexport interface FormFieldControlProps<TName extends string = string> extends ZoraBaseProps {\n field: FormFieldConfig<TName>;\n value: FormFieldValue;\n onChange: (name: TName, value: FormFieldValue) => void;\n error?: React.ReactNode;\n disabled?: boolean;\n loading?: boolean;\n}\n\nexport type FormFieldProps<TName extends string = string> =\n FormFieldControlProps<TName> | FormFieldWrapperProps;\n\nexport interface FormActionsProps extends ZoraBaseProps {\n submitLabel?: React.ReactNode;\n loading?: boolean;\n disabled?: boolean;\n onSubmit?: () => void;\n children?: React.ReactNode;\n}\n\nexport interface FormErrorProps extends ZoraBaseProps {\n error?: React.ReactNode;\n}\n\nexport interface FormProps<TName extends string = string> extends ZoraBaseProps {\n fields: readonly FormFieldConfig<TName>[];\n values: FormValues<TName>;\n onChange: (values: FormValues<TName>) => void;\n onSubmit: (values: FormValues<TName>) => void | Promise<void>;\n errors?: FormErrors<TName>;\n error?: React.ReactNode;\n loading?: boolean;\n disabled?: boolean;\n submitLabel?: React.ReactNode;\n actions?: React.ReactNode;\n footer?: React.ReactNode;\n validateOnChange?: boolean;\n}\n\nexport interface FormValidationResult<TName extends string = string> {\n errors: FormValidationErrors<TName>;\n valid: boolean;\n}\n\nexport interface UseFormControllerOptions<TName extends string = string> {\n fields: readonly FormFieldConfig<TName>[];\n initialValues?: Partial<FormValues<TName>>;\n values?: FormValues<TName>;\n errors?: FormErrors<TName>;\n onChange?: (values: FormValues<TName>) => void;\n onSubmit?: (values: FormValues<TName>) => void | Promise<void>;\n validateOnChange?: boolean;\n}\n\nexport interface UseFormControllerResult<TName extends string = string> {\n values: FormValues<TName>;\n errors: FormErrors<TName>;\n setValues: (values: FormValues<TName>) => void;\n setFieldValue: (name: TName, value: FormFieldValue) => void;\n validate: () => FormValidationResult<TName>;\n handleSubmit: () => Promise<void>;\n reset: () => void;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/media-card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,UAAU,wBAAwB;IAChC,WAAW,EAAE,mBAAmB,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB;AAED,UAAU,qBAAqB;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,GAC3B,wBAAwB,GACxB,sBAAsB,GACtB,qBAAqB,CAAC;AAE1B,UAAU,kBAAmB,SAAQ,aAAa;IAChD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,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AAwB,GAAG,sBAAsB,GAAG,qBAAqB,CAAC;AAE5E,UAAU,kBAAmB,SAAQ,aAAa;IAChD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/media-card/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\nimport type { ImageSourcePropType } from 'react-native';\n\nimport type { ZoraCardTone } from '../../internal/recipes';\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\ninterface MediaCardWithImageSource {\n imageSource: ImageSourcePropType;\n imageLabel?: string;\n image?: never;\n}\n\ninterface MediaCardWithImageSlot {\n image: React.ReactNode;\n imageSource?: never;\n imageLabel?: never;\n}\n\ninterface MediaCardWithoutImage {\n image?: never;\n imageSource?: never;\n imageLabel?: never;\n}\n\nexport type MediaCardImageProps =\n | MediaCardWithImageSource\n | MediaCardWithImageSlot\n | MediaCardWithoutImage;\n\ninterface MediaCardBaseProps extends ZoraBaseProps {\n title: React.ReactNode;\n description?: React.ReactNode;\n eyebrow?: React.ReactNode;\n badges?: React.ReactNode;\n actions?: React.ReactNode;\n footer?: React.ReactNode;\n children?: React.ReactNode;\n tone?: ZoraCardTone;\n compact?: boolean;\n onPress?: () => void;\n imageAspectRatio?: number;\n}\n\nexport type MediaCardProps = MediaCardBaseProps & MediaCardImageProps;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/media-card/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\nimport type { ImageSourcePropType } from 'react-native';\n\nimport type { ZoraCardTone } from '../../internal/recipes';\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\ninterface MediaCardWithImageSource {\n imageSource: ImageSourcePropType;\n imageLabel?: string;\n image?: never;\n}\n\ninterface MediaCardWithImageSlot {\n image: React.ReactNode;\n imageSource?: never;\n imageLabel?: never;\n}\n\ninterface MediaCardWithoutImage {\n image?: never;\n imageSource?: never;\n imageLabel?: never;\n}\n\nexport type MediaCardImageProps =\n MediaCardWithImageSource | MediaCardWithImageSlot | MediaCardWithoutImage;\n\ninterface MediaCardBaseProps extends ZoraBaseProps {\n title: React.ReactNode;\n description?: React.ReactNode;\n eyebrow?: React.ReactNode;\n badges?: React.ReactNode;\n actions?: React.ReactNode;\n footer?: React.ReactNode;\n children?: React.ReactNode;\n tone?: ZoraCardTone;\n compact?: boolean;\n onPress?: () => void;\n imageAspectRatio?: number;\n}\n\nexport type MediaCardProps = MediaCardBaseProps & MediaCardImageProps;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"themeRecipeTypes.d.ts","sourceRoot":"","sources":["../../src/metadata/themeRecipeTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,kEAM5B,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9E,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,SAAS,CAAC;AAE1D,UAAU,wBAAwB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC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[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ;IACR,SAAS;IACT,OAAO;IACP,YAAY;IACZ,SAAS;CACD,CAAC","sourcesContent":["export const ZORA_THEME_TOKEN_FAMILIES = [\n 'colors',\n 'spacing',\n 'radii',\n 'typography',\n 'shadows',\n] as const;\n\nexport type ZoraThemeTokenFamily = (typeof ZORA_THEME_TOKEN_FAMILIES)[number];\n\nexport type ZoraThemeRecipeKind = 'component' | 'pattern';\n\ninterface ZoraThemeRecipeFieldBase {\n readonly label: string;\n readonly description?: string;\n}\n\nexport interface ZoraThemeRecipeTokenFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'token';\n readonly tokenFamily: ZoraThemeTokenFamily;\n readonly default?: string;\n}\n\nexport interface ZoraThemeRecipeChoiceFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'choice';\n readonly options: readonly string[];\n readonly default?: string;\n}\n\nexport interface ZoraThemeRecipeBooleanFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'boolean';\n readonly default?: boolean;\n}\n\nexport type ZoraThemeRecipeFieldMeta =\n | ZoraThemeRecipeTokenFieldMeta\n | ZoraThemeRecipeChoiceFieldMeta\n | ZoraThemeRecipeBooleanFieldMeta;\n\nexport interface ZoraThemeRecipeMeta {\n readonly name: string;\n readonly kind: ZoraThemeRecipeKind;\n readonly description?: string;\n readonly fields: Readonly<Record<string, ZoraThemeRecipeFieldMeta>>;\n}\n\nexport type ZoraThemeRecipeMetaRegistry = Readonly<Record<string, ZoraThemeRecipeMeta>>;\n"]}
1
+ {"version":3,"file":"themeRecipeTypes.js","sourceRoot":"","sources":["../../src/metadata/themeRecipeTypes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ;IACR,SAAS;IACT,OAAO;IACP,YAAY;IACZ,SAAS;CACD,CAAC","sourcesContent":["export const ZORA_THEME_TOKEN_FAMILIES = [\n 'colors',\n 'spacing',\n 'radii',\n 'typography',\n 'shadows',\n] as const;\n\nexport type ZoraThemeTokenFamily = (typeof ZORA_THEME_TOKEN_FAMILIES)[number];\n\nexport type ZoraThemeRecipeKind = 'component' | 'pattern';\n\ninterface ZoraThemeRecipeFieldBase {\n readonly label: string;\n readonly description?: string;\n}\n\nexport interface ZoraThemeRecipeTokenFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'token';\n readonly tokenFamily: ZoraThemeTokenFamily;\n readonly default?: string;\n}\n\nexport interface ZoraThemeRecipeChoiceFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'choice';\n readonly options: readonly string[];\n readonly default?: string;\n}\n\nexport interface ZoraThemeRecipeBooleanFieldMeta extends ZoraThemeRecipeFieldBase {\n readonly type: 'boolean';\n readonly default?: boolean;\n}\n\nexport type ZoraThemeRecipeFieldMeta =\n ZoraThemeRecipeTokenFieldMeta | ZoraThemeRecipeChoiceFieldMeta | ZoraThemeRecipeBooleanFieldMeta;\n\nexport interface ZoraThemeRecipeMeta {\n readonly name: string;\n readonly kind: ZoraThemeRecipeKind;\n readonly description?: string;\n readonly fields: Readonly<Record<string, ZoraThemeRecipeFieldMeta>>;\n}\n\nexport type ZoraThemeRecipeMetaRegistry = Readonly<Record<string, ZoraThemeRecipeMeta>>;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/metadata/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEtF,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAC9B,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,sBAAsB,EAAE,GACjC;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M,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,qBAAqB,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAC1D,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC,CAAC;CAC1D;AAED,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/metadata/types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n ComponentEventDtoKind,\n ComponentRequirements,\n MediaAssetKind,\n UiComponentPropType,\n} from '@ankhorage/contracts';\n\nexport type ZoraComponentCategory = 'foundation' | 'component' | 'pattern' | 'layout';\n\nexport type ZoraComponentPropType = UiComponentPropType;\n\nexport type ZoraComponentPropValue =\n | string\n | number\n | boolean\n | null\n | readonly ZoraComponentPropValue[]\n | { readonly [key: string]: ZoraComponentPropValue };\n\nexport type ZoraComponentPropAuthoring =\n | { readonly authority: 'instance' }\n | {\n readonly authority: 'theme';\n readonly scope: 'global' | 'component' | 'pattern';\n readonly allowInstanceOverride?: boolean;\n };\n\nexport interface ZoraComponentPropArrayItemSchema {\n key: string;\n schema: ZoraComponentPropSchema;\n}\n\nexport interface ZoraComponentPropSchema {\n type: ZoraComponentPropType;\n category: string;\n label?: string;\n enum?: readonly (string | number)[];\n default?: ZoraComponentPropValue;\n itemSchema?: readonly ZoraComponentPropArrayItemSchema[];\n mediaKinds?: readonly MediaAssetKind[];\n authoring?: ZoraComponentPropAuthoring;\n}\n\nexport interface ZoraComponentBlueprint {\n label: string;\n icon?: { name: string; provider?: string };\n defaultProps?: Readonly<Record<string, ZoraComponentPropValue>>;\n}\n\nexport interface ZoraComponentI18nMeta {\n fields: readonly { keyProp: string; defaultTextProp: string }[];\n}\n\nexport type ZoraComponentEventPayloadKind = ComponentEventDtoKind | (string & {});\nexport type ZoraComponentEventPayloadFieldType =\n | 'boolean'\n | 'number'\n | 'object'\n | 'record'\n | 'string'\n | 'unknown';\n\nexport interface ZoraComponentEventPayloadFieldMeta {\n readonly path: string;\n readonly type: ZoraComponentEventPayloadFieldType;\n readonly label?: string;\n readonly description?: string;\n}\n\nexport interface ZoraComponentEventMeta {\n readonly label: string;\n readonly eventType: ZoraComponentEventPayloadKind;\n readonly description?: string;\n readonly payloadFields?: readonly ZoraComponentEventPayloadFieldMeta[];\n}\n\nexport interface ZoraComponentSlotMeta {\n label?: string;\n allowedChildren?: readonly string[];\n}\n\nexport interface ZoraComponentMeta {\n name: string;\n category: ZoraComponentCategory;\n description?: string;\n directManifestNode: boolean;\n allowedChildren: readonly string[];\n requirements?: ComponentRequirements;\n blueprint?: ZoraComponentBlueprint;\n events?: Readonly<Record<string, ZoraComponentEventMeta>>;\n i18n?: ZoraComponentI18nMeta;\n slots?: Readonly<Record<string, ZoraComponentSlotMeta>>;\n note?: string;\n props: Readonly<Record<string, ZoraComponentPropSchema>>;\n}\n\nexport type ZoraComponentMetaRegistry = Readonly<Record<string, ZoraComponentMeta>>;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/metadata/types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n ComponentEventDtoKind,\n ComponentRequirements,\n MediaAssetKind,\n UiComponentPropType,\n} from '@ankhorage/contracts';\n\nexport type ZoraComponentCategory = 'foundation' | 'component' | 'pattern' | 'layout';\n\nexport type ZoraComponentPropType = UiComponentPropType;\n\nexport type ZoraComponentPropValue =\n | string\n | number\n | boolean\n | null\n | readonly ZoraComponentPropValue[]\n | { readonly [key: string]: ZoraComponentPropValue };\n\nexport type ZoraComponentPropAuthoring =\n | { readonly authority: 'instance' }\n | {\n readonly authority: 'theme';\n readonly scope: 'global' | 'component' | 'pattern';\n readonly allowInstanceOverride?: boolean;\n };\n\nexport interface ZoraComponentPropArrayItemSchema {\n key: string;\n schema: ZoraComponentPropSchema;\n}\n\nexport interface ZoraComponentPropSchema {\n type: ZoraComponentPropType;\n category: string;\n label?: string;\n enum?: readonly (string | number)[];\n default?: ZoraComponentPropValue;\n itemSchema?: readonly ZoraComponentPropArrayItemSchema[];\n mediaKinds?: readonly MediaAssetKind[];\n authoring?: ZoraComponentPropAuthoring;\n}\n\nexport interface ZoraComponentBlueprint {\n label: string;\n icon?: { name: string; provider?: string };\n defaultProps?: Readonly<Record<string, ZoraComponentPropValue>>;\n}\n\nexport interface ZoraComponentI18nMeta {\n fields: readonly { keyProp: string; defaultTextProp: string }[];\n}\n\nexport type ZoraComponentEventPayloadKind = ComponentEventDtoKind | (string & {});\nexport type ZoraComponentEventPayloadFieldType =\n 'boolean' | 'number' | 'object' | 'record' | 'string' | 'unknown';\n\nexport interface ZoraComponentEventPayloadFieldMeta {\n readonly path: string;\n readonly type: ZoraComponentEventPayloadFieldType;\n readonly label?: string;\n readonly description?: string;\n}\n\nexport interface ZoraComponentEventMeta {\n readonly label: string;\n readonly eventType: ZoraComponentEventPayloadKind;\n readonly description?: string;\n readonly payloadFields?: readonly ZoraComponentEventPayloadFieldMeta[];\n}\n\nexport interface ZoraComponentSlotMeta {\n label?: string;\n allowedChildren?: readonly string[];\n}\n\nexport interface ZoraComponentMeta {\n name: string;\n category: ZoraComponentCategory;\n description?: string;\n directManifestNode: boolean;\n allowedChildren: readonly string[];\n requirements?: ComponentRequirements;\n blueprint?: ZoraComponentBlueprint;\n events?: Readonly<Record<string, ZoraComponentEventMeta>>;\n i18n?: ZoraComponentI18nMeta;\n slots?: Readonly<Record<string, ZoraComponentSlotMeta>>;\n note?: string;\n props: Readonly<Record<string, ZoraComponentPropSchema>>;\n}\n\nexport type ZoraComponentMetaRegistry = Readonly<Record<string, ZoraComponentMeta>>;\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "3.0.0",
4
+ "version": "3.0.2",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -31,14 +31,14 @@
31
31
  "@react-native-vector-icons/fontawesome6": "^13.1.3",
32
32
  "@react-native-vector-icons/ionicons": "^13.1.3",
33
33
  "react": "19.2.3",
34
- "react-native": "0.86.2",
34
+ "react-native": "0.86.x",
35
35
  "react-native-safe-area-context": "~5.7.0",
36
36
  "react-native-web": "~0.21.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "@ankhorage/color-theory": "^0.0.8",
40
40
  "@ankhorage/contracts": "^8.0.0",
41
- "@ankhorage/surface": "^3.0.0"
41
+ "@ankhorage/surface": "^3.0.2"
42
42
  },
43
43
  "files": [
44
44
  "dist",
@@ -70,10 +70,10 @@
70
70
  },
71
71
  "scripts": {
72
72
  "build": "rm -rf dist tsconfig.tsbuildinfo && bun x tsc -p tsconfig.json",
73
- "changeset": "changeset",
74
- "changeset:status": "changeset status --since=origin/main",
73
+ "changeset": "ankhorage-changeset",
74
+ "changeset:status": "ankhorage-changeset status --since=origin/main",
75
75
  "docs": "paradox",
76
- "knip": "ankhorage-knip",
76
+ "knip:check": "ankhorage-knip",
77
77
  "examples:validate": "bun scripts/validate-example-projects.ts",
78
78
  "expo:candidate": "bun scripts/validate-expo-candidate.ts",
79
79
  "lint": "ankhorage-eslint . --max-warnings=0",
@@ -83,18 +83,17 @@
83
83
  "prepack": "bun run build",
84
84
  "test": "bun test src",
85
85
  "typecheck": "bun x tsc --noEmit -p tsconfig.json && bun x tsc --noEmit -p tsconfig.scripts.json",
86
- "version-packages": "changeset version"
86
+ "version-packages": "ankhorage-changeset version"
87
87
  },
88
88
  "devDependencies": {
89
- "@ankhorage/devtools": "^1.6.0",
90
- "@ankhorage/paradox": "^0.1.21",
91
- "@changesets/cli": "^2.31.0",
89
+ "@ankhorage/devtools": "^1.8.2",
90
+ "@ankhorage/paradox": "^0.1.24",
92
91
  "@react-native-picker/picker": "2.11.4",
93
92
  "@react-native-vector-icons/fontawesome": "^13.1.3",
94
93
  "@react-native-vector-icons/fontawesome5": "^13.1.3",
95
94
  "@react-native-vector-icons/fontawesome6": "^13.1.3",
96
95
  "@react-native-vector-icons/ionicons": "^13.1.3",
97
- "@types/bun": "^1.3.14",
96
+ "@types/bun": "^1.4.0",
98
97
  "@types/node": "^24.13.3",
99
98
  "@types/react": "^19.2.18",
100
99
  "@types/react-dom": "^19.2.4",
@@ -102,10 +101,10 @@
102
101
  "happy-dom": "^20.11.6",
103
102
  "react": "19.2.3",
104
103
  "react-dom": "19.2.3",
105
- "react-native": "0.86.2",
104
+ "react-native": "0.86.3",
106
105
  "react-native-safe-area-context": "~5.7.0",
107
106
  "react-native-web": "~0.21.0",
108
107
  "typescript": "~6.0.3"
109
108
  },
110
- "packageManager": "bun@1.3.14"
109
+ "packageManager": "bun@1.4.0"
111
110
  }
@@ -59,8 +59,7 @@ export interface FormFieldControlProps<TName extends string = string> extends Zo
59
59
  }
60
60
 
61
61
  export type FormFieldProps<TName extends string = string> =
62
- | FormFieldControlProps<TName>
63
- | FormFieldWrapperProps;
62
+ FormFieldControlProps<TName> | FormFieldWrapperProps;
64
63
 
65
64
  export interface FormActionsProps extends ZoraBaseProps {
66
65
  submitLabel?: React.ReactNode;
@@ -23,9 +23,7 @@ interface MediaCardWithoutImage {
23
23
  }
24
24
 
25
25
  export type MediaCardImageProps =
26
- | MediaCardWithImageSource
27
- | MediaCardWithImageSlot
28
- | MediaCardWithoutImage;
26
+ MediaCardWithImageSource | MediaCardWithImageSlot | MediaCardWithoutImage;
29
27
 
30
28
  interface MediaCardBaseProps extends ZoraBaseProps {
31
29
  title: React.ReactNode;
@@ -52,10 +52,10 @@ describe('portable ZORA package boundary', () => {
52
52
  const peers = readRecord(packageJson, 'peerDependencies');
53
53
  const development = readRecord(packageJson, 'devDependencies');
54
54
 
55
- expect(readValue(dependencies, '@ankhorage/surface')).toBe('^3.0.0');
55
+ expect(readValue(dependencies, '@ankhorage/surface')).toBe('^3.0.2');
56
56
  expect(readValue(dependencies, '@ankhorage/contracts')).toBe('^8.0.0');
57
57
  expect(peers.react).toBe('19.2.3');
58
- expect(readValue(peers, 'react-native')).toBe('0.86.2');
58
+ expect(readValue(peers, 'react-native')).toBe('0.86.x');
59
59
  expect(readValue(peers, 'react-native-web')).toBe('~0.21.0');
60
60
  expect(development.typescript).toBe('~6.0.3');
61
61
 
@@ -88,9 +88,10 @@ describe('Expo 57 example boundary', () => {
88
88
  const dependencies = readRecord(packageJson, 'dependencies');
89
89
  const development = readRecord(packageJson, 'devDependencies');
90
90
 
91
- expect(dependencies.expo).toBe('~57.0.15');
91
+ expect(readValue(dependencies, '@ankhorage/zora')).toBe('^3.0.0');
92
+ expect(dependencies.expo).toBe('57.0.18');
92
93
  expect(dependencies.react).toBe('19.2.3');
93
- expect(readValue(dependencies, 'react-native')).toBe('0.86.2');
94
+ expect(readValue(dependencies, 'react-native')).toBe('0.86.3');
94
95
  expect(readValue(dependencies, 'react-native-web')).toBe('~0.21.0');
95
96
  expect(development.typescript).toBe('~6.0.3');
96
97
  expect(readValue(dependencies, '@expo/vector-icons')).toBeUndefined();
@@ -33,9 +33,7 @@ export interface ZoraThemeRecipeBooleanFieldMeta extends ZoraThemeRecipeFieldBas
33
33
  }
34
34
 
35
35
  export type ZoraThemeRecipeFieldMeta =
36
- | ZoraThemeRecipeTokenFieldMeta
37
- | ZoraThemeRecipeChoiceFieldMeta
38
- | ZoraThemeRecipeBooleanFieldMeta;
36
+ ZoraThemeRecipeTokenFieldMeta | ZoraThemeRecipeChoiceFieldMeta | ZoraThemeRecipeBooleanFieldMeta;
39
37
 
40
38
  export interface ZoraThemeRecipeMeta {
41
39
  readonly name: string;
@@ -53,12 +53,7 @@ export interface ZoraComponentI18nMeta {
53
53
 
54
54
  export type ZoraComponentEventPayloadKind = ComponentEventDtoKind | (string & {});
55
55
  export type ZoraComponentEventPayloadFieldType =
56
- | 'boolean'
57
- | 'number'
58
- | 'object'
59
- | 'record'
60
- | 'string'
61
- | 'unknown';
56
+ 'boolean' | 'number' | 'object' | 'record' | 'string' | 'unknown';
62
57
 
63
58
  export interface ZoraComponentEventPayloadFieldMeta {
64
59
  readonly path: string;