@bolerish/ui 0.18.1 → 1.0.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/README.md +11 -0
- package/dist/_tokens.js +4 -0
- package/dist/_tokens.js.map +2 -2
- package/dist/alert-dialog.js +39 -82
- package/dist/alert-dialog.js.map +4 -4
- package/dist/attachment.js +28 -72
- package/dist/attachment.js.map +3 -3
- package/dist/banner.js +2 -2
- package/dist/banner.js.map +1 -1
- package/dist/button-group.js +33 -77
- package/dist/button-group.js.map +3 -3
- package/dist/button.js +30 -70
- package/dist/button.js.map +3 -3
- package/dist/calendar.js +2 -1
- package/dist/calendar.js.map +2 -2
- package/dist/card.d.ts +1 -3
- package/dist/card.js +28 -73
- package/dist/card.js.map +3 -3
- package/dist/collapsible.js +3 -2
- package/dist/collapsible.js.map +2 -2
- package/dist/combobox.js +34 -76
- package/dist/combobox.js.map +3 -3
- package/dist/date-picker.js +24 -69
- package/dist/date-picker.js.map +3 -3
- package/dist/dialog.js +40 -83
- package/dist/dialog.js.map +4 -4
- package/dist/drawer.js +78 -122
- package/dist/drawer.js.map +4 -4
- package/dist/dropdown-menu.js +32 -76
- package/dist/dropdown-menu.js.map +3 -3
- package/dist/empty.js +4 -4
- package/dist/empty.js.map +1 -1
- package/dist/field.js +2 -2
- package/dist/field.js.map +1 -1
- package/dist/global.css +13 -92
- package/dist/heading.js +2 -2
- package/dist/heading.js.map +1 -1
- package/dist/hover-card.js +22 -66
- package/dist/hover-card.js.map +3 -3
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -4
- package/dist/index.js.map +2 -2
- package/dist/input-group.js +30 -72
- package/dist/input-group.js.map +3 -3
- package/dist/input-otp.js +31 -74
- package/dist/input-otp.js.map +3 -3
- package/dist/input.js +23 -67
- package/dist/input.js.map +3 -3
- package/dist/item.js +30 -74
- package/dist/item.js.map +3 -3
- package/dist/label.js +2 -2
- package/dist/label.js.map +1 -1
- package/dist/menubar.js +23 -67
- package/dist/menubar.js.map +3 -3
- package/dist/native-select.js +24 -68
- package/dist/native-select.js.map +3 -3
- package/dist/navigation-menu.js +29 -73
- package/dist/navigation-menu.js.map +3 -3
- package/dist/pagination.js +1 -1
- package/dist/pagination.js.map +1 -1
- package/dist/paragraph.js +2 -2
- package/dist/paragraph.js.map +1 -1
- package/dist/popover.js +24 -68
- package/dist/popover.js.map +3 -3
- package/dist/select.js +31 -75
- package/dist/select.js.map +3 -3
- package/dist/snackbar.js +53 -33
- package/dist/snackbar.js.map +2 -2
- package/dist/styles/modal-backdrop.d.ts +17 -0
- package/dist/styles/surface.d.ts +23 -180
- package/dist/stylex.css +294 -310
- package/dist/tabs.js +4 -4
- package/dist/tabs.js.map +1 -1
- package/dist/textarea.js +23 -67
- package/dist/textarea.js.map +3 -3
- package/dist/theme.js +4 -4
- package/dist/theme.js.map +1 -1
- package/dist/toast.js +31 -75
- package/dist/toast.js.map +3 -3
- package/dist/toggle-group.js +28 -72
- package/dist/toggle-group.js.map +3 -3
- package/dist/toggle.js +21 -65
- package/dist/toggle.js.map +3 -3
- package/dist/tooltip.js +21 -69
- package/dist/tooltip.js.map +3 -3
- package/package.json +5 -6
- package/dist/liquid-refraction.svg +0 -7
- package/dist/liquid.d.ts +0 -10
- package/dist/liquid.js +0 -237
- package/dist/liquid.js.map +0 -7
- package/dist/styles/liquid-map.d.ts +0 -5
- package/dist/styles/modal-overlay.d.ts +0 -13
- package/dist/surface.d.ts +0 -12
- package/dist/surface.js +0 -12
- package/dist/surface.js.map +0 -7
package/dist/snackbar.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/snackbar.tsx", "../src/styles/merge-styles.ts"],
|
|
4
|
-
"sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { colorVars, layerVars, radiusVars, spacingVars, typo } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport { useSyncExternalStore, useEffect, useRef, useState, type ComponentProps, type CSSProperties } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport type { ControlPlacementStyles } from \"./styles/control-layout\";\nimport { mergeStyles, type StyledProps } from \"./styles/merge-styles\";\nconst styles = {\n root: {\n kGNEyG: \"x6s0dn4\",\n kaIpWk: \"xwhwt5f\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"xmkeg23\",\n k1xSpc: \"x3nfvp2\",\n kMv6JI: \"x1b1to7n\",\n kGuDYH: \"x1gag4p9\",\n k63SB2: \"xoop9yj\",\n kOIVth: \"x136xbx3\",\n kHBbk8: \"xc8icb0\",\n kLWn49: \"x15rnifv\",\n k8WAf4: \"x1mmca2r\",\n kg3NbH: \"x5044ve\",\n kVAEAm: \"x1n2onr6\",\n khDVqt: \"xuxw1ft\",\n $$css: true\n }\n};\nconst tones = {\n success: {\n kWkggS: \"x1y4jrb8\",\n kMwMTN: \"x1kmg14s\",\n kVAM5u: \"xinhyjt\",\n $$css: true\n },\n warning: {\n kWkggS: \"x1ei3au1\",\n kMwMTN: \"x1kmo6vn\",\n kVAM5u: \"x1vl4jgv\",\n $$css: true\n },\n error: {\n kWkggS: \"x1joc7g2\",\n kMwMTN: \"xat8mfl\",\n kVAM5u: \"x165btzp\",\n $$css: true\n },\n info: {\n kWkggS: \"x173w07f\",\n kMwMTN: \"xbpx0ws\",\n kVAM5u: \"x17y0vtu\",\n $$css: true\n },\n neutral: {\n kWkggS: \"xmqg8ag\",\n kMwMTN: \"xj9e3ow\",\n kVAM5u: \"x1kqtvf4\",\n $$css: true\n }\n};\nconst subscribe = () => () => {};\nconst clientSnapshot = () => true;\nconst serverSnapshot = () => false;\nexport type SnackbarPosition = \"top-left\" | \"top-center\" | \"top-right\" | \"bottom-left\" | \"bottom-center\" | \"bottom-right\";\nexport type SnackbarProps = StyledProps<ComponentProps<\"span\">> & {\n tone?: keyof typeof tones;\n /** Defaults to bottom-center; null renders inline. Small screens center horizontally. */\n position?: SnackbarPosition | null;\n /** Edge gap, in px for numbers. Defaults to 16px mobile / 24px desktop, plus safe area. */\n offset?: string | number;\n /** Keep mounted while open changes so exit motion can finish. */\n open?: boolean;\n defaultOpen?: boolean;\n onOpenChange?: (open: boolean) => void;\n /** Milliseconds before dismissal; 0 disables the timer. */\n duration?: number;\n xstyle?: ControlPlacementStyles;\n};\n\n/** A non-interactive status label with a decorative color echo on visibility changes. */\nexport function Snackbar(t0) {\n const $ = _c(
|
|
5
|
-
"mappings": ";;;AAEA,SAAS,KAAK,UAAU;AAExB,YAAY,YAAY;AACxB,SAAS,sBAAsB,WAAW,QAAQ,gBAAyD;AAC3G,SAAS,oBAAoB;;;
|
|
4
|
+
"sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { colorVars, layerVars, radiusVars, spacingVars, sizeVars, typo } from \"@bolerish/tokens/semantic.stylex\";\nimport { BellIcon, CheckCircleIcon, InfoIcon, WarningIcon, XCircleIcon } from \"@phosphor-icons/react\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport { useSyncExternalStore, useEffect, useRef, useState, type ComponentProps, type CSSProperties } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport type { ControlPlacementStyles } from \"./styles/control-layout\";\nimport { mergeStyles, type StyledProps } from \"./styles/merge-styles\";\nconst styles = {\n root: {\n kGNEyG: \"x6s0dn4\",\n kaIpWk: \"xwhwt5f\",\n ksu8eU: \"x1y0btm7\",\n kMzoRj: \"xmkeg23\",\n k1xSpc: \"x3nfvp2\",\n kMv6JI: \"x1b1to7n\",\n kGuDYH: \"x1gag4p9\",\n k63SB2: \"xoop9yj\",\n kOIVth: \"x136xbx3\",\n kHBbk8: \"xc8icb0\",\n kLWn49: \"x15rnifv\",\n k8WAf4: \"x1mmca2r\",\n kg3NbH: \"x5044ve\",\n kVAEAm: \"x1n2onr6\",\n khDVqt: \"xuxw1ft\",\n $$css: true\n }\n};\nconst tones = {\n success: {\n kWkggS: \"x1y4jrb8\",\n kMwMTN: \"x1kmg14s\",\n kVAM5u: \"xinhyjt\",\n $$css: true\n },\n warning: {\n kWkggS: \"x1ei3au1\",\n kMwMTN: \"x1kmo6vn\",\n kVAM5u: \"x1vl4jgv\",\n $$css: true\n },\n error: {\n kWkggS: \"x1joc7g2\",\n kMwMTN: \"xat8mfl\",\n kVAM5u: \"x165btzp\",\n $$css: true\n },\n info: {\n kWkggS: \"x173w07f\",\n kMwMTN: \"xbpx0ws\",\n kVAM5u: \"x17y0vtu\",\n $$css: true\n },\n neutral: {\n kWkggS: \"xmqg8ag\",\n kMwMTN: \"xj9e3ow\",\n kVAM5u: \"x1kqtvf4\",\n $$css: true\n }\n};\nconst toneIcons = {\n neutral: BellIcon,\n success: CheckCircleIcon,\n warning: WarningIcon,\n error: XCircleIcon,\n info: InfoIcon\n};\nconst subscribe = () => () => {};\nconst clientSnapshot = () => true;\nconst serverSnapshot = () => false;\nexport type SnackbarPosition = \"top-left\" | \"top-center\" | \"top-right\" | \"bottom-left\" | \"bottom-center\" | \"bottom-right\";\nexport type SnackbarProps = StyledProps<ComponentProps<\"span\">> & {\n tone?: keyof typeof tones;\n /** Defaults to bottom-center; null renders inline. Small screens center horizontally. */\n position?: SnackbarPosition | null;\n /** Edge gap, in px for numbers. Defaults to 16px mobile / 24px desktop, plus safe area. */\n offset?: string | number;\n /** Keep mounted while open changes so exit motion can finish. */\n open?: boolean;\n defaultOpen?: boolean;\n onOpenChange?: (open: boolean) => void;\n /** Milliseconds before dismissal; 0 disables the timer. */\n duration?: number;\n xstyle?: ControlPlacementStyles;\n};\n\n/** A non-interactive status label with a decorative color echo on visibility changes. */\nexport function Snackbar(t0) {\n const $ = _c(43);\n let children;\n let className;\n let controlledOpen;\n let offset;\n let onOpenChange;\n let props;\n let style;\n let t1;\n let t2;\n let t3;\n let t4;\n let xstyle;\n if ($[0] !== t0) {\n ({\n tone: t1,\n position: t2,\n offset,\n open: controlledOpen,\n defaultOpen: t3,\n onOpenChange,\n duration: t4,\n children,\n className,\n style,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = children;\n $[2] = className;\n $[3] = controlledOpen;\n $[4] = offset;\n $[5] = onOpenChange;\n $[6] = props;\n $[7] = style;\n $[8] = t1;\n $[9] = t2;\n $[10] = t3;\n $[11] = t4;\n $[12] = xstyle;\n } else {\n children = $[1];\n className = $[2];\n controlledOpen = $[3];\n offset = $[4];\n onOpenChange = $[5];\n props = $[6];\n style = $[7];\n t1 = $[8];\n t2 = $[9];\n t3 = $[10];\n t4 = $[11];\n xstyle = $[12];\n }\n const tone = t1 === undefined ? \"neutral\" : t1;\n const position = t2 === undefined ? \"bottom-center\" : t2;\n const defaultOpen = t3 === undefined ? true : t3;\n const duration = t4 === undefined ? 3000 : t4;\n const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);\n const controlled = controlledOpen !== undefined;\n const visible = controlled ? controlledOpen : uncontrolledOpen;\n const onOpenChangeRef = useRef(onOpenChange);\n let t5;\n let t6;\n if ($[13] !== onOpenChange) {\n t5 = () => {\n onOpenChangeRef.current = onOpenChange;\n };\n t6 = [onOpenChange];\n $[13] = onOpenChange;\n $[14] = t5;\n $[15] = t6;\n } else {\n t5 = $[14];\n t6 = $[15];\n }\n useEffect(t5, t6);\n let t7;\n let t8;\n if ($[16] !== controlled || $[17] !== duration || $[18] !== visible) {\n t7 = () => {\n if (!visible || !Number.isFinite(duration) || duration <= 0) {\n return;\n }\n const timer = window.setTimeout(() => {\n if (!controlled) {\n setUncontrolledOpen(false);\n }\n onOpenChangeRef.current?.(false);\n }, duration);\n return () => window.clearTimeout(timer);\n };\n t8 = [visible, duration, controlled];\n $[16] = controlled;\n $[17] = duration;\n $[18] = visible;\n $[19] = t7;\n $[20] = t8;\n } else {\n t7 = $[19];\n t8 = $[20];\n }\n useEffect(t7, t8);\n const mounted = useSyncExternalStore(subscribe, clientSnapshot, serverSnapshot);\n const ToneIcon = toneIcons[tone];\n let t9;\n if ($[21] !== className || $[22] !== style || $[23] !== tone || $[24] !== xstyle) {\n t9 = mergeStyles(stylex.props(styles.root, tones[tone], xstyle), className, style);\n $[21] = className;\n $[22] = style;\n $[23] = tone;\n $[24] = xstyle;\n $[25] = t9;\n } else {\n t9 = $[25];\n }\n const t10 = visible ? \"true\" : \"false\";\n const t11 = visible ? props[\"aria-hidden\"] : true;\n let t12;\n if ($[26] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t12 = {\n className: \"x2lah0s x1ocw26t xcknfuo\"\n };\n $[26] = t12;\n } else {\n t12 = $[26];\n }\n let t13;\n if ($[27] !== ToneIcon) {\n t13 = <ToneIcon aria-hidden=\"true\" {...t12} />;\n $[27] = ToneIcon;\n $[28] = t13;\n } else {\n t13 = $[28];\n }\n let t14;\n if ($[29] !== children || $[30] !== props || $[31] !== t10 || $[32] !== t11 || $[33] !== t13 || $[34] !== t9) {\n t14 = <span {...props} {...t9} data-bolerish-status-pill=\"\" data-visible={t10} aria-hidden={t11}>{t13}{children}</span>;\n $[29] = children;\n $[30] = props;\n $[31] = t10;\n $[32] = t11;\n $[33] = t13;\n $[34] = t9;\n $[35] = t14;\n } else {\n t14 = $[35];\n }\n const pill = t14;\n if (!position) {\n return pill;\n }\n if (!mounted) {\n return null;\n }\n let t15;\n if ($[36] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t15 = {\n className: \"x1p9f38c\"\n };\n $[36] = t15;\n } else {\n t15 = $[36];\n }\n let t16;\n if ($[37] !== offset) {\n t16 = offset === undefined ? undefined : {\n \"--bolerish-status-offset\": typeof offset === \"number\" ? `${offset}px` : offset\n } as CSSProperties;\n $[37] = offset;\n $[38] = t16;\n } else {\n t16 = $[38];\n }\n let t17;\n if ($[39] !== pill || $[40] !== position || $[41] !== t16) {\n t17 = createPortal(<div {...t15} data-bolerish-status-position={position} style={t16}>{pill}</div>, document.body);\n $[39] = pill;\n $[40] = position;\n $[41] = t16;\n $[42] = t17;\n } else {\n t17 = $[42];\n }\n return t17;\n}", "import type * as stylex from \"@stylexjs/stylex\";\nimport type { CSSProperties } from \"react\";\nexport type StyledProps<Props> = Props extends unknown ? Omit<Props, \"className\" | \"style\"> & {\n className?: string;\n style?: CSSProperties;\n} : never;\nexport function mergeStyles(base: ReturnType<typeof stylex.props>, className?: string, style?: CSSProperties): {\n className?: string;\n style?: CSSProperties;\n} {\n if (className === undefined && style === undefined) return base;\n return {\n ...base,\n className: [base.className, className].filter(Boolean).join(\" \") || undefined,\n style: base.style || style ? {\n ...base.style,\n ...style\n } : undefined\n };\n}"],
|
|
5
|
+
"mappings": ";;;AAEA,SAAS,KAAK,UAAU;AAExB,SAAS,UAAU,iBAAiB,UAAU,aAAa,mBAAmB;AAC9E,YAAY,YAAY;AACxB,SAAS,sBAAsB,WAAW,QAAQ,gBAAyD;AAC3G,SAAS,oBAAoB;;;ACDtB,SAAS,YAAY,MAAuC,WAAoB,OAGrF;AACA,MAAI,cAAc,UAAa,UAAU,OAAW,QAAO;AAC3D,SAAO;AAAA,IACL,GAAG;AAAA,IACH,WAAW,CAAC,KAAK,WAAW,SAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,KAAK;AAAA,IACpE,OAAO,KAAK,SAAS,QAAQ;AAAA,MAC3B,GAAG,KAAK;AAAA,MACR,GAAG;AAAA,IACL,IAAI;AAAA,EACN;AACF;;;ADyMU,cAQA,YARA;AAlNV,IAAM,SAAS;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AACF;AACA,IAAM,QAAQ;AAAA,EACZ,SAAS;AAAA,IACP,Q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MAAI,EAAE,EAAE,MAAM,QAAQ,EAAE,EAAE,MAAM,YAAY,EAAE,EAAE,MAAM,KAAK;AACzD,UAAM,aAAa,oBAAC,SAAK,GAAG,KAAK,iCAA+B,UAAU,OAAO,KAAM,gBAAK,GAAQ,SAAS,IAAI;AACjH,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AAAA,EACV,OAAO;AACL,UAAM,EAAE,EAAE;AAAA,EACZ;AACA,SAAO;AACT;",
|
|
6
6
|
"names": ["props"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
export declare const modalBackdropStyles: Readonly<{
|
|
3
|
+
readonly root: Readonly<{
|
|
4
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
5
|
+
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "blur(4px)">;
|
|
6
|
+
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "blur(4px)">;
|
|
7
|
+
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
8
|
+
readonly WebkitBackdropFilter: "none";
|
|
9
|
+
readonly backdropFilter: "none";
|
|
10
|
+
}>;
|
|
11
|
+
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
12
|
+
readonly backgroundColor: "Canvas";
|
|
13
|
+
readonly WebkitBackdropFilter: "none";
|
|
14
|
+
readonly backdropFilter: "none";
|
|
15
|
+
}>;
|
|
16
|
+
}>;
|
|
17
|
+
}>;
|
package/dist/styles/surface.d.ts
CHANGED
|
@@ -1,206 +1,49 @@
|
|
|
1
1
|
import * as stylex from "@stylexjs/stylex";
|
|
2
|
-
export declare const surfaceStyles: {
|
|
3
|
-
edge: Readonly<{
|
|
2
|
+
export declare const surfaceStyles: Readonly<{
|
|
3
|
+
readonly edge: Readonly<{
|
|
4
4
|
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
5
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
6
|
-
readonly borderColor: stylex.StyleXVar<string>;
|
|
7
|
-
}>;
|
|
8
5
|
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
9
6
|
readonly borderColor: "CanvasText";
|
|
10
7
|
}>;
|
|
11
8
|
}>;
|
|
12
|
-
panel:
|
|
13
|
-
readonly
|
|
14
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
|
|
15
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
|
|
16
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `color-mix(in srgb, var(--bolerish-material-color, ${stylex.StyleXVar<string>}) var(--bolerish-material-opacity), transparent)` | `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`>;
|
|
17
|
-
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
18
|
-
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
19
|
-
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-material-sheen, var(--bolerish-surface-sheen, none))">;
|
|
20
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
21
|
-
readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
|
|
22
|
-
readonly WebkitBackdropFilter: "none";
|
|
23
|
-
readonly backdropFilter: "none";
|
|
24
|
-
readonly backgroundImage: "none";
|
|
25
|
-
readonly boxShadow: "var(--bolerish-material-shadow)";
|
|
26
|
-
}>;
|
|
9
|
+
readonly panel: Readonly<{
|
|
10
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
27
11
|
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
28
12
|
readonly backgroundColor: "Canvas";
|
|
29
|
-
readonly WebkitBackdropFilter: "none";
|
|
30
|
-
readonly backdropFilter: "none";
|
|
31
|
-
readonly backgroundImage: "none";
|
|
32
|
-
readonly boxShadow: "none";
|
|
33
|
-
}>;
|
|
34
|
-
}> | Readonly<{
|
|
35
|
-
readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
|
|
36
|
-
readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-panel-opacity, 100%)">;
|
|
37
|
-
readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-panel-filter, none)">;
|
|
38
|
-
}>)[];
|
|
39
|
-
control: (Readonly<{
|
|
40
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-surface-sheen, none)">;
|
|
41
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
|
|
42
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
|
|
43
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `color-mix(in srgb, var(--bolerish-material-color, ${stylex.StyleXVar<string>}) var(--bolerish-material-opacity), transparent)` | `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`>;
|
|
44
|
-
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
45
|
-
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
46
|
-
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-material-sheen, var(--bolerish-surface-sheen, none))">;
|
|
47
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
48
|
-
readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
|
|
49
|
-
readonly WebkitBackdropFilter: "none";
|
|
50
|
-
readonly backdropFilter: "none";
|
|
51
|
-
readonly backgroundImage: "none";
|
|
52
|
-
readonly boxShadow: "var(--bolerish-material-shadow)";
|
|
53
|
-
}>;
|
|
54
|
-
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
55
|
-
readonly backgroundColor: "Canvas";
|
|
56
|
-
readonly WebkitBackdropFilter: "none";
|
|
57
|
-
readonly backdropFilter: "none";
|
|
58
|
-
readonly backgroundImage: "none";
|
|
59
|
-
readonly boxShadow: "none";
|
|
60
|
-
}>;
|
|
61
|
-
}> | Readonly<{
|
|
62
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-control-sheen, none)">;
|
|
63
|
-
readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
|
|
64
|
-
readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-control-opacity, 100%)">;
|
|
65
|
-
readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-control-filter, none)">;
|
|
66
|
-
}>)[];
|
|
67
|
-
subtle: (Readonly<{
|
|
68
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-surface-sheen, none)">;
|
|
69
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
|
|
70
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
|
|
71
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `color-mix(in srgb, var(--bolerish-material-color, ${stylex.StyleXVar<string>}) var(--bolerish-material-opacity), transparent)` | `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`>;
|
|
72
|
-
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
73
|
-
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
74
|
-
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-material-sheen, var(--bolerish-surface-sheen, none))">;
|
|
75
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
76
|
-
readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
|
|
77
|
-
readonly WebkitBackdropFilter: "none";
|
|
78
|
-
readonly backdropFilter: "none";
|
|
79
|
-
readonly backgroundImage: "none";
|
|
80
|
-
readonly boxShadow: "var(--bolerish-material-shadow)";
|
|
81
13
|
}>;
|
|
14
|
+
}>;
|
|
15
|
+
readonly control: Readonly<{
|
|
16
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
82
17
|
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
83
18
|
readonly backgroundColor: "Canvas";
|
|
84
|
-
readonly WebkitBackdropFilter: "none";
|
|
85
|
-
readonly backdropFilter: "none";
|
|
86
|
-
readonly backgroundImage: "none";
|
|
87
|
-
readonly boxShadow: "none";
|
|
88
|
-
}>;
|
|
89
|
-
}> | Readonly<{
|
|
90
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-control-sheen, none)">;
|
|
91
|
-
readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
|
|
92
|
-
readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-control-opacity, 100%)">;
|
|
93
|
-
readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-control-filter, none)">;
|
|
94
|
-
}>)[];
|
|
95
|
-
outline: (Readonly<{
|
|
96
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-surface-sheen, none)">;
|
|
97
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
|
|
98
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
|
|
99
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `color-mix(in srgb, var(--bolerish-material-color, ${stylex.StyleXVar<string>}) var(--bolerish-material-opacity), transparent)` | `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`>;
|
|
100
|
-
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
101
|
-
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
102
|
-
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-material-sheen, var(--bolerish-surface-sheen, none))">;
|
|
103
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
104
|
-
readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
|
|
105
|
-
readonly WebkitBackdropFilter: "none";
|
|
106
|
-
readonly backdropFilter: "none";
|
|
107
|
-
readonly backgroundImage: "none";
|
|
108
|
-
readonly boxShadow: "var(--bolerish-material-shadow)";
|
|
109
19
|
}>;
|
|
20
|
+
}>;
|
|
21
|
+
readonly subtle: Readonly<{
|
|
22
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
110
23
|
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
111
24
|
readonly backgroundColor: "Canvas";
|
|
112
|
-
readonly WebkitBackdropFilter: "none";
|
|
113
|
-
readonly backdropFilter: "none";
|
|
114
|
-
readonly backgroundImage: "none";
|
|
115
|
-
readonly boxShadow: "none";
|
|
116
|
-
}>;
|
|
117
|
-
}> | Readonly<{
|
|
118
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-control-sheen, none)">;
|
|
119
|
-
readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
|
|
120
|
-
readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-control-opacity, 100%)">;
|
|
121
|
-
readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-control-filter, none)">;
|
|
122
|
-
}>)[];
|
|
123
|
-
raised: (Readonly<{
|
|
124
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-surface-sheen, none)">;
|
|
125
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
|
|
126
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
|
|
127
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `color-mix(in srgb, var(--bolerish-material-color, ${stylex.StyleXVar<string>}) var(--bolerish-material-opacity), transparent)` | `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`>;
|
|
128
|
-
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
129
|
-
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
130
|
-
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-material-sheen, var(--bolerish-surface-sheen, none))">;
|
|
131
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
132
|
-
readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
|
|
133
|
-
readonly WebkitBackdropFilter: "none";
|
|
134
|
-
readonly backdropFilter: "none";
|
|
135
|
-
readonly backgroundImage: "none";
|
|
136
|
-
readonly boxShadow: "var(--bolerish-material-shadow)";
|
|
137
25
|
}>;
|
|
26
|
+
}>;
|
|
27
|
+
readonly outline: Readonly<{
|
|
28
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
138
29
|
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
139
30
|
readonly backgroundColor: "Canvas";
|
|
140
|
-
readonly WebkitBackdropFilter: "none";
|
|
141
|
-
readonly backdropFilter: "none";
|
|
142
|
-
readonly backgroundImage: "none";
|
|
143
|
-
readonly boxShadow: "none";
|
|
144
|
-
}>;
|
|
145
|
-
}> | Readonly<{
|
|
146
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", `var(--bolerish-raised-shadow, ${stylex.StyleXVar<string>})`>;
|
|
147
|
-
readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
|
|
148
|
-
readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-floating-opacity, 100%)">;
|
|
149
|
-
readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-floating-filter, none)">;
|
|
150
|
-
}>)[];
|
|
151
|
-
translucent: (Readonly<{
|
|
152
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-surface-sheen, none)">;
|
|
153
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
|
|
154
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
|
|
155
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `color-mix(in srgb, var(--bolerish-material-color, ${stylex.StyleXVar<string>}) var(--bolerish-material-opacity), transparent)` | `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`>;
|
|
156
|
-
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
157
|
-
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
158
|
-
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-material-sheen, var(--bolerish-surface-sheen, none))">;
|
|
159
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
160
|
-
readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
|
|
161
|
-
readonly WebkitBackdropFilter: "none";
|
|
162
|
-
readonly backdropFilter: "none";
|
|
163
|
-
readonly backgroundImage: "none";
|
|
164
|
-
readonly boxShadow: "var(--bolerish-material-shadow)";
|
|
165
31
|
}>;
|
|
32
|
+
}>;
|
|
33
|
+
readonly raised: Readonly<{
|
|
34
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
35
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
166
36
|
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
167
37
|
readonly backgroundColor: "Canvas";
|
|
168
|
-
readonly WebkitBackdropFilter: "none";
|
|
169
|
-
readonly backdropFilter: "none";
|
|
170
|
-
readonly backgroundImage: "none";
|
|
171
38
|
readonly boxShadow: "none";
|
|
172
39
|
}>;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
}>)[];
|
|
178
|
-
floating: (Readonly<{
|
|
179
|
-
readonly "--bolerish-material-sheen": stylex.StyleXClassNameFor<"--bolerish-material-sheen", "var(--bolerish-surface-sheen, none)">;
|
|
180
|
-
readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
|
|
181
|
-
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
|
|
182
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", `color-mix(in srgb, var(--bolerish-material-color, ${stylex.StyleXVar<string>}) var(--bolerish-material-opacity), transparent)` | `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`>;
|
|
183
|
-
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
184
|
-
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
|
|
185
|
-
readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-material-sheen, var(--bolerish-surface-sheen, none))">;
|
|
186
|
-
readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
|
|
187
|
-
readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
|
|
188
|
-
readonly WebkitBackdropFilter: "none";
|
|
189
|
-
readonly backdropFilter: "none";
|
|
190
|
-
readonly backgroundImage: "none";
|
|
191
|
-
readonly boxShadow: "var(--bolerish-material-shadow)";
|
|
192
|
-
}>;
|
|
40
|
+
}>;
|
|
41
|
+
readonly floating: Readonly<{
|
|
42
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
43
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
193
44
|
readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
|
|
194
45
|
readonly backgroundColor: "Canvas";
|
|
195
|
-
readonly WebkitBackdropFilter: "none";
|
|
196
|
-
readonly backdropFilter: "none";
|
|
197
|
-
readonly backgroundImage: "none";
|
|
198
46
|
readonly boxShadow: "none";
|
|
199
47
|
}>;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
|
|
203
|
-
readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-floating-opacity, 94%)">;
|
|
204
|
-
readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-floating-filter, blur(16px))">;
|
|
205
|
-
}>)[];
|
|
206
|
-
};
|
|
48
|
+
}>;
|
|
49
|
+
}>;
|