@spaziodati/atoka-design-system 2.1.3 → 2.1.4
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/AddableItems/index.js +2 -2
- package/AddableItems/index.js.map +1 -1
- package/Alert/index.js +2 -2
- package/Alert/index.js.map +1 -1
- package/Badge/index.js +2 -2
- package/Badge/index.js.map +1 -1
- package/Bs4V3Wrapper/index.js +2 -2
- package/Bs4V3Wrapper/index.js.map +1 -1
- package/BubbleChart/index.js +2 -2
- package/BubbleChart/index.js.map +1 -1
- package/Button/index.js +2 -2
- package/Button/index.js.map +1 -1
- package/ButtonDropdown/index.js +2 -2
- package/ButtonDropdown/index.js.map +1 -1
- package/CardsPage/index.js +2 -2
- package/CardsPage/index.js.map +1 -1
- package/CursorPagination/index.js +2 -2
- package/CursorPagination/index.js.map +1 -1
- package/DatePicker/index.js +2 -2
- package/DatePicker/index.js.map +1 -1
- package/DetailPage/index.js +581 -555
- package/DetailPage/index.js.map +1 -1
- package/Dropdown/index.js +2 -2
- package/Dropdown/index.js.map +1 -1
- package/EditableString/index.js +581 -555
- package/EditableString/index.js.map +1 -1
- package/EllipsableContent/index.js +2 -2
- package/EllipsableContent/index.js.map +1 -1
- package/EmptyState/index.js +2 -2
- package/EmptyState/index.js.map +1 -1
- package/Facet/index.js +2 -2
- package/Facet/index.js.map +1 -1
- package/FacetSection/index.js +2 -2
- package/FacetSection/index.js.map +1 -1
- package/FadeAnimation/index.js +581 -555
- package/FadeAnimation/index.js.map +1 -1
- package/FeedbackButton/index.js +2 -2
- package/FeedbackButton/index.js.map +1 -1
- package/Form/index.js +2 -2
- package/Form/index.js.map +1 -1
- package/Funnel/index.js +2 -2
- package/Funnel/index.js.map +1 -1
- package/GridCard/index.js +2 -2
- package/GridCard/index.js.map +1 -1
- package/HighlightableText/index.js +2 -2
- package/HighlightableText/index.js.map +1 -1
- package/Histogram/index.js +2 -2
- package/Histogram/index.js.map +1 -1
- package/InlineStringEditor/index.js +2 -2
- package/InlineStringEditor/index.js.map +1 -1
- package/InputGroup/index.js +2 -2
- package/InputGroup/index.js.map +1 -1
- package/Jumbotron/index.js +2 -2
- package/Jumbotron/index.js.map +1 -1
- package/Map/index.js +2 -2
- package/Map/index.js.map +1 -1
- package/Modal/index.js +2 -2
- package/Modal/index.js.map +1 -1
- package/Navbar/index.js +581 -555
- package/Navbar/index.js.map +1 -1
- package/Pagination/index.js +2 -2
- package/Pagination/index.js.map +1 -1
- package/PieChart/index.js +2 -2
- package/PieChart/index.js.map +1 -1
- package/PublicFooter/index.js +2 -2
- package/PublicFooter/index.js.map +1 -1
- package/PublicNavbar/index.js +2 -2
- package/PublicNavbar/index.js.map +1 -1
- package/README.md +5 -2
- package/RecordBit/index.js +2 -2
- package/RecordBit/index.js.map +1 -1
- package/ResultItemCard/index.js +2 -2
- package/ResultItemCard/index.js.map +1 -1
- package/SelectDropdown/index.js +2 -2
- package/SelectDropdown/index.js.map +1 -1
- package/Spinner/index.js +2 -2
- package/Spinner/index.js.map +1 -1
- package/StatisticsItemCard/index.js +2 -2
- package/StatisticsItemCard/index.js.map +1 -1
- package/StatisticsItemNumeric/index.js +2 -2
- package/StatisticsItemNumeric/index.js.map +1 -1
- package/StatisticsLegend/index.js +2 -2
- package/StatisticsLegend/index.js.map +1 -1
- package/StatisticsTooltip/index.js +2 -2
- package/StatisticsTooltip/index.js.map +1 -1
- package/Suggester/index.js +2 -2
- package/Suggester/index.js.map +1 -1
- package/SunBurst/index.js +2 -2
- package/SunBurst/index.js.map +1 -1
- package/TabSwitcher/index.js +2 -2
- package/TabSwitcher/index.js.map +1 -1
- package/Title/index.js +2 -2
- package/Title/index.js.map +1 -1
- package/Toasts/Toast.d.ts +41 -0
- package/Toasts/ToastContainer.d.ts +4 -0
- package/Toasts/ToastHeader.d.ts +7 -0
- package/Toasts/index.d.ts +2 -0
- package/Toasts/index.js +2236 -0
- package/Toasts/index.js.map +1 -0
- package/ToggleButtonGroup/index.js +2 -2
- package/ToggleButtonGroup/index.js.map +1 -1
- package/Tooltip/index.js +2 -2
- package/Tooltip/index.js.map +1 -1
- package/Utils/index.js +2 -2
- package/Utils/index.js.map +1 -1
- package/{atoka-design-system-2.1.3.min.css → atoka-design-system-2.1.4.min.css} +1 -1
- package/index.d.ts +1 -0
- package/index.js +1734 -755
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/atoka-bs.less +1 -1
- package/styles/variant-mixins.less +7 -7
package/TabSwitcher/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabSwitcher/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV0B;AACU;AACsC;AAEpD;AACyC;AAgC/D;;;;;;;;;;;;;;;;GAgBG;AACH,IAAM,KAAK,GAAkD,6BAAU,CAAC,UAAC,EAAuB;IAAtB,gBAAW,EAAX,IAAI,mBAAG,IAAI,OAAK,KAAK,cAAtB,QAAuB,CAAD;IAC3F,IAAM,SAAS,GAAW,6BAAU,CAC5B,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,EAChB,aAAa,EACb,aAAW,KAAK,CAAC,OAAO,SAAI,KAAK,CAAC,KAAO,EACzC,IAAI,CACP,EACD,aAAa,GAAW,6BAAU,CAAC;QAC/B,MAAM,EAAE,KAAK,CAAC,QAAQ,IAAI,IAAI;KACjC,CAAC,EACF,IAAI,GACA,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,uCAAC,kCAAe,IAAC,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,GAAI,CAAC;IAEpG,OAAO,CACH,uCAAC,iBAAO,IAAC,SAAS,EAAE,SAAS;QACxB,IAAI;QACJ,KAAK,CAAC,QAAQ,CACT,CACb,CAAC;AACN,CAAC,CAAC,CAAC;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AhG,GAA2G,OAAOJ,GAAzH;AACD,KAFD;AAGD;;AAED,SAAOD,OAAO,CAACC,GAAD,CAAd;AACD;;;;;;UCdD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Badge/Badge.tsx","webpack://atoka-design-system/./src/components/Badge/index.ts","webpack://atoka-design-system/./src/components/Form/FormLabel.tsx","webpack://atoka-design-system/./src/components/Form/FormCheckbox.tsx","webpack://atoka-design-system/./src/components/Form/FormRadio.tsx","webpack://atoka-design-system/./src/components/Form/FormHelp.tsx","webpack://atoka-design-system/./src/components/Form/Form.tsx","webpack://atoka-design-system/./src/components/Form/FormControlFeedBack.tsx","webpack://atoka-design-system/./src/components/Form/FormControl.tsx","webpack://atoka-design-system/./src/components/TabSwitcher/TabSwitcherChoice.tsx","webpack://atoka-design-system/./src/components/TabSwitcher/TabSwitcher.tsx","webpack://atoka-design-system/./src/components/TabSwitcher/index.ts","webpack://atoka-design-system/./src/components/Title/Title.tsx","webpack://atoka-design-system/./src/components/Title/index.ts","webpack://atoka-design-system/./src/components/Utils/Utils.tsx","webpack://atoka-design-system/./node_modules/autobind-decorator/lib/esm/index.js","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/Badge\"","webpack://atoka-design-system/external umd \"react-bootstrap/ButtonGroup\"","webpack://atoka-design-system/external umd \"react-bootstrap/Form\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormControl\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormText\"","webpack://atoka-design-system/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Badge\"), require(\"react-bootstrap/ButtonGroup\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Badge\", \"react-bootstrap/ButtonGroup\", \"react-bootstrap/Form\", \"react-bootstrap/FormControl\", \"react-bootstrap/FormText\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Badge\"), require(\"react-bootstrap/ButtonGroup\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/Badge\"], root[\"react-bootstrap/ButtonGroup\"], root[\"react-bootstrap/Form\"], root[\"react-bootstrap/FormControl\"], root[\"react-bootstrap/FormText\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6997__, __WEBPACK_EXTERNAL_MODULE__5901__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__) {\nreturn ","import React from 'react';\nimport classnames from 'classnames';\nimport BsBadge, {BadgeProps as BsBadgeProps} from 'react-bootstrap/Badge';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport './Badge.less';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\n\nexport type BadgeColor =\n | 'bluekeywords'\n | 'bluestartup'\n | 'bluepa'\n | 'red'\n | 'yellow'\n | 'green'\n | 'bluedivision'\n | 'blue300'\n | 'gray'\n | 'black'\n | 'orange'\n | 'pinkbaby'\n | 'gray300';\nexport type BadgeVariant = 'primary' | 'secondary' | 'tertiary';\nexport type BadgeSizes = 'sm' | 'md';\n\nexport interface BadgeProps extends BsBadgeProps {\n icon?: IconDefinition;\n size?: BadgeSizes;\n /**\n * Variant defines the form of the badge.\n */\n variant: BadgeVariant;\n /**\n * note: `bluepa` stands for blue public administration.\n */\n color: BadgeColor;\n}\n\n/**\n * ### Overview\n *\n * A `Badge` is a component which represents an attribute of a specific element. There are three types of badges:\n *\n * - **Primary** is used for:\n * - Sales funnel states\n * - Indication of customer divisions\n * - Variant with icon: used to show user state in settings page\n *\n * - **Secondary** is used for:\n * - specific company types e.g. startup\n * - Indication of customer divisions\n * - Variant with icon: used to show division permissions\n *\n * - **Tertiary** is used to display a company’s state\n */\nconst Badge: React.FC<React.PropsWithChildren<BadgeProps>> = React.memo(({size = 'sm', ...props}) => {\n const className: string = classnames(\n props?.className,\n 'atoka-badge',\n `variant-${props.variant}-${props.color}`,\n size,\n ),\n iconClassName: string = classnames({\n 'mr-2': props.children != null,\n }),\n icon: React.ReactNode =\n props.icon == null ? null : <FontAwesomeIcon icon={props.icon} className={iconClassName} />;\n\n return (\n <BsBadge className={className}>\n {icon}\n {props.children}\n </BsBadge>\n );\n});\n\nBadge.displayName = 'Badge';\n\nexport {Badge};\n","export * from './Badge';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport {FormLabelProps} from 'react-bootstrap/FormLabel';\n\nimport './FormLabel.less';\n\nexport const FormLabel: React.FC<FormLabelProps> = React.memo((props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-label');\n return <BsForm.Label className={className}>{props.children}</BsForm.Label>;\n});\n\nFormLabel.displayName = 'FormLabel';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormCheckbox.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormCheckboxProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormCheckbox: React.FC<FormCheckboxProps> = (props): React.ReactElement => {\n const className: string = classnames('atoka-form-checkbox', props?.className);\n return <BsForm.Check type='checkbox' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormCheckbox.displayName = 'FormCheckbox';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormRadio.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormRadioProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormRadio: React.FC<FormRadioProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-radio');\n return <BsForm.Check type='radio' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormRadio.displayName = 'FormRadio';\n","import BsFormText, {FormTextProps as BsFormTextProps} from 'react-bootstrap/FormText';\nimport React from 'react';\nimport classnames from 'classnames';\nimport './FormHelp.less';\n\nexport interface FormHelpProps extends BsFormTextProps {\n show?: boolean;\n}\n\nexport const FormHelp: React.FC<FormHelpProps> = React.memo(({children, ...props}): React.ReactElement => {\n const className: string = classnames('d-block', props?.className);\n return (\n <BsFormText bsPrefix='atoka-form-help' className={className}>\n {children}\n </BsFormText>\n );\n});\n\nFormHelp.displayName = 'FormHelp';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm, {FormProps as BsFormProps} from 'react-bootstrap/Form';\n\nimport './FormLabel.less';\nimport {FormLabel} from './FormLabel';\nimport {FormControl} from './FormControl';\nimport {FormCheckbox} from './FormCheckbox';\nimport {FormRadio} from './FormRadio';\nimport {FormHelp} from './FormHelp';\n\nexport interface FormProps extends BsFormProps {\n classNames?: string;\n}\n\ntype FormType<P> = React.FC<P> & {\n Control: typeof FormControl;\n Checkbox: typeof FormCheckbox;\n Radio: typeof FormRadio;\n File: typeof BsForm.File;\n Switch: typeof BsForm.Switch;\n Label: typeof FormLabel;\n Help: typeof FormHelp;\n Group: typeof BsForm.Group;\n};\n\nconst Form: FormType<FormProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form');\n return (\n <BsForm {...props} className={className}>\n {props.children}\n </BsForm>\n );\n};\n\nForm.displayName = 'Form';\n\nForm.Control = FormControl;\nForm.Label = FormLabel;\nForm.Checkbox = FormCheckbox;\nForm.Radio = FormRadio;\nForm.File = BsForm.File;\nForm.Switch = BsForm.Switch;\nForm.Help = FormHelp;\nForm.Group = BsForm.Group;\n\nexport {Form};\n","import {FeedbackProps as BsFeedbackProps} from 'react-bootstrap/Feedback';\nimport React from 'react';\nimport classnames from 'classnames';\nimport BsFormControl from 'react-bootstrap/FormControl';\n\nexport interface FeedBackProps extends BsFeedbackProps {\n show?: boolean;\n}\n\nexport const FormControlFeedBack: React.FC<FeedBackProps> = React.memo(\n ({show = true, ...props}): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-control-feedback', {\n 'd-block': show,\n });\n return (\n <BsFormControl.Feedback type={props.type} className={className}>\n {props.children}\n </BsFormControl.Feedback>\n );\n },\n);\n\nFormControlFeedBack.displayName = ' FormControlFeedBack';\n","import React, {PropsWithoutRef} from 'react';\nimport classnames from 'classnames';\nimport BsFormControl, {FormControlProps as BsFormControlProps} from 'react-bootstrap/FormControl';\nimport {FormControlFeedBack} from './FormControlFeedBack';\nimport './FormControl.less';\n\nexport interface FormControlProps extends React.PropsWithChildren<Omit<BsFormControlProps, 'size'>> {\n rows?: string;\n cols?: string;\n placeholder?: string;\n size?: 'sm' | 'md' | 'lg';\n withShadow?: boolean;\n defaultValue?: string;\n onKeyPress?: React.KeyboardEventHandler<HTMLInputElement>;\n onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;\n}\n// when updating nivo, change me, I'm all strange because of this library! (the commit creating this comment might be of help)\ntype NivoPleasingForwardRefComponent<T, P> = (props: P & React.RefAttributes<T>) => React.ReactElement | null;\n\ntype FormControlWithForwardedRef = NivoPleasingForwardRefComponent<\n HTMLInputElement,\n PropsWithoutRef<FormControlProps>\n> & {displayName?: string};\n\nconst FormControlComponent: FormControlWithForwardedRef = React.forwardRef<HTMLInputElement, FormControlProps>(\n ({size = 'md', ...props}: FormControlProps, ref?: React.Ref<HTMLInputElement>) => {\n const className: string = classnames('atoka-form-control', props?.className, {\n 'atoka-shadow': props.withShadow,\n 'disabled': props.disabled,\n });\n\n return (\n <BsFormControl\n as={props.as}\n rows={props.rows}\n cols={props.cols}\n placeholder={props.placeholder}\n className={className}\n disabled={props.disabled}\n readOnly={props.readOnly}\n value={props.value}\n onChange={props.onChange}\n onKeyPress={props.onKeyPress}\n onKeyDown={props.onKeyDown}\n defaultValue={props.defaultValue}\n size={size === 'md' ? undefined : size}\n type={props.type}\n id={props.id}\n isValid={props.isValid}\n isInvalid={props.isInvalid}\n ref={ref}\n autoComplete='off'\n >\n {props.children}\n </BsFormControl>\n );\n },\n);\n\nFormControlComponent.displayName = 'FormControlComponent';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst FormControl: typeof FormControlComponent & {FeedBack: typeof FormControlFeedBack} = FormControlComponent as any;\n\nFormControl.FeedBack = FormControlFeedBack;\n\nFormControl.displayName = 'FormControl';\n\nexport {FormControl};\n","import {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {boundMethod} from 'autobind-decorator';\nimport classnames from 'classnames';\nimport React from 'react';\nimport {Badge} from '../Badge';\nimport {Title} from '../Title';\n\nimport './TabSwitcherChoice.less';\n\nexport interface TabSwitcherChoiceProps {\n isActive: boolean;\n icon?: IconDefinition;\n title: string | null;\n value?: string;\n onClick: () => void;\n}\n\nexport interface TabSwitcherChoiceState {\n width: number | null;\n}\n\n// Removed from the css and put here to avoid flickering when the font is loaded. Keep in sync with @spacing-unit.\nconst HORIZONTAL_PADDING = 3 * 8;\n\nexport class TabSwitcherChoice extends React.PureComponent<TabSwitcherChoiceProps> {\n static displayName: string = 'TabSwitcherChoice';\n public state: TabSwitcherChoiceState = {\n width: null,\n };\n\n private containerRef: React.RefObject<HTMLDivElement> = React.createRef();\n\n public componentDidMount(): void {\n if (this.containerRef.current == null) {\n return;\n }\n\n this.setState({width: this.containerRef.current.getBoundingClientRect().width + 2 * HORIZONTAL_PADDING});\n }\n\n @boundMethod\n private renderTitle(): React.ReactNode {\n const color = this.props.isActive ? 'blue300' : 'gray300';\n if (this.props.value == null) {\n return this.props.title;\n }\n\n return (\n <>\n {this.props.title}{' '}\n <Badge variant='primary' color={color} className='ml-2'>\n {this.props.value}\n </Badge>\n </>\n );\n }\n\n public render(): React.ReactNode {\n let className: string = classnames({\n 'active': this.props.isActive === true,\n 'tab-switcher-choice': true,\n }),\n style = this.state.width == null ? {} : {width: this.state.width};\n\n return (\n <div className={className} onClick={this.props.onClick} ref={this.containerRef} style={style}>\n <Title size='xs' icon={this.props.icon} style={{paddingLeft: 0, paddingRight: 0}}>\n {this.renderTitle()}\n </Title>\n </div>\n );\n }\n}\n","import React from 'react';\nimport classnames from 'classnames';\nimport ButtonGroup from 'react-bootstrap/ButtonGroup';\nimport {PropsWithClassName} from '../Utils';\nimport {deepEqual} from '../Utils/Utils';\nimport {TabSwitcherChoice, TabSwitcherChoiceProps} from './TabSwitcherChoice';\n\nimport './TabSwitcher.less';\n\nexport interface TabSwitcherProps extends PropsWithClassName {\n fullWidth?: boolean;\n}\n\nexport interface TabSwitcherState {\n indicatorLeft: number;\n indicatorWidth: number;\n}\n/**\n * ### Overview\n *\n * Tabs are used to help the user switch between different views within the same context. They are placed above the panel which changes with the user’s click\n *\n * ### Best practices\n * - Use labels that are not too long and that are written in simple language\n * - Do not make more than one row of tabs\n * - Avoid tabs if the content inside them must be shown simultaneously to the user\n */\nexport class TabSwitcher extends React.PureComponent<TabSwitcherProps, TabSwitcherState> {\n static displayName: string = 'TabSwitcher';\n public static Choice: React.ComponentClass<TabSwitcherChoiceProps> = TabSwitcherChoice;\n static defaultProps: Partial<TabSwitcherProps> = {\n fullWidth: false,\n };\n\n public state: TabSwitcherState = {\n indicatorLeft: 0,\n indicatorWidth: 0,\n };\n\n private refObjects: React.RefObject<HTMLSpanElement>[] = [];\n\n componentDidMount(): void {\n // Give some render time to children to set their width correctly\n setTimeout(() => this.calculateIndicatorPosition(), 10);\n }\n\n componentDidUpdate(prevProps: Readonly<TabSwitcherProps>): void {\n if (deepEqual(prevProps, this.props)) {\n return;\n }\n\n this.calculateIndicatorPosition();\n }\n\n private calculateIndicatorPosition(): void {\n React.Children.forEach(this.props.children, (element: React.ReactElement, index: number) => {\n if (element?.type !== TabSwitcherChoice) {\n return;\n }\n\n if (element.props.isActive === false) {\n return;\n }\n\n let activeTab = this.refObjects[index]?.current;\n if (activeTab == null) {\n return;\n }\n\n this.setState({indicatorLeft: activeTab.offsetLeft, indicatorWidth: activeTab.offsetWidth});\n });\n }\n\n private renderIndicator(): React.ReactNode {\n let style: React.CSSProperties = {\n transform: `translate(${this.state.indicatorLeft}px, 0)`,\n width: this.state.indicatorWidth,\n };\n return <span className='indicator' style={style} />;\n }\n\n private renderChildren(): React.ReactNode {\n let ret: React.ReactNode[] = [];\n React.Children.forEach(this.props.children, (element: React.ReactElement, index: number) => {\n if (this.refObjects[index] == null) {\n this.refObjects[index] = React.createRef<HTMLSpanElement>();\n }\n\n if (element?.type === TabSwitcherChoice) {\n ret.push(\n <span ref={this.refObjects[index]} key={index}>\n {element}\n </span>,\n );\n }\n });\n\n return ret;\n }\n\n private renderTabSwitcherRest(): React.ReactNode {\n if (!this.props.fullWidth) {\n return null;\n }\n return <span className='tab-switcher-rest' />;\n }\n\n public render(): React.ReactNode {\n let className = classnames('tab-switcher-container', this.props.className, {\n 'w-100': this.props.fullWidth,\n });\n\n return (\n <ButtonGroup style={{position: 'relative'}} className={className}>\n {this.renderIndicator()}\n {this.renderChildren()}\n {this.renderTabSwitcherRest()}\n </ButtonGroup>\n );\n }\n}\n","export {TabSwitcher} from './TabSwitcher';\n","import React from 'react';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport classnames from 'classnames';\nimport {PropsWithClassName} from '../Utils';\n\nimport './Title.less';\n\nexport interface TitleProps extends PropsWithClassName {\n icon?: IconDefinition;\n size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n style?: React.CSSProperties;\n}\n\nexport class Title extends React.PureComponent<TitleProps> {\n static displayName: string = 'Title';\n\n static defaultProps: TitleProps = {\n size: 'xxl',\n };\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n let classNames = classnames({'mr-2': this.props.children !== '' && this.props.children != null});\n\n return <FontAwesomeIcon icon={this.props.icon} className={classNames} fixedWidth />;\n }\n\n private renderContent(): React.ReactNode {\n return (\n <>\n {this.renderIcon()}\n {this.props.children}\n </>\n );\n }\n\n public render(): React.ReactNode {\n let props = {className: this.props.className, style: this.props.style};\n\n switch (this.props.size) {\n case 'xs':\n return <h6 {...props}>{this.renderContent()}</h6>;\n case 'sm':\n return <h5 {...props}>{this.renderContent()}</h5>;\n case 'md':\n return <h4 {...props}>{this.renderContent()}</h4>;\n case 'lg':\n return <h3 {...props}>{this.renderContent()}</h3>;\n case 'xl':\n return <h2 {...props}>{this.renderContent()}</h2>;\n default:\n return <h1 {...props}>{this.renderContent()}</h1>;\n }\n }\n}\n","export {Title} from './Title';\n","import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport React from 'react';\nimport {Form} from '../Form/Form';\n\nexport function findChildrenByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode[] {\n let ret: React.ReactNode[] = [];\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (element?.type === component) {\n ret.push(element);\n }\n });\n\n return ret;\n}\n\nexport function findChildByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode | null {\n return findChildrenByComponent(children, component)?.[0] ?? null;\n}\n\nexport function hasChildIconOrCheckboxComponent(children: React.ReactNode): boolean {\n let ret = false;\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (\n element?.type != null &&\n (element?.type === FontAwesomeIcon || element?.type === 'i' || element?.type === Form.Checkbox)\n ) {\n ret = true;\n return;\n }\n });\n\n return ret;\n}\n\nexport function scrollToTop(): void {\n window.scrollTo(0, 0);\n}\n\nexport function zip<T>(arr1: T[], arr2: T[]): T[] {\n const ret: T[] = [];\n let i: number = 0;\n\n while (arr1[i]) {\n ret.push(arr1[i]);\n ret.push(arr2[i++]);\n }\n\n return ret;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function sortObjDesc<T extends object>(accessor: keyof T): (a: T, b: T) => number {\n return function (a: T, b: T): number {\n let leftVal = 0,\n rightVal = 0;\n if (a?.[accessor] != null) {\n leftVal = a?.[accessor] as unknown as number;\n }\n if (b?.[accessor] != null) {\n rightVal = b?.[accessor] as unknown as number;\n }\n return leftVal > rightVal ? -1 : 1;\n };\n}\n\nexport function clone<T>(ob: T): T {\n return JSON.parse(JSON.stringify(ob));\n}\n\nexport type Debouncer = (f: () => void) => void;\n\nexport function getDebouncer(delay: number = 1): Debouncer {\n let debounceTimeout: number | null = null;\n return function debounce(f: () => void): void {\n if (debounceTimeout !== null) {\n clearTimeout(debounceTimeout);\n }\n debounceTimeout = window.setTimeout(f, delay);\n };\n}\n\nfunction isObject<T>(obj: T): boolean {\n return typeof obj === 'object' && obj != null;\n}\n\nexport function deepEqual<T>(obj1: T, obj2: T): boolean {\n if (obj1 === obj2) {\n return true;\n }\n\n if (isObject(obj1) && isObject(obj2)) {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false;\n }\n\n for (let prop in obj1) {\n if (!deepEqual(obj1[prop], obj2[prop])) {\n return false;\n }\n }\n return true;\n }\n\n return false;\n}\n\nfunction componentToHex(c: number): string {\n if (isNaN(c)) {\n throw Error('The color has not been written correctly');\n }\n const hex = c.toString(16).toUpperCase();\n return hex.length === 1 ? '0' + hex : hex;\n}\n\nfunction cleanSingleColor(c: string): string {\n return c.replace(/\"|'/g, '').trim();\n}\n\nexport function rgbToHex(rgb: string): string {\n if (rgb.includes('rgba')) {\n throw Error('not implemented');\n }\n const [r = 0, g = 0, b = 0] = rgb\n .replace('rgb', '')\n .replace(/\\(|\\)/gi, '')\n .split(',')\n .map((c: string) => parseInt(cleanSingleColor(c), 10));\n\n return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);\n}\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return a descriptor removing the value and returning a getter\n * The getter will return a .bind version of the function\n * and memoize the result against a symbol on the instance\n */\nexport function boundMethod(target, key, descriptor) {\n var fn = descriptor.value;\n\n if (typeof fn !== 'function') {\n throw new TypeError(\"@boundMethod decorator can only be applied to methods not: \".concat(_typeof(fn)));\n } // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n\n\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {\n return fn;\n }\n\n var boundFn = fn.bind(this);\n definingProperty = true;\n Object.defineProperty(this, key, {\n configurable: true,\n get: function get() {\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n delete this[key];\n }\n });\n definingProperty = false;\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n }\n };\n}\n/**\n * Use boundMethod to bind all methods on the target.prototype\n */\n\nexport function boundClass(target) {\n // (Using reflect to get all keys including symbols)\n var keys; // Use Reflect if exists\n\n if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {\n keys = Reflect.ownKeys(target.prototype);\n } else {\n keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));\n }\n }\n\n keys.forEach(function (key) {\n // Ignore special case target method\n if (key === 'constructor') {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding\n\n if (typeof descriptor.value === 'function') {\n Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));\n }\n });\n return target;\n}\nexport default function autobind() {\n if (arguments.length === 1) {\n return boundClass.apply(void 0, arguments);\n }\n\n return boundMethod.apply(void 0, arguments);\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6997__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5901__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;","module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2197: 0,\n\t54: 0,\n\t7564: 0,\n\t563: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [563], () => (__webpack_require__(3084)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","boundMethod","target","key","descriptor","fn","value","TypeError","concat","definingProperty","configurable","get","hasOwnProperty","boundFn","bind","Object","defineProperty","set","boundClass","keys","Reflect","ownKeys","getOwnPropertyNames","getOwnPropertySymbols","forEach","getOwnPropertyDescriptor","autobind","arguments","length","apply"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"TabSwitcher/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV0B;AACU;AACsC;AAEpD;AACyC;AAgC/D;;;;;;;;;;;;;;;;GAgBG;AACH,IAAM,KAAK,GAAkD,6BAAU,CAAC,UAAC,EAAuB;IAAtB,gBAAW,EAAX,IAAI,mBAAG,IAAI,OAAK,KAAK,cAAtB,QAAuB,CAAD;IAC3F,IAAM,SAAS,GAAW,6BAAU,CAC5B,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,EAChB,aAAa,EACb,aAAW,KAAK,CAAC,OAAO,SAAI,KAAK,CAAC,KAAO,EACzC,IAAI,CACP,EACD,aAAa,GAAW,6BAAU,CAAC;QAC/B,MAAM,EAAE,KAAK,CAAC,QAAQ,IAAI,IAAI;KACjC,CAAC,EACF,IAAI,GACA,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,uCAAC,kCAAe,IAAC,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,GAAI,CAAC;IAEpG,OAAO,CACH,uCAAC,iBAAO,IAAC,SAAS,EAAE,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AAG,CAACG,WAAJ,KAAoBF,MAA3D,IAAqED,GAAG,KAAKC,MAAM,CAACG,SAApF,GAAgG,QAAhG,GAA2G,OAAOJ,GAAzH;AACD,KAFD;AAGD;;AAED,SAAOD,OAAO,CAACC,GAAD,CAAd;AACD;;;;;;UCdD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Badge/Badge.tsx","webpack://atoka-design-system/./src/components/Badge/index.ts","webpack://atoka-design-system/./src/components/Form/FormLabel.tsx","webpack://atoka-design-system/./src/components/Form/FormCheckbox.tsx","webpack://atoka-design-system/./src/components/Form/FormRadio.tsx","webpack://atoka-design-system/./src/components/Form/FormHelp.tsx","webpack://atoka-design-system/./src/components/Form/Form.tsx","webpack://atoka-design-system/./src/components/Form/FormControlFeedBack.tsx","webpack://atoka-design-system/./src/components/Form/FormControl.tsx","webpack://atoka-design-system/./src/components/TabSwitcher/TabSwitcherChoice.tsx","webpack://atoka-design-system/./src/components/TabSwitcher/TabSwitcher.tsx","webpack://atoka-design-system/./src/components/TabSwitcher/index.ts","webpack://atoka-design-system/./src/components/Title/Title.tsx","webpack://atoka-design-system/./src/components/Title/index.ts","webpack://atoka-design-system/./src/components/Utils/Utils.tsx","webpack://atoka-design-system/./node_modules/autobind-decorator/lib/esm/index.js","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/Badge\"","webpack://atoka-design-system/external umd \"react-bootstrap/ButtonGroup\"","webpack://atoka-design-system/external umd \"react-bootstrap/Form\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormControl\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormText\"","webpack://atoka-design-system/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Badge\"), require(\"react-bootstrap/ButtonGroup\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Badge\", \"react-bootstrap/ButtonGroup\", \"react-bootstrap/Form\", \"react-bootstrap/FormControl\", \"react-bootstrap/FormText\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Badge\"), require(\"react-bootstrap/ButtonGroup\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/Badge\"], root[\"react-bootstrap/ButtonGroup\"], root[\"react-bootstrap/Form\"], root[\"react-bootstrap/FormControl\"], root[\"react-bootstrap/FormText\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6997__, __WEBPACK_EXTERNAL_MODULE__5901__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__) {\nreturn ","import React from 'react';\nimport classnames from 'classnames';\nimport BsBadge, {BadgeProps as BsBadgeProps} from 'react-bootstrap/Badge';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport './Badge.less';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\n\nexport type BadgeColor =\n | 'bluekeywords'\n | 'bluestartup'\n | 'bluepa'\n | 'red'\n | 'yellow'\n | 'green'\n | 'bluedivision'\n | 'blue300'\n | 'gray'\n | 'black'\n | 'orange'\n | 'pinkbaby'\n | 'gray300';\nexport type BadgeVariant = 'primary' | 'secondary' | 'tertiary';\nexport type BadgeSizes = 'sm' | 'md';\n\nexport interface BadgeProps extends BsBadgeProps {\n icon?: IconDefinition;\n size?: BadgeSizes;\n /**\n * Variant defines the form of the badge.\n */\n variant: BadgeVariant;\n /**\n * note: `bluepa` stands for blue public administration.\n */\n color: BadgeColor;\n}\n\n/**\n * ### Overview\n *\n * A `Badge` is a component which represents an attribute of a specific element. There are three types of badges:\n *\n * - **Primary** is used for:\n * - Sales funnel states\n * - Indication of customer divisions\n * - Variant with icon: used to show user state in settings page\n *\n * - **Secondary** is used for:\n * - specific company types e.g. startup\n * - Indication of customer divisions\n * - Variant with icon: used to show division permissions\n *\n * - **Tertiary** is used to display a company’s state\n */\nconst Badge: React.FC<React.PropsWithChildren<BadgeProps>> = React.memo(({size = 'sm', ...props}) => {\n const className: string = classnames(\n props?.className,\n 'atoka-badge',\n `variant-${props.variant}-${props.color}`,\n size,\n ),\n iconClassName: string = classnames({\n 'mr-2': props.children != null,\n }),\n icon: React.ReactNode =\n props.icon == null ? null : <FontAwesomeIcon icon={props.icon} className={iconClassName} />;\n\n return (\n <BsBadge className={className}>\n {icon}\n {props.children}\n </BsBadge>\n );\n});\n\nBadge.displayName = 'Badge';\n\nexport {Badge};\n","export * from './Badge';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport {FormLabelProps} from 'react-bootstrap/FormLabel';\n\nimport './FormLabel.less';\n\nexport const FormLabel: React.FC<FormLabelProps> = React.memo((props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-label');\n return <BsForm.Label className={className}>{props.children}</BsForm.Label>;\n});\n\nFormLabel.displayName = 'FormLabel';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormCheckbox.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormCheckboxProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormCheckbox: React.FC<FormCheckboxProps> = (props): React.ReactElement => {\n const className: string = classnames('atoka-form-checkbox', props?.className);\n return <BsForm.Check type='checkbox' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormCheckbox.displayName = 'FormCheckbox';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormRadio.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormRadioProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormRadio: React.FC<FormRadioProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-radio');\n return <BsForm.Check type='radio' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormRadio.displayName = 'FormRadio';\n","import BsFormText, {FormTextProps as BsFormTextProps} from 'react-bootstrap/FormText';\nimport React from 'react';\nimport classnames from 'classnames';\nimport './FormHelp.less';\n\nexport interface FormHelpProps extends BsFormTextProps {\n show?: boolean;\n}\n\nexport const FormHelp: React.FC<FormHelpProps> = React.memo(({children, ...props}): React.ReactElement => {\n const className: string = classnames('d-block', props?.className);\n return (\n <BsFormText bsPrefix='atoka-form-help' className={className}>\n {children}\n </BsFormText>\n );\n});\n\nFormHelp.displayName = 'FormHelp';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm, {FormProps as BsFormProps} from 'react-bootstrap/Form';\n\nimport './FormLabel.less';\nimport {FormLabel} from './FormLabel';\nimport {FormControl} from './FormControl';\nimport {FormCheckbox} from './FormCheckbox';\nimport {FormRadio} from './FormRadio';\nimport {FormHelp} from './FormHelp';\n\nexport interface FormProps extends BsFormProps {\n classNames?: string;\n}\n\ntype FormType<P> = React.FC<P> & {\n Control: typeof FormControl;\n Checkbox: typeof FormCheckbox;\n Radio: typeof FormRadio;\n File: typeof BsForm.File;\n Switch: typeof BsForm.Switch;\n Label: typeof FormLabel;\n Help: typeof FormHelp;\n Group: typeof BsForm.Group;\n};\n\nconst Form: FormType<FormProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form');\n return (\n <BsForm {...props} className={className}>\n {props.children}\n </BsForm>\n );\n};\n\nForm.displayName = 'Form';\n\nForm.Control = FormControl;\nForm.Label = FormLabel;\nForm.Checkbox = FormCheckbox;\nForm.Radio = FormRadio;\nForm.File = BsForm.File;\nForm.Switch = BsForm.Switch;\nForm.Help = FormHelp;\nForm.Group = BsForm.Group;\n\nexport {Form};\n","import {FeedbackProps as BsFeedbackProps} from 'react-bootstrap/Feedback';\nimport React from 'react';\nimport classnames from 'classnames';\nimport BsFormControl from 'react-bootstrap/FormControl';\n\nexport interface FeedBackProps extends BsFeedbackProps {\n show?: boolean;\n}\n\nexport const FormControlFeedBack: React.FC<FeedBackProps> = React.memo(\n ({show = true, ...props}): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-control-feedback', {\n 'd-block': show,\n });\n return (\n <BsFormControl.Feedback type={props.type} className={className}>\n {props.children}\n </BsFormControl.Feedback>\n );\n },\n);\n\nFormControlFeedBack.displayName = ' FormControlFeedBack';\n","import React, {PropsWithoutRef} from 'react';\nimport classnames from 'classnames';\nimport BsFormControl, {FormControlProps as BsFormControlProps} from 'react-bootstrap/FormControl';\nimport {FormControlFeedBack} from './FormControlFeedBack';\nimport './FormControl.less';\n\nexport interface FormControlProps extends React.PropsWithChildren<Omit<BsFormControlProps, 'size'>> {\n rows?: string;\n cols?: string;\n placeholder?: string;\n size?: 'sm' | 'md' | 'lg';\n withShadow?: boolean;\n defaultValue?: string;\n onKeyPress?: React.KeyboardEventHandler<HTMLInputElement>;\n onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;\n}\n// when updating nivo, change me, I'm all strange because of this library! (the commit creating this comment might be of help)\ntype NivoPleasingForwardRefComponent<T, P> = (props: P & React.RefAttributes<T>) => React.ReactElement | null;\n\ntype FormControlWithForwardedRef = NivoPleasingForwardRefComponent<\n HTMLInputElement,\n PropsWithoutRef<FormControlProps>\n> & {displayName?: string};\n\nconst FormControlComponent: FormControlWithForwardedRef = React.forwardRef<HTMLInputElement, FormControlProps>(\n ({size = 'md', ...props}: FormControlProps, ref?: React.Ref<HTMLInputElement>) => {\n const className: string = classnames('atoka-form-control', props?.className, {\n 'atoka-shadow': props.withShadow,\n 'disabled': props.disabled,\n });\n\n return (\n <BsFormControl\n as={props.as}\n rows={props.rows}\n cols={props.cols}\n placeholder={props.placeholder}\n className={className}\n disabled={props.disabled}\n readOnly={props.readOnly}\n value={props.value}\n onChange={props.onChange}\n onKeyPress={props.onKeyPress}\n onKeyDown={props.onKeyDown}\n defaultValue={props.defaultValue}\n size={size === 'md' ? undefined : size}\n type={props.type}\n id={props.id}\n isValid={props.isValid}\n isInvalid={props.isInvalid}\n ref={ref}\n autoComplete='off'\n >\n {props.children}\n </BsFormControl>\n );\n },\n);\n\nFormControlComponent.displayName = 'FormControlComponent';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst FormControl: typeof FormControlComponent & {FeedBack: typeof FormControlFeedBack} = FormControlComponent as any;\n\nFormControl.FeedBack = FormControlFeedBack;\n\nFormControl.displayName = 'FormControl';\n\nexport {FormControl};\n","import {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {boundMethod} from 'autobind-decorator';\nimport classnames from 'classnames';\nimport React from 'react';\nimport {Badge} from '../Badge';\nimport {Title} from '../Title';\n\nimport './TabSwitcherChoice.less';\n\nexport interface TabSwitcherChoiceProps {\n isActive: boolean;\n icon?: IconDefinition;\n title: string | null;\n value?: string;\n onClick: () => void;\n}\n\nexport interface TabSwitcherChoiceState {\n width: number | null;\n}\n\n// Removed from the css and put here to avoid flickering when the font is loaded. Keep in sync with @spacing-unit.\nconst HORIZONTAL_PADDING = 3 * 8;\n\nexport class TabSwitcherChoice extends React.PureComponent<TabSwitcherChoiceProps> {\n static displayName: string = 'TabSwitcherChoice';\n public state: TabSwitcherChoiceState = {\n width: null,\n };\n\n private containerRef: React.RefObject<HTMLDivElement> = React.createRef();\n\n public componentDidMount(): void {\n if (this.containerRef.current == null) {\n return;\n }\n\n this.setState({width: this.containerRef.current.getBoundingClientRect().width + 2 * HORIZONTAL_PADDING});\n }\n\n @boundMethod\n private renderTitle(): React.ReactNode {\n const color = this.props.isActive ? 'blue300' : 'gray300';\n if (this.props.value == null) {\n return this.props.title;\n }\n\n return (\n <>\n {this.props.title}{' '}\n <Badge variant='primary' color={color} className='ml-2'>\n {this.props.value}\n </Badge>\n </>\n );\n }\n\n public render(): React.ReactNode {\n let className: string = classnames({\n 'active': this.props.isActive === true,\n 'tab-switcher-choice': true,\n }),\n style = this.state.width == null ? {} : {width: this.state.width};\n\n return (\n <div className={className} onClick={this.props.onClick} ref={this.containerRef} style={style}>\n <Title size='xs' icon={this.props.icon} style={{paddingLeft: 0, paddingRight: 0}}>\n {this.renderTitle()}\n </Title>\n </div>\n );\n }\n}\n","import React from 'react';\nimport classnames from 'classnames';\nimport ButtonGroup from 'react-bootstrap/ButtonGroup';\nimport {PropsWithClassName} from '../Utils';\nimport {deepEqual} from '../Utils/Utils';\nimport {TabSwitcherChoice, TabSwitcherChoiceProps} from './TabSwitcherChoice';\n\nimport './TabSwitcher.less';\n\nexport interface TabSwitcherProps extends PropsWithClassName {\n fullWidth?: boolean;\n}\n\nexport interface TabSwitcherState {\n indicatorLeft: number;\n indicatorWidth: number;\n}\n/**\n * ### Overview\n *\n * Tabs are used to help the user switch between different views within the same context. They are placed above the panel which changes with the user’s click\n *\n * ### Best practices\n * - Use labels that are not too long and that are written in simple language\n * - Do not make more than one row of tabs\n * - Avoid tabs if the content inside them must be shown simultaneously to the user\n */\nexport class TabSwitcher extends React.PureComponent<TabSwitcherProps, TabSwitcherState> {\n static displayName: string = 'TabSwitcher';\n public static Choice: React.ComponentClass<TabSwitcherChoiceProps> = TabSwitcherChoice;\n static defaultProps: Partial<TabSwitcherProps> = {\n fullWidth: false,\n };\n\n public state: TabSwitcherState = {\n indicatorLeft: 0,\n indicatorWidth: 0,\n };\n\n private refObjects: React.RefObject<HTMLSpanElement>[] = [];\n\n componentDidMount(): void {\n // Give some render time to children to set their width correctly\n setTimeout(() => this.calculateIndicatorPosition(), 10);\n }\n\n componentDidUpdate(prevProps: Readonly<TabSwitcherProps>): void {\n if (deepEqual(prevProps, this.props)) {\n return;\n }\n\n this.calculateIndicatorPosition();\n }\n\n private calculateIndicatorPosition(): void {\n React.Children.forEach(this.props.children, (element: React.ReactElement, index: number) => {\n if (element?.type !== TabSwitcherChoice) {\n return;\n }\n\n if (element.props.isActive === false) {\n return;\n }\n\n let activeTab = this.refObjects[index]?.current;\n if (activeTab == null) {\n return;\n }\n\n this.setState({indicatorLeft: activeTab.offsetLeft, indicatorWidth: activeTab.offsetWidth});\n });\n }\n\n private renderIndicator(): React.ReactNode {\n let style: React.CSSProperties = {\n transform: `translate(${this.state.indicatorLeft}px, 0)`,\n width: this.state.indicatorWidth,\n };\n return <span className='indicator' style={style} />;\n }\n\n private renderChildren(): React.ReactNode {\n let ret: React.ReactNode[] = [];\n React.Children.forEach(this.props.children, (element: React.ReactElement, index: number) => {\n if (this.refObjects[index] == null) {\n this.refObjects[index] = React.createRef<HTMLSpanElement>();\n }\n\n if (element?.type === TabSwitcherChoice) {\n ret.push(\n <span ref={this.refObjects[index]} key={index}>\n {element}\n </span>,\n );\n }\n });\n\n return ret;\n }\n\n private renderTabSwitcherRest(): React.ReactNode {\n if (!this.props.fullWidth) {\n return null;\n }\n return <span className='tab-switcher-rest' />;\n }\n\n public render(): React.ReactNode {\n let className = classnames('tab-switcher-container', this.props.className, {\n 'w-100': this.props.fullWidth,\n });\n\n return (\n <ButtonGroup style={{position: 'relative'}} className={className}>\n {this.renderIndicator()}\n {this.renderChildren()}\n {this.renderTabSwitcherRest()}\n </ButtonGroup>\n );\n }\n}\n","export {TabSwitcher} from './TabSwitcher';\n","import React from 'react';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport classnames from 'classnames';\nimport {PropsWithClassName} from '../Utils';\n\nimport './Title.less';\n\nexport interface TitleProps extends PropsWithClassName {\n icon?: IconDefinition;\n size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n style?: React.CSSProperties;\n}\n\nexport class Title extends React.PureComponent<TitleProps> {\n static displayName: string = 'Title';\n\n static defaultProps: TitleProps = {\n size: 'xxl',\n };\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n let classNames = classnames({'mr-2': this.props.children !== '' && this.props.children != null});\n\n return <FontAwesomeIcon icon={this.props.icon} className={classNames} fixedWidth />;\n }\n\n private renderContent(): React.ReactNode {\n return (\n <>\n {this.renderIcon()}\n {this.props.children}\n </>\n );\n }\n\n public render(): React.ReactNode {\n let props = {className: this.props.className, style: this.props.style};\n\n switch (this.props.size) {\n case 'xs':\n return <h6 {...props}>{this.renderContent()}</h6>;\n case 'sm':\n return <h5 {...props}>{this.renderContent()}</h5>;\n case 'md':\n return <h4 {...props}>{this.renderContent()}</h4>;\n case 'lg':\n return <h3 {...props}>{this.renderContent()}</h3>;\n case 'xl':\n return <h2 {...props}>{this.renderContent()}</h2>;\n default:\n return <h1 {...props}>{this.renderContent()}</h1>;\n }\n }\n}\n","export {Title} from './Title';\n","import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport React from 'react';\nimport {Form} from '../Form/Form';\n\nexport function findChildrenByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode[] {\n let ret: React.ReactNode[] = [];\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (element?.type === component) {\n ret.push(element);\n }\n });\n\n return ret;\n}\n\nexport function findChildByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode | null {\n return findChildrenByComponent(children, component)?.[0] ?? null;\n}\n\nexport function hasChildIconOrCheckboxComponent(children: React.ReactNode): boolean {\n let ret = false;\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (\n element?.type != null &&\n (element?.type === FontAwesomeIcon || element?.type === 'i' || element?.type === Form.Checkbox)\n ) {\n ret = true;\n return;\n }\n });\n\n return ret;\n}\n\nexport function scrollToTop(): void {\n window.scrollTo(0, 0);\n}\n\nexport function zip<T>(arr1: T[], arr2: T[]): T[] {\n const ret: T[] = [];\n let i: number = 0;\n\n while (arr1[i]) {\n ret.push(arr1[i]);\n ret.push(arr2[i++]);\n }\n\n return ret;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function sortObjDesc<T extends object>(accessor: keyof T): (a: T, b: T) => number {\n return function (a: T, b: T): number {\n let leftVal = 0,\n rightVal = 0;\n if (a?.[accessor] != null) {\n leftVal = a?.[accessor] as unknown as number;\n }\n if (b?.[accessor] != null) {\n rightVal = b?.[accessor] as unknown as number;\n }\n return leftVal > rightVal ? -1 : 1;\n };\n}\n\nexport function clone<T>(ob: T): T {\n return JSON.parse(JSON.stringify(ob));\n}\n\nexport type Debouncer = (f: () => void) => void;\n\nexport function getDebouncer(delay: number = 1): Debouncer {\n let debounceTimeout: number | null = null;\n return function debounce(f: () => void): void {\n if (debounceTimeout !== null) {\n clearTimeout(debounceTimeout);\n }\n debounceTimeout = window.setTimeout(f, delay);\n };\n}\n\nfunction isObject<T>(obj: T): boolean {\n return typeof obj === 'object' && obj != null;\n}\n\nexport function deepEqual<T>(obj1: T, obj2: T): boolean {\n if (obj1 === obj2) {\n return true;\n }\n\n if (isObject(obj1) && isObject(obj2)) {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false;\n }\n\n for (let prop in obj1) {\n if (!deepEqual(obj1[prop], obj2[prop])) {\n return false;\n }\n }\n return true;\n }\n\n return false;\n}\n\nfunction componentToHex(c: number): string {\n if (isNaN(c)) {\n throw Error('The color has not been written correctly');\n }\n const hex = c.toString(16).toUpperCase();\n return hex.length === 1 ? '0' + hex : hex;\n}\n\nfunction cleanSingleColor(c: string): string {\n return c.replace(/\"|'/g, '').trim();\n}\n\nexport function rgbToHex(rgb: string): string {\n if (rgb.includes('rgba')) {\n throw Error('not implemented');\n }\n const [r = 0, g = 0, b = 0] = rgb\n .replace('rgb', '')\n .replace(/\\(|\\)/gi, '')\n .split(',')\n .map((c: string) => parseInt(cleanSingleColor(c), 10));\n\n return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);\n}\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return a descriptor removing the value and returning a getter\n * The getter will return a .bind version of the function\n * and memoize the result against a symbol on the instance\n */\nexport function boundMethod(target, key, descriptor) {\n var fn = descriptor.value;\n\n if (typeof fn !== 'function') {\n throw new TypeError(\"@boundMethod decorator can only be applied to methods not: \".concat(_typeof(fn)));\n } // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n\n\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {\n return fn;\n }\n\n var boundFn = fn.bind(this);\n definingProperty = true;\n Object.defineProperty(this, key, {\n configurable: true,\n get: function get() {\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n delete this[key];\n }\n });\n definingProperty = false;\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n }\n };\n}\n/**\n * Use boundMethod to bind all methods on the target.prototype\n */\n\nexport function boundClass(target) {\n // (Using reflect to get all keys including symbols)\n var keys; // Use Reflect if exists\n\n if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {\n keys = Reflect.ownKeys(target.prototype);\n } else {\n keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));\n }\n }\n\n keys.forEach(function (key) {\n // Ignore special case target method\n if (key === 'constructor') {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding\n\n if (typeof descriptor.value === 'function') {\n Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));\n }\n });\n return target;\n}\nexport default function autobind() {\n if (arguments.length === 1) {\n return boundClass.apply(void 0, arguments);\n }\n\n return boundMethod.apply(void 0, arguments);\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6997__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5901__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;","module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2197: 0,\n\t54: 0,\n\t7564: 0,\n\t3813: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [3813], () => (__webpack_require__(3084)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","boundMethod","target","key","descriptor","fn","value","TypeError","concat","definingProperty","configurable","get","hasOwnProperty","boundFn","bind","Object","defineProperty","set","boundClass","keys","Reflect","ownKeys","getOwnPropertyNames","getOwnPropertySymbols","forEach","getOwnPropertyDescriptor","autobind","arguments","length","apply"],"sourceRoot":""}
|
package/Title/index.js
CHANGED
|
@@ -242,7 +242,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
|
242
242
|
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
243
243
|
/******/ var installedChunks = {
|
|
244
244
|
/******/ 7564: 0,
|
|
245
|
-
/******/
|
|
245
|
+
/******/ 3813: 0
|
|
246
246
|
/******/ };
|
|
247
247
|
/******/
|
|
248
248
|
/******/ // no chunk on demand loading
|
|
@@ -292,7 +292,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
|
292
292
|
/******/ // startup
|
|
293
293
|
/******/ // Load entry module and return exports
|
|
294
294
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
295
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [
|
|
295
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [3813], () => (__webpack_require__(9190)))
|
|
296
296
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
297
297
|
/******/
|
|
298
298
|
/******/ return __webpack_exports__;
|
package/Title/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
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UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Title/Title.tsx","webpack://atoka-design-system/./src/components/Title/index.ts","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__) {\nreturn ","import React from 'react';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport classnames from 'classnames';\nimport {PropsWithClassName} from '../Utils';\n\nimport './Title.less';\n\nexport interface TitleProps extends PropsWithClassName {\n icon?: IconDefinition;\n size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n style?: React.CSSProperties;\n}\n\nexport class Title extends React.PureComponent<TitleProps> {\n static displayName: string = 'Title';\n\n static defaultProps: TitleProps = {\n size: 'xxl',\n };\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n let classNames = classnames({'mr-2': this.props.children !== '' && this.props.children != null});\n\n return <FontAwesomeIcon icon={this.props.icon} className={classNames} fixedWidth />;\n }\n\n private renderContent(): React.ReactNode {\n return (\n <>\n {this.renderIcon()}\n {this.props.children}\n </>\n );\n }\n\n public render(): React.ReactNode {\n let props = {className: this.props.className, style: this.props.style};\n\n switch (this.props.size) {\n case 'xs':\n return <h6 {...props}>{this.renderContent()}</h6>;\n case 'sm':\n return <h5 {...props}>{this.renderContent()}</h5>;\n case 'md':\n return <h4 {...props}>{this.renderContent()}</h4>;\n case 'lg':\n return <h3 {...props}>{this.renderContent()}</h3>;\n case 'xl':\n return <h2 {...props}>{this.renderContent()}</h2>;\n default:\n return <h1 {...props}>{this.renderContent()}</h1>;\n }\n }\n}\n","export {Title} from './Title';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t7564: 0,\n\t563: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [563], () => (__webpack_require__(9190)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"Title/index.js","mappings":"AAAA;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AC,aAAa,EAAE,CAAM,CAAC;YACtD,KAAK,IAAI;gBACL,OAAO,8EAAQ,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,CAAM,CAAC;YACtD;gBACI,OAAO,8EAAQ,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,CAAM,CAAC;SACzD;IACL,CAAC;IA1CM,iBAAW,GAAW,OAAO,CAAC;IAE9B,kBAAY,GAAe;QAC9B,IAAI,EAAE,KAAK;KACd,CAAC;IAuCN,YAAC;CAAA,CA5C0B,4DAAmB,GA4C7C;AA5CiB;;;;;;;;;;;;;ACdY;;;;;;;;ACA9B;;;;;;;ACAA;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Title/Title.tsx","webpack://atoka-design-system/./src/components/Title/index.ts","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__) {\nreturn ","import React from 'react';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport classnames from 'classnames';\nimport {PropsWithClassName} from '../Utils';\n\nimport './Title.less';\n\nexport interface TitleProps extends PropsWithClassName {\n icon?: IconDefinition;\n size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n style?: React.CSSProperties;\n}\n\nexport class Title extends React.PureComponent<TitleProps> {\n static displayName: string = 'Title';\n\n static defaultProps: TitleProps = {\n size: 'xxl',\n };\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n let classNames = classnames({'mr-2': this.props.children !== '' && this.props.children != null});\n\n return <FontAwesomeIcon icon={this.props.icon} className={classNames} fixedWidth />;\n }\n\n private renderContent(): React.ReactNode {\n return (\n <>\n {this.renderIcon()}\n {this.props.children}\n </>\n );\n }\n\n public render(): React.ReactNode {\n let props = {className: this.props.className, style: this.props.style};\n\n switch (this.props.size) {\n case 'xs':\n return <h6 {...props}>{this.renderContent()}</h6>;\n case 'sm':\n return <h5 {...props}>{this.renderContent()}</h5>;\n case 'md':\n return <h4 {...props}>{this.renderContent()}</h4>;\n case 'lg':\n return <h3 {...props}>{this.renderContent()}</h3>;\n case 'xl':\n return <h2 {...props}>{this.renderContent()}</h2>;\n default:\n return <h1 {...props}>{this.renderContent()}</h1>;\n }\n }\n}\n","export {Title} from './Title';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t7564: 0,\n\t3813: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [3813], () => (__webpack_require__(9190)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Toast as BsToast, ToastProps as BsToastProps } from 'react-bootstrap';
|
|
3
|
+
import './Toast.less';
|
|
4
|
+
import { IconDefinition } from '@fortawesome/pro-light-svg-icons';
|
|
5
|
+
import { AlertVariant } from 'components/Alert';
|
|
6
|
+
import { ToastHeader } from './ToastHeader';
|
|
7
|
+
declare type ToastVariant = AlertVariant;
|
|
8
|
+
interface ToastProps extends BsToastProps {
|
|
9
|
+
variant?: ToastVariant;
|
|
10
|
+
icon?: IconDefinition;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* ### Overview
|
|
15
|
+
* `Toasts` are lightweight notifications designed to mimic the push notifications that have been popularized by mobile and desktop operating systems.
|
|
16
|
+
*
|
|
17
|
+
* There are different types of toasts depending on the message they must show:
|
|
18
|
+
*
|
|
19
|
+
* - **Danger**: this toast indicates a potentially negative action that the user must take notice of
|
|
20
|
+
* - **Warning**: this toast tells the user to proceed with caution with their actions on the platform
|
|
21
|
+
* - **Success**: this toast is indicative that the user just performed a successful or positive action
|
|
22
|
+
* - **Info**: this toast has the scope of letting the user know about a neutral and informative change or action on Atoka
|
|
23
|
+
*
|
|
24
|
+
* ### Best practices
|
|
25
|
+
* Use toasts to notify the user of information that is either time-sensitive or relevant to the action the user is performing
|
|
26
|
+
*
|
|
27
|
+
* DEVELOPER NOTE: For more information about the props, check [react bootstrap](https://react-bootstrap.netlify.app/components/toasts/#toasts)
|
|
28
|
+
*/
|
|
29
|
+
export default class Toast extends React.PureComponent<ToastProps> {
|
|
30
|
+
static displayName: string;
|
|
31
|
+
static Header: typeof ToastHeader;
|
|
32
|
+
static Body: typeof BsToast.Body;
|
|
33
|
+
static defaultProps: Partial<ToastProps>;
|
|
34
|
+
private fromVariantToIcon;
|
|
35
|
+
private getIcon;
|
|
36
|
+
private renderHeader;
|
|
37
|
+
private renderBody;
|
|
38
|
+
private renderContent;
|
|
39
|
+
render(): React.ReactNode;
|
|
40
|
+
}
|
|
41
|
+
export { Toast, ToastVariant, ToastProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/pro-light-svg-icons';
|
|
3
|
+
import { ToastHeaderProps as BsToastHeaderProps } from 'react-bootstrap';
|
|
4
|
+
export interface ToastHeaderProps extends BsToastHeaderProps {
|
|
5
|
+
icon: IconDefinition;
|
|
6
|
+
}
|
|
7
|
+
export declare const ToastHeader: React.FC;
|