@xqmsg/ui-core 0.12.1 → 0.14.1
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/form/hooks/useFormHandler.d.ts +1 -1
- package/dist/components/input/Input.stories.d.ts +1 -0
- package/dist/components/input/StackedSelect/StackedSelect.d.ts +1 -0
- package/dist/components/input/index.d.ts +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/theme/components/form-error.d.ts +2 -0
- package/dist/theme/components/form.d.ts +2 -0
- package/dist/theme/components/table.d.ts +4 -1
- package/dist/theme/foundations/colors.d.ts +1 -1
- package/dist/ui-core.cjs.development.js +84 -36
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +203 -156
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +8 -7
- package/src/components/form/hooks/useFormHandler.tsx +2 -2
- package/src/components/form/section/index.tsx +4 -3
- package/src/components/input/Input.stories.tsx +9 -1
- package/src/components/input/StackedPilledInput/index.tsx +12 -1
- package/src/components/input/StackedSelect/StackedSelect.tsx +18 -2
- package/src/components/input/StackedSwitch/index.tsx +0 -2
- package/src/components/input/components/dropdown/index.tsx +1 -1
- package/src/components/input/components/token/index.tsx +2 -2
- package/src/components/input/index.tsx +148 -166
- package/src/components/table/index.tsx +2 -1
- package/src/index.tsx +3 -0
- package/src/theme/components/form-error.ts +2 -0
- package/src/theme/components/form.ts +2 -0
- package/src/theme/components/table.ts +5 -5
- package/src/theme/foundations/colors.ts +1 -1
- package/src/theme/provider/index.tsx +6 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import colors from '../foundations/colors';
|
|
2
2
|
|
|
3
|
-
const parts = ['th', 'td', 'tr', 'body'];
|
|
3
|
+
const parts = ['th', 'td', 'tr', 'body', 'thead'];
|
|
4
4
|
|
|
5
5
|
const baseStyle = {
|
|
6
|
+
thead: { bg: colors.label.primary.dark },
|
|
6
7
|
th: {
|
|
7
|
-
height: '
|
|
8
|
+
height: '100%',
|
|
8
9
|
width: '100%',
|
|
9
10
|
bg: colors.label.primary.dark,
|
|
10
11
|
padding: '5px 8px !important',
|
|
@@ -14,11 +15,10 @@ const baseStyle = {
|
|
|
14
15
|
display: 'flex',
|
|
15
16
|
alignItems: 'center',
|
|
16
17
|
width: '100%',
|
|
17
|
-
|
|
18
|
-
height: 'fit-content',
|
|
18
|
+
height: '100%',
|
|
19
19
|
borderRadius: 'md',
|
|
20
20
|
_odd: {
|
|
21
|
-
|
|
21
|
+
bg: colors.fill.light.tertiary,
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
td: {
|
|
@@ -7,9 +7,14 @@ import customXQChakraTheme from '../customXQChakraTheme';
|
|
|
7
7
|
*/
|
|
8
8
|
export const XQThemeProvider: React.FC<ChakraProviderProps> = ({
|
|
9
9
|
children,
|
|
10
|
+
cssVarsRoot,
|
|
10
11
|
}) => {
|
|
11
12
|
return (
|
|
12
|
-
<ChakraProvider
|
|
13
|
+
<ChakraProvider
|
|
14
|
+
theme={customXQChakraTheme}
|
|
15
|
+
resetCSS
|
|
16
|
+
cssVarsRoot={cssVarsRoot}
|
|
17
|
+
>
|
|
13
18
|
{children}
|
|
14
19
|
</ChakraProvider>
|
|
15
20
|
);
|