@kwantis-id3/frontend-library 1.0.0-rc.11 → 1.0.0-rc.12
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.
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export { getContrastColor, darkenColor, lightenColor, getHoverColor, getActiveColor } from "./colors";
|
|
1
|
+
export * from "./transientOptions";
|
|
2
|
+
export * from "./isMobile";
|
|
3
|
+
export * from "./colors";
|
|
4
|
+
export * from "./usePrefersColorScheme";
|
|
@@ -3,5 +3,4 @@
|
|
|
3
3
|
* @param {number=} mobileBreakpoint breakpoint width to check against
|
|
4
4
|
* @returns boolean
|
|
5
5
|
*/
|
|
6
|
-
declare const useIsMobile: (mobileBreakpoint?: number) => boolean;
|
|
7
|
-
export default useIsMobile;
|
|
6
|
+
export declare const useIsMobile: (mobileBreakpoint?: number) => boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -566,13 +566,6 @@ type TDrawerProps = {
|
|
|
566
566
|
|
|
567
567
|
declare const Drawer: ({ anchor, openContent, closedContent, openTrigger, closedTrigger, minOpen, maxOpen, bgColor, triggerHoverColor, }: TDrawerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
568
568
|
|
|
569
|
-
/**
|
|
570
|
-
* Hook to check if the screen is mobile. The default breakpoint is 768px.
|
|
571
|
-
* @param {number=} mobileBreakpoint breakpoint width to check against
|
|
572
|
-
* @returns boolean
|
|
573
|
-
*/
|
|
574
|
-
declare const useIsMobile: (mobileBreakpoint?: number) => boolean;
|
|
575
|
-
|
|
576
569
|
/**
|
|
577
570
|
* emotion.js doesn't support transient options out of the box.
|
|
578
571
|
*
|
|
@@ -582,7 +575,12 @@ declare const useIsMobile: (mobileBreakpoint?: number) => boolean;
|
|
|
582
575
|
*/
|
|
583
576
|
declare const transientOptions: Parameters<CreateStyled>[1];
|
|
584
577
|
|
|
585
|
-
|
|
578
|
+
/**
|
|
579
|
+
* Hook to check if the screen is mobile. The default breakpoint is 768px.
|
|
580
|
+
* @param {number=} mobileBreakpoint breakpoint width to check against
|
|
581
|
+
* @returns boolean
|
|
582
|
+
*/
|
|
583
|
+
declare const useIsMobile: (mobileBreakpoint?: number) => boolean;
|
|
586
584
|
|
|
587
585
|
/**
|
|
588
586
|
*
|
|
@@ -615,4 +613,6 @@ declare const getHoverColor: (color: string) => string;
|
|
|
615
613
|
*/
|
|
616
614
|
declare const getActiveColor: (color: string) => string;
|
|
617
615
|
|
|
618
|
-
|
|
616
|
+
declare function usePrefersColorScheme(): "light" | "dark";
|
|
617
|
+
|
|
618
|
+
export { Accordion, Button, Card, CardContent, CardFooter, CardHeader, CardIndicators, CardMediaSection, ControlledTreeView, Drawer, Dropdown, IBackgroundColors, ICommonColors, IIndicatorColors, IPalette, IStandardPaletteColor, ITagColors, IThemeContextProps, IThemeContextValue, Indicator, InputField, Modal, MultiSelect, MultiSelectProps, MultiViewList, SingleSelect, SingleSelectProps, Slider, TAccordionProps, TButtonProps, TButtonVariants, TCardSectionProps, TCellValues, TColorScale, TControlledTreeViewProps, TCustomRenderProps, TDrawerProps, TDropdownItem, TDropdownItemProps, TDropdownProps, TIndicatorInstanceProps, TIndicatorProps, TIndicatorVariants, TModalProps, TMultiViewListProps, TRenderTriggerProps, TSliderProps, TTableCell, TTableProps, TTableRow, TTagProps, TTextFieldProps, TThemeMode, TTreeViewItem, TUncontrolledTreeViewProps, TViewState, Table, Tag, ThemeContextProvider, UncontrolledTreeView, darkenColor, defaultDarkPalette, defaultLightPalette, getActiveColor, getContrastColor, getHoverColor, lightenColor, renderCell, transientOptions, useIsMobile, usePrefersColorScheme, useThemeContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kwantis-id3/frontend-library",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.12",
|
|
4
4
|
"description": "Kwantis frontend components collection",
|
|
5
5
|
"scriptsComments": {
|
|
6
6
|
"storybook": "Starts storybook in development mode",
|
|
@@ -80,12 +80,15 @@
|
|
|
80
80
|
"ts-node": "^10.9.1",
|
|
81
81
|
"tslib": "^2.5.0",
|
|
82
82
|
"typescript": "^5.7.3",
|
|
83
|
-
"vitest": "^3.0.5"
|
|
83
|
+
"vitest": "^3.0.5",
|
|
84
|
+
"@emotion/jest": "^11.11.0"
|
|
84
85
|
},
|
|
85
86
|
"peerDependencies": {
|
|
86
87
|
"@tanstack/react-table": "^8.0.0",
|
|
87
88
|
"react": "^18.0.0 || ^19.0.0",
|
|
88
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
89
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
90
|
+
"@emotion/react": "^11.0.0",
|
|
91
|
+
"@emotion/styled": "^11.0.0"
|
|
89
92
|
},
|
|
90
93
|
"main": "dist/cjs/index.js",
|
|
91
94
|
"module": "dist/esm/index.js",
|
|
@@ -95,9 +98,6 @@
|
|
|
95
98
|
],
|
|
96
99
|
"types": "dist/index.d.ts",
|
|
97
100
|
"dependencies": {
|
|
98
|
-
"@emotion/jest": "^11.11.0",
|
|
99
|
-
"@emotion/react": "11.14.0",
|
|
100
|
-
"@emotion/styled": "11.14.0",
|
|
101
101
|
"@iconify/react": "^5.2.0",
|
|
102
102
|
"react-range": "^1.8.14",
|
|
103
103
|
"react-select": "^5.7.3",
|