@wix/himalaya-cli 0.1832.0 → 0.1834.0

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.
Binary file
@@ -216,7 +216,7 @@
216
216
  ]
217
217
  }
218
218
  ],
219
- "propsSource": "export interface TextFieldProps {\n placeholder?: string;\n /** LITERAL initial text. Renderers paint it verbatim — a `$service:` sentinel\n * here shows the raw token to the user. Bind `valuePath` instead. */\n value?: string;\n /** `$service:`/`$item.` binding → live text from the worker (overrides `value`).\n * Adopted while the field is NOT focused; an empty worker value (a draft reset\n * after send/post/submit) is adopted even mid-focus, so a cleared draft empties\n * the field without the worker ever fighting the caret. */\n valuePath?: string;\n onChange?: Action;\n /** Text input enrichments. */\n keyboard?: Keyboard;\n secure?: boolean;\n multilineMaxLines?: number;\n maxLength?: number;\n autoCapitalization?: AutoCapitalization;\n onSubmit?: Action;\n /** Keyboard control. `suggestions: \"off\"` kills autocorrect + the suggestion\n * strip. `submitLabel` paints the return key and, with `onSubmit`, fires it —\n * submitting dismisses the keyboard except for `\"next\"`, which keeps it up so\n * a worker can move focus on. */\n suggestions?: Suggestions;\n submitLabel?: SubmitLabel;\n /** `$service:` binding → a TOKEN the worker changes to focus this field. Focus\n * is requested whenever the resolved value becomes a new NON-EMPTY value\n * (the first seed included, so a non-empty init focuses on open). Use a\n * monotonic nonce — `String(Date.now())` — since a latched boolean cannot\n * re-fire. Blur is the keyboard-dismiss capability, not a token here. */\n focusPath?: string;\n /** Accessory & state enrichments. */\n leadingIcon?: IconRef;\n trailingIcon?: IconRef;\n clearButton?: boolean;\n helperText?: string;\n error?: boolean;\n prefix?: string;\n suffix?: string;\n /** Drop the default rounded-border chrome so a caller background shows (composer pill). */\n borderless?: boolean;\n /** Declarative syntactic rules the RENDERER evaluates, so they hold with no\n * worker running (Tier 0-4) and with no bridge round-trip. Before this,\n * validation was reachable only by wrapping the field in `Form` -> `FormField`\n * - the shape the design guide steers you away from for hero flows. */\n validation?: Validation;\n /** `$service:`/`$item.` binding -> a worker-computed error string. Non-empty =\n * invalid. This is how SEMANTIC and CROSS-FIELD errors (\"passwords don't\n * match\", \"email taken\") reach the same error slot, with the same styling and\n * a11y wiring, as the declarative ones. Wins over `validation.message`. */\n errorPath?: string;\n /** LITERAL error string for a server-rendered screen with no worker to bind.\n * Lower precedence than `errorPath`, higher than the rules. */\n errorText?: string;\n /** Opt-in accessible show/hide button. Only applies to secure fields; initially masked. */\n visibilityToggle?: boolean;\n /** `onChange` fires after this many ms of idle typing. 0 or unset = every change.\n * A submit fires a pending debounced `onChange` first. */\n debounceMs?: number;\n /** The border drawn WHILE the field is focused (width +\n * colour token). Unset = today's static border in both states; not focused =\n * today's border (none when `borderless`). An error state wins over focus. */\n focusedBorder?: Border;\n}"
219
+ "propsSource": "export interface TextFieldProps {\n placeholder?: string;\n /** LITERAL initial text. Renderers paint it verbatim — a `$service:` sentinel\n * here shows the raw token to the user. Bind `valuePath` instead. */\n value?: string;\n /** `$service:`/`$item.` binding → live text from the worker (overrides `value`).\n * Adopted while the field is NOT focused; an empty worker value (a draft reset\n * after send/post/submit) is adopted even mid-focus, so a cleared draft empties\n * the field without the worker ever fighting the caret. */\n valuePath?: string;\n onChange?: Action;\n /** Text input enrichments. */\n keyboard?: Keyboard;\n secure?: boolean;\n multilineMaxLines?: number;\n maxLength?: number;\n autoCapitalization?: AutoCapitalization;\n onSubmit?: Action;\n /** Keyboard control. `suggestions: \"off\"` kills autocorrect + the suggestion\n * strip. `submitLabel` paints the return key and, with `onSubmit`, fires it —\n * submitting dismisses the keyboard except for `\"next\"`, which keeps it up so\n * a worker can move focus on. */\n suggestions?: Suggestions;\n submitLabel?: SubmitLabel;\n /** `$service:` binding → a TOKEN the worker changes to focus this field. Focus\n * is requested whenever the resolved value becomes a new NON-EMPTY value\n * (the first seed included, so a non-empty init focuses on open). Use a\n * monotonic nonce — `String(Date.now())` — since a latched boolean cannot\n * re-fire. Blur is the keyboard-dismiss capability, not a token here. */\n focusPath?: string;\n /** Accessory & state enrichments. */\n leadingIcon?: IconRef;\n trailingIcon?: IconRef;\n clearButton?: boolean;\n helperText?: string;\n error?: boolean;\n prefix?: string;\n suffix?: string;\n /** Drop the default rounded-border chrome so a caller background shows (composer pill). */\n borderless?: boolean;\n /** Declarative syntactic rules the RENDERER evaluates, so they hold with no\n * worker running (Tier 0-4) and with no bridge round-trip. Before this,\n * validation was reachable only by wrapping the field in `Form` -> `FormField`\n * - the shape the design guide steers you away from for hero flows. */\n validation?: Validation;\n /** `$service:`/`$item.` binding -> a worker-computed error string. Non-empty =\n * invalid. This is how SEMANTIC and CROSS-FIELD errors (\"passwords don't\n * match\", \"email taken\") reach the same error slot, with the same styling and\n * a11y wiring, as the declarative ones. Wins over `validation.message`. */\n errorPath?: string;\n /** LITERAL error string for a server-rendered screen with no worker to bind.\n * Lower precedence than `errorPath`, higher than the rules. */\n errorText?: string;\n /** Opt-in accessible show/hide button. Only applies to secure fields; initially masked. */\n visibilityToggle?: boolean;\n /** `onChange` fires after this many ms of idle typing. 0 or unset = every change.\n * A submit fires a pending debounced `onChange` first. */\n debounceMs?: number;\n /** The border drawn WHILE the field is focused (width +\n * colour token). Unset = today's static border in both states; not focused =\n * today's border (none when `borderless`). An error state wins over focus. */\n focusedBorder?: Border;\n /** What the field holds, so password managers can offer and save credentials:\n * \"username\" | \"email\" | \"password\" | \"new_password\" | \"one_time_code\".\n * Unknown / unset = no hint. iOS/macOS `.textContentType`, Android autofill hint,\n * web `autocomplete`. */\n contentType?: \"username\" | \"email\" | \"password\" | \"new_password\" | \"one_time_code\";\n}"
220
220
  },
221
221
  {
222
222
  "name": "Toggle",
@@ -694,6 +694,11 @@ export interface TextFieldProps {
694
694
  * colour token). Unset = today's static border in both states; not focused =
695
695
  * today's border (none when `borderless`). An error state wins over focus. */
696
696
  focusedBorder?: Border;
697
+ /** What the field holds, so password managers can offer and save credentials:
698
+ * "username" | "email" | "password" | "new_password" | "one_time_code".
699
+ * Unknown / unset = no hint. iOS/macOS `.textContentType`, Android autofill hint,
700
+ * web `autocomplete`. */
701
+ contentType?: "username" | "email" | "password" | "new_password" | "one_time_code";
697
702
  }
698
703
  ```
699
704
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1832.0",
3
+ "version": "0.1834.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "d6080e18d84079538742fa163908311e3044bc5a7ac9c229e9c00fcb"
85
+ "falconPackageHash": "8f765a2d1a49b7d49383f904a7102b51f659d32f92ad181e9bb9626c"
86
86
  }
@@ -8537,6 +8537,7 @@ const SCREENS = runtimeSetting({
8537
8537
  "props": {
8538
8538
  "placeholder": "Email",
8539
8539
  "keyboard": "email",
8540
+ "contentType": "username",
8540
8541
  "validation": {
8541
8542
  "required": true,
8542
8543
  "type": "email",
@@ -8564,6 +8565,7 @@ const SCREENS = runtimeSetting({
8564
8565
  "placeholder": "Password",
8565
8566
  "secure": true,
8566
8567
  "visibilityToggle": true,
8568
+ "contentType": "password",
8567
8569
  "validation": {
8568
8570
  "required": true,
8569
8571
  "mode": "on_blur",
@@ -10036,6 +10036,7 @@ const SCREENS = runtimeSetting({
10036
10036
  "props": {
10037
10037
  "placeholder": "Email",
10038
10038
  "keyboard": "email",
10039
+ "contentType": "username",
10039
10040
  "validation": {
10040
10041
  "required": true,
10041
10042
  "type": "email",
@@ -10063,6 +10064,7 @@ const SCREENS = runtimeSetting({
10063
10064
  "placeholder": "Password",
10064
10065
  "secure": true,
10065
10066
  "visibilityToggle": true,
10067
+ "contentType": "password",
10066
10068
  "validation": {
10067
10069
  "required": true,
10068
10070
  "mode": "on_blur",
@@ -7673,6 +7673,7 @@ const SCREENS = runtimeSetting({
7673
7673
  "props": {
7674
7674
  "placeholder": "Email",
7675
7675
  "keyboard": "email",
7676
+ "contentType": "username",
7676
7677
  "validation": {
7677
7678
  "required": true,
7678
7679
  "type": "email",
@@ -7700,6 +7701,7 @@ const SCREENS = runtimeSetting({
7700
7701
  "placeholder": "Password",
7701
7702
  "secure": true,
7702
7703
  "visibilityToggle": true,
7704
+ "contentType": "password",
7703
7705
  "validation": {
7704
7706
  "required": true,
7705
7707
  "mode": "on_blur",
@@ -7857,6 +7857,7 @@ const SCREENS = runtimeSetting({
7857
7857
  "props": {
7858
7858
  "placeholder": "Email",
7859
7859
  "keyboard": "email",
7860
+ "contentType": "username",
7860
7861
  "validation": {
7861
7862
  "required": true,
7862
7863
  "type": "email",
@@ -7884,6 +7885,7 @@ const SCREENS = runtimeSetting({
7884
7885
  "placeholder": "Password",
7885
7886
  "secure": true,
7886
7887
  "visibilityToggle": true,
7888
+ "contentType": "password",
7887
7889
  "validation": {
7888
7890
  "required": true,
7889
7891
  "mode": "on_blur",
@@ -8707,6 +8707,7 @@ const SCREENS = runtimeSetting({
8707
8707
  "props": {
8708
8708
  "placeholder": "Email",
8709
8709
  "keyboard": "email",
8710
+ "contentType": "username",
8710
8711
  "validation": {
8711
8712
  "required": true,
8712
8713
  "type": "email",
@@ -8734,6 +8735,7 @@ const SCREENS = runtimeSetting({
8734
8735
  "placeholder": "Password",
8735
8736
  "secure": true,
8736
8737
  "visibilityToggle": true,
8738
+ "contentType": "password",
8737
8739
  "validation": {
8738
8740
  "required": true,
8739
8741
  "mode": "on_blur",
@@ -7956,6 +7956,7 @@ const SCREENS = runtimeSetting({
7956
7956
  "props": {
7957
7957
  "placeholder": "Email",
7958
7958
  "keyboard": "email",
7959
+ "contentType": "username",
7959
7960
  "validation": {
7960
7961
  "required": true,
7961
7962
  "type": "email",
@@ -7983,6 +7984,7 @@ const SCREENS = runtimeSetting({
7983
7984
  "placeholder": "Password",
7984
7985
  "secure": true,
7985
7986
  "visibilityToggle": true,
7987
+ "contentType": "password",
7986
7988
  "validation": {
7987
7989
  "required": true,
7988
7990
  "mode": "on_blur",
@@ -10470,6 +10470,7 @@ const SCREENS = runtimeSetting({
10470
10470
  "props": {
10471
10471
  "placeholder": "Email",
10472
10472
  "keyboard": "email",
10473
+ "contentType": "username",
10473
10474
  "validation": {
10474
10475
  "required": true,
10475
10476
  "type": "email",
@@ -10497,6 +10498,7 @@ const SCREENS = runtimeSetting({
10497
10498
  "placeholder": "Password",
10498
10499
  "secure": true,
10499
10500
  "visibilityToggle": true,
10501
+ "contentType": "password",
10500
10502
  "validation": {
10501
10503
  "required": true,
10502
10504
  "mode": "on_blur",
@@ -7894,6 +7894,7 @@ const SCREENS = runtimeSetting({
7894
7894
  "props": {
7895
7895
  "placeholder": "Email",
7896
7896
  "keyboard": "email",
7897
+ "contentType": "username",
7897
7898
  "validation": {
7898
7899
  "required": true,
7899
7900
  "type": "email",
@@ -7921,6 +7922,7 @@ const SCREENS = runtimeSetting({
7921
7922
  "placeholder": "Password",
7922
7923
  "secure": true,
7923
7924
  "visibilityToggle": true,
7925
+ "contentType": "password",
7924
7926
  "validation": {
7925
7927
  "required": true,
7926
7928
  "mode": "on_blur",
@@ -8011,6 +8011,7 @@ const SCREENS = runtimeSetting({
8011
8011
  "props": {
8012
8012
  "placeholder": "Email",
8013
8013
  "keyboard": "email",
8014
+ "contentType": "username",
8014
8015
  "validation": {
8015
8016
  "required": true,
8016
8017
  "type": "email",
@@ -8038,6 +8039,7 @@ const SCREENS = runtimeSetting({
8038
8039
  "placeholder": "Password",
8039
8040
  "secure": true,
8040
8041
  "visibilityToggle": true,
8042
+ "contentType": "password",
8041
8043
  "validation": {
8042
8044
  "required": true,
8043
8045
  "mode": "on_blur",
@@ -7903,6 +7903,7 @@ const SCREENS = runtimeSetting({
7903
7903
  "props": {
7904
7904
  "placeholder": "Email",
7905
7905
  "keyboard": "email",
7906
+ "contentType": "username",
7906
7907
  "validation": {
7907
7908
  "required": true,
7908
7909
  "type": "email",
@@ -7930,6 +7931,7 @@ const SCREENS = runtimeSetting({
7930
7931
  "placeholder": "Password",
7931
7932
  "secure": true,
7932
7933
  "visibilityToggle": true,
7934
+ "contentType": "password",
7933
7935
  "validation": {
7934
7936
  "required": true,
7935
7937
  "mode": "on_blur",
@@ -7480,6 +7480,7 @@ const SCREENS = runtimeSetting({
7480
7480
  "props": {
7481
7481
  "placeholder": "Email",
7482
7482
  "keyboard": "email",
7483
+ "contentType": "username",
7483
7484
  "validation": {
7484
7485
  "required": true,
7485
7486
  "type": "email",
@@ -7507,6 +7508,7 @@ const SCREENS = runtimeSetting({
7507
7508
  "placeholder": "Password",
7508
7509
  "secure": true,
7509
7510
  "visibilityToggle": true,
7511
+ "contentType": "password",
7510
7512
  "validation": {
7511
7513
  "required": true,
7512
7514
  "mode": "on_blur",
@@ -8498,6 +8498,7 @@ const SCREENS = runtimeSetting({
8498
8498
  "props": {
8499
8499
  "placeholder": "Email",
8500
8500
  "keyboard": "email",
8501
+ "contentType": "username",
8501
8502
  "validation": {
8502
8503
  "required": true,
8503
8504
  "type": "email",
@@ -8525,6 +8526,7 @@ const SCREENS = runtimeSetting({
8525
8526
  "placeholder": "Password",
8526
8527
  "secure": true,
8527
8528
  "visibilityToggle": true,
8529
+ "contentType": "password",
8528
8530
  "validation": {
8529
8531
  "required": true,
8530
8532
  "mode": "on_blur",