@smudi/designsystem 2.0.1 → 2.2.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/@smudi/assets/JetBrainsMono-Medium.woff2 +0 -0
- package/@smudi/assets/JetBrainsMono-OFL.txt +93 -0
- package/@smudi/assets/JetBrainsMono-Regular.woff2 +0 -0
- package/@smudi/assets/JetBrainsMono-SemiBold.woff2 +0 -0
- package/@smudi/components/actionbar/actionbar-button.js +52 -0
- package/@smudi/components/actionbar/actionbar-context.js +23 -0
- package/@smudi/components/actionbar/actionbar-divider.js +24 -0
- package/@smudi/components/actionbar/actionbar-host.js +102 -0
- package/@smudi/components/actionbar/actionbar.js +134 -0
- package/@smudi/components/actionbar/use-actionbar-button-count-warning.js +21 -0
- package/@smudi/components/actionbar/use-actionbar-missing-focusable-content-warning.js +38 -0
- package/@smudi/components/divider/divider.js +18 -4
- package/@smudi/components/file-upload/file-upload.js +6 -4
- package/@smudi/components/header/header-divider.js +13 -11
- package/@smudi/components/select/select.js +28 -13
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion.js +9 -9
- package/@smudi/components/typography/heading/heading.js +10 -4
- package/@smudi/components/utils/is-dev-environment.js +8 -0
- package/@smudi/icons/generated/index.d.ts +64 -0
- package/@smudi/react.d.ts +1671 -0
- package/@smudi/react.js +133 -130
- package/@smudi/styles.css +1 -1
- package/README.md +7 -6
- package/package.json +42 -30
- package/@smudi/components/alert/alert.d.ts +0 -6
- package/@smudi/components/alert/alert.d.ts.map +0 -1
- package/@smudi/components/avatar/avatar.d.ts +0 -6
- package/@smudi/components/avatar/avatar.d.ts.map +0 -1
- package/@smudi/components/avatar-stack/avatar-stack.d.ts +0 -6
- package/@smudi/components/avatar-stack/avatar-stack.d.ts.map +0 -1
- package/@smudi/components/badge/badge.d.ts +0 -6
- package/@smudi/components/badge/badge.d.ts.map +0 -1
- package/@smudi/components/breadcrumbs/breadcrumbs.d.ts +0 -6
- package/@smudi/components/breadcrumbs/breadcrumbs.d.ts.map +0 -1
- package/@smudi/components/button/button.d.ts +0 -26
- package/@smudi/components/button/button.d.ts.map +0 -1
- package/@smudi/components/card/card-icon-block.d.ts +0 -24
- package/@smudi/components/card/card-icon-block.d.ts.map +0 -1
- package/@smudi/components/card/card.d.ts +0 -22
- package/@smudi/components/card/card.d.ts.map +0 -1
- package/@smudi/components/checkbox/checkbox.d.ts +0 -6
- package/@smudi/components/checkbox/checkbox.d.ts.map +0 -1
- package/@smudi/components/chip/chip.d.ts +0 -5
- package/@smudi/components/chip/chip.d.ts.map +0 -1
- package/@smudi/components/details/details.d.ts +0 -6
- package/@smudi/components/details/details.d.ts.map +0 -1
- package/@smudi/components/dialog/dialog-section.d.ts +0 -22
- package/@smudi/components/dialog/dialog-section.d.ts.map +0 -1
- package/@smudi/components/dialog/dialog.d.ts +0 -21
- package/@smudi/components/dialog/dialog.d.ts.map +0 -1
- package/@smudi/components/divider/divider.d.ts +0 -6
- package/@smudi/components/divider/divider.d.ts.map +0 -1
- package/@smudi/components/dropdown/dropdown-button.d.ts +0 -39
- package/@smudi/components/dropdown/dropdown-button.d.ts.map +0 -1
- package/@smudi/components/dropdown/dropdown-context.d.ts +0 -7
- package/@smudi/components/dropdown/dropdown-context.d.ts.map +0 -1
- package/@smudi/components/dropdown/dropdown-item.d.ts +0 -20
- package/@smudi/components/dropdown/dropdown-item.d.ts.map +0 -1
- package/@smudi/components/dropdown/dropdown-list.d.ts +0 -20
- package/@smudi/components/dropdown/dropdown-list.d.ts.map +0 -1
- package/@smudi/components/dropdown/dropdown.d.ts +0 -35
- package/@smudi/components/dropdown/dropdown.d.ts.map +0 -1
- package/@smudi/components/error-summary/error-summary.d.ts +0 -6
- package/@smudi/components/error-summary/error-summary.d.ts.map +0 -1
- package/@smudi/components/field/field.d.ts +0 -6
- package/@smudi/components/field/field.d.ts.map +0 -1
- package/@smudi/components/fieldset/fieldset.d.ts +0 -6
- package/@smudi/components/fieldset/fieldset.d.ts.map +0 -1
- package/@smudi/components/file-upload/file-upload.d.ts +0 -6
- package/@smudi/components/file-upload/file-upload.d.ts.map +0 -1
- package/@smudi/components/header/header-content.d.ts +0 -15
- package/@smudi/components/header/header-content.d.ts.map +0 -1
- package/@smudi/components/header/header-divider.d.ts +0 -18
- package/@smudi/components/header/header-divider.d.ts.map +0 -1
- package/@smudi/components/header/header-menu/header-menu-button.d.ts +0 -13
- package/@smudi/components/header/header-menu/header-menu-button.d.ts.map +0 -1
- package/@smudi/components/header/header-menu/header-menu-content.d.ts +0 -17
- package/@smudi/components/header/header-menu/header-menu-content.d.ts.map +0 -1
- package/@smudi/components/header/header-menu/header-menu-group.d.ts +0 -14
- package/@smudi/components/header/header-menu/header-menu-group.d.ts.map +0 -1
- package/@smudi/components/header/header-menu/header-menu-item.d.ts +0 -28
- package/@smudi/components/header/header-menu/header-menu-item.d.ts.map +0 -1
- package/@smudi/components/header/header-menu/header-menu.d.ts +0 -20
- package/@smudi/components/header/header-menu/header-menu.d.ts.map +0 -1
- package/@smudi/components/header/header-menu/index.d.ts +0 -11
- package/@smudi/components/header/header-menu/index.d.ts.map +0 -1
- package/@smudi/components/header/header-search/header-search-button.d.ts +0 -26
- package/@smudi/components/header/header-search/header-search-button.d.ts.map +0 -1
- package/@smudi/components/header/header-search/header-search.d.ts +0 -35
- package/@smudi/components/header/header-search/header-search.d.ts.map +0 -1
- package/@smudi/components/header/header-search/index.d.ts +0 -5
- package/@smudi/components/header/header-search/index.d.ts.map +0 -1
- package/@smudi/components/header/header.d.ts +0 -97
- package/@smudi/components/header/header.d.ts.map +0 -1
- package/@smudi/components/header/index.d.ts +0 -36
- package/@smudi/components/header/index.d.ts.map +0 -1
- package/@smudi/components/input/input.d.ts +0 -6
- package/@smudi/components/input/input.d.ts.map +0 -1
- package/@smudi/components/layout-components/box-layouts/box-layout.d.ts +0 -37
- package/@smudi/components/layout-components/box-layouts/box-layout.d.ts.map +0 -1
- package/@smudi/components/layout-components/center-layouts/center-layout.d.ts +0 -30
- package/@smudi/components/layout-components/center-layouts/center-layout.d.ts.map +0 -1
- package/@smudi/components/layout-components/cluster-layouts/cluster-layout.d.ts +0 -33
- package/@smudi/components/layout-components/cluster-layouts/cluster-layout.d.ts.map +0 -1
- package/@smudi/components/layout-components/cluster-layouts/constants/cluster-align-css.d.ts +0 -2
- package/@smudi/components/layout-components/cluster-layouts/constants/cluster-align-css.d.ts.map +0 -1
- package/@smudi/components/layout-components/cluster-layouts/constants/cluster-justify-css.d.ts +0 -2
- package/@smudi/components/layout-components/cluster-layouts/constants/cluster-justify-css.d.ts.map +0 -1
- package/@smudi/components/layout-components/cluster-layouts/types/cluster-align.type.d.ts +0 -2
- package/@smudi/components/layout-components/cluster-layouts/types/cluster-align.type.d.ts.map +0 -1
- package/@smudi/components/layout-components/cluster-layouts/types/cluster-justify.type.d.ts +0 -2
- package/@smudi/components/layout-components/cluster-layouts/types/cluster-justify.type.d.ts.map +0 -1
- package/@smudi/components/layout-components/grid-layouts/grid-layout.d.ts +0 -39
- package/@smudi/components/layout-components/grid-layouts/grid-layout.d.ts.map +0 -1
- package/@smudi/components/layout-components/split-view/index.d.ts +0 -8
- package/@smudi/components/layout-components/split-view/index.d.ts.map +0 -1
- package/@smudi/components/layout-components/split-view/split-view-divider.d.ts +0 -8
- package/@smudi/components/layout-components/split-view/split-view-divider.d.ts.map +0 -1
- package/@smudi/components/layout-components/split-view/split-view-panel.d.ts +0 -23
- package/@smudi/components/layout-components/split-view/split-view-panel.d.ts.map +0 -1
- package/@smudi/components/layout-components/split-view/split-view.d.ts +0 -14
- package/@smudi/components/layout-components/split-view/split-view.d.ts.map +0 -1
- package/@smudi/components/layout-components/split-view/use-resize.d.ts +0 -34
- package/@smudi/components/layout-components/split-view/use-resize.d.ts.map +0 -1
- package/@smudi/components/layout-components/stack-layouts/stack-layout.d.ts +0 -31
- package/@smudi/components/layout-components/stack-layouts/stack-layout.d.ts.map +0 -1
- package/@smudi/components/layout-components/wrapper-layouts/wrapper-layout.d.ts +0 -34
- package/@smudi/components/layout-components/wrapper-layouts/wrapper-layout.d.ts.map +0 -1
- package/@smudi/components/link/link.d.ts +0 -6
- package/@smudi/components/link/link.d.ts.map +0 -1
- package/@smudi/components/list/list.d.ts +0 -5
- package/@smudi/components/list/list.d.ts.map +0 -1
- package/@smudi/components/pagination/pagination.d.ts +0 -6
- package/@smudi/components/pagination/pagination.d.ts.map +0 -1
- package/@smudi/components/popover/popover.d.ts +0 -6
- package/@smudi/components/popover/popover.d.ts.map +0 -1
- package/@smudi/components/radio/radio.d.ts +0 -6
- package/@smudi/components/radio/radio.d.ts.map +0 -1
- package/@smudi/components/search/search.d.ts +0 -6
- package/@smudi/components/search/search.d.ts.map +0 -1
- package/@smudi/components/select/select.d.ts +0 -13
- package/@smudi/components/select/select.d.ts.map +0 -1
- package/@smudi/components/skeleton/skeleton.d.ts +0 -6
- package/@smudi/components/skeleton/skeleton.d.ts.map +0 -1
- package/@smudi/components/skip-link/skip-link.d.ts +0 -6
- package/@smudi/components/skip-link/skip-link.d.ts.map +0 -1
- package/@smudi/components/spinner/spinner.d.ts +0 -6
- package/@smudi/components/spinner/spinner.d.ts.map +0 -1
- package/@smudi/components/stepper/index.d.ts +0 -15
- package/@smudi/components/stepper/index.d.ts.map +0 -1
- package/@smudi/components/stepper/step/step-list.d.ts +0 -7
- package/@smudi/components/stepper/step/step-list.d.ts.map +0 -1
- package/@smudi/components/stepper/step/step.d.ts +0 -22
- package/@smudi/components/stepper/step/step.d.ts.map +0 -1
- package/@smudi/components/stepper/step-content/step-content-list.d.ts +0 -2
- package/@smudi/components/stepper/step-content/step-content-list.d.ts.map +0 -1
- package/@smudi/components/stepper/step-content/step-content.d.ts +0 -13
- package/@smudi/components/stepper/step-content/step-content.d.ts.map +0 -1
- package/@smudi/components/stepper/stepper-context.d.ts +0 -49
- package/@smudi/components/stepper/stepper-context.d.ts.map +0 -1
- package/@smudi/components/stepper/stepper.d.ts +0 -42
- package/@smudi/components/stepper/stepper.d.ts.map +0 -1
- package/@smudi/components/stepper/use-stepper-state.d.ts +0 -43
- package/@smudi/components/stepper/use-stepper-state.d.ts.map +0 -1
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion-context.d.ts +0 -9
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion-context.d.ts.map +0 -1
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion-list.d.ts +0 -8
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion-list.d.ts.map +0 -1
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion.d.ts +0 -54
- package/@smudi/components/suggestion/smudi-suggestion/smudi-suggestion.d.ts.map +0 -1
- package/@smudi/components/suggestion/suggestion-no-chips/suggestion-no-chips.d.ts +0 -31
- package/@smudi/components/suggestion/suggestion-no-chips/suggestion-no-chips.d.ts.map +0 -1
- package/@smudi/components/suggestion/suggestion.d.ts +0 -17
- package/@smudi/components/suggestion/suggestion.d.ts.map +0 -1
- package/@smudi/components/switch/switch.d.ts +0 -6
- package/@smudi/components/switch/switch.d.ts.map +0 -1
- package/@smudi/components/table/table.d.ts +0 -28
- package/@smudi/components/table/table.d.ts.map +0 -1
- package/@smudi/components/tabs/tabs-content.d.ts +0 -6
- package/@smudi/components/tabs/tabs-content.d.ts.map +0 -1
- package/@smudi/components/tabs/tabs-list.d.ts +0 -6
- package/@smudi/components/tabs/tabs-list.d.ts.map +0 -1
- package/@smudi/components/tabs/tabs-trigger.d.ts +0 -6
- package/@smudi/components/tabs/tabs-trigger.d.ts.map +0 -1
- package/@smudi/components/tabs/tabs.d.ts +0 -6
- package/@smudi/components/tabs/tabs.d.ts.map +0 -1
- package/@smudi/components/tag/tag.d.ts +0 -6
- package/@smudi/components/tag/tag.d.ts.map +0 -1
- package/@smudi/components/textarea/text-area.d.ts +0 -6
- package/@smudi/components/textarea/text-area.d.ts.map +0 -1
- package/@smudi/components/textfield/textfield.d.ts +0 -6
- package/@smudi/components/textfield/textfield.d.ts.map +0 -1
- package/@smudi/components/toast/toast.d.ts +0 -84
- package/@smudi/components/toast/toast.d.ts.map +0 -1
- package/@smudi/components/toggle-group/toggle-group.d.ts +0 -6
- package/@smudi/components/toggle-group/toggle-group.d.ts.map +0 -1
- package/@smudi/components/tooltip/tooltip.d.ts +0 -6
- package/@smudi/components/tooltip/tooltip.d.ts.map +0 -1
- package/@smudi/components/typography/heading/heading.d.ts +0 -6
- package/@smudi/components/typography/heading/heading.d.ts.map +0 -1
- package/@smudi/components/typography/paragraph/paragraph.d.ts +0 -6
- package/@smudi/components/typography/paragraph/paragraph.d.ts.map +0 -1
- package/@smudi/components/utils/apply-inert-outside.d.ts +0 -17
- package/@smudi/components/utils/apply-inert-outside.d.ts.map +0 -1
- package/@smudi/components/utils/class-names.d.ts +0 -2
- package/@smudi/components/utils/class-names.d.ts.map +0 -1
- package/@smudi/smudi/icons/generated/SmudiBiometryIcon.d.ts +0 -8
- package/@smudi/smudi/icons/generated/SmudiBiometryIcon.d.ts.map +0 -1
- package/@smudi/smudi/icons/generated/SmudiFingerprintIcon.d.ts +0 -8
- package/@smudi/smudi/icons/generated/SmudiFingerprintIcon.d.ts.map +0 -1
- package/@smudi/smudi/icons/generated/SmudiFlagIcon.d.ts +0 -8
- package/@smudi/smudi/icons/generated/SmudiFlagIcon.d.ts.map +0 -1
- package/@smudi/smudi/icons/generated/SmudiScanIcon.d.ts +0 -8
- package/@smudi/smudi/icons/generated/SmudiScanIcon.d.ts.map +0 -1
- package/@smudi/smudi/icons/generated/index.d.ts +0 -5
- package/@smudi/smudi/icons/generated/index.d.ts.map +0 -1
- package/@smudi/smudi/icons/metadata.d.ts +0 -32
- package/@smudi/smudi/icons/metadata.d.ts.map +0 -1
- package/@smudi/smudi/react.d.ts +0 -59
- package/@smudi/smudi/react.d.ts.map +0 -1
- package/@smudi/types/modular-scale.type.d.ts +0 -18
- package/@smudi/types/modular-scale.type.d.ts.map +0 -1
- package/@smudi/types/polymorphic-component.type.d.ts +0 -35
- package/@smudi/types/polymorphic-component.type.d.ts.map +0 -1
- package/@smudi/types/utils/coerce-string-to-number.d.ts +0 -4
- package/@smudi/types/utils/coerce-string-to-number.d.ts.map +0 -1
- package/@smudi/types/utils/exclude-strict.d.ts +0 -2
- package/@smudi/types/utils/exclude-strict.d.ts.map +0 -1
- package/@smudi/types/utils/omit-strict.d.ts +0 -2
- package/@smudi/types/utils/omit-strict.d.ts.map +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export type HeaderDividerProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
-
/**
|
|
4
|
-
* Visual divider used to separate groups of content inside a `Header`.
|
|
5
|
-
* Hidden from assistive technology by default; pass `role="separator"` if
|
|
6
|
-
* the divider conveys real structure.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* <Header.Content>
|
|
11
|
-
* <Button variant="tertiary">Home</Button>
|
|
12
|
-
* <Header.Divider />
|
|
13
|
-
* <Button variant="tertiary">Services</Button>
|
|
14
|
-
* </Header.Content>
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare const HeaderDivider: React.ForwardRefExoticComponent<HeaderDividerProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
//# sourceMappingURL=header-divider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-divider.d.ts","sourceRoot":"","sources":["../../../components/header/header-divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEhE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,2FAuBzB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '../../button/button';
|
|
2
|
-
export type HeaderMenuButtonProps = ButtonProps;
|
|
3
|
-
/**
|
|
4
|
-
* Button that opens/closes the `Header.Menu` popover. Renders as a Smudi
|
|
5
|
-
* `Button` and keeps its `aria-expanded` state in sync with the popover.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```tsx
|
|
9
|
-
* <Header.Menu.Button />
|
|
10
|
-
* ```
|
|
11
|
-
*/
|
|
12
|
-
export declare const HeaderMenuButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
//# sourceMappingURL=header-menu-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-menu-button.d.ts","sourceRoot":"","sources":["../../../../components/header/header-menu/header-menu-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAKvD,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,uFAwC3B,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export type HeaderMenuContentProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
-
/**
|
|
4
|
-
* Scrollable content wrapper inside `Header.Menu`, used to hold one or more
|
|
5
|
-
* `Header.Menu.Group`s.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```tsx
|
|
9
|
-
* <Header.Menu>
|
|
10
|
-
* <Header.Menu.Content>
|
|
11
|
-
* <Header.Menu.Group>...</Header.Menu.Group>
|
|
12
|
-
* </Header.Menu.Content>
|
|
13
|
-
* </Header.Menu>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare const HeaderMenuContent: React.ForwardRefExoticComponent<HeaderMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
//# sourceMappingURL=header-menu-content.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-menu-content.d.ts","sourceRoot":"","sources":["../../../../components/header/header-menu/header-menu-content.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,+FAW5B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
export type HeaderMenuGroupProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
-
/**
|
|
4
|
-
* Groups related `Header.Menu.Item`s together inside a `Header.Menu`.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```tsx
|
|
8
|
-
* <Header.Menu.Group>
|
|
9
|
-
* <Header.Menu.Item href="#">Home</Header.Menu.Item>
|
|
10
|
-
* </Header.Menu.Group>
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
export declare const HeaderMenuGroup: React.ForwardRefExoticComponent<HeaderMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
//# sourceMappingURL=header-menu-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-menu-group.d.ts","sourceRoot":"","sources":["../../../../components/header/header-menu/header-menu-group.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAElE;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,6FAU3B,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { LinkProps } from '../../link/link';
|
|
3
|
-
export type HeaderMenuItemProps = LinkProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Icon shown at the end of the item.
|
|
6
|
-
* @default <ChevronRightIcon aria-hidden />
|
|
7
|
-
*/
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* A single navigation link inside `Header.Menu`.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* <Header.Menu.Item href="#">Home</Header.Menu.Item>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare const HeaderMenuItem: React.ForwardRefExoticComponent<Omit<import('@digdir/designsystemet-react').DefaultProps & React.AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "asChild"> & {
|
|
19
|
-
children: ReactNode;
|
|
20
|
-
asChild?: boolean;
|
|
21
|
-
} & {
|
|
22
|
-
/**
|
|
23
|
-
* Icon shown at the end of the item.
|
|
24
|
-
* @default <ChevronRightIcon aria-hidden />
|
|
25
|
-
*/
|
|
26
|
-
icon?: ReactNode;
|
|
27
|
-
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
28
|
-
//# sourceMappingURL=header-menu-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-menu-item.d.ts","sourceRoot":"","sources":["../../../../components/header/header-menu/header-menu-item.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG;IAC5C;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;IAfzB;;;OAGG;WACI,SAAS;2CA8BhB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PopoverProps } from '../../popover/popover';
|
|
2
|
-
export declare const HEADER_MENU_ID = "smudi-header-menu";
|
|
3
|
-
export type HeaderMenuProps = Omit<PopoverProps, "id" | "placement" | "autoPlacement" | "variant">;
|
|
4
|
-
/**
|
|
5
|
-
* Popover menu opened from a `Header.Menu.Button`, used for site navigation
|
|
6
|
-
* on smaller viewports. Compose its contents with `Header.Menu.Group` and
|
|
7
|
-
* `Header.Menu.Item`.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* <Header.Menu.Button />
|
|
12
|
-
* <Header.Menu>
|
|
13
|
-
* <Header.Menu.Group>
|
|
14
|
-
* <Header.Menu.Item href="#">Home</Header.Menu.Item>
|
|
15
|
-
* </Header.Menu.Group>
|
|
16
|
-
* </Header.Menu>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare const HeaderMenu: React.ForwardRefExoticComponent<HeaderMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
//# sourceMappingURL=header-menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-menu.d.ts","sourceRoot":"","sources":["../../../../components/header/header-menu/header-menu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,eAAO,MAAM,cAAc,sBAAsB,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,YAAY,EACZ,IAAI,GAAG,WAAW,GAAG,eAAe,GAAG,SAAS,CACjD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU,wFAuFtB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { HeaderMenu } from './header-menu';
|
|
2
|
-
export type { HeaderMenuProps } from './header-menu';
|
|
3
|
-
export { HeaderMenuButton } from './header-menu-button';
|
|
4
|
-
export type { HeaderMenuButtonProps } from './header-menu-button';
|
|
5
|
-
export { HeaderMenuContent } from './header-menu-content';
|
|
6
|
-
export type { HeaderMenuContentProps } from './header-menu-content';
|
|
7
|
-
export { HeaderMenuGroup } from './header-menu-group';
|
|
8
|
-
export type { HeaderMenuGroupProps } from './header-menu-group';
|
|
9
|
-
export { HeaderMenuItem } from './header-menu-item';
|
|
10
|
-
export type { HeaderMenuItemProps } from './header-menu-item';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/header/header-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '../../button/button';
|
|
2
|
-
export declare const HEADER_SEARCH_ID = "smudi-header-search";
|
|
3
|
-
export type HeaderSearchButtonProps = Omit<ButtonProps, "variant" | "popovertarget" | "aria-controls" | "aria-haspopup"> & {
|
|
4
|
-
/**
|
|
5
|
-
* Visible label and default `aria-label` for the button.
|
|
6
|
-
* @default "Søk"
|
|
7
|
-
*/
|
|
8
|
-
label?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Button that opens/closes the `Header.Search` popover. Renders as a Smudi
|
|
12
|
-
* `Button` and keeps its `aria-expanded` state in sync with the popover.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```tsx
|
|
16
|
-
* <Header.Search.Button />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare const HeaderSearchButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "aria-controls" | "aria-haspopup" | "popovertarget" | "variant"> & {
|
|
20
|
-
/**
|
|
21
|
-
* Visible label and default `aria-label` for the button.
|
|
22
|
-
* @default "Søk"
|
|
23
|
-
*/
|
|
24
|
-
label?: string;
|
|
25
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
26
|
-
//# sourceMappingURL=header-search-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-search-button.d.ts","sourceRoot":"","sources":["../../../../components/header/header-search/header-search-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,WAAW,EACX,SAAS,GAAG,eAAe,GAAG,eAAe,GAAG,eAAe,CAChE,GAAG;IACF;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;IAhB7B;;;OAGG;YACK,MAAM;2CAyDd,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { PopoverProps } from '../../popover/popover';
|
|
3
|
-
export type HeaderSearchProps = Omit<PopoverProps, "id" | "placement" | "autoPlacement" | "variant"> & {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
/** Controls whether the search popover is open. */
|
|
7
|
-
open?: boolean;
|
|
8
|
-
/** Called when the search popover opens. */
|
|
9
|
-
onOpen?: () => void;
|
|
10
|
-
/** Called when the search popover closes. */
|
|
11
|
-
onClose?: () => void;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Popover containing search functionality, opened from a
|
|
15
|
-
* `Header.Search.Button`.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* <Header.Search.Button />
|
|
20
|
-
* <Header.Search>
|
|
21
|
-
* <Search>...</Search>
|
|
22
|
-
* </Header.Search>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare const HeaderSearch: React.ForwardRefExoticComponent<Omit<PopoverProps, "id" | "variant" | "placement" | "autoPlacement"> & {
|
|
26
|
-
children?: ReactNode;
|
|
27
|
-
className?: string;
|
|
28
|
-
/** Controls whether the search popover is open. */
|
|
29
|
-
open?: boolean;
|
|
30
|
-
/** Called when the search popover opens. */
|
|
31
|
-
onOpen?: () => void;
|
|
32
|
-
/** Called when the search popover closes. */
|
|
33
|
-
onClose?: () => void;
|
|
34
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
//# sourceMappingURL=header-search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header-search.d.ts","sourceRoot":"","sources":["../../../../components/header/header-search/header-search.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAO1D,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,YAAY,EACZ,IAAI,GAAG,WAAW,GAAG,eAAe,GAAG,SAAS,CACjD,GAAG;IACF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY;eAtBZ,SAAS;gBACR,MAAM;IAClB,mDAAmD;WAC5C,OAAO;IACd,4CAA4C;aACnC,MAAM,IAAI;IACnB,6CAA6C;cACnC,MAAM,IAAI;wCA+FrB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { HeaderSearch } from './header-search';
|
|
2
|
-
export type { HeaderSearchProps } from './header-search';
|
|
3
|
-
export { HeaderSearchButton } from './header-search-button';
|
|
4
|
-
export type { HeaderSearchButtonProps } from './header-search-button';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/header/header-search/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
export declare const UDILogo: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export type HeaderProps = HTMLAttributes<HTMLElement> & {
|
|
4
|
-
/**
|
|
5
|
-
* Name of the team, shown on the left in the header instead of the UDI
|
|
6
|
-
* logo. Can be a plain string, or a `ReactNode` if the team needs more
|
|
7
|
-
* than plain text (e.g. custom formatting or icons).
|
|
8
|
-
*/
|
|
9
|
-
teamName?: ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* Heading level used for `teamName`. Set this to the level that fits the
|
|
12
|
-
* page's heading hierarchy, so you avoid multiple `<h1>`s on the same
|
|
13
|
-
* page.
|
|
14
|
-
* @default 1
|
|
15
|
-
*/
|
|
16
|
-
teamNameHeadingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
17
|
-
/**
|
|
18
|
-
* When set, the logo/team name becomes a link to the front page. Set to
|
|
19
|
-
* `true` to link to `/`, or provide your own URL (useful for apps that
|
|
20
|
-
* aren't hosted at the root, or that should link to another domain). Set
|
|
21
|
-
* to `null` or `false` to explicitly turn the link off.
|
|
22
|
-
*/
|
|
23
|
-
homeHref?: string | boolean | null;
|
|
24
|
-
/**
|
|
25
|
-
* `aria-label` for the link set by `homeHref`, used by screen readers.
|
|
26
|
-
* Does not change the visual content (logo/team name is shown as normal).
|
|
27
|
-
* @default "Til forsiden"
|
|
28
|
-
*/
|
|
29
|
-
ariaLabel?: string;
|
|
30
|
-
/** Maximum width of the header's content area. */
|
|
31
|
-
maxWidth?: CSSProperties["maxWidth"];
|
|
32
|
-
/**
|
|
33
|
-
* Visual style of the header.
|
|
34
|
-
* @default "default"
|
|
35
|
-
*/
|
|
36
|
-
variant?: "default" | "tinted";
|
|
37
|
-
/**
|
|
38
|
-
* Color palette used by the header.
|
|
39
|
-
* @default "neutral"
|
|
40
|
-
*/
|
|
41
|
-
"data-color"?: "neutral" | "primary";
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Page header showing the UDI logo (or a custom team name) together with
|
|
45
|
-
* navigation content. Use `Header.Content`, `Header.Menu` and
|
|
46
|
-
* `Header.Search` to compose the header's contents.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```tsx
|
|
50
|
-
* <Header>
|
|
51
|
-
* <Header.Content>
|
|
52
|
-
* <Button variant="tertiary">Home</Button>
|
|
53
|
-
* </Header.Content>
|
|
54
|
-
* </Header>
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
export declare const Header: React.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
58
|
-
/**
|
|
59
|
-
* Name of the team, shown on the left in the header instead of the UDI
|
|
60
|
-
* logo. Can be a plain string, or a `ReactNode` if the team needs more
|
|
61
|
-
* than plain text (e.g. custom formatting or icons).
|
|
62
|
-
*/
|
|
63
|
-
teamName?: ReactNode;
|
|
64
|
-
/**
|
|
65
|
-
* Heading level used for `teamName`. Set this to the level that fits the
|
|
66
|
-
* page's heading hierarchy, so you avoid multiple `<h1>`s on the same
|
|
67
|
-
* page.
|
|
68
|
-
* @default 1
|
|
69
|
-
*/
|
|
70
|
-
teamNameHeadingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
71
|
-
/**
|
|
72
|
-
* When set, the logo/team name becomes a link to the front page. Set to
|
|
73
|
-
* `true` to link to `/`, or provide your own URL (useful for apps that
|
|
74
|
-
* aren't hosted at the root, or that should link to another domain). Set
|
|
75
|
-
* to `null` or `false` to explicitly turn the link off.
|
|
76
|
-
*/
|
|
77
|
-
homeHref?: string | boolean | null;
|
|
78
|
-
/**
|
|
79
|
-
* `aria-label` for the link set by `homeHref`, used by screen readers.
|
|
80
|
-
* Does not change the visual content (logo/team name is shown as normal).
|
|
81
|
-
* @default "Til forsiden"
|
|
82
|
-
*/
|
|
83
|
-
ariaLabel?: string;
|
|
84
|
-
/** Maximum width of the header's content area. */
|
|
85
|
-
maxWidth?: CSSProperties["maxWidth"];
|
|
86
|
-
/**
|
|
87
|
-
* Visual style of the header.
|
|
88
|
-
* @default "default"
|
|
89
|
-
*/
|
|
90
|
-
variant?: "default" | "tinted";
|
|
91
|
-
/**
|
|
92
|
-
* Color palette used by the header.
|
|
93
|
-
* @default "neutral"
|
|
94
|
-
*/
|
|
95
|
-
"data-color"?: "neutral" | "primary";
|
|
96
|
-
} & React.RefAttributes<HTMLElement>>;
|
|
97
|
-
//# sourceMappingURL=header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../components/header/header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMtE,eAAO,MAAM,OAAO,+CAOnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IACtD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC7C;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,MAAM;IAtDjB;;;;OAIG;eACQ,SAAS;IACpB;;;;;OAKG;2BACoB,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;IAC5C;;;;;OAKG;eACQ,MAAM,GAAG,OAAO,GAAG,IAAI;IAClC;;;;OAIG;gBACS,MAAM;IAClB,kDAAkD;eACvC,aAAa,CAAC,UAAU,CAAC;IACpC;;;OAGG;cACO,SAAS,GAAG,QAAQ;IAC9B;;;OAGG;mBACY,SAAS,GAAG,SAAS;qCA6IpC,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Header as HeaderRoot } from './header';
|
|
2
|
-
import { HeaderContent } from './header-content';
|
|
3
|
-
import { HeaderDivider } from './header-divider';
|
|
4
|
-
import { HeaderMenuButton } from './header-menu/header-menu-button';
|
|
5
|
-
import { HeaderMenu } from './header-menu/header-menu';
|
|
6
|
-
import { HeaderMenuContent } from './header-menu/header-menu-content';
|
|
7
|
-
import { HeaderMenuGroup } from './header-menu/header-menu-group';
|
|
8
|
-
import { HeaderMenuItem } from './header-menu/header-menu-item';
|
|
9
|
-
import { HeaderSearch } from './header-search/header-search';
|
|
10
|
-
import { HeaderSearchButton } from './header-search/header-search-button';
|
|
11
|
-
type HeaderComponent = typeof HeaderRoot & {
|
|
12
|
-
Content: typeof HeaderContent;
|
|
13
|
-
Divider: typeof HeaderDivider;
|
|
14
|
-
Menu: typeof HeaderMenuWithLink;
|
|
15
|
-
Search: typeof HeaderSearch;
|
|
16
|
-
};
|
|
17
|
-
type HeaderMenuComponent = typeof HeaderMenu & {
|
|
18
|
-
Content: typeof HeaderMenuContent;
|
|
19
|
-
Group: typeof HeaderMenuGroup;
|
|
20
|
-
Item: typeof HeaderMenuItem;
|
|
21
|
-
};
|
|
22
|
-
declare const HeaderMenuWithLink: HeaderMenuComponent;
|
|
23
|
-
declare const Header: HeaderComponent;
|
|
24
|
-
export type { HeaderProps } from './header';
|
|
25
|
-
export type { HeaderContentProps } from './header-content';
|
|
26
|
-
export type { HeaderDividerProps } from './header-divider';
|
|
27
|
-
export type { HeaderMenuButtonProps } from './header-menu/header-menu-button';
|
|
28
|
-
export type { HeaderMenuContentProps } from './header-menu/header-menu-content';
|
|
29
|
-
export type { HeaderMenuGroupProps } from './header-menu/header-menu-group';
|
|
30
|
-
export type { HeaderMenuItemProps } from './header-menu/header-menu-item';
|
|
31
|
-
export type { HeaderMenuProps } from './header-menu/header-menu';
|
|
32
|
-
export type { HeaderSearchButtonProps } from './header-search/header-search-button';
|
|
33
|
-
export type { HeaderSearchProps } from './header-search/header-search';
|
|
34
|
-
export { UDILogo } from './header';
|
|
35
|
-
export { Header, HeaderContent, HeaderDivider, HeaderMenuButton, HeaderMenuContent, HeaderMenuGroup, HeaderMenuItem, HeaderMenuWithLink as HeaderMenu, HeaderSearch, HeaderSearchButton, };
|
|
36
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,KAAK,eAAe,GAAG,OAAO,UAAU,GAAG;IACzC,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,IAAI,EAAE,OAAO,kBAAkB,CAAC;IAChC,MAAM,EAAE,OAAO,YAAY,CAAC;CAC7B,CAAC;AAEF,KAAK,mBAAmB,GAAG,OAAO,UAAU,GAAG;IAC7C,OAAO,EAAE,OAAO,iBAAiB,CAAC;IAClC,KAAK,EAAE,OAAO,eAAe,CAAC;IAC9B,IAAI,EAAE,OAAO,cAAc,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,kBAAkB,EAIlB,mBAAmB,CAAC;AAE1B,QAAA,MAAM,MAAM,EAKN,eAAe,CAAC;AAEtB,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,YAAY,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC9E,YAAY,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,YAAY,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AACpF,YAAY,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EACL,MAAM,EACN,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,IAAI,UAAU,EAChC,YAAY,EACZ,kBAAkB,GACnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,IAAI,SAAS,EAClB,KAAK,UAAU,EAChB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,KAAK,GAAG,OAAO,SAAS,CAAC;AAE9B,QAAA,MAAM,cAAc,EAAE,KAAiB,CAAC;AAIxC,YAAY,EAAE,UAAU,EAAE,CAAC;AAC3B,OAAO,EAAE,cAAc,IAAI,KAAK,EAAE,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import { PolymorphicComponentProps, OtherGenericComponent } from '../../../types/polymorphic-component.type';
|
|
3
|
-
export type BoxLayoutSize = "none" | "xs" | "sm" | "md" | "lg";
|
|
4
|
-
export type BoxLayoutBorderRadius = "none" | "sm" | "md" | "lg" | "xl";
|
|
5
|
-
export type BoxLayoutVariant = "none" | "default" | "tinted";
|
|
6
|
-
export type BoxLayoutProps<TComponent extends OtherGenericComponent & ElementType = "div"> = PolymorphicComponentProps<TComponent, {
|
|
7
|
-
padding?: BoxLayoutSize;
|
|
8
|
-
paddingInline?: BoxLayoutSize;
|
|
9
|
-
paddingBlock?: BoxLayoutSize;
|
|
10
|
-
paddingBlockStart?: BoxLayoutSize;
|
|
11
|
-
paddingBlockEnd?: BoxLayoutSize;
|
|
12
|
-
paddingInlineStart?: BoxLayoutSize;
|
|
13
|
-
paddingInlineEnd?: BoxLayoutSize;
|
|
14
|
-
border?: boolean;
|
|
15
|
-
borderRadius?: BoxLayoutBorderRadius;
|
|
16
|
-
variant?: BoxLayoutVariant;
|
|
17
|
-
className?: string | undefined;
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
}>;
|
|
20
|
-
/**
|
|
21
|
-
* BoxLayout gives its content breathing room on the inside (padding) and can show that it
|
|
22
|
-
* is a bounded surface (border) — without interfering with the spacing to the elements
|
|
23
|
-
* around it.
|
|
24
|
-
*
|
|
25
|
-
* A Box has one job: air on the inside, not space on the outside. If there should be air
|
|
26
|
-
* *between* a Box and the elements around it, that's handled by StackLayout (vertically)
|
|
27
|
-
* or ClusterLayout (horizontally) — not something you add to the Box itself.
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```tsx
|
|
31
|
-
* <BoxLayout padding="md" border borderRadius="md" variant="tinted">
|
|
32
|
-
* Content with breathing room around it and a visible border.
|
|
33
|
-
* </BoxLayout>
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export declare const BoxLayout: <TDefaultElementType extends OtherGenericComponent & ElementType = "div">(boxLayoutProps: BoxLayoutProps<TDefaultElementType>) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
//# sourceMappingURL=box-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"box-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/box-layouts/box-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/D,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACvE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAmC7D,MAAM,MAAM,cAAc,CACxB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS,GACpB,mBAAmB,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAEvE,gBAAgB,cAAc,CAAC,mBAAmB,CAAC,4CAgEpD,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import { PolymorphicComponentProps, OtherGenericComponent } from '../../../types/polymorphic-component.type';
|
|
3
|
-
export type CenterLayoutProps<TComponent extends OtherGenericComponent & ElementType = "div"> = PolymorphicComponentProps<TComponent, {
|
|
4
|
-
className?: string;
|
|
5
|
-
textAlign?: "start" | "center" | "end";
|
|
6
|
-
shrinkToContent?: boolean;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}>;
|
|
9
|
-
/**
|
|
10
|
-
* CenterLayout ensures content is centered within the container it sits in — either by
|
|
11
|
-
* center-aligning the text, or by centering individual elements that are narrower than
|
|
12
|
-
* the rest, instead of letting them stretch out to full width.
|
|
13
|
-
*
|
|
14
|
-
* CenterLayout does not set any `max-width` itself, and therefore works best together
|
|
15
|
-
* with a WrapperLayout that constrains the width of the container it centers within.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* <WrapperLayout maxWidth="40em">
|
|
20
|
-
* <CenterLayout textAlign="center" shrinkToContent>
|
|
21
|
-
* <StackLayout space="md" style={{ maxWidth: "32rem" }}>
|
|
22
|
-
* <Heading level={1}>Heading</Heading>
|
|
23
|
-
* <Button>Get started</Button>
|
|
24
|
-
* </StackLayout>
|
|
25
|
-
* </CenterLayout>
|
|
26
|
-
* </WrapperLayout>
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare const CenterLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(centerLayoutProps: CenterLayoutProps<TComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
//# sourceMappingURL=center-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"center-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/center-layouts/center-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,YAAY,GACvB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,mBAAmB,iBAAiB,CAAC,UAAU,CAAC,4CA8BjD,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { OtherGenericComponent, PolymorphicComponentProps } from '../../../types/polymorphic-component.type';
|
|
2
|
-
import { ElementType, ReactNode } from 'react';
|
|
3
|
-
import { ClusterJustify } from './types/cluster-justify.type';
|
|
4
|
-
import { ClusterAlign } from './types/cluster-align.type';
|
|
5
|
-
export type { ClusterJustify, ClusterAlign };
|
|
6
|
-
export type ClusterLayoutSpace = "sm" | "md" | "lg";
|
|
7
|
-
export type ClusterLayoutProps<TComponent extends OtherGenericComponent & ElementType = "div"> = PolymorphicComponentProps<TComponent, {
|
|
8
|
-
justify?: ClusterJustify;
|
|
9
|
-
align?: ClusterAlign;
|
|
10
|
-
space?: ClusterLayoutSpace;
|
|
11
|
-
noWrap?: boolean;
|
|
12
|
-
className?: string | undefined;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
}>;
|
|
15
|
-
/**
|
|
16
|
-
* ClusterLayout groups elements of varying widths — such as buttons, tags, or navigation
|
|
17
|
-
* links — into a flexible group that wraps naturally onto a new line when there isn't
|
|
18
|
-
* enough room, without the spacing between elements becoming uneven or missing anywhere.
|
|
19
|
-
*
|
|
20
|
-
* The elements behave like words in a sentence: they sit next to each other and wrap onto
|
|
21
|
-
* the next line on their own when there's no longer room, with even spacing no matter how
|
|
22
|
-
* many rows result.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```tsx
|
|
26
|
-
* <ClusterLayout justify="space-between" align="center" space="md">
|
|
27
|
-
* <strong>Company logo</strong>
|
|
28
|
-
* <Button>Log in</Button>
|
|
29
|
-
* </ClusterLayout>
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare const ClusterLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(clusterLayoutProps: ClusterLayoutProps<TComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
//# sourceMappingURL=cluster-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/cluster-layouts/cluster-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,kBAAkB,CAC5B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa,GACxB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,oBAAoB,kBAAkB,CAAC,UAAU,CAAC,4CAkCnD,CAAC"}
|
package/@smudi/components/layout-components/cluster-layouts/constants/cluster-align-css.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-align-css.d.ts","sourceRoot":"","sources":["../../../../../components/layout-components/cluster-layouts/constants/cluster-align-css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,sEAMkB,CAAC"}
|
package/@smudi/components/layout-components/cluster-layouts/constants/cluster-justify-css.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-justify-css.d.ts","sourceRoot":"","sources":["../../../../../components/layout-components/cluster-layouts/constants/cluster-justify-css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,gHASkB,CAAC"}
|
package/@smudi/components/layout-components/cluster-layouts/types/cluster-align.type.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-align.type.d.ts","sourceRoot":"","sources":["../../../../../components/layout-components/cluster-layouts/types/cluster-align.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,UAAU,GACV,SAAS,CAAC"}
|
package/@smudi/components/layout-components/cluster-layouts/types/cluster-justify.type.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-justify.type.d.ts","sourceRoot":"","sources":["../../../../../components/layout-components/cluster-layouts/types/cluster-justify.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GACtB,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,eAAe,GACf,cAAc,GACd,cAAc,GACd,OAAO,GACP,KAAK,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import { PolymorphicComponentProps, OtherGenericComponent } from '../../../types/polymorphic-component.type';
|
|
3
|
-
export type GridLayoutSpace = "none" | "xs" | "sm" | "md" | "lg";
|
|
4
|
-
export type GridLayoutMinWidth = number | string;
|
|
5
|
-
export type GridLayoutProps<TComponent extends OtherGenericComponent & ElementType = "div"> = PolymorphicComponentProps<TComponent, {
|
|
6
|
-
/**
|
|
7
|
-
* Minimum width a cell can have before the grid wraps to a new row/column.
|
|
8
|
-
*
|
|
9
|
-
* Accepts free CSS width values (for example `"280px"`, `"35%"`,
|
|
10
|
-
* `"18rem"`, `"var(--my-size)"`).
|
|
11
|
-
*
|
|
12
|
-
* For backwards compatibility, numbers 1-30 still map to
|
|
13
|
-
* `var(--ds-size-{n})`, while other numeric values are treated as `px`.
|
|
14
|
-
*/
|
|
15
|
-
minWidth?: GridLayoutMinWidth;
|
|
16
|
-
space?: GridLayoutSpace;
|
|
17
|
-
className?: string;
|
|
18
|
-
recursive?: boolean;
|
|
19
|
-
children: ReactNode;
|
|
20
|
-
}>;
|
|
21
|
-
/**
|
|
22
|
-
* GridLayout distributes content into a grid of columns and rows, where the number of
|
|
23
|
-
* columns automatically adapts to the available space — without `@media` queries.
|
|
24
|
-
*
|
|
25
|
-
* The grid uses `repeat(auto-fit, minmax(min(var(--min-width), 100%), 1fr))`, so the
|
|
26
|
-
* browser itself calculates the number of columns based on `minWidth`, and never lets a
|
|
27
|
-
* cell become so wide that content is pushed off the screen.
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```tsx
|
|
31
|
-
* <GridLayout minWidth="18rem" space="md">
|
|
32
|
-
* <Card>Card 1</Card>
|
|
33
|
-
* <Card>Card 2</Card>
|
|
34
|
-
* <Card>Card 3</Card>
|
|
35
|
-
* </GridLayout>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
export declare const GridLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(gridLayoutProps: GridLayoutProps<TComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
//# sourceMappingURL=grid-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grid-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/grid-layouts/grid-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,CAAC;AAiCjD,MAAM,MAAM,eAAe,CACzB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,UAAU,GACrB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,iBAAiB,eAAe,CAAC,UAAU,CAAC,4CA8B7C,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { SplitViewProps } from './split-view';
|
|
3
|
-
import { SplitViewPanel, SplitViewPanelProps } from './split-view-panel';
|
|
4
|
-
declare const SplitView: FC<SplitViewProps> & {
|
|
5
|
-
Panel: typeof SplitViewPanel;
|
|
6
|
-
};
|
|
7
|
-
export { SplitView, type SplitViewPanelProps, type SplitViewProps };
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/split-view/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,KAAK,cAAc,EAA8B,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9E,QAAA,MAAM,SAAS,EAGT,EAAE,CAAC,cAAc,CAAC,GAAG;IACzB,KAAK,EAAE,OAAO,cAAc,CAAC;CAC9B,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,KAAK,mBAAmB,EAAE,KAAK,cAAc,EAAE,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, KeyboardEvent } from 'react';
|
|
2
|
-
type Props = ComponentProps<"button"> & {
|
|
3
|
-
handleKeyResize: (event: KeyboardEvent) => void;
|
|
4
|
-
handleDragResize: () => void;
|
|
5
|
-
};
|
|
6
|
-
export declare function SplitViewDivider({ className, handleKeyResize, handleDragResize, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=split-view-divider.d.ts.map
|