@panneau/ui 5.0.0-alpha.6 → 5.0.0-alpha.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/README.md +24 -1
- package/dist/alert/Alert.js +108 -40
- package/dist/alert/Alert.js.map +1 -1
- package/dist/alert/tokens.js.map +1 -1
- package/dist/badge/Badge.js +34 -6
- package/dist/badge/Badge.js.map +1 -1
- package/dist/badge/tokens.js.map +1 -1
- package/dist/button/Button.js +111 -17
- package/dist/button/Button.js.map +1 -1
- package/dist/button/tokens.js.map +1 -1
- package/dist/card/Card.js +76 -23
- package/dist/card/Card.js.map +1 -1
- package/dist/card/tokens.js.map +1 -1
- package/dist/checkbox/Checkbox.js +86 -25
- package/dist/checkbox/Checkbox.js.map +1 -1
- package/dist/checkbox/ChoiceChrome.js +82 -21
- package/dist/checkbox/ChoiceChrome.js.map +1 -1
- package/dist/checkbox/tokens.js.map +1 -1
- package/dist/combo-box/ComboBox.js +291 -79
- package/dist/combo-box/ComboBox.js.map +1 -1
- package/dist/command-palette/CommandPalette.js +463 -160
- package/dist/command-palette/CommandPalette.js.map +1 -1
- package/dist/command-palette/match.js.map +1 -1
- package/dist/command-palette/tokens.js.map +1 -1
- package/dist/command-palette/useCommandShortcut.js +31 -12
- package/dist/command-palette/useCommandShortcut.js.map +1 -1
- package/dist/container/Container.js +48 -5
- package/dist/container/Container.js.map +1 -1
- package/dist/container/tokens.js.map +1 -1
- package/dist/date-picker/DatePicker.js +234 -73
- package/dist/date-picker/DatePicker.js.map +1 -1
- package/dist/date-picker/calendarTokens.js.map +1 -1
- package/dist/dialog/Dialog.js +161 -45
- package/dist/dialog/Dialog.js.map +1 -1
- package/dist/dialog/tokens.js.map +1 -1
- package/dist/disclosure/Disclosure.js +132 -28
- package/dist/disclosure/Disclosure.js.map +1 -1
- package/dist/disclosure/tokens.js.map +1 -1
- package/dist/divider/Divider.js +55 -11
- package/dist/divider/Divider.js.map +1 -1
- package/dist/divider/tokens.js.map +1 -1
- package/dist/field/FieldParts.js +69 -15
- package/dist/field/FieldParts.js.map +1 -1
- package/dist/field/Fieldset.js +99 -32
- package/dist/field/Fieldset.js.map +1 -1
- package/dist/field/inputTokens.js.map +1 -1
- package/dist/field/tokens.js.map +1 -1
- package/dist/grid/Grid.js +123 -14
- package/dist/grid/Grid.js.map +1 -1
- package/dist/grid/tokens.js.map +1 -1
- package/dist/heading/Heading.js +41 -6
- package/dist/heading/Heading.js.map +1 -1
- package/dist/heading/tokens.js.map +1 -1
- package/dist/icon/Icon.js +36 -11
- package/dist/icon/Icon.js.map +1 -1
- package/dist/icon/lucideIconLoader.js.map +1 -1
- package/dist/icon/namedIcons.js +87 -26
- package/dist/icon/namedIcons.js.map +1 -1
- package/dist/icon-button/IconButton.js +70 -13
- package/dist/icon-button/IconButton.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/inline/Inline.js +65 -7
- package/dist/inline/Inline.js.map +1 -1
- package/dist/inline/tokens.js.map +1 -1
- package/dist/intl/usePanneauIntl.js.map +1 -1
- package/dist/layout/responsive.js.map +1 -1
- package/dist/locales/index.js.map +1 -1
- package/dist/menu/Menu.js +170 -44
- package/dist/menu/Menu.js.map +1 -1
- package/dist/menu/tokens.js.map +1 -1
- package/dist/number-input/NumberInput.js +232 -60
- package/dist/number-input/NumberInput.js.map +1 -1
- package/dist/number-input/tokens.js.map +1 -1
- package/dist/pill-trigger/PillTrigger.js +76 -20
- package/dist/pill-trigger/PillTrigger.js.map +1 -1
- package/dist/pill-trigger/tokens.js.map +1 -1
- package/dist/popover/Popover.js +109 -18
- package/dist/popover/Popover.js.map +1 -1
- package/dist/popover/tokens.js.map +1 -1
- package/dist/prose/Prose.js +36 -5
- package/dist/prose/Prose.js.map +1 -1
- package/dist/prose/tokens.js.map +1 -1
- package/dist/radio-group/RadioGroup.js +211 -61
- package/dist/radio-group/RadioGroup.js.map +1 -1
- package/dist/radio-group/tokens.js.map +1 -1
- package/dist/root/PanneauRoot.js +197 -49
- package/dist/root/PanneauRoot.js.map +1 -1
- package/dist/root/ThemeScope.js +107 -26
- package/dist/root/ThemeScope.js.map +1 -1
- package/dist/segmented-control/SegmentedControl.js +120 -22
- package/dist/segmented-control/SegmentedControl.js.map +1 -1
- package/dist/segmented-control/tokens.js.map +1 -1
- package/dist/select/Select.js +298 -92
- package/dist/select/Select.js.map +1 -1
- package/dist/select/listBoxTokens.js.map +1 -1
- package/dist/skeleton/LoadingRegion.d.ts +16 -0
- package/dist/skeleton/LoadingRegion.d.ts.map +1 -0
- package/dist/skeleton/LoadingRegion.js +65 -0
- package/dist/skeleton/LoadingRegion.js.map +1 -0
- package/dist/skeleton/Skeleton.css +62 -0
- package/dist/skeleton/Skeleton.d.ts +25 -0
- package/dist/skeleton/Skeleton.d.ts.map +1 -0
- package/dist/skeleton/Skeleton.js +106 -0
- package/dist/skeleton/Skeleton.js.map +1 -0
- package/dist/skeleton/Skeleton.module.js +22 -0
- package/dist/skeleton/Skeleton.module.js.map +1 -0
- package/dist/skeleton/tokens.d.ts +3 -0
- package/dist/skeleton/tokens.d.ts.map +1 -0
- package/dist/skeleton/tokens.js +15 -0
- package/dist/skeleton/tokens.js.map +1 -0
- package/dist/slider/Slider.js +222 -44
- package/dist/slider/Slider.js.map +1 -1
- package/dist/spinner/Spinner.js +49 -9
- package/dist/spinner/Spinner.js.map +1 -1
- package/dist/spinner/tokens.js.map +1 -1
- package/dist/stack/Stack.js +60 -7
- package/dist/stack/Stack.js.map +1 -1
- package/dist/stack/tokens.js.map +1 -1
- package/dist/switch/Switch.js +68 -11
- package/dist/switch/Switch.js.map +1 -1
- package/dist/switch/tokens.js.map +1 -1
- package/dist/tabs/Tabs.js +1 -1
- package/dist/tabs/Tabs.js.map +1 -1
- package/dist/tabs/tokens.js.map +1 -1
- package/dist/tags-input/TagsInput.js +277 -121
- package/dist/tags-input/TagsInput.js.map +1 -1
- package/dist/text/Text.js +70 -5
- package/dist/text/Text.js.map +1 -1
- package/dist/text/tokens.js.map +1 -1
- package/dist/text-area/TextArea.js +135 -28
- package/dist/text-area/TextArea.js.map +1 -1
- package/dist/text-input/TextInput.js +164 -49
- package/dist/text-input/TextInput.js.map +1 -1
- package/dist/theme/bootstrap.js.map +1 -1
- package/dist/theme/chartColors.js.map +1 -1
- package/dist/theme/checkTheme.js.map +1 -1
- package/dist/theme/cli.js.map +1 -1
- package/dist/theme/color.js.map +1 -1
- package/dist/theme/colorVision.js.map +1 -1
- package/dist/theme/componentTokens.js.map +1 -1
- package/dist/theme/components.d.ts +1 -0
- package/dist/theme/components.d.ts.map +1 -1
- package/dist/theme/components.js +2 -0
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/defineTheme.js.map +1 -1
- package/dist/theme/fonts.js.map +1 -1
- package/dist/theme/semanticTokens.js.map +1 -1
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/toneClass.js.map +1 -1
- package/dist/theme/tones.js.map +1 -1
- package/dist/time-input/TimeInput.js +138 -31
- package/dist/time-input/TimeInput.js.map +1 -1
- package/dist/toast/Toast.js +1 -1
- package/dist/toast/Toast.js.map +1 -1
- package/dist/toast/tokens.js.map +1 -1
- package/dist/tooltip/Tooltip.js +38 -8
- package/dist/tooltip/Tooltip.js.map +1 -1
- package/dist/tooltip/tokens.js.map +1 -1
- package/dist/utils/cx.js.map +1 -1
- package/package.json +3 -3
package/dist/stack/Stack.js
CHANGED
|
@@ -1,19 +1,72 @@
|
|
|
1
1
|
import { cx } from "../utils/cx.js";
|
|
2
2
|
import { justification, responsiveVariables, space, withVariables } from "../layout/responsive.js";
|
|
3
3
|
import Stack_module_default from "./Stack.module.js";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
//#region src/stack/Stack.tsx
|
|
6
7
|
/** Items one under the other, with space between them, like Bootstrap's `.vstack`. */
|
|
7
|
-
function Stack(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
function Stack(t0) {
|
|
9
|
+
const $ = c(20);
|
|
10
|
+
let align;
|
|
11
|
+
let className;
|
|
12
|
+
let gap;
|
|
13
|
+
let justify;
|
|
14
|
+
let props;
|
|
15
|
+
let style;
|
|
16
|
+
let t1;
|
|
17
|
+
if ($[0] !== t0) {
|
|
18
|
+
({as: t1, gap, align, justify, className, style, ...props} = t0);
|
|
19
|
+
$[0] = t0;
|
|
20
|
+
$[1] = align;
|
|
21
|
+
$[2] = className;
|
|
22
|
+
$[3] = gap;
|
|
23
|
+
$[4] = justify;
|
|
24
|
+
$[5] = props;
|
|
25
|
+
$[6] = style;
|
|
26
|
+
$[7] = t1;
|
|
27
|
+
} else {
|
|
28
|
+
align = $[1];
|
|
29
|
+
className = $[2];
|
|
30
|
+
gap = $[3];
|
|
31
|
+
justify = $[4];
|
|
32
|
+
props = $[5];
|
|
33
|
+
style = $[6];
|
|
34
|
+
t1 = $[7];
|
|
35
|
+
}
|
|
36
|
+
const Element = t1 === void 0 ? "div" : t1;
|
|
37
|
+
let t2;
|
|
38
|
+
if ($[8] !== className) {
|
|
39
|
+
t2 = cx("panneau-stack", Stack_module_default.stack, className);
|
|
40
|
+
$[8] = className;
|
|
41
|
+
$[9] = t2;
|
|
42
|
+
} else t2 = $[9];
|
|
43
|
+
let t3;
|
|
44
|
+
if ($[10] !== align || $[11] !== gap || $[12] !== justify || $[13] !== style) {
|
|
45
|
+
t3 = withVariables([
|
|
12
46
|
responsiveVariables("stack", "gap", gap, space),
|
|
13
47
|
responsiveVariables("stack", "align", align, String),
|
|
14
48
|
responsiveVariables("stack", "justify", justify, justification)
|
|
15
|
-
], style)
|
|
16
|
-
|
|
49
|
+
], style);
|
|
50
|
+
$[10] = align;
|
|
51
|
+
$[11] = gap;
|
|
52
|
+
$[12] = justify;
|
|
53
|
+
$[13] = style;
|
|
54
|
+
$[14] = t3;
|
|
55
|
+
} else t3 = $[14];
|
|
56
|
+
let t4;
|
|
57
|
+
if ($[15] !== Element || $[16] !== props || $[17] !== t2 || $[18] !== t3) {
|
|
58
|
+
t4 = /* @__PURE__ */ jsx(Element, {
|
|
59
|
+
...props,
|
|
60
|
+
className: t2,
|
|
61
|
+
style: t3
|
|
62
|
+
});
|
|
63
|
+
$[15] = Element;
|
|
64
|
+
$[16] = props;
|
|
65
|
+
$[17] = t2;
|
|
66
|
+
$[18] = t3;
|
|
67
|
+
$[19] = t4;
|
|
68
|
+
} else t4 = $[19];
|
|
69
|
+
return t4;
|
|
17
70
|
}
|
|
18
71
|
//#endregion
|
|
19
72
|
export { Stack };
|
package/dist/stack/Stack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.js","names":["styles"],"sources":["../../src/stack/Stack.tsx"],"sourcesContent":["import type { HTMLAttributes } from 'react';\n\nimport {\n type Justification,\n type Responsive,\n type Space,\n justification,\n responsiveVariables,\n space,\n withVariables,\n} from '../layout/responsive';\nimport { cx } from '../utils/cx';\nimport styles from './Stack.module.css';\n\nexport interface StackProps extends HTMLAttributes<HTMLElement> {\n /** Element to render. Defaults to `div`. */\n as?:\n | 'div'\n | 'section'\n | 'article'\n | 'aside'\n | 'header'\n | 'footer'\n | 'nav'\n | 'main'\n | 'ul'\n | 'ol'\n | 'form';\n /** Space between items, from the space scale. Defaults to the `--panneau-stack-gap` token. */\n gap?: Responsive<Space>;\n /** Horizontal alignment of the items. Defaults to `stretch`. */\n align?: Responsive<'start' | 'center' | 'end' | 'stretch'>;\n /** Vertical distribution of the items, when the stack is taller than them. Defaults to `start`. */\n justify?: Responsive<Justification>;\n}\n\n/** Items one under the other, with space between them, like Bootstrap's `.vstack`. */\nexport function Stack({\n as: Element = 'div',\n gap,\n align,\n justify,\n className,\n style,\n ...props\n}: StackProps) {\n return (\n <Element\n {...props}\n className={cx('panneau-stack', styles.stack, className)}\n style={withVariables(\n [\n responsiveVariables('stack', 'gap', gap, space),\n responsiveVariables('stack', 'align', align, String),\n responsiveVariables('stack', 'justify', justify, justification),\n ],\n style,\n )}\n />\n );\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stack.js","names":["HTMLAttributes","Justification","Responsive","Space","justification","responsiveVariables","space","withVariables","cx","styles","StackProps","HTMLElement","as","gap","align","justify","Stack","t0","$","_c","className","props","style","t1","Element","undefined","t2","stack","t3","String","t4","_c","styles"],"sources":["../../src/stack/Stack.tsx"],"sourcesContent":["import type { HTMLAttributes } from 'react';\n\nimport {\n type Justification,\n type Responsive,\n type Space,\n justification,\n responsiveVariables,\n space,\n withVariables,\n} from '../layout/responsive';\nimport { cx } from '../utils/cx';\nimport styles from './Stack.module.css';\n\nexport interface StackProps extends HTMLAttributes<HTMLElement> {\n /** Element to render. Defaults to `div`. */\n as?:\n | 'div'\n | 'section'\n | 'article'\n | 'aside'\n | 'header'\n | 'footer'\n | 'nav'\n | 'main'\n | 'ul'\n | 'ol'\n | 'form';\n /** Space between items, from the space scale. Defaults to the `--panneau-stack-gap` token. */\n gap?: Responsive<Space>;\n /** Horizontal alignment of the items. Defaults to `stretch`. */\n align?: Responsive<'start' | 'center' | 'end' | 'stretch'>;\n /** Vertical distribution of the items, when the stack is taller than them. Defaults to `start`. */\n justify?: Responsive<Justification>;\n}\n\n/** Items one under the other, with space between them, like Bootstrap's `.vstack`. */\nexport function Stack({\n as: Element = 'div',\n gap,\n align,\n justify,\n className,\n style,\n ...props\n}: StackProps) {\n return (\n <Element\n {...props}\n className={cx('panneau-stack', styles.stack, className)}\n style={withVariables(\n [\n responsiveVariables('stack', 'gap', gap, space),\n responsiveVariables('stack', 'align', align, String),\n responsiveVariables('stack', 'justify', justify, justification),\n ],\n style,\n )}\n />\n );\n}\n"],"mappings":";;;;;;;AAqCA,SAAOgB,MAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAL;CAAA,IAAAM;CAAA,IAAAP;CAAA,IAAAE;CAAA,IAAAM;CAAA,IAAAC;CA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WAAAK;GACJ,OAAAE;EAON,CAAA;EACHV,EAAA,MAAAM;EAAAN,EAAA,MAAAG;EAAAH,EAAA,MAAAQ;EAAAR,EAAA,MAAAU;EAAAV,EAAA,MAAAY;CAAA,OAAAA,KAAAZ,EAAA;CAAA,OAXFY;AAWE"}
|
package/dist/stack/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","names":[],"sources":["../../src/stack/tokens.ts"],"sourcesContent":["import { defineComponentTokens } from '../theme/componentTokens';\n\n/** Tokens of Stack. */\nexport const stackTokens = defineComponentTokens('stack', {\n /** Space between items, when the `gap` prop is not set. */\n gap: 'var(--panneau-space-4)',\n});\n"],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"tokens.js","names":["defineComponentTokens","stackTokens","gap"],"sources":["../../src/stack/tokens.ts"],"sourcesContent":["import { defineComponentTokens } from '../theme/componentTokens';\n\n/** Tokens of Stack. */\nexport const stackTokens = defineComponentTokens('stack', {\n /** Space between items, when the `gap` prop is not set. */\n gap: 'var(--panneau-space-4)',\n});\n"],"mappings":";;;AAGA,IAAaC,cAAcD,sBAAsB,SAAS;;AAEtDE,KAAK,yBACT,CAAC"}
|
package/dist/switch/Switch.js
CHANGED
|
@@ -1,19 +1,52 @@
|
|
|
1
1
|
import { cx } from "../utils/cx.js";
|
|
2
2
|
import { ChoiceChrome } from "../checkbox/ChoiceChrome.js";
|
|
3
3
|
import Switch_module_default from "./Switch.module.js";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
4
5
|
import { Switch } from "react-aria-components";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
//#region src/switch/Switch.tsx
|
|
7
8
|
/** An on and off switch, for settings that apply at once. */
|
|
8
|
-
function Switch$1(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
function Switch$1(t0) {
|
|
10
|
+
const $ = c(22);
|
|
11
|
+
let children;
|
|
12
|
+
let className;
|
|
13
|
+
let description;
|
|
14
|
+
let descriptionClassName;
|
|
15
|
+
let errorsClassName;
|
|
16
|
+
let props;
|
|
17
|
+
let switchClassName;
|
|
18
|
+
let t1;
|
|
19
|
+
if ($[0] !== t0) {
|
|
20
|
+
({children, description, errors: t1, className, switchClassName, descriptionClassName, errorsClassName, ...props} = t0);
|
|
21
|
+
$[0] = t0;
|
|
22
|
+
$[1] = children;
|
|
23
|
+
$[2] = className;
|
|
24
|
+
$[3] = description;
|
|
25
|
+
$[4] = descriptionClassName;
|
|
26
|
+
$[5] = errorsClassName;
|
|
27
|
+
$[6] = props;
|
|
28
|
+
$[7] = switchClassName;
|
|
29
|
+
$[8] = t1;
|
|
30
|
+
} else {
|
|
31
|
+
children = $[1];
|
|
32
|
+
className = $[2];
|
|
33
|
+
description = $[3];
|
|
34
|
+
descriptionClassName = $[4];
|
|
35
|
+
errorsClassName = $[5];
|
|
36
|
+
props = $[6];
|
|
37
|
+
switchClassName = $[7];
|
|
38
|
+
t1 = $[8];
|
|
39
|
+
}
|
|
40
|
+
let t2;
|
|
41
|
+
if ($[9] !== t1) {
|
|
42
|
+
t2 = t1 === void 0 ? [] : t1;
|
|
43
|
+
$[9] = t1;
|
|
44
|
+
$[10] = t2;
|
|
45
|
+
} else t2 = $[10];
|
|
46
|
+
const errors = t2;
|
|
47
|
+
let t3;
|
|
48
|
+
if ($[11] !== children || $[12] !== props || $[13] !== switchClassName) {
|
|
49
|
+
t3 = (describedBy) => /* @__PURE__ */ jsxs(Switch, {
|
|
17
50
|
...props,
|
|
18
51
|
"aria-describedby": describedBy,
|
|
19
52
|
className: cx(Switch_module_default.control, switchClassName),
|
|
@@ -25,8 +58,32 @@ function Switch$1({ children, description, errors = [], className, switchClassNa
|
|
|
25
58
|
className: Switch_module_default.label,
|
|
26
59
|
children
|
|
27
60
|
}) : null]
|
|
28
|
-
})
|
|
29
|
-
|
|
61
|
+
});
|
|
62
|
+
$[11] = children;
|
|
63
|
+
$[12] = props;
|
|
64
|
+
$[13] = switchClassName;
|
|
65
|
+
$[14] = t3;
|
|
66
|
+
} else t3 = $[14];
|
|
67
|
+
let t4;
|
|
68
|
+
if ($[15] !== className || $[16] !== description || $[17] !== descriptionClassName || $[18] !== errors || $[19] !== errorsClassName || $[20] !== t3) {
|
|
69
|
+
t4 = /* @__PURE__ */ jsx(ChoiceChrome, {
|
|
70
|
+
component: "switch",
|
|
71
|
+
description,
|
|
72
|
+
errors,
|
|
73
|
+
className,
|
|
74
|
+
descriptionClassName,
|
|
75
|
+
errorsClassName,
|
|
76
|
+
children: t3
|
|
77
|
+
});
|
|
78
|
+
$[15] = className;
|
|
79
|
+
$[16] = description;
|
|
80
|
+
$[17] = descriptionClassName;
|
|
81
|
+
$[18] = errors;
|
|
82
|
+
$[19] = errorsClassName;
|
|
83
|
+
$[20] = t3;
|
|
84
|
+
$[21] = t4;
|
|
85
|
+
} else t4 = $[21];
|
|
86
|
+
return t4;
|
|
30
87
|
}
|
|
31
88
|
//#endregion
|
|
32
89
|
export { Switch$1 as Switch };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","names":["Switch","AriaSwitch","styles"],"sources":["../../src/switch/Switch.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { Switch as AriaSwitch, type SwitchProps as AriaSwitchProps } from 'react-aria-components';\n\nimport { ChoiceChrome, type ChoiceChromeProps } from '../checkbox/ChoiceChrome';\nimport { cx } from '../utils/cx';\nimport styles from './Switch.module.css';\n\nexport interface SwitchProps\n extends Omit<AriaSwitchProps, 'className' | 'style' | 'children'>, ChoiceChromeProps {\n /** Label, next to the switch. */\n children?: ReactNode;\n switchClassName?: string;\n}\n\n/** An on and off switch, for settings that apply at once. */\nexport function Switch({\n children,\n description,\n errors = [],\n className,\n switchClassName,\n descriptionClassName,\n errorsClassName,\n ...props\n}: SwitchProps) {\n return (\n <ChoiceChrome\n component=\"switch\"\n description={description}\n errors={errors}\n className={className}\n descriptionClassName={descriptionClassName}\n errorsClassName={errorsClassName}\n >\n {(describedBy) => (\n <AriaSwitch\n {...props}\n aria-describedby={describedBy}\n className={cx(styles.control, switchClassName)}\n >\n <span className={styles.track} aria-hidden=\"true\">\n <span className={styles.thumb} />\n </span>\n {children !== undefined ? (\n <span className={styles.label}>{children}</span>\n ) : null}\n </AriaSwitch>\n )}\n </ChoiceChrome>\n );\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Switch.js","names":["ReactNode","Switch","AriaSwitch","SwitchProps","AriaSwitchProps","ChoiceChrome","ChoiceChromeProps","cx","styles","Omit","children","switchClassName","t0","$","_c","className","description","descriptionClassName","errorsClassName","props","t1","errors","t2","undefined","t3","describedBy","control","track","thumb","label","t4","Switch","_c","AriaSwitch","styles"],"sources":["../../src/switch/Switch.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { Switch as AriaSwitch, type SwitchProps as AriaSwitchProps } from 'react-aria-components';\n\nimport { ChoiceChrome, type ChoiceChromeProps } from '../checkbox/ChoiceChrome';\nimport { cx } from '../utils/cx';\nimport styles from './Switch.module.css';\n\nexport interface SwitchProps\n extends Omit<AriaSwitchProps, 'className' | 'style' | 'children'>, ChoiceChromeProps {\n /** Label, next to the switch. */\n children?: ReactNode;\n switchClassName?: string;\n}\n\n/** An on and off switch, for settings that apply at once. */\nexport function Switch({\n children,\n description,\n errors = [],\n className,\n switchClassName,\n descriptionClassName,\n errorsClassName,\n ...props\n}: SwitchProps) {\n return (\n <ChoiceChrome\n component=\"switch\"\n description={description}\n errors={errors}\n className={className}\n descriptionClassName={descriptionClassName}\n errorsClassName={errorsClassName}\n >\n {(describedBy) => (\n <AriaSwitch\n {...props}\n aria-describedby={describedBy}\n className={cx(styles.control, switchClassName)}\n >\n <span className={styles.track} aria-hidden=\"true\">\n <span className={styles.thumb} />\n </span>\n {children !== undefined ? (\n <span className={styles.label}>{children}</span>\n ) : null}\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GAC1B,CAAA,GACNlB,aAAaa,KAAAA,IACV,oBAAA,QAAA;IAAiB,WAAAf,sBAAMqB;IAASnB;GAAgB,CAAA,IADnD,IARM;;EAYdG,EAAA,MAAAH;EAAAG,EAAA,MAAAM;EAAAN,EAAA,MAAAF;EAAAE,EAAA,MAAAW;CAAA,OAAAA,KAAAX,EAAA;CAAA,IAAAiB;CAAA,IAAAjB,EAAA,QAAAE,aAAAF,EAAA,QAAAG,eAAAH,EAAA,QAAAI,wBAAAJ,EAAA,QAAAQ,UAAAR,EAAA,QAAAK,mBAAAL,EAAA,QAAAW,IAAA;EArBLM,KAAA,oBAAC,cAAD;GACc,WAAA;GACGd;GACLK;GACGN;GACWE;GACLC;GAEhBM,UAAAA;EARQ,CAAA;EAsBEX,EAAA,MAAAE;EAAAF,EAAA,MAAAG;EAAAH,EAAA,MAAAI;EAAAJ,EAAA,MAAAQ;EAAAR,EAAA,MAAAK;EAAAL,EAAA,MAAAW;EAAAX,EAAA,MAAAiB;CAAA,OAAAA,KAAAjB,EAAA;CAAA,OAtBfiB;AAsBe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","names":[],"sources":["../../src/switch/tokens.ts"],"sourcesContent":["import { defineComponentTokens } from '../theme/componentTokens';\n\n/** Tokens of Switch. */\nexport const switchTokens = defineComponentTokens('switch', {\n /** Width of the track. */\n width: '2.25rem',\n /** Height of the track. */\n height: '1.25rem',\n /** Background of the track when off. */\n 'track-bg': 'var(--panneau-color-border-control)',\n /** Corner radius of the track and the thumb. */\n radius: 'var(--panneau-radius-full)',\n /** Size of the thumb. */\n 'thumb-size': '1rem',\n /** Background of the thumb when off. */\n 'thumb-bg': 'var(--panneau-color-surface)',\n /** Background of the track when on. */\n 'checked-bg': 'var(--panneau-color-accent)',\n /** Background of the thumb when on. */\n 'checked-thumb-bg': 'var(--panneau-color-accent-text)',\n});\n"],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"tokens.js","names":["defineComponentTokens","switchTokens","width","height","radius"],"sources":["../../src/switch/tokens.ts"],"sourcesContent":["import { defineComponentTokens } from '../theme/componentTokens';\n\n/** Tokens of Switch. */\nexport const switchTokens = defineComponentTokens('switch', {\n /** Width of the track. */\n width: '2.25rem',\n /** Height of the track. */\n height: '1.25rem',\n /** Background of the track when off. */\n 'track-bg': 'var(--panneau-color-border-control)',\n /** Corner radius of the track and the thumb. */\n radius: 'var(--panneau-radius-full)',\n /** Size of the thumb. */\n 'thumb-size': '1rem',\n /** Background of the thumb when off. */\n 'thumb-bg': 'var(--panneau-color-surface)',\n /** Background of the track when on. */\n 'checked-bg': 'var(--panneau-color-accent)',\n /** Background of the thumb when on. */\n 'checked-thumb-bg': 'var(--panneau-color-accent-text)',\n});\n"],"mappings":";;;AAGA,IAAaC,eAAeD,sBAAsB,UAAU;;CAExDE,OAAO;;CAEPC,QAAQ;;CAER,YAAY;;CAEZC,QAAQ;;CAER,cAAc;;CAEd,YAAY;;CAEZ,cAAc;;CAEd,oBAAoB;AACxB,CAAC"}
|
package/dist/tabs/Tabs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cx } from "../utils/cx.js";
|
|
2
2
|
import Tabs_module_default from "./Tabs.module.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
3
4
|
import { Tab, TabList, TabPanel, Tabs } from "react-aria-components";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
6
|
//#region src/tabs/Tabs.tsx
|
|
7
7
|
/** Tabs: a `TabList` of `Tab`s, then a `TabPanel` per tab, matched by `id`. */
|
|
8
8
|
function Tabs$1(t0) {
|
package/dist/tabs/Tabs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","names":["Tabs","_c","styles","AriaTabs","TabList","AriaTabList","Tab","AriaTab","TabPanel","AriaTabPanel"],"sources":["../../src/tabs/Tabs.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport {\n Tab as AriaTab,\n TabList as AriaTabList,\n type TabListProps as AriaTabListProps,\n TabPanel as AriaTabPanel,\n type TabPanelProps as AriaTabPanelProps,\n type TabProps as AriaTabProps,\n Tabs as AriaTabs,\n type TabsProps as AriaTabsProps,\n} from 'react-aria-components';\n\nimport { cx } from '../utils/cx';\nimport styles from './Tabs.module.css';\n\nexport interface TabsProps extends Omit<AriaTabsProps, 'className' | 'style'> {\n className?: string;\n}\n\n/** Tabs: a `TabList` of `Tab`s, then a `TabPanel` per tab, matched by `id`. */\nexport function Tabs({ className, ...props }: TabsProps) {\n return <AriaTabs {...props} className={cx('panneau-tabs', styles.tabs, className)} />;\n}\n\nexport interface TabListProps<T extends object> extends Omit<\n AriaTabListProps<T>,\n 'className' | 'style'\n> {\n className?: string;\n}\n\n/** The row of tabs. It scrolls sideways when the tabs don't fit, on phones. */\nexport function TabList<T extends object>({ className, ...props }: TabListProps<T>) {\n return <AriaTabList {...props} className={cx('panneau-tab-list', styles.list, className)} />;\n}\n\nexport interface TabProps extends Omit<AriaTabProps, 'className' | 'style' | 'children'> {\n children?: ReactNode;\n className?: string;\n}\n\n/** A tab. Put a `Badge` in it for a count, such as the errors of the panel. */\nexport function Tab({ className, ...props }: TabProps) {\n return <AriaTab {...props} className={cx('panneau-tab', styles.tab, className)} />;\n}\n\nexport interface TabPanelProps extends Omit<AriaTabPanelProps, 'className' | 'style'> {\n className?: string;\n}\n\n/**\n * The content of a tab. With `shouldForceMount`, the panel stays mounted (and hidden) when another\n * tab is selected, which keeps the state of its fields.\n */\nexport function TabPanel({ className, ...props }: TabPanelProps) {\n return <AriaTabPanel {...props} className={cx('panneau-tab-panel', styles.panel, className)} />;\n}\n"],"mappings":";;;;;;;AAoBA,
|
|
1
|
+
{"version":3,"file":"Tabs.js","names":["ReactNode","Tab","AriaTab","TabList","AriaTabList","TabListProps","AriaTabListProps","TabPanel","AriaTabPanel","TabPanelProps","AriaTabPanelProps","TabProps","AriaTabProps","Tabs","AriaTabs","TabsProps","AriaTabsProps","cx","styles","Omit","className","t0","$","_c","props","t1","tabs","t2","T","list","children","tab","panel","Tabs","_c","styles","AriaTabs","TabList","AriaTabList","Tab","AriaTab","TabPanel","AriaTabPanel"],"sources":["../../src/tabs/Tabs.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport {\n Tab as AriaTab,\n TabList as AriaTabList,\n type TabListProps as AriaTabListProps,\n TabPanel as AriaTabPanel,\n type TabPanelProps as AriaTabPanelProps,\n type TabProps as AriaTabProps,\n Tabs as AriaTabs,\n type TabsProps as AriaTabsProps,\n} from 'react-aria-components';\n\nimport { cx } from '../utils/cx';\nimport styles from './Tabs.module.css';\n\nexport interface TabsProps extends Omit<AriaTabsProps, 'className' | 'style'> {\n className?: string;\n}\n\n/** Tabs: a `TabList` of `Tab`s, then a `TabPanel` per tab, matched by `id`. */\nexport function Tabs({ className, ...props }: TabsProps) {\n return <AriaTabs {...props} className={cx('panneau-tabs', styles.tabs, className)} />;\n}\n\nexport interface TabListProps<T extends object> extends Omit<\n AriaTabListProps<T>,\n 'className' | 'style'\n> {\n className?: string;\n}\n\n/** The row of tabs. It scrolls sideways when the tabs don't fit, on phones. */\nexport function TabList<T extends object>({ className, ...props }: TabListProps<T>) {\n return <AriaTabList {...props} className={cx('panneau-tab-list', styles.list, className)} />;\n}\n\nexport interface TabProps extends Omit<AriaTabProps, 'className' | 'style' | 'children'> {\n children?: ReactNode;\n className?: string;\n}\n\n/** A tab. Put a `Badge` in it for a count, such as the errors of the panel. */\nexport function Tab({ className, ...props }: TabProps) {\n return <AriaTab {...props} className={cx('panneau-tab', styles.tab, className)} />;\n}\n\nexport interface TabPanelProps extends Omit<AriaTabPanelProps, 'className' | 'style'> {\n className?: string;\n}\n\n/**\n * The content of a tab. With `shouldForceMount`, the panel stays mounted (and hidden) when another\n * tab is selected, which keeps the state of its fields.\n */\nexport function TabPanel({ className, ...props }: TabPanelProps) {\n return <AriaTabPanel {...props} className={cx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,KAAAR,GAAG,qBAAqBC,oBAAMc,OAAQZ,SAAS;EAACE,EAAA,KAAAF;EAAAE,EAAA,KAAAG;CAAA,OAAAA,KAAAH,EAAA;CAAA,IAAAK;CAAA,IAAAL,EAAA,OAAAE,SAAAF,EAAA,OAAAG,IAAA;EAApFE,KAAA,oBAACe,UAAD;GAAa,GAAKlB;GAAkB,WAAAC;EAAgD,CAAA;EAAIH,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,OAAxFK;AAAwF"}
|
package/dist/tabs/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","names":[],"sources":["../../src/tabs/tokens.ts"],"sourcesContent":["import { defineComponentTokens } from '../theme/componentTokens';\n\n/** Tokens of Tabs. */\nexport const tabsTokens = defineComponentTokens('tabs', {\n /** Space between the tab list and the panel. */\n gap: 'var(--panneau-space-4)',\n /** Color of the line under the tab list. */\n 'border-color': 'var(--panneau-color-border)',\n /** Horizontal padding of a tab. */\n 'tab-padding-x': 'var(--panneau-space-3)',\n /** Font weight of a tab. */\n 'tab-font-weight': 'var(--panneau-font-weight-medium)',\n /** Text color of a tab. */\n 'tab-color': 'var(--panneau-color-text-muted)',\n /** Height of the indicator under the selected tab. */\n 'indicator-height': '2px',\n /** Text color of a hovered or selected tab. */\n 'tab-color-selected': 'var(--panneau-color-text)',\n /** Color of the indicator under the selected tab. */\n 'indicator-color': 'var(--panneau-color-accent)',\n});\n"],"mappings":";;;AAGA,
|
|
1
|
+
{"version":3,"file":"tokens.js","names":["defineComponentTokens","tabsTokens","gap"],"sources":["../../src/tabs/tokens.ts"],"sourcesContent":["import { defineComponentTokens } from '../theme/componentTokens';\n\n/** Tokens of Tabs. */\nexport const tabsTokens = defineComponentTokens('tabs', {\n /** Space between the tab list and the panel. */\n gap: 'var(--panneau-space-4)',\n /** Color of the line under the tab list. */\n 'border-color': 'var(--panneau-color-border)',\n /** Horizontal padding of a tab. */\n 'tab-padding-x': 'var(--panneau-space-3)',\n /** Font weight of a tab. */\n 'tab-font-weight': 'var(--panneau-font-weight-medium)',\n /** Text color of a tab. */\n 'tab-color': 'var(--panneau-color-text-muted)',\n /** Height of the indicator under the selected tab. */\n 'indicator-height': '2px',\n /** Text color of a hovered or selected tab. */\n 'tab-color-selected': 'var(--panneau-color-text)',\n /** Color of the indicator under the selected tab. */\n 'indicator-color': 'var(--panneau-color-accent)',\n});\n"],"mappings":";;;AAGA,IAAaC,aAAaD,sBAAsB,QAAQ;;CAEpDE,KAAK;;CAEL,gBAAgB;;CAEhB,iBAAiB;;CAEjB,mBAAmB;;CAEnB,aAAa;;CAEb,oBAAoB;;CAEpB,sBAAsB;;CAEtB,mBAAmB;AACvB,CAAC"}
|