@exxatdesignux/ui 0.4.0 → 0.4.2
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 +119 -0
- package/README.md +138 -0
- package/bin/init.mjs +134 -31
- package/dist/components/data-views/hub-table.js +6 -5
- package/dist/components/data-views/hub-table.js.map +1 -1
- package/dist/components/data-views/index.js +6 -5
- package/dist/components/data-views/index.js.map +1 -1
- package/dist/components/ui/banner.d.ts +2 -2
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/components/data-views/hub-table.tsx +13 -9
- package/template/eslint.config.mjs +9 -39
- package/template/package.json +0 -1
- package/tokens/hooks-index.json +2874 -0
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const systemBannerVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "success" | "warning" | "error" | "info" | "promo" | null | undefined;
|
|
8
8
|
emphasis?: "prominent" | "subtle" | null | undefined;
|
|
9
9
|
actionPosition?: "inline" | "bottom" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -32,7 +32,7 @@ interface SystemBannerProps extends React.HTMLAttributes<HTMLDivElement>, Varian
|
|
|
32
32
|
}
|
|
33
33
|
declare function SystemBanner({ children, title, variant, emphasis, dismissible, onDismiss, action, actionPosition, icon, decorativeOverlay, className, style, ...props }: SystemBannerProps): react_jsx_runtime.JSX.Element | null;
|
|
34
34
|
declare const localBannerVariants: (props?: ({
|
|
35
|
-
variant?: "
|
|
35
|
+
variant?: "success" | "warning" | "error" | "info" | "promo" | null | undefined;
|
|
36
36
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
37
37
|
interface LocalBannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof localBannerVariants> {
|
|
38
38
|
/** Banner title (optional) */
|
package/dist/index.js
CHANGED
|
@@ -6375,11 +6375,12 @@ function HubTable({
|
|
|
6375
6375
|
for (const v of supportedViewTypes) {
|
|
6376
6376
|
const kind = getDataListViewRenderKind(v);
|
|
6377
6377
|
if (kind === "data-table") continue;
|
|
6378
|
-
if (renderers[kind]
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6378
|
+
if (renderers[kind] != null) continue;
|
|
6379
|
+
if (kind === "list-with-toolbar" && renderListRow != null) continue;
|
|
6380
|
+
if (kind === "board-with-toolbar" && renderBoardCard != null && boardGroups != null) continue;
|
|
6381
|
+
console.warn(
|
|
6382
|
+
`[Exxat DS][HubTable: ${hubLabel}] Missing renderer for supported view "${v}" (${kind}). Add a renderer entry, or remove the view from supportedViewTypes.`
|
|
6383
|
+
);
|
|
6383
6384
|
}
|
|
6384
6385
|
}
|
|
6385
6386
|
const composed = {
|