@pega/cosmos-react-core 3.0.0-dev.28.0 → 3.0.0-dev.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.d.ts.map +1 -1
- package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js +23 -22
- package/lib/components/ComboBox/MultiSelectInput/MultiSelectInput.js.map +1 -1
- package/lib/components/Currency/CurrencyInput.types.d.ts +1 -1
- package/lib/components/Currency/CurrencyInput.types.d.ts.map +1 -1
- package/lib/components/Currency/CurrencyInput.types.js.map +1 -1
- package/lib/components/DateTime/DateTime.types.d.ts +13 -9
- package/lib/components/DateTime/DateTime.types.d.ts.map +1 -1
- package/lib/components/DateTime/DateTime.types.js.map +1 -1
- package/lib/components/DateTime/Input/DateInput.d.ts +6 -2
- package/lib/components/DateTime/Input/DateInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/DateInput.js +11 -10
- package/lib/components/DateTime/Input/DateInput.js.map +1 -1
- package/lib/components/DateTime/Input/DateRangeInput.d.ts +16 -29
- package/lib/components/DateTime/Input/DateRangeInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/DateRangeInput.js +95 -82
- package/lib/components/DateTime/Input/DateRangeInput.js.map +1 -1
- package/lib/components/DateTime/Input/DateTimeInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/DateTimeInput.js +3 -2
- package/lib/components/DateTime/Input/DateTimeInput.js.map +1 -1
- package/lib/components/DateTime/Input/TimeInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/TimeInput.js +3 -2
- package/lib/components/DateTime/Input/TimeInput.js.map +1 -1
- package/lib/components/DateTime/Input/TimeRangeInput.d.ts +46 -0
- package/lib/components/DateTime/Input/TimeRangeInput.d.ts.map +1 -0
- package/lib/components/DateTime/Input/TimeRangeInput.js +74 -0
- package/lib/components/DateTime/Input/TimeRangeInput.js.map +1 -0
- package/lib/components/DateTime/Input/WeekInput.js +2 -2
- package/lib/components/DateTime/Input/WeekInput.js.map +1 -1
- package/lib/components/DateTime/Picker/Calendar.js +1 -1
- package/lib/components/DateTime/Picker/Calendar.js.map +1 -1
- package/lib/components/DateTime/Picker/TimePicker.d.ts +1 -1
- package/lib/components/DateTime/Picker/TimePicker.d.ts.map +1 -1
- package/lib/components/DateTime/Picker/TimePicker.js.map +1 -1
- package/lib/components/DateTime/index.d.ts +2 -0
- package/lib/components/DateTime/index.d.ts.map +1 -1
- package/lib/components/DateTime/index.js +1 -0
- package/lib/components/DateTime/index.js.map +1 -1
- package/lib/components/FieldValueList/FieldValueList.js +1 -1
- package/lib/components/FieldValueList/FieldValueList.js.map +1 -1
- package/lib/components/Flex/Flex.d.ts +10 -9
- package/lib/components/Flex/Flex.d.ts.map +1 -1
- package/lib/components/Flex/Flex.js.map +1 -1
- package/lib/components/Grid/Grid.d.ts +1 -1
- package/lib/components/Grid/Grid.d.ts.map +1 -1
- package/lib/components/Grid/Grid.types.d.ts +10 -8
- package/lib/components/Grid/Grid.types.d.ts.map +1 -1
- package/lib/components/Grid/Grid.types.js.map +1 -1
- package/lib/components/Icon/iconNames.d.ts +1 -1
- package/lib/components/Icon/iconNames.d.ts.map +1 -1
- package/lib/components/Icon/iconNames.js.map +1 -1
- package/lib/components/Icon/index.d.ts +1 -1
- package/lib/components/Icon/index.d.ts.map +1 -1
- package/lib/components/Icon/index.js.map +1 -1
- package/lib/components/Input/Input.styles.d.ts +1 -0
- package/lib/components/Input/Input.styles.d.ts.map +1 -1
- package/lib/components/Input/Input.styles.js +31 -0
- package/lib/components/Input/Input.styles.js.map +1 -1
- package/lib/components/Link/Link.d.ts +4 -1
- package/lib/components/Link/Link.d.ts.map +1 -1
- package/lib/components/Link/Link.js +37 -9
- package/lib/components/Link/Link.js.map +1 -1
- package/lib/components/Location/LocationView.d.ts.map +1 -1
- package/lib/components/Location/LocationView.js +2 -2
- package/lib/components/Location/LocationView.js.map +1 -1
- package/lib/components/Number/NumberInput.d.ts +1 -1
- package/lib/components/Number/NumberInput.d.ts.map +1 -1
- package/lib/components/Number/NumberInput.js +4 -4
- package/lib/components/Number/NumberInput.js.map +1 -1
- package/lib/components/Number/NumberInput.styles.d.ts.map +1 -1
- package/lib/components/Number/NumberInput.styles.js +2 -0
- package/lib/components/Number/NumberInput.styles.js.map +1 -1
- package/lib/components/Number/NumberInput.types.d.ts +54 -20
- package/lib/components/Number/NumberInput.types.d.ts.map +1 -1
- package/lib/components/Number/NumberInput.types.js.map +1 -1
- package/lib/components/Number/NumberRangeInput.d.ts +6 -0
- package/lib/components/Number/NumberRangeInput.d.ts.map +1 -0
- package/lib/components/Number/NumberRangeInput.js +30 -0
- package/lib/components/Number/NumberRangeInput.js.map +1 -0
- package/lib/components/Number/index.d.ts +3 -2
- package/lib/components/Number/index.d.ts.map +1 -1
- package/lib/components/Number/index.js +1 -0
- package/lib/components/Number/index.js.map +1 -1
- package/lib/components/RadioCheckGroup/RadioCheckGroup.d.ts +1 -0
- package/lib/components/RadioCheckGroup/RadioCheckGroup.d.ts.map +1 -1
- package/lib/components/RadioCheckGroup/RadioCheckGroup.js +1 -1
- package/lib/components/RadioCheckGroup/RadioCheckGroup.js.map +1 -1
- package/lib/components/RadioCheckGroup/index.d.ts +1 -1
- package/lib/components/RadioCheckGroup/index.d.ts.map +1 -1
- package/lib/components/RadioCheckGroup/index.js +1 -1
- package/lib/components/RadioCheckGroup/index.js.map +1 -1
- package/lib/components/Slider/Slider.styles.d.ts +1 -1
- package/lib/components/SummaryItem/SummaryItem.d.ts +2 -2
- package/lib/hooks/useI18n.d.ts +13 -1
- package/lib/hooks/useI18n.d.ts.map +1 -1
- package/lib/i18n/default.d.ts +13 -1
- package/lib/i18n/default.d.ts.map +1 -1
- package/lib/i18n/default.js +15 -1
- package/lib/i18n/default.js.map +1 -1
- package/lib/i18n/i18n.d.ts +13 -1
- package/lib/i18n/i18n.d.ts.map +1 -1
- package/lib/styles/utils.d.ts +1 -1
- package/lib/styles/utils.d.ts.map +1 -1
- package/lib/styles/utils.js.map +1 -1
- package/lib/types/types.d.ts +3 -0
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js.map +1 -1
- package/package.json +1 -1
- package/lib/components/DateTime/types.d.ts +0 -9
- package/lib/components/DateTime/types.d.ts.map +0 -1
- package/lib/components/DateTime/types.js +0 -2
- package/lib/components/DateTime/types.js.map +0 -1
|
@@ -3,6 +3,7 @@ export { default as WeekInput } from './Input/WeekInput';
|
|
|
3
3
|
export { default as MonthInput } from './Input/MonthInput';
|
|
4
4
|
export { default as TimeInput } from './Input/TimeInput';
|
|
5
5
|
export { default as DateRangeInput } from './Input/DateRangeInput';
|
|
6
|
+
export { default as TimeRangeInput } from './Input/TimeRangeInput';
|
|
6
7
|
export { default as DurationInput } from './Input/Duration/DurationInput';
|
|
7
8
|
export { Format } from './Input/Duration/DurationInput.types';
|
|
8
9
|
export { default as DateTimeInput } from './Input/DateTimeInput';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DateTime/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { default as DateInput } from './Input/DateInput';\nexport type { DateInputProps } from './Input/DateInput';\nexport { default as WeekInput } from './Input/WeekInput';\nexport type { WeekInputProps } from './Input/WeekInput';\nexport { default as MonthInput } from './Input/MonthInput';\nexport type { MonthInputProps } from './Input/MonthInput';\nexport { default as TimeInput } from './Input/TimeInput';\nexport type { TimeInputProps } from './Input/TimeInput';\nexport { default as DateRangeInput } from './Input/DateRangeInput';\nexport type { DateRangeInputProps } from './Input/DateRangeInput';\nexport { default as DurationInput } from './Input/Duration/DurationInput';\nexport type { default as DurationInputProps } from './Input/Duration/DurationInput.types';\nexport { Format } from './Input/Duration/DurationInput.types';\nexport { default as DateTimeInput } from './Input/DateTimeInput';\nexport type { DateTimeInputProps } from './Input/DateTimeInput';\nexport { default as DayOfWeekInput } from './Input/DayOfWeekInput';\nexport type { DayOfWeekInputProps } from './Input/DayOfWeekInput';\nexport { default as QuarterInput } from './Input/QuarterInput';\nexport type { QuarterInputProps } from './Input/QuarterInput';\n\nexport { default as TimePicker } from './Picker/TimePicker';\nexport type { TimePickerProps } from './Picker/TimePicker';\nexport { default as DatePicker } from './Picker/DatePicker';\nexport type { default as DatePickerProps } from './Picker/DatePicker.types';\n\nexport { default as DateTimeDisplay } from './DateTimeDisplay';\nexport type { DateTimeDisplayProps } from './DateTimeDisplay';\nexport { default as DurationDisplay } from './DurationDisplay';\nexport type { DurationDisplayProps } from './DurationDisplay';\nexport { formatDateTime, formatDuration } from './utils';\nexport { parseToDate } from './Input/utils';\nexport { isValidDate } from './Picker/utils';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DateTime/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { default as DateInput } from './Input/DateInput';\nexport type { DateInputProps } from './Input/DateInput';\nexport { default as WeekInput } from './Input/WeekInput';\nexport type { WeekInputProps } from './Input/WeekInput';\nexport { default as MonthInput } from './Input/MonthInput';\nexport type { MonthInputProps } from './Input/MonthInput';\nexport { default as TimeInput } from './Input/TimeInput';\nexport type { TimeInputProps } from './Input/TimeInput';\nexport { default as DateRangeInput } from './Input/DateRangeInput';\nexport type { DateRangeInputProps } from './Input/DateRangeInput';\nexport { default as TimeRangeInput } from './Input/TimeRangeInput';\nexport type { TimeRangeInputProps } from './Input/TimeRangeInput';\nexport { default as DurationInput } from './Input/Duration/DurationInput';\nexport type { default as DurationInputProps } from './Input/Duration/DurationInput.types';\nexport { Format } from './Input/Duration/DurationInput.types';\nexport { default as DateTimeInput } from './Input/DateTimeInput';\nexport type { DateTimeInputProps } from './Input/DateTimeInput';\nexport { default as DayOfWeekInput } from './Input/DayOfWeekInput';\nexport type { DayOfWeekInputProps } from './Input/DayOfWeekInput';\nexport { default as QuarterInput } from './Input/QuarterInput';\nexport type { QuarterInputProps } from './Input/QuarterInput';\n\nexport { default as TimePicker } from './Picker/TimePicker';\nexport type { TimePickerProps } from './Picker/TimePicker';\nexport { default as DatePicker } from './Picker/DatePicker';\nexport type { default as DatePickerProps } from './Picker/DatePicker.types';\n\nexport { default as DateTimeDisplay } from './DateTimeDisplay';\nexport type { DateTimeDisplayProps } from './DateTimeDisplay';\nexport { default as DurationDisplay } from './DurationDisplay';\nexport type { DurationDisplayProps } from './DurationDisplay';\nexport { formatDateTime, formatDuration } from './utils';\nexport { parseToDate } from './Input/utils';\nexport { isValidDate } from './Picker/utils';\n"]}
|
|
@@ -68,7 +68,7 @@ const DynamicHeightValue = ({ children }) => {
|
|
|
68
68
|
observer.disconnect();
|
|
69
69
|
};
|
|
70
70
|
}, [textRef.current, maxTextHeight]);
|
|
71
|
-
return (_jsxs(_Fragment, { children: [_jsx(ExpandCollapse, { collapsed: collapsed, min: exceedsMaxHeight ? `${maxTextHeight}px` : 'max-content', children: _jsx(
|
|
71
|
+
return (_jsxs(_Fragment, { children: [_jsx(ExpandCollapse, { collapsed: collapsed, min: exceedsMaxHeight ? `${maxTextHeight}px` : 'max-content', children: _jsx("div", { ref: textRef, children: _jsx("span", { children: children }) }) }), exceedsMaxHeight && (_jsx(Button, { variant: 'link', onClick: () => setCollapsed(current => !current), children: collapsed ? t('show_more') : t('show_less') }))] }));
|
|
72
72
|
};
|
|
73
73
|
export const FieldValueItem = ({ name, value, variant = 'inline' }) => {
|
|
74
74
|
const Wrapper = variant === 'stacked' ? StyledStackedFieldValue : Fragment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValueList.js","sourceRoot":"","sources":["../../../src/components/FieldValueList/FieldValueList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,QAAQ,EAER,QAAQ,EACR,eAAe,EACf,MAAM,EACN,OAAO,EACR,MAAM,OAAO,CAAC;AACf,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAqB/C,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,EAAE,CAAA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,CAAC,CAAC,CAAC,GAAG;SACjD,EACD,EAAE,EAAE,oBAAoB,EACxB,OAAO,EAAE,OAAO,YAEf,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE;YACzD,MAAM,UAAU,GAAG,YAAY,IAAI,OAAO,CAAC;YAC3C,OAAO,CACL,KAAC,cAAc,IACb,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,IACnD,EAAE,IAAI,IAAI,CACf,CACH,CAAC;QACJ,CAAC,CAAC,GACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["import {\n ReactNode,\n Fragment,\n FunctionComponent,\n useState,\n useLayoutEffect,\n useRef,\n useMemo\n} from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { BaseProps, ForwardProps, NoChildrenProp } from '../../types';\nimport Button from '../Button';\nimport ExpandCollapse from '../ExpandCollapse';\nimport Grid from '../Grid';\nimport { StyledLabel } from '../Label';\nimport { useI18n } from '../../hooks';\nimport { windowIsAvailable } from '../../utils';\nimport { defaultThemeProp } from '../../theme';\n\nexport type FieldValueVariant = 'inline' | 'stacked';\n\nexport interface FieldValueListItemProps {\n id?: string;\n name: string;\n value?: ReactNode;\n variant?: FieldValueVariant;\n}\n\nexport interface FieldValueListProps extends BaseProps, NoChildrenProp {\n /** The set of field values to render in the list. */\n fields: FieldValueListItemProps[];\n /**\n * Determines if the field and values should be displayed on the same line, or stacked with the field above the value.\n * @default \"inline\"\n */\n variant?: FieldValueVariant | 'value-comparison';\n}\n\nexport const StyledFieldName = styled.dt`\n word-break: break-word;\n`;\n\nexport const StyledFieldValue = styled.dd`\n word-break: break-word;\n overflow: auto;\n`;\n\nexport type StyledFieldValueListProps = Pick<FieldValueListProps, 'variant'>;\n\nexport const StyledFieldValueList = styled.dl<StyledFieldValueListProps>(({ variant, theme }) => {\n return css`\n width: 100%;\n\n ${variant === 'value-comparison' &&\n css`\n dt {\n width: 100%;\n }\n dd {\n text-align: end;\n padding-inline-start: calc(2 * ${theme.base.spacing});\n }\n ${StyledLabel} {\n max-width: unset;\n }\n dd:not(:last-of-type),\n dt:not(:last-of-type) {\n border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};\n padding-bottom: calc(0.5 * ${theme.base.spacing});\n }\n `}\n `;\n});\n\nStyledFieldValueList.defaultProps = defaultThemeProp;\n\nexport const StyledStackedFieldValue = styled.div``;\n\nconst DynamicHeightValue = ({ children }: { children: ReactNode }): JSX.Element => {\n const [collapsed, setCollapsed] = useState(true);\n const [exceedsMaxHeight, setExceedsMaxHeight] = useState(false);\n const textRef = useRef<HTMLDivElement>(null);\n const t = useI18n();\n\n const maxTextHeight = useMemo(() => {\n if (!windowIsAvailable) return Infinity;\n\n const computedLineHeight =\n Number.parseInt(\n window.getComputedStyle(document.documentElement).getPropertyValue('font-size'),\n 10\n ) * 1.25;\n\n return 3 * computedLineHeight;\n }, []);\n\n useLayoutEffect(() => {\n if (!textRef.current) return;\n\n const observer = new ResizeObserver(entries => {\n const exceedsHeight = entries.some(({ target, contentRect }) => {\n if (target !== textRef.current) return;\n\n return contentRect.height > maxTextHeight;\n });\n\n setExceedsMaxHeight(exceedsHeight);\n });\n\n observer.observe(textRef.current);\n\n return () => {\n observer.disconnect();\n };\n }, [textRef.current, maxTextHeight]);\n\n return (\n <>\n <ExpandCollapse\n collapsed={collapsed}\n min={exceedsMaxHeight ? `${maxTextHeight}px` : 'max-content'}\n >\n <div ref={textRef}>\n <span>{children}</span>\n </div>\n </ExpandCollapse>\n {exceedsMaxHeight && (\n <Button variant='link' onClick={() => setCollapsed(current => !current)}>\n {collapsed ? t('show_more') : t('show_less')}\n </Button>\n )}\n </>\n );\n};\n\nexport const FieldValueItem = ({ name, value, variant = 'inline' }: FieldValueListItemProps) => {\n const Wrapper = variant === 'stacked' ? StyledStackedFieldValue : Fragment;\n const displayValue =\n typeof value === 'string' ? <DynamicHeightValue>{value}</DynamicHeightValue> : value;\n\n return (\n <Wrapper>\n <StyledLabel as={StyledFieldName}>{name}</StyledLabel>\n <StyledFieldValue>\n {value ? displayValue : <span aria-hidden='true'>––</span>}\n </StyledFieldValue>\n </Wrapper>\n );\n};\n\nconst FieldValueList: FunctionComponent<FieldValueListProps & ForwardProps> = ({\n fields,\n variant = 'inline',\n ...restProps\n}: FieldValueListProps) => {\n return (\n <Grid\n {...restProps}\n container={{\n cols: ['inline', 'value-comparison'].includes(variant)\n ? '16ch minmax(0, 1fr)'\n : 'minmax(0, 1fr)',\n colGap: variant !== 'value-comparison' ? 2 : 0,\n rowGap: variant !== 'value-comparison' ? 1 : 0.5\n }}\n as={StyledFieldValueList}\n variant={variant}\n >\n {fields.map(({ id, name, value, variant: fieldVariant }) => {\n const useVariant = fieldVariant ?? variant;\n return (\n <FieldValueItem\n name={name}\n value={value}\n variant={useVariant === 'stacked' ? 'stacked' : 'inline'}\n key={id ?? name}\n />\n );\n })}\n </Grid>\n );\n};\n\nexport default FieldValueList;\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, Ref, ReactNode } from 'react';
|
|
2
|
-
import { ForwardProps, BaseProps, AsProp } from '../../types';
|
|
2
|
+
import { ForwardProps, BaseProps, AsProp, RequireAtLeastOne } from '../../types';
|
|
3
3
|
export interface FlexContainerProps {
|
|
4
4
|
/** Display as inline-flex. */
|
|
5
5
|
inline?: boolean;
|
|
@@ -50,23 +50,24 @@ export interface BaseFlexProps {
|
|
|
50
50
|
container?: FlexContainerProps | true;
|
|
51
51
|
item?: FlexItemProps;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
declare type BreakpointFlexProps = RequireAtLeastOne<BaseFlexProps, 'container' | 'item'>;
|
|
54
|
+
export declare type FlexProps = RequireAtLeastOne<BaseFlexProps & BaseProps & AsProp & {
|
|
54
55
|
/** Content for either a container or item. */
|
|
55
56
|
children?: ReactNode;
|
|
56
57
|
/** Ref for the flex element. */
|
|
57
58
|
ref?: Ref<Element>;
|
|
58
59
|
/** Override props at extra small screen sizes and above. */
|
|
59
|
-
xs?:
|
|
60
|
+
xs?: BreakpointFlexProps;
|
|
60
61
|
/** Override props at small screen sizes and above. */
|
|
61
|
-
sm?:
|
|
62
|
+
sm?: BreakpointFlexProps;
|
|
62
63
|
/** Override props at medium screen sizes and above. */
|
|
63
|
-
md?:
|
|
64
|
+
md?: BreakpointFlexProps;
|
|
64
65
|
/** Override props at large screen sizes and above. */
|
|
65
|
-
lg?:
|
|
66
|
+
lg?: BreakpointFlexProps;
|
|
66
67
|
/** Override props at extra large screen sizes and above. */
|
|
67
|
-
xl?:
|
|
68
|
-
}
|
|
69
|
-
export declare const StyledFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, FlexProps, never>;
|
|
68
|
+
xl?: BreakpointFlexProps;
|
|
69
|
+
}, 'container' | 'item' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
70
|
+
export declare const StyledFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {} & FlexProps, never>;
|
|
70
71
|
declare const Flex: FunctionComponent<FlexProps & ForwardProps>;
|
|
71
72
|
export default Flex;
|
|
72
73
|
//# sourceMappingURL=Flex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/Flex.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA+B,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvF,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/Flex.tsx"],"names":[],"mappings":"AAA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ClB,EAAE;QACF,EAAE;QACF,EAAE;QACF,EAAE;QACF,EAAE;KACH,CAAC;IAEF,OAAO,GAAG,CAAA;QACN,kBAAkB,CAAC,SAAS,CAAC;QAC7B,aAAa,CAAC,IAAI,CAAC;;MAErB,eAAe,CAAC,GAAG,CACjB,UAAU,CAAC,EAAE,CACX,WAAW,CAAC,UAAU,CAAC;QACvB,GAAG,CAAA;4CAC+B,gBAAgB,CAAC,UAAU,CAAC;gBACxD,kBAAkB,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC;gBACtD,aAAa,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC;;WAEjD,CACJ;KACF,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,UAAU,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAE3C,MAAM,IAAI,GAAgD,UAAU,CAClE,CAAC,KAAiC,EAAE,GAAqB,EAAE,EAAE;IAC3D,OAAO,KAAC,UAAU,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AAC7C,CAAC,CACF,CAAC;AAEF,eAAe,IAAI,CAAC","sourcesContent":["import { FunctionComponent, forwardRef, PropsWithoutRef, Ref, ReactNode } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { ForwardProps, BaseProps, AsProp } from '../../types';\nimport { defaultThemeProp } from '../../theme';\n\nexport interface FlexContainerProps {\n /** Display as inline-flex. */\n inline?: boolean;\n /** Padding on the container represented as a multiplier or set of multipliers to the base spacing value in the theme. */\n pad?:\n | number\n | [topRightBottomLeft: number]\n | [topBottom: number, rightLeft: number]\n | [top: number, rightLeft: number, bottom: number]\n | [top: number, right: number, bottom: number, left: number];\n /** [flex-direction](https://css-tricks.com/almanac/properties/f/flex-direction/) */\n direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';\n /** [justify-content](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content) */\n justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';\n /** [flex-wrap](https://css-tricks.com/almanac/properties/f/flex-wrap/) */\n wrap?: 'wrap' | 'nowrap' | 'wrap-reverse';\n /** [align-items](https://css-tricks.com/almanac/properties/a/align-items/). */\n alignItems?: 'stretch' | 'start' | 'end' | 'center' | 'baseline';\n /** [align-content](https://css-tricks.com/almanac/properties/a/align-content/) */\n alignContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'stretch';\n /**\n * Defines how much equal space to place between items represented as a multiplier to the base spacing value in the theme.\n * @deprecated\n */\n itemGap?: number;\n /**\n * Defines how much equal space to place between columns represented as a multiplier to the base spacing value in the theme.\n * [column-gap](https://css-tricks.com/almanac/properties/c/column-gap/)\n */\n colGap?: number;\n /**\n * Defines how much equal space to place between rows represented as a multiplier to the base spacing value in the theme.\n * [row-gap](https://css-tricks.com/almanac/properties/r/row-gap/)\n */\n rowGap?: number;\n /**\n * Defines how much equal space to place between both rows and columns represented as a multiplier to the base spacing value in the theme.\n * [gap](https://css-tricks.com/almanac/properties/g/gap/)\n */\n gap?: number;\n}\n\nexport interface FlexItemProps {\n /** [align-self](https://css-tricks.com/almanac/properties/a/align-self/) */\n alignSelf?: 'auto' | 'start' | 'end' | 'baseline' | 'center' | 'stretch';\n /** [flex-grow](https://css-tricks.com/almanac/properties/f/flex-grow/) */\n grow?: number;\n /** [flex-shrink](https://css-tricks.com/almanac/properties/f/flex-shrink/) */\n shrink?: number;\n /** [flex-basis](https://css-tricks.com/almanac/properties/f/flex-basis/) */\n basis?: string;\n}\n\nexport interface BaseFlexProps {\n container?: FlexContainerProps | true;\n item?: FlexItemProps;\n}\n\nexport interface FlexProps extends BaseFlexProps, BaseProps, AsProp {\n /** Content for either a container or item. */\n children?: ReactNode;\n /** Ref for the flex element. */\n ref?: Ref<Element>;\n /** Override props at extra small screen sizes and above. */\n xs?: BaseFlexProps;\n /** Override props at small screen sizes and above. */\n sm?: BaseFlexProps;\n /** Override props at medium screen sizes and above. */\n md?: BaseFlexProps;\n /** Override props at large screen sizes and above. */\n lg?: BaseFlexProps;\n /** Override props at extra large screen sizes and above. */\n xl?: BaseFlexProps;\n}\n\nconst prefix = (value: string) => {\n if (['between', 'around', 'evenly'].includes(value)) return `space-${value}`;\n if (['start', 'end'].includes(value)) return `flex-${value}`;\n return value;\n};\n\nconst getContainerStyles = (container: FlexProps['container']) => {\n if (!container) return '';\n\n if (container === true) {\n return css`\n display: flex;\n `;\n }\n\n if (container && typeof container === 'object') {\n const isRow = !container.direction || container.direction.includes('row');\n const isReverse = container.direction && container.direction.includes('reverse');\n\n return css`\n display: ${container.inline ? 'inline-flex' : 'flex'};\n\n ${container.pad !== undefined &&\n css`\n /* stylelint-disable function-name-case, function-whitespace-after */\n padding: ${({\n theme: {\n base: { spacing }\n }\n }) =>\n (Array.isArray(container.pad) ? container.pad : [container.pad])\n .map(p => `calc(${p} * ${spacing})`)\n .join(' ')};\n\n /* stylelint-enable function-name-case, function-whitespace-after */\n `}\n\n ${container.direction &&\n css`\n flex-direction: ${container.direction};\n `}\n\n ${container.justify &&\n css`\n justify-content: ${prefix(container.justify)};\n `}\n\n ${container.wrap &&\n css`\n flex-wrap: ${container.wrap};\n `}\n\n ${container.alignItems &&\n css`\n align-items: ${prefix(container.alignItems)};\n `}\n\n ${container.alignContent &&\n css`\n align-content: ${prefix(container.alignContent)};\n `}\n\n ${container.itemGap &&\n css`\n > * {\n margin-${isRow ? 'inline-start' : 'block-start'}: calc(${container.itemGap} * ${props =>\n props.theme.base.spacing});\n ${isReverse ? ':last-child' : ':first-child'} {\n margin-${isRow ? 'inline-start' : 'block-start'}: 0;\n }\n }\n `}\n\n ${container.gap !== undefined &&\n css`\n gap: calc(${container.gap} * ${props => props.theme.base.spacing});\n `}\n\n ${container.colGap !== undefined &&\n css`\n column-gap: calc(${container.colGap} * ${props => props.theme.base.spacing});\n `}\n\n ${container.rowGap !== undefined &&\n css`\n row-gap: calc(${container.rowGap} * ${props => props.theme.base.spacing});\n `}\n `;\n }\n};\n\nconst getItemStyles = (item: FlexProps['item']) => {\n return css`\n ${item &&\n css`\n max-width: 100%;\n min-width: 0;\n\n ${item.grow !== undefined &&\n css`\n flex-grow: ${item.grow};\n `}\n\n ${item.shrink !== undefined &&\n css`\n flex-shrink: ${item.shrink};\n `}\n\n ${item.alignSelf &&\n css`\n align-self: ${prefix(item.alignSelf)};\n `}\n\n ${item.basis &&\n css`\n flex-basis: ${item.basis};\n `}\n `}\n `;\n};\n\nconst breakpointOrder = ['xs', 'sm', 'md', 'lg', 'xl'] as const;\n\nexport const StyledFlex = styled.div<FlexProps>(\n ({\n container,\n item,\n theme: {\n base: { breakpoints: themeBreakpoints }\n },\n xs,\n sm,\n md,\n lg,\n xl\n }) => {\n const breakpoints = {\n xs,\n sm,\n md,\n lg,\n xl\n };\n\n return css`\n ${getContainerStyles(container)}\n ${getItemStyles(item)}\n\n ${breakpointOrder.map(\n breakpoint =>\n breakpoints[breakpoint] &&\n css`\n @media screen and (min-width: ${themeBreakpoints[breakpoint]}) {\n ${getContainerStyles(breakpoints[breakpoint]?.container)}\n ${getItemStyles(breakpoints[breakpoint]?.item)}\n }\n `\n )}\n `;\n }\n);\n\nStyledFlex.defaultProps = defaultThemeProp;\n\nconst Flex: FunctionComponent<FlexProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<FlexProps>, ref: FlexProps['ref']) => {\n return <StyledFlex {...props} ref={ref} />;\n }\n);\n\nexport default Flex;\n"]}
|
|
1
|
+
{"version":3,"file":"Flex.js","sourceRoot":"","sources":["../../../src/components/Flex/Flex.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,UAAU,EAAmC,MAAM,OAAO,CAAC;AACvF,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAoF/C,MAAM,MAAM,GAAG,CAAC,KAAa,EAAE,EAAE;IAC/B,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CA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WAEjD,CACJ;KACF,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,UAAU,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAE3C,MAAM,IAAI,GAAgD,UAAU,CAClE,CAAC,KAAiC,EAAE,GAAqB,EAAE,EAAE;IAC3D,OAAO,KAAC,UAAU,OAAK,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AAC7C,CAAC,CACF,CAAC;AAEF,eAAe,IAAI,CAAC","sourcesContent":["import { FunctionComponent, forwardRef, PropsWithoutRef, Ref, ReactNode } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { ForwardProps, BaseProps, AsProp, RequireAtLeastOne } from '../../types';\nimport { defaultThemeProp } from '../../theme';\n\nexport interface FlexContainerProps {\n /** Display as inline-flex. */\n inline?: boolean;\n /** Padding on the container represented as a multiplier or set of multipliers to the base spacing value in the theme. */\n pad?:\n | number\n | [topRightBottomLeft: number]\n | [topBottom: number, rightLeft: number]\n | [top: number, rightLeft: number, bottom: number]\n | [top: number, right: number, bottom: number, left: number];\n /** [flex-direction](https://css-tricks.com/almanac/properties/f/flex-direction/) */\n direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';\n /** [justify-content](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content) */\n justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';\n /** [flex-wrap](https://css-tricks.com/almanac/properties/f/flex-wrap/) */\n wrap?: 'wrap' | 'nowrap' | 'wrap-reverse';\n /** [align-items](https://css-tricks.com/almanac/properties/a/align-items/). */\n alignItems?: 'stretch' | 'start' | 'end' | 'center' | 'baseline';\n /** [align-content](https://css-tricks.com/almanac/properties/a/align-content/) */\n alignContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'stretch';\n /**\n * Defines how much equal space to place between items represented as a multiplier to the base spacing value in the theme.\n * @deprecated\n */\n itemGap?: number;\n /**\n * Defines how much equal space to place between columns represented as a multiplier to the base spacing value in the theme.\n * [column-gap](https://css-tricks.com/almanac/properties/c/column-gap/)\n */\n colGap?: number;\n /**\n * Defines how much equal space to place between rows represented as a multiplier to the base spacing value in the theme.\n * [row-gap](https://css-tricks.com/almanac/properties/r/row-gap/)\n */\n rowGap?: number;\n /**\n * Defines how much equal space to place between both rows and columns represented as a multiplier to the base spacing value in the theme.\n * [gap](https://css-tricks.com/almanac/properties/g/gap/)\n */\n gap?: number;\n}\n\nexport interface FlexItemProps {\n /** [align-self](https://css-tricks.com/almanac/properties/a/align-self/) */\n alignSelf?: 'auto' | 'start' | 'end' | 'baseline' | 'center' | 'stretch';\n /** [flex-grow](https://css-tricks.com/almanac/properties/f/flex-grow/) */\n grow?: number;\n /** [flex-shrink](https://css-tricks.com/almanac/properties/f/flex-shrink/) */\n shrink?: number;\n /** [flex-basis](https://css-tricks.com/almanac/properties/f/flex-basis/) */\n basis?: string;\n}\n\nexport interface BaseFlexProps {\n container?: FlexContainerProps | true;\n item?: FlexItemProps;\n}\n\ntype BreakpointFlexProps = RequireAtLeastOne<BaseFlexProps, 'container' | 'item'>;\n\nexport type FlexProps = RequireAtLeastOne<\n BaseFlexProps &\n BaseProps &\n AsProp & {\n /** Content for either a container or item. */\n children?: ReactNode;\n /** Ref for the flex element. */\n ref?: Ref<Element>;\n /** Override props at extra small screen sizes and above. */\n xs?: BreakpointFlexProps;\n /** Override props at small screen sizes and above. */\n sm?: BreakpointFlexProps;\n /** Override props at medium screen sizes and above. */\n md?: BreakpointFlexProps;\n /** Override props at large screen sizes and above. */\n lg?: BreakpointFlexProps;\n /** Override props at extra large screen sizes and above. */\n xl?: BreakpointFlexProps;\n },\n 'container' | 'item' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'\n>;\n\nconst prefix = (value: string) => {\n if (['between', 'around', 'evenly'].includes(value)) return `space-${value}`;\n if (['start', 'end'].includes(value)) return `flex-${value}`;\n return value;\n};\n\nconst getContainerStyles = (container: FlexProps['container']) => {\n if (!container) return '';\n\n if (container === true) {\n return css`\n display: flex;\n `;\n }\n\n if (container && typeof container === 'object') {\n const isRow = !container.direction || container.direction.includes('row');\n const isReverse = container.direction && container.direction.includes('reverse');\n\n return css`\n display: ${container.inline ? 'inline-flex' : 'flex'};\n\n ${container.pad !== undefined &&\n css`\n /* stylelint-disable function-name-case, function-whitespace-after */\n padding: ${({\n theme: {\n base: { spacing }\n }\n }) =>\n (Array.isArray(container.pad) ? container.pad : [container.pad])\n .map(p => `calc(${p} * ${spacing})`)\n .join(' ')};\n\n /* stylelint-enable function-name-case, function-whitespace-after */\n `}\n\n ${container.direction &&\n css`\n flex-direction: ${container.direction};\n `}\n\n ${container.justify &&\n css`\n justify-content: ${prefix(container.justify)};\n `}\n\n ${container.wrap &&\n css`\n flex-wrap: ${container.wrap};\n `}\n\n ${container.alignItems &&\n css`\n align-items: ${prefix(container.alignItems)};\n `}\n\n ${container.alignContent &&\n css`\n align-content: ${prefix(container.alignContent)};\n `}\n\n ${container.itemGap &&\n css`\n > * {\n margin-${isRow ? 'inline-start' : 'block-start'}: calc(${container.itemGap} * ${props =>\n props.theme.base.spacing});\n ${isReverse ? ':last-child' : ':first-child'} {\n margin-${isRow ? 'inline-start' : 'block-start'}: 0;\n }\n }\n `}\n\n ${container.gap !== undefined &&\n css`\n gap: calc(${container.gap} * ${props => props.theme.base.spacing});\n `}\n\n ${container.colGap !== undefined &&\n css`\n column-gap: calc(${container.colGap} * ${props => props.theme.base.spacing});\n `}\n\n ${container.rowGap !== undefined &&\n css`\n row-gap: calc(${container.rowGap} * ${props => props.theme.base.spacing});\n `}\n `;\n }\n};\n\nconst getItemStyles = (item: FlexProps['item']) => {\n return css`\n ${item &&\n css`\n max-width: 100%;\n min-width: 0;\n\n ${item.grow !== undefined &&\n css`\n flex-grow: ${item.grow};\n `}\n\n ${item.shrink !== undefined &&\n css`\n flex-shrink: ${item.shrink};\n `}\n\n ${item.alignSelf &&\n css`\n align-self: ${prefix(item.alignSelf)};\n `}\n\n ${item.basis &&\n css`\n flex-basis: ${item.basis};\n `}\n `}\n `;\n};\n\nconst breakpointOrder = ['xs', 'sm', 'md', 'lg', 'xl'] as const;\n\nexport const StyledFlex = styled.div<FlexProps>(\n ({\n container,\n item,\n theme: {\n base: { breakpoints: themeBreakpoints }\n },\n xs,\n sm,\n md,\n lg,\n xl\n }) => {\n const breakpoints = {\n xs,\n sm,\n md,\n lg,\n xl\n };\n\n return css`\n ${getContainerStyles(container)}\n ${getItemStyles(item)}\n\n ${breakpointOrder.map(\n breakpoint =>\n breakpoints[breakpoint] &&\n css`\n @media screen and (min-width: ${themeBreakpoints[breakpoint]}) {\n ${getContainerStyles(breakpoints[breakpoint]?.container)}\n ${getItemStyles(breakpoints[breakpoint]?.item)}\n }\n `\n )}\n `;\n }\n);\n\nStyledFlex.defaultProps = defaultThemeProp;\n\nconst Flex: FunctionComponent<FlexProps & ForwardProps> = forwardRef(\n (props: PropsWithoutRef<FlexProps>, ref: FlexProps['ref']) => {\n return <StyledFlex {...props} ref={ref} />;\n }\n);\n\nexport default Flex;\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import { ForwardProps } from '../../types';
|
|
3
3
|
import GridProps from './Grid.types';
|
|
4
|
-
export declare const StyledGrid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, GridProps, never>;
|
|
4
|
+
export declare const StyledGrid: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {} & GridProps, never>;
|
|
5
5
|
declare const Grid: FunctionComponent<GridProps & ForwardProps>;
|
|
6
6
|
export default Grid;
|
|
7
7
|
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAmB,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,SAAS,MAAM,cAAc,CAAC;AA2LrC,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAmB,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,SAAS,MAAM,cAAc,CAAC;AA2LrC,eAAO,MAAM,UAAU,qHAqCtB,CAAC;AAIF,QAAA,MAAM,IAAI,EAAE,iBAAiB,CAAC,SAAS,GAAG,YAAY,CAIrD,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, Ref } from 'react';
|
|
2
|
-
import { BaseProps, AsProp } from '../../types';
|
|
2
|
+
import { BaseProps, AsProp, RequireAtLeastOne } from '../../types';
|
|
3
3
|
export interface GridContainerProps {
|
|
4
4
|
/**
|
|
5
5
|
* Display the grid as an inline-grid.
|
|
@@ -90,20 +90,22 @@ export interface BaseGridProps {
|
|
|
90
90
|
/** Designate as a Grid item to leverage grid item props. */
|
|
91
91
|
item?: GridItemProps;
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
declare type BreakpointGridProps = RequireAtLeastOne<BaseGridProps, 'container' | 'item'>;
|
|
94
|
+
declare type GridProps = RequireAtLeastOne<BaseGridProps & BaseProps & AsProp & {
|
|
94
95
|
/** Any ReactNode to use as grid items. To leverage item based props, use Grid with "item" prop. */
|
|
95
96
|
children?: ReactNode;
|
|
96
97
|
/** Ref for the grid element. */
|
|
97
98
|
ref?: Ref<Element>;
|
|
98
99
|
/** Override props for the grid at extra small screen size. */
|
|
99
|
-
xs?:
|
|
100
|
+
xs?: BreakpointGridProps;
|
|
100
101
|
/** Override props for the grid at small screen size. */
|
|
101
|
-
sm?:
|
|
102
|
+
sm?: BreakpointGridProps;
|
|
102
103
|
/** Override props for the grid at medium screen size. */
|
|
103
|
-
md?:
|
|
104
|
+
md?: BreakpointGridProps;
|
|
104
105
|
/** Override props for the grid at large screen size. */
|
|
105
|
-
lg?:
|
|
106
|
+
lg?: BreakpointGridProps;
|
|
106
107
|
/** Override props for the grid at extra large screen size. */
|
|
107
|
-
xl?:
|
|
108
|
-
}
|
|
108
|
+
xl?: BreakpointGridProps;
|
|
109
|
+
}, 'container' | 'item' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
|
|
110
|
+
export default GridProps;
|
|
109
111
|
//# sourceMappingURL=Grid.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.types.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Grid.types.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yHAAyH;IACzH,GAAG,CAAC,EACA,MAAM,GACN,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAC5B,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,GACtC,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAChD,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IAC/D,wH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,MAAM,CAAC;IAChB,gGAAgG;IAChG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2FAA2F;IAC3F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,CAAC;IACrD;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;CACpD;AAED,MAAM,WAAW,aAAa;IAC5B,yGAAyG;IACzG,SAAS,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACtC,4DAA4D;IAC5D,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AAED,aAAK,mBAAmB,GAAG,iBAAiB,CAAC,aAAa,EAAE,WAAW,GAAG,MAAM,CAAC,CAAC;AAElF,aAAK,SAAS,GAAG,iBAAiB,CAChC,aAAa,GACX,SAAS,GACT,MAAM,GAAG;IACP,mGAAmG;IACnG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gCAAgC;IAChC,GAAG,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACnB,8DAA8D;IAC9D,EAAE,CAAC,EAAE,mBAAmB,CAAC;IACzB,wDAAwD;IACxD,EAAE,CAAC,EAAE,mBAAmB,CAAC;IACzB,yDAAyD;IACzD,EAAE,CAAC,EAAE,mBAAmB,CAAC;IACzB,wDAAwD;IACxD,EAAE,CAAC,EAAE,mBAAmB,CAAC;IACzB,8DAA8D;IAC9D,EAAE,CAAC,EAAE,mBAAmB,CAAC;CAC1B,EACH,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CACxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.types.js","sourceRoot":"","sources":["../../../src/components/Grid/Grid.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ReactNode, Ref } from 'react';\n\nimport { BaseProps, AsProp } from '../../types';\n\nexport interface GridContainerProps {\n /**\n * Display the grid as an inline-grid.\n * @default false\n */\n inline?: boolean;\n /** Padding on the container represented as a multiplier or set of multipliers to the base spacing value in the theme. */\n pad?:\n | number\n | [topRightBottomLeft: number]\n | [topBottom: number, rightLeft: number]\n | [top: number, rightLeft: number, bottom: number]\n | [top: number, right: number, bottom: number, left: number];\n /** [grid-template-columns](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template-columns-rows) */\n cols?: string;\n /** [grid-auto-columns](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-auto-columns-rows) */\n autoCols?: string;\n /** [grid-template-rows](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template-columns-rows) */\n rows?: string;\n /** [grid-auto-rows](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-auto-columns-rows) */\n autoRows?: string;\n /** [grid-auto-flow](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-auto-flow) */\n autoFlow?: 'row' | 'column' | 'row dense' | 'column dense';\n /** [grid-template-area](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template-areas) */\n areas?: string;\n /** [grid-template](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template) */\n template?: string;\n /**\n * Defines how much equal space to place between columns represented as a multiplier to the base spacing value in the theme.\n * [column-gap](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-gap)\n */\n colGap?: number;\n /**\n * Defines how much equal space to place between rows represented as a multiplier to the base spacing value in the theme.\n * [row-gap](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-gap)\n */\n rowGap?: number;\n /**\n * Defines how much equal space to place between both rows and columns represented as a multiplier to the base spacing value in the theme.\n * [gap](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-gap)\n */\n gap?: number;\n /**\n * [justify-items](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-items)\n * @default \"stretch\"\n */\n justifyItems?: 'start' | 'end' | 'center' | 'stretch';\n /**\n * [justify-content](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-content)\n * @default \"start\"\n */\n justifyContent?: 'start' | 'end' | 'center' | 'stretch' | 'around' | 'between' | 'evenly';\n /**\n * [align-items](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-items)\n * @default \"stretch\"\n */\n alignItems?: 'stretch' | 'start' | 'end' | 'center';\n /**\n * [align-content](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-content)\n * @default \"start\"\n */\n alignContent?: 'start' | 'end' | 'center' | 'stretch' | 'around' | 'between' | 'evenly';\n}\n\nexport interface GridItemProps {\n /** [grid-column-start](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n colStart?: string;\n /** [grid-column-end](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n colEnd?: string;\n /** [grid-column](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row) */\n colStartEnd?: string;\n /** [grid-row-start](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n rowStart?: string;\n /** [grid-row-end](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n rowEnd?: string;\n /** [grid-row](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row) */\n rowStartEnd?: string;\n /** [grid-area](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-area) */\n area?: string;\n /**\n * [justify-self](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-self)\n * @default \"stretch\"\n */\n justifySelf?: 'start' | 'end' | 'center' | 'stretch';\n /**\n * [align-self](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-self)\n * @default \"stretch\"\n */\n alignSelf?: 'stretch' | 'start' | 'end' | 'center';\n}\n\nexport interface BaseGridProps {\n /** Creates a [grid container.](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-display) */\n container?: GridContainerProps | true;\n /** Designate as a Grid item to leverage grid item props. */\n item?: GridItemProps;\n}\n\
|
|
1
|
+
{"version":3,"file":"Grid.types.js","sourceRoot":"","sources":["../../../src/components/Grid/Grid.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ReactNode, Ref } from 'react';\n\nimport { BaseProps, AsProp, RequireAtLeastOne } from '../../types';\n\nexport interface GridContainerProps {\n /**\n * Display the grid as an inline-grid.\n * @default false\n */\n inline?: boolean;\n /** Padding on the container represented as a multiplier or set of multipliers to the base spacing value in the theme. */\n pad?:\n | number\n | [topRightBottomLeft: number]\n | [topBottom: number, rightLeft: number]\n | [top: number, rightLeft: number, bottom: number]\n | [top: number, right: number, bottom: number, left: number];\n /** [grid-template-columns](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template-columns-rows) */\n cols?: string;\n /** [grid-auto-columns](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-auto-columns-rows) */\n autoCols?: string;\n /** [grid-template-rows](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template-columns-rows) */\n rows?: string;\n /** [grid-auto-rows](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-auto-columns-rows) */\n autoRows?: string;\n /** [grid-auto-flow](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-auto-flow) */\n autoFlow?: 'row' | 'column' | 'row dense' | 'column dense';\n /** [grid-template-area](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template-areas) */\n areas?: string;\n /** [grid-template](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-template) */\n template?: string;\n /**\n * Defines how much equal space to place between columns represented as a multiplier to the base spacing value in the theme.\n * [column-gap](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-gap)\n */\n colGap?: number;\n /**\n * Defines how much equal space to place between rows represented as a multiplier to the base spacing value in the theme.\n * [row-gap](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-gap)\n */\n rowGap?: number;\n /**\n * Defines how much equal space to place between both rows and columns represented as a multiplier to the base spacing value in the theme.\n * [gap](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-gap)\n */\n gap?: number;\n /**\n * [justify-items](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-items)\n * @default \"stretch\"\n */\n justifyItems?: 'start' | 'end' | 'center' | 'stretch';\n /**\n * [justify-content](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-content)\n * @default \"start\"\n */\n justifyContent?: 'start' | 'end' | 'center' | 'stretch' | 'around' | 'between' | 'evenly';\n /**\n * [align-items](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-items)\n * @default \"stretch\"\n */\n alignItems?: 'stretch' | 'start' | 'end' | 'center';\n /**\n * [align-content](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-content)\n * @default \"start\"\n */\n alignContent?: 'start' | 'end' | 'center' | 'stretch' | 'around' | 'between' | 'evenly';\n}\n\nexport interface GridItemProps {\n /** [grid-column-start](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n colStart?: string;\n /** [grid-column-end](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n colEnd?: string;\n /** [grid-column](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row) */\n colStartEnd?: string;\n /** [grid-row-start](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n rowStart?: string;\n /** [grid-row-end](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row-start-end) */\n rowEnd?: string;\n /** [grid-row](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-column-row) */\n rowStartEnd?: string;\n /** [grid-area](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-grid-area) */\n area?: string;\n /**\n * [justify-self](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-self)\n * @default \"stretch\"\n */\n justifySelf?: 'start' | 'end' | 'center' | 'stretch';\n /**\n * [align-self](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-self)\n * @default \"stretch\"\n */\n alignSelf?: 'stretch' | 'start' | 'end' | 'center';\n}\n\nexport interface BaseGridProps {\n /** Creates a [grid container.](https://css-tricks.com/snippets/css/complete-guide-grid/#prop-display) */\n container?: GridContainerProps | true;\n /** Designate as a Grid item to leverage grid item props. */\n item?: GridItemProps;\n}\n\ntype BreakpointGridProps = RequireAtLeastOne<BaseGridProps, 'container' | 'item'>;\n\ntype GridProps = RequireAtLeastOne<\n BaseGridProps &\n BaseProps &\n AsProp & {\n /** Any ReactNode to use as grid items. To leverage item based props, use Grid with \"item\" prop. */\n children?: ReactNode;\n /** Ref for the grid element. */\n ref?: Ref<Element>;\n /** Override props for the grid at extra small screen size. */\n xs?: BreakpointGridProps;\n /** Override props for the grid at small screen size. */\n sm?: BreakpointGridProps;\n /** Override props for the grid at medium screen size. */\n md?: BreakpointGridProps;\n /** Override props for the grid at large screen size. */\n lg?: BreakpointGridProps;\n /** Override props for the grid at extra large screen size. */\n xl?: BreakpointGridProps;\n },\n 'container' | 'item' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'\n>;\n\nexport default GridProps;\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const iconNames: readonly ["1-1-solid", "1-1", "a11y", "ai-assist", "align-center", "align-item-center-solid", "align-item-center", "align-item-down-solid", "align-item-down", "align-item-left-solid", "align-item-left", "align-item-right-solid", "align-item-right", "align-item-up-solid", "align-item-up", "align-item-vert-center-solid", "align-item-vert-center", "align-left", "align-right", "amazon", "ambulance-solid", "ambulance", "analytics-bad-solid", "analytics-bad", "analytics-good-solid", "analytics-good", "analytics-neutral-solid", "analytics-neutral", "antenna", "app-solid", "app", "archery", "archive-solid", "archive", "arrow-above-or", "arrow-above-row-left", "arrow-above-row-right", "arrow-below-or", "arrow-below-row-left", "arrow-below-row-right", "arrow-bend-left", "arrow-bend-right", "arrow-between-column-down", "arrow-down-between-left-column", "arrow-down-between-right-column", "arrow-down-row", "arrow-down", "arrow-in", "arrow-left-column", "arrow-left-right", "arrow-left", "arrow-micro-down", "arrow-micro-left", "arrow-micro-right", "arrow-micro-up-down", "arrow-micro-up", "arrow-out", "arrow-right-between-rows", "arrow-right-column", "arrow-right", "arrow-up-down", "arrow-up-row", "arrow-up", "atom", "backspace-solid", "backspace", "badge-solid", "badge", "bank-solid", "bank", "bars", "battery-charge-solid", "battery-charge", "battery-solid", "battery", "bell-off-solid", "bell-off", "bell-solid", "bell", "blocks-solid", "blocks", "bluetooth", "bolt-solid", "bolt", "book-open-solid", "book-open", "book-solid", "book", "bookmark-solid", "bookmark", "bounding-box-solid", "bounding-box", "box-3-solid", "box-3", "box-4-solid", "box-4", "box-crosshair", "box-dashed-labeled-solid", "box-dashed-labeled", "box-grid", "box-lines-2-solid", "box-lines-2", "box", "browser-solid", "browser", "bug-solid", "bug", "building-2-solid", "building-2", "building-3-solid", "building-3", "building-solid", "building", "bulb-solid", "bulb", "calculator-solid", "calculator", "calendar-empty-solid", "calendar-empty", "calendar-plus-solid", "calendar-plus", "calendar-range", "calendar-solid", "calendar", "camera-solid", "camera", "cancel", "car-solid", "car", "card-stack-solid", "card-stack", "caret-2-left", "caret-2-right", "caret-down", "caret-left", "caret-right", "caret-up", "carrot", "cart-close-solid", "cart-close", "cart-solid", "cart", "case-medical-solid", "case-medical", "case-solid", "case", "chain-solid", "chain-up", "chain", "chat-help-solid", "chat-help", "chat-sentiment-solid", "chat-sentiment", "chat-solid", "chat-typing-solid", "chat-typing", "chat", "chats-solid", "chats", "check", "checkbook", "chevron-solid", "chevron", "church-solid", "church", "circle-mixed-down", "circle-mixed-left", "circle-mixed-up", "circle-solid", "circle-stacked-mixed", "circle-stacked-solid", "circle-stacked", "circle", "city-solid", "city", "clipboard-check-solid", "clipboard-check", "clipboard-data-solid", "clipboard-data", "clipboard-medical-solid", "clipboard-medical", "clipboard-plus-solid", "clipboard-plus", "clipboard-solid", "clipboard", "clock-solid", "clock", "cloud-down", "cloud-issue-solid", "cloud-issue", "cloud-solid", "cloud-up", "cloud", "cloudy-solid", "cloudy", "code", "column-delete", "column-insert", "column-no-left", "column-no-right", "column-top-fill", "columns-solid", "columns", "command", "compass-solid", "compass", "controller-solid", "controller", "copy-solid", "copy", "credit-solid", "credit", "crop", "crosshairs", "cuppa-solid", "cuppa", "dataviz-area-multi", "dataviz-area-stacked", "dataviz-area", "dataviz-bar-clustered", "dataviz-bar-stacked", "dataviz-bar", "dataviz-bubble", "dataviz-column-clustered", "dataviz-column-stacked", "dataviz-column", "dataviz-combo", "dataviz-datetime-field", "dataviz-donut", "dataviz-flip-counter", "dataviz-forecast", "dataviz-funnel-solid", "dataviz-funnel", "dataviz-gauge", "dataviz-geo-choropleth", "dataviz-line-multi", "dataviz-line", "dataviz-numeric-field", "dataviz-pareto", "dataviz-pie", "dataviz-pivot-table", "dataviz-radar", "dataviz-scatter", "dataviz-spark", "dataviz-string-field", "dataviz-table-with-bars", "dataviz-table-with-cross", "dataviz-waterfall", "desktop-solid", "desktop", "diamond-solid", "diamond", "disc-stack-solid", "disc-stack", "distribute-item-center-solid", "distribute-item-center", "distribute-item-vert-center-solid", "distribute-item-vert-center", "dna", "dock", "document-check-solid", "document-check", "document-compress-solid", "document-compress", "document-data-solid", "document-doc", "document-download-solid", "document-download", "document-minus-solid", "document-minus", "document-pdf", "document-plus-solid", "document-plus", "document-solid", "document-upload-solid", "document-upload", "document-xls", "document", "documents-check-solid", "documents-check", "documents-data-solid", "documents-data", "documents-solid", "documents", "docusign", "dollar-sign-solid", "dollar-sign", "dot-9-solid", "dot-9", "download", "drag", "drink-solid", "drink", "earth-solid", "earth", "edit-shape-solid", "edit-shape", "erase-solid", "erase", "eye-off-solid", "eye-off", "eye-solid", "eye", "face-blank-solid", "face-blank", "face-happy-solid", "face-happy", "face-sad-solid", "face-sad", "facebook", "farm-solid", "farm", "fast-forward-solid", "fast-forward", "filetype-text", "filter-on", "filter", "fire-solid", "fire", "flag-finish", "flag-solid", "flag-wave-solid", "flag-wave", "flag", "flashlight-solid", "flashlight", "folder-close-solid", "folder-close", "folder-closed-solid", "folder-closed", "folder-dollar-solid", "folder-dollar", "folder-hierarchy-solid", "folder-hierarchy", "folder-nested-solid", "folder-nested", "folder-plus-solid", "folder-plus", "folder-solid", "folder", "folders-solid", "folders", "forward-all-solid", "forward-all", "forward-solid", "forward", "freeze-column", "function", "galaxy", "gauge-solid", "gauge", "gear-solid", "gear", "glasses-solid", "glasses", "globe-solid", "globe", "google", "government-solid", "government", "grad-solid", "grad", "grid-solid", "grid", "hand-solid", "hand", "handshake-solid", "handshake", "hanger", "header", "headline-solid", "headline", "headphone-solid", "headphone", "headset", "heart-mixed", "heart-pulse-solid", "heart-pulse", "heart-solid", "heart", "help-solid", "help", "history-solid", "history", "home-alt-solid", "home-alt", "home-solid", "home", "inbox-data-solid", "inbox-data", "inbox-empty", "inbox-solid", "indent", "infinity", "information-solid", "information", "ink-solid", "ink", "inspect", "interact", "ios-face-id", "ios-finger-id", "key", "keyboard-solid", "keyboard", "knight-solid", "knight", "knobs-alt-solid", "knobs-alt", "knobs-solid", "knobs", "laptop-solid", "laptop", "layers-solid", "layers", "layout-solid", "layout", "leaf-solid", "leaf", "legal", "letter-solid", "letter", "life-ring-solid", "life-ring", "linkedin", "list-number", "list", "location-check-solid", "location-check", "location-solid", "location", "locations-solid", "locations", "lock-closed-solid", "lock-closed", "lock-open-solid", "lock-open", "magnet-solid", "magnet", "mail-check-solid", "mail-check", "mail-plus-solid", "mail-plus", "mail-solid", "mail", "mailbox-solid", "mailbox", "map-sigma-solid", "map-sigma", "map-solid", "map", "material-finger", "medal", "megaphone-solid", "megaphone", "mic-off-solid", "mic-off", "mic-solid", "mic", "minus", "mobile-phone-solid", "mobile-phone", "money-send-solid", "money-send", "money-solid", "money", "monkey-solid", "monkey", "moon-solid", "moon", "more-alt", "more", "move-left-solid", "move-right-solid", "move-up-solid", "moving", "multi-device-solid", "multi-device", "music-solid", "music", "navigation-solid", "navigation", "node-solid", "node", "nodes-down-solid", "nodes-down", "nodes-left-solid", "nodes-left", "nodes-right-solid", "nodes-right", "nodes-up-solid", "nodes-up", "notepad-empty-solid", "notepad-empty", "notepad-solid", "notepad", "notes-solid", "notes", "open", "opportunity-solid", "opportunity", "or-delete", "os-android", "os-apple", "os-windows", "paper-clip", "passbook-solid", "passbook", "pause-solid", "pause", "paypal", "peekpanel-arrow-left-solid", "peekpanel-arrow-left", "peekpanel-arrow-right-solid", "peekpanel-arrow-right", "pega", "pegasus", "pen-solid", "pen", "pencil-solid", "pencil", "person-solid", "person", "phone-call-solid", "phone-call", "phone-disabled-solid", "phone-disabled", "phone-hangup-solid", "phone-hangup", "phone-in-solid", "phone-in", "phone-list-solid", "phone-list", "phone-out-solid", "phone-out", "phone-pause-solid", "phone-pause", "phone-solid", "phone-split-solid", "phone-split", "phone", "picture-solid", "picture", "piggybank-solid", "piggybank", "pin-solid", "pin", "pipeline-solid", "pipeline", "placeholder", "plane-solid", "plane", "plant-solid", "plant", "play-solid", "play", "playbook-solid", "playbook", "plug-solid", "plug", "plus-between-left-column", "plus-between-right-column", "plus-line-above-below", "plus-line-above", "plus-line-below", "plus-line-left", "plus-line-right", "plus", "podium-solid", "podium", "polaris-solid", "polaris", "pong-solid", "pong", "potion-solid", "potion", "power", "print-solid", "print", "processor-solid", "processor", "progress-solid", "progress", "puzzle-solid", "puzzle", "qr", "quill", "rabbit", "radio-solid", "radio", "rain-solid", "rain", "receipt-solid", "receipt", "rectangle-solid", "rectangle", "reply-all-solid", "reply-all", "reply-solid", "reply", "reset", "retweet", "rewind-solid", "rewind", "robot-happy-solid", "robot-happy", "robot-sad-solid", "robot-sad", "robot-solid", "robot", "rocket-solid", "rocket", "roller-solid", "roller", "route-solid", "route", "row-delete", "row-insert", "row-left-fill", "row-right-fill", "row", "scale-down", "scale-up-solid", "scale-up", "school-solid", "school", "scissors", "script", "search-analytics-solid", "search-analytics", "search-case", "search-check", "search-close", "search-minus", "search-org", "search-plus", "search-solid", "search-table", "search", "send-solid", "send", "server-cloud-solid", "server-cloud", "server-solid", "server", "sextant", "share-point-up-solid", "share-point-up", "share-solid", "share", "shield-solid", "shield", "shoe-solid", "shoe", "shuffle", "sigma", "signpost-solid", "signpost", "slideshow-solid", "slideshow", "snail", "snow", "social-solid", "social", "speaker-mute-solid", "speaker-mute", "speaker-on-solid", "speaker-on", "speaker-solid", "speaker", "spellcheck", "square-solid", "square", "star-mixed", "star-solid", "star", "steps-solid", "steps", "stethoscope-solid", "stethoscope", "stoplight-solid", "stoplight", "stopwatch-solid", "stopwatch", "store-solid", "store", "sun-solid", "sun", "swipe-left-solid", "swipe-left", "swipe-right-solid", "swipe-right", "table", "tablet-solid", "tablet", "tag-check-solid", "tag-check", "tag-close-solid", "tag-close", "tag-solid", "tag", "target-solid", "target", "temp-solid", "temp", "thumbs-down-solid", "thumbs-down", "thumbs-up-solid", "thumbs-up", "times", "todo-solid", "todo", "tow-truck-solid", "tow-truck", "tracer-solid", "tracer", "transform", "trash-solid", "trash", "triangle-mixed-left", "triangle-mixed-right", "triangle-solid", "triangle", "tribox-solid", "tribox", "trophy-solid", "trophy", "truck-solid", "truck", "tv-solid", "tv", "twitter", "umbrella-solid", "umbrella", "undo", "undock", "unindent", "upload", "user-check-solid", "user-check", "user-close-solid", "user-close", "user-female-solid", "user-female", "user-list-solid", "user-list", "user-plus-solid", "user-plus", "user-search-solid", "user-search", "user-solid", "user-star-solid", "user-star", "user", "users-solid", "users", "video-solid", "video", "voicemail", "vr-solid", "vr", "walkie-solid", "walkie", "wallet-solid", "wallet", "wand", "warn-solid", "warn", "watch-solid", "watch", "waypoint-solid", "waypoint", "webcam-solid", "webcam", "whatsapp", "wifi-none", "wifi-off", "wifi", "wizard-solid", "wizard", "wrench-solid", "wrench", "youtube"];
|
|
2
2
|
export default iconNames;
|
|
3
|
-
export declare type
|
|
3
|
+
export declare type IconName = typeof iconNames[number];
|
|
4
4
|
//# sourceMappingURL=iconNames.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconNames.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/iconNames.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,8sXAgxBL,CAAC;AAEX,eAAe,SAAS,CAAC;AAEzB,oBAAY,
|
|
1
|
+
{"version":3,"file":"iconNames.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/iconNames.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,8sXAgxBL,CAAC;AAEX,eAAe,SAAS,CAAC;AAEzB,oBAAY,QAAQ,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconNames.js","sourceRoot":"","sources":["../../../src/components/Icon/iconNames.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAE/D,MAAM,SAAS,GAAG;IAChB,WAAW;IACX,KAAK;IACL,MAAM;IACN,WAAW;IACX,cAAc;IACd,yBAAyB;IACzB,mBAAmB;IACnB,uBAAuB;IACvB,iBAAiB;IACjB,uBAAuB;IACvB,iBAAiB;IACjB,wBAAwB;IACxB,kBAAkB;IAClB,qBAAqB;IACrB,eAAe;IACf,8BAA8B;IAC9B,wBAAwB;IACxB,YAAY;IACZ,aAAa;IACb,QAAQ;IACR,iBAAiB;IACjB,WAAW;IACX,qBAAqB;IACrB,eAAe;IACf,sBAAsB;IACtB,gBAAgB;IAChB,yBAAyB;IACzB,mBAAmB;IACnB,SAAS;IACT,WAAW;IACX,KAAK;IACL,SAAS;IACT,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,sBAAsB;IACtB,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,uBAAuB;IACvB,iBAAiB;IACjB,kBAAkB;IAClB,2BAA2B;IAC3B,gCAAgC;IAChC,iCAAiC;IACjC,gBAAgB;IAChB,YAAY;IACZ,UAAU;IACV,mBAAmB;IACnB,kBAAkB;IACl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c;IACd,QAAQ;IACR,cAAc;IACd,QAAQ;IACR,MAAM;IACN,YAAY;IACZ,MAAM;IACN,aAAa;IACb,OAAO;IACP,gBAAgB;IAChB,UAAU;IACV,cAAc;IACd,QAAQ;IACR,UAAU;IACV,WAAW;IACX,UAAU;IACV,MAAM;IACN,cAAc;IACd,QAAQ;IACR,cAAc;IACd,QAAQ;IACR,SAAS;CACD,CAAC;AAEX,eAAe,SAAS,CAAC","sourcesContent":["// This file is autogenerated. Any changes will be overwritten.\n\nconst iconNames = [\n '1-1-solid',\n '1-1',\n 'a11y',\n 'ai-assist',\n 'align-center',\n 'align-item-center-solid',\n 'align-item-center',\n 'align-item-down-solid',\n 'align-item-down',\n 'align-item-left-solid',\n 'align-item-left',\n 'align-item-right-solid',\n 'align-item-right',\n 'align-item-up-solid',\n 'align-item-up',\n 'align-item-vert-center-solid',\n 'align-item-vert-center',\n 'align-left',\n 'align-right',\n 'amazon',\n 'ambulance-solid',\n 'ambulance',\n 'analytics-bad-solid',\n 'analytics-bad',\n 'analytics-good-solid',\n 'analytics-good',\n 'analytics-neutral-solid',\n 'analytics-neutral',\n 'antenna',\n 'app-solid',\n 'app',\n 'archery',\n 'archive-solid',\n 'archive',\n 'arrow-above-or',\n 'arrow-above-row-left',\n 'arrow-above-row-right',\n 'arrow-below-or',\n 'arrow-below-row-left',\n 'arrow-below-row-right',\n 'arrow-bend-left',\n 'arrow-bend-right',\n 'arrow-between-column-down',\n 'arrow-down-between-left-column',\n 'arrow-down-between-right-column',\n 'arrow-down-row',\n 'arrow-down',\n 'arrow-in',\n 'arrow-left-column',\n 'arrow-left-right',\n 'arrow-left',\n 'arrow-micro-down',\n 'arrow-micro-left',\n 'arrow-micro-right',\n 'arrow-micro-up-down',\n 'arrow-micro-up',\n 'arrow-out',\n 'arrow-right-between-rows',\n 'arrow-right-column',\n 'arrow-right',\n 'arrow-up-down',\n 'arrow-up-row',\n 'arrow-up',\n 'atom',\n 'backspace-solid',\n 'backspace',\n 'badge-solid',\n 'badge',\n 'bank-solid',\n 'bank',\n 'bars',\n 'battery-charge-solid',\n 'battery-charge',\n 'battery-solid',\n 'battery',\n 'bell-off-solid',\n 'bell-off',\n 'bell-solid',\n 'bell',\n 'blocks-solid',\n 'blocks',\n 'bluetooth',\n 'bolt-solid',\n 'bolt',\n 'book-open-solid',\n 'book-open',\n 'book-solid',\n 'book',\n 'bookmark-solid',\n 'bookmark',\n 'bounding-box-solid',\n 'bounding-box',\n 'box-3-solid',\n 'box-3',\n 'box-4-solid',\n 'box-4',\n 'box-crosshair',\n 'box-dashed-labeled-solid',\n 'box-dashed-labeled',\n 'box-grid',\n 'box-lines-2-solid',\n 'box-lines-2',\n 'box',\n 'browser-solid',\n 'browser',\n 'bug-solid',\n 'bug',\n 'building-2-solid',\n 'building-2',\n 'building-3-solid',\n 'building-3',\n 'building-solid',\n 'building',\n 'bulb-solid',\n 'bulb',\n 'calculator-solid',\n 'calculator',\n 'calendar-empty-solid',\n 'calendar-empty',\n 'calendar-plus-solid',\n 'calendar-plus',\n 'calendar-range',\n 'calendar-solid',\n 'calendar',\n 'camera-solid',\n 'camera',\n 'cancel',\n 'car-solid',\n 'car',\n 'card-stack-solid',\n 'card-stack',\n 'caret-2-left',\n 'caret-2-right',\n 'caret-down',\n 'caret-left',\n 'caret-right',\n 'caret-up',\n 'carrot',\n 'cart-close-solid',\n 'cart-close',\n 'cart-solid',\n 'cart',\n 'case-medical-solid',\n 'case-medical',\n 'case-solid',\n 'case',\n 'chain-solid',\n 'chain-up',\n 'chain',\n 'chat-help-solid',\n 'chat-help',\n 'chat-sentiment-solid',\n 'chat-sentiment',\n 'chat-solid',\n 'chat-typing-solid',\n 'chat-typing',\n 'chat',\n 'chats-solid',\n 'chats',\n 'check',\n 'checkbook',\n 'chevron-solid',\n 'chevron',\n 'church-solid',\n 'church',\n 'circle-mixed-down',\n 'circle-mixed-left',\n 'circle-mixed-up',\n 'circle-solid',\n 'circle-stacked-mixed',\n 'circle-stacked-solid',\n 'circle-stacked',\n 'circle',\n 'city-solid',\n 'city',\n 'clipboard-check-solid',\n 'clipboard-check',\n 'clipboard-data-solid',\n 'clipboard-data',\n 'clipboard-medical-solid',\n 'clipboard-medical',\n 'clipboard-plus-solid',\n 'clipboard-plus',\n 'clipboard-solid',\n 'clipboard',\n 'clock-solid',\n 'clock',\n 'cloud-down',\n 'cloud-issue-solid',\n 'cloud-issue',\n 'cloud-solid',\n 'cloud-up',\n 'cloud',\n 'cloudy-solid',\n 'cloudy',\n 'code',\n 'column-delete',\n 'column-insert',\n 'column-no-left',\n 'column-no-right',\n 'column-top-fill',\n 'columns-solid',\n 'columns',\n 'command',\n 'compass-solid',\n 'compass',\n 'controller-solid',\n 'controller',\n 'copy-solid',\n 'copy',\n 'credit-solid',\n 'credit',\n 'crop',\n 'crosshairs',\n 'cuppa-solid',\n 'cuppa',\n 'dataviz-area-multi',\n 'dataviz-area-stacked',\n 'dataviz-area',\n 'dataviz-bar-clustered',\n 'dataviz-bar-stacked',\n 'dataviz-bar',\n 'dataviz-bubble',\n 'dataviz-column-clustered',\n 'dataviz-column-stacked',\n 'dataviz-column',\n 'dataviz-combo',\n 'dataviz-datetime-field',\n 'dataviz-donut',\n 'dataviz-flip-counter',\n 'dataviz-forecast',\n 'dataviz-funnel-solid',\n 'dataviz-funnel',\n 'dataviz-gauge',\n 'dataviz-geo-choropleth',\n 'dataviz-line-multi',\n 'dataviz-line',\n 'dataviz-numeric-field',\n 'dataviz-pareto',\n 'dataviz-pie',\n 'dataviz-pivot-table',\n 'dataviz-radar',\n 'dataviz-scatter',\n 'dataviz-spark',\n 'dataviz-string-field',\n 'dataviz-table-with-bars',\n 'dataviz-table-with-cross',\n 'dataviz-waterfall',\n 'desktop-solid',\n 'desktop',\n 'diamond-solid',\n 'diamond',\n 'disc-stack-solid',\n 'disc-stack',\n 'distribute-item-center-solid',\n 'distribute-item-center',\n 'distribute-item-vert-center-solid',\n 'distribute-item-vert-center',\n 'dna',\n 'dock',\n 'document-check-solid',\n 'document-check',\n 'document-compress-solid',\n 'document-compress',\n 'document-data-solid',\n 'document-doc',\n 'document-download-solid',\n 'document-download',\n 'document-minus-solid',\n 'document-minus',\n 'document-pdf',\n 'document-plus-solid',\n 'document-plus',\n 'document-solid',\n 'document-upload-solid',\n 'document-upload',\n 'document-xls',\n 'document',\n 'documents-check-solid',\n 'documents-check',\n 'documents-data-solid',\n 'documents-data',\n 'documents-solid',\n 'documents',\n 'docusign',\n 'dollar-sign-solid',\n 'dollar-sign',\n 'dot-9-solid',\n 'dot-9',\n 'download',\n 'drag',\n 'drink-solid',\n 'drink',\n 'earth-solid',\n 'earth',\n 'edit-shape-solid',\n 'edit-shape',\n 'erase-solid',\n 'erase',\n 'eye-off-solid',\n 'eye-off',\n 'eye-solid',\n 'eye',\n 'face-blank-solid',\n 'face-blank',\n 'face-happy-solid',\n 'face-happy',\n 'face-sad-solid',\n 'face-sad',\n 'facebook',\n 'farm-solid',\n 'farm',\n 'fast-forward-solid',\n 'fast-forward',\n 'filetype-text',\n 'filter-on',\n 'filter',\n 'fire-solid',\n 'fire',\n 'flag-finish',\n 'flag-solid',\n 'flag-wave-solid',\n 'flag-wave',\n 'flag',\n 'flashlight-solid',\n 'flashlight',\n 'folder-close-solid',\n 'folder-close',\n 'folder-closed-solid',\n 'folder-closed',\n 'folder-dollar-solid',\n 'folder-dollar',\n 'folder-hierarchy-solid',\n 'folder-hierarchy',\n 'folder-nested-solid',\n 'folder-nested',\n 'folder-plus-solid',\n 'folder-plus',\n 'folder-solid',\n 'folder',\n 'folders-solid',\n 'folders',\n 'forward-all-solid',\n 'forward-all',\n 'forward-solid',\n 'forward',\n 'freeze-column',\n 'function',\n 'galaxy',\n 'gauge-solid',\n 'gauge',\n 'gear-solid',\n 'gear',\n 'glasses-solid',\n 'glasses',\n 'globe-solid',\n 'globe',\n 'google',\n 'government-solid',\n 'government',\n 'grad-solid',\n 'grad',\n 'grid-solid',\n 'grid',\n 'hand-solid',\n 'hand',\n 'handshake-solid',\n 'handshake',\n 'hanger',\n 'header',\n 'headline-solid',\n 'headline',\n 'headphone-solid',\n 'headphone',\n 'headset',\n 'heart-mixed',\n 'heart-pulse-solid',\n 'heart-pulse',\n 'heart-solid',\n 'heart',\n 'help-solid',\n 'help',\n 'history-solid',\n 'history',\n 'home-alt-solid',\n 'home-alt',\n 'home-solid',\n 'home',\n 'inbox-data-solid',\n 'inbox-data',\n 'inbox-empty',\n 'inbox-solid',\n 'indent',\n 'infinity',\n 'information-solid',\n 'information',\n 'ink-solid',\n 'ink',\n 'inspect',\n 'interact',\n 'ios-face-id',\n 'ios-finger-id',\n 'key',\n 'keyboard-solid',\n 'keyboard',\n 'knight-solid',\n 'knight',\n 'knobs-alt-solid',\n 'knobs-alt',\n 'knobs-solid',\n 'knobs',\n 'laptop-solid',\n 'laptop',\n 'layers-solid',\n 'layers',\n 'layout-solid',\n 'layout',\n 'leaf-solid',\n 'leaf',\n 'legal',\n 'letter-solid',\n 'letter',\n 'life-ring-solid',\n 'life-ring',\n 'linkedin',\n 'list-number',\n 'list',\n 'location-check-solid',\n 'location-check',\n 'location-solid',\n 'location',\n 'locations-solid',\n 'locations',\n 'lock-closed-solid',\n 'lock-closed',\n 'lock-open-solid',\n 'lock-open',\n 'magnet-solid',\n 'magnet',\n 'mail-check-solid',\n 'mail-check',\n 'mail-plus-solid',\n 'mail-plus',\n 'mail-solid',\n 'mail',\n 'mailbox-solid',\n 'mailbox',\n 'map-sigma-solid',\n 'map-sigma',\n 'map-solid',\n 'map',\n 'material-finger',\n 'medal',\n 'megaphone-solid',\n 'megaphone',\n 'mic-off-solid',\n 'mic-off',\n 'mic-solid',\n 'mic',\n 'minus',\n 'mobile-phone-solid',\n 'mobile-phone',\n 'money-send-solid',\n 'money-send',\n 'money-solid',\n 'money',\n 'monkey-solid',\n 'monkey',\n 'moon-solid',\n 'moon',\n 'more-alt',\n 'more',\n 'move-left-solid',\n 'move-right-solid',\n 'move-up-solid',\n 'moving',\n 'multi-device-solid',\n 'multi-device',\n 'music-solid',\n 'music',\n 'navigation-solid',\n 'navigation',\n 'node-solid',\n 'node',\n 'nodes-down-solid',\n 'nodes-down',\n 'nodes-left-solid',\n 'nodes-left',\n 'nodes-right-solid',\n 'nodes-right',\n 'nodes-up-solid',\n 'nodes-up',\n 'notepad-empty-solid',\n 'notepad-empty',\n 'notepad-solid',\n 'notepad',\n 'notes-solid',\n 'notes',\n 'open',\n 'opportunity-solid',\n 'opportunity',\n 'or-delete',\n 'os-android',\n 'os-apple',\n 'os-windows',\n 'paper-clip',\n 'passbook-solid',\n 'passbook',\n 'pause-solid',\n 'pause',\n 'paypal',\n 'peekpanel-arrow-left-solid',\n 'peekpanel-arrow-left',\n 'peekpanel-arrow-right-solid',\n 'peekpanel-arrow-right',\n 'pega',\n 'pegasus',\n 'pen-solid',\n 'pen',\n 'pencil-solid',\n 'pencil',\n 'person-solid',\n 'person',\n 'phone-call-solid',\n 'phone-call',\n 'phone-disabled-solid',\n 'phone-disabled',\n 'phone-hangup-solid',\n 'phone-hangup',\n 'phone-in-solid',\n 'phone-in',\n 'phone-list-solid',\n 'phone-list',\n 'phone-out-solid',\n 'phone-out',\n 'phone-pause-solid',\n 'phone-pause',\n 'phone-solid',\n 'phone-split-solid',\n 'phone-split',\n 'phone',\n 'picture-solid',\n 'picture',\n 'piggybank-solid',\n 'piggybank',\n 'pin-solid',\n 'pin',\n 'pipeline-solid',\n 'pipeline',\n 'placeholder',\n 'plane-solid',\n 'plane',\n 'plant-solid',\n 'plant',\n 'play-solid',\n 'play',\n 'playbook-solid',\n 'playbook',\n 'plug-solid',\n 'plug',\n 'plus-between-left-column',\n 'plus-between-right-column',\n 'plus-line-above-below',\n 'plus-line-above',\n 'plus-line-below',\n 'plus-line-left',\n 'plus-line-right',\n 'plus',\n 'podium-solid',\n 'podium',\n 'polaris-solid',\n 'polaris',\n 'pong-solid',\n 'pong',\n 'potion-solid',\n 'potion',\n 'power',\n 'print-solid',\n 'print',\n 'processor-solid',\n 'processor',\n 'progress-solid',\n 'progress',\n 'puzzle-solid',\n 'puzzle',\n 'qr',\n 'quill',\n 'rabbit',\n 'radio-solid',\n 'radio',\n 'rain-solid',\n 'rain',\n 'receipt-solid',\n 'receipt',\n 'rectangle-solid',\n 'rectangle',\n 'reply-all-solid',\n 'reply-all',\n 'reply-solid',\n 'reply',\n 'reset',\n 'retweet',\n 'rewind-solid',\n 'rewind',\n 'robot-happy-solid',\n 'robot-happy',\n 'robot-sad-solid',\n 'robot-sad',\n 'robot-solid',\n 'robot',\n 'rocket-solid',\n 'rocket',\n 'roller-solid',\n 'roller',\n 'route-solid',\n 'route',\n 'row-delete',\n 'row-insert',\n 'row-left-fill',\n 'row-right-fill',\n 'row',\n 'scale-down',\n 'scale-up-solid',\n 'scale-up',\n 'school-solid',\n 'school',\n 'scissors',\n 'script',\n 'search-analytics-solid',\n 'search-analytics',\n 'search-case',\n 'search-check',\n 'search-close',\n 'search-minus',\n 'search-org',\n 'search-plus',\n 'search-solid',\n 'search-table',\n 'search',\n 'send-solid',\n 'send',\n 'server-cloud-solid',\n 'server-cloud',\n 'server-solid',\n 'server',\n 'sextant',\n 'share-point-up-solid',\n 'share-point-up',\n 'share-solid',\n 'share',\n 'shield-solid',\n 'shield',\n 'shoe-solid',\n 'shoe',\n 'shuffle',\n 'sigma',\n 'signpost-solid',\n 'signpost',\n 'slideshow-solid',\n 'slideshow',\n 'snail',\n 'snow',\n 'social-solid',\n 'social',\n 'speaker-mute-solid',\n 'speaker-mute',\n 'speaker-on-solid',\n 'speaker-on',\n 'speaker-solid',\n 'speaker',\n 'spellcheck',\n 'square-solid',\n 'square',\n 'star-mixed',\n 'star-solid',\n 'star',\n 'steps-solid',\n 'steps',\n 'stethoscope-solid',\n 'stethoscope',\n 'stoplight-solid',\n 'stoplight',\n 'stopwatch-solid',\n 'stopwatch',\n 'store-solid',\n 'store',\n 'sun-solid',\n 'sun',\n 'swipe-left-solid',\n 'swipe-left',\n 'swipe-right-solid',\n 'swipe-right',\n 'table',\n 'tablet-solid',\n 'tablet',\n 'tag-check-solid',\n 'tag-check',\n 'tag-close-solid',\n 'tag-close',\n 'tag-solid',\n 'tag',\n 'target-solid',\n 'target',\n 'temp-solid',\n 'temp',\n 'thumbs-down-solid',\n 'thumbs-down',\n 'thumbs-up-solid',\n 'thumbs-up',\n 'times',\n 'todo-solid',\n 'todo',\n 'tow-truck-solid',\n 'tow-truck',\n 'tracer-solid',\n 'tracer',\n 'transform',\n 'trash-solid',\n 'trash',\n 'triangle-mixed-left',\n 'triangle-mixed-right',\n 'triangle-solid',\n 'triangle',\n 'tribox-solid',\n 'tribox',\n 'trophy-solid',\n 'trophy',\n 'truck-solid',\n 'truck',\n 'tv-solid',\n 'tv',\n 'twitter',\n 'umbrella-solid',\n 'umbrella',\n 'undo',\n 'undock',\n 'unindent',\n 'upload',\n 'user-check-solid',\n 'user-check',\n 'user-close-solid',\n 'user-close',\n 'user-female-solid',\n 'user-female',\n 'user-list-solid',\n 'user-list',\n 'user-plus-solid',\n 'user-plus',\n 'user-search-solid',\n 'user-search',\n 'user-solid',\n 'user-star-solid',\n 'user-star',\n 'user',\n 'users-solid',\n 'users',\n 'video-solid',\n 'video',\n 'voicemail',\n 'vr-solid',\n 'vr',\n 'walkie-solid',\n 'walkie',\n 'wallet-solid',\n 'wallet',\n 'wand',\n 'warn-solid',\n 'warn',\n 'watch-solid',\n 'watch',\n 'waypoint-solid',\n 'waypoint',\n 'webcam-solid',\n 'webcam',\n 'whatsapp',\n 'wifi-none',\n 'wifi-off',\n 'wifi',\n 'wizard-solid',\n 'wizard',\n 'wrench-solid',\n 'wrench',\n 'youtube'\n] as const;\n\nexport default iconNames;\n\nexport type IconNames = typeof iconNames[number];\n"]}
|
|
1
|
+
{"version":3,"file":"iconNames.js","sourceRoot":"","sources":["../../../src/components/Icon/iconNames.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAE/D,MAAM,SAAS,GAAG;IAChB,WAAW;IACX,KAAK;IACL,MAAM;IACN,WA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AAO;IACP,YAAY;IACZ,MAAM;IACN,iBAAiB;IACjB,WAAW;IACX,cAAc;IACd,QAAQ;IACR,WAAW;IACX,aAAa;IACb,OAAO;IACP,qBAAqB;IACrB,sBAAsB;IACtB,gBAAgB;IAChB,UAAU;IACV,cAAc;IACd,QAAQ;IACR,cAAc;IACd,QAAQ;IACR,aAAa;IACb,OAAO;IACP,UAAU;IACV,IAAI;IACJ,SAAS;IACT,gBAAgB;IAChB,UAAU;IACV,MAAM;IACN,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,kBAAkB;IAClB,YAAY;IACZ,kBAAkB;IAClB,YAAY;IACZ,mBAAmB;IACnB,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,iBAAiB;IACjB,WAAW;IACX,mBAAmB;IACnB,aAAa;IACb,YAAY;IACZ,iBAAiB;IACjB,WAAW;IACX,MAAM;IACN,aAAa;IACb,OAAO;IACP,aAAa;IACb,OAAO;IACP,WAAW;IACX,UAAU;IACV,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,cAAc;IACd,QAAQ;IACR,MAAM;IACN,YAAY;IACZ,MAAM;IACN,aAAa;IACb,OAAO;IACP,gBAAgB;IAChB,UAAU;IACV,cAAc;IACd,QAAQ;IACR,UAAU;IACV,WAAW;IACX,UAAU;IACV,MAAM;IACN,cAAc;IACd,QAAQ;IACR,cAAc;IACd,QAAQ;IACR,SAAS;CACD,CAAC;AAEX,eAAe,SAAS,CAAC","sourcesContent":["// This file is autogenerated. Any changes will be overwritten.\n\nconst iconNames = [\n '1-1-solid',\n '1-1',\n 'a11y',\n 'ai-assist',\n 'align-center',\n 'align-item-center-solid',\n 'align-item-center',\n 'align-item-down-solid',\n 'align-item-down',\n 'align-item-left-solid',\n 'align-item-left',\n 'align-item-right-solid',\n 'align-item-right',\n 'align-item-up-solid',\n 'align-item-up',\n 'align-item-vert-center-solid',\n 'align-item-vert-center',\n 'align-left',\n 'align-right',\n 'amazon',\n 'ambulance-solid',\n 'ambulance',\n 'analytics-bad-solid',\n 'analytics-bad',\n 'analytics-good-solid',\n 'analytics-good',\n 'analytics-neutral-solid',\n 'analytics-neutral',\n 'antenna',\n 'app-solid',\n 'app',\n 'archery',\n 'archive-solid',\n 'archive',\n 'arrow-above-or',\n 'arrow-above-row-left',\n 'arrow-above-row-right',\n 'arrow-below-or',\n 'arrow-below-row-left',\n 'arrow-below-row-right',\n 'arrow-bend-left',\n 'arrow-bend-right',\n 'arrow-between-column-down',\n 'arrow-down-between-left-column',\n 'arrow-down-between-right-column',\n 'arrow-down-row',\n 'arrow-down',\n 'arrow-in',\n 'arrow-left-column',\n 'arrow-left-right',\n 'arrow-left',\n 'arrow-micro-down',\n 'arrow-micro-left',\n 'arrow-micro-right',\n 'arrow-micro-up-down',\n 'arrow-micro-up',\n 'arrow-out',\n 'arrow-right-between-rows',\n 'arrow-right-column',\n 'arrow-right',\n 'arrow-up-down',\n 'arrow-up-row',\n 'arrow-up',\n 'atom',\n 'backspace-solid',\n 'backspace',\n 'badge-solid',\n 'badge',\n 'bank-solid',\n 'bank',\n 'bars',\n 'battery-charge-solid',\n 'battery-charge',\n 'battery-solid',\n 'battery',\n 'bell-off-solid',\n 'bell-off',\n 'bell-solid',\n 'bell',\n 'blocks-solid',\n 'blocks',\n 'bluetooth',\n 'bolt-solid',\n 'bolt',\n 'book-open-solid',\n 'book-open',\n 'book-solid',\n 'book',\n 'bookmark-solid',\n 'bookmark',\n 'bounding-box-solid',\n 'bounding-box',\n 'box-3-solid',\n 'box-3',\n 'box-4-solid',\n 'box-4',\n 'box-crosshair',\n 'box-dashed-labeled-solid',\n 'box-dashed-labeled',\n 'box-grid',\n 'box-lines-2-solid',\n 'box-lines-2',\n 'box',\n 'browser-solid',\n 'browser',\n 'bug-solid',\n 'bug',\n 'building-2-solid',\n 'building-2',\n 'building-3-solid',\n 'building-3',\n 'building-solid',\n 'building',\n 'bulb-solid',\n 'bulb',\n 'calculator-solid',\n 'calculator',\n 'calendar-empty-solid',\n 'calendar-empty',\n 'calendar-plus-solid',\n 'calendar-plus',\n 'calendar-range',\n 'calendar-solid',\n 'calendar',\n 'camera-solid',\n 'camera',\n 'cancel',\n 'car-solid',\n 'car',\n 'card-stack-solid',\n 'card-stack',\n 'caret-2-left',\n 'caret-2-right',\n 'caret-down',\n 'caret-left',\n 'caret-right',\n 'caret-up',\n 'carrot',\n 'cart-close-solid',\n 'cart-close',\n 'cart-solid',\n 'cart',\n 'case-medical-solid',\n 'case-medical',\n 'case-solid',\n 'case',\n 'chain-solid',\n 'chain-up',\n 'chain',\n 'chat-help-solid',\n 'chat-help',\n 'chat-sentiment-solid',\n 'chat-sentiment',\n 'chat-solid',\n 'chat-typing-solid',\n 'chat-typing',\n 'chat',\n 'chats-solid',\n 'chats',\n 'check',\n 'checkbook',\n 'chevron-solid',\n 'chevron',\n 'church-solid',\n 'church',\n 'circle-mixed-down',\n 'circle-mixed-left',\n 'circle-mixed-up',\n 'circle-solid',\n 'circle-stacked-mixed',\n 'circle-stacked-solid',\n 'circle-stacked',\n 'circle',\n 'city-solid',\n 'city',\n 'clipboard-check-solid',\n 'clipboard-check',\n 'clipboard-data-solid',\n 'clipboard-data',\n 'clipboard-medical-solid',\n 'clipboard-medical',\n 'clipboard-plus-solid',\n 'clipboard-plus',\n 'clipboard-solid',\n 'clipboard',\n 'clock-solid',\n 'clock',\n 'cloud-down',\n 'cloud-issue-solid',\n 'cloud-issue',\n 'cloud-solid',\n 'cloud-up',\n 'cloud',\n 'cloudy-solid',\n 'cloudy',\n 'code',\n 'column-delete',\n 'column-insert',\n 'column-no-left',\n 'column-no-right',\n 'column-top-fill',\n 'columns-solid',\n 'columns',\n 'command',\n 'compass-solid',\n 'compass',\n 'controller-solid',\n 'controller',\n 'copy-solid',\n 'copy',\n 'credit-solid',\n 'credit',\n 'crop',\n 'crosshairs',\n 'cuppa-solid',\n 'cuppa',\n 'dataviz-area-multi',\n 'dataviz-area-stacked',\n 'dataviz-area',\n 'dataviz-bar-clustered',\n 'dataviz-bar-stacked',\n 'dataviz-bar',\n 'dataviz-bubble',\n 'dataviz-column-clustered',\n 'dataviz-column-stacked',\n 'dataviz-column',\n 'dataviz-combo',\n 'dataviz-datetime-field',\n 'dataviz-donut',\n 'dataviz-flip-counter',\n 'dataviz-forecast',\n 'dataviz-funnel-solid',\n 'dataviz-funnel',\n 'dataviz-gauge',\n 'dataviz-geo-choropleth',\n 'dataviz-line-multi',\n 'dataviz-line',\n 'dataviz-numeric-field',\n 'dataviz-pareto',\n 'dataviz-pie',\n 'dataviz-pivot-table',\n 'dataviz-radar',\n 'dataviz-scatter',\n 'dataviz-spark',\n 'dataviz-string-field',\n 'dataviz-table-with-bars',\n 'dataviz-table-with-cross',\n 'dataviz-waterfall',\n 'desktop-solid',\n 'desktop',\n 'diamond-solid',\n 'diamond',\n 'disc-stack-solid',\n 'disc-stack',\n 'distribute-item-center-solid',\n 'distribute-item-center',\n 'distribute-item-vert-center-solid',\n 'distribute-item-vert-center',\n 'dna',\n 'dock',\n 'document-check-solid',\n 'document-check',\n 'document-compress-solid',\n 'document-compress',\n 'document-data-solid',\n 'document-doc',\n 'document-download-solid',\n 'document-download',\n 'document-minus-solid',\n 'document-minus',\n 'document-pdf',\n 'document-plus-solid',\n 'document-plus',\n 'document-solid',\n 'document-upload-solid',\n 'document-upload',\n 'document-xls',\n 'document',\n 'documents-check-solid',\n 'documents-check',\n 'documents-data-solid',\n 'documents-data',\n 'documents-solid',\n 'documents',\n 'docusign',\n 'dollar-sign-solid',\n 'dollar-sign',\n 'dot-9-solid',\n 'dot-9',\n 'download',\n 'drag',\n 'drink-solid',\n 'drink',\n 'earth-solid',\n 'earth',\n 'edit-shape-solid',\n 'edit-shape',\n 'erase-solid',\n 'erase',\n 'eye-off-solid',\n 'eye-off',\n 'eye-solid',\n 'eye',\n 'face-blank-solid',\n 'face-blank',\n 'face-happy-solid',\n 'face-happy',\n 'face-sad-solid',\n 'face-sad',\n 'facebook',\n 'farm-solid',\n 'farm',\n 'fast-forward-solid',\n 'fast-forward',\n 'filetype-text',\n 'filter-on',\n 'filter',\n 'fire-solid',\n 'fire',\n 'flag-finish',\n 'flag-solid',\n 'flag-wave-solid',\n 'flag-wave',\n 'flag',\n 'flashlight-solid',\n 'flashlight',\n 'folder-close-solid',\n 'folder-close',\n 'folder-closed-solid',\n 'folder-closed',\n 'folder-dollar-solid',\n 'folder-dollar',\n 'folder-hierarchy-solid',\n 'folder-hierarchy',\n 'folder-nested-solid',\n 'folder-nested',\n 'folder-plus-solid',\n 'folder-plus',\n 'folder-solid',\n 'folder',\n 'folders-solid',\n 'folders',\n 'forward-all-solid',\n 'forward-all',\n 'forward-solid',\n 'forward',\n 'freeze-column',\n 'function',\n 'galaxy',\n 'gauge-solid',\n 'gauge',\n 'gear-solid',\n 'gear',\n 'glasses-solid',\n 'glasses',\n 'globe-solid',\n 'globe',\n 'google',\n 'government-solid',\n 'government',\n 'grad-solid',\n 'grad',\n 'grid-solid',\n 'grid',\n 'hand-solid',\n 'hand',\n 'handshake-solid',\n 'handshake',\n 'hanger',\n 'header',\n 'headline-solid',\n 'headline',\n 'headphone-solid',\n 'headphone',\n 'headset',\n 'heart-mixed',\n 'heart-pulse-solid',\n 'heart-pulse',\n 'heart-solid',\n 'heart',\n 'help-solid',\n 'help',\n 'history-solid',\n 'history',\n 'home-alt-solid',\n 'home-alt',\n 'home-solid',\n 'home',\n 'inbox-data-solid',\n 'inbox-data',\n 'inbox-empty',\n 'inbox-solid',\n 'indent',\n 'infinity',\n 'information-solid',\n 'information',\n 'ink-solid',\n 'ink',\n 'inspect',\n 'interact',\n 'ios-face-id',\n 'ios-finger-id',\n 'key',\n 'keyboard-solid',\n 'keyboard',\n 'knight-solid',\n 'knight',\n 'knobs-alt-solid',\n 'knobs-alt',\n 'knobs-solid',\n 'knobs',\n 'laptop-solid',\n 'laptop',\n 'layers-solid',\n 'layers',\n 'layout-solid',\n 'layout',\n 'leaf-solid',\n 'leaf',\n 'legal',\n 'letter-solid',\n 'letter',\n 'life-ring-solid',\n 'life-ring',\n 'linkedin',\n 'list-number',\n 'list',\n 'location-check-solid',\n 'location-check',\n 'location-solid',\n 'location',\n 'locations-solid',\n 'locations',\n 'lock-closed-solid',\n 'lock-closed',\n 'lock-open-solid',\n 'lock-open',\n 'magnet-solid',\n 'magnet',\n 'mail-check-solid',\n 'mail-check',\n 'mail-plus-solid',\n 'mail-plus',\n 'mail-solid',\n 'mail',\n 'mailbox-solid',\n 'mailbox',\n 'map-sigma-solid',\n 'map-sigma',\n 'map-solid',\n 'map',\n 'material-finger',\n 'medal',\n 'megaphone-solid',\n 'megaphone',\n 'mic-off-solid',\n 'mic-off',\n 'mic-solid',\n 'mic',\n 'minus',\n 'mobile-phone-solid',\n 'mobile-phone',\n 'money-send-solid',\n 'money-send',\n 'money-solid',\n 'money',\n 'monkey-solid',\n 'monkey',\n 'moon-solid',\n 'moon',\n 'more-alt',\n 'more',\n 'move-left-solid',\n 'move-right-solid',\n 'move-up-solid',\n 'moving',\n 'multi-device-solid',\n 'multi-device',\n 'music-solid',\n 'music',\n 'navigation-solid',\n 'navigation',\n 'node-solid',\n 'node',\n 'nodes-down-solid',\n 'nodes-down',\n 'nodes-left-solid',\n 'nodes-left',\n 'nodes-right-solid',\n 'nodes-right',\n 'nodes-up-solid',\n 'nodes-up',\n 'notepad-empty-solid',\n 'notepad-empty',\n 'notepad-solid',\n 'notepad',\n 'notes-solid',\n 'notes',\n 'open',\n 'opportunity-solid',\n 'opportunity',\n 'or-delete',\n 'os-android',\n 'os-apple',\n 'os-windows',\n 'paper-clip',\n 'passbook-solid',\n 'passbook',\n 'pause-solid',\n 'pause',\n 'paypal',\n 'peekpanel-arrow-left-solid',\n 'peekpanel-arrow-left',\n 'peekpanel-arrow-right-solid',\n 'peekpanel-arrow-right',\n 'pega',\n 'pegasus',\n 'pen-solid',\n 'pen',\n 'pencil-solid',\n 'pencil',\n 'person-solid',\n 'person',\n 'phone-call-solid',\n 'phone-call',\n 'phone-disabled-solid',\n 'phone-disabled',\n 'phone-hangup-solid',\n 'phone-hangup',\n 'phone-in-solid',\n 'phone-in',\n 'phone-list-solid',\n 'phone-list',\n 'phone-out-solid',\n 'phone-out',\n 'phone-pause-solid',\n 'phone-pause',\n 'phone-solid',\n 'phone-split-solid',\n 'phone-split',\n 'phone',\n 'picture-solid',\n 'picture',\n 'piggybank-solid',\n 'piggybank',\n 'pin-solid',\n 'pin',\n 'pipeline-solid',\n 'pipeline',\n 'placeholder',\n 'plane-solid',\n 'plane',\n 'plant-solid',\n 'plant',\n 'play-solid',\n 'play',\n 'playbook-solid',\n 'playbook',\n 'plug-solid',\n 'plug',\n 'plus-between-left-column',\n 'plus-between-right-column',\n 'plus-line-above-below',\n 'plus-line-above',\n 'plus-line-below',\n 'plus-line-left',\n 'plus-line-right',\n 'plus',\n 'podium-solid',\n 'podium',\n 'polaris-solid',\n 'polaris',\n 'pong-solid',\n 'pong',\n 'potion-solid',\n 'potion',\n 'power',\n 'print-solid',\n 'print',\n 'processor-solid',\n 'processor',\n 'progress-solid',\n 'progress',\n 'puzzle-solid',\n 'puzzle',\n 'qr',\n 'quill',\n 'rabbit',\n 'radio-solid',\n 'radio',\n 'rain-solid',\n 'rain',\n 'receipt-solid',\n 'receipt',\n 'rectangle-solid',\n 'rectangle',\n 'reply-all-solid',\n 'reply-all',\n 'reply-solid',\n 'reply',\n 'reset',\n 'retweet',\n 'rewind-solid',\n 'rewind',\n 'robot-happy-solid',\n 'robot-happy',\n 'robot-sad-solid',\n 'robot-sad',\n 'robot-solid',\n 'robot',\n 'rocket-solid',\n 'rocket',\n 'roller-solid',\n 'roller',\n 'route-solid',\n 'route',\n 'row-delete',\n 'row-insert',\n 'row-left-fill',\n 'row-right-fill',\n 'row',\n 'scale-down',\n 'scale-up-solid',\n 'scale-up',\n 'school-solid',\n 'school',\n 'scissors',\n 'script',\n 'search-analytics-solid',\n 'search-analytics',\n 'search-case',\n 'search-check',\n 'search-close',\n 'search-minus',\n 'search-org',\n 'search-plus',\n 'search-solid',\n 'search-table',\n 'search',\n 'send-solid',\n 'send',\n 'server-cloud-solid',\n 'server-cloud',\n 'server-solid',\n 'server',\n 'sextant',\n 'share-point-up-solid',\n 'share-point-up',\n 'share-solid',\n 'share',\n 'shield-solid',\n 'shield',\n 'shoe-solid',\n 'shoe',\n 'shuffle',\n 'sigma',\n 'signpost-solid',\n 'signpost',\n 'slideshow-solid',\n 'slideshow',\n 'snail',\n 'snow',\n 'social-solid',\n 'social',\n 'speaker-mute-solid',\n 'speaker-mute',\n 'speaker-on-solid',\n 'speaker-on',\n 'speaker-solid',\n 'speaker',\n 'spellcheck',\n 'square-solid',\n 'square',\n 'star-mixed',\n 'star-solid',\n 'star',\n 'steps-solid',\n 'steps',\n 'stethoscope-solid',\n 'stethoscope',\n 'stoplight-solid',\n 'stoplight',\n 'stopwatch-solid',\n 'stopwatch',\n 'store-solid',\n 'store',\n 'sun-solid',\n 'sun',\n 'swipe-left-solid',\n 'swipe-left',\n 'swipe-right-solid',\n 'swipe-right',\n 'table',\n 'tablet-solid',\n 'tablet',\n 'tag-check-solid',\n 'tag-check',\n 'tag-close-solid',\n 'tag-close',\n 'tag-solid',\n 'tag',\n 'target-solid',\n 'target',\n 'temp-solid',\n 'temp',\n 'thumbs-down-solid',\n 'thumbs-down',\n 'thumbs-up-solid',\n 'thumbs-up',\n 'times',\n 'todo-solid',\n 'todo',\n 'tow-truck-solid',\n 'tow-truck',\n 'tracer-solid',\n 'tracer',\n 'transform',\n 'trash-solid',\n 'trash',\n 'triangle-mixed-left',\n 'triangle-mixed-right',\n 'triangle-solid',\n 'triangle',\n 'tribox-solid',\n 'tribox',\n 'trophy-solid',\n 'trophy',\n 'truck-solid',\n 'truck',\n 'tv-solid',\n 'tv',\n 'twitter',\n 'umbrella-solid',\n 'umbrella',\n 'undo',\n 'undock',\n 'unindent',\n 'upload',\n 'user-check-solid',\n 'user-check',\n 'user-close-solid',\n 'user-close',\n 'user-female-solid',\n 'user-female',\n 'user-list-solid',\n 'user-list',\n 'user-plus-solid',\n 'user-plus',\n 'user-search-solid',\n 'user-search',\n 'user-solid',\n 'user-star-solid',\n 'user-star',\n 'user',\n 'users-solid',\n 'users',\n 'video-solid',\n 'video',\n 'voicemail',\n 'vr-solid',\n 'vr',\n 'walkie-solid',\n 'walkie',\n 'wallet-solid',\n 'wallet',\n 'wand',\n 'warn-solid',\n 'warn',\n 'watch-solid',\n 'watch',\n 'waypoint-solid',\n 'waypoint',\n 'webcam-solid',\n 'webcam',\n 'whatsapp',\n 'wifi-none',\n 'wifi-off',\n 'wifi',\n 'wizard-solid',\n 'wizard',\n 'wrench-solid',\n 'wrench',\n 'youtube'\n] as const;\n\nexport default iconNames;\n\nexport type IconName = typeof iconNames[number];\n"]}
|
|
@@ -3,5 +3,5 @@ export { StyledIcon } from './Icon';
|
|
|
3
3
|
export { IconProps } from './Icon';
|
|
4
4
|
export { registerIcon } from './Icon';
|
|
5
5
|
export { forceRegisterIcon } from './Icon';
|
|
6
|
-
export { default as icons,
|
|
6
|
+
export { default as icons, IconName } from './iconNames';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAY,MAAM,aAAa,CAAC","sourcesContent":["export { default } from './Icon';\nexport { StyledIcon } from './Icon';\nexport { IconProps } from './Icon';\nexport { registerIcon } from './Icon';\nexport { forceRegisterIcon } from './Icon';\nexport { default as icons, IconName } from './iconNames';\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const StyledRangeInputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
1
2
|
declare const StyledInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
|
|
2
3
|
export default StyledInput;
|
|
3
4
|
//# sourceMappingURL=Input.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB,yGA4BrC,CAAC;AAIF,QAAA,MAAM,WAAW,2GAcf,CAAC;AAIH,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
2
|
import { defaultThemeProp } from '../../theme';
|
|
3
|
+
import { StyledFormControl } from '../FormControl';
|
|
4
|
+
export const StyledRangeInputContainer = styled.div `
|
|
5
|
+
gap: 1rem;
|
|
6
|
+
|
|
7
|
+
${StyledFormControl} {
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
> :first-child {
|
|
12
|
+
> ${StyledFormControl}:after {
|
|
13
|
+
content: '-';
|
|
14
|
+
position: absolute;
|
|
15
|
+
width: 1rem;
|
|
16
|
+
inset-inline-end: -1rem;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> ${StyledFormControl}:first-child:after {
|
|
22
|
+
content: '-';
|
|
23
|
+
position: absolute;
|
|
24
|
+
width: 1rem;
|
|
25
|
+
inset-inline-end: -1rem;
|
|
26
|
+
text-align: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
> * {
|
|
30
|
+
flex-grow: 1;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
StyledRangeInputContainer.defaultProps = defaultThemeProp;
|
|
3
34
|
const StyledInput = styled.input(({ theme: { base, components } }) => {
|
|
4
35
|
return css `
|
|
5
36
|
width: 100%;
|