@nxgt/material 3.36.0 → 3.37.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/CHANGELOG.md +6 -0
- package/dist/{button-EMWOFSDB.js → button-CB4nSAMd.js} +2 -1
- package/dist/charts.js +1 -1
- package/dist/{components-C0WjV2oy.js → components-mqgqmfvj.js} +19497 -19472
- package/dist/components.js +19 -19
- package/dist/editor.js +904 -905
- package/dist/lib/components/ui/actions/button/button.d.ts +8 -0
- package/dist/lib/components/ui/collections/data-table/hooks.d.ts +6 -1
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/facets/partials/filter-facets-footer.d.ts +4 -1
- package/dist/lib/components/ui/collections/filter/facets/partials/filter-facets-panel.d.ts +3 -1
- package/dist/lib/components/ui/collections/filter/filter-presets.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +13 -0
- package/dist/lib/components/ui/collections/filter/sections/sheet/filter-sheet-footer.d.ts +3 -1
- package/dist/lib/components/ui/collections/filter/sections/sheet/filter-sheet.d.ts +3 -1
- package/dist/lib/components/ui/collections/filter/types-props.d.ts +3 -0
- package/dist/lib/components/ui/feedback/confirm-dialog/confirm-dialog.d.ts +7 -1
- package/dist/lib/components/ui/feedback/confirmation-dialog/confirmation-dialog.d.ts +7 -1
- package/dist/lib/components/ui/fields/attributes/attribute-dialog.d.ts +4 -1
- package/dist/lib/components/ui/fields/attributes/attributes-field/attributes-dialog-field.d.ts +4 -1
- package/dist/lib/components/ui/fields/attributes/attributes-field/attributes-inline-field.d.ts +1 -1
- package/dist/lib/components/ui/fields/contacts/contact-dialog.d.ts +4 -1
- package/dist/lib/components/ui/fields/contacts/contacts-dialog-form-field.d.ts +4 -1
- package/dist/lib/components/ui/fields/contacts/contacts-form-field.d.ts +4 -1
- package/dist/lib/components/ui/fields/opening-hours/opening-hours-dialog-form-field.d.ts +4 -1
- package/dist/lib/components/ui/fields/opening-hours/opening-hours-dialog.d.ts +4 -1
- package/dist/lib/components/ui/fields/opening-hours/opening-hours-form-field.d.ts +4 -1
- package/dist/lib/components/ui/fields/postal-address/postal-address-dialog.d.ts +4 -1
- package/dist/lib/components/ui/fields/postal-address/postal-address-form-field.d.ts +4 -1
- package/dist/lib/components/ui/media/image-cropper/image-cropper.d.ts +4 -1
- package/dist/lib/components/ui/widgets/rich-text-editor/types.d.ts +3 -0
- package/dist/main.js +31 -31
- package/dist/map.js +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{public-f9CBkMZP.js → public-BdJCVnGS.js} +1 -1
- package/dist/{use-chat-composer-C5g_Va_g.js → use-chat-composer-C82hvxm4.js} +8 -7
- package/docs/components/buttons-and-actions.md +19 -1
- package/docs/components/data-table-filter-and-lists.md +10 -1
- package/docs/components/feedback-and-status.md +3 -1
- package/docs/components/form-fields.md +10 -4
- package/docs/components/media-and-files.md +1 -0
- package/docs/components/primitives.md +1 -1
- package/docs/components/rich-widgets.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 3.37.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1754](https://github.com/softistx/nxgt-material/pull/1754) [`e6662f1`](https://github.com/softistx/nxgt-material/commit/e6662f19cf969b189b3440a9025262ad0926c548) Thanks [@SteveGT96](https://github.com/SteveGT96)! - feat(buttons): the Cancel / Close secondary button the library draws in its footers is `tonal` by default, under a filled Confirm; a text or outlined Cancel read poorly as a button and its hit area was invisible. It covers `AlertDialogCancel` (so `ConfirmDialog` and the delete confirmation of `useDeleteRowsHandler`), `ConfirmationDialog`, the dialogs of `Contacts`, `PostalAddress`, `OpeningHours` and `Attributes`, `ImageCropper`, the `RichTextEditor` Save / Cancel row, the phone filter sheet's "Clear all", the staged facets panel's "Reset", the `FilterPresets` save dialog, the data grid's save bar "Discard" and paste "Dismiss", and the comment composer and editor of `DocumentEditor`. Icon-only close buttons, toolbar buttons and text links are unchanged. **To restore the earlier look**, pass `cancelVariant` (a `Button` `variant`: `'outlined'` or `'ghost'`) on `ConfirmDialog`, `ConfirmationDialog`, `ContactDialog`, `PostalAddressDialog`, `OpeningHoursDialog`, `AttributeDialog` and their `*FormField` / `*DialogField` wrappers, `ImageCropper`, `Filter` (`variant="bar"` and `"facets"`) and `FilterPresets`; `options.cancelVariant` on `RichTextEditor`; `useDeleteRowsHandler(onDelete, { cancelVariant })`; `variant` on `AlertDialogCancel`. The data grid's save bar and paste panel and the comment forms of `DocumentEditor` are tonal with no option (no caller-facing surface); the comment editor's Save is now filled to keep the hierarchy. `ConfirmationDialog`'s Cancel was already tonal: only its `cancelVariant` is new. New exports: the `ButtonVariant` type and `DEFAULT_CANCEL_VARIANT`. The docs' and recipes' examples now write `variant="tonal"` on their Cancel.
|
|
8
|
+
|
|
3
9
|
## 3.36.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -323,5 +323,6 @@ function F({ tooltip: e, ...t }) {
|
|
|
323
323
|
children: /* @__PURE__ */ S(P, { ...t })
|
|
324
324
|
}) : /* @__PURE__ */ S(P, { ...t });
|
|
325
325
|
}
|
|
326
|
+
var I = "tonal";
|
|
326
327
|
//#endregion
|
|
327
|
-
export {
|
|
328
|
+
export { D as a, A as i, I as n, w as o, N as r, F as t };
|
package/dist/charts.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./ui.utils-CAnKTCw5.js";
|
|
2
2
|
import { t } from "./utils-BLfntITJ.js";
|
|
3
3
|
import { t as n } from "./use-material-translation-BK2YYCY3.js";
|
|
4
|
-
import { t as r } from "./button-
|
|
4
|
+
import { t as r } from "./button-CB4nSAMd.js";
|
|
5
5
|
import { t as i } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
6
6
|
import { i as a, n as o, r as s, t as c } from "./util-4heV2LPI.js";
|
|
7
7
|
import { t as l } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
|