@kanso-labs/kanso-ui 0.45.6 → 0.45.7
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/badge/index.js +1 -2
- package/dist/button/context.js +1 -2
- package/dist/button/group.js +1 -2
- package/dist/button/hooks.js +1 -2
- package/dist/button/index.d.ts +0 -2
- package/dist/button/index.js +1 -2
- package/dist/button/styles.js +1 -2
- package/dist/button/toggle.js +1 -2
- package/dist/calendar/index.js +1 -2
- package/dist/calendar/months.js +1 -2
- package/dist/calendar/styles.js +1 -2
- package/dist/carousel/arrangement.d.ts +0 -2
- package/dist/carousel/arrangement.js +0 -1
- package/dist/chip/index.js +1 -2
- package/dist/chip/label.js +1 -2
- package/dist/chip/styles.js +1 -2
- package/dist/collection/empty.js +1 -2
- package/dist/collection/index.js +1 -2
- package/dist/collection/styles.js +1 -2
- package/dist/collection/text.js +1 -2
- package/dist/color-scheme.d.ts +0 -2
- package/dist/color-scheme.js +1 -2
- package/dist/components/app-bar/index.d.ts +0 -2
- package/dist/components/app-bar/index.js +1 -2
- package/dist/components/autocomplete/index.d.ts +0 -2
- package/dist/components/autocomplete/index.js +1 -2
- package/dist/components/avatar/index.d.ts +0 -2
- package/dist/components/avatar/index.js +1 -2
- package/dist/components/badge/index.d.ts +0 -2
- package/dist/components/badge/index.js +1 -2
- package/dist/components/breadcrumbs/index.d.ts +0 -2
- package/dist/components/breadcrumbs/index.js +1 -2
- package/dist/components/button/index.d.ts +0 -2
- package/dist/components/button/index.js +1 -2
- package/dist/components/button-group/index.d.ts +0 -2
- package/dist/components/button-group/index.js +1 -2
- package/dist/components/calendar/index.d.ts +0 -2
- package/dist/components/calendar/index.js +1 -2
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/card/index.js +1 -2
- package/dist/components/carousel/index.d.ts +0 -2
- package/dist/components/carousel/index.js +1 -2
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/checkbox/index.js +1 -2
- package/dist/components/checkbox-group/index.d.ts +0 -2
- package/dist/components/checkbox-group/index.js +1 -2
- package/dist/components/chip/index.d.ts +0 -2
- package/dist/components/chip/index.js +1 -2
- package/dist/components/chip-group/index.d.ts +0 -2
- package/dist/components/chip-group/index.js +1 -2
- package/dist/components/code/index.d.ts +0 -2
- package/dist/components/code/index.js +1 -2
- package/dist/components/color-area/index.d.ts +0 -2
- package/dist/components/color-area/index.js +1 -2
- package/dist/components/color-field/index.d.ts +0 -2
- package/dist/components/color-field/index.js +1 -2
- package/dist/components/color-picker/index.d.ts +0 -2
- package/dist/components/color-picker/index.js +1 -2
- package/dist/components/color-slider/index.d.ts +0 -2
- package/dist/components/color-slider/index.js +1 -2
- package/dist/components/color-swatch/index.d.ts +0 -2
- package/dist/components/color-swatch/index.js +1 -2
- package/dist/components/color-swatch-picker/index.d.ts +0 -2
- package/dist/components/color-swatch-picker/index.js +1 -2
- package/dist/components/color-wheel/index.d.ts +0 -2
- package/dist/components/color-wheel/index.js +1 -2
- package/dist/components/combo-box/index.d.ts +0 -2
- package/dist/components/combo-box/index.js +1 -2
- package/dist/components/container/index.d.ts +0 -2
- package/dist/components/container/index.js +1 -2
- package/dist/components/copy-field/index.d.ts +0 -2
- package/dist/components/copy-field/index.js +1 -2
- package/dist/components/currency/index.d.ts +0 -2
- package/dist/components/currency/index.js +1 -2
- package/dist/components/date-field/index.d.ts +0 -2
- package/dist/components/date-field/index.js +1 -2
- package/dist/components/date-picker/index.d.ts +0 -2
- package/dist/components/date-picker/index.js +1 -2
- package/dist/components/date-range-picker/index.d.ts +0 -2
- package/dist/components/date-range-picker/index.js +1 -2
- package/dist/components/dialog/index.d.ts +0 -2
- package/dist/components/dialog/index.js +1 -2
- package/dist/components/disclosure/index.d.ts +0 -2
- package/dist/components/disclosure/index.js +1 -2
- package/dist/components/disclosure-group/index.d.ts +0 -2
- package/dist/components/disclosure-group/index.js +1 -2
- package/dist/components/drop-zone/index.d.ts +0 -2
- package/dist/components/drop-zone/index.js +1 -2
- package/dist/components/drop-zone/styles.js +1 -2
- package/dist/components/fab/index.d.ts +0 -2
- package/dist/components/fab/index.js +1 -2
- package/dist/components/fab-menu/index.d.ts +0 -2
- package/dist/components/fab-menu/index.js +1 -2
- package/dist/components/feed/index.d.ts +0 -2
- package/dist/components/feed/index.js +1 -2
- package/dist/components/form/index.d.ts +0 -2
- package/dist/components/form/index.js +1 -2
- package/dist/components/icon-button/index.d.ts +0 -2
- package/dist/components/icon-button/index.js +1 -2
- package/dist/components/keycap/index.d.ts +0 -2
- package/dist/components/keycap/index.js +1 -2
- package/dist/components/link/index.d.ts +0 -2
- package/dist/components/link/index.js +1 -2
- package/dist/components/list/index.d.ts +0 -2
- package/dist/components/list/index.js +1 -2
- package/dist/components/list-box/index.d.ts +0 -2
- package/dist/components/list-box/index.js +1 -2
- package/dist/components/list-detail/index.d.ts +0 -2
- package/dist/components/list-detail/index.js +1 -2
- package/dist/components/list-item/index.d.ts +0 -2
- package/dist/components/list-item/index.js +1 -2
- package/dist/components/loading-indicator/index.d.ts +0 -2
- package/dist/components/loading-indicator/index.js +1 -2
- package/dist/components/menu/index.d.ts +0 -2
- package/dist/components/menu/index.js +1 -2
- package/dist/components/meter/index.d.ts +0 -2
- package/dist/components/meter/index.js +1 -2
- package/dist/components/navigation-bar/index.d.ts +0 -2
- package/dist/components/navigation-bar/index.js +1 -2
- package/dist/components/navigation-rail/index.d.ts +0 -2
- package/dist/components/navigation-rail/index.js +1 -2
- package/dist/components/navigation-tree/index.d.ts +0 -2
- package/dist/components/navigation-tree/index.js +1 -2
- package/dist/components/number-field/index.d.ts +0 -2
- package/dist/components/number-field/index.js +1 -2
- package/dist/components/popover/index.d.ts +0 -2
- package/dist/components/popover/index.js +1 -2
- package/dist/components/product-icon/index.d.ts +0 -2
- package/dist/components/product-icon/index.js +1 -2
- package/dist/components/progress-indicator/index.d.ts +0 -2
- package/dist/components/progress-indicator/index.js +1 -2
- package/dist/components/radio-group/index.d.ts +0 -2
- package/dist/components/radio-group/index.js +1 -2
- package/dist/components/range-calendar/index.d.ts +0 -2
- package/dist/components/range-calendar/index.js +1 -2
- package/dist/components/search-field/index.d.ts +0 -2
- package/dist/components/search-field/index.js +1 -2
- package/dist/components/search-view/index.d.ts +0 -2
- package/dist/components/search-view/index.js +1 -2
- package/dist/components/segmented-button/index.d.ts +0 -2
- package/dist/components/segmented-button/index.js +1 -2
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/select/index.js +1 -2
- package/dist/components/separator/index.d.ts +0 -2
- package/dist/components/separator/index.js +1 -2
- package/dist/components/sheet/index.d.ts +0 -2
- package/dist/components/sheet/index.js +1 -2
- package/dist/components/slider/index.d.ts +0 -2
- package/dist/components/slider/index.js +1 -2
- package/dist/components/snackbar/index.d.ts +0 -2
- package/dist/components/snackbar/index.js +1 -2
- package/dist/components/split-button/index.d.ts +0 -2
- package/dist/components/split-button/index.js +1 -2
- package/dist/components/stack/index.d.ts +0 -2
- package/dist/components/stack/index.js +1 -2
- package/dist/components/supporting-pane/index.d.ts +0 -2
- package/dist/components/supporting-pane/index.js +1 -2
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/switch/index.js +1 -2
- package/dist/components/table/index.d.ts +0 -2
- package/dist/components/table/index.js +1 -2
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/tabs/index.js +1 -2
- package/dist/components/tag/index.d.ts +0 -2
- package/dist/components/tag/index.js +1 -2
- package/dist/components/text/index.d.ts +0 -2
- package/dist/components/text/index.js +1 -2
- package/dist/components/text-area/index.d.ts +0 -2
- package/dist/components/text-area/index.js +1 -2
- package/dist/components/text-field/index.d.ts +0 -2
- package/dist/components/text-field/index.js +1 -2
- package/dist/components/time-field/index.d.ts +0 -2
- package/dist/components/time-field/index.js +1 -2
- package/dist/components/time-picker/index.d.ts +0 -2
- package/dist/components/time-picker/index.js +1 -2
- package/dist/components/token-field/index.d.ts +0 -2
- package/dist/components/token-field/index.js +1 -2
- package/dist/components/toolbar/index.d.ts +0 -2
- package/dist/components/toolbar/index.js +1 -2
- package/dist/components/tooltip/index.d.ts +0 -2
- package/dist/components/tooltip/index.js +1 -2
- package/dist/components/tree/index.d.ts +0 -2
- package/dist/components/tree/index.js +1 -2
- package/dist/control/index.js +1 -2
- package/dist/control/styles.js +1 -2
- package/dist/drag/hooks.d.ts +0 -2
- package/dist/drag/hooks.js +1 -2
- package/dist/drag/index.js +1 -2
- package/dist/drag/styles.js +1 -2
- package/dist/fab/styles.js +1 -2
- package/dist/field/index.d.ts +0 -2
- package/dist/field/index.js +1 -2
- package/dist/field/press.js +1 -2
- package/dist/field/root.js +1 -2
- package/dist/field/styles.js +1 -2
- package/dist/glyphs/index.js +1 -2
- package/dist/glyphs/styles.js +1 -2
- package/dist/hooks/useAppBarScroll.d.ts +0 -2
- package/dist/hooks/useAppBarScroll.js +0 -1
- package/dist/hooks/useBottomEdge.js +1 -2
- package/dist/hooks/useClippedTitle.js +1 -2
- package/dist/hooks/useImageLoadingStatus.js +1 -2
- package/dist/hooks/useRipple.js +1 -2
- package/dist/hooks/useScrollStop.js +1 -2
- package/dist/hooks/useToggleGroupDisabled.js +1 -2
- package/dist/i18n/index.js +1 -2
- package/dist/i18n/messages.js +1 -2
- package/dist/indicator/index.js +1 -2
- package/dist/indicator/styles.d.ts +0 -2
- package/dist/indicator/styles.js +0 -1
- package/dist/kanso-ui-core/defaults-DMH0HWCw.d.ts +0 -2
- package/dist/kanso-ui-core/glyphs.js +1 -2
- package/dist/keycap/context.js +1 -2
- package/dist/layout.d.ts +0 -2
- package/dist/layout.js +1 -2
- package/dist/mark/index.js +1 -2
- package/dist/mark/initials.js +1 -2
- package/dist/mark/styles.js +1 -2
- package/dist/navigation/context.js +1 -2
- package/dist/navigation/index.d.ts +0 -2
- package/dist/navigation/index.js +1 -2
- package/dist/navigation/styles.js +1 -2
- package/dist/node_modules/@stylexjs/stylex/lib/es/stylex.js +1 -2
- package/dist/overlay/index.js +1 -2
- package/dist/render/aria.js +1 -2
- package/dist/render/content.js +1 -2
- package/dist/render/name.d.ts +0 -2
- package/dist/render/ref.js +1 -2
- package/dist/render/useRender.d.ts +0 -2
- package/dist/render/useRender.js +1 -2
- package/dist/row/index.js +1 -2
- package/dist/row/styles.js +1 -2
- package/dist/segments/index.js +1 -2
- package/dist/segments/styles.js +1 -2
- package/dist/styles/chequer.js +1 -2
- package/dist/styles/color.js +1 -2
- package/dist/styles/focus.js +1 -2
- package/dist/styles/icon-button.js +1 -2
- package/dist/styles/merge.js +1 -2
- package/dist/styles/overlay.d.ts +0 -2
- package/dist/styles/overlay.js +1 -2
- package/dist/styles/picker.js +1 -2
- package/dist/styles/ripple.js +1 -2
- package/dist/styles/scheme.js +1 -2
- package/dist/theme-scope.d.ts +0 -2
- package/dist/theme-scope.js +1 -2
- package/dist/tokens/design.tokens.stylex.js +1 -2
- package/dist/tokens/values.js +1 -2
- package/package.json +15 -15
|
@@ -13,7 +13,7 @@ import RangeCalendar$1 from "../range-calendar/index.js";
|
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { Button, DateInput, DateRangePicker, Dialog, Group, Popover } from "react-aria-components";
|
|
16
|
-
|
|
16
|
+
// src/components/date-range-picker/index.tsx
|
|
17
17
|
function calendarTrigger(triggerLabel) {
|
|
18
18
|
return /* @__PURE__ */ jsx(Button, {
|
|
19
19
|
"aria-label": triggerLabel,
|
|
@@ -206,7 +206,6 @@ function DateRangePicker$1(t0) {
|
|
|
206
206
|
} else t20 = $[39];
|
|
207
207
|
return t20;
|
|
208
208
|
}
|
|
209
|
-
//#endregion
|
|
210
209
|
export { DateRangePicker$1 as default };
|
|
211
210
|
|
|
212
211
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ClassNameOrFunction, DialogProps, DialogTriggerProps, HeadingProps, ModalOverlayProps, ModalRenderProps, StyleOrFunction } from "react-aria-components";
|
|
3
|
-
//#region src/components/dialog/index.d.ts
|
|
4
3
|
type DialogProps$1 = Omit<DialogTriggerProps, 'children'> & {
|
|
5
4
|
children?: ReactNode;
|
|
6
5
|
};
|
|
@@ -129,6 +128,5 @@ type DialogContentProps = {
|
|
|
129
128
|
style?: StyleOrFunction<ModalRenderProps>;
|
|
130
129
|
} & Omit<DialogProps, 'className' | 'style'> & Pick<ModalOverlayProps, 'defaultOpen' | 'isKeyboardDismissDisabled' | 'isOpen' | 'onOpenChange'>;
|
|
131
130
|
type DialogTitleProps = HeadingProps;
|
|
132
|
-
//#endregion
|
|
133
131
|
export { DialogBody, DialogContent, type DialogContentProps, DialogFooter, DialogHeader, type DialogProps$1 as DialogProps, DialogTitle, type DialogTitleProps, Dialog$1 as default };
|
|
134
132
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { createContext, useContext, useId, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
import { Dialog, DialogTrigger, Heading, HeadingContext, Modal, ModalOverlay, useSlottedContext } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/dialog/index.tsx
|
|
15
15
|
`${sizing.controlSm}${typography.headlineSmallLineHeight}`;
|
|
16
16
|
const FULL_SCREEN = "(width < 600px)";
|
|
17
17
|
const styles = {
|
|
@@ -472,7 +472,6 @@ Dialog$1.Content = DialogContent;
|
|
|
472
472
|
Dialog$1.Footer = DialogFooter;
|
|
473
473
|
Dialog$1.Header = DialogHeader;
|
|
474
474
|
Dialog$1.Title = DialogTitle;
|
|
475
|
-
//#endregion
|
|
476
475
|
export { DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Dialog$1 as default };
|
|
477
476
|
|
|
478
477
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { DisclosurePanelProps, DisclosureProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/disclosure/index.d.ts
|
|
4
3
|
type DisclosureHeaderProps = {
|
|
5
4
|
/** The header's headline — what the section is about. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -63,6 +62,5 @@ declare function DisclosureHeader({ children, headingLevel, leading, supporting
|
|
|
63
62
|
* reader should be able to jump to.
|
|
64
63
|
*/
|
|
65
64
|
declare function DisclosurePanel$1({ children, ...props }: DisclosurePanelProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
66
|
-
//#endregion
|
|
67
65
|
export { DisclosureHeader, type DisclosureHeaderProps, DisclosurePanel$1 as DisclosurePanel, type DisclosurePanelProps$1 as DisclosurePanelProps, type DisclosureProps$1 as DisclosureProps, Disclosure$1 as default };
|
|
68
66
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { c } from "react/compiler-runtime";
|
|
|
9
9
|
import { useContext } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { Button, Disclosure, DisclosurePanel, DisclosureStateContext, Heading } from "react-aria-components";
|
|
12
|
-
|
|
12
|
+
// src/components/disclosure/index.tsx
|
|
13
13
|
const styles = { header: {
|
|
14
14
|
kzqmXN: "xh8yej3",
|
|
15
15
|
k9WMMc: "x1yc453h",
|
|
@@ -203,7 +203,6 @@ function headerContent(children, leading, supporting, isExpanded, ripple) {
|
|
|
203
203
|
}
|
|
204
204
|
Disclosure$1.Header = DisclosureHeader;
|
|
205
205
|
Disclosure$1.Panel = DisclosurePanel$1;
|
|
206
|
-
//#endregion
|
|
207
206
|
export { DisclosureHeader, DisclosurePanel$1 as DisclosurePanel, Disclosure$1 as default };
|
|
208
207
|
|
|
209
208
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { DisclosureGroupProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/disclosure-group/index.d.ts
|
|
4
3
|
type DisclosureGroupProps$1 = Omit<DisclosureGroupProps, 'children'> & {
|
|
5
4
|
/** The sections, as `Disclosure` elements each given an `id`. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -32,6 +31,5 @@ type DisclosureGroupProps$1 = Omit<DisclosureGroupProps, 'children'> & {
|
|
|
32
31
|
* element a layout positions.
|
|
33
32
|
*/
|
|
34
33
|
declare function DisclosureGroup$1({ children, divided, ...props }: DisclosureGroupProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
35
|
-
//#endregion
|
|
36
34
|
export { type DisclosureGroupProps$1 as DisclosureGroupProps, DisclosureGroup$1 as default };
|
|
37
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { c } from "react/compiler-runtime";
|
|
|
5
5
|
import { Children, Fragment, isValidElement } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { DisclosureGroup } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/disclosure-group/index.tsx
|
|
9
9
|
/**
|
|
10
10
|
* A stack of `Disclosure` sections that agree about what is open. Which are
|
|
11
11
|
* expanded is React Aria's: pass `expandedKeys` with `onExpandedChange` to
|
|
@@ -90,7 +90,6 @@ function keyOf(section, index) {
|
|
|
90
90
|
if (isValidElement(section)) return section.key ?? String(index);
|
|
91
91
|
return String(index);
|
|
92
92
|
}
|
|
93
|
-
//#endregion
|
|
94
93
|
export { DisclosureGroup$1 as default };
|
|
95
94
|
|
|
96
95
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { DropZoneProps, FileTriggerProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/drop-zone/index.d.ts
|
|
4
3
|
type DropZoneProps$1 = Omit<DropZoneProps, 'children' | 'className' | 'style'> & {
|
|
5
4
|
/** What the target holds: its label, and whatever else it offers. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -55,6 +54,5 @@ declare function DropZone$1({ children, label, ...props }: DropZoneProps$1 & Ref
|
|
|
55
54
|
* `defaultCamera` opens straight to a camera on a device that has one.
|
|
56
55
|
*/
|
|
57
56
|
declare function FileTrigger$1(props: FileTriggerProps$1): import("react").JSX.Element;
|
|
58
|
-
//#endregion
|
|
59
57
|
export { type DropZoneProps$1 as DropZoneProps, FileTrigger$1 as FileTrigger, type FileTriggerProps$1 as FileTriggerProps, DropZone$1 as default };
|
|
60
58
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { dropZoneStyles, rootStyles } from "./styles.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { DropZone, FileTrigger } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/drop-zone/index.tsx
|
|
9
9
|
function content(children, label, isDisabled) {
|
|
10
10
|
return /* @__PURE__ */ jsxs(Fragment, { children: [label === void 0 ? null : /* @__PURE__ */ jsx("p", {
|
|
11
11
|
...props(dropZoneStyles.label, isDisabled && dropZoneStyles.labelDisabled),
|
|
@@ -102,7 +102,6 @@ function FileTrigger$1(props) {
|
|
|
102
102
|
} else t0 = $[1];
|
|
103
103
|
return t0;
|
|
104
104
|
}
|
|
105
|
-
//#endregion
|
|
106
105
|
export { FileTrigger$1 as FileTrigger, DropZone$1 as default };
|
|
107
106
|
|
|
108
107
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/drop-zone/styles.ts
|
|
2
2
|
const dropZoneStyles = {
|
|
3
3
|
label: {
|
|
4
4
|
kMwMTN: "x1w5n3ug",
|
|
@@ -71,7 +71,6 @@ function rootStyles(state) {
|
|
|
71
71
|
7: { className: "x12w9bfk x6s0dn4 x62ce2h xmkeg23 x9f619 x78zum5 xdt5ytf x1gka490 xl56j7k x1db3i3o xrgy624 x2ssjo2 x1de99jn x1apw6a7 xkzkux9 xts7igz xpc4ca7 xaatb59 x1y0btm7 x14s9m32 x9wqfse x1xj74d8 x1h6gzvc" }
|
|
72
72
|
}[!!state.isFocusVisible << 2 | !!state.isDropTarget << 1 | !!state.isDisabled << 0];
|
|
73
73
|
}
|
|
74
|
-
//#endregion
|
|
75
74
|
export { dropZoneStyles, rootStyles };
|
|
76
75
|
|
|
77
76
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ButtonDOMProps, ButtonState } from "../../button/index.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { ClassNameOrFunction, StyleOrFunction } from "react-aria-components";
|
|
4
|
-
//#region src/components/fab/index.d.ts
|
|
5
4
|
type FabProps = {
|
|
6
5
|
/**
|
|
7
6
|
* What the FAB does, in words. A FAB without a `label` is an icon alone,
|
|
@@ -67,6 +66,5 @@ type FabVariant = 'filled' | 'tonal';
|
|
|
67
66
|
* ```
|
|
68
67
|
*/
|
|
69
68
|
declare function Fab({ children, label, size, tone, variant, ...props }: FabProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>): import("react").JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
69
|
export { type FabProps, type FabSize, type FabTone, type FabVariant, Fab as default };
|
|
72
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { ButtonBase } from "../../button/index.js";
|
|
|
5
5
|
import { extendedFabSizes, fabIconSizes, fabSizes, fabStyles, fabTones } from "../../fab/styles.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/fab/index.tsx
|
|
9
9
|
/**
|
|
10
10
|
* A screen's primary action, raised over its content. Its icon is its
|
|
11
11
|
* children; given a `label` it is the extended FAB, with the label after the
|
|
@@ -83,7 +83,6 @@ function Fab(t0) {
|
|
|
83
83
|
function fabClasses(isExtended, size, tone, variant) {
|
|
84
84
|
return (state) => props(fabStyles.base, focus.ring, fabTones[variant][tone], isExtended ? extendedFabSizes[size] : fabSizes[size], state.isHovered && fabStyles.hovered, state.isFocusVisible && fabStyles.focused, state.isPressed && fabStyles.pressed, state.isDisabled && fabStyles.disabled);
|
|
85
85
|
}
|
|
86
|
-
//#endregion
|
|
87
86
|
export { Fab as default };
|
|
88
87
|
|
|
89
88
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { ButtonState } from "../../button/index.js";
|
|
|
2
2
|
import { FabSize, FabTone } from "../fab/index.js";
|
|
3
3
|
import { ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { ClassNameOrFunction, Key, MenuItemProps, MenuItemRenderProps, StyleOrFunction } from "react-aria-components";
|
|
5
|
-
//#region src/components/fab-menu/index.d.ts
|
|
6
5
|
type FabMenuItemProps = Omit<MenuItemProps, 'children' | 'className' | 'style'> & {
|
|
7
6
|
/** The action's name, drawn as its label. */
|
|
8
7
|
children: ReactNode;
|
|
@@ -87,6 +86,5 @@ declare namespace FabMenu {
|
|
|
87
86
|
* Choosing it closes the menu.
|
|
88
87
|
*/
|
|
89
88
|
declare function FabMenuItem({ children, icon, onContextMenu, onPointerCancel, onPointerDown, onPointerLeave, onPointerUp, textValue, ...props }: FabMenuItemProps & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
90
|
-
//#endregion
|
|
91
89
|
export { FabMenuItem, type FabMenuItemProps, type FabMenuProps, FabMenu as default };
|
|
92
90
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { createContext, useContext, useState } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Menu, MenuItem, MenuTrigger, Popover, Text } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/fab-menu/index.tsx
|
|
15
15
|
const styles = {
|
|
16
16
|
closeButton: {
|
|
17
17
|
kZKoxP: "xs1ryiz",
|
|
@@ -291,7 +291,6 @@ function triggerClasses(isOpen, size, tone) {
|
|
|
291
291
|
return (state) => props(fabStyles.base, focus.ring, styles.trigger, isOpen ? fabTones.filled[tone] : fabTones.tonal[tone], isOpen ? styles.closeButton : fabSizes[size], state.isHovered && fabStyles.hovered, state.isFocusVisible && fabStyles.focused, !isOpen && state.isPressed && fabStyles.pressed, state.isDisabled && fabStyles.disabled);
|
|
292
292
|
}
|
|
293
293
|
FabMenu.Item = FabMenuItem;
|
|
294
|
-
//#endregion
|
|
295
294
|
export { FabMenuItem, FabMenu as default };
|
|
296
295
|
|
|
297
296
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/feed/index.d.ts
|
|
3
2
|
type FeedProps = {
|
|
4
3
|
/**
|
|
5
4
|
* How narrow a cell may get before the grid drops a column. Every column is
|
|
@@ -30,6 +29,5 @@ type FeedProps = {
|
|
|
30
29
|
* inside a pane reflows with the pane rather than with the browser.
|
|
31
30
|
*/
|
|
32
31
|
declare function Feed({ minItemWidth, render, ...props }: FeedProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
33
|
-
//#endregion
|
|
34
32
|
export { type FeedProps, Feed as default };
|
|
35
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
|
3
3
|
import { useRender } from "../../render/useRender.js";
|
|
4
4
|
import { mergeStyles } from "../../styles/merge.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/feed/index.tsx
|
|
7
7
|
const DEFAULT_MIN_ITEM_WIDTH = "180px";
|
|
8
8
|
const _temp = {
|
|
9
9
|
kB7OPa: "x9f619",
|
|
@@ -79,7 +79,6 @@ function Feed(t0) {
|
|
|
79
79
|
} else t6 = $[12];
|
|
80
80
|
return t4(t6);
|
|
81
81
|
}
|
|
82
|
-
//#endregion
|
|
83
82
|
export { Feed as default };
|
|
84
83
|
|
|
85
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, RefAttributes } from "react";
|
|
2
2
|
import { FormProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/form/index.d.ts
|
|
4
3
|
type FormProps$1 = {
|
|
5
4
|
className?: string;
|
|
6
5
|
style?: CSSProperties;
|
|
@@ -55,6 +54,5 @@ type FormProps$1 = {
|
|
|
55
54
|
* the element a layout positions.
|
|
56
55
|
*/
|
|
57
56
|
declare function Form$1({ validationBehavior, ...props }: FormProps$1 & RefAttributes<HTMLFormElement>): import("react").JSX.Element;
|
|
58
|
-
//#endregion
|
|
59
57
|
export { type FormProps$1 as FormProps, Form$1 as default };
|
|
60
58
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { FIELD_VALIDATION_BEHAVIOR } from "../../field/root.js";
|
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { Form } from "react-aria-components";
|
|
7
|
-
|
|
7
|
+
// src/components/form/index.tsx
|
|
8
8
|
/**
|
|
9
9
|
* A form: the fields inside it and what they are told about validation. Pass
|
|
10
10
|
* `validationErrors`, an object keyed by field `name`, to show what a server
|
|
@@ -69,7 +69,6 @@ function Form$1(t0) {
|
|
|
69
69
|
} else t4 = $[9];
|
|
70
70
|
return t4;
|
|
71
71
|
}
|
|
72
|
-
//#endregion
|
|
73
72
|
export { Form$1 as default };
|
|
74
73
|
|
|
75
74
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ButtonDOMProps, ButtonForm, ButtonState } from "../../button/index.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { ClassNameOrFunction, DOMRenderFunction, StyleOrFunction } from "react-aria-components";
|
|
4
|
-
//#region src/components/icon-button/index.d.ts
|
|
5
4
|
type IconButtonProps = {
|
|
6
5
|
/**
|
|
7
6
|
* What the button does, in words. Required rather than optional: an icon
|
|
@@ -89,6 +88,5 @@ type IconButtonVariant = 'filled' | 'outlined' | 'standard' | 'tonal';
|
|
|
89
88
|
* ```
|
|
90
89
|
*/
|
|
91
90
|
declare function IconButton({ defaultSelected, href, isPending, isSelected, onChange, pendingLabel, rel, size: ownSize, target, variant, ...props }: IconButtonProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>): import("react").JSX.Element;
|
|
92
|
-
//#endregion
|
|
93
91
|
export { type IconButtonProps, type IconButtonSize, type IconButtonState, type IconButtonVariant, IconButton as default };
|
|
94
92
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { useContext } from "react";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
import { ToggleGroupStateContext } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/icon-button/index.tsx
|
|
15
15
|
const styles = {
|
|
16
16
|
base: {
|
|
17
17
|
kGNEyG: "x6s0dn4",
|
|
@@ -524,7 +524,6 @@ function toggleStyleProps(size, variant, group) {
|
|
|
524
524
|
return props(styles.base, focus.ring, state.isSelected === true ? toggleStyles[variant].selected : toggleStyles[variant].unselected, styles[size], roundShapes[size], variant === "outlined" && state.isSelected !== true && outlineWidths[size], state.isHovered && hovered[container], state.isFocusVisible && focused[container], state.isPressed && pressed[container], state.isPressed && selectedShapes[size], state.isPending === true && styles.pending, state.isDisabled && styles.disabled, state.isDisabled && roundShapes[size], state.isDisabled && disabledStyles[variant], state.isDisabled && state.isSelected === true && selectedDisabledStyles[variant], state.isSelected === true && selectedShapes[size], groupStyles(group, size, state));
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
|
-
//#endregion
|
|
528
527
|
export { IconButton as default };
|
|
529
528
|
|
|
530
529
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/keycap/index.d.ts
|
|
3
2
|
type KeycapProps = RenderComponentProps<'kbd'>;
|
|
4
3
|
/**
|
|
5
4
|
* A single key on a keyboard, as named in an instruction — `Enter`, `Esc`,
|
|
@@ -10,6 +9,5 @@ type KeycapProps = RenderComponentProps<'kbd'>;
|
|
|
10
9
|
* or disabled, its text and its rule take the item's colour.
|
|
11
10
|
*/
|
|
12
11
|
declare function Keycap({ render, ...props }: KeycapProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
13
|
-
//#endregion
|
|
14
12
|
export { type KeycapProps, Keycap as default };
|
|
15
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { mergeStyles } from "../../styles/merge.js";
|
|
|
4
4
|
import { KeycapToneContext } from "../../keycap/context.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { useContext } from "react";
|
|
7
|
-
|
|
7
|
+
// src/components/keycap/index.tsx
|
|
8
8
|
/**
|
|
9
9
|
* A single key on a keyboard, as named in an instruction — `Enter`, `Esc`,
|
|
10
10
|
* `Ctrl`. It renders a `<kbd>` and takes its scale from the text around it. A
|
|
@@ -45,7 +45,6 @@ function Keycap(t0) {
|
|
|
45
45
|
} else t4 = $[5];
|
|
46
46
|
return useRender(t4);
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { Keycap as default };
|
|
50
49
|
|
|
51
50
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AriaAttributes, DOMAttributes, ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ClassNameOrFunction, LinkProps, LinkRenderProps, StyleOrFunction } from "react-aria-components";
|
|
3
|
-
//#region src/components/link/index.d.ts
|
|
4
3
|
type GlobalEventKey = Exclude<keyof DOMAttributes<HTMLElement> & keyof LinkProps, 'onBlur' | 'onClick' | 'onFocus'>;
|
|
5
4
|
type LinkDOMProps = Omit<LinkProps, 'children' | 'className' | 'style' | GlobalEventKey> & Pick<DOMAttributes<HTMLElement>, GlobalEventKey>;
|
|
6
5
|
type LinkProps$1 = {
|
|
@@ -46,6 +45,5 @@ type LinkUnderline = 'always' | 'hover' | 'none';
|
|
|
46
45
|
* React Aria alone would keep only the labelling ones.
|
|
47
46
|
*/
|
|
48
47
|
declare function Link$1({ onKeyDown, onKeyUp, render, tone, underline, ...props }: LinkProps$1 & RefAttributes<HTMLAnchorElement>): import("react").JSX.Element;
|
|
49
|
-
//#endregion
|
|
50
48
|
export { type LinkDOMProps, type LinkProps$1 as LinkProps, type LinkTone, type LinkUnderline, Link$1 as default };
|
|
51
49
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { focus } from "../../styles/focus.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { Link } from "react-aria-components";
|
|
9
|
-
|
|
9
|
+
// src/components/link/index.tsx
|
|
10
10
|
const styles = {
|
|
11
11
|
base: {
|
|
12
12
|
k6CgDc: "x12w9bfk",
|
|
@@ -134,7 +134,6 @@ function Link$1(t0) {
|
|
|
134
134
|
} else t4 = $[12];
|
|
135
135
|
return t4;
|
|
136
136
|
}
|
|
137
|
-
//#endregion
|
|
138
137
|
export { Link$1 as default };
|
|
139
138
|
|
|
140
139
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { GridListItemProps, GridListLoadMoreItemProps, GridListProps, GridListSectionProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/list/index.d.ts
|
|
4
3
|
type ListLoadMoreProps = Omit<GridListLoadMoreItemProps, 'children'> & {
|
|
5
4
|
/**
|
|
6
5
|
* What the row says while it is loading. Read by a screen reader; the ring
|
|
@@ -148,6 +147,5 @@ declare function ListRow<T extends object = object>({ children, leading, onConte
|
|
|
148
147
|
* reads before the rows inside.
|
|
149
148
|
*/
|
|
150
149
|
declare function ListSection<T extends object = object>({ children, header, ...props }: ListSectionProps<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
151
|
-
//#endregion
|
|
152
150
|
export { ListLoadMore, type ListLoadMoreProps, type ListProps, ListRow, type ListRowProps, ListSection, type ListSectionProps, List as default };
|
|
153
151
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { createContext, useContext } from "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { GridList, GridListHeader, GridListItem, GridListLoadMoreItem, GridListSection } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/list/index.tsx
|
|
15
15
|
const SelectLabelContext = createContext(void 0);
|
|
16
16
|
const RowsActContext = createContext(false);
|
|
17
17
|
const NESTED_CONTROL = "a[href], button, input, label, select, textarea, [role=\"button\"], [role=\"checkbox\"], [role=\"link\"], [role=\"switch\"]";
|
|
@@ -375,7 +375,6 @@ function startsRipple(ripple, own) {
|
|
|
375
375
|
List.Item = ListRow;
|
|
376
376
|
List.LoadMore = ListLoadMore;
|
|
377
377
|
List.Section = ListSection;
|
|
378
|
-
//#endregion
|
|
379
378
|
export { ListLoadMore, ListRow, ListSection, List as default };
|
|
380
379
|
|
|
381
380
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ListBoxItemProps, ListBoxLoadMoreItemProps, ListBoxProps, ListBoxSectionProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/list-box/index.d.ts
|
|
4
3
|
type ListBoxItemProps$1<T extends object = object> = {
|
|
5
4
|
/** The option's headline — the one thing it is mostly about. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -98,6 +97,5 @@ declare function ListBoxLoadMore({ label, ...props }: ListBoxLoadMoreProps & Ref
|
|
|
98
97
|
* reads before the options inside.
|
|
99
98
|
*/
|
|
100
99
|
declare function ListBoxSection$1<T extends object = object>({ children, header, ...props }: ListBoxSectionProps$1<T> & RefAttributes<HTMLElement>): import("react").JSX.Element;
|
|
101
|
-
//#endregion
|
|
102
100
|
export { ListBoxItem$1 as ListBoxItem, type ListBoxItemProps$1 as ListBoxItemProps, ListBoxLoadMore, type ListBoxLoadMoreProps, type ListBoxProps$1 as ListBoxProps, ListBoxSection$1 as ListBoxSection, type ListBoxSectionProps$1 as ListBoxSectionProps, ListBox$1 as default };
|
|
103
101
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { RowContent } from "../../row/index.js";
|
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { Header, ListBox, ListBoxItem, ListBoxLoadMoreItem, ListBoxSection } from "react-aria-components";
|
|
12
|
-
|
|
12
|
+
// src/components/list-box/index.tsx
|
|
13
13
|
function emptyState() {
|
|
14
14
|
return /* @__PURE__ */ jsx(CollectionEmpty, { variant: "list" });
|
|
15
15
|
}
|
|
@@ -239,7 +239,6 @@ function ListBoxSection$1(t0) {
|
|
|
239
239
|
ListBox$1.Item = ListBoxItem$1;
|
|
240
240
|
ListBox$1.LoadMore = ListBoxLoadMore;
|
|
241
241
|
ListBox$1.Section = ListBoxSection$1;
|
|
242
|
-
//#endregion
|
|
243
242
|
export { ListBoxItem$1 as ListBoxItem, ListBoxLoadMore, ListBoxSection$1 as ListBoxSection, ListBox$1 as default };
|
|
244
243
|
|
|
245
244
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
//#region src/components/list-detail/index.d.ts
|
|
4
3
|
type ListDetailProps = {
|
|
5
4
|
/**
|
|
6
5
|
* The selected item's content. Stands on its own, and takes the flexible
|
|
@@ -91,6 +90,5 @@ type ListDetailProps = {
|
|
|
91
90
|
* ```
|
|
92
91
|
*/
|
|
93
92
|
declare function ListDetail({ detail, list, render, showing, ...props }: ListDetailProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
94
|
-
//#endregion
|
|
95
93
|
export { type ListDetailProps, ListDetail as default };
|
|
96
94
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { useRender } from "../../render/useRender.js";
|
|
|
3
3
|
import { mergeStyles } from "../../styles/merge.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/list-detail/index.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Material Design's list-detail layout: a fixed list pane beside a flexible
|
|
9
9
|
* detail pane, collapsing to one pane at a time below the expanded breakpoint.
|
|
@@ -162,7 +162,6 @@ function ListDetail(t0) {
|
|
|
162
162
|
} else t7 = $[25];
|
|
163
163
|
return t5(t7);
|
|
164
164
|
}
|
|
165
|
-
//#endregion
|
|
166
165
|
export { ListDetail as default };
|
|
167
166
|
|
|
168
167
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
2
|
-
//#region src/components/list-item/index.d.ts
|
|
3
2
|
type ListItemProps = {
|
|
4
3
|
/** The row's headline — the one thing it is mostly about. */
|
|
5
4
|
children?: ReactNode;
|
|
@@ -79,6 +78,5 @@ type ListItemProps = {
|
|
|
79
78
|
* ```
|
|
80
79
|
*/
|
|
81
80
|
declare function ListItem({ children, interactive, isDisabled, leading, onClick, onContextMenu, onPointerCancel, onPointerDown, onPointerLeave, onPointerUp, overline, ref, supporting, trailing, ...props }: ListItemProps & RefAttributes<HTMLButtonElement | HTMLDivElement>): import("react").JSX.Element;
|
|
82
|
-
//#endregion
|
|
83
81
|
export { type ListItemProps, ListItem as default };
|
|
84
82
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { useRipple } from "../../hooks/useRipple.js";
|
|
|
8
8
|
import { RowContent } from "../../row/index.js";
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
|
|
11
|
+
// src/components/list-item/index.tsx
|
|
12
12
|
/**
|
|
13
13
|
* A static row: the row every list draws, on its own, as the lists spec page
|
|
14
14
|
* gives it — a 56px one-line container, a body-large headline and a
|
|
@@ -113,7 +113,6 @@ function ListItem(t0) {
|
|
|
113
113
|
} else t9 = $[23];
|
|
114
114
|
return t9;
|
|
115
115
|
}
|
|
116
|
-
//#endregion
|
|
117
116
|
export { ListItem as default };
|
|
118
117
|
|
|
119
118
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RefAttributes } from "react";
|
|
2
2
|
import { ProgressBarProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/loading-indicator/index.d.ts
|
|
4
3
|
type LoadingIndicatorProps = {
|
|
5
4
|
/** A function may compute the class from the indicator's render state. */
|
|
6
5
|
className?: ProgressBarProps['className'];
|
|
@@ -25,6 +24,5 @@ type LoadingIndicatorProps = {
|
|
|
25
24
|
* the element a layout positions.
|
|
26
25
|
*/
|
|
27
26
|
declare function LoadingIndicator({ contained, ...props }: LoadingIndicatorProps & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
28
|
-
//#endregion
|
|
29
27
|
export { type LoadingIndicatorProps, LoadingIndicator as default };
|
|
30
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { ProgressBar } from "react-aria-components";
|
|
6
|
-
|
|
6
|
+
// src/components/loading-indicator/index.tsx
|
|
7
7
|
/**
|
|
8
8
|
* A shape morphing as it turns, for a wait of a few seconds whose length is
|
|
9
9
|
* not worth showing — where it would otherwise be an indeterminate ring.
|
|
@@ -65,7 +65,6 @@ function LoadingIndicator(t0) {
|
|
|
65
65
|
} else t5 = $[10];
|
|
66
66
|
return t5;
|
|
67
67
|
}
|
|
68
|
-
//#endregion
|
|
69
68
|
export { LoadingIndicator as default };
|
|
70
69
|
|
|
71
70
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { OverlayAlign, OverlaySide } from "../../styles/overlay.js";
|
|
|
2
2
|
import Separator$1 from "../separator/index.js";
|
|
3
3
|
import { ComponentProps, ReactElement, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { ClassNameOrFunction, MenuItemProps, MenuLoadMoreItemProps, MenuProps, MenuSectionProps, MenuTriggerProps, PopoverRenderProps, StyleOrFunction } from "react-aria-components";
|
|
5
|
-
//#region src/components/menu/index.d.ts
|
|
6
5
|
type MenuAlign = OverlayAlign;
|
|
7
6
|
type MenuContentProps<T extends object = object> = {
|
|
8
7
|
/**
|
|
@@ -202,6 +201,5 @@ declare function MenuSeparator(props: MenuSeparatorProps): import("react").JSX.E
|
|
|
202
201
|
* `Menu.Item` that opens it, then the `Menu.Content` it opens.
|
|
203
202
|
*/
|
|
204
203
|
declare function MenuSubmenu(props: MenuSubmenuProps): import("react").JSX.Element;
|
|
205
|
-
//#endregion
|
|
206
204
|
export { type MenuAlign, MenuContent, type MenuContentProps, MenuItem$1 as MenuItem, type MenuItemProps$1 as MenuItemProps, MenuLoadMore, type MenuLoadMoreProps, type MenuProps$1 as MenuProps, MenuSection$1 as MenuSection, type MenuSectionProps$1 as MenuSectionProps, MenuSeparator, type MenuSeparatorProps, type MenuSide, MenuSubmenu, type MenuSubmenuProps, Menu$1 as default };
|
|
207
205
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { c } from "react/compiler-runtime";
|
|
|
14
14
|
import { useContext, useEffect, useRef } from "react";
|
|
15
15
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { AutocompleteStateContext, Header, Keyboard, Menu, MenuItem, MenuLoadMoreItem, MenuSection, MenuTrigger, Popover, SubmenuTrigger, Text } from "react-aria-components";
|
|
17
|
-
|
|
17
|
+
// src/components/menu/index.tsx
|
|
18
18
|
const styles = {
|
|
19
19
|
content: {
|
|
20
20
|
kWkggS: "x1vnz5z6",
|
|
@@ -494,7 +494,6 @@ Menu$1.LoadMore = MenuLoadMore;
|
|
|
494
494
|
Menu$1.Section = MenuSection$1;
|
|
495
495
|
Menu$1.Separator = MenuSeparator;
|
|
496
496
|
Menu$1.Submenu = MenuSubmenu;
|
|
497
|
-
//#endregion
|
|
498
497
|
export { MenuContent, MenuItem$1 as MenuItem, MenuLoadMore, MenuSection$1 as MenuSection, MenuSeparator, MenuSubmenu, Menu$1 as default };
|
|
499
498
|
|
|
500
499
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IndicatorTone } from "../../indicator/styles.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { MeterProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/meter/index.d.ts
|
|
5
4
|
type MeterProps$1 = Omit<MeterProps, 'children' | 'className' | 'style'> & {
|
|
6
5
|
/** A function may compute the class from the meter's render state. */
|
|
7
6
|
className?: MeterProps['className'];
|
|
@@ -47,6 +46,5 @@ type MeterTone = Extract<IndicatorTone, 'negative' | 'positive' | 'primary'>;
|
|
|
47
46
|
* which is the element a layout positions.
|
|
48
47
|
*/
|
|
49
48
|
declare function Meter$1({ label, maxValue, minValue, showValue, tone, ...props }: MeterProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
50
|
-
//#endregion
|
|
51
49
|
export { type MeterProps$1 as MeterProps, type MeterTone, Meter$1 as default };
|
|
52
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ import { CheckCircleGlyph, ErrorGlyph } from "../../glyphs/index.js";
|
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { Meter } from "react-aria-components";
|
|
10
|
-
|
|
10
|
+
// src/components/meter/index.tsx
|
|
11
11
|
/**
|
|
12
12
|
* How full something is, on a scale it names: disk used, storage left,
|
|
13
13
|
* a rating out of five. Pass `value` between `minValue` and `maxValue`, and
|
|
@@ -104,7 +104,6 @@ function statusOf(tone) {
|
|
|
104
104
|
if (tone === "negative") return /* @__PURE__ */ jsx(ErrorGlyph, { className: "xamitd3 xmix8c7 x9f619 x2lah0s x1xp8n7a x12gp0t" });
|
|
105
105
|
if (tone === "positive") return /* @__PURE__ */ jsx(CheckCircleGlyph, { className: "xamitd3 xmix8c7 x9f619 x2lah0s x1xp8n7a x4no3js" });
|
|
106
106
|
}
|
|
107
|
-
//#endregion
|
|
108
107
|
export { Meter$1 as default };
|
|
109
108
|
|
|
110
109
|
//# sourceMappingURL=index.js.map
|