@elliemae/ds-pills-v2 3.70.0-next.3 → 3.70.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/TruncatedTooltipText.js +94 -0
- package/dist/cjs/TruncatedTooltipText.js.map +7 -0
- package/dist/cjs/components/TextComponent.js +2 -2
- package/dist/cjs/components/TextComponent.js.map +2 -2
- package/dist/esm/TruncatedTooltipText.js +68 -0
- package/dist/esm/TruncatedTooltipText.js.map +7 -0
- package/dist/esm/components/TextComponent.js +2 -2
- package/dist/esm/components/TextComponent.js.map +2 -2
- package/dist/types/TruncatedTooltipText.d.ts +8 -0
- package/dist/types/parts/DSPillGroup/config/usePillGroup.d.ts +91 -91
- package/package.json +13 -13
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var TruncatedTooltipText_exports = {};
|
|
30
|
+
__export(TruncatedTooltipText_exports, {
|
|
31
|
+
TruncatedTooltipText: () => TruncatedTooltipText,
|
|
32
|
+
default: () => TruncatedTooltipText_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(TruncatedTooltipText_exports);
|
|
35
|
+
var React = __toESM(require("react"));
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var import_react = require("react");
|
|
38
|
+
var import_ds_system = require("@elliemae/ds-system");
|
|
39
|
+
var import_ds_floating_context = require("@elliemae/ds-floating-context");
|
|
40
|
+
const TruncatedSpan = import_ds_system.styled.span`
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
display: inline-block;
|
|
45
|
+
max-width: 100%;
|
|
46
|
+
`;
|
|
47
|
+
const TooltipContainer = import_ds_system.styled.div`
|
|
48
|
+
text-align: left;
|
|
49
|
+
min-width: ${({ theme }) => theme.space.l};
|
|
50
|
+
max-width: 250px;
|
|
51
|
+
min-height: 30px;
|
|
52
|
+
display: grid;
|
|
53
|
+
align-items: center;
|
|
54
|
+
padding: ${({ theme }) => `${theme.space.xxxs} ${theme.space.xs}`};
|
|
55
|
+
position: relative;
|
|
56
|
+
background-color: white;
|
|
57
|
+
border-radius: 2px;
|
|
58
|
+
font-size: 13px;
|
|
59
|
+
color: ${({ theme }) => theme.colors.neutral[600]};
|
|
60
|
+
pointer-events: none;
|
|
61
|
+
`;
|
|
62
|
+
const TruncatedTooltipText = ({ value = "", placement = "top" }) => {
|
|
63
|
+
const [showTooltip, setShowTooltip] = (0, import_react.useState)(false);
|
|
64
|
+
const { refs, floatingStyles, arrowStyles, context } = (0, import_ds_floating_context.useFloatingContext)({
|
|
65
|
+
placement,
|
|
66
|
+
externallyControlledIsOpen: showTooltip,
|
|
67
|
+
withoutAnimation: true
|
|
68
|
+
});
|
|
69
|
+
const handleMouseEnter = (0, import_react.useCallback)((e) => {
|
|
70
|
+
const el = e.currentTarget;
|
|
71
|
+
setShowTooltip(el.offsetWidth < el.scrollWidth);
|
|
72
|
+
}, []);
|
|
73
|
+
const handleMouseLeave = (0, import_react.useCallback)(() => {
|
|
74
|
+
setShowTooltip(false);
|
|
75
|
+
}, []);
|
|
76
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
77
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TruncatedSpan, { innerRef: refs.setReference, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: value }),
|
|
78
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
79
|
+
import_ds_floating_context.FloatingWrapper,
|
|
80
|
+
{
|
|
81
|
+
innerRef: refs.setFloating,
|
|
82
|
+
isOpen: showTooltip,
|
|
83
|
+
floatingStyles,
|
|
84
|
+
context,
|
|
85
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TooltipContainer, { children: [
|
|
86
|
+
value,
|
|
87
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_floating_context.PopoverArrow, { ...arrowStyles })
|
|
88
|
+
] })
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
] });
|
|
92
|
+
};
|
|
93
|
+
var TruncatedTooltipText_default = TruncatedTooltipText;
|
|
94
|
+
//# sourceMappingURL=TruncatedTooltipText.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/TruncatedTooltipText.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import React, { useCallback, useState } from 'react';\nimport { styled } from '@elliemae/ds-system';\nimport {\n useFloatingContext,\n FloatingWrapper,\n PopoverArrow,\n type DSHookFloatingContextT,\n} from '@elliemae/ds-floating-context';\n\nconst TruncatedSpan = styled.span`\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n`;\n\n// Matches DSTooltipV3's StyledTooltipContainer styles for visual consistency\nconst TooltipContainer = styled.div`\n text-align: left;\n min-width: ${({ theme }) => theme.space.l};\n max-width: 250px;\n min-height: 30px;\n display: grid;\n align-items: center;\n padding: ${({ theme }) => `${theme.space.xxxs} ${theme.space.xs}`};\n position: relative;\n background-color: white;\n border-radius: 2px;\n font-size: 13px;\n color: ${({ theme }) => theme.colors.neutral[600]};\n pointer-events: none;\n`;\n\ninterface TruncatedTooltipTextProps {\n value?: string;\n placement?: DSHookFloatingContextT.PopperPlacementsT;\n}\n\nconst TruncatedTooltipText = ({ value = '', placement = 'top' }: TruncatedTooltipTextProps) => {\n const [showTooltip, setShowTooltip] = useState(false);\n\n const { refs, floatingStyles, arrowStyles, context } = useFloatingContext({\n placement,\n externallyControlledIsOpen: showTooltip,\n withoutAnimation: true,\n });\n\n const handleMouseEnter = useCallback((e: React.MouseEvent<HTMLSpanElement>) => {\n const el = e.currentTarget;\n setShowTooltip(el.offsetWidth < el.scrollWidth);\n }, []);\n\n const handleMouseLeave = useCallback(() => {\n setShowTooltip(false);\n }, []);\n\n return (\n <>\n <TruncatedSpan innerRef={refs.setReference} onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>\n {value}\n </TruncatedSpan>\n <FloatingWrapper\n innerRef={refs.setFloating}\n isOpen={showTooltip}\n floatingStyles={floatingStyles}\n context={context}\n >\n <TooltipContainer>\n {value}\n <PopoverArrow {...arrowStyles} />\n </TooltipContainer>\n </FloatingWrapper>\n </>\n );\n};\n\nexport { TruncatedTooltipText };\nexport default TruncatedTooltipText;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD0DnB;AA1DJ,mBAA6C;AAC7C,uBAAuB;AACvB,iCAKO;AAEP,MAAM,gBAAgB,wBAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS7B,MAAM,mBAAmB,wBAAO;AAAA;AAAA,eAEjB,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,aAK9B,CAAC,EAAE,MAAM,MAAM,GAAG,MAAM,MAAM,IAAI,IAAI,MAAM,MAAM,EAAE,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA,WAKxD,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC;AAAA;AAAA;AASnD,MAAM,uBAAuB,CAAC,EAAE,QAAQ,IAAI,YAAY,MAAM,MAAiC;AAC7F,QAAM,CAAC,aAAa,cAAc,QAAI,uBAAS,KAAK;AAEpD,QAAM,EAAE,MAAM,gBAAgB,aAAa,QAAQ,QAAI,+CAAmB;AAAA,IACxE;AAAA,IACA,4BAA4B;AAAA,IAC5B,kBAAkB;AAAA,EACpB,CAAC;AAED,QAAM,uBAAmB,0BAAY,CAAC,MAAyC;AAC7E,UAAM,KAAK,EAAE;AACb,mBAAe,GAAG,cAAc,GAAG,WAAW;AAAA,EAChD,GAAG,CAAC,CAAC;AAEL,QAAM,uBAAmB,0BAAY,MAAM;AACzC,mBAAe,KAAK;AAAA,EACtB,GAAG,CAAC,CAAC;AAEL,SACE,4EACE;AAAA,gDAAC,iBAAc,UAAU,KAAK,cAAc,cAAc,kBAAkB,cAAc,kBACvF,iBACH;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,UAAU,KAAK;AAAA,QACf,QAAQ;AAAA,QACR;AAAA,QACA;AAAA,QAEA,uDAAC,oBACE;AAAA;AAAA,UACD,4CAAC,2CAAc,GAAG,aAAa;AAAA,WACjC;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;AAGA,IAAO,+BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -33,8 +33,8 @@ __export(TextComponent_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(TextComponent_exports);
|
|
34
34
|
var React = __toESM(require("react"));
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
-
var
|
|
36
|
+
var import_TruncatedTooltipText = require("../TruncatedTooltipText.js");
|
|
37
37
|
var import_react = __toESM(require("react"));
|
|
38
38
|
var import_styled = require("./styled.js");
|
|
39
|
-
const TextComponent = import_react.default.memo(({ labelTruncated, label, pillSize }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.StyledTextWrapper, { pillSize, children: labelTruncated ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
const TextComponent = import_react.default.memo(({ labelTruncated, label, pillSize }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.StyledTextWrapper, { pillSize, children: labelTruncated ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TruncatedTooltipText.TruncatedTooltipText, { value: label }) : label }));
|
|
40
40
|
//# sourceMappingURL=TextComponent.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/TextComponent.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADYjB;AAZN,
|
|
4
|
+
"sourcesContent": ["import { TruncatedTooltipText } from '../TruncatedTooltipText.js';\nimport React from 'react';\nimport type { DSPillT } from '../react-desc-prop-types.js';\nimport { StyledTextWrapper } from './styled.js';\n\nexport const TextComponent = React.memo<{\n labelTruncated: DSPillT.InternalProps['labelTruncated'];\n label: DSPillT.InternalProps['label'];\n pillSize: DSPillT.InternalProps['size'];\n}>(({ labelTruncated, label, pillSize }) => (\n <StyledTextWrapper pillSize={pillSize}>\n {labelTruncated ? (\n <TruncatedTooltipText value={label} />\n ) : (\n label\n )}\n </StyledTextWrapper>\n));\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADYjB;AAZN,kCAAqC;AACrC,mBAAkB;AAElB,oBAAkC;AAE3B,MAAM,gBAAgB,aAAAA,QAAM,KAIhC,CAAC,EAAE,gBAAgB,OAAO,SAAS,MACpC,4CAAC,mCAAkB,UAChB,2BACC,4CAAC,oDAAqB,OAAO,OAAO,IAEpC,OAEJ,CACD;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback, useState } from "react";
|
|
4
|
+
import { styled } from "@elliemae/ds-system";
|
|
5
|
+
import {
|
|
6
|
+
useFloatingContext,
|
|
7
|
+
FloatingWrapper,
|
|
8
|
+
PopoverArrow
|
|
9
|
+
} from "@elliemae/ds-floating-context";
|
|
10
|
+
const TruncatedSpan = styled.span`
|
|
11
|
+
text-overflow: ellipsis;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
`;
|
|
17
|
+
const TooltipContainer = styled.div`
|
|
18
|
+
text-align: left;
|
|
19
|
+
min-width: ${({ theme }) => theme.space.l};
|
|
20
|
+
max-width: 250px;
|
|
21
|
+
min-height: 30px;
|
|
22
|
+
display: grid;
|
|
23
|
+
align-items: center;
|
|
24
|
+
padding: ${({ theme }) => `${theme.space.xxxs} ${theme.space.xs}`};
|
|
25
|
+
position: relative;
|
|
26
|
+
background-color: white;
|
|
27
|
+
border-radius: 2px;
|
|
28
|
+
font-size: 13px;
|
|
29
|
+
color: ${({ theme }) => theme.colors.neutral[600]};
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
`;
|
|
32
|
+
const TruncatedTooltipText = ({ value = "", placement = "top" }) => {
|
|
33
|
+
const [showTooltip, setShowTooltip] = useState(false);
|
|
34
|
+
const { refs, floatingStyles, arrowStyles, context } = useFloatingContext({
|
|
35
|
+
placement,
|
|
36
|
+
externallyControlledIsOpen: showTooltip,
|
|
37
|
+
withoutAnimation: true
|
|
38
|
+
});
|
|
39
|
+
const handleMouseEnter = useCallback((e) => {
|
|
40
|
+
const el = e.currentTarget;
|
|
41
|
+
setShowTooltip(el.offsetWidth < el.scrollWidth);
|
|
42
|
+
}, []);
|
|
43
|
+
const handleMouseLeave = useCallback(() => {
|
|
44
|
+
setShowTooltip(false);
|
|
45
|
+
}, []);
|
|
46
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
47
|
+
/* @__PURE__ */ jsx(TruncatedSpan, { innerRef: refs.setReference, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: value }),
|
|
48
|
+
/* @__PURE__ */ jsx(
|
|
49
|
+
FloatingWrapper,
|
|
50
|
+
{
|
|
51
|
+
innerRef: refs.setFloating,
|
|
52
|
+
isOpen: showTooltip,
|
|
53
|
+
floatingStyles,
|
|
54
|
+
context,
|
|
55
|
+
children: /* @__PURE__ */ jsxs(TooltipContainer, { children: [
|
|
56
|
+
value,
|
|
57
|
+
/* @__PURE__ */ jsx(PopoverArrow, { ...arrowStyles })
|
|
58
|
+
] })
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
] });
|
|
62
|
+
};
|
|
63
|
+
var TruncatedTooltipText_default = TruncatedTooltipText;
|
|
64
|
+
export {
|
|
65
|
+
TruncatedTooltipText,
|
|
66
|
+
TruncatedTooltipText_default as default
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=TruncatedTooltipText.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/TruncatedTooltipText.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useCallback, useState } from 'react';\nimport { styled } from '@elliemae/ds-system';\nimport {\n useFloatingContext,\n FloatingWrapper,\n PopoverArrow,\n type DSHookFloatingContextT,\n} from '@elliemae/ds-floating-context';\n\nconst TruncatedSpan = styled.span`\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n`;\n\n// Matches DSTooltipV3's StyledTooltipContainer styles for visual consistency\nconst TooltipContainer = styled.div`\n text-align: left;\n min-width: ${({ theme }) => theme.space.l};\n max-width: 250px;\n min-height: 30px;\n display: grid;\n align-items: center;\n padding: ${({ theme }) => `${theme.space.xxxs} ${theme.space.xs}`};\n position: relative;\n background-color: white;\n border-radius: 2px;\n font-size: 13px;\n color: ${({ theme }) => theme.colors.neutral[600]};\n pointer-events: none;\n`;\n\ninterface TruncatedTooltipTextProps {\n value?: string;\n placement?: DSHookFloatingContextT.PopperPlacementsT;\n}\n\nconst TruncatedTooltipText = ({ value = '', placement = 'top' }: TruncatedTooltipTextProps) => {\n const [showTooltip, setShowTooltip] = useState(false);\n\n const { refs, floatingStyles, arrowStyles, context } = useFloatingContext({\n placement,\n externallyControlledIsOpen: showTooltip,\n withoutAnimation: true,\n });\n\n const handleMouseEnter = useCallback((e: React.MouseEvent<HTMLSpanElement>) => {\n const el = e.currentTarget;\n setShowTooltip(el.offsetWidth < el.scrollWidth);\n }, []);\n\n const handleMouseLeave = useCallback(() => {\n setShowTooltip(false);\n }, []);\n\n return (\n <>\n <TruncatedSpan innerRef={refs.setReference} onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>\n {value}\n </TruncatedSpan>\n <FloatingWrapper\n innerRef={refs.setFloating}\n isOpen={showTooltip}\n floatingStyles={floatingStyles}\n context={context}\n >\n <TooltipContainer>\n {value}\n <PopoverArrow {...arrowStyles} />\n </TooltipContainer>\n </FloatingWrapper>\n </>\n );\n};\n\nexport { TruncatedTooltipText };\nexport default TruncatedTooltipText;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AC0DnB,mBACE,KASE,YAVJ;AA1DJ,SAAgB,aAAa,gBAAgB;AAC7C,SAAS,cAAc;AACvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP,MAAM,gBAAgB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS7B,MAAM,mBAAmB,OAAO;AAAA;AAAA,eAEjB,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,aAK9B,CAAC,EAAE,MAAM,MAAM,GAAG,MAAM,MAAM,IAAI,IAAI,MAAM,MAAM,EAAE,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA,WAKxD,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC;AAAA;AAAA;AASnD,MAAM,uBAAuB,CAAC,EAAE,QAAQ,IAAI,YAAY,MAAM,MAAiC;AAC7F,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,KAAK;AAEpD,QAAM,EAAE,MAAM,gBAAgB,aAAa,QAAQ,IAAI,mBAAmB;AAAA,IACxE;AAAA,IACA,4BAA4B;AAAA,IAC5B,kBAAkB;AAAA,EACpB,CAAC;AAED,QAAM,mBAAmB,YAAY,CAAC,MAAyC;AAC7E,UAAM,KAAK,EAAE;AACb,mBAAe,GAAG,cAAc,GAAG,WAAW;AAAA,EAChD,GAAG,CAAC,CAAC;AAEL,QAAM,mBAAmB,YAAY,MAAM;AACzC,mBAAe,KAAK;AAAA,EACtB,GAAG,CAAC,CAAC;AAEL,SACE,iCACE;AAAA,wBAAC,iBAAc,UAAU,KAAK,cAAc,cAAc,kBAAkB,cAAc,kBACvF,iBACH;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,UAAU,KAAK;AAAA,QACf,QAAQ;AAAA,QACR;AAAA,QACA;AAAA,QAEA,+BAAC,oBACE;AAAA;AAAA,UACD,oBAAC,gBAAc,GAAG,aAAa;AAAA,WACjC;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;AAGA,IAAO,+BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { TruncatedTooltipText } from "../TruncatedTooltipText.js";
|
|
4
4
|
import React2 from "react";
|
|
5
5
|
import { StyledTextWrapper } from "./styled.js";
|
|
6
|
-
const TextComponent = React2.memo(({ labelTruncated, label, pillSize }) => /* @__PURE__ */ jsx(StyledTextWrapper, { pillSize, children: labelTruncated ? /* @__PURE__ */ jsx(
|
|
6
|
+
const TextComponent = React2.memo(({ labelTruncated, label, pillSize }) => /* @__PURE__ */ jsx(StyledTextWrapper, { pillSize, children: labelTruncated ? /* @__PURE__ */ jsx(TruncatedTooltipText, { value: label }) : label }));
|
|
7
7
|
export {
|
|
8
8
|
TextComponent
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/TextComponent.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import {
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACYjB;AAZN,SAAS,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { TruncatedTooltipText } from '../TruncatedTooltipText.js';\nimport React from 'react';\nimport type { DSPillT } from '../react-desc-prop-types.js';\nimport { StyledTextWrapper } from './styled.js';\n\nexport const TextComponent = React.memo<{\n labelTruncated: DSPillT.InternalProps['labelTruncated'];\n label: DSPillT.InternalProps['label'];\n pillSize: DSPillT.InternalProps['size'];\n}>(({ labelTruncated, label, pillSize }) => (\n <StyledTextWrapper pillSize={pillSize}>\n {labelTruncated ? (\n <TruncatedTooltipText value={label} />\n ) : (\n label\n )}\n </StyledTextWrapper>\n));\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACYjB;AAZN,SAAS,4BAA4B;AACrC,OAAOA,YAAW;AAElB,SAAS,yBAAyB;AAE3B,MAAM,gBAAgBA,OAAM,KAIhC,CAAC,EAAE,gBAAgB,OAAO,SAAS,MACpC,oBAAC,qBAAkB,UAChB,2BACC,oBAAC,wBAAqB,OAAO,OAAO,IAEpC,OAEJ,CACD;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type DSHookFloatingContextT } from '@elliemae/ds-floating-context';
|
|
2
|
+
interface TruncatedTooltipTextProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
placement?: DSHookFloatingContextT.PopperPlacementsT;
|
|
5
|
+
}
|
|
6
|
+
declare const TruncatedTooltipText: ({ value, placement }: TruncatedTooltipTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { TruncatedTooltipText };
|
|
8
|
+
export default TruncatedTooltipText;
|
|
@@ -9,14 +9,35 @@ export declare const usePillGroup: (propsFromUser: DSPillGroupT.Props) => {
|
|
|
9
9
|
propsWithDefault: DSPillGroupT.InternalProps;
|
|
10
10
|
xstyledProps: import("@elliemae/ds-props-helpers").XstyledProps;
|
|
11
11
|
pillGroupUid: string;
|
|
12
|
-
globalAttributes: Partial<Pick<DSGridT.Props, "
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type?: string | undefined | undefined;
|
|
16
|
-
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
17
|
-
shape?: string | undefined | undefined;
|
|
12
|
+
globalAttributes: Partial<Pick<DSGridT.Props, "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "type" | "name" | "suppressHydrationWarning" | "className" | "color" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "target" | "width" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "download" | "hrefLang" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "dateTime" | "open" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "placeholder" | "readOnly" | "required" | "size" | "step" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "start" | "selected" | "async" | "defer" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "wrap" | "default" | "kind" | "srcLang" | "poster"> & Omit<{
|
|
13
|
+
cite?: string | undefined | undefined;
|
|
14
|
+
data?: string | undefined | undefined;
|
|
18
15
|
form?: string | undefined | undefined;
|
|
19
|
-
|
|
16
|
+
label?: string | undefined | undefined;
|
|
17
|
+
slot?: string | undefined | undefined;
|
|
18
|
+
span?: number | undefined | undefined;
|
|
19
|
+
style?: React.CSSProperties | undefined;
|
|
20
|
+
summary?: string | undefined | undefined;
|
|
21
|
+
title?: string | undefined | undefined;
|
|
22
|
+
pattern?: string | undefined | undefined;
|
|
23
|
+
type?: string | undefined | undefined;
|
|
24
|
+
name?: string | undefined | undefined;
|
|
25
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
26
|
+
className?: string | undefined | undefined;
|
|
27
|
+
color?: string | undefined | undefined;
|
|
28
|
+
height?: number | string | undefined | undefined;
|
|
29
|
+
id?: string | undefined | undefined;
|
|
30
|
+
lang?: string | undefined | undefined;
|
|
31
|
+
max?: number | string | undefined | undefined;
|
|
32
|
+
media?: string | undefined | undefined;
|
|
33
|
+
method?: string | undefined | undefined;
|
|
34
|
+
min?: number | string | undefined | undefined;
|
|
35
|
+
target?: string | undefined | undefined;
|
|
36
|
+
width?: number | string | undefined | undefined;
|
|
37
|
+
role?: React.AriaRole | undefined;
|
|
38
|
+
tabIndex?: 0 | -1 | undefined;
|
|
39
|
+
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
40
|
+
href?: string | undefined | undefined;
|
|
20
41
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
21
42
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
22
43
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
@@ -70,6 +91,7 @@ export declare const usePillGroup: (propsFromUser: DSPillGroupT.Props) => {
|
|
|
70
91
|
"aria-valuemin"?: number | undefined | undefined;
|
|
71
92
|
"aria-valuenow"?: number | undefined | undefined;
|
|
72
93
|
"aria-valuetext"?: string | undefined | undefined;
|
|
94
|
+
children?: React.ReactNode;
|
|
73
95
|
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
74
96
|
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
75
97
|
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -154,6 +176,7 @@ export declare const usePillGroup: (propsFromUser: DSPillGroupT.Props) => {
|
|
|
154
176
|
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
155
177
|
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
156
178
|
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
157
180
|
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
158
181
|
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
159
182
|
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
@@ -227,31 +250,25 @@ export declare const usePillGroup: (propsFromUser: DSPillGroupT.Props) => {
|
|
|
227
250
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
228
251
|
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
229
252
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
classID?: string | undefined | undefined;
|
|
254
|
+
useMap?: string | undefined | undefined;
|
|
255
|
+
wmode?: string | undefined | undefined;
|
|
230
256
|
defaultChecked?: boolean | undefined | undefined;
|
|
231
257
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
232
258
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
233
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
234
259
|
accessKey?: string | undefined | undefined;
|
|
235
260
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
236
261
|
autoFocus?: boolean | undefined | undefined;
|
|
237
|
-
className?: string | undefined | undefined;
|
|
238
262
|
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
239
263
|
contextMenu?: string | undefined | undefined;
|
|
240
264
|
dir?: string | undefined | undefined;
|
|
241
265
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
242
266
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
243
267
|
hidden?: boolean | undefined | undefined;
|
|
244
|
-
id?: string | undefined | undefined;
|
|
245
|
-
lang?: string | undefined | undefined;
|
|
246
268
|
nonce?: string | undefined | undefined;
|
|
247
|
-
slot?: string | undefined | undefined;
|
|
248
269
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
249
|
-
style?: React.CSSProperties | undefined;
|
|
250
|
-
tabIndex?: 0 | -1 | undefined;
|
|
251
|
-
title?: string | undefined | undefined;
|
|
252
270
|
translate?: "yes" | "no" | undefined | undefined;
|
|
253
271
|
radioGroup?: string | undefined | undefined;
|
|
254
|
-
role?: React.AriaRole | undefined;
|
|
255
272
|
about?: string | undefined | undefined;
|
|
256
273
|
content?: string | undefined | undefined;
|
|
257
274
|
datatype?: string | undefined | undefined;
|
|
@@ -265,7 +282,6 @@ export declare const usePillGroup: (propsFromUser: DSPillGroupT.Props) => {
|
|
|
265
282
|
vocab?: string | undefined | undefined;
|
|
266
283
|
autoCorrect?: string | undefined | undefined;
|
|
267
284
|
autoSave?: string | undefined | undefined;
|
|
268
|
-
color?: string | undefined | undefined;
|
|
269
285
|
itemProp?: string | undefined | undefined;
|
|
270
286
|
itemScope?: boolean | undefined | undefined;
|
|
271
287
|
itemType?: string | undefined | undefined;
|
|
@@ -278,102 +294,86 @@ export declare const usePillGroup: (propsFromUser: DSPillGroupT.Props) => {
|
|
|
278
294
|
is?: string | undefined | undefined;
|
|
279
295
|
exportparts?: string | undefined | undefined;
|
|
280
296
|
part?: string | undefined | undefined;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
action?: string | undefined;
|
|
284
|
-
allowFullScreen?: boolean | undefined | undefined;
|
|
285
|
-
allowTransparency?: boolean | undefined | undefined;
|
|
297
|
+
download?: any;
|
|
298
|
+
hrefLang?: string | undefined | undefined;
|
|
286
299
|
alt?: string | undefined | undefined;
|
|
287
|
-
|
|
288
|
-
|
|
300
|
+
coords?: string | undefined | undefined;
|
|
301
|
+
shape?: string | undefined | undefined;
|
|
289
302
|
autoPlay?: boolean | undefined | undefined;
|
|
290
|
-
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
291
|
-
cellPadding?: number | string | undefined | undefined;
|
|
292
|
-
cellSpacing?: number | string | undefined | undefined;
|
|
293
|
-
charSet?: string | undefined | undefined;
|
|
294
|
-
challenge?: string | undefined | undefined;
|
|
295
|
-
checked?: boolean | undefined | undefined;
|
|
296
|
-
cite?: string | undefined | undefined;
|
|
297
|
-
classID?: string | undefined | undefined;
|
|
298
|
-
cols?: number | undefined | undefined;
|
|
299
|
-
colSpan?: number | undefined | undefined;
|
|
300
303
|
controls?: boolean | undefined | undefined;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
loop?: boolean | undefined | undefined;
|
|
305
|
+
mediaGroup?: string | undefined | undefined;
|
|
306
|
+
muted?: boolean | undefined | undefined;
|
|
307
|
+
playsInline?: boolean | undefined | undefined;
|
|
308
|
+
preload?: string | undefined | undefined;
|
|
309
|
+
src?: string | undefined | undefined;
|
|
307
310
|
disabled?: boolean | undefined | undefined;
|
|
308
|
-
download?: any;
|
|
309
|
-
encType?: string | undefined | undefined;
|
|
310
311
|
formAction?: string | undefined;
|
|
311
312
|
formEncType?: string | undefined | undefined;
|
|
312
313
|
formMethod?: string | undefined | undefined;
|
|
313
314
|
formNoValidate?: boolean | undefined | undefined;
|
|
314
315
|
formTarget?: string | undefined | undefined;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
integrity?: string | undefined | undefined;
|
|
324
|
-
keyParams?: string | undefined | undefined;
|
|
325
|
-
keyType?: string | undefined | undefined;
|
|
326
|
-
kind?: string | undefined | undefined;
|
|
327
|
-
label?: string | undefined | undefined;
|
|
328
|
-
loop?: boolean | undefined | undefined;
|
|
329
|
-
low?: number | undefined | undefined;
|
|
316
|
+
value?: string | number | readonly string[] | undefined;
|
|
317
|
+
dateTime?: string | undefined | undefined;
|
|
318
|
+
open?: boolean | undefined | undefined;
|
|
319
|
+
acceptCharset?: string | undefined | undefined;
|
|
320
|
+
action?: string | undefined;
|
|
321
|
+
autoComplete?: string | undefined | undefined;
|
|
322
|
+
encType?: string | undefined | undefined;
|
|
323
|
+
noValidate?: boolean | undefined | undefined;
|
|
330
324
|
manifest?: string | undefined | undefined;
|
|
325
|
+
allowFullScreen?: boolean | undefined | undefined;
|
|
326
|
+
allowTransparency?: boolean | undefined | undefined;
|
|
327
|
+
frameBorder?: number | string | undefined | undefined;
|
|
331
328
|
marginHeight?: number | undefined | undefined;
|
|
332
329
|
marginWidth?: number | undefined | undefined;
|
|
333
|
-
|
|
330
|
+
sandbox?: string | undefined | undefined;
|
|
331
|
+
scrolling?: string | undefined | undefined;
|
|
332
|
+
seamless?: boolean | undefined | undefined;
|
|
333
|
+
srcDoc?: string | undefined | undefined;
|
|
334
|
+
sizes?: string | undefined | undefined;
|
|
335
|
+
srcSet?: string | undefined | undefined;
|
|
336
|
+
accept?: string | undefined | undefined;
|
|
337
|
+
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
338
|
+
checked?: boolean | undefined | undefined;
|
|
339
|
+
list?: string | undefined | undefined;
|
|
334
340
|
maxLength?: number | undefined | undefined;
|
|
335
|
-
media?: string | undefined | undefined;
|
|
336
|
-
mediaGroup?: string | undefined | undefined;
|
|
337
|
-
method?: string | undefined | undefined;
|
|
338
|
-
min?: number | string | undefined | undefined;
|
|
339
341
|
minLength?: number | undefined | undefined;
|
|
340
342
|
multiple?: boolean | undefined | undefined;
|
|
341
|
-
muted?: boolean | undefined | undefined;
|
|
342
|
-
name?: string | undefined | undefined;
|
|
343
|
-
noValidate?: boolean | undefined | undefined;
|
|
344
|
-
open?: boolean | undefined | undefined;
|
|
345
|
-
optimum?: number | undefined | undefined;
|
|
346
|
-
pattern?: string | undefined | undefined;
|
|
347
343
|
placeholder?: string | undefined | undefined;
|
|
348
|
-
playsInline?: boolean | undefined | undefined;
|
|
349
|
-
poster?: string | undefined | undefined;
|
|
350
|
-
preload?: string | undefined | undefined;
|
|
351
344
|
readOnly?: boolean | undefined | undefined;
|
|
352
345
|
required?: boolean | undefined | undefined;
|
|
346
|
+
size?: number | undefined | undefined;
|
|
347
|
+
step?: number | string | undefined | undefined;
|
|
348
|
+
challenge?: string | undefined | undefined;
|
|
349
|
+
keyType?: string | undefined | undefined;
|
|
350
|
+
keyParams?: string | undefined | undefined;
|
|
351
|
+
htmlFor?: string | undefined | undefined;
|
|
352
|
+
integrity?: string | undefined | undefined;
|
|
353
|
+
charSet?: string | undefined | undefined;
|
|
354
|
+
httpEquiv?: string | undefined | undefined;
|
|
355
|
+
high?: number | undefined | undefined;
|
|
356
|
+
low?: number | undefined | undefined;
|
|
357
|
+
optimum?: number | undefined | undefined;
|
|
353
358
|
reversed?: boolean | undefined | undefined;
|
|
354
|
-
|
|
359
|
+
start?: number | undefined | undefined;
|
|
360
|
+
selected?: boolean | undefined | undefined;
|
|
361
|
+
async?: boolean | undefined | undefined;
|
|
362
|
+
defer?: boolean | undefined | undefined;
|
|
363
|
+
scoped?: boolean | undefined | undefined;
|
|
364
|
+
cellPadding?: number | string | undefined | undefined;
|
|
365
|
+
cellSpacing?: number | string | undefined | undefined;
|
|
366
|
+
colSpan?: number | undefined | undefined;
|
|
367
|
+
headers?: string | undefined | undefined;
|
|
355
368
|
rowSpan?: number | undefined | undefined;
|
|
356
|
-
sandbox?: string | undefined | undefined;
|
|
357
369
|
scope?: string | undefined | undefined;
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
seamless?: boolean | undefined | undefined;
|
|
361
|
-
selected?: boolean | undefined | undefined;
|
|
362
|
-
sizes?: string | undefined | undefined;
|
|
363
|
-
span?: number | undefined | undefined;
|
|
364
|
-
src?: string | undefined | undefined;
|
|
365
|
-
srcDoc?: string | undefined | undefined;
|
|
366
|
-
srcLang?: string | undefined | undefined;
|
|
367
|
-
srcSet?: string | undefined | undefined;
|
|
368
|
-
start?: number | undefined | undefined;
|
|
369
|
-
step?: number | string | undefined | undefined;
|
|
370
|
-
summary?: string | undefined | undefined;
|
|
371
|
-
target?: string | undefined | undefined;
|
|
372
|
-
useMap?: string | undefined | undefined;
|
|
373
|
-
value?: string | number | readonly string[] | undefined;
|
|
374
|
-
width?: number | string | undefined | undefined;
|
|
375
|
-
wmode?: string | undefined | undefined;
|
|
370
|
+
cols?: number | undefined | undefined;
|
|
371
|
+
rows?: number | undefined | undefined;
|
|
376
372
|
wrap?: string | undefined | undefined;
|
|
373
|
+
default?: boolean | undefined | undefined;
|
|
374
|
+
kind?: string | undefined | undefined;
|
|
375
|
+
srcLang?: string | undefined | undefined;
|
|
376
|
+
poster?: string | undefined | undefined;
|
|
377
377
|
}, keyof DSGridT.Props>>;
|
|
378
378
|
ctxValue: {
|
|
379
379
|
onKeyboardRemove: (pillUid: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pills-v2",
|
|
3
|
-
"version": "3.70.0-next.
|
|
3
|
+
"version": "3.70.0-next.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Pills V2",
|
|
6
6
|
"files": [
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@elliemae/ds-legacy-form": "1.0.16",
|
|
40
40
|
"uid": "^2.0.2",
|
|
41
|
-
"@elliemae/ds-button-v2": "3.70.0-next.
|
|
42
|
-
"@elliemae/ds-dropdownmenu-v2": "3.70.0-next.
|
|
43
|
-
"@elliemae/ds-
|
|
44
|
-
"@elliemae/ds-
|
|
45
|
-
"@elliemae/ds-
|
|
46
|
-
"@elliemae/ds-icons": "3.70.0-next.
|
|
47
|
-
"@elliemae/ds-
|
|
48
|
-
"@elliemae/ds-
|
|
49
|
-
"@elliemae/ds-
|
|
50
|
-
"@elliemae/ds-typescript-helpers": "3.70.0-next.
|
|
41
|
+
"@elliemae/ds-button-v2": "3.70.0-next.4",
|
|
42
|
+
"@elliemae/ds-dropdownmenu-v2": "3.70.0-next.4",
|
|
43
|
+
"@elliemae/ds-floating-context": "3.70.0-next.4",
|
|
44
|
+
"@elliemae/ds-grid": "3.70.0-next.4",
|
|
45
|
+
"@elliemae/ds-menu-button": "3.70.0-next.4",
|
|
46
|
+
"@elliemae/ds-icons": "3.70.0-next.4",
|
|
47
|
+
"@elliemae/ds-tooltip-v3": "3.70.0-next.4",
|
|
48
|
+
"@elliemae/ds-system": "3.70.0-next.4",
|
|
49
|
+
"@elliemae/ds-props-helpers": "3.70.0-next.4",
|
|
50
|
+
"@elliemae/ds-typescript-helpers": "3.70.0-next.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"jest": "^30.0.0",
|
|
54
54
|
"styled-components": "~5.3.9",
|
|
55
|
-
"@elliemae/ds-monorepo-devops": "3.70.0-next.
|
|
56
|
-
"@elliemae/ds-test-utils": "3.70.0-next.
|
|
55
|
+
"@elliemae/ds-monorepo-devops": "3.70.0-next.4",
|
|
56
|
+
"@elliemae/ds-test-utils": "3.70.0-next.4"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"lodash-es": "^4.17.21",
|