@eifi1/ui-kit 0.52.0 → 0.53.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.
- package/README.md +47 -54
- package/dist/billing/cancel-subscription.d.ts +5 -14
- package/dist/billing/cancel-subscription.js +1 -3
- package/dist/billing/cancel-subscription.js.map +1 -1
- package/dist/billing/plan-card.d.ts +5 -13
- package/dist/billing/plan-card.js +3 -11
- package/dist/billing/plan-card.js.map +1 -1
- package/dist/billing/plan-switch.d.ts +5 -14
- package/dist/billing/plan-switch.js +1 -3
- package/dist/billing/plan-switch.js.map +1 -1
- package/dist/chart.d.ts +3 -14
- package/dist/chart.js +64 -11
- package/dist/chart.js.map +1 -1
- package/dist/components/date-field.d.ts +1 -1
- package/dist/components/date-field.js.map +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/date-range-picker.d.ts +4 -17
- package/dist/components/date-range-picker.js +2 -2
- package/dist/components/date-range-picker.js.map +1 -1
- package/dist/components/nav-pills.d.ts +1 -1
- package/dist/components/nav-pills.js.map +1 -1
- package/dist/components/series-chart-axes.d.ts +1 -1
- package/dist/components/series-chart-axes.js.map +1 -1
- package/dist/components/series-chart.d.ts +64 -19
- package/dist/components/series-chart.js +2 -1
- package/dist/components/series-chart.js.map +1 -1
- package/dist/components/treemap-labels.d.ts +6 -1
- package/dist/components/treemap-labels.js +2 -2
- package/dist/components/treemap-labels.js.map +1 -1
- package/dist/components/treemap.d.ts +29 -4
- package/dist/components/treemap.js +22 -9
- package/dist/components/treemap.js.map +1 -1
- package/dist/data-table.d.ts +1 -6
- package/dist/data-table.js +1 -9
- package/dist/data-table.js.map +1 -1
- package/dist/demo/demo-countdown.d.ts +0 -5
- package/dist/demo/demo-countdown.js +0 -4
- package/dist/demo/demo-countdown.js.map +1 -1
- package/dist/eslint/index.js +1 -1
- package/dist/feedback/feedback-mutation.d.ts +11 -23
- package/dist/feedback/feedback-mutation.js +1 -9
- package/dist/feedback/feedback-mutation.js.map +1 -1
- package/dist/feedback/feedback-public-list.d.ts +1 -6
- package/dist/feedback/feedback-public-list.js +1 -2
- package/dist/feedback/feedback-public-list.js.map +1 -1
- package/dist/feedback/feedback-row-detail-labels.js +0 -8
- package/dist/feedback/feedback-row-detail-labels.js.map +1 -1
- package/dist/feedback/feedback-row-detail.d.ts +3 -50
- package/dist/feedback/feedback-row-detail.js +0 -8
- package/dist/feedback/feedback-row-detail.js.map +1 -1
- package/dist/feedback/feedback-status-undo.d.ts +3 -19
- package/dist/feedback/feedback-status-undo.js.map +1 -1
- package/dist/feedback/feedback-thread.d.ts +0 -9
- package/dist/feedback/feedback-thread.js.map +1 -1
- package/dist/feedback.d.ts +6 -40
- package/dist/feedback.js +88 -46
- package/dist/feedback.js.map +1 -1
- package/dist/i18n/defaults.js +0 -4
- package/dist/i18n/defaults.js.map +1 -1
- package/dist/i18n/german.js +2 -19
- package/dist/i18n/german.js.map +1 -1
- package/dist/i18n/kit-labels.d.ts +5 -14
- package/dist/i18n/kit-labels.js.map +1 -1
- package/dist/i18n/locales/en.js +2 -30
- package/dist/i18n/locales/en.js.map +3 -3
- package/dist/i18n/locales/es.js +2 -19
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.js +2 -19
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hu.js +2 -19
- package/dist/i18n/locales/hu.js.map +1 -1
- package/dist/i18n/locales/it.js +2 -20
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/zh.js +2 -19
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/i18n/review.js +9 -4
- package/dist/i18n/review.js.map +1 -1
- package/dist/i18n/shared-labels.js +0 -1
- package/dist/i18n/shared-labels.js.map +1 -1
- package/dist/index.d.ts +15 -64
- package/dist/index.js +22 -102
- package/dist/index.js.map +1 -1
- package/dist/rhf/fields.d.ts +2 -2
- package/dist/rhf/fields.js.map +1 -1
- package/dist/search/search-index.d.ts +0 -6
- package/dist/search/search-index.js +0 -4
- package/dist/search/search-index.js.map +1 -1
- package/dist/search.d.ts +1 -8
- package/dist/search.js +2 -7
- package/dist/search.js.map +1 -1
- package/dist/shell/account-menu-language.d.ts +7 -21
- package/dist/shell/account-menu-language.js +1 -3
- package/dist/shell/account-menu-language.js.map +1 -1
- package/dist/shell/account-menu-text-size.d.ts +9 -23
- package/dist/shell/account-menu-text-size.js +2 -3
- package/dist/shell/account-menu-text-size.js.map +1 -1
- package/dist/shell/app-shell.d.ts +0 -10
- package/dist/shell/app-shell.js +1 -7
- package/dist/shell/app-shell.js.map +1 -1
- package/dist/shell/company-switcher.d.ts +1 -1
- package/dist/shell/company-switcher.js.map +1 -1
- package/dist/shell/dev-menu.d.ts +1 -1
- package/dist/shell/dev-menu.js.map +1 -1
- package/dist/shell/top-bar-parts-labels.d.ts +1 -1
- package/dist/shell/top-bar-parts-labels.js.map +1 -1
- package/dist/shell.d.ts +7 -29
- package/dist/shell.js +12 -42
- package/dist/shell.js.map +1 -1
- package/dist/sync.d.ts +2 -6
- package/dist/sync.js +2 -15
- package/dist/sync.js.map +1 -1
- package/dist/theme/chart-palette.d.ts +0 -5
- package/dist/theme/chart-palette.js +0 -2
- package/dist/theme/chart-palette.js.map +1 -1
- package/package.json +1 -1
- package/src/billing/cancel-subscription.tsx +5 -16
- package/src/billing/plan-card.tsx +7 -24
- package/src/billing/plan-switch.tsx +5 -16
- package/src/chart.ts +62 -13
- package/src/components/date-field.tsx +1 -1
- package/src/components/date-picker.tsx +0 -1
- package/src/components/date-range-picker.tsx +6 -22
- package/src/components/nav-pills.tsx +1 -1
- package/src/components/series-chart-axes.ts +6 -1
- package/src/components/series-chart.tsx +78 -21
- package/src/components/treemap-labels.ts +11 -3
- package/src/components/treemap.tsx +65 -12
- package/src/data-table.ts +1 -11
- package/src/demo/demo-countdown.ts +3 -8
- package/src/feedback/feedback-mutation.ts +12 -33
- package/src/feedback/feedback-public-list.tsx +1 -7
- package/src/feedback/feedback-row-detail-labels.ts +0 -8
- package/src/feedback/feedback-row-detail.tsx +8 -58
- package/src/feedback/feedback-status-undo.ts +4 -18
- package/src/feedback/feedback-thread.tsx +0 -10
- package/src/feedback.ts +89 -48
- package/src/i18n/defaults.ts +0 -4
- package/src/i18n/german.ts +2 -19
- package/src/i18n/kit-labels.tsx +5 -14
- package/src/i18n/locales/es.ts +2 -19
- package/src/i18n/locales/fr.ts +2 -19
- package/src/i18n/locales/hu.ts +2 -19
- package/src/i18n/locales/it.ts +2 -20
- package/src/i18n/locales/zh.ts +2 -19
- package/src/i18n/review.ts +9 -4
- package/src/i18n/shared-labels.ts +0 -1
- package/src/index.ts +30 -112
- package/src/rhf/fields.tsx +2 -2
- package/src/search/search-index.ts +0 -15
- package/src/search.ts +8 -8
- package/src/shell/account-menu-language.tsx +7 -27
- package/src/shell/account-menu-text-size.tsx +13 -32
- package/src/shell/app-shell.tsx +0 -13
- package/src/shell/company-switcher.tsx +1 -1
- package/src/shell/dev-menu.tsx +1 -1
- package/src/shell/top-bar-parts-labels.ts +1 -1
- package/src/shell.ts +17 -44
- package/src/sync.ts +2 -15
- package/src/theme/chart-palette.ts +0 -2
- package/tokens.css +4 -4
- package/dist/billing/dialog-close.d.ts +0 -29
- package/dist/billing/dialog-close.js +0 -8
- package/dist/billing/dialog-close.js.map +0 -1
- package/dist/components/field-sync-labels.d.ts +0 -3
- package/dist/components/field-sync-labels.js +0 -12
- package/dist/components/field-sync-labels.js.map +0 -1
- package/dist/components/field-sync.d.ts +0 -186
- package/dist/components/field-sync.js +0 -269
- package/dist/components/field-sync.js.map +0 -1
- package/dist/components/section-nav.d.ts +0 -44
- package/dist/components/section-nav.js +0 -33
- package/dist/components/section-nav.js.map +0 -1
- package/dist/components/sign-chip-labels.d.ts +0 -3
- package/dist/components/sign-chip-labels.js +0 -11
- package/dist/components/sign-chip-labels.js.map +0 -1
- package/dist/components/sign-chip.d.ts +0 -77
- package/dist/components/sign-chip.js +0 -47
- package/dist/components/sign-chip.js.map +0 -1
- package/dist/lib/isin.d.ts +0 -38
- package/dist/lib/isin.js +0 -36
- package/dist/lib/isin.js.map +0 -1
- package/dist/shell/role-switcher.d.ts +0 -28
- package/dist/shell/role-switcher.js +0 -31
- package/dist/shell/role-switcher.js.map +0 -1
- package/src/billing/dialog-close.ts +0 -34
- package/src/components/field-sync-labels.ts +0 -14
- package/src/components/field-sync.tsx +0 -504
- package/src/components/section-nav.tsx +0 -72
- package/src/components/sign-chip-labels.ts +0 -13
- package/src/components/sign-chip.tsx +0 -133
- package/src/lib/isin.ts +0 -72
- package/src/shell/role-switcher.tsx +0 -53
package/README.md
CHANGED
|
@@ -578,7 +578,7 @@ columns, strings and permissions (see the note at the top of `src/feedback/feedb
|
|
|
578
578
|
|
|
579
579
|
<!-- BEGIN GENERATED: exports — node scripts/gen-export-inventory.mjs -->
|
|
580
580
|
|
|
581
|
-
**
|
|
581
|
+
**2129 names from 358 modules** in the main barrel — 961 values and 1168 types — and 187 more in 16 standalone entries. _Italic_ is a type-only export.
|
|
582
582
|
|
|
583
583
|
Generated from `dist/index.d.ts` and each standalone entry's own `.d.ts` by
|
|
584
584
|
`node scripts/gen-export-inventory.mjs`; the counts are pinned by
|
|
@@ -586,14 +586,14 @@ Generated from `dist/index.d.ts` and each standalone entry's own `.d.ts` by
|
|
|
586
586
|
|
|
587
587
|
| Entry point | Names |
|
|
588
588
|
|---|---|
|
|
589
|
-
| `@eifi1/ui-kit` |
|
|
590
|
-
| `@eifi1/ui-kit/chart` |
|
|
591
|
-
| `@eifi1/ui-kit/shell` |
|
|
592
|
-
| `@eifi1/ui-kit/data-table` |
|
|
589
|
+
| `@eifi1/ui-kit` | 2129 |
|
|
590
|
+
| `@eifi1/ui-kit/chart` | 99 |
|
|
591
|
+
| `@eifi1/ui-kit/shell` | 106 |
|
|
592
|
+
| `@eifi1/ui-kit/data-table` | 55 |
|
|
593
593
|
| `@eifi1/ui-kit/wizard` | 25 |
|
|
594
594
|
| `@eifi1/ui-kit/tour` | 49 |
|
|
595
|
-
| `@eifi1/ui-kit/feedback` |
|
|
596
|
-
| `@eifi1/ui-kit/search` |
|
|
595
|
+
| `@eifi1/ui-kit/feedback` | 194 |
|
|
596
|
+
| `@eifi1/ui-kit/search` | 20 |
|
|
597
597
|
| `@eifi1/ui-kit/dates` | 22 |
|
|
598
598
|
| `@eifi1/ui-kit/table-text` | 14 |
|
|
599
599
|
| `@eifi1/ui-kit/currencies` | 3 |
|
|
@@ -602,7 +602,7 @@ Generated from `dist/index.d.ts` and each standalone entry's own `.d.ts` by
|
|
|
602
602
|
| `@eifi1/ui-kit/testing/react` | 2 |
|
|
603
603
|
| `@eifi1/ui-kit/rhf` | 48 |
|
|
604
604
|
| `@eifi1/ui-kit/offline` | 33 |
|
|
605
|
-
| `@eifi1/ui-kit/sync` |
|
|
605
|
+
| `@eifi1/ui-kit/sync` | 36 |
|
|
606
606
|
| `@eifi1/ui-kit/sync/testing` | 3 |
|
|
607
607
|
| `@eifi1/ui-kit/push-worker` | 10 |
|
|
608
608
|
| `@eifi1/ui-kit/i18n/de-CH` | 2 |
|
|
@@ -635,10 +635,8 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
635
635
|
| `lib/translation-review` | `DEFAULT_TRANSLATION_REVIEW_FILTER`, `DEFAULT_TRANSLATION_REVIEW_SWIPE`, `dropReviews`, `filterTranslationRows`, `flattenStrings`, `fromApiReview`, `groupTranslationRows`, `keyInArea`, `keyInAreas`, `keyNamespace`, `mergeReviews`, `placeholderMismatch`, `placeholderTokens`, `REVIEW_STATUSES`, `reviewAreaOf`, `reviewStatus`, `reviewUndo`, `reviewWrite`, `summariseRows`, `toApiWrite`, `TRANSLATION_REVIEW_SWIPE_ACTIONS`, `translationCorrections`, `translationReviewSwipePlan`, `translationRows`, `unreviewedRows`, _`ApiTranslationReview`_, _`ApiTranslationReviewsResponse`_, _`ApiTranslationReviewWrite`_, _`ReviewStatus`_, _`TranslationCorrection`_, _`TranslationReview`_, _`TranslationReviewFilter`_, _`TranslationReviewKey`_, _`TranslationReviewSwipeAction`_, _`TranslationReviewSwipeBinding`_, _`TranslationReviewUndo`_, _`TranslationReviewWrite`_, _`TranslationRow`_, _`TranslationRowGroup`_, _`TranslationRowsInput`_, _`TranslationSummary`_, _`TranslationVerdict`_ |
|
|
636
636
|
| `lib/countries` | `COUNTRY_CODES`, `countryName` |
|
|
637
637
|
| `lib/iban` | `compactIban`, `formatIban`, `IBAN_LENGTHS`, `ibanCheckDigits`, `ibanProblem`, `isQrIban`, `isValidIban`, _`IbanKind`_, _`IbanProblem`_ |
|
|
638
|
-
| `lib/isin` | `formatIsin`, `isinCheckDigit`, `isValidIsin` |
|
|
639
638
|
| `lib/phone` | `formatNationalPhone`, `formatPhone`, `isE164`, `parsePhone`, `PHONE_COUNTRIES`, `PHONE_DIAL_CODES`, _`ParsedPhone`_, _`PhoneCountry`_, _`PhoneCountryCode`_ |
|
|
640
639
|
| `lib/column-mapping` | `assignColumnRole`, `guessMapping`, `missingRoles`, `readMappedTable`, `readTextFile`, `roleOfColumn`, _`ColumnMapperResult`_, _`ColumnMapping`_, _`ColumnRole`_ |
|
|
641
|
-
| `lib/clipboard-minus` | `asciiMinusInNumbers` |
|
|
642
640
|
| `lib/document-title` | `DEFAULT_DOCUMENT_TITLE_FORMAT`, `formatDocumentTitle`, _`DocumentTitleParts`_ |
|
|
643
641
|
| `lib/status-tone` | `STATUS_KINDS`, `statusTone`, _`StatusKind`_, _`StatusTone`_ |
|
|
644
642
|
| `lib/date-format` | `DATE_FORMAT_PREFERENCES`, `dateFormatSample`, `dateFormatterFor`, `formatDateTimeWithPreference`, `formatDateWithPreference`, `isDateFormatPreference`, `resolveDateFormat`, _`DateFormatOptions`_, _`DateFormatPreference`_, _`ResolvedDateFormat`_ |
|
|
@@ -686,7 +684,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
686
684
|
| `theme/palette-store` | `applyPersistedPalette`, `createPaletteStore`, _`PaletteStore`_ |
|
|
687
685
|
| `theme/text-size` | `applyPersistedTextSize`, `applyTextSize`, `createTextSizeStore`, `isTextSize`, `readPersistedTextSize`, `readTextSize`, `resolveTextSize`, `TEXT_SCALE`, `TEXT_SIZE_INLINE_SCRIPT`, `TEXT_SIZES`, `useTextSize`, _`ApplyTextSizeOptions`_, _`PersistedAppearanceOptions`_, _`PersistedTextSize`_, _`TextSize`_, _`TextSizeInfo`_, _`TextSizeState`_, _`TextSizeStore`_ |
|
|
688
686
|
| `theme/contrast` | `applyContrast`, `applyPersistedContrast`, `CONTRAST_MODES`, `contrastLevel`, `createContrastStore`, `isContrastMode`, `prefersMoreContrast`, `readContrastLevel`, `readPersistedContrast`, `resolveContrastMode`, _`ApplyContrastOptions`_, _`ContrastLevel`_, _`ContrastMode`_, _`ContrastState`_, _`ContrastStore`_, _`PersistedContrast`_ |
|
|
689
|
-
| `theme/chart-palette` | `CHART_COLORS`, `
|
|
687
|
+
| `theme/chart-palette` | `CHART_COLORS`, `CHART_MUTED_HEX`, `CHART_ROLES`, `chartEdge`, `CVD_ORDER`, `HEATMAP_HEX`, `lerpHex`, `PALETTE_HEX`, `PALETTE_SIZE`, `paletteFor`, `textOn`, _`HeatStops`_, _`PaletteForOptions`_ |
|
|
690
688
|
|
|
691
689
|
### i18n
|
|
692
690
|
|
|
@@ -735,7 +733,6 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
735
733
|
| `components/tooltip` | `placeTooltip`, `Tooltip`, _`TooltipPlacement`_, _`TooltipProps`_, _`TooltipSide`_, _`TooltipSize`_, _`TooltipTap`_, _`TooltipViewport`_ |
|
|
736
734
|
| `components/user-avatar` | `avatarInitials`, `UserAvatar`, _`UserAvatarBadge`_, _`UserAvatarProps`_ |
|
|
737
735
|
| `components/settings-fields` | `ContrastSetting`, `LanguageSetting`, `TextSizeSetting`, `ThemeSetting`, _`ContrastSettingProps`_, _`LanguageSettingProps`_, _`TextSizeSettingProps`_, _`ThemeSettingProps`_, _`ThemeSettingSelectProps`_, _`ThemeSettingToggleProps`_ |
|
|
738
|
-
| `components/field-sync` | `DEFAULT_FIELD_SYNC_LABELS`, `FIELD_SYNC_FRAME`, `FIELD_SYNC_SAVED_MS`, `FieldSyncIndicator`, `FieldSyncRow`, `useFieldSync`, _`FieldSyncIndicatorProps`_, _`FieldSyncLabels`_, _`FieldSyncRowProps`_, _`FieldSyncState`_, _`UseFieldSyncOptions`_, _`UseFieldSyncReturn`_ |
|
|
739
736
|
| `components/month-picker` | `DEFAULT_MONTH_PICKER_LABELS`, `MonthPicker`, _`MonthPickerLabels`_, _`MonthPickerProps`_ |
|
|
740
737
|
| `components/checkbox` | `Checkbox`, _`CheckboxProps`_ |
|
|
741
738
|
| `components/switch` | `Switch`, _`SwitchProps`_, _`SwitchSize`_ |
|
|
@@ -763,10 +760,10 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
763
760
|
| `components/chart` | `ChartContainer`, `ChartLegend`, `ChartLegendContent`, `ChartTooltip`, `ChartTooltipContent`, `useChart`, _`ChartConfig`_, _`ChartSeriesConfig`_ |
|
|
764
761
|
| `components/treemap` | `fitLabel`, `Treemap`, `TreemapCell`, _`TreemapCellProps`_, _`TreemapEdges`_, _`TreemapNode`_, _`TreemapProps`_ |
|
|
765
762
|
| `components/treemap-labels` | `DEFAULT_TREEMAP_LABELS`, _`TreemapLabels`_ |
|
|
766
|
-
| `components/series-chart` | `
|
|
763
|
+
| `components/series-chart` | `SeriesChart`, `seriesLegendEntries`, `StaticSeriesChart`, _`SeriesChartAxis`_, _`SeriesChartHit`_, _`SeriesChartMarker`_, _`SeriesChartPoint`_, _`SeriesChartProps`_, _`SeriesChartReference`_, _`SeriesChartRow`_, _`SeriesChartSeries`_, _`SeriesChartSpan`_, _`SeriesChartTickValues`_, _`SeriesChartTone`_, _`SeriesChartTooltip`_, _`SeriesChartTooltipPlacement`_, _`SeriesChartType`_, _`SeriesChartX`_, _`SeriesChartXTick`_, _`SeriesChartXValue`_, _`SeriesLegendAxes`_ |
|
|
767
764
|
| `components/chart-height` | _`ChartHeight`_ |
|
|
768
765
|
| `components/chart-zoom-core` | `SharedXZoom`, _`ZoomAxes`_, _`ZoomAxesSetting`_, _`ZoomBinding`_, _`ZoomDrag`_, _`ZoomFitSeries`_, _`ZoomFitSource`_, _`ZoomRow`_, _`ZoomSelection`_, _`ZoomState`_, _`ZoomTarget`_ |
|
|
769
|
-
| `components/toggle-legend` | `LegendColumn`, `LegendGroup`, `StaticLegend`, `STEP_DASH`, `
|
|
766
|
+
| `components/toggle-legend` | `LegendColumn`, `LegendGroup`, `StaticLegend`, `STEP_DASH`, `strokeDash`, `toggleHidden`, `ToggleLegend`, _`LegendEntry`_, _`StaticLegendProps`_, _`ToggleLegendProps`_ |
|
|
770
767
|
| `components/facing-pair` | `FACING_SIDES`, `facingAxes`, `facingBand`, `facingHeadingPad`, _`FacingSide`_ |
|
|
771
768
|
| `components/series-chart-labels` | `DEFAULT_SERIES_CHART_LABELS`, _`SeriesChartLabels`_ |
|
|
772
769
|
| `components/pie-chart` | `PieChart`, _`PieChartProps`_, _`PieChartSlice`_ |
|
|
@@ -775,7 +772,6 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
775
772
|
| `components/alert-banner` | `AlertBanner`, `alertFrameClass`, `toneFrameClass`, _`AlertBannerProps`_, _`AlertSize`_, _`AlertTone`_ |
|
|
776
773
|
| `components/toggle-group` | `ToggleGroup`, _`ToggleGroupBaseProps`_, _`ToggleGroupClearableProps`_, _`ToggleGroupProps`_, _`ToggleGroupRequiredProps`_, _`ToggleOption`_ |
|
|
777
774
|
| `components/nav-pills` | `NavPills`, _`NavPillItem`_, _`NavPillLinkProps`_, _`NavPillsCurrent`_, _`NavPillsProps`_ |
|
|
778
|
-
| `components/section-nav` | `SectionNav`, _`SectionNavProps`_ |
|
|
779
775
|
| `components/chip` | `Chip`, _`ChipHue`_, _`ChipLinkProps`_, _`ChipProps`_, _`ChipShape`_, _`ChipSize`_, _`ChipTone`_, _`ChipVariant`_ |
|
|
780
776
|
| `components/chip-input` | `ChipInput`, `DEFAULT_CHIP_INPUT_LABELS`, _`ChipInputLabels`_, _`ChipInputProps`_ |
|
|
781
777
|
| `components/wizard-stepper` | `WizardStepper` |
|
|
@@ -785,12 +781,12 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
785
781
|
| `components/grouped-picker` | `GroupedPicker`, _`GroupedPickerProps`_, _`PickerGroup`_ |
|
|
786
782
|
| `components/file-dropzone` | `FileDropzone`, _`FileDropzoneProps`_, _`FileDropzoneRejectionFeedback`_, _`FileDropzoneState`_ |
|
|
787
783
|
| `components/mini-calendar` | `DEFAULT_MINI_CALENDAR_LABELS`, `MiniCalendar`, _`MiniCalendarDayState`_, _`MiniCalendarLabels`_, _`MiniCalendarProps`_, _`WeekDay`_ |
|
|
788
|
-
| `components/calendar-heatmap` | `CalendarHeatmap`, `DEFAULT_CALENDAR_HEATMAP_LABELS`, `
|
|
784
|
+
| `components/calendar-heatmap` | `CalendarHeatmap`, `DEFAULT_CALENDAR_HEATMAP_LABELS`, `heatmapWindowEnd`, _`CalendarHeatmapDatum`_, _`CalendarHeatmapDay`_, _`CalendarHeatmapLabels`_, _`CalendarHeatmapProps`_ |
|
|
789
785
|
| `components/date-picker` | `DatePicker`, _`DatePickerProps`_ |
|
|
790
786
|
| `components/tree-view` | `TreeRow`, `TreeView`, _`TreeItemState`_, _`TreeNode`_, _`TreeRowProps`_, _`TreeViewProps`_ |
|
|
791
787
|
| `components/description-list` | `DEFAULT_DESCRIPTION_LIST_LABELS`, `DescriptionItem`, `DescriptionList`, _`DescriptionItemProps`_, _`DescriptionListColumns`_, _`DescriptionListDensity`_, _`DescriptionListLabels`_, _`DescriptionListLayout`_, _`DescriptionListProps`_ |
|
|
792
788
|
| `components/form-actions` | `DEFAULT_FORM_ACTIONS_LABELS`, `FormActions`, _`FormActionsAlign`_, _`FormActionsDestructive`_, _`FormActionsLabels`_, _`FormActionsPlacement`_, _`FormActionsProps`_, _`FormActionsStack`_, _`FormActionsStickyWithin`_, _`FormActionsSubmitProps`_, _`FormActionsSubmitShortcut`_, _`ResponsiveFormActionsPlacement`_ |
|
|
793
|
-
| `components/write-lock` | `COMMIT_EXCEPT_BILLING`, `COMMIT_EXCEPT_OFFLINE`, `DEFAULT_WRITE_LOCK_LABELS`, `
|
|
789
|
+
| `components/write-lock` | `COMMIT_EXCEPT_BILLING`, `COMMIT_EXCEPT_OFFLINE`, `DEFAULT_WRITE_LOCK_LABELS`, `useOfflineWriteLock`, `useWriteLock`, `writeLockFor`, `WriteLockProvider`, _`CommitScope`_, _`WriteLock`_, _`WriteLockHold`_, _`WriteLockKind`_, _`WriteLockLabels`_, _`WriteLockProviderProps`_ |
|
|
794
790
|
| `components/account-chips` | `ACCOUNT_STATE_TONES`, `AccountRoleChip`, `AccountStateChip`, `dateColumn`, `DateMark`, `DEFAULT_ACCOUNT_STATE_LABELS`, `RoleChip`, _`AccountRoleChipProps`_, _`AccountState`_, _`AccountStateChipProps`_, _`AccountStateLabels`_, _`DateColumnOptions`_, _`DateMarkProps`_, _`RoleChipProps`_, _`RoleDefinition`_, _`RoleVocabulary`_ |
|
|
795
791
|
| `components/server-wake` | `DEFAULT_SERVER_WAKE_LABELS`, `ServerWakeNotice`, `useServerWakeStage`, _`ServerWakeLabels`_, _`ServerWakeNoticeProps`_ |
|
|
796
792
|
| `components/share-card` | `DEFAULT_SHARE_CARD_LABELS`, `ShareCard`, `ShareDialog`, `SharePanel`, _`ShareAddRequest`_, _`ShareCandidate`_, _`ShareCardLabels`_, _`ShareCardProps`_, _`ShareDialogProps`_, _`ShareGrantee`_, _`SharePanelProps`_, _`SharePendingGrant`_, _`ShareRole`_ |
|
|
@@ -803,7 +799,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
803
799
|
| `components/error-boundary` | `crashFingerprint`, `DEFAULT_ERROR_BOUNDARY_LABELS`, `describeThrown`, `ErrorBoundary`, `formatCrashReport`, `isChunkLoadError`, _`CrashReport`_, _`CrashReportResult`_, _`ErrorBoundaryDetails`_, _`ErrorBoundaryFallbackProps`_, _`ErrorBoundaryLabels`_, _`ErrorBoundaryProps`_ |
|
|
804
800
|
| `components/copy-button` | `CopyButton`, `DEFAULT_COPY_BUTTON_LABELS`, _`CopyButtonLabels`_, _`CopyButtonProps`_ |
|
|
805
801
|
| `components/authed-image` | `AuthedImage`, `DEFAULT_AUTHED_IMAGE_LABELS`, _`AuthedImageLabels`_, _`AuthedImageProps`_ |
|
|
806
|
-
| `components/image-grid` | `DEFAULT_IMAGE_GRID_LABELS`, `ImageGrid`,
|
|
802
|
+
| `components/image-grid` | `DEFAULT_IMAGE_GRID_LABELS`, `ImageGrid`, _`ImageGridLabels`_, _`ImageGridProps`_ |
|
|
807
803
|
| `components/lightbox` | `DEFAULT_LIGHTBOX_LABELS`, `imageItemKind`, `Lightbox`, _`ImageItem`_, _`ImageItemKind`_, _`LightboxLabels`_, _`LightboxProps`_ |
|
|
808
804
|
| `components/button-group` | `ButtonGroup`, `ButtonGroupLink`, _`ButtonGroupLinkProps`_, _`ButtonGroupLinkRenderProps`_, _`ButtonGroupProps`_ |
|
|
809
805
|
| `components/table` | `NUMERIC_CELL_CLASS`, `Table`, `TableBody`, `TableCaption`, `TableCell`, `TableEmpty`, `TableFoot`, `TableHead`, `TableHeaderCell`, `TableRow`, _`TableAlign`_, _`TableBodyProps`_, _`TableCaptionProps`_, _`TableCellProps`_, _`TableDensity`_, _`TableEmptyProps`_, _`TableFootProps`_, _`TableHeaderCellProps`_, _`TableHeaderCellSize`_, _`TableHeaderCellWeight`_, _`TableHeadProps`_, _`TableLayout`_, _`TableProps`_, _`TableRowProps`_, _`TableRowVariant`_, _`TableVAlign`_ |
|
|
@@ -816,19 +812,18 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
816
812
|
| `components/page-header` | `PageHeader`, _`PageHeaderActionsAlign`_, _`PageHeaderMobileLayout`_, _`PageHeaderProps`_, _`PageHeaderSize`_ |
|
|
817
813
|
| `components/breadcrumbs` | `Breadcrumbs`, `DEFAULT_BREADCRUMBS_LABELS`, _`BreadcrumbItem`_, _`BreadcrumbLinkProps`_, _`BreadcrumbsLabels`_, _`BreadcrumbsProps`_ |
|
|
818
814
|
| `components/text-link` | `TextLink`, _`TextLinkCurrent`_, _`TextLinkProps`_, _`TextLinkRenderProps`_, _`TextLinkTone`_, _`TextLinkUnderline`_ |
|
|
819
|
-
| `components/toast` | `DEFAULT_TOAST_LABELS`, `toast`, `
|
|
815
|
+
| `components/toast` | `DEFAULT_TOAST_LABELS`, `toast`, `Toaster`, _`ToastAction`_, _`ToasterOffset`_, _`ToasterProps`_, _`ToastId`_, _`ToastLabels`_, _`ToastOptions`_, _`ToastPosition`_, _`ToastPromiseOptions`_, _`ToastRedoOptions`_, _`ToastSwipeDirection`_, _`ToastUndoOptions`_ |
|
|
820
816
|
| `components/translation-review` | `TranslationReviewPanel`, _`TranslationReviewGroupBy`_, _`TranslationReviewOrigin`_, _`TranslationReviewPanelProps`_, _`TranslationReviewSaveInfo`_ |
|
|
821
817
|
| `components/legal` | `DEFAULT_LEGAL_LABELS`, `LEGAL_HREFS`, `LegalFooter`, `LegalLayout`, `LegalLinks`, `legalOperatorText`, `LegalSection`, `useLegalLabels`, _`LegalDisclaimerSectionLabels`_, _`LegalFooterProps`_, _`LegalFramedSectionLabels`_, _`LegalInfoPageKey`_, _`LegalLabels`_, _`LegalLayoutProps`_, _`LegalLink`_, _`LegalLinksProps`_, _`LegalOperator`_, _`LegalOperatorSectionLabels`_, _`LegalOperatorText`_, _`LegalPageKey`_, _`LegalSectionProps`_, _`LegalTextSectionLabels`_ |
|
|
822
818
|
| `components/legal-page` | `LEGAL_SKELETON`, `LegalAcceptCheckbox`, `LegalKitSection`, `LegalPage`, _`LegalAcceptCheckboxProps`_, _`LegalDisclaimerVariant`_, _`LegalKitSectionKey`_, _`LegalKitSectionProps`_, _`LegalPageProps`_, _`LegalSectionOwner`_, _`LegalSkeletonEntry`_, _`LegalSkeletonPage`_ |
|
|
823
819
|
| `components/appearance-labels` | `DEFAULT_APPEARANCE_LABELS`, `useAppearanceLabels`, _`AppearanceLabels`_ |
|
|
824
820
|
| `components/date-format-setting` | `DateFormatSetting`, _`DateFormatSettingProps`_ |
|
|
825
|
-
| `components/row-actions` | `DEFAULT_ROW_ACTIONS_LABELS`, `ROW_ACTIONS_CELL_CLASS`, `
|
|
821
|
+
| `components/row-actions` | `DEFAULT_ROW_ACTIONS_LABELS`, `ROW_ACTIONS_CELL_CLASS`, `RowActions`, `rowActionsColumn`, `RowActionsHead`, _`RowAction`_, _`RowActionConfirm`_, _`RowActionList`_, _`RowActionsCollapse`_, _`RowActionsColumnOptions`_, _`RowActionsHeadProps`_, _`RowActionsLabels`_, _`RowActionsProps`_, _`RowActionsSize`_, _`RowActionTone`_ |
|
|
826
822
|
| `components/checkbox-group` | `CheckboxGroup`, _`CheckboxGroupLegendVisibility`_, _`CheckboxGroupOption`_, _`CheckboxGroupProps`_ |
|
|
827
823
|
| `components/one-time-code-input` | `OneTimeCodeInput`, _`OneTimeCodeInputProps`_ |
|
|
828
824
|
| `components/language-select` | `LanguageSelect`, _`LanguageSelectProps`_ |
|
|
829
825
|
| `components/tile-radio` | `TILE_SIZE`, `TileRadioGroup`, _`TileItem`_, _`TileRadioGroupProps`_, _`TileSize`_ |
|
|
830
826
|
| `components/inline-edit-field` | `DEFAULT_INLINE_EDIT_LABELS`, `InlineEditField`, _`InlineEditFieldProps`_, _`InlineEditLabels`_, _`InlineEditorProps`_ |
|
|
831
|
-
| `components/sign-chip` | `DEFAULT_SIGN_CHIP_LABELS`, `SignChip`, _`SignChipLabels`_, _`SignChipProps`_ |
|
|
832
827
|
| `components/country-select` | `CountrySelect`, `DEFAULT_COUNTRY_SELECT_LABELS`, _`CountrySelectLabels`_, _`CountrySelectProps`_ |
|
|
833
828
|
| `components/iban-input` | `DEFAULT_IBAN_INPUT_LABELS`, `IbanInput`, _`IbanInputLabels`_, _`IbanInputProps`_ |
|
|
834
829
|
| `components/phone-input` | `DEFAULT_PHONE_INPUT_LABELS`, `PhoneInput`, _`PhoneInputLabels`_, _`PhoneInputProps`_ |
|
|
@@ -840,21 +835,20 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
840
835
|
| `components/data-table-pagination` | `PAGE_SIZE_OPTIONS`, `Pagination` |
|
|
841
836
|
| `components/data-table-filter-popover` | `FilterPopover` |
|
|
842
837
|
| `components/data-table` | `DataTable`, `DEFAULT_DATA_TABLE_SORT_LABELS`, _`DataTableCellProps`_, _`DataTableChrome`_, _`DataTableColumn`_, _`DataTableDensity`_, _`DataTableDesktopSwipeActions`_, _`DataTableHeadProps`_, _`DataTableProps`_, _`DataTableRowAction`_, _`DataTableSortLabels`_, _`FilterState`_, _`MobileSwipeActions`_, _`ServerPagination`_ |
|
|
843
|
-
| `components/data-table-row-actions` | `swipePlanRowActions` |
|
|
844
838
|
| `components/data-table-groups` | _`DataTableGroupBy`_, _`DataTableLoadMore`_ |
|
|
845
839
|
| `components/data-table-virtual` | _`DataTableVirtualize`_ |
|
|
846
840
|
| `components/data-table-cells` | `booleanColumn`, `BooleanMark`, _`BooleanColumnOptions`_, _`BooleanMarkProps`_ |
|
|
847
|
-
| `components/use-table-state` | `
|
|
841
|
+
| `components/use-table-state` | `useTableUrlState`, _`TableUrlState`_, _`TableUrlStateProps`_, _`TableUrlSync`_, _`UseTableUrlStateOptions`_, _`UseTableUrlStateReturn`_ |
|
|
848
842
|
| `components/translation-review-editor` | `TranslationReviewEditor`, _`TranslationReviewEditorProps`_ |
|
|
849
843
|
| `components/translation-review-parts` | `REVIEW_STATUS_TONES`, `ReviewStatusChip`, `TranslationExportButton`, `TranslationLocaleTabs`, `TranslationProgress`, _`ReviewStatusChipProps`_, _`TranslationExportButtonProps`_, _`TranslationLocaleTab`_, _`TranslationLocaleTabsProps`_, _`TranslationProgressProps`_ |
|
|
850
844
|
| `components/translation-review-labels` | `DEFAULT_TRANSLATION_REVIEW_LABELS`, _`TranslationReviewLabels`_ |
|
|
851
845
|
| `components/inline-entity-combobox` | `InlineEntityCombobox`, _`InlineEntityComboboxProps`_ |
|
|
852
846
|
| `components/combobox-core` | _`ComboClearValue`_, _`ComboOption`_ |
|
|
847
|
+
| `components/series-chart-axes` | `anchoredBand`, `AXIS_TICK_WIDTH`, `AXIS_TITLE_STRIP`, `axisBandWidth`, `mergeSeries`, `oneAxis`, `padBand`, `paddedDomain`, `seriesKey`, `soleSeriesColor`, `visibleSeries`, _`SeriesSource`_ |
|
|
853
848
|
| `components/series-chart-ticks` | _`TimeTickUnit`_ |
|
|
854
849
|
| `components/series-chart-budget` | _`SeriesChartAxisBudget`_ |
|
|
855
|
-
| `components/series-chart-axes` | `anchoredBand`, `AXIS_TICK_WIDTH`, `AXIS_TITLE_STRIP`, `axisBandWidth`, `mergeSeries`, `oneAxis`, `padBand`, `paddedDomain`, `seriesKey`, `soleSeriesColor`, `visibleSeries`, _`SeriesSource`_ |
|
|
856
850
|
| `components/date-field` | _`DateTriggerAttributes`_ |
|
|
857
|
-
| `components/date-range-picker` | `DateRangePicker`, _`
|
|
851
|
+
| `components/date-range-picker` | `DateRangePicker`, _`DateRangeDraftSummary`_, _`DateRangePickerPreset`_, _`DateRangePickerProps`_, _`DateRangeTriggerRenderProps`_ |
|
|
858
852
|
|
|
859
853
|
### shell
|
|
860
854
|
|
|
@@ -862,20 +856,19 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
862
856
|
|---|---|
|
|
863
857
|
| `shell/topbar-controls` | `LanguageMenu`, `PaletteMenu`, `ThemeToggle`, `TOPBAR_MENU_ITEM_CLASS`, `TOPBAR_TRIGGER_CLASS`, _`LanguageMenuTrigger`_, _`LanguageOption`_ |
|
|
864
858
|
| `shell/top-bar` | `TopBar`, _`TopBarProps`_ |
|
|
865
|
-
| `shell/app-shell` | `AppShell`, `DEFAULT_APP_SHELL_MORE_LABELS`, `DEFAULT_MOBILE_MAX_ITEMS`,
|
|
859
|
+
| `shell/app-shell` | `AppShell`, `DEFAULT_APP_SHELL_MORE_LABELS`, `DEFAULT_MOBILE_MAX_ITEMS`, _`AppShellMoreLabels`_, _`AppShellNavItem`_, _`AppShellProps`_, _`AppShellSidebarFooterItem`_, _`AppShellSubItem`_ |
|
|
866
860
|
| `shell/option-switcher-menu` | `OptionSwitcherMenu`, _`OptionSwitcherOption`_ |
|
|
867
|
-
| `shell/role-switcher` | `RoleSwitcher`, _`RoleSwitcherProps`_ |
|
|
868
861
|
| `shell/topbar-action-menu` | `TopBarActionMenu`, _`TopBarMenuEntry`_, _`TopBarMenuHeader`_ |
|
|
869
862
|
| `shell/top-bar-brand` | `TopBarBrand`, _`TopBarBrandProps`_ |
|
|
870
863
|
| `shell/auth-layout` | `AuthLayout`, _`AuthLayoutProps`_ |
|
|
871
864
|
| `shell/fill-height` | `FILL_HEIGHT_CLASS`, `FillHeight`, _`FillHeightProps`_ |
|
|
872
865
|
| `shell/admin-menu` | `adminMenuEntry`, `AdminMenuRow`, `AdminWaitingBadge`, `useAdminMenuEntry`, _`AdminMenuEntryOptions`_, _`AdminMenuRowProps`_, _`AdminWaitingBadgeProps`_, _`UseAdminMenuEntryOptions`_ |
|
|
873
|
-
| `shell/top-bar-actions` | `
|
|
866
|
+
| `shell/top-bar-actions` | `TopBarActions`, _`TopBarActionsProps`_ |
|
|
874
867
|
| `shell/account-menu-language` | `AccountMenuLanguage`, _`AccountMenuLanguageOption`_, _`AccountMenuLanguageProps`_ |
|
|
875
868
|
| `shell/account-menu-text-size` | `AccountMenuTextSize`, _`AccountMenuTextSizeProps`_ |
|
|
876
869
|
| `shell/tour-menu` | `TourMenu`, _`TourMenuProps`_, _`TourMenuTour`_ |
|
|
877
|
-
| `shell/sync-status-indicator` | `
|
|
878
|
-
| `shell/dev-menu` | `
|
|
870
|
+
| `shell/sync-status-indicator` | `SyncStatusIndicator`, _`SyncState`_, _`SyncStatus`_, _`SyncStatusIndicatorProps`_, _`SyncStatusScope`_ |
|
|
871
|
+
| `shell/dev-menu` | `DevMenu`, _`DevMenuProps`_, _`DevMenuSection`_ |
|
|
879
872
|
| `shell/top-bar-parts-labels` | `DEFAULT_TOP_BAR_PARTS_LABELS`, `useTopBarPartsLabels`, _`DevSwitchersLabels`_, _`SyncStatusLabels`_, _`TopBarPartsLabels`_, _`TourMenuLabels`_ |
|
|
880
873
|
| `shell/company-switcher` | `CompanySwitcher`, `DEFAULT_COMPANY_SWITCHER_LABELS`, _`CompanySwitcherCompany`_, _`CompanySwitcherLabels`_, _`CompanySwitcherProps`_ |
|
|
881
874
|
|
|
@@ -883,9 +876,9 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
883
876
|
|
|
884
877
|
| Module | Exports |
|
|
885
878
|
|---|---|
|
|
886
|
-
| `settings/settings-layout` | `
|
|
887
|
-
| `settings/use-settings-route` | `
|
|
888
|
-
| `settings/use-settings-focus` | `
|
|
879
|
+
| `settings/settings-layout` | `SettingsLayout`, _`SettingsDocumentTitleParts`_, _`SettingsLayoutProps`_, _`SettingsLayoutWidth`_ |
|
|
880
|
+
| `settings/use-settings-route` | `settingsFromListState`, `useSettingsRoute`, _`SettingsLayoutMode`_, _`SettingsLocation`_, _`SettingsLocationResult`_, _`SettingsLocationRules`_, _`SettingsRoute`_, _`UseSettingsRouteOptions`_ |
|
|
881
|
+
| `settings/use-settings-focus` | `useFocusParam`, `useSettingsFocus` |
|
|
889
882
|
| `settings/settings-section` | `SettingsSection`, _`SettingsSectionProps`_ |
|
|
890
883
|
| `settings/settings-context` | `useSettingsLayout`, _`SettingsLayoutContextValue`_ |
|
|
891
884
|
| `settings/settings-heading` | `SettingsHeadingLevel`, `useSettingsHeadingLevel`, _`SettingsHeadingLevelProps`_, _`SettingsHeadingTag`_ |
|
|
@@ -893,7 +886,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
893
886
|
| `settings/settings-labels` | `DEFAULT_SETTINGS_LABELS`, `useSettingsLabels`, _`SettingsCoreGroup`_, _`SettingsGroupLabels`_, _`SettingsLabels`_ |
|
|
894
887
|
| `settings/device-reset-setting` | `DEFAULT_DEVICE_RESET_LABELS`, `DEVICE_RESET_ANCHOR`, `DeviceResetSetting`, _`DeviceResetLabels`_, _`DeviceResetSettingProps`_ |
|
|
895
888
|
| `settings/use-account-language` | `matchOfferedLanguage`, `resolveAccountLanguage`, `useAccountLanguage`, _`AccountLanguage`_, _`AccountLanguageSource`_, _`ResolveAccountLanguageInput`_, _`ResolvedAccountLanguage`_, _`UseAccountLanguageOptions`_ |
|
|
896
|
-
| `settings/use-account-appearance` | `
|
|
889
|
+
| `settings/use-account-appearance` | `useAccountAppearance`, _`AccountAppearance`_, _`AccountAppearanceFields`_, _`AccountAppearancePatch`_, _`AppearanceSource`_, _`DeviceAppearance`_, _`ResolvedAccountAppearance`_, _`UseAccountAppearanceOptions`_ |
|
|
897
890
|
|
|
898
891
|
### landing
|
|
899
892
|
|
|
@@ -912,22 +905,22 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
912
905
|
|
|
913
906
|
| Module | Exports |
|
|
914
907
|
|---|---|
|
|
915
|
-
| `feedback/feedback-attachment` | `
|
|
908
|
+
| `feedback/feedback-attachment` | `DEFAULT_FEEDBACK_ATTACHMENT_LABELS`, `FeedbackAttachmentField`, `pastedName`, _`FeedbackAttachmentError`_, _`FeedbackAttachmentErrorInfo`_, _`FeedbackAttachmentFieldLabels`_, _`FeedbackAttachmentFieldMultipleProps`_, _`FeedbackAttachmentFieldProps`_, _`FeedbackAttachmentFieldRefsProps`_, _`FeedbackAttachmentFieldSingleProps`_, _`FeedbackAttachmentRef`_, _`FeedbackAttachmentRefsError`_ |
|
|
916
909
|
| `feedback/feedback-dialog` | `DEFAULT_FEEDBACK_DIALOG_LABELS`, `FeedbackDialog`, _`FeedbackAttachmentLabels`_, _`FeedbackCategoryOption`_, _`FeedbackDialogLabels`_, _`FeedbackDialogMultipleProps`_, _`FeedbackDialogProps`_, _`FeedbackDialogSingleProps`_, _`FeedbackDialogTextLabels`_, _`FeedbackMultipleSubmission`_, _`FeedbackSubmission`_, _`FeedbackSubmitHint`_ |
|
|
917
910
|
| `feedback/feedback-inbox` | `FeedbackCategoryBadge`, `FeedbackDetail`, `FeedbackDetailSection`, `FeedbackNoteEditor`, `FeedbackProse`, `FeedbackStatusBadge`, `FeedbackStatusTransitions`, _`FeedbackNoteAttachment`_ |
|
|
918
|
-
| `feedback/feedback-thread` | `ChatComposer`, `DEFAULT_FEEDBACK_COMPOSER_LABELS`, `DEFAULT_FEEDBACK_THREAD_LABELS`, `FeedbackThread`, _`ChatComposerHandle`_, _`ChatComposerLabels`_, _`ChatComposerProps`_, _`ChatComposerSlotContext`_, _`FeedbackComposerAttachment`_, _`
|
|
919
|
-
| `feedback/feedback-record` | `appendRework`, `attachmentName`, `FEEDBACK_ATTACHMENT_ACCEPT`, `FEEDBACK_AUTHOR_EDITABLE_STATUSES`, `FEEDBACK_AWAITING_STATUSES`, `FEEDBACK_COMMENT_MAX`, `FEEDBACK_DECIDED_STATUSES`, `FEEDBACK_PICKABLE_CATEGORIES`, `FEEDBACK_QUEUE_STATUSES`, `FEEDBACK_REPLY_MAX`, `FEEDBACK_REWORKABLE_STATUSES`, `
|
|
911
|
+
| `feedback/feedback-thread` | `ChatComposer`, `DEFAULT_FEEDBACK_COMPOSER_LABELS`, `DEFAULT_FEEDBACK_THREAD_LABELS`, `FeedbackThread`, _`ChatComposerHandle`_, _`ChatComposerLabels`_, _`ChatComposerProps`_, _`ChatComposerSlotContext`_, _`FeedbackComposerAttachment`_, _`FeedbackThreadAttachment`_, _`FeedbackThreadEvent`_, _`FeedbackThreadItem`_, _`FeedbackThreadLabels`_, _`FeedbackThreadMessage`_, _`FeedbackThreadProps`_ |
|
|
912
|
+
| `feedback/feedback-record` | `appendRework`, `attachmentName`, `DEFAULT_ATTACHMENT_ACCEPT`, `DEFAULT_MAX_ATTACHMENT_BYTES`, `DEFAULT_MAX_ATTACHMENTS`, `FEEDBACK_ATTACHMENT_ACCEPT`, `FEEDBACK_AUTHOR_EDITABLE_STATUSES`, `FEEDBACK_AWAITING_STATUSES`, `FEEDBACK_COMMENT_MAX`, `FEEDBACK_DECIDED_STATUSES`, `FEEDBACK_PICKABLE_CATEGORIES`, `FEEDBACK_QUEUE_STATUSES`, `FEEDBACK_REPLY_MAX`, `FEEDBACK_REWORKABLE_STATUSES`, `feedbackReworkCount`, `isImageAttachment`, `replaceDescription`, `reworkCount`, `splitBodyAttachments`, `splitDescription`, _`FeedbackContext`_, _`FeedbackEnvironment`_, _`FeedbackRecord`_ |
|
|
920
913
|
| `feedback/feedback-labels` | `DEFAULT_FEEDBACK_CATEGORY_LABELS`, `DEFAULT_FEEDBACK_STATUS_LABELS`, `DEFAULT_FEEDBACK_TOAST_LABELS`, `useFeedbackCategoryLabels`, `useFeedbackStatusLabels`, `useFeedbackToastLabels`, _`FeedbackCategoryLabels`_, _`FeedbackStatusLabels`_, _`FeedbackToastLabels`_ |
|
|
921
|
-
| `feedback/feedback-status-undo` | `
|
|
922
|
-
| `feedback/feedback-swipe` | `DEFAULT_FEEDBACK_SWIPE`, `
|
|
914
|
+
| `feedback/feedback-status-undo` | `useFeedbackStatusUndo`, _`FeedbackStatusChange`_, _`FeedbackStatusMutateAsync`_, _`FeedbackStatusPatch`_, _`FeedbackStatusRow`_, _`FeedbackStatusUndoOptions`_ |
|
|
915
|
+
| `feedback/feedback-swipe` | `DEFAULT_FEEDBACK_SWIPE`, `feedbackSwipeOmitShown`, `feedbackSwipePlan`, _`FeedbackSwipeAction`_, _`FeedbackSwipeBinding`_, _`FeedbackSwipeOptions`_ |
|
|
923
916
|
| `feedback/feedback-menu` | `DEFAULT_FEEDBACK_MENU_LABELS`, `FeedbackMenu`, _`FeedbackMenuLabels`_, _`FeedbackMenuProps`_ |
|
|
924
917
|
| `feedback/feedback-context` | `DEFAULT_FEEDBACK_CONTEXT_LABELS`, `feedbackContext`, `FeedbackContextBox`, _`FeedbackContextBoxProps`_, _`FeedbackContextInput`_, _`FeedbackContextLabels`_, _`FeedbackSubmitter`_ |
|
|
925
918
|
| `feedback/feedback-capture` | `captureAppScreenshot`, _`CaptureAppScreenshotOptions`_ |
|
|
926
919
|
| `feedback/feedback-submit` | `useFeedbackSubmit`, _`FeedbackCreatePayload`_, _`FeedbackSubmit`_, _`UseFeedbackSubmitOptions`_ |
|
|
927
|
-
| `feedback/feedback-table` | `DEFAULT_FEEDBACK_PAGE_LABELS`, `FeedbackAwaitingToggle`, `
|
|
928
|
-
| `feedback/feedback-row-detail` | `DEFAULT_FEEDBACK_DETAIL_LABELS`, `
|
|
920
|
+
| `feedback/feedback-table` | `DEFAULT_FEEDBACK_PAGE_LABELS`, `FeedbackAwaitingToggle`, `FeedbackEmptyState`, `FeedbackMobileCard`, `feedbackMobileGroupBy`, `FeedbackSubject`, `isFeedbackAwaiting`, `useFeedbackColumns`, `useFeedbackPageLabels`, `useFeedbackRenderDate`, _`FeedbackAwaitingToggleProps`_, _`FeedbackColumnsOptions`_, _`FeedbackEmptyStateProps`_, _`FeedbackMobileCardProps`_, _`FeedbackPageLabels`_, _`FeedbackRenderDate`_, _`FeedbackSubjectProps`_, _`FeedbackTableRow`_, _`UseFeedbackColumnsOptions`_ |
|
|
921
|
+
| `feedback/feedback-row-detail` | `DEFAULT_FEEDBACK_DETAIL_LABELS`, `FeedbackReworkSection`, `FeedbackRowDetail`, _`FeedbackDetailLabels`_, _`FeedbackDetailPatch`_, _`FeedbackDetailUpdateAsync`_, _`FeedbackReworkSectionProps`_, _`FeedbackReworkSend`_, _`FeedbackRowAccess`_, _`FeedbackRowDetailProps`_, _`FeedbackUpload`_ |
|
|
929
922
|
| `feedback/feedback-crash` | `createCrashReporter`, _`CrashFiling`_, _`CrashReportCreate`_, _`CrashReporter`_, _`CrashReporterOptions`_, _`CrashReportResponse`_ |
|
|
930
|
-
| `feedback/feedback-public-switch` | `FeedbackPublicSwitch`,
|
|
923
|
+
| `feedback/feedback-public-switch` | `FeedbackPublicSwitch`, _`FeedbackPublicSwitchProps`_, _`FeedbackPublicSwitchRow`_, _`FeedbackPublicSwitchViewer`_ |
|
|
931
924
|
| `feedback/feedback-public-list` | `DEFAULT_FEEDBACK_PUBLIC_LABELS`, `FeedbackPublicDetail`, `FeedbackPublicList`, `useFeedbackPublicLabels`, _`FeedbackPublicDetailProps`_, _`FeedbackPublicLabels`_, _`FeedbackPublicListProps`_ |
|
|
932
925
|
| `feedback/feedback-public-types` | _`FeedbackComment`_, _`FeedbackEntryKind`_, _`FeedbackPublicListItem`_, _`FeedbackPublicRecord`_, _`FeedbackPublicSort`_, _`FeedbackReply`_, _`FeedbackVoteState`_ |
|
|
933
926
|
| `feedback/feedback-vote-button` | `DEFAULT_FEEDBACK_VOTE_LABELS`, `FeedbackVoteButton`, _`FeedbackVoteButtonProps`_, _`FeedbackVoteLabels`_ |
|
|
@@ -965,7 +958,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
965
958
|
| Module | Exports |
|
|
966
959
|
|---|---|
|
|
967
960
|
| `search/command-palette` | `CommandPalette`, `DEFAULT_COMMAND_PALETTE_LABELS`, _`CommandItem`_, _`CommandPaletteDensity`_, _`CommandPaletteLabels`_ |
|
|
968
|
-
| `search/search-index` | `createSearchIndex`,
|
|
961
|
+
| `search/search-index` | `createSearchIndex`, _`SearchEntry`_, _`SearchHit`_, _`SearchIndex`_, _`SearchIndexOptions`_, _`SearchMatchField`_ |
|
|
969
962
|
| `search/global-search` | `DEFAULT_GLOBAL_SEARCH_LABELS`, `GlobalSearch`, _`GlobalSearchLabels`_, _`GlobalSearchProps`_, _`GlobalSearchSource`_, _`GlobalSearchSourceGroup`_, _`GlobalSearchSuggestion`_, _`GlobalSearchTriggerProps`_ |
|
|
970
963
|
| `search/use-command-key` | `useCommandKey` |
|
|
971
964
|
|
|
@@ -1001,7 +994,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
1001
994
|
|
|
1002
995
|
| Module | Exports |
|
|
1003
996
|
|---|---|
|
|
1004
|
-
| `admin/user-roster` | `
|
|
997
|
+
| `admin/user-roster` | `DEFAULT_USER_ROSTER_LABELS`, `USER_ROSTER_SORT_KEYS`, `UserIdentityCell`, `userRosterSort`, `UserRowActions`, `useUserRosterColumns`, _`AdminUserStateFields`_, _`RoleEditing`_, _`RosterState`_, _`UserIdentityCellProps`_, _`UserRosterColumnsOptions`_, _`UserRosterLabels`_, _`UserRosterRow`_, _`UserRosterSortKey`_, _`UserRowAction`_, _`UserRowActionList`_, _`UserRowActionsProps`_ |
|
|
1005
998
|
| `admin/role-select` | `DEFAULT_ROLE_SELECT_LABELS`, `RolesEditor`, `RoleSelect`, _`RoleLock`_, _`RoleLockCode`_, _`RolesEditorProps`_, _`RoleSelectLabels`_, _`RoleSelectProps`_ |
|
|
1006
999
|
| `admin/reviewer-scope-editor` | `DEFAULT_REVIEWER_SCOPE_LABELS`, `ReviewerScopeEditor`, _`ReviewerScope`_, _`ReviewerScopeArea`_, _`ReviewerScopeEditorProps`_, _`ReviewerScopeLabels`_, _`ReviewerScopeLanguage`_ |
|
|
1007
1000
|
| `admin/admin-action-confirm` | `AdminActionConfirm`, `DEFAULT_ADMIN_ACTION_LABELS`, _`AdminActionConfirmProps`_, _`AdminActionConfirmValues`_, _`AdminActionLabels`_, _`AdminActionTarget`_, _`AdminConfirmLevel`_ |
|
|
@@ -1012,10 +1005,10 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
1012
1005
|
| `admin/admin-area-labels` | `DEFAULT_ADMIN_AREA_LABELS`, `useAdminAreaLabels`, _`AdminAreaLabels`_, _`AdminSharedSection`_, _`AdminTileLabels`_ |
|
|
1013
1006
|
| `admin/admin-sections` | `ADMIN_SECTIONS`, `adminSectionOrder`, `adminSections`, _`AdminKeptSection`_, _`AdminOwnSection`_, _`AdminSectionDefinition`_, _`AdminSectionOrderOptions`_, _`AdminSectionPlace`_, _`AdminSectionsOptions`_ |
|
|
1014
1007
|
| `admin/admin-forbidden` | `AdminForbidden`, _`AdminForbiddenProps`_ |
|
|
1015
|
-
| `admin/admin-overview` | `AdminOverview`, `adminWaitingCount`, `AttentionTile`,
|
|
1008
|
+
| `admin/admin-overview` | `AdminOverview`, `adminWaitingCount`, `AttentionTile`, _`AdminAttention`_, _`AdminAttentionTile`_, _`AdminExtraTile`_, _`AdminFeedbackTile`_, _`AdminFeedbackTileKey`_, _`AdminOverviewProps`_, _`AdminOwnTile`_, _`AttentionTileProps`_ |
|
|
1016
1009
|
| `admin/admin-tool-links` | `AdminToolLinks`, _`AdminToolLink`_, _`AdminToolLinksProps`_ |
|
|
1017
|
-
| `admin/mail-test-card` | `DEFAULT_MAIL_TEST_CARD_LABELS`, `MAIL_TEST_ANCHOR`, `MailTestCard`,
|
|
1018
|
-
| `admin/plan-change` | `DEFAULT_PLAN_CHANGE_LABELS`, `PlanChangeConfirm`, `
|
|
1010
|
+
| `admin/mail-test-card` | `DEFAULT_MAIL_TEST_CARD_LABELS`, `MAIL_TEST_ANCHOR`, `MailTestCard`, _`MailTestAnswer`_, _`MailTestCardLabels`_, _`MailTestCardProps`_ |
|
|
1011
|
+
| `admin/plan-change` | `DEFAULT_PLAN_CHANGE_LABELS`, `PlanChangeConfirm`, `usePlanChangeResult`, `usePlanColumn`, _`PlanChange`_, _`PlanChangeConfirmProps`_, _`PlanChangeLabels`_, _`PlanChangeLine`_, _`PlanChangeOutcome`_, _`PlanChangeResultOptions`_, _`PlanChangeTone`_, _`PlanColumnOptions`_, _`PlanColumnUsage`_ |
|
|
1019
1012
|
|
|
1020
1013
|
### billing
|
|
1021
1014
|
|
|
@@ -1023,7 +1016,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
1023
1016
|
|---|---|
|
|
1024
1017
|
| `billing/billing-labels` | `DEFAULT_BILLING_LABELS`, `SUBSCRIPTION_STATUSES`, `useBillingLabels`, _`BillingLabels`_, _`SubscriptionStatus`_ |
|
|
1025
1018
|
| `billing/plan-price` | `BILLING_INTERVALS`, `billingCurrencyFor`, `formatPlanPrice`, `minorToMajor`, `planPrice`, _`BillingCurrency`_, _`BillingInterval`_, _`PlanIntervalPrices`_, _`PlanPriceAnswer`_, _`PlanPrices`_ |
|
|
1026
|
-
| `billing/plan-card` | `GrantWarningConfirm`, `PlanCard`, `PlanPicker`,
|
|
1019
|
+
| `billing/plan-card` | `GrantWarningConfirm`, `PlanCard`, `PlanPicker`, _`BillingPlan`_, _`GrantWarningConfirmProps`_, _`PlanCardProps`_, _`PlanChoice`_, _`PlanPickerProps`_, _`PlanRelation`_ |
|
|
1027
1020
|
| `billing/subscription-status-chip` | `SUBSCRIPTION_STATUS_TONES`, `SubscriptionStatusChip`, _`SubscriptionStatusChipProps`_ |
|
|
1028
1021
|
| `billing/billing-banner` | `BillingBanner`, _`BillingBannerKind`_, _`BillingBannerProps`_ |
|
|
1029
1022
|
| `billing/plan-limit-notice` | `planLimitMailto`, `PlanLimitNotice`, _`PlanLimitNoticeProps`_ |
|
|
@@ -1032,8 +1025,8 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
1032
1025
|
| `billing/billing-standing` | `billingDaysLeft`, `billingLockAt`, `isBillingReadOnly`, _`BillingStanding`_ |
|
|
1033
1026
|
| `billing/subscription-actions` | `SubscriptionActions`, _`SubscriptionActionsProps`_ |
|
|
1034
1027
|
| `billing/checkout-return` | `CHECKOUT_RETURN_PARAM`, `CHECKOUT_RETURN_VALUE`, `checkoutReturnUrl`, `isCheckoutReturn`, `withoutCheckoutReturn` |
|
|
1035
|
-
| `billing/checkout-processing` | `checkoutFingerprint`, `
|
|
1036
|
-
| `billing/pay-page` | `paddleLocale`, `PAY_PAGE_APPS`, `
|
|
1028
|
+
| `billing/checkout-processing` | `checkoutFingerprint`, `noteCheckoutStarted`, `useCheckoutProcessing`, _`CheckoutOverview`_, _`CheckoutProcessingOptions`_ |
|
|
1029
|
+
| `billing/pay-page` | `paddleLocale`, `PAY_PAGE_APPS`, `payPageUrl`, _`PaddleEnvironment`_, _`PayPageApp`_ |
|
|
1037
1030
|
| `billing/billing-overview` | `isPermanentGrant`, _`BillingOverview`_, _`BillingPortalAccess`_, _`PaidPrice`_, _`PlanSwitchPreview`_, _`PlanSwitchRequest`_, _`PortalRequest`_, _`PortalTarget`_, _`SubscriptionSource`_ |
|
|
1038
1031
|
| `billing/plan-limit-toast` | `usePlanLimitToast`, _`PlanLimitToastOptions`_ |
|
|
1039
1032
|
| `billing/plan-switch` | `PlanSwitchConfirm`, _`PlanSwitchConfirmProps`_, _`PlanSwitchSide`_ |
|
|
@@ -1055,7 +1048,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
1055
1048
|
| `notifications/use-push-device` | `notifyPushSubscriptionChanged`, `PUSH_SUBSCRIPTION_CHANGED`, `PushDeviceError`, `pushSupported`, `releaseThisDevicePush`, `usePushDevice`, _`PushDevice`_, _`PushDeviceErrorCode`_, _`PushPermission`_, _`PushSubscriptionInput`_, _`UsePushDeviceOptions`_ |
|
|
1056
1049
|
| `notifications/push-worker` | `handlePushSubscriptionChange`, `pushSubscriptionInput`, `resubscribeAfterChange`, _`PushReplaceInput`_, _`PushResubscribeOutcome`_, _`PushSubscriptionChangeEventLike`_, _`PushSubscriptionChangeOptions`_, _`PushWorkerScope`_ |
|
|
1057
1050
|
| `notifications/push-device-setting` | `PushDeviceSetting`, _`PushDeviceAction`_, _`PushDeviceSettingProps`_ |
|
|
1058
|
-
| `notifications/push-devices-setting` | `
|
|
1051
|
+
| `notifications/push-devices-setting` | `PushDevicesSetting`, _`PushDevicesSettingProps`_ |
|
|
1059
1052
|
| `notifications/unsubscribe-panel` | `UnsubscribePanel`, `unsubscribeTokenType`, _`UnsubscribePanelProps`_ |
|
|
1060
1053
|
| `notifications/feedback-notification-types` | `DEFAULT_FEEDBACK_NOTIFICATION_TYPES_LABELS`, `useFeedbackNotificationTypes`, `useFeedbackNotificationTypesLabels`, _`FeedbackNotificationTypeId`_, _`FeedbackNotificationTypesLabels`_ |
|
|
1061
1054
|
|
|
@@ -1065,7 +1058,7 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
1065
1058
|
|---|---|
|
|
1066
1059
|
| `demo/demo-labels` | `DEFAULT_DEMO_LABELS`, `useDemoLabels`, _`DemoLabels`_ |
|
|
1067
1060
|
| `demo/demo-session` | `isDemoSession`, _`DemoModel`_, _`DemoSessionUser`_ |
|
|
1068
|
-
| `demo/demo-countdown` | `
|
|
1061
|
+
| `demo/demo-countdown` | `useDemoCountdown`, _`DemoCountdown`_, _`DemoCountdownOptions`_, _`DemoExpiry`_ |
|
|
1069
1062
|
| `demo/demo-start` | `DemoStart`, _`DemoStartProps`_ |
|
|
1070
1063
|
| `demo/demo-banner` | `DemoBanner`, _`DemoBannerProps`_ |
|
|
1071
1064
|
| `demo/demo-ended` | `DemoEnded`, _`DemoEndedProps`_ |
|
|
@@ -1132,8 +1125,8 @@ Every other subpath is a re-slicing of the barrel, never a second API.
|
|
|
1132
1125
|
|
|
1133
1126
|
| Module | Exports |
|
|
1134
1127
|
|---|---|
|
|
1135
|
-
| `sync/db` | `createSyncDb`, `rowByPk`, `SYNC_DB_PK_INDEX`,
|
|
1136
|
-
| `sync/engine` | `createSyncEngine`, `DEFAULT_HOLD_CODES`, `
|
|
1128
|
+
| `sync/db` | `createSyncDb`, `rowByPk`, `SYNC_DB_PK_INDEX`, _`CreateSyncDbOptions`_, _`OutboxChange`_, _`OutboxStatus`_, _`SyncDb`_, _`SyncDbUpgrade`_, _`SyncedRow`_, _`SyncMetaEntry`_ |
|
|
1129
|
+
| `sync/engine` | `createSyncEngine`, `DEFAULT_HOLD_CODES`, `releaseSyncEngine`, `syncEngineFor`, _`SyncCounts`_, _`SyncEngine`_, _`SyncEngineOptions`_, _`SyncEngineState`_, _`SyncRoundResult`_, _`SyncStep`_, _`SyncStepContext`_, _`SyncStepResult`_ |
|
|
1137
1130
|
| `sync/hooks` | `useSyncQuery`, `useSyncStatus`, `useSyncWorker` |
|
|
1138
1131
|
| `sync/wire` | _`SyncPageCursor`_, _`SyncRefusalBody`_, _`SyncRejectionBody`_, _`SyncRequestBody`_, _`SyncResponseBody`_, _`SyncWireChange`_ |
|
|
1139
1132
|
| `offline/local-first` | `isOfflineError`, `readLocalFirst`, `stampAfter`, `uuid5`, `writeLocalFirst` |
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import type { LabelOverride } from "../i18n/kit-labels.js";
|
|
2
2
|
import type { DateInput } from "../lib/format.js";
|
|
3
3
|
import type { BillingLabels } from "./billing-labels.js";
|
|
4
|
-
|
|
5
|
-
/** {@link CancelSubscriptionConfirmProps} before one of its two close props is required. */
|
|
6
|
-
interface CancelSubscriptionConfirmFields {
|
|
4
|
+
export interface CancelSubscriptionConfirmProps {
|
|
7
5
|
open: boolean;
|
|
8
6
|
/** The admin dismissed it — Back, Escape, the backdrop. Confirm leaves it open: close it
|
|
9
7
|
* once `POST /billing/cancel` answers. 0.52: every other kit dialog's `onClose`
|
|
10
|
-
* (CONTRIBUTING §4; refactor audit 2026-10-30, API-5).
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* `false` when there is no `onClose`. */
|
|
14
|
-
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
* (CONTRIBUTING §4; refactor audit 2026-10-30, API-5); required since 0.53 removed
|
|
9
|
+
* `onOpenChange` (deprecated in 0.52). */
|
|
10
|
+
onClose: () => void;
|
|
15
11
|
/** The overview's `current_period_end`: the day the subscription ends, in a sentence —
|
|
16
12
|
* the `<UiKitProvider formatDate>` (the app's date preference) when it set one, else the
|
|
17
13
|
* kit's `formatDate`, `"medium"`, in the provider's locale and `timeZone` (0.52). */
|
|
@@ -26,10 +22,6 @@ interface CancelSubscriptionConfirmFields {
|
|
|
26
22
|
/** Prop > `<UiKitProvider labels={{ billing }}>` > English. */
|
|
27
23
|
labels?: LabelOverride<BillingLabels>;
|
|
28
24
|
}
|
|
29
|
-
/** What {@link CancelSubscriptionConfirm} takes: `onClose`, or alone the deprecated
|
|
30
|
-
* `onOpenChange`, is required (0.52 code review: with neither it compiled, and nothing
|
|
31
|
-
* could dismiss it). */
|
|
32
|
-
export type CancelSubscriptionConfirmProps = WithDialogClose<CancelSubscriptionConfirmFields>;
|
|
33
25
|
/**
|
|
34
26
|
* The in-app cancel's confirm (docs/billing-harmonization.md §16.2 decision 2, §16.4,
|
|
35
27
|
* ui-kit 0.42): "Cancel subscription" for an admin the provider's portal doesn't open for
|
|
@@ -54,5 +46,4 @@ export type CancelSubscriptionConfirmProps = WithDialogClose<CancelSubscriptionC
|
|
|
54
46
|
* may always cancel. A demo lock still holds it, as the server's demo guard does. The kit
|
|
55
47
|
* sends no request.
|
|
56
48
|
*/
|
|
57
|
-
export declare function CancelSubscriptionConfirm({ open, onClose,
|
|
58
|
-
export {};
|
|
49
|
+
export declare function CancelSubscriptionConfirm({ open, onClose, periodEnd, onConfirm, pending, locale: localeProp, labels: labelsProp, }: CancelSubscriptionConfirmProps): import("react").JSX.Element;
|
|
@@ -7,11 +7,9 @@ import { Button } from "../components/button.js";
|
|
|
7
7
|
import { DialogFrame } from "../components/dialog-frame.js";
|
|
8
8
|
import { COMMIT_EXCEPT_BILLING } from "../components/write-lock.js";
|
|
9
9
|
import { useBillingLabels } from "./billing-labels.js";
|
|
10
|
-
import { dialogClose } from "./dialog-close.js";
|
|
11
10
|
function CancelSubscriptionConfirm({
|
|
12
11
|
open,
|
|
13
12
|
onClose,
|
|
14
|
-
onOpenChange,
|
|
15
13
|
periodEnd,
|
|
16
14
|
onConfirm,
|
|
17
15
|
pending = false,
|
|
@@ -27,7 +25,7 @@ function CancelSubscriptionConfirm({
|
|
|
27
25
|
open,
|
|
28
26
|
title: labels.cancelConfirmTitle,
|
|
29
27
|
description: labels.cancelConfirmBody(day(periodEnd)),
|
|
30
|
-
onClose
|
|
28
|
+
onClose,
|
|
31
29
|
busy: pending,
|
|
32
30
|
"data-cancel-subscription-confirm": "",
|
|
33
31
|
actions: (close) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/billing/cancel-subscription.tsx"],"sourcesContent":["import { useKitLabels } from \"../i18n/kit-labels\";\nimport type { LabelOverride } from \"../i18n/kit-labels\";\nimport { DEFAULT_COMMON_LABELS } from \"../i18n/shared-labels\";\nimport { useDayFormatter } from \"../lib/day-format\";\nimport type { DateInput } from \"../lib/format\";\nimport { Button } from \"../components/button\";\nimport { DialogFrame } from \"../components/dialog-frame\";\nimport { COMMIT_EXCEPT_BILLING } from \"../components/write-lock\";\nimport { useBillingLabels } from \"./billing-labels\";\nimport type { BillingLabels } from \"./billing-labels\";\
|
|
1
|
+
{"version":3,"sources":["../../src/billing/cancel-subscription.tsx"],"sourcesContent":["import { useKitLabels } from \"../i18n/kit-labels\";\nimport type { LabelOverride } from \"../i18n/kit-labels\";\nimport { DEFAULT_COMMON_LABELS } from \"../i18n/shared-labels\";\nimport { useDayFormatter } from \"../lib/day-format\";\nimport type { DateInput } from \"../lib/format\";\nimport { Button } from \"../components/button\";\nimport { DialogFrame } from \"../components/dialog-frame\";\nimport { COMMIT_EXCEPT_BILLING } from \"../components/write-lock\";\nimport { useBillingLabels } from \"./billing-labels\";\nimport type { BillingLabels } from \"./billing-labels\";\n\nexport interface CancelSubscriptionConfirmProps {\n open: boolean;\n /** The admin dismissed it — Back, Escape, the backdrop. Confirm leaves it open: close it\n * once `POST /billing/cancel` answers. 0.52: every other kit dialog's `onClose`\n * (CONTRIBUTING §4; refactor audit 2026-10-30, API-5); required since 0.53 removed\n * `onOpenChange` (deprecated in 0.52). */\n onClose: () => void;\n /** The overview's `current_period_end`: the day the subscription ends, in a sentence —\n * the `<UiKitProvider formatDate>` (the app's date preference) when it set one, else the\n * kit's `formatDate`, `\"medium\"`, in the provider's locale and `timeZone` (0.52). */\n periodEnd: DateInput;\n /** Confirm: the app's `POST /billing/cancel` (server-kit 0.14, §16.3). */\n onConfirm: () => void;\n /** The cancel is under way: Confirm's spinner, no second press, and neither Escape,\n * the backdrop nor Back closes it. */\n pending?: boolean;\n /** The date's locale. Default: the provider's. */\n locale?: string;\n /** Prop > `<UiKitProvider labels={{ billing }}>` > English. */\n labels?: LabelOverride<BillingLabels>;\n}\n\n/**\n * The in-app cancel's confirm (docs/billing-harmonization.md §16.2 decision 2, §16.4,\n * ui-kit 0.42): \"Cancel subscription\" for an admin the provider's portal doesn't open for\n * (`SubscriptionActions`' `portal=\"buyer_only\"` → `onCancelInApp`). It names the day the\n * subscription ends — \"Your subscription ends on 9 Nov 2026. Until then everything works\n * as before.\" — and its button reads \"Cancel subscription now\" (German \"Jetzt kündigen\",\n * the confirmation button of §312k BGB).\n *\n * <CancelSubscriptionConfirm\n * open={asking}\n * onClose={() => setAsking(false)}\n * periodEnd={overview.current_period_end}\n * pending={cancel.isPending}\n * onConfirm={() => cancel.mutate()}\n * />\n *\n * The cancel is at the period's end (Paddle's `cancel`, not immediately); the row follows\n * by webhook (`cancel_at_period_end`), as after a cancel in the portal, and\n * `SubscriptionActions` then offers \"Keep subscription\" (`onResume`).\n *\n * It takes no billing lock (`COMMIT_EXCEPT_BILLING` built in, §3.3): a read-only payer\n * may always cancel. A demo lock still holds it, as the server's demo guard does. The kit\n * sends no request.\n */\nexport function CancelSubscriptionConfirm({\n open,\n onClose,\n periodEnd,\n onConfirm,\n pending = false,\n locale: localeProp,\n labels: labelsProp,\n}: CancelSubscriptionConfirmProps) {\n const labels = useBillingLabels(labelsProp);\n const common = useKitLabels(\"common\", DEFAULT_COMMON_LABELS);\n const day = useDayFormatter(undefined, localeProp);\n\n return (\n <DialogFrame\n open={open}\n title={labels.cancelConfirmTitle}\n description={labels.cancelConfirmBody(day(periodEnd))}\n onClose={onClose}\n busy={pending}\n data-cancel-subscription-confirm=\"\"\n actions={(close) => (\n <>\n <Button variant=\"secondary\" onClick={close} disabled={pending}>\n {common.back}\n </Button>\n <Button\n variant=\"danger\"\n commit={COMMIT_EXCEPT_BILLING}\n pending={pending}\n onClick={() => {\n if (!pending) onConfirm();\n }}\n >\n {labels.cancelConfirmAction}\n </Button>\n </>\n )}\n />\n );\n}\n"],"mappings":";AA+EQ,mBACE,KADF;AA/ER,SAAS,oBAAoB;AAE7B,SAAS,6BAA6B;AACtC,SAAS,uBAAuB;AAEhC,SAAS,cAAc;AACvB,SAAS,mBAAmB;AAC5B,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AAiD1B,SAAS,0BAA0B;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,QAAQ;AACV,GAAmC;AACjC,QAAM,SAAS,iBAAiB,UAAU;AAC1C,QAAM,SAAS,aAAa,UAAU,qBAAqB;AAC3D,QAAM,MAAM,gBAAgB,QAAW,UAAU;AAEjD,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,OAAO,OAAO;AAAA,MACd,aAAa,OAAO,kBAAkB,IAAI,SAAS,CAAC;AAAA,MACpD;AAAA,MACA,MAAM;AAAA,MACN,oCAAiC;AAAA,MACjC,SAAS,CAAC,UACR,iCACE;AAAA,4BAAC,UAAO,SAAQ,aAAY,SAAS,OAAO,UAAU,SACnD,iBAAO,MACV;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,SAAQ;AAAA,YACR,QAAQ;AAAA,YACR;AAAA,YACA,SAAS,MAAM;AACb,kBAAI,CAAC,QAAS,WAAU;AAAA,YAC1B;AAAA,YAEC,iBAAO;AAAA;AAAA,QACV;AAAA,SACF;AAAA;AAAA,EAEJ;AAEJ;","names":[]}
|
|
@@ -2,7 +2,6 @@ import type { ReactNode } from "react";
|
|
|
2
2
|
import type { LabelOverride } from "../i18n/kit-labels.js";
|
|
3
3
|
import type { ChoiceCardProps } from "../components/choice-card.js";
|
|
4
4
|
import type { BillingLabels } from "./billing-labels.js";
|
|
5
|
-
import type { WithDialogClose } from "./dialog-close.js";
|
|
6
5
|
import type { BillingCurrency, BillingInterval, PlanPrices } from "./plan-price.js";
|
|
7
6
|
/**
|
|
8
7
|
* One plan of the app's catalogue (docs/billing-harmonization.md §3.1) as a page shows it:
|
|
@@ -169,26 +168,19 @@ export interface PlanPickerProps extends Omit<PlanDisplayProps, "currency" | "in
|
|
|
169
168
|
* instead, so the warning shows once on either path.
|
|
170
169
|
*/
|
|
171
170
|
export declare function PlanPicker({ plans, current, value: valueProp, defaultValue, onValueChange, interval: intervalProp, defaultInterval, onIntervalChange, currency: currencyProp, defaultCurrency, onCurrencyChange, currencies: currenciesProp, onChoose, pending, permanentGrant, switching, pricePreview, legend, name, className, gridClassName, cardClassName, dimensionLabels, formatLimit, locale: localeProp, labels: labelsProp, }: PlanPickerProps): import("react").JSX.Element;
|
|
172
|
-
|
|
173
|
-
interface GrantWarningConfirmFields {
|
|
171
|
+
export interface GrantWarningConfirmProps {
|
|
174
172
|
/** Shown, controlled. */
|
|
175
173
|
open: boolean;
|
|
176
174
|
/** "Back", Escape, the backdrop — and after "Buy anyway". 0.52: every other kit
|
|
177
|
-
* dialog's `onClose` (CONTRIBUTING §4; refactor audit 2026-10-30, API-5)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
* `false` when there is no `onClose`. */
|
|
181
|
-
onOpenChange?: (open: boolean) => void;
|
|
175
|
+
* dialog's `onClose` (CONTRIBUTING §4; refactor audit 2026-10-30, API-5); required
|
|
176
|
+
* since 0.53 removed `onOpenChange` (deprecated in 0.52). */
|
|
177
|
+
onClose: () => void;
|
|
182
178
|
/** "Buy anyway": the app opens its checkout. The dialog closes itself after it. */
|
|
183
179
|
onConfirm: () => void;
|
|
184
180
|
/** Prop > `<UiKitProvider labels={{ billing }}>` > English: `grantWarningTitle`,
|
|
185
181
|
* `grantWarningBody`, `grantWarningAction`. "Back" is `common.back`. */
|
|
186
182
|
labels?: LabelOverride<BillingLabels>;
|
|
187
183
|
}
|
|
188
|
-
/** What {@link GrantWarningConfirm} takes: `onClose`, or alone the deprecated
|
|
189
|
-
* `onOpenChange`, is required (0.52 code review: with neither it compiled, and nothing
|
|
190
|
-
* could dismiss it). */
|
|
191
|
-
export type GrantWarningConfirmProps = WithDialogClose<GrantWarningConfirmFields>;
|
|
192
184
|
/**
|
|
193
185
|
* 0.42 (§16.8 B): the permanent-grant warning before a checkout — `grantWarningTitle`,
|
|
194
186
|
* `grantWarningBody`, "Back" and "Buy anyway" (`grantWarningAction`). {@link PlanPicker}
|
|
@@ -198,5 +190,5 @@ export type GrantWarningConfirmProps = WithDialogClose<GrantWarningConfirmFields
|
|
|
198
190
|
* to a checkout — show this before that checkout, so a permanent-grant holder is still
|
|
199
191
|
* warned. Carries `data-grant-warning`.
|
|
200
192
|
*/
|
|
201
|
-
export declare function GrantWarningConfirm({ open, onClose,
|
|
193
|
+
export declare function GrantWarningConfirm({ open, onClose, onConfirm, labels: labelsProp }: GrantWarningConfirmProps): import("react").JSX.Element;
|
|
202
194
|
export {};
|
|
@@ -11,7 +11,6 @@ import { ToggleGroup } from "../components/toggle-group.js";
|
|
|
11
11
|
import { Button } from "../components/button.js";
|
|
12
12
|
import { DialogFrame } from "../components/dialog-frame.js";
|
|
13
13
|
import { useBillingLabels } from "./billing-labels.js";
|
|
14
|
-
import { dialogClose } from "./dialog-close.js";
|
|
15
14
|
import { BILLING_INTERVALS, billingCurrencyFor, formatPlanPrice, planPrice } from "./plan-price.js";
|
|
16
15
|
function planRelation(plans, code, current) {
|
|
17
16
|
if (!current) return void 0;
|
|
@@ -269,23 +268,16 @@ function PlanPicker({
|
|
|
269
268
|
}
|
|
270
269
|
);
|
|
271
270
|
}
|
|
272
|
-
function GrantWarningConfirm({
|
|
273
|
-
open,
|
|
274
|
-
onClose,
|
|
275
|
-
onOpenChange,
|
|
276
|
-
onConfirm,
|
|
277
|
-
labels: labelsProp
|
|
278
|
-
}) {
|
|
271
|
+
function GrantWarningConfirm({ open, onClose, onConfirm, labels: labelsProp }) {
|
|
279
272
|
const labels = useBillingLabels(labelsProp);
|
|
280
273
|
const common = useKitLabels("common", DEFAULT_COMMON_LABELS);
|
|
281
|
-
const close = dialogClose({ onClose, onOpenChange });
|
|
282
274
|
return /* @__PURE__ */ jsx(
|
|
283
275
|
DialogFrame,
|
|
284
276
|
{
|
|
285
277
|
open,
|
|
286
278
|
title: labels.grantWarningTitle,
|
|
287
279
|
description: labels.grantWarningBody,
|
|
288
|
-
onClose
|
|
280
|
+
onClose,
|
|
289
281
|
"data-grant-warning": "",
|
|
290
282
|
actions: (lower) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
291
283
|
/* @__PURE__ */ jsx(Button, { variant: "secondary", onClick: lower, children: common.back }),
|
|
@@ -296,7 +288,7 @@ function GrantWarningConfirm({
|
|
|
296
288
|
onClick: () => {
|
|
297
289
|
if (!open) return;
|
|
298
290
|
onConfirm();
|
|
299
|
-
|
|
291
|
+
onClose();
|
|
300
292
|
},
|
|
301
293
|
children: labels.grantWarningAction
|
|
302
294
|
}
|