@hitachivantara/uikit-react-core 5.2.0 → 5.3.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/Button/Button.cjs +6 -0
- package/dist/cjs/components/Button/Button.cjs.map +1 -1
- package/dist/cjs/components/Button/Button.styles.cjs +15 -7
- package/dist/cjs/components/Button/Button.styles.cjs.map +1 -1
- package/dist/cjs/components/Button/buttonClasses.cjs +1 -1
- package/dist/cjs/components/Button/buttonClasses.cjs.map +1 -1
- package/dist/cjs/components/Calendar/SingleCalendar/SingleCalendar.styles.cjs +4 -4
- package/dist/cjs/components/Calendar/SingleCalendar/SingleCalendar.styles.cjs.map +1 -1
- package/dist/cjs/components/DatePicker/DatePicker.cjs +347 -0
- package/dist/cjs/components/DatePicker/DatePicker.cjs.map +1 -0
- package/dist/cjs/components/DatePicker/DatePicker.styles.cjs +78 -0
- package/dist/cjs/components/DatePicker/DatePicker.styles.cjs.map +1 -0
- package/dist/cjs/components/DatePicker/datePickerClasses.cjs +8 -0
- package/dist/cjs/components/DatePicker/datePickerClasses.cjs.map +1 -0
- package/dist/cjs/components/DatePicker/useVisibleDate.cjs +193 -0
- package/dist/cjs/components/DatePicker/useVisibleDate.cjs.map +1 -0
- package/dist/cjs/components/DatePicker/utils.cjs +32 -0
- package/dist/cjs/components/DatePicker/utils.cjs.map +1 -0
- package/dist/cjs/components/Dialog/Dialog.cjs +2 -6
- package/dist/cjs/components/Dialog/Dialog.cjs.map +1 -1
- package/dist/cjs/components/Dialog/Dialog.styles.cjs +32 -31
- package/dist/cjs/components/Dialog/Dialog.styles.cjs.map +1 -1
- package/dist/cjs/components/MultiButton/MultiButton.styles.cjs +2 -3
- package/dist/cjs/components/MultiButton/MultiButton.styles.cjs.map +1 -1
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/Button/Button.js +6 -0
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/Button.styles.js +15 -7
- package/dist/esm/components/Button/Button.styles.js.map +1 -1
- package/dist/esm/components/Button/buttonClasses.js +1 -1
- package/dist/esm/components/Button/buttonClasses.js.map +1 -1
- package/dist/esm/components/Calendar/SingleCalendar/SingleCalendar.styles.js +4 -4
- package/dist/esm/components/Calendar/SingleCalendar/SingleCalendar.styles.js.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +345 -0
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/esm/components/DatePicker/DatePicker.styles.js +78 -0
- package/dist/esm/components/DatePicker/DatePicker.styles.js.map +1 -0
- package/dist/esm/components/DatePicker/datePickerClasses.js +8 -0
- package/dist/esm/components/DatePicker/datePickerClasses.js.map +1 -0
- package/dist/esm/components/DatePicker/useVisibleDate.js +193 -0
- package/dist/esm/components/DatePicker/useVisibleDate.js.map +1 -0
- package/dist/esm/components/DatePicker/utils.js +32 -0
- package/dist/esm/components/DatePicker/utils.js.map +1 -0
- package/dist/esm/components/Dialog/Dialog.js +3 -7
- package/dist/esm/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/components/Dialog/Dialog.styles.js +33 -32
- package/dist/esm/components/Dialog/Dialog.styles.js.map +1 -1
- package/dist/esm/components/MultiButton/MultiButton.styles.js +2 -3
- package/dist/esm/components/MultiButton/MultiButton.styles.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +195 -0
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiButton.styles.js","sources":["../../../../src/components/MultiButton/MultiButton.styles.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport styled from \"@emotion/styled\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\nimport { CSSProperties } from \"react\";\nimport { transientOptions } from \"@core/utils/transientOptions\";\n\nexport const StyledRoot = styled(\n \"div\",\n transientOptions\n)(({ $vertical }: { $vertical: boolean }) => ({\n display: \"flex\",\n height: 32,\n alignItems: \"center\",\n transition: \"none\",\n background: theme.colors.atmo2,\n position: \"relative\",\n zIndex: 0,\n\n // prevent the focus ring to be hidden by sibling hover background\n \"&>.HvIsFocusVisible\": {\n zIndex: 5,\n },\n\n ...($vertical && {\n flexDirection: \"column\",\n height: \"auto\",\n btnSecondary: {\n flex: \"1 1 20px\",\n },\n \"& button.button\": {\n width: \"100%\",\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:hover\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n },\n },\n \"&:first-of-type\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: \"2px\",\n borderTopRightRadius: \"2px\",\n \"&:disabled:hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:last-child\": {\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderBottomLeftRadius: \"2px\",\n borderBottomRightRadius: \"2px\",\n \"&:disabled:hover\": {\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:not(:first-of-type)\": {\n marginLeft: 0,\n marginTop: -1,\n },\n \"&.selected\": {\n height: 32,\n width: `calc(100% + 2px) !important`,\n background: theme.colors.atmo1,\n ...(theme.typography.label as CSSProperties),\n borderRadius: theme.radii.base,\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover, &:focus\": {\n background: theme.colors.atmo3,\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n },\n }),\n}));\n\nexport const StyledButton = (Element) =>\n styled(({ className }) => (\n <Element.type\n {...Element.props}\n className={clsx(\n \"button\",\n Element.props.selected && \"selected\",\n className\n )}\n />\n ))({\n height: 32,\n width: \"100%\",\n minWidth: 32,\n maxWidth: 200,\n padding: 0,\n transition: \"none\",\n flex: \"1 0 0px\",\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n borderRadius: 0,\n backgroundColor: theme.colors.atmo2,\n \":disabled\": { backgroundColor: theme.multiButton.disabledBackgroundColor },\n \":hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n },\n ...(theme.typography.body as CSSProperties),\n \"&:active\": {\n backgroundColor: `${theme.colors.atmo3}`,\n },\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n \"&:hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n },\n },\n \"&:first-of-type\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: theme.radii.base,\n borderBottomLeftRadius: theme.radii.base,\n \"&:disabled:hover\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:last-child\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTopRightRadius: theme.radii.base,\n borderBottomRightRadius: theme.radii.base,\n \"&:disabled:hover\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:not(:first-of-type)\": {\n marginLeft: \"-1px\",\n },\n \"&.selected\": {\n background: theme.colors.atmo1,\n height: 34,\n ...(theme.typography.label as CSSProperties),\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover\": {\n background: theme.colors.atmo3,\n \"&:not(:disabled)\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n \"&:disabled\": {\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:first-of-type, &:last-child\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n\n // prevent the focus ring to be hidden by sibling hover background\n // even when selected\n \"&.HvIsFocusVisible\": {\n zIndex: 5,\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n });\n"],"names":["StyledRoot","process","env","NODE_ENV","_extends","target","transientOptions","label","$vertical","display","height","alignItems","transition","background","theme","colors","atmo2","position","zIndex","flexDirection","btnSecondary","flex","width","borderLeft","atmo4","borderRight","borderTop","borderBottom","color","secondary_60","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","marginLeft","marginTop","atmo1","typography","borderRadius","radii","base","border","secondary","atmo3","StyledButton","Element","_styled","className","_jsx","type","props","clsx","selected","minWidth","maxWidth","padding","backgroundColor","multiButton","disabledBackgroundColor","body"],"mappings":";;;;;;;;;;;;;;;;;;;AAMaA,MAAAA,qCACX,OAAKC,QAAAC,IAAAC,4BAAAC,SAAA,IAAA;AAAA,EAAAC,QAAA;AAAA,GACLC,gBAAgB,IAAAF,SAAA,IAAA;AAAA,EAAAC,QAAA;AAAA,EAAAE,OAAA;AAAA,GAAhBD,gBAAgB,CACjB,EAAC,CAAC;AAAA,EAAEE;AAAkC,OAAO;AAAA,EAC5CC,SAAS;AAAA,EACTC,QAAQ;AAAA,EACRC,YAAY;AAAA,EACZC,YAAY;AAAA,EACZC,YAAYC,MA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AAA,MACTL,YAAYC,MAAMC,OAAO4B;AAAAA,MACzB,oBAAoB;AAAA,QAClBF,QAAS,aAAY3B,MAAMC,OAAO2B;AAAAA,MACpC;AAAA,MACA,cAAc;AAAA,QACZD,QAAS,aAAY3B,MAAMC,OAAOS;AAAAA,MACpC;AAAA,IACF;AAAA,IACA,iCAAiC;AAAA,MAC/BiB,QAAS,aAAY3B,MAAMC,OAAO2B;AAAAA,IACpC;AAAA;AAAA;AAAA,IAIA,sBAAsB;AAAA,MACpBxB,QAAQ;AAAA,IACV;AAAA,IACA,cAAc;AAAA,MACZA,QAAQ;AAAA,MACRU,OAAOd,MAAMC,OAAOc;AAAAA,MACpBhB,YAAYC,MAAMC,OAAOqB;AAAAA,MACzBK,QAAS,aAAY3B,MAAMC,OAAOS;AAAAA,IACpC;AAAA,EACF;AACF,GAACvB,QAAAC,IAAAC,aAAC,eAAA,KAAA,ixQAAA;"}
|
|
1
|
+
{"version":3,"file":"MultiButton.styles.js","sources":["../../../../src/components/MultiButton/MultiButton.styles.tsx"],"sourcesContent":["import { clsx } from \"clsx\";\nimport styled from \"@emotion/styled\";\nimport { theme } from \"@hitachivantara/uikit-styles\";\nimport { CSSProperties } from \"react\";\nimport { transientOptions } from \"@core/utils/transientOptions\";\n\nexport const StyledRoot = styled(\n \"div\",\n transientOptions\n)(({ $vertical }: { $vertical: boolean }) => ({\n display: \"flex\",\n height: 32,\n alignItems: \"center\",\n transition: \"none\",\n background: theme.colors.atmo2,\n position: \"relative\",\n zIndex: 0,\n\n // prevent the focus ring to be hidden by sibling hover background\n \"&>.HvIsFocusVisible\": {\n zIndex: 5,\n },\n\n ...($vertical && {\n flexDirection: \"column\",\n height: \"auto\",\n btnSecondary: {\n flex: \"1 1 20px\",\n },\n \"& button.button\": {\n width: \"100%\",\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n \"&:hover\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTop: \"solid 1px transparent\",\n borderBottom: \"solid 1px transparent\",\n },\n },\n \"&:first-of-type\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: \"2px\",\n borderTopRightRadius: \"2px\",\n \"&:disabled:hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:last-child\": {\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderBottomLeftRadius: \"2px\",\n borderBottomRightRadius: \"2px\",\n \"&:disabled:hover\": {\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:not(:first-of-type)\": {\n marginLeft: 0,\n marginTop: -1,\n },\n \"&.selected\": {\n height: 32,\n width: `calc(100% + 2px) !important`,\n background: theme.colors.atmo1,\n ...(theme.typography.label as CSSProperties),\n borderRadius: theme.radii.base,\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover, &:focus\": {\n background: theme.colors.atmo3,\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n },\n }),\n}));\n\nexport const StyledButton = (Element) =>\n styled(({ className }) => (\n <Element.type\n {...Element.props}\n className={clsx(\n \"button\",\n Element.props.selected && \"selected\",\n className\n )}\n />\n ))({\n height: 32,\n width: \"100%\",\n minWidth: 32,\n maxWidth: 200,\n transition: \"none\",\n flex: \"1 0 0px\",\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n borderRadius: 0,\n backgroundColor: theme.colors.atmo2,\n \":disabled\": { backgroundColor: theme.multiButton.disabledBackgroundColor },\n \":hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n },\n ...(theme.typography.body as CSSProperties),\n \"&:active\": {\n backgroundColor: `${theme.colors.atmo3}`,\n },\n \"&:disabled\": {\n color: theme.colors.secondary_60,\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n \"&:hover\": {\n borderTop: `solid 1px ${theme.colors.atmo4}`,\n borderBottom: `solid 1px ${theme.colors.atmo4}`,\n borderLeft: \"solid 1px transparent\",\n borderRight: \"solid 1px transparent\",\n },\n },\n \"&:first-of-type\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n borderTopLeftRadius: theme.radii.base,\n borderBottomLeftRadius: theme.radii.base,\n \"&:disabled:hover\": {\n borderLeft: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:last-child\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n borderTopRightRadius: theme.radii.base,\n borderBottomRightRadius: theme.radii.base,\n \"&:disabled:hover\": {\n borderRight: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:not(:first-of-type)\": {\n marginLeft: \"-1px\",\n },\n \"&.selected\": {\n background: theme.colors.atmo1,\n height: 34,\n ...(theme.typography.label as CSSProperties),\n border: `solid 1px ${theme.colors.secondary}`,\n zIndex: 2,\n \"&:hover\": {\n background: theme.colors.atmo3,\n \"&:not(:disabled)\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n \"&:disabled\": {\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n \"&:first-of-type, &:last-child\": {\n border: `solid 1px ${theme.colors.secondary}`,\n },\n\n // prevent the focus ring to be hidden by sibling hover background\n // even when selected\n \"&.HvIsFocusVisible\": {\n zIndex: 5,\n },\n \"&:disabled\": {\n zIndex: 1,\n color: theme.colors.secondary_60,\n background: theme.colors.atmo1,\n border: `solid 1px ${theme.colors.atmo4}`,\n },\n },\n });\n"],"names":["StyledRoot","process","env","NODE_ENV","_extends","target","transientOptions","label","$vertical","display","height","alignItems","transition","background","theme","colors","atmo2","position","zIndex","flexDirection","btnSecondary","flex","width","borderLeft","atmo4","borderRight","borderTop","borderBottom","color","secondary_60","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","marginLeft","marginTop","atmo1","typography","borderRadius","radii","base","border","secondary","atmo3","StyledButton","Element","_styled","className","_jsx","type","props","clsx","selected","minWidth","maxWidth","backgroundColor","multiButton","disabledBackgroundColor","body"],"mappings":";;;;;;;;;;;;;;;;;;;AAMaA,MAAAA,qCACX,OAAKC,QAAAC,IAAAC,4BAAAC,SAAA,IAAA;AAAA,EAAAC,QAAA;AAAA,GACLC,gBAAgB,IAAAF,SAAA,IAAA;AAAA,EAAAC,QAAA;AAAA,EAAAE,OAAA;AAAA,GAAhBD,gBAAgB,CACjB,EAAC,CAAC;AAAA,EAAEE;AAAkC,OAAO;AAAA,EAC5CC,SAAS;AAAA,EACTC,QAAQ;AAAA,EACRC,YAAY;AAAA,EACZC,YAAY;AAAA,EACZC,YAAYC,MAAMC,OAAOC;AAAAA,EACzBC,UAAU;AAAA,EACVC,QAAQ;AAAA;AAAA,EAGR,uBAAuB;AAAA,IACrBA,QAAQ;AAAA,EACV;AAAA,EAEA,GAAIV,aAAa;AAAA,IACfW,eAAe;AAAA,IACfT,QAAQ;AAAA,IACRU,cAAc;AAAA,MACZC,MAAM;AAAA,IACR;AAAA,IACA,mBAAmB;AAAA,MACjBC,OAAO;AAAA,MACPC,YAAa,aAAYT,MAAMC,OAAOS;AAAAA,MACtCC,aAAc,aAAYX,MAAMC,OAAOS;AAAAA,MACvCE,WAAW;AAAA,MACXC,cAAc;AAAA,MACd,cAAc;AAA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pBhB,YAAYC,MAAMC,OAAOqB;AAAAA,MACzBK,QAAS,aAAY3B,MAAMC,OAAOS;AAAAA,IACpC;AAAA,EACF;AACF,GAACvB,QAAAC,IAAAC,aAAC,eAAA,KAAA,yvQAAA;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -230,6 +230,7 @@ import { default as default119 } from "./components/Slider/sliderClasses.js";
|
|
|
230
230
|
import { HvSlider } from "./components/Slider/Slider.js";
|
|
231
231
|
import { default as default120 } from "./components/FilterGroup/filterGroupClasses.js";
|
|
232
232
|
import { HvFilterGroup } from "./components/FilterGroup/FilterGroup.js";
|
|
233
|
+
import { HvDatePicker } from "./components/DatePicker/DatePicker.js";
|
|
233
234
|
import { default as default121 } from "./hooks/useUniqueId.js";
|
|
234
235
|
import { default as default122 } from "./hooks/useIsMounted.js";
|
|
235
236
|
import { useClickOutside } from "./hooks/useClickOutside.js";
|
|
@@ -294,6 +295,7 @@ export {
|
|
|
294
295
|
HvContainer,
|
|
295
296
|
HvControls,
|
|
296
297
|
default101 as HvDateColumnCell,
|
|
298
|
+
HvDatePicker,
|
|
297
299
|
HvDialog,
|
|
298
300
|
HvDialogActions,
|
|
299
301
|
HvDialogContent,
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1505,6 +1505,7 @@ export declare const HvButton: React_2.ForwardRefExoticComponent<HvButtonProps &
|
|
|
1505
1505
|
export declare interface HvButtonClasses {
|
|
1506
1506
|
root?: string;
|
|
1507
1507
|
startIcon?: string;
|
|
1508
|
+
endIcon?: string;
|
|
1508
1509
|
focusVisible?: string;
|
|
1509
1510
|
}
|
|
1510
1511
|
|
|
@@ -1517,6 +1518,8 @@ export declare interface HvButtonProps extends React_2.ButtonHTMLAttributes<HTML
|
|
|
1517
1518
|
className?: string;
|
|
1518
1519
|
/** Element placed before the children. */
|
|
1519
1520
|
startIcon?: ReactElement;
|
|
1521
|
+
/** Element placed after the children. */
|
|
1522
|
+
endIcon?: ReactElement;
|
|
1520
1523
|
/** Button size. */
|
|
1521
1524
|
size?: HvButtonSize;
|
|
1522
1525
|
/** Button border radius. */
|
|
@@ -2140,6 +2143,198 @@ declare interface HvDateColumnCellProp {
|
|
|
2140
2143
|
date?: string;
|
|
2141
2144
|
}
|
|
2142
2145
|
|
|
2146
|
+
/**
|
|
2147
|
+
* A date picker, popup calendar or date range picker is a graphical user
|
|
2148
|
+
* interface widget which allows the user to select a date from a calendar.
|
|
2149
|
+
*/
|
|
2150
|
+
export declare const HvDatePicker: ({ classes, className, id, name, required, disabled, readOnly, label, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, description, "aria-describedby": ariaDescribedBy, onChange, onCancel, onClear, status, statusMessage, "aria-errormessage": ariaErrorMessage, placeholder, labels: labelsProp, value, startValue, endValue, rangeMode, startAdornment, horizontalPlacement, locale: localeProp, showActions, showClear, disablePortal, escapeWithReference, dropdownProps, calendarProps, ...others }: HvDatePickerProps) => JSX_2.Element;
|
|
2151
|
+
|
|
2152
|
+
declare type HvDatePickerClasses = {
|
|
2153
|
+
root?: string;
|
|
2154
|
+
labelContainer?: string;
|
|
2155
|
+
label?: string;
|
|
2156
|
+
description?: string;
|
|
2157
|
+
error?: string;
|
|
2158
|
+
placeholder?: string;
|
|
2159
|
+
selectionDisabled?: string;
|
|
2160
|
+
dropdown?: string;
|
|
2161
|
+
panel?: string;
|
|
2162
|
+
action?: string;
|
|
2163
|
+
icon?: string;
|
|
2164
|
+
dropdownHeader?: string;
|
|
2165
|
+
dropdownHeaderInvalid?: string;
|
|
2166
|
+
dropdownHeaderOpen?: string;
|
|
2167
|
+
actionContainer?: string;
|
|
2168
|
+
leftContainer?: string;
|
|
2169
|
+
rightContainer?: string;
|
|
2170
|
+
};
|
|
2171
|
+
|
|
2172
|
+
export declare interface HvDatePickerProps extends HvBaseProps<HTMLDivElement, {
|
|
2173
|
+
onChange: any;
|
|
2174
|
+
}> {
|
|
2175
|
+
/**
|
|
2176
|
+
* Class names to be applied.
|
|
2177
|
+
*/
|
|
2178
|
+
className?: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* A Jss Object used to override or extend the component styles applied.
|
|
2181
|
+
*/
|
|
2182
|
+
classes?: HvDatePickerClasses;
|
|
2183
|
+
/**
|
|
2184
|
+
* Id to be applied to the form element root node.
|
|
2185
|
+
*/
|
|
2186
|
+
id?: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* The form element name.
|
|
2189
|
+
*/
|
|
2190
|
+
name?: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* The label of the form element.
|
|
2193
|
+
*
|
|
2194
|
+
* The form element must be labeled for accessibility reasons.
|
|
2195
|
+
* If not provided, an aria-label or aria-labelledby must be provided instead.
|
|
2196
|
+
*/
|
|
2197
|
+
label?: React.ReactNode;
|
|
2198
|
+
/**
|
|
2199
|
+
* @ignore
|
|
2200
|
+
*/
|
|
2201
|
+
"aria-label"?: string;
|
|
2202
|
+
/**
|
|
2203
|
+
* @ignore
|
|
2204
|
+
*/
|
|
2205
|
+
"aria-labelledby"?: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* Provide additional descriptive text for the form element.
|
|
2208
|
+
*/
|
|
2209
|
+
description?: React.ReactNode;
|
|
2210
|
+
/**
|
|
2211
|
+
* @ignore
|
|
2212
|
+
*/
|
|
2213
|
+
"aria-describedby"?: string;
|
|
2214
|
+
/**
|
|
2215
|
+
* The placeholder value when nothing is selected.
|
|
2216
|
+
*/
|
|
2217
|
+
placeholder?: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* Indicates that the form element is disabled.
|
|
2220
|
+
*/
|
|
2221
|
+
disabled?: boolean;
|
|
2222
|
+
/**
|
|
2223
|
+
* Indicates that user input is required on the form element.
|
|
2224
|
+
*/
|
|
2225
|
+
required?: boolean;
|
|
2226
|
+
/**
|
|
2227
|
+
* The status of the form element.
|
|
2228
|
+
*
|
|
2229
|
+
* Valid is correct, invalid is incorrect and standBy means no validations have run.
|
|
2230
|
+
*
|
|
2231
|
+
* When uncontrolled and unspecified it will default to "standBy" and change to either "valid"
|
|
2232
|
+
* or "invalid" after any change to the state.
|
|
2233
|
+
*/
|
|
2234
|
+
status?: HvDatePickerStatus;
|
|
2235
|
+
/**
|
|
2236
|
+
* The error message to show when the validation status is "invalid".
|
|
2237
|
+
*
|
|
2238
|
+
* Defaults to "Required" when the status is uncontrolled and no `aria-errormessage` is provided.
|
|
2239
|
+
*/
|
|
2240
|
+
statusMessage?: React.ReactNode;
|
|
2241
|
+
/**
|
|
2242
|
+
* Identifies the element that provides an error message for the date picker.
|
|
2243
|
+
*
|
|
2244
|
+
* Will only be used when the validation status is invalid.
|
|
2245
|
+
*/
|
|
2246
|
+
"aria-errormessage"?: string;
|
|
2247
|
+
/**
|
|
2248
|
+
* The callback fired when the value changes.
|
|
2249
|
+
*/
|
|
2250
|
+
onChange?: (date?: Date, endDate?: Date) => void;
|
|
2251
|
+
/**
|
|
2252
|
+
* The callback fired when user clicks on cancel.
|
|
2253
|
+
*/
|
|
2254
|
+
onCancel?: () => void;
|
|
2255
|
+
/**
|
|
2256
|
+
* The callback fired when user clicks on clear.
|
|
2257
|
+
*/
|
|
2258
|
+
onClear?: () => void;
|
|
2259
|
+
/**
|
|
2260
|
+
* An object containing all the labels for the datepicker.
|
|
2261
|
+
*/
|
|
2262
|
+
labels?: {
|
|
2263
|
+
/**
|
|
2264
|
+
* Apply button label.
|
|
2265
|
+
*/
|
|
2266
|
+
applyLabel?: string;
|
|
2267
|
+
/**
|
|
2268
|
+
* Cancel button label.
|
|
2269
|
+
*/
|
|
2270
|
+
cancelLabel?: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Clear button label.
|
|
2273
|
+
*/
|
|
2274
|
+
clearLabel?: string;
|
|
2275
|
+
};
|
|
2276
|
+
/**
|
|
2277
|
+
* The initial value of the input when in single calendar mode.
|
|
2278
|
+
*/
|
|
2279
|
+
value?: Date;
|
|
2280
|
+
/**
|
|
2281
|
+
* The initial value for the start date when in range mode.
|
|
2282
|
+
*/
|
|
2283
|
+
startValue?: Date;
|
|
2284
|
+
/**
|
|
2285
|
+
* The initial value for the end date when in range mode.
|
|
2286
|
+
*/
|
|
2287
|
+
endValue?: Date;
|
|
2288
|
+
/**
|
|
2289
|
+
* Flag informing if the the component should be in range mode or in single mode.
|
|
2290
|
+
*/
|
|
2291
|
+
rangeMode?: boolean;
|
|
2292
|
+
/**
|
|
2293
|
+
* The placement where the calendar should be placed according to the input. Options are `left` or `right`.
|
|
2294
|
+
* Note this prop only affects the calendar when in `rangeMode`.
|
|
2295
|
+
*/
|
|
2296
|
+
horizontalPlacement?: "left" | "right";
|
|
2297
|
+
/**
|
|
2298
|
+
* The calendar locale. If undefined, it uses calendar default
|
|
2299
|
+
*/
|
|
2300
|
+
locale?: string;
|
|
2301
|
+
/**
|
|
2302
|
+
* Controls if actions buttons are visible at the calendar.
|
|
2303
|
+
*/
|
|
2304
|
+
showActions?: boolean;
|
|
2305
|
+
/**
|
|
2306
|
+
* Controls if clear button is visible at the calendar,
|
|
2307
|
+
* only works if showing actions or in range mode.
|
|
2308
|
+
*/
|
|
2309
|
+
showClear?: boolean;
|
|
2310
|
+
/**
|
|
2311
|
+
* Disable the portal behavior. The children stay within it's parent DOM hierarchy.
|
|
2312
|
+
*/
|
|
2313
|
+
disablePortal?: boolean;
|
|
2314
|
+
/**
|
|
2315
|
+
* Sets if the calendar container should follow the date picker input out of the screen or stay visible.
|
|
2316
|
+
*/
|
|
2317
|
+
escapeWithReference?: boolean;
|
|
2318
|
+
/**
|
|
2319
|
+
* An element placed before the Calendar
|
|
2320
|
+
*/
|
|
2321
|
+
startAdornment?: React.ReactNode;
|
|
2322
|
+
/**
|
|
2323
|
+
* An object containing props to be passed onto the baseDropdown.
|
|
2324
|
+
*/
|
|
2325
|
+
dropdownProps?: Object;
|
|
2326
|
+
/**
|
|
2327
|
+
* If `true` the DatePicker will be in read only mode, unable to be interacted.
|
|
2328
|
+
*/
|
|
2329
|
+
readOnly?: boolean;
|
|
2330
|
+
/**
|
|
2331
|
+
* Additional props passed to the HvCalendar component.
|
|
2332
|
+
*/
|
|
2333
|
+
calendarProps?: Partial<HvCalendarProps>;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
export declare type HvDatePickerStatus = "standBy" | "valid" | "invalid";
|
|
2337
|
+
|
|
2143
2338
|
export declare const HvDialog: ({ classes, className, id, children, open, onClose, firstFocusable, buttonTitle, fullscreen, disableBackdropClick, ...others }: HvDialogProps) => JSX_2.Element;
|
|
2144
2339
|
|
|
2145
2340
|
export declare interface HvDialogActionClasses {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Core React components for the NEXT Design System.",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@emotion/cache": "^11.10.5",
|
|
33
|
-
"@hitachivantara/uikit-react-icons": "^5.1.
|
|
34
|
-
"@hitachivantara/uikit-react-shared": "^5.0.
|
|
35
|
-
"@hitachivantara/uikit-styles": "^5.
|
|
33
|
+
"@hitachivantara/uikit-react-icons": "^5.1.2",
|
|
34
|
+
"@hitachivantara/uikit-react-shared": "^5.0.6",
|
|
35
|
+
"@hitachivantara/uikit-styles": "^5.3.0",
|
|
36
36
|
"@popperjs/core": "^2.11.6",
|
|
37
37
|
"@types/react-table": "^7.7.14",
|
|
38
38
|
"attr-accept": "^2.2.2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"access": "public",
|
|
57
57
|
"directory": "package"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "316624f40b96d6dcc8b40ed71b50cbc3c4371335",
|
|
60
60
|
"main": "dist/cjs/index.cjs",
|
|
61
61
|
"exports": {
|
|
62
62
|
".": {
|