PHP 8.2.30
Preview: table-caption.tsx Size: 1002 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/@adminjs/design-system/src/atoms/table/table-caption.tsx

import { styled } from '@styled-components'

import { Button } from '../button/index.js'
import { themeGet, cssClass } from '../../utils/index.js'

/**
 * @component
 * @private
 */
const TableCaption = styled.caption`
  font-family: ${themeGet('font')};
  padding: ${themeGet('space', 'sm')} ${themeGet('space', 'lg')};
  text-align: left;
  color: ${themeGet('colors', 'white')};
  font-size: ${themeGet('fontSizes', 'default')};
  line-height: ${themeGet('lineHeights', 'default')};
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  transform: translateY(-100%);
  background: ${themeGet('colors', 'primary100')};
  border-radius: 4px;
  box-sizing: border-box;
  vertical-align: middle;

  &:first-child {
    flex-grow: 1;
  }

  & ${Button} {
    color: ${themeGet('colors', 'white')};
    border-color: ${themeGet('colors', 'white')};
  }
`

TableCaption.defaultProps = {
  className: cssClass('TableCaption'),
}

TableCaption.displayName = 'TableCaption'

export default TableCaption

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
331 B lrw-r--r-- 2026-02-28 00:31:46
Edit Download
296 B lrw-r--r-- 2026-02-28 00:32:00
Edit Download
1002 B lrw-r--r-- 2026-02-28 00:32:00
Edit Download
887 B lrw-r--r-- 2026-02-28 00:32:00
Edit Download
617 B lrw-r--r-- 2026-02-28 00:32:00
Edit Download
477 B lrw-r--r-- 2026-02-28 00:32:00
Edit Download
2.05 KB lrw-r--r-- 2026-02-28 00:32:00
Edit Download
2.80 KB lrw-r--r-- 2026-02-28 00:32:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).