@orianatech/pire 0.4.0 → 0.6.0
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/NOTICE +19 -0
- package/dist/components/core/Heading.d.cts +15 -0
- package/dist/components/core/Heading.d.ts +16 -0
- package/dist/components/core/Heading.d.ts.map +1 -0
- package/dist/components/core/Link.d.cts +13 -0
- package/dist/components/core/Link.d.ts +14 -0
- package/dist/components/core/Link.d.ts.map +1 -0
- package/dist/components/core/Separator.d.cts +12 -0
- package/dist/components/core/Separator.d.ts +13 -0
- package/dist/components/core/Separator.d.ts.map +1 -0
- package/dist/components/core/Text.d.cts +29 -0
- package/dist/components/core/Text.d.ts +30 -0
- package/dist/components/core/Text.d.ts.map +1 -0
- package/dist/components/data/DataTable.d.ts.map +1 -1
- package/dist/components/data/FilterBar.d.cts +7 -1
- package/dist/components/data/FilterBar.d.ts +7 -1
- package/dist/components/data/FilterBar.d.ts.map +1 -1
- package/dist/components/feedback/Dialog.d.ts.map +1 -1
- package/dist/components/feedback/InlineMessage.d.ts.map +1 -1
- package/dist/components/feedback/Toast.d.ts.map +1 -1
- package/dist/components/forms/ComboBox.d.ts.map +1 -1
- package/dist/components/forms/DatePicker.d.ts.map +1 -1
- package/dist/components/forms/MultiComboBox.d.ts.map +1 -1
- package/dist/components/forms/NumberField.d.ts.map +1 -1
- package/dist/components/forms/ValueHelpField.d.ts.map +1 -1
- package/dist/components/navigation/Menu.d.cts +39 -0
- package/dist/components/navigation/Menu.d.ts +40 -0
- package/dist/components/navigation/Menu.d.ts.map +1 -0
- package/dist/components/navigation/Pagination.d.ts.map +1 -1
- package/dist/components/navigation/SideNav.d.ts.map +1 -1
- package/dist/components/patterns/SidePanel.d.ts.map +1 -1
- package/dist/components/patterns/ValueHelpDialog.d.ts.map +1 -1
- package/dist/components.css +67 -0
- package/dist/fonts/LICENSE-jetbrains-mono.txt +93 -0
- package/dist/fonts/LICENSE-public-sans.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-600-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-400-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-500-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-600-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-700-normal.woff2 +0 -0
- package/dist/i18n/PireIntlProvider.d.cts +21 -0
- package/dist/i18n/PireIntlProvider.d.ts +22 -0
- package/dist/i18n/PireIntlProvider.d.ts.map +1 -0
- package/dist/i18n/messages.d.cts +64 -0
- package/dist/i18n/messages.d.ts +65 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/index.cjs +674 -399
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +628 -359
- package/dist/index.js.map +1 -1
- package/dist/tokens/fonts.css +20 -15
- package/dist/tokens/typography.css +5 -0
- package/package.json +5 -2
package/NOTICE
CHANGED
|
@@ -5,3 +5,22 @@ This product includes software developed at Oriana Tech.
|
|
|
5
5
|
|
|
6
6
|
Licensed under the Apache License, Version 2.0. You may obtain a copy of the
|
|
7
7
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
--------------------------------------------------------------------------------
|
|
10
|
+
THIRD-PARTY FONT SOFTWARE
|
|
11
|
+
|
|
12
|
+
This package redistributes the font binaries under dist/fonts/. They are not
|
|
13
|
+
covered by the Apache License above; each is licensed under the SIL Open Font
|
|
14
|
+
License, Version 1.1, whose full text ships alongside them.
|
|
15
|
+
|
|
16
|
+
Public Sans
|
|
17
|
+
Copyright (c) 2015 Impallari Type; Copyright (c) 2019 United States Government
|
|
18
|
+
SIL Open Font License 1.1 - dist/fonts/LICENSE-public-sans.txt
|
|
19
|
+
|
|
20
|
+
JetBrains Mono
|
|
21
|
+
Copyright (c) 2020 JetBrains s.r.o.
|
|
22
|
+
SIL Open Font License 1.1 - dist/fonts/LICENSE-jetbrains-mono.txt
|
|
23
|
+
|
|
24
|
+
Both are redistributed unmodified. They are aliased only at the CSS
|
|
25
|
+
`font-family` level, to "Pire Sans" and "Pire Mono"; the binaries themselves are
|
|
26
|
+
untouched, so the Reserved Font Name clause is not engaged.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TextColor } from './Text.cjs';
|
|
3
|
+
export interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, 'color'> {
|
|
4
|
+
/** Semantic level. Picks the h1–h4 element and defines the document outline. */
|
|
5
|
+
level?: 1 | 2 | 3 | 4;
|
|
6
|
+
/** Visual scale, independent of `level`. Set it when a correct outline needs a different size. */
|
|
7
|
+
size?: 'display' | 'h1' | 'h2' | 'h3' | 'h4';
|
|
8
|
+
/** `secondary` for a supporting title. Same vocabulary as `Text`. */
|
|
9
|
+
color?: TextColor;
|
|
10
|
+
/** `true` clamps to one line; a number clamps to that many. */
|
|
11
|
+
truncate?: boolean | number;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
/** Section and page titles. Built on React Aria's `Heading` so a `Dialog` picks it up as its name. */
|
|
15
|
+
export declare function Heading({ level, size, color, truncate, className, style, ...rest }: HeadingProps): React.JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { TextColor } from './Text.js';
|
|
3
|
+
export interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, 'color'> {
|
|
4
|
+
/** Semantic level. Picks the h1–h4 element and defines the document outline. */
|
|
5
|
+
level?: 1 | 2 | 3 | 4;
|
|
6
|
+
/** Visual scale, independent of `level`. Set it when a correct outline needs a different size. */
|
|
7
|
+
size?: 'display' | 'h1' | 'h2' | 'h3' | 'h4';
|
|
8
|
+
/** `secondary` for a supporting title. Same vocabulary as `Text`. */
|
|
9
|
+
color?: TextColor;
|
|
10
|
+
/** `true` clamps to one line; a number clamps to that many. */
|
|
11
|
+
truncate?: boolean | number;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
/** Section and page titles. Built on React Aria's `Heading` so a `Dialog` picks it up as its name. */
|
|
15
|
+
export declare function Heading({ level, size, color, truncate, className, style, ...rest }: HeadingProps): React.JSX.Element;
|
|
16
|
+
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/core/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC3F,gFAAgF;IAChF,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACtB,kGAAkG;IAClG,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7C,qEAAqE;IACrE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,sGAAsG;AACtG,wBAAgB,OAAO,CAAC,EACtB,KAAS,EAAE,IAAI,EAAE,KAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EACxE,EAAE,YAAY,qBAiBd"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type LinkProps as AriaLinkProps } from 'react-aria-components';
|
|
3
|
+
import type { TextSize } from './Text.cjs';
|
|
4
|
+
export interface LinkProps extends Omit<AriaLinkProps, 'className' | 'children'> {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** Inherits the surrounding size by default. Set it when the link stands alone. */
|
|
7
|
+
size?: TextSize;
|
|
8
|
+
/** Adds the launch glyph and `rel="noopener noreferrer"`. Does not set `target`. */
|
|
9
|
+
isExternal?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/** A real anchor with the system's link styling. Honours a `RouterProvider` when the app supplies one. */
|
|
13
|
+
export declare function Link({ children, size, isExternal, className, rel, ...rest }: LinkProps): React.JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type LinkProps as AriaLinkProps } from 'react-aria-components';
|
|
3
|
+
import type { TextSize } from './Text.js';
|
|
4
|
+
export interface LinkProps extends Omit<AriaLinkProps, 'className' | 'children'> {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
/** Inherits the surrounding size by default. Set it when the link stands alone. */
|
|
7
|
+
size?: TextSize;
|
|
8
|
+
/** Adds the launch glyph and `rel="noopener noreferrer"`. Does not set `target`. */
|
|
9
|
+
isExternal?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/** A real anchor with the system's link styling. Honours a `RouterProvider` when the app supplies one. */
|
|
13
|
+
export declare function Link({ children, size, isExternal, className, rel, ...rest }: LinkProps): React.JSX.Element;
|
|
14
|
+
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/components/core/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAoB,KAAK,SAAS,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAG1F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,aAAa,EAAE,WAAW,GAAG,UAAU,CAAC;IAC9E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mFAAmF;IACnF,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,oFAAoF;IACpF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,0GAA0G;AAC1G,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,qBAatF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type SeparatorProps as AriaSeparatorProps } from 'react-aria-components';
|
|
2
|
+
export interface SeparatorProps extends Omit<AriaSeparatorProps, 'className'> {
|
|
3
|
+
/** `vertical` to divide actions inside a toolbar. */
|
|
4
|
+
orientation?: 'horizontal' | 'vertical';
|
|
5
|
+
/** `subtle` divides inside a card without chopping it up. */
|
|
6
|
+
emphasis?: 'default' | 'subtle';
|
|
7
|
+
/** `none` when the container already provides the rhythm. */
|
|
8
|
+
spacing?: 'none' | 'sm' | 'md';
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/** A page-level divider. For rules inside a menu use `MenuSeparator`, which follows the menu's rhythm. */
|
|
12
|
+
export declare function Separator({ orientation, emphasis, spacing, className, ...rest }: SeparatorProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type SeparatorProps as AriaSeparatorProps } from 'react-aria-components';
|
|
2
|
+
export interface SeparatorProps extends Omit<AriaSeparatorProps, 'className'> {
|
|
3
|
+
/** `vertical` to divide actions inside a toolbar. */
|
|
4
|
+
orientation?: 'horizontal' | 'vertical';
|
|
5
|
+
/** `subtle` divides inside a card without chopping it up. */
|
|
6
|
+
emphasis?: 'default' | 'subtle';
|
|
7
|
+
/** `none` when the container already provides the rhythm. */
|
|
8
|
+
spacing?: 'none' | 'sm' | 'md';
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/** A page-level divider. For rules inside a menu use `MenuSeparator`, which follows the menu's rhythm. */
|
|
12
|
+
export declare function Separator({ orientation, emphasis, spacing, className, ...rest }: SeparatorProps): import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../src/components/core/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,cAAc,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG9G,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,CAAC;IAC3E,qDAAqD;IACrD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAChC,6DAA6D;IAC7D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,0GAA0G;AAC1G,wBAAgB,SAAS,CAAC,EACxB,WAA0B,EAAE,QAAoB,EAAE,OAAc,EAAE,SAAS,EAAE,GAAG,IAAI,EACrF,EAAE,cAAc,+BAWhB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
/** Colour hierarchy, named after the `--text-*` token each value resolves to. */
|
|
3
|
+
export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse';
|
|
4
|
+
/** Typographic scale, named after the `--type-*` tokens. */
|
|
5
|
+
export type TextSize = 'body' | 'body-lg' | 'caption' | 'micro';
|
|
6
|
+
export interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
|
|
7
|
+
/** Typographic scale. `body` covers most copy. */
|
|
8
|
+
size?: TextSize;
|
|
9
|
+
/** `secondary` for supporting copy, `tertiary` for metadata. */
|
|
10
|
+
color?: TextColor;
|
|
11
|
+
/** Raises weight without changing size. Same effect as wrapping in `<Strong>`. */
|
|
12
|
+
weight?: 'regular' | 'strong';
|
|
13
|
+
/** Tabular mono, right-aligned. Use for every amount, quantity and ID. */
|
|
14
|
+
numeric?: boolean;
|
|
15
|
+
/** Uppercase label for a block. Replaces the `.pire-eyebrow` helper. */
|
|
16
|
+
eyebrow?: boolean;
|
|
17
|
+
/** `true` clamps to one line; a number clamps to that many. */
|
|
18
|
+
truncate?: boolean | number;
|
|
19
|
+
/** `span` when inline, `div` when wrapping, `dd`/`li` inside lists. */
|
|
20
|
+
elementType?: 'p' | 'span' | 'div' | 'dd' | 'li';
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
/** Body copy, captions, metadata and eyebrows — everything that is text but not a heading. */
|
|
24
|
+
export declare function Text({ size, color, weight, numeric, eyebrow, truncate, elementType: Wrapper, className, style, ...rest }: TextProps): React.JSX.Element;
|
|
25
|
+
export interface StrongProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
/** Inline emphasis. Sugar over `<Text weight="strong" elementType="span">`. */
|
|
29
|
+
export declare function Strong({ className, ...rest }: StrongProps): React.JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
/** Colour hierarchy, named after the `--text-*` token each value resolves to. */
|
|
3
|
+
export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse';
|
|
4
|
+
/** Typographic scale, named after the `--type-*` tokens. */
|
|
5
|
+
export type TextSize = 'body' | 'body-lg' | 'caption' | 'micro';
|
|
6
|
+
export interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
|
|
7
|
+
/** Typographic scale. `body` covers most copy. */
|
|
8
|
+
size?: TextSize;
|
|
9
|
+
/** `secondary` for supporting copy, `tertiary` for metadata. */
|
|
10
|
+
color?: TextColor;
|
|
11
|
+
/** Raises weight without changing size. Same effect as wrapping in `<Strong>`. */
|
|
12
|
+
weight?: 'regular' | 'strong';
|
|
13
|
+
/** Tabular mono, right-aligned. Use for every amount, quantity and ID. */
|
|
14
|
+
numeric?: boolean;
|
|
15
|
+
/** Uppercase label for a block. Replaces the `.pire-eyebrow` helper. */
|
|
16
|
+
eyebrow?: boolean;
|
|
17
|
+
/** `true` clamps to one line; a number clamps to that many. */
|
|
18
|
+
truncate?: boolean | number;
|
|
19
|
+
/** `span` when inline, `div` when wrapping, `dd`/`li` inside lists. */
|
|
20
|
+
elementType?: 'p' | 'span' | 'div' | 'dd' | 'li';
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
/** Body copy, captions, metadata and eyebrows — everything that is text but not a heading. */
|
|
24
|
+
export declare function Text({ size, color, weight, numeric, eyebrow, truncate, elementType: Wrapper, className, style, ...rest }: TextProps): React.JSX.Element;
|
|
25
|
+
export interface StrongProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
/** Inline emphasis. Sugar over `<Text weight="strong" elementType="span">`. */
|
|
29
|
+
export declare function Strong({ className, ...rest }: StrongProps): React.JSX.Element;
|
|
30
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/core/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,iFAAiF;AACjF,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AAEtF,4DAA4D;AAC5D,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAGhE,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IACjF,kDAAkD;IAClD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,gEAAgE;IAChE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kFAAkF;IAClF,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9B,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,uEAAuE;IACvE,WAAW,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,8FAA8F;AAC9F,wBAAgB,IAAI,CAAC,EACnB,IAAa,EAAE,KAAiB,EAAE,MAAkB,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAChF,WAAW,EAAE,OAAa,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EACtD,EAAE,SAAS,qBAmBX;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,+EAA+E;AAC/E,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,qBAEzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/components/data/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../src/components/data/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAQpC,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,wFAAwF;IACxF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CACtC;AAED,MAAM,WAAW,aAAa;IAAG,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,KAAK,GAAG,MAAM,CAAA;CAAE;AAEnE,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GAAG,GAAG;IACrE,+CAA+C;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,oEAAoE;IACpE,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,aAAa,CAAC;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IAC1D,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;2FAC2F;AAC3F,wBAAgB,SAAS,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAmB,EAC/F,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,YAAmB,EAC7F,UAAoD,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,qBA0DrG"}
|
|
@@ -15,5 +15,11 @@ export interface FilterBarProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
15
15
|
/** e.g. "1,284 orders". Announced when it changes. */
|
|
16
16
|
resultLabel?: React.ReactNode;
|
|
17
17
|
actions?: React.ReactNode;
|
|
18
|
+
/** Overrides the dictionary's `filterBarGo` for this bar only. */
|
|
19
|
+
goLabel?: string;
|
|
20
|
+
/** Overrides the dictionary's `filterBarClearAll` for this bar only. */
|
|
21
|
+
clearAllLabel?: string;
|
|
22
|
+
/** Overrides the dictionary's `filterBarLabel` — the landmark name. */
|
|
23
|
+
'aria-label'?: string;
|
|
18
24
|
}
|
|
19
|
-
export declare function FilterBar({ children, activeFilters, onRemoveFilter, onClear, onGo, resultLabel, actions, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
25
|
+
export declare function FilterBar({ children, activeFilters, onRemoveFilter, onClear, onGo, resultLabel, actions, goLabel, clearAllLabel, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
@@ -15,6 +15,12 @@ export interface FilterBarProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
15
15
|
/** e.g. "1,284 orders". Announced when it changes. */
|
|
16
16
|
resultLabel?: React.ReactNode;
|
|
17
17
|
actions?: React.ReactNode;
|
|
18
|
+
/** Overrides the dictionary's `filterBarGo` for this bar only. */
|
|
19
|
+
goLabel?: string;
|
|
20
|
+
/** Overrides the dictionary's `filterBarClearAll` for this bar only. */
|
|
21
|
+
clearAllLabel?: string;
|
|
22
|
+
/** Overrides the dictionary's `filterBarLabel` — the landmark name. */
|
|
23
|
+
'aria-label'?: string;
|
|
18
24
|
}
|
|
19
|
-
export declare function FilterBar({ children, activeFilters, onRemoveFilter, onClear, onGo, resultLabel, actions, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
25
|
+
export declare function FilterBar({ children, activeFilters, onRemoveFilter, onClear, onGo, resultLabel, actions, goLabel, clearAllLabel, className, ...rest }: FilterBarProps): React.JSX.Element;
|
|
20
26
|
//# sourceMappingURL=FilterBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../src/components/data/FilterBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../src/components/data/FilterBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,YAAY;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AAE3D,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACvE,kEAAkE;IAClE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,gDAAgD;IAChD,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,sDAAsD;IACtD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,aAAkB,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EACrF,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,qBA2BnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mEAAmE;IACnE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,oEAAoE;IACpE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,yFAAyF;IACzF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;0DAC0D;AAC1D,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EACvF,IAAW,EAAE,aAAoB,EAAE,SAAgB,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,WAAW,qBAuBrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineMessage.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/InlineMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InlineMessage.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/InlineMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAKnE,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAC7F,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,mDAAmD;IACnD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,yFAAyF;AACzF,wBAAgB,aAAa,CAAC,EAAE,IAAa,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,qBAexH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAMnD,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,eAAe,GAAG,cAAc,CAAC;CAC7C;AAED;0DAC0D;AAC1D,wBAAgB,KAAK,CAAC,EAAE,IAAgB,EAAE,OAAO,EAAE,QAA0B,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,qBAUxH;AAED,MAAM,WAAW,SAAS;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,WAAW,CAAC;IAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE;AAEzG,UAAU,iBAAiB;IAAG,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,MAAM,CAAC;IAAC,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE;AAG1G,yDAAyD;AACzD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,OAAc,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,qBAwB3G;AAED,qGAAqG;AACrG,wBAAgB,QAAQ,sBAIvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBox.d.ts","sourceRoot":"","sources":["../../../src/components/forms/ComboBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ComboBox.d.ts","sourceRoot":"","sources":["../../../src/components/forms/ComboBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,cAAc;IAAG,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE;AAE1G,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C;;;;;;;;;;;;OAYG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,cAAc,CAAC,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAKD;0GAC0G;AAC1G,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAY,EAC1F,WAAW,EAAE,YAAY,EAAE,IAAW,EAAE,SAAgB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,qBAkCrG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/forms/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/forms/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAKvD,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uFAAuF;IACvF,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,OAAO,CAAC;IACjD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;;oCAEoC;AACpC,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,IAAW,EAAE,SAAgB,EAC1F,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,qBA6C7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiComboBox.d.ts","sourceRoot":"","sources":["../../../src/components/forms/MultiComboBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiComboBox.d.ts","sourceRoot":"","sources":["../../../src/components/forms/MultiComboBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACtC;;;;;;;;;;OAUG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,cAAc,CAAC,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAKD;;;;;;;;;;;;;;;;;;;;kEAoBkE;AAClE,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAY,EAC/F,WAAW,EAAE,YAAY,EAAE,iBAAiB,EAAE,IAAW,EACzD,SAAgB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,qBAkHlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/components/forms/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../src/components/forms/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;2FACuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sGAAsG;IACtG,aAAa,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;IACzC,uDAAuD;IACvD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;4DAC4D;AAC5D,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,IAAW,EAC9F,SAAgB,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,qBAwBhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueHelpField.d.ts","sourceRoot":"","sources":["../../../src/components/forms/ValueHelpField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ValueHelpField.d.ts","sourceRoot":"","sources":["../../../src/components/forms/ValueHelpField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIzD,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GAAG,GAAG;IAC1E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,kCAAkC;IAClC,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACnC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;IAC5B,yEAAyE;IACzE,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,OAAO,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oEAAoE;IACpE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAMD;8FAC8F;AAC9F,wBAAgB,cAAc,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAsB,EAChH,IAAS,EAAE,OAAY,EAAE,WAAW,EAAE,WAA4B,EAAE,WAAW,EAAE,YAAY,EAC7F,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,qBAsB3F"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type MenuProps as AriaMenuProps, type MenuItemProps as AriaMenuItemProps } from 'react-aria-components';
|
|
3
|
+
export interface MenuProps<T extends object = object> extends Omit<AriaMenuProps<T>, 'className' | 'style'> {
|
|
4
|
+
/** Accessible name when the trigger does not supply one. `MenuTrigger` usually does. */
|
|
5
|
+
'aria-label'?: string;
|
|
6
|
+
/** Floor for the panel width. The panel sizes to its content, not to the trigger. */
|
|
7
|
+
minWidth?: number | string;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** The surface inside a `MenuTrigger`. Wrap it in a `Popover`, the way `Select` does. */
|
|
12
|
+
export declare function Menu<T extends object = object>({ minWidth, className, style, ...rest }: MenuProps<T>): React.JSX.Element;
|
|
13
|
+
export interface MenuItemProps extends Omit<AriaMenuItemProps, 'className' | 'children'> {
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/** Icon slug before the label. Same vocabulary as `Button.icon`. */
|
|
16
|
+
icon?: string;
|
|
17
|
+
/** Second line, for an action whose effect is not obvious from its label. */
|
|
18
|
+
description?: React.ReactNode;
|
|
19
|
+
/** Keyboard shortcut, right-aligned. Painted only — it registers nothing. */
|
|
20
|
+
shortcut?: string;
|
|
21
|
+
/** `danger` for a destructive action. Put it last, behind a `MenuSeparator`. */
|
|
22
|
+
tone?: 'default' | 'danger';
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/** A single command. Accepts `href`, so navigation items render a real anchor. */
|
|
26
|
+
export declare function MenuItem({ children, icon, description, shortcut, tone, className, ...rest }: MenuItemProps): React.JSX.Element;
|
|
27
|
+
export interface MenuSectionProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
28
|
+
/** Section heading. Rendered as a `Header`, not as a focusable item. */
|
|
29
|
+
title?: React.ReactNode;
|
|
30
|
+
children: React.ReactNode;
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Groups related commands under an optional heading. */
|
|
34
|
+
export declare function MenuSection({ title, children, className, ...rest }: MenuSectionProps): React.JSX.Element;
|
|
35
|
+
export interface MenuSeparatorProps {
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
38
|
+
/** Rule between groups of items, on the menu's rhythm rather than the page's. */
|
|
39
|
+
export declare function MenuSeparator({ className }: MenuSeparatorProps): React.JSX.Element;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type MenuProps as AriaMenuProps, type MenuItemProps as AriaMenuItemProps } from 'react-aria-components';
|
|
3
|
+
export interface MenuProps<T extends object = object> extends Omit<AriaMenuProps<T>, 'className' | 'style'> {
|
|
4
|
+
/** Accessible name when the trigger does not supply one. `MenuTrigger` usually does. */
|
|
5
|
+
'aria-label'?: string;
|
|
6
|
+
/** Floor for the panel width. The panel sizes to its content, not to the trigger. */
|
|
7
|
+
minWidth?: number | string;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** The surface inside a `MenuTrigger`. Wrap it in a `Popover`, the way `Select` does. */
|
|
12
|
+
export declare function Menu<T extends object = object>({ minWidth, className, style, ...rest }: MenuProps<T>): React.JSX.Element;
|
|
13
|
+
export interface MenuItemProps extends Omit<AriaMenuItemProps, 'className' | 'children'> {
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/** Icon slug before the label. Same vocabulary as `Button.icon`. */
|
|
16
|
+
icon?: string;
|
|
17
|
+
/** Second line, for an action whose effect is not obvious from its label. */
|
|
18
|
+
description?: React.ReactNode;
|
|
19
|
+
/** Keyboard shortcut, right-aligned. Painted only — it registers nothing. */
|
|
20
|
+
shortcut?: string;
|
|
21
|
+
/** `danger` for a destructive action. Put it last, behind a `MenuSeparator`. */
|
|
22
|
+
tone?: 'default' | 'danger';
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/** A single command. Accepts `href`, so navigation items render a real anchor. */
|
|
26
|
+
export declare function MenuItem({ children, icon, description, shortcut, tone, className, ...rest }: MenuItemProps): React.JSX.Element;
|
|
27
|
+
export interface MenuSectionProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
28
|
+
/** Section heading. Rendered as a `Header`, not as a focusable item. */
|
|
29
|
+
title?: React.ReactNode;
|
|
30
|
+
children: React.ReactNode;
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Groups related commands under an optional heading. */
|
|
34
|
+
export declare function MenuSection({ title, children, className, ...rest }: MenuSectionProps): React.JSX.Element;
|
|
35
|
+
export interface MenuSeparatorProps {
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
38
|
+
/** Rule between groups of items, on the menu's rhythm rather than the page's. */
|
|
39
|
+
export declare function MenuSeparator({ className }: MenuSeparatorProps): React.JSX.Element;
|
|
40
|
+
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAGL,KAAK,SAAS,IAAI,aAAa,EAAE,KAAK,aAAa,IAAI,iBAAiB,EACzE,MAAM,uBAAuB,CAAC;AAI/B,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAClD,SAAQ,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;IACrD,wFAAwF;IACxF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,yFAAyF;AACzF,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,qBAapG;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,iBAAiB,EAAE,WAAW,GAAG,UAAU,CAAC;IACtF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,kFAAkF;AAClF,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAgB,EAAE,SAAS,EAAE,GAAG,IAAI,EAC5E,EAAE,aAAa,qBAef;AAGD,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IACxF,wEAAwE;IACxE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,yDAAyD;AACzD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,qBAOpF;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iFAAiF;AACjF,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,EAAE,kBAAkB,qBAE9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAQ,EAAE,QAAa,EAAE,KAAS,EAAE,YAAY,EAAE,gBAAgB,EAC7F,SAAyB,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,eAAe,qBA2B/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;8EAI8E;AAC9E,MAAM,WAAW,gBAAgB;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE;AAE/E,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;wEAGoE;IACpE,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,YAAY;IAAG,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,WAAW,EAAE,CAAA;CAAE;AAEtE,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACvF,uDAAuD;IACvD,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;mGAC+F;IAC/F,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;sEACkE;IAClE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;mCAE+B;IAC/B,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC3C;2CACuC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAaD;;;;;;;;;;;;;;;;;;;;;;;;;qGAyBqG;AACrG,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,EAAE,gBAAgB,EAClG,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,YAAY,qBAgHtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,gFAAgF;AAChF,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,cAAc,qBAoBvH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueHelpDialog.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/ValueHelpDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ValueHelpDialog.d.ts","sourceRoot":"","sources":["../../../src/components/patterns/ValueHelpDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpE,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GAAG,GAAG;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,sDAAsD;IACtD,OAAO,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,2FAA2F;AAC3F,wBAAgB,eAAe,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAAE,EAAE,MAAM,EAAE,KAAyB,EACpG,OAAY,EAAE,IAAS,EAAE,iBAA0C,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,oBAAoB,CAAC,CAAC,CAAC,qBAqB9H"}
|
package/dist/components.css
CHANGED
|
@@ -414,6 +414,73 @@
|
|
|
414
414
|
.pire-calendar-cell[data-disabled],.pire-calendar-cell[data-unavailable]{color:var(--text-disabled);cursor:not-allowed;text-decoration:line-through}
|
|
415
415
|
.pire-calendar-cell[data-focus-visible]{outline:var(--focus-w) solid var(--focus-color);outline-offset:-1px}
|
|
416
416
|
|
|
417
|
+
/* ---- Text / Strong ------------------------------------------------------ */
|
|
418
|
+
.pire-text{margin:0;font:var(--type-body);letter-spacing:var(--ls-body);color:var(--text-primary)}
|
|
419
|
+
.pire-text[data-size="body-lg"]{font:var(--type-body-lg)}
|
|
420
|
+
.pire-text[data-size="caption"]{font:var(--type-caption)}
|
|
421
|
+
.pire-text[data-size="micro"]{font:var(--type-micro)}
|
|
422
|
+
.pire-text[data-weight="strong"]{font-weight:var(--fw-semibold)}
|
|
423
|
+
.pire-text[data-color="secondary"]{color:var(--text-secondary)}
|
|
424
|
+
.pire-text[data-color="tertiary"]{color:var(--text-tertiary)}
|
|
425
|
+
.pire-text[data-color="disabled"]{color:var(--text-disabled)}
|
|
426
|
+
.pire-text[data-color="inverse"]{color:var(--text-inverse)}
|
|
427
|
+
.pire-text[data-numeric="true"]{font:var(--type-numeric);letter-spacing:var(--ls-numeric);font-variant-numeric:tabular-nums}
|
|
428
|
+
.pire-text[data-eyebrow="true"]{font:var(--type-label);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--text-secondary)}
|
|
429
|
+
/* Shared clamp for Text and Heading; `--pire-text-clamp` carries the line count. */
|
|
430
|
+
.pire-text[data-truncate="true"],.pire-heading[data-truncate="true"]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--pire-text-clamp,1);line-clamp:var(--pire-text-clamp,1);overflow:hidden}
|
|
431
|
+
|
|
432
|
+
/* ---- Heading ------------------------------------------------------------ */
|
|
433
|
+
.pire-heading{margin:0;font:var(--type-h2);letter-spacing:var(--ls-heading);color:var(--text-primary)}
|
|
434
|
+
.pire-heading[data-size="display"]{font:var(--type-display);letter-spacing:var(--ls-display)}
|
|
435
|
+
.pire-heading[data-size="h1"]{font:var(--type-h1)}
|
|
436
|
+
.pire-heading[data-size="h2"]{font:var(--type-h2)}
|
|
437
|
+
.pire-heading[data-size="h3"]{font:var(--type-h3)}
|
|
438
|
+
.pire-heading[data-size="h4"]{font:var(--type-h4)}
|
|
439
|
+
.pire-heading[data-color="secondary"]{color:var(--text-secondary)}
|
|
440
|
+
.pire-heading[data-color="tertiary"]{color:var(--text-tertiary)}
|
|
441
|
+
.pire-heading[data-color="disabled"]{color:var(--text-disabled)}
|
|
442
|
+
.pire-heading[data-color="inverse"]{color:var(--text-inverse)}
|
|
443
|
+
|
|
444
|
+
/* ---- Link --------------------------------------------------------------- */
|
|
445
|
+
.pire-link{display:inline-flex;align-items:baseline;gap:var(--sp-1);color:var(--text-link);text-decoration:underline;text-underline-offset:2px;cursor:pointer;transition:var(--transition-control)}
|
|
446
|
+
.pire-link[data-size="body-lg"]{font:var(--type-body-lg)}
|
|
447
|
+
.pire-link[data-size="body"]{font:var(--type-body)}
|
|
448
|
+
.pire-link[data-size="caption"]{font:var(--type-caption)}
|
|
449
|
+
.pire-link[data-size="micro"]{font:var(--type-micro)}
|
|
450
|
+
.pire-link[data-hovered]{color:var(--text-link-hover)}
|
|
451
|
+
.pire-link[data-disabled]{color:var(--text-disabled);text-decoration:none;cursor:not-allowed}
|
|
452
|
+
.pire-link[data-focus-visible]{outline:var(--focus-w) solid var(--focus-color);outline-offset:var(--focus-offset);border-radius:var(--radius-1)}
|
|
453
|
+
.pire-link-external{flex:0 0 auto;align-self:center}
|
|
454
|
+
|
|
455
|
+
/* ---- Separator ---------------------------------------------------------- */
|
|
456
|
+
.pire-separator{border:0;border-top:var(--border-w-hairline) solid var(--border-default);margin:var(--sp-4) 0}
|
|
457
|
+
.pire-separator[data-emphasis="subtle"]{border-color:var(--border-subtle)}
|
|
458
|
+
.pire-separator[data-spacing="none"]{margin:0}
|
|
459
|
+
.pire-separator[data-spacing="sm"]{margin:var(--sp-2) 0}
|
|
460
|
+
.pire-separator[data-orientation="vertical"]{border-top:0;border-left:var(--border-w-hairline) solid var(--border-default);align-self:stretch;margin:0 var(--sp-3)}
|
|
461
|
+
.pire-separator[data-orientation="vertical"][data-emphasis="subtle"]{border-color:var(--border-subtle)}
|
|
462
|
+
.pire-separator[data-orientation="vertical"][data-spacing="none"]{margin:0}
|
|
463
|
+
.pire-separator[data-orientation="vertical"][data-spacing="sm"]{margin:0 var(--sp-2)}
|
|
464
|
+
|
|
465
|
+
/* ---- Menu --------------------------------------------------------------- */
|
|
466
|
+
/* Its own surface, not .pire-popover: that sizes from --trigger-width, which is wrong for a
|
|
467
|
+
menu hung off a 32px IconButton. Here the content sets the width. */
|
|
468
|
+
.pire-menu{outline:none;padding:var(--sp-1) 0;min-width:var(--pire-menu-min-w,180px);max-width:calc(100vw - 24px);display:flex;flex-direction:column}
|
|
469
|
+
.pire-menu-item{display:flex;align-items:flex-start;gap:var(--sp-2);min-height:var(--row-h-condensed);padding:var(--sp-1) var(--sp-3);font:var(--type-body);color:var(--text-primary);cursor:pointer;outline:none;text-decoration:none}
|
|
470
|
+
.pire-menu-item[data-focused]{background:var(--surface-hover)}
|
|
471
|
+
.pire-menu-item[data-disabled]{color:var(--text-disabled);cursor:not-allowed}
|
|
472
|
+
.pire-menu-item[data-tone="danger"]{color:var(--status-negative-fg)}
|
|
473
|
+
.pire-menu-item[data-tone="danger"][data-focused]{background:var(--status-negative-bg)}
|
|
474
|
+
.pire-menu-item-icon{flex:0 0 auto;margin-top:2px;color:var(--text-secondary)}
|
|
475
|
+
.pire-menu-item[data-tone="danger"] .pire-menu-item-icon{color:inherit}
|
|
476
|
+
.pire-menu-item-body{flex:1;min-width:0;display:flex;flex-direction:column}
|
|
477
|
+
.pire-menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
478
|
+
.pire-menu-item-desc{font:var(--type-caption);color:var(--text-secondary)}
|
|
479
|
+
.pire-menu-item[data-disabled] .pire-menu-item-desc{color:var(--text-disabled)}
|
|
480
|
+
.pire-menu-item-shortcut{flex:0 0 auto;align-self:center;font:var(--type-code);color:var(--text-tertiary)}
|
|
481
|
+
.pire-menu-section-title{display:block;padding:var(--sp-1) var(--sp-3);font:var(--type-label);letter-spacing:var(--ls-caps);text-transform:uppercase;color:var(--text-secondary)}
|
|
482
|
+
.pire-menu-separator{border:0;border-top:var(--border-w-hairline) solid var(--border-subtle);margin:var(--sp-1) 0}
|
|
483
|
+
|
|
417
484
|
/* ---- Reduced motion --------------------------------------------------- */
|
|
418
485
|
@media (prefers-reduced-motion: reduce){.pire-modal,.pire-toast,.pire-popover,.pire-tooltip,.pire-sidepanel{animation:none}
|
|
419
486
|
/* The skeleton also drops its background sweep, not just the animation: an infinite shimmer is
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|