@webority/ui-react 0.164.0 → 0.167.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.
Files changed (167) hide show
  1. package/LICENSE +1 -1
  2. package/dist/canvas-kit/kit.js +225 -223
  3. package/dist/canvas-kit/manifest.json +1334 -435
  4. package/dist/canvas-kit/release.json +6 -6
  5. package/dist/components/AppAsyncBlock.js +1 -1
  6. package/dist/components/AppAvatar.js +1 -1
  7. package/dist/components/AppAvatarGroup.js +1 -1
  8. package/dist/components/AppBanner.js +1 -1
  9. package/dist/components/AppBreadcrumbs.js +1 -1
  10. package/dist/components/AppButton.js +1 -1
  11. package/dist/components/AppCalendar.js +1 -1
  12. package/dist/components/AppCard.js +1 -1
  13. package/dist/components/AppCarousel.js +1 -1
  14. package/dist/components/AppCell.js +1 -1
  15. package/dist/components/AppChart.js +1 -1
  16. package/dist/components/AppChartCard.js +1 -1
  17. package/dist/components/AppCheckbox.js +1 -1
  18. package/dist/components/AppChip.js +1 -1
  19. package/dist/components/AppChipGroup.js +1 -1
  20. package/dist/components/AppChoiceCard.js +1 -1
  21. package/dist/components/AppChoiceChip.js +1 -1
  22. package/dist/components/AppColorField.js +1 -1
  23. package/dist/components/AppColumnMenu.js +1 -1
  24. package/dist/components/AppCommandPalette.js +1 -1
  25. package/dist/components/AppCommentThread.js +1 -1
  26. package/dist/components/AppCompareTable.js +1 -1
  27. package/dist/components/AppConfirmDialog.js +1 -1
  28. package/dist/components/AppConfirmProvider.js +1 -1
  29. package/dist/components/AppContextMenu.js +1 -1
  30. package/dist/components/AppCopyButton.js +1 -1
  31. package/dist/components/AppDataTable.js +1 -1
  32. package/dist/components/AppDatePicker.js +1 -1
  33. package/dist/components/AppDateRangePicker.js +1 -1
  34. package/dist/components/AppDescriptions.js +1 -1
  35. package/dist/components/AppDrawer.js +1 -1
  36. package/dist/components/AppDropZone.js +1 -1
  37. package/dist/components/AppDropdown.js +1 -1
  38. package/dist/components/AppDueDate.js +1 -1
  39. package/dist/components/AppEntryGrid.js +1 -0
  40. package/dist/components/AppErrorBoundary.js +1 -1
  41. package/dist/components/AppErrorSummary.js +1 -1
  42. package/dist/components/AppFileAttachment.js +1 -1
  43. package/dist/components/AppFilePicker.js +1 -1
  44. package/dist/components/AppFilterBar.js +1 -1
  45. package/dist/components/AppFloatingDock.js +1 -1
  46. package/dist/components/AppForm.js +1 -1
  47. package/dist/components/AppFormulaSteps.js +1 -0
  48. package/dist/components/AppHoverCard.js +1 -1
  49. package/dist/components/AppImagePicker.js +1 -1
  50. package/dist/components/AppInfoTip.js +1 -1
  51. package/dist/components/AppInlineEdit.js +1 -1
  52. package/dist/components/AppInput.js +1 -1
  53. package/dist/components/AppInputGroup.js +1 -1
  54. package/dist/components/AppKanban.js +1 -1
  55. package/dist/components/AppMentionInput.js +1 -1
  56. package/dist/components/AppMetricStrip.js +1 -1
  57. package/dist/components/AppModal.js +1 -1
  58. package/dist/components/AppNavigationMenu.js +1 -1
  59. package/dist/components/AppNotificationCenter.js +1 -1
  60. package/dist/components/AppNumberInput.js +1 -1
  61. package/dist/components/AppOnboardingChecklist.js +1 -1
  62. package/dist/components/AppOrgTree.js +1 -1
  63. package/dist/components/AppOtpInput.js +1 -1
  64. package/dist/components/AppPageHeader.js +1 -1
  65. package/dist/components/AppPhoneNumberInput.js +1 -1
  66. package/dist/components/AppPopover.js +1 -1
  67. package/dist/components/AppPricingCard.js +1 -1
  68. package/dist/components/AppQrCode.js +1 -1
  69. package/dist/components/AppRadio.js +1 -1
  70. package/dist/components/AppRadioGroup.js +1 -1
  71. package/dist/components/AppRating.js +1 -1
  72. package/dist/components/AppRecordPager.js +1 -1
  73. package/dist/components/AppRelativeTime.js +1 -1
  74. package/dist/components/AppRepeater.js +1 -1
  75. package/dist/components/AppRichText.js +1 -1
  76. package/dist/components/AppRouteError.js +1 -1
  77. package/dist/components/AppRowActions.js +1 -0
  78. package/dist/components/AppScoreScale.js +1 -1
  79. package/dist/components/AppSearch.js +1 -1
  80. package/dist/components/AppSectionFeatures.js +1 -1
  81. package/dist/components/AppSectionLeadCapture.js +1 -1
  82. package/dist/components/AppSectionLogos.js +1 -1
  83. package/dist/components/AppSegmented.js +1 -1
  84. package/dist/components/AppSelect.js +1 -1
  85. package/dist/components/AppShell.js +1 -1
  86. package/dist/components/AppShortcutLegend.js +1 -1
  87. package/dist/components/AppShowMore.js +1 -1
  88. package/dist/components/AppSlider.js +1 -1
  89. package/dist/components/AppSortableList.js +1 -1
  90. package/dist/components/AppSparkline.js +1 -1
  91. package/dist/components/AppSpinner.js +1 -1
  92. package/dist/components/AppSplash.js +1 -1
  93. package/dist/components/AppSplitButton.js +1 -1
  94. package/dist/components/AppSplitView.js +1 -1
  95. package/dist/components/AppStatusBadge.js +1 -1
  96. package/dist/components/AppStepper.js +1 -1
  97. package/dist/components/AppSwitch.js +1 -1
  98. package/dist/components/AppTablePagination.js +1 -1
  99. package/dist/components/AppTableToolbar.js +1 -1
  100. package/dist/components/AppTabs.js +1 -1
  101. package/dist/components/AppTextarea.js +1 -1
  102. package/dist/components/AppThemeToggle.js +1 -1
  103. package/dist/components/AppTimePicker.js +1 -1
  104. package/dist/components/AppTimeline.js +1 -1
  105. package/dist/components/AppToast.js +1 -1
  106. package/dist/components/AppUpdateBar.js +1 -1
  107. package/dist/components/AppWhatsNew.js +1 -1
  108. package/dist/components/AppWizard.js +1 -1
  109. package/dist/components/AppWorkspaceSwitcher.js +1 -1
  110. package/dist/components/toast.js +1 -1
  111. package/dist/guidance.json +220 -140
  112. package/dist/hookForm/index.js +1 -0
  113. package/dist/lib/CheckField.js +1 -1
  114. package/dist/lib/FileItemRow.js +1 -1
  115. package/dist/lib/emptyValue.js +1 -1
  116. package/dist/lib/fieldState.js +1 -1
  117. package/dist/lib/formFields.js +1 -0
  118. package/dist/lib/useWuiText.js +1 -0
  119. package/dist/types/components/AppAsyncBlock.d.ts +3 -3
  120. package/dist/types/components/AppChart.d.ts +12 -4
  121. package/dist/types/components/AppColorField.d.ts +3 -3
  122. package/dist/types/components/AppDataTable.d.ts +29 -2
  123. package/dist/types/components/AppDatePicker.d.ts +2 -1
  124. package/dist/types/components/AppDateRangePicker.d.ts +5 -1
  125. package/dist/types/components/AppDescriptions.d.ts +6 -0
  126. package/dist/types/components/AppDropdown.d.ts +6 -0
  127. package/dist/types/components/AppEntryGrid.d.ts +164 -0
  128. package/dist/types/components/AppFilterBar.d.ts +12 -1
  129. package/dist/types/components/AppForm.d.ts +18 -0
  130. package/dist/types/components/AppFormulaSteps.d.ts +64 -0
  131. package/dist/types/components/AppInput.d.ts +4 -4
  132. package/dist/types/components/AppInputGroup.d.ts +1 -1
  133. package/dist/types/components/AppMentionInput.d.ts +2 -2
  134. package/dist/types/components/AppMetricStrip.d.ts +5 -0
  135. package/dist/types/components/AppModal.d.ts +5 -0
  136. package/dist/types/components/AppNumberInput.d.ts +9 -3
  137. package/dist/types/components/AppPhoneNumberInput.d.ts +1 -1
  138. package/dist/types/components/AppRowActions.d.ts +46 -0
  139. package/dist/types/components/AppSearch.d.ts +1 -1
  140. package/dist/types/components/AppSectionFeatures.d.ts +5 -1
  141. package/dist/types/components/AppSectionLogos.d.ts +1 -0
  142. package/dist/types/components/AppSelect.d.ts +3 -2
  143. package/dist/types/components/AppShell.d.ts +2 -0
  144. package/dist/types/components/AppSlider.d.ts +5 -0
  145. package/dist/types/components/AppTextarea.d.ts +2 -2
  146. package/dist/types/components/AppTimePicker.d.ts +1 -1
  147. package/dist/types/components/AppToast.d.ts +5 -0
  148. package/dist/types/hookForm/index.d.ts +14 -0
  149. package/dist/types/index.d.ts +8 -5
  150. package/dist/types/lib/emptyValue.d.ts +2 -2
  151. package/dist/types/lib/fieldState.d.ts +1 -0
  152. package/dist/types/lib/formFields.d.ts +12 -0
  153. package/dist/types/lib/useWuiText.d.ts +3 -0
  154. package/dist/ui-react.js +1 -1
  155. package/dist/web-core/dist/errors/extractApiError.js +2 -0
  156. package/dist/web-core/dist/errors/requestPlatform.js +1 -0
  157. package/package.json +21 -10
  158. package/dist/components/AppResizable.js +0 -1
  159. package/dist/components/AppResizableHandle.js +0 -1
  160. package/dist/components/AppResizablePanel.js +0 -1
  161. package/dist/components/AppRollingNumber.js +0 -1
  162. package/dist/components/AppRowSwitch.js +0 -1
  163. package/dist/types/components/AppResizable.d.ts +0 -37
  164. package/dist/types/components/AppResizableHandle.d.ts +0 -14
  165. package/dist/types/components/AppResizablePanel.d.ts +0 -14
  166. package/dist/types/components/AppRollingNumber.d.ts +0 -30
  167. package/dist/types/components/AppRowSwitch.d.ts +0 -18
@@ -2,7 +2,7 @@
2
2
  "kind": "WeborityWeb",
3
3
  "library": {
4
4
  "name": "@webority/ui-react",
5
- "version": "0.164.0"
5
+ "version": "0.167.0"
6
6
  },
7
7
  "rendererProtocolVersion": 14,
8
8
  "platform": "Web",
@@ -787,14 +787,14 @@
787
787
  "type": "string",
788
788
  "required": false,
789
789
  "description": "Replaces the built-in English text, for other languages.",
790
- "default": "Nothing to show yet"
790
+ "default": "Nothing here yet"
791
791
  },
792
792
  {
793
793
  "name": "errorTitle",
794
794
  "type": "string",
795
795
  "required": false,
796
796
  "description": "Replaces the built-in English text, for other languages.",
797
- "default": "Something went wrong"
797
+ "default": "That didn't load"
798
798
  },
799
799
  {
800
800
  "name": "loadingLabel",
@@ -808,7 +808,7 @@
808
808
  "type": "string",
809
809
  "required": false,
810
810
  "description": "Replaces the built-in English text, for other languages.",
811
- "default": "Retry"
811
+ "default": "Try again"
812
812
  },
813
813
  {
814
814
  "name": "skeleton",
@@ -930,7 +930,7 @@
930
930
  "a11y": [
931
931
  "Each drawn state is marked with a data-state attribute on the wrapper: loading, error, empty or data. Idle draws no wrapper.",
932
932
  "With no skeleton, the loading state is an indeterminate progress bar labelled Loading.",
933
- "The error state is an empty state with a Retry button that calls the state's retry.",
933
+ "The error state is an empty state with a Try again button that calls the state's retry.",
934
934
  "The component sets no aria attributes of its own."
935
935
  ]
936
936
  }
@@ -3157,6 +3157,63 @@
3157
3157
  {
3158
3158
  "name": "format",
3159
3159
  "type": "object",
3160
+ "fields": [
3161
+ {
3162
+ "name": "currency",
3163
+ "type": "string",
3164
+ "required": false,
3165
+ "description": "For currency and compact: a three-letter ISO 4217 code such as INR, USD, EUR or GBP. INR when left out."
3166
+ },
3167
+ {
3168
+ "name": "decimals",
3169
+ "type": "number",
3170
+ "required": false,
3171
+ "description": "Fraction digits: fixed for currency (0 when left out), a cap for other styles."
3172
+ },
3173
+ {
3174
+ "name": "pattern",
3175
+ "type": "enum",
3176
+ "enum": [
3177
+ "datetime",
3178
+ "day",
3179
+ "month",
3180
+ "time",
3181
+ "year"
3182
+ ],
3183
+ "required": false,
3184
+ "description": "For date: how the date prints. day shows 04-Oct-2026, in the time zone of the chart (IST by default).",
3185
+ "default": "day"
3186
+ },
3187
+ {
3188
+ "name": "style",
3189
+ "type": "enum",
3190
+ "enum": [
3191
+ "compact",
3192
+ "currency",
3193
+ "date",
3194
+ "duration",
3195
+ "number",
3196
+ "percent"
3197
+ ],
3198
+ "required": false,
3199
+ "description": "How the value prints. percent takes a ratio, so 0.125 shows as 12.5%. compact shortens (lakh and crore for rupees, K, M and B for other currencies).",
3200
+ "default": "number"
3201
+ },
3202
+ {
3203
+ "name": "unit",
3204
+ "type": "enum",
3205
+ "enum": [
3206
+ "h",
3207
+ "min",
3208
+ "ms",
3209
+ "paise",
3210
+ "rupees",
3211
+ "s"
3212
+ ],
3213
+ "required": false,
3214
+ "description": "What the value counts: rupees (default) or paise for money; ms, s (default), min or h for a duration."
3215
+ }
3216
+ ],
3160
3217
  "required": false,
3161
3218
  "description": "How this series' values print: a style, with currency, unit, decimals or pattern where the style takes them."
3162
3219
  },
@@ -3183,6 +3240,63 @@
3183
3240
  {
3184
3241
  "name": "format",
3185
3242
  "type": "object",
3243
+ "fields": [
3244
+ {
3245
+ "name": "currency",
3246
+ "type": "string",
3247
+ "required": false,
3248
+ "description": "For currency and compact: a three-letter ISO 4217 code such as INR, USD, EUR or GBP. INR when left out."
3249
+ },
3250
+ {
3251
+ "name": "decimals",
3252
+ "type": "number",
3253
+ "required": false,
3254
+ "description": "Fraction digits: fixed for currency (0 when left out), a cap for other styles."
3255
+ },
3256
+ {
3257
+ "name": "pattern",
3258
+ "type": "enum",
3259
+ "enum": [
3260
+ "datetime",
3261
+ "day",
3262
+ "month",
3263
+ "time",
3264
+ "year"
3265
+ ],
3266
+ "required": false,
3267
+ "description": "For date: how the date prints. day shows 04-Oct-2026, in the time zone of the chart (IST by default).",
3268
+ "default": "day"
3269
+ },
3270
+ {
3271
+ "name": "style",
3272
+ "type": "enum",
3273
+ "enum": [
3274
+ "compact",
3275
+ "currency",
3276
+ "date",
3277
+ "duration",
3278
+ "number",
3279
+ "percent"
3280
+ ],
3281
+ "required": false,
3282
+ "description": "How the value prints. percent takes a ratio, so 0.125 shows as 12.5%. compact shortens (lakh and crore for rupees, K, M and B for other currencies).",
3283
+ "default": "number"
3284
+ },
3285
+ {
3286
+ "name": "unit",
3287
+ "type": "enum",
3288
+ "enum": [
3289
+ "h",
3290
+ "min",
3291
+ "ms",
3292
+ "paise",
3293
+ "rupees",
3294
+ "s"
3295
+ ],
3296
+ "required": false,
3297
+ "description": "What the value counts: rupees (default) or paise for money; ms, s (default), min or h for a duration."
3298
+ }
3299
+ ],
3186
3300
  "required": false,
3187
3301
  "description": "How bubble areas print: a style, with currency, unit, decimals or pattern where the style takes them."
3188
3302
  },
@@ -3339,6 +3453,63 @@
3339
3453
  {
3340
3454
  "name": "format",
3341
3455
  "type": "object",
3456
+ "fields": [
3457
+ {
3458
+ "name": "currency",
3459
+ "type": "string",
3460
+ "required": false,
3461
+ "description": "For currency and compact: a three-letter ISO 4217 code such as INR, USD, EUR or GBP. INR when left out."
3462
+ },
3463
+ {
3464
+ "name": "decimals",
3465
+ "type": "number",
3466
+ "required": false,
3467
+ "description": "Fraction digits: fixed for currency (0 when left out), a cap for other styles."
3468
+ },
3469
+ {
3470
+ "name": "pattern",
3471
+ "type": "enum",
3472
+ "enum": [
3473
+ "datetime",
3474
+ "day",
3475
+ "month",
3476
+ "time",
3477
+ "year"
3478
+ ],
3479
+ "required": false,
3480
+ "description": "For date: how the date prints. day shows 04-Oct-2026, in the time zone of the chart (IST by default).",
3481
+ "default": "day"
3482
+ },
3483
+ {
3484
+ "name": "style",
3485
+ "type": "enum",
3486
+ "enum": [
3487
+ "compact",
3488
+ "currency",
3489
+ "date",
3490
+ "duration",
3491
+ "number",
3492
+ "percent"
3493
+ ],
3494
+ "required": false,
3495
+ "description": "How the value prints. percent takes a ratio, so 0.125 shows as 12.5%. compact shortens (lakh and crore for rupees, K, M and B for other currencies).",
3496
+ "default": "number"
3497
+ },
3498
+ {
3499
+ "name": "unit",
3500
+ "type": "enum",
3501
+ "enum": [
3502
+ "h",
3503
+ "min",
3504
+ "ms",
3505
+ "paise",
3506
+ "rupees",
3507
+ "s"
3508
+ ],
3509
+ "required": false,
3510
+ "description": "What the value counts: rupees (default) or paise for money; ms, s (default), min or h for a duration."
3511
+ }
3512
+ ],
3342
3513
  "required": false,
3343
3514
  "description": "How x values print: a style, with currency, unit, decimals or pattern where the style takes them."
3344
3515
  },
@@ -3389,6 +3560,63 @@
3389
3560
  {
3390
3561
  "name": "format",
3391
3562
  "type": "object",
3563
+ "fields": [
3564
+ {
3565
+ "name": "currency",
3566
+ "type": "string",
3567
+ "required": false,
3568
+ "description": "For currency and compact: a three-letter ISO 4217 code such as INR, USD, EUR or GBP. INR when left out."
3569
+ },
3570
+ {
3571
+ "name": "decimals",
3572
+ "type": "number",
3573
+ "required": false,
3574
+ "description": "Fraction digits: fixed for currency (0 when left out), a cap for other styles."
3575
+ },
3576
+ {
3577
+ "name": "pattern",
3578
+ "type": "enum",
3579
+ "enum": [
3580
+ "datetime",
3581
+ "day",
3582
+ "month",
3583
+ "time",
3584
+ "year"
3585
+ ],
3586
+ "required": false,
3587
+ "description": "For date: how the date prints. day shows 04-Oct-2026, in the time zone of the chart (IST by default).",
3588
+ "default": "day"
3589
+ },
3590
+ {
3591
+ "name": "style",
3592
+ "type": "enum",
3593
+ "enum": [
3594
+ "compact",
3595
+ "currency",
3596
+ "date",
3597
+ "duration",
3598
+ "number",
3599
+ "percent"
3600
+ ],
3601
+ "required": false,
3602
+ "description": "How the value prints. percent takes a ratio, so 0.125 shows as 12.5%. compact shortens (lakh and crore for rupees, K, M and B for other currencies).",
3603
+ "default": "number"
3604
+ },
3605
+ {
3606
+ "name": "unit",
3607
+ "type": "enum",
3608
+ "enum": [
3609
+ "h",
3610
+ "min",
3611
+ "ms",
3612
+ "paise",
3613
+ "rupees",
3614
+ "s"
3615
+ ],
3616
+ "required": false,
3617
+ "description": "What the value counts: rupees (default) or paise for money; ms, s (default), min or h for a duration."
3618
+ }
3619
+ ],
3392
3620
  "required": false,
3393
3621
  "description": "How axis values print: a style, with currency, unit, decimals or pattern where the style takes them."
3394
3622
  },
@@ -4960,10 +5188,11 @@
4960
5188
  "enum": [
4961
5189
  "lg",
4962
5190
  "md",
4963
- "sm"
5191
+ "sm",
5192
+ "xl"
4964
5193
  ],
4965
5194
  "required": false,
4966
- "description": "Control size. sm and lg resize the swatch and the hex box together.",
5195
+ "description": "Control size. sm, lg and xl resize the swatch and the hex box together.",
4967
5196
  "default": "md"
4968
5197
  },
4969
5198
  {
@@ -7308,6 +7537,12 @@
7308
7537
  "required": false,
7309
7538
  "description": "Gives this column the spare width."
7310
7539
  },
7540
+ {
7541
+ "name": "help",
7542
+ "type": "node",
7543
+ "required": false,
7544
+ "description": "Help shown in an info tip beside the header label."
7545
+ },
7311
7546
  {
7312
7547
  "name": "hideable",
7313
7548
  "type": "boolean",
@@ -7395,6 +7630,13 @@
7395
7630
  "required": false,
7396
7631
  "description": "Shown when there are no rows and sourceCount is unset or above 0."
7397
7632
  },
7633
+ {
7634
+ "name": "equalActions",
7635
+ "type": "boolean",
7636
+ "required": false,
7637
+ "description": "Gives every labelled button in the row actions column the same width, so the column lines up from row to row. Icon-only actions are not widened.",
7638
+ "default": false
7639
+ },
7398
7640
  {
7399
7641
  "name": "flush",
7400
7642
  "type": "boolean",
@@ -7432,6 +7674,13 @@
7432
7674
  "required": false,
7433
7675
  "description": "DOM id on the table's outer box; a column menu's for names it."
7434
7676
  },
7677
+ {
7678
+ "name": "linkFirstColumn",
7679
+ "type": "boolean",
7680
+ "required": false,
7681
+ "description": "Draws the first column's name as a link. Needs rowHref or onRowClick.",
7682
+ "default": false
7683
+ },
7435
7684
  {
7436
7685
  "name": "loading",
7437
7686
  "type": "boolean",
@@ -7511,6 +7760,13 @@
7511
7760
  "required": false,
7512
7761
  "description": "The footer's state, usually straight from usePagination. The footer shows once total is above the smallest page size and stays in place while loading."
7513
7762
  },
7763
+ {
7764
+ "name": "refreshing",
7765
+ "type": "boolean",
7766
+ "required": false,
7767
+ "description": "Keeps the current rows on screen, dimmed and marked busy, while new rows load. Has no effect with no rows; loading shows skeleton rows instead.",
7768
+ "default": false
7769
+ },
7514
7770
  {
7515
7771
  "name": "resizableColumns",
7516
7772
  "type": "boolean",
@@ -7550,6 +7806,13 @@
7550
7806
  "required": false,
7551
7807
  "description": "Currently selected row keys, as a Set."
7552
7808
  },
7809
+ {
7810
+ "name": "singleExpand",
7811
+ "type": "boolean",
7812
+ "required": false,
7813
+ "description": "With renderExpanded, opening a row closes the one that was open, so at most one row is expanded.",
7814
+ "default": false
7815
+ },
7553
7816
  {
7554
7817
  "name": "skeletonRows",
7555
7818
  "type": "number",
@@ -7599,7 +7862,7 @@
7599
7862
  "name": "stickyActions",
7600
7863
  "type": "boolean",
7601
7864
  "required": false,
7602
- "description": "Pins the last column, where rowActions render, to the end edge while a wide table scrolls sideways, so a row's actions stay in view in a narrow box.",
7865
+ "description": "Pins the last column, where the rowActions list renders, to the end edge while a wide table scrolls sideways, so a row's actions stay in view in a narrow box.",
7603
7866
  "default": false
7604
7867
  },
7605
7868
  {
@@ -7772,6 +8035,12 @@
7772
8035
  "marker": "AppDatePicker",
7773
8036
  "acceptsChildren": false,
7774
8037
  "props": [
8038
+ {
8039
+ "name": "aria-invalid",
8040
+ "type": "any",
8041
+ "required": false,
8042
+ "description": "Marks the control invalid (aria-invalid) without an error message. A given value wins over the one an error sets, and it draws no field wrapper or message in the bare form."
8043
+ },
7775
8044
  {
7776
8045
  "name": "ariaLabel",
7777
8046
  "type": "string",
@@ -7929,7 +8198,8 @@
7929
8198
  "enum": [
7930
8199
  "lg",
7931
8200
  "md",
7932
- "sm"
8201
+ "sm",
8202
+ "xl"
7933
8203
  ],
7934
8204
  "required": false,
7935
8205
  "description": "Control height tier, matching AppInput."
@@ -8027,7 +8297,7 @@
8027
8297
  ],
8028
8298
  "a11y": [
8029
8299
  "The field label names the control through aria-label when it is a string, and ariaLabel overrides it.",
8030
- "Helper text or error text is linked to the control with aria-describedby, and an error sets aria-invalid.",
8300
+ "Helper text or error text is linked to the control with aria-describedby, and an error sets aria-invalid. A caller's aria-invalid takes its place.",
8031
8301
  "Required and disabled are set as native attributes on the control."
8032
8302
  ]
8033
8303
  }
@@ -8211,7 +8481,8 @@
8211
8481
  "enum": [
8212
8482
  "lg",
8213
8483
  "md",
8214
- "sm"
8484
+ "sm",
8485
+ "xl"
8215
8486
  ],
8216
8487
  "required": false,
8217
8488
  "description": "Control height tier, matching AppInput."
@@ -8321,6 +8592,12 @@
8321
8592
  "required": false,
8322
8593
  "description": "A glyph in a 36px round tile before the label, by name or as a node."
8323
8594
  },
8595
+ {
8596
+ "name": "id",
8597
+ "type": "string",
8598
+ "required": false,
8599
+ "description": "Set on the item's root so a link can jump to the row. Any data-* attribute on an item is set there too."
8600
+ },
8324
8601
  {
8325
8602
  "name": "key",
8326
8603
  "type": "string",
@@ -8345,6 +8622,12 @@
8345
8622
  "required": false,
8346
8623
  "description": "How many grid columns the item spans: 2 or 3 for a longer value."
8347
8624
  },
8625
+ {
8626
+ "name": "tabIndex",
8627
+ "type": "number",
8628
+ "required": false,
8629
+ "description": "Set on the item's root; 0 or -1 makes the row focusable."
8630
+ },
8348
8631
  {
8349
8632
  "name": "value",
8350
8633
  "type": "node",
@@ -8949,6 +9232,12 @@
8949
9232
  "name": "items",
8950
9233
  "type": "array",
8951
9234
  "itemFields": [
9235
+ {
9236
+ "name": "data",
9237
+ "type": "object",
9238
+ "required": false,
9239
+ "description": "data-* attributes written on the control (the icon button or button and the menu row)."
9240
+ },
8952
9241
  {
8953
9242
  "name": "description",
8954
9243
  "type": "string",
@@ -9021,12 +9310,28 @@
9021
9310
  "required": false,
9022
9311
  "description": "Content of the row: text, or text with an icon. A searchable menu needs text."
9023
9312
  },
9313
+ {
9314
+ "name": "rel",
9315
+ "type": "string",
9316
+ "required": false,
9317
+ "description": "The link's rel. Needs href or to."
9318
+ },
9024
9319
  {
9025
9320
  "name": "shortcut",
9026
9321
  "type": "string",
9027
9322
  "required": false,
9028
9323
  "description": "The key that runs the item, such as E, drawn as a key chip at the end of the row. The page binds the key itself."
9029
9324
  },
9325
+ {
9326
+ "name": "target",
9327
+ "type": "enum",
9328
+ "enum": [
9329
+ "_blank",
9330
+ "_self"
9331
+ ],
9332
+ "required": false,
9333
+ "description": "Where an href or to opens. Needs href or to."
9334
+ },
9030
9335
  {
9031
9336
  "name": "to",
9032
9337
  "type": "string",
@@ -9625,84 +9930,491 @@
9625
9930
  }
9626
9931
  },
9627
9932
  {
9628
- "name": "AppErrorBoundary",
9629
- "marker": null,
9630
- "acceptsChildren": true,
9933
+ "name": "AppEntryGrid",
9934
+ "marker": "AppEntryGrid",
9935
+ "acceptsChildren": false,
9631
9936
  "props": [
9632
9937
  {
9633
- "name": "brand",
9634
- "type": "node",
9938
+ "name": "activeRowKey",
9939
+ "type": "string",
9635
9940
  "required": false,
9636
- "description": "Shown above the default screen."
9941
+ "nullable": true,
9942
+ "description": "The key, as rowKey returns it, of the row the person is working on; that row is drawn as active."
9637
9943
  },
9638
9944
  {
9639
- "name": "fallback",
9640
- "type": "node",
9945
+ "name": "addLabel",
9946
+ "type": "string",
9641
9947
  "required": false,
9642
- "description": "What to show after an error. A function receives { error, reset }. Default: the AppRouteError screen with Try again, Reload the page and a home link."
9948
+ "description": "The text of the button that adds an empty line at the end.",
9949
+ "default": "Add line"
9643
9950
  },
9644
9951
  {
9645
- "name": "homeHref",
9646
- "type": "url",
9952
+ "name": "className",
9953
+ "type": "string",
9647
9954
  "required": false,
9648
- "description": "Where \"Go to the home page\" leads in the default screen.",
9649
- "default": "/"
9955
+ "description": "Extra class names added to the grid's root element.",
9956
+ "default": ""
9650
9957
  },
9651
9958
  {
9652
- "name": "resetKeys",
9959
+ "name": "columns",
9653
9960
  "type": "array",
9654
- "required": false,
9655
- "description": "The boundary clears itself when any item changes, such as the route path."
9656
- }
9657
- ],
9658
- "itemsTakeAction": [],
9659
- "takesAction": [],
9660
- "source": "@webority/ui-react",
9661
- "usage": {
9662
- "when": [
9663
- "One page or section may throw while the rest of the app still works.",
9664
- "A failed section should offer Try again without a full page load."
9665
- ],
9666
- "whenNot": [
9667
- {
9668
- "text": "The root of the app, where a stale build must reload the page once and the error is logged.",
9669
- "instead": "ErrorBoundary from @webority/web-core"
9670
- },
9671
- {
9672
- "text": "A router errorElement for a failed route or loader.",
9673
- "instead": "AppRouteError"
9674
- },
9675
- {
9676
- "text": "A section whose data request failed but nothing threw.",
9677
- "instead": "AppAsyncBlock"
9678
- }
9679
- ],
9680
- "do": [
9681
- {
9682
- "title": "Clear the error on navigation",
9683
- "note": "Pass resetKeys so moving to another page clears the error.",
9684
- "example": [
9685
- {
9686
- "component": "AppErrorBoundary",
9687
- "props": {
9688
- "resetKeys": [
9689
- "/projects"
9690
- ]
9691
- }
9692
- }
9693
- ]
9694
- },
9695
- {
9696
- "title": "Never show the error text",
9697
- "note": "The default screen shows a plain sentence, so internal details stay private.",
9698
- "example": [
9699
- {
9700
- "component": "AppErrorBoundary",
9701
- "props": {
9702
- "homeHref": "/dashboard"
9703
- }
9704
- }
9705
- ]
9961
+ "itemFields": [
9962
+ {
9963
+ "name": "group",
9964
+ "type": "string",
9965
+ "required": false,
9966
+ "description": "Adjacent columns with the same group share one heading drawn above them."
9967
+ },
9968
+ {
9969
+ "name": "help",
9970
+ "type": "node",
9971
+ "required": false,
9972
+ "description": "Help shown beside the column heading."
9973
+ },
9974
+ {
9975
+ "name": "key",
9976
+ "type": "string",
9977
+ "required": true,
9978
+ "description": "The row field this column reads and edits."
9979
+ },
9980
+ {
9981
+ "name": "kind",
9982
+ "type": "enum",
9983
+ "enum": [
9984
+ "number",
9985
+ "text"
9986
+ ],
9987
+ "required": false,
9988
+ "description": "number right-aligns the column and selects the text of a focused input.",
9989
+ "default": "text"
9990
+ },
9991
+ {
9992
+ "name": "label",
9993
+ "type": "node",
9994
+ "required": true,
9995
+ "description": "The column heading."
9996
+ },
9997
+ {
9998
+ "name": "pin",
9999
+ "type": "enum",
10000
+ "enum": [
10001
+ "start"
10002
+ ],
10003
+ "required": false,
10004
+ "description": "start keeps the column in view when the grid scrolls sideways. Only the first column can be pinned."
10005
+ },
10006
+ {
10007
+ "name": "sortable",
10008
+ "type": "boolean",
10009
+ "required": false,
10010
+ "description": "Makes the heading a sort control that calls onSort; the page sorts the rows.",
10011
+ "default": false
10012
+ },
10013
+ {
10014
+ "name": "width",
10015
+ "type": "stringOrNumber",
10016
+ "required": false,
10017
+ "description": "The column's width, in px or a CSS length."
10018
+ }
10019
+ ],
10020
+ "required": true,
10021
+ "description": "The columns, left to right, each with a key and a label, plus optional kind, width and help."
10022
+ },
10023
+ {
10024
+ "name": "commitNextLabel",
10025
+ "type": "string",
10026
+ "required": false,
10027
+ "description": "The keyboard legend for Enter.",
10028
+ "default": "Save and go to the next line"
10029
+ },
10030
+ {
10031
+ "name": "commitStayLabel",
10032
+ "type": "string",
10033
+ "required": false,
10034
+ "description": "The keyboard legend for Ctrl and S.",
10035
+ "default": "Save"
10036
+ },
10037
+ {
10038
+ "name": "dirtyLabel",
10039
+ "type": "string",
10040
+ "required": false,
10041
+ "description": "The status word for a line with changes not yet saved.",
10042
+ "default": "Changed"
10043
+ },
10044
+ {
10045
+ "name": "discardLabel",
10046
+ "type": "string",
10047
+ "required": false,
10048
+ "description": "The keyboard legend for Escape.",
10049
+ "default": "Discard changes"
10050
+ },
10051
+ {
10052
+ "name": "emptyContent",
10053
+ "type": "node",
10054
+ "required": false,
10055
+ "description": "Replaces the emptyLabel sentence when there are no rows, for a title, text and an action. Giving both is refused."
10056
+ },
10057
+ {
10058
+ "name": "emptyLabel",
10059
+ "type": "string",
10060
+ "required": false,
10061
+ "description": "The message shown when there are no rows.",
10062
+ "default": "No lines yet"
10063
+ },
10064
+ {
10065
+ "name": "failedLabel",
10066
+ "type": "string",
10067
+ "required": false,
10068
+ "description": "The status word for a line whose save failed.",
10069
+ "default": "Not saved"
10070
+ },
10071
+ {
10072
+ "name": "hint",
10073
+ "type": "boolean",
10074
+ "required": false,
10075
+ "description": "Shows the keyboard legend under the grid. The Enter and Ctrl+S entries show only with onCommitRow.",
10076
+ "default": true
10077
+ },
10078
+ {
10079
+ "name": "label",
10080
+ "type": "string",
10081
+ "required": false,
10082
+ "description": "The accessible name of the table.",
10083
+ "default": "Entry lines"
10084
+ },
10085
+ {
10086
+ "name": "loading",
10087
+ "type": "boolean",
10088
+ "required": false,
10089
+ "description": "Draws placeholder rows instead of the lines while they load.",
10090
+ "default": false
10091
+ },
10092
+ {
10093
+ "name": "moveLabel",
10094
+ "type": "string",
10095
+ "required": false,
10096
+ "description": "The keyboard legend for Ctrl and the arrow keys.",
10097
+ "default": "Move between lines"
10098
+ },
10099
+ {
10100
+ "name": "pagination",
10101
+ "type": "object",
10102
+ "fields": [
10103
+ {
10104
+ "name": "mode",
10105
+ "type": "enum",
10106
+ "enum": [
10107
+ "numbered",
10108
+ "prev-next"
10109
+ ],
10110
+ "required": false,
10111
+ "description": "numbered shows page buttons; prev-next shows only the previous and next buttons."
10112
+ },
10113
+ {
10114
+ "name": "page",
10115
+ "type": "number",
10116
+ "required": true,
10117
+ "description": "The current page, counted from one."
10118
+ },
10119
+ {
10120
+ "name": "pageSize",
10121
+ "type": "number",
10122
+ "required": true,
10123
+ "description": "The number of lines on a page."
10124
+ },
10125
+ {
10126
+ "name": "pageSizes",
10127
+ "type": "array",
10128
+ "required": false,
10129
+ "description": "The page sizes the size menu offers."
10130
+ },
10131
+ {
10132
+ "name": "summary",
10133
+ "type": "boolean",
10134
+ "required": false,
10135
+ "description": "Draws \"Showing x to y of z\" at the start of the footer."
10136
+ },
10137
+ {
10138
+ "name": "total",
10139
+ "type": "number",
10140
+ "required": true,
10141
+ "description": "The number of lines across all pages."
10142
+ },
10143
+ {
10144
+ "name": "totalPages",
10145
+ "type": "number",
10146
+ "required": false,
10147
+ "description": "The number of pages; wins over the count worked out from total."
10148
+ }
10149
+ ],
10150
+ "required": false,
10151
+ "description": "The pager state, as AppDataTable takes it; draws the pager inside the grid frame under the table."
10152
+ },
10153
+ {
10154
+ "name": "removeLineLabel",
10155
+ "type": "string",
10156
+ "required": false,
10157
+ "description": "The keyboard legend for Ctrl and Delete; shown only with onRemoveRow.",
10158
+ "default": "Remove line"
10159
+ },
10160
+ {
10161
+ "name": "rows",
10162
+ "type": "array",
10163
+ "required": true,
10164
+ "description": "The row objects shown in the grid, one per line, in the order they appear."
10165
+ },
10166
+ {
10167
+ "name": "savedLabel",
10168
+ "type": "string",
10169
+ "required": false,
10170
+ "description": "The status word for a line that was saved.",
10171
+ "default": "Saved"
10172
+ },
10173
+ {
10174
+ "name": "savingLabel",
10175
+ "type": "string",
10176
+ "required": false,
10177
+ "description": "The status word for a line being saved.",
10178
+ "default": "Saving"
10179
+ },
10180
+ {
10181
+ "name": "skeletonRows",
10182
+ "type": "number",
10183
+ "required": false,
10184
+ "description": "How many placeholder rows loading draws; a whole number of 1 or more.",
10185
+ "default": 3
10186
+ },
10187
+ {
10188
+ "name": "sort",
10189
+ "type": "object",
10190
+ "fields": [
10191
+ {
10192
+ "name": "dir",
10193
+ "type": "enum",
10194
+ "enum": [
10195
+ "asc",
10196
+ "desc"
10197
+ ],
10198
+ "required": true,
10199
+ "description": "The sort direction."
10200
+ },
10201
+ {
10202
+ "name": "key",
10203
+ "type": "string",
10204
+ "required": true,
10205
+ "nullable": true,
10206
+ "description": "The sorted column's key; null means no column is sorted."
10207
+ }
10208
+ ],
10209
+ "required": false,
10210
+ "nullable": true,
10211
+ "description": "The sorted column's key and direction; that column's heading announces it."
10212
+ },
10213
+ {
10214
+ "name": "statusLabel",
10215
+ "type": "string",
10216
+ "required": false,
10217
+ "description": "The name of the status column, read by screen readers but not shown.",
10218
+ "default": "Status"
10219
+ }
10220
+ ],
10221
+ "itemsTakeAction": [],
10222
+ "takesAction": [],
10223
+ "source": "@webority/ui-react",
10224
+ "usage": {
10225
+ "when": [
10226
+ "A person enters or corrects several lines of figures in one table, one line at a time.",
10227
+ "Enter and Ctrl+S commit the line; the page decides whether a commit saves at once or with the grid."
10228
+ ],
10229
+ "whenNot": [
10230
+ {
10231
+ "text": "The table only shows records and nothing is typed into it.",
10232
+ "instead": "AppDataTable"
10233
+ },
10234
+ {
10235
+ "text": "One field on a record is edited in place.",
10236
+ "instead": "AppInlineEdit"
10237
+ }
10238
+ ],
10239
+ "do": [
10240
+ {
10241
+ "title": "Save each line as the person leaves it",
10242
+ "note": "Enter saves the line and moves to the next one, so the person never reaches for a save button per line.",
10243
+ "example": [
10244
+ {
10245
+ "component": "AppEntryGrid",
10246
+ "props": {
10247
+ "columns": [
10248
+ {
10249
+ "key": "item",
10250
+ "label": "Item"
10251
+ },
10252
+ {
10253
+ "key": "units",
10254
+ "label": "Units",
10255
+ "kind": "number"
10256
+ }
10257
+ ],
10258
+ "rows": [
10259
+ {
10260
+ "id": "L1",
10261
+ "item": "Blue pens",
10262
+ "units": 48
10263
+ }
10264
+ ]
10265
+ }
10266
+ }
10267
+ ]
10268
+ }
10269
+ ],
10270
+ "dont": [
10271
+ {
10272
+ "title": "Save each line as the person leaves it",
10273
+ "note": "A read-only table with no save path leaves the person's typing with nowhere to go.",
10274
+ "example": [
10275
+ {
10276
+ "component": "AppDataTable",
10277
+ "props": {
10278
+ "columns": [
10279
+ {
10280
+ "key": "item",
10281
+ "label": "Item"
10282
+ },
10283
+ {
10284
+ "key": "units",
10285
+ "label": "Units"
10286
+ }
10287
+ ],
10288
+ "rows": [
10289
+ {
10290
+ "id": "L1",
10291
+ "item": "Blue pens",
10292
+ "units": 48
10293
+ }
10294
+ ]
10295
+ }
10296
+ }
10297
+ ]
10298
+ }
10299
+ ],
10300
+ "a11y": [
10301
+ "The table is named by label, and the active line carries aria-current.",
10302
+ "Each status is a glyph with a visually hidden word, so a saving, saved or failed line is not shown by colour alone.",
10303
+ "A failed line shows its error in an alert region under the line."
10304
+ ],
10305
+ "keyboard": [
10306
+ {
10307
+ "key": "Enter",
10308
+ "does": "Saves the line; the page moves to the next line once the save succeeds.",
10309
+ "notes": "Does nothing inside a text area, a button, or an open menu."
10310
+ },
10311
+ {
10312
+ "key": "Ctrl+S",
10313
+ "does": "Saves the line and keeps the focus on it.",
10314
+ "notes": "Meta+S does the same on a Mac."
10315
+ },
10316
+ {
10317
+ "key": "Escape",
10318
+ "does": "Discards the changes on the line and restores its last saved values.",
10319
+ "notes": "Does nothing inside an open menu."
10320
+ },
10321
+ {
10322
+ "key": "Ctrl+ArrowUp and Ctrl+ArrowDown",
10323
+ "does": "Moves the active line up or down.",
10324
+ "notes": "Does nothing at the first or last line."
10325
+ },
10326
+ {
10327
+ "key": "Ctrl+Delete",
10328
+ "does": "Removes the line; the page deletes it.",
10329
+ "notes": "Only with onRemoveRow; Meta+Backspace does the same on a Mac."
10330
+ },
10331
+ {
10332
+ "key": "Tab and Shift+Tab",
10333
+ "does": "Move between the fields of a line in page order.",
10334
+ "notes": "Never intercepted, so the person can always tab out of the grid."
10335
+ }
10336
+ ]
10337
+ }
10338
+ },
10339
+ {
10340
+ "name": "AppErrorBoundary",
10341
+ "marker": null,
10342
+ "acceptsChildren": true,
10343
+ "props": [
10344
+ {
10345
+ "name": "brand",
10346
+ "type": "node",
10347
+ "required": false,
10348
+ "description": "Shown above the default screen."
10349
+ },
10350
+ {
10351
+ "name": "fallback",
10352
+ "type": "node",
10353
+ "required": false,
10354
+ "description": "What to show after an error. A function receives { error, reset }. Default: the AppRouteError screen with Try again, Reload the page and a home link."
10355
+ },
10356
+ {
10357
+ "name": "homeHref",
10358
+ "type": "url",
10359
+ "required": false,
10360
+ "description": "Where \"Go to the home page\" leads in the default screen.",
10361
+ "default": "/"
10362
+ },
10363
+ {
10364
+ "name": "resetKeys",
10365
+ "type": "array",
10366
+ "required": false,
10367
+ "description": "The boundary clears itself when any item changes, such as the route path."
10368
+ }
10369
+ ],
10370
+ "itemsTakeAction": [],
10371
+ "takesAction": [],
10372
+ "source": "@webority/ui-react",
10373
+ "usage": {
10374
+ "when": [
10375
+ "One page or section may throw while the rest of the app still works.",
10376
+ "A failed section should offer Try again without a full page load."
10377
+ ],
10378
+ "whenNot": [
10379
+ {
10380
+ "text": "The root of the app, where a stale build must reload the page once and the error is logged.",
10381
+ "instead": "ErrorBoundary from @webority/web-core"
10382
+ },
10383
+ {
10384
+ "text": "A router errorElement for a failed route or loader.",
10385
+ "instead": "AppRouteError"
10386
+ },
10387
+ {
10388
+ "text": "A section whose data request failed but nothing threw.",
10389
+ "instead": "AppAsyncBlock"
10390
+ }
10391
+ ],
10392
+ "do": [
10393
+ {
10394
+ "title": "Clear the error on navigation",
10395
+ "note": "Pass resetKeys so moving to another page clears the error.",
10396
+ "example": [
10397
+ {
10398
+ "component": "AppErrorBoundary",
10399
+ "props": {
10400
+ "resetKeys": [
10401
+ "/projects"
10402
+ ]
10403
+ }
10404
+ }
10405
+ ]
10406
+ },
10407
+ {
10408
+ "title": "Never show the error text",
10409
+ "note": "The default screen shows a plain sentence, so internal details stay private.",
10410
+ "example": [
10411
+ {
10412
+ "component": "AppErrorBoundary",
10413
+ "props": {
10414
+ "homeHref": "/dashboard"
10415
+ }
10416
+ }
10417
+ ]
9706
10418
  }
9707
10419
  ],
9708
10420
  "dont": [
@@ -10613,6 +11325,13 @@
10613
11325
  "description": "Replaces the built-in English text, for other languages. {date} is the end date of a date range chip.",
10614
11326
  "default": "Until {date}"
10615
11327
  },
11328
+ {
11329
+ "name": "facetLabels",
11330
+ "type": "boolean",
11331
+ "required": false,
11332
+ "description": "Draws each inline facet's label above its control. The folded Filters panel always shows labels.",
11333
+ "default": false
11334
+ },
10616
11335
  {
10617
11336
  "name": "facets",
10618
11337
  "type": "array",
@@ -10639,6 +11358,18 @@
10639
11358
  "name": "options",
10640
11359
  "type": "array",
10641
11360
  "itemFields": [
11361
+ {
11362
+ "name": "count",
11363
+ "type": "number",
11364
+ "required": false,
11365
+ "description": "A number drawn in the option's segment, such as how many rows it would show. Only an enum facet drawn as segments shows it."
11366
+ },
11367
+ {
11368
+ "name": "icon",
11369
+ "type": "icon",
11370
+ "required": false,
11371
+ "description": "A library icon name drawn in the option's segment. Only an enum facet drawn as segments shows it."
11372
+ },
10642
11373
  {
10643
11374
  "name": "label",
10644
11375
  "type": "string",
@@ -11022,6 +11753,33 @@
11022
11753
  "required": false,
11023
11754
  "description": "Extra class names added to the form element.",
11024
11755
  "default": ""
11756
+ },
11757
+ {
11758
+ "name": "fieldErrors",
11759
+ "type": "object",
11760
+ "required": false,
11761
+ "description": "Field name to message. A field inside the form with that name and no error of its own shows it; one no field claims is drawn at the top of the form.",
11762
+ "default": {}
11763
+ },
11764
+ {
11765
+ "name": "formErrors",
11766
+ "type": "array",
11767
+ "required": false,
11768
+ "description": "Errors that name no field, drawn at the top of the form.",
11769
+ "default": []
11770
+ },
11771
+ {
11772
+ "name": "unsavedChanges",
11773
+ "type": "object",
11774
+ "required": false,
11775
+ "description": "The guard from useUnsavedChanges (@webority/web-core/router); the form asks before a held navigation goes ahead."
11776
+ },
11777
+ {
11778
+ "name": "unsavedChangesMessage",
11779
+ "type": "string",
11780
+ "required": false,
11781
+ "description": "Replaces the question's message.",
11782
+ "default": "Your changes on this page are not saved. If you leave now, they are lost."
11025
11783
  }
11026
11784
  ],
11027
11785
  "itemsTakeAction": [],
@@ -11319,6 +12077,202 @@
11319
12077
  ]
11320
12078
  }
11321
12079
  },
12080
+ {
12081
+ "name": "AppFormulaSteps",
12082
+ "marker": "AppFormulaSteps",
12083
+ "acceptsChildren": false,
12084
+ "props": [
12085
+ {
12086
+ "name": "className",
12087
+ "type": "string",
12088
+ "required": false,
12089
+ "description": "Extra class names added to the list's root element.",
12090
+ "default": ""
12091
+ },
12092
+ {
12093
+ "name": "divideLabel",
12094
+ "type": "string",
12095
+ "required": false,
12096
+ "description": "The word a divide line is read as. Replaces the built-in English text, for other languages.",
12097
+ "default": "divided by"
12098
+ },
12099
+ {
12100
+ "name": "equalLabel",
12101
+ "type": "string",
12102
+ "required": false,
12103
+ "description": "The word an equal line is read as. Replaces the built-in English text, for other languages.",
12104
+ "default": "equals"
12105
+ },
12106
+ {
12107
+ "name": "label",
12108
+ "type": "string",
12109
+ "required": false,
12110
+ "description": "The accessible name of the list.",
12111
+ "default": "Calculation"
12112
+ },
12113
+ {
12114
+ "name": "minusLabel",
12115
+ "type": "string",
12116
+ "required": false,
12117
+ "description": "The word a minus line is read as. Replaces the built-in English text, for other languages.",
12118
+ "default": "minus"
12119
+ },
12120
+ {
12121
+ "name": "plusLabel",
12122
+ "type": "string",
12123
+ "required": false,
12124
+ "description": "The word a plus line is read as. Replaces the built-in English text, for other languages.",
12125
+ "default": "plus"
12126
+ },
12127
+ {
12128
+ "name": "steps",
12129
+ "type": "array",
12130
+ "itemFields": [
12131
+ {
12132
+ "name": "key",
12133
+ "type": "string",
12134
+ "required": false,
12135
+ "description": "The React key of the line. Not shown."
12136
+ },
12137
+ {
12138
+ "name": "label",
12139
+ "type": "string",
12140
+ "required": true,
12141
+ "description": "What the line is, such as the name of the amount."
12142
+ },
12143
+ {
12144
+ "name": "note",
12145
+ "type": "string",
12146
+ "required": false,
12147
+ "description": "A short note under the line, such as a section reference."
12148
+ },
12149
+ {
12150
+ "name": "result",
12151
+ "type": "string",
12152
+ "required": true,
12153
+ "description": "The line's figure, already formatted."
12154
+ },
12155
+ {
12156
+ "name": "sign",
12157
+ "type": "enum",
12158
+ "enum": [
12159
+ "divide",
12160
+ "equal",
12161
+ "minus",
12162
+ "plus",
12163
+ "times"
12164
+ ],
12165
+ "required": false,
12166
+ "description": "The operator before the line. An equal line is the result and is drawn as the total. Unset on the first line."
12167
+ },
12168
+ {
12169
+ "name": "working",
12170
+ "type": "node",
12171
+ "required": false,
12172
+ "description": "The working in words and numbers, shown under the label. A node, so a link can sit in it."
12173
+ }
12174
+ ],
12175
+ "required": false,
12176
+ "description": "The lines of the calculation, top to bottom. The first line has no sign; each later line names its operator.",
12177
+ "default": []
12178
+ },
12179
+ {
12180
+ "name": "timesLabel",
12181
+ "type": "string",
12182
+ "required": false,
12183
+ "description": "The word a times line is read as. Replaces the built-in English text, for other languages.",
12184
+ "default": "times"
12185
+ }
12186
+ ],
12187
+ "itemsTakeAction": [],
12188
+ "takesAction": [],
12189
+ "source": "@webority/ui-react",
12190
+ "usage": {
12191
+ "when": [
12192
+ "Show how a figure on the page is reached, line by line, with the real numbers.",
12193
+ "The server computes the figure and the page only shows it: the lines display that result, and the page does no arithmetic of its own."
12194
+ ],
12195
+ "whenNot": [
12196
+ {
12197
+ "text": "The figures are many rows the user scans, sorts or edits.",
12198
+ "instead": "AppDataTable"
12199
+ },
12200
+ {
12201
+ "text": "The figures are a trend or a comparison shown as a picture.",
12202
+ "instead": "AppChart"
12203
+ },
12204
+ {
12205
+ "text": "The figure is a single value with no working to show.",
12206
+ "instead": "a plain value in the page text"
12207
+ }
12208
+ ],
12209
+ "do": [
12210
+ {
12211
+ "title": "End with the result line",
12212
+ "note": "Give each line the amount it stands for, and end with one equal line for the result.",
12213
+ "example": [
12214
+ {
12215
+ "component": "AppFormulaSteps",
12216
+ "props": {
12217
+ "label": "TDS on a bill",
12218
+ "steps": [
12219
+ {
12220
+ "key": "a",
12221
+ "label": "Bill amount",
12222
+ "result": "₹10,00,000.00"
12223
+ },
12224
+ {
12225
+ "key": "b",
12226
+ "sign": "minus",
12227
+ "label": "TDS",
12228
+ "result": "₹1,000.00"
12229
+ },
12230
+ {
12231
+ "key": "c",
12232
+ "sign": "equal",
12233
+ "label": "Net payable",
12234
+ "result": "₹9,99,000.00"
12235
+ }
12236
+ ]
12237
+ }
12238
+ }
12239
+ ]
12240
+ }
12241
+ ],
12242
+ "dont": [
12243
+ {
12244
+ "title": "End with the result line",
12245
+ "note": "A list of amounts with no equal line leaves the reader to add them up and find the total.",
12246
+ "example": [
12247
+ {
12248
+ "component": "AppFormulaSteps",
12249
+ "props": {
12250
+ "label": "TDS on a bill",
12251
+ "steps": [
12252
+ {
12253
+ "key": "a",
12254
+ "label": "Bill amount",
12255
+ "result": "₹10,00,000.00"
12256
+ },
12257
+ {
12258
+ "key": "b",
12259
+ "sign": "minus",
12260
+ "label": "TDS",
12261
+ "result": "₹1,000.00"
12262
+ }
12263
+ ]
12264
+ }
12265
+ }
12266
+ ]
12267
+ }
12268
+ ],
12269
+ "a11y": [
12270
+ "The lines are an ordered list with an accessible name, so a screen reader announces the count and reads each line in order.",
12271
+ "A screen reader reads each operator as its word, such as minus or times, taken from the sign-word props.",
12272
+ "Each operator glyph is hidden from assistive tech, so the symbol itself is never read out."
12273
+ ]
12274
+ }
12275
+ },
11322
12276
  {
11323
12277
  "name": "AppHoverCard",
11324
12278
  "marker": "AppHoverCard",
@@ -12641,10 +13595,11 @@
12641
13595
  "enum": [
12642
13596
  "lg",
12643
13597
  "md",
12644
- "sm"
13598
+ "sm",
13599
+ "xl"
12645
13600
  ],
12646
13601
  "required": false,
12647
- "description": "The control size: sm, md and lg are 32, 36 and 44px. Md is the default.",
13602
+ "description": "The control size: sm, md, lg and xl are 35, 40, 45 and 50px. Md is the default.",
12648
13603
  "default": "md"
12649
13604
  },
12650
13605
  {
@@ -12676,10 +13631,11 @@
12676
13631
  "name": "variant",
12677
13632
  "type": "enum",
12678
13633
  "enum": [
12679
- "bare"
13634
+ "bare",
13635
+ "underline"
12680
13636
  ],
12681
13637
  "required": false,
12682
- "description": "A borderless look with no border or background, for inline editing."
13638
+ "description": "Bare drops the border and the fill, for inline editing. Underline keeps only a line under the field, which takes the same hover and focus colours as the boxed field."
12683
13639
  }
12684
13640
  ],
12685
13641
  "itemsTakeAction": [],
@@ -12853,7 +13809,8 @@
12853
13809
  "enum": [
12854
13810
  "lg",
12855
13811
  "md",
12856
- "sm"
13812
+ "sm",
13813
+ "xl"
12857
13814
  ],
12858
13815
  "required": false,
12859
13816
  "description": "Height of text add-ons; set the same size on the field and on button add-ons.",
@@ -14215,10 +15172,11 @@
14215
15172
  "enum": [
14216
15173
  "lg",
14217
15174
  "md",
14218
- "sm"
15175
+ "sm",
15176
+ "xl"
14219
15177
  ],
14220
15178
  "required": false,
14221
- "description": "The control size: sm, md or lg.",
15179
+ "description": "The control size: sm, md, lg or xl.",
14222
15180
  "default": "md"
14223
15181
  },
14224
15182
  {
@@ -14432,6 +15390,13 @@
14432
15390
  "description": "How many values sit in a row.",
14433
15391
  "default": 4
14434
15392
  },
15393
+ {
15394
+ "name": "divided",
15395
+ "type": "boolean",
15396
+ "required": false,
15397
+ "description": "Draws the strip as one flush row with a rule between figures from the medium breakpoint up, for a strip inside a flush card.",
15398
+ "default": false
15399
+ },
14435
15400
  {
14436
15401
  "name": "items",
14437
15402
  "type": "array",
@@ -14656,6 +15621,17 @@
14656
15621
  "required": false,
14657
15622
  "description": "The dialog title, shown in the header."
14658
15623
  },
15624
+ {
15625
+ "name": "titleFont",
15626
+ "type": "enum",
15627
+ "enum": [
15628
+ "sans",
15629
+ "serif"
15630
+ ],
15631
+ "required": false,
15632
+ "description": "Face of the title. serif draws it in the display typeface at the 3xl size, weight 500.",
15633
+ "default": "sans"
15634
+ },
14659
15635
  {
14660
15636
  "name": "tone",
14661
15637
  "type": "enum",
@@ -15161,6 +16137,13 @@
15161
16137
  "description": "Extra classes on the input.",
15162
16138
  "default": ""
15163
16139
  },
16140
+ {
16141
+ "name": "controlOnly",
16142
+ "type": "boolean",
16143
+ "required": false,
16144
+ "description": "Draws only the control: no field wrapper, label row or message line. Name it with aria-label, aria-labelledby or a label the page draws, because the component draws none.",
16145
+ "default": false
16146
+ },
15164
16147
  {
15165
16148
  "name": "decreaseLabel",
15166
16149
  "type": "string",
@@ -15316,10 +16299,11 @@
15316
16299
  "enum": [
15317
16300
  "lg",
15318
16301
  "md",
15319
- "sm"
16302
+ "sm",
16303
+ "xl"
15320
16304
  ],
15321
16305
  "required": false,
15322
- "description": "Control size: sm, md or lg (32, 36 or 44px). md is the default.",
16306
+ "description": "Control size: sm, md, lg or xl (35, 40, 45 or 50px). md is the default.",
15323
16307
  "default": "md"
15324
16308
  },
15325
16309
  {
@@ -15370,7 +16354,7 @@
15370
16354
  "dont": [],
15371
16355
  "a11y": [
15372
16356
  "The steppers are labelled Decrease and Increase and stay out of the tab order; keyboard users step with ArrowUp and ArrowDown on the input.",
15373
- "ArrowUp and ArrowDown step the value by step, within min and max.",
16357
+ "ArrowUp and ArrowDown step the value by step, within min and max; with Ctrl, Meta or Alt held they are left to the page.",
15374
16358
  "aria-invalid is set from error, and aria-describedby points at the error or the helper text."
15375
16359
  ]
15376
16360
  }
@@ -16396,7 +17380,8 @@
16396
17380
  "enum": [
16397
17381
  "lg",
16398
17382
  "md",
16399
- "sm"
17383
+ "sm",
17384
+ "xl"
16400
17385
  ],
16401
17386
  "required": false,
16402
17387
  "description": "The control height.",
@@ -16505,7 +17490,7 @@
16505
17490
  },
16506
17491
  {
16507
17492
  "name": "AppPopover",
16508
- "marker": null,
17493
+ "marker": "AppPopover",
16509
17494
  "acceptsChildren": true,
16510
17495
  "props": [
16511
17496
  {
@@ -18233,160 +19218,6 @@
18233
19218
  ]
18234
19219
  }
18235
19220
  },
18236
- {
18237
- "name": "AppResizable",
18238
- "marker": "AppResizable",
18239
- "acceptsChildren": true,
18240
- "props": [
18241
- {
18242
- "name": "className",
18243
- "type": "string",
18244
- "required": false,
18245
- "description": "Extra classes on the group.",
18246
- "default": ""
18247
- },
18248
- {
18249
- "name": "direction",
18250
- "type": "enum",
18251
- "enum": [
18252
- "horizontal",
18253
- "vertical"
18254
- ],
18255
- "required": false,
18256
- "description": "Horizontal puts the panels side by side, vertical stacks them. A vertical group needs a height from its parent.",
18257
- "default": "horizontal"
18258
- },
18259
- {
18260
- "name": "storageKey",
18261
- "type": "string",
18262
- "required": false,
18263
- "description": "Remember the sizes under this name, one per screen."
18264
- },
18265
- {
18266
- "name": "style",
18267
- "type": "object",
18268
- "required": false,
18269
- "description": "Inline style on the group; a vertical group takes its height as --wui-resizable-height."
18270
- }
18271
- ],
18272
- "itemsTakeAction": [],
18273
- "takesAction": [],
18274
- "source": "@webority/ui-react",
18275
- "usage": {
18276
- "when": [
18277
- "A reading pane, editor or preview whose ideal size depends on the person and the task.",
18278
- "Layouts a person returns to: add a storageKey."
18279
- ],
18280
- "whenNot": [
18281
- {
18282
- "text": "A fixed list beside an open item that stacks on phones.",
18283
- "instead": "AppSplitView"
18284
- },
18285
- {
18286
- "text": "Collapsing a region rather than sizing it.",
18287
- "instead": "AppAccordion"
18288
- }
18289
- ],
18290
- "do": [],
18291
- "dont": [],
18292
- "a11y": [
18293
- "Each handle is a keyboard-focusable separator named by its label.",
18294
- "Arrow keys along the axis move it 5%, with Shift 20%; Home and End take the panel before it to its minimum or maximum; a double click restores the default sizes.",
18295
- "The group writes each handle's current size and limits as aria-valuenow, aria-valuemin and aria-valuemax."
18296
- ]
18297
- }
18298
- },
18299
- {
18300
- "name": "AppResizableHandle",
18301
- "marker": "AppResizableHandle",
18302
- "acceptsChildren": false,
18303
- "props": [
18304
- {
18305
- "name": "className",
18306
- "type": "string",
18307
- "required": false,
18308
- "description": "Extra classes on the handle.",
18309
- "default": ""
18310
- },
18311
- {
18312
- "name": "label",
18313
- "type": "string",
18314
- "required": false,
18315
- "description": "Its accessible name. Say what it resizes, such as \"Resize the list\".",
18316
- "default": "Resize panels"
18317
- }
18318
- ],
18319
- "itemsTakeAction": [],
18320
- "takesAction": [],
18321
- "source": "@webority/ui-react",
18322
- "usage": {
18323
- "when": [
18324
- "Between two AppResizablePanels inside an AppResizable, as the divider the person drags."
18325
- ],
18326
- "whenNot": [
18327
- {
18328
- "text": "Outside an AppResizable group: there are no panels for it to resize.",
18329
- "instead": "AppResizable"
18330
- }
18331
- ],
18332
- "do": [],
18333
- "dont": [],
18334
- "a11y": [
18335
- "It is a focusable separator (role separator, one tab stop) named by its label.",
18336
- "Arrow keys, Home and End resize the panel before it against the panel after it, and its current size and limits are announced."
18337
- ]
18338
- }
18339
- },
18340
- {
18341
- "name": "AppResizablePanel",
18342
- "marker": "AppResizablePanel",
18343
- "acceptsChildren": true,
18344
- "props": [
18345
- {
18346
- "name": "className",
18347
- "type": "string",
18348
- "required": false,
18349
- "description": "Extra classes on the panel.",
18350
- "default": ""
18351
- },
18352
- {
18353
- "name": "defaultSize",
18354
- "type": "number",
18355
- "required": false,
18356
- "description": "The starting size in percent. Panels without one share what the sized ones leave."
18357
- },
18358
- {
18359
- "name": "maxSize",
18360
- "type": "number",
18361
- "required": false,
18362
- "description": "The largest the person can make it, in percent. 100 when not set."
18363
- },
18364
- {
18365
- "name": "minSize",
18366
- "type": "number",
18367
- "required": false,
18368
- "description": "The smallest the person can make it, in percent. 10 when not set."
18369
- }
18370
- ],
18371
- "itemsTakeAction": [],
18372
- "takesAction": [],
18373
- "source": "@webority/ui-react",
18374
- "usage": {
18375
- "when": [
18376
- "Inside an AppResizable, one for each region whose size the person can change."
18377
- ],
18378
- "whenNot": [
18379
- {
18380
- "text": "Content that must keep a fixed size beside a resizable region. Place it outside the group."
18381
- }
18382
- ],
18383
- "do": [],
18384
- "dont": [],
18385
- "a11y": [
18386
- "The panel is a plain div with no role or aria attributes; the content inside carries its own semantics."
18387
- ]
18388
- }
18389
- },
18390
19221
  {
18391
19222
  "name": "AppResourceCard",
18392
19223
  "marker": "AppResourceCard",
@@ -18720,120 +19551,7 @@
18720
19551
  "name": "value",
18721
19552
  "type": "string",
18722
19553
  "required": false,
18723
- "description": "The content, in `format`."
18724
- }
18725
- ],
18726
- "itemsTakeAction": [],
18727
- "takesAction": [],
18728
- "source": "@webority/ui-react",
18729
- "usage": {
18730
- "when": [
18731
- "People need bold, links, lists or headings in a note, description or message, and the product stores or shows that formatting.",
18732
- "The value is rendered somewhere later as HTML or Markdown, and you want it clean on the way in."
18733
- ],
18734
- "whenNot": [
18735
- {
18736
- "text": "The value is plain text that may run past a line.",
18737
- "instead": "AppTextarea"
18738
- },
18739
- {
18740
- "text": "The value is a single short line.",
18741
- "instead": "AppInput"
18742
- },
18743
- {
18744
- "text": "The user picks tags or keywords.",
18745
- "instead": "AppSelect mode=\"tag\""
18746
- }
18747
- ],
18748
- "do": [
18749
- {
18750
- "title": "Keep a visible label",
18751
- "note": "A visible label stays put while the user types and is read by screen readers.",
18752
- "example": [
18753
- {
18754
- "component": "AppRichText",
18755
- "props": {
18756
- "label": "Terms",
18757
- "name": "terms-good",
18758
- "helperText": "Shown on the quote."
18759
- }
18760
- }
18761
- ]
18762
- }
18763
- ],
18764
- "dont": [
18765
- {
18766
- "title": "Keep a visible label",
18767
- "note": "A placeholder used as the label vanishes on the first keystroke and fails accessibility.",
18768
- "example": [
18769
- {
18770
- "component": "AppRichText",
18771
- "props": {
18772
- "name": "terms-bad",
18773
- "placeholder": "Terms"
18774
- }
18775
- }
18776
- ]
18777
- }
18778
- ],
18779
- "a11y": [
18780
- "The editor is a group named by ariaLabel, or by the label when it is a string.",
18781
- "The label is tied to the editor by id. Helper text or an error is linked through aria-describedby, and an error also sets aria-invalid.",
18782
- "Required, disabled and read-only are passed to the editor as attributes, and a failed editor load shows a status message."
18783
- ]
18784
- }
18785
- },
18786
- {
18787
- "name": "AppRollingNumber",
18788
- "marker": "AppRollingNumber",
18789
- "acceptsChildren": false,
18790
- "props": [
18791
- {
18792
- "name": "className",
18793
- "type": "string",
18794
- "required": false,
18795
- "description": "Extra classes on the figure.",
18796
- "default": ""
18797
- },
18798
- {
18799
- "name": "decimals",
18800
- "type": "number",
18801
- "required": false,
18802
- "description": "Fraction digits: fixed for `currency` (default 0), the most shown for `number` (default 2) and `percent` (default 1)."
18803
- },
18804
- {
18805
- "name": "duration",
18806
- "type": "number",
18807
- "required": false,
18808
- "description": "How long the roll takes, in milliseconds. It is 600 when left out."
18809
- },
18810
- {
18811
- "name": "format",
18812
- "type": "enum",
18813
- "enum": [
18814
- "currency",
18815
- "number",
18816
- "percent"
18817
- ],
18818
- "required": false,
18819
- "description": "How the figure is written. `currency` is rupees (₹12,55,015); `percent` takes a ratio (0.125 is 12.5%).",
18820
- "default": "number"
18821
- },
18822
- {
18823
- "name": "unit",
18824
- "type": "enum",
18825
- "enum": [
18826
- "paise",
18827
- "rupees"
18828
- ],
18829
- "required": false,
18830
- "description": "What `value` counts, for `currency`. Rupees are used when it is left out."
18831
- },
18832
- {
18833
- "name": "value",
18834
- "type": "stringOrNumber",
18835
- "required": false,
18836
- "description": "The figure. Without a number it shows a hyphen."
19554
+ "description": "The content, in `format`."
18837
19555
  }
18838
19556
  ],
18839
19557
  "itemsTakeAction": [],
@@ -18841,24 +19559,58 @@
18841
19559
  "source": "@webority/ui-react",
18842
19560
  "usage": {
18843
19561
  "when": [
18844
- "A total or count that changes while the person is looking: a cart, a dashboard tile, a live counter."
19562
+ "People need bold, links, lists or headings in a note, description or message, and the product stores or shows that formatting.",
19563
+ "The value is rendered somewhere later as HTML or Markdown, and you want it clean on the way in."
18845
19564
  ],
18846
19565
  "whenNot": [
18847
19566
  {
18848
- "text": "A figure that is set once on load, or a table cell in a long list.",
18849
- "instead": "plain text"
19567
+ "text": "The value is plain text that may run past a line.",
19568
+ "instead": "AppTextarea"
18850
19569
  },
18851
19570
  {
18852
- "text": "A KPI with a label, trend and sparkline.",
18853
- "instead": "AppKpiTile"
19571
+ "text": "The value is a single short line.",
19572
+ "instead": "AppInput"
19573
+ },
19574
+ {
19575
+ "text": "The user picks tags or keywords.",
19576
+ "instead": "AppSelect mode=\"tag\""
19577
+ }
19578
+ ],
19579
+ "do": [
19580
+ {
19581
+ "title": "Keep a visible label",
19582
+ "note": "A visible label stays put while the user types and is read by screen readers.",
19583
+ "example": [
19584
+ {
19585
+ "component": "AppRichText",
19586
+ "props": {
19587
+ "label": "Terms",
19588
+ "name": "terms-good",
19589
+ "helperText": "Shown on the quote."
19590
+ }
19591
+ }
19592
+ ]
19593
+ }
19594
+ ],
19595
+ "dont": [
19596
+ {
19597
+ "title": "Keep a visible label",
19598
+ "note": "A placeholder used as the label vanishes on the first keystroke and fails accessibility.",
19599
+ "example": [
19600
+ {
19601
+ "component": "AppRichText",
19602
+ "props": {
19603
+ "name": "terms-bad",
19604
+ "placeholder": "Terms"
19605
+ }
19606
+ }
19607
+ ]
18854
19608
  }
18855
19609
  ],
18856
- "do": [],
18857
- "dont": [],
18858
19610
  "a11y": [
18859
- "The rolling digits are hidden from assistive technology, and the final value sits next to them as plain text.",
18860
- "A change is not announced on every roll: wrap the figure in your own live region where a change should be announced.",
18861
- "Under reduced motion the figure just changes."
19611
+ "The editor is a group named by ariaLabel, or by the label when it is a string.",
19612
+ "The label is tied to the editor by id. Helper text or an error is linked through aria-describedby, and an error also sets aria-invalid.",
19613
+ "Required, disabled and read-only are passed to the editor as attributes, and a failed editor load shows a status message."
18862
19614
  ]
18863
19615
  }
18864
19616
  },
@@ -19035,89 +19787,157 @@
19035
19787
  }
19036
19788
  },
19037
19789
  {
19038
- "name": "AppRowSwitch",
19039
- "marker": "AppRowSwitch",
19790
+ "name": "AppRowActions",
19791
+ "marker": "AppRowActions",
19040
19792
  "acceptsChildren": false,
19041
19793
  "props": [
19042
19794
  {
19043
- "name": "checked",
19044
- "type": "boolean",
19045
- "required": true,
19046
- "description": "The on or off state the row shows. onToggle receives the next state; the caller owns this value."
19795
+ "name": "className",
19796
+ "type": "string",
19797
+ "required": false,
19798
+ "description": "Extra classes on the row's action group.",
19799
+ "default": ""
19047
19800
  },
19048
19801
  {
19049
- "name": "disabled",
19050
- "type": "boolean",
19051
- "required": false,
19052
- "description": "Locks the switch and dims it.",
19053
- "default": false
19802
+ "name": "items",
19803
+ "type": "array",
19804
+ "itemFields": [
19805
+ {
19806
+ "name": "data",
19807
+ "type": "object",
19808
+ "required": false,
19809
+ "description": "data-* attributes written on the control (the icon button or button and the menu row)."
19810
+ },
19811
+ {
19812
+ "name": "disabled",
19813
+ "type": "boolean",
19814
+ "required": false,
19815
+ "description": "Disables the action in both the icon button and the menu row."
19816
+ },
19817
+ {
19818
+ "name": "disabledReason",
19819
+ "type": "string",
19820
+ "required": false,
19821
+ "description": "Why the action is disabled: joined to the icon button's label as \"Edit: locked\", and shown on the menu row. Needs disabled."
19822
+ },
19823
+ {
19824
+ "name": "href",
19825
+ "type": "string",
19826
+ "required": false,
19827
+ "description": "A plain link, never routed through linkComponent. An action takes to or href, not both."
19828
+ },
19829
+ {
19830
+ "name": "icon",
19831
+ "type": "icon",
19832
+ "required": false,
19833
+ "description": "A library icon name. Without it (and without showLabel) the action is a menu row at every width."
19834
+ },
19835
+ {
19836
+ "name": "iconVariant",
19837
+ "type": "enum",
19838
+ "enum": [
19839
+ "bold",
19840
+ "broken",
19841
+ "bulk",
19842
+ "linear",
19843
+ "outline",
19844
+ "twotone"
19845
+ ],
19846
+ "required": false,
19847
+ "description": "The inline icon's style; the menu row draws the linear glyph."
19848
+ },
19849
+ {
19850
+ "name": "key",
19851
+ "type": "string",
19852
+ "required": true,
19853
+ "description": "Unique within the row's list."
19854
+ },
19855
+ {
19856
+ "name": "label",
19857
+ "type": "string",
19858
+ "required": true,
19859
+ "description": "The icon button's accessible name and tooltip, and the menu row's text."
19860
+ },
19861
+ {
19862
+ "name": "menuOnly",
19863
+ "type": "boolean",
19864
+ "required": false,
19865
+ "description": "Keeps the action in the menu at every width. Not with showLabel."
19866
+ },
19867
+ {
19868
+ "name": "rel",
19869
+ "type": "string",
19870
+ "required": false,
19871
+ "description": "The link's rel. Needs href or to."
19872
+ },
19873
+ {
19874
+ "name": "showLabel",
19875
+ "type": "boolean",
19876
+ "required": false,
19877
+ "description": "From sm up, draws the action as a small labelled button instead of an icon button."
19878
+ },
19879
+ {
19880
+ "name": "target",
19881
+ "type": "enum",
19882
+ "enum": [
19883
+ "_blank",
19884
+ "_self"
19885
+ ],
19886
+ "required": false,
19887
+ "description": "Where an href or to opens. Needs href or to."
19888
+ },
19889
+ {
19890
+ "name": "to",
19891
+ "type": "string",
19892
+ "required": false,
19893
+ "description": "An in-app route, drawn through linkComponent when one is given."
19894
+ },
19895
+ {
19896
+ "name": "tone",
19897
+ "type": "enum",
19898
+ "enum": [
19899
+ "danger"
19900
+ ],
19901
+ "required": false,
19902
+ "description": "tone=\"danger\" marks a destructive action."
19903
+ }
19904
+ ],
19905
+ "required": true,
19906
+ "description": "The row's actions, in order. A list entry; false, null and undefined are skipped, so `canEdit && { ... }` leaves an action out. Each item needs a unique `key`, and onClick, href or to unless it is disabled; onClick may accompany href or to."
19054
19907
  },
19055
19908
  {
19056
- "name": "label",
19909
+ "name": "menuLabel",
19057
19910
  "type": "string",
19058
- "required": true,
19059
- "description": "The accessible name of the switch, read out with its state."
19911
+ "required": false,
19912
+ "description": "The menu trigger's accessible name and tooltip.",
19913
+ "default": "More actions"
19060
19914
  }
19061
19915
  ],
19062
- "itemsTakeAction": [],
19916
+ "itemsTakeAction": [
19917
+ "items"
19918
+ ],
19063
19919
  "takesAction": [],
19064
19920
  "source": "@webority/ui-react",
19065
19921
  "usage": {
19066
19922
  "when": [
19067
- "A setting on one row of a table that saves on its own, such as portal access or auto-reminders.",
19068
- "Each row has its own state and the change must reach the server before the row shows it."
19923
+ "The actions at the end of a table or list row, one list that shows as icon buttons from sm up and as one menu on a phone."
19069
19924
  ],
19070
19925
  "whenNot": [
19071
19926
  {
19072
- "text": "The switch is a page-level setting with no table row.",
19073
- "instead": "AppSwitch"
19074
- },
19075
- {
19076
- "text": "The row action opens several choices.",
19927
+ "text": "A menu that is not a row's own actions.",
19077
19928
  "instead": "AppDropdown"
19078
19929
  },
19079
19930
  {
19080
- "text": "The user submits several rows of settings together.",
19081
- "instead": "AppCheckbox"
19082
- }
19083
- ],
19084
- "do": [
19085
- {
19086
- "title": "Wait for the save before flipping",
19087
- "note": "The row keeps its saved state. The switch shows the next state only after the save resolves.",
19088
- "example": [
19089
- {
19090
- "component": "AppRowSwitch",
19091
- "props": {
19092
- "label": "Portal access",
19093
- "checked": true
19094
- },
19095
- "handlers": [
19096
- "onToggle"
19097
- ]
19098
- }
19099
- ]
19100
- }
19101
- ],
19102
- "dont": [
19103
- {
19104
- "title": "Wait for the save before flipping",
19105
- "note": "A page-level switch in a row has no busy state, so a second flip can race the first save.",
19106
- "example": [
19107
- {
19108
- "component": "AppSwitch",
19109
- "props": {
19110
- "label": "Portal access",
19111
- "defaultChecked": true
19112
- }
19113
- }
19114
- ]
19931
+ "text": "Bulk actions on the selected rows.",
19932
+ "instead": "AppTableToolbar"
19115
19933
  }
19116
19934
  ],
19935
+ "do": [],
19936
+ "dont": [],
19117
19937
  "a11y": [
19118
- "The control is a button with role switch and aria-checked, so a screen reader reads its state.",
19119
- "label is the accessible name, read out with the state.",
19120
- "While a save is pending the switch is busy and disabled, so a second flip cannot race the first."
19938
+ "Each icon button is named by its label and shows it as a tooltip; a disabled one names its disabledReason too.",
19939
+ "The menu trigger is named by menuLabel; Enter or Space opens the menu, arrows move through its rows, and Escape closes it and returns focus to the trigger.",
19940
+ "Below sm only the menu is shown, so every action is reachable by a touch target and by the keyboard."
19121
19941
  ]
19122
19942
  }
19123
19943
  },
@@ -19378,7 +20198,8 @@
19378
20198
  "enum": [
19379
20199
  "lg",
19380
20200
  "md",
19381
- "sm"
20201
+ "sm",
20202
+ "xl"
19382
20203
  ],
19383
20204
  "required": false,
19384
20205
  "description": "Control size around the default."
@@ -19760,6 +20581,30 @@
19760
20581
  "required": false,
19761
20582
  "description": "The name of a library icon shown above the title."
19762
20583
  },
20584
+ {
20585
+ "name": "imageAlt",
20586
+ "type": "string",
20587
+ "required": false,
20588
+ "description": "The text alternative of the image above the title."
20589
+ },
20590
+ {
20591
+ "name": "imageHeight",
20592
+ "type": "number",
20593
+ "required": false,
20594
+ "description": "The image's intrinsic height in px."
20595
+ },
20596
+ {
20597
+ "name": "imageSrc",
20598
+ "type": "string",
20599
+ "required": false,
20600
+ "description": "The URL of an image drawn above the title in place of the icon. Needs imageAlt, imageWidth and imageHeight; do not set icon as well."
20601
+ },
20602
+ {
20603
+ "name": "imageWidth",
20604
+ "type": "number",
20605
+ "required": false,
20606
+ "description": "The image's intrinsic width in px."
20607
+ },
19763
20608
  {
19764
20609
  "name": "key",
19765
20610
  "type": "string",
@@ -19780,7 +20625,7 @@
19780
20625
  }
19781
20626
  ],
19782
20627
  "required": false,
19783
- "description": "The points: a title, a description, a library icon name and an image.",
20628
+ "description": "The points: a title, a description, a library icon name or an image, and a second image for the rows layout.",
19784
20629
  "default": []
19785
20630
  },
19786
20631
  {
@@ -20260,6 +21105,12 @@
20260
21105
  "required": false,
20261
21106
  "description": "The company's name, used as the image's alternative text. Falls back to name, then label."
20262
21107
  },
21108
+ {
21109
+ "name": "caption",
21110
+ "type": "string",
21111
+ "required": false,
21112
+ "description": "A short text under the logo, such as the company's name."
21113
+ },
20263
21114
  {
20264
21115
  "name": "height",
20265
21116
  "type": "number",
@@ -20860,6 +21711,12 @@
20860
21711
  "description": "Tag mode: keep a repeated entry. By default an entry equal to one already chosen, ignoring case, is refused.",
20861
21712
  "default": false
20862
21713
  },
21714
+ {
21715
+ "name": "aria-invalid",
21716
+ "type": "any",
21717
+ "required": false,
21718
+ "description": "Marks the control invalid (aria-invalid) without a field error. A given value wins over the one an error sets, and it draws no field wrapper or message in the bare form."
21719
+ },
20863
21720
  {
20864
21721
  "name": "className",
20865
21722
  "type": "string",
@@ -21256,10 +22113,11 @@
21256
22113
  "enum": [
21257
22114
  "lg",
21258
22115
  "md",
21259
- "sm"
22116
+ "sm",
22117
+ "xl"
21260
22118
  ],
21261
22119
  "required": false,
21262
- "description": "Control size: sm, md or lg (32, 36 or 44px). md is the default.",
22120
+ "description": "Control size: sm, md, lg or xl (35, 40, 45 or 50px). md is the default.",
21263
22121
  "default": "md"
21264
22122
  },
21265
22123
  {
@@ -21590,7 +22448,7 @@
21590
22448
  ],
21591
22449
  "a11y": [
21592
22450
  "The visible label is the control's accessible name; a select with no visible label takes aria-label or aria-labelledby from the caller.",
21593
- "An error sets aria-invalid on the control and is linked by aria-describedby, as is the helper text when there is no error.",
22451
+ "An error sets aria-invalid on the control and is linked by aria-describedby, as is the helper text when there is no error. A caller's aria-invalid takes its place.",
21594
22452
  "required and disabled are passed to the control, and required also draws a required mark in the label."
21595
22453
  ]
21596
22454
  }
@@ -22580,6 +23438,13 @@
22580
23438
  "description": "Leave the job title off the topbar trigger, so it shows the name only. The opened menu still shows it.",
22581
23439
  "default": false
22582
23440
  },
23441
+ {
23442
+ "name": "outlined",
23443
+ "type": "boolean",
23444
+ "required": false,
23445
+ "description": "Draws an always-on outline around the topbar trigger.",
23446
+ "default": false
23447
+ },
22583
23448
  {
22584
23449
  "name": "photo",
22585
23450
  "type": "string",
@@ -23218,6 +24083,17 @@
23218
24083
  "description": "Class applied to the wrapper field element.",
23219
24084
  "default": ""
23220
24085
  },
24086
+ {
24087
+ "name": "grouping",
24088
+ "type": "enum",
24089
+ "enum": [
24090
+ "indian",
24091
+ "none"
24092
+ ],
24093
+ "required": false,
24094
+ "description": "Digit grouping of the value label: indian writes 1,50,000; none writes 150000.",
24095
+ "default": "none"
24096
+ },
23221
24097
  {
23222
24098
  "name": "help",
23223
24099
  "type": "node",
@@ -26279,10 +27155,11 @@
26279
27155
  "enum": [
26280
27156
  "lg",
26281
27157
  "md",
26282
- "sm"
27158
+ "sm",
27159
+ "xl"
26283
27160
  ],
26284
27161
  "required": false,
26285
- "description": "The control size: sm, md or lg.",
27162
+ "description": "The control size: sm, md, lg or xl.",
26286
27163
  "default": "md"
26287
27164
  },
26288
27165
  {
@@ -26710,7 +27587,8 @@
26710
27587
  "enum": [
26711
27588
  "lg",
26712
27589
  "md",
26713
- "sm"
27590
+ "sm",
27591
+ "xl"
26714
27592
  ],
26715
27593
  "required": false,
26716
27594
  "description": "The control height tier, matching AppInput; leave unset for the default height."
@@ -27042,6 +27920,13 @@
27042
27920
  "description": "Extra class on the container element.",
27043
27921
  "default": ""
27044
27922
  },
27923
+ {
27924
+ "name": "closeLabel",
27925
+ "type": "string",
27926
+ "required": false,
27927
+ "description": "The close button's accessible name on every toast, for other languages.",
27928
+ "default": "Close"
27929
+ },
27045
27930
  {
27046
27931
  "name": "maxVisible",
27047
27932
  "type": "number",
@@ -28832,6 +29717,8 @@
28832
29717
  "xxs"
28833
29718
  ],
28834
29719
  "radius": [
29720
+ "2xl",
29721
+ "3xl",
28835
29722
  "lg",
28836
29723
  "md",
28837
29724
  "none",
@@ -29551,6 +30438,8 @@
29551
30438
  "xxs": 2
29552
30439
  },
29553
30440
  "radius": {
30441
+ "2xl": 18,
30442
+ "3xl": 20,
29554
30443
  "lg": 14,
29555
30444
  "md": 10,
29556
30445
  "none": 0,
@@ -31346,6 +32235,16 @@
31346
32235
  "version": "0.164.0",
31347
32236
  "components": [],
31348
32237
  "values": {}
32238
+ },
32239
+ {
32240
+ "version": "0.165.0",
32241
+ "components": [],
32242
+ "values": {}
32243
+ },
32244
+ {
32245
+ "version": "0.167.0",
32246
+ "components": [],
32247
+ "values": {}
31349
32248
  }
31350
32249
  ]
31351
32250
  }