@nxgt/material-vue 0.26.1 → 0.28.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 (168) hide show
  1. package/CHANGELOG.md +202 -0
  2. package/README.md +10 -7
  3. package/dist/Button-D1uzdbOJ.js +728 -0
  4. package/dist/{DropdownMenuTrigger-BHAhXGUO.js → DropdownMenuTrigger-BsuyNVzV.js} +48 -41
  5. package/dist/HoverCardTrigger-DaM5d4hE.js +510 -0
  6. package/dist/{camera-DvKuqT4L.js → camera-CxXijySa.js} +4 -4
  7. package/dist/components/base-content.css +139 -0
  8. package/dist/components/base.css +150 -0
  9. package/dist/components/components.css +2 -0
  10. package/dist/components/reduced-motion.css +56 -0
  11. package/dist/components/theme-tokens.css +116 -0
  12. package/dist/components/ui/actions/button-group/button-group.css +1 -1
  13. package/dist/components/ui/feedback/toast/toast.css +21 -0
  14. package/dist/components/ui/primitives/label/label.css +33 -0
  15. package/dist/{components-CCWod7cJ.js → components-Db9OdMfQ.js} +19053 -18364
  16. package/dist/components.js +7 -7
  17. package/dist/composables.js +3 -3
  18. package/dist/dnd.js +1 -1
  19. package/dist/field-name-attribute-Bl7LSVK0.js +4 -0
  20. package/dist/{form-scope-x-7TYn2s.js → form-scope-BILi3ke-.js} +1 -1
  21. package/dist/{i18n-provider-CaaZCmaR.js → i18n-provider-BPK68eqM.js} +1 -1
  22. package/dist/i18n.js +4 -4
  23. package/dist/icon-button-D60G5B_Z.js +262 -0
  24. package/dist/lib/components/ui/actions/button/Button.vue.d.ts +22 -4
  25. package/dist/lib/components/ui/actions/button/button-tones.d.ts +36 -0
  26. package/dist/lib/components/ui/actions/button/button.variants.d.ts +1 -1
  27. package/dist/lib/components/ui/actions/button/button.wrap.d.ts +8 -0
  28. package/dist/lib/components/ui/actions/button/label-text.d.ts +9 -0
  29. package/dist/lib/components/ui/actions/button/prepend-to-child.d.ts +18 -0
  30. package/dist/lib/components/ui/actions/button/use-click-lock.d.ts +14 -0
  31. package/dist/lib/components/ui/actions/copy-button/copy-button.vue.d.ts +6 -2
  32. package/dist/lib/components/ui/actions/icon-button/icon-button.compound-variants.d.ts +28 -0
  33. package/dist/lib/components/ui/actions/icon-button/icon-button.vue.d.ts +1 -1
  34. package/dist/lib/components/ui/actions/responsive-button/responsive-button.vue.d.ts +1 -3
  35. package/dist/lib/components/ui/collections/data-table/partials/data-table-empty.vue.d.ts +5 -1
  36. package/dist/lib/components/ui/collections/data-table/partials/data-table-scroll-region.vue.d.ts +28 -0
  37. package/dist/lib/components/ui/collections/data-table/partials/data-table-toolbar.d.ts +60 -0
  38. package/dist/lib/components/ui/collections/data-table/types.d.ts +9 -0
  39. package/dist/lib/components/ui/collections/data-table/use-scroll-edges.d.ts +22 -0
  40. package/dist/lib/components/ui/collections/pagination/PaginationFirst.vue.d.ts +1 -1
  41. package/dist/lib/components/ui/collections/pagination/PaginationItem.vue.d.ts +1 -1
  42. package/dist/lib/components/ui/collections/pagination/PaginationLast.vue.d.ts +1 -1
  43. package/dist/lib/components/ui/collections/pagination/PaginationNext.vue.d.ts +1 -1
  44. package/dist/lib/components/ui/collections/pagination/PaginationPrevious.vue.d.ts +1 -1
  45. package/dist/lib/components/ui/dates/calendar/Calendar.vue.d.ts +4 -4
  46. package/dist/lib/components/ui/dates/calendar/calendar-day-label.d.ts +17 -0
  47. package/dist/lib/components/ui/dates/calendar/calendar-years.d.ts +11 -0
  48. package/dist/lib/components/ui/dates/calendar/partials/calendar-month-select.vue.d.ts +18 -0
  49. package/dist/lib/components/ui/dates/calendar/partials/calendar-year-select.vue.d.ts +19 -0
  50. package/dist/lib/components/ui/dates/calendar/use-calendar-locale.d.ts +7 -0
  51. package/dist/lib/components/ui/dates/calendar/use-calendar-selected-hint.d.ts +17 -0
  52. package/dist/lib/components/ui/dates/date-range-field/partials/date-range-day.vue.d.ts +8 -0
  53. package/dist/lib/components/ui/display/cards/cards.gallery.d.ts +3 -3
  54. package/dist/lib/components/ui/display/list-tile/list-tile.vue.d.ts +10 -6
  55. package/dist/lib/components/ui/feedback/alert-dialog/AlertDialogContent.vue.d.ts +2 -2
  56. package/dist/lib/components/ui/feedback/sonner/index.d.ts +1 -0
  57. package/dist/lib/components/ui/feedback/toast/toast.d.ts +7 -0
  58. package/dist/lib/components/ui/feedback/toast/toast.vue.d.ts +18 -2
  59. package/dist/lib/components/ui/fields/contacts/consts.d.ts +1 -1
  60. package/dist/lib/components/ui/forms/use-field-blur.d.ts +3 -0
  61. package/dist/lib/components/ui/layout/app-shell/activity-content.vue.d.ts +9 -3
  62. package/dist/lib/components/ui/layout/app-shell/activity-layout.vue.d.ts +21 -4
  63. package/dist/lib/components/ui/layout/app-shell/app-header.vue.d.ts +7 -5
  64. package/dist/lib/components/ui/layout/app-shell/app-sidebar.vue.d.ts +4 -1
  65. package/dist/lib/components/ui/layout/app-shell/index.d.ts +2 -2
  66. package/dist/lib/components/ui/layout/app-shell/router-menu-link.d.ts +7 -0
  67. package/dist/lib/components/ui/layout/app-shell/types.d.ts +8 -0
  68. package/dist/lib/components/ui/layout/app-shell/use-content-scroll.d.ts +13 -0
  69. package/dist/lib/components/ui/layout/app-shell/use-navigation-sheet.d.ts +17 -0
  70. package/dist/lib/components/ui/layout/sidebar/sidebar-context.d.ts +15 -0
  71. package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.vue.d.ts +13 -4
  72. package/dist/lib/components/ui/media/carousel/carousel-next.vue.d.ts +1 -1
  73. package/dist/lib/components/ui/media/carousel/carousel-previous.vue.d.ts +1 -1
  74. package/dist/lib/components/ui/menu-item-variant.d.ts +4 -4
  75. package/dist/lib/components/ui/overlays/context-menu/ContextMenuContent.vue.d.ts +2 -2
  76. package/dist/lib/components/ui/overlays/dialog/DialogContent.vue.d.ts +2 -2
  77. package/dist/lib/components/ui/overlays/dialog/DialogScrollContent.vue.d.ts +2 -2
  78. package/dist/lib/components/ui/overlays/dialog/use-escape-forward.d.ts +17 -0
  79. package/dist/lib/components/ui/overlays/dialog/use-inert-others.d.ts +17 -0
  80. package/dist/lib/components/ui/overlays/dialog/use-modal-content.d.ts +32 -0
  81. package/dist/lib/components/ui/overlays/drawer/DrawerContent.vue.d.ts +2 -2
  82. package/dist/lib/components/ui/overlays/dropdown-menu/DropdownMenu.vue.d.ts +3 -1
  83. package/dist/lib/components/ui/overlays/dropdown-menu/DropdownMenuContent.vue.d.ts +2 -2
  84. package/dist/lib/components/ui/overlays/popover/PopoverContent.vue.d.ts +2 -2
  85. package/dist/lib/components/ui/overlays/sheet/SheetContent.vue.d.ts +2 -2
  86. package/dist/lib/components/ui/primitives/card/CardTitle.vue.d.ts +11 -4
  87. package/dist/lib/components/ui/primitives/card/index.d.ts +1 -0
  88. package/dist/lib/components/ui/primitives/tabs/Tabs.vue.d.ts +6 -2
  89. package/dist/lib/components/ui/primitives/tabs/TabsList.vue.d.ts +2 -2
  90. package/dist/lib/components/ui/primitives/tabs/TabsTrigger.vue.d.ts +6 -4
  91. package/dist/lib/components/ui/primitives/tabs/tabs-classes.d.ts +27 -0
  92. package/dist/lib/components/ui/primitives/tabs/tabs-indicator.vue.d.ts +25 -0
  93. package/dist/lib/components/ui/primitives/tabs/tabs-variant.d.ts +5 -8
  94. package/dist/lib/components/ui/primitives/toggle/Toggle.vue.d.ts +1 -1
  95. package/dist/lib/components/ui/primitives/toggle/index.d.ts +1 -1
  96. package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-box.vue.d.ts +2 -0
  97. package/dist/lib/components/ui/selection/select/SelectContent.vue.d.ts +2 -2
  98. package/dist/lib/components/ui/selection/select-chip-field/select-chip-field.vue.d.ts +1 -0
  99. package/dist/lib/components/ui/widgets/emoji/types.d.ts +1 -6
  100. package/dist/lib/i18n/resources/en/en.d.ts +23 -0
  101. package/dist/lib/i18n/resources/en/material.json.d.ts +28 -5
  102. package/dist/lib/i18n/resources/fr/fr.d.ts +23 -0
  103. package/dist/lib/i18n/resources/fr/material.json.d.ts +28 -5
  104. package/dist/lib/i18n/resources/resources.d.ts +46 -0
  105. package/dist/lib/i18n/translator.d.ts +1 -1
  106. package/dist/lib/lib/field-name-attribute.d.ts +7 -0
  107. package/dist/lib/lib/focus-field.d.ts +17 -0
  108. package/dist/lib/lib/index.d.ts +1 -0
  109. package/dist/lib.js +76 -74
  110. package/dist/main.js +13 -13
  111. package/dist/map.js +4 -4
  112. package/dist/material-vue.css +1 -1
  113. package/dist/{pdf-outline-sidebar-D3vq2qfS.js → pdf-outline-sidebar-BXGTDISI.js} +2 -2
  114. package/dist/{pdf-page-BrJbyjQj.js → pdf-page-BR4G03kN.js} +1 -1
  115. package/dist/{pdf-page-list-BCgYEszV.js → pdf-page-list-bjQm6_kf.js} +2 -2
  116. package/dist/{pdf-reader-BAzevSJU.js → pdf-reader-DGVEFNc0.js} +9 -9
  117. package/dist/{pdf-sidebar-DSh2Mend.js → pdf-sidebar-CiM6dwAm.js} +3 -3
  118. package/dist/{pdf-thumbnail-sidebar-D_EMcbKF.js → pdf-thumbnail-sidebar-fM3DGJzD.js} +3 -3
  119. package/dist/{pdf-toolbar-BcL7HlfS.js → pdf-toolbar-mWlGTWU1.js} +5 -5
  120. package/dist/pdf.js +2 -2
  121. package/dist/{sortable-provider-DMpmM7Ke.js → sortable-provider-Dml11nQY.js} +2 -2
  122. package/dist/{stored-language-Bxhsx4iB.js → stored-language-UnInBB6T.js} +56 -10
  123. package/dist/{stx-player-MldK_ZAZ.js → stx-player-BS7-CXFx.js} +2 -2
  124. package/dist/styles.css +10 -368
  125. package/dist/{translator-CLI_7Crg.js → translator-J3_vaV_A.js} +1 -1
  126. package/dist/{use-heading-spy-VPuFj2Gt.js → use-heading-spy-_dk8kGwL.js} +19 -19
  127. package/dist/use-inert-others-CtGqZKR8.js +22 -0
  128. package/dist/{use-material-translation-CONqD9wJ.js → use-material-translation-Do6ztdtV.js} +3 -3
  129. package/docs/components/buttons-and-actions.md +71 -16
  130. package/docs/components/data-display.md +13 -2
  131. package/docs/components/data-table-filter-and-lists.md +85 -5
  132. package/docs/components/date-and-time.md +25 -1
  133. package/docs/components/feedback-and-status.md +86 -11
  134. package/docs/components/form-fields.md +13 -4
  135. package/docs/components/media-and-files.md +7 -0
  136. package/docs/components/navigation-and-layout.md +19 -1
  137. package/docs/components/overlays-and-menus.md +20 -4
  138. package/docs/components/primitives.md +97 -20
  139. package/docs/components/rich-widgets.md +10 -0
  140. package/docs/components/selection-and-choice.md +12 -1
  141. package/docs/getting-started.md +2 -2
  142. package/docs/guides/app-shell.md +102 -6
  143. package/docs/guides/forms.md +58 -5
  144. package/docs/guides/helpers.md +2 -1
  145. package/docs/guides/i18n.md +24 -4
  146. package/docs/guides/ssr.md +1 -1
  147. package/docs/guides/theming.md +148 -6
  148. package/docs/previews/data-display-codegroup.webp +0 -0
  149. package/docs/previews/data-display-description.webp +0 -0
  150. package/docs/previews/feedback-status-toast.webp +0 -0
  151. package/docs/previews/primitives-tabs.webp +0 -0
  152. package/docs/previews/rich-widgets-emojipicker.webp +0 -0
  153. package/docs/roadmap.md +30 -1
  154. package/docs/troubleshooting.md +889 -12
  155. package/lib/components/base-content.css +139 -0
  156. package/lib/components/base.css +150 -0
  157. package/lib/components/components.css +2 -0
  158. package/lib/components/reduced-motion.css +56 -0
  159. package/lib/components/theme-tokens.css +116 -0
  160. package/lib/components/ui/actions/button-group/button-group.css +1 -1
  161. package/lib/components/ui/feedback/toast/toast.css +21 -0
  162. package/lib/components/ui/primitives/label/label.css +33 -0
  163. package/lib/styles.css +10 -368
  164. package/package.json +2 -2
  165. package/dist/Button-16J7vTpE.js +0 -665
  166. package/dist/HoverCardTrigger-C41002JS.js +0 -455
  167. package/dist/icon-button-CDdNsZuZ.js +0 -227
  168. package/dist/lib/components/ui/widgets/emoji/emoji.groups.d.ts +0 -6
@@ -9,7 +9,9 @@ declare const __VLS_base: import('vue').DefineComponent<DropdownMenuRootProps, {
9
9
  "update:open": (payload: boolean) => any;
10
10
  }, string, import('vue').PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
11
11
  "onUpdate:open"?: ((payload: boolean) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ }>, {
13
+ modal: boolean;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
16
  declare const _default: typeof __VLS_export;
15
17
  export default _default;
@@ -9,9 +9,9 @@ type __VLS_Props = DropdownMenuContentProps & {
9
9
  */
10
10
  to?: string | HTMLElement;
11
11
  };
12
- declare var __VLS_14: {};
12
+ declare var __VLS_16: {};
13
13
  type __VLS_Slots = {} & {
14
- default?: (props: typeof __VLS_14) => any;
14
+ default?: (props: typeof __VLS_16) => any;
15
15
  };
16
16
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
17
  escapeKeyDown: (event: KeyboardEvent) => any;
@@ -3,9 +3,9 @@ import { HTMLAttributes } from 'vue';
3
3
  type __VLS_Props = PopoverContentProps & {
4
4
  class?: HTMLAttributes['class'];
5
5
  };
6
- declare var __VLS_14: {};
6
+ declare var __VLS_16: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_14) => any;
8
+ default?: (props: typeof __VLS_16) => any;
9
9
  };
10
10
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  escapeKeyDown: (event: KeyboardEvent) => any;
@@ -4,9 +4,9 @@ interface SheetContentProps extends DialogContentProps {
4
4
  class?: HTMLAttributes['class'];
5
5
  side?: 'top' | 'right' | 'bottom' | 'left';
6
6
  }
7
- declare var __VLS_19: {};
7
+ declare var __VLS_26: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_19) => any;
9
+ default?: (props: typeof __VLS_26) => any;
10
10
  };
11
11
  declare const __VLS_base: import('vue').DefineComponent<SheetContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
12
  escapeKeyDown: (event: KeyboardEvent) => any;
@@ -1,12 +1,19 @@
1
1
  import { HTMLAttributes } from 'vue';
2
- type __VLS_Props = {
2
+ export type CardTitleElement = 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
3
+ export type CardTitleProps = {
4
+ /** The heading level. `'h3'` by default — a card sits under the page's
5
+ * `h1` and usually a section's `h2`; `'div'` for a title that is no
6
+ * heading. */
7
+ as?: CardTitleElement;
3
8
  class?: HTMLAttributes['class'];
4
9
  };
5
- declare var __VLS_1: {};
10
+ declare var __VLS_8: {};
6
11
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
12
+ default?: (props: typeof __VLS_8) => any;
8
13
  };
9
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_base: import('vue').DefineComponent<CardTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardTitleProps> & Readonly<{}>, {
15
+ as: CardTitleElement;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
18
  declare const _default: typeof __VLS_export;
12
19
  export default _default;
@@ -4,4 +4,5 @@ export { default as CardContent } from './CardContent.vue';
4
4
  export { default as CardDescription } from './CardDescription.vue';
5
5
  export { default as CardFooter } from './CardFooter.vue';
6
6
  export { default as CardHeader } from './CardHeader.vue';
7
+ export type { CardTitleElement, CardTitleProps } from './CardTitle.vue';
7
8
  export { default as CardTitle } from './CardTitle.vue';
@@ -1,9 +1,13 @@
1
1
  import { TabsRootProps } from 'reka-ui';
2
2
  import { HTMLAttributes } from 'vue';
3
- import { TabsVariant } from './tabs-variant';
3
+ import { TabsVariant } from './tabs-classes';
4
4
  type __VLS_Props = TabsRootProps & {
5
5
  class?: HTMLAttributes['class'];
6
- /** `bar` (the default) or `line`, read by `TabsList` and `TabsTrigger`. */
6
+ /**
7
+ * `underline` (the default) or `segmented`, read by `TabsList` and
8
+ * `TabsTrigger`. `bar` (deprecated) renders as `underline`, `line`
9
+ * (deprecated) as `segmented`.
10
+ */
7
11
  variant?: TabsVariant;
8
12
  };
9
13
  declare var __VLS_8: {
@@ -3,9 +3,9 @@ import { HTMLAttributes } from 'vue';
3
3
  type __VLS_Props = TabsListProps & {
4
4
  class?: HTMLAttributes['class'];
5
5
  };
6
- declare var __VLS_8: {};
6
+ declare var __VLS_9: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_8) => any;
8
+ default?: (props: typeof __VLS_9) => any;
9
9
  };
10
10
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,11 +1,13 @@
1
1
  import { TabsTriggerProps } from 'reka-ui';
2
- import { HTMLAttributes } from 'vue';
2
+ import { Component, HTMLAttributes } from 'vue';
3
3
  type __VLS_Props = TabsTriggerProps & {
4
4
  class?: HTMLAttributes['class'];
5
+ /** Shown before the label, as `@nxgt/material`'s `icon`; or the `#icon` slot. */
6
+ icon?: Component;
5
7
  };
6
- declare var __VLS_8: {};
7
- type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_8) => any;
8
+ type __VLS_Slots = {
9
+ default?: () => unknown;
10
+ icon?: () => unknown;
9
11
  };
10
12
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -0,0 +1,27 @@
1
+ /** @deprecated `bar` is an alias of `underline`: write `variant="underline"`. */
2
+ export type TabsBarAlias = 'bar';
3
+ /** @deprecated `line` is an alias of `segmented`: write `variant="segmented"`. */
4
+ export type TabsLineAlias = 'line';
5
+ /**
6
+ * How a `Tabs` looks:
7
+ * - `underline` (the default): a row of tabs over a border, the active one
8
+ * in the primary colour with a bar under it that slides between tabs;
9
+ * - `segmented`: a neutral pill track whose active tab sits on a raised
10
+ * surface that slides between tabs;
11
+ * - `bar`: deprecated alias of `underline`;
12
+ * - `line`: deprecated alias of `segmented`.
13
+ */
14
+ export type TabsVariant = 'underline' | 'segmented' | TabsBarAlias | TabsLineAlias;
15
+ /** What a variant renders as, once its deprecated alias is resolved. */
16
+ export type TabsLook = 'underline' | 'segmented';
17
+ /** `underline` for `underline`, `bar` and nothing; `segmented` for the rest. */
18
+ export declare function tabsLook(variant: TabsVariant | undefined): TabsLook;
19
+ export declare const TABS_ROOT: Record<TabsLook, string>;
20
+ export declare const TABS_LIST: Record<TabsLook, string>;
21
+ export declare const TABS_TRIGGER: Record<TabsLook, string>;
22
+ export declare const TABS_INDICATOR: Record<TabsLook, string>;
23
+ /** The label beside a trigger's icon. */
24
+ export declare const TABS_LABEL = "inline-flex items-center gap-2";
25
+ /** The icon before a trigger's label. */
26
+ export declare const TABS_ICON = "flex justify-center";
27
+ export declare const TABS_CONTENT = "w-full flex-1 outline-none";
@@ -0,0 +1,25 @@
1
+ import { TabsLook } from './tabs-classes';
2
+ /**
3
+ * The bar (`underline`) or raised surface (`segmented`) that slides to the
4
+ * active tab: reka's `TabsIndicator`, which measures the active tab whenever
5
+ * the list or a tab resizes, the value changes or the direction does. It
6
+ * does not see a tab inserted or removed before the active one (the tabs keep
7
+ * their size, so nothing resizes), so a mutation observer on the list calls its
8
+ * exposed `updateIndicatorStyle` then, as `@nxgt/material`'s does. Its
9
+ * `--reka-tabs-indicator-size` and `--reka-tabs-indicator-position` become
10
+ * `--tabs-indicator-w` and `--tabs-indicator-x`, the variables
11
+ * `@nxgt/material`'s indicator writes. Reka renders it once mounted and
12
+ * measured; `ready` is emitted then, in the same update. `list` is the
13
+ * `TabsList` element, which the mutation observer watches.
14
+ */
15
+ type __VLS_Props = {
16
+ look: TabsLook;
17
+ list?: HTMLElement | null;
18
+ };
19
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ ready: () => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ onReady?: (() => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
@@ -1,9 +1,6 @@
1
1
  import { ComputedRef, InjectionKey } from 'vue';
2
- /**
3
- * `bar` is the look `Tabs` always had here; `line` is `@nxgt/material`'s
4
- * scrolling row of light tabs on a muted strip (used by `CodeGroup`).
5
- */
6
- export type TabsVariant = 'bar' | 'line';
7
- export declare const TABS_VARIANT: InjectionKey<ComputedRef<TabsVariant>>;
8
- /** The variant of the enclosing `Tabs`; `bar` outside one. */
9
- export declare function useTabsVariant(): ComputedRef<TabsVariant>;
2
+ import { TabsLook } from './tabs-classes';
3
+ export type { TabsVariant } from './tabs-classes';
4
+ export declare const TABS_LOOK: InjectionKey<ComputedRef<TabsLook>>;
5
+ /** The look of the enclosing `Tabs`; `underline` outside one. */
6
+ export declare function useTabsLook(): ComputedRef<TabsLook>;
@@ -21,7 +21,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
21
21
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
22
22
  }>, {
23
23
  variant: "default" | "outline" | null;
24
- size: "sm" | "default" | "lg" | null;
24
+ size: "default" | "sm" | "lg" | null;
25
25
  disabled: boolean;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -2,6 +2,6 @@ import { VariantProps } from 'class-variance-authority';
2
2
  export { default as Toggle } from './Toggle.vue';
3
3
  export declare const toggleVariants: (props?: ({
4
4
  variant?: "default" | "outline" | null | undefined;
5
- size?: "sm" | "default" | "lg" | null | undefined;
5
+ size?: "default" | "sm" | "lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export type ToggleVariants = VariantProps<typeof toggleVariants>;
@@ -4,6 +4,8 @@ type __VLS_Props = {
4
4
  disabled?: boolean;
5
5
  required?: boolean;
6
6
  error?: boolean;
7
+ /** The id(s) of the text that describes the input (help or error). */
8
+ describedBy?: string;
7
9
  placeholder?: string;
8
10
  query: string;
9
11
  selected: {
@@ -3,9 +3,9 @@ import { HTMLAttributes } from 'vue';
3
3
  type __VLS_Props = SelectContentProps & {
4
4
  class?: HTMLAttributes['class'];
5
5
  };
6
- declare var __VLS_25: {};
6
+ declare var __VLS_27: {};
7
7
  type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_25) => any;
8
+ default?: (props: typeof __VLS_27) => any;
9
9
  };
10
10
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  escapeKeyDown: (event: KeyboardEvent) => any;
@@ -11,6 +11,7 @@ export type SelectChipFieldProps = {
11
11
  error?: boolean;
12
12
  disabled?: boolean;
13
13
  name?: string;
14
+ id?: string;
14
15
  class?: string;
15
16
  };
16
17
  declare const __VLS_export: import('vue').DefineComponent<SelectChipFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1,6 +1 @@
1
- export type EmojiItem = {
2
- name: string;
3
- emoji?: string;
4
- group?: string | null;
5
- shortcodes?: string[];
6
- };
1
+ export type { EmojiItem } from '@nxgt/material-core/emoji-groups';
@@ -63,6 +63,20 @@ export declare const en: {
63
63
  pick: string;
64
64
  search: string;
65
65
  empty: string;
66
+ groups: {
67
+ all: string;
68
+ recent: string;
69
+ general: string;
70
+ people_body: string;
71
+ components: string;
72
+ animals_nature: string;
73
+ food_drink: string;
74
+ travel_places: string;
75
+ activities: string;
76
+ objects: string;
77
+ symbols: string;
78
+ flags: string;
79
+ };
66
80
  };
67
81
  mentions: {
68
82
  empty: string;
@@ -342,6 +356,7 @@ export declare const en: {
342
356
  "select-all": string;
343
357
  "select-row": string;
344
358
  "toggle-row": string;
359
+ "scroll-region": string;
345
360
  };
346
361
  pagination: {
347
362
  previous: string;
@@ -356,6 +371,7 @@ export declare const en: {
356
371
  label: string;
357
372
  range: string;
358
373
  "range-open": string;
374
+ "range-label": string;
359
375
  total: string;
360
376
  selected: string;
361
377
  };
@@ -527,6 +543,10 @@ export declare const en: {
527
543
  too_small_exclusive: string;
528
544
  too_small_no_unit_inclusive: string;
529
545
  too_small_no_unit_exclusive: string;
546
+ too_big_string_inclusive: string;
547
+ too_big_string_exclusive: string;
548
+ too_small_string_inclusive: string;
549
+ too_small_string_exclusive: string;
530
550
  invalid_format: {
531
551
  starts_with: string;
532
552
  ends_with: string;
@@ -660,6 +680,7 @@ export declare const en: {
660
680
  copy: {
661
681
  copy: string;
662
682
  copied: string;
683
+ failed: string;
663
684
  };
664
685
  carousel: {
665
686
  previous: string;
@@ -803,6 +824,7 @@ export declare const en: {
803
824
  "app-shell": {
804
825
  home: string;
805
826
  "open-menu": string;
827
+ navigation: string;
806
828
  };
807
829
  filter: {
808
830
  title: string;
@@ -1167,6 +1189,7 @@ export declare const en: {
1167
1189
  today: string;
1168
1190
  "choose-year": string;
1169
1191
  "back-to-days": string;
1192
+ selected: string;
1170
1193
  };
1171
1194
  spinner: {
1172
1195
  loading: string;
@@ -52,7 +52,21 @@ declare const _default: {
52
52
  "picker": "Emoji",
53
53
  "pick": "Choose an emoji",
54
54
  "search": "Search emoji",
55
- "empty": "No emoji match"
55
+ "empty": "No emoji match",
56
+ "groups": {
57
+ "all": "All",
58
+ "recent": "Recent",
59
+ "general": "General",
60
+ "people_body": "People & body",
61
+ "components": "Components",
62
+ "animals_nature": "Animals & nature",
63
+ "food_drink": "Food & drink",
64
+ "travel_places": "Travel & places",
65
+ "activities": "Activities",
66
+ "objects": "Objects",
67
+ "symbols": "Symbols",
68
+ "flags": "Flags"
69
+ }
56
70
  },
57
71
  "mentions": {
58
72
  "empty": "No matches"
@@ -331,7 +345,8 @@ declare const _default: {
331
345
  "no-data": "No data available",
332
346
  "select-all": "Select all",
333
347
  "select-row": "Select row",
334
- "toggle-row": "Toggle row details"
348
+ "toggle-row": "Toggle row details",
349
+ "scroll-region": "Scrollable table"
335
350
  },
336
351
  "pagination": {
337
352
  "previous": "Previous",
@@ -346,6 +361,7 @@ declare const _default: {
346
361
  "label": "Pagination",
347
362
  "range": "{from}–{to} of {total}",
348
363
  "range-open": "{from}–{to}",
364
+ "range-label": "Rows shown",
349
365
  "total": "{total, plural, one {# row} other {# rows}}",
350
366
  "selected": "{count, plural, one {# row selected} other {# rows selected}}"
351
367
  },
@@ -517,6 +533,10 @@ declare const _default: {
517
533
  "too_small_exclusive": "This value is too small: it must be more than {minimum} {unit}.",
518
534
  "too_small_no_unit_inclusive": "This value is too small: it must be at least {minimum}.",
519
535
  "too_small_no_unit_exclusive": "This value is too small: it must be more than {minimum}.",
536
+ "too_big_string_inclusive": "Must contain at most {maximum, plural, one {# character} other {# characters}}.",
537
+ "too_big_string_exclusive": "Must contain fewer than {maximum, plural, one {# character} other {# characters}}.",
538
+ "too_small_string_inclusive": "Must contain at least {minimum, plural, one {# character} other {# characters}}.",
539
+ "too_small_string_exclusive": "Must contain more than {minimum, plural, one {# character} other {# characters}}.",
520
540
  "invalid_format": {
521
541
  "starts_with": "This text must start with \"{prefix}\".",
522
542
  "ends_with": "This text must end with \"{suffix}\".",
@@ -649,7 +669,8 @@ declare const _default: {
649
669
  },
650
670
  "copy": {
651
671
  "copy": "Copy",
652
- "copied": "Copied"
672
+ "copied": "Copied",
673
+ "failed": "Copy failed"
653
674
  },
654
675
  "carousel": {
655
676
  "previous": "Previous slide",
@@ -792,7 +813,8 @@ declare const _default: {
792
813
  },
793
814
  "app-shell": {
794
815
  "home": "Home",
795
- "open-menu": "Open menu"
816
+ "open-menu": "Open menu",
817
+ "navigation": "Navigation"
796
818
  },
797
819
  "filter": {
798
820
  "title": "Filters",
@@ -1156,7 +1178,8 @@ declare const _default: {
1156
1178
  "next-years": "Show next years",
1157
1179
  "today": "Go to Today",
1158
1180
  "choose-year": "{month}, choose year",
1159
- "back-to-days": "Back to day view"
1181
+ "back-to-days": "Back to day view",
1182
+ "selected": "Selected"
1160
1183
  },
1161
1184
  "spinner": {
1162
1185
  "loading": "Loading..."
@@ -63,6 +63,20 @@ export declare const fr: {
63
63
  pick: string;
64
64
  search: string;
65
65
  empty: string;
66
+ groups: {
67
+ all: string;
68
+ recent: string;
69
+ general: string;
70
+ people_body: string;
71
+ components: string;
72
+ animals_nature: string;
73
+ food_drink: string;
74
+ travel_places: string;
75
+ activities: string;
76
+ objects: string;
77
+ symbols: string;
78
+ flags: string;
79
+ };
66
80
  };
67
81
  mentions: {
68
82
  empty: string;
@@ -342,6 +356,7 @@ export declare const fr: {
342
356
  "select-all": string;
343
357
  "select-row": string;
344
358
  "toggle-row": string;
359
+ "scroll-region": string;
345
360
  };
346
361
  pagination: {
347
362
  previous: string;
@@ -356,6 +371,7 @@ export declare const fr: {
356
371
  label: string;
357
372
  range: string;
358
373
  "range-open": string;
374
+ "range-label": string;
359
375
  total: string;
360
376
  selected: string;
361
377
  };
@@ -527,6 +543,10 @@ export declare const fr: {
527
543
  too_small_exclusive: string;
528
544
  too_small_no_unit_inclusive: string;
529
545
  too_small_no_unit_exclusive: string;
546
+ too_big_string_inclusive: string;
547
+ too_big_string_exclusive: string;
548
+ too_small_string_inclusive: string;
549
+ too_small_string_exclusive: string;
530
550
  invalid_format: {
531
551
  starts_with: string;
532
552
  ends_with: string;
@@ -660,6 +680,7 @@ export declare const fr: {
660
680
  copy: {
661
681
  copy: string;
662
682
  copied: string;
683
+ failed: string;
663
684
  };
664
685
  carousel: {
665
686
  previous: string;
@@ -803,6 +824,7 @@ export declare const fr: {
803
824
  "app-shell": {
804
825
  home: string;
805
826
  "open-menu": string;
827
+ navigation: string;
806
828
  };
807
829
  filter: {
808
830
  title: string;
@@ -1167,6 +1189,7 @@ export declare const fr: {
1167
1189
  today: string;
1168
1190
  "choose-year": string;
1169
1191
  "back-to-days": string;
1192
+ selected: string;
1170
1193
  };
1171
1194
  spinner: {
1172
1195
  loading: string;
@@ -52,7 +52,21 @@ declare const _default: {
52
52
  "picker": "Emoji",
53
53
  "pick": "Choisir un emoji",
54
54
  "search": "Chercher un emoji",
55
- "empty": "Aucun emoji"
55
+ "empty": "Aucun emoji",
56
+ "groups": {
57
+ "all": "Tous",
58
+ "recent": "Récents",
59
+ "general": "Général",
60
+ "people_body": "Personnes et corps",
61
+ "components": "Composants",
62
+ "animals_nature": "Animaux et nature",
63
+ "food_drink": "Nourriture et boissons",
64
+ "travel_places": "Voyages et lieux",
65
+ "activities": "Activités",
66
+ "objects": "Objets",
67
+ "symbols": "Symboles",
68
+ "flags": "Drapeaux"
69
+ }
56
70
  },
57
71
  "mentions": {
58
72
  "empty": "Aucun résultat"
@@ -331,7 +345,8 @@ declare const _default: {
331
345
  "no-data": "Données non disponibles",
332
346
  "select-all": "Tout sélectionner",
333
347
  "select-row": "Sélectionner la ligne",
334
- "toggle-row": "Afficher ou masquer les détails de la ligne"
348
+ "toggle-row": "Afficher ou masquer les détails de la ligne",
349
+ "scroll-region": "Tableau défilant"
335
350
  },
336
351
  "pagination": {
337
352
  "previous": "Précédent",
@@ -346,6 +361,7 @@ declare const _default: {
346
361
  "label": "Pagination",
347
362
  "range": "{from}–{to} sur {total}",
348
363
  "range-open": "{from}–{to}",
364
+ "range-label": "Lignes affichées",
349
365
  "total": "{total, plural, one {# ligne} other {# lignes}}",
350
366
  "selected": "{count, plural, one {# ligne sélectionnée} other {# lignes sélectionnées}}"
351
367
  },
@@ -517,6 +533,10 @@ declare const _default: {
517
533
  "too_small_exclusive": "Cette valeur est trop petite : elle doit être supérieure à {minimum} {unit}.",
518
534
  "too_small_no_unit_inclusive": "Cette valeur est trop petite : elle doit être au minimum {minimum}.",
519
535
  "too_small_no_unit_exclusive": "Cette valeur est trop petite : elle doit être supérieure à {minimum}.",
536
+ "too_big_string_inclusive": "Doit contenir au plus {maximum, plural, one {# caractère} other {# caractères}}.",
537
+ "too_big_string_exclusive": "Doit contenir moins de {maximum, plural, one {# caractère} other {# caractères}}.",
538
+ "too_small_string_inclusive": "Doit contenir au moins {minimum, plural, one {# caractère} other {# caractères}}.",
539
+ "too_small_string_exclusive": "Doit contenir plus de {minimum, plural, one {# caractère} other {# caractères}}.",
520
540
  "invalid_format": {
521
541
  "starts_with": "Le texte doit commencer par \"{prefix}\".",
522
542
  "ends_with": "Le texte doit se terminer par \"{suffix}\".",
@@ -649,7 +669,8 @@ declare const _default: {
649
669
  },
650
670
  "copy": {
651
671
  "copy": "Copier",
652
- "copied": "Copié"
672
+ "copied": "Copié",
673
+ "failed": "Échec de la copie"
653
674
  },
654
675
  "carousel": {
655
676
  "previous": "Diapositive précédente",
@@ -792,7 +813,8 @@ declare const _default: {
792
813
  },
793
814
  "app-shell": {
794
815
  "home": "Accueil",
795
- "open-menu": "Ouvrir le menu"
816
+ "open-menu": "Ouvrir le menu",
817
+ "navigation": "Navigation"
796
818
  },
797
819
  "filter": {
798
820
  "title": "Filtres",
@@ -1156,7 +1178,8 @@ declare const _default: {
1156
1178
  "next-years": "Afficher les années suivantes",
1157
1179
  "today": "Aller à aujourd'hui",
1158
1180
  "choose-year": "{month}, choisir l'année",
1159
- "back-to-days": "Retour à la vue des jours"
1181
+ "back-to-days": "Retour à la vue des jours",
1182
+ "selected": "Sélectionné"
1160
1183
  },
1161
1184
  "spinner": {
1162
1185
  "loading": "Chargement..."