{"version":3,"file":"style.mjs","names":[],"sources":["../../../src/base-ui/DatePicker/style.ts"],"sourcesContent":["import { createStaticStyles } from 'antd-style';\n\nimport { focusRing } from '@/base-ui/focusRing';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => ({\n  band: css`\n    background: ${cssVar.colorFillSecondary};\n  `,\n  bandEnd: css`\n    background: linear-gradient(to left, transparent 50%, ${cssVar.colorFillSecondary} 50%);\n  `,\n  bandStart: css`\n    background: linear-gradient(to right, transparent 50%, ${cssVar.colorFillSecondary} 50%);\n  `,\n  calendar: css`\n    display: flex;\n    flex-direction: column;\n    gap: 8px;\n    width: 266px;\n  `,\n  cell: css`\n    display: flex;\n    justify-content: center;\n  `,\n  day: css`\n    ${focusRing};\n    cursor: pointer;\n\n    display: flex;\n    align-items: center;\n    justify-content: center;\n\n    width: 34px;\n    height: 34px;\n    padding: 0;\n    border: 0;\n    border-radius: 50%;\n\n    font: inherit;\n    font-size: 13px;\n    font-variant-numeric: tabular-nums;\n    color: ${cssVar.colorText};\n\n    background: none;\n\n    &:hover:not(:disabled, [aria-pressed='true']) {\n      background: ${cssVar.colorFillTertiary};\n    }\n\n    &:disabled {\n      cursor: not-allowed;\n      color: ${cssVar.colorTextQuaternary};\n    }\n\n    &[data-outside] {\n      color: ${cssVar.colorTextQuaternary};\n    }\n\n    &[data-today] {\n      box-shadow: inset 0 0 0 1px ${cssVar.colorText};\n    }\n\n    &[aria-pressed='true'] {\n      font-weight: 600;\n      color: ${cssVar.colorBgContainer};\n      background: ${cssVar.colorText};\n    }\n  `,\n  footer: css`\n    display: flex;\n    justify-content: center;\n\n    margin-block-start: 12px;\n    padding-block-start: 12px;\n    border-block-start: 1px solid ${cssVar.colorBorderSecondary};\n  `,\n  grid: css`\n    display: grid;\n    grid-template-columns: repeat(7, minmax(0, 1fr));\n    row-gap: 2px;\n  `,\n  header: css`\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    margin-block-end: 4px;\n  `,\n  icon: css`\n    display: inline-flex;\n    flex: none;\n    color: ${cssVar.colorTextTertiary};\n  `,\n  navGroup: css`\n    display: flex;\n    gap: 2px;\n  `,\n  placeholder: css`\n    color: ${cssVar.colorTextPlaceholder};\n  `,\n  range: css`\n    display: flex;\n    gap: 28px;\n  `,\n  rangeHalf: css`\n    flex: 1;\n    min-width: 0;\n    padding-block: 2px;\n\n    &[data-active] {\n      box-shadow: inset 0 -2px 0 ${cssVar.colorText};\n    }\n  `,\n  rangeTrigger: css`\n    display: flex;\n    flex: 1;\n    gap: 8px;\n    align-items: center;\n\n    min-width: 0;\n  `,\n  tile: css`\n    ${focusRing};\n    cursor: pointer;\n\n    height: 40px;\n    padding: 0;\n    border: 0;\n    border-radius: 999px;\n\n    font: inherit;\n    font-size: 14px;\n    color: ${cssVar.colorText};\n\n    background: none;\n\n    &:hover:not(:disabled, [aria-pressed='true']) {\n      background: ${cssVar.colorFillTertiary};\n    }\n\n    &:disabled {\n      cursor: not-allowed;\n      color: ${cssVar.colorTextQuaternary};\n    }\n\n    &[data-today] {\n      box-shadow: inset 0 0 0 1px ${cssVar.colorText};\n    }\n\n    &[aria-pressed='true'] {\n      font-weight: 600;\n      color: ${cssVar.colorBgContainer};\n      background: ${cssVar.colorText};\n    }\n  `,\n  tiles: css`\n    display: grid;\n    grid-template-columns: repeat(3, minmax(0, 1fr));\n    gap: 6px 4px;\n    width: 266px;\n  `,\n  trigger: css`\n    ${focusRing};\n    cursor: pointer;\n\n    display: flex;\n    flex: 1;\n    align-items: center;\n\n    min-width: 0;\n    height: 100%;\n    padding: 0;\n    border: 0;\n\n    font: inherit;\n    color: inherit;\n    text-align: start;\n    white-space: nowrap;\n\n    background: none;\n\n    &:disabled {\n      cursor: not-allowed;\n    }\n  `,\n  weekday: css`\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    height: 20px;\n  `,\n}));\n"],"mappings":";;;AAIA,MAAa,SAAS,oBAAoB,EAAE,KAAK,cAAc;CAC7D,MAAM,GAAG;kBACO,OAAO,mBAAmB;;CAE1C,SAAS,GAAG;4DAC8C,OAAO,mBAAmB;;CAEpF,WAAW,GAAG;6DAC6C,OAAO,mBAAmB;;CAErF,UAAU,GAAG;;;;;;CAMb,MAAM,GAAG;;;;CAIT,KAAK,GAAG;MACJ,UAAU;;;;;;;;;;;;;;;;aAgBH,OAAO,UAAU;;;;;oBAKV,OAAO,kBAAkB;;;;;eAK9B,OAAO,oBAAoB;;;;eAI3B,OAAO,oBAAoB;;;;oCAIN,OAAO,UAAU;;;;;eAKtC,OAAO,iBAAiB;oBACnB,OAAO,UAAU;;;CAGnC,QAAQ,GAAG;;;;;;oCAMuB,OAAO,qBAAqB;;CAE9D,MAAM,GAAG;;;;;CAKT,QAAQ,GAAG;;;;;;CAMX,MAAM,GAAG;;;aAGE,OAAO,kBAAkB;;CAEpC,UAAU,GAAG;;;;CAIb,aAAa,GAAG;aACL,OAAO,qBAAqB;;CAEvC,OAAO,GAAG;;;;CAIV,WAAW,GAAG;;;;;;mCAMmB,OAAO,UAAU;;;CAGlD,cAAc,GAAG;;;;;;;;CAQjB,MAAM,GAAG;MACL,UAAU;;;;;;;;;;aAUH,OAAO,UAAU;;;;;oBAKV,OAAO,kBAAkB;;;;;eAK9B,OAAO,oBAAoB;;;;oCAIN,OAAO,UAAU;;;;;eAKtC,OAAO,iBAAiB;oBACnB,OAAO,UAAU;;;CAGnC,OAAO,GAAG;;;;;;CAMV,SAAS,GAAG;MACR,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAuBd,SAAS,GAAG;;;;;;AAMd,EAAE"}