@kanso-labs/kanso-ui 0.48.0 → 0.48.2
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/button/hooks.js +3 -3
- package/dist/button/index.js +2 -2
- package/dist/calendar/index.js +5 -5
- package/dist/chip/label.js +1 -1
- package/dist/collection/index.js +2 -2
- package/dist/components/app-bar/index.d.ts +1 -1
- package/dist/components/app-bar/index.js +2 -2
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +3 -3
- package/dist/components/breadcrumbs/index.js +2 -2
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +3 -3
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/button-group/index.js +3 -3
- package/dist/components/calendar/index.js +4 -4
- package/dist/components/card/index.js +2 -2
- package/dist/components/carousel/index.d.ts +1 -1
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/checkbox/index.js +3 -3
- package/dist/components/checkbox-group/index.js +2 -2
- package/dist/components/chip/index.js +2 -2
- package/dist/components/chip-group/index.js +3 -3
- package/dist/components/code/index.js +1 -1
- package/dist/components/color-area/index.js +2 -2
- package/dist/components/color-field/index.d.ts +1 -1
- package/dist/components/color-field/index.js +2 -2
- package/dist/components/color-picker/index.js +2 -2
- package/dist/components/color-slider/index.js +3 -3
- package/dist/components/color-swatch/index.js +3 -3
- package/dist/components/color-swatch-picker/index.js +2 -2
- package/dist/components/color-wheel/index.js +2 -2
- package/dist/components/combo-box/index.d.ts +1 -1
- package/dist/components/combo-box/index.js +3 -3
- package/dist/components/container/index.js +1 -1
- package/dist/components/copy-field/index.js +2 -2
- package/dist/components/currency/index.js +3 -3
- package/dist/components/date-field/index.d.ts +1 -1
- package/dist/components/date-field/index.js +2 -2
- package/dist/components/date-picker/index.d.ts +2 -2
- package/dist/components/date-picker/index.js +5 -5
- package/dist/components/date-range-picker/index.d.ts +2 -2
- package/dist/components/date-range-picker/index.js +3 -3
- package/dist/components/dialog/index.js +4 -4
- package/dist/components/disclosure/index.js +3 -3
- package/dist/components/disclosure-group/index.js +3 -3
- package/dist/components/drop-zone/index.js +2 -2
- package/dist/components/fab/index.d.ts +1 -1
- package/dist/components/fab/index.js +1 -1
- package/dist/components/fab-menu/index.d.ts +2 -2
- package/dist/components/fab-menu/index.js +3 -3
- package/dist/components/feed/index.js +1 -1
- package/dist/components/form/index.js +2 -2
- package/dist/components/icon-button/index.d.ts +1 -1
- package/dist/components/icon-button/index.js +3 -3
- package/dist/components/keycap/index.js +2 -2
- package/dist/components/link/index.js +2 -2
- package/dist/components/list/index.js +3 -3
- package/dist/components/list-box/index.js +3 -3
- package/dist/components/list-detail/index.d.ts +1 -1
- package/dist/components/list-detail/index.js +1 -1
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/loading-indicator/index.js +2 -2
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/index.js +3 -3
- package/dist/components/meter/index.d.ts +1 -1
- package/dist/components/meter/index.js +2 -2
- package/dist/components/navigation-bar/index.d.ts +1 -1
- package/dist/components/navigation-bar/index.js +2 -2
- package/dist/components/navigation-rail/index.d.ts +1 -1
- package/dist/components/navigation-rail/index.js +2 -2
- package/dist/components/navigation-tree/index.js +2 -2
- package/dist/components/number-field/index.d.ts +1 -1
- package/dist/components/number-field/index.js +2 -2
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/index.js +4 -4
- package/dist/components/product-icon/index.d.ts +1 -1
- package/dist/components/product-icon/index.js +1 -1
- package/dist/components/progress-indicator/index.d.ts +1 -1
- package/dist/components/progress-indicator/index.js +2 -2
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/range-calendar/index.js +3 -3
- package/dist/components/search-field/index.js +2 -2
- package/dist/components/search-view/index.d.ts +1 -1
- package/dist/components/search-view/index.js +2 -2
- package/dist/components/segmented-button/index.d.ts +1 -1
- package/dist/components/segmented-button/index.js +3 -3
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.js +3 -3
- package/dist/components/separator/index.js +3 -3
- package/dist/components/sheet/index.js +3 -3
- package/dist/components/slider/index.js +2 -2
- package/dist/components/snackbar/index.js +3 -3
- package/dist/components/split-button/index.d.ts +1 -1
- package/dist/components/split-button/index.js +3 -3
- package/dist/components/stack/index.js +2 -2
- package/dist/components/supporting-pane/index.d.ts +1 -1
- package/dist/components/supporting-pane/index.js +1 -1
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +3 -3
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tag/index.js +1 -1
- package/dist/components/text/index.js +1 -1
- package/dist/components/text-area/index.d.ts +1 -1
- package/dist/components/text-area/index.js +2 -2
- package/dist/components/text-field/index.d.ts +1 -1
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/time-field/index.d.ts +1 -1
- package/dist/components/time-field/index.js +2 -2
- package/dist/components/time-picker/index.d.ts +1 -1
- package/dist/components/time-picker/index.js +4 -4
- package/dist/components/token-field/index.d.ts +1 -1
- package/dist/components/token-field/index.js +3 -3
- package/dist/components/toolbar/index.js +3 -3
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/index.js +2 -2
- package/dist/components/tree/index.js +3 -3
- package/dist/control/index.js +2 -2
- package/dist/drag/hooks.js +2 -2
- package/dist/drag/index.js +2 -2
- package/dist/field/index.js +3 -3
- package/dist/glyphs/index.js +1 -1
- package/dist/hooks/useClippedTitle.js +1 -1
- package/dist/hooks/useEnlargedText.js +1 -1
- package/dist/hooks/useRipple.js +2 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/indicator/index.js +2 -2
- package/dist/mark/index.js +2 -2
- package/dist/navigation/index.js +3 -3
- package/dist/overlay/index.js +1 -1
- package/dist/render/useRender.js +1 -1
- package/dist/row/index.js +2 -2
- package/dist/segments/index.js +1 -1
- package/dist/segments/literal.js +3 -3
- package/dist/theme-scope.d.ts +1 -1
- package/dist/theme-scope.js +4 -4
- package/package.json +4 -4
- /package/dist/kanso-ui-core/{defaults-DMH0HWCw.d.ts → defaults-D9KBLBW_.d.ts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { FieldInputContext, Label, SearchField as SearchField$1, VisuallyHidden, useSlottedContext } from "react-aria-components";
|
|
3
5
|
import { FieldInput, FieldMessage } from "../../field/index.js";
|
|
4
6
|
import { focusesControl } from "../../field/press.js";
|
|
5
7
|
import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
|
|
6
8
|
import { CloseGlyph, SearchGlyph } from "../../glyphs/index.js";
|
|
7
9
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
8
10
|
import IconButton from "../icon-button/index.js";
|
|
9
|
-
import { c } from "react/compiler-runtime";
|
|
10
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { FieldInputContext, Label, SearchField as SearchField$1, 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: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AutocompleteProps as AutocompleteProps$1 } from "../autocomplete/index.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { ClassNameOrFunction, DialogTriggerProps, PopoverRenderProps, StyleOrFunction } from "react-aria-components";
|
|
3
|
+
import { AutocompleteProps as AutocompleteProps$1 } from "../autocomplete/index.js";
|
|
4
4
|
type SearchViewContentProps<T extends object = object> = {
|
|
5
5
|
/**
|
|
6
6
|
* What the back button is called, for a screen reader. Left out, the
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { Dialog, DialogTrigger, Label, Popover, SearchField, VisuallyHidden } from "react-aria-components";
|
|
3
5
|
import { FieldInput } from "../../field/index.js";
|
|
4
6
|
import { ArrowBackGlyph, CloseGlyph } from "../../glyphs/index.js";
|
|
5
7
|
import { useMessages } from "../../i18n/index.js";
|
|
@@ -7,9 +9,7 @@ import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
|
7
9
|
import { overlay } from "../../styles/overlay.js";
|
|
8
10
|
import Autocomplete$1 from "../autocomplete/index.js";
|
|
9
11
|
import IconButton from "../icon-button/index.js";
|
|
10
|
-
import { c } from "react/compiler-runtime";
|
|
11
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
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: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LabelledByAttribute } from "../../render/name.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { Key, ToggleButtonGroupProps, ToggleButtonProps } from "react-aria-components";
|
|
3
|
+
import { LabelledByAttribute } from "../../render/name.js";
|
|
4
4
|
type SegmentedButtonProps = LabelledByAttribute & Omit<ToggleButtonGroupProps, 'className' | 'disallowEmptySelection' | 'orientation' | 'style'> & {
|
|
5
5
|
/** A function may compute the class from the set's render state. */
|
|
6
6
|
className?: ToggleButtonGroupProps['className'];
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { createContext, useContext, useEffect, useLayoutEffect, useState } from "react";
|
|
5
|
+
import { SelectionIndicator, ToggleButton, ToggleButtonGroup } from "react-aria-components";
|
|
3
6
|
import { CheckGlyph } from "../../glyphs/index.js";
|
|
4
7
|
import { useRipple } from "../../hooks/useRipple.js";
|
|
5
8
|
import { useToggleGroupDisabled } from "../../hooks/useToggleGroupDisabled.js";
|
|
@@ -8,10 +11,7 @@ import { focus } from "../../styles/focus.js";
|
|
|
8
11
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
9
12
|
import { toggleGroupRenderer, useRadioItem } from "../../toggle-group/index.js";
|
|
10
13
|
import { spacing } from "../../tokens/design.tokens.stylex.js";
|
|
11
|
-
import { c } from "react/compiler-runtime";
|
|
12
|
-
import { createContext, useContext, useEffect, useLayoutEffect, useState } from "react";
|
|
13
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { SelectionIndicator, ToggleButton, ToggleButtonGroup } from "react-aria-components";
|
|
15
15
|
// src/components/segmented-button/index.tsx
|
|
16
16
|
const ShowSelectedIconContext = createContext(true);
|
|
17
17
|
const SelectionModeContext = createContext("single");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldVariant } from "../../field/index.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { SelectProps as SelectProps$1 } from "react-aria-components";
|
|
3
|
+
import { FieldVariant } from "../../field/index.js";
|
|
4
4
|
type SelectProps<T extends object = object> = {
|
|
5
5
|
/**
|
|
6
6
|
* Where to portal the list. Defaults to the container of the `ThemeScope`
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { useContext, useRef } from "react";
|
|
5
|
+
import { Popover, Select as Select$1, SelectStateContext, SelectValue } from "react-aria-components";
|
|
3
6
|
import { OptionRowContext } from "../../collection/context.js";
|
|
4
7
|
import { FieldBox, FieldMessage, FieldTrigger, FieldValue } from "../../field/index.js";
|
|
5
8
|
import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
|
|
@@ -8,10 +11,7 @@ import { RowOnValueLineContext } from "../../row/context.js";
|
|
|
8
11
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
9
12
|
import { overlay, popupOrigin } from "../../styles/overlay.js";
|
|
10
13
|
import ListBox$1 from "../list-box/index.js";
|
|
11
|
-
import { c } from "react/compiler-runtime";
|
|
12
|
-
import { useContext, useRef } from "react";
|
|
13
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { Popover, Select as Select$1, SelectStateContext, SelectValue } from "react-aria-components";
|
|
15
15
|
// src/components/select/index.tsx
|
|
16
16
|
const TRIGGER = /* @__PURE__ */ jsx(FieldTrigger, {});
|
|
17
17
|
function chevronFor(isOpen) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
3
|
-
import { mergeStyles } from "../../styles/merge.js";
|
|
4
2
|
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
5
4
|
import { createElement } from "react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
import { Separator as Separator$1, SeparatorContext, useSlottedContext } from "react-aria-components";
|
|
6
|
+
import { mergeStyles } from "../../styles/merge.js";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
// src/components/separator/index.tsx
|
|
9
9
|
const styles = {
|
|
10
10
|
base: {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { createContext, useContext, useLayoutEffect, useRef, useSyncExternalStore } from "react";
|
|
5
|
+
import { Button, Heading, HeadingContext, OverlayTriggerStateContext, Sheet as Sheet$1, SheetBackdrop, SheetContent as SheetContent$1, SheetOverlay, SheetTrigger, useSlottedContext } from "react-aria-components";
|
|
3
6
|
import { useHoldBottomEdge } from "../../hooks/useBottomEdge.js";
|
|
4
7
|
import { useScrollStop } from "../../hooks/useScrollStop.js";
|
|
5
8
|
import { useMessages } from "../../i18n/index.js";
|
|
@@ -7,10 +10,7 @@ import { OverlayScope } from "../../overlay/index.js";
|
|
|
7
10
|
import { mergeRefs } from "../../render/ref.js";
|
|
8
11
|
import { mergeStatefulStyles, mergeStyles } from "../../styles/merge.js";
|
|
9
12
|
import { overlay } from "../../styles/overlay.js";
|
|
10
|
-
import { c } from "react/compiler-runtime";
|
|
11
|
-
import { createContext, useContext, useLayoutEffect, useRef, useSyncExternalStore } from "react";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { Button, Heading, HeadingContext, OverlayTriggerStateContext, Sheet as Sheet$1, SheetBackdrop, SheetContent as SheetContent$1, 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)";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { Slider as Slider$1, SliderOutput, SliderThumb, SliderTrack } from "react-aria-components";
|
|
3
5
|
import { FieldLabel } from "../../field/index.js";
|
|
4
6
|
import { groupStyles } from "../../field/styles.js";
|
|
5
7
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
6
|
-
import { c } from "react/compiler-runtime";
|
|
7
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { Slider as Slider$1, 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;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { useSyncExternalStore } from "react";
|
|
5
|
+
import { Button, Text, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion } from "react-aria-components";
|
|
3
6
|
import { CloseGlyph } from "../../glyphs/index.js";
|
|
4
7
|
import { useBottomEdgeClearance } from "../../hooks/useBottomEdge.js";
|
|
5
8
|
import { useRipple } from "../../hooks/useRipple.js";
|
|
6
9
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
7
|
-
import { c } from "react/compiler-runtime";
|
|
8
|
-
import { useSyncExternalStore } from "react";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ButtonProps as ButtonProps$1, ButtonSize } from "../button/index.js";
|
|
2
1
|
import { CSSProperties, ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { Key } from "react-aria-components";
|
|
3
|
+
import { ButtonProps as ButtonProps$1, ButtonSize } from "../button/index.js";
|
|
4
4
|
type SplitButtonActionProps = (ButtonProps$1 extends (infer Props) ? Props extends unknown ? Omit<Props, 'shape' | 'size' | 'variant'> : never : never) & RefAttributes<HTMLAnchorElement | HTMLButtonElement>;
|
|
5
5
|
type SplitButtonMenuProps = {
|
|
6
6
|
/** What the menu offers, in words: the trailing half is an icon alone. */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { createContext, useContext, useState } from "react";
|
|
4
|
+
import { Group } from "react-aria-components";
|
|
2
5
|
import { ButtonGroupItemContext } from "../../button/context.js";
|
|
3
6
|
import { ChevronDownGlyph } from "../../glyphs/index.js";
|
|
4
7
|
import { mergeStyles } from "../../styles/merge.js";
|
|
5
8
|
import { radii, sizing } from "../../tokens/design.tokens.stylex.js";
|
|
6
9
|
import Button$1 from "../button/index.js";
|
|
7
10
|
import Menu$1 from "../menu/index.js";
|
|
8
|
-
import { c } from "react/compiler-runtime";
|
|
9
|
-
import { createContext, useContext, useState } from "react";
|
|
10
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { Group } from "react-aria-components";
|
|
12
12
|
// src/components/split-button/index.tsx
|
|
13
13
|
const corners = { shape: (start, end) => [
|
|
14
14
|
end !== void 0 && {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { isValidElement } from "react";
|
|
3
5
|
import { useRender } from "../../render/useRender.js";
|
|
4
6
|
import { mergeStyles } from "../../styles/merge.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
|
-
import { isValidElement } from "react";
|
|
7
7
|
// src/components/stack/index.tsx
|
|
8
8
|
const alignments = {
|
|
9
9
|
baseline: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
1
|
import { ReactNode } from "react";
|
|
2
|
+
import { RenderComponentProps } from "../../render/useRender.js";
|
|
3
3
|
type SupportingPaneProps = Omit<RenderComponentProps<'div'>, 'children'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The primary content. Takes whatever width the supporting pane leaves from
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { useRender } from "../../render/useRender.js";
|
|
3
4
|
import { mergeStyles } from "../../styles/merge.js";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
// src/components/supporting-pane/index.tsx
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AccessibleName } from "../../render/name.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { SwitchFieldProps } from "react-aria-components";
|
|
3
|
+
import { AccessibleName } from "../../render/name.js";
|
|
4
4
|
type SwitchProps = {
|
|
5
5
|
/**
|
|
6
6
|
* The label, beside the switch. A switch that a row labels some other way
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { useRef, useState } from "react";
|
|
5
|
+
import { SwitchButton, SwitchField } from "react-aria-components";
|
|
3
6
|
import { ControlLabel } from "../../control/index.js";
|
|
4
7
|
import { controlStyles } from "../../control/styles.js";
|
|
5
8
|
import { FieldMessage } from "../../field/index.js";
|
|
@@ -8,10 +11,7 @@ import { CheckGlyph, CloseGlyph } from "../../glyphs/index.js";
|
|
|
8
11
|
import { useRipple } from "../../hooks/useRipple.js";
|
|
9
12
|
import { focus } from "../../styles/focus.js";
|
|
10
13
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
11
|
-
import { c } from "react/compiler-runtime";
|
|
12
|
-
import { useRef, useState } from "react";
|
|
13
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { SwitchButton, SwitchField } from "react-aria-components";
|
|
15
15
|
// src/components/switch/index.tsx
|
|
16
16
|
const _temp = {
|
|
17
17
|
kLqNvP: "x1lxsm33",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { createContext, useContext, useLayoutEffect, useState } from "react";
|
|
5
|
+
import { Cell, Column, ColumnResizer, ResizableTableContainer, Row, Table as Table$1, TableBody as TableBody$1, TableFooter as TableFooter$1, TableHeader as TableHeader$1, TableLoadMoreItem } from "react-aria-components";
|
|
3
6
|
import { CollectionLoadMore } from "../../collection/index.js";
|
|
4
7
|
import { collectionStyles } from "../../collection/styles.js";
|
|
5
8
|
import { ArrowDownwardGlyph, ArrowUpwardGlyph } from "../../glyphs/index.js";
|
|
@@ -9,10 +12,7 @@ import { rowStyles as rowStyles$1 } from "../../row/styles.js";
|
|
|
9
12
|
import { mergeStatefulStyles, mergeStyles } from "../../styles/merge.js";
|
|
10
13
|
import { scrollFadeOf } from "../../styles/scroll-fade.js";
|
|
11
14
|
import Checkbox from "../checkbox/index.js";
|
|
12
|
-
import { c } from "react/compiler-runtime";
|
|
13
|
-
import { createContext, useContext, useLayoutEffect, useState } from "react";
|
|
14
15
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
import { Cell, Column, ColumnResizer, ResizableTableContainer, Row, Table as Table$1, TableBody as TableBody$1, TableFooter as TableFooter$1, TableHeader as TableHeader$1, TableLoadMoreItem } from "react-aria-components";
|
|
16
16
|
// src/components/table/index.tsx
|
|
17
17
|
const SelectAllLabelContext = createContext(void 0);
|
|
18
18
|
const SelectLabelContext = createContext(void 0);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { createContext, useContext, useEffect, useState } from "react";
|
|
5
|
+
import { SelectionIndicator, Tab, TabList, TabPanel, TabPanels, Tabs as Tabs$1 } from "react-aria-components";
|
|
3
6
|
import { useEnlargedText } from "../../hooks/useEnlargedText.js";
|
|
4
7
|
import { useScrollEdges } from "../../hooks/useScrollEdges.js";
|
|
5
8
|
import { mergeRefs, refCallback } from "../../render/ref.js";
|
|
@@ -7,10 +10,7 @@ import { mergeStatefulStyles, mergeStyles } from "../../styles/merge.js";
|
|
|
7
10
|
import { scrollFadeOf } from "../../styles/scroll-fade.js";
|
|
8
11
|
import { spacingPx } from "../../tokens/values.js";
|
|
9
12
|
import Badge from "../badge/index.js";
|
|
10
|
-
import { c } from "react/compiler-runtime";
|
|
11
|
-
import { createContext, useContext, useEffect, useState } from "react";
|
|
12
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { SelectionIndicator, Tab, TabList, TabPanel, TabPanels, Tabs as Tabs$1 } from "react-aria-components";
|
|
14
14
|
// src/components/tabs/index.tsx
|
|
15
15
|
const styles = {
|
|
16
16
|
indicator: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
3
4
|
import { useRender } from "../../render/useRender.js";
|
|
4
5
|
import { mergeStyles } from "../../styles/merge.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
6
|
// src/components/tag/index.tsx
|
|
7
7
|
const styles = { base: {
|
|
8
8
|
kGNEyG: "x6s0dn4",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
3
4
|
import { useRender } from "../../render/useRender.js";
|
|
4
5
|
import { mergeStyles } from "../../styles/merge.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
6
|
// src/components/text/index.tsx
|
|
7
7
|
const styles = {
|
|
8
8
|
base: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldVariant } from "../../field/index.js";
|
|
2
1
|
import { ReactNode, Ref, RefAttributes } from "react";
|
|
3
2
|
import { TextFieldProps } from "react-aria-components";
|
|
3
|
+
import { FieldVariant } from "../../field/index.js";
|
|
4
4
|
type TextAreaProps = Omit<TextFieldProps, 'children' | 'isInvalid' | 'validationBehavior'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Whether the field grows with the text it holds, from `rows` up. `false`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { TextField } from "react-aria-components";
|
|
3
5
|
import { FieldBox, FieldMessage, FieldTextArea } from "../../field/index.js";
|
|
4
6
|
import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
|
|
5
7
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
6
|
-
import { c } from "react/compiler-runtime";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { TextField } from "react-aria-components";
|
|
9
9
|
// src/components/text-area/index.tsx
|
|
10
10
|
/**
|
|
11
11
|
* A labelled multi-line input. Its value is React Aria's: pass `value` with
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldVariant } from "../../field/index.js";
|
|
2
1
|
import { ReactNode, Ref, RefAttributes } from "react";
|
|
3
2
|
import { TextFieldProps as TextFieldProps$1 } from "react-aria-components";
|
|
3
|
+
import { FieldVariant } from "../../field/index.js";
|
|
4
4
|
type TextFieldProps = Omit<TextFieldProps$1, 'children' | 'isInvalid' | 'prefix' | 'validationBehavior'> & {
|
|
5
5
|
/**
|
|
6
6
|
* Whether to count the characters the field holds at the end of the
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { TextField as TextField$1 } from "react-aria-components";
|
|
3
5
|
import { FieldBox, FieldInput, FieldMessage } from "../../field/index.js";
|
|
4
6
|
import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
|
|
5
7
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
6
|
-
import { c } from "react/compiler-runtime";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { TextField as TextField$1 } from "react-aria-components";
|
|
9
9
|
// src/components/text-field/index.tsx
|
|
10
10
|
/**
|
|
11
11
|
* A labelled single-line input. Its value is React Aria's: pass `value` with
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldVariant } from "../../field/index.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { TimeFieldProps as TimeFieldProps$1, TimeValue } from "react-aria-components";
|
|
3
|
+
import { FieldVariant } from "../../field/index.js";
|
|
4
4
|
type TimeFieldProps<T extends TimeValue = TimeValue> = Omit<TimeFieldProps$1<T>, 'children' | 'className' | 'style'> & {
|
|
5
5
|
/** A function may compute the class from the field's render state. */
|
|
6
6
|
className?: TimeFieldProps$1<T>['className'];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { DateInput, TimeField as TimeField$1 } from "react-aria-components";
|
|
3
5
|
import { FieldBox, FieldMessage, FieldSegments } from "../../field/index.js";
|
|
4
6
|
import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
|
|
5
7
|
import { renderSegment } from "../../segments/index.js";
|
|
6
8
|
import { segmentStyles } from "../../segments/styles.js";
|
|
7
9
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
8
|
-
import { c } from "react/compiler-runtime";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { DateInput, TimeField as TimeField$1 } from "react-aria-components";
|
|
11
11
|
// src/components/time-field/index.tsx
|
|
12
12
|
/**
|
|
13
13
|
* A time typed rather than picked: one segment per part, each its own focus
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldVariant } from "../../field/index.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { TimeFieldProps, TimeValue } from "react-aria-components";
|
|
3
|
+
import { FieldVariant } from "../../field/index.js";
|
|
4
4
|
/** Which of the time pickers page's two variants the modal shows. */
|
|
5
5
|
type TimePickerMode = 'dial' | 'input';
|
|
6
6
|
type TimePickerProps<T extends TimeValue = TimeValue> = Omit<TimeFieldProps<T>, 'children' | 'className' | 'style'> & {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { Time, getLocalTimeZone, toCalendarDateTime, today } from "@internationalized/date";
|
|
2
4
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
5
|
+
import { useContext, useId, useRef, useState } from "react";
|
|
6
|
+
import { Button, DateInput, DateSegment, Dialog, Heading, LabelContext, Modal, ModalOverlay, TimeField, TimeFieldStateContext, ToggleButton, ToggleButtonGroup, useLocale, useSlottedContext } from "react-aria-components";
|
|
3
7
|
import { FieldBox, FieldMessage, FieldSegments } from "../../field/index.js";
|
|
4
8
|
import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
|
|
5
9
|
import { ClockGlyph, KeyboardGlyph } from "../../glyphs/index.js";
|
|
@@ -12,11 +16,7 @@ import { picker, triggerClassName } from "../../styles/picker.js";
|
|
|
12
16
|
import { toggleGroupRenderer, useRadioItem } from "../../toggle-group/index.js";
|
|
13
17
|
import Button$1 from "../button/index.js";
|
|
14
18
|
import IconButton from "../icon-button/index.js";
|
|
15
|
-
import { c } from "react/compiler-runtime";
|
|
16
|
-
import { useContext, useId, useRef, useState } from "react";
|
|
17
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
-
import { Button, DateInput, DateSegment, Dialog, Heading, LabelContext, Modal, ModalOverlay, TimeField, TimeFieldStateContext, ToggleButton, ToggleButtonGroup, useLocale, useSlottedContext } from "react-aria-components";
|
|
19
|
-
import { Time, getLocalTimeZone, toCalendarDateTime, today } from "@internationalized/date";
|
|
20
20
|
// src/components/time-picker/index.tsx
|
|
21
21
|
const DIAL = 256;
|
|
22
22
|
const CENTRE = DIAL / 2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldVariant } from "../../field/index.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { TokenFieldProps as TokenFieldProps$1, TokenFieldValue, TokenInputProps } from "react-aria-components";
|
|
3
|
+
import { FieldVariant } from "../../field/index.js";
|
|
4
4
|
type TokenFieldProps<T extends TokenFieldValue = TokenFieldValue> = {
|
|
5
5
|
/** A function may compute the class from the field's render state. */
|
|
6
6
|
className?: TokenFieldProps$1<T>['className'];
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { useId, useLayoutEffect, useRef, useState } from "react";
|
|
5
|
+
import { Token, TokenField as TokenField$1, TokenInput } from "react-aria-components";
|
|
3
6
|
import { chipLabel } from "../../chip/index.js";
|
|
4
7
|
import { chipStyles } from "../../chip/styles.js";
|
|
5
8
|
import { FieldBox, FieldMessage } from "../../field/index.js";
|
|
@@ -7,10 +10,7 @@ import { fieldStyles, invalidFrom } from "../../field/root.js";
|
|
|
7
10
|
import { fieldChromeStyles } from "../../field/styles.js";
|
|
8
11
|
import { focus } from "../../styles/focus.js";
|
|
9
12
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
10
|
-
import { c } from "react/compiler-runtime";
|
|
11
|
-
import { useId, useLayoutEffect, useRef, useState } from "react";
|
|
12
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { Token, TokenField as TokenField$1, TokenInput } from "react-aria-components";
|
|
14
14
|
// src/components/token-field/index.tsx
|
|
15
15
|
const styles = {
|
|
16
16
|
input: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
3
|
-
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
4
2
|
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
5
4
|
import { createElement } from "react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
import { SeparatorContext, Toolbar as Toolbar$1 } from "react-aria-components";
|
|
6
|
+
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
// src/components/toolbar/index.tsx
|
|
9
9
|
const styles = {
|
|
10
10
|
base: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OverlayAlign, OverlaySide } from "../../styles/overlay.js";
|
|
2
1
|
import { ReactNode, RefAttributes } from "react";
|
|
3
2
|
import { ClassNameOrFunction, StyleOrFunction, TooltipRenderProps, TooltipTriggerComponentProps } from "react-aria-components";
|
|
3
|
+
import { OverlayAlign, OverlaySide } from "../../styles/overlay.js";
|
|
4
4
|
type TooltipAlign = OverlayAlign;
|
|
5
5
|
type TooltipProps = {
|
|
6
6
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { Tooltip as Tooltip$1, TooltipTrigger } from "react-aria-components";
|
|
3
5
|
import { mergeStatefulStyles } from "../../styles/merge.js";
|
|
4
6
|
import { overlay, placementOf, popupOrigin } from "../../styles/overlay.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { Tooltip as Tooltip$1, TooltipTrigger } from "react-aria-components";
|
|
8
8
|
// src/components/tooltip/index.tsx
|
|
9
9
|
const styles = { container: {
|
|
10
10
|
kWkggS: "x1c5gpgi",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { createContext, useContext } from "react";
|
|
5
|
+
import { Button, Tree as Tree$1, TreeHeader as TreeHeader$1, TreeItem as TreeItem$1, TreeItemContent, TreeLoadMoreItem, TreeSection as TreeSection$1 } from "react-aria-components";
|
|
3
6
|
import { CollectionLoadMore } from "../../collection/index.js";
|
|
4
7
|
import { collectionStyles, containerClasses, rowItemStyles } from "../../collection/styles.js";
|
|
5
8
|
import { ChevronEndGlyph } from "../../glyphs/index.js";
|
|
@@ -8,10 +11,7 @@ import { RowContent } from "../../row/index.js";
|
|
|
8
11
|
import { focus } from "../../styles/focus.js";
|
|
9
12
|
import { mergeStatefulStyles, mergeStyles } from "../../styles/merge.js";
|
|
10
13
|
import Checkbox from "../checkbox/index.js";
|
|
11
|
-
import { c } from "react/compiler-runtime";
|
|
12
|
-
import { createContext, useContext } from "react";
|
|
13
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { Button, Tree as Tree$1, TreeHeader as TreeHeader$1, TreeItem as TreeItem$1, TreeItemContent, TreeLoadMoreItem, TreeSection as TreeSection$1 } from "react-aria-components";
|
|
15
15
|
// src/components/tree/index.tsx
|
|
16
16
|
const SelectLabelContext = createContext(void 0);
|
|
17
17
|
const styles = {
|
package/dist/control/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
1
2
|
import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
3
|
+
import { Text } from "react-aria-components";
|
|
2
4
|
import { RequiredMark } from "../field/index.js";
|
|
3
5
|
import { fieldChromeStyles } from "../field/styles.js";
|
|
4
6
|
import { controlStyles } from "./styles.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { Text } from "react-aria-components";
|
|
8
8
|
// src/control/index.tsx
|
|
9
9
|
/**
|
|
10
10
|
* The hint under one option of a group, in the second column of its grid and
|
package/dist/drag/hooks.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
4
|
+
import { useDragAndDrop as useDragAndDrop$1 } from "react-aria-components";
|
|
3
5
|
import { DropIndicator as DropIndicator$1 } from "./index.js";
|
|
4
6
|
import { dragStyles } from "./styles.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import { useDragAndDrop as useDragAndDrop$1 } from "react-aria-components";
|
|
8
8
|
// src/drag/hooks.tsx
|
|
9
9
|
function renderDragPreview(items) {
|
|
10
10
|
const first = items[0]?.["text/plain"] ?? "";
|
package/dist/drag/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { indicatorClassName } from "./styles.js";
|
|
2
1
|
import { c } from "react/compiler-runtime";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
2
|
import { DropIndicator as DropIndicator$1 } from "react-aria-components";
|
|
3
|
+
import { indicatorClassName } from "./styles.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
// src/drag/index.tsx
|
|
6
6
|
/**
|
|
7
7
|
* The line that shows where a dragged item would land. Rendered by
|
package/dist/field/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
1
2
|
import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
3
|
+
import { createContext, useContext, useId } from "react";
|
|
4
|
+
import { Button, FieldError, FieldErrorContext, Group, Input, InputContext, Label, SelectStateContext, Text, TextArea, TextAreaContext, TextContext, VisuallyHidden, useLocale, useSlottedContext } from "react-aria-components";
|
|
2
5
|
import { useMessages } from "../i18n/index.js";
|
|
3
6
|
import { mergeStatefulStyles, mergeStyles } from "../styles/merge.js";
|
|
4
7
|
import { spacing } from "../tokens/design.tokens.stylex.js";
|
|
5
8
|
import { focusesControl } from "./press.js";
|
|
6
9
|
import { useInsideForm } from "./root.js";
|
|
7
10
|
import { fieldChromeStyles, groupStyles } from "./styles.js";
|
|
8
|
-
import { c } from "react/compiler-runtime";
|
|
9
|
-
import { createContext, useContext, useId } from "react";
|
|
10
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { Button, FieldError, FieldErrorContext, Group, Input, InputContext, Label, SelectStateContext, Text, TextArea, TextAreaContext, TextContext, VisuallyHidden, useLocale, useSlottedContext } from "react-aria-components";
|
|
12
12
|
// src/field/index.tsx
|
|
13
13
|
const OUTSIDE_BOX = {
|
|
14
14
|
label: "none",
|
package/dist/glyphs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
1
2
|
import { arrowBackPath, arrowDownwardPath, arrowDropDownPath, arrowUpwardPath, calendarPath, checkCirclePath, checkPath, chevronDownPath, chevronEndPath, clockPath, closePath, errorPath, keyboardPath, minusPath, personPath, plusPath, searchPath } from "../kanso-ui-core/glyphs.js";
|
|
2
3
|
import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
3
4
|
import { mergeStyles } from "../styles/merge.js";
|
|
4
5
|
import { glyphStyles } from "./styles.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
// src/glyphs/index.tsx
|
|
8
8
|
function ArrowBackGlyph(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { textOf } from "../collection/text.js";
|
|
2
1
|
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { useState } from "react";
|
|
3
|
+
import { textOf } from "../collection/text.js";
|
|
4
4
|
// src/hooks/useClippedTitle.ts
|
|
5
5
|
/**
|
|
6
6
|
* The `title` and `onPointerEnter` for a label span that clips to one line,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
|
|
2
|
-
import { textScaleStyles } from "../styles/text-scale.js";
|
|
3
2
|
import { useSyncExternalStore } from "react";
|
|
3
|
+
import { textScaleStyles } from "../styles/text-scale.js";
|
|
4
4
|
// src/hooks/useEnlargedText.ts
|
|
5
5
|
const THRESHOLD = 1.05;
|
|
6
6
|
/** What the probe carries, so a spec can find it and enlarge its font. */
|