@rebasepro/ui 0.9.1-canary.ff338b5 → 0.10.1-canary.14e53ae
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.
- package/dist/components/Chip.d.ts +2 -10
- package/dist/components/DebouncedTextField.d.ts +1 -1
- package/dist/components/VirtualTable/VirtualTableProps.d.ts +1 -1
- package/dist/index.es.js +4556 -4484
- package/dist/index.es.js.map +1 -1
- package/dist/util/chip_colors.d.ts +9 -1
- package/dist/views/CollectionView/resolveTitleProperty.d.ts +11 -0
- package/package.json +1 -1
- package/src/components/Alert.tsx +57 -14
- package/src/components/Chip.tsx +2 -10
- package/src/components/DebouncedTextField.tsx +1 -1
- package/src/components/SearchBar.tsx +2 -1
- package/src/components/VirtualTable/VirtualTable.tsx +3 -1
- package/src/components/VirtualTable/VirtualTableProps.tsx +1 -1
- package/src/util/chip_colors.ts +11 -1
- package/src/views/CollectionView/CollectionCardView.tsx +5 -10
- package/src/views/CollectionView/CollectionKanbanView.tsx +5 -10
- package/src/views/CollectionView/CollectionListView.tsx +5 -10
- package/src/views/CollectionView/resolveTitleProperty.ts +52 -0
- package/src/views/ListView.tsx +1 -1
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
export type ChipColorScheme
|
|
4
|
-
color: string;
|
|
5
|
-
text: string;
|
|
6
|
-
/** Background color override for dark mode */
|
|
7
|
-
darkColor?: string;
|
|
8
|
-
/** Text color override for dark mode */
|
|
9
|
-
darkText?: string;
|
|
10
|
-
};
|
|
11
|
-
export type ChipColorKey = keyof typeof CHIP_COLORS;
|
|
2
|
+
import type { ChipColorKey, ChipColorScheme } from "../util/chip_colors";
|
|
3
|
+
export type { ChipColorKey, ChipColorScheme };
|
|
12
4
|
export interface ChipProps {
|
|
13
5
|
className?: string;
|
|
14
6
|
children: React.ReactNode;
|