@antadesign/anta 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/anta_helpers.d.ts +0 -4
- package/dist/anta_helpers.js +0 -7
- package/dist/components/Calendar.d.ts +9 -3
- package/dist/components/Calendar.js +24 -7
- package/dist/components/InputDate.d.ts +9 -6
- package/dist/components/InputDate.js +83 -143
- package/dist/components/InputDate.module.css +1 -1
- package/dist/components/InputTime.d.ts +105 -0
- package/dist/components/InputTime.js +110 -0
- package/dist/components/Menu.d.ts +15 -1
- package/dist/components/Menu.js +2 -0
- package/dist/components/MenuItem.js +1 -7
- package/dist/components/Select.d.ts +96 -14
- package/dist/components/Select.js +69 -8
- package/dist/components/Select.module.css +1 -1
- package/dist/components/SelectFaceted.d.ts +184 -0
- package/dist/components/SelectFaceted.js +331 -0
- package/dist/components/SelectFaceted.module.css +1 -0
- package/dist/components/TabPanel.d.ts +21 -13
- package/dist/components/TabPanel.js +13 -2
- package/dist/components/Tabs.d.ts +76 -52
- package/dist/components/Tabs.js +18 -86
- package/dist/elements/a-button.css +1 -1
- package/dist/elements/a-calendar.css +1 -1
- package/dist/elements/a-checkbox.css +1 -1
- package/dist/elements/a-input-time.css +1 -0
- package/dist/elements/a-input-time.d.ts +27 -0
- package/dist/elements/a-input-time.js +856 -0
- package/dist/elements/a-input.css +1 -1
- package/dist/elements/a-input.js +8 -1
- package/dist/elements/a-menu-item.css +1 -1
- package/dist/elements/a-menu-item.d.ts +8 -6
- package/dist/elements/a-menu.d.ts +13 -15
- package/dist/elements/a-menu.js +71 -25
- package/dist/elements/a-radio.css +1 -1
- package/dist/elements/a-tab.css +1 -1
- package/dist/elements/a-tabpanel.css +1 -1
- package/dist/elements/a-tabpanel.d.ts +17 -0
- package/dist/elements/a-tabpanel.js +66 -0
- package/dist/elements/a-tabs.css +1 -1
- package/dist/elements/a-tooltip.js +1 -1
- package/dist/elements/index.d.ts +2 -1
- package/dist/elements/index.js +6 -1
- package/dist/general_types.d.ts +83 -11
- package/dist/index.d.ts +7 -5
- package/dist/index.js +6 -3
- package/dist/jsx-runtime.d.ts +2 -1
- package/dist/reset.css +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
package/dist/general_types.d.ts
CHANGED
|
@@ -478,6 +478,52 @@ export interface AInputAttributes extends BaseAttributes {
|
|
|
478
478
|
'aria-invalid'?: 'true' | 'false' | boolean;
|
|
479
479
|
'aria-label'?: string;
|
|
480
480
|
}
|
|
481
|
+
/** Attributes for the `<a-input-time>` custom element — a segmented wall-clock
|
|
482
|
+
* time field (hour / minute / AM-PM spinbutton sections in one box). */
|
|
483
|
+
export interface AInputTimeAttributes extends BaseAttributes {
|
|
484
|
+
/** Controlled value — 24-hour `"HH:mm"`, `''` when incomplete. */
|
|
485
|
+
value?: string;
|
|
486
|
+
/** Initial value for the uncontrolled case (24-hour `"HH:mm"`). */
|
|
487
|
+
defaultvalue?: string;
|
|
488
|
+
/** BCP-47 locale driving the clock (12h vs 24h), segment order, separator, and
|
|
489
|
+
* the AM/PM text. Defaults to `navigator.language`. */
|
|
490
|
+
locale?: string;
|
|
491
|
+
/** Force the clock — `'true'` = 12-hour (AM/PM), `'false'` = 24-hour. Omit to
|
|
492
|
+
* follow the locale. Value-based (tri-state), not a presence boolean. */
|
|
493
|
+
hour12?: 'true' | 'false';
|
|
494
|
+
/** Earliest allowed time, 24-hour `"HH:mm"` — complete values below it clamp up
|
|
495
|
+
* and flag `rangeUnderflow`. */
|
|
496
|
+
min?: string;
|
|
497
|
+
/** Latest allowed time, 24-hour `"HH:mm"` — complete values above it clamp down
|
|
498
|
+
* and flag `rangeOverflow`. */
|
|
499
|
+
max?: string;
|
|
500
|
+
/** Validation/feedback tone. Only `critical` carries validity weight. */
|
|
501
|
+
status?: 'neutral' | 'brand' | 'info' | 'success' | 'warning' | 'critical';
|
|
502
|
+
/** Custom accent colour (any literal CSS colour) — tints the resting + hover
|
|
503
|
+
* border via an oklch derivation; `status` overrides for validation. */
|
|
504
|
+
tone?: string;
|
|
505
|
+
/** Disabled state. Presence-based. */
|
|
506
|
+
disabled?: boolean | '';
|
|
507
|
+
/** Required — drives native validity. Presence-based. */
|
|
508
|
+
required?: boolean | '';
|
|
509
|
+
/** Dim the trailing adornments at rest (0.6); brighten on hover / focus. */
|
|
510
|
+
'dim-actions'?: boolean | '';
|
|
511
|
+
/** Fully-round field, or a custom radius via a length value. Presence-based
|
|
512
|
+
* for the boolean form. */
|
|
513
|
+
round?: boolean | number | string;
|
|
514
|
+
/** Size variant. small=24px, medium (default)=28px, large=32px. */
|
|
515
|
+
size?: 'small' | 'medium' | 'large';
|
|
516
|
+
/** Form field name — the 24-hour value submits via ElementInternals. */
|
|
517
|
+
name?: string;
|
|
518
|
+
/** Fires on every segment edit (`input` is composed — it reaches the host). */
|
|
519
|
+
oninput?: (e: any) => void;
|
|
520
|
+
/** Fires on commit (blur). */
|
|
521
|
+
onchange?: (e: any) => void;
|
|
522
|
+
/** Fires after the built-in clear button empties the field (`clearinput`). */
|
|
523
|
+
onclearinput?: (e: any) => void;
|
|
524
|
+
'aria-invalid'?: 'true' | 'false' | boolean;
|
|
525
|
+
'aria-label'?: string;
|
|
526
|
+
}
|
|
481
527
|
/**
|
|
482
528
|
* Attributes for the `<a-calendar>` custom element — a **light-DOM,
|
|
483
529
|
* form-associated** month grid, and the **interaction authority** for it. The
|
|
@@ -558,6 +604,12 @@ export interface AMenuAttributes extends BaseAttributes {
|
|
|
558
604
|
round?: boolean | number | string;
|
|
559
605
|
/** Gap in pixels between the trigger and the menu. Defaults to 4. */
|
|
560
606
|
offset?: number | string;
|
|
607
|
+
/** Size the menu to its content instead of flooring its width to the trigger.
|
|
608
|
+
* By default a root menu is never narrower than its trigger; `autowidth` drops
|
|
609
|
+
* that floor (min-width falls back to `--menu-min-width`) for a content menu
|
|
610
|
+
* under a wide trigger, e.g. InputDate's calendar below a full-width field.
|
|
611
|
+
* Presence-based (`''` on, omit off). */
|
|
612
|
+
autowidth?: boolean | '';
|
|
561
613
|
/** Controlled open state (`'open'` / `'closed'`). Omit for uncontrolled;
|
|
562
614
|
* present → visibility follows this value, and the element never writes it
|
|
563
615
|
* (the consumer owns it). Listen to `statechange` to keep it in sync. See
|
|
@@ -572,6 +624,15 @@ export interface AMenuAttributes extends BaseAttributes {
|
|
|
572
624
|
next: 'open' | 'closed';
|
|
573
625
|
prev: 'open' | 'closed';
|
|
574
626
|
}>) => void;
|
|
627
|
+
/** Combobox-mode cursor report — fired when the active option changes (arrow
|
|
628
|
+
* keys, or the list re-filtering), with `detail.id` the active option's `id`
|
|
629
|
+
* (`null` when none). The element owns the keyboard cursor but must NOT write
|
|
630
|
+
* `aria-activedescendant` on the (light-DOM) filter field itself; the reactive
|
|
631
|
+
* layer that owns the field (e.g. `Select`) listens here and reflects it.
|
|
632
|
+
* All-lowercase so React/Preact bind it to the CustomEvent. */
|
|
633
|
+
onactivedescendant?: (e: CustomEvent<{
|
|
634
|
+
id: string | null;
|
|
635
|
+
}>) => void;
|
|
575
636
|
/** ARIA role — the JSX wrapper sets this to `'menu'`. */
|
|
576
637
|
role?: string;
|
|
577
638
|
'aria-orientation'?: 'vertical' | 'horizontal';
|
|
@@ -602,10 +663,20 @@ export interface AMenuItemAttributes extends BaseAttributes {
|
|
|
602
663
|
/** ARIA role — `'menuitem'`. */
|
|
603
664
|
role?: string;
|
|
604
665
|
'aria-haspopup'?: 'menu' | 'true' | 'false' | boolean;
|
|
605
|
-
/**
|
|
606
|
-
*
|
|
666
|
+
/** Available for hand-authored markup, but the `MenuItem` wrapper does NOT set
|
|
667
|
+
* it: keeping it in sync would need a light-DOM mutation (desyncs the
|
|
668
|
+
* worker-thread reactive model) or reactive state for one attribute, and a
|
|
669
|
+
* static value would lie once the submenu opens. `aria-haspopup` announces the
|
|
670
|
+
* submenu; the open branch's visual rides the nested `<a-menu>`'s `:state(open)`. */
|
|
607
671
|
'aria-expanded'?: 'true' | 'false' | boolean;
|
|
608
672
|
'aria-disabled'?: 'true' | 'false' | boolean;
|
|
673
|
+
/** Fired when this row is genuinely activated (click / Enter / Space). The
|
|
674
|
+
* parent `<a-menu>` owns click delegation and dispatches this — already
|
|
675
|
+
* filtered so it never fires on a submenu parent or from a bubbled child
|
|
676
|
+
* click — so the `MenuItem` wrapper's `onSelect` needs no DOM traversal. It's
|
|
677
|
+
* a `MouseEvent`, carrying the modifier keys (e.g. `altKey`). All-lowercase so
|
|
678
|
+
* React/Preact bind it to the CustomEvent. */
|
|
679
|
+
onmenuselect?: (e: MouseEvent) => void;
|
|
609
680
|
}
|
|
610
681
|
/**
|
|
611
682
|
* Attributes for the `<a-menu-group>` styled element. For the typed JSX
|
|
@@ -867,14 +938,15 @@ export interface ATabsAttributes extends BaseAttributes {
|
|
|
867
938
|
* from `@antadesign/anta`.
|
|
868
939
|
*/
|
|
869
940
|
export interface ATabpanelAttributes extends BaseAttributes {
|
|
870
|
-
/**
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
/** ARIA — set by the `
|
|
941
|
+
/** Pairs the panel with the tab of the same value. The element reads its
|
|
942
|
+
* `<a-tabs>` and shows itself when this is the active value. */
|
|
943
|
+
value?: string;
|
|
944
|
+
/** How the panel hides while inactive: omit for `display:none` (removed from
|
|
945
|
+
* layout + the a11y tree), or `'visibility'` to keep its layout box. The
|
|
946
|
+
* element toggles its own `:state(active)`; this only picks the hide style. */
|
|
947
|
+
'hide-mode'?: 'display' | 'visibility';
|
|
948
|
+
/** ARIA — set statically by the `TabPanel` wrapper. `aria-labelledby` is NOT an
|
|
949
|
+
* attribute here: the element points at its tab off-DOM via
|
|
950
|
+
* `internals.ariaLabelledByElements`. */
|
|
878
951
|
role?: 'tabpanel';
|
|
879
|
-
'aria-labelledby'?: string;
|
|
880
952
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -49,16 +49,18 @@ export { Calendar } from './components/Calendar';
|
|
|
49
49
|
export type { CalendarProps, CalendarChangeAttrs } from './components/Calendar';
|
|
50
50
|
export { InputDate } from './components/InputDate';
|
|
51
51
|
export type { InputDateProps, InputDateChangeAttrs } from './components/InputDate';
|
|
52
|
+
export { InputTime } from './components/InputTime';
|
|
53
|
+
export type { InputTimeProps, InputTimeChangeAttrs } from './components/InputTime';
|
|
52
54
|
export { buildMonth, getWeekdays, firstDayOfWeek, clampDate, isOutOfRange, parseISODate, parseDateInput, formatDateInput, dateFormatPattern, parseTimeInput, parseDateTimeInput, formatDateTimeInput, dateTimeFormatPattern, usesHour12, } from './calendar-core';
|
|
53
55
|
export type { CalendarDay, CalendarWeekday, CalendarMonth, BuildMonthOptions, ParseDateOptions, } from './calendar-core';
|
|
54
56
|
export { RadioGroup } from './components/RadioGroup';
|
|
55
57
|
export type { RadioGroupProps, RadioOption } from './components/RadioGroup';
|
|
56
|
-
export { Select } from './components/Select';
|
|
57
|
-
export type { SelectProps, SelectCommonProps, SelectOption, SelectGroup, SelectSubmenu, SelectItem, SelectChangeAttrs, OptionState, TriggerState, EmptyState, } from './components/Select';
|
|
58
|
+
export { Select, optionsWithSelection } from './components/Select';
|
|
59
|
+
export type { SelectProps, SelectCommonProps, SelectOption, SelectGroup, SelectSubmenu, SelectItem, SelectChangeAttrs, OptionState, TriggerState, EmptyState, SelectionState, SelectedOption, SelectedGroup, SelectedSubmenu, SelectedItem, } from './components/Select';
|
|
60
|
+
export { SelectFaceted } from './components/SelectFaceted';
|
|
61
|
+
export type { SelectFacetedProps, SelectFacet, SelectFacetSingle, SelectFacetMultiple, SelectFacetText, SelectFacetCustom, SelectFacetCustomContext, SelectFacetedValue, SelectFacetedChangeAttrs, SelectFacetedTriggerState, } from './components/SelectFaceted';
|
|
58
62
|
export { Tabs } from './components/Tabs';
|
|
59
|
-
export type { TabsProps,
|
|
60
|
-
export { Tab } from './components/Tab';
|
|
61
|
-
export type { TabProps } from './components/Tab';
|
|
63
|
+
export type { TabsProps, TabOption, TabsChangeAttrs } from './components/Tabs';
|
|
62
64
|
export { TabPanel } from './components/TabPanel';
|
|
63
65
|
export type { TabPanelProps } from './components/TabPanel';
|
|
64
66
|
export type { BaseProps, BaseAttributes } from './general_types';
|
package/dist/index.js
CHANGED
|
@@ -15,6 +15,7 @@ import { Expander } from "./components/Expander";
|
|
|
15
15
|
import { Input } from "./components/Input";
|
|
16
16
|
import { Calendar } from "./components/Calendar";
|
|
17
17
|
import { InputDate } from "./components/InputDate";
|
|
18
|
+
import { InputTime } from "./components/InputTime";
|
|
18
19
|
import {
|
|
19
20
|
buildMonth,
|
|
20
21
|
getWeekdays,
|
|
@@ -32,9 +33,9 @@ import {
|
|
|
32
33
|
usesHour12
|
|
33
34
|
} from "./calendar-core";
|
|
34
35
|
import { RadioGroup } from "./components/RadioGroup";
|
|
35
|
-
import { Select } from "./components/Select";
|
|
36
|
+
import { Select, optionsWithSelection } from "./components/Select";
|
|
37
|
+
import { SelectFaceted } from "./components/SelectFaceted";
|
|
36
38
|
import { Tabs } from "./components/Tabs";
|
|
37
|
-
import { Tab } from "./components/Tab";
|
|
38
39
|
import { TabPanel } from "./components/TabPanel";
|
|
39
40
|
import { configure } from "./jsx-runtime";
|
|
40
41
|
export {
|
|
@@ -47,6 +48,7 @@ export {
|
|
|
47
48
|
Icon,
|
|
48
49
|
Input,
|
|
49
50
|
InputDate,
|
|
51
|
+
InputTime,
|
|
50
52
|
Menu,
|
|
51
53
|
MenuGroup,
|
|
52
54
|
MenuItem,
|
|
@@ -54,7 +56,7 @@ export {
|
|
|
54
56
|
Progress,
|
|
55
57
|
RadioGroup,
|
|
56
58
|
Select,
|
|
57
|
-
|
|
59
|
+
SelectFaceted,
|
|
58
60
|
TabPanel,
|
|
59
61
|
Tabs,
|
|
60
62
|
Tag,
|
|
@@ -71,6 +73,7 @@ export {
|
|
|
71
73
|
formatDateTimeInput,
|
|
72
74
|
getWeekdays,
|
|
73
75
|
isOutOfRange,
|
|
76
|
+
optionsWithSelection,
|
|
74
77
|
parseDateInput,
|
|
75
78
|
parseDateTimeInput,
|
|
76
79
|
parseISODate,
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare function useMemo<T>(factory: () => T, deps: unknown[]): T;
|
|
|
41
41
|
export declare function jsx(type: ComponentType, props: Record<string, unknown> | null, key?: string | number): unknown;
|
|
42
42
|
export declare function jsxs(type: ComponentType, props: Record<string, unknown> | null, key?: string | number): unknown;
|
|
43
43
|
export { _Fragment as Fragment };
|
|
44
|
-
import type { AProgressAttributes, ATextAttributes, ATitleAttributes, ATagAttributes, AExpanderAttributes, AIconAttributes, AButtonAttributes, ACheckboxAttributes, ATooltipAttributes, AInputAttributes, ACalendarAttributes, ARadioAttributes, ARadioGroupAttributes, AMenuAttributes, AMenuItemAttributes, AMenuGroupAttributes, ATabsAttributes, ATabAttributes, ATabpanelAttributes, BaseAttributes } from './general_types';
|
|
44
|
+
import type { AProgressAttributes, ATextAttributes, ATitleAttributes, ATagAttributes, AExpanderAttributes, AIconAttributes, AButtonAttributes, ACheckboxAttributes, ATooltipAttributes, AInputAttributes, AInputTimeAttributes, ACalendarAttributes, ARadioAttributes, ARadioGroupAttributes, AMenuAttributes, AMenuItemAttributes, AMenuGroupAttributes, ATabsAttributes, ATabAttributes, ATabpanelAttributes, BaseAttributes } from './general_types';
|
|
45
45
|
export declare namespace JSX {
|
|
46
46
|
interface IntrinsicElements extends React.JSX.IntrinsicElements, AntaIntrinsicElements {
|
|
47
47
|
}
|
|
@@ -70,6 +70,7 @@ export interface AntaIntrinsicElements {
|
|
|
70
70
|
'a-checkbox-hint': BaseAttributes;
|
|
71
71
|
'a-tooltip': ATooltipAttributes;
|
|
72
72
|
'a-input': AInputAttributes;
|
|
73
|
+
'a-input-time': AInputTimeAttributes;
|
|
73
74
|
'a-calendar': ACalendarAttributes;
|
|
74
75
|
'a-radio': ARadioAttributes;
|
|
75
76
|
'a-radio-group': ARadioGroupAttributes;
|
package/dist/reset.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer anta{*,*:before,*:after{box-sizing:border-box}*{margin:0}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}h1,h2,h3,h4,h5,h6{color:var(--text-1);font-weight:584.62;letter-spacing:0}h1{font-size:28px;line-height:32px;margin-block:0 16px}h2{font-size:24px;line-height:28px;margin-block:32px 12px}h3{font-size:20px;line-height:24px;margin-block:24px 12px}h4{font-size:17px;line-height:20px;margin-block:20px 8px}h5{font-size:15px;line-height:20px;margin-block:16px 8px}h6{font-size:13px;line-height:16px;margin-block:16px 4px}strong{font-weight:600}code{line-height:1em}code,kbd,samp,pre{letter-spacing:0}ul,ol{padding-left:3ch}:is(ul,ol)>li{margin-bottom:.5em}:is(ul,ol)>li::marker{color:var(--text-5)}menu{list-style:none;padding:0;margin:0}menu>li{margin:0}a:not(:where([role=button])),a:not(:where([role=button])):link,a:not(:where([role=button])):visited{color:var(--link-color);text-decoration:underline;text-decoration-style:solid;text-decoration-color:color-mix(in srgb,currentColor 75%,transparent);text-decoration-thickness:.5px;text-underline-offset:3px}@media(hover:hover)and (pointer:fine){a:not(:where([role=button])):hover{color:var(--link-color-hover);text-decoration-thickness:1px}}a:not(:where([role=button])):active{text-decoration-color:color-mix(in srgb,currentColor 75%,transparent)}::selection{background:color-mix(in
|
|
1
|
+
@layer anta{*,*:before,*:after{box-sizing:border-box}*{margin:0}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}h1,h2,h3,h4,h5,h6{color:var(--text-1);font-weight:584.62;letter-spacing:0}h1{font-size:28px;line-height:32px;margin-block:0 16px}h2{font-size:24px;line-height:28px;margin-block:32px 12px}h3{font-size:20px;line-height:24px;margin-block:24px 12px}h4{font-size:17px;line-height:20px;margin-block:20px 8px}h5{font-size:15px;line-height:20px;margin-block:16px 8px}h6{font-size:13px;line-height:16px;margin-block:16px 4px}strong{font-weight:600}code{line-height:1em}code,kbd,samp,pre{letter-spacing:0}ul,ol{padding-left:3ch}:is(ul,ol)>li{margin-bottom:.5em}:is(ul,ol)>li::marker{color:var(--text-5)}menu{list-style:none;padding:0;margin:0}menu>li{margin:0}a:not(:where([role=button])),a:not(:where([role=button])):link,a:not(:where([role=button])):visited{color:var(--link-color);text-decoration:underline;text-decoration-style:solid;text-decoration-color:color-mix(in srgb,currentColor 75%,transparent);text-decoration-thickness:.5px;text-underline-offset:3px}@media(hover:hover)and (pointer:fine){a:not(:where([role=button])):hover{color:var(--link-color-hover);text-decoration-thickness:1px}}a:not(:where([role=button])):active{text-decoration-color:color-mix(in srgb,currentColor 75%,transparent)}::selection{background:color-mix(in oklch,var(--focus-ring) 20%,transparent)}.dark ::selection{background:color-mix(in oklch,var(--focus-ring) 30%,transparent)}table{border-collapse:collapse;font-variant-numeric:lining-nums tabular-nums}caption{text-align:left;color:var(--text-3);padding-left:10px;margin-bottom:.25em}th,td{padding:5px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border-4)}thead th{font-weight:600}tfoot tr:last-child>:is(th,td),table:not(:has(tfoot)) tbody tr:last-child>:is(th,td){border-bottom:none}table[data-bordered]{border-collapse:separate;border-spacing:0;border:1px solid var(--border-4);border-radius:3px}table[data-bordered] :is(th,td){border-right:1px solid var(--border-4)}table[data-bordered] tr>:is(th,td):last-child{border-right:0}}
|
package/dist/tokens.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer base,anta,components,utilities;:root,.light{--sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;font-size:15px;font-weight:400;font-feature-settings:"ss02" on,"ss05" on,"tnum" on;--bg-1: #ffffff;--bg-2: #fbfafb;--bg-3: #f6f4f6;--bg-4: #f1eff1;--bg-5: #ece9ec;--bg-2-brand: #fcfcfe;--bg-3-brand: #f7f6fd;--bg-4-brand: #efeefc;--bg-5-brand: #e9e5fa;--bg-2-success: #f7fcf9;--bg-3-success: #ecf9f0;--bg-4-success: #e2f5e8;--bg-5-success: #d9f2e0;--bg-2-critical: #fefbfb;--bg-3-critical: #fdf2f2;--bg-4-critical: #fcebeb;--bg-5-critical: #fae5e5;--bg-2-warning: #fefbf6;--bg-3-warning: #fcf4e8;--bg-4-warning: #fbeeda;--bg-5-warning: #f9e7cd;--bg-2-info: #fbfcfe;--bg-3-info: #f2f7fd;--bg-4-info: #e9f3fb;--bg-5-info: #e1eefa;--text-1: #050306;--text-2: #302b31;--text-3: #635b65;--text-4: #878089;--text-5: #9f99a1;--text-1-brand: #2e1e7b;--text-2-brand: #483493;--text-3-brand: #483493cc;--text-4-brand: #48349399;--text-5-brand: #48349366;--text-1-success: #004618;--text-2-success: #1f5c31;--text-3-success: #1f5c31cc;--text-4-success: #1f5c3199;--text-5-success: #1f5c3166;--text-1-critical: #8f1014;--text-2-critical: #a01c1c;--text-3-critical: #a01c1ccc;--text-4-critical: #a01c1c99;--text-5-critical: #a01c1c66;--text-1-warning: #7f410b;--text-2-warning: #995200;--text-3-warning: #995200cc;--text-4-warning: #99520099;--text-5-warning: #99520066;--text-1-info: #003969;--text-2-info: #175082;--text-3-info: #175082cc;--text-4-info: #175082b2;--text-5-info: #17508280;--border-1: #938d96;--border-2: #c1b9c1;--border-3: #d4ced4;--border-4: #e0dce0;--border-5: #ece9ec;--border-1-brand: #9081df;--border-2-brand: #bcb1f1;--border-3-brand: #d2cbf6;--border-4-brand: #ddd8f8;--border-5-brand: #e9e5fa;--border-1-success: #44c169;--border-2-success: #88d7a0;--border-3-success: #b3e5c2;--border-4-success: #c6ecd1;--border-5-success: #d9f2e0;--border-1-critical: #e56c6c;--border-2-critical: #efa4a4;--border-3-critical: #f4c2c2;--border-4-critical: #f7d4d4;--border-5-critical: #fae5e5;--border-1-warning: #d88118;--border-2-warning: #edb25a;--border-3-warning: #f3cc91;--border-4-warning: #f6dbb1;--border-5-warning: #f9e7cd;--border-1-info: #56a1e1;--border-2-info: #93c5ec;--border-3-info: #bad6f3;--border-4-info: #cfe3f7;--border-5-info: #e1eefa;--link-color: #1466d4;--link-color-hover: #2674e6;--focus-ring: oklch(.55 .2 284.15)}.dark{font-weight:400;--bg-1: #000000;--bg-2: #0e0d0f;--bg-3: #121014;--bg-4: #161316;--bg-5: #1a171b;--bg-2-brand: #08060e;--bg-3-brand: #0f0c1d;--bg-4-brand: #130f24;--bg-5-brand: #16132b;--bg-2-success: #030b06;--bg-3-success: #051209;--bg-4-success: #06160b;--bg-5-success: #081b0e;--bg-2-critical: #120303;--bg-3-critical: #210606;--bg-4-critical: #260808;--bg-5-critical: #2e0a0b;--bg-2-warning: #110a03;--bg-3-warning: #1c1105;--bg-4-warning: #231406;--bg-5-warning: #2b1a08;--bg-2-info: #020a12;--bg-3-info: #05131f;--bg-4-info: #071725;--bg-5-info: #0c2337;--text-1: #ece9ec;--text-2: #c1b9c1;--text-3: #9f99a1;--text-4: #776e77;--text-5: #635b65;--text-1-brand: #c5baff;--text-2-brand: #ada0ee;--text-3-brand: #ada0eecc;--text-4-brand: #ada0ee99;--text-5-brand: #ada0ee66;--text-1-success: #9ddeb1;--text-2-success: #74cd8e;--text-3-success: #74cd8ecc;--text-4-success: #74cd8e99;--text-5-success: #74cd8e66;--text-1-critical: #ffabac;--text-2-critical: #e78e90;--text-3-critical: #e78e90cc;--text-4-critical: #e78e9099;--text-5-critical: #e78e9066;--text-1-warning: #f0bf75;--text-2-warning: #e1a452;--text-3-warning: #e1a452cc;--text-4-warning: #e1a45299;--text-5-warning: #e1a45266;--text-1-info: #9ed2ff;--text-2-info: #7db6e8;--text-3-info: #7db6e8cc;--text-4-info: #7db6e899;--text-5-info: #7db6e866;--border-1: hsl(288deg 5.21% 42%);--border-2: hsl(282deg 7.04% 28%);--border-3: hsl(277.5deg 6.56% 20%);--border-4: hsl(290deg 6.52%
|
|
1
|
+
@layer base,anta,components,utilities;:root,.light{--sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;font-size:15px;font-weight:400;font-feature-settings:"ss02" on,"ss05" on,"tnum" on;--bg-1: #ffffff;--bg-2: #fbfafb;--bg-3: #f6f4f6;--bg-4: #f1eff1;--bg-5: #ece9ec;--bg-2-brand: #fcfcfe;--bg-3-brand: #f7f6fd;--bg-4-brand: #efeefc;--bg-5-brand: #e9e5fa;--bg-2-success: #f7fcf9;--bg-3-success: #ecf9f0;--bg-4-success: #e2f5e8;--bg-5-success: #d9f2e0;--bg-2-critical: #fefbfb;--bg-3-critical: #fdf2f2;--bg-4-critical: #fcebeb;--bg-5-critical: #fae5e5;--bg-2-warning: #fefbf6;--bg-3-warning: #fcf4e8;--bg-4-warning: #fbeeda;--bg-5-warning: #f9e7cd;--bg-2-info: #fbfcfe;--bg-3-info: #f2f7fd;--bg-4-info: #e9f3fb;--bg-5-info: #e1eefa;--text-1: #050306;--text-2: #302b31;--text-3: #635b65;--text-4: #878089;--text-5: #9f99a1;--text-1-brand: #2e1e7b;--text-2-brand: #483493;--text-3-brand: #483493cc;--text-4-brand: #48349399;--text-5-brand: #48349366;--text-1-success: #004618;--text-2-success: #1f5c31;--text-3-success: #1f5c31cc;--text-4-success: #1f5c3199;--text-5-success: #1f5c3166;--text-1-critical: #8f1014;--text-2-critical: #a01c1c;--text-3-critical: #a01c1ccc;--text-4-critical: #a01c1c99;--text-5-critical: #a01c1c66;--text-1-warning: #7f410b;--text-2-warning: #995200;--text-3-warning: #995200cc;--text-4-warning: #99520099;--text-5-warning: #99520066;--text-1-info: #003969;--text-2-info: #175082;--text-3-info: #175082cc;--text-4-info: #175082b2;--text-5-info: #17508280;--border-1: #938d96;--border-2: #c1b9c1;--border-3: #d4ced4;--border-4: #e0dce0;--border-5: #ece9ec;--border-1-brand: #9081df;--border-2-brand: #bcb1f1;--border-3-brand: #d2cbf6;--border-4-brand: #ddd8f8;--border-5-brand: #e9e5fa;--border-1-success: #44c169;--border-2-success: #88d7a0;--border-3-success: #b3e5c2;--border-4-success: #c6ecd1;--border-5-success: #d9f2e0;--border-1-critical: #e56c6c;--border-2-critical: #efa4a4;--border-3-critical: #f4c2c2;--border-4-critical: #f7d4d4;--border-5-critical: #fae5e5;--border-1-warning: #d88118;--border-2-warning: #edb25a;--border-3-warning: #f3cc91;--border-4-warning: #f6dbb1;--border-5-warning: #f9e7cd;--border-1-info: #56a1e1;--border-2-info: #93c5ec;--border-3-info: #bad6f3;--border-4-info: #cfe3f7;--border-5-info: #e1eefa;--link-color: #1466d4;--link-color-hover: #2674e6;--focus-ring: oklch(.55 .2 284.15)}.dark{font-weight:400;--bg-1: #000000;--bg-2: #0e0d0f;--bg-3: #121014;--bg-4: #161316;--bg-5: #1a171b;--bg-2-brand: #08060e;--bg-3-brand: #0f0c1d;--bg-4-brand: #130f24;--bg-5-brand: #16132b;--bg-2-success: #030b06;--bg-3-success: #051209;--bg-4-success: #06160b;--bg-5-success: #081b0e;--bg-2-critical: #120303;--bg-3-critical: #210606;--bg-4-critical: #260808;--bg-5-critical: #2e0a0b;--bg-2-warning: #110a03;--bg-3-warning: #1c1105;--bg-4-warning: #231406;--bg-5-warning: #2b1a08;--bg-2-info: #020a12;--bg-3-info: #05131f;--bg-4-info: #071725;--bg-5-info: #0c2337;--text-1: #ece9ec;--text-2: #c1b9c1;--text-3: #9f99a1;--text-4: #776e77;--text-5: #635b65;--text-1-brand: #c5baff;--text-2-brand: #ada0ee;--text-3-brand: #ada0eecc;--text-4-brand: #ada0ee99;--text-5-brand: #ada0ee66;--text-1-success: #9ddeb1;--text-2-success: #74cd8e;--text-3-success: #74cd8ecc;--text-4-success: #74cd8e99;--text-5-success: #74cd8e66;--text-1-critical: #ffabac;--text-2-critical: #e78e90;--text-3-critical: #e78e90cc;--text-4-critical: #e78e9099;--text-5-critical: #e78e9066;--text-1-warning: #f0bf75;--text-2-warning: #e1a452;--text-3-warning: #e1a452cc;--text-4-warning: #e1a45299;--text-5-warning: #e1a45266;--text-1-info: #9ed2ff;--text-2-info: #7db6e8;--text-3-info: #7db6e8cc;--text-4-info: #7db6e899;--text-5-info: #7db6e866;--border-1: hsl(288deg 5.21% 42%);--border-2: hsl(282deg 7.04% 28%);--border-3: hsl(277.5deg 6.56% 20%);--border-4: hsl(290deg 6.52% 14%);--border-5: hsl(285deg 7.14% 10%);--border-1-brand: hsl(250.08deg 59.8% 58%);--border-2-brand: hsl(250deg 50% 42%);--border-3-brand: hsl(252.63deg 47.74% 30%);--border-4-brand: hsl(249.8deg 39.84% 19%);--border-5-brand: hsl(249deg 39.22% 14%);--border-1-success: hsl(138.18deg 49.75% 29%);--border-2-success: hsl(138.26deg 50.36% 20%);--border-3-success: hsl(137.7deg 49.59% 16%);--border-4-success: hsl(138.46deg 52% 10%);--border-5-success: hsl(138.86deg 53.85% 7.5%);--border-1-critical: hsl(0deg 56% 46%);--border-2-critical: hsl(.42deg 63% 30%);--border-3-critical: hsl(0deg 62.21% 23%);--border-4-critical: hsl(359.13deg 59% 15%);--border-5-critical: hsl(359.06deg 63% 11%);--border-1-warning: hsl(32.13deg 80.31% 34%);--border-2-warning: hsl(27.93deg 84.06% 24%);--border-3-warning: hsl(30deg 79.66% 17%);--border-4-warning: hsl(28.75deg 63.16% 12%);--border-5-warning: hsl(28.64deg 66.67% 9%);--border-1-info: hsl(207.82deg 70.2% 40%);--border-2-info: hsl(207.77deg 69.94% 29%);--border-3-info: hsl(208.04deg 69.93% 21%);--border-4-info: hsl(208.52deg 62.89% 14%);--border-5-info: hsl(207.78deg 65.85% 10.5%);--link-color: #7baee9;--link-color-hover: #90bdee;--focus-ring: #a897fc}
|