@kanso-labs/kanso-ui 0.45.6 → 0.45.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/badge/index.js +1 -2
- package/dist/button/context.js +1 -2
- package/dist/button/group.js +1 -2
- package/dist/button/hooks.js +1 -2
- package/dist/button/index.d.ts +0 -2
- package/dist/button/index.js +1 -2
- package/dist/button/styles.js +1 -2
- package/dist/button/toggle.js +1 -2
- package/dist/calendar/index.js +1 -2
- package/dist/calendar/months.js +1 -2
- package/dist/calendar/styles.js +1 -2
- package/dist/carousel/arrangement.d.ts +0 -2
- package/dist/carousel/arrangement.js +0 -1
- package/dist/chip/index.js +1 -2
- package/dist/chip/label.js +1 -2
- package/dist/chip/styles.js +1 -2
- package/dist/collection/empty.js +1 -2
- package/dist/collection/index.js +1 -2
- package/dist/collection/styles.js +1 -2
- package/dist/collection/text.js +1 -2
- package/dist/color-scheme.d.ts +0 -2
- package/dist/color-scheme.js +1 -2
- package/dist/components/app-bar/index.d.ts +0 -2
- package/dist/components/app-bar/index.js +1 -2
- package/dist/components/autocomplete/index.d.ts +0 -2
- package/dist/components/autocomplete/index.js +1 -2
- package/dist/components/avatar/index.d.ts +0 -2
- package/dist/components/avatar/index.js +1 -2
- package/dist/components/badge/index.d.ts +0 -2
- package/dist/components/badge/index.js +1 -2
- package/dist/components/breadcrumbs/index.d.ts +0 -2
- package/dist/components/breadcrumbs/index.js +1 -2
- package/dist/components/button/index.d.ts +0 -2
- package/dist/components/button/index.js +1 -2
- package/dist/components/button-group/index.d.ts +0 -2
- package/dist/components/button-group/index.js +1 -2
- package/dist/components/calendar/index.d.ts +0 -2
- package/dist/components/calendar/index.js +1 -2
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/card/index.js +1 -2
- package/dist/components/carousel/index.d.ts +0 -2
- package/dist/components/carousel/index.js +1 -2
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/checkbox/index.js +1 -2
- package/dist/components/checkbox-group/index.d.ts +0 -2
- package/dist/components/checkbox-group/index.js +1 -2
- package/dist/components/chip/index.d.ts +0 -2
- package/dist/components/chip/index.js +1 -2
- package/dist/components/chip-group/index.d.ts +0 -2
- package/dist/components/chip-group/index.js +1 -2
- package/dist/components/code/index.d.ts +0 -2
- package/dist/components/code/index.js +1 -2
- package/dist/components/color-area/index.d.ts +0 -2
- package/dist/components/color-area/index.js +1 -2
- package/dist/components/color-field/index.d.ts +0 -2
- package/dist/components/color-field/index.js +1 -2
- package/dist/components/color-picker/index.d.ts +0 -2
- package/dist/components/color-picker/index.js +1 -2
- package/dist/components/color-slider/index.d.ts +0 -2
- package/dist/components/color-slider/index.js +1 -2
- package/dist/components/color-swatch/index.d.ts +0 -2
- package/dist/components/color-swatch/index.js +1 -2
- package/dist/components/color-swatch-picker/index.d.ts +0 -2
- package/dist/components/color-swatch-picker/index.js +1 -2
- package/dist/components/color-wheel/index.d.ts +0 -2
- package/dist/components/color-wheel/index.js +1 -2
- package/dist/components/combo-box/index.d.ts +0 -2
- package/dist/components/combo-box/index.js +1 -2
- package/dist/components/container/index.d.ts +0 -2
- package/dist/components/container/index.js +1 -2
- package/dist/components/copy-field/index.d.ts +0 -2
- package/dist/components/copy-field/index.js +1 -2
- package/dist/components/currency/index.d.ts +0 -2
- package/dist/components/currency/index.js +1 -2
- package/dist/components/date-field/index.d.ts +0 -2
- package/dist/components/date-field/index.js +1 -2
- package/dist/components/date-picker/index.d.ts +0 -2
- package/dist/components/date-picker/index.js +1 -2
- package/dist/components/date-range-picker/index.d.ts +0 -2
- package/dist/components/date-range-picker/index.js +1 -2
- package/dist/components/dialog/index.d.ts +0 -2
- package/dist/components/dialog/index.js +1 -2
- package/dist/components/disclosure/index.d.ts +0 -2
- package/dist/components/disclosure/index.js +1 -2
- package/dist/components/disclosure-group/index.d.ts +0 -2
- package/dist/components/disclosure-group/index.js +1 -2
- package/dist/components/drop-zone/index.d.ts +0 -2
- package/dist/components/drop-zone/index.js +1 -2
- package/dist/components/drop-zone/styles.js +1 -2
- package/dist/components/fab/index.d.ts +0 -2
- package/dist/components/fab/index.js +1 -2
- package/dist/components/fab-menu/index.d.ts +0 -2
- package/dist/components/fab-menu/index.js +1 -2
- package/dist/components/feed/index.d.ts +0 -2
- package/dist/components/feed/index.js +1 -2
- package/dist/components/form/index.d.ts +0 -2
- package/dist/components/form/index.js +1 -2
- package/dist/components/icon-button/index.d.ts +0 -2
- package/dist/components/icon-button/index.js +1 -2
- package/dist/components/keycap/index.d.ts +0 -2
- package/dist/components/keycap/index.js +1 -2
- package/dist/components/link/index.d.ts +0 -2
- package/dist/components/link/index.js +1 -2
- package/dist/components/list/index.d.ts +0 -2
- package/dist/components/list/index.js +1 -2
- package/dist/components/list-box/index.d.ts +0 -2
- package/dist/components/list-box/index.js +1 -2
- package/dist/components/list-detail/index.d.ts +0 -2
- package/dist/components/list-detail/index.js +1 -2
- package/dist/components/list-item/index.d.ts +0 -2
- package/dist/components/list-item/index.js +1 -2
- package/dist/components/loading-indicator/index.d.ts +0 -2
- package/dist/components/loading-indicator/index.js +1 -2
- package/dist/components/menu/index.d.ts +0 -2
- package/dist/components/menu/index.js +1 -2
- package/dist/components/meter/index.d.ts +0 -2
- package/dist/components/meter/index.js +1 -2
- package/dist/components/navigation-bar/index.d.ts +0 -2
- package/dist/components/navigation-bar/index.js +1 -2
- package/dist/components/navigation-rail/index.d.ts +0 -2
- package/dist/components/navigation-rail/index.js +1 -2
- package/dist/components/navigation-tree/index.d.ts +0 -2
- package/dist/components/navigation-tree/index.js +1 -2
- package/dist/components/number-field/index.d.ts +0 -2
- package/dist/components/number-field/index.js +1 -2
- package/dist/components/popover/index.d.ts +0 -2
- package/dist/components/popover/index.js +1 -2
- package/dist/components/product-icon/index.d.ts +0 -2
- package/dist/components/product-icon/index.js +1 -2
- package/dist/components/progress-indicator/index.d.ts +0 -2
- package/dist/components/progress-indicator/index.js +1 -2
- package/dist/components/radio-group/index.d.ts +0 -2
- package/dist/components/radio-group/index.js +1 -2
- package/dist/components/range-calendar/index.d.ts +0 -2
- package/dist/components/range-calendar/index.js +1 -2
- package/dist/components/search-field/index.d.ts +0 -2
- package/dist/components/search-field/index.js +1 -2
- package/dist/components/search-view/index.d.ts +0 -2
- package/dist/components/search-view/index.js +1 -2
- package/dist/components/segmented-button/index.d.ts +0 -2
- package/dist/components/segmented-button/index.js +1 -2
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/select/index.js +1 -2
- package/dist/components/separator/index.d.ts +0 -2
- package/dist/components/separator/index.js +1 -2
- package/dist/components/sheet/index.d.ts +0 -2
- package/dist/components/sheet/index.js +1 -2
- package/dist/components/slider/index.d.ts +0 -2
- package/dist/components/slider/index.js +1 -2
- package/dist/components/snackbar/index.d.ts +0 -2
- package/dist/components/snackbar/index.js +1 -2
- package/dist/components/split-button/index.d.ts +0 -2
- package/dist/components/split-button/index.js +1 -2
- package/dist/components/stack/index.d.ts +0 -2
- package/dist/components/stack/index.js +1 -2
- package/dist/components/supporting-pane/index.d.ts +0 -2
- package/dist/components/supporting-pane/index.js +1 -2
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/switch/index.js +1 -2
- package/dist/components/table/index.d.ts +0 -2
- package/dist/components/table/index.js +1 -2
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/tabs/index.js +1 -2
- package/dist/components/tag/index.d.ts +0 -2
- package/dist/components/tag/index.js +1 -2
- package/dist/components/text/index.d.ts +0 -2
- package/dist/components/text/index.js +1 -2
- package/dist/components/text-area/index.d.ts +0 -2
- package/dist/components/text-area/index.js +1 -2
- package/dist/components/text-field/index.d.ts +0 -2
- package/dist/components/text-field/index.js +1 -2
- package/dist/components/time-field/index.d.ts +0 -2
- package/dist/components/time-field/index.js +1 -2
- package/dist/components/time-picker/index.d.ts +0 -2
- package/dist/components/time-picker/index.js +1 -2
- package/dist/components/token-field/index.d.ts +0 -2
- package/dist/components/token-field/index.js +1 -2
- package/dist/components/toolbar/index.d.ts +0 -2
- package/dist/components/toolbar/index.js +1 -2
- package/dist/components/tooltip/index.d.ts +0 -2
- package/dist/components/tooltip/index.js +1 -2
- package/dist/components/tree/index.d.ts +0 -2
- package/dist/components/tree/index.js +1 -2
- package/dist/control/index.js +1 -2
- package/dist/control/styles.js +1 -2
- package/dist/drag/hooks.d.ts +0 -2
- package/dist/drag/hooks.js +1 -2
- package/dist/drag/index.js +1 -2
- package/dist/drag/styles.js +1 -2
- package/dist/fab/styles.js +1 -2
- package/dist/field/index.d.ts +0 -2
- package/dist/field/index.js +1 -2
- package/dist/field/press.js +1 -2
- package/dist/field/root.js +1 -2
- package/dist/field/styles.js +1 -2
- package/dist/glyphs/index.js +1 -2
- package/dist/glyphs/styles.js +1 -2
- package/dist/hooks/useAppBarScroll.d.ts +0 -2
- package/dist/hooks/useAppBarScroll.js +0 -1
- package/dist/hooks/useBottomEdge.js +1 -2
- package/dist/hooks/useClippedTitle.js +1 -2
- package/dist/hooks/useImageLoadingStatus.js +1 -2
- package/dist/hooks/useRipple.js +1 -2
- package/dist/hooks/useScrollStop.js +1 -2
- package/dist/hooks/useToggleGroupDisabled.js +1 -2
- package/dist/i18n/index.js +1 -2
- package/dist/i18n/messages.js +1 -2
- package/dist/indicator/index.js +1 -2
- package/dist/indicator/styles.d.ts +0 -2
- package/dist/indicator/styles.js +0 -1
- package/dist/kanso-ui-core/defaults-DMH0HWCw.d.ts +0 -2
- package/dist/kanso-ui-core/glyphs.js +1 -2
- package/dist/keycap/context.js +1 -2
- package/dist/layout.d.ts +0 -2
- package/dist/layout.js +1 -2
- package/dist/mark/index.js +1 -2
- package/dist/mark/initials.js +1 -2
- package/dist/mark/styles.js +1 -2
- package/dist/navigation/context.js +1 -2
- package/dist/navigation/index.d.ts +0 -2
- package/dist/navigation/index.js +1 -2
- package/dist/navigation/styles.js +1 -2
- package/dist/node_modules/@stylexjs/stylex/lib/es/stylex.js +1 -2
- package/dist/overlay/index.js +1 -2
- package/dist/render/aria.js +1 -2
- package/dist/render/content.js +1 -2
- package/dist/render/name.d.ts +0 -2
- package/dist/render/ref.js +1 -2
- package/dist/render/useRender.d.ts +0 -2
- package/dist/render/useRender.js +1 -2
- package/dist/row/index.js +1 -2
- package/dist/row/styles.js +1 -2
- package/dist/segments/index.js +1 -2
- package/dist/segments/styles.js +1 -2
- package/dist/styles/chequer.js +1 -2
- package/dist/styles/color.js +1 -2
- package/dist/styles/focus.js +1 -2
- package/dist/styles/icon-button.js +1 -2
- package/dist/styles/merge.js +1 -2
- package/dist/styles/overlay.d.ts +0 -2
- package/dist/styles/overlay.js +1 -2
- package/dist/styles/picker.js +1 -2
- package/dist/styles/ripple.js +1 -2
- package/dist/styles/scheme.js +1 -2
- package/dist/theme-scope.d.ts +0 -2
- package/dist/theme-scope.js +1 -2
- package/dist/tokens/design.tokens.stylex.js +1 -2
- package/dist/tokens/values.js +1 -2
- package/package.json +15 -15
|
@@ -10,7 +10,7 @@ import IconButton from "../icon-button/index.js";
|
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { Children, createContext, isValidElement, useContext, useLayoutEffect, useRef, useState } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
|
|
13
|
+
// src/components/carousel/index.tsx
|
|
14
14
|
/** The page's 16dp at a carousel's ends. */
|
|
15
15
|
const PADDING = 16;
|
|
16
16
|
const DEFAULT_ITEM_SIZE = 240;
|
|
@@ -389,7 +389,6 @@ function scrollAlong(scroller, offset) {
|
|
|
389
389
|
scroller.scrollTo({ left: sign * offset });
|
|
390
390
|
}
|
|
391
391
|
Carousel.Item = CarouselItem;
|
|
392
|
-
//#endregion
|
|
393
392
|
export { CarouselItem, Carousel as default };
|
|
394
393
|
|
|
395
394
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { CheckboxFieldProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/checkbox/index.d.ts
|
|
4
3
|
type CheckboxProps = {
|
|
5
4
|
/**
|
|
6
5
|
* The label, beside the box. A checkbox that a row labels some other way
|
|
@@ -43,6 +42,5 @@ type CheckboxProps = {
|
|
|
43
42
|
* which is the element a layout positions.
|
|
44
43
|
*/
|
|
45
44
|
declare function Checkbox({ children, description, error, ...props }: CheckboxProps & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
46
|
-
//#endregion
|
|
47
45
|
export { type CheckboxProps, Checkbox as default };
|
|
48
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import { c } from "react/compiler-runtime";
|
|
|
12
12
|
import { useContext } from "react";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { CheckboxButton, CheckboxField, CheckboxGroupStateContext } from "react-aria-components";
|
|
15
|
-
|
|
15
|
+
// src/components/checkbox/index.tsx
|
|
16
16
|
const styles = {
|
|
17
17
|
box: {
|
|
18
18
|
k6CgDc: "x12w9bfk",
|
|
@@ -224,7 +224,6 @@ function fieldContent(button, description, error, reserve) {
|
|
|
224
224
|
})
|
|
225
225
|
})] });
|
|
226
226
|
}
|
|
227
|
-
//#endregion
|
|
228
227
|
export { Checkbox as default };
|
|
229
228
|
|
|
230
229
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { CheckboxGroupProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/checkbox-group/index.d.ts
|
|
4
3
|
type CheckboxGroupProps$1 = {
|
|
5
4
|
/** The checkboxes, each with a `value` of its own. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -37,6 +36,5 @@ type CheckboxGroupProps$1 = {
|
|
|
37
36
|
* which is the element a layout positions.
|
|
38
37
|
*/
|
|
39
38
|
declare function CheckboxGroup$1({ children, description, error, label, ...props }: CheckboxGroupProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
40
|
-
//#endregion
|
|
41
39
|
export { type CheckboxGroupProps$1 as CheckboxGroupProps, CheckboxGroup$1 as default };
|
|
42
40
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { controlStyles } from "../../control/styles.js";
|
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { CheckboxGroup } from "react-aria-components";
|
|
11
|
-
|
|
11
|
+
// src/components/checkbox-group/index.tsx
|
|
12
12
|
/**
|
|
13
13
|
* A labelled set of checkboxes with one value between them. The value is
|
|
14
14
|
* React Aria's: pass `value` with `onChange` to control it, or
|
|
@@ -79,7 +79,6 @@ function groupContent(label, children, description, error) {
|
|
|
79
79
|
})
|
|
80
80
|
] });
|
|
81
81
|
}
|
|
82
|
-
//#endregion
|
|
83
82
|
export { CheckboxGroup$1 as default };
|
|
84
83
|
|
|
85
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ButtonProps, ToggleButtonProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/chip/index.d.ts
|
|
4
3
|
/** An assist or suggestion chip: an action, drawn as a plain button. */
|
|
5
4
|
type ChipActionProps = ChipBaseProps & Omit<ButtonProps, 'children' | 'isPending'> & {
|
|
6
5
|
variant: 'assist' | 'suggestion';
|
|
@@ -85,6 +84,5 @@ type ChipVariant = 'assist' | 'filter' | 'suggestion';
|
|
|
85
84
|
* ```
|
|
86
85
|
*/
|
|
87
86
|
declare function Chip(props: ChipProps & RefAttributes<HTMLButtonElement>): import("react").JSX.Element;
|
|
88
|
-
//#endregion
|
|
89
87
|
export { type ChipActionProps, type ChipFilterProps, type ChipProps, type ChipVariant, Chip as default };
|
|
90
88
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { chipGlyph, chipLabel, chipPropsFor, chipTrailingIcon } from "../../chip
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { Button, ToggleButton } from "react-aria-components";
|
|
9
|
-
|
|
9
|
+
// src/components/chip/index.tsx
|
|
10
10
|
function ActionChip(t0) {
|
|
11
11
|
const $ = c(18);
|
|
12
12
|
const { children, elevated: t1, icon, onClick, onContextMenu, onKeyDown, onKeyUp, onPointerCancel, onPointerDown, onPointerLeave, onPointerUp, render, variant, ...props } = t0;
|
|
@@ -210,7 +210,6 @@ function filterChipClasses(kind, elevated) {
|
|
|
210
210
|
function isAction(props) {
|
|
211
211
|
return props.variant === "assist" || props.variant === "suggestion";
|
|
212
212
|
}
|
|
213
|
-
//#endregion
|
|
214
213
|
export { Chip as default };
|
|
215
214
|
|
|
216
215
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { TagGroupProps, TagListProps, TagProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/chip-group/index.d.ts
|
|
4
3
|
type ChipGroupChipProps = {
|
|
5
4
|
/**
|
|
6
5
|
* The chip's label. Text, numbers, or a mix of the two — `Label {3}` —
|
|
@@ -112,6 +111,5 @@ declare namespace ChipGroup {
|
|
|
112
111
|
* are reported by.
|
|
113
112
|
*/
|
|
114
113
|
declare function ChipGroupChip({ children, icon, onContextMenu, onPointerCancel, onPointerDown, onPointerLeave, onPointerUp, ...props }: ChipGroupChipProps & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
115
|
-
//#endregion
|
|
116
114
|
export { ChipGroupChip, type ChipGroupChipProps, type ChipGroupProps, ChipGroup as default };
|
|
117
115
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { c } from "react/compiler-runtime";
|
|
|
14
14
|
import { createContext, useContext } from "react";
|
|
15
15
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { Button, Tag, TagGroup, TagList } from "react-aria-components";
|
|
17
|
-
|
|
17
|
+
// src/components/chip-group/index.tsx
|
|
18
18
|
const styles = { list: {
|
|
19
19
|
kB7OPa: "x9f619",
|
|
20
20
|
k1xSpc: "x78zum5",
|
|
@@ -290,7 +290,6 @@ function kindOf(state) {
|
|
|
290
290
|
return state.allowsRemoving ? "input" : "filter";
|
|
291
291
|
}
|
|
292
292
|
ChipGroup.Chip = ChipGroupChip;
|
|
293
|
-
//#endregion
|
|
294
293
|
export { ChipGroupChip, ChipGroup as default };
|
|
295
294
|
|
|
296
295
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/code/index.d.ts
|
|
3
2
|
type CodeProps = RenderComponentProps<'code'>;
|
|
4
3
|
/**
|
|
5
4
|
* A fragment of code, a path, or an identifier set in the mono face. It
|
|
6
5
|
* renders a `<code>` and takes its scale from the text around it.
|
|
7
6
|
*/
|
|
8
7
|
declare function Code({ render, ...props }: CodeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
9
|
-
//#endregion
|
|
10
8
|
export { type CodeProps, Code as default };
|
|
11
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useRender } from "../../render/useRender.js";
|
|
3
3
|
import { mergeStyles } from "../../styles/merge.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/code/index.tsx
|
|
6
6
|
/**
|
|
7
7
|
* A fragment of code, a path, or an identifier set in the mono face. It
|
|
8
8
|
* renders a `<code>` and takes its scale from the text around it.
|
|
@@ -58,7 +58,6 @@ function Code(t0) {
|
|
|
58
58
|
} else t6 = $[12];
|
|
59
59
|
return t4(t6);
|
|
60
60
|
}
|
|
61
|
-
//#endregion
|
|
62
61
|
export { Code as default };
|
|
63
62
|
|
|
64
63
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, RefAttributes } from "react";
|
|
2
2
|
import { ColorAreaProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/color-area/index.d.ts
|
|
4
3
|
type ColorAreaProps$1 = Omit<ColorAreaProps, 'children' | 'className' | 'style'> & {
|
|
5
4
|
/**
|
|
6
5
|
* Lands on the square around the plane, which is the element a layout
|
|
@@ -45,6 +44,5 @@ type ColorAreaProps$1 = Omit<ColorAreaProps, 'children' | 'className' | 'style'>
|
|
|
45
44
|
* state for is not the one a layout reaches.
|
|
46
45
|
*/
|
|
47
46
|
declare function ColorArea$1({ className, isDisabled, ref, style, ...props }: ColorAreaProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
48
|
-
//#endregion
|
|
49
47
|
export { type ColorAreaProps$1 as ColorAreaProps, ColorArea$1 as default };
|
|
50
48
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { thumbClassName } from "../../styles/color.js";
|
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { ColorArea, ColorThumb } from "react-aria-components";
|
|
7
|
-
|
|
7
|
+
// src/components/color-area/index.tsx
|
|
8
8
|
/**
|
|
9
9
|
* Two channels of a colour as a plane, with a handle where they meet. The
|
|
10
10
|
* value is React Aria's: pass `value` with `onChange` to control it, or
|
|
@@ -117,7 +117,6 @@ function ColorArea$1(t0) {
|
|
|
117
117
|
} else t7 = $[19];
|
|
118
118
|
return t7;
|
|
119
119
|
}
|
|
120
|
-
//#endregion
|
|
121
120
|
export { ColorArea$1 as default };
|
|
122
121
|
|
|
123
122
|
//# 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 { ColorFieldProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/color-field/index.d.ts
|
|
5
4
|
type ColorFieldProps$1 = {
|
|
6
5
|
/** A function may compute the class from the field's render state. */
|
|
7
6
|
className?: ColorFieldProps['className'];
|
|
@@ -66,6 +65,5 @@ type ColorFieldProps$1 = {
|
|
|
66
65
|
* the field as a whole, which is the element a layout positions.
|
|
67
66
|
*/
|
|
68
67
|
declare function ColorField$1({ description, error, floatingLabel, inputRef, isDisabled, label, leadingIcon, trailingIcon, variant, ...props }: ColorFieldProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
69
|
-
//#endregion
|
|
70
68
|
export { type ColorFieldProps$1 as ColorFieldProps, ColorField$1 as default };
|
|
71
69
|
//# 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 { ColorField } from "react-aria-components";
|
|
9
|
-
|
|
9
|
+
// src/components/color-field/index.tsx
|
|
10
10
|
/**
|
|
11
11
|
* A colour typed into a field. The value is React Aria's — pass `value` with
|
|
12
12
|
* `onChange` to control it, or `defaultValue` — as a CSS colour string or a
|
|
@@ -97,7 +97,6 @@ function ColorField$1(t0) {
|
|
|
97
97
|
} else t9 = $[23];
|
|
98
98
|
return t9;
|
|
99
99
|
}
|
|
100
|
-
//#endregion
|
|
101
100
|
export { ColorField$1 as default };
|
|
102
101
|
|
|
103
102
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ColorPickerProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/color-picker/index.d.ts
|
|
4
3
|
type ColorPickerProps$1 = Omit<ColorPickerProps, 'children'> & {
|
|
5
4
|
/** Whether the alpha strip is drawn under the hue one. @default false */
|
|
6
5
|
alpha?: boolean;
|
|
@@ -60,6 +59,5 @@ type ColorPickerProps$1 = Omit<ColorPickerProps, 'children'> & {
|
|
|
60
59
|
* element a layout positions.
|
|
61
60
|
*/
|
|
62
61
|
declare function ColorPicker$1({ alpha, children, className, container, defaultOpen, isDisabled, isOpen, label, onOpenChange, ref, style, ...props }: ColorPickerProps$1 & RefAttributes<HTMLButtonElement>): import("react").JSX.Element;
|
|
63
|
-
//#endregion
|
|
64
62
|
export { type ColorPickerProps$1 as ColorPickerProps, ColorPicker$1 as default };
|
|
65
63
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import ColorSwatch$1 from "../color-swatch/index.js";
|
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Button, ColorPicker, Dialog, DialogTrigger, Popover, parseColor, useLocale } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/color-picker/index.tsx
|
|
15
15
|
const triggerStyles = {
|
|
16
16
|
base: {
|
|
17
17
|
kGNEyG: "x6s0dn4",
|
|
@@ -238,7 +238,6 @@ function ColorPicker$1(t0) {
|
|
|
238
238
|
function _temp(state) {
|
|
239
239
|
return props(triggerStyles.base, focus.ring, state.isHovered && triggerStyles.hovered, state.isPressed && triggerStyles.pressed, state.isDisabled && triggerStyles.disabled);
|
|
240
240
|
}
|
|
241
|
-
//#endregion
|
|
242
241
|
export { ColorPicker$1 as default };
|
|
243
242
|
|
|
244
243
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RefAttributes } from "react";
|
|
2
2
|
import { ColorSliderProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/color-slider/index.d.ts
|
|
4
3
|
type ColorSliderProps$1 = Omit<ColorSliderProps, 'children' | 'className' | 'style'> & {
|
|
5
4
|
/** A function may compute the class from the slider's render state. */
|
|
6
5
|
className?: ColorSliderProps['className'];
|
|
@@ -37,6 +36,5 @@ type ColorSliderProps$1 = Omit<ColorSliderProps, 'children' | 'className' | 'sty
|
|
|
37
36
|
* which is the element a layout positions.
|
|
38
37
|
*/
|
|
39
38
|
declare function ColorSlider$1({ isDisabled, label, showValue, ...props }: ColorSliderProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
40
|
-
//#endregion
|
|
41
39
|
export { type ColorSliderProps$1 as ColorSliderProps, ColorSlider$1 as default };
|
|
42
40
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { chequer } from "../../styles/chequer.js";
|
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { ColorSlider, ColorThumb, SliderOutput, SliderTrack } from "react-aria-components";
|
|
11
|
-
|
|
11
|
+
// src/components/color-slider/index.tsx
|
|
12
12
|
const styles = {
|
|
13
13
|
root: {
|
|
14
14
|
kzqmXN: "xh8yej3",
|
|
@@ -190,7 +190,6 @@ function ColorSlider$1(t0) {
|
|
|
190
190
|
} else t14 = $[34];
|
|
191
191
|
return t14;
|
|
192
192
|
}
|
|
193
|
-
//#endregion
|
|
194
193
|
export { ColorSlider$1 as default };
|
|
195
194
|
|
|
196
195
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, RefAttributes } from "react";
|
|
2
2
|
import { ColorSwatchProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/color-swatch/index.d.ts
|
|
4
3
|
type ColorSwatchProps$1 = Omit<ColorSwatchProps, 'className' | 'style'> & {
|
|
5
4
|
/**
|
|
6
5
|
* Lands on the square around the swatch, which is the element a layout
|
|
@@ -32,6 +31,5 @@ type ColorSwatchProps$1 = Omit<ColorSwatchProps, 'className' | 'style'> & {
|
|
|
32
31
|
* interactive state for one to read.
|
|
33
32
|
*/
|
|
34
33
|
declare function ColorSwatch$1({ className, ref, style, ...props }: ColorSwatchProps$1 & RefAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
35
|
-
//#endregion
|
|
36
34
|
export { type ColorSwatchProps$1 as ColorSwatchProps, ColorSwatch$1 as default };
|
|
37
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { chequer } from "../../styles/chequer.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { ColorSwatch } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/color-swatch/index.tsx
|
|
9
9
|
const styles = { ground: {
|
|
10
10
|
kZKoxP: "x1vqgdyp",
|
|
11
11
|
kaIpWk: "x1tfhd1",
|
|
@@ -88,7 +88,6 @@ function ColorSwatch$1(t0) {
|
|
|
88
88
|
} else t3 = $[13];
|
|
89
89
|
return t3;
|
|
90
90
|
}
|
|
91
|
-
//#endregion
|
|
92
91
|
export { ColorSwatch$1 as default };
|
|
93
92
|
|
|
94
93
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefAttributes } from "react";
|
|
2
2
|
import { ColorSwatchPickerItemProps, ColorSwatchPickerProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/color-swatch-picker/index.d.ts
|
|
4
3
|
type ColorSwatchPickerItemProps$1 = Omit<ColorSwatchPickerItemProps, 'children' | 'className' | 'style'> & {
|
|
5
4
|
/** What the item draws. A `ColorSwatch` with no `color` of its own by default. */
|
|
6
5
|
children?: ReactNode;
|
|
@@ -44,6 +43,5 @@ declare namespace ColorSwatchPicker$1 {
|
|
|
44
43
|
* own `color` unless given different children.
|
|
45
44
|
*/
|
|
46
45
|
declare function ColorSwatchPickerItem$1({ children, ...props }: ColorSwatchPickerItemProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
47
|
-
//#endregion
|
|
48
46
|
export { ColorSwatchPickerItem$1 as ColorSwatchPickerItem, type ColorSwatchPickerItemProps$1 as ColorSwatchPickerItemProps, type ColorSwatchPickerProps$1 as ColorSwatchPickerProps, ColorSwatchPicker$1 as default };
|
|
49
47
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import ColorSwatch$1 from "../color-swatch/index.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { ColorSwatchPicker, ColorSwatchPickerItem } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/color-swatch-picker/index.tsx
|
|
9
9
|
const styles = {
|
|
10
10
|
item: {
|
|
11
11
|
kUfP38: "x1upluxz",
|
|
@@ -144,7 +144,6 @@ function itemStyles(state) {
|
|
|
144
144
|
return props(styles.item, state.isHovered && styles.itemHovered, state.isPressed && styles.itemPressed, state.isSelected && styles.itemSelected, state.isFocusVisible && styles.itemFocused, state.isDisabled && styles.itemDisabled);
|
|
145
145
|
}
|
|
146
146
|
ColorSwatchPicker$1.Item = ColorSwatchPickerItem$1;
|
|
147
|
-
//#endregion
|
|
148
147
|
export { ColorSwatchPickerItem$1 as ColorSwatchPickerItem, ColorSwatchPicker$1 as default };
|
|
149
148
|
|
|
150
149
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RefAttributes } from "react";
|
|
2
2
|
import { ColorWheelProps } from "react-aria-components";
|
|
3
|
-
//#region src/components/color-wheel/index.d.ts
|
|
4
3
|
type ColorWheelProps$1 = Omit<ColorWheelProps, 'children' | 'className' | 'innerRadius' | 'outerRadius' | 'style'> & {
|
|
5
4
|
/** A function may compute the class from the wheel's render state. */
|
|
6
5
|
className?: ColorWheelProps['className'];
|
|
@@ -40,6 +39,5 @@ type ColorWheelProps$1 = Omit<ColorWheelProps, 'children' | 'className' | 'inner
|
|
|
40
39
|
* element a layout positions. Its size comes from `outerRadius`.
|
|
41
40
|
*/
|
|
42
41
|
declare function ColorWheel$1({ className, isDisabled, outerRadius, style, thickness, ...props }: ColorWheelProps$1 & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
43
|
-
//#endregion
|
|
44
42
|
export { type ColorWheelProps$1 as ColorWheelProps, ColorWheel$1 as default };
|
|
45
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { thumbClassName } from "../../styles/color.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { ColorThumb, ColorWheel, ColorWheelTrack } from "react-aria-components";
|
|
8
|
-
|
|
8
|
+
// src/components/color-wheel/index.tsx
|
|
9
9
|
const DEFAULT_OUTER_RADIUS = 100;
|
|
10
10
|
const DEFAULT_THICKNESS = 16;
|
|
11
11
|
const _temp = {
|
|
@@ -123,7 +123,6 @@ function ColorWheel$1(t0) {
|
|
|
123
123
|
} else t8 = $[23];
|
|
124
124
|
return t8;
|
|
125
125
|
}
|
|
126
|
-
//#endregion
|
|
127
126
|
export { ColorWheel$1 as default };
|
|
128
127
|
|
|
129
128
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FieldVariant } from "../../field/index.js";
|
|
2
2
|
import { ReactElement, ReactNode, Ref, RefAttributes } from "react";
|
|
3
3
|
import { ComboBoxProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/combo-box/index.d.ts
|
|
5
4
|
type ComboBoxProps$1<T extends object = object, M extends ComboBoxSelectionMode = 'single'> = {
|
|
6
5
|
/**
|
|
7
6
|
* Where to portal the list. Defaults to the container of the `ThemeScope`
|
|
@@ -96,6 +95,5 @@ type ComboBoxSelectionMode = 'multiple' | 'single';
|
|
|
96
95
|
* which is the element a layout positions.
|
|
97
96
|
*/
|
|
98
97
|
declare function ComboBox$1<T extends object = object, M extends ComboBoxSelectionMode = 'single'>({ container, description, error, floatingLabel, inputRef, isDisabled, label, leadingIcon, options, variant, ...props }: ComboBoxProps$1<T, M> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
99
|
-
//#endregion
|
|
100
98
|
export { type ComboBoxProps$1 as ComboBoxProps, type ComboBoxSelectionMode, ComboBox$1 as default };
|
|
101
99
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { useContext, useRef } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { Button, ComboBox, ComboBoxStateContext, ComboBoxValue, Popover } from "react-aria-components";
|
|
14
|
-
|
|
14
|
+
// src/components/combo-box/index.tsx
|
|
15
15
|
const TOGGLE = /* @__PURE__ */ jsx(ComboToggle, {});
|
|
16
16
|
const styles = {
|
|
17
17
|
list: {
|
|
@@ -281,7 +281,6 @@ function ComboToggle() {
|
|
|
281
281
|
function listClassName(state) {
|
|
282
282
|
return props(overlay.popup, styles.list, popupOrigin(state.placement)).className ?? "";
|
|
283
283
|
}
|
|
284
|
-
//#endregion
|
|
285
284
|
export { ComboBox$1 as default };
|
|
286
285
|
|
|
287
286
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/container/index.d.ts
|
|
3
2
|
type ContainerProps = RenderComponentProps<'div'> & {
|
|
4
3
|
/**
|
|
5
4
|
* How wide the content may run before it stops growing. The container is
|
|
@@ -31,6 +30,5 @@ type ContainerProps = RenderComponentProps<'div'> & {
|
|
|
31
30
|
* `<section>` rather than a `<div>`.
|
|
32
31
|
*/
|
|
33
32
|
declare function Container({ maxInlineSize, padding, render, ...props }: ContainerProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
34
|
-
//#endregion
|
|
35
33
|
export { type ContainerProps, Container as default };
|
|
36
34
|
//# 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/container/index.tsx
|
|
7
7
|
const DEFAULT_MAX_INLINE_SIZE = "960px";
|
|
8
8
|
const _temp = {
|
|
9
9
|
kB7OPa: "x9f619",
|
|
@@ -87,7 +87,6 @@ function Container(t0) {
|
|
|
87
87
|
} else t6 = $[12];
|
|
88
88
|
return t4(t6);
|
|
89
89
|
}
|
|
90
|
-
//#endregion
|
|
91
90
|
export { Container as default };
|
|
92
91
|
|
|
93
92
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes, RefAttributes } from "react";
|
|
2
|
-
//#region src/components/copy-field/index.d.ts
|
|
3
2
|
type CopyFieldProps = {
|
|
4
3
|
/**
|
|
5
4
|
* What the button says once the value has been copied, and what is
|
|
@@ -70,6 +69,5 @@ type CopyFieldProps = {
|
|
|
70
69
|
* the value selects exactly the value too.
|
|
71
70
|
*/
|
|
72
71
|
declare function CopyField({ copiedLabel: copiedLabelProp, copyLabel: copyLabelProp, label, onCopied, onCopyFailed, selectedLabel: selectedLabelProp, value, ...props }: CopyFieldProps & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
73
|
-
//#endregion
|
|
74
72
|
export { type CopyFieldProps, CopyField as default };
|
|
75
73
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import Button from "../button/index.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { useEffect, useId, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/copy-field/index.tsx
|
|
9
9
|
const COPIED_RESET_MS = 2e3;
|
|
10
10
|
/**
|
|
11
11
|
* A value to be read and taken away — a repository URL, a token, a command.
|
|
@@ -258,7 +258,6 @@ function selectAndCopy(element) {
|
|
|
258
258
|
return false;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
//#endregion
|
|
262
261
|
export { CopyField as default };
|
|
263
262
|
|
|
264
263
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RenderComponentProps } from "../../render/useRender.js";
|
|
2
|
-
//#region src/components/currency/index.d.ts
|
|
3
2
|
type CurrencyDisplay = 'code' | 'name' | 'narrowSymbol' | 'symbol';
|
|
4
3
|
type CurrencyNotation = 'compact' | 'standard';
|
|
5
4
|
type CurrencyProps = Omit<RenderComponentProps<'span'>, 'children'> & {
|
|
@@ -116,6 +115,5 @@ type CurrencyTone = 'auto' | 'inherit' | 'negative' | 'neutral' | 'positive';
|
|
|
116
115
|
* amount.
|
|
117
116
|
*/
|
|
118
117
|
declare function Currency({ currency, currencyDisplay, locale, maximumFractionDigits, minimumFractionDigits, notation, render, sign, tone, value, ...props }: CurrencyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
119
|
-
//#endregion
|
|
120
118
|
export { type CurrencyDisplay, type CurrencyNotation, type CurrencyProps, type CurrencySignDisplay, type CurrencyTone, Currency as default };
|
|
121
119
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { mergeStyles } from "../../styles/merge.js";
|
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { useLocale } from "react-aria-components";
|
|
7
7
|
import { isRTL } from "react-aria";
|
|
8
|
-
|
|
8
|
+
// src/components/currency/index.tsx
|
|
9
9
|
const styles = { base: {
|
|
10
10
|
kB7OPa: "x9f619",
|
|
11
11
|
kMv6JI: "xbppi91",
|
|
@@ -218,7 +218,6 @@ function resolveTone(value, tone, shownAsZero) {
|
|
|
218
218
|
if (value < 0) return "negative";
|
|
219
219
|
return "neutral";
|
|
220
220
|
}
|
|
221
|
-
//#endregion
|
|
222
221
|
export { Currency as default };
|
|
223
222
|
|
|
224
223
|
//# 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 { DateFieldProps, DateValue } from "react-aria-components";
|
|
4
|
-
//#region src/components/date-field/index.d.ts
|
|
5
4
|
type DateFieldProps$1<T extends DateValue = DateValue> = Omit<DateFieldProps<T>, 'children' | 'className' | 'style'> & {
|
|
6
5
|
/** A function may compute the class from the field's render state. */
|
|
7
6
|
className?: DateFieldProps<T>['className'];
|
|
@@ -63,6 +62,5 @@ type DateFieldProps$1<T extends DateValue = DateValue> = Omit<DateFieldProps<T>,
|
|
|
63
62
|
* the field as a whole, which is the element a layout positions.
|
|
64
63
|
*/
|
|
65
64
|
declare function DateField$1<T extends DateValue>({ description, error, floatingLabel, isDisabled, label, leadingIcon, trailingIcon, variant, ...props }: DateFieldProps$1<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
66
|
-
//#endregion
|
|
67
65
|
export { type DateFieldProps$1 as DateFieldProps, DateField$1 as default };
|
|
68
66
|
//# 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 { DateField, DateInput } from "react-aria-components";
|
|
11
|
-
|
|
11
|
+
// src/components/date-field/index.tsx
|
|
12
12
|
/**
|
|
13
13
|
* A date 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
|
|
@@ -104,7 +104,6 @@ function DateField$1(t0) {
|
|
|
104
104
|
} else t9 = $[21];
|
|
105
105
|
return t9;
|
|
106
106
|
}
|
|
107
|
-
//#endregion
|
|
108
107
|
export { DateField$1 as default };
|
|
109
108
|
|
|
110
109
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { FieldVariant } from "../../field/index.js";
|
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { DatePickerProps, DateValue } from "react-aria-components";
|
|
4
4
|
import { DateDuration } from "@internationalized/date";
|
|
5
|
-
//#region src/components/date-picker/index.d.ts
|
|
6
5
|
type DatePickerProps$1<T extends DateValue = DateValue> = Omit<DatePickerProps<T>, 'children' | 'className' | 'style'> & {
|
|
7
6
|
/** A function may compute the class from the picker's render state. */
|
|
8
7
|
className?: DatePickerProps<T>['className'];
|
|
@@ -87,6 +86,5 @@ type DatePickerProps$1<T extends DateValue = DateValue> = Omit<DatePickerProps<T
|
|
|
87
86
|
* which is the element a layout positions.
|
|
88
87
|
*/
|
|
89
88
|
declare function DatePicker$1<T extends DateValue>({ container, description, error, floatingLabel, isDisabled, label, leadingIcon, showMonthYearMenus, triggerLabel, variant, visibleDuration, ...props }: DatePickerProps$1<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
90
|
-
//#endregion
|
|
91
89
|
export { type DatePickerProps$1 as DatePickerProps, DatePicker$1 as default };
|
|
92
90
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { renderSegment } from "../../segments/index.js";
|
|
|
13
13
|
import { c } from "react/compiler-runtime";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { Button, DateInput, DatePicker, Dialog, Group, Popover } from "react-aria-components";
|
|
16
|
-
|
|
16
|
+
// src/components/date-picker/index.tsx
|
|
17
17
|
function calendarTrigger(triggerLabel) {
|
|
18
18
|
return /* @__PURE__ */ jsx(Button, {
|
|
19
19
|
"aria-label": triggerLabel,
|
|
@@ -168,7 +168,6 @@ function DatePicker$1(t0) {
|
|
|
168
168
|
} else t16 = $[33];
|
|
169
169
|
return t16;
|
|
170
170
|
}
|
|
171
|
-
//#endregion
|
|
172
171
|
export { DatePicker$1 as default };
|
|
173
172
|
|
|
174
173
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { FieldVariant } from "../../field/index.js";
|
|
|
2
2
|
import { ReactNode, RefAttributes } from "react";
|
|
3
3
|
import { DateRangePickerProps, DateValue } from "react-aria-components";
|
|
4
4
|
import { DateDuration } from "@internationalized/date";
|
|
5
|
-
//#region src/components/date-range-picker/index.d.ts
|
|
6
5
|
type DateRangePickerProps$1<T extends DateValue = DateValue> = Omit<DateRangePickerProps<T>, 'children' | 'className' | 'style'> & {
|
|
7
6
|
/** A function may compute the class from the picker's render state. */
|
|
8
7
|
className?: DateRangePickerProps<T>['className'];
|
|
@@ -100,6 +99,5 @@ type DateRangePickerProps$1<T extends DateValue = DateValue> = Omit<DateRangePic
|
|
|
100
99
|
* which is the element a layout positions.
|
|
101
100
|
*/
|
|
102
101
|
declare function DateRangePicker$1<T extends DateValue>({ container, description, error, floatingLabel, isDisabled, label, leadingIcon, separator, showMonthYearMenus, triggerLabel, variant, visibleDuration, ...props }: DateRangePickerProps$1<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
103
|
-
//#endregion
|
|
104
102
|
export { type DateRangePickerProps$1 as DateRangePickerProps, DateRangePicker$1 as default };
|
|
105
103
|
//# sourceMappingURL=index.d.ts.map
|