@ttoss/fsl-ui 0.2.4 → 0.2.6
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 +1 -1
- package/dist/components/AppShell/AppShell.cjs +124 -0
- package/dist/components/AppShell/AppShell.d.cts +74 -0
- package/dist/components/AppShell/AppShell.d.mts +74 -0
- package/dist/components/AppShell/AppShell.mjs +123 -0
- package/dist/components/Badge/Badge.cjs +61 -0
- package/dist/components/Badge/Badge.d.cts +56 -0
- package/dist/components/Badge/Badge.d.mts +56 -0
- package/dist/components/Badge/Badge.mjs +60 -0
- package/dist/components/Box/Box.cjs +114 -0
- package/dist/components/Box/Box.d.cts +115 -0
- package/dist/components/Box/Box.d.mts +115 -0
- package/dist/components/Box/Box.mjs +113 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.mjs +1 -1
- package/dist/components/Button/Button.cjs +2 -2
- package/dist/components/Button/Button.d.cts +2 -1
- package/dist/components/Button/Button.d.mts +2 -1
- package/dist/components/Button/Button.mjs +2 -2
- package/dist/components/Checkbox/Checkbox.cjs +2 -2
- package/dist/components/Checkbox/Checkbox.mjs +2 -2
- package/dist/components/CheckboxGroup/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.mjs +1 -1
- package/dist/components/Code/Code.cjs +69 -0
- package/dist/components/Code/Code.d.cts +53 -0
- package/dist/components/Code/Code.d.mts +53 -0
- package/dist/components/Code/Code.mjs +68 -0
- package/dist/components/Container/Container.cjs +65 -0
- package/dist/components/Container/Container.d.cts +61 -0
- package/dist/components/Container/Container.d.mts +61 -0
- package/dist/components/Container/Container.mjs +64 -0
- package/dist/components/FileTrigger/FileTrigger.cjs +1 -1
- package/dist/components/FileTrigger/FileTrigger.mjs +1 -1
- package/dist/components/Grid/Grid.cjs +88 -0
- package/dist/components/Grid/Grid.d.cts +87 -0
- package/dist/components/Grid/Grid.d.mts +87 -0
- package/dist/components/Grid/Grid.mjs +87 -0
- package/dist/components/GridList/GridList.cjs +2 -2
- package/dist/components/GridList/GridList.mjs +2 -2
- package/dist/components/Group/Group.cjs +1 -1
- package/dist/components/Group/Group.mjs +1 -1
- package/dist/components/Heading/Heading.cjs +78 -0
- package/dist/components/Heading/Heading.d.cts +63 -0
- package/dist/components/Heading/Heading.d.mts +63 -0
- package/dist/components/Heading/Heading.mjs +77 -0
- package/dist/components/Icon/Icon.cjs +2 -1
- package/dist/components/Icon/Icon.d.cts +59 -0
- package/dist/components/Icon/Icon.d.mts +59 -0
- package/dist/components/Icon/Icon.mjs +1 -1
- package/dist/components/Icon/glyphs.cjs +37 -10
- package/dist/components/Icon/glyphs.mjs +34 -10
- package/dist/components/Icon/intents.cjs +32 -0
- package/dist/components/Icon/intents.d.cts +33 -0
- package/dist/components/Icon/intents.d.mts +33 -0
- package/dist/components/Icon/intents.mjs +32 -0
- package/dist/components/Link/Link.cjs +1 -1
- package/dist/components/Link/Link.mjs +1 -1
- package/dist/components/ListBox/ListBox.cjs +1 -1
- package/dist/components/ListBox/ListBox.mjs +1 -1
- package/dist/components/Meter/Meter.cjs +11 -1
- package/dist/components/Meter/Meter.mjs +11 -1
- package/dist/components/NumberField/NumberField.cjs +2 -2
- package/dist/components/NumberField/NumberField.mjs +2 -2
- package/dist/components/ProgressBar/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar/ProgressBar.mjs +1 -1
- package/dist/components/RadioGroup/RadioGroup.cjs +2 -2
- package/dist/components/RadioGroup/RadioGroup.mjs +2 -2
- package/dist/components/Select/Select.cjs +2 -2
- package/dist/components/Select/Select.mjs +2 -2
- package/dist/components/Separator/Separator.cjs +1 -1
- package/dist/components/Separator/Separator.mjs +1 -1
- package/dist/components/Slider/Slider.cjs +1 -1
- package/dist/components/Slider/Slider.mjs +1 -1
- package/dist/components/Stack/Stack.cjs +89 -0
- package/dist/components/Stack/Stack.d.cts +75 -0
- package/dist/components/Stack/Stack.d.mts +75 -0
- package/dist/components/Stack/Stack.mjs +88 -0
- package/dist/components/Surface/Surface.cjs +84 -0
- package/dist/components/Surface/Surface.d.cts +72 -0
- package/dist/components/Surface/Surface.d.mts +72 -0
- package/dist/components/Surface/Surface.mjs +83 -0
- package/dist/components/Switch/Switch.cjs +3 -3
- package/dist/components/Switch/Switch.d.cts +1 -1
- package/dist/components/Switch/Switch.d.mts +1 -1
- package/dist/components/Switch/Switch.mjs +3 -3
- package/dist/components/Table/Table.cjs +248 -0
- package/dist/components/Table/Table.d.cts +128 -0
- package/dist/components/Table/Table.d.mts +128 -0
- package/dist/components/Table/Table.mjs +239 -0
- package/dist/components/Tabs/Tabs.cjs +71 -28
- package/dist/components/Tabs/Tabs.d.cts +0 -17
- package/dist/components/Tabs/Tabs.d.mts +0 -17
- package/dist/components/Tabs/Tabs.mjs +69 -28
- package/dist/components/Text/Text.cjs +70 -0
- package/dist/components/Text/Text.d.cts +89 -0
- package/dist/components/Text/Text.d.mts +89 -0
- package/dist/components/Text/Text.mjs +69 -0
- package/dist/components/Toast/Toast.cjs +1 -1
- package/dist/components/Toast/Toast.mjs +1 -1
- package/dist/components/ToggleButton/ToggleButton.cjs +2 -2
- package/dist/components/ToggleButton/ToggleButton.mjs +2 -2
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.cjs +1 -1
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.mjs +1 -1
- package/dist/components/Toolbar/Toolbar.cjs +1 -1
- package/dist/components/Toolbar/Toolbar.mjs +1 -1
- package/dist/composites/Accordion/Accordion.cjs +14 -9
- package/dist/composites/Accordion/Accordion.mjs +14 -9
- package/dist/composites/Dialog/Dialog.cjs +1 -1
- package/dist/composites/Dialog/Dialog.mjs +1 -1
- package/dist/composites/Disclosure/Disclosure.cjs +14 -9
- package/dist/composites/Disclosure/Disclosure.mjs +14 -9
- package/dist/composites/Form/Form.cjs +1 -1
- package/dist/composites/Form/Form.mjs +1 -1
- package/dist/composites/Menu/Menu.cjs +2 -2
- package/dist/composites/Menu/Menu.mjs +2 -2
- package/dist/composites/Popover/Popover.cjs +1 -1
- package/dist/composites/Popover/Popover.mjs +1 -1
- package/dist/composites/SearchField/SearchField.cjs +2 -2
- package/dist/composites/SearchField/SearchField.mjs +2 -2
- package/dist/composites/TagGroup/TagGroup.cjs +2 -2
- package/dist/composites/TagGroup/TagGroup.mjs +2 -2
- package/dist/composites/TextArea/TextArea.cjs +2 -2
- package/dist/composites/TextArea/TextArea.mjs +2 -2
- package/dist/composites/TextField/TextField.cjs +2 -2
- package/dist/composites/TextField/TextField.mjs +2 -2
- package/dist/composites/Tooltip/Tooltip.cjs +1 -1
- package/dist/composites/Tooltip/Tooltip.mjs +1 -1
- package/dist/index.cjs +46 -0
- package/dist/index.d.cts +14 -1
- package/dist/index.d.mts +14 -1
- package/dist/index.mjs +14 -1
- package/llms.txt +51 -8
- package/package.json +4 -4
- package/src/tokens/CONTRACT.md +28 -10
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/Text.d.ts
|
|
5
|
+
/** Formal semantic identity — Text root (Structure entity, body/label text). */
|
|
6
|
+
declare const textMeta: {
|
|
7
|
+
readonly displayName: "Text";
|
|
8
|
+
readonly entity: "Structure";
|
|
9
|
+
readonly structure: "root";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* A step of the body/label type scale (`{family}-{step}`). `display-sm` is
|
|
13
|
+
* the stat step: display-scale figures that are *data*, not document
|
|
14
|
+
* headings (KPI values, prices) — admitted on the Dashboard/Pricing blocks'
|
|
15
|
+
* evidence (friction F-014).
|
|
16
|
+
*/
|
|
17
|
+
type TextVariant = 'display-sm' | 'body-lg' | 'body-md' | 'body-sm' | 'label-lg' | 'label-md' | 'label-sm';
|
|
18
|
+
/** The tone of the text colour — default inherits; `muted` recedes. */
|
|
19
|
+
type TextTone = 'default' | 'muted';
|
|
20
|
+
/** Inline text alignment. */
|
|
21
|
+
type TextAlign = 'start' | 'center' | 'end';
|
|
22
|
+
/** Numeric figure style — `tabular` aligns digits in columns (metrics, tables). */
|
|
23
|
+
type TextNumeric = 'normal' | 'tabular';
|
|
24
|
+
/** The element Text renders as. */
|
|
25
|
+
type TextAs = 'p' | 'span' | 'div';
|
|
26
|
+
/** Props for the Text component. */
|
|
27
|
+
interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'style' | 'className'> {
|
|
28
|
+
/**
|
|
29
|
+
* Step of the body/label type scale. `body-*` is running copy; `label-*` is
|
|
30
|
+
* the tighter, slightly heavier form for field labels and captions.
|
|
31
|
+
* @default 'body-md'
|
|
32
|
+
*/
|
|
33
|
+
variant?: TextVariant;
|
|
34
|
+
/**
|
|
35
|
+
* Colour tone. `default` inherits the surrounding surface's text colour;
|
|
36
|
+
* `muted` recedes to the muted informational text colour for secondary copy.
|
|
37
|
+
* @default 'default'
|
|
38
|
+
*/
|
|
39
|
+
tone?: TextTone;
|
|
40
|
+
/**
|
|
41
|
+
* Inline alignment (`text-align`). A layout keyword, not a design token.
|
|
42
|
+
* @default 'start'
|
|
43
|
+
*/
|
|
44
|
+
align?: TextAlign;
|
|
45
|
+
/**
|
|
46
|
+
* Numeric figure style. `tabular` renders `tabular-nums` so digits occupy
|
|
47
|
+
* equal width — use it for metrics, counts, and any figures that must line up
|
|
48
|
+
* in a column. A rendering *meaning*, not a raw style.
|
|
49
|
+
* @default 'normal'
|
|
50
|
+
*/
|
|
51
|
+
numeric?: TextNumeric;
|
|
52
|
+
/**
|
|
53
|
+
* The element to render. `p` for paragraphs, `span` for inline runs, `div`
|
|
54
|
+
* for grouping.
|
|
55
|
+
* @default 'p'
|
|
56
|
+
*/
|
|
57
|
+
as?: TextAs;
|
|
58
|
+
/** The text content. */
|
|
59
|
+
children?: React.ReactNode;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Running copy and labels bound to the FSL type scale.
|
|
63
|
+
*
|
|
64
|
+
* Entity = Structure. `variant` picks the step of the body/label scale — there
|
|
65
|
+
* is no raw font-size vocabulary, which is how the theme's typography reaches
|
|
66
|
+
* the screen consistently. `tone="muted"` is the sanctioned way to build text
|
|
67
|
+
* hierarchy (secondary copy recedes); otherwise colour is inherited from the
|
|
68
|
+
* surface.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```tsx
|
|
72
|
+
* <Text>Your changes are saved automatically.</Text>
|
|
73
|
+
* <Text variant="label-md" tone="muted">Last updated 2 minutes ago</Text>
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
declare const Text: {
|
|
77
|
+
({
|
|
78
|
+
variant,
|
|
79
|
+
tone,
|
|
80
|
+
align,
|
|
81
|
+
numeric,
|
|
82
|
+
as,
|
|
83
|
+
children,
|
|
84
|
+
...props
|
|
85
|
+
}: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
displayName: "Text";
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { Text, TextAlign, TextAs, TextNumeric, TextProps, TextTone, TextVariant, textMeta };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/Text.d.ts
|
|
5
|
+
/** Formal semantic identity — Text root (Structure entity, body/label text). */
|
|
6
|
+
declare const textMeta: {
|
|
7
|
+
readonly displayName: "Text";
|
|
8
|
+
readonly entity: "Structure";
|
|
9
|
+
readonly structure: "root";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* A step of the body/label type scale (`{family}-{step}`). `display-sm` is
|
|
13
|
+
* the stat step: display-scale figures that are *data*, not document
|
|
14
|
+
* headings (KPI values, prices) — admitted on the Dashboard/Pricing blocks'
|
|
15
|
+
* evidence (friction F-014).
|
|
16
|
+
*/
|
|
17
|
+
type TextVariant = 'display-sm' | 'body-lg' | 'body-md' | 'body-sm' | 'label-lg' | 'label-md' | 'label-sm';
|
|
18
|
+
/** The tone of the text colour — default inherits; `muted` recedes. */
|
|
19
|
+
type TextTone = 'default' | 'muted';
|
|
20
|
+
/** Inline text alignment. */
|
|
21
|
+
type TextAlign = 'start' | 'center' | 'end';
|
|
22
|
+
/** Numeric figure style — `tabular` aligns digits in columns (metrics, tables). */
|
|
23
|
+
type TextNumeric = 'normal' | 'tabular';
|
|
24
|
+
/** The element Text renders as. */
|
|
25
|
+
type TextAs = 'p' | 'span' | 'div';
|
|
26
|
+
/** Props for the Text component. */
|
|
27
|
+
interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'style' | 'className'> {
|
|
28
|
+
/**
|
|
29
|
+
* Step of the body/label type scale. `body-*` is running copy; `label-*` is
|
|
30
|
+
* the tighter, slightly heavier form for field labels and captions.
|
|
31
|
+
* @default 'body-md'
|
|
32
|
+
*/
|
|
33
|
+
variant?: TextVariant;
|
|
34
|
+
/**
|
|
35
|
+
* Colour tone. `default` inherits the surrounding surface's text colour;
|
|
36
|
+
* `muted` recedes to the muted informational text colour for secondary copy.
|
|
37
|
+
* @default 'default'
|
|
38
|
+
*/
|
|
39
|
+
tone?: TextTone;
|
|
40
|
+
/**
|
|
41
|
+
* Inline alignment (`text-align`). A layout keyword, not a design token.
|
|
42
|
+
* @default 'start'
|
|
43
|
+
*/
|
|
44
|
+
align?: TextAlign;
|
|
45
|
+
/**
|
|
46
|
+
* Numeric figure style. `tabular` renders `tabular-nums` so digits occupy
|
|
47
|
+
* equal width — use it for metrics, counts, and any figures that must line up
|
|
48
|
+
* in a column. A rendering *meaning*, not a raw style.
|
|
49
|
+
* @default 'normal'
|
|
50
|
+
*/
|
|
51
|
+
numeric?: TextNumeric;
|
|
52
|
+
/**
|
|
53
|
+
* The element to render. `p` for paragraphs, `span` for inline runs, `div`
|
|
54
|
+
* for grouping.
|
|
55
|
+
* @default 'p'
|
|
56
|
+
*/
|
|
57
|
+
as?: TextAs;
|
|
58
|
+
/** The text content. */
|
|
59
|
+
children?: React.ReactNode;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Running copy and labels bound to the FSL type scale.
|
|
63
|
+
*
|
|
64
|
+
* Entity = Structure. `variant` picks the step of the body/label scale — there
|
|
65
|
+
* is no raw font-size vocabulary, which is how the theme's typography reaches
|
|
66
|
+
* the screen consistently. `tone="muted"` is the sanctioned way to build text
|
|
67
|
+
* hierarchy (secondary copy recedes); otherwise colour is inherited from the
|
|
68
|
+
* surface.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```tsx
|
|
72
|
+
* <Text>Your changes are saved automatically.</Text>
|
|
73
|
+
* <Text variant="label-md" tone="muted">Last updated 2 minutes ago</Text>
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
declare const Text: {
|
|
77
|
+
({
|
|
78
|
+
variant,
|
|
79
|
+
tone,
|
|
80
|
+
align,
|
|
81
|
+
numeric,
|
|
82
|
+
as,
|
|
83
|
+
children,
|
|
84
|
+
...props
|
|
85
|
+
}: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
displayName: "Text";
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { Text, TextAlign, TextAs, TextNumeric, TextProps, TextTone, TextVariant, textMeta };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
+
import { vars } from "@ttoss/fsl-theme/vars";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Text/Text.tsx
|
|
6
|
+
/** Formal semantic identity — Text root (Structure entity, body/label text). */
|
|
7
|
+
var textMeta = {
|
|
8
|
+
displayName: "Text",
|
|
9
|
+
entity: "Structure",
|
|
10
|
+
structure: "root"
|
|
11
|
+
};
|
|
12
|
+
/** Typography token per variant — the scale reaches the DOM only here. */
|
|
13
|
+
var TYPE_BY_VARIANT = {
|
|
14
|
+
"display-sm": vars.text.display.sm,
|
|
15
|
+
"body-lg": vars.text.body.lg,
|
|
16
|
+
"body-md": vars.text.body.md,
|
|
17
|
+
"body-sm": vars.text.body.sm,
|
|
18
|
+
"label-lg": vars.text.label.lg,
|
|
19
|
+
"label-md": vars.text.label.md,
|
|
20
|
+
"label-sm": vars.text.label.sm
|
|
21
|
+
};
|
|
22
|
+
/** Muted text colour; `default` tone inherits (no colour set). */
|
|
23
|
+
var colorForTone = tone => {
|
|
24
|
+
return tone === "muted" ? vars.colors.informational.muted.text?.default : "inherit";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Running copy and labels bound to the FSL type scale.
|
|
28
|
+
*
|
|
29
|
+
* Entity = Structure. `variant` picks the step of the body/label scale — there
|
|
30
|
+
* is no raw font-size vocabulary, which is how the theme's typography reaches
|
|
31
|
+
* the screen consistently. `tone="muted"` is the sanctioned way to build text
|
|
32
|
+
* hierarchy (secondary copy recedes); otherwise colour is inherited from the
|
|
33
|
+
* surface.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* <Text>Your changes are saved automatically.</Text>
|
|
38
|
+
* <Text variant="label-md" tone="muted">Last updated 2 minutes ago</Text>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
var Text = ({
|
|
42
|
+
variant = "body-md",
|
|
43
|
+
tone = "default",
|
|
44
|
+
align = "start",
|
|
45
|
+
numeric = "normal",
|
|
46
|
+
as = "p",
|
|
47
|
+
children,
|
|
48
|
+
...props
|
|
49
|
+
}) => {
|
|
50
|
+
return /* @__PURE__ */jsx(as, {
|
|
51
|
+
...props,
|
|
52
|
+
"data-scope": "text",
|
|
53
|
+
"data-part": "root",
|
|
54
|
+
"data-variant": variant,
|
|
55
|
+
"data-tone": tone,
|
|
56
|
+
style: {
|
|
57
|
+
margin: 0,
|
|
58
|
+
color: colorForTone(tone),
|
|
59
|
+
textAlign: align,
|
|
60
|
+
fontVariantNumeric: numeric === "tabular" ? "tabular-nums" : void 0,
|
|
61
|
+
...TYPE_BY_VARIANT[variant]
|
|
62
|
+
},
|
|
63
|
+
children
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
Text.displayName = textMeta.displayName;
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
export { Text, textMeta };
|
|
@@ -3,8 +3,8 @@ const require_focusRing = require('../../tokens/focusRing.cjs');
|
|
|
3
3
|
const require_resolveInteractiveStyle = require('../../tokens/resolveInteractiveStyle.cjs');
|
|
4
4
|
const require_Icon = require('../Icon/Icon.cjs');
|
|
5
5
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
6
|
-
let react_aria_components = require("react-aria-components");
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let react_aria_components = require("react-aria-components");
|
|
8
8
|
|
|
9
9
|
//#region src/components/Toast/Toast.tsx
|
|
10
10
|
/** Formal semantic identity — Toast root (Feedback entity). */
|
|
@@ -3,8 +3,8 @@ import { focusRingOutline } from "../../tokens/focusRing.mjs";
|
|
|
3
3
|
import { resolveInteractiveStyle } from "../../tokens/resolveInteractiveStyle.mjs";
|
|
4
4
|
import { Icon } from "../Icon/Icon.mjs";
|
|
5
5
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
6
|
-
import { Button, Text, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion } from "react-aria-components";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { Button, Text, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion } from "react-aria-components";
|
|
8
8
|
|
|
9
9
|
//#region src/components/Toast/Toast.tsx
|
|
10
10
|
/** Formal semantic identity — Toast root (Feedback entity). */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
const require_focusRing = require('../../tokens/focusRing.cjs');
|
|
3
3
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
4
|
-
let react_aria_components = require("react-aria-components");
|
|
5
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let react_aria_components = require("react-aria-components");
|
|
6
6
|
|
|
7
7
|
//#region src/components/ToggleButton/ToggleButton.tsx
|
|
8
8
|
/** Formal semantic identity — ToggleButton root (Action entity, toggle). */
|
|
@@ -99,7 +99,7 @@ var ToggleButton = ({
|
|
|
99
99
|
borderRadius: _ttoss_fsl_theme_vars.vars.radii.control,
|
|
100
100
|
borderWidth: _ttoss_fsl_theme_vars.vars.border.outline.control.width,
|
|
101
101
|
borderStyle: _ttoss_fsl_theme_vars.vars.border.outline.control.style,
|
|
102
|
-
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit
|
|
102
|
+
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit,
|
|
103
103
|
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.sm,
|
|
104
104
|
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.lg,
|
|
105
105
|
..._ttoss_fsl_theme_vars.vars.text.label.md,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
import { focusRingOutline } from "../../tokens/focusRing.mjs";
|
|
3
3
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
4
|
-
import { ToggleButton } from "react-aria-components";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { ToggleButton } from "react-aria-components";
|
|
6
6
|
|
|
7
7
|
//#region src/components/ToggleButton/ToggleButton.tsx
|
|
8
8
|
/** Formal semantic identity — ToggleButton root (Action entity, toggle). */
|
|
@@ -99,7 +99,7 @@ var ToggleButton$1 = ({
|
|
|
99
99
|
borderRadius: vars.radii.control,
|
|
100
100
|
borderWidth: vars.border.outline.control.width,
|
|
101
101
|
borderStyle: vars.border.outline.control.style,
|
|
102
|
-
minHeight: vars.sizing.hit
|
|
102
|
+
minHeight: vars.sizing.hit,
|
|
103
103
|
paddingBlock: vars.spacing.inset.control.sm,
|
|
104
104
|
paddingInline: vars.spacing.inset.control.lg,
|
|
105
105
|
...vars.text.label.md,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
3
|
-
let react_aria_components = require("react-aria-components");
|
|
4
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let react_aria_components = require("react-aria-components");
|
|
5
5
|
|
|
6
6
|
//#region src/components/ToggleButtonGroup/ToggleButtonGroup.tsx
|
|
7
7
|
/** Formal semantic identity — ToggleButtonGroup root (Selection entity). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
3
|
-
import { ToggleButtonGroup } from "react-aria-components";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { ToggleButtonGroup } from "react-aria-components";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ToggleButtonGroup/ToggleButtonGroup.tsx
|
|
7
7
|
/** Formal semantic identity — ToggleButtonGroup root (Selection entity). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
3
|
-
let react_aria_components = require("react-aria-components");
|
|
4
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let react_aria_components = require("react-aria-components");
|
|
5
5
|
|
|
6
6
|
//#region src/components/Toolbar/Toolbar.tsx
|
|
7
7
|
/** Formal semantic identity — Toolbar root (Structure entity, actions bar). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
3
|
-
import { Toolbar } from "react-aria-components";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Toolbar } from "react-aria-components";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Toolbar/Toolbar.tsx
|
|
7
7
|
/** Formal semantic identity — Toolbar root (Structure entity, actions bar). */
|
|
@@ -5,8 +5,8 @@ const require_resolveInteractiveStyle = require('../../tokens/resolveInteractive
|
|
|
5
5
|
const require_Icon = require('../../components/Icon/Icon.cjs');
|
|
6
6
|
const require_scope = require('../scope.cjs');
|
|
7
7
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
8
|
-
let react_aria_components = require("react-aria-components");
|
|
9
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let react_aria_components = require("react-aria-components");
|
|
10
10
|
let react = require("react");
|
|
11
11
|
react = require_runtime.__toESM(react);
|
|
12
12
|
|
|
@@ -187,7 +187,7 @@ var AccordionTrigger = ({
|
|
|
187
187
|
alignItems: "center",
|
|
188
188
|
justifyContent: "space-between",
|
|
189
189
|
gap: _ttoss_fsl_theme_vars.vars.spacing.gap.inline.sm,
|
|
190
|
-
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit
|
|
190
|
+
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit,
|
|
191
191
|
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
192
192
|
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
193
193
|
border: "none",
|
|
@@ -256,14 +256,19 @@ var AccordionPanel = ({
|
|
|
256
256
|
"data-scope": "accordion",
|
|
257
257
|
"data-part": "content",
|
|
258
258
|
style: {
|
|
259
|
-
boxSizing: "border-box"
|
|
260
|
-
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
261
|
-
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
262
|
-
backgroundColor: c?.background?.default,
|
|
263
|
-
color: c?.text?.default,
|
|
264
|
-
..._ttoss_fsl_theme_vars.vars.text.body.md
|
|
259
|
+
boxSizing: "border-box"
|
|
265
260
|
},
|
|
266
|
-
children
|
|
261
|
+
children: /* @__PURE__ */(0, react_jsx_runtime.jsx)("div", {
|
|
262
|
+
style: {
|
|
263
|
+
boxSizing: "border-box",
|
|
264
|
+
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
265
|
+
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
266
|
+
backgroundColor: c?.background?.default,
|
|
267
|
+
color: c?.text?.default,
|
|
268
|
+
..._ttoss_fsl_theme_vars.vars.text.body.md
|
|
269
|
+
},
|
|
270
|
+
children
|
|
271
|
+
})
|
|
267
272
|
});
|
|
268
273
|
};
|
|
269
274
|
AccordionPanel.displayName = accordionPanelMeta.displayName;
|
|
@@ -4,8 +4,8 @@ import { resolveInteractiveStyle } from "../../tokens/resolveInteractiveStyle.mj
|
|
|
4
4
|
import { Icon } from "../../components/Icon/Icon.mjs";
|
|
5
5
|
import { createCompositeScope } from "../scope.mjs";
|
|
6
6
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
7
|
-
import { Button, Disclosure, DisclosureGroup, DisclosurePanel, DisclosureStateContext, Heading } from "react-aria-components";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { Button, Disclosure, DisclosureGroup, DisclosurePanel, DisclosureStateContext, Heading } from "react-aria-components";
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/composites/Accordion/Accordion.tsx
|
|
@@ -185,7 +185,7 @@ var AccordionTrigger = ({
|
|
|
185
185
|
alignItems: "center",
|
|
186
186
|
justifyContent: "space-between",
|
|
187
187
|
gap: vars.spacing.gap.inline.sm,
|
|
188
|
-
minHeight: vars.sizing.hit
|
|
188
|
+
minHeight: vars.sizing.hit,
|
|
189
189
|
paddingBlock: vars.spacing.inset.control.md,
|
|
190
190
|
paddingInline: vars.spacing.inset.control.md,
|
|
191
191
|
border: "none",
|
|
@@ -254,14 +254,19 @@ var AccordionPanel = ({
|
|
|
254
254
|
"data-scope": "accordion",
|
|
255
255
|
"data-part": "content",
|
|
256
256
|
style: {
|
|
257
|
-
boxSizing: "border-box"
|
|
258
|
-
paddingBlock: vars.spacing.inset.control.md,
|
|
259
|
-
paddingInline: vars.spacing.inset.control.md,
|
|
260
|
-
backgroundColor: c?.background?.default,
|
|
261
|
-
color: c?.text?.default,
|
|
262
|
-
...vars.text.body.md
|
|
257
|
+
boxSizing: "border-box"
|
|
263
258
|
},
|
|
264
|
-
children
|
|
259
|
+
children: /* @__PURE__ */jsx("div", {
|
|
260
|
+
style: {
|
|
261
|
+
boxSizing: "border-box",
|
|
262
|
+
paddingBlock: vars.spacing.inset.control.md,
|
|
263
|
+
paddingInline: vars.spacing.inset.control.md,
|
|
264
|
+
backgroundColor: c?.background?.default,
|
|
265
|
+
color: c?.text?.default,
|
|
266
|
+
...vars.text.body.md
|
|
267
|
+
},
|
|
268
|
+
children
|
|
269
|
+
})
|
|
265
270
|
});
|
|
266
271
|
};
|
|
267
272
|
AccordionPanel.displayName = accordionPanelMeta.displayName;
|
|
@@ -3,8 +3,8 @@ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
|
3
3
|
const require_scope = require('../scope.cjs');
|
|
4
4
|
const require_escapeHatch = require('../../tokens/escapeHatch.cjs');
|
|
5
5
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
6
|
-
let react_aria_components = require("react-aria-components");
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
let react_aria_components = require("react-aria-components");
|
|
8
8
|
let react = require("react");
|
|
9
9
|
react = require_runtime.__toESM(react);
|
|
10
10
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { createPresenceScope } from "../scope.mjs";
|
|
3
3
|
import { fslVar } from "../../tokens/escapeHatch.mjs";
|
|
4
4
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
5
|
-
import { Dialog, DialogTrigger, Heading, Modal, ModalOverlay } from "react-aria-components";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Dialog, DialogTrigger, Heading, Modal, ModalOverlay } from "react-aria-components";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
|
|
9
9
|
//#region src/composites/Dialog/Dialog.tsx
|
|
@@ -5,8 +5,8 @@ const require_resolveInteractiveStyle = require('../../tokens/resolveInteractive
|
|
|
5
5
|
const require_Icon = require('../../components/Icon/Icon.cjs');
|
|
6
6
|
const require_scope = require('../scope.cjs');
|
|
7
7
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
8
|
-
let react_aria_components = require("react-aria-components");
|
|
9
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let react_aria_components = require("react-aria-components");
|
|
10
10
|
let react = require("react");
|
|
11
11
|
react = require_runtime.__toESM(react);
|
|
12
12
|
|
|
@@ -124,7 +124,7 @@ var DisclosureTrigger = ({
|
|
|
124
124
|
alignItems: "center",
|
|
125
125
|
justifyContent: "space-between",
|
|
126
126
|
gap: _ttoss_fsl_theme_vars.vars.spacing.gap.inline.sm,
|
|
127
|
-
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit
|
|
127
|
+
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit,
|
|
128
128
|
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
129
129
|
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
130
130
|
border: "none",
|
|
@@ -193,14 +193,19 @@ var DisclosurePanel = ({
|
|
|
193
193
|
"data-scope": "disclosure",
|
|
194
194
|
"data-part": "content",
|
|
195
195
|
style: {
|
|
196
|
-
boxSizing: "border-box"
|
|
197
|
-
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
198
|
-
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
199
|
-
backgroundColor: c?.background?.default,
|
|
200
|
-
color: c?.text?.default,
|
|
201
|
-
..._ttoss_fsl_theme_vars.vars.text.body.md
|
|
196
|
+
boxSizing: "border-box"
|
|
202
197
|
},
|
|
203
|
-
children
|
|
198
|
+
children: /* @__PURE__ */(0, react_jsx_runtime.jsx)("div", {
|
|
199
|
+
style: {
|
|
200
|
+
boxSizing: "border-box",
|
|
201
|
+
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
202
|
+
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
203
|
+
backgroundColor: c?.background?.default,
|
|
204
|
+
color: c?.text?.default,
|
|
205
|
+
..._ttoss_fsl_theme_vars.vars.text.body.md
|
|
206
|
+
},
|
|
207
|
+
children
|
|
208
|
+
})
|
|
204
209
|
});
|
|
205
210
|
};
|
|
206
211
|
DisclosurePanel.displayName = disclosurePanelMeta.displayName;
|
|
@@ -4,8 +4,8 @@ import { resolveInteractiveStyle } from "../../tokens/resolveInteractiveStyle.mj
|
|
|
4
4
|
import { Icon } from "../../components/Icon/Icon.mjs";
|
|
5
5
|
import { createCompositeScope } from "../scope.mjs";
|
|
6
6
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
7
|
-
import { Button, Disclosure, DisclosurePanel, DisclosureStateContext, Heading } from "react-aria-components";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { Button, Disclosure, DisclosurePanel, DisclosureStateContext, Heading } from "react-aria-components";
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
|
|
11
11
|
//#region src/composites/Disclosure/Disclosure.tsx
|
|
@@ -122,7 +122,7 @@ var DisclosureTrigger = ({
|
|
|
122
122
|
alignItems: "center",
|
|
123
123
|
justifyContent: "space-between",
|
|
124
124
|
gap: vars.spacing.gap.inline.sm,
|
|
125
|
-
minHeight: vars.sizing.hit
|
|
125
|
+
minHeight: vars.sizing.hit,
|
|
126
126
|
paddingBlock: vars.spacing.inset.control.md,
|
|
127
127
|
paddingInline: vars.spacing.inset.control.md,
|
|
128
128
|
border: "none",
|
|
@@ -191,14 +191,19 @@ var DisclosurePanel$1 = ({
|
|
|
191
191
|
"data-scope": "disclosure",
|
|
192
192
|
"data-part": "content",
|
|
193
193
|
style: {
|
|
194
|
-
boxSizing: "border-box"
|
|
195
|
-
paddingBlock: vars.spacing.inset.control.md,
|
|
196
|
-
paddingInline: vars.spacing.inset.control.md,
|
|
197
|
-
backgroundColor: c?.background?.default,
|
|
198
|
-
color: c?.text?.default,
|
|
199
|
-
...vars.text.body.md
|
|
194
|
+
boxSizing: "border-box"
|
|
200
195
|
},
|
|
201
|
-
children
|
|
196
|
+
children: /* @__PURE__ */jsx("div", {
|
|
197
|
+
style: {
|
|
198
|
+
boxSizing: "border-box",
|
|
199
|
+
paddingBlock: vars.spacing.inset.control.md,
|
|
200
|
+
paddingInline: vars.spacing.inset.control.md,
|
|
201
|
+
backgroundColor: c?.background?.default,
|
|
202
|
+
color: c?.text?.default,
|
|
203
|
+
...vars.text.body.md
|
|
204
|
+
},
|
|
205
|
+
children
|
|
206
|
+
})
|
|
202
207
|
});
|
|
203
208
|
};
|
|
204
209
|
DisclosurePanel$1.displayName = disclosurePanelMeta.displayName;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const require_Button = require('../../components/Button/Button.cjs');
|
|
3
3
|
const require_scope = require('../scope.cjs');
|
|
4
4
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
5
|
-
let react_aria_components = require("react-aria-components");
|
|
6
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
let react_aria_components = require("react-aria-components");
|
|
7
7
|
|
|
8
8
|
//#region src/composites/Form/Form.tsx
|
|
9
9
|
var formScope = require_scope.createPresenceScope("Form");
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { Button as Button$1 } from "../../components/Button/Button.mjs";
|
|
3
3
|
import { createPresenceScope } from "../scope.mjs";
|
|
4
4
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
5
|
-
import { Form } from "react-aria-components";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Form } from "react-aria-components";
|
|
7
7
|
|
|
8
8
|
//#region src/composites/Form/Form.tsx
|
|
9
9
|
var formScope = createPresenceScope("Form");
|
|
@@ -4,8 +4,8 @@ const require_resolveInteractiveStyle = require('../../tokens/resolveInteractive
|
|
|
4
4
|
const require_scope = require('../scope.cjs');
|
|
5
5
|
const require_escapeHatch = require('../../tokens/escapeHatch.cjs');
|
|
6
6
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
7
|
-
let react_aria_components = require("react-aria-components");
|
|
8
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
let react_aria_components = require("react-aria-components");
|
|
9
9
|
|
|
10
10
|
//#region src/composites/Menu/Menu.tsx
|
|
11
11
|
var MENU_MIN_WIDTH_DEFAULT = "12rem";
|
|
@@ -156,7 +156,7 @@ var MenuItem = ({
|
|
|
156
156
|
alignItems: "center",
|
|
157
157
|
cursor: isDisabled ? "not-allowed" : "pointer",
|
|
158
158
|
borderRadius: _ttoss_fsl_theme_vars.vars.radii.control,
|
|
159
|
-
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit
|
|
159
|
+
minHeight: _ttoss_fsl_theme_vars.vars.sizing.hit,
|
|
160
160
|
paddingBlock: _ttoss_fsl_theme_vars.vars.spacing.inset.control.sm,
|
|
161
161
|
paddingInline: _ttoss_fsl_theme_vars.vars.spacing.inset.control.md,
|
|
162
162
|
..._ttoss_fsl_theme_vars.vars.text.label.md,
|
|
@@ -4,8 +4,8 @@ import { resolveInteractiveStyle } from "../../tokens/resolveInteractiveStyle.mj
|
|
|
4
4
|
import { createPresenceScope } from "../scope.mjs";
|
|
5
5
|
import { fslVar } from "../../tokens/escapeHatch.mjs";
|
|
6
6
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
7
|
-
import { Menu, MenuItem, MenuTrigger, Popover } from "react-aria-components";
|
|
8
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
import { Menu, MenuItem, MenuTrigger, Popover } from "react-aria-components";
|
|
9
9
|
|
|
10
10
|
//#region src/composites/Menu/Menu.tsx
|
|
11
11
|
var MENU_MIN_WIDTH_DEFAULT = "12rem";
|
|
@@ -156,7 +156,7 @@ var MenuItem$1 = ({
|
|
|
156
156
|
alignItems: "center",
|
|
157
157
|
cursor: isDisabled ? "not-allowed" : "pointer",
|
|
158
158
|
borderRadius: vars.radii.control,
|
|
159
|
-
minHeight: vars.sizing.hit
|
|
159
|
+
minHeight: vars.sizing.hit,
|
|
160
160
|
paddingBlock: vars.spacing.inset.control.sm,
|
|
161
161
|
paddingInline: vars.spacing.inset.control.md,
|
|
162
162
|
...vars.text.label.md,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
const require_escapeHatch = require('../../tokens/escapeHatch.cjs');
|
|
3
3
|
let _ttoss_fsl_theme_vars = require("@ttoss/fsl-theme/vars");
|
|
4
|
-
let react_aria_components = require("react-aria-components");
|
|
5
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
let react_aria_components = require("react-aria-components");
|
|
6
6
|
|
|
7
7
|
//#region src/composites/Popover/Popover.tsx
|
|
8
8
|
var POPOVER_MAX_WIDTH_DEFAULT = "min(320px, 90vw)";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
2
|
import { fslVar } from "../../tokens/escapeHatch.mjs";
|
|
3
3
|
import { vars } from "@ttoss/fsl-theme/vars";
|
|
4
|
-
import { DialogTrigger, Popover } from "react-aria-components";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { DialogTrigger, Popover } from "react-aria-components";
|
|
6
6
|
|
|
7
7
|
//#region src/composites/Popover/Popover.tsx
|
|
8
8
|
var POPOVER_MAX_WIDTH_DEFAULT = "min(320px, 90vw)";
|