@kanso-labs/kanso-ui 0.45.6 → 0.45.8
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
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
//#region src/components/supporting-pane/index.d.ts
|
|
4
3
|
type SupportingPaneProps = Omit<RenderComponentProps<'div'>, 'children'> & {
|
|
5
4
|
/**
|
|
6
5
|
* The primary content. Takes whatever width the supporting pane leaves from
|
|
@@ -34,6 +33,5 @@ type SupportingPaneProps = Omit<RenderComponentProps<'div'>, 'children'> & {
|
|
|
34
33
|
* arrangement on screen.
|
|
35
34
|
*/
|
|
36
35
|
declare function SupportingPane({ main, placement, render, supporting, ...props }: SupportingPaneProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
37
|
-
//#endregion
|
|
38
36
|
export { type SupportingPaneProps, SupportingPane as default };
|
|
39
37
|
//# 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/supporting-pane/index.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Material Design's supporting pane layout: a main pane and a companion that
|
|
9
9
|
* reflows underneath it when there is no room beside it.
|
|
@@ -111,7 +111,6 @@ function SupportingPane(t0) {
|
|
|
111
111
|
} else t7 = $[23];
|
|
112
112
|
return t5(t7);
|
|
113
113
|
}
|
|
114
|
-
//#endregion
|
|
115
114
|
export { SupportingPane as default };
|
|
116
115
|
|
|
117
116
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AccessibleName } from "../../render/name.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { SwitchFieldProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/switch/index.d.ts
|
|
5
4
|
type SwitchProps = {
|
|
6
5
|
/**
|
|
7
6
|
* The label, beside the switch. A switch that a row labels some other way
|
|
@@ -69,6 +68,5 @@ type SwitchProps = {
|
|
|
69
68
|
* which is the element a layout positions.
|
|
70
69
|
*/
|
|
71
70
|
declare function Switch({ children, description, error, icon, unselectedIcon, ...props }: RefAttributes<HTMLDivElement> & SwitchProps): import("react").JSX.Element;
|
|
72
|
-
//#endregion
|
|
73
71
|
export { type SwitchProps, Switch as default };
|
|
74
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import { c } from "react/compiler-runtime";
|
|
|
12
12
|
import { useRef, useState } from "react";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { SwitchButton, SwitchField } from "react-aria-components";
|
|
15
|
-
|
|
15
|
+
// src/components/switch/index.tsx
|
|
16
16
|
const _temp = {
|
|
17
17
|
kLqNvP: "x1lxsm33",
|
|
18
18
|
"$$css": true
|
|
@@ -496,7 +496,6 @@ function useHandleDrag() {
|
|
|
496
496
|
} else t5 = $[6];
|
|
497
497
|
return t5;
|
|
498
498
|
}
|
|
499
|
-
//#endregion
|
|
500
499
|
export { Switch as default };
|
|
501
500
|
|
|
502
501
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { CellProps, ColumnProps, ResizableTableContainerProps, RowProps, TableBodyProps, TableFooterProps, TableHeaderProps, TableLoadMoreItemProps, TableProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/table/index.d.ts
|
|
4
3
|
type TableBodyProps$1<T extends object = object> = Omit<TableBodyProps<T>, 'className' | 'renderEmptyState' | 'style'> & {
|
|
5
4
|
/** A function may compute the class from the body's render state. */
|
|
6
5
|
className?: TableBodyProps<T>['className'];
|
|
@@ -196,6 +195,5 @@ declare function TableLoadMore({ label, ref, ...props }: RefAttributes<HTMLTable
|
|
|
196
195
|
* row is pressed.
|
|
197
196
|
*/
|
|
198
197
|
declare function TableRow<T extends object = object>(props: RefAttributes<HTMLTableRowElement> & TableRowProps<T>): import("react").JSX.Element;
|
|
199
|
-
//#endregion
|
|
200
198
|
export { TableBody$1 as TableBody, type TableBodyProps$1 as TableBodyProps, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableFooter$1 as TableFooter, type TableFooterProps$1 as TableFooterProps, TableHeader$1 as TableHeader, type TableHeaderProps$1 as TableHeaderProps, TableLoadMore, type TableLoadMoreProps, type TableProps$1 as TableProps, TableRow, type TableRowProps, Table$1 as default };
|
|
201
199
|
//# 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 { Cell, Column, ColumnResizer, ResizableTableContainer, Row, Table, TableBody, TableFooter, TableHeader, TableLoadMoreItem } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/table/index.tsx
|
|
15
15
|
const SelectAllLabelContext = createContext(void 0);
|
|
16
16
|
const SelectLabelContext = createContext(void 0);
|
|
17
17
|
const styles = {
|
|
@@ -592,7 +592,6 @@ Table$1.Footer = TableFooter$1;
|
|
|
592
592
|
Table$1.Header = TableHeader$1;
|
|
593
593
|
Table$1.LoadMore = TableLoadMore;
|
|
594
594
|
Table$1.Row = TableRow;
|
|
595
|
-
//#endregion
|
|
596
595
|
export { TableBody$1 as TableBody, TableCell, TableColumn, TableFooter$1 as TableFooter, TableHeader$1 as TableHeader, TableLoadMore, TableRow, Table$1 as default };
|
|
597
596
|
|
|
598
597
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/tabs/index.d.ts
|
|
4
3
|
/** The tabs page's two styles of tab bar. */
|
|
5
4
|
type TabsVariant = 'primary' | 'secondary';
|
|
6
5
|
/** How the bar shares its room among the tabs. */
|
|
@@ -67,6 +66,5 @@ type TabsTabProps = {
|
|
|
67
66
|
*/
|
|
68
67
|
icon?: ReactNode;
|
|
69
68
|
} & TabProps;
|
|
70
|
-
//#endregion
|
|
71
69
|
export { type TabsLayout, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, TabsPanels, type TabsPanelsProps, type TabsProps$1 as TabsProps, TabsTab, type TabsTabProps, type TabsVariant, Tabs$1 as default };
|
|
72
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ import { c } from "react/compiler-runtime";
|
|
|
7
7
|
import { createContext, useContext, useEffect, useState } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { SelectionIndicator, Tab, TabList, TabPanel, TabPanels, Tabs } from "react-aria-components";
|
|
10
|
-
|
|
10
|
+
// src/components/tabs/index.tsx
|
|
11
11
|
const styles = {
|
|
12
12
|
indicator: {
|
|
13
13
|
k6CgDc: "x12w9bfk",
|
|
@@ -570,7 +570,6 @@ Tabs$1.List = TabsList;
|
|
|
570
570
|
Tabs$1.Panel = TabsPanel;
|
|
571
571
|
Tabs$1.Panels = TabsPanels;
|
|
572
572
|
Tabs$1.Tab = TabsTab;
|
|
573
|
-
//#endregion
|
|
574
573
|
export { TabsList, TabsPanel, TabsPanels, TabsTab, Tabs$1 as default };
|
|
575
574
|
|
|
576
575
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/tag/index.d.ts
|
|
3
2
|
type TagProps = {
|
|
4
3
|
/**
|
|
5
4
|
* Which colour role the tag carries. `neutral` states without ranking;
|
|
@@ -28,6 +27,5 @@ type TagVariant = 'filled' | 'outlined';
|
|
|
28
27
|
* and takes no interaction — for a label that can be selected, reach for Chip.
|
|
29
28
|
*/
|
|
30
29
|
declare function Tag({ render, tone, variant, ...props }: TagProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
31
|
-
//#endregion
|
|
32
30
|
export { type TagProps, type TagTone, type TagVariant, Tag as default };
|
|
33
31
|
//# 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/tag/index.tsx
|
|
7
7
|
const styles = { base: {
|
|
8
8
|
kGNEyG: "x6s0dn4",
|
|
9
9
|
kaIpWk: "x1xdvaa9",
|
|
@@ -133,7 +133,6 @@ function Tag(t0) {
|
|
|
133
133
|
} else t6 = $[12];
|
|
134
134
|
return t4(t6);
|
|
135
135
|
}
|
|
136
|
-
//#endregion
|
|
137
136
|
export { Tag as default };
|
|
138
137
|
|
|
139
138
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/text/index.d.ts
|
|
3
2
|
type TextProps = {
|
|
4
3
|
/**
|
|
5
4
|
* Renders a `<p>` rather than the default `<span>`, for a block of prose
|
|
@@ -53,6 +52,5 @@ type TextProps = {
|
|
|
53
52
|
* The call site's `className` and `style` land on the element it renders.
|
|
54
53
|
*/
|
|
55
54
|
declare function Text({ block, render, tone, variant, ...props }: TextProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
56
|
-
//#endregion
|
|
57
55
|
export { type TextProps, Text as default };
|
|
58
56
|
//# 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/text/index.tsx
|
|
7
7
|
const styles = {
|
|
8
8
|
base: {
|
|
9
9
|
kB7OPa: "x9f619",
|
|
@@ -233,7 +233,6 @@ function Text(t0) {
|
|
|
233
233
|
} else t6 = $[12];
|
|
234
234
|
return t4(t6);
|
|
235
235
|
}
|
|
236
|
-
//#endregion
|
|
237
236
|
export { Text as default };
|
|
238
237
|
|
|
239
238
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FieldVariant } from "../../field/index.js";
|
|
2
2
|
import { ReactNode, Ref, RefAttributes } from "react";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/text-area/index.d.ts
|
|
5
4
|
type TextAreaProps = Omit<TextFieldProps, 'children' | 'isInvalid' | 'validationBehavior'> & {
|
|
6
5
|
/**
|
|
7
6
|
* Whether the field grows with the text it holds, from `rows` up. `false`
|
|
@@ -110,6 +109,5 @@ type TextAreaProps = Omit<TextFieldProps, 'children' | 'isInvalid' | 'validation
|
|
|
110
109
|
* `TextField` puts around them.
|
|
111
110
|
*/
|
|
112
111
|
declare function TextArea$1({ autosize, characterCount, characterLimitLabel, characterLimitReachedLabel, description, error, floatingLabel, inputRef, isDisabled, label, leadingIcon, rows, trailingIcon, variant, ...props }: RefAttributes<HTMLDivElement> & TextAreaProps): import("react").JSX.Element;
|
|
113
|
-
//#endregion
|
|
114
112
|
export { type TextAreaProps, TextArea$1 as default };
|
|
115
113
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { FieldBox, FieldMessage, FieldTextArea } from "../../field/index.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
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
|
|
12
12
|
* `onChange` to control it, or `defaultValue` to let it keep its own — and
|
|
@@ -113,7 +113,6 @@ function TextArea$1(t0) {
|
|
|
113
113
|
} else t12 = $[29];
|
|
114
114
|
return t12;
|
|
115
115
|
}
|
|
116
|
-
//#endregion
|
|
117
116
|
export { TextArea$1 as default };
|
|
118
117
|
|
|
119
118
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FieldVariant } from "../../field/index.js";
|
|
2
2
|
import { ReactNode, Ref, RefAttributes } from "react";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/text-field/index.d.ts
|
|
5
4
|
type TextFieldProps$1 = Omit<TextFieldProps, 'children' | 'isInvalid' | 'prefix' | 'validationBehavior'> & {
|
|
6
5
|
/**
|
|
7
6
|
* Whether to count the characters the field holds at the end of the
|
|
@@ -149,6 +148,5 @@ type TextFieldProps$1 = Omit<TextFieldProps, 'children' | 'isInvalid' | 'prefix'
|
|
|
149
148
|
* them.
|
|
150
149
|
*/
|
|
151
150
|
declare function TextField$1({ characterCount, characterLimitLabel, characterLimitReachedLabel, description, error, floatingLabel, inputRef, isDisabled, label, leadingIcon, numeric, prefix, suffix, trailingIcon, variant, ...props }: RefAttributes<HTMLDivElement> & TextFieldProps$1): import("react").JSX.Element;
|
|
152
|
-
//#endregion
|
|
153
151
|
export { type TextFieldProps$1 as TextFieldProps, TextField$1 as default };
|
|
154
152
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { FieldBox, FieldInput, FieldMessage } from "../../field/index.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { TextField } 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
|
|
12
12
|
* `onChange` to control it, or `defaultValue` to let it keep its own — and
|
|
@@ -140,7 +140,6 @@ function TextField$1(t0) {
|
|
|
140
140
|
} else t12 = $[31];
|
|
141
141
|
return t12;
|
|
142
142
|
}
|
|
143
|
-
//#endregion
|
|
144
143
|
export { TextField$1 as default };
|
|
145
144
|
|
|
146
145
|
//# 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 { TimeFieldProps, TimeValue } from "react-aria-components";
|
|
4
|
-
//#region src/components/time-field/index.d.ts
|
|
5
4
|
type TimeFieldProps$1<T extends TimeValue = TimeValue> = Omit<TimeFieldProps<T>, 'children' | 'className' | 'style'> & {
|
|
6
5
|
/** A function may compute the class from the field's render state. */
|
|
7
6
|
className?: TimeFieldProps<T>['className'];
|
|
@@ -62,6 +61,5 @@ type TimeFieldProps$1<T extends TimeValue = TimeValue> = Omit<TimeFieldProps<T>,
|
|
|
62
61
|
* on the field as a whole, which is the element a layout positions.
|
|
63
62
|
*/
|
|
64
63
|
declare function TimeField$1<T extends TimeValue>({ description, error, floatingLabel, isDisabled, label, leadingIcon, trailingIcon, variant, ...props }: RefAttributes<HTMLDivElement> & TimeFieldProps$1<T>): import("react").JSX.Element;
|
|
65
|
-
//#endregion
|
|
66
64
|
export { type TimeFieldProps$1 as TimeFieldProps, TimeField$1 as default };
|
|
67
65
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { renderSegment } from "../../segments/index.js";
|
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { DateInput, TimeField } 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
|
|
14
14
|
* stop. The value is React Aria's — pass `value` with `onChange` to control
|
|
@@ -103,7 +103,6 @@ function TimeField$1(t0) {
|
|
|
103
103
|
} else t9 = $[21];
|
|
104
104
|
return t9;
|
|
105
105
|
}
|
|
106
|
-
//#endregion
|
|
107
106
|
export { TimeField$1 as default };
|
|
108
107
|
|
|
109
108
|
//# 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 { TimeFieldProps, TimeValue } from "react-aria-components";
|
|
4
|
-
//#region src/components/time-picker/index.d.ts
|
|
5
4
|
/** Which of the time pickers page's two variants the modal shows. */
|
|
6
5
|
type TimePickerMode = 'dial' | 'input';
|
|
7
6
|
type TimePickerProps<T extends TimeValue = TimeValue> = Omit<TimeFieldProps<T>, 'children' | 'className' | 'style'> & {
|
|
@@ -105,6 +104,5 @@ type TimePickerProps<T extends TimeValue = TimeValue> = Omit<TimeFieldProps<T>,
|
|
|
105
104
|
* which is the element a layout positions.
|
|
106
105
|
*/
|
|
107
106
|
declare function TimePicker<T extends TimeValue>({ cancelLabel, confirmLabel, container, defaultMode, defaultOpen, description, enterTimeLabel, error, floatingLabel, isDisabled, isOpen, isReadOnly, label, leadingIcon, onOpenChange, selectTimeLabel, variant, ...props }: RefAttributes<HTMLDivElement> & TimePickerProps<T>): import("react").JSX.Element;
|
|
108
|
-
//#endregion
|
|
109
107
|
export { type TimePickerMode, type TimePickerProps, TimePicker as default };
|
|
110
108
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -16,7 +16,7 @@ import { useContext, useId, useRef, useState } from "react";
|
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { Button, DateInput, DateSegment, Dialog, Heading, LabelContext, Modal, ModalOverlay, TimeField, TimeFieldStateContext, ToggleButton, ToggleButtonGroup, useLocale, useSlottedContext } from "react-aria-components";
|
|
18
18
|
import { Time, getLocalTimeZone, toCalendarDateTime, today } from "@internationalized/date";
|
|
19
|
-
|
|
19
|
+
// src/components/time-picker/index.tsx
|
|
20
20
|
const DIAL = 256;
|
|
21
21
|
const CENTRE = DIAL / 2;
|
|
22
22
|
const OUTER_RING = 101;
|
|
@@ -948,7 +948,6 @@ function usesTwelveHours(locale, hourCycle) {
|
|
|
948
948
|
if (hourCycle !== void 0) return hourCycle === 12;
|
|
949
949
|
return new Intl.DateTimeFormat(locale, { hour: "numeric" }).resolvedOptions().hour12 ?? false;
|
|
950
950
|
}
|
|
951
|
-
//#endregion
|
|
952
951
|
export { TimePicker as default };
|
|
953
952
|
|
|
954
953
|
//# 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 { TokenFieldProps, TokenFieldValue, TokenInputProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/token-field/index.d.ts
|
|
5
4
|
type TokenFieldProps$1<T extends TokenFieldValue = TokenFieldValue> = {
|
|
6
5
|
/** A function may compute the class from the field's render state. */
|
|
7
6
|
className?: TokenFieldProps<T>['className'];
|
|
@@ -82,6 +81,5 @@ type TokenSegment = Parameters<TokenInputProps['children']>[0];
|
|
|
82
81
|
* which is the element a layout positions.
|
|
83
82
|
*/
|
|
84
83
|
declare function TokenField$1<T extends TokenFieldValue = TokenFieldValue>({ description, error, floatingLabel, label, leadingIcon, renderToken, trailingIcon, variant, ...props }: RefAttributes<HTMLDivElement> & TokenFieldProps$1<T>): import("react").JSX.Element;
|
|
85
|
-
//#endregion
|
|
86
84
|
export { type TokenFieldProps$1 as TokenFieldProps, type TokenSegment, TokenField$1 as default };
|
|
87
85
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,7 +10,7 @@ import { c } from "react/compiler-runtime";
|
|
|
10
10
|
import { useId, useLayoutEffect, useRef, useState } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { Token, TokenField, TokenInput } from "react-aria-components";
|
|
13
|
-
|
|
13
|
+
// src/components/token-field/index.tsx
|
|
14
14
|
const styles = { token: {
|
|
15
15
|
kXLuUW: "xxymvpz",
|
|
16
16
|
$$css: true
|
|
@@ -183,7 +183,6 @@ function TokenField$1(t0) {
|
|
|
183
183
|
} else t16 = $[34];
|
|
184
184
|
return t16;
|
|
185
185
|
}
|
|
186
|
-
//#endregion
|
|
187
186
|
export { TokenField$1 as default };
|
|
188
187
|
|
|
189
188
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ToolbarProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/toolbar/index.d.ts
|
|
4
3
|
type ToolbarProps$1 = Omit<ToolbarProps, 'children' | 'className' | 'style'> & {
|
|
5
4
|
/** The controls, and any rule between them. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -48,6 +47,5 @@ type ToolbarTone = 'neutral' | 'vibrant';
|
|
|
48
47
|
* the element a layout positions.
|
|
49
48
|
*/
|
|
50
49
|
declare function Toolbar$1({ orientation, tone, ...props }: RefAttributes<HTMLDivElement> & ToolbarProps$1): import("react").JSX.Element;
|
|
51
|
-
//#endregion
|
|
52
50
|
export { type ToolbarProps$1 as ToolbarProps, type ToolbarTone, Toolbar$1 as default };
|
|
53
51
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { c } from "react/compiler-runtime";
|
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { SeparatorContext, Toolbar } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/toolbar/index.tsx
|
|
9
9
|
const styles = {
|
|
10
10
|
base: {
|
|
11
11
|
kGNEyG: "x6s0dn4",
|
|
@@ -138,7 +138,6 @@ function Toolbar$1(t0) {
|
|
|
138
138
|
} else t6 = $[17];
|
|
139
139
|
return t6;
|
|
140
140
|
}
|
|
141
|
-
//#endregion
|
|
142
141
|
export { Toolbar$1 as default };
|
|
143
142
|
|
|
144
143
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OverlayAlign, OverlaySide } from "../../styles/overlay.js";
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { ClassNameOrFunction, StyleOrFunction, TooltipRenderProps, TooltipTriggerComponentProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/tooltip/index.d.ts
|
|
5
4
|
type TooltipAlign = OverlayAlign;
|
|
6
5
|
type TooltipProps = {
|
|
7
6
|
/**
|
|
@@ -59,6 +58,5 @@ type TooltipSide = OverlaySide;
|
|
|
59
58
|
* The call site's `className` and `style` land on the tooltip itself.
|
|
60
59
|
*/
|
|
61
60
|
declare function Tooltip$1({ align, alignOffset, children, className, container, label, ref, side, sideOffset, style, ...props }: RefAttributes<HTMLDivElement> & TooltipProps): import("react").JSX.Element;
|
|
62
|
-
//#endregion
|
|
63
61
|
export { type TooltipAlign, type TooltipProps, type TooltipSide, Tooltip$1 as default };
|
|
64
62
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { overlay, placementOf, popupOrigin } from "../../styles/overlay.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { Tooltip, TooltipTrigger } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/tooltip/index.tsx
|
|
9
9
|
const styles = { container: {
|
|
10
10
|
kWkggS: "x1c5gpgi",
|
|
11
11
|
kaIpWk: "x1tfhd1",
|
|
@@ -134,7 +134,6 @@ function Tooltip$1(t0) {
|
|
|
134
134
|
function _temp(state) {
|
|
135
135
|
return props(overlay.popup, styles.container, popupOrigin(state.placement));
|
|
136
136
|
}
|
|
137
|
-
//#endregion
|
|
138
137
|
export { Tooltip$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 { TreeItemProps, TreeLoadMoreItemProps, TreeProps, TreeSection } from "react-aria-components";
|
|
3
|
-
//#region src/components/tree/index.d.ts
|
|
4
3
|
type RACTreeSectionProps<T> = Parameters<typeof TreeSection<T>>[0];
|
|
5
4
|
type TreeItemProps$1<T extends object = object> = Omit<TreeItemProps<T>, 'children' | 'className' | 'style' | 'textValue'> & TreeItemText & {
|
|
6
5
|
/** The rows nested under this one, as further `Tree.Item` entries. */
|
|
@@ -121,6 +120,5 @@ declare function TreeLoadMore({ label, ...props }: RefAttributes<HTMLDivElement>
|
|
|
121
120
|
* A named group of rows, with its heading above them.
|
|
122
121
|
*/
|
|
123
122
|
declare function TreeSection$1<T extends object = object>({ children, header, ...props }: TreeSectionProps<T>): import("react").JSX.Element;
|
|
124
|
-
//#endregion
|
|
125
123
|
export { TreeItem$1 as TreeItem, type TreeItemProps$1 as TreeItemProps, TreeLoadMore, type TreeLoadMoreProps, type TreeProps$1 as TreeProps, TreeSection$1 as TreeSection, type TreeSectionProps, Tree$1 as default };
|
|
126
124
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import { c } from "react/compiler-runtime";
|
|
|
12
12
|
import { createContext, useContext } from "react";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { Button, Tree, TreeHeader, TreeItem, TreeItemContent, TreeLoadMoreItem, TreeSection } from "react-aria-components";
|
|
15
|
-
|
|
15
|
+
// src/components/tree/index.tsx
|
|
16
16
|
const SelectLabelContext = createContext(void 0);
|
|
17
17
|
const styles = {
|
|
18
18
|
chevron: {
|
|
@@ -367,7 +367,6 @@ function TreeSection$1(t0) {
|
|
|
367
367
|
Tree$1.Item = TreeItem$1;
|
|
368
368
|
Tree$1.LoadMore = TreeLoadMore;
|
|
369
369
|
Tree$1.Section = TreeSection$1;
|
|
370
|
-
//#endregion
|
|
371
370
|
export { TreeItem$1 as TreeItem, TreeLoadMore, TreeSection$1 as TreeSection, Tree$1 as default };
|
|
372
371
|
|
|
373
372
|
//# sourceMappingURL=index.js.map
|
package/dist/control/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { controlStyles } from "./styles.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
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
|
|
11
11
|
* in the option's description slot, so it is read with the option.
|
|
@@ -126,7 +126,6 @@ function keepToInteractive(event) {
|
|
|
126
126
|
const interactive = target instanceof Element ? target.closest(INTERACTIVE) : null;
|
|
127
127
|
if (interactive !== null && currentTarget.contains(interactive)) event.stopPropagation();
|
|
128
128
|
}
|
|
129
|
-
//#endregion
|
|
130
129
|
export { ControlDescription, ControlLabel };
|
|
131
130
|
|
|
132
131
|
//# sourceMappingURL=index.js.map
|
package/dist/control/styles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/control/styles.ts
|
|
2
2
|
const controlStyles = {
|
|
3
3
|
controlDisabled: {
|
|
4
4
|
kkrTdU: "x1h6gzvc",
|
|
@@ -75,7 +75,6 @@ const controlStyles = {
|
|
|
75
75
|
$$css: true
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
//#endregion
|
|
79
78
|
export { controlStyles };
|
|
80
79
|
|
|
81
80
|
//# sourceMappingURL=styles.js.map
|
package/dist/drag/hooks.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useDragAndDrop } from "react-aria-components";
|
|
2
|
-
//#region src/drag/hooks.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* React Aria's drag and drop hooks, with this library's drop indicator and
|
|
5
4
|
* drag preview as the defaults. Hand what it returns to a `List`, `ListBox`,
|
|
@@ -20,6 +19,5 @@ import { useDragAndDrop } from "react-aria-components";
|
|
|
20
19
|
* Passing `renderDropIndicator` or `renderDragPreview` replaces the default.
|
|
21
20
|
*/
|
|
22
21
|
declare function useDragAndDrop$1(options: Parameters<typeof useDragAndDrop>[0]): ReturnType<typeof useDragAndDrop>;
|
|
23
|
-
//#endregion
|
|
24
22
|
export { useDragAndDrop$1 as useDragAndDrop };
|
|
25
23
|
//# sourceMappingURL=hooks.d.ts.map
|
package/dist/drag/hooks.js
CHANGED
|
@@ -5,7 +5,7 @@ import { DropIndicator as DropIndicator$1 } from "./index.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { useDragAndDrop } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/drag/hooks.tsx
|
|
9
9
|
function renderDragPreview(items) {
|
|
10
10
|
const first = items[0]?.["text/plain"] ?? "";
|
|
11
11
|
const rest = items.length - 1;
|
|
@@ -50,7 +50,6 @@ function useDragAndDrop$1(options) {
|
|
|
50
50
|
} else t0 = $[1];
|
|
51
51
|
return useDragAndDrop(t0);
|
|
52
52
|
}
|
|
53
|
-
//#endregion
|
|
54
53
|
export { useDragAndDrop$1 as useDragAndDrop };
|
|
55
54
|
|
|
56
55
|
//# sourceMappingURL=hooks.js.map
|
package/dist/drag/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { indicatorClassName } from "./styles.js";
|
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { DropIndicator } from "react-aria-components";
|
|
5
|
-
|
|
5
|
+
// src/drag/index.tsx
|
|
6
6
|
/**
|
|
7
7
|
* The line that shows where a dragged item would land. Rendered by
|
|
8
8
|
* {@link useDragAndDrop} rather than by a call site, which is why it takes
|
|
@@ -22,7 +22,6 @@ function DropIndicator$1(t0) {
|
|
|
22
22
|
} else t1 = $[1];
|
|
23
23
|
return t1;
|
|
24
24
|
}
|
|
25
|
-
//#endregion
|
|
26
25
|
export { DropIndicator$1 as DropIndicator };
|
|
27
26
|
|
|
28
27
|
//# sourceMappingURL=index.js.map
|
package/dist/drag/styles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/drag/styles.ts
|
|
2
2
|
const dragStyles = {
|
|
3
3
|
indicator: {
|
|
4
4
|
kWkggS: "xjbqb8w",
|
|
@@ -43,7 +43,6 @@ function indicatorClassName(state) {
|
|
|
43
43
|
1: { className: "x36qwtl x1dkaolv x9f619 x16sahtb x1t137rt x1n2onr6 x1vjfegm xnety89 x4hsqty x4z998w x7sdbh0" }
|
|
44
44
|
}[!!state.isDropTarget << 0].className ?? "";
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { dragStyles, indicatorClassName };
|
|
48
47
|
|
|
49
48
|
//# sourceMappingURL=styles.js.map
|
package/dist/fab/styles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/fab/styles.ts
|
|
2
2
|
const fabStyles = {
|
|
3
3
|
base: {
|
|
4
4
|
kGNEyG: "x6s0dn4",
|
|
@@ -155,7 +155,6 @@ const fabTones = {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
|
-
//#endregion
|
|
159
158
|
export { extendedFabSizes, fabIconSizes, fabSizes, fabStyles, fabTones };
|
|
160
159
|
|
|
161
160
|
//# sourceMappingURL=styles.js.map
|
package/dist/field/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, Ref, RefAttributes } from "react";
|
|
2
2
|
import { ButtonProps } from "react-aria-components";
|
|
3
|
-
//#region src/field/index.d.ts
|
|
4
3
|
type FieldVariant = 'filled' | 'outlined';
|
|
5
|
-
//#endregion
|
|
6
4
|
export type { FieldVariant };
|
|
7
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/field/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { c } from "react/compiler-runtime";
|
|
|
9
9
|
import { createContext, useContext, useId } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
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",
|
|
15
15
|
underLabel: false
|
|
@@ -902,7 +902,6 @@ function countIn(locale, length, maxLength) {
|
|
|
902
902
|
}
|
|
903
903
|
return maxLength === void 0 ? formatter.format(length) : `${formatter.format(length)}/${formatter.format(maxLength)}`;
|
|
904
904
|
}
|
|
905
|
-
//#endregion
|
|
906
905
|
export { FieldBox, FieldInput, FieldLabel, FieldMessage, FieldSegments, FieldTextArea, FieldTrigger, FieldValue, RequiredMark };
|
|
907
906
|
|
|
908
907
|
//# sourceMappingURL=index.js.map
|
package/dist/field/press.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/field/press.ts
|
|
2
2
|
const PRESSABLE = "a, button, input, textarea, select, [role=\"button\"], [contenteditable=\"true\"]";
|
|
3
3
|
const CONTROL = "input:not([type=\"hidden\"]), textarea, [contenteditable=\"true\"]";
|
|
4
4
|
/**
|
|
@@ -21,7 +21,6 @@ function focusesControl(onPointerDown) {
|
|
|
21
21
|
control.focus();
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { focusesControl };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=press.js.map
|
package/dist/field/root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormContext, useSlottedContext } from "react-aria-components";
|
|
2
|
-
|
|
2
|
+
// src/field/root.ts
|
|
3
3
|
/**
|
|
4
4
|
* What a field passes React Aria for `validationBehavior` outside a `Form`.
|
|
5
5
|
* The message under a field is the library's to show, so validation only
|
|
@@ -57,7 +57,6 @@ const fieldStyles = { root: {
|
|
|
57
57
|
kXwgrk: "xdt5ytf",
|
|
58
58
|
$$css: true
|
|
59
59
|
} };
|
|
60
|
-
//#endregion
|
|
61
60
|
export { FIELD_VALIDATION_BEHAVIOR, fieldStyles, invalidFrom, useFieldValidationBehavior, useInsideForm };
|
|
62
61
|
|
|
63
62
|
//# sourceMappingURL=root.js.map
|