@veeqo/ui 13.0.0 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/PhoneInput/PhoneInput.cjs +50 -0
- package/dist/components/PhoneInput/PhoneInput.cjs.map +1 -0
- package/dist/components/PhoneInput/PhoneInput.d.ts +3 -0
- package/dist/components/PhoneInput/PhoneInput.js +44 -0
- package/dist/components/PhoneInput/PhoneInput.js.map +1 -0
- package/dist/components/PhoneInput/PhoneInput.module.scss.cjs +9 -0
- package/dist/components/PhoneInput/PhoneInput.module.scss.cjs.map +1 -0
- package/dist/components/PhoneInput/PhoneInput.module.scss.js +7 -0
- package/dist/components/PhoneInput/PhoneInput.module.scss.js.map +1 -0
- package/dist/components/PhoneInput/components/SelectedCountry.cjs +18 -0
- package/dist/components/PhoneInput/components/SelectedCountry.cjs.map +1 -0
- package/dist/components/PhoneInput/components/SelectedCountry.d.ts +5 -0
- package/dist/components/PhoneInput/components/SelectedCountry.js +12 -0
- package/dist/components/PhoneInput/components/SelectedCountry.js.map +1 -0
- package/dist/components/PhoneInput/constants.cjs +1243 -0
- package/dist/components/PhoneInput/constants.cjs.map +1 -0
- package/dist/components/PhoneInput/constants.d.ts +4 -0
- package/dist/components/PhoneInput/constants.js +1239 -0
- package/dist/components/PhoneInput/constants.js.map +1 -0
- package/dist/components/PhoneInput/hooks/useApplyCountryCode.cjs +48 -0
- package/dist/components/PhoneInput/hooks/useApplyCountryCode.cjs.map +1 -0
- package/dist/components/PhoneInput/hooks/useApplyCountryCode.d.ts +11 -0
- package/dist/components/PhoneInput/hooks/useApplyCountryCode.js +46 -0
- package/dist/components/PhoneInput/hooks/useApplyCountryCode.js.map +1 -0
- package/dist/components/PhoneInput/index.cjs +11 -0
- package/dist/components/PhoneInput/index.cjs.map +1 -0
- package/dist/components/PhoneInput/index.d.ts +308 -0
- package/dist/components/PhoneInput/index.js +9 -0
- package/dist/components/PhoneInput/index.js.map +1 -0
- package/dist/components/PhoneInput/types.d.ts +25 -0
- package/dist/components/PhoneInput/utils/utils.cjs +69 -0
- package/dist/components/PhoneInput/utils/utils.cjs.map +1 -0
- package/dist/components/PhoneInput/utils/utils.d.ts +14 -0
- package/dist/components/PhoneInput/utils/utils.js +60 -0
- package/dist/components/PhoneInput/utils/utils.js.map +1 -0
- package/dist/components/SelectDropdown/SelectDropdown.cjs +2 -3
- package/dist/components/SelectDropdown/SelectDropdown.cjs.map +1 -1
- package/dist/components/SelectDropdown/SelectDropdown.d.ts +1 -1
- package/dist/components/SelectDropdown/SelectDropdown.js +2 -3
- package/dist/components/SelectDropdown/SelectDropdown.js.map +1 -1
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.cjs +2 -2
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.d.ts +1 -1
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.js +2 -2
- package/dist/components/SelectDropdown/components/ItemContent/ItemContent.js.map +1 -1
- package/dist/components/SelectDropdown/components/ItemContent/SelectionType.cjs +5 -3
- package/dist/components/SelectDropdown/components/ItemContent/SelectionType.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/ItemContent/SelectionType.d.ts +2 -1
- package/dist/components/SelectDropdown/components/ItemContent/SelectionType.js +5 -3
- package/dist/components/SelectDropdown/components/ItemContent/SelectionType.js.map +1 -1
- package/dist/components/SelectDropdown/components/ListItem/ListItem.cjs +2 -2
- package/dist/components/SelectDropdown/components/ListItem/ListItem.cjs.map +1 -1
- package/dist/components/SelectDropdown/components/ListItem/ListItem.d.ts +1 -1
- package/dist/components/SelectDropdown/components/ListItem/ListItem.js +2 -2
- package/dist/components/SelectDropdown/components/ListItem/ListItem.js.map +1 -1
- package/dist/components/SelectDropdown/components/types.d.ts +1 -0
- package/dist/components/SelectDropdown/types.d.ts +2 -1
- package/dist/components/Tag/Tag.cjs +12 -8
- package/dist/components/Tag/Tag.cjs.map +1 -1
- package/dist/components/Tag/Tag.d.ts +11 -4
- package/dist/components/Tag/Tag.js +11 -7
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Tag/Tag.module.scss.cjs +9 -0
- package/dist/components/Tag/Tag.module.scss.cjs.map +1 -0
- package/dist/components/Tag/Tag.module.scss.js +7 -0
- package/dist/components/Tag/Tag.module.scss.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,9 +8,9 @@ import { buildClassnames } from '../../../../utils/buildClassnames.js';
|
|
|
8
8
|
import 'uid/secure';
|
|
9
9
|
import itemStyles from '../item.module.scss.js';
|
|
10
10
|
|
|
11
|
-
const ListItem = ({ id, label, href, appearance = 'primary', className, ...props }) => {
|
|
11
|
+
const ListItem = ({ id, label, href, appearance = 'primary', shouldDisableSelectionRender = false, className, ...props }) => {
|
|
12
12
|
const idComputed = useId({ id, prefix: 'list-item' });
|
|
13
|
-
return (React__default.createElement(ListBoxItem, { id: idComputed, textValue: label, href: href, className: buildClassnames([itemStyles.item, itemStyles[`appearance-${appearance}`], className]), ...props }, ({ selectionMode, allowsDragging, isSelected, isHovered }) => (React__default.createElement(ItemContent, { selectionMode: selectionMode, allowsDragging: allowsDragging, isSelected: isSelected, isHovered: isHovered, label: label, isLink: Boolean(href), appearance: appearance, itemType: "list", ...props }))));
|
|
13
|
+
return (React__default.createElement(ListBoxItem, { id: idComputed, textValue: label, href: href, className: buildClassnames([itemStyles.item, itemStyles[`appearance-${appearance}`], className]), ...props }, ({ selectionMode, allowsDragging, isSelected, isHovered }) => (React__default.createElement(ItemContent, { selectionMode: selectionMode, allowsDragging: allowsDragging, isSelected: isSelected, isHovered: isHovered, label: label, isLink: Boolean(href), appearance: appearance, itemType: "list", shouldDisableSelectionRender: shouldDisableSelectionRender, ...props }))));
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export { ListItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sources":["../../../../../src/components/SelectDropdown/components/ListItem/ListItem.tsx"],"sourcesContent":["import React from 'react';\nimport { ListBoxItem, ListBoxItemRenderProps } from 'react-aria-components';\nimport { useId } from '../../../../hooks';\nimport { ListItemProps } from './types';\nimport { ItemContent } from '../ItemContent';\nimport { buildClassnames } from '../../../../utils';\n\nimport styles from '../item.module.scss';\n\nexport const ListItem = ({\n id,\n label,\n href,\n appearance = 'primary',\n className,\n ...props\n}: ListItemProps) => {\n const idComputed = useId({ id, prefix: 'list-item' });\n\n return (\n <ListBoxItem\n id={idComputed}\n textValue={label}\n href={href}\n className={buildClassnames([styles.item, styles[`appearance-${appearance}`], className])}\n {...props}\n >\n {/* use react aria's render props to add more such as isHovered */}\n {({ selectionMode, allowsDragging, isSelected, isHovered }: ListBoxItemRenderProps) => (\n <ItemContent\n selectionMode={selectionMode}\n allowsDragging={allowsDragging}\n isSelected={isSelected}\n isHovered={isHovered}\n label={label}\n isLink={Boolean(href)}\n appearance={appearance}\n itemType=\"list\"\n {...props}\n />\n )}\n </ListBoxItem>\n );\n};\n"],"names":["React","styles"],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ListItem.js","sources":["../../../../../src/components/SelectDropdown/components/ListItem/ListItem.tsx"],"sourcesContent":["import React from 'react';\nimport { ListBoxItem, ListBoxItemRenderProps } from 'react-aria-components';\nimport { useId } from '../../../../hooks';\nimport { ListItemProps } from './types';\nimport { ItemContent } from '../ItemContent';\nimport { buildClassnames } from '../../../../utils';\n\nimport styles from '../item.module.scss';\n\nexport const ListItem = ({\n id,\n label,\n href,\n appearance = 'primary',\n shouldDisableSelectionRender = false,\n className,\n ...props\n}: ListItemProps) => {\n const idComputed = useId({ id, prefix: 'list-item' });\n\n return (\n <ListBoxItem\n id={idComputed}\n textValue={label}\n href={href}\n className={buildClassnames([styles.item, styles[`appearance-${appearance}`], className])}\n {...props}\n >\n {/* use react aria's render props to add more such as isHovered */}\n {({ selectionMode, allowsDragging, isSelected, isHovered }: ListBoxItemRenderProps) => (\n <ItemContent\n selectionMode={selectionMode}\n allowsDragging={allowsDragging}\n isSelected={isSelected}\n isHovered={isHovered}\n label={label}\n isLink={Boolean(href)}\n appearance={appearance}\n itemType=\"list\"\n shouldDisableSelectionRender={shouldDisableSelectionRender}\n {...props}\n />\n )}\n </ListBoxItem>\n );\n};\n"],"names":["React","styles"],"mappings":";;;;;;;;;;AASa,MAAA,QAAQ,GAAG,CAAC,EACvB,EAAE,EACF,KAAK,EACL,IAAI,EACJ,UAAU,GAAG,SAAS,EACtB,4BAA4B,GAAG,KAAK,EACpC,SAAS,EACT,GAAG,KAAK,EACM,KAAI;AAClB,IAAA,MAAM,UAAU,GAAG,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;IAErD,QACEA,6BAAC,WAAW,EAAA,EACV,EAAE,EAAE,UAAU,EACd,SAAS,EAAE,KAAK,EAChB,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,eAAe,CAAC,CAACC,UAAM,CAAC,IAAI,EAAEA,UAAM,CAAC,CAAc,WAAA,EAAA,UAAU,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC,EAAA,GACpF,KAAK,EAGR,EAAA,CAAC,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,SAAS,EAA0B,MAChFD,6BAAC,WAAW,EAAA,EACV,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,EACrB,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAC,MAAM,EACf,4BAA4B,EAAE,4BAA4B,EAAA,GACtD,KAAK,EACT,CAAA,CACH,CACW;AAElB;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Key, ListBoxProps } from 'react-aria-components';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
2
|
+
import { ReactNode, ReactElement } from 'react';
|
|
3
3
|
import { ButtonProps } from '../Button/types';
|
|
4
4
|
import { ListItemProps } from './components/ListItem/types';
|
|
5
5
|
import { ListItemSectionProps } from './components/ListItemSection/ListItemSection';
|
|
@@ -34,6 +34,7 @@ export type SelectDropdownProps = (SelectDropdownSingleProps | SelectDropdownMul
|
|
|
34
34
|
onSearchChange?: (value: string) => void;
|
|
35
35
|
topAction?: CTAButtonProps;
|
|
36
36
|
isSelectDropdownOpen?: boolean;
|
|
37
|
+
selectedSlot?: ReactNode;
|
|
37
38
|
'aria-label'?: string;
|
|
38
39
|
'aria-labelledby'?: string;
|
|
39
40
|
'aria-describedby'?: string;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var buildClassnames = require('../../utils/buildClassnames.cjs');
|
|
5
|
+
require('uid/secure');
|
|
6
|
+
var assignCssVars = require('../../utils/assignCssVars.cjs');
|
|
7
|
+
var FlexRow = require('../Flex/FlexRow/FlexRow.cjs');
|
|
8
|
+
var Text = require('../Text/Text.cjs');
|
|
9
|
+
var Tag_module = require('./Tag.module.scss.cjs');
|
|
6
10
|
|
|
7
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
8
12
|
|
|
9
|
-
var
|
|
13
|
+
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
10
14
|
|
|
11
|
-
const Tag =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
const Tag = ({ className, backgroundColor, textColor, children, label, compact = false, leftIconSlot, rightIconSlot, ...otherProps }) => (React__default.default.createElement(FlexRow.FlexRow, { flexWrap: "nowrap", justifyContent: "center", gap: "xs", className: buildClassnames.buildClassnames([Tag_module.tag, compact && Tag_module.compact, className]), style: { ...assignCssVars.assignCssVars({ customTextColor: textColor }), backgroundColor }, ...otherProps },
|
|
16
|
+
leftIconSlot,
|
|
17
|
+
children || React__default.default.createElement(Text.Text, { variant: "body" }, label),
|
|
18
|
+
rightIconSlot));
|
|
15
19
|
|
|
16
20
|
exports.Tag = Tag;
|
|
17
21
|
//# sourceMappingURL=Tag.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.cjs","sources":["../../../src/components/Tag/Tag.
|
|
1
|
+
{"version":3,"file":"Tag.cjs","sources":["../../../src/components/Tag/Tag.tsx"],"sourcesContent":["import React from 'react';\n\nimport { assignCssVars, buildClassnames } from '../../utils';\nimport { FlexRow } from '../Flex/FlexRow';\nimport { FlexProps } from '../Flex/types';\nimport { Text } from '../Text';\n\nimport styles from './Tag.module.scss';\n\ntype TagProps = Omit<FlexProps, 'color'> & {\n backgroundColor?: string;\n textColor?: string;\n label?: string;\n compact?: boolean;\n leftIconSlot?: React.ReactNode;\n rightIconSlot?: React.ReactNode;\n};\n\nexport const Tag = ({\n className,\n backgroundColor,\n textColor,\n children,\n label,\n compact = false,\n leftIconSlot,\n rightIconSlot,\n ...otherProps\n}: TagProps) => (\n <FlexRow\n flexWrap=\"nowrap\"\n justifyContent=\"center\"\n gap=\"xs\"\n className={buildClassnames([styles.tag, compact && styles.compact, className])}\n style={{ ...assignCssVars({ customTextColor: textColor }), backgroundColor }}\n {...otherProps}\n >\n {leftIconSlot}\n {children || <Text variant=\"body\">{label}</Text>}\n {rightIconSlot}\n </FlexRow>\n);\n"],"names":["React","FlexRow","buildClassnames","styles","assignCssVars","Text"],"mappings":";;;;;;;;;;;;;;AAkBa,MAAA,GAAG,GAAG,CAAC,EAClB,SAAS,EACT,eAAe,EACf,SAAS,EACT,QAAQ,EACR,KAAK,EACL,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,aAAa,EACb,GAAG,UAAU,EACJ,MACTA,qCAACC,eAAO,EAAA,EACN,QAAQ,EAAC,QAAQ,EACjB,cAAc,EAAC,QAAQ,EACvB,GAAG,EAAC,IAAI,EACR,SAAS,EAAEC,+BAAe,CAAC,CAACC,UAAM,CAAC,GAAG,EAAE,OAAO,IAAIA,UAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,EAC9E,KAAK,EAAE,EAAE,GAAGC,2BAAa,CAAC,EAAE,eAAe,EAAE,SAAS,EAAE,CAAC,EAAE,eAAe,EAAE,KACxE,UAAU,EAAA;IAEb,YAAY;IACZ,QAAQ,IAAIJ,qCAACK,SAAI,EAAA,EAAC,OAAO,EAAC,MAAM,EAAE,EAAA,KAAK,CAAQ;IAC/C,aAAa,CACN;;;;"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FlexProps } from '../Flex/types';
|
|
3
|
+
type TagProps = Omit<FlexProps, 'color'> & {
|
|
2
4
|
backgroundColor?: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
textColor?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
leftIconSlot?: React.ReactNode;
|
|
9
|
+
rightIconSlot?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare const Tag: ({ className, backgroundColor, textColor, children, label, compact, leftIconSlot, rightIconSlot, ...otherProps }: TagProps) => React.JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { buildClassnames } from '../../utils/buildClassnames.js';
|
|
3
|
+
import 'uid/secure';
|
|
4
|
+
import { assignCssVars } from '../../utils/assignCssVars.js';
|
|
5
|
+
import { FlexRow } from '../Flex/FlexRow/FlexRow.js';
|
|
6
|
+
import { Text } from '../Text/Text.js';
|
|
7
|
+
import styles from './Tag.module.scss.js';
|
|
4
8
|
|
|
5
|
-
const Tag =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
const Tag = ({ className, backgroundColor, textColor, children, label, compact = false, leftIconSlot, rightIconSlot, ...otherProps }) => (React__default.createElement(FlexRow, { flexWrap: "nowrap", justifyContent: "center", gap: "xs", className: buildClassnames([styles.tag, compact && styles.compact, className]), style: { ...assignCssVars({ customTextColor: textColor }), backgroundColor }, ...otherProps },
|
|
10
|
+
leftIconSlot,
|
|
11
|
+
children || React__default.createElement(Text, { variant: "body" }, label),
|
|
12
|
+
rightIconSlot));
|
|
9
13
|
|
|
10
14
|
export { Tag };
|
|
11
15
|
//# sourceMappingURL=Tag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sources":["../../../src/components/Tag/Tag.
|
|
1
|
+
{"version":3,"file":"Tag.js","sources":["../../../src/components/Tag/Tag.tsx"],"sourcesContent":["import React from 'react';\n\nimport { assignCssVars, buildClassnames } from '../../utils';\nimport { FlexRow } from '../Flex/FlexRow';\nimport { FlexProps } from '../Flex/types';\nimport { Text } from '../Text';\n\nimport styles from './Tag.module.scss';\n\ntype TagProps = Omit<FlexProps, 'color'> & {\n backgroundColor?: string;\n textColor?: string;\n label?: string;\n compact?: boolean;\n leftIconSlot?: React.ReactNode;\n rightIconSlot?: React.ReactNode;\n};\n\nexport const Tag = ({\n className,\n backgroundColor,\n textColor,\n children,\n label,\n compact = false,\n leftIconSlot,\n rightIconSlot,\n ...otherProps\n}: TagProps) => (\n <FlexRow\n flexWrap=\"nowrap\"\n justifyContent=\"center\"\n gap=\"xs\"\n className={buildClassnames([styles.tag, compact && styles.compact, className])}\n style={{ ...assignCssVars({ customTextColor: textColor }), backgroundColor }}\n {...otherProps}\n >\n {leftIconSlot}\n {children || <Text variant=\"body\">{label}</Text>}\n {rightIconSlot}\n </FlexRow>\n);\n"],"names":["React"],"mappings":";;;;;;;;AAkBa,MAAA,GAAG,GAAG,CAAC,EAClB,SAAS,EACT,eAAe,EACf,SAAS,EACT,QAAQ,EACR,KAAK,EACL,OAAO,GAAG,KAAK,EACf,YAAY,EACZ,aAAa,EACb,GAAG,UAAU,EACJ,MACTA,6BAAC,OAAO,EAAA,EACN,QAAQ,EAAC,QAAQ,EACjB,cAAc,EAAC,QAAQ,EACvB,GAAG,EAAC,IAAI,EACR,SAAS,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,EAC9E,KAAK,EAAE,EAAE,GAAG,aAAa,CAAC,EAAE,eAAe,EAAE,SAAS,EAAE,CAAC,EAAE,eAAe,EAAE,KACxE,UAAU,EAAA;IAEb,YAAY;IACZ,QAAQ,IAAIA,6BAAC,IAAI,EAAA,EAAC,OAAO,EAAC,MAAM,EAAE,EAAA,KAAK,CAAQ;IAC/C,aAAa,CACN;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var ___$insertStyle = require('../../_virtual/____insertStyle.cjs');
|
|
4
|
+
|
|
5
|
+
___$insertStyle("._tag_81al6_1 {\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n display: inline-flex;\n min-width: var(--sizes-3);\n min-height: var(--sizes-5);\n color: var(--custom-text-color, var(--text-body-color));\n font-size: var(--text-body-font-size);\n}\n._tag_81al6_1 span {\n color: inherit;\n}\n._tag_81al6_1 svg {\n width: var(--sizes-5);\n height: var(--sizes-5);\n}\n._tag_81al6_1._compact_81al6_17 {\n font-size: var(--text-body-small-font-size);\n}\n._tag_81al6_1._compact_81al6_17 span {\n font-size: var(--text-body-small-font-size);\n}\n._tag_81al6_1._compact_81al6_17 svg {\n width: var(--sizes-base);\n height: var(--sizes-base);\n}");
|
|
6
|
+
var styles = {"tag":"_tag_81al6_1","compact":"_compact_81al6_17"};
|
|
7
|
+
|
|
8
|
+
module.exports = styles;
|
|
9
|
+
//# sourceMappingURL=Tag.module.scss.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.module.scss.cjs","sources":["../../../src/components/Tag/Tag.module.scss"],"sourcesContent":[".tag {\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n display: inline-flex;\n min-width: var(--sizes-3);\n min-height: var(--sizes-5);\n\n // applies color and font-size for direct text children\n color: var(--custom-text-color, var(--text-body-color));\n font-size: var(--text-body-font-size);\n\n // ensure Text components (spans) inherit the color\n span {\n color: inherit;\n }\n\n svg {\n width: var(--sizes-5);\n height: var(--sizes-5);\n }\n\n &.compact {\n font-size: var(--text-body-small-font-size);\n\n span {\n font-size: var(--text-body-small-font-size);\n }\n\n svg {\n width: var(--sizes-base);\n height: var(--sizes-base);\n }\n }\n}\n"],"names":[],"mappings":";;;;AACE,eAAA,CAAA,mqBAAA;AACA,aAAA,CAAA,KAAA,CAAA,cAAA,CAAA,SAAA,CAAA,mBAAA;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import insertStyle from '../../_virtual/____insertStyle.js';
|
|
2
|
+
|
|
3
|
+
insertStyle("._tag_81al6_1 {\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n display: inline-flex;\n min-width: var(--sizes-3);\n min-height: var(--sizes-5);\n color: var(--custom-text-color, var(--text-body-color));\n font-size: var(--text-body-font-size);\n}\n._tag_81al6_1 span {\n color: inherit;\n}\n._tag_81al6_1 svg {\n width: var(--sizes-5);\n height: var(--sizes-5);\n}\n._tag_81al6_1._compact_81al6_17 {\n font-size: var(--text-body-small-font-size);\n}\n._tag_81al6_1._compact_81al6_17 span {\n font-size: var(--text-body-small-font-size);\n}\n._tag_81al6_1._compact_81al6_17 svg {\n width: var(--sizes-base);\n height: var(--sizes-base);\n}");
|
|
4
|
+
var styles = {"tag":"_tag_81al6_1","compact":"_compact_81al6_17"};
|
|
5
|
+
|
|
6
|
+
export { styles as default };
|
|
7
|
+
//# sourceMappingURL=Tag.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.module.scss.js","sources":["../../../src/components/Tag/Tag.module.scss"],"sourcesContent":[".tag {\n border-radius: var(--sizes-xs);\n padding: 2px var(--sizes-xs);\n display: inline-flex;\n min-width: var(--sizes-3);\n min-height: var(--sizes-5);\n\n // applies color and font-size for direct text children\n color: var(--custom-text-color, var(--text-body-color));\n font-size: var(--text-body-font-size);\n\n // ensure Text components (spans) inherit the color\n span {\n color: inherit;\n }\n\n svg {\n width: var(--sizes-5);\n height: var(--sizes-5);\n }\n\n &.compact {\n font-size: var(--text-body-small-font-size);\n\n span {\n font-size: var(--text-body-small-font-size);\n }\n\n svg {\n width: var(--sizes-base);\n height: var(--sizes-base);\n }\n }\n}\n"],"names":["___$insertStyle"],"mappings":";;AACEA,WAAA,CAAA,mqBAAA;AACA,aAAA,CAAA,KAAA,CAAA,cAAA,CAAA,SAAA,CAAA,mBAAA;;;;"}
|
package/dist/index.cjs
CHANGED
|
@@ -84,6 +84,7 @@ var ThemeInjector = require('./components/ThemeInjector/ThemeInjector.cjs');
|
|
|
84
84
|
var DataGrid = require('./components/DataGrid/DataGrid.cjs');
|
|
85
85
|
var FlexCol = require('./components/Flex/FlexCol/FlexCol.cjs');
|
|
86
86
|
var FlexRow = require('./components/Flex/FlexRow/FlexRow.cjs');
|
|
87
|
+
var index$5 = require('./components/PhoneInput/index.cjs');
|
|
87
88
|
var useClickOutside = require('./hooks/useClickOutside.cjs');
|
|
88
89
|
var useDebounce = require('./hooks/useDebounce.cjs');
|
|
89
90
|
var useDropdown = require('./hooks/useDropdown.cjs');
|
|
@@ -101,7 +102,7 @@ var buildClassnames = require('./utils/buildClassnames.cjs');
|
|
|
101
102
|
var color = require('./utils/color.cjs');
|
|
102
103
|
var generateId = require('./utils/generateId.cjs');
|
|
103
104
|
var assignCssVars = require('./utils/assignCssVars.cjs');
|
|
104
|
-
var index$
|
|
105
|
+
var index$6 = require('./theme/index.cjs');
|
|
105
106
|
var AccountsIcon = require('./icons/design-system/components/AccountsIcon.cjs');
|
|
106
107
|
var AccountsOutlineIcon = require('./icons/design-system/components/AccountsOutlineIcon.cjs');
|
|
107
108
|
var AddIcon = require('./icons/design-system/components/AddIcon.cjs');
|
|
@@ -412,6 +413,7 @@ exports.ThemeInjector = ThemeInjector.ThemeInjector;
|
|
|
412
413
|
exports.DataGrid = DataGrid.DataGrid;
|
|
413
414
|
exports.FlexCol = FlexCol.FlexCol;
|
|
414
415
|
exports.FlexRow = FlexRow.FlexRow;
|
|
416
|
+
exports.PhoneInput = index$5.PhoneInput;
|
|
415
417
|
exports.useClickOutside = useClickOutside.useClickOutside;
|
|
416
418
|
exports.useDebounce = useDebounce.useDebounce;
|
|
417
419
|
exports.useDropdown = useDropdown.useDropdown;
|
|
@@ -431,7 +433,7 @@ exports.getOpaqueHexColor = color.getOpaqueHexColor;
|
|
|
431
433
|
exports.hexToRgb = color.hexToRgb;
|
|
432
434
|
exports.generateId = generateId.generateId;
|
|
433
435
|
exports.assignCssVars = assignCssVars.assignCssVars;
|
|
434
|
-
exports.theme = index$
|
|
436
|
+
exports.theme = index$6.theme;
|
|
435
437
|
exports.AccountsIcon = AccountsIcon.ReactComponent;
|
|
436
438
|
exports.AccountsOutlineIcon = AccountsOutlineIcon.ReactComponent;
|
|
437
439
|
exports.AddIcon = AddIcon.ReactComponent;
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -82,6 +82,7 @@ export { ThemeInjector } from './components/ThemeInjector/ThemeInjector.js';
|
|
|
82
82
|
export { DataGrid } from './components/DataGrid/DataGrid.js';
|
|
83
83
|
export { FlexCol } from './components/Flex/FlexCol/FlexCol.js';
|
|
84
84
|
export { FlexRow } from './components/Flex/FlexRow/FlexRow.js';
|
|
85
|
+
export { PhoneInput } from './components/PhoneInput/index.js';
|
|
85
86
|
export { useClickOutside } from './hooks/useClickOutside.js';
|
|
86
87
|
export { useDebounce } from './hooks/useDebounce.js';
|
|
87
88
|
export { useDropdown } from './hooks/useDropdown.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|