@activecollab/components 1.0.235 → 1.0.236
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.js.map +1 -1
- package/dist/cjs/components/Pressed/Pressed.js +1 -0
- package/dist/cjs/components/Pressed/Pressed.js.map +1 -1
- package/dist/esm/components/Accordion/Accordion.d.ts +8 -0
- package/dist/esm/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/esm/components/Accordion/AccordionItem.d.ts +3 -0
- package/dist/esm/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/esm/components/Accordion/AccordionItemBody.d.ts +2 -0
- package/dist/esm/components/Accordion/AccordionItemBody.d.ts.map +1 -1
- package/dist/esm/components/Accordion/AccordionItemHead.d.ts +2 -0
- package/dist/esm/components/Accordion/AccordionItemHead.d.ts.map +1 -1
- package/dist/esm/components/Autocomplete/Autocomplete.d.ts +18 -0
- package/dist/esm/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/dist/esm/components/Avatar/Avatar.d.ts +4 -0
- package/dist/esm/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/esm/components/Bubble/Bubble.d.ts +6 -0
- package/dist/esm/components/Bubble/Bubble.d.ts.map +1 -1
- package/dist/esm/components/Button/AddToListButton/AddToListButton.d.ts +2 -0
- package/dist/esm/components/Button/AddToListButton/AddToListButton.d.ts.map +1 -1
- package/dist/esm/components/Button/Button.d.ts +24 -5
- package/dist/esm/components/Button/Button.d.ts.map +1 -1
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/GlobalAddButton/GlobalAddButton.d.ts +2 -0
- package/dist/esm/components/Button/GlobalAddButton/GlobalAddButton.d.ts.map +1 -1
- package/dist/esm/components/Card/Card.d.ts +3 -0
- package/dist/esm/components/Card/Card.d.ts.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.d.ts +6 -0
- package/dist/esm/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/esm/components/Choose/Choose.d.ts +7 -0
- package/dist/esm/components/Choose/Choose.d.ts.map +1 -1
- package/dist/esm/components/ComboBox/ComboBox.d.ts +14 -0
- package/dist/esm/components/ComboBox/ComboBox.d.ts.map +1 -1
- package/dist/esm/components/CompleteCheckbox/CompleteCheckbox.d.ts +7 -0
- package/dist/esm/components/CompleteCheckbox/CompleteCheckbox.d.ts.map +1 -1
- package/dist/esm/components/CounterButton/CounterButton.d.ts +7 -0
- package/dist/esm/components/CounterButton/CounterButton.d.ts.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.d.ts +7 -0
- package/dist/esm/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/esm/components/EditableContent/EditableContent.d.ts +5 -0
- package/dist/esm/components/EditableContent/EditableContent.d.ts.map +1 -1
- package/dist/esm/components/EditableText/EditableText.d.ts +3 -0
- package/dist/esm/components/EditableText/EditableText.d.ts.map +1 -1
- package/dist/esm/components/Entity/EntityCard.d.ts +4 -0
- package/dist/esm/components/Entity/EntityCard.d.ts.map +1 -1
- package/dist/esm/components/Expanders/ExpanderInterface.d.ts +4 -0
- package/dist/esm/components/Expanders/ExpanderInterface.d.ts.map +1 -1
- package/dist/esm/components/Filter/Filter.d.ts +9 -0
- package/dist/esm/components/Filter/Filter.d.ts.map +1 -1
- package/dist/esm/components/Header/Header.d.ts +3 -0
- package/dist/esm/components/Header/Header.d.ts.map +1 -1
- package/dist/esm/components/IconButton/IconButton.d.ts +18 -0
- package/dist/esm/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/esm/components/Input/Input.d.ts +1 -0
- package/dist/esm/components/Input/Input.d.ts.map +1 -1
- package/dist/esm/components/Links/BackLink.d.ts +5 -0
- package/dist/esm/components/Links/BackLink.d.ts.map +1 -1
- package/dist/esm/components/Links/Link.d.ts +8 -0
- package/dist/esm/components/Links/Link.d.ts.map +1 -1
- package/dist/esm/components/List/List.d.ts +1 -0
- package/dist/esm/components/List/List.d.ts.map +1 -1
- package/dist/esm/components/Loaders/Spinner/SpinnerLoader.d.ts +6 -0
- package/dist/esm/components/Loaders/Spinner/SpinnerLoader.d.ts.map +1 -1
- package/dist/esm/components/Menu/Menu.d.ts +15 -0
- package/dist/esm/components/Menu/Menu.d.ts.map +1 -1
- package/dist/esm/components/MenuSelector/MenuSelector.d.ts +10 -0
- package/dist/esm/components/MenuSelector/MenuSelector.d.ts.map +1 -1
- package/dist/esm/components/MultiAvatar/MultiAvatar.d.ts +4 -0
- package/dist/esm/components/MultiAvatar/MultiAvatar.d.ts.map +1 -1
- package/dist/esm/components/Nav/Item/Item.d.ts +3 -0
- package/dist/esm/components/Nav/Item/Item.d.ts.map +1 -1
- package/dist/esm/components/Nav/Nav.d.ts +7 -0
- package/dist/esm/components/Nav/Nav.d.ts.map +1 -1
- package/dist/esm/components/Paper/Paper.d.ts +10 -0
- package/dist/esm/components/Paper/Paper.d.ts.map +1 -1
- package/dist/esm/components/Popper/Popper.d.ts +6 -0
- package/dist/esm/components/Popper/Popper.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Pressed.d.ts +5 -0
- package/dist/esm/components/Pressed/Pressed.d.ts.map +1 -1
- package/dist/esm/components/Pressed/Pressed.js +1 -0
- package/dist/esm/components/Pressed/Pressed.js.map +1 -1
- package/dist/esm/components/ProgressBar/ProgressBar.d.ts +5 -0
- package/dist/esm/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts +8 -0
- package/dist/esm/components/ProgressRing/ProgressRing.d.ts.map +1 -1
- package/dist/esm/components/RadioButton/RadioButton.d.ts +3 -0
- package/dist/esm/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/esm/components/ScaleBar/ScaleBar.d.ts +2 -0
- package/dist/esm/components/ScaleBar/ScaleBar.d.ts.map +1 -1
- package/dist/esm/components/ScrollShadow/ScrollShadow.d.ts +8 -0
- package/dist/esm/components/ScrollShadow/ScrollShadow.d.ts.map +1 -1
- package/dist/esm/components/Select/Option/Option.d.ts +10 -0
- package/dist/esm/components/Select/Option/Option.d.ts.map +1 -1
- package/dist/esm/components/Select/OptionGroup/OptionGroup.d.ts +9 -0
- package/dist/esm/components/Select/OptionGroup/OptionGroup.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.d.ts +13 -0
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/SelectDate/DatePickerForm.d.ts +9 -0
- package/dist/esm/components/SelectDate/DatePickerForm.d.ts.map +1 -1
- package/dist/esm/components/SelectDate/SelectDate.d.ts +40 -0
- package/dist/esm/components/SelectDate/SelectDate.d.ts.map +1 -1
- package/dist/esm/components/Signifier/Signifier.d.ts +5 -0
- package/dist/esm/components/Signifier/Signifier.d.ts.map +1 -1
- package/dist/esm/components/Steppers/DateStepper/DateStepper.d.ts +20 -0
- package/dist/esm/components/Steppers/DateStepper/DateStepper.d.ts.map +1 -1
- package/dist/esm/components/Steppers/Steps/Steps.d.ts +4 -0
- package/dist/esm/components/Steppers/Steps/Steps.d.ts.map +1 -1
- package/dist/esm/components/Tables/DataTable.d.ts +15 -0
- package/dist/esm/components/Tables/DataTable.d.ts.map +1 -1
- package/dist/esm/components/Tables/Table.d.ts +5 -0
- package/dist/esm/components/Tables/Table.d.ts.map +1 -1
- package/dist/esm/components/Toggle/Toggle.d.ts +2 -0
- package/dist/esm/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.d.ts +11 -0
- package/dist/esm/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/esm/components/Typography/Typography.d.ts +15 -0
- package/dist/esm/components/Typography/Typography.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body1.d.ts +1 -0
- package/dist/esm/components/Typography/Variants/Body1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Body2.d.ts +1 -0
- package/dist/esm/components/Typography/Variants/Body2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption1.d.ts +1 -0
- package/dist/esm/components/Typography/Variants/Caption1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Caption2.d.ts +1 -0
- package/dist/esm/components/Typography/Variants/Caption2.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Title1.d.ts +1 -0
- package/dist/esm/components/Typography/Variants/Title1.d.ts.map +1 -1
- package/dist/esm/components/Typography/Variants/Title2.d.ts +1 -0
- package/dist/esm/components/Typography/Variants/Title2.d.ts.map +1 -1
- package/dist/esm/components/ValueButton/ValueButton.d.ts +5 -0
- package/dist/esm/components/ValueButton/ValueButton.d.ts.map +1 -1
- package/dist/esm/utils/types.d.ts +25 -0
- package/dist/esm/utils/types.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","names":["Button","forwardRef","ref","children","active","variant","size","className","args","classnames","Object","Array","map","value","index","displayName"],"sources":["../../../../src/components/Button/Button.tsx"],"sourcesContent":["import React, {\n
|
|
1
|
+
{"version":3,"file":"Button.js","names":["Button","forwardRef","ref","children","active","variant","size","className","args","classnames","Object","Array","map","value","index","displayName"],"sources":["../../../../src/components/Button/Button.tsx"],"sourcesContent":["import React, {\n ComponentPropsWithoutRef,\n forwardRef,\n PropsWithChildren,\n} from \"react\";\nimport classnames from \"classnames\";\nimport {\n StyledButton,\n StyledButtonElement,\n StyledButtonElements,\n} from \"./Styles\";\n\nexport interface ButtonProps extends ComponentPropsWithoutRef<\"button\"> {\n /** Types of a button. */\n variant?:\n | \"primary\"\n | \"secondary\"\n | \"tertiary\"\n | \"option\"\n | \"contained\"\n | \"outlined\"\n | \"text colored\"\n | \"text gray\"\n | \"dark transparent\"\n | \"circle raised\";\n /** Button size dictates the height. */\n size?: \"big\" | \"small\" | \"medium\";\n /** Active or pressed state. */\n active?: boolean;\n}\n/**\n * @component Button\n * @description\n * Button component is used to trigger an action or event, such as submitting a form,\n * opening a Dialog, canceling an action, or performing a delete operation.\n *\n * @prop {variant} - adds unique look and feel to button.\n * @prop {size} - controls the size of a button.\n * @prop {active} - adds active/pressed state to a button.\n *\n * @example\n * return (\n * <Button className=\"mr-2\" variant=\"primary\" size=\"big\">\n * Save\n * </Button>\n * )\n * @see\n * https://system.activecollab.com/?path=/story/components-button-indicators-button--button\n */\nexport const Button = forwardRef<\n HTMLButtonElement,\n PropsWithChildren<ButtonProps>\n>(\n (\n {\n children,\n active = false,\n variant = \"contained\",\n size = \"medium\",\n className,\n ...args\n },\n ref\n ) => {\n return (\n <StyledButton\n className={classnames(\"c-btn\", className, {\n \"c-btn--contained\": variant === \"primary\" || variant === \"contained\",\n \"c-btn--outlined\": variant === \"secondary\" || variant === \"outlined\",\n \"c-btn--text_colored\":\n variant === \"tertiary\" || variant === \"text colored\",\n \"c-btn--text_gray\": variant === \"option\" || variant === \"text gray\",\n \"c-btn--dark_transparent\": variant === \"dark transparent\",\n \"c-btn--circle-raised\": variant === \"circle raised\",\n \"c-btn--big\": size === \"big\",\n \"c-btn--small\": size === \"small\",\n \"c-btn--icon-only\":\n children instanceof Object && !(children instanceof Array),\n })}\n iconOnly={children instanceof Object && !(children instanceof Array)}\n variant={variant}\n active={active}\n size={size}\n ref={ref}\n {...args}\n >\n {children instanceof Array ? (\n <StyledButtonElements className=\"c-btn__elements\">\n {children.map((value, index) =>\n value ? (\n <StyledButtonElement\n className=\"c-btn__elements__element\"\n key={index}\n >\n {value}\n </StyledButtonElement>\n ) : null\n )}\n </StyledButtonElements>\n ) : (\n children\n )}\n </StyledButton>\n );\n }\n);\n\nButton.displayName = \"Button\";\n"],"mappings":";;;;;;;AAAA;AAKA;AACA;AAIkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBlB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,MAAM,gBAAG,IAAAC,iBAAU,EAI9B,gBASEC,GAAG,EACA;EAAA,IARDC,QAAQ,QAARA,QAAQ;IAAA,mBACRC,MAAM;IAANA,MAAM,4BAAG,KAAK;IAAA,oBACdC,OAAO;IAAPA,OAAO,6BAAG,WAAW;IAAA,iBACrBC,IAAI;IAAJA,IAAI,0BAAG,QAAQ;IACfC,SAAS,QAATA,SAAS;IACNC,IAAI;EAIT,oBACE,6BAAC,oBAAY;IACX,SAAS,EAAE,IAAAC,mBAAU,EAAC,OAAO,EAAEF,SAAS,EAAE;MACxC,kBAAkB,EAAEF,OAAO,KAAK,SAAS,IAAIA,OAAO,KAAK,WAAW;MACpE,iBAAiB,EAAEA,OAAO,KAAK,WAAW,IAAIA,OAAO,KAAK,UAAU;MACpE,qBAAqB,EACnBA,OAAO,KAAK,UAAU,IAAIA,OAAO,KAAK,cAAc;MACtD,kBAAkB,EAAEA,OAAO,KAAK,QAAQ,IAAIA,OAAO,KAAK,WAAW;MACnE,yBAAyB,EAAEA,OAAO,KAAK,kBAAkB;MACzD,sBAAsB,EAAEA,OAAO,KAAK,eAAe;MACnD,YAAY,EAAEC,IAAI,KAAK,KAAK;MAC5B,cAAc,EAAEA,IAAI,KAAK,OAAO;MAChC,kBAAkB,EAChBH,QAAQ,YAAYO,MAAM,IAAI,EAAEP,QAAQ,YAAYQ,KAAK;IAC7D,CAAC,CAAE;IACH,QAAQ,EAAER,QAAQ,YAAYO,MAAM,IAAI,EAAEP,QAAQ,YAAYQ,KAAK,CAAE;IACrE,OAAO,EAAEN,OAAQ;IACjB,MAAM,EAAED,MAAO;IACf,IAAI,EAAEE,IAAK;IACX,GAAG,EAAEJ;EAAI,GACLM,IAAI,GAEPL,QAAQ,YAAYQ,KAAK,gBACxB,6BAAC,4BAAoB;IAAC,SAAS,EAAC;EAAiB,GAC9CR,QAAQ,CAACS,GAAG,CAAC,UAACC,KAAK,EAAEC,KAAK;IAAA,OACzBD,KAAK,gBACH,6BAAC,2BAAmB;MAClB,SAAS,EAAC,0BAA0B;MACpC,GAAG,EAAEC;IAAM,GAEVD,KAAK,CACc,GACpB,IAAI;EAAA,EACT,CACoB,GAEvBV,QACD,CACY;AAEnB,CAAC,CACF;AAAC;AAEFH,MAAM,CAACe,WAAW,GAAG,QAAQ"}
|
|
@@ -17,6 +17,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
17
17
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
18
18
|
/**
|
|
19
19
|
* Pressed wrapper for button component
|
|
20
|
+
* @deprecated
|
|
20
21
|
*/
|
|
21
22
|
var Pressed = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
22
23
|
var children = _ref.children,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressed.js","names":["Pressed","forwardRef","ref","children","active","className","args","classNames","displayName"],"sources":["../../../../src/components/Pressed/Pressed.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport classNames from \"classnames\";\nimport { ButtonProps } from \"../Button\";\nimport { StyledPressed } from \"./Styles\";\n\nexport interface PressedProps extends ButtonProps {\n /** Set active state */\n active?: boolean;\n}\n\n/**\n * Pressed wrapper for button component\n */\nexport const Pressed = forwardRef<HTMLButtonElement, PressedProps>(\n ({ children, active = false, className, ...args }, ref) => {\n return (\n <StyledPressed\n active={active}\n ref={ref}\n className={classNames({ \"c-pressed__active\": active }, className)}\n {...args}\n >\n {children}\n </StyledPressed>\n );\n }\n);\n\nPressed.displayName = \"Pressed\";\n"],"mappings":";;;;;;;AAAA;AACA;AAEA;AAAyC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOzC;AACA;AACA;AACO,IAAMA,OAAO,gBAAG,IAAAC,iBAAU,EAC/B,gBAAmDC,GAAG,EAAK;EAAA,IAAxDC,QAAQ,QAARA,QAAQ;IAAA,mBAAEC,MAAM;IAANA,MAAM,4BAAG,KAAK;IAAEC,SAAS,QAATA,SAAS;IAAKC,IAAI;EAC7C,oBACE,6BAAC,qBAAa;IACZ,MAAM,EAAEF,MAAO;IACf,GAAG,EAAEF,GAAI;IACT,SAAS,EAAE,IAAAK,mBAAU,EAAC;MAAE,mBAAmB,EAAEH;IAAO,CAAC,EAAEC,SAAS;EAAE,GAC9DC,IAAI,GAEPH,QAAQ,CACK;AAEpB,CAAC,CACF;AAAC;AAEFH,OAAO,CAACQ,WAAW,GAAG,SAAS"}
|
|
1
|
+
{"version":3,"file":"Pressed.js","names":["Pressed","forwardRef","ref","children","active","className","args","classNames","displayName"],"sources":["../../../../src/components/Pressed/Pressed.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport classNames from \"classnames\";\nimport { ButtonProps } from \"../Button\";\nimport { StyledPressed } from \"./Styles\";\n\nexport interface PressedProps extends ButtonProps {\n /** Set active state */\n active?: boolean;\n}\n\n/**\n * Pressed wrapper for button component\n * @deprecated\n */\nexport const Pressed = forwardRef<HTMLButtonElement, PressedProps>(\n ({ children, active = false, className, ...args }, ref) => {\n return (\n <StyledPressed\n active={active}\n ref={ref}\n className={classNames({ \"c-pressed__active\": active }, className)}\n {...args}\n >\n {children}\n </StyledPressed>\n );\n }\n);\n\nPressed.displayName = \"Pressed\";\n"],"mappings":";;;;;;;AAAA;AACA;AAEA;AAAyC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOzC;AACA;AACA;AACA;AACO,IAAMA,OAAO,gBAAG,IAAAC,iBAAU,EAC/B,gBAAmDC,GAAG,EAAK;EAAA,IAAxDC,QAAQ,QAARA,QAAQ;IAAA,mBAAEC,MAAM;IAANA,MAAM,4BAAG,KAAK;IAAEC,SAAS,QAATA,SAAS;IAAKC,IAAI;EAC7C,oBACE,6BAAC,qBAAa;IACZ,MAAM,EAAEF,MAAO;IACf,GAAG,EAAEF,GAAI;IACT,SAAS,EAAE,IAAAK,mBAAU,EAAC;MAAE,mBAAmB,EAAEH;IAAO,CAAC,EAAEC,SAAS;EAAE,GAC9DC,IAAI,GAEPH,QAAQ,CACK;AAEpB,CAAC,CACF;AAAC;AAEFH,OAAO,CAACQ,WAAW,GAAG,SAAS"}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import React, { FC, ReactNodeArray, ReactNode } from "react";
|
|
2
2
|
export interface IAccordion {
|
|
3
|
+
/** Children type of node or string */
|
|
3
4
|
children: ReactNodeArray;
|
|
5
|
+
/** ClassName */
|
|
4
6
|
className?: string;
|
|
7
|
+
/** Could all items be collapsed */
|
|
5
8
|
allowZeroExpanded?: boolean;
|
|
9
|
+
/** Could more than one item be expanded */
|
|
6
10
|
allowMultipleExpanded?: boolean;
|
|
11
|
+
/** Callback function that will be called with id of the accordion item that was clicked */
|
|
7
12
|
onChange?: (itemId: string) => void;
|
|
13
|
+
/** List of item id's that are expanded on initial render */
|
|
8
14
|
preExpanded?: string[];
|
|
15
|
+
/** Do not show the toggle icon in the AccordionItemHead component */
|
|
9
16
|
disableToggleIcon?: boolean;
|
|
17
|
+
/** Custom toggle icon to replace the default one */
|
|
10
18
|
customToggleIcon?: ReactNode;
|
|
11
19
|
}
|
|
12
20
|
export interface IAccordionContextType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,EAAE,EACF,cAAc,EAGd,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,UAAU;
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,EAAE,EACF,cAAc,EAGd,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,UAAU;IACzB,sCAAsC;IACtC,QAAQ,EAAE,cAAc,CAAC;IACzB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2CAA2C;IAC3C,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,qEAAqE;IACrE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,gBAAgB,6CAC4B,CAAC;AAE1D,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,UAAU,CAkDpC,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React, { FC, ReactNode } from "react";
|
|
2
2
|
export interface IAccordionItem {
|
|
3
|
+
/** Children type of node or string */
|
|
3
4
|
children: ReactNode;
|
|
5
|
+
/** ClassName */
|
|
4
6
|
className?: string;
|
|
7
|
+
/** Id of the accordion item */
|
|
5
8
|
id?: string;
|
|
6
9
|
}
|
|
7
10
|
export interface IItemContext {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAKlE,MAAM,WAAW,cAAc;
|
|
1
|
+
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAKlE,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,eAAO,MAAM,WAAW,oCAAmD,CAAC;AAE5E,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CA6B5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItemBody.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItemBody.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAO/E,MAAM,WAAW,kBAAkB;
|
|
1
|
+
{"version":3,"file":"AccordionItemBody.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItemBody.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAO/E,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,QAAQ,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,kBAAkB,CAqCpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItemHead.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItemHead.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAW/E,MAAM,WAAW,kBAAkB;
|
|
1
|
+
{"version":3,"file":"AccordionItemHead.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItemHead.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAW/E,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,QAAQ,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,gBAAgB;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,kBAAkB,CAqDpD,CAAC"}
|
|
@@ -3,23 +3,41 @@ import { IOptionItemProps } from "../Select/Option";
|
|
|
3
3
|
import { IOptionGroupProps } from "../Select/OptionGroup";
|
|
4
4
|
export declare function isOptionGroup(item: IOptionGroupProps | IOptionItemProps): item is IOptionGroupProps;
|
|
5
5
|
export interface IAutocompleteProps {
|
|
6
|
+
/** Select type: single or multiple */
|
|
6
7
|
type?: "single" | "multiple";
|
|
8
|
+
/** List of options or group options */
|
|
7
9
|
options?: (IOptionGroupProps | IOptionItemProps)[];
|
|
10
|
+
/** Selected values */
|
|
8
11
|
selected?: (string | number)[] | string | number;
|
|
12
|
+
/** Input Element. */
|
|
9
13
|
inputEl?: HTMLInputElement | null;
|
|
14
|
+
/** Text for empty value */
|
|
10
15
|
emptyValue?: string;
|
|
16
|
+
/** Text for No result */
|
|
11
17
|
noResultText?: string;
|
|
18
|
+
/** Render option */
|
|
12
19
|
renderOption?: (option: Record<string, ReactNode>, data: Record<string, unknown>) => string | ReactElement;
|
|
20
|
+
/** Default value that renders on top of list */
|
|
13
21
|
defaultValue?: string;
|
|
22
|
+
/** Sort direction for labels */
|
|
14
23
|
sortDirection?: "asc" | "desc";
|
|
24
|
+
/** handleChange callback */
|
|
15
25
|
handleChange?: (e: (string | number)[] | string | number | null | undefined) => void;
|
|
26
|
+
/** ClassName for single option */
|
|
16
27
|
optionClassName?: string;
|
|
28
|
+
/** handleEmptyAction */
|
|
17
29
|
handleEmptyAction?: (e: string | number) => void;
|
|
30
|
+
/** Disable sorting options */
|
|
18
31
|
disabledInternalSort?: boolean;
|
|
32
|
+
/** ClassName for Autocomplete component */
|
|
19
33
|
AutocompleteClassName?: string;
|
|
34
|
+
/** handleDefaultOptionChange callback */
|
|
20
35
|
handleDefaultOptionChange?: () => void;
|
|
36
|
+
/** Should default value be selected */
|
|
21
37
|
preselectDefaultValue?: boolean;
|
|
38
|
+
/** Should order stay the same after choosing an option */
|
|
22
39
|
keepSameOptionsOrder?: boolean;
|
|
40
|
+
/** Set max height property for scrollbars */
|
|
23
41
|
autoHeightMax?: number;
|
|
24
42
|
}
|
|
25
43
|
export declare const Autocomplete: FC<IAutocompleteProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,EAAE,EAMF,SAAS,EACT,YAAY,EACb,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,gBAAgB,EAAU,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAQvE,wBAAgB,aAAa,CAC3B,IAAI,EAAE,iBAAiB,GAAG,gBAAgB,GACzC,IAAI,IAAI,iBAAiB,CAE3B;AAED,MAAM,WAAW,kBAAkB;
|
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,EAAE,EAMF,SAAS,EACT,YAAY,EACb,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,gBAAgB,EAAU,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAe,MAAM,uBAAuB,CAAC;AAQvE,wBAAgB,aAAa,CAC3B,IAAI,EAAE,iBAAiB,GAAG,gBAAgB,GACzC,IAAI,IAAI,iBAAiB,CAE3B;AAED,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC7B,uCAAuC;IACvC,OAAO,CAAC,EAAE,CAAC,iBAAiB,GAAG,gBAAgB,CAAC,EAAE,CAAC;IACnD,sBAAsB;IACtB,QAAQ,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM,GAAG,MAAM,CAAC;IACjD,qBAAqB;IACrB,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAClC,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB;IACpB,YAAY,CAAC,EAAE,CACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,EACjC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC1B,MAAM,GAAG,YAAY,CAAC;IAC3B,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gCAAgC;IAChC,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B,4BAA4B;IAC5B,YAAY,CAAC,EAAE,CACb,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,KACxD,IAAI,CAAC;IACV,kCAAkC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wBAAwB;IACxB,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACjD,8BAA8B;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,2CAA2C;IAC3C,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,yCAAyC;IACzC,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,uCAAuC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,0DAA0D;IAC1D,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,6CAA6C;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAOD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,kBAAkB,CA6b/C,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface IAvatar extends React.ComponentPropsWithoutRef<"img"> {
|
|
3
|
+
/** Path url. */
|
|
3
4
|
url: string;
|
|
5
|
+
/** Alt text. */
|
|
4
6
|
alt?: string;
|
|
7
|
+
/** Image size. */
|
|
5
8
|
size?: number;
|
|
9
|
+
/** Custom class. */
|
|
6
10
|
className?: string;
|
|
7
11
|
}
|
|
8
12
|
export declare const Avatar: React.ForwardRefExoticComponent<IAvatar & React.RefAttributes<HTMLImageElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,MAAM,WAAW,OAAQ,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,MAAM,WAAW,OAAQ,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACpE,gBAAgB;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,kFAclB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
2
|
export interface BreadcrumbsProps {
|
|
3
|
+
/** Separator element */
|
|
3
4
|
separator?: ReactElement | string;
|
|
4
5
|
}
|
|
5
6
|
export declare const Breadcrumbs: React.ForwardRefExoticComponent<BreadcrumbsProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "slot" | "style" | "title" | "key" | "css" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "cs" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tw">, "separator"> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,YAAY,EAKb,MAAM,OAAO,CAAC;AAcf,MAAM,WAAW,gBAAgB;
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../src/components/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,YAAY,EAKb,MAAM,OAAO,CAAC;AAcf,MAAM,WAAW,gBAAgB;IAC/B,wBAAwB;IACxB,SAAS,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;CACnC;AAED,eAAO,MAAM,WAAW,qsJAiJtB,CAAC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, MouseEvent, ReactNode, RefObject } from "react";
|
|
2
2
|
export interface IBubble {
|
|
3
|
+
/** Children element. */
|
|
3
4
|
children: ReactNode;
|
|
5
|
+
/** Class names. */
|
|
4
6
|
className?: string;
|
|
7
|
+
/** Ref object for Bubble. */
|
|
5
8
|
innerRef?: RefObject<HTMLDivElement>;
|
|
9
|
+
/** Bubble styles. */
|
|
6
10
|
style?: object;
|
|
11
|
+
/** On click on bubble. */
|
|
7
12
|
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
13
|
+
/** On mouse down event. */
|
|
8
14
|
onMouseDown?: (event: MouseEvent<HTMLElement>) => void;
|
|
9
15
|
}
|
|
10
16
|
export declare const Bubble: FC<IBubble & HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../src/components/Bubble/Bubble.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,EAAE,EACF,cAAc,EACd,UAAU,EACV,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,OAAO;
|
|
1
|
+
{"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../src/components/Bubble/Bubble.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,EAAE,EACF,cAAc,EACd,UAAU,EACV,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,OAAO;IACtB,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,mBAAmB;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,2BAA2B;IAC3B,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CACxD;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,OAAO,GAAG,cAAc,CAAC,cAAc,CAAC,CAiB/D,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React, { ButtonHTMLAttributes } from "react";
|
|
2
2
|
export interface IAddToListButton extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** Text to display */
|
|
3
4
|
text: string;
|
|
5
|
+
/** CSS classes */
|
|
4
6
|
className?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const AddToListButton: React.ForwardRefExoticComponent<IAddToListButton & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddToListButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/AddToListButton/AddToListButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAQhE,MAAM,WAAW,gBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"AddToListButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/AddToListButton/AddToListButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAQhE,MAAM,WAAW,gBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,4FAa3B,CAAC"}
|
|
@@ -1,13 +1,32 @@
|
|
|
1
1
|
import React, { ComponentPropsWithoutRef } from "react";
|
|
2
|
-
declare type ButtonVariants = "primary" | "secondary" | "tertiary" | "option" | "contained" | "outlined" | "text colored" | "text gray" | "dark transparent" | "circle raised";
|
|
3
|
-
declare type ButtonSize = "big" | "small" | "medium";
|
|
4
2
|
export interface ButtonProps extends ComponentPropsWithoutRef<"button"> {
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
/** Types of a button. */
|
|
4
|
+
variant?: "primary" | "secondary" | "tertiary" | "option" | "contained" | "outlined" | "text colored" | "text gray" | "dark transparent" | "circle raised";
|
|
5
|
+
/** Button size dictates the height. */
|
|
6
|
+
size?: "big" | "small" | "medium";
|
|
7
|
+
/** Active or pressed state. */
|
|
7
8
|
active?: boolean;
|
|
8
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* @component Button
|
|
12
|
+
* @description
|
|
13
|
+
* Button component is used to trigger an action or event, such as submitting a form,
|
|
14
|
+
* opening a Dialog, canceling an action, or performing a delete operation.
|
|
15
|
+
*
|
|
16
|
+
* @prop {variant} - adds unique look and feel to button.
|
|
17
|
+
* @prop {size} - controls the size of a button.
|
|
18
|
+
* @prop {active} - adds active/pressed state to a button.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* return (
|
|
22
|
+
* <Button className="mr-2" variant="primary" size="big">
|
|
23
|
+
* Save
|
|
24
|
+
* </Button>
|
|
25
|
+
* )
|
|
26
|
+
* @see
|
|
27
|
+
* https://system.activecollab.com/?path=/story/components-button-indicators-button--button
|
|
28
|
+
*/
|
|
9
29
|
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & {
|
|
10
30
|
children?: React.ReactNode;
|
|
11
31
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
export {};
|
|
13
32
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,wBAAwB,EAGzB,MAAM,OAAO,CAAC;AAQf,MAAM,WAAW,WAAY,SAAQ,wBAAwB,CAAC,QAAQ,CAAC;IACrE,yBAAyB;IACzB,OAAO,CAAC,EACJ,SAAS,GACT,WAAW,GACX,UAAU,GACV,QAAQ,GACR,WAAW,GACX,UAAU,GACV,cAAc,GACd,WAAW,GACX,kBAAkB,GAClB,eAAe,CAAC;IACpB,uCAAuC;IACvC,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IAClC,+BAA+B;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,MAAM;;2CAwDlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","names":["React","forwardRef","classnames","StyledButton","StyledButtonElement","StyledButtonElements","Button","ref","children","active","variant","size","className","args","Object","Array","map","value","index","displayName"],"sources":["../../../../src/components/Button/Button.tsx"],"sourcesContent":["import React, {\n
|
|
1
|
+
{"version":3,"file":"Button.js","names":["React","forwardRef","classnames","StyledButton","StyledButtonElement","StyledButtonElements","Button","ref","children","active","variant","size","className","args","Object","Array","map","value","index","displayName"],"sources":["../../../../src/components/Button/Button.tsx"],"sourcesContent":["import React, {\n ComponentPropsWithoutRef,\n forwardRef,\n PropsWithChildren,\n} from \"react\";\nimport classnames from \"classnames\";\nimport {\n StyledButton,\n StyledButtonElement,\n StyledButtonElements,\n} from \"./Styles\";\n\nexport interface ButtonProps extends ComponentPropsWithoutRef<\"button\"> {\n /** Types of a button. */\n variant?:\n | \"primary\"\n | \"secondary\"\n | \"tertiary\"\n | \"option\"\n | \"contained\"\n | \"outlined\"\n | \"text colored\"\n | \"text gray\"\n | \"dark transparent\"\n | \"circle raised\";\n /** Button size dictates the height. */\n size?: \"big\" | \"small\" | \"medium\";\n /** Active or pressed state. */\n active?: boolean;\n}\n/**\n * @component Button\n * @description\n * Button component is used to trigger an action or event, such as submitting a form,\n * opening a Dialog, canceling an action, or performing a delete operation.\n *\n * @prop {variant} - adds unique look and feel to button.\n * @prop {size} - controls the size of a button.\n * @prop {active} - adds active/pressed state to a button.\n *\n * @example\n * return (\n * <Button className=\"mr-2\" variant=\"primary\" size=\"big\">\n * Save\n * </Button>\n * )\n * @see\n * https://system.activecollab.com/?path=/story/components-button-indicators-button--button\n */\nexport const Button = forwardRef<\n HTMLButtonElement,\n PropsWithChildren<ButtonProps>\n>(\n (\n {\n children,\n active = false,\n variant = \"contained\",\n size = \"medium\",\n className,\n ...args\n },\n ref\n ) => {\n return (\n <StyledButton\n className={classnames(\"c-btn\", className, {\n \"c-btn--contained\": variant === \"primary\" || variant === \"contained\",\n \"c-btn--outlined\": variant === \"secondary\" || variant === \"outlined\",\n \"c-btn--text_colored\":\n variant === \"tertiary\" || variant === \"text colored\",\n \"c-btn--text_gray\": variant === \"option\" || variant === \"text gray\",\n \"c-btn--dark_transparent\": variant === \"dark transparent\",\n \"c-btn--circle-raised\": variant === \"circle raised\",\n \"c-btn--big\": size === \"big\",\n \"c-btn--small\": size === \"small\",\n \"c-btn--icon-only\":\n children instanceof Object && !(children instanceof Array),\n })}\n iconOnly={children instanceof Object && !(children instanceof Array)}\n variant={variant}\n active={active}\n size={size}\n ref={ref}\n {...args}\n >\n {children instanceof Array ? (\n <StyledButtonElements className=\"c-btn__elements\">\n {children.map((value, index) =>\n value ? (\n <StyledButtonElement\n className=\"c-btn__elements__element\"\n key={index}\n >\n {value}\n </StyledButtonElement>\n ) : null\n )}\n </StyledButtonElements>\n ) : (\n children\n )}\n </StyledButton>\n );\n }\n);\n\nButton.displayName = \"Button\";\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAEVC,UAAU,QAEL,OAAO;AACd,OAAOC,UAAU,MAAM,YAAY;AACnC,SACEC,YAAY,EACZC,mBAAmB,EACnBC,oBAAoB,QACf,UAAU;AAoBjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMC,MAAM,gBAAGL,UAAU,CAI9B,gBASEM,GAAG,EACA;EAAA,IARDC,QAAQ,QAARA,QAAQ;IAAA,mBACRC,MAAM;IAANA,MAAM,4BAAG,KAAK;IAAA,oBACdC,OAAO;IAAPA,OAAO,6BAAG,WAAW;IAAA,iBACrBC,IAAI;IAAJA,IAAI,0BAAG,QAAQ;IACfC,SAAS,QAATA,SAAS;IACNC,IAAI;EAIT,oBACE,oBAAC,YAAY;IACX,SAAS,EAAEX,UAAU,CAAC,OAAO,EAAEU,SAAS,EAAE;MACxC,kBAAkB,EAAEF,OAAO,KAAK,SAAS,IAAIA,OAAO,KAAK,WAAW;MACpE,iBAAiB,EAAEA,OAAO,KAAK,WAAW,IAAIA,OAAO,KAAK,UAAU;MACpE,qBAAqB,EACnBA,OAAO,KAAK,UAAU,IAAIA,OAAO,KAAK,cAAc;MACtD,kBAAkB,EAAEA,OAAO,KAAK,QAAQ,IAAIA,OAAO,KAAK,WAAW;MACnE,yBAAyB,EAAEA,OAAO,KAAK,kBAAkB;MACzD,sBAAsB,EAAEA,OAAO,KAAK,eAAe;MACnD,YAAY,EAAEC,IAAI,KAAK,KAAK;MAC5B,cAAc,EAAEA,IAAI,KAAK,OAAO;MAChC,kBAAkB,EAChBH,QAAQ,YAAYM,MAAM,IAAI,EAAEN,QAAQ,YAAYO,KAAK;IAC7D,CAAC,CAAE;IACH,QAAQ,EAAEP,QAAQ,YAAYM,MAAM,IAAI,EAAEN,QAAQ,YAAYO,KAAK,CAAE;IACrE,OAAO,EAAEL,OAAQ;IACjB,MAAM,EAAED,MAAO;IACf,IAAI,EAAEE,IAAK;IACX,GAAG,EAAEJ;EAAI,GACLM,IAAI,GAEPL,QAAQ,YAAYO,KAAK,gBACxB,oBAAC,oBAAoB;IAAC,SAAS,EAAC;EAAiB,GAC9CP,QAAQ,CAACQ,GAAG,CAAC,UAACC,KAAK,EAAEC,KAAK;IAAA,OACzBD,KAAK,gBACH,oBAAC,mBAAmB;MAClB,SAAS,EAAC,0BAA0B;MACpC,GAAG,EAAEC;IAAM,GAEVD,KAAK,CACc,GACpB,IAAI;EAAA,EACT,CACoB,GAEvBT,QACD,CACY;AAEnB,CAAC,CACF;AAEDF,MAAM,CAACa,WAAW,GAAG,QAAQ"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React, { ButtonHTMLAttributes } from "react";
|
|
2
2
|
export interface IGlobalAddButton extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** Disabled prop */
|
|
3
4
|
disabled?: boolean;
|
|
5
|
+
/** CSS classes */
|
|
4
6
|
className?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const GlobalAddButton: React.ForwardRefExoticComponent<IGlobalAddButton & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalAddButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/GlobalAddButton/GlobalAddButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAKhE,MAAM,WAAW,gBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"GlobalAddButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/GlobalAddButton/GlobalAddButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAKhE,MAAM,WAAW,gBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/C,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,4FAc3B,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React, { Ref } from "react";
|
|
2
2
|
export interface ICardProps {
|
|
3
|
+
/** Choose if card should be hoverable or not */
|
|
3
4
|
hoverable?: boolean;
|
|
5
|
+
/** Set the type of the Paper */
|
|
4
6
|
paperType?: "paper-1" | "paper-2";
|
|
7
|
+
/** Ref element */
|
|
5
8
|
ref?: Ref<HTMLDivElement>;
|
|
6
9
|
}
|
|
7
10
|
export declare const Card: React.ForwardRefExoticComponent<Pick<React.HTMLAttributes<HTMLDivElement> & ICardProps, keyof React.HTMLAttributes<HTMLDivElement> | "hoverable" | "paperType"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,GAAG,EAA8B,MAAM,OAAO,CAAC;AAI/D,MAAM,WAAW,UAAU;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,GAAG,EAA8B,MAAM,OAAO,CAAC;AAI/D,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gCAAgC;IAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,kBAAkB;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B;AAED,eAAO,MAAM,IAAI,wMAwBhB,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import React, { BaseHTMLAttributes } from "react";
|
|
2
2
|
export interface ICheckboxProps extends BaseHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
/** CSS classes */
|
|
3
4
|
className?: string;
|
|
5
|
+
/** Set hover style */
|
|
4
6
|
hover?: boolean;
|
|
7
|
+
/** Id of input and for of label */
|
|
5
8
|
id?: string;
|
|
6
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Checkbox component
|
|
12
|
+
*/
|
|
7
13
|
export declare const Checkbox: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & ICheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
8
14
|
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEZ,kBAAkB,EAGnB,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,cAAe,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEZ,kBAAkB,EAGnB,MAAM,OAAO,CAAC;AAKf,MAAM,WAAW,cAAe,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mCAAmC;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,uIAmCpB,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { FC, BaseHTMLAttributes, ReactElement } from "react";
|
|
2
2
|
export interface IChooseProps extends BaseHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** Children type of node or string */
|
|
3
4
|
children: ReactElement | string;
|
|
5
|
+
/** Disabled prop */
|
|
4
6
|
disabled?: boolean;
|
|
7
|
+
/** Active prop */
|
|
5
8
|
active?: boolean;
|
|
9
|
+
/** CSS classes */
|
|
6
10
|
className?: string;
|
|
7
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Choose component
|
|
14
|
+
*/
|
|
8
15
|
export declare const Choose: FC<IChooseProps>;
|
|
9
16
|
//# sourceMappingURL=Choose.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Choose.d.ts","sourceRoot":"","sources":["../../../../src/components/Choose/Choose.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIpE,MAAM,WAAW,YAAa,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Choose.d.ts","sourceRoot":"","sources":["../../../../src/components/Choose/Choose.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIpE,MAAM,WAAW,YAAa,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IACzE,sCAAsC;IACtC,QAAQ,EAAE,YAAY,GAAG,MAAM,CAAC;IAChC,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,YAAY,CAiBnC,CAAC"}
|
|
@@ -3,19 +3,33 @@ import { IAutocompleteProps } from "../Autocomplete/Autocomplete";
|
|
|
3
3
|
import { IOptionItemProps } from "../Select";
|
|
4
4
|
import { InputSize } from "../Input/types";
|
|
5
5
|
export interface IComboBoxProps extends Omit<IAutocompleteProps, "handleChange" | "inputEl"> {
|
|
6
|
+
/** Set combobox in to loading state */
|
|
6
7
|
loading?: boolean;
|
|
8
|
+
/** Text to display while in loading state */
|
|
7
9
|
loadingText?: string;
|
|
10
|
+
/** onChange callback */
|
|
8
11
|
onChange?: (e: (string | number)[] | string | number | null | undefined) => void;
|
|
12
|
+
/** Placeholder for Select input */
|
|
9
13
|
placeholder?: string;
|
|
14
|
+
/** disable Input element */
|
|
10
15
|
disabled?: boolean;
|
|
16
|
+
/** Combobox size */
|
|
11
17
|
size?: InputSize;
|
|
18
|
+
/** Invalid state */
|
|
12
19
|
invalid?: boolean;
|
|
20
|
+
/** Render Chip */
|
|
13
21
|
renderChip?: <T extends IOptionItemProps>(item: T, key?: string | number) => JSX.Element;
|
|
22
|
+
/** Close menu on change */
|
|
14
23
|
forceCloseMenu?: boolean;
|
|
24
|
+
/** Limit chips */
|
|
15
25
|
limitChips?: number;
|
|
26
|
+
/** Hidden number text */
|
|
16
27
|
hiddenNumberText?: (hidden: number) => string;
|
|
28
|
+
/** Render Autocomplete in <Portal> */
|
|
17
29
|
inPortal?: boolean;
|
|
30
|
+
/** inputWrapperClassName */
|
|
18
31
|
inputWrapperClassName?: string;
|
|
32
|
+
/** scrollWrapper */
|
|
19
33
|
scrollWrapper?: boolean;
|
|
20
34
|
}
|
|
21
35
|
export declare const ComboBox: FC<IComboBoxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBox.d.ts","sourceRoot":"","sources":["../../../../src/components/ComboBox/ComboBox.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,EAAE,EAOH,MAAM,OAAO,CAAC;AAIf,OAAO,EACL,kBAAkB,EAEnB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAqB,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAWhE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAc3C,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,cAAc,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ComboBox.d.ts","sourceRoot":"","sources":["../../../../src/components/ComboBox/ComboBox.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,EAAE,EAOH,MAAM,OAAO,CAAC;AAIf,OAAO,EACL,kBAAkB,EAEnB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAqB,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAWhE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAc3C,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC5D,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,CACT,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,KACxD,IAAI,CAAC;IACV,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB;IAClB,UAAU,CAAC,EAAE,CAAC,CAAC,SAAS,gBAAgB,EACtC,IAAI,EAAE,CAAC,EACP,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,KAClB,GAAG,CAAC,OAAO,CAAC;IACjB,2BAA2B;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9C,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4BAA4B;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oBAAoB;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,cAAc,CAidvC,CAAC"}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { FC, MouseEvent } from "react";
|
|
2
2
|
export interface ICompleteCheckboxProps {
|
|
3
|
+
/** Change completed state of checkbox */
|
|
3
4
|
completed?: boolean;
|
|
5
|
+
/** Callback */
|
|
4
6
|
onClick?: (event: MouseEvent) => void;
|
|
7
|
+
/** Make component disabled for interaction */
|
|
5
8
|
disabled?: boolean;
|
|
9
|
+
/** Animation (works only when is completed and not disabled) */
|
|
6
10
|
animate?: boolean;
|
|
11
|
+
/** Class names */
|
|
7
12
|
className?: string | undefined;
|
|
13
|
+
/** Set green color for checkbox */
|
|
8
14
|
primary?: boolean;
|
|
15
|
+
/** Set checkmark height and width */
|
|
9
16
|
checkMarkClassName?: string;
|
|
10
17
|
}
|
|
11
18
|
export declare const CompleteCheckbox: FC<ICompleteCheckboxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompleteCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,WAAW,sBAAsB;
|
|
1
|
+
{"version":3,"file":"CompleteCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/CompleteCheckbox/CompleteCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAI9C,MAAM,WAAW,sBAAsB;IACrC,yCAAyC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,sBAAsB,CAyBvD,CAAC"}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
2
|
export interface ICounterButtonProps {
|
|
3
|
+
/** Set active state */
|
|
3
4
|
active?: boolean;
|
|
5
|
+
/** Label for value */
|
|
4
6
|
label?: string;
|
|
7
|
+
/** Icon */
|
|
5
8
|
icon?: ReactElement;
|
|
9
|
+
/** Number of applied filters */
|
|
6
10
|
counter?: number;
|
|
11
|
+
/** OnClearAll callback */
|
|
7
12
|
onClearAll: (event?: any) => void;
|
|
13
|
+
/** Tooltip content */
|
|
8
14
|
tooltipText?: string;
|
|
15
|
+
/** Applies passed classes */
|
|
9
16
|
className?: string;
|
|
10
17
|
}
|
|
11
18
|
export declare const CounterButton: React.ForwardRefExoticComponent<ICounterButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CounterButton.d.ts","sourceRoot":"","sources":["../../../../src/components/CounterButton/CounterButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,YAAY,EAAE,MAAM,OAAO,CAAC;AAYxD,MAAM,WAAW,mBAAmB;
|
|
1
|
+
{"version":3,"file":"CounterButton.d.ts","sourceRoot":"","sources":["../../../../src/components/CounterButton/CounterButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,YAAY,EAAE,MAAM,OAAO,CAAC;AAYxD,MAAM,WAAW,mBAAmB;IAClC,uBAAuB;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW;IACX,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,UAAU,EAAE,CAAC,KAAK,CAAC,KAAA,KAAK,IAAI,CAAC;IAC7B,sBAAsB;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,4FA8DzB,CAAC"}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { DayPickerProps, RangeModifier, DayModifiers } from "react-day-picker";
|
|
3
3
|
export interface IDatePicker extends DayPickerProps {
|
|
4
|
+
/** Calls when value is picked */
|
|
4
5
|
onChange?: (dates?: {
|
|
5
6
|
from: Date;
|
|
6
7
|
to: Date;
|
|
7
8
|
}) => void;
|
|
9
|
+
/** Called when day is clicked */
|
|
8
10
|
onDayClick?: (day: Date, modifiers: DayModifiers) => void;
|
|
11
|
+
/** Set selected day or days */
|
|
9
12
|
selectedDays?: RangeModifier;
|
|
13
|
+
/** Set selection range */
|
|
10
14
|
selectionMode?: string;
|
|
15
|
+
/** Set is date required */
|
|
11
16
|
dateRequired?: boolean;
|
|
17
|
+
/** Set first day of week */
|
|
12
18
|
firstDayOfWeek?: number;
|
|
19
|
+
/** Set fixed number of weeks in month */
|
|
13
20
|
fixedWeeks?: boolean;
|
|
14
21
|
}
|
|
15
22
|
export declare const DatePicker: FC<IDatePicker>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAC7E,OAAO,EACL,cAAc,EAEd,aAAa,EAEb,YAAY,EACb,MAAM,kBAAkB,CAAC;AAY1B,MAAM,WAAW,WAAY,SAAQ,cAAc;
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAC7E,OAAO,EACL,cAAc,EAEd,aAAa,EAEb,YAAY,EACb,MAAM,kBAAkB,CAAC;AAY1B,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,iCAAiC;IACjC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,EAAE,EAAE,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IACtD,iCAAiC;IACjC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1D,+BAA+B;IAC/B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,0BAA0B;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4BAA4B;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,WAAW,CAgYtC,CAAC"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import React, { Ref } from "react";
|
|
2
2
|
import { Variant } from "../Typography/Typography";
|
|
3
3
|
export interface EditableContentInterface {
|
|
4
|
+
/** Typography variant. */
|
|
4
5
|
variant?: Variant;
|
|
6
|
+
/** Typography weight. */
|
|
5
7
|
weight?: "light" | "regular" | "bold" | "medium";
|
|
8
|
+
/** Input props. */
|
|
6
9
|
inputProps?: Partial<React.ComponentPropsWithoutRef<"input">>;
|
|
10
|
+
/** Disable edit mode. */
|
|
7
11
|
disabled?: boolean;
|
|
12
|
+
/** Wrapper reference. */
|
|
8
13
|
wrapRef?: Ref<HTMLDivElement>;
|
|
9
14
|
}
|
|
10
15
|
export declare const EditableContent: React.ForwardRefExoticComponent<EditableContentInterface & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "key" | "css" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "cs" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tw">, keyof EditableContentInterface> & React.RefAttributes<HTMLDivElement>>;
|