@kanso-labs/kanso-ui 0.45.5 → 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 +16 -16
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
2
|
import { NavigationItemProps } from "../../navigation/index.js";
|
|
3
3
|
import { RefAttributes } from "react";
|
|
4
|
-
//#region src/components/navigation-bar/index.d.ts
|
|
5
4
|
type NavigationBarProps = RenderComponentProps<'nav'> & {
|
|
6
5
|
/**
|
|
7
6
|
* The route of the current destination, matched exactly against each
|
|
@@ -67,6 +66,5 @@ declare namespace NavigationBar {
|
|
|
67
66
|
* component itself rather than a reference to a client one.
|
|
68
67
|
*/
|
|
69
68
|
declare function NavigationBarItem(props: NavigationItemProps & RefAttributes<HTMLAnchorElement>): import("react").JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
69
|
export { NavigationBarItem, type NavigationItemProps as NavigationBarItemProps, type NavigationBarProps, NavigationBar as default };
|
|
72
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ import { NavigationItem, NavigationList } from "../../navigation/index.js";
|
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { useLayoutEffect, useState } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/components/navigation-bar/index.tsx
|
|
11
11
|
const styles = { destinations: {
|
|
12
12
|
kGNEyG: "x6s0dn4",
|
|
13
13
|
k1xSpc: "x78zum5",
|
|
@@ -242,7 +242,6 @@ function useCramped(bar) {
|
|
|
242
242
|
return needed !== void 0;
|
|
243
243
|
}
|
|
244
244
|
NavigationBar.Item = NavigationBarItem;
|
|
245
|
-
//#endregion
|
|
246
245
|
export { NavigationBarItem, NavigationBar as default };
|
|
247
246
|
|
|
248
247
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
2
|
import { NavigationItemProps } from "../../navigation/index.js";
|
|
3
3
|
import { ReactNode, RefAttributes } from "react";
|
|
4
|
-
//#region src/components/navigation-rail/index.d.ts
|
|
5
4
|
type NavigationRailProps = RenderComponentProps<'nav'> & {
|
|
6
5
|
/**
|
|
7
6
|
* What the rail draws above its destinations: a menu button that expands
|
|
@@ -55,6 +54,5 @@ declare namespace NavigationRail {
|
|
|
55
54
|
* component itself rather than a reference to a client one.
|
|
56
55
|
*/
|
|
57
56
|
declare function NavigationRailItem(props: NavigationItemProps & RefAttributes<HTMLAnchorElement>): import("react").JSX.Element;
|
|
58
|
-
//#endregion
|
|
59
57
|
export { NavigationRailItem, type NavigationItemProps as NavigationRailItemProps, type NavigationRailProps, NavigationRail as default };
|
|
60
58
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { NavigationItem, NavigationList } from "../../navigation/index.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/components/navigation-rail/index.tsx
|
|
10
10
|
const styles = { destinations: {
|
|
11
11
|
kGNEyG: "x6s0dn4",
|
|
12
12
|
kSGwAc: "xkh2ocl",
|
|
@@ -186,7 +186,6 @@ function NavigationRailItem(props) {
|
|
|
186
186
|
return t0;
|
|
187
187
|
}
|
|
188
188
|
NavigationRail.Item = NavigationRailItem;
|
|
189
|
-
//#endregion
|
|
190
189
|
export { NavigationRailItem, NavigationRail as default };
|
|
191
190
|
|
|
192
191
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { NavigationTreeItemProps, NavigationTreeProps, NavigationTreeSection } from "react-aria-components";
|
|
3
|
-
//#region src/components/navigation-tree/index.d.ts
|
|
4
3
|
type NavigationTreeItemProps$1<T extends object = object> = NavigationTreeItemText & Omit<NavigationTreeItemProps<T>, 'children' | 'className' | 'style' | 'textValue'> & {
|
|
5
4
|
/** The rows nested under this one, as further `NavigationTree.Item` entries. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -85,6 +84,5 @@ declare function NavigationTreeItem$1<T extends object = object>({ children, lab
|
|
|
85
84
|
* A named group of rows, with its heading above them.
|
|
86
85
|
*/
|
|
87
86
|
declare function NavigationTreeSection$1<T extends object = object>({ children, header, ...props }: NavigationTreeSectionProps<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
88
|
-
//#endregion
|
|
89
87
|
export { NavigationTreeItem$1 as NavigationTreeItem, type NavigationTreeItemProps$1 as NavigationTreeItemProps, type NavigationTreeProps$1 as NavigationTreeProps, NavigationTreeSection$1 as NavigationTreeSection, type NavigationTreeSectionProps, NavigationTree$1 as default };
|
|
90
88
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@ import { RowContent } from "../../row/index.js";
|
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Button, NavigationTree, NavigationTreeHeader, NavigationTreeItem, NavigationTreeItemContent, NavigationTreeSection } from "react-aria-components";
|
|
13
|
-
|
|
13
|
+
// src/components/navigation-tree/index.tsx
|
|
14
14
|
const styles = {
|
|
15
15
|
chevron: {
|
|
16
16
|
kGNEyG: "x6s0dn4",
|
|
@@ -256,7 +256,6 @@ function textValueFor(textValue, label) {
|
|
|
256
256
|
}
|
|
257
257
|
NavigationTree$1.Item = NavigationTreeItem$1;
|
|
258
258
|
NavigationTree$1.Section = NavigationTreeSection$1;
|
|
259
|
-
//#endregion
|
|
260
259
|
export { NavigationTreeItem$1 as NavigationTreeItem, NavigationTreeSection$1 as NavigationTreeSection, NavigationTree$1 as default };
|
|
261
260
|
|
|
262
261
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FieldVariant } from "../../field/index.js";
|
|
2
2
|
import { Ref, RefAttributes } from "react";
|
|
3
3
|
import { NumberFieldProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/number-field/index.d.ts
|
|
5
4
|
type NumberFieldProps$1 = {
|
|
6
5
|
/**
|
|
7
6
|
* The name of the stepper that lowers the value, for a screen reader. Left
|
|
@@ -100,6 +99,5 @@ type NumberFieldProps$1 = {
|
|
|
100
99
|
* are the field chrome in `src/field`, shared with every other field.
|
|
101
100
|
*/
|
|
102
101
|
declare function NumberField$1({ decrementLabel, description, error, floatingLabel, incrementLabel, inputRef, isDisabled, isWheelDisabled, label, numeric, steppers, variant, ...props }: NumberFieldProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
103
|
-
//#endregion
|
|
104
102
|
export { type NumberFieldProps$1 as NumberFieldProps, NumberField$1 as default };
|
|
105
103
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { FieldBox, FieldInput, FieldMessage } from "../../field/index.js";
|
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { Button, NumberField } from "react-aria-components";
|
|
12
|
-
|
|
12
|
+
// src/components/number-field/index.tsx
|
|
13
13
|
`${spacing.sm}${typography.bodySmallLineHeight}${typography.bodyLargeLineHeight}`;
|
|
14
14
|
`${spacing.lg}${typography.bodyLargeLineHeight}`;
|
|
15
15
|
`${typography.bodyLargeLineHeight}${sizing.controlXs}`;
|
|
@@ -246,7 +246,6 @@ function StackedStepper(t0) {
|
|
|
246
246
|
function stepperStyles(top, outlined) {
|
|
247
247
|
return (state) => props(styles.stepper, outlined && styles.stepperOutlined, top && styles.stepperTop, !top && outlined && styles.stepperBottomOutlined, state.isHovered && !state.isDisabled && styles.stepperHovered, state.isPressed && !state.isDisabled && styles.stepperPressed, state.isFocusVisible && styles.stepperFocused, state.isDisabled && styles.stepperDisabled);
|
|
248
248
|
}
|
|
249
|
-
//#endregion
|
|
250
249
|
export { NumberField$1 as default };
|
|
251
250
|
|
|
252
251
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OverlayAlign, OverlaySide } from "../../styles/overlay.js";
|
|
2
2
|
import { ReactNode, RefAttributes, RefObject } from "react";
|
|
3
3
|
import { ClassNameOrFunction, DialogProps, DialogTriggerProps, HeadingProps, PopoverRenderProps, StyleOrFunction, TextProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/popover/index.d.ts
|
|
5
4
|
type PopoverAlign = OverlayAlign;
|
|
6
5
|
type PopoverSide = OverlaySide;
|
|
7
6
|
type PopoverSize = 'md' | 'sm';
|
|
@@ -141,6 +140,5 @@ type PopoverContentProps = Omit<DialogProps, 'children' | 'className' | 'style'>
|
|
|
141
140
|
};
|
|
142
141
|
type PopoverDescriptionProps = TextProps;
|
|
143
142
|
type PopoverTitleProps = HeadingProps;
|
|
144
|
-
//#endregion
|
|
145
143
|
export { type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, type PopoverProps, type PopoverSide, type PopoverSize, PopoverTitle, type PopoverTitleProps, type PopoverTrigger, Popover$1 as default };
|
|
146
144
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@ import { createContext, useContext, useEffect, useId, useRef, useState } from "r
|
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
import { ButtonContext, DEFAULT_SLOT, Dialog, DialogContext, DialogTrigger, Heading, HeadingContext, OverlayTriggerStateContext, Popover, PopoverContext, PreviewTrigger, Text, TextContext, useSlottedContext } from "react-aria-components";
|
|
12
12
|
import { useInteractOutside } from "react-aria";
|
|
13
|
-
|
|
13
|
+
// src/components/popover/index.tsx
|
|
14
14
|
const DEFAULT_SIDE_OFFSET = 8;
|
|
15
15
|
const styles = {
|
|
16
16
|
content: {
|
|
@@ -726,7 +726,6 @@ function triggerOf(context) {
|
|
|
726
726
|
Popover$1.Content = PopoverContent;
|
|
727
727
|
Popover$1.Description = PopoverDescription;
|
|
728
728
|
Popover$1.Title = PopoverTitle;
|
|
729
|
-
//#endregion
|
|
730
729
|
export { PopoverContent, PopoverDescription, PopoverTitle, Popover$1 as default };
|
|
731
730
|
|
|
732
731
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
2
|
import { ImgHTMLAttributes } from "react";
|
|
3
|
-
//#region src/components/product-icon/index.d.ts
|
|
4
3
|
type ProductIconProps = Omit<RenderComponentProps<'span'>, 'children'> & {
|
|
5
4
|
/**
|
|
6
5
|
* Hides the mark from assistive technology, for one beside the name of
|
|
@@ -61,6 +60,5 @@ type ProductIconProps = Omit<RenderComponentProps<'span'>, 'children'> & {
|
|
|
61
60
|
* The call site's `className`, `style` and `ref` land on the square.
|
|
62
61
|
*/
|
|
63
62
|
declare function ProductIcon({ size, tone, ...props }: ProductIconProps): import("react").JSX.Element;
|
|
64
|
-
//#endregion
|
|
65
63
|
export { type ProductIconProps, ProductIcon as default };
|
|
66
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import Mark from "../../mark/index.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/product-icon/index.tsx
|
|
6
6
|
/**
|
|
7
7
|
* A small square mark identifying something that is not a person — an
|
|
8
8
|
* application, a service, a brand. Reach for Avatar when it is a person.
|
|
@@ -53,7 +53,6 @@ function ProductIcon(t0) {
|
|
|
53
53
|
} else t3 = $[7];
|
|
54
54
|
return t3;
|
|
55
55
|
}
|
|
56
|
-
//#endregion
|
|
57
56
|
export { ProductIcon as default };
|
|
58
57
|
|
|
59
58
|
//# 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 { ProgressBarProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/progress-indicator/index.d.ts
|
|
5
4
|
type ProgressIndicatorProps = {
|
|
6
5
|
/**
|
|
7
6
|
* How far the work is loaded ahead of the value — a video's buffered
|
|
@@ -81,6 +80,5 @@ type ProgressIndicatorVariant = 'circular' | 'linear';
|
|
|
81
80
|
* which is the element a layout positions.
|
|
82
81
|
*/
|
|
83
82
|
declare function ProgressIndicator({ buffer, diameter, label, maxValue, minValue, shape, showValue, tone, variant, ...props }: ProgressIndicatorProps & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
84
|
-
//#endregion
|
|
85
83
|
export { type ProgressIndicatorProps, type ProgressIndicatorShape, type ProgressIndicatorTone, type ProgressIndicatorVariant, ProgressIndicator as default };
|
|
86
84
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { IndicatorLabels, IndicatorLine } from "../../indicator/index.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { ProgressBar } from "react-aria-components";
|
|
9
|
-
|
|
9
|
+
// src/components/progress-indicator/index.tsx
|
|
10
10
|
const CIRCULAR_SIZE = 40;
|
|
11
11
|
const CIRCULAR_SIZE_PX = `${CIRCULAR_SIZE}px`;
|
|
12
12
|
const THICKNESS = 4;
|
|
@@ -738,7 +738,6 @@ function ringWave() {
|
|
|
738
738
|
function round(value) {
|
|
739
739
|
return Math.round(value * 1e3) / 1e3;
|
|
740
740
|
}
|
|
741
|
-
//#endregion
|
|
742
741
|
export { ProgressIndicator as default };
|
|
743
742
|
|
|
744
743
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { RadioFieldProps, RadioGroupProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/radio-group/index.d.ts
|
|
4
3
|
type RadioGroupProps$1 = {
|
|
5
4
|
/** The radio buttons, each with a `value` of its own. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -67,6 +66,5 @@ declare function Radio({ children, description, ...props }: RadioProps & RefAttr
|
|
|
67
66
|
* which is the element a layout positions.
|
|
68
67
|
*/
|
|
69
68
|
declare function RadioGroup$1({ children, description, error, label, orientation, ...props }: RadioGroupProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
69
|
export { Radio, type RadioGroupProps$1 as RadioGroupProps, type RadioProps, RadioGroup$1 as default };
|
|
72
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { ControlDescription, ControlLabel } from "../../control/index.js";
|
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { RadioButton, RadioField, RadioGroup } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/radio-group/index.tsx
|
|
15
15
|
const styles = {
|
|
16
16
|
control: {
|
|
17
17
|
kMwMTN: "x1w5n3ug",
|
|
@@ -231,7 +231,6 @@ function RadioGroup$1(t0) {
|
|
|
231
231
|
} else t6 = $[15];
|
|
232
232
|
return t6;
|
|
233
233
|
}
|
|
234
|
-
//#endregion
|
|
235
234
|
export { Radio, RadioGroup$1 as default };
|
|
236
235
|
|
|
237
236
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RefAttributes } from "react";
|
|
2
2
|
import { DateValue, RangeCalendarProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/range-calendar/index.d.ts
|
|
4
3
|
type RangeCalendarProps$1<T extends DateValue = DateValue> = {
|
|
5
4
|
/** A function may compute the class from the calendar's render state. */
|
|
6
5
|
className?: RangeCalendarProps<T>['className'];
|
|
@@ -47,6 +46,5 @@ type RangeCalendarProps$1<T extends DateValue = DateValue> = {
|
|
|
47
46
|
* element a layout positions.
|
|
48
47
|
*/
|
|
49
48
|
declare function RangeCalendar$1<T extends DateValue>({ showMonthYearMenus, ...props }: RangeCalendarProps$1<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
50
|
-
//#endregion
|
|
51
49
|
export { type RangeCalendarProps$1 as RangeCalendarProps, RangeCalendar$1 as default };
|
|
52
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { monthOffsets } from "../../calendar/months.js";
|
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { CalendarCell, CalendarGrid, CalendarGridBody, RangeCalendar } from "react-aria-components";
|
|
11
|
-
|
|
11
|
+
// src/components/range-calendar/index.tsx
|
|
12
12
|
function cellClassName(state) {
|
|
13
13
|
const isEnd = state.isSelected && (state.isSelectionStart || state.isSelectionEnd);
|
|
14
14
|
return props(calendarStyles.cell, focus.ring, state.isToday && calendarStyles.cellToday, state.isSelected && calendarStyles.cellInRange, state.isSelected && state.isSelectionStart && calendarStyles.cellRangeStart, state.isSelected && state.isSelectionEnd && calendarStyles.cellRangeEnd, isEnd && calendarStyles.cellSelected, state.isHovered && (isEnd ? dateLayers.selectedHovered : state.isSelected ? dateLayers.inRangeHovered : dateLayers.plainHovered), state.isPressed && (isEnd ? dateLayers.selectedPressed : state.isSelected ? dateLayers.inRangePressed : dateLayers.plainPressed), state.isUnavailable && calendarStyles.cellUnavailable, state.isDisabled && calendarStyles.cellDisabled).className ?? "";
|
|
@@ -137,7 +137,6 @@ function _temp(offset) {
|
|
|
137
137
|
})
|
|
138
138
|
}, offset.months);
|
|
139
139
|
}
|
|
140
|
-
//#endregion
|
|
141
140
|
export { RangeCalendar$1 as default };
|
|
142
141
|
|
|
143
142
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Ref, RefAttributes } from "react";
|
|
2
2
|
import { SearchFieldProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/search-field/index.d.ts
|
|
4
3
|
type SearchFieldProps$1 = {
|
|
5
4
|
/**
|
|
6
5
|
* The name of the button that clears the field, for a screen reader.
|
|
@@ -69,6 +68,5 @@ type SearchFieldProps$1 = {
|
|
|
69
68
|
* Material Design's search bar rather than the box of its text fields.
|
|
70
69
|
*/
|
|
71
70
|
declare function SearchField$1({ clearLabel, description, enterKeyHint, error, inputRef, isDisabled, label, placeholder, ...props }: RefAttributes<HTMLDivElement> & SearchFieldProps$1): import("react").JSX.Element;
|
|
72
|
-
//#endregion
|
|
73
71
|
export { type SearchFieldProps$1 as SearchFieldProps, SearchField$1 as default };
|
|
74
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { FieldInput, FieldMessage } from "../../field/index.js";
|
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { FieldInputContext, Label, SearchField, VisuallyHidden, useSlottedContext } from "react-aria-components";
|
|
12
|
-
|
|
12
|
+
// src/components/search-field/index.tsx
|
|
13
13
|
function fieldContent(label, placeholder, clearLabel, description, error, inputRef) {
|
|
14
14
|
return (state) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
15
15
|
/* @__PURE__ */ jsx(VisuallyHidden, { children: /* @__PURE__ */ jsx(Label, { children: label }) }),
|
|
@@ -109,7 +109,6 @@ function SearchField$1(t0) {
|
|
|
109
109
|
} else t6 = $[17];
|
|
110
110
|
return t6;
|
|
111
111
|
}
|
|
112
|
-
//#endregion
|
|
113
112
|
export { SearchField$1 as default };
|
|
114
113
|
|
|
115
114
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AutocompleteProps as AutocompleteProps$1 } from "../autocomplete/index.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { ClassNameOrFunction, DialogTriggerProps, PopoverRenderProps, StyleOrFunction } from "react-aria-components";
|
|
4
|
-
//#region src/components/search-view/index.d.ts
|
|
5
4
|
type SearchViewContentProps<T extends object = object> = {
|
|
6
5
|
/**
|
|
7
6
|
* What the back button is called, for a screen reader. Left out, the
|
|
@@ -76,6 +75,5 @@ declare namespace SearchView {
|
|
|
76
75
|
* its `ref` too.
|
|
77
76
|
*/
|
|
78
77
|
declare function SearchViewContent<T extends object = object>({ backLabel, children, className, clearLabel, container, label, placeholder, ref, style, ...props }: RefAttributes<HTMLElement> & SearchViewContentProps<T>): import("react").JSX.Element;
|
|
79
|
-
//#endregion
|
|
80
78
|
export { SearchViewContent, type SearchViewContentProps, type SearchViewProps, SearchView as default };
|
|
81
79
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@ import { overlay } from "../../styles/overlay.js";
|
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Dialog, DialogTrigger, Label, Popover, SearchField, VisuallyHidden } from "react-aria-components";
|
|
13
|
-
|
|
13
|
+
// src/components/search-view/index.tsx
|
|
14
14
|
const SIDE_OFFSET = 8;
|
|
15
15
|
const styles = { view: {
|
|
16
16
|
kWkggS: "xvkjz1l",
|
|
@@ -249,7 +249,6 @@ function SearchViewContent(t0) {
|
|
|
249
249
|
return t12;
|
|
250
250
|
}
|
|
251
251
|
SearchView.Content = SearchViewContent;
|
|
252
|
-
//#endregion
|
|
253
252
|
export { SearchViewContent, SearchView as default };
|
|
254
253
|
|
|
255
254
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { LabelledByAttribute } from "../../render/name.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { Key, ToggleButtonGroupProps, ToggleButtonProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/segmented-button/index.d.ts
|
|
5
4
|
type SegmentedButtonProps = LabelledByAttribute & Omit<ToggleButtonGroupProps, 'className' | 'disallowEmptySelection' | 'orientation' | 'style'> & {
|
|
6
5
|
/** A function may compute the class from the set's render state. */
|
|
7
6
|
className?: ToggleButtonGroupProps['className'];
|
|
@@ -96,6 +95,5 @@ declare namespace SegmentedButton {
|
|
|
96
95
|
* unchosen one draws whatever `icon` holds, if anything.
|
|
97
96
|
*/
|
|
98
97
|
declare function SegmentedButtonSegment({ children, disableRipple, icon, onClick, onContextMenu, onKeyDown, onKeyUp, onPointerCancel, onPointerDown, onPointerLeave, onPointerUp, render, ...props }: RefAttributes<HTMLButtonElement> & SegmentedButtonSegmentProps): import("react").JSX.Element;
|
|
99
|
-
//#endregion
|
|
100
98
|
export { type SegmentedButtonProps, SegmentedButtonSegment, type SegmentedButtonSegmentProps, SegmentedButton as default };
|
|
101
99
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { createContext, createElement, useContext, useLayoutEffect, useState } from "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { SelectionIndicator, ToggleButton, ToggleButtonGroup } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/segmented-button/index.tsx
|
|
15
15
|
const ShowSelectedIconContext = createContext(true);
|
|
16
16
|
const SelectionModeContext = createContext("single");
|
|
17
17
|
function keyOf(segment) {
|
|
@@ -474,7 +474,6 @@ function useTruncatedText(label) {
|
|
|
474
474
|
return text;
|
|
475
475
|
}
|
|
476
476
|
SegmentedButton.Segment = SegmentedButtonSegment;
|
|
477
|
-
//#endregion
|
|
478
477
|
export { SegmentedButtonSegment, SegmentedButton as default };
|
|
479
478
|
|
|
480
479
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FieldVariant } from "../../field/index.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { SelectProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/select/index.d.ts
|
|
5
4
|
type SelectProps$1<T extends object = object> = {
|
|
6
5
|
/**
|
|
7
6
|
* Where to portal the list. Defaults to the container of the `ThemeScope`
|
|
@@ -82,6 +81,5 @@ type SelectProps$1<T extends object = object> = {
|
|
|
82
81
|
* which is the element a layout positions.
|
|
83
82
|
*/
|
|
84
83
|
declare function Select$1<T extends object = object>({ container, description, error, floatingLabel, isDisabled, label, leadingIcon, options, variant, ...props }: RefAttributes<HTMLDivElement> & SelectProps$1<T>): import("react").JSX.Element;
|
|
85
|
-
//#endregion
|
|
86
84
|
export { type SelectProps$1 as SelectProps, Select$1 as default };
|
|
87
85
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@ import { c } from "react/compiler-runtime";
|
|
|
10
10
|
import { useContext, useRef } from "react";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Popover, Select, SelectStateContext, SelectValue } from "react-aria-components";
|
|
13
|
-
|
|
13
|
+
// src/components/select/index.tsx
|
|
14
14
|
const TRIGGER = /* @__PURE__ */ jsx(FieldTrigger, {});
|
|
15
15
|
function chevronFor(isOpen) {
|
|
16
16
|
return /* @__PURE__ */ jsx(ChevronEndGlyph, { ...{
|
|
@@ -163,7 +163,6 @@ function SelectedValue(t0) {
|
|
|
163
163
|
} else t2 = $[3];
|
|
164
164
|
return t2;
|
|
165
165
|
}
|
|
166
|
-
//#endregion
|
|
167
166
|
export { Select$1 as default };
|
|
168
167
|
|
|
169
168
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RefAttributes } from "react";
|
|
2
2
|
import { SeparatorProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/separator/index.d.ts
|
|
4
3
|
type SeparatorInset = 'both' | 'none' | 'start';
|
|
5
4
|
type SeparatorProps$1 = {
|
|
6
5
|
/**
|
|
@@ -73,6 +72,5 @@ type SeparatorProps$1 = {
|
|
|
73
72
|
* different element, and `render` is React Aria's function form.
|
|
74
73
|
*/
|
|
75
74
|
declare function Separator$1({ decorative, inset, orientation, render, ...props }: RefAttributes<HTMLElement> & SeparatorProps$1): import("react").JSX.Element;
|
|
76
|
-
//#endregion
|
|
77
75
|
export { type SeparatorInset, type SeparatorProps$1 as SeparatorProps, Separator$1 as default };
|
|
78
76
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { c } from "react/compiler-runtime";
|
|
|
5
5
|
import { createElement } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { Separator, SeparatorContext, useSlottedContext } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/separator/index.tsx
|
|
9
9
|
const styles = {
|
|
10
10
|
base: {
|
|
11
11
|
kWkggS: "x1l12bh",
|
|
@@ -145,7 +145,6 @@ function Separator$1(t0) {
|
|
|
145
145
|
} else t5 = $[5];
|
|
146
146
|
return t5;
|
|
147
147
|
}
|
|
148
|
-
//#endregion
|
|
149
148
|
export { Separator$1 as default };
|
|
150
149
|
|
|
151
150
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ClassNameOrFunction, DialogProps, DialogTriggerProps, HeadingProps, ModalOverlayProps, SheetRenderProps, StyleOrFunction } from "react-aria-components";
|
|
3
|
-
//#region src/components/sheet/index.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* A modal panel that arrives from the edge of the screen — a side sheet on a
|
|
6
5
|
* wide viewport, a bottom sheet on a narrow one. Open state is React Aria's:
|
|
@@ -164,6 +163,5 @@ type SheetProps = Omit<DialogTriggerProps, 'children'> & {
|
|
|
164
163
|
children?: ReactNode;
|
|
165
164
|
};
|
|
166
165
|
type SheetTitleProps = HeadingProps;
|
|
167
|
-
//#endregion
|
|
168
166
|
export { SheetBody, SheetContent$1 as SheetContent, type SheetContentProps, SheetFooter, SheetHandle, SheetHeader, type SheetProps, SheetTitle, type SheetTitleProps, Sheet$1 as default };
|
|
169
167
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { createContext, useContext, useLayoutEffect, useRef, useSyncExternalStore } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Button, Heading, HeadingContext, OverlayTriggerStateContext, Sheet, SheetBackdrop, SheetContent, SheetOverlay, SheetTrigger, useSlottedContext } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/sheet/index.tsx
|
|
15
15
|
const scrimIn = "x18re5ia-B";
|
|
16
16
|
const BOTTOM_SHEET = "(width < 600px)";
|
|
17
17
|
const REDUCED_MOTION = "(prefers-reduced-motion: reduce)";
|
|
@@ -638,7 +638,6 @@ Sheet$1.Footer = SheetFooter;
|
|
|
638
638
|
Sheet$1.Handle = SheetHandle;
|
|
639
639
|
Sheet$1.Header = SheetHeader;
|
|
640
640
|
Sheet$1.Title = SheetTitle;
|
|
641
|
-
//#endregion
|
|
642
641
|
export { SheetBody, SheetContent$1 as SheetContent, SheetFooter, SheetHandle, SheetHeader, SheetTitle, Sheet$1 as default };
|
|
643
642
|
|
|
644
643
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { SliderProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/slider/index.d.ts
|
|
4
3
|
type SliderSize = 'lg' | 'md' | 'sm' | 'xl' | 'xs';
|
|
5
4
|
type SliderProps$1 = Omit<SliderProps, 'children' | 'orientation'> & {
|
|
6
5
|
/**
|
|
@@ -53,6 +52,5 @@ type SliderProps$1 = Omit<SliderProps, 'children' | 'orientation'> & {
|
|
|
53
52
|
* slider its height.
|
|
54
53
|
*/
|
|
55
54
|
declare function Slider$1({ icon, label, orientation, showStops, size, thumbLabels, ...props }: RefAttributes<HTMLDivElement> & SliderProps$1): import("react").JSX.Element;
|
|
56
|
-
//#endregion
|
|
57
55
|
export { type SliderProps$1 as SliderProps, type SliderSize, Slider$1 as default };
|
|
58
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { FieldLabel } from "../../field/index.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { Slider, SliderOutput, SliderThumb, SliderTrack } from "react-aria-components";
|
|
9
|
-
|
|
9
|
+
// src/components/slider/index.tsx
|
|
10
10
|
/** How far a part stops short of a handle's centre. */
|
|
11
11
|
const CLEAR = 8;
|
|
12
12
|
/** A stop's size. */
|
|
@@ -518,7 +518,6 @@ function trackContent(extras, thumbLabels) {
|
|
|
518
518
|
}, index))] });
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
|
-
//#endregion
|
|
522
521
|
export { Slider$1 as default };
|
|
523
522
|
|
|
524
523
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ToastRegionProps, ToastRegionRenderProps, UNSTABLE_ToastQueue } from "react-aria-components";
|
|
3
|
-
//#region src/components/snackbar/index.d.ts
|
|
4
3
|
type SnackbarAction = {
|
|
5
4
|
/** What the action says. The page gives it a single word where it can. */
|
|
6
5
|
label: string;
|
|
@@ -140,6 +139,5 @@ declare function Snackbar({ closeLabel, queue, ...props }: RefAttributes<HTMLDiv
|
|
|
140
139
|
declare namespace Snackbar {
|
|
141
140
|
var Queue: typeof SnackbarQueue;
|
|
142
141
|
}
|
|
143
|
-
//#endregion
|
|
144
142
|
export { type SnackbarAction, type SnackbarMessage, type SnackbarOptions, type SnackbarProps, type SnackbarQueue, type ToastRegionRenderProps as SnackbarRegionRenderProps, Snackbar as default };
|
|
145
143
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { c } from "react/compiler-runtime";
|
|
|
8
8
|
import { useSyncExternalStore } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { Button, Text, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion } from "react-aria-components";
|
|
11
|
-
|
|
11
|
+
// src/components/snackbar/index.tsx
|
|
12
12
|
const MESSAGE_MS = 5e3;
|
|
13
13
|
const MINIMUM_MS = 4e3;
|
|
14
14
|
const UNTIL_CLOSED = 0;
|
|
@@ -444,7 +444,6 @@ function useFading(queue, key) {
|
|
|
444
444
|
}
|
|
445
445
|
function _temp2() {}
|
|
446
446
|
Snackbar.Queue = SnackbarQueue;
|
|
447
|
-
//#endregion
|
|
448
447
|
export { Snackbar as default };
|
|
449
448
|
|
|
450
449
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ButtonProps as ButtonProps$1, ButtonSize } from "../button/index.js";
|
|
2
2
|
import { CSSProperties, ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { Key } from "react-aria-components";
|
|
4
|
-
//#region src/components/split-button/index.d.ts
|
|
5
4
|
type SplitButtonActionProps = (ButtonProps$1 extends (infer Props) ? Props extends unknown ? Omit<Props, 'shape' | 'size' | 'variant'> : never : never) & RefAttributes<HTMLAnchorElement | HTMLButtonElement>;
|
|
6
5
|
type SplitButtonMenuProps = {
|
|
7
6
|
/** What the menu offers, in words: the trailing half is an icon alone. */
|
|
@@ -80,6 +79,5 @@ declare function SplitButtonAction(props: SplitButtonActionProps): import("react
|
|
|
80
79
|
* of alternatives its children describe.
|
|
81
80
|
*/
|
|
82
81
|
declare function SplitButtonMenu({ 'aria-label': label, children, container, defaultOpen, isDisabled, isOpen, onAction, onOpenChange }: SplitButtonMenuProps): import("react").JSX.Element;
|
|
83
|
-
//#endregion
|
|
84
82
|
export { SplitButtonAction, type SplitButtonActionProps, SplitButtonMenu, type SplitButtonMenuProps, type SplitButtonProps, type SplitButtonVariant, SplitButton as default };
|
|
85
83
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { c } from "react/compiler-runtime";
|
|
|
9
9
|
import { createContext, useContext, useState } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { Group } from "react-aria-components";
|
|
12
|
-
|
|
12
|
+
// src/components/split-button/index.tsx
|
|
13
13
|
const corners = { shape: (start, end) => [{
|
|
14
14
|
kT0f0o: end != null ? "x1wsjk4f" : end,
|
|
15
15
|
kVL7Gh: start != null ? "x1oq9ryg" : start,
|
|
@@ -335,7 +335,6 @@ function trailingItem(size, isOpen) {
|
|
|
335
335
|
}
|
|
336
336
|
SplitButton.Action = SplitButtonAction;
|
|
337
337
|
SplitButton.Menu = SplitButtonMenu;
|
|
338
|
-
//#endregion
|
|
339
338
|
export { SplitButtonAction, SplitButtonMenu, SplitButton as default };
|
|
340
339
|
|
|
341
340
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/stack/index.d.ts
|
|
3
2
|
type StackAlign = 'baseline' | 'center' | 'end' | 'start' | 'stretch';
|
|
4
3
|
type StackGap = 'lg' | 'md' | 'none' | 'sm' | 'xl' | 'xs' | 'xxl' | 'xxs' | 'xxxl';
|
|
5
4
|
type StackJustify = 'around' | 'between' | 'center' | 'end' | 'start';
|
|
@@ -77,6 +76,5 @@ type StackProps = {
|
|
|
77
76
|
* That renders a `<ul role="list">` with its items spaced by `sm`.
|
|
78
77
|
*/
|
|
79
78
|
declare function Stack({ align, direction, gap, justify, render, wrap, ...props }: StackProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
80
|
-
//#endregion
|
|
81
79
|
export { type StackAlign, type StackGap, type StackJustify, type StackProps, Stack as default };
|
|
82
80
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { useRender } from "../../render/useRender.js";
|
|
|
4
4
|
import { mergeStyles } from "../../styles/merge.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { isValidElement } from "react";
|
|
7
|
-
|
|
7
|
+
// src/components/stack/index.tsx
|
|
8
8
|
const alignments = {
|
|
9
9
|
baseline: {
|
|
10
10
|
kGNEyG: "x1pha0wt",
|
|
@@ -204,7 +204,6 @@ function Stack(t0) {
|
|
|
204
204
|
} else t7 = $[16];
|
|
205
205
|
return t5(t7);
|
|
206
206
|
}
|
|
207
|
-
//#endregion
|
|
208
207
|
export { Stack as default };
|
|
209
208
|
|
|
210
209
|
//# sourceMappingURL=index.js.map
|