@viglet/viglet-design-system 2026.2.22 → 2026.2.25
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/dist/index.cjs.js +43 -43
- package/dist/index.es.js +6068 -6279
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/sticky.page.header.d.ts +37 -0
- package/dist/src/components/sticky.page.header.d.ts.map +1 -0
- package/dist/viglet-design-system.css +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export { NavUser } from './nav-user';
|
|
|
15
15
|
export { PageContent } from './page-content';
|
|
16
16
|
export { PageHeader } from './page-header';
|
|
17
17
|
export { Page } from './page';
|
|
18
|
+
export { StickyPageHeader } from './sticky.page.header';
|
|
18
19
|
export { SubPage } from './sub.page';
|
|
19
20
|
export { SubPageHeader } from './sub.page.header';
|
|
20
21
|
export { ThemeProvider, useTheme } from './theme-provider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,MAAM,CAAC;AAGrB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,E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AAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ActionProps {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: React.ElementType;
|
|
5
|
+
href?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
icon: React.ElementType;
|
|
11
|
+
feature: string;
|
|
12
|
+
/** Longer description rendered below the feature title. */
|
|
13
|
+
description: string;
|
|
14
|
+
/** Entity name passed to the DialogDelete confirmation. */
|
|
15
|
+
name?: string;
|
|
16
|
+
/** Base route used as a link on the title when not on mobile. */
|
|
17
|
+
urlBase?: string;
|
|
18
|
+
/** When true, renders a Save button (type=submit) alongside Cancel. */
|
|
19
|
+
showSave?: boolean;
|
|
20
|
+
/** When provided, renders a Cancel button calling this handler. */
|
|
21
|
+
onCancel?: () => void;
|
|
22
|
+
/** Disables the Save button and shows a loading state. */
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
/** Disables the Save button. */
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/** Delete-dialog wiring (optional). */
|
|
27
|
+
onDelete?: () => void;
|
|
28
|
+
open?: boolean;
|
|
29
|
+
setOpen?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
30
|
+
/** StickyPageHeader.Action children to populate the "Actions" dropdown. */
|
|
31
|
+
children?: React.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
export declare const StickyPageHeader: React.FC<Props> & {
|
|
34
|
+
Action: React.FC<ActionProps>;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=sticky.page.header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sticky.page.header.d.ts","sourceRoot":"","sources":["../../../src/components/sticky.page.header.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAOD,UAAU,KAAK;IACb,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACxD,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAiID,eAAO,MAAM,gBAAgB;;CAE3B,CAAC"}
|