@keboola/design 4.1.2 → 4.2.1
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/AGENTS.md +17 -10
- package/dist/editors.cjs +2 -2
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +2 -2
- package/dist/editors.js.map +1 -1
- package/dist/index.cjs +4739 -356
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -6
- package/dist/index.d.ts +18 -6
- package/dist/index.js +4478 -95
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +5 -5
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +5 -5
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +2 -2
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +2 -2
- package/dist/mermaid.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4675,7 +4675,11 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$1 &
|
|
|
4675
4675
|
Sidebar: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
4676
4676
|
ref?: Ref<ElementRef<"div">>;
|
|
4677
4677
|
}) => react_jsx_runtime.JSX.Element;
|
|
4678
|
-
/**
|
|
4678
|
+
/**
|
|
4679
|
+
* Main content outlet. Applies an opinionated default page gutter (`tw-p-6`)
|
|
4680
|
+
* so content looks right out of the box; override the padding (e.g. `tw-p-0`)
|
|
4681
|
+
* when the app owns its own gutter.
|
|
4682
|
+
*/
|
|
4679
4683
|
Main: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
4680
4684
|
ref?: Ref<ElementRef<"main">>;
|
|
4681
4685
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -5646,14 +5650,22 @@ declare const Separator: ({ className, orientation, size, label, ...props }: Pro
|
|
|
5646
5650
|
declare const navbarClassnames: (props?: ({
|
|
5647
5651
|
bordered?: boolean | null | undefined;
|
|
5648
5652
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5649
|
-
type Props$g = ComponentProps<'
|
|
5653
|
+
type Props$g = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5650
5654
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5651
5655
|
};
|
|
5652
5656
|
/**
|
|
5653
|
-
*
|
|
5654
|
-
*
|
|
5655
|
-
*
|
|
5656
|
-
*
|
|
5657
|
+
* Top navigation bar for the app shell. Host inside `<AppShell.Header>` to give a
|
|
5658
|
+
* top-nav (or `keboola-legacy` top-bar) layout its primary navigation, brand mark,
|
|
5659
|
+
* and account/actions area.
|
|
5660
|
+
*
|
|
5661
|
+
* **Composition:** `Navbar.Header` (left — brand / logo), `Navbar.Content` (center —
|
|
5662
|
+
* primary `Navbar.Menu` of `Navbar.MenuItem` + `Navbar.MenuButton`, horizontally
|
|
5663
|
+
* scrollable), and `Navbar.Footer` (right — search, notifications, `Navbar.MenuAvatar`).
|
|
5664
|
+
* `bordered` renders a top accent hairline whose color follows `accent`. Renders a
|
|
5665
|
+
* `<nav>` landmark with a default `aria-label` — override it via `aria-label` /
|
|
5666
|
+
* `aria-labelledby` when a page has more than one nav.
|
|
5667
|
+
*
|
|
5668
|
+
* @see AppShell — pair with `AppShell.Header`; the sidebar rail uses `Sidebar` instead.
|
|
5657
5669
|
*/
|
|
5658
5670
|
declare const Navbar: {
|
|
5659
5671
|
({ className, accent, bordered, ...rest }: Props$g): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -4675,7 +4675,11 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$1 &
|
|
|
4675
4675
|
Sidebar: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
4676
4676
|
ref?: Ref<ElementRef<"div">>;
|
|
4677
4677
|
}) => react_jsx_runtime.JSX.Element;
|
|
4678
|
-
/**
|
|
4678
|
+
/**
|
|
4679
|
+
* Main content outlet. Applies an opinionated default page gutter (`tw-p-6`)
|
|
4680
|
+
* so content looks right out of the box; override the padding (e.g. `tw-p-0`)
|
|
4681
|
+
* when the app owns its own gutter.
|
|
4682
|
+
*/
|
|
4679
4683
|
Main: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
4680
4684
|
ref?: Ref<ElementRef<"main">>;
|
|
4681
4685
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -5646,14 +5650,22 @@ declare const Separator: ({ className, orientation, size, label, ...props }: Pro
|
|
|
5646
5650
|
declare const navbarClassnames: (props?: ({
|
|
5647
5651
|
bordered?: boolean | null | undefined;
|
|
5648
5652
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5649
|
-
type Props$g = ComponentProps<'
|
|
5653
|
+
type Props$g = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5650
5654
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5651
5655
|
};
|
|
5652
5656
|
/**
|
|
5653
|
-
*
|
|
5654
|
-
*
|
|
5655
|
-
*
|
|
5656
|
-
*
|
|
5657
|
+
* Top navigation bar for the app shell. Host inside `<AppShell.Header>` to give a
|
|
5658
|
+
* top-nav (or `keboola-legacy` top-bar) layout its primary navigation, brand mark,
|
|
5659
|
+
* and account/actions area.
|
|
5660
|
+
*
|
|
5661
|
+
* **Composition:** `Navbar.Header` (left — brand / logo), `Navbar.Content` (center —
|
|
5662
|
+
* primary `Navbar.Menu` of `Navbar.MenuItem` + `Navbar.MenuButton`, horizontally
|
|
5663
|
+
* scrollable), and `Navbar.Footer` (right — search, notifications, `Navbar.MenuAvatar`).
|
|
5664
|
+
* `bordered` renders a top accent hairline whose color follows `accent`. Renders a
|
|
5665
|
+
* `<nav>` landmark with a default `aria-label` — override it via `aria-label` /
|
|
5666
|
+
* `aria-labelledby` when a page has more than one nav.
|
|
5667
|
+
*
|
|
5668
|
+
* @see AppShell — pair with `AppShell.Header`; the sidebar rail uses `Sidebar` instead.
|
|
5657
5669
|
*/
|
|
5658
5670
|
declare const Navbar: {
|
|
5659
5671
|
({ className, accent, bordered, ...rest }: Props$g): react_jsx_runtime.JSX.Element;
|