@pathscale/ui 2.7.1 → 2.7.3
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/components/_shared/index.d.ts +1 -1
- package/dist/components/_shared/material.css +24 -7
- package/dist/components/_shared/overlayPosition.d.ts +2 -2
- package/dist/components/accordion/Accordion.css +3 -3
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/address/Address.css +24 -8
- package/dist/components/address/index.d.ts +3 -3
- package/dist/components/address/index.js +1 -1
- package/dist/components/alert/Alert.css +8 -2
- package/dist/components/alert/index.d.ts +2 -2
- package/dist/components/auth-card/index.d.ts +1 -1
- package/dist/components/auth-field-group/index.d.ts +1 -1
- package/dist/components/auth-footer-links/index.d.ts +1 -1
- package/dist/components/auth-message/index.d.ts +1 -1
- package/dist/components/auth-powered-by/index.d.ts +1 -1
- package/dist/components/auth-submit-button/index.d.ts +1 -1
- package/dist/components/avatar/Avatar.css +10 -6
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/badge/Badge.css +0 -1
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/breadcrumb/index.d.ts +1 -1
- package/dist/components/button/Button.css +35 -7
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button-group/ButtonGroup.css +2 -1
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/calendar/Calendar.css +18 -5
- package/dist/components/calendar/index.d.ts +1 -1
- package/dist/components/card/index.d.ts +4 -4
- package/dist/components/chatbubble/index.d.ts +1 -1
- package/dist/components/checkbox/Checkbox.css +26 -9
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox-group/index.d.ts +1 -1
- package/dist/components/chip/Chip.css +61 -19
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/close-button/CloseButton.css +5 -1
- package/dist/components/close-button/index.d.ts +1 -1
- package/dist/components/collapsible/index.d.ts +2 -2
- package/dist/components/color-field/ColorField.css +12 -4
- package/dist/components/color-field/index.d.ts +1 -1
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/color-slider/ColorSlider.css +2 -1
- package/dist/components/color-slider/index.d.ts +1 -1
- package/dist/components/color-swatch/index.d.ts +1 -1
- package/dist/components/color-swatch-picker/index.d.ts +2 -3
- package/dist/components/color-wheel-flower/ColorWheelFlower.css +6 -2
- package/dist/components/color-wheel-flower/colorWheelFlowerContext.d.ts +1 -1
- package/dist/components/color-wheel-flower/index.d.ts +4 -4
- package/dist/components/combo-box/ComboBox.css +29 -10
- package/dist/components/combo-box/index.d.ts +1 -1
- package/dist/components/composer/Composer.css +65 -21
- package/dist/components/composer/index.d.ts +3 -3
- package/dist/components/composer/index.js +1 -1
- package/dist/components/data-grid/createDataGrid.d.ts +1 -1
- package/dist/components/data-grid/index.d.ts +1 -1
- package/dist/components/date-field/DateField.css +47 -13
- package/dist/components/date-field/index.d.ts +1 -1
- package/dist/components/date-picker/DatePicker.css +24 -6
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-range-picker/DateRangePicker.css +28 -7
- package/dist/components/date-range-picker/index.d.ts +1 -1
- package/dist/components/dialog/Dialog.css +17 -4
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/dock/Dock.css +10 -2
- package/dist/components/dock/index.d.ts +1 -1
- package/dist/components/drawer/Drawer.a11y.d.ts +1 -1
- package/dist/components/drawer/Drawer.css +31 -7
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/dropdown/Dropdown.css +2 -1
- package/dist/components/dropdown/index.d.ts +2 -2
- package/dist/components/empty/index.d.ts +1 -1
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/form/index.d.ts +3 -3
- package/dist/components/form/index.js +1 -1
- package/dist/components/glow-card/GlowCard.css +5 -2
- package/dist/components/glow-card/index.d.ts +1 -1
- package/dist/components/header/Header.css +4 -1
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/icon/Icon.css +24 -8
- package/dist/components/icon/index.d.ts +1 -1
- package/dist/components/immersive-landing/ImmersiveLanding.css +27 -12
- package/dist/components/immersive-landing/components/CookieConsent.d.ts +1 -1
- package/dist/components/immersive-landing/components/FirefoxPWABanner.d.ts +1 -1
- package/dist/components/immersive-landing/components/PWAInstallPrompt.d.ts +1 -1
- package/dist/components/immersive-landing/index.d.ts +5 -5
- package/dist/components/immersive-landing/index.js +4 -4
- package/dist/components/immersive-landing/types.d.ts +1 -1
- package/dist/components/input/Input.css +14 -5
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input-otp/InputOTP.css +10 -3
- package/dist/components/input-otp/index.d.ts +1 -1
- package/dist/components/kbd/index.d.ts +1 -1
- package/dist/components/label/Label.css +5 -2
- package/dist/components/label/index.d.ts +1 -1
- package/dist/components/language-switcher/LanguageSwitcher.css +4 -2
- package/dist/components/language-switcher/createI18n.d.ts +1 -1
- package/dist/components/language-switcher/index.d.ts +2 -2
- package/dist/components/language-switcher/index.js +1 -1
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/list-box/ListBox.css +8 -4
- package/dist/components/list-box/index.d.ts +5 -5
- package/dist/components/live-chat/LiveChat.css +15 -6
- package/dist/components/live-chat/index.d.ts +3 -3
- package/dist/components/menu/Menu.css +28 -10
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/metal-border/engine/color.js +1 -1
- package/dist/components/metal-border/engine/glow/geometry.d.ts +5 -5
- package/dist/components/metal-border/engine/glow/geometry.js +10 -10
- package/dist/components/metal-border/engine/glow/glow.d.ts +18 -6
- package/dist/components/metal-border/engine/glow/glow.js +37 -37
- package/dist/components/metal-border/engine/index.d.ts +3 -3
- package/dist/components/metal-border/engine/index.js +1 -1
- package/dist/components/metal-border/engine/presets.d.ts +3 -3
- package/dist/components/metal-border/engine/presets.js +45 -45
- package/dist/components/metal-border/engine/renderer/core.d.ts +1 -1
- package/dist/components/metal-border/engine/shaders.js +4 -4
- package/dist/components/metal-border/index.d.ts +1 -1
- package/dist/components/meter/Meter.css +0 -5
- package/dist/components/meter/index.d.ts +1 -1
- package/dist/components/navbar/Navbar.css +2 -1
- package/dist/components/navbar/index.d.ts +2 -2
- package/dist/components/noise-background/index.d.ts +1 -1
- package/dist/components/pagination/Pagination.css +0 -1
- package/dist/components/password-field/index.d.ts +2 -2
- package/dist/components/password-requirements/index.d.ts +1 -1
- package/dist/components/popover/Popover.css +5 -1
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/progress/Progress.css +2 -6
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/radial-progress/RadialProgress.css +0 -5
- package/dist/components/radial-progress/index.d.ts +1 -1
- package/dist/components/radio/Radio.css +23 -8
- package/dist/components/radio-group/RadioGroup.css +11 -3
- package/dist/components/radio-group/index.d.ts +1 -1
- package/dist/components/range-calendar/RangeCalendar.css +8 -5
- package/dist/components/scroll-area/ScrollArea.css +8 -26
- package/dist/components/scroll-area/index.d.ts +1 -1
- package/dist/components/select/Select.css +14 -4
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/separator/index.d.ts +1 -1
- package/dist/components/size-picker/index.d.ts +2 -2
- package/dist/components/skeleton/Skeleton.css +86 -26
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/status/index.d.ts +2 -3
- package/dist/components/switch/Switch.css +62 -18
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/table/Table.context.d.ts +1 -1
- package/dist/components/table/Table.css +27 -9
- package/dist/components/tabs/Tabs.css +7 -2
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/text/index.d.ts +1 -1
- package/dist/components/textarea/Textarea.css +39 -10
- package/dist/components/textarea/index.d.ts +1 -1
- package/dist/components/theme-color-picker/index.d.ts +2 -2
- package/dist/components/theme-color-picker/index.js +1 -1
- package/dist/components/time-field/TimeField.css +47 -13
- package/dist/components/time-field/index.d.ts +1 -1
- package/dist/components/toast/Toast.css +2 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toolbar/Toolbar.css +5 -2
- package/dist/components/toolbar/index.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.css +6 -3
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/video-preview/index.d.ts +1 -1
- package/dist/hooks/date/index.d.ts +2 -2
- package/dist/hooks/date/index.js +2 -2
- package/dist/hooks/form/getFirstFieldError.js +0 -1
- package/dist/hooks/form/index.d.ts +3 -3
- package/dist/hooks/form/index.js +1 -1
- package/dist/hooks/table/index.d.ts +1 -1
- package/dist/hooks/table/useAnchoredOverlayPosition.d.ts +1 -1
- package/dist/index.d.ts +94 -100
- package/dist/index.js +32 -32
- package/dist/lab.d.ts +34 -35
- package/dist/lab.js +10 -10
- package/dist/layouts.manifest.json +1 -1
- package/dist/lib/layouts/index.d.ts +1 -1
- package/dist/lib/style/index.d.ts +1 -1
- package/dist/motion/easing.js +2 -2
- package/dist/motion/index.d.ts +7 -9
- package/dist/motion/index.js +5 -5
- package/dist/motion/route.js +1 -1
- package/dist/motion/solid/AnimatedCollapse.d.ts +2 -2
- package/dist/motion/solid/MotionDiv.d.ts +1 -1
- package/dist/motion/solid/index.d.ts +4 -4
- package/dist/motion/solid/index.js +1 -1
- package/dist/motion/system.js +1 -1
- package/dist/motion/tokens.d.ts +1 -1
- package/dist/primitives/streaming/index.d.ts +2 -2
- package/dist/styles/themes/dark.css +12 -4
- package/dist/styles/themes/light.css +12 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type CreateOverlayPositionOptions, createOverlayPosition, type OverlayAlign, type OverlayPlacement, } from "./overlayPosition";
|
|
@@ -45,6 +45,29 @@
|
|
|
45
45
|
* matching, so that form would have been dead CSS and the flip would have
|
|
46
46
|
* looked broken rather than unsupported.
|
|
47
47
|
*/
|
|
48
|
+
/*
|
|
49
|
+
* The flip tints. It does not add a backdrop filter, and that is the whole
|
|
50
|
+
* difference between a material and a hang.
|
|
51
|
+
*
|
|
52
|
+
* A `backdrop-filter` is not a paint property: it cuts the frame in two. The
|
|
53
|
+
* renderer has to stop, rasterise everything drawn so far to a texture, copy
|
|
54
|
+
* that into an atlas, blur it, and then draw the full-frame result back
|
|
55
|
+
* before continuing - per boundary, per frame. Giving the filter to *every*
|
|
56
|
+
* component that never set `material` turns each one into such a boundary.
|
|
57
|
+
*
|
|
58
|
+
* Measured, not guessed. With the filter here, a profile of the consuming
|
|
59
|
+
* app showed 3156 of 3157 main-thread samples inside
|
|
60
|
+
* `wgpu_hal::metal::Device::wait`, under `anyrender_vello::backdrop::execute`
|
|
61
|
+
* - a synchronous GPU wait on the UI thread - and its frame log reported
|
|
62
|
+
* `renderer_avg_ms=13.24` against an 8.3 ms budget at 120 Hz. That is a
|
|
63
|
+
* beachball, and it was reported as one twice.
|
|
64
|
+
*
|
|
65
|
+
* An explicit `material="glass"` still gets the real thing, because that is
|
|
66
|
+
* a deliberate choice about one surface. The flip is a global default, and a
|
|
67
|
+
* global default cannot buy a full-frame pass per element. The tint alone is
|
|
68
|
+
* what reads as glass on a translucent window anyway: the blur behind the
|
|
69
|
+
* *window* comes from the compositor, not from here.
|
|
70
|
+
*/
|
|
48
71
|
:root.glass [data-material="solid"]:not([data-material-explicit]) {
|
|
49
72
|
background-color: color-mix(
|
|
50
73
|
in oklab,
|
|
@@ -56,12 +79,6 @@
|
|
|
56
79
|
var(--glass-border-color, white),
|
|
57
80
|
transparent calc(100% - var(--glass-border-opacity, 12%))
|
|
58
81
|
);
|
|
59
|
-
-webkit-backdrop-filter: blur(var(--glass-blur, 9px))
|
|
60
|
-
saturate(var(--glass-saturation, 1.2))
|
|
61
|
-
brightness(var(--glass-brightness, 1));
|
|
62
|
-
backdrop-filter: blur(var(--glass-blur, 9px))
|
|
63
|
-
saturate(var(--glass-saturation, 1.2))
|
|
64
|
-
brightness(var(--glass-brightness, 1));
|
|
65
82
|
}
|
|
66
83
|
|
|
67
84
|
:root.glass [data-material="solid"]:not([data-material-explicit])::before {
|
|
@@ -195,7 +212,7 @@
|
|
|
195
212
|
.ui-select__trigger,
|
|
196
213
|
.language-switcher__trigger,
|
|
197
214
|
.dropdown__trigger,
|
|
198
|
-
.
|
|
215
|
+
.switch__control,
|
|
199
216
|
[data-control-material="solid"]
|
|
200
217
|
):not([data-control-material="glass"]) {
|
|
201
218
|
background-color: rgb(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Accessor } from "solid-js";
|
|
2
1
|
import type { JSX } from "@solidjs/web";
|
|
2
|
+
import { type Accessor } from "solid-js";
|
|
3
3
|
export type OverlayPlacement = "top" | "bottom" | "left" | "right";
|
|
4
4
|
export type OverlayAlign = "start" | "center" | "end";
|
|
5
5
|
export type OverlayAnchorRect = {
|
|
@@ -23,7 +23,7 @@ export interface CreateOverlayPositionOptions {
|
|
|
23
23
|
minWidth?: Accessor<number | undefined>;
|
|
24
24
|
viewportPadding?: Accessor<number>;
|
|
25
25
|
}
|
|
26
|
-
export declare const resolveOverlayAnchorRect: (trigger: Pick<HTMLElement, "getBoundingClientRect"> | undefined, anchorRect: OverlayAnchorRect | undefined) =>
|
|
26
|
+
export declare const resolveOverlayAnchorRect: (trigger: Pick<HTMLElement, "getBoundingClientRect"> | undefined, anchorRect: OverlayAnchorRect | undefined) => DOMRect | OverlayAnchorRect | undefined;
|
|
27
27
|
export declare const createOverlayPosition: (options: CreateOverlayPositionOptions) => {
|
|
28
28
|
style: import("solid-js").SourceAccessor<JSX.CSSProperties>;
|
|
29
29
|
placement: import("solid-js").SourceAccessor<OverlayPlacement>;
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
.accordion__trigger:hover:not([aria-expanded="true"]):not(:disabled):not(
|
|
70
70
|
[aria-disabled="true"]
|
|
71
71
|
),
|
|
72
|
-
.accordion__trigger[data-hovered="true"]:not(
|
|
73
|
-
|
|
74
|
-
):not(
|
|
72
|
+
.accordion__trigger[data-hovered="true"]:not([aria-expanded="true"]):not(
|
|
73
|
+
:disabled
|
|
74
|
+
):not([aria-disabled="true"]) {
|
|
75
75
|
background-color: color-mix(
|
|
76
76
|
in oklab,
|
|
77
77
|
var(--color-base-content),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionIndicator, type AccordionIndicatorProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionRoot, type AccordionRootProps, type AccordionSelectionMode, AccordionTrigger, type AccordionTriggerProps, type AccordionValue, type AccordionVariant, default, } from "./Accordion.generated";
|
|
@@ -47,20 +47,36 @@
|
|
|
47
47
|
color: var(--color-success);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.address--xs {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
.address--
|
|
54
|
-
|
|
50
|
+
.address--xs {
|
|
51
|
+
font-size: 0.75rem;
|
|
52
|
+
}
|
|
53
|
+
.address--sm {
|
|
54
|
+
font-size: 0.8125rem;
|
|
55
|
+
}
|
|
56
|
+
.address--md {
|
|
57
|
+
font-size: 0.875rem;
|
|
58
|
+
}
|
|
59
|
+
.address--lg {
|
|
60
|
+
font-size: 1rem;
|
|
61
|
+
}
|
|
62
|
+
.address--xl {
|
|
63
|
+
font-size: 1.125rem;
|
|
64
|
+
}
|
|
55
65
|
|
|
56
|
-
.address--loading {
|
|
66
|
+
.address--loading {
|
|
67
|
+
opacity: 0.6;
|
|
68
|
+
}
|
|
57
69
|
.address--error .address__value,
|
|
58
|
-
.address--invalid .address__value {
|
|
70
|
+
.address--invalid .address__value {
|
|
71
|
+
color: var(--color-error);
|
|
72
|
+
}
|
|
59
73
|
|
|
60
74
|
.address--disabled {
|
|
61
75
|
opacity: 0.5;
|
|
62
76
|
pointer-events: none;
|
|
63
77
|
}
|
|
64
78
|
|
|
65
|
-
.address--hidden {
|
|
79
|
+
.address--hidden {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
66
82
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AddressLayout as default, AddressLayout as Address } from "./Address.generated";
|
|
2
1
|
export type { AddressProps, AddressTruncate } from "./Address.generated";
|
|
3
|
-
export {
|
|
4
|
-
export { truncateAddress, copyAddress, COPY_FEEDBACK_MS, DEFAULT_LEAD, DEFAULT_TAIL, } from "./Address.interactions";
|
|
2
|
+
export { AddressLayout as default, AddressLayout as Address, } from "./Address.generated";
|
|
5
3
|
export type { TruncateOptions } from "./Address.interactions";
|
|
4
|
+
export { COPY_FEEDBACK_MS, copyAddress, DEFAULT_LEAD, DEFAULT_TAIL, truncateAddress, } from "./Address.interactions";
|
|
5
|
+
export { address } from "./Address.recipe";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { AddressLayout as Address, AddressLayout as default } from "./Address.generated.js";
|
|
2
|
-
export { address } from "./Address.recipe.js";
|
|
3
2
|
export { COPY_FEEDBACK_MS, DEFAULT_LEAD, DEFAULT_TAIL, copyAddress, truncateAddress } from "./Address.interactions.js";
|
|
3
|
+
export { address } from "./Address.recipe.js";
|
|
@@ -73,7 +73,11 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.alert--soft {
|
|
76
|
-
--alert-bg: color-mix(
|
|
76
|
+
--alert-bg: color-mix(
|
|
77
|
+
in oklab,
|
|
78
|
+
var(--alert-accent),
|
|
79
|
+
var(--color-base-100) 86%
|
|
80
|
+
);
|
|
77
81
|
--alert-fg: var(--color-base-content);
|
|
78
82
|
--alert-border: transparent;
|
|
79
83
|
}
|
|
@@ -154,7 +158,9 @@
|
|
|
154
158
|
color: inherit;
|
|
155
159
|
cursor: pointer;
|
|
156
160
|
opacity: 0.6;
|
|
157
|
-
transition:
|
|
161
|
+
transition:
|
|
162
|
+
opacity 100ms ease,
|
|
163
|
+
background-color 100ms ease;
|
|
158
164
|
}
|
|
159
165
|
|
|
160
166
|
.alert__dismiss:hover {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export
|
|
1
|
+
export type { AlertPlacement, AlertProps } from "./Alert.generated";
|
|
2
|
+
export { AlertLayout as default, AlertLayout as Alert, } from "./Alert.generated";
|
|
3
3
|
export { alert } from "./Alert.recipe";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
+
export type { AuthFieldGroupGap, AuthFieldGroupProps, } from "./AuthFieldGroup.generated";
|
|
1
2
|
export { AuthFieldGroupLayout as default, AuthFieldGroupLayout as AuthFieldGroup, } from "./AuthFieldGroup.generated";
|
|
2
|
-
export type { AuthFieldGroupProps, AuthFieldGroupGap } from "./AuthFieldGroup.generated";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
+
export type { AuthFooterLinkItem, AuthFooterLinksAlign, AuthFooterLinksProps, } from "./AuthFooterLinks.generated";
|
|
1
2
|
export { AuthFooterLinksLayout as default, AuthFooterLinksLayout as AuthFooterLinks, } from "./AuthFooterLinks.generated";
|
|
2
|
-
export type { AuthFooterLinksProps, AuthFooterLinkItem, AuthFooterLinksAlign, } from "./AuthFooterLinks.generated";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AuthMessageLayout as default, AuthMessageLayout as AuthMessage } from "./AuthMessage.generated";
|
|
2
1
|
export type { AuthMessageProps } from "./AuthMessage.generated";
|
|
2
|
+
export { AuthMessageLayout as default, AuthMessageLayout as AuthMessage, } from "./AuthMessage.generated";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
+
export type { AuthPoweredByAlign, AuthPoweredByProps, AuthPoweredByVariant, } from "./AuthPoweredBy.generated";
|
|
1
2
|
export { AuthPoweredByLayout as default, AuthPoweredByLayout as AuthPoweredBy, } from "./AuthPoweredBy.generated";
|
|
2
|
-
export type { AuthPoweredByProps, AuthPoweredByAlign, AuthPoweredByVariant, } from "./AuthPoweredBy.generated";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AuthSubmitButtonLayout as default, AuthSubmitButtonLayout as AuthSubmitButton, } from "./AuthSubmitButton.generated";
|
|
2
1
|
export type { AuthSubmitButtonProps } from "./AuthSubmitButton.generated";
|
|
2
|
+
export { AuthSubmitButtonLayout as default, AuthSubmitButtonLayout as AuthSubmitButton, } from "./AuthSubmitButton.generated";
|
|
@@ -71,10 +71,6 @@
|
|
|
71
71
|
* Fallback color modifiers
|
|
72
72
|
* -----------------------------------------------------------------------------------------------*/
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
74
|
/* -------------------------------------------------------------------------------------------------
|
|
79
75
|
* Variant: soft
|
|
80
76
|
* -----------------------------------------------------------------------------------------------*/
|
|
@@ -88,12 +84,20 @@
|
|
|
88
84
|
}
|
|
89
85
|
|
|
90
86
|
.avatar--soft .avatar__fallback--success {
|
|
91
|
-
background-color: color-mix(
|
|
87
|
+
background-color: color-mix(
|
|
88
|
+
in oklab,
|
|
89
|
+
var(--color-success) 12%,
|
|
90
|
+
transparent
|
|
91
|
+
);
|
|
92
92
|
color: var(--color-success);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.avatar--soft .avatar__fallback--warning {
|
|
96
|
-
background-color: color-mix(
|
|
96
|
+
background-color: color-mix(
|
|
97
|
+
in oklab,
|
|
98
|
+
var(--color-warning) 12%,
|
|
99
|
+
transparent
|
|
100
|
+
);
|
|
97
101
|
color: var(--color-warning);
|
|
98
102
|
}
|
|
99
103
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, AvatarRoot, type AvatarRootProps, type AvatarSize, type AvatarVariant, default, } from "./Avatar.generated";
|
|
@@ -5,5 +5,5 @@ declare const Badge: import("solid-js").Component<import("./Badge.generated").Ba
|
|
|
5
5
|
Root: import("solid-js").Component<import("./Badge.generated").BadgeRootProps>;
|
|
6
6
|
};
|
|
7
7
|
export default Badge;
|
|
8
|
-
export {
|
|
9
|
-
export
|
|
8
|
+
export type { BadgeAnchorProps, BadgeLabelProps, BadgeRootProps, BadgeRootProps as BadgeProps, } from "./Badge.generated";
|
|
9
|
+
export { Badge, BadgeAnchor, BadgeLabel, BadgeRoot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbRoot, type BreadcrumbRootProps, default as Breadcrumb, } from "./Breadcrumb.generated";
|
|
@@ -139,24 +139,52 @@
|
|
|
139
139
|
* --------------------------------------------------------------------- */
|
|
140
140
|
.button--solid {
|
|
141
141
|
--button-bg: var(--button-accent);
|
|
142
|
-
--button-bg-hover: color-mix(
|
|
143
|
-
|
|
142
|
+
--button-bg-hover: color-mix(
|
|
143
|
+
in oklab,
|
|
144
|
+
var(--button-accent),
|
|
145
|
+
var(--shade, var(--color-base-content)) var(--shade-hover, 8%)
|
|
146
|
+
);
|
|
147
|
+
--button-bg-pressed: color-mix(
|
|
148
|
+
in oklab,
|
|
149
|
+
var(--button-accent),
|
|
150
|
+
var(--shade, var(--color-base-content)) var(--shade-pressed, 12%)
|
|
151
|
+
);
|
|
144
152
|
--button-fg: var(--button-accent-fg);
|
|
145
153
|
--button-border: transparent;
|
|
146
154
|
}
|
|
147
155
|
|
|
148
156
|
.button--soft {
|
|
149
|
-
--button-bg: color-mix(
|
|
150
|
-
|
|
151
|
-
|
|
157
|
+
--button-bg: color-mix(
|
|
158
|
+
in oklab,
|
|
159
|
+
var(--button-accent),
|
|
160
|
+
var(--color-base-100) 86%
|
|
161
|
+
);
|
|
162
|
+
--button-bg-hover: color-mix(
|
|
163
|
+
in oklab,
|
|
164
|
+
var(--button-accent),
|
|
165
|
+
var(--color-base-100) 80%
|
|
166
|
+
);
|
|
167
|
+
--button-bg-pressed: color-mix(
|
|
168
|
+
in oklab,
|
|
169
|
+
var(--button-accent),
|
|
170
|
+
var(--color-base-100) 74%
|
|
171
|
+
);
|
|
152
172
|
--button-fg: var(--button-accent);
|
|
153
173
|
--button-border: transparent;
|
|
154
174
|
}
|
|
155
175
|
|
|
156
176
|
.button--outline {
|
|
157
177
|
--button-bg: transparent;
|
|
158
|
-
--button-bg-hover: color-mix(
|
|
159
|
-
|
|
178
|
+
--button-bg-hover: color-mix(
|
|
179
|
+
in oklab,
|
|
180
|
+
var(--button-accent),
|
|
181
|
+
transparent 88%
|
|
182
|
+
);
|
|
183
|
+
--button-bg-pressed: color-mix(
|
|
184
|
+
in oklab,
|
|
185
|
+
var(--button-accent),
|
|
186
|
+
transparent 80%
|
|
187
|
+
);
|
|
160
188
|
--button-fg: var(--button-accent);
|
|
161
189
|
--button-border: var(--button-accent);
|
|
162
190
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ButtonLayout as default, ButtonLayout as Button } from "./Button.generated";
|
|
2
1
|
export type { ButtonProps } from "./Button.generated";
|
|
2
|
+
export { ButtonLayout as default, ButtonLayout as Button, } from "./Button.generated";
|
|
3
3
|
export { button } from "./Button.recipe";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, ButtonGroupRoot, type ButtonGroupRootProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, default, } from "./ButtonGroup.generated";
|
|
@@ -102,7 +102,10 @@
|
|
|
102
102
|
text-align: center;
|
|
103
103
|
font-size: 0.75rem;
|
|
104
104
|
font-weight: 500;
|
|
105
|
-
color: var(
|
|
105
|
+
color: var(
|
|
106
|
+
--color-muted,
|
|
107
|
+
color-mix(in oklab, var(--color-base-content) 45%, transparent)
|
|
108
|
+
);
|
|
106
109
|
}
|
|
107
110
|
|
|
108
111
|
.calendar__day-wrapper {
|
|
@@ -208,24 +211,34 @@
|
|
|
208
211
|
}
|
|
209
212
|
|
|
210
213
|
.calendar__cell:active:not(:disabled):not(.calendar__cell--selected),
|
|
211
|
-
.calendar__cell[data-pressed="true"]:not(:disabled):not(
|
|
214
|
+
.calendar__cell[data-pressed="true"]:not(:disabled):not(
|
|
215
|
+
.calendar__cell--selected
|
|
216
|
+
) {
|
|
212
217
|
background-color: var(--color-default, var(--color-base-200));
|
|
213
218
|
}
|
|
214
219
|
|
|
215
220
|
.calendar__cell:active.calendar__cell--selected:not(:disabled),
|
|
216
221
|
.calendar__cell[data-pressed="true"].calendar__cell--selected:not(:disabled) {
|
|
217
|
-
background-color: var(
|
|
222
|
+
background-color: var(
|
|
223
|
+
--color-accent-hover,
|
|
224
|
+
color-mix(in oklab, var(--color-accent) 88%, black)
|
|
225
|
+
);
|
|
218
226
|
}
|
|
219
227
|
|
|
220
228
|
@media (hover: hover) {
|
|
221
229
|
.calendar__cell:hover:not(:disabled):not(.calendar__cell--selected),
|
|
222
|
-
.calendar__cell[data-hovered="true"]:not(:disabled):not(
|
|
230
|
+
.calendar__cell[data-hovered="true"]:not(:disabled):not(
|
|
231
|
+
.calendar__cell--selected
|
|
232
|
+
) {
|
|
223
233
|
background-color: var(--color-default, var(--color-base-200));
|
|
224
234
|
}
|
|
225
235
|
}
|
|
226
236
|
|
|
227
237
|
.calendar__cell--outside-month {
|
|
228
|
-
color: var(
|
|
238
|
+
color: var(
|
|
239
|
+
--color-muted,
|
|
240
|
+
color-mix(in oklab, var(--color-base-content) 45%, transparent)
|
|
241
|
+
);
|
|
229
242
|
opacity: 0.5;
|
|
230
243
|
}
|
|
231
244
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type CalendarDayHoverHandler, type CalendarDaySelectHandler, type CalendarProps, type CalendarSelectionMode, type CalendarWeekdayFormat, default, } from "./Calendar.generated";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CardBodyLayout, CardFooterLayout, CardHeaderLayout } from "./Card.generated";
|
|
2
2
|
/**
|
|
3
3
|
* `Card.Body` is used at 92 call sites across 7 apps, so the compound statics
|
|
4
4
|
* are reattached here. The parts carry their own recipes, which is why this
|
|
@@ -11,6 +11,6 @@ declare const Card: import("solid-js").Component<import("./Card.generated").Card
|
|
|
11
11
|
Content: import("solid-js").Component<import("./Card.generated").CardSectionProps>;
|
|
12
12
|
Footer: import("solid-js").Component<import("./Card.generated").CardSectionProps>;
|
|
13
13
|
};
|
|
14
|
-
export {
|
|
15
|
-
export
|
|
16
|
-
export {
|
|
14
|
+
export type { CardElevation, CardMaterial, CardProps, CardSectionProps, } from "./Card.generated";
|
|
15
|
+
export { card, cardBody, cardFooter, cardHeader } from "./Card.recipe";
|
|
16
|
+
export { Card as default, Card, CardBodyLayout as CardBody, CardFooterLayout as CardFooter, CardHeaderLayout as CardHeader, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type ChatBubbleProps, default } from "./ChatBubble.generated";
|
|
@@ -87,7 +87,8 @@
|
|
|
87
87
|
opacity 120ms ease;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.checkbox[data-selected="true"]
|
|
90
|
+
.checkbox[data-selected="true"]
|
|
91
|
+
[data-slot="checkbox-default-indicator--checkmark"] {
|
|
91
92
|
stroke-dashoffset: 44;
|
|
92
93
|
opacity: 1;
|
|
93
94
|
transition: stroke-dashoffset 150ms linear 15ms;
|
|
@@ -115,18 +116,27 @@
|
|
|
115
116
|
.checkbox__input:focus-visible + .checkbox__control,
|
|
116
117
|
.checkbox[data-focus-visible="true"] .checkbox__control {
|
|
117
118
|
border-color: var(--color-accent);
|
|
118
|
-
box-shadow: 0 0 0 3px
|
|
119
|
+
box-shadow: 0 0 0 3px
|
|
120
|
+
color-mix(in oklab, var(--color-accent) 22%, transparent);
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
@media (hover: hover) {
|
|
122
124
|
.checkbox:hover .checkbox__control,
|
|
123
125
|
.checkbox[data-hovered="true"] .checkbox__control {
|
|
124
|
-
border-color: color-mix(
|
|
126
|
+
border-color: color-mix(
|
|
127
|
+
in oklab,
|
|
128
|
+
var(--color-base-content) 24%,
|
|
129
|
+
transparent
|
|
130
|
+
);
|
|
125
131
|
}
|
|
126
132
|
|
|
127
133
|
.checkbox:hover .checkbox__control::before,
|
|
128
134
|
.checkbox[data-hovered="true"] .checkbox__control::before {
|
|
129
|
-
background-color: color-mix(
|
|
135
|
+
background-color: color-mix(
|
|
136
|
+
in oklab,
|
|
137
|
+
var(--color-accent),
|
|
138
|
+
var(--shade, var(--color-base-content)) var(--shade-hover, 8%)
|
|
139
|
+
);
|
|
130
140
|
}
|
|
131
141
|
}
|
|
132
142
|
|
|
@@ -146,7 +156,10 @@
|
|
|
146
156
|
opacity: 1;
|
|
147
157
|
}
|
|
148
158
|
|
|
149
|
-
.checkbox[data-invalid="true"]:not([data-selected="true"]):not(
|
|
159
|
+
.checkbox[data-invalid="true"]:not([data-selected="true"]):not(
|
|
160
|
+
[data-indeterminate="true"]
|
|
161
|
+
)
|
|
162
|
+
.checkbox__control {
|
|
150
163
|
border-color: var(--color-error);
|
|
151
164
|
}
|
|
152
165
|
|
|
@@ -155,13 +168,17 @@
|
|
|
155
168
|
color: var(--color-error-content);
|
|
156
169
|
}
|
|
157
170
|
|
|
158
|
-
.checkbox[data-invalid="true"][data-selected="true"]
|
|
159
|
-
|
|
171
|
+
.checkbox[data-invalid="true"][data-selected="true"]
|
|
172
|
+
.checkbox__control::before,
|
|
173
|
+
.checkbox[data-invalid="true"][data-indeterminate="true"]
|
|
174
|
+
.checkbox__control::before {
|
|
160
175
|
background-color: var(--color-error);
|
|
161
176
|
}
|
|
162
177
|
|
|
163
|
-
.checkbox[data-invalid="true"][data-selected="true"]
|
|
164
|
-
|
|
178
|
+
.checkbox[data-invalid="true"][data-selected="true"]
|
|
179
|
+
[data-slot="checkbox-default-indicator--checkmark"],
|
|
180
|
+
.checkbox[data-invalid="true"][data-indeterminate="true"]
|
|
181
|
+
[data-slot="checkbox-default-indicator--indeterminate"] {
|
|
165
182
|
color: var(--color-error-content);
|
|
166
183
|
}
|
|
167
184
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { type CheckboxProps, type CheckboxVariant, default, } from "./Checkbox.generated";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import CheckboxGroup from "./CheckboxGroup.generated";
|
|
2
|
-
export type { CheckboxGroupProps, CheckboxGroupVariant } from "./CheckboxGroup.generated";
|
|
2
|
+
export type { CheckboxGroupProps, CheckboxGroupVariant, } from "./CheckboxGroup.generated";
|
|
3
3
|
export { CheckboxGroup };
|
|
4
4
|
export default CheckboxGroup;
|