@kanso-labs/kanso-ui 0.45.34 → 0.46.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 (108) hide show
  1. package/dist/button/index.js +13 -9
  2. package/dist/button/index.js.map +1 -1
  3. package/dist/calendar/styles.js +12 -7
  4. package/dist/calendar/styles.js.map +1 -1
  5. package/dist/chip/styles.js +1 -0
  6. package/dist/chip/styles.js.map +1 -1
  7. package/dist/collection/styles.js +1 -1
  8. package/dist/collection/styles.js.map +1 -1
  9. package/dist/components/breadcrumbs/index.js +4 -1
  10. package/dist/components/breadcrumbs/index.js.map +1 -1
  11. package/dist/components/button-group/index.d.ts +16 -3
  12. package/dist/components/button-group/index.js +53 -86
  13. package/dist/components/button-group/index.js.map +1 -1
  14. package/dist/components/calendar/index.d.ts +3 -3
  15. package/dist/components/calendar/index.js.map +1 -1
  16. package/dist/components/card/index.js +5 -1
  17. package/dist/components/card/index.js.map +1 -1
  18. package/dist/components/carousel/index.js +162 -105
  19. package/dist/components/carousel/index.js.map +1 -1
  20. package/dist/components/chip/index.d.ts +38 -15
  21. package/dist/components/chip/index.js +104 -8
  22. package/dist/components/chip/index.js.map +1 -1
  23. package/dist/components/color-area/index.d.ts +5 -3
  24. package/dist/components/color-area/index.js +5 -3
  25. package/dist/components/color-area/index.js.map +1 -1
  26. package/dist/components/color-picker/index.js +6 -3
  27. package/dist/components/color-picker/index.js.map +1 -1
  28. package/dist/components/color-swatch-picker/index.js +24 -9
  29. package/dist/components/color-swatch-picker/index.js.map +1 -1
  30. package/dist/components/combo-box/index.d.ts +11 -3
  31. package/dist/components/combo-box/index.js +66 -62
  32. package/dist/components/combo-box/index.js.map +1 -1
  33. package/dist/components/copy-field/index.js +1 -0
  34. package/dist/components/copy-field/index.js.map +1 -1
  35. package/dist/components/date-picker/index.d.ts +22 -3
  36. package/dist/components/date-picker/index.js +234 -45
  37. package/dist/components/date-picker/index.js.map +1 -1
  38. package/dist/components/date-range-picker/index.d.ts +3 -1
  39. package/dist/components/date-range-picker/index.js +6 -4
  40. package/dist/components/date-range-picker/index.js.map +1 -1
  41. package/dist/components/disclosure/index.d.ts +4 -3
  42. package/dist/components/disclosure/index.js +159 -101
  43. package/dist/components/disclosure/index.js.map +1 -1
  44. package/dist/components/fab/index.d.ts +3 -1
  45. package/dist/components/fab/index.js +25 -12
  46. package/dist/components/fab/index.js.map +1 -1
  47. package/dist/components/fab-menu/index.js +1 -1
  48. package/dist/components/fab-menu/index.js.map +1 -1
  49. package/dist/components/icon-button/index.js.map +1 -1
  50. package/dist/components/index.d.ts +2 -2
  51. package/dist/components/menu/index.js +1 -1
  52. package/dist/components/menu/index.js.map +1 -1
  53. package/dist/components/navigation-rail/index.js +4 -4
  54. package/dist/components/navigation-rail/index.js.map +1 -1
  55. package/dist/components/navigation-tree/index.js +16 -13
  56. package/dist/components/navigation-tree/index.js.map +1 -1
  57. package/dist/components/popover/index.js +35 -33
  58. package/dist/components/popover/index.js.map +1 -1
  59. package/dist/components/range-calendar/index.js +41 -7
  60. package/dist/components/range-calendar/index.js.map +1 -1
  61. package/dist/components/segmented-button/index.d.ts +3 -2
  62. package/dist/components/segmented-button/index.js +46 -95
  63. package/dist/components/segmented-button/index.js.map +1 -1
  64. package/dist/components/select/index.js +5 -2
  65. package/dist/components/select/index.js.map +1 -1
  66. package/dist/components/slider/index.js +42 -10
  67. package/dist/components/slider/index.js.map +1 -1
  68. package/dist/components/time-picker/index.js +2 -0
  69. package/dist/components/time-picker/index.js.map +1 -1
  70. package/dist/components/token-field/index.js +89 -66
  71. package/dist/components/token-field/index.js.map +1 -1
  72. package/dist/components/toolbar/index.d.ts +4 -0
  73. package/dist/components/toolbar/index.js +16 -5
  74. package/dist/components/toolbar/index.js.map +1 -1
  75. package/dist/components/tree/index.js +1 -1
  76. package/dist/components/tree/index.js.map +1 -1
  77. package/dist/fab/styles.js +12 -0
  78. package/dist/fab/styles.js.map +1 -1
  79. package/dist/field/styles.js +2 -2
  80. package/dist/field/styles.js.map +1 -1
  81. package/dist/hooks/useDockedMonths.js +36 -0
  82. package/dist/hooks/useDockedMonths.js.map +1 -0
  83. package/dist/i18n/index.js +1 -0
  84. package/dist/i18n/index.js.map +1 -1
  85. package/dist/i18n/messages.js +34 -0
  86. package/dist/i18n/messages.js.map +1 -1
  87. package/dist/index.d.ts +2 -2
  88. package/dist/navigation/index.js +5 -5
  89. package/dist/navigation/index.js.map +1 -1
  90. package/dist/navigation/styles.js +4 -0
  91. package/dist/navigation/styles.js.map +1 -1
  92. package/dist/row/context.js +6 -0
  93. package/dist/row/context.js.map +1 -0
  94. package/dist/row/index.js +77 -66
  95. package/dist/row/index.js.map +1 -1
  96. package/dist/row/styles.js +15 -0
  97. package/dist/row/styles.js.map +1 -1
  98. package/dist/segments/index.js +2 -1
  99. package/dist/segments/index.js.map +1 -1
  100. package/dist/segments/styles.js +4 -0
  101. package/dist/segments/styles.js.map +1 -1
  102. package/dist/styles/chequer.js +1 -0
  103. package/dist/styles/chequer.js.map +1 -1
  104. package/dist/styles/focus.js.map +1 -1
  105. package/dist/styles.css +158 -35
  106. package/dist/toggle-group/index.js +133 -0
  107. package/dist/toggle-group/index.js.map +1 -0
  108. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["rowStyles","base","kGNEyG","kWkggS","kMzoRj","kB7OPa","kMwMTN","k1xSpc","kOIVth","kzqmXN","k8WAf4","kg3NbH","kVAEAm","k9WMMc","kMnn75","$$css","disabled","kkrTdU","kAXs8y","dragging","kKwaWg","kGVxlE","kY2c9j","drawer","kaIpWk","kUOVxO","kAzted","drawerSurface","dropTarget","kjBf7l","kInvED","k3XXqK","kMeerF","focusVisible","headlineEmphasis","k63SB2","headlineList","kMv6JI","kGuDYH","kb6lSQ","kLWn49","kHjlTd","headlineMenu","hovered","interactive","kVVagm","interactiveLayers","list","main","kXwgrk","kzQI83","k7Eaqz","menu","overline","pressed","selectedDrawer","selectedList","selectedMenu","slot","kmuXW","slotDisabled","kSiTet","supporting","supportingInherit","supportingSelectedDrawer","supportingSelectedList","supportingSelectedMenu","threeLine","twoLine","supportingTone","variant","isDisabled","isSelected"],"sources":["../../src/row/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport type { RowVariant } from '.';\nimport '../tokens/design.tokens.stylex';\nimport { colors, radii, shadows, sizing, spacing, stateLayerOpacity, typography } from '../tokens/design.tokens.stylex';\n\n// The row every list draws: ListItem's, and from here on the item of every\n// collection the coverage plan adds — ListBox, Menu, List, Tree, the options\n// of Select and ComboBox. Apart from the RowContent component in ./index.tsx\n// so that file exports components alone, which is what keeps fast refresh\n// working for it.\n//\n// Three variants, because three spec pages draw three rows. The lists page\n// gives a list item a 56dp floor, a body-large headline and a body-medium\n// supporting line, and primary container when selected. The menus page gives\n// a menu item 48dp, a label-large label, and tertiary container when\n// selected. The navigation drawer page gives its row 56dp too, with a\n// label-large label like a menu's, and marks the current one with a\n// secondary-container pill held 12dp off each edge — 336dp of indicator in a\n// 360dp container, which is what that inset comes to. The layout, the\n// padding, the state layers and the disabled treatment are one row; `list`,\n// `menu` and `drawer` carry only what the three pages disagree on, and a\n// consumer applies one of them beside `base`.\n//\n// The block padding is the lists page's 8dp, which is what puts a row's\n// 40dp leading element — an avatar, a selection checkbox — on the 56dp\n// one-line height, and a 56dp one on 72. The page pads a three-line row 12dp\n// instead, which `threeLine` carries. A menu item and a drawer row hold one\n// line of text inside a taller floor, so their padding shows only on a label\n// that wraps.\n//\n// Laid out with flex rather than the grid the design draws. The design's\n// three columns are `auto 1fr auto`, which is what flex does natively — and\n// unlike a fixed three-column grid it stays correct when a row has no leading\n// or no trailing content, where the remaining children would otherwise slide\n// into the wrong columns.\n//\n// Rows align with each other through their leading content being the same\n// size, not through a fixed column width: a list of Avatars all at one size\n// lines up, and that is the same thing the design's 40px column achieves.\n//\n// The state layer composites over `transparent` rather than over a container\n// colour, because a row's own background is transparent and it therefore\n// tints whatever it happens to be sitting on — a card, a menu, or the page.\n// The two selected states are the ones that bring a container of their own.\n\n// A pointer that can hover, for `interactiveLayers` — a plain element with no\n// render state, so its hover layer is a pseudo-class, and Chromium leaves\n// `:hover` on whatever a touch last tapped. Inside this query a touch screen\n// draws no hover at all; a touchscreen laptop still matches it for its\n// trackpad.\nconst HOVER_CAPABLE = '@media (hover: hover)';\n\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst rowStyles = {\n base: {\n kGNEyG: \"x6s0dn4\",\n kWkggS: \"xjbqb8w\",\n kMzoRj: \"xc342km\",\n kB7OPa: \"x9f619\",\n kMwMTN: \"x139gbkf xs5hli\",\n k1xSpc: \"x78zum5\",\n kOIVth: \"xxj4525\",\n kzqmXN: \"xh8yej3\",\n k8WAf4: \"x1cmllll\",\n kg3NbH: \"x790zyz\",\n kVAEAm: \"x1n2onr6\",\n k9WMMc: \"x1yc453h\",\n kMnn75: \"xkrqix3\",\n $$css: true\n },\n disabled: {\n kWkggS: \"xjbqb8w\",\n kMwMTN: \"x1xj74d8 x1bhcspo\",\n kkrTdU: \"x1h6gzvc\",\n kAXs8y: \"xr5dkdi\",\n $$css: true\n },\n dragging: {\n kWkggS: \"x14s9m32\",\n kKwaWg: \"xdiex0u\",\n kGVxlE: \"x4r79n0\",\n kY2c9j: \"x1vjfegm\",\n $$css: true\n },\n drawer: {\n kaIpWk: \"x1dkaolv\",\n kzqmXN: \"x14atkfc\",\n kUOVxO: \"xd2r6sq\",\n kAzted: \"xyax5pk\",\n $$css: true\n },\n drawerSurface: {\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"xjp7ctv\",\n $$css: true\n },\n dropTarget: {\n kKwaWg: \"xu73ib2\",\n kjBf7l: \"xrgy624 x1x84bn5\",\n kInvED: \"x2ssjo2\",\n k3XXqK: \"xaatb59\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n focusVisible: {\n kKwaWg: \"x17vw94z\",\n kjBf7l: \"xrgy624 x1v8yhc2\",\n kInvED: \"x2ssjo2\",\n k3XXqK: \"xaatb59\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n headlineEmphasis: {\n k63SB2: \"x1sfltvt\",\n $$css: true\n },\n headlineList: {\n kMv6JI: \"x16svsjw\",\n kGuDYH: \"x1848etk\",\n k63SB2: \"x1c52epr\",\n kb6lSQ: \"x1qn8t5l\",\n kLWn49: \"xh7dzej\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n headlineMenu: {\n kMv6JI: \"xkknnkr\",\n kGuDYH: \"x14zspaw\",\n k63SB2: \"x1v9cpvo\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n hovered: {\n kKwaWg: \"xbmfk57\",\n kkrTdU: \"x1ypdohk\",\n $$css: true\n },\n interactive: {\n kkrTdU: \"x1ypdohk\",\n kVVagm: \"xln7xf2\",\n kjBf7l: \"xrgy624\",\n kInvED: \"x2ssjo2\",\n k3XXqK: \"x9v5kkp x1t137rt\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n interactiveLayers: {\n kWkggS: \"x83qkoq x1yl1wq7 x10oam47 xkl27de xjqqt44 xjbqb8w\",\n $$css: true\n },\n list: {\n kAzted: \"xyax5pk\",\n $$css: true\n },\n main: {\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kzQI83: \"x1iyjqo2\",\n kOIVth: \"x14qo01y\",\n k7Eaqz: \"xeuugli\",\n $$css: true\n },\n menu: {\n kAzted: \"x1ddmzdj\",\n $$css: true\n },\n overline: {\n kMwMTN: \"x1w5n3ug\",\n kMv6JI: \"xs1w0rn\",\n kGuDYH: \"x1n35her\",\n k63SB2: \"x1su64ma\",\n kb6lSQ: \"xdlnduh\",\n kLWn49: \"xaomhve\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n pressed: {\n kKwaWg: \"xdiex0u\",\n $$css: true\n },\n selectedDrawer: {\n kWkggS: \"x15dekr4 x1jzqe4\",\n kMwMTN: \"x1sawysd x1k5gbb1\",\n kAXs8y: \"x1g12otp\",\n $$css: true\n },\n selectedList: {\n kWkggS: \"xp89om9 x1jzqe4\",\n kMwMTN: \"xscdzaa x1k5gbb1\",\n kAXs8y: \"x1g12otp\",\n $$css: true\n },\n selectedMenu: {\n kWkggS: \"xs6yvni x1jzqe4\",\n kMwMTN: \"x3cbcwg x1k5gbb1\",\n kAXs8y: \"x1g12otp\",\n $$css: true\n },\n slot: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n $$css: true\n },\n slotDisabled: {\n kMwMTN: \"x139gbkf x1bhcspo\",\n kSiTet: \"x1ppv7y9 x1tbh5bv\",\n $$css: true\n },\n supporting: {\n kMwMTN: \"x1w5n3ug\",\n kMv6JI: \"xpo2rfv\",\n kGuDYH: \"x193rfdd\",\n k63SB2: \"x1hews6w\",\n kb6lSQ: \"xn43zvd\",\n kLWn49: \"xv61bfh\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n supportingInherit: {\n kMwMTN: \"x1heor9g\",\n $$css: true\n },\n supportingSelectedDrawer: {\n kMwMTN: \"x1sawysd x1k5gbb1\",\n $$css: true\n },\n supportingSelectedList: {\n kMwMTN: \"xscdzaa x1k5gbb1\",\n $$css: true\n },\n supportingSelectedMenu: {\n kMwMTN: \"x3cbcwg x1k5gbb1\",\n $$css: true\n },\n threeLine: {\n kGNEyG: \"x1cy8zhl\",\n kAzted: \"x1bt55z4\",\n k8WAf4: \"x1uvvd8r\",\n $$css: true\n },\n twoLine: {\n kAzted: \"x304zwk\",\n $$css: true\n }\n};\n\n/**\n * The tone a row's muted text takes over its own muted style: the supporting\n * line and the overline, and a menu item's shortcut. Nothing while the row is\n * drawn on the surface, where the muted style's on surface variant holds;\n * the selected container's own on-colour while selected; and the row's own\n * colour while disabled. Disabled is asked first, since a disabled row's own\n * colour is already the faded one and so wins over the selected container's\n * content role. One function for every caller, so a shortcut and the\n * supporting line beside it cannot come to disagree.\n */\nfunction supportingTone(variant: RowVariant, {\n isDisabled,\n isSelected\n}: {\n isDisabled: boolean;\n isSelected: boolean;\n}) {\n if (isDisabled) {\n return rowStyles.supportingInherit;\n }\n if (!isSelected) {\n return null;\n }\n // Each variant's container is a different colour family, and the muted\n // role is not guaranteed to be readable over any of them.\n if (variant === 'drawer') {\n return rowStyles.supportingSelectedDrawer;\n }\n if (variant === 'menu') {\n return rowStyles.supportingSelectedMenu;\n }\n return rowStyles.supportingSelectedList;\n}\nexport { rowStyles, supportingTone };"],"mappings":"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"}
1
+ {"version":3,"file":"styles.js","names":["rowStyles","base","kGNEyG","kWkggS","kMzoRj","kB7OPa","kMwMTN","k1xSpc","kOIVth","kzqmXN","k3XXqK","k8WAf4","kg3NbH","kVAEAm","k9WMMc","kMnn75","$$css","disabled","kkrTdU","kAXs8y","dragging","kKwaWg","kGVxlE","kY2c9j","drawer","kaIpWk","kUOVxO","kAzted","drawerSurface","dropTarget","kjBf7l","kInvED","kMeerF","focusVisible","focusVisibleSelected","headlineEmphasis","k63SB2","headlineList","kMv6JI","kGuDYH","kb6lSQ","kLWn49","kHjlTd","headlineMenu","headlineOnValueLine","kVQacm","kg5iWk","khDVqt","hovered","interactive","kVVagm","interactiveLayers","list","main","kXwgrk","kzQI83","k7Eaqz","menu","overline","pressed","selectedDrawer","selectedList","selectedMenu","slot","kmuXW","slotDisabled","kSiTet","slotSelected","supporting","supportingInherit","supportingSelectedDrawer","supportingSelectedList","supportingSelectedMenu","threeLine","twoLine","supportingTone","variant","isDisabled","isSelected"],"sources":["../../src/row/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport type { RowVariant } from '.';\nimport '../tokens/design.tokens.stylex';\nimport { colors, radii, shadows, sizing, spacing, stateLayerOpacity, typography } from '../tokens/design.tokens.stylex';\n\n// The row every list draws: ListItem's, and from here on the item of every\n// collection the coverage plan adds — ListBox, Menu, List, Tree, the options\n// of Select and ComboBox. Apart from the RowContent component in ./index.tsx\n// so that file exports components alone, which is what keeps fast refresh\n// working for it.\n//\n// Three variants, because three spec pages draw three rows. The lists page\n// gives a list item a 56dp floor, a body-large headline and a body-medium\n// supporting line, and primary container when selected. The menus page gives\n// a menu item 48dp, a label-large label, and tertiary container when\n// selected. The navigation drawer page gives its row 56dp too, with a\n// label-large label like a menu's, and marks the current one with a\n// secondary-container pill held 12dp off each edge — 336dp of indicator in a\n// 360dp container, which is what that inset comes to. The layout, the\n// padding, the state layers and the disabled treatment are one row; `list`,\n// `menu` and `drawer` carry only what the three pages disagree on, and a\n// consumer applies one of them beside `base`.\n//\n// The block padding is the lists page's 8dp, which is what puts a row's\n// 40dp leading element — an avatar, a selection checkbox — on the 56dp\n// one-line height, and a 56dp one on 72. The page pads a three-line row 12dp\n// instead, which `threeLine` carries. A menu item and a drawer row hold one\n// line of text inside a taller floor, so their padding shows only on a label\n// that wraps.\n//\n// Laid out with flex rather than the grid the design draws. The design's\n// three columns are `auto 1fr auto`, which is what flex does natively — and\n// unlike a fixed three-column grid it stays correct when a row has no leading\n// or no trailing content, where the remaining children would otherwise slide\n// into the wrong columns.\n//\n// Rows align with each other through their leading content being the same\n// size, not through a fixed column width: a list of Avatars all at one size\n// lines up, and that is the same thing the design's 40px column achieves.\n//\n// The state layer composites over `transparent` rather than over a container\n// colour, because a row's own background is transparent and it therefore\n// tints whatever it happens to be sitting on — a card, a menu, or the page.\n// The two selected states are the ones that bring a container of their own.\n\n// A pointer that can hover, for `interactiveLayers` — a plain element with no\n// render state, so its hover layer is a pseudo-class, and Chromium leaves\n// `:hover` on whatever a touch last tapped. Inside this query a touch screen\n// draws no hover at all; a touchscreen laptop still matches it for its\n// trackpad.\nconst HOVER_CAPABLE = '@media (hover: hover)';\n\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst rowStyles = {\n base: {\n kGNEyG: \"x6s0dn4\",\n kWkggS: \"xjbqb8w\",\n kMzoRj: \"xc342km\",\n kB7OPa: \"x9f619\",\n kMwMTN: \"x139gbkf xs5hli\",\n k1xSpc: \"x78zum5\",\n kOIVth: \"xxj4525\",\n kzqmXN: \"xh8yej3\",\n k3XXqK: \"x1t137rt\",\n k8WAf4: \"x1cmllll\",\n kg3NbH: \"x790zyz\",\n kVAEAm: \"x1n2onr6\",\n k9WMMc: \"x1yc453h\",\n kMnn75: \"xkrqix3\",\n $$css: true\n },\n disabled: {\n kWkggS: \"xjbqb8w\",\n kMwMTN: \"x1xj74d8 x1bhcspo\",\n kkrTdU: \"x1h6gzvc\",\n kAXs8y: \"xr5dkdi\",\n $$css: true\n },\n dragging: {\n kWkggS: \"x14s9m32\",\n kKwaWg: \"xdiex0u\",\n kGVxlE: \"x4r79n0\",\n kY2c9j: \"x1vjfegm\",\n $$css: true\n },\n drawer: {\n kaIpWk: \"x1dkaolv\",\n kzqmXN: \"x14atkfc\",\n kUOVxO: \"xd2r6sq\",\n kAzted: \"xyax5pk\",\n $$css: true\n },\n drawerSurface: {\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"xjp7ctv\",\n $$css: true\n },\n dropTarget: {\n kKwaWg: \"xu73ib2\",\n kjBf7l: \"xrgy624 x1x84bn5\",\n kInvED: \"x2ssjo2\",\n k3XXqK: \"xaatb59\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n focusVisible: {\n kKwaWg: \"x17vw94z\",\n kjBf7l: \"xrgy624 x1v8yhc2\",\n kInvED: \"x2ssjo2\",\n k3XXqK: \"xaatb59\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n focusVisibleSelected: {\n kInvED: \"x2ssjo2 xzpfk5o\",\n $$css: true\n },\n headlineEmphasis: {\n k63SB2: \"x1sfltvt\",\n $$css: true\n },\n headlineList: {\n kMv6JI: \"x16svsjw\",\n kGuDYH: \"x1848etk\",\n k63SB2: \"x1c52epr\",\n kb6lSQ: \"x1qn8t5l\",\n kLWn49: \"xh7dzej\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n headlineMenu: {\n kMv6JI: \"xkknnkr\",\n kGuDYH: \"x14zspaw\",\n k63SB2: \"x1v9cpvo\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n headlineOnValueLine: {\n kVQacm: \"xb3r6kr\",\n kg5iWk: \"xlyipyv\",\n khDVqt: \"xuxw1ft\",\n $$css: true\n },\n hovered: {\n kKwaWg: \"xbmfk57\",\n kkrTdU: \"x1ypdohk\",\n $$css: true\n },\n interactive: {\n kkrTdU: \"x1ypdohk\",\n kVVagm: \"xln7xf2\",\n kjBf7l: \"xrgy624\",\n kInvED: \"x2ssjo2\",\n k3XXqK: \"x9v5kkp x1t137rt\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n interactiveLayers: {\n kWkggS: \"x83qkoq x1yl1wq7 x10oam47 xkl27de xjqqt44 xjbqb8w\",\n $$css: true\n },\n list: {\n kAzted: \"xyax5pk\",\n $$css: true\n },\n main: {\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kzQI83: \"x1iyjqo2\",\n kOIVth: \"x14qo01y\",\n k7Eaqz: \"xeuugli\",\n $$css: true\n },\n menu: {\n kAzted: \"x1ddmzdj\",\n $$css: true\n },\n overline: {\n kMwMTN: \"x1w5n3ug\",\n kMv6JI: \"xs1w0rn\",\n kGuDYH: \"x1n35her\",\n k63SB2: \"x1su64ma\",\n kb6lSQ: \"xdlnduh\",\n kLWn49: \"xaomhve\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n pressed: {\n kKwaWg: \"xdiex0u\",\n $$css: true\n },\n selectedDrawer: {\n kWkggS: \"x15dekr4 x1jzqe4\",\n kMwMTN: \"x1sawysd x1k5gbb1\",\n kAXs8y: \"x1g12otp\",\n $$css: true\n },\n selectedList: {\n kWkggS: \"xp89om9 x1jzqe4\",\n kMwMTN: \"xscdzaa x1k5gbb1\",\n kAXs8y: \"x1g12otp\",\n $$css: true\n },\n selectedMenu: {\n kWkggS: \"xs6yvni x1jzqe4\",\n kMwMTN: \"x3cbcwg x1k5gbb1\",\n kAXs8y: \"x1g12otp\",\n $$css: true\n },\n slot: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n $$css: true\n },\n slotDisabled: {\n kMwMTN: \"x139gbkf x1bhcspo\",\n kSiTet: \"x1ppv7y9 x1tbh5bv\",\n $$css: true\n },\n slotSelected: {\n kAXs8y: \"xr5dkdi\",\n $$css: true\n },\n supporting: {\n kMwMTN: \"x1w5n3ug\",\n kMv6JI: \"xpo2rfv\",\n kGuDYH: \"x193rfdd\",\n k63SB2: \"x1hews6w\",\n kb6lSQ: \"xn43zvd\",\n kLWn49: \"xv61bfh\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n supportingInherit: {\n kMwMTN: \"x1heor9g\",\n $$css: true\n },\n supportingSelectedDrawer: {\n kMwMTN: \"x1sawysd x1k5gbb1\",\n $$css: true\n },\n supportingSelectedList: {\n kMwMTN: \"xscdzaa x1k5gbb1\",\n $$css: true\n },\n supportingSelectedMenu: {\n kMwMTN: \"x3cbcwg x1k5gbb1\",\n $$css: true\n },\n threeLine: {\n kGNEyG: \"x1cy8zhl\",\n kAzted: \"x1bt55z4\",\n k8WAf4: \"x1uvvd8r\",\n $$css: true\n },\n twoLine: {\n kAzted: \"x304zwk\",\n $$css: true\n }\n};\n\n/**\n * The tone a row's muted text takes over its own muted style: the supporting\n * line and the overline, and a menu item's shortcut. Nothing while the row is\n * drawn on the surface, where the muted style's on surface variant holds;\n * the selected container's own on-colour while selected; and the row's own\n * colour while disabled. Disabled is asked first, since a disabled row's own\n * colour is already the faded one and so wins over the selected container's\n * content role. One function for every caller, so a shortcut and the\n * supporting line beside it cannot come to disagree.\n */\nfunction supportingTone(variant: RowVariant, {\n isDisabled,\n isSelected\n}: {\n isDisabled: boolean;\n isSelected: boolean;\n}) {\n if (isDisabled) {\n return rowStyles.supportingInherit;\n }\n if (!isSelected) {\n return null;\n }\n // Each variant's container is a different colour family, and the muted\n // role is not guaranteed to be readable over any of them.\n if (variant === 'drawer') {\n return rowStyles.supportingSelectedDrawer;\n }\n if (variant === 'menu') {\n return rowStyles.supportingSelectedMenu;\n }\n return rowStyles.supportingSelectedList;\n}\nexport { rowStyles, supportingTone };"],"mappings":"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"}
@@ -4,9 +4,10 @@ import { jsx } from "react/jsx-runtime";
4
4
  import { DateSegment } from "react-aria-components";
5
5
  // src/segments/index.tsx
6
6
  const UNSEEN = /^[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]*$/u;
7
+ const HANGING = /^[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]*\p{P}+\s+$/u;
7
8
  function renderSegment(segment) {
8
9
  if (segment.type === "literal") return /* @__PURE__ */ jsx(DateSegment, {
9
- ...props(segmentStyles.segment, segmentStyles.segmentLiteral, !UNSEEN.test(segment.text) && segmentStyles.segmentSeparator),
10
+ ...props(segmentStyles.segment, segmentStyles.segmentLiteral, !UNSEEN.test(segment.text) && segmentStyles.segmentSeparator, HANGING.test(segment.text) && segmentStyles.segmentSeparatorHanging),
10
11
  segment
11
12
  });
12
13
  return /* @__PURE__ */ jsx(DateSegment, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["stylex","segmentStyles","UNSEEN","renderSegment","segment","type","segmentLiteral","test","text","segmentSeparator","segmentClassName","state","isDisabled","isFocused","isPlaceholder","segmentPlaceholder","segmentFocused","segmentDisabled","className","RACDateSegment"],"sources":["../../src/segments/index.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport * as stylex from '@stylexjs/stylex';\nimport { DateInput as RACDateInput, DateSegment as RACDateSegment } from 'react-aria-components';\nimport { segmentStyles } from './styles';\n\n// How a date or a time is drawn once React Aria has decided what its parts\n// are. Shared by DateField and TimeField, which differ only in the value they\n// hold: the segments, their order and their number all come from React Aria,\n// so what is here is the same for both.\n\n// What React Aria hands the input for each part of the date. Taken off the\n// component rather than imported, since the segment type is not on the\n// package's public surface.\ntype Segment = Parameters<NonNullable<Parameters<typeof RACDateInput>[0]['children']>>[0];\n\n// The invisible marks that keep a value's direction, which a locale can put\n// at either end of it as a literal of their own.\nconst UNSEEN = /^[\\u061c\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069]*$/u;\n\n// What each segment draws. A literal — the slash or colon between two\n// segments — takes a style of its own, since it is punctuation rather than\n// something a reader types into, and the room either side of it only where\n// it takes up room: a direction mark at the start of a time is a literal\n// too, and spaced, it moved the value off the label's edge. A space is spaced\n// like a slash, since it is what stands between a time and its AM or PM.\nfunction renderSegment(segment: Segment): ReactElement {\n if (segment.type === 'literal') {\n return <RACDateSegment {...stylex.props(segmentStyles.segment, segmentStyles.segmentLiteral, !UNSEEN.test(segment.text) && segmentStyles.segmentSeparator)} segment={segment} />;\n }\n return <RACDateSegment className={segmentClassName} segment={segment} />;\n}\n\n// A segment's classes, from React Aria's render state. StyleX cannot target\n// `[data-placeholder]` on the element it is styling, so the state comes from\n// what React Aria hands the className.\n//\n// The order matters: `disabled` is last, and StyleX replaces a property\n// whole, so it wins over both the placeholder and the focused branches.\nfunction segmentClassName(state: {\n isDisabled: boolean;\n isFocused: boolean;\n isPlaceholder: boolean;\n}) {\n return stylex.props(segmentStyles.segment, state.isPlaceholder && segmentStyles.segmentPlaceholder, state.isFocused && segmentStyles.segmentFocused, state.isDisabled && segmentStyles.segmentDisabled).className ?? '';\n}\nexport { renderSegment };"],"mappings":";;;;;AAiBA,MAAME,SAAS;AAQf,SAASC,cAAcC,SAAgC;CACrD,IAAIA,QAAQC,SAAS,WACnB,OAAO,oBAACc,aAAD;EAAgB,GAAInB,MAAaC,cAAcG,SAASH,cAAcK,gBAAgB,CAACJ,OAAOK,KAAKH,QAAQI,IAAI,KAAKP,cAAcQ,gBAAgB;EAAYL;CAAQ,CAAA;CAE/K,OAAO,oBAACe,aAAD;EAAgB,WAAWT;EAA2BN;CAAQ,CAAA;AACvE;AAQA,SAASM,iBAAiBC,OAIvB;CACD,OAAOX,MAAaC,cAAcG,SAASO,MAAMG,iBAAiBb,cAAcc,oBAAoBJ,MAAME,aAAaZ,cAAce,gBAAgBL,MAAMC,cAAcX,cAAcgB,eAAe,CAAC,CAACC,aAAa;AACvN"}
1
+ {"version":3,"file":"index.js","names":["stylex","segmentStyles","UNSEEN","HANGING","renderSegment","segment","type","segmentLiteral","test","text","segmentSeparator","segmentSeparatorHanging","segmentClassName","state","isDisabled","isFocused","isPlaceholder","segmentPlaceholder","segmentFocused","segmentDisabled","className","RACDateSegment"],"sources":["../../src/segments/index.tsx"],"sourcesContent":["import type { ReactElement } from 'react';\nimport * as stylex from '@stylexjs/stylex';\nimport { DateInput as RACDateInput, DateSegment as RACDateSegment } from 'react-aria-components';\nimport { segmentStyles } from './styles';\n\n// How a date or a time is drawn once React Aria has decided what its parts\n// are. Shared by DateField and TimeField, which differ only in the value they\n// hold: the segments, their order and their number all come from React Aria,\n// so what is here is the same for both.\n\n// What React Aria hands the input for each part of the date. Taken off the\n// component rather than imported, since the segment type is not on the\n// package's public surface.\ntype Segment = Parameters<NonNullable<Parameters<typeof RACDateInput>[0]['children']>>[0];\n\n// The invisible marks that keep a value's direction, which a locale can put\n// at either end of it as a literal of their own.\nconst UNSEEN = /^[\\u061c\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069]*$/u;\n\n// Punctuation followed by a space, as the comma between a date and its time\n// is written, in any script, once the direction marks are set aside.\nconst HANGING = /^[\\u061c\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069]*\\p{P}+\\s+$/u;\n\n// What each segment draws. A literal — the slash or colon between two\n// segments — takes a style of its own, since it is punctuation rather than\n// something a reader types into, and the room either side of it only where\n// it takes up room: a direction mark at the start of a time is a literal\n// too, and spaced, it moved the value off the label's edge. A space is spaced\n// like a slash, since it is what stands between a time and its AM or PM, and\n// in Japanese between a date's day and the time's hour, two segments narrow\n// enough to need that room as targets. A comma and its space hang off the\n// segment before them instead — see `segmentSeparatorHanging`.\nfunction renderSegment(segment: Segment): ReactElement {\n if (segment.type === 'literal') {\n return <RACDateSegment {...stylex.props(segmentStyles.segment, segmentStyles.segmentLiteral, !UNSEEN.test(segment.text) && segmentStyles.segmentSeparator, HANGING.test(segment.text) && segmentStyles.segmentSeparatorHanging)} segment={segment} />;\n }\n return <RACDateSegment className={segmentClassName} segment={segment} />;\n}\n\n// A segment's classes, from React Aria's render state. StyleX cannot target\n// `[data-placeholder]` on the element it is styling, so the state comes from\n// what React Aria hands the className.\n//\n// The order matters: `disabled` is last, and StyleX replaces a property\n// whole, so it wins over both the placeholder and the focused branches.\nfunction segmentClassName(state: {\n isDisabled: boolean;\n isFocused: boolean;\n isPlaceholder: boolean;\n}) {\n return stylex.props(segmentStyles.segment, state.isPlaceholder && segmentStyles.segmentPlaceholder, state.isFocused && segmentStyles.segmentFocused, state.isDisabled && segmentStyles.segmentDisabled).className ?? '';\n}\nexport { renderSegment };"],"mappings":";;;;;AAiBA,MAAME,SAAS;AAIf,MAAMC,UAAU;AAWhB,SAASC,cAAcC,SAAgC;CACrD,IAAIA,QAAQC,SAAS,WACnB,OAAO,oBAACe,aAAD;EAAgB,GAAIrB,MAAaC,cAAcI,SAASJ,cAAcM,gBAAgB,CAACL,OAAOM,KAAKH,QAAQI,IAAI,KAAKR,cAAcS,kBAAkBP,QAAQK,KAAKH,QAAQI,IAAI,KAAKR,cAAcU,uBAAuB;EAAYN;CAAQ,CAAA;CAEpP,OAAO,oBAACgB,aAAD;EAAgB,WAAWT;EAA2BP;CAAQ,CAAA;AACvE;AAQA,SAASO,iBAAiBC,OAIvB;CACD,OAAOb,MAAaC,cAAcI,SAASQ,MAAMG,iBAAiBf,cAAcgB,oBAAoBJ,MAAME,aAAad,cAAciB,gBAAgBL,MAAMC,cAAcb,cAAckB,eAAe,CAAC,CAACC,aAAa;AACvN"}
@@ -41,6 +41,10 @@ const segmentStyles = {
41
41
  segmentSeparator: {
42
42
  kg3NbH: "ximhkdq",
43
43
  $$css: true
44
+ },
45
+ segmentSeparatorHanging: {
46
+ kZCmMZ: "x1c1uobl",
47
+ $$css: true
44
48
  }
45
49
  };
46
50
  export { segmentStyles };
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["segmentStyles","input","kGNEyG","kB7OPa","k1xSpc","k3XXqK","$$css","segment","kaIpWk","knGrYV","kMwMTN","kjBf7l","kInvED","kMeerF","kg3NbH","k9WMMc","segmentDisabled","segmentFocused","kWkggS","segmentLiteral","segmentPlaceholder","segmentSeparator"],"sources":["../../src/segments/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, radii, spacing, stateLayerOpacity } from '../tokens/design.tokens.stylex';\n\n// The segments a date or a time is typed into, shared by DateField and\n// TimeField. Apart from either component so the two cannot drift, and outside\n// `src/components` because a directory there is a public component with\n// stories, a barrel entry and a `styling.test.tsx` case — which shared styles\n// are none of.\n\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst segmentStyles = {\n input: {\n kGNEyG: \"x6s0dn4\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n k3XXqK: \"x1t137rt\",\n $$css: true\n },\n segment: {\n kaIpWk: \"x1tfhd1\",\n kB7OPa: \"x9f619\",\n knGrYV: \"xbuiw85\",\n kMwMTN: \"x139gbkf\",\n kjBf7l: \"x1x84bn5\",\n kInvED: \"xs9jlpd\",\n k3XXqK: \"x1t137rt xc0lcac x1894zjx\",\n kMeerF: \"x1jrff4x\",\n kg3NbH: \"xdomwbk\",\n k9WMMc: \"xp4054r\",\n $$css: true\n },\n segmentDisabled: {\n kMwMTN: \"x1xj74d8\",\n $$css: true\n },\n segmentFocused: {\n kWkggS: \"xnety89\",\n kMwMTN: \"xwjo7ld\",\n $$css: true\n },\n segmentLiteral: {\n kMwMTN: \"x1w5n3ug\",\n kg3NbH: \"xnjsko4\",\n $$css: true\n },\n segmentPlaceholder: {\n kMwMTN: \"x1w5n3ug\",\n $$css: true\n },\n segmentSeparator: {\n kg3NbH: \"ximhkdq\",\n $$css: true\n }\n};\nexport { segmentStyles };"],"mappings":";AAeA,MAAMA,gBAAgB;CACpBC,OAAO;EACLC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,SAAS;EACPC,QAAQ;EACRL,QAAQ;EACRM,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRT,OAAO;CACT;CACAU,iBAAiB;EACfN,QAAQ;EACRJ,OAAO;CACT;CACAW,gBAAgB;EACdC,QAAQ;EACRR,QAAQ;EACRJ,OAAO;CACT;CACAa,gBAAgB;EACdT,QAAQ;EACRI,QAAQ;EACRR,OAAO;CACT;CACAc,oBAAoB;EAClBV,QAAQ;EACRJ,OAAO;CACT;CACAe,kBAAkB;EAChBP,QAAQ;EACRR,OAAO;CACT;AACF"}
1
+ {"version":3,"file":"styles.js","names":["segmentStyles","input","kGNEyG","kB7OPa","k1xSpc","k3XXqK","$$css","segment","kaIpWk","knGrYV","kMwMTN","kjBf7l","kInvED","kMeerF","kg3NbH","k9WMMc","segmentDisabled","segmentFocused","kWkggS","segmentLiteral","segmentPlaceholder","segmentSeparator","segmentSeparatorHanging","kZCmMZ"],"sources":["../../src/segments/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, radii, spacing, stateLayerOpacity } from '../tokens/design.tokens.stylex';\n\n// The segments a date or a time is typed into, shared by DateField and\n// TimeField. Apart from either component so the two cannot drift, and outside\n// `src/components` because a directory there is a public component with\n// stories, a barrel entry and a `styling.test.tsx` case — which shared styles\n// are none of.\n\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst segmentStyles = {\n input: {\n kGNEyG: \"x6s0dn4\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n k3XXqK: \"x1t137rt\",\n $$css: true\n },\n segment: {\n kaIpWk: \"x1tfhd1\",\n kB7OPa: \"x9f619\",\n knGrYV: \"xbuiw85\",\n kMwMTN: \"x139gbkf\",\n kjBf7l: \"x1x84bn5\",\n kInvED: \"xs9jlpd\",\n k3XXqK: \"x1t137rt xc0lcac x1894zjx\",\n kMeerF: \"x1jrff4x\",\n kg3NbH: \"xdomwbk\",\n k9WMMc: \"xp4054r\",\n $$css: true\n },\n segmentDisabled: {\n kMwMTN: \"x1xj74d8\",\n $$css: true\n },\n segmentFocused: {\n kWkggS: \"xnety89\",\n kMwMTN: \"xwjo7ld\",\n $$css: true\n },\n segmentLiteral: {\n kMwMTN: \"x1w5n3ug\",\n kg3NbH: \"xnjsko4\",\n $$css: true\n },\n segmentPlaceholder: {\n kMwMTN: \"x1w5n3ug\",\n $$css: true\n },\n segmentSeparator: {\n kg3NbH: \"ximhkdq\",\n $$css: true\n },\n segmentSeparatorHanging: {\n kZCmMZ: \"x1c1uobl\",\n $$css: true\n }\n};\nexport { segmentStyles };"],"mappings":";AAeA,MAAMA,gBAAgB;CACpBC,OAAO;EACLC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,SAAS;EACPC,QAAQ;EACRL,QAAQ;EACRM,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRT,OAAO;CACT;CACAU,iBAAiB;EACfN,QAAQ;EACRJ,OAAO;CACT;CACAW,gBAAgB;EACdC,QAAQ;EACRR,QAAQ;EACRJ,OAAO;CACT;CACAa,gBAAgB;EACdT,QAAQ;EACRI,QAAQ;EACRR,OAAO;CACT;CACAc,oBAAoB;EAClBV,QAAQ;EACRJ,OAAO;CACT;CACAe,kBAAkB;EAChBP,QAAQ;EACRR,OAAO;CACT;CACAgB,yBAAyB;EACvBC,QAAQ;EACRjB,OAAO;CACT;AACF"}
@@ -6,6 +6,7 @@ const chequer = { ground: {
6
6
  kKwaWg: "x12it5ax",
7
7
  k1YJky: "x1wlk0ns",
8
8
  kgSjnq: "x1ht9rhz",
9
+ kAXs8y: "x1g12otp",
9
10
  $$css: true
10
11
  } };
11
12
  export { chequer };
@@ -1 +1 @@
1
- {"version":3,"file":"chequer.js","names":["colors","surfaceContainerHighest","chequer","ground","kWkggS","kKwaWg","k1YJky","kgSjnq","$$css"],"sources":["../../src/styles/chequer.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors } from '../tokens/design.tokens.stylex';\n\n// The chequer a transparent colour is drawn against. A half-transparent red\n// over a light surface and an opaque pink are the same pixels; this is what\n// tells them apart, behind a swatch and behind a colour slider's alpha\n// track.\n//\n// In `src/styles` rather than either component, since both draw it and a\n// second copy would be a second density to keep in step.\n//\n// Two things about the recipe are worth knowing before touching it.\n//\n// **The offsets are half a tile, not a whole one.** Four gradients draw the\n// two dark squares of a tile, and at a whole tile all four line up — the\n// pattern comes out as diamonds, which reads as a texture rather than as\n// the absence of a colour.\n//\n// **It is a layer behind, never a background on the coloured element.**\n// React Aria writes a swatch's colour to its own inline `background-color`\n// and a colour track's gradient to its inline `background`, and CSS paints a\n// background image over a background colour rather than under it — so a\n// chequer on that element would cover what it is there to reveal.\n\n// 8px squares, which reads as a chequer at a swatch's size without turning\n// into a texture.\nconst TILE = '16px';\nconst HALF = '8px';\nconst GRADIENTS = `linear-gradient(45deg, ${colors.surfaceContainerHighest} 25%, transparent 25%),\nlinear-gradient(-45deg, ${colors.surfaceContainerHighest} 25%, transparent 25%),\nlinear-gradient(45deg, transparent 75%, ${colors.surfaceContainerHighest} 75%),\nlinear-gradient(-45deg, transparent 75%, ${colors.surfaceContainerHighest} 75%)`;\nconst chequer = {\n ground: {\n kWkggS: \"x14q8lhr\",\n kKwaWg: \"x12it5ax\",\n k1YJky: \"x1wlk0ns\",\n kgSjnq: \"x1ht9rhz\",\n $$css: true\n }\n};\nexport { chequer };"],"mappings":";;AA6BkB,GAA0BA,OAAOC,0BACzBD,OAAOC,0BACSD,OAAOC,0BACND,OAAOC;AAClD,MAAMC,UAAU,EACdC,QAAQ;CACNC,QAAQ;CACRC,QAAQ;CACRC,QAAQ;CACRC,QAAQ;CACRC,OAAO;AACT,EACF"}
1
+ {"version":3,"file":"chequer.js","names":["colors","surfaceContainerHighest","chequer","ground","kWkggS","kKwaWg","k1YJky","kgSjnq","kAXs8y","$$css"],"sources":["../../src/styles/chequer.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors } from '../tokens/design.tokens.stylex';\n\n// The chequer a transparent colour is drawn against. A half-transparent red\n// over a light surface and an opaque pink are the same pixels; this is what\n// tells them apart, behind a swatch and behind a colour slider's alpha\n// track.\n//\n// In `src/styles` rather than either component, since both draw it and a\n// second copy would be a second density to keep in step.\n//\n// Three things about the recipe are worth knowing before touching it.\n//\n// **The offsets are half a tile, not a whole one.** Four gradients draw the\n// two dark squares of a tile, and at a whole tile all four line up — the\n// pattern comes out as diamonds, which reads as a texture rather than as\n// the absence of a colour.\n//\n// **It is a layer behind, never a background on the coloured element.**\n// React Aria writes a swatch's colour to its own inline `background-color`\n// and a colour track's gradient to its inline `background`, and CSS paints a\n// background image over a background colour rather than under it — so a\n// chequer on that element would cover what it is there to reveal.\n//\n// **It opts out of forced colours.** The mode drops a background image that\n// is not a `url()` and paints the ground in Canvas, so left to it the\n// chequer goes and a translucent colour reads as a flat one. React Aria\n// already opts the swatch and the colour track out, inline, since their\n// colour is the value; the ground they are read against has to keep its\n// pattern for the same reason. Everything drawn inside the ground sits in\n// one of those two already, so the opt-out it hands down changes nothing\n// else.\n\n// 8px squares, which reads as a chequer at a swatch's size without turning\n// into a texture.\nconst TILE = '16px';\nconst HALF = '8px';\nconst GRADIENTS = `linear-gradient(45deg, ${colors.surfaceContainerHighest} 25%, transparent 25%),\nlinear-gradient(-45deg, ${colors.surfaceContainerHighest} 25%, transparent 25%),\nlinear-gradient(45deg, transparent 75%, ${colors.surfaceContainerHighest} 75%),\nlinear-gradient(-45deg, transparent 75%, ${colors.surfaceContainerHighest} 75%)`;\nconst chequer = {\n ground: {\n kWkggS: \"x14q8lhr\",\n kKwaWg: \"x12it5ax\",\n k1YJky: \"x1wlk0ns\",\n kgSjnq: \"x1ht9rhz\",\n kAXs8y: \"x1g12otp\",\n $$css: true\n }\n};\nexport { chequer };"],"mappings":";;AAsCkB,GAA0BA,OAAOC,0BACzBD,OAAOC,0BACSD,OAAOC,0BACND,OAAOC;AAClD,MAAMC,UAAU,EACdC,QAAQ;CACNC,QAAQ;CACRC,QAAQ;CACRC,QAAQ;CACRC,QAAQ;CACRC,QAAQ;CACRC,OAAO;AACT,EACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"focus.js","names":["focus","ring","kjBf7l","kInvED","k3XXqK","kMeerF","$$css","ringVisible"],"sources":["../../src/styles/focus.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors } from '../tokens/design.tokens.stylex';\n\n// The focus ring, drawn once. Eighteen components spelled the same four\n// declarations out, which made a change to the ring eighteen edits with\n// nothing failing if one were missed.\n//\n// Only these two forms are shared, and the difference is who decides the\n// element has focus. `ring` lets the browser decide, through\n// `:focus-visible`, which is what a natively focusable element wants.\n// `ringVisible` is always solid, for a component that computes focus from\n// React Aria's render state and applies this style only when that state says\n// so — a checkbox, radio or switch, where the ring belongs on the drawn\n// control rather than on the input that actually holds focus.\n//\n// What deliberately stays with its component is every ring that differs, and\n// each of those already carries a comment saying why:\n//\n// - A different colour, because the surface underneath is not the default\n// one: Snackbar's action and close, and Chip's remove.\n// - A different colour, because the spec gives the component its own focus\n// indicator: Card, in secondary or on surface by variant.\n// - A negative offset, drawing the ring inside the element rather than\n// around it: DropZone, NumberField, Table, a Tab and its panel, the shared\n// row, the body of a Dialog or a Sheet while it scrolls, and a bottom\n// sheet's drag handle.\n// - An offset of its own, sized to what the ring surrounds: the colour\n// thumb at 4px, the swatch at 6px, Chip's remove at 1px.\n// - A base of `outlineStyle: 'none'` that a separate style turns solid,\n// which is a different mechanism rather than a different value: the slider\n// thumb, the colour swatch picker, and the shared colour styles.\n// - An `outlineStyle` keyed on a breakpoint, for a ring that moves from one\n// element to another as the window widens: a navigation bar's destination.\n// - Drawn by the element around the one holding focus, keyed on `:has()`,\n// for a focused element whose own edge is not the boundary a reader sees:\n// a Popover's dialog, inset inside its panel.\n// - A shadow inside a box whose input holds focus, keyed on `:focus-within`,\n// with an outline under forced colours alone: the field chrome's box and\n// SearchField's bar.\nconst focus = {\n ring: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"x9v5kkp x1t137rt\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n ringVisible: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"xaatb59\",\n kMeerF: \"x1de99jn\",\n $$css: true\n }\n};\nexport { focus };"],"mappings":";AAwCA,MAAMA,QAAQ;CACZC,MAAM;EACJC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,aAAa;EACXL,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;AACF"}
1
+ {"version":3,"file":"focus.js","names":["focus","ring","kjBf7l","kInvED","k3XXqK","kMeerF","$$css","ringVisible"],"sources":["../../src/styles/focus.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors } from '../tokens/design.tokens.stylex';\n\n// The focus ring, drawn once. Eighteen components spelled the same four\n// declarations out, which made a change to the ring eighteen edits with\n// nothing failing if one were missed.\n//\n// Only these two forms are shared, and the difference is who decides the\n// element has focus. `ring` lets the browser decide, through\n// `:focus-visible`, which is what a natively focusable element wants.\n// `ringVisible` is always solid, for a component that computes focus from\n// React Aria's render state and applies this style only when that state says\n// so — a checkbox, radio or switch, where the ring belongs on the drawn\n// control rather than on the input that actually holds focus.\n//\n// What deliberately stays with its component is every ring that differs, and\n// each of those already carries a comment saying why:\n//\n// - A different colour, because the surface underneath is not the default\n// one: Snackbar's action and close, and Chip's remove.\n// - A different colour, because the spec gives the component its own focus\n// indicator: Card, in secondary or on surface by variant.\n// - A negative offset, drawing the ring inside the element rather than\n// around it: DropZone, NumberField, Table, a Tab and its panel, the shared\n// row, the body of a Dialog or a Sheet while it scrolls, and a bottom\n// sheet's drag handle.\n// - An offset of its own, sized to what the ring surrounds: the colour\n// thumb at 4px, the swatch at 6px, Chip's remove at 1px.\n// - A base of `outlineStyle: 'none'` that a separate style turns solid,\n// which is a different mechanism rather than a different value: the slider\n// thumb and the shared colour styles.\n// - An `outlineStyle` keyed on a breakpoint, for a ring that moves from one\n// element to another as the window widens: a navigation bar's destination.\n// - Drawn by the element around the one holding focus, keyed on `:has()`,\n// for a focused element whose own edge is not the boundary a reader sees:\n// a Popover's dialog, inset inside its panel.\n// - A shadow inside a box whose input holds focus, keyed on `:focus-within`,\n// with an outline under forced colours alone: the field chrome's box and\n// SearchField's bar.\nconst focus = {\n ring: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"x9v5kkp x1t137rt\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n ringVisible: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"xaatb59\",\n kMeerF: \"x1de99jn\",\n $$css: true\n }\n};\nexport { focus };"],"mappings":";AAwCA,MAAMA,QAAQ;CACZC,MAAM;EACJC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,aAAa;EACXL,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;AACF"}
package/dist/styles.css CHANGED
@@ -467,6 +467,10 @@
467
467
  --segment-indicator-radius-start: var(--x1lckk6t);
468
468
  }
469
469
 
470
+ .x1knt7uz {
471
+ --slider-at: var(--x---slider-at);
472
+ }
473
+
470
474
  .x1welmdy {
471
475
  --slider-corner: var(--x1m0y4ip);
472
476
  }
@@ -581,6 +585,10 @@
581
585
  padding: 0;
582
586
  }
583
587
 
588
+ .x3u9oyh {
589
+ padding: calc(var(--x3km7fe) - 1px);
590
+ }
591
+
584
592
  .x1apw6a7 {
585
593
  padding: var(--x196ey9q);
586
594
  }
@@ -665,10 +673,6 @@
665
673
  border-color: var(--x7dbk6n);
666
674
  }
667
675
 
668
- .xpdgbdc {
669
- border-color: var(--x7wk2f4);
670
- }
671
-
672
676
  .xm76mbg {
673
677
  border-color: var(--xiob6mg);
674
678
  }
@@ -862,6 +866,10 @@
862
866
  margin-block: -1px;
863
867
  }
864
868
 
869
+ .x1k49i25 {
870
+ margin-block: -4px;
871
+ }
872
+
865
873
  .x10im51j {
866
874
  margin-block: 0;
867
875
  }
@@ -874,10 +882,6 @@
874
882
  margin-block: auto;
875
883
  }
876
884
 
877
- .x1fh6m6z {
878
- margin-block: -4px;
879
- }
880
-
881
885
  .x8yh5r3 {
882
886
  margin-block: 4px;
883
887
  }
@@ -886,6 +890,10 @@
886
890
  margin-block: var(--xod9tvo);
887
891
  }
888
892
 
893
+ .xr6ywxm {
894
+ margin-inline: -4px;
895
+ }
896
+
889
897
  .xrxpjvj {
890
898
  margin-inline: 0;
891
899
  }
@@ -898,10 +906,6 @@
898
906
  margin-inline: auto;
899
907
  }
900
908
 
901
- .xfll3lq {
902
- margin-inline: -4px;
903
- }
904
-
905
909
  .xnx04jz {
906
910
  margin-inline: calc(var(--x6borv4) * -1);
907
911
  }
@@ -962,6 +966,10 @@
962
966
  padding-block: calc((40px - var(--xol8812)) / 2);
963
967
  }
964
968
 
969
+ .xa9tkb9 {
970
+ padding-block: calc(var(--xod9tvo) - 1px);
971
+ }
972
+
965
973
  .xs2ltda {
966
974
  padding-block: max(0px,calc((var(--x1ww3f7m) - var(--xkj6wu1)) / 2));
967
975
  }
@@ -1107,6 +1115,10 @@
1107
1115
  }
1108
1116
 
1109
1117
  @media (forced-colors: active) {
1118
+ .x1qfu9ae.x1qfu9ae {
1119
+ border-color: buttonborder;
1120
+ }
1121
+
1110
1122
  .x1ylmb6m.x1ylmb6m {
1111
1123
  border-color: buttontext;
1112
1124
  }
@@ -1172,7 +1184,19 @@
1172
1184
  .xap7i12.xap7i12 {
1173
1185
  margin-block: 12px;
1174
1186
  }
1187
+ }
1175
1188
 
1189
+ @media (forced-colors: active) {
1190
+ .x1n2n1b5.x1n2n1b5 {
1191
+ margin-block: -6px;
1192
+ }
1193
+
1194
+ .x1g55pzu.x1g55pzu {
1195
+ margin-inline: -6px;
1196
+ }
1197
+ }
1198
+
1199
+ @media (width >= 600px) {
1176
1200
  .x1nouyz5.x1nouyz5 {
1177
1201
  padding-block: 0;
1178
1202
  }
@@ -1184,6 +1208,12 @@
1184
1208
  }
1185
1209
  }
1186
1210
 
1211
+ @media (forced-colors: active) {
1212
+ .xf989l1.xf989l1 {
1213
+ padding-block: 6px;
1214
+ }
1215
+ }
1216
+
1187
1217
  @media (width >= 600px) {
1188
1218
  .x1njmi9r.x1njmi9r {
1189
1219
  padding-inline: var(--x196ey9q);
@@ -1194,6 +1224,12 @@
1194
1224
  }
1195
1225
  }
1196
1226
 
1227
+ @media (forced-colors: active) {
1228
+ .x1rsxkid.x1rsxkid {
1229
+ padding-inline: 6px;
1230
+ }
1231
+ }
1232
+
1197
1233
  @media (width < 600px) {
1198
1234
  @media (forced-colors: active) {
1199
1235
  .x1gb867b.x1gb867b.x1gb867b {
@@ -1228,6 +1264,10 @@
1228
1264
  -webkit-line-clamp: 2;
1229
1265
  }
1230
1266
 
1267
+ .x1l10kik {
1268
+ align-content: safe center;
1269
+ }
1270
+
1231
1271
  .x10ukxgv {
1232
1272
  align-content: start;
1233
1273
  }
@@ -1648,12 +1688,12 @@
1648
1688
  background-color: color-mix(in srgb,var(--xn0syi6) calc(var(--xu361ij) * 100%),transparent);
1649
1689
  }
1650
1690
 
1651
- .xbw18ef {
1652
- background-color: color-mix(in srgb,var(--xqsbqtq) calc(var(--x8z5t6h) * 100%),var(--x7wk2f4));
1691
+ .x19qr8s6 {
1692
+ background-color: color-mix(in srgb,var(--xwloagh) calc(var(--x8z5t6h) * 100%),var(--x12p1wyw));
1653
1693
  }
1654
1694
 
1655
- .xld5jmv {
1656
- background-color: color-mix(in srgb,var(--xqsbqtq) calc(var(--xhaltwz) * 100%),var(--x7wk2f4));
1695
+ .x14smkth {
1696
+ background-color: color-mix(in srgb,var(--xwloagh) calc(var(--xhaltwz) * 100%),var(--x12p1wyw));
1657
1697
  }
1658
1698
 
1659
1699
  .xtwfq29 {
@@ -1752,10 +1792,6 @@
1752
1792
  background-color: var(--x7dbk6n);
1753
1793
  }
1754
1794
 
1755
- .x1skwi6t {
1756
- background-color: var(--x7wk2f4);
1757
- }
1758
-
1759
1795
  .x1vnz5z6 {
1760
1796
  background-color: var(--xi1exwt);
1761
1797
  }
@@ -2632,10 +2668,18 @@
2632
2668
  grid-auto-columns: 1fr;
2633
2669
  }
2634
2670
 
2671
+ .x1mt6kc2 {
2672
+ grid-auto-columns: max-content;
2673
+ }
2674
+
2635
2675
  .x1mt1orb {
2636
2676
  grid-auto-flow: column;
2637
2677
  }
2638
2678
 
2679
+ .x1sdr0u7 {
2680
+ grid-auto-flow: row;
2681
+ }
2682
+
2639
2683
  .x1xdureb {
2640
2684
  grid-column-start: 2;
2641
2685
  }
@@ -2768,6 +2812,10 @@
2768
2812
  justify-content: flex-start;
2769
2813
  }
2770
2814
 
2815
+ .xej7fhh {
2816
+ justify-content: safe center;
2817
+ }
2818
+
2771
2819
  .x1l1ennw {
2772
2820
  justify-content: space-around;
2773
2821
  }
@@ -2980,6 +3028,10 @@
2980
3028
  margin-inline-start: calc(-1 * var(--xod9tvo));
2981
3029
  }
2982
3030
 
3031
+ .xrnipbp {
3032
+ margin-inline-start: calc(48px + var(--x6borv4));
3033
+ }
3034
+
2983
3035
  .x1m7rnnc {
2984
3036
  margin-inline-start: var(--x3km7fe);
2985
3037
  }
@@ -3141,6 +3193,10 @@
3141
3193
  padding-inline-end: var(--xod9tvo);
3142
3194
  }
3143
3195
 
3196
+ .x1c1uobl {
3197
+ padding-inline-start: 0;
3198
+ }
3199
+
3144
3200
  .x1oiqv2n {
3145
3201
  padding-inline-start: 48px;
3146
3202
  }
@@ -3378,12 +3434,12 @@
3378
3434
  transform: scaleX(-1);
3379
3435
  }
3380
3436
 
3381
- .xuuh30 {
3382
- transform: translateX(-50%);
3437
+ .x1gwzs1v {
3438
+ transform: translateX(clamp(calc(var(--slider-at) * -100cqi),-50%,calc((1 - var(--slider-at)) * 100cqi - 100%)));
3383
3439
  }
3384
3440
 
3385
- .x1cb1t30 {
3386
- transform: translateY(-50%);
3441
+ .xj0i120 {
3442
+ transform: translateY(clamp(calc((1 - var(--slider-at)) * -100cqb),-50%,calc(var(--slider-at) * 100cqb - 100%)));
3387
3443
  }
3388
3444
 
3389
3445
  .x18ouj0k {
@@ -3792,8 +3848,8 @@
3792
3848
  transform: scaleX(1);
3793
3849
  }
3794
3850
 
3795
- .xaf021q:dir(rtl) {
3796
- transform: translateX(50%);
3851
+ .xc01soo:dir(rtl) {
3852
+ transform: translateX(clamp(calc(100% - (1 - var(--slider-at)) * 100cqi),50%,calc(var(--slider-at) * 100cqi)));
3797
3853
  }
3798
3854
 
3799
3855
  .x1prwiuu:first-child {
@@ -4021,6 +4077,10 @@
4021
4077
  color: canvastext;
4022
4078
  }
4023
4079
 
4080
+ .x1xt8qih.x1xt8qih {
4081
+ color: currentColor;
4082
+ }
4083
+
4024
4084
  .x1bhcspo.x1bhcspo {
4025
4085
  color: graytext;
4026
4086
  }
@@ -4199,6 +4259,10 @@
4199
4259
  outline-offset: -2px;
4200
4260
  }
4201
4261
 
4262
+ .xzpfk5o.xzpfk5o {
4263
+ outline-offset: -4px;
4264
+ }
4265
+
4202
4266
  .x12iqurn.x12iqurn {
4203
4267
  outline-offset: 2px;
4204
4268
  }
@@ -4230,6 +4294,10 @@
4230
4294
  .x1jrff4x.x1jrff4x {
4231
4295
  outline-width: 2px;
4232
4296
  }
4297
+
4298
+ .xlqle6p.xlqle6p {
4299
+ outline-width: 4px;
4300
+ }
4233
4301
  }
4234
4302
 
4235
4303
  @media (width >= 600px) {
@@ -4500,6 +4568,10 @@
4500
4568
  height: 10px;
4501
4569
  }
4502
4570
 
4571
+ .x1wkxgih {
4572
+ height: 120px;
4573
+ }
4574
+
4503
4575
  .xlup9mm {
4504
4576
  height: 16px;
4505
4577
  }
@@ -4732,6 +4804,10 @@
4732
4804
  margin-top: calc((var(--xol8812) - var(--x67cwyw)) / 2);
4733
4805
  }
4734
4806
 
4807
+ .xt6307q {
4808
+ margin-top: calc(44px + var(--x6borv4));
4809
+ }
4810
+
4735
4811
  .x1vhfslr {
4736
4812
  margin-top: var(--x-marginBlockStart);
4737
4813
  }
@@ -4928,6 +5004,10 @@
4928
5004
  min-height: var(--xnychtd);
4929
5005
  }
4930
5006
 
5007
+ .xsv2w1p {
5008
+ min-height: var(--xurq05k);
5009
+ }
5010
+
4931
5011
  .x304zwk {
4932
5012
  min-height: var(--xz029kk);
4933
5013
  }
@@ -5040,6 +5120,10 @@
5040
5120
  padding-bottom: var(--x3km7fe);
5041
5121
  }
5042
5122
 
5123
+ .x1ux19a9 {
5124
+ padding-bottom: var(--x6borv4);
5125
+ }
5126
+
5043
5127
  .xqf7pud {
5044
5128
  padding-bottom: var(--xod9tvo);
5045
5129
  }
@@ -5570,7 +5654,15 @@
5570
5654
  inset: -3px;
5571
5655
  }
5572
5656
 
5573
- .xramuyw:after, .x15kbrqr:before {
5657
+ .xzkkzs7:after {
5658
+ inset: -5px;
5659
+ }
5660
+
5661
+ .xxx281p:before {
5662
+ inset: 0;
5663
+ }
5664
+
5665
+ .x15kbrqr:before {
5574
5666
  inset: -4px;
5575
5667
  }
5576
5668
 
@@ -5584,10 +5676,6 @@
5584
5676
  }
5585
5677
 
5586
5678
  @layer kanso.priority7 {
5587
- .xtl7nvb:after {
5588
- border-color: var(--x1cjupv7);
5589
- }
5590
-
5591
5679
  .xrwozs3:after {
5592
5680
  border-color: var(--x1ridy1o);
5593
5681
  }
@@ -5596,8 +5684,16 @@
5596
5684
  border-color: var(--x7dbk6n);
5597
5685
  }
5598
5686
 
5599
- .x1upluxz:after {
5600
- border-radius: calc(var(--x1qkrqlv) + min(var(--x1qkrqlv),4px));
5687
+ .xmi6dwc:after {
5688
+ border-color: var(--xn0syi6);
5689
+ }
5690
+
5691
+ .xdzrvcx:after {
5692
+ border-radius: calc(var(--x1qkrqlv) + min(var(--x1qkrqlv),5px));
5693
+ }
5694
+
5695
+ .x13uuyx9:before {
5696
+ border-radius: var(--x1qkrqlv);
5601
5697
  }
5602
5698
 
5603
5699
  .x1v5kskh:after {
@@ -5612,6 +5708,10 @@
5612
5708
  border-width: 2px;
5613
5709
  }
5614
5710
 
5711
+ .x14wq4lv:after {
5712
+ border-width: 3px;
5713
+ }
5714
+
5615
5715
  .x1mtdikz:before {
5616
5716
  inset-block: -14px;
5617
5717
  }
@@ -5664,7 +5764,11 @@
5664
5764
  align-self: last baseline;
5665
5765
  }
5666
5766
 
5667
- .xx38sju:after {
5767
+ .xkqgyyi:before {
5768
+ background-image: linear-gradient(to top right,transparent calc(50% - 2.5px),var(--x1dzgr7y) calc(50% - 2.5px) calc(50% - 1px),var(--xn0syi6) calc(50% - 1px) calc(50% + 1px),var(--x1dzgr7y) calc(50% + 1px) calc(50% + 2.5px),transparent calc(50% + 2.5px));
5769
+ }
5770
+
5771
+ .xtql2tq:before, .xx38sju:after {
5668
5772
  box-sizing: border-box;
5669
5773
  }
5670
5774
 
@@ -5700,7 +5804,11 @@
5700
5804
  display: none;
5701
5805
  }
5702
5806
 
5703
- .x2q1x1w:after {
5807
+ .x13rwrtk:before {
5808
+ forced-color-adjust: none;
5809
+ }
5810
+
5811
+ .x2q1x1w:after, .xkk1bqk:before {
5704
5812
  pointer-events: none;
5705
5813
  }
5706
5814
 
@@ -5708,10 +5816,20 @@
5708
5816
  position: absolute;
5709
5817
  }
5710
5818
 
5819
+ .x12maryy:before {
5820
+ z-index: 1;
5821
+ }
5822
+
5711
5823
  .x1mvm7v4:focus::placeholder {
5712
5824
  color: var(--x28n2pw);
5713
5825
  }
5714
5826
 
5827
+ @media (forced-colors: active) {
5828
+ .x1vz15c4.x1vz15c4:before {
5829
+ background-image: linear-gradient(to top right, #0000 calc(50% - 2.5px), canvas calc(50% - 2.5px) calc(50% - 1px), graytext calc(50% - 1px) calc(50% + 1px), canvas calc(50% + 1px) calc(50% + 2.5px), #0000 calc(50% + 2.5px));
5830
+ }
5831
+ }
5832
+
5715
5833
  @media (width >= 600px) {
5716
5834
  .x1ktxc2h.x1ktxc2h:after {
5717
5835
  content: "";
@@ -5733,6 +5851,11 @@
5733
5851
  }
5734
5852
  }
5735
5853
 
5854
+ @property --x---slider-at {
5855
+ syntax: "*";
5856
+ inherits: false
5857
+ }
5858
+
5736
5859
  @property --x-blockSize {
5737
5860
  syntax: "*";
5738
5861
  inherits: false