@hitachivantara/uikit-react-core 5.15.0 → 5.17.0
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/cjs/components/ActionBar/ActionBar.cjs +8 -7
- package/dist/cjs/components/ActionBar/ActionBar.cjs.map +1 -1
- package/dist/cjs/components/ActionBar/ActionBar.styles.cjs +16 -17
- package/dist/cjs/components/ActionBar/ActionBar.styles.cjs.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.cjs +46 -45
- package/dist/cjs/components/Pagination/Pagination.cjs.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.styles.cjs +98 -160
- package/dist/cjs/components/Pagination/Pagination.styles.cjs.map +1 -1
- package/dist/cjs/components/Pagination/Select.cjs +2 -1
- package/dist/cjs/components/Pagination/Select.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.cjs +30 -33
- package/dist/cjs/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.cjs +14 -0
- package/dist/cjs/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.cjs.map +1 -0
- package/dist/cjs/components/QueryBuilder/QueryBuilder.cjs +6 -6
- package/dist/cjs/components/QueryBuilder/QueryBuilder.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/{RuleGroup/RuleGroup.styles.cjs → QueryBuilder.styles.cjs} +48 -29
- package/dist/cjs/components/QueryBuilder/QueryBuilder.styles.cjs.map +1 -0
- package/dist/cjs/components/QueryBuilder/Rule/Rule.cjs +60 -61
- package/dist/cjs/components/QueryBuilder/Rule/Rule.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Rule.styles.cjs +10 -5
- package/dist/cjs/components/QueryBuilder/Rule/Rule.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.cjs +253 -0
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.cjs.map +1 -0
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.cjs +40 -0
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.cjs.map +1 -0
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/utils.cjs +37 -0
- package/dist/cjs/components/QueryBuilder/Rule/Value/DateTimeValue/utils.cjs.map +1 -0
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.cjs +10 -6
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/NumericValue.cjs +76 -82
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/NumericValue.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/TextValue/TextValue.cjs +33 -37
- package/dist/cjs/components/QueryBuilder/Rule/Value/TextValue/TextValue.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/TextValue/TextValue.styles.cjs +8 -3
- package/dist/cjs/components/QueryBuilder/Rule/Value/TextValue/TextValue.styles.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/Value.cjs +8 -5
- package/dist/cjs/components/QueryBuilder/Rule/Value/Value.cjs.map +1 -1
- package/dist/cjs/components/QueryBuilder/RuleGroup/RuleGroup.cjs +155 -166
- package/dist/cjs/components/QueryBuilder/RuleGroup/RuleGroup.cjs.map +1 -1
- package/dist/cjs/components/TimePicker/Placeholder.cjs +70 -0
- package/dist/cjs/components/TimePicker/Placeholder.cjs.map +1 -0
- package/dist/cjs/components/TimePicker/TimePicker.cjs +212 -0
- package/dist/cjs/components/TimePicker/TimePicker.cjs.map +1 -0
- package/dist/cjs/components/TimePicker/TimePicker.styles.cjs +53 -0
- package/dist/cjs/components/TimePicker/TimePicker.styles.cjs.map +1 -0
- package/dist/cjs/components/TimePicker/Unit/Unit.cjs +72 -0
- package/dist/cjs/components/TimePicker/Unit/Unit.cjs.map +1 -0
- package/dist/cjs/components/TimePicker/Unit/Unit.styles.cjs +56 -0
- package/dist/cjs/components/TimePicker/Unit/Unit.styles.cjs.map +1 -0
- package/dist/cjs/index.cjs +10 -6
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/utils/classes.cjs +4 -3
- package/dist/cjs/utils/classes.cjs.map +1 -1
- package/dist/esm/components/ActionBar/ActionBar.js +11 -9
- package/dist/esm/components/ActionBar/ActionBar.js.map +1 -1
- package/dist/esm/components/ActionBar/ActionBar.styles.js +16 -15
- package/dist/esm/components/ActionBar/ActionBar.styles.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js +50 -48
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.styles.js +98 -158
- package/dist/esm/components/Pagination/Pagination.styles.js.map +1 -1
- package/dist/esm/components/Pagination/Select.js +2 -1
- package/dist/esm/components/Pagination/Select.js.map +1 -1
- package/dist/esm/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.js +31 -34
- package/dist/esm/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
- package/dist/esm/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.js +14 -0
- package/dist/esm/components/QueryBuilder/ConfirmationDialog/ConfirmationDialog.styles.js.map +1 -0
- package/dist/esm/components/QueryBuilder/QueryBuilder.js +6 -6
- package/dist/esm/components/QueryBuilder/QueryBuilder.js.map +1 -1
- package/dist/esm/components/QueryBuilder/{RuleGroup/RuleGroup.styles.js → QueryBuilder.styles.js} +48 -29
- package/dist/esm/components/QueryBuilder/QueryBuilder.styles.js.map +1 -0
- package/dist/esm/components/QueryBuilder/Rule/Rule.js +61 -62
- package/dist/esm/components/QueryBuilder/Rule/Rule.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Rule.styles.js +10 -5
- package/dist/esm/components/QueryBuilder/Rule/Rule.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.js +250 -0
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.js.map +1 -0
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.js +40 -0
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/DateTimeValue.styles.js.map +1 -0
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/utils.js +35 -0
- package/dist/esm/components/QueryBuilder/Rule/Value/DateTimeValue/utils.js.map +1 -0
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.js +10 -6
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/Numeric.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/NumericValue.js +78 -84
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/NumericValue.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/TextValue/TextValue.js +34 -38
- package/dist/esm/components/QueryBuilder/Rule/Value/TextValue/TextValue.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/TextValue/TextValue.styles.js +8 -3
- package/dist/esm/components/QueryBuilder/Rule/Value/TextValue/TextValue.styles.js.map +1 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/Value.js +7 -4
- package/dist/esm/components/QueryBuilder/Rule/Value/Value.js.map +1 -1
- package/dist/esm/components/QueryBuilder/RuleGroup/RuleGroup.js +157 -168
- package/dist/esm/components/QueryBuilder/RuleGroup/RuleGroup.js.map +1 -1
- package/dist/esm/components/TimePicker/Placeholder.js +70 -0
- package/dist/esm/components/TimePicker/Placeholder.js.map +1 -0
- package/dist/esm/components/TimePicker/TimePicker.js +213 -0
- package/dist/esm/components/TimePicker/TimePicker.js.map +1 -0
- package/dist/esm/components/TimePicker/TimePicker.styles.js +53 -0
- package/dist/esm/components/TimePicker/TimePicker.styles.js.map +1 -0
- package/dist/esm/components/TimePicker/Unit/Unit.js +72 -0
- package/dist/esm/components/TimePicker/Unit/Unit.js.map +1 -0
- package/dist/esm/components/TimePicker/Unit/Unit.styles.js +56 -0
- package/dist/esm/components/TimePicker/Unit/Unit.styles.js.map +1 -0
- package/dist/esm/index.js +238 -234
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/classes.js +4 -3
- package/dist/esm/utils/classes.js.map +1 -1
- package/dist/types/index.d.ts +194 -82
- package/package.json +5 -5
- package/dist/cjs/components/ActionBar/actionBarClasses.cjs +0 -8
- package/dist/cjs/components/ActionBar/actionBarClasses.cjs.map +0 -1
- package/dist/cjs/components/Pagination/paginationClasses.cjs +0 -8
- package/dist/cjs/components/Pagination/paginationClasses.cjs.map +0 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/numericValueClasses.cjs +0 -8
- package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/numericValueClasses.cjs.map +0 -1
- package/dist/cjs/components/QueryBuilder/Rule/Value/TextValue/textValueClasses.cjs +0 -8
- package/dist/cjs/components/QueryBuilder/Rule/Value/TextValue/textValueClasses.cjs.map +0 -1
- package/dist/cjs/components/QueryBuilder/Rule/ruleClasses.cjs +0 -8
- package/dist/cjs/components/QueryBuilder/Rule/ruleClasses.cjs.map +0 -1
- package/dist/cjs/components/QueryBuilder/RuleGroup/RuleGroup.styles.cjs.map +0 -1
- package/dist/cjs/components/QueryBuilder/queryBuilderClasses.cjs +0 -8
- package/dist/cjs/components/QueryBuilder/queryBuilderClasses.cjs.map +0 -1
- package/dist/esm/components/ActionBar/actionBarClasses.js +0 -8
- package/dist/esm/components/ActionBar/actionBarClasses.js.map +0 -1
- package/dist/esm/components/Pagination/paginationClasses.js +0 -8
- package/dist/esm/components/Pagination/paginationClasses.js.map +0 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/numericValueClasses.js +0 -8
- package/dist/esm/components/QueryBuilder/Rule/Value/NumericValue/numericValueClasses.js.map +0 -1
- package/dist/esm/components/QueryBuilder/Rule/Value/TextValue/textValueClasses.js +0 -8
- package/dist/esm/components/QueryBuilder/Rule/Value/TextValue/textValueClasses.js.map +0 -1
- package/dist/esm/components/QueryBuilder/Rule/ruleClasses.js +0 -8
- package/dist/esm/components/QueryBuilder/Rule/ruleClasses.js.map +0 -1
- package/dist/esm/components/QueryBuilder/RuleGroup/RuleGroup.styles.js.map +0 -1
- package/dist/esm/components/QueryBuilder/queryBuilderClasses.js +0 -8
- package/dist/esm/components/QueryBuilder/queryBuilderClasses.js.map +0 -1
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -29,7 +29,7 @@ const replace$ = (stylesObj, name) => {
|
|
|
29
29
|
function createClasses(name, stylesObject) {
|
|
30
30
|
const styles = replace$(stylesObject, name);
|
|
31
31
|
const staticClasses = getClasses(Object.keys(styles), name);
|
|
32
|
-
function useClasses(classesProp) {
|
|
32
|
+
function useClasses(classesProp = {}) {
|
|
33
33
|
const {
|
|
34
34
|
cx,
|
|
35
35
|
css
|
|
@@ -37,8 +37,9 @@ function createClasses(name, stylesObject) {
|
|
|
37
37
|
const mergeClasses = (key) => cx(`${name}-${key}`, css(styles[key]), classesProp == null ? void 0 : classesProp[key]);
|
|
38
38
|
const classes = Object.fromEntries(Object.keys(styles).map((key) => [key, mergeClasses(key)]));
|
|
39
39
|
return {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
classes,
|
|
41
|
+
css,
|
|
42
|
+
cx
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classes.js","sources":["../../../src/utils/classes.ts"],"sourcesContent":["import { CSSInterpolation } from \"@emotion/css\";\nimport { useCss } from \"@core/hooks/useCss\";\n\nexport type ExtractNames<\n T extends (...args: any) => { classes: Record<string, any>; cx: any }\n> = ReturnType<T>[\"classes\"];\n\nexport const getClasses = <T extends string, N extends string>(\n keys: T[],\n name: N\n) => {\n const classesObj: Record<string, string> = {};\n keys.forEach((key: string) => {\n classesObj[key] = `${name}-${key}`;\n });\n return classesObj as { [P in T]: `${N}-${P}` };\n};\n\nconst deepRenameKeys = <T extends object>(\n obj: T,\n mapFn: (key: string) => string\n): T => {\n const result: any = {};\n for (const key in obj) {\n if (Object.hasOwn(obj, key)) {\n const newKey = mapFn(key);\n const value = obj[key];\n result[newKey] =\n typeof value === \"object\" ? deepRenameKeys(value as any, mapFn) : value;\n }\n }\n return result;\n};\n\n/** Given a `stylesObj`, replaces its keys' `$myClass` with `.{name}-myClass`. */\nexport const replace$ = <T extends object>(stylesObj: T, name: string): T => {\n return deepRenameKeys(stylesObj, (key) => {\n const matches = key.match(/\\$\\w+/g);\n if (!matches?.length) return key;\n const newKey = matches.reduce(\n (acc, match) => acc.replace(match, `.${name}-${match.slice(1)}`),\n key\n );\n return newKey ?? key;\n });\n};\n\n/** Utility function to create classes for a component. */\nexport function createClasses<Name extends string, ClassName extends string>(\n /** Component name in PascalCase (ie. `HvTableCell`). */\n name: Name,\n stylesObject: Record<ClassName, CSSInterpolation>\n) {\n const styles = replace$(stylesObject, name);\n\n const staticClasses = getClasses(Object.keys(styles) as ClassName[], name);\n\n function useClasses(classesProp: Partial<Record<ClassName, string>>) {\n const { cx, css } = useCss();\n\n const mergeClasses = (key: string) =>\n cx(`${name}-${key}`, css(styles[key]), classesProp?.[key]);\n\n const classes = Object.fromEntries(\n Object.keys(styles).map((key) => [key, mergeClasses(key)])\n ) as { [P in ClassName]: string };\n\n return {
|
|
1
|
+
{"version":3,"file":"classes.js","sources":["../../../src/utils/classes.ts"],"sourcesContent":["import { CSSInterpolation } from \"@emotion/css\";\nimport { useCss } from \"@core/hooks/useCss\";\n\nexport type ExtractNames<\n T extends (...args: any) => { classes: Record<string, any>; cx: any }\n> = ReturnType<T>[\"classes\"];\n\nexport const getClasses = <T extends string, N extends string>(\n keys: T[],\n name: N\n) => {\n const classesObj: Record<string, string> = {};\n keys.forEach((key: string) => {\n classesObj[key] = `${name}-${key}`;\n });\n return classesObj as { [P in T]: `${N}-${P}` };\n};\n\nconst deepRenameKeys = <T extends object>(\n obj: T,\n mapFn: (key: string) => string\n): T => {\n const result: any = {};\n for (const key in obj) {\n if (Object.hasOwn(obj, key)) {\n const newKey = mapFn(key);\n const value = obj[key];\n result[newKey] =\n typeof value === \"object\" ? deepRenameKeys(value as any, mapFn) : value;\n }\n }\n return result;\n};\n\n/** Given a `stylesObj`, replaces its keys' `$myClass` with `.{name}-myClass`. */\nexport const replace$ = <T extends object>(stylesObj: T, name: string): T => {\n return deepRenameKeys(stylesObj, (key) => {\n const matches = key.match(/\\$\\w+/g);\n if (!matches?.length) return key;\n const newKey = matches.reduce(\n (acc, match) => acc.replace(match, `.${name}-${match.slice(1)}`),\n key\n );\n return newKey ?? key;\n });\n};\n\n/** Utility function to create classes for a component. */\nexport function createClasses<Name extends string, ClassName extends string>(\n /** Component name in PascalCase (ie. `HvTableCell`). */\n name: Name,\n stylesObject: Record<ClassName, CSSInterpolation>\n) {\n const styles = replace$(stylesObject, name);\n\n const staticClasses = getClasses(Object.keys(styles) as ClassName[], name);\n\n function useClasses(classesProp: Partial<Record<ClassName, string>> = {}) {\n const { cx, css } = useCss();\n\n const mergeClasses = (key: string) =>\n cx(`${name}-${key}`, css(styles[key]), classesProp?.[key]);\n\n const classes = Object.fromEntries(\n Object.keys(styles).map((key) => [key, mergeClasses(key)])\n ) as { [P in ClassName]: string };\n\n return { classes, css, cx };\n }\n\n return { useClasses, staticClasses };\n}\n"],"names":["getClasses","keys","name","classesObj","forEach","key","deepRenameKeys","obj","mapFn","result","Object","hasOwn","newKey","value","replace$","stylesObj","matches","match","length","reduce","acc","replace","slice","createClasses","stylesObject","styles","staticClasses","useClasses","classesProp","cx","css","useCss","mergeClasses","classes","fromEntries","map"],"mappings":";AAOaA,MAAAA,aAAa,CACxBC,MACAC,SACG;AACH,QAAMC,aAAqC,CAAA;AACtCC,OAAAA,QAAQ,CAACC,QAAgB;AACjBA,eAAAA,GAAG,IAAK,GAAEH,QAAQG;AAAAA,EAAAA,CAC9B;AACMF,SAAAA;AACT;AAEA,MAAMG,iBAAiB,CACrBC,KACAC,UACM;AACN,QAAMC,SAAc,CAAA;AACpB,aAAWJ,OAAOE,KAAK;AACrB,QAAIG,OAAOC,OAAOJ,KAAKF,GAAG,GAAG;AACrBO,YAAAA,SAASJ,MAAMH,GAAG;AAClBQ,YAAAA,QAAQN,IAAIF,GAAG;AACdO,aAAAA,MAAM,IACX,OAAOC,UAAU,WAAWP,eAAeO,OAAcL,KAAK,IAAIK;AAAAA,IACtE;AAAA,EACF;AACOJ,SAAAA;AACT;AAGaK,MAAAA,WAAW,CAAmBC,WAAcb,SAAoB;AACpEI,SAAAA,eAAeS,WAAYV,CAAQ,QAAA;AAClCW,UAAAA,UAAUX,IAAIY,MAAM,QAAQ;AAClC,QAAI,EAACD,mCAASE;AAAeb,aAAAA;AAC7B,UAAMO,SAASI,QAAQG,OACrB,CAACC,KAAKH,UAAUG,IAAIC,QAAQJ,OAAQ,IAAGf,QAAQe,MAAMK,MAAM,CAAC,GAAG,GAC/DjB,GACF;AACA,WAAOO,UAAUP;AAAAA,EAAAA,CAClB;AACH;AAGgBkB,SAAAA,cAEdrB,MACAsB,cACA;AACMC,QAAAA,SAASX,SAASU,cAActB,IAAI;AAE1C,QAAMwB,gBAAgB1B,WAAWU,OAAOT,KAAKwB,MAAM,GAAkBvB,IAAI;AAEhEyB,WAAAA,WAAWC,cAAkD,IAAI;AAClE,UAAA;AAAA,MAAEC;AAAAA,MAAIC;AAAAA,QAAQC,OAAO;AAE3B,UAAMC,eAAeA,CAAC3B,QACpBwB,GAAI,GAAE3B,QAAQG,OAAOyB,IAAIL,OAAOpB,GAAG,CAAC,GAAGuB,2CAAcvB,IAAI;AAE3D,UAAM4B,UAAUvB,OAAOwB,YACrBxB,OAAOT,KAAKwB,MAAM,EAAEU,IAAK9B,CAAAA,QAAQ,CAACA,KAAK2B,aAAa3B,GAAG,CAAC,CAAC,CAC3D;AAEO,WAAA;AAAA,MAAE4B;AAAAA,MAASH;AAAAA,MAAKD;AAAAA,IAAAA;AAAAA,EACzB;AAEO,SAAA;AAAA,IAAEF;AAAAA,IAAYD;AAAAA,EAAAA;AACvB;"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -15,7 +15,8 @@ import { ColumnInterface } from 'react-table';
|
|
|
15
15
|
import { ComponentProps } from 'react';
|
|
16
16
|
import { ContainerProps } from '@mui/material/Container';
|
|
17
17
|
import type { Context } from 'react';
|
|
18
|
-
import { CSSInterpolation } from '@emotion/
|
|
18
|
+
import type { CSSInterpolation } from '@emotion/serialize';
|
|
19
|
+
import { CSSInterpolation as CSSInterpolation_2 } from '@emotion/css';
|
|
19
20
|
import { CSSProperties } from 'react';
|
|
20
21
|
import { DialogActionsProps } from '@mui/material/DialogActions';
|
|
21
22
|
import { DialogContentProps } from '@mui/material/DialogContent';
|
|
@@ -208,6 +209,8 @@ export declare const appSwitcherClasses: {
|
|
|
208
209
|
closed: "HvAppSwitcher-closed";
|
|
209
210
|
};
|
|
210
211
|
|
|
212
|
+
export declare type Arrayable<T> = T | T[];
|
|
213
|
+
|
|
211
214
|
declare type AsProp<C extends React.ElementType> = {
|
|
212
215
|
component?: C;
|
|
213
216
|
};
|
|
@@ -547,10 +550,14 @@ export declare const controlsClasses: {
|
|
|
547
550
|
/** Utility function to create classes for a component. */
|
|
548
551
|
export declare function createClasses<Name extends string, ClassName extends string>(
|
|
549
552
|
/** Component name in PascalCase (ie. `HvTableCell`). */
|
|
550
|
-
name: Name, stylesObject: Record<ClassName,
|
|
551
|
-
useClasses: (classesProp
|
|
552
|
-
cx: (...args: any) => string;
|
|
553
|
+
name: Name, stylesObject: Record<ClassName, CSSInterpolation_2>): {
|
|
554
|
+
useClasses: (classesProp?: Partial<Record<ClassName, string>>) => {
|
|
553
555
|
classes: { [P in ClassName]: string; };
|
|
556
|
+
css: {
|
|
557
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation_2[]): string;
|
|
558
|
+
(...args: CSSInterpolation_2[]): string;
|
|
559
|
+
};
|
|
560
|
+
cx: (...args: any) => string;
|
|
554
561
|
};
|
|
555
562
|
staticClasses: { [P_1 in ClassName]: `${Name}-${P_1}`; };
|
|
556
563
|
};
|
|
@@ -1040,13 +1047,11 @@ export declare interface HvAccordionProps extends HvBaseProps<HTMLDivElement, "o
|
|
|
1040
1047
|
|
|
1041
1048
|
export declare const HvActionBar: (props: HvActionBarProps) => JSX_2.Element;
|
|
1042
1049
|
|
|
1043
|
-
export declare
|
|
1044
|
-
root?: string;
|
|
1045
|
-
}
|
|
1050
|
+
export declare type HvActionBarClasses = ExtractNames<typeof useClasses>;
|
|
1046
1051
|
|
|
1047
1052
|
export declare interface HvActionBarProps extends HvBaseProps {
|
|
1048
1053
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
1049
|
-
classes?: HvActionBarClasses
|
|
1054
|
+
classes?: Partial<HvActionBarClasses>;
|
|
1050
1055
|
}
|
|
1051
1056
|
|
|
1052
1057
|
declare interface HvActionContainerClasses {
|
|
@@ -1362,11 +1367,11 @@ export declare const HvBanner: ({ id, classes: classesProp, className, open, onC
|
|
|
1362
1367
|
|
|
1363
1368
|
export declare type HvBannerActionPosition = "auto" | "inline" | "bottom-right";
|
|
1364
1369
|
|
|
1365
|
-
export declare type HvBannerClasses = ExtractNames<typeof
|
|
1370
|
+
export declare type HvBannerClasses = ExtractNames<typeof useClasses_3>;
|
|
1366
1371
|
|
|
1367
1372
|
export declare const HvBannerContent: ForwardRefExoticComponent<Omit<HvBannerContentProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1368
1373
|
|
|
1369
|
-
export declare type HvBannerContentClasses = ExtractNames<typeof
|
|
1374
|
+
export declare type HvBannerContentClasses = ExtractNames<typeof useClasses_4>;
|
|
1370
1375
|
|
|
1371
1376
|
export declare interface HvBannerContentProps extends Omit<SnackbarContentProps, "variant" | "classes" | "onClose">, HvBaseProps {
|
|
1372
1377
|
/** The message to display. */
|
|
@@ -5051,34 +5056,9 @@ export declare interface HvOverflowTooltipProps extends HvBaseProps {
|
|
|
5051
5056
|
* Pagination is the process of dividing a document into discrete pages. It relates to how users interact
|
|
5052
5057
|
* with structured content on a website or application.
|
|
5053
5058
|
*/
|
|
5054
|
-
export declare const HvPagination: ({ classes, className, id, pages, page, showPageSizeOptions, pageSizeOptions, pageSize, showPageJump, canPrevious, canNext, onPageChange, onPageSizeChange, labels: labelsProp, showPageProps, navigationProps, currentPageInputProps, ...others }: HvPaginationProps) => JSX_2.Element;
|
|
5059
|
+
export declare const HvPagination: ({ classes: classesProp, className, id, pages, page, showPageSizeOptions, pageSizeOptions, pageSize, showPageJump, canPrevious, canNext, onPageChange, onPageSizeChange, labels: labelsProp, showPageProps, navigationProps, currentPageInputProps, ...others }: HvPaginationProps) => JSX_2.Element;
|
|
5055
5060
|
|
|
5056
|
-
export declare
|
|
5057
|
-
/** Styles applied to the component root class. */
|
|
5058
|
-
root?: string;
|
|
5059
|
-
/** Styles applied to the page size selector container. */
|
|
5060
|
-
pageSizeOptions?: string;
|
|
5061
|
-
/** Styles applied to the page size selector dropdown element. */
|
|
5062
|
-
pageSizeOptionsSelect?: string;
|
|
5063
|
-
/** Styles applied to the element that holds the labels for the page size selector */
|
|
5064
|
-
pageSizeTextContainer?: string;
|
|
5065
|
-
/** Styles applied to the page navigation container. */
|
|
5066
|
-
pageNavigator?: string;
|
|
5067
|
-
/** Styles applied to the central page information container. */
|
|
5068
|
-
pageInfo?: string;
|
|
5069
|
-
/** Styles applied to the page selector input container. */
|
|
5070
|
-
pageJump?: string;
|
|
5071
|
-
/** Styles passed down to the page selector Input component as `input`. */
|
|
5072
|
-
pageSizeInput?: string;
|
|
5073
|
-
/** Styles passed down to the page selector Input root. */
|
|
5074
|
-
pageSizeInputRoot?: string;
|
|
5075
|
-
/** Styles passed down to the page selector Input component as `container`. */
|
|
5076
|
-
pageSizeInputContainer?: string;
|
|
5077
|
-
/** Styles applied to each navigation `HvButton` icon container. */
|
|
5078
|
-
iconContainer?: string;
|
|
5079
|
-
/** Styles applied to each navigation icon. */
|
|
5080
|
-
icon?: string;
|
|
5081
|
-
}
|
|
5061
|
+
export declare type HvPaginationClasses = ExtractNames<typeof useClasses_2>;
|
|
5082
5062
|
|
|
5083
5063
|
export declare interface HvPaginationLabels {
|
|
5084
5064
|
/** The show label. */
|
|
@@ -5141,7 +5121,7 @@ export declare interface HvPaginationProps extends HvBaseProps {
|
|
|
5141
5121
|
/** Extra properties passed to the input component representing the current pages. */
|
|
5142
5122
|
currentPageInputProps?: HvInputProps;
|
|
5143
5123
|
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
5144
|
-
classes?: HvPaginationClasses
|
|
5124
|
+
classes?: Partial<HvPaginationClasses>;
|
|
5145
5125
|
}
|
|
5146
5126
|
|
|
5147
5127
|
/**
|
|
@@ -5274,50 +5254,12 @@ export declare interface HvProviderProps {
|
|
|
5274
5254
|
/**
|
|
5275
5255
|
* **HvQueryBuilder** component allows you to create conditions and group them using logical operators.
|
|
5276
5256
|
* It outputs a structured set of rules which can be easily parsed to create SQL/NoSQL/whatever queries.
|
|
5277
|
-
*
|
|
5278
|
-
* **PLEASE NOTE**: This component implementation is still a WIP. There might be breaking changes.
|
|
5279
5257
|
*/
|
|
5280
5258
|
export declare const HvQueryBuilder: ({ attributes, query, onChange, operators, combinators, maxDepth, labels, readOnly, classes, }: HvQueryBuilderProps) => JSX_2.Element;
|
|
5281
5259
|
|
|
5282
|
-
export declare
|
|
5283
|
-
/** Styles applied to the component root class. */
|
|
5284
|
-
root?: string;
|
|
5285
|
-
/** Styles applied to the top group container. */
|
|
5286
|
-
topGroup?: string;
|
|
5287
|
-
/** Styles applied to the sub group containers. */
|
|
5288
|
-
subGroup?: string;
|
|
5289
|
-
/** Styles applied to the radio button+label topGroup when the radio button is disabled. */
|
|
5290
|
-
combinator?: string;
|
|
5291
|
-
/** Styles applied to the multi-button combinator container on the top group. */
|
|
5292
|
-
topCombinator?: string;
|
|
5293
|
-
/** Styles applied to each combinator button. */
|
|
5294
|
-
combinatorButton?: string;
|
|
5295
|
-
/** Styles applied to the remove button. */
|
|
5296
|
-
removeButton?: string;
|
|
5297
|
-
/** Styles applied to the remove button on the top group. */
|
|
5298
|
-
topRemoveButton?: string;
|
|
5299
|
-
/** Styles applied to the remove button when disabled on the top group. */
|
|
5300
|
-
topRemoveButtonDisabled?: string;
|
|
5301
|
-
/** Styles applied to the rules container. */
|
|
5302
|
-
rulesContainer?: string;
|
|
5303
|
-
/** Styles applied to the sub rules container. */
|
|
5304
|
-
subRulesContainer?: string;
|
|
5305
|
-
/** Styles applied to the action button container. */
|
|
5306
|
-
actionButtonContainer?: string;
|
|
5307
|
-
/** Styles applied to the top action button container. */
|
|
5308
|
-
topActionButtonContainer?: string;
|
|
5309
|
-
/** Styles applied to the top rules container. */
|
|
5310
|
-
topRulesContainer?: string;
|
|
5311
|
-
/** Styles applied to the background of buttons to remove transparency */
|
|
5312
|
-
buttonBackground?: string;
|
|
5313
|
-
}
|
|
5260
|
+
export declare type HvQueryBuilderClasses = Partial<ExtractNames<typeof useClasses_5>>;
|
|
5314
5261
|
|
|
5315
5262
|
export declare interface HvQueryBuilderProps {
|
|
5316
|
-
/**
|
|
5317
|
-
* Override or extend the styles applied to the component.
|
|
5318
|
-
* See CSS API tab for more details.
|
|
5319
|
-
*/
|
|
5320
|
-
classes?: HvQueryBuilderClasses;
|
|
5321
5263
|
attributes?: Record<string, Attribute>;
|
|
5322
5264
|
/**
|
|
5323
5265
|
* The query rules operators by attribute type and combinator.
|
|
@@ -5348,6 +5290,11 @@ export declare interface HvQueryBuilderProps {
|
|
|
5348
5290
|
* A flag indicating if the Query Builder is in read only mode.
|
|
5349
5291
|
*/
|
|
5350
5292
|
readOnly?: boolean;
|
|
5293
|
+
/**
|
|
5294
|
+
* Override or extend the styles applied to the component.
|
|
5295
|
+
* See CSS API tab for more details.
|
|
5296
|
+
*/
|
|
5297
|
+
classes?: HvQueryBuilderClasses;
|
|
5351
5298
|
}
|
|
5352
5299
|
|
|
5353
5300
|
/**
|
|
@@ -7224,6 +7171,64 @@ export declare interface HvTimeAgoProps extends HvBaseProps<HTMLElement, "childr
|
|
|
7224
7171
|
classes?: HvTimeAgoClasses;
|
|
7225
7172
|
}
|
|
7226
7173
|
|
|
7174
|
+
/**
|
|
7175
|
+
* A Time Picker allows the user to choose a specific time or a time range.
|
|
7176
|
+
*/
|
|
7177
|
+
export declare const HvTimePicker: (props: HvTimePickerProps) => JSX_2.Element;
|
|
7178
|
+
|
|
7179
|
+
export declare type HvTimePickerClasses = ExtractNames<typeof useClasses_6>;
|
|
7180
|
+
|
|
7181
|
+
export declare type HvTimePickerClassKey = "root" | "input" | "label" | "placeholder" | "timePopperContainer" | "separator" | "periodContainer" | "formElementRoot" | "dropdownPlaceholder" | "iconBaseRoot" | "error" | "labelContainer" | "description" | "dropdownHeaderInvalid" | "dropdownPlaceholderDisabled" | "dropdownHeaderOpen";
|
|
7182
|
+
|
|
7183
|
+
export declare interface HvTimePickerProps extends Omit<HvFormElementProps, "classes" | "value" | "defaultValue" | "onChange" | "onFocus" | "onBlur"> {
|
|
7184
|
+
/** Id to be applied to the form element root node. */
|
|
7185
|
+
id?: string;
|
|
7186
|
+
/** A Jss Object used to override or extend the styles applied to the component. */
|
|
7187
|
+
classes?: Partial<HvTimePickerClasses>;
|
|
7188
|
+
/** Current value of the element when _controlled_. Follows the 24-hour format. */
|
|
7189
|
+
value?: HvTimePickerValue;
|
|
7190
|
+
/** Initial value of the element when _uncontrolled_. Follows the 24-hour format. */
|
|
7191
|
+
defaultValue?: HvTimePickerValue;
|
|
7192
|
+
/** The placeholder value when no time is selected. */
|
|
7193
|
+
placeholder?: string;
|
|
7194
|
+
/** The placeholder of the hours input. */
|
|
7195
|
+
hoursPlaceholder?: string;
|
|
7196
|
+
/** The placeholder of the minutes input. */
|
|
7197
|
+
minutesPlaceholder?: string;
|
|
7198
|
+
/** The placeholder of the seconds input. */
|
|
7199
|
+
secondsPlaceholder?: string;
|
|
7200
|
+
/**
|
|
7201
|
+
* Whether the time picker should show the AM/PM 12-hour clock or the 24-hour one.
|
|
7202
|
+
* If undefined, the component will use a format according to the passed locale.
|
|
7203
|
+
*/
|
|
7204
|
+
timeFormat?: TimeFormat;
|
|
7205
|
+
/** Whether to show the seconds when using the native time picker */
|
|
7206
|
+
showSeconds?: boolean;
|
|
7207
|
+
/** Locale that will provide the time format(12 or 24 hour format). It is "overwritten" by `showAmPm` */
|
|
7208
|
+
locale?: string;
|
|
7209
|
+
/** Whether the dropdown is expandable. */
|
|
7210
|
+
disableExpand?: boolean;
|
|
7211
|
+
/**
|
|
7212
|
+
* Callback function to be triggered when the input value is changed.
|
|
7213
|
+
* It is invoked with a `{hours, minutes, seconds}` object, always in the 24h format
|
|
7214
|
+
*/
|
|
7215
|
+
onChange?: (value: HvTimePickerValue) => void;
|
|
7216
|
+
/** Callback called when dropdown changes the expanded state. */
|
|
7217
|
+
onToggle?: (event: Event, isOpen: boolean) => void;
|
|
7218
|
+
/** Disable the portal behavior. The children stay within it's parent DOM hierarchy. */
|
|
7219
|
+
disablePortal?: boolean;
|
|
7220
|
+
/** Sets if the calendar container should follow the date picker input out of the screen or stay visible. */
|
|
7221
|
+
escapeWithReference?: boolean;
|
|
7222
|
+
/** Extra properties to be passed to the TimePicker's dropdown. */
|
|
7223
|
+
dropdownProps?: Partial<HvBaseDropdownProps>;
|
|
7224
|
+
}
|
|
7225
|
+
|
|
7226
|
+
export declare type HvTimePickerValue = {
|
|
7227
|
+
hours: number;
|
|
7228
|
+
minutes: number;
|
|
7229
|
+
seconds: number;
|
|
7230
|
+
};
|
|
7231
|
+
|
|
7227
7232
|
export declare const HvToggleButton: ForwardRefExoticComponent<HvToggleButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
7228
7233
|
|
|
7229
7234
|
export declare interface HvToggleButtonProps extends HvBaseProps<HTMLButtonElement, "onClick"> {
|
|
@@ -8260,8 +8265,8 @@ export declare const paginationClasses: {
|
|
|
8260
8265
|
root: "HvPagination-root";
|
|
8261
8266
|
iconContainer: "HvPagination-iconContainer";
|
|
8262
8267
|
pageSizeOptions: "HvPagination-pageSizeOptions";
|
|
8263
|
-
pageSizeOptionsSelect: "HvPagination-pageSizeOptionsSelect";
|
|
8264
8268
|
pageSizeTextContainer: "HvPagination-pageSizeTextContainer";
|
|
8269
|
+
pageSizeOptionsSelect: "HvPagination-pageSizeOptionsSelect";
|
|
8265
8270
|
pageNavigator: "HvPagination-pageNavigator";
|
|
8266
8271
|
pageInfo: "HvPagination-pageInfo";
|
|
8267
8272
|
pageJump: "HvPagination-pageJump";
|
|
@@ -8314,9 +8319,9 @@ declare interface Query {
|
|
|
8314
8319
|
|
|
8315
8320
|
export declare const queryBuilderClasses: {
|
|
8316
8321
|
root: "HvQueryBuilder-root";
|
|
8317
|
-
combinator: "HvQueryBuilder-combinator";
|
|
8318
8322
|
topGroup: "HvQueryBuilder-topGroup";
|
|
8319
8323
|
subGroup: "HvQueryBuilder-subGroup";
|
|
8324
|
+
combinator: "HvQueryBuilder-combinator";
|
|
8320
8325
|
topCombinator: "HvQueryBuilder-topCombinator";
|
|
8321
8326
|
combinatorButton: "HvQueryBuilder-combinatorButton";
|
|
8322
8327
|
removeButton: "HvQueryBuilder-removeButton";
|
|
@@ -8951,6 +8956,24 @@ export declare const timeAgoClasses: {
|
|
|
8951
8956
|
root: "HvTimeAgo-root";
|
|
8952
8957
|
};
|
|
8953
8958
|
|
|
8959
|
+
export declare type TimeFormat = "12" | "24";
|
|
8960
|
+
|
|
8961
|
+
export declare const timePickerClasses: {
|
|
8962
|
+
placeholder: "HvTimerPicker-placeholder";
|
|
8963
|
+
label: "HvTimerPicker-label";
|
|
8964
|
+
icon: "HvTimerPicker-icon";
|
|
8965
|
+
error: "HvTimerPicker-error";
|
|
8966
|
+
root: "HvTimerPicker-root";
|
|
8967
|
+
description: "HvTimerPicker-description";
|
|
8968
|
+
labelContainer: "HvTimerPicker-labelContainer";
|
|
8969
|
+
dropdownHeader: "HvTimerPicker-dropdownHeader";
|
|
8970
|
+
dropdownHeaderInvalid: "HvTimerPicker-dropdownHeaderInvalid";
|
|
8971
|
+
dropdownHeaderOpen: "HvTimerPicker-dropdownHeaderOpen";
|
|
8972
|
+
placeholderDisabled: "HvTimerPicker-placeholderDisabled";
|
|
8973
|
+
dropdownPanel: "HvTimerPicker-dropdownPanel";
|
|
8974
|
+
timePopperContainer: "HvTimerPicker-timePopperContainer";
|
|
8975
|
+
};
|
|
8976
|
+
|
|
8954
8977
|
export declare const tooltipClasses: {
|
|
8955
8978
|
title: "HvTooltip-title";
|
|
8956
8979
|
color: "HvTooltip-color";
|
|
@@ -9025,18 +9048,54 @@ export declare type UseBulkActionsProps = (<D extends object = Record<string, un
|
|
|
9025
9048
|
pluginName: string;
|
|
9026
9049
|
};
|
|
9027
9050
|
|
|
9028
|
-
declare const useClasses: (classesProp
|
|
9051
|
+
declare const useClasses: (classesProp?: Partial<Record<"root", string>>) => {
|
|
9052
|
+
classes: {
|
|
9053
|
+
root: string;
|
|
9054
|
+
};
|
|
9055
|
+
css: {
|
|
9056
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9057
|
+
(...args: CSSInterpolation[]): string;
|
|
9058
|
+
};
|
|
9029
9059
|
cx: (...args: any) => string;
|
|
9060
|
+
};
|
|
9061
|
+
|
|
9062
|
+
declare const useClasses_2: (classesProp?: Partial<Record<"icon" | "root" | "iconContainer" | "pageSizeOptions" | "pageSizeTextContainer" | "pageSizeOptionsSelect" | "pageNavigator" | "pageInfo" | "pageJump" | "pageSizeInput" | "pageSizeInputRoot" | "pageSizeInputContainer", string>>) => {
|
|
9063
|
+
classes: {
|
|
9064
|
+
icon: string;
|
|
9065
|
+
root: string;
|
|
9066
|
+
iconContainer: string;
|
|
9067
|
+
pageSizeOptions: string;
|
|
9068
|
+
pageSizeTextContainer: string;
|
|
9069
|
+
pageSizeOptionsSelect: string;
|
|
9070
|
+
pageNavigator: string;
|
|
9071
|
+
pageInfo: string;
|
|
9072
|
+
pageJump: string;
|
|
9073
|
+
pageSizeInput: string;
|
|
9074
|
+
pageSizeInputRoot: string;
|
|
9075
|
+
pageSizeInputContainer: string;
|
|
9076
|
+
};
|
|
9077
|
+
css: {
|
|
9078
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9079
|
+
(...args: CSSInterpolation[]): string;
|
|
9080
|
+
};
|
|
9081
|
+
cx: (...args: any) => string;
|
|
9082
|
+
};
|
|
9083
|
+
|
|
9084
|
+
declare const useClasses_3: (classesProp?: Partial<Record<"root" | "rootClosed" | "anchorOriginTopCenter" | "anchorOriginBottomCenter", string>>) => {
|
|
9030
9085
|
classes: {
|
|
9031
9086
|
root: string;
|
|
9032
9087
|
rootClosed: string;
|
|
9033
9088
|
anchorOriginTopCenter: string;
|
|
9034
9089
|
anchorOriginBottomCenter: string;
|
|
9035
9090
|
};
|
|
9091
|
+
css: {
|
|
9092
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9093
|
+
(...args: CSSInterpolation[]): string;
|
|
9094
|
+
};
|
|
9095
|
+
cx: (...args: any) => string;
|
|
9036
9096
|
};
|
|
9037
9097
|
|
|
9038
|
-
declare const
|
|
9039
|
-
cx: (...args: any) => string;
|
|
9098
|
+
declare const useClasses_4: (classesProp?: Partial<Record<"default" | "action" | "error" | "warning" | "success" | "root" | "message" | "baseVariant" | "outContainer", string>>) => {
|
|
9040
9099
|
classes: {
|
|
9041
9100
|
default: string;
|
|
9042
9101
|
action: string;
|
|
@@ -9048,6 +9107,59 @@ declare const useClasses_2: (classesProp: Partial<Record<"default" | "action" |
|
|
|
9048
9107
|
baseVariant: string;
|
|
9049
9108
|
outContainer: string;
|
|
9050
9109
|
};
|
|
9110
|
+
css: {
|
|
9111
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9112
|
+
(...args: CSSInterpolation[]): string;
|
|
9113
|
+
};
|
|
9114
|
+
cx: (...args: any) => string;
|
|
9115
|
+
};
|
|
9116
|
+
|
|
9117
|
+
declare const useClasses_5: (classesProp?: Partial<Record<"root" | "topGroup" | "subGroup" | "combinator" | "topCombinator" | "combinatorButton" | "removeButton" | "topRemoveButton" | "topRemoveButtonDisabled" | "rulesContainer" | "subRulesContainer" | "actionButtonContainer" | "topActionButtonContainer" | "topRulesContainer" | "buttonBackground", string>>) => {
|
|
9118
|
+
classes: {
|
|
9119
|
+
root: string;
|
|
9120
|
+
topGroup: string;
|
|
9121
|
+
subGroup: string;
|
|
9122
|
+
combinator: string;
|
|
9123
|
+
topCombinator: string;
|
|
9124
|
+
combinatorButton: string;
|
|
9125
|
+
removeButton: string;
|
|
9126
|
+
topRemoveButton: string;
|
|
9127
|
+
topRemoveButtonDisabled: string;
|
|
9128
|
+
rulesContainer: string;
|
|
9129
|
+
subRulesContainer: string;
|
|
9130
|
+
actionButtonContainer: string;
|
|
9131
|
+
topActionButtonContainer: string;
|
|
9132
|
+
topRulesContainer: string;
|
|
9133
|
+
buttonBackground: string;
|
|
9134
|
+
};
|
|
9135
|
+
css: {
|
|
9136
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9137
|
+
(...args: CSSInterpolation[]): string;
|
|
9138
|
+
};
|
|
9139
|
+
cx: (...args: any) => string;
|
|
9140
|
+
};
|
|
9141
|
+
|
|
9142
|
+
declare const useClasses_6: (classesProp?: Partial<Record<"placeholder" | "label" | "icon" | "error" | "root" | "description" | "labelContainer" | "dropdownHeader" | "dropdownHeaderInvalid" | "dropdownHeaderOpen" | "placeholderDisabled" | "dropdownPanel" | "timePopperContainer", string>>) => {
|
|
9143
|
+
classes: {
|
|
9144
|
+
placeholder: string;
|
|
9145
|
+
label: string;
|
|
9146
|
+
icon: string;
|
|
9147
|
+
error: string;
|
|
9148
|
+
root: string;
|
|
9149
|
+
description: string;
|
|
9150
|
+
labelContainer: string;
|
|
9151
|
+
dropdownHeader: string;
|
|
9152
|
+
dropdownHeaderInvalid: string;
|
|
9153
|
+
dropdownHeaderOpen: string;
|
|
9154
|
+
placeholderDisabled: string;
|
|
9155
|
+
dropdownPanel: string;
|
|
9156
|
+
timePopperContainer: string;
|
|
9157
|
+
};
|
|
9158
|
+
css: {
|
|
9159
|
+
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
9160
|
+
(...args: CSSInterpolation[]): string;
|
|
9161
|
+
};
|
|
9162
|
+
cx: (...args: any) => string;
|
|
9051
9163
|
};
|
|
9052
9164
|
|
|
9053
9165
|
export declare const useClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: HvClickOutsideEvent) => void) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.17.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Core React components for the NEXT Design System.",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@emotion/css": "^11.11.0",
|
|
34
34
|
"@emotion/serialize": "^1.1.2",
|
|
35
35
|
"@emotion/utils": "^1.2.1",
|
|
36
|
-
"@hitachivantara/uikit-react-icons": "^5.2.
|
|
37
|
-
"@hitachivantara/uikit-react-shared": "^5.0.
|
|
38
|
-
"@hitachivantara/uikit-styles": "^5.8.
|
|
36
|
+
"@hitachivantara/uikit-react-icons": "^5.2.1",
|
|
37
|
+
"@hitachivantara/uikit-react-shared": "^5.0.17",
|
|
38
|
+
"@hitachivantara/uikit-styles": "^5.8.3",
|
|
39
39
|
"@internationalized/date": "^3.2.0",
|
|
40
40
|
"@mui/base": "^5.0.0-beta.4",
|
|
41
41
|
"@popperjs/core": "^2.11.8",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"access": "public",
|
|
65
65
|
"directory": "package"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "bccee7d5747d83da4ba75b5a83fdd780383e10ed",
|
|
68
68
|
"main": "dist/cjs/index.cjs",
|
|
69
69
|
"exports": {
|
|
70
70
|
".": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const classes = require("../../utils/classes.cjs");
|
|
4
|
-
const classKeys = ["root"];
|
|
5
|
-
const actionBarClasses = classes.getClasses(classKeys, "HvActionBar");
|
|
6
|
-
const actionBarClasses$1 = actionBarClasses;
|
|
7
|
-
exports.default = actionBarClasses$1;
|
|
8
|
-
//# sourceMappingURL=actionBarClasses.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actionBarClasses.cjs","sources":["../../../../src/components/ActionBar/actionBarClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvActionBarClasses {\n root?: string;\n}\n\nconst classKeys: (keyof HvActionBarClasses)[] = [\"root\"];\n\nconst actionBarClasses = getClasses(classKeys, \"HvActionBar\");\n\nexport default actionBarClasses;\n"],"names":["classKeys","actionBarClasses","getClasses"],"mappings":";;;AAMA,MAAMA,YAA0C,CAAC,MAAM;AAEvD,MAAMC,mBAAmBC,QAAWF,WAAAA,WAAW,aAAa;AAE5D,MAAA,qBAAeC;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const classes = require("../../utils/classes.cjs");
|
|
4
|
-
const classKeys = ["root", "pageSizeOptions", "pageSizeOptionsSelect", "pageSizeTextContainer", "pageNavigator", "pageInfo", "pageJump", "pageSizeInput", "pageSizeInputRoot", "pageSizeInputContainer", "iconContainer", "icon"];
|
|
5
|
-
const paginationClasses = classes.getClasses(classKeys, "HvPagination");
|
|
6
|
-
const paginationClasses$1 = paginationClasses;
|
|
7
|
-
exports.default = paginationClasses$1;
|
|
8
|
-
//# sourceMappingURL=paginationClasses.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paginationClasses.cjs","sources":["../../../../src/components/Pagination/paginationClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvPaginationClasses {\n /** Styles applied to the component root class. */\n root?: string;\n /** Styles applied to the page size selector container. */\n pageSizeOptions?: string;\n /** Styles applied to the page size selector dropdown element. */\n pageSizeOptionsSelect?: string;\n /** Styles applied to the element that holds the labels for the page size selector */\n pageSizeTextContainer?: string;\n /** Styles applied to the page navigation container. */\n pageNavigator?: string;\n /** Styles applied to the central page information container. */\n pageInfo?: string;\n /** Styles applied to the page selector input container. */\n pageJump?: string;\n /** Styles passed down to the page selector Input component as `input`. */\n pageSizeInput?: string;\n /** Styles passed down to the page selector Input root. */\n pageSizeInputRoot?: string;\n /** Styles passed down to the page selector Input component as `container`. */\n pageSizeInputContainer?: string;\n /** Styles applied to each navigation `HvButton` icon container. */\n iconContainer?: string;\n /** Styles applied to each navigation icon. */\n icon?: string;\n}\n\nconst classKeys: (keyof HvPaginationClasses)[] = [\n \"root\",\n \"pageSizeOptions\",\n \"pageSizeOptionsSelect\",\n \"pageSizeTextContainer\",\n \"pageNavigator\",\n \"pageInfo\",\n \"pageJump\",\n \"pageSizeInput\",\n \"pageSizeInputRoot\",\n \"pageSizeInputContainer\",\n \"iconContainer\",\n \"icon\",\n];\n\nconst paginationClasses = getClasses(classKeys, \"HvPagination\");\n\nexport default paginationClasses;\n"],"names":["classKeys","paginationClasses","getClasses"],"mappings":";;;AA6BA,MAAMA,YAA2C,CAC/C,QACA,mBACA,yBACA,yBACA,iBACA,YACA,YACA,iBACA,qBACA,0BACA,iBACA,MAAM;AAGR,MAAMC,oBAAoBC,QAAWF,WAAAA,WAAW,cAAc;AAE9D,MAAA,sBAAeC;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const classes = require("../../../../../utils/classes.cjs");
|
|
4
|
-
const classKeys = ["root", "label", "inputContainer", "rangeContainer", "input", "isMdDown"];
|
|
5
|
-
const numericValueClasses = classes.getClasses(classKeys, "HvNumericValue");
|
|
6
|
-
const numericValueClasses$1 = numericValueClasses;
|
|
7
|
-
exports.default = numericValueClasses$1;
|
|
8
|
-
//# sourceMappingURL=numericValueClasses.cjs.map
|
package/dist/cjs/components/QueryBuilder/Rule/Value/NumericValue/numericValueClasses.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"numericValueClasses.cjs","sources":["../../../../../../../src/components/QueryBuilder/Rule/Value/NumericValue/numericValueClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvNumericValueClasses {\n /** Styles applied to the component root class. */\n root?: string;\n /** Styles applied to the label. */\n label?: string;\n /** Styles applied to input container. */\n inputContainer?: string;\n /** Styles applied to input container. */\n rangeContainer?: string;\n /** Styles applied to range container. */\n input?: string;\n /** Styles applied when the screen size is lower. */\n isMdDown?: string;\n}\n\nconst classKeys: (keyof HvNumericValueClasses)[] = [\n \"root\",\n \"label\",\n \"inputContainer\",\n \"rangeContainer\",\n \"input\",\n \"isMdDown\",\n];\n\nconst numericValueClasses = getClasses(classKeys, \"HvNumericValue\");\n\nexport default numericValueClasses;\n"],"names":["classKeys","numericValueClasses","getClasses"],"mappings":";;;AAiBA,MAAMA,YAA6C,CACjD,QACA,SACA,kBACA,kBACA,SACA,UAAU;AAGZ,MAAMC,sBAAsBC,QAAWF,WAAAA,WAAW,gBAAgB;AAElE,MAAA,wBAAeC;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const classes = require("../../../../../utils/classes.cjs");
|
|
4
|
-
const classKeys = ["location"];
|
|
5
|
-
const textValueClasses = classes.getClasses(classKeys, "HvTextValue");
|
|
6
|
-
const textValueClasses$1 = textValueClasses;
|
|
7
|
-
exports.default = textValueClasses$1;
|
|
8
|
-
//# sourceMappingURL=textValueClasses.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textValueClasses.cjs","sources":["../../../../../../../src/components/QueryBuilder/Rule/Value/TextValue/textValueClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvTextValueClasses {\n /** Styles applied to the location class. */\n location?: string;\n}\n\nconst classKeys: (keyof HvTextValueClasses)[] = [\"location\"];\n\nconst textValueClasses = getClasses(classKeys, \"HvTextValue\");\n\nexport default textValueClasses;\n"],"names":["classKeys","textValueClasses","getClasses"],"mappings":";;;AAOA,MAAMA,YAA0C,CAAC,UAAU;AAE3D,MAAMC,mBAAmBC,QAAWF,WAAAA,WAAW,aAAa;AAE5D,MAAA,qBAAeC;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const classes = require("../../../utils/classes.cjs");
|
|
4
|
-
const classKeys = ["root", "actionsContainer", "isMdDown"];
|
|
5
|
-
const ruleClasses = classes.getClasses(classKeys, "HvRule");
|
|
6
|
-
const ruleClasses$1 = ruleClasses;
|
|
7
|
-
exports.default = ruleClasses$1;
|
|
8
|
-
//# sourceMappingURL=ruleClasses.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ruleClasses.cjs","sources":["../../../../../src/components/QueryBuilder/Rule/ruleClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvRuleClasses {\n /** Styles applied to the component root class. */\n root?: string;\n /** Styles applied to the actions container. */\n actionsContainer?: string;\n /** Styles applied when the screen size is lower. */\n isMdDown?: string;\n}\n\nconst classKeys: (keyof HvRuleClasses)[] = [\n \"root\",\n \"actionsContainer\",\n \"isMdDown\",\n];\n\nconst ruleClasses = getClasses(classKeys, \"HvRule\");\n\nexport default ruleClasses;\n"],"names":["classKeys","ruleClasses","getClasses"],"mappings":";;;AAWA,MAAMA,YAAqC,CACzC,QACA,oBACA,UAAU;AAGZ,MAAMC,cAAcC,QAAWF,WAAAA,WAAW,QAAQ;AAElD,MAAA,gBAAeC;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuleGroup.styles.cjs","sources":["../../../../../src/components/QueryBuilder/RuleGroup/RuleGroup.styles.tsx"],"sourcesContent":["import { CSSInterpolation } from \"@emotion/serialize\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\nimport queryBuilderClasses, {\n HvQueryBuilderClasses,\n} from \"../queryBuilderClasses\";\n\nexport const styles: Partial<\n Record<keyof HvQueryBuilderClasses, CSSInterpolation>\n> = {\n root: {\n position: \"relative\",\n padding: theme.space.sm,\n\n marginTop: 12,\n marginBottom: 32,\n\n border: theme.queryBuilder.border,\n },\n subGroup: {\n margin: \"40px 14px 32px 20px\",\n minHeight: 120,\n paddingBottom: 60,\n\n \"&::before\": {\n content: '\"\"',\n position: \"absolute\",\n zIndex: 2,\n\n width: 21,\n height: 36,\n\n borderBottom: theme.queryBuilder.border,\n borderLeft: theme.queryBuilder.border,\n\n top: -38,\n left: theme.queryBuilder.ruleSubGroupLeftConnectorPosition,\n },\n [`:not(.${queryBuilderClasses.topRulesContainer})>&:last-child::after`]: {\n content: '\"\"',\n position: \"absolute\",\n zIndex: 1,\n\n width: 32,\n height: \"100%\",\n\n borderLeft: theme.queryBuilder.border,\n\n top: 0,\n left: `calc(${theme.space.sm} + 2)`,\n },\n },\n topGroup: {\n margin: theme.space.sm,\n backgroundColor: \"transparent\",\n maxWidth: \"100%\",\n minWidth: 740,\n\n paddingBottom: theme.queryBuilder.topGroupPaddingBottom,\n },\n\n combinator: {\n minWidth: 80,\n },\n topCombinator: {\n position: \"absolute\",\n top: `calc( -1 * ${theme.space.sm})`,\n left: `calc( -1 * ${theme.space.sm})`,\n },\n\n combinatorButton: {},\n\n actionButtonContainer: {\n marginLeft: \"auto\",\n\n \"&>*\": {\n marginLeft: theme.space.sm,\n },\n },\n topActionButtonContainer: {\n position: \"absolute\",\n bottom: theme.queryBuilder.topActionButtonContainerBottom,\n right: theme.queryBuilder.topActionButtonContainerRight,\n },\n buttonBackground: {\n backgroundColor: theme.colors.atmo2,\n display: \"inline-flex\",\n },\n removeButton: {},\n topRemoveButton: {\n position: \"absolute\",\n top: -16,\n right: -16,\n },\n\n topRemoveButtonDisabled: {\n backgroundColor: theme.colors.atmo2,\n },\n\n rulesContainer: {},\n\n topRulesContainer: {},\n\n subRulesContainer: {\n borderLeft: theme.queryBuilder.border,\n\n marginLeft: theme.space.sm,\n marginBottom: theme.space.md,\n paddingLeft: theme.space.sm,\n\n paddingTop: 7,\n\n position: \"relative\",\n left: theme.queryBuilder.ruleSubGroupContainerLeftConnectorPosition,\n\n width: \"100%\",\n },\n};\n"],"names":["styles","root","position","padding","theme","space","sm","marginTop","marginBottom","border","queryBuilder","subGroup","margin","minHeight","paddingBottom","content","zIndex","width","height","borderBottom","borderLeft","top","left","ruleSubGroupLeftConnectorPosition","queryBuilderClasses","topRulesContainer","topGroup","backgroundColor","maxWidth","minWidth","topGroupPaddingBottom","combinator","topCombinator","combinatorButton","actionButtonContainer","marginLeft","topActionButtonContainer","bottom","topActionButtonContainerBottom","right","topActionButtonContainerRight","buttonBackground","colors","atmo2","display","removeButton","topRemoveButton","topRemoveButtonDisabled","rulesContainer","subRulesContainer","md","paddingLeft","paddingTop","ruleSubGroupContainerLeftConnectorPosition"],"mappings":";;;;AAMO,MAAMA,SAET;AAAA,EACFC,MAAM;AAAA,IACJC,UAAU;AAAA,IACVC,SAASC,YAAAA,MAAMC,MAAMC;AAAAA,IAErBC,WAAW;AAAA,IACXC,cAAc;AAAA,IAEdC,QAAQL,YAAAA,MAAMM,aAAaD;AAAAA,EAC7B;AAAA,EACAE,UAAU;AAAA,IACRC,QAAQ;AAAA,IACRC,WAAW;AAAA,IACXC,eAAe;AAAA,IAEf,aAAa;AAAA,MACXC,SAAS;AAAA,MACTb,UAAU;AAAA,MACVc,QAAQ;AAAA,MAERC,OAAO;AAAA,MACPC,QAAQ;AAAA,MAERC,cAAcf,YAAAA,MAAMM,aAAaD;AAAAA,MACjCW,YAAYhB,YAAAA,MAAMM,aAAaD;AAAAA,MAE/BY,KAAK;AAAA,MACLC,MAAMlB,YAAAA,MAAMM,aAAaa;AAAAA,IAC3B;AAAA,IACA,CAAE,SAAQC,oBAAAA,QAAoBC,wCAAwC,GAAG;AAAA,MACvEV,SAAS;AAAA,MACTb,UAAU;AAAA,MACVc,QAAQ;AAAA,MAERC,OAAO;AAAA,MACPC,QAAQ;AAAA,MAERE,YAAYhB,YAAAA,MAAMM,aAAaD;AAAAA,MAE/BY,KAAK;AAAA,MACLC,MAAO,QAAOlB,YAAAA,MAAMC,MAAMC;AAAAA,IAC5B;AAAA,EACF;AAAA,EACAoB,UAAU;AAAA,IACRd,QAAQR,YAAAA,MAAMC,MAAMC;AAAAA,IACpBqB,iBAAiB;AAAA,IACjBC,UAAU;AAAA,IACVC,UAAU;AAAA,IAEVf,eAAeV,YAAAA,MAAMM,aAAaoB;AAAAA,EACpC;AAAA,EAEAC,YAAY;AAAA,IACVF,UAAU;AAAA,EACZ;AAAA,EACAG,eAAe;AAAA,IACb9B,UAAU;AAAA,IACVmB,KAAM,cAAajB,YAAAA,MAAMC,MAAMC;AAAAA,IAC/BgB,MAAO,cAAalB,YAAAA,MAAMC,MAAMC;AAAAA,EAClC;AAAA,EAEA2B,kBAAkB,CAAC;AAAA,EAEnBC,uBAAuB;AAAA,IACrBC,YAAY;AAAA,IAEZ,OAAO;AAAA,MACLA,YAAY/B,YAAAA,MAAMC,MAAMC;AAAAA,IAC1B;AAAA,EACF;AAAA,EACA8B,0BAA0B;AAAA,IACxBlC,UAAU;AAAA,IACVmC,QAAQjC,YAAAA,MAAMM,aAAa4B;AAAAA,IAC3BC,OAAOnC,YAAAA,MAAMM,aAAa8B;AAAAA,EAC5B;AAAA,EACAC,kBAAkB;AAAA,IAChBd,iBAAiBvB,YAAAA,MAAMsC,OAAOC;AAAAA,IAC9BC,SAAS;AAAA,EACX;AAAA,EACAC,cAAc,CAAC;AAAA,EACfC,iBAAiB;AAAA,IACf5C,UAAU;AAAA,IACVmB,KAAK;AAAA,IACLkB,OAAO;AAAA,EACT;AAAA,EAEAQ,yBAAyB;AAAA,IACvBpB,iBAAiBvB,YAAAA,MAAMsC,OAAOC;AAAAA,EAChC;AAAA,EAEAK,gBAAgB,CAAC;AAAA,EAEjBvB,mBAAmB,CAAC;AAAA,EAEpBwB,mBAAmB;AAAA,IACjB7B,YAAYhB,YAAAA,MAAMM,aAAaD;AAAAA,IAE/B0B,YAAY/B,YAAAA,MAAMC,MAAMC;AAAAA,IACxBE,cAAcJ,YAAAA,MAAMC,MAAM6C;AAAAA,IAC1BC,aAAa/C,YAAAA,MAAMC,MAAMC;AAAAA,IAEzB8C,YAAY;AAAA,IAEZlD,UAAU;AAAA,IACVoB,MAAMlB,YAAAA,MAAMM,aAAa2C;AAAAA,IAEzBpC,OAAO;AAAA,EACT;AACF;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const classes = require("../../utils/classes.cjs");
|
|
4
|
-
const classKeys = ["root", "topGroup", "subGroup", "combinator", "topCombinator", "combinatorButton", "removeButton", "topRemoveButton", "topRemoveButtonDisabled", "rulesContainer", "subRulesContainer", "actionButtonContainer", "topActionButtonContainer", "buttonBackground"];
|
|
5
|
-
const queryBuilderClasses = classes.getClasses(classKeys, "HvQueryBuilder");
|
|
6
|
-
const queryBuilderClasses$1 = queryBuilderClasses;
|
|
7
|
-
exports.default = queryBuilderClasses$1;
|
|
8
|
-
//# sourceMappingURL=queryBuilderClasses.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryBuilderClasses.cjs","sources":["../../../../src/components/QueryBuilder/queryBuilderClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvQueryBuilderClasses {\n /** Styles applied to the component root class. */\n root?: string;\n /** Styles applied to the top group container. */\n topGroup?: string;\n /** Styles applied to the sub group containers. */\n subGroup?: string;\n /** Styles applied to the radio button+label topGroup when the radio button is disabled. */\n combinator?: string;\n /** Styles applied to the multi-button combinator container on the top group. */\n topCombinator?: string;\n /** Styles applied to each combinator button. */\n combinatorButton?: string;\n /** Styles applied to the remove button. */\n removeButton?: string;\n /** Styles applied to the remove button on the top group. */\n topRemoveButton?: string;\n /** Styles applied to the remove button when disabled on the top group. */\n topRemoveButtonDisabled?: string;\n /** Styles applied to the rules container. */\n rulesContainer?: string;\n /** Styles applied to the sub rules container. */\n subRulesContainer?: string;\n /** Styles applied to the action button container. */\n actionButtonContainer?: string;\n /** Styles applied to the top action button container. */\n topActionButtonContainer?: string;\n /** Styles applied to the top rules container. */\n topRulesContainer?: string;\n /** Styles applied to the background of buttons to remove transparency */\n buttonBackground?: string;\n}\n\nconst classKeys: (keyof HvQueryBuilderClasses)[] = [\n \"root\",\n \"topGroup\",\n \"subGroup\",\n \"combinator\",\n \"topCombinator\",\n \"combinatorButton\",\n \"removeButton\",\n \"topRemoveButton\",\n \"topRemoveButtonDisabled\",\n \"rulesContainer\",\n \"subRulesContainer\",\n \"actionButtonContainer\",\n \"topActionButtonContainer\",\n \"buttonBackground\",\n];\n\nconst queryBuilderClasses = getClasses(classKeys, \"HvQueryBuilder\");\n\nexport default queryBuilderClasses;\n"],"names":["classKeys","queryBuilderClasses","getClasses"],"mappings":";;;AAmCA,MAAMA,YAA6C,CACjD,QACA,YACA,YACA,cACA,iBACA,oBACA,gBACA,mBACA,2BACA,kBACA,qBACA,yBACA,4BACA,kBAAkB;AAGpB,MAAMC,sBAAsBC,QAAWF,WAAAA,WAAW,gBAAgB;AAElE,MAAA,wBAAeC;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { getClasses } from "../../utils/classes.js";
|
|
2
|
-
const classKeys = ["root"];
|
|
3
|
-
const actionBarClasses = getClasses(classKeys, "HvActionBar");
|
|
4
|
-
const actionBarClasses$1 = actionBarClasses;
|
|
5
|
-
export {
|
|
6
|
-
actionBarClasses$1 as default
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=actionBarClasses.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actionBarClasses.js","sources":["../../../../src/components/ActionBar/actionBarClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvActionBarClasses {\n root?: string;\n}\n\nconst classKeys: (keyof HvActionBarClasses)[] = [\"root\"];\n\nconst actionBarClasses = getClasses(classKeys, \"HvActionBar\");\n\nexport default actionBarClasses;\n"],"names":["classKeys","actionBarClasses","getClasses"],"mappings":";AAMA,MAAMA,YAA0C,CAAC,MAAM;AAEvD,MAAMC,mBAAmBC,WAAWF,WAAW,aAAa;AAE5D,MAAA,qBAAeC;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { getClasses } from "../../utils/classes.js";
|
|
2
|
-
const classKeys = ["root", "pageSizeOptions", "pageSizeOptionsSelect", "pageSizeTextContainer", "pageNavigator", "pageInfo", "pageJump", "pageSizeInput", "pageSizeInputRoot", "pageSizeInputContainer", "iconContainer", "icon"];
|
|
3
|
-
const paginationClasses = getClasses(classKeys, "HvPagination");
|
|
4
|
-
const paginationClasses$1 = paginationClasses;
|
|
5
|
-
export {
|
|
6
|
-
paginationClasses$1 as default
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=paginationClasses.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paginationClasses.js","sources":["../../../../src/components/Pagination/paginationClasses.ts"],"sourcesContent":["import { getClasses } from \"@core/utils\";\n\nexport interface HvPaginationClasses {\n /** Styles applied to the component root class. */\n root?: string;\n /** Styles applied to the page size selector container. */\n pageSizeOptions?: string;\n /** Styles applied to the page size selector dropdown element. */\n pageSizeOptionsSelect?: string;\n /** Styles applied to the element that holds the labels for the page size selector */\n pageSizeTextContainer?: string;\n /** Styles applied to the page navigation container. */\n pageNavigator?: string;\n /** Styles applied to the central page information container. */\n pageInfo?: string;\n /** Styles applied to the page selector input container. */\n pageJump?: string;\n /** Styles passed down to the page selector Input component as `input`. */\n pageSizeInput?: string;\n /** Styles passed down to the page selector Input root. */\n pageSizeInputRoot?: string;\n /** Styles passed down to the page selector Input component as `container`. */\n pageSizeInputContainer?: string;\n /** Styles applied to each navigation `HvButton` icon container. */\n iconContainer?: string;\n /** Styles applied to each navigation icon. */\n icon?: string;\n}\n\nconst classKeys: (keyof HvPaginationClasses)[] = [\n \"root\",\n \"pageSizeOptions\",\n \"pageSizeOptionsSelect\",\n \"pageSizeTextContainer\",\n \"pageNavigator\",\n \"pageInfo\",\n \"pageJump\",\n \"pageSizeInput\",\n \"pageSizeInputRoot\",\n \"pageSizeInputContainer\",\n \"iconContainer\",\n \"icon\",\n];\n\nconst paginationClasses = getClasses(classKeys, \"HvPagination\");\n\nexport default paginationClasses;\n"],"names":["classKeys","paginationClasses","getClasses"],"mappings":";AA6BA,MAAMA,YAA2C,CAC/C,QACA,mBACA,yBACA,yBACA,iBACA,YACA,YACA,iBACA,qBACA,0BACA,iBACA,MAAM;AAGR,MAAMC,oBAAoBC,WAAWF,WAAW,cAAc;AAE9D,MAAA,sBAAeC;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { getClasses } from "../../../../../utils/classes.js";
|
|
2
|
-
const classKeys = ["root", "label", "inputContainer", "rangeContainer", "input", "isMdDown"];
|
|
3
|
-
const numericValueClasses = getClasses(classKeys, "HvNumericValue");
|
|
4
|
-
const numericValueClasses$1 = numericValueClasses;
|
|
5
|
-
export {
|
|
6
|
-
numericValueClasses$1 as default
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=numericValueClasses.js.map
|