@reqquest/ui 1.12.0 → 1.13.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.
@@ -767,6 +767,8 @@ export interface RequirementPrompt {
767
767
  moot: Scalars['Boolean'];
768
768
  /** A human readable title for the prompt in the navigation. You probably want it to be shorter than the full title. If not provided, the title will be used. */
769
769
  navTitle: Scalars['String'];
770
+ /** True when this row exists only because its requirement listed the prompt in `promptKeysNoDisplay` - a dependency it reads but does not own. Such a row must not be rendered beneath that requirement; the prompt is displayed under the requirement that does own it. This is not derivable from `visibility`: a no-display row is UNREACHABLE, but so is a prompt whose own requirement resolved before reaching it, and that one is still the requirement's to show. */
771
+ noDisplay: Scalars['Boolean'];
770
772
  optOut: Scalars['Boolean'];
771
773
  /** Preload data that has been generated according to the prompt definition. For example, a prompt might query the database for answers given in previous requests or query an external API to learn facts about the user. */
772
774
  preloadData: (Scalars['JsonData'] | null);
@@ -1107,7 +1109,7 @@ export interface AnnouncementUpdate {
1107
1109
  /** Short headline for the announcement. */
1108
1110
  subject?: (Scalars['String'] | null);
1109
1111
  /** The type of announcement, toggleable or date range */
1110
- type?: (Scalars['Boolean'] | null);
1112
+ type?: (Scalars['String'] | null);
1111
1113
  }
1112
1114
  /** Represents a group of applications all being applied for at the same time. As part of the request, multiple applications will be created and either eliminated as ineligible or submitted for approval. */
1113
1115
  export interface AppRequestGenqlSelection {
@@ -2122,6 +2124,8 @@ export interface RequirementPromptGenqlSelection {
2122
2124
  moot?: boolean | number;
2123
2125
  /** A human readable title for the prompt in the navigation. You probably want it to be shorter than the full title. If not provided, the title will be used. */
2124
2126
  navTitle?: boolean | number;
2127
+ /** True when this row exists only because its requirement listed the prompt in `promptKeysNoDisplay` - a dependency it reads but does not own. Such a row must not be rendered beneath that requirement; the prompt is displayed under the requirement that does own it. This is not derivable from `visibility`: a no-display row is UNREACHABLE, but so is a prompt whose own requirement resolved before reaching it, and that one is still the requirement's to show. */
2128
+ noDisplay?: boolean | number;
2125
2129
  optOut?: boolean | number;
2126
2130
  /** Preload data that has been generated according to the prompt definition. For example, a prompt might query the database for answers given in previous requests or query an external API to learn facts about the user. */
2127
2131
  preloadData?: {
@@ -363,7 +363,7 @@ input AnnouncementUpdate {
363
363
  subject: String
364
364
 
365
365
  """The type of announcement, toggleable or date range"""
366
- type: Boolean
366
+ type: String
367
367
  }
368
368
 
369
369
  """
@@ -1954,6 +1954,11 @@ type RequirementPrompt {
1954
1954
  A human readable title for the prompt in the navigation. You probably want it to be shorter than the full title. If not provided, the title will be used.
1955
1955
  """
1956
1956
  navTitle: String!
1957
+
1958
+ """
1959
+ True when this row exists only because its requirement listed the prompt in `promptKeysNoDisplay` - a dependency it reads but does not own. Such a row must not be rendered beneath that requirement; the prompt is displayed under the requirement that does own it. This is not derivable from `visibility`: a no-display row is UNREACHABLE, but so is a prompt whose own requirement resolved before reaching it, and that one is still the requirement's to show.
1960
+ """
1961
+ noDisplay: Boolean!
1957
1962
  optOut: Boolean!
1958
1963
 
1959
1964
  """
@@ -838,6 +838,7 @@ declare const _default: {
838
838
  key: number[];
839
839
  moot: number[];
840
840
  navTitle: number[];
841
+ noDisplay: number[];
841
842
  optOut: number[];
842
843
  preloadData: (number | {
843
844
  schemaVersion: number[];
@@ -487,7 +487,7 @@ export default {
487
487
  89
488
488
  ],
489
489
  "type": [
490
- 45
490
+ 89
491
491
  ],
492
492
  "__typename": [
493
493
  89
@@ -1004,10 +1004,7 @@ export default {
1004
1004
  36
1005
1005
  ],
1006
1006
  "blame": [
1007
- 86
1008
- ],
1009
- "blame": [
1010
- 86
1007
+ 89
1011
1008
  ],
1012
1009
  "configurationData": [
1013
1010
  58
@@ -2227,6 +2224,9 @@ export default {
2227
2224
  "navTitle": [
2228
2225
  89
2229
2226
  ],
2227
+ "noDisplay": [
2228
+ 45
2229
+ ],
2230
2230
  "optOut": [
2231
2231
  45
2232
2232
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reqquest/ui",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "overrides": {
5
5
  "esrap": "2.3.2"
6
6
  },
@@ -23,6 +23,8 @@
23
23
  "prepublishOnly": "npm run package",
24
24
  "check": "svelte-check --tsconfig ./tsconfig.json",
25
25
  "check:registry": "node check-registry.js",
26
+ "docs:components": "node scripts/build-components-md.js",
27
+ "docs:components:check": "node scripts/build-components-md.js --check",
26
28
  "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
27
29
  },
28
30
  "peerDependencies": {