• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mia-platform / design-system / 13071907942

31 Jan 2025 11:32AM UTC coverage: 68.605% (-29.3%) from 97.875%
13071907942

Pull #817

github

web-flow
Merge fa7bd8bdd into 174906d3a
Pull Request #817: feat(SplitButton): add onOpenChange prop

123 of 256 branches covered (48.05%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

56 existing lines in 12 files now uncovered.

290 of 346 relevant lines covered (83.82%)

4.92 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/components/Select/Select.theme.ts
1

2
/**
3
 * Copyright 2024 Mia srl
4
 *
5
 * Licensed under the Apache License, Version 2.0 (the "License");
6
 * you may not use this file except in compliance with the License.
7
 * You may obtain a copy of the License at
8
 *
9
 *     http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 * See the License for the specific language governing permissions and
15
 * limitations under the License.
16
 *
17
 * SPDX-License-Identifier: Apache-2.0
18
 */
19

20
import { ComponentsTheme } from '../ThemeProvider/Ant'
21
import InputTheme from '../BaseInput/BaseInput.theme'
2✔
22
import Theme from '../../themes/schema'
23

24
/**
25
 * Generates a Ant theme configuration for Select component based on a theme configuration.
26
 *
27
 * @link https://ant.design/components/input#design-token
28
 *
29
 * @param {Partial<Theme>} theme - theme configuration.
30
 * @returns {Partial<ComponentsTheme>} The generated Input Ant theme configuration.
31
 */
32
export default ({ palette, spacing, shape }: Partial<Theme>): ComponentsTheme['Select'] => {
2✔
UNCOV
33
  return InputTheme({ palette, spacing, shape })
×
34
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc