@bolerish/ui 0.13.0 → 0.16.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.
Files changed (88) hide show
  1. package/dist/alert-dialog.js +69 -17
  2. package/dist/alert-dialog.js.map +3 -3
  3. package/dist/attachment.js +89 -10
  4. package/dist/attachment.js.map +4 -4
  5. package/dist/button-group.js +84 -5
  6. package/dist/button-group.js.map +4 -4
  7. package/dist/button.d.ts +10 -2
  8. package/dist/button.js +81 -2
  9. package/dist/button.js.map +4 -4
  10. package/dist/calendar.js +16 -11
  11. package/dist/calendar.js.map +2 -2
  12. package/dist/card.js +70 -18
  13. package/dist/card.js.map +3 -3
  14. package/dist/carousel.d.ts +2 -2
  15. package/dist/carousel.js +78 -43
  16. package/dist/carousel.js.map +2 -2
  17. package/dist/combobox.d.ts +2 -1
  18. package/dist/combobox.js +140 -77
  19. package/dist/combobox.js.map +3 -3
  20. package/dist/date-picker.js +152 -37
  21. package/dist/date-picker.js.map +4 -4
  22. package/dist/dialog.d.ts +1 -1
  23. package/dist/dialog.js +69 -17
  24. package/dist/dialog.js.map +3 -3
  25. package/dist/drawer.js +73 -21
  26. package/dist/drawer.js.map +3 -3
  27. package/dist/dropdown-menu.d.ts +1 -1
  28. package/dist/dropdown-menu.js +76 -20
  29. package/dist/dropdown-menu.js.map +3 -3
  30. package/dist/global.css +33 -0
  31. package/dist/hover-card.d.ts +1 -1
  32. package/dist/hover-card.js +66 -14
  33. package/dist/hover-card.js.map +3 -3
  34. package/dist/index.d.ts +6 -2
  35. package/dist/index.js +19 -15
  36. package/dist/index.js.map +2 -2
  37. package/dist/input-group.d.ts +1 -1
  38. package/dist/input-group.js +111 -44
  39. package/dist/input-group.js.map +4 -4
  40. package/dist/input-otp.js +84 -5
  41. package/dist/input-otp.js.map +4 -4
  42. package/dist/input.d.ts +1 -1
  43. package/dist/input.js +122 -17
  44. package/dist/input.js.map +4 -4
  45. package/dist/item.d.ts +32 -0
  46. package/dist/{content-row.js → item.js} +103 -24
  47. package/dist/item.js.map +7 -0
  48. package/dist/liquid-refraction.svg +7 -0
  49. package/dist/liquid.d.ts +10 -0
  50. package/dist/liquid.js +229 -0
  51. package/dist/liquid.js.map +7 -0
  52. package/dist/menubar.d.ts +1 -1
  53. package/dist/menubar.js +66 -14
  54. package/dist/menubar.js.map +3 -3
  55. package/dist/native-select.js +102 -22
  56. package/dist/native-select.js.map +4 -4
  57. package/dist/navigation-menu.js +71 -19
  58. package/dist/navigation-menu.js.map +3 -3
  59. package/dist/pagination.js +2 -0
  60. package/dist/pagination.js.map +2 -2
  61. package/dist/popover.js +70 -16
  62. package/dist/popover.js.map +3 -3
  63. package/dist/select.js +75 -18
  64. package/dist/select.js.map +3 -3
  65. package/dist/slider.d.ts +1 -1
  66. package/dist/slider.js +60 -48
  67. package/dist/slider.js.map +2 -2
  68. package/dist/styles/liquid-map.d.ts +5 -0
  69. package/dist/styles/surface.d.ts +152 -13
  70. package/dist/stylex.css +205 -17
  71. package/dist/surface.d.ts +12 -0
  72. package/dist/surface.js +12 -0
  73. package/dist/surface.js.map +7 -0
  74. package/dist/textarea.js +81 -2
  75. package/dist/textarea.js.map +4 -4
  76. package/dist/toast.d.ts +3 -1
  77. package/dist/toast.js +127 -61
  78. package/dist/toast.js.map +3 -3
  79. package/dist/toggle-group.js +82 -3
  80. package/dist/toggle-group.js.map +4 -4
  81. package/dist/toggle.js +81 -2
  82. package/dist/toggle.js.map +4 -4
  83. package/dist/tooltip.d.ts +1 -1
  84. package/dist/tooltip.js +85 -2
  85. package/dist/tooltip.js.map +4 -4
  86. package/package.json +10 -5
  87. package/dist/content-row.d.ts +0 -32
  88. package/dist/content-row.js.map +0 -7
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/slider.tsx", "../src/styles/merge-styles.ts"],
4
- "sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { Slider as SliderPrimitive } from \"@base-ui/react/slider\";\nimport { colorVars, motionVars, opacityVars, radiusVars, sizeVars } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport type { ControlLayoutStyles } from \"./styles/control-layout\";\nimport { mergeStyles } from \"./styles/merge-styles\";\nimport type { StyledProps } from \"./styles/merge-styles\";\nconst styles = {\n root: {\n kSiTet: \"x1hc1fzr x1qx4qp5\",\n kIyJzY: \"xznvecg\",\n k1ekBW: \"x19991ni\",\n kAMwcw: \"xrkjf8i\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n }\n};\nexport type SliderProps = StyledProps<ComponentProps<typeof SliderPrimitive.Root>> & {\n /** Returns an accessible name for each thumb in a range slider. */\n getAriaLabel?: (index: number) => string;\n xstyle?: ControlLayoutStyles;\n};\nexport function Slider(t0) {\n const $ = _c(26);\n let className;\n let defaultValue;\n let getAriaLabel;\n let props;\n let style;\n let value;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n defaultValue,\n getAriaLabel,\n value,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = className;\n $[2] = defaultValue;\n $[3] = getAriaLabel;\n $[4] = props;\n $[5] = style;\n $[6] = value;\n $[7] = xstyle;\n } else {\n className = $[1];\n defaultValue = $[2];\n getAriaLabel = $[3];\n props = $[4];\n style = $[5];\n value = $[6];\n xstyle = $[7];\n }\n const currentValue = value ?? defaultValue;\n const thumbCount = Array.isArray(currentValue) ? currentValue.length : 1;\n let t1;\n if ($[8] !== className || $[9] !== style || $[10] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.root, xstyle), className, style);\n $[8] = className;\n $[9] = style;\n $[10] = xstyle;\n $[11] = t1;\n } else {\n t1 = $[11];\n }\n let t2;\n if ($[12] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t2 = {\n className: \"x6s0dn4 x78zum5 x1rrewj3 x1n2onr6 x5ve5x3 xh8yej3\"\n };\n $[12] = t2;\n } else {\n t2 = $[12];\n }\n let t3;\n if ($[13] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t3 = {\n className: \"xmqg8ag xwhwt5f xg80tyb xb3r6kr xh8yej3\"\n };\n $[13] = t3;\n } else {\n t3 = $[13];\n }\n let t4;\n if ($[14] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t4 = <SliderPrimitive.Track {...t3}><SliderPrimitive.Indicator className=\"x1k98rc1 xwhwt5f x5yr21d\" /></SliderPrimitive.Track>;\n $[14] = t4;\n } else {\n t4 = $[14];\n }\n let t5;\n if ($[15] !== getAriaLabel || $[16] !== thumbCount) {\n let t6;\n if ($[18] !== getAriaLabel) {\n t6 = (_, index) => <SliderPrimitive.Thumb getAriaLabel={getAriaLabel} index={index} key={index} className=\"xcc0o6n x1lpgi1j xwhwt5f x1y0btm7 x1al7nqq x32j0x8 x1a2a7pz x10sws06 x768paa x1m0b1kh x9v5kkp x1k4h2j2\" />;\n $[18] = getAriaLabel;\n $[19] = t6;\n } else {\n t6 = $[19];\n }\n t5 = <SliderPrimitive.Control {...t2}>{t4}{Array.from({\n length: thumbCount\n }, t6)}</SliderPrimitive.Control>;\n $[15] = getAriaLabel;\n $[16] = thumbCount;\n $[17] = t5;\n } else {\n t5 = $[17];\n }\n let t6;\n if ($[20] !== defaultValue || $[21] !== props || $[22] !== t1 || $[23] !== t5 || $[24] !== value) {\n t6 = <SliderPrimitive.Root {...props} defaultValue={defaultValue} value={value} {...t1}>{t5}</SliderPrimitive.Root>;\n $[20] = defaultValue;\n $[21] = props;\n $[22] = t1;\n $[23] = t5;\n $[24] = value;\n $[25] = t6;\n } else {\n t6 = $[25];\n }\n return t6;\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;AACxB,SAAS,UAAU,uBAAuB;AAE1C,YAAY,YAAY;;;ACCjB,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;;;AD0EwC,cAe/B,YAf+B;AAnFxC,IAAM,SAAS;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AACF;AAMO,SAAS,OAAO,IAAI;AACzB,QAAM,IAAI,GAAG,EAAE;AACf,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAIA;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI,EAAE,CAAC,MAAM,IAAI;AACf,KAAC;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,GAAGA;AAAA,IACL,IAAI;AACJ,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAIA;AACP,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAI;AACP,MAAE,CAAC,IAAI;AAAA,EACT,OAAO;AACL,gBAAY,EAAE,CAAC;A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ClD,QAAIC;AACJ,QAAI,EAAE,EAAE,MAAM,cAAc;AAC1B,MAAAA,MAAK,CAAC,GAAG,UAAU,oBAAC,gBAAgB,OAAhB,EAAsB,cAA4B,OAA0B,WAAU,4GAAjB,KAA0H;AACnN,QAAE,EAAE,IAAI;AACR,QAAE,EAAE,IAAIA;AAAA,IACV,OAAO;AACL,MAAAA,MAAK,EAAE,EAAE;AAAA,IACX;AACA,SAAK,qBAAC,gBAAgB,SAAhB,EAAyB,GAAG,IAAK;AAAA;AAAA,MAAI,MAAM,KAAK;AAAA,QAClD,QAAQ;AAAA,MACV,GAAGA,GAAE;AAAA,OAAE;AACT,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AAAA,EACV,OAAO;AACL,SAAK,EAAE,EAAE;AAAA,EACX;AACA,MAAI;AACJ,MAAI,EAAE,EAAE,MAAM,gBAAgB,EAAE,EAAE,MAAMD,UAAS,EAAE,EAAE,MAAM,MAAM,EAAE,EAAE,MAAM,MAAM,EAAE,EAAE,MAAM,OAAO;AAChG,SAAK,oBAAC,gBAAgB,MAAhB,EAAsB,GAAGA,QAAO,cAA4B,OAAe,GAAG,IAAK,cAAG;AAC5F,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAIA;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AAAA,EACV,OAAO;AACL,SAAK,EAAE,EAAE;AAAA,EACX;AACA,SAAO;AACT;",
4
+ "sourcesContent": ["\"use client\";\n\nimport { c as _c } from \"react/compiler-runtime\";\nimport { Slider as SliderPrimitive } from \"@base-ui/react/slider\";\nimport { colorVars, motionVars, opacityVars, radiusVars, sizeVars } from \"@bolerish/tokens/semantic.stylex\";\nimport * as stylex from \"@stylexjs/stylex\";\nimport type { ComponentProps } from \"react\";\nimport type { ControlLayoutStyles } from \"./styles/control-layout\";\nimport { mergeStyles } from \"./styles/merge-styles\";\nimport type { StyledProps } from \"./styles/merge-styles\";\nconst styles = {\n root: {\n kSiTet: \"x1hc1fzr x1qx4qp5\",\n kIyJzY: \"xznvecg\",\n k1ekBW: \"x19991ni\",\n kAMwcw: \"xrkjf8i\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n }\n};\nexport type SliderProps = StyledProps<ComponentProps<typeof SliderPrimitive.Root>> & {\n /** Returns an accessible name for each thumb in a range slider. */\n getAriaLabel?: (index: number) => string;\n xstyle?: ControlLayoutStyles;\n};\nexport function Slider(t0) {\n const $ = _c(32);\n let ariaLabel;\n let ariaLabelledBy;\n let className;\n let defaultValue;\n let getAriaLabel;\n let props;\n let style;\n let value;\n let xstyle;\n if ($[0] !== t0) {\n ({\n className,\n style,\n defaultValue,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n getAriaLabel,\n value,\n xstyle,\n ...props\n } = t0);\n $[0] = t0;\n $[1] = ariaLabel;\n $[2] = ariaLabelledBy;\n $[3] = className;\n $[4] = defaultValue;\n $[5] = getAriaLabel;\n $[6] = props;\n $[7] = style;\n $[8] = value;\n $[9] = xstyle;\n } else {\n ariaLabel = $[1];\n ariaLabelledBy = $[2];\n className = $[3];\n defaultValue = $[4];\n getAriaLabel = $[5];\n props = $[6];\n style = $[7];\n value = $[8];\n xstyle = $[9];\n }\n const currentValue = value ?? defaultValue;\n const thumbCount = Array.isArray(currentValue) ? currentValue.length : 1;\n let t1;\n if ($[10] !== className || $[11] !== style || $[12] !== xstyle) {\n t1 = mergeStyles(stylex.props(styles.root, xstyle), className, style);\n $[10] = className;\n $[11] = style;\n $[12] = xstyle;\n $[13] = t1;\n } else {\n t1 = $[13];\n }\n let t2;\n if ($[14] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t2 = {\n className: \"x6s0dn4 x78zum5 x1rrewj3 x1n2onr6 x5ve5x3 xh8yej3\"\n };\n $[14] = t2;\n } else {\n t2 = $[14];\n }\n let t3;\n if ($[15] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t3 = {\n className: \"xmqg8ag xwhwt5f xg80tyb xb3r6kr xh8yej3\"\n };\n $[15] = t3;\n } else {\n t3 = $[15];\n }\n let t4;\n if ($[16] === Symbol.for(\"react.memo_cache_sentinel\")) {\n t4 = <SliderPrimitive.Track {...t3}><SliderPrimitive.Indicator className=\"x1k98rc1 xwhwt5f x5yr21d\" /></SliderPrimitive.Track>;\n $[16] = t4;\n } else {\n t4 = $[16];\n }\n let t5;\n if ($[17] !== ariaLabel || $[18] !== ariaLabelledBy || $[19] !== getAriaLabel || $[20] !== thumbCount) {\n let t6;\n if ($[22] !== ariaLabel || $[23] !== ariaLabelledBy || $[24] !== getAriaLabel) {\n t6 = (_, index) => <SliderPrimitive.Thumb aria-label={ariaLabel} aria-labelledby={ariaLabelledBy} getAriaLabel={getAriaLabel} index={index} key={index} className=\"xcc0o6n x1lpgi1j xwhwt5f x1y0btm7 x1al7nqq x32j0x8 x1a2a7pz x10sws06 x768paa x1m0b1kh x9v5kkp x1k4h2j2\" />;\n $[22] = ariaLabel;\n $[23] = ariaLabelledBy;\n $[24] = getAriaLabel;\n $[25] = t6;\n } else {\n t6 = $[25];\n }\n t5 = <SliderPrimitive.Control {...t2}>{t4}{Array.from({\n length: thumbCount\n }, t6)}</SliderPrimitive.Control>;\n $[17] = ariaLabel;\n $[18] = ariaLabelledBy;\n $[19] = getAriaLabel;\n $[20] = thumbCount;\n $[21] = t5;\n } else {\n t5 = $[21];\n }\n let t6;\n if ($[26] !== defaultValue || $[27] !== props || $[28] !== t1 || $[29] !== t5 || $[30] !== value) {\n t6 = <SliderPrimitive.Root {...props} defaultValue={defaultValue} value={value} {...t1}>{t5}</SliderPrimitive.Root>;\n $[26] = defaultValue;\n $[27] = props;\n $[28] = t1;\n $[29] = t5;\n $[30] = value;\n $[31] = t6;\n } else {\n t6 = $[31];\n }\n return t6;\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;AACxB,SAAS,UAAU,uBAAuB;AAE1C,YAAY,YAAY;;;ACCjB,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;;;ADkFwC,cAiB/B,YAjB+B;AA3FxC,IAAM,SAAS;AAAA,EACb,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,OAAO;AAAA,EACT;AACF;AAMO,SAAS,OAAO,IAAI;AACzB,QAAM,IAAI,GAAG,EAAE;AACf,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAIA;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI,EAAE,CAAC,MAAM,IAAI;AACf,KAAC;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,cAAc;AAAA,MACd,mBAAmB;AAAA,MACnB;AAAA,MACA;AAAA,MACA;AAAA,MACA,GAAGA;AAAA,IACL,IAAI;AACJ,MAAE,CAAC,IAAI;A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,QAAO,cAA4B,OAAe,GAAG,IAAK,cAAG;AAC5F,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAIA;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AACR,MAAE,EAAE,IAAI;AAAA,EACV,OAAO;AACL,SAAK,EAAE,EAAE;AAAA,EACX;AACA,SAAO;AACT;",
6
6
  "names": ["props", "t6"]
7
7
  }
@@ -0,0 +1,5 @@
1
+ export declare function createLiquidMap(width: number, height: number, radius: number): {
2
+ width: number;
3
+ height: number;
4
+ data: Uint8ClampedArray<ArrayBuffer>;
5
+ };
@@ -1,33 +1,172 @@
1
1
  import * as stylex from "@stylexjs/stylex";
2
- export declare const surfaceStyles: Readonly<{
3
- readonly edge: Readonly<{
2
+ export declare const surfaceStyles: {
3
+ edge: Readonly<{
4
4
  readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
5
5
  readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
6
6
  readonly borderColor: "CanvasText";
7
7
  }>;
8
8
  }>;
9
- readonly translucent: Readonly<{
10
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
11
- readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "blur(16px)">;
9
+ panel: (Readonly<{
10
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
11
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
12
+ 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>})`>;
13
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
14
+ readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-surface-sheen, none)">;
12
15
  readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
13
- readonly backgroundColor: stylex.StyleXVar<string>;
16
+ readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
14
17
  readonly backdropFilter: "none";
18
+ readonly backgroundImage: "none";
19
+ readonly boxShadow: "var(--bolerish-material-shadow)";
15
20
  }>;
16
21
  readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
17
22
  readonly backgroundColor: "Canvas";
18
23
  readonly backdropFilter: "none";
24
+ readonly backgroundImage: "none";
25
+ readonly boxShadow: "none";
19
26
  }>;
20
- }>;
21
- readonly floating: Readonly<{
22
- readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
23
- readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "blur(16px)">;
27
+ }> | Readonly<{
28
+ readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
29
+ readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-panel-opacity, 100%)">;
30
+ readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-panel-filter, none)">;
31
+ }>)[];
32
+ control: (Readonly<{
33
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
34
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
35
+ 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>})`>;
36
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
37
+ readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-surface-sheen, none)">;
24
38
  readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
25
- readonly backgroundColor: stylex.StyleXVar<string>;
39
+ readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
26
40
  readonly backdropFilter: "none";
41
+ readonly backgroundImage: "none";
42
+ readonly boxShadow: "var(--bolerish-material-shadow)";
27
43
  }>;
28
44
  readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
29
45
  readonly backgroundColor: "Canvas";
30
46
  readonly backdropFilter: "none";
47
+ readonly backgroundImage: "none";
48
+ readonly boxShadow: "none";
31
49
  }>;
32
- }>;
33
- }>;
50
+ }> | Readonly<{
51
+ readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
52
+ readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-control-opacity, 100%)">;
53
+ readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-control-filter, none)">;
54
+ }>)[];
55
+ subtle: (Readonly<{
56
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
57
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
58
+ 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>})`>;
59
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
60
+ readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-surface-sheen, none)">;
61
+ readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
62
+ readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
63
+ readonly backdropFilter: "none";
64
+ readonly backgroundImage: "none";
65
+ readonly boxShadow: "var(--bolerish-material-shadow)";
66
+ }>;
67
+ readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
68
+ readonly backgroundColor: "Canvas";
69
+ readonly backdropFilter: "none";
70
+ readonly backgroundImage: "none";
71
+ readonly boxShadow: "none";
72
+ }>;
73
+ }> | Readonly<{
74
+ readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
75
+ readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-control-opacity, 100%)">;
76
+ readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-control-filter, none)">;
77
+ }>)[];
78
+ outline: (Readonly<{
79
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
80
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
81
+ 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>})`>;
82
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
83
+ readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-surface-sheen, none)">;
84
+ readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
85
+ readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
86
+ readonly backdropFilter: "none";
87
+ readonly backgroundImage: "none";
88
+ readonly boxShadow: "var(--bolerish-material-shadow)";
89
+ }>;
90
+ readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
91
+ readonly backgroundColor: "Canvas";
92
+ readonly backdropFilter: "none";
93
+ readonly backgroundImage: "none";
94
+ readonly boxShadow: "none";
95
+ }>;
96
+ }> | Readonly<{
97
+ readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
98
+ readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-control-opacity, 100%)">;
99
+ readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-control-filter, none)">;
100
+ }>)[];
101
+ raised: (Readonly<{
102
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
103
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
104
+ 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>})`>;
105
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
106
+ readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-surface-sheen, none)">;
107
+ readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
108
+ readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
109
+ readonly backdropFilter: "none";
110
+ readonly backgroundImage: "none";
111
+ readonly boxShadow: "var(--bolerish-material-shadow)";
112
+ }>;
113
+ readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
114
+ readonly backgroundColor: "Canvas";
115
+ readonly backdropFilter: "none";
116
+ readonly backgroundImage: "none";
117
+ readonly boxShadow: "none";
118
+ }>;
119
+ }> | Readonly<{
120
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", `var(--bolerish-raised-shadow, ${stylex.StyleXVar<string>})`>;
121
+ readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
122
+ readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-floating-opacity, 100%)">;
123
+ readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-floating-filter, none)">;
124
+ }>)[];
125
+ translucent: (Readonly<{
126
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
127
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
128
+ 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>})`>;
129
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
130
+ readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "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 backdropFilter: "none";
134
+ readonly backgroundImage: "none";
135
+ readonly boxShadow: "var(--bolerish-material-shadow)";
136
+ }>;
137
+ readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
138
+ readonly backgroundColor: "Canvas";
139
+ readonly backdropFilter: "none";
140
+ readonly backgroundImage: "none";
141
+ readonly boxShadow: "none";
142
+ }>;
143
+ }> | Readonly<{
144
+ readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
145
+ readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-panel-opacity, 92%)">;
146
+ readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-panel-filter, blur(16px))">;
147
+ }>)[];
148
+ floating: (Readonly<{
149
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", "0 0 transparent">;
150
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "var(--bolerish-material-shadow)" | "var(--bolerish-surface-reflection, 0 0 transparent), var(--bolerish-material-shadow)">;
151
+ 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>})`>;
152
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "none" | "var(--bolerish-material-filter)">;
153
+ readonly backgroundImage: stylex.StyleXClassNameFor<"backgroundImage", "none" | "var(--bolerish-surface-sheen, none)">;
154
+ readonly "@media (prefers-reduced-transparency: reduce)": stylex.StyleXClassNameFor<"@media (prefers-reduced-transparency: reduce)", {
155
+ readonly backgroundColor: `var(--bolerish-material-color, ${stylex.StyleXVar<string>})`;
156
+ readonly backdropFilter: "none";
157
+ readonly backgroundImage: "none";
158
+ readonly boxShadow: "var(--bolerish-material-shadow)";
159
+ }>;
160
+ readonly "@media (forced-colors: active)": stylex.StyleXClassNameFor<"@media (forced-colors: active)", {
161
+ readonly backgroundColor: "Canvas";
162
+ readonly backdropFilter: "none";
163
+ readonly backgroundImage: "none";
164
+ readonly boxShadow: "none";
165
+ }>;
166
+ }> | Readonly<{
167
+ readonly "--bolerish-material-shadow": stylex.StyleXClassNameFor<"--bolerish-material-shadow", `var(--bolerish-floating-shadow, ${stylex.StyleXVar<string>})`>;
168
+ readonly "--bolerish-material-color": stylex.StyleXClassNameFor<"--bolerish-material-color", string>;
169
+ readonly "--bolerish-material-opacity": stylex.StyleXClassNameFor<"--bolerish-material-opacity", "var(--bolerish-floating-opacity, 94%)">;
170
+ readonly "--bolerish-material-filter": stylex.StyleXClassNameFor<"--bolerish-material-filter", "var(--bolerish-floating-filter, blur(16px))">;
171
+ }>)[];
172
+ };
package/dist/stylex.css CHANGED
@@ -423,6 +423,10 @@
423
423
  .x1w1tqly.x1w1tqly {
424
424
  border-color: canvastext;
425
425
  }
426
+
427
+ .x1mncknp.x1mncknp {
428
+ outline: 2px solid highlight;
429
+ }
426
430
  }
427
431
 
428
432
  .x8jboxv:disabled:hover {
@@ -495,8 +499,8 @@
495
499
  aspect-ratio: var(--x-aspectRatio);
496
500
  }
497
501
 
498
- .x1jh03n0 {
499
- backdrop-filter: blur(16px);
502
+ .x1t853zo {
503
+ backdrop-filter: none;
500
504
  }
501
505
 
502
506
  .xtwfq29 {
@@ -507,6 +511,10 @@
507
511
  background-color: #0000;
508
512
  }
509
513
 
514
+ .x1s4uome {
515
+ background-color: var(--bolerish-material-color, var(--x1v7ela7));
516
+ }
517
+
510
518
  .xezvvoc {
511
519
  background-color: var(--x11x010x);
512
520
  }
@@ -615,6 +623,10 @@
615
623
  box-shadow: none;
616
624
  }
617
625
 
626
+ .x16ifxj2 {
627
+ box-shadow: var(--bolerish-material-shadow);
628
+ }
629
+
618
630
  .xms81ks {
619
631
  box-shadow: var(--x1tk9q2c);
620
632
  }
@@ -723,6 +735,10 @@
723
735
  display: inline-flex;
724
736
  }
725
737
 
738
+ .x1ctqcxj {
739
+ display: var(--bolerish-liquid-display, none);
740
+ }
741
+
726
742
  .x1839e5r {
727
743
  fill: var(--x11f2mpi);
728
744
  }
@@ -1265,12 +1281,12 @@
1265
1281
  }
1266
1282
 
1267
1283
  @supports (backdrop-filter: blur(1px)) and (background-color: color-mix(in srgb, white, transparent)) {
1268
- .x6pgpxb.x6pgpxb {
1269
- background-color: color-mix(in srgb,var(--x1v7ela7) 92%,transparent);
1284
+ .x1o5bnqd.x1o5bnqd {
1285
+ backdrop-filter: var(--bolerish-material-filter);
1270
1286
  }
1271
1287
 
1272
- .x1r7obb8.x1r7obb8 {
1273
- background-color: color-mix(in srgb,var(--x6f99ho) 94%,transparent);
1288
+ .x1u5mdis.x1u5mdis {
1289
+ background-color: color-mix(in srgb,var(--bolerish-material-color, var(--x1v7ela7)) var(--bolerish-material-opacity),transparent);
1274
1290
  }
1275
1291
  }
1276
1292
 
@@ -1280,6 +1296,16 @@
1280
1296
  }
1281
1297
  }
1282
1298
 
1299
+ @supports (backdrop-filter: blur(1px)) and (background-color: color-mix(in srgb, white, transparent)) {
1300
+ .xxit9r9.xxit9r9 {
1301
+ background-image: var(--bolerish-surface-sheen, none);
1302
+ }
1303
+
1304
+ .xpqbwuo.xpqbwuo {
1305
+ box-shadow: var(--bolerish-surface-reflection, 0 0 transparent),var(--bolerish-material-shadow);
1306
+ }
1307
+ }
1308
+
1283
1309
  .x13zvigl:is([data-disabled] *) {
1284
1310
  background-color: var(--x19j9y2e);
1285
1311
  }
@@ -1296,6 +1322,10 @@
1296
1322
  background-color: var(--xbs6o6w);
1297
1323
  }
1298
1324
 
1325
+ .xm8hp6d:focus-visible {
1326
+ box-shadow: 0 var(--xx1jdaa) 0 var(--bolerish-input-focus-color);
1327
+ }
1328
+
1299
1329
  .x5ezrf1[data-disabled] {
1300
1330
  cursor: not-allowed;
1301
1331
  }
@@ -1316,7 +1346,11 @@
1316
1346
  outline-color: #0000;
1317
1347
  }
1318
1348
 
1319
- .x1rovn1u:focus-visible, .xlfzi52:focus-within {
1349
+ .xyz7ihz:focus-visible {
1350
+ outline-color: var(--bolerish-input-focus-color);
1351
+ }
1352
+
1353
+ .x1rovn1u:focus-visible, .x7vy0yh:is([aria-invalid="true"], :user-invalid), .xlfzi52:focus-within {
1320
1354
  outline-color: var(--x1wmomuh);
1321
1355
  }
1322
1356
 
@@ -1340,7 +1374,7 @@
1340
1374
  outline-offset: var(--xc1hqty);
1341
1375
  }
1342
1376
 
1343
- .x1p3hdyt:focus-visible, .x1vzskv2:focus-within {
1377
+ .x1p3hdyt:focus-visible, .x1vzskv2:focus-within, .x4w8ylm:is([aria-invalid="true"], :user-invalid) {
1344
1378
  outline-offset: var(--xx1jdaa);
1345
1379
  }
1346
1380
 
@@ -1348,7 +1382,7 @@
1348
1382
  outline-style: none;
1349
1383
  }
1350
1384
 
1351
- .x14xc8xn:focus-within, .x9v5kkp:focus-visible {
1385
+ .x14xc8xn:focus-within, .x4wip10:is([aria-invalid="true"], :user-invalid), .x9v5kkp:focus-visible {
1352
1386
  outline-style: solid;
1353
1387
  }
1354
1388
 
@@ -1360,6 +1394,10 @@
1360
1394
  outline-width: var(--xc1hqty);
1361
1395
  }
1362
1396
 
1397
+ .x18myw3g:is([aria-invalid="true"], :user-invalid) {
1398
+ outline-width: var(--xx1jdaa);
1399
+ }
1400
+
1363
1401
  .xjtggp9:is([data-hovering], [data-scrolling]) {
1364
1402
  pointer-events: auto;
1365
1403
  }
@@ -1480,6 +1518,10 @@
1480
1518
  border-start-end-radius: var(--x1odqryn);
1481
1519
  }
1482
1520
 
1521
+ .x1pq16l0:focus-visible:is([aria-invalid="true"], :user-invalid) {
1522
+ outline-width: var(--xc1hqty);
1523
+ }
1524
+
1483
1525
  .x1oqui1x:disabled {
1484
1526
  background-color: #0000;
1485
1527
  }
@@ -1595,12 +1637,8 @@
1595
1637
  }
1596
1638
 
1597
1639
  @media (prefers-reduced-transparency: reduce) {
1598
- .x1rxs12l.x1rxs12l {
1599
- background-color: var(--x1v7ela7);
1600
- }
1601
-
1602
- .x1psyy34.x1psyy34 {
1603
- background-color: var(--x6f99ho);
1640
+ .x1cg02ou.x1cg02ou {
1641
+ background-color: var(--bolerish-material-color, var(--x1v7ela7));
1604
1642
  }
1605
1643
  }
1606
1644
 
@@ -1616,12 +1654,48 @@
1616
1654
  }
1617
1655
  }
1618
1656
 
1657
+ @media (prefers-reduced-transparency: reduce) {
1658
+ .x1ile18z.x1ile18z {
1659
+ background-image: none;
1660
+ }
1661
+ }
1662
+
1663
+ @media (forced-colors: active) {
1664
+ .xwaqzdf.xwaqzdf {
1665
+ box-shadow: none;
1666
+ }
1667
+ }
1668
+
1669
+ @media (prefers-reduced-transparency: reduce) {
1670
+ .x1m3y3zz.x1m3y3zz {
1671
+ box-shadow: var(--bolerish-material-shadow);
1672
+ }
1673
+ }
1674
+
1675
+ @media (forced-colors: active) {
1676
+ .x1c7sf14.x1c7sf14 {
1677
+ display: none;
1678
+ }
1679
+ }
1680
+
1681
+ @media (prefers-reduced-transparency: reduce) {
1682
+ .x1izksy.x1izksy {
1683
+ display: none;
1684
+ }
1685
+ }
1686
+
1619
1687
  @media (width <= 40rem) {
1620
1688
  .xrezwjf.xrezwjf {
1621
1689
  justify-content: center;
1622
1690
  }
1623
1691
  }
1624
1692
 
1693
+ @media (forced-colors: active) {
1694
+ .xs9jlpd.xs9jlpd {
1695
+ outline-offset: -2px;
1696
+ }
1697
+ }
1698
+
1625
1699
  .x1eqo6io:disabled:hover {
1626
1700
  background-color: #0000;
1627
1701
  }
@@ -1634,7 +1708,15 @@
1634
1708
  .x15puxn2.x15puxn2:not(:root[data-bolerish-motion="on"] *) {
1635
1709
  animation-name: none;
1636
1710
  }
1711
+ }
1712
+
1713
+ @media (forced-colors: active) {
1714
+ .x1cg32vb.x1cg32vb:focus-visible {
1715
+ box-shadow: none;
1716
+ }
1717
+ }
1637
1718
 
1719
+ @media (prefers-reduced-motion: reduce) {
1638
1720
  .xjilbjb.xjilbjb:not(:root[data-bolerish-motion="on"] *) {
1639
1721
  transform: none;
1640
1722
  }
@@ -1926,6 +2008,10 @@
1926
2008
  max-height: min(20rem,var(--available-height));
1927
2009
  }
1928
2010
 
2011
+ .x1374xjt {
2012
+ max-height: var(--available-height);
2013
+ }
2014
+
1929
2015
  .x193iq5w {
1930
2016
  max-width: 100%;
1931
2017
  }
@@ -2122,8 +2208,8 @@
2122
2208
  top: auto;
2123
2209
  }
2124
2210
 
2125
- .x10fobg2 {
2126
- top: calc(50% - var(--xisj2jh) / 2);
2211
+ .x11u2n0f {
2212
+ top: calc(50% - var(--xbrfw55) / 2);
2127
2213
  }
2128
2214
 
2129
2215
  .x10uur0e {
@@ -2254,6 +2340,10 @@
2254
2340
  width: var(--xz6d21);
2255
2341
  }
2256
2342
 
2343
+ .x5swq7u:focus-visible {
2344
+ border-bottom-color: var(--bolerish-input-focus-color);
2345
+ }
2346
+
2257
2347
  .xnbj6on[data-expanded] {
2258
2348
  height: var(--toast-height);
2259
2349
  }
@@ -2281,6 +2371,12 @@
2281
2371
  .xghm9d:last-child {
2282
2372
  border-top-right-radius: var(--x1odqryn);
2283
2373
  }
2374
+
2375
+ @media (forced-colors: active) {
2376
+ .x34zm41.x34zm41:focus-visible {
2377
+ border-bottom-width: var(--xc1hqty);
2378
+ }
2379
+ }
2284
2380
  }
2285
2381
 
2286
2382
  @layer priority6 {
@@ -2919,6 +3015,94 @@
2919
3015
  --bolerish-gradient-glow: var(--x---bolerish-gradient-glow);
2920
3016
  }
2921
3017
 
3018
+ .xnholtd {
3019
+ --bolerish-input-focus-color: var(--x1wmomuh);
3020
+ }
3021
+
3022
+ .x10nrt0v {
3023
+ --bolerish-input-focus-color: var(--x3ef5vz);
3024
+ }
3025
+
3026
+ .x1819ggx {
3027
+ --bolerish-material-color: var(--x1oing0p);
3028
+ }
3029
+
3030
+ .x14zkn9l {
3031
+ --bolerish-material-color: var(--x1v7ela7);
3032
+ }
3033
+
3034
+ .x3m3fbl {
3035
+ --bolerish-material-color: var(--x4kr36v);
3036
+ }
3037
+
3038
+ .x1y5ilfp {
3039
+ --bolerish-material-color: var(--x6f99ho);
3040
+ }
3041
+
3042
+ .x9f78pr {
3043
+ --bolerish-material-filter: none;
3044
+ }
3045
+
3046
+ .x1mpfm11 {
3047
+ --bolerish-material-filter: var(--bolerish-control-filter, none);
3048
+ }
3049
+
3050
+ .xunhrho {
3051
+ --bolerish-material-filter: var(--bolerish-floating-filter, blur(16px));
3052
+ }
3053
+
3054
+ .x1gkvbmm {
3055
+ --bolerish-material-filter: var(--bolerish-floating-filter, none);
3056
+ }
3057
+
3058
+ .xhu24am {
3059
+ --bolerish-material-filter: var(--bolerish-panel-filter, blur(16px));
3060
+ }
3061
+
3062
+ .x1n6mwez {
3063
+ --bolerish-material-filter: var(--bolerish-panel-filter, none);
3064
+ }
3065
+
3066
+ .xg4j6g8 {
3067
+ --bolerish-material-opacity: var(--bolerish-control-opacity, 100%);
3068
+ }
3069
+
3070
+ .x1nqk09 {
3071
+ --bolerish-material-opacity: var(--bolerish-floating-opacity, 100%);
3072
+ }
3073
+
3074
+ .x14p89z6 {
3075
+ --bolerish-material-opacity: var(--bolerish-floating-opacity, 94%);
3076
+ }
3077
+
3078
+ .xf4qlvf {
3079
+ --bolerish-material-opacity: var(--bolerish-liquid-opacity, 100%);
3080
+ }
3081
+
3082
+ .x8fe23t {
3083
+ --bolerish-material-opacity: var(--bolerish-panel-opacity, 100%);
3084
+ }
3085
+
3086
+ .xoh9gux {
3087
+ --bolerish-material-opacity: var(--bolerish-panel-opacity, 92%);
3088
+ }
3089
+
3090
+ .xvd6nka {
3091
+ --bolerish-material-shadow: 0 0 transparent;
3092
+ }
3093
+
3094
+ .xu02b4h {
3095
+ --bolerish-material-shadow: var(--bolerish-floating-shadow, var(--x1tk9q2c));
3096
+ }
3097
+
3098
+ .x1l9gcvt {
3099
+ --bolerish-material-shadow: var(--bolerish-raised-shadow, var(--x4xk9rt));
3100
+ }
3101
+
3102
+ .xepbi11 {
3103
+ --bolerish-surface-reflection: var(--bolerish-liquid-reflection, 0 0 transparent);
3104
+ }
3105
+
2922
3106
  .xfm59fq {
2923
3107
  --x1b09lcw: 0px;
2924
3108
  }
@@ -2950,3 +3134,7 @@
2950
3134
  .xapp0bv[data-expanded] {
2951
3135
  --x4bl00v: auto;
2952
3136
  }
3137
+
3138
+ .x7dg23c:user-invalid {
3139
+ --bolerish-input-focus-color: var(--x1wmomuh);
3140
+ }
@@ -0,0 +1,12 @@
1
+ export type SurfaceOptions = {
2
+ mode: "solid" | "liquid";
3
+ };
4
+ export type SurfaceProps = {
5
+ "data-bolerish-surface": SurfaceOptions["mode"];
6
+ };
7
+ declare function props({ mode }: SurfaceOptions): SurfaceProps;
8
+ /** Selects the shared material without replacing an element's className or style. */
9
+ export declare const surface: {
10
+ props: typeof props;
11
+ };
12
+ export {};
@@ -0,0 +1,12 @@
1
+ // src/surface.ts
2
+ function props({ mode }) {
3
+ if (mode !== "solid" && mode !== "liquid") {
4
+ throw new TypeError('surface.props requires mode "solid" or "liquid".');
5
+ }
6
+ return { "data-bolerish-surface": mode };
7
+ }
8
+ var surface = { props };
9
+ export {
10
+ surface
11
+ };
12
+ //# sourceMappingURL=surface.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/surface.ts"],
4
+ "sourcesContent": ["export type SurfaceOptions = {\n mode: \"solid\" | \"liquid\";\n};\n\nexport type SurfaceProps = {\n \"data-bolerish-surface\": SurfaceOptions[\"mode\"];\n};\n\nfunction props({ mode }: SurfaceOptions): SurfaceProps {\n if (mode !== \"solid\" && mode !== \"liquid\") {\n throw new TypeError('surface.props requires mode \"solid\" or \"liquid\".');\n }\n return { \"data-bolerish-surface\": mode };\n}\n\n/** Selects the shared material without replacing an element's className or style. */\nexport const surface = { props };\n"],
5
+ "mappings": ";AAQA,SAAS,MAAM,EAAE,KAAK,GAAiC;AACrD,MAAI,SAAS,WAAW,SAAS,UAAU;AACzC,UAAM,IAAI,UAAU,kDAAkD;AAAA,EACxE;AACA,SAAO,EAAE,yBAAyB,KAAK;AACzC;AAGO,IAAM,UAAU,EAAE,MAAM;",
6
+ "names": []
7
+ }