@elliemae/ds-pills 3.27.0-next.1 → 3.27.0-next.3

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.
Files changed (76) hide show
  1. package/dist/cjs/index.js +3 -4
  2. package/dist/cjs/index.js.map +2 -2
  3. package/dist/esm/index.js +2 -3
  4. package/dist/esm/index.js.map +2 -2
  5. package/dist/types/index.d.ts +2 -3
  6. package/package.json +8 -137
  7. package/dist/cjs/deprecated/DropdownPill.js +0 -103
  8. package/dist/cjs/deprecated/DropdownPill.js.map +0 -7
  9. package/dist/cjs/deprecated/InputPill.js +0 -87
  10. package/dist/cjs/deprecated/InputPill.js.map +0 -7
  11. package/dist/cjs/deprecated/LabeledDropdownPills.js +0 -112
  12. package/dist/cjs/deprecated/LabeledDropdownPills.js.map +0 -7
  13. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js +0 -134
  14. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js.map +0 -7
  15. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js +0 -154
  16. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js.map +0 -7
  17. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js +0 -169
  18. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js.map +0 -7
  19. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/utils.js +0 -45
  20. package/dist/cjs/deprecated/LabeledDropdownPillsTypes/utils.js.map +0 -7
  21. package/dist/cjs/deprecated/LabeledPills.js +0 -86
  22. package/dist/cjs/deprecated/LabeledPills.js.map +0 -7
  23. package/dist/cjs/deprecated/OverflowPill.js +0 -93
  24. package/dist/cjs/deprecated/OverflowPill.js.map +0 -7
  25. package/dist/cjs/deprecated/Pill.js +0 -83
  26. package/dist/cjs/deprecated/Pill.js.map +0 -7
  27. package/dist/cjs/deprecated/PillGroup.js +0 -74
  28. package/dist/cjs/deprecated/PillGroup.js.map +0 -7
  29. package/dist/cjs/deprecated/ReadOnlyPill.js +0 -124
  30. package/dist/cjs/deprecated/ReadOnlyPill.js.map +0 -7
  31. package/dist/cjs/deprecated/RemovablePill.js +0 -86
  32. package/dist/cjs/deprecated/RemovablePill.js.map +0 -7
  33. package/dist/cjs/deprecated/index.js +0 -45
  34. package/dist/cjs/deprecated/index.js.map +0 -7
  35. package/dist/esm/deprecated/DropdownPill.js +0 -73
  36. package/dist/esm/deprecated/DropdownPill.js.map +0 -7
  37. package/dist/esm/deprecated/InputPill.js +0 -57
  38. package/dist/esm/deprecated/InputPill.js.map +0 -7
  39. package/dist/esm/deprecated/LabeledDropdownPills.js +0 -82
  40. package/dist/esm/deprecated/LabeledDropdownPills.js.map +0 -7
  41. package/dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js +0 -104
  42. package/dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js.map +0 -7
  43. package/dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js +0 -124
  44. package/dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js.map +0 -7
  45. package/dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js +0 -139
  46. package/dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js.map +0 -7
  47. package/dist/esm/deprecated/LabeledDropdownPillsTypes/utils.js +0 -15
  48. package/dist/esm/deprecated/LabeledDropdownPillsTypes/utils.js.map +0 -7
  49. package/dist/esm/deprecated/LabeledPills.js +0 -56
  50. package/dist/esm/deprecated/LabeledPills.js.map +0 -7
  51. package/dist/esm/deprecated/OverflowPill.js +0 -63
  52. package/dist/esm/deprecated/OverflowPill.js.map +0 -7
  53. package/dist/esm/deprecated/Pill.js +0 -53
  54. package/dist/esm/deprecated/Pill.js.map +0 -7
  55. package/dist/esm/deprecated/PillGroup.js +0 -44
  56. package/dist/esm/deprecated/PillGroup.js.map +0 -7
  57. package/dist/esm/deprecated/ReadOnlyPill.js +0 -94
  58. package/dist/esm/deprecated/ReadOnlyPill.js.map +0 -7
  59. package/dist/esm/deprecated/RemovablePill.js +0 -56
  60. package/dist/esm/deprecated/RemovablePill.js.map +0 -7
  61. package/dist/esm/deprecated/index.js +0 -14
  62. package/dist/esm/deprecated/index.js.map +0 -7
  63. package/dist/types/deprecated/DropdownPill.d.ts +0 -40
  64. package/dist/types/deprecated/InputPill.d.ts +0 -9
  65. package/dist/types/deprecated/LabeledDropdownPills.d.ts +0 -52
  66. package/dist/types/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.d.ts +0 -16
  67. package/dist/types/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.d.ts +0 -13
  68. package/dist/types/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.d.ts +0 -28
  69. package/dist/types/deprecated/LabeledDropdownPillsTypes/utils.d.ts +0 -1
  70. package/dist/types/deprecated/LabeledPills.d.ts +0 -38
  71. package/dist/types/deprecated/OverflowPill.d.ts +0 -26
  72. package/dist/types/deprecated/Pill.d.ts +0 -37
  73. package/dist/types/deprecated/PillGroup.d.ts +0 -32
  74. package/dist/types/deprecated/ReadOnlyPill.d.ts +0 -33
  75. package/dist/types/deprecated/RemovablePill.d.ts +0 -34
  76. package/dist/types/deprecated/index.d.ts +0 -9
package/dist/cjs/index.js CHANGED
@@ -29,11 +29,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
  var src_exports = {};
31
31
  __export(src_exports, {
32
- default: () => import_deprecated.default
32
+ default: () => import_ds_legacy_pills.default
33
33
  });
34
34
  module.exports = __toCommonJS(src_exports);
35
35
  var React = __toESM(require("react"));
36
- __reExport(src_exports, require("./deprecated/index.js"), module.exports);
37
- var import_deprecated = __toESM(require("./deprecated/index.js"));
38
- __reExport(src_exports, require("@elliemae/ds-pills-v2"), module.exports);
36
+ __reExport(src_exports, require("@elliemae/ds-legacy-pills"), module.exports);
37
+ var import_ds_legacy_pills = __toESM(require("@elliemae/ds-legacy-pills"));
39
38
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export * from './deprecated/index.js';\nexport { default } from './deprecated/index.js';\nexport * from '@elliemae/ds-pills-v2';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,kCAAd;AACA,wBAAwB;AACxB,wBAAc,kCAFd;",
4
+ "sourcesContent": ["export * from '@elliemae/ds-legacy-pills';\nexport { default } from '@elliemae/ds-legacy-pills';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,sCAAd;AACA,6BAAwB;",
6
6
  "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as React from "react";
2
- export * from "./deprecated/index.js";
3
- import { default as default2 } from "./deprecated/index.js";
4
- export * from "@elliemae/ds-pills-v2";
2
+ export * from "@elliemae/ds-legacy-pills";
3
+ import { default as default2 } from "@elliemae/ds-legacy-pills";
5
4
  export {
6
5
  default2 as default
7
6
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './deprecated/index.js';\nexport { default } from './deprecated/index.js';\nexport * from '@elliemae/ds-pills-v2';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,SAAS,WAAAA,gBAAe;AACxB,cAAc;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from '@elliemae/ds-legacy-pills';\nexport { default } from '@elliemae/ds-legacy-pills';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,SAAS,WAAAA,gBAAe;",
6
6
  "names": ["default"]
7
7
  }
@@ -1,3 +1,2 @@
1
- export * from './deprecated/index.js';
2
- export { default } from './deprecated/index.js';
3
- export * from '@elliemae/ds-pills-v2';
1
+ export * from '@elliemae/ds-legacy-pills';
2
+ export { default } from '@elliemae/ds-legacy-pills';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-pills",
3
- "version": "3.27.0-next.1",
3
+ "version": "3.27.0-next.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Pills",
6
6
  "files": [
@@ -13,118 +13,6 @@
13
13
  ".": {
14
14
  "import": "./dist/esm/index.js",
15
15
  "require": "./dist/cjs/index.js"
16
- },
17
- "./utils": {
18
- "import": "./dist/esm/utils.js",
19
- "require": "./dist/cjs/utils.js"
20
- },
21
- "./props": {
22
- "import": "./dist/esm/props.js",
23
- "require": "./dist/cjs/props.js"
24
- },
25
- "./deprecated/RemovablePill": {
26
- "import": "./dist/esm/deprecated/RemovablePill.js",
27
- "require": "./dist/cjs/deprecated/RemovablePill.js"
28
- },
29
- "./deprecated/ReadOnlyPill": {
30
- "import": "./dist/esm/deprecated/ReadOnlyPill.js",
31
- "require": "./dist/cjs/deprecated/ReadOnlyPill.js"
32
- },
33
- "./deprecated/PillGroup": {
34
- "import": "./dist/esm/deprecated/PillGroup.js",
35
- "require": "./dist/cjs/deprecated/PillGroup.js"
36
- },
37
- "./deprecated/Pill": {
38
- "import": "./dist/esm/deprecated/Pill.js",
39
- "require": "./dist/cjs/deprecated/Pill.js"
40
- },
41
- "./deprecated/OverflowPill": {
42
- "import": "./dist/esm/deprecated/OverflowPill.js",
43
- "require": "./dist/cjs/deprecated/OverflowPill.js"
44
- },
45
- "./deprecated/LabeledPills": {
46
- "import": "./dist/esm/deprecated/LabeledPills.js",
47
- "require": "./dist/cjs/deprecated/LabeledPills.js"
48
- },
49
- "./deprecated/LabeledDropdownPillsTypes/utils": {
50
- "import": "./dist/esm/deprecated/LabeledDropdownPillsTypes/utils.js",
51
- "require": "./dist/cjs/deprecated/LabeledDropdownPillsTypes/utils.js"
52
- },
53
- "./deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill": {
54
- "import": "./dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js",
55
- "require": "./dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js"
56
- },
57
- "./deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill": {
58
- "import": "./dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js",
59
- "require": "./dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js"
60
- },
61
- "./deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill": {
62
- "import": "./dist/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js",
63
- "require": "./dist/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js"
64
- },
65
- "./deprecated/LabeledDropdownPills": {
66
- "import": "./dist/esm/deprecated/LabeledDropdownPills.js",
67
- "require": "./dist/cjs/deprecated/LabeledDropdownPills.js"
68
- },
69
- "./deprecated/InputPill": {
70
- "import": "./dist/esm/deprecated/InputPill.js",
71
- "require": "./dist/cjs/deprecated/InputPill.js"
72
- },
73
- "./deprecated": {
74
- "import": "./dist/esm/deprecated/index.js",
75
- "require": "./dist/cjs/deprecated/index.js"
76
- },
77
- "./deprecated/DropdownPill": {
78
- "import": "./dist/esm/deprecated/DropdownPill.js",
79
- "require": "./dist/cjs/deprecated/DropdownPill.js"
80
- },
81
- "./components/types/ValuePill": {
82
- "import": "./dist/esm/components/types/ValuePill.js",
83
- "require": "./dist/cjs/components/types/ValuePill.js"
84
- },
85
- "./components/types/RemovablePill": {
86
- "import": "./dist/esm/components/types/RemovablePill.js",
87
- "require": "./dist/cjs/components/types/RemovablePill.js"
88
- },
89
- "./components/types/ReadOnlyPill": {
90
- "import": "./dist/esm/components/types/ReadOnlyPill.js",
91
- "require": "./dist/cjs/components/types/ReadOnlyPill.js"
92
- },
93
- "./components/types/LabelPill": {
94
- "import": "./dist/esm/components/types/LabelPill.js",
95
- "require": "./dist/cjs/components/types/LabelPill.js"
96
- },
97
- "./components/types/InputPill": {
98
- "import": "./dist/esm/components/types/InputPill.js",
99
- "require": "./dist/cjs/components/types/InputPill.js"
100
- },
101
- "./components/types": {
102
- "import": "./dist/esm/components/types/index.js",
103
- "require": "./dist/cjs/components/types/index.js"
104
- },
105
- "./components/types/DropdownPill": {
106
- "import": "./dist/esm/components/types/DropdownPill.js",
107
- "require": "./dist/cjs/components/types/DropdownPill.js"
108
- },
109
- "./components/styled": {
110
- "import": "./dist/esm/components/styled.js",
111
- "require": "./dist/cjs/components/styled.js"
112
- },
113
- "./components/PillGroup": {
114
- "import": "./dist/esm/components/PillGroup.js",
115
- "require": "./dist/cjs/components/PillGroup.js"
116
- },
117
- "./components/PillButton": {
118
- "import": "./dist/esm/components/PillButton.js",
119
- "require": "./dist/cjs/components/PillButton.js"
120
- },
121
- "./components/Pill": {
122
- "import": "./dist/esm/components/Pill.js",
123
- "require": "./dist/cjs/components/Pill.js"
124
- },
125
- "./components": {
126
- "import": "./dist/esm/components/index.js",
127
- "require": "./dist/cjs/components/index.js"
128
16
  }
129
17
  },
130
18
  "sideEffects": [
@@ -147,29 +35,12 @@
147
35
  "indent": 4
148
36
  },
149
37
  "dependencies": {
150
- "prop-types": "~15.8.1",
151
- "uid": "~2.0.1",
152
- "@elliemae/ds-button": "3.27.0-next.1",
153
- "@elliemae/ds-button-v2": "3.27.0-next.1",
154
- "@elliemae/ds-classnames": "3.27.0-next.1",
155
- "@elliemae/ds-grid": "3.27.0-next.1",
156
- "@elliemae/ds-dropdownmenu": "3.27.0-next.1",
157
- "@elliemae/ds-icons": "3.27.0-next.1",
158
- "@elliemae/ds-form": "3.27.0-next.1",
159
- "@elliemae/ds-modal": "3.27.0-next.1",
160
- "@elliemae/ds-pills-v2": "3.27.0-next.1",
161
- "@elliemae/ds-popover": "3.27.0-next.1",
162
- "@elliemae/ds-system": "3.27.0-next.1",
163
- "@elliemae/ds-tooltip": "3.27.0-next.1",
164
- "@elliemae/ds-truncated-tooltip-text": "3.27.0-next.1",
165
- "@elliemae/ds-props-helpers": "3.27.0-next.1",
166
- "@elliemae/ds-shared": "3.27.0-next.1",
167
- "@elliemae/ds-utilities": "3.27.0-next.1"
38
+ "@elliemae/ds-legacy-pills": "1.0.1"
168
39
  },
169
40
  "devDependencies": {
170
41
  "@elliemae/pui-cli": "~9.0.0-next.31",
171
42
  "styled-components": "~5.3.9",
172
- "@elliemae/ds-monorepo-devops": "3.27.0-next.1"
43
+ "@elliemae/ds-monorepo-devops": "3.27.0-next.3"
173
44
  },
174
45
  "peerDependencies": {
175
46
  "lodash": "^4.17.21",
@@ -183,13 +54,13 @@
183
54
  },
184
55
  "scripts": {
185
56
  "dev": "cross-env NODE_ENV=development node ../../../scripts/build/build.mjs --watch",
186
- "test": "pui-cli test --passWithNoTests",
187
- "lint": "node ../../../scripts/lint.mjs",
188
- "eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../../.eslintrc.js' src/",
189
- "dts": "node ../../../scripts/dts.mjs",
57
+ "test": "exit 0 | echo",
58
+ "lint": "exit 0 | echo",
59
+ "eslint:fix": "exit 0 | echo",
60
+ "dts": "exit 0 | echo",
190
61
  "build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
191
62
  "dev:build": "pnpm --filter {.}... build",
192
63
  "dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
193
- "checkDeps": "npm exec ../../util/ds-codemods -- check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
64
+ "checkDeps": "exit 0 | echo"
194
65
  }
195
66
  }
@@ -1,103 +0,0 @@
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 DropdownPill_exports = {};
30
- __export(DropdownPill_exports, {
31
- DSDropdownPillWithSchema: () => DSDropdownPillWithSchema,
32
- DropdownPill: () => DropdownPill
33
- });
34
- module.exports = __toCommonJS(DropdownPill_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_props_helpers = require("@elliemae/ds-props-helpers");
39
- var import_ds_dropdownmenu = require("@elliemae/ds-dropdownmenu");
40
- var import_ds_icons = require("@elliemae/ds-icons");
41
- var import_ds_shared = require("@elliemae/ds-shared");
42
- var import_Pill = require("./Pill.js");
43
- const DropdownPill = ({
44
- containerProps = {},
45
- label = "",
46
- variant,
47
- tabIndex = -1,
48
- closeMenuOnItemSelection = false,
49
- maxWidth,
50
- minWidth,
51
- ...dropdownProps
52
- }) => {
53
- const ref = (0, import_react.useRef)(null);
54
- const [chevronEl, chevronRef] = (0, import_react.useState)();
55
- const { focusFirst } = (0, import_ds_shared.useFocusGroupItem)(ref);
56
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
57
- import_ds_dropdownmenu.DSDropdownMenu,
58
- {
59
- ...dropdownProps,
60
- closeMenuOnItemSelection,
61
- maxWidth,
62
- hideIfNotVisible: true,
63
- menuProps: { className: "dropdown-pill-menu", zIndex: 100 },
64
- minWidth,
65
- onClose: focusFirst,
66
- referenceNode: chevronEl,
67
- triggerComponent: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
68
- import_Pill.Pill,
69
- {
70
- "data-testid": "dropdown-pill",
71
- className: "dropdown-pill",
72
- containerProps: { role: "listbox", ...containerProps },
73
- innerRef: ref,
74
- label,
75
- rightAddon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref: chevronRef, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_icons.ChevronDown, { className: "dropdown-pill-chevron-down", "data-testid": "dropdown-pill-button" }) }),
76
- tabIndex,
77
- variant
78
- }
79
- )
80
- }
81
- );
82
- };
83
- const props = {
84
- /** props injected to component wrapper */
85
- containerProps: import_ds_props_helpers.PropTypes.object.description("props injected to component wrapper"),
86
- /** labeled pill text label */
87
- label: import_ds_props_helpers.PropTypes.string.isRequired.description("pill text label"),
88
- /** pill variant */
89
- variant: import_ds_props_helpers.PropTypes.oneOf(["value", "title"]).description("pill variant"),
90
- /** html focus border */
91
- tabIndex: import_ds_props_helpers.PropTypes.number.description("html focus order"),
92
- /** close menu on item selection */
93
- closeMenuOnItemSelection: import_ds_props_helpers.PropTypes.bool.description("close menu on item selection"),
94
- /** pill max width */
95
- maxWidth: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number]).description("pill max width"),
96
- /** pill min width */
97
- minWidth: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number]).description("pill min width")
98
- };
99
- DropdownPill.propTypes = props;
100
- DropdownPill.displayName = "DropdownPill";
101
- const DSDropdownPillWithSchema = (0, import_ds_props_helpers.describe)(DropdownPill);
102
- DSDropdownPillWithSchema.propTypes = props;
103
- //# sourceMappingURL=DropdownPill.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/deprecated/DropdownPill.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable eslint-comments/no-unlimited-disable */\n/* eslint-disable */\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React, { useRef, useState } from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { DSDropdownMenu } from '@elliemae/ds-dropdownmenu';\nimport { ChevronDown } from '@elliemae/ds-icons';\nimport { useFocusGroupItem } from '@elliemae/ds-shared';\nimport { Pill } from './Pill.js';\n\nconst DropdownPill = ({\n containerProps = {},\n label = '',\n variant,\n tabIndex = -1,\n closeMenuOnItemSelection = false,\n maxWidth,\n minWidth,\n ...dropdownProps\n}) => {\n const ref = useRef(null);\n const [chevronEl, chevronRef] = useState();\n const { focusFirst } = useFocusGroupItem(ref);\n return (\n <DSDropdownMenu\n {...dropdownProps}\n closeMenuOnItemSelection={closeMenuOnItemSelection}\n maxWidth={maxWidth}\n hideIfNotVisible\n menuProps={{ className: 'dropdown-pill-menu', zIndex: 100 }}\n minWidth={minWidth}\n onClose={focusFirst}\n referenceNode={chevronEl}\n triggerComponent={\n <Pill\n data-testid=\"dropdown-pill\"\n className=\"dropdown-pill\"\n containerProps={{ role: 'listbox', ...containerProps }}\n innerRef={ref}\n label={label}\n rightAddon={\n <div ref={chevronRef}>\n <ChevronDown className=\"dropdown-pill-chevron-down\" data-testid=\"dropdown-pill-button\" />\n </div>\n }\n tabIndex={tabIndex}\n variant={variant}\n />\n }\n />\n );\n};\n\nconst props = {\n /** props injected to component wrapper */\n containerProps: PropTypes.object.description('props injected to component wrapper'),\n /** labeled pill text label */\n label: PropTypes.string.isRequired.description('pill text label'),\n /** pill variant */\n variant: PropTypes.oneOf(['value', 'title']).description('pill variant'),\n /** html focus border */\n tabIndex: PropTypes.number.description('html focus order'),\n /** close menu on item selection */\n closeMenuOnItemSelection: PropTypes.bool.description('close menu on item selection'),\n /** pill max width */\n maxWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('pill max width'),\n /** pill min width */\n minWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('pill min width'),\n};\n\nDropdownPill.propTypes = props;\nDropdownPill.displayName = 'DropdownPill';\nconst DSDropdownPillWithSchema = describe(DropdownPill);\nDSDropdownPillWithSchema.propTypes = props;\n\nexport { DropdownPill, DSDropdownPillWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD2CT;AAvCd,mBAAwC;AACxC,8BAAoC;AACpC,6BAA+B;AAC/B,sBAA4B;AAC5B,uBAAkC;AAClC,kBAAqB;AAErB,MAAM,eAAe,CAAC;AAAA,EACpB,iBAAiB,CAAC;AAAA,EAClB,QAAQ;AAAA,EACR;AAAA,EACA,WAAW;AAAA,EACX,2BAA2B;AAAA,EAC3B;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,UAAM,qBAAO,IAAI;AACvB,QAAM,CAAC,WAAW,UAAU,QAAI,uBAAS;AACzC,QAAM,EAAE,WAAW,QAAI,oCAAkB,GAAG;AAC5C,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MACA,kBAAgB;AAAA,MAChB,WAAW,EAAE,WAAW,sBAAsB,QAAQ,IAAI;AAAA,MAC1D;AAAA,MACA,SAAS;AAAA,MACT,eAAe;AAAA,MACf,kBACE;AAAA,QAAC;AAAA;AAAA,UACC,eAAY;AAAA,UACZ,WAAU;AAAA,UACV,gBAAgB,EAAE,MAAM,WAAW,GAAG,eAAe;AAAA,UACrD,UAAU;AAAA,UACV;AAAA,UACA,YACE,4CAAC,SAAI,KAAK,YACR,sDAAC,+BAAY,WAAU,8BAA6B,eAAY,wBAAuB,GACzF;AAAA,UAEF;AAAA,UACA;AAAA;AAAA,MACF;AAAA;AAAA,EAEJ;AAEJ;AAEA,MAAM,QAAQ;AAAA;AAAA,EAEZ,gBAAgB,kCAAU,OAAO,YAAY,qCAAqC;AAAA;AAAA,EAElF,OAAO,kCAAU,OAAO,WAAW,YAAY,iBAAiB;AAAA;AAAA,EAEhE,SAAS,kCAAU,MAAM,CAAC,SAAS,OAAO,CAAC,EAAE,YAAY,cAAc;AAAA;AAAA,EAEvE,UAAU,kCAAU,OAAO,YAAY,kBAAkB;AAAA;AAAA,EAEzD,0BAA0B,kCAAU,KAAK,YAAY,8BAA8B;AAAA;AAAA,EAEnF,UAAU,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB;AAAA;AAAA,EAEhG,UAAU,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB;AAClG;AAEA,aAAa,YAAY;AACzB,aAAa,cAAc;AAC3B,MAAM,+BAA2B,kCAAS,YAAY;AACtD,yBAAyB,YAAY;",
6
- "names": []
7
- }
@@ -1,87 +0,0 @@
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 InputPill_exports = {};
30
- __export(InputPill_exports, {
31
- InputPill: () => InputPill
32
- });
33
- module.exports = __toCommonJS(InputPill_exports);
34
- var React = __toESM(require("react"));
35
- var import_jsx_runtime = require("react/jsx-runtime");
36
- var import_ds_utilities = require("@elliemae/ds-utilities");
37
- var import_ds_icons = require("@elliemae/ds-icons");
38
- var import_ds_classnames = require("@elliemae/ds-classnames");
39
- var import_ds_form = require("@elliemae/ds-form");
40
- var import_Pill = require("./Pill.js");
41
- const StyledInputPill = (0, import_ds_classnames.aggregatedClasses)(import_Pill.Pill)("input-pill", null, ({ value }) => ({
42
- value
43
- }));
44
- const InputPill = ({
45
- containerProps = {},
46
- placeholder = "Enter Value",
47
- onChange = () => {
48
- },
49
- onRemove,
50
- value,
51
- type,
52
- ...otherProps
53
- }) => {
54
- (0, import_ds_utilities.useDeprecateComponent)({ componentName: "ds-pills", version: "TBD Date: 2023 Q3" });
55
- let TypeOfInput = import_ds_form.DSInput;
56
- switch (type) {
57
- case "inputText":
58
- TypeOfInput = import_ds_form.DSInput;
59
- break;
60
- case "inputMask":
61
- TypeOfInput = import_ds_form.DSInputMask;
62
- break;
63
- default:
64
- break;
65
- }
66
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
67
- StyledInputPill,
68
- {
69
- className: "input-pill",
70
- classProps: { value },
71
- containerProps,
72
- label: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
73
- TypeOfInput,
74
- {
75
- "data-testid": "input-pill",
76
- onChange,
77
- placeholder,
78
- value,
79
- ...otherProps
80
- }
81
- ),
82
- rightAddon: value && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_icons.CloseXsmall, { className: "remove-pill-button", "data-testid": "remove-pill-button", onClick: onRemove }),
83
- tabIndex: -1
84
- }
85
- );
86
- };
87
- //# sourceMappingURL=InputPill.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/deprecated/InputPill.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable eslint-comments/no-unlimited-disable */\n/* eslint-disable */\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\n\nimport { CloseXsmall } from '@elliemae/ds-icons';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { DSInput, DSInputMask } from '@elliemae/ds-form';\nimport { Pill } from './Pill.js';\n\nconst StyledInputPill = aggregatedClasses(Pill)('input-pill', null, ({ value }) => ({\n value,\n}));\n\nexport const InputPill = ({\n containerProps = {},\n placeholder = 'Enter Value',\n onChange = () => {},\n onRemove,\n value,\n type,\n ...otherProps\n}) => {\n useDeprecateComponent({ componentName: 'ds-pills', version: 'TBD Date: 2023 Q3' });\n\n let TypeOfInput = DSInput;\n // TODO: implement the DSTimeInput, see how because it returns a moment()\n // TODO: implement the DSDateInput\n switch (type) {\n case 'inputText':\n TypeOfInput = DSInput;\n break;\n case 'inputMask':\n TypeOfInput = DSInputMask;\n break;\n default:\n break;\n }\n\n return (\n <StyledInputPill\n className=\"input-pill\"\n classProps={{ value }}\n containerProps={containerProps}\n label={\n <TypeOfInput\n data-testid=\"input-pill\"\n onChange={onChange}\n placeholder={placeholder}\n value={value}\n {...otherProps}\n />\n }\n rightAddon={\n value && <CloseXsmall className=\"remove-pill-button\" data-testid=\"remove-pill-button\" onClick={onRemove} />\n }\n tabIndex={-1}\n />\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD+Cf;AA1CR,0BAAsC;AAEtC,sBAA4B;AAC5B,2BAAkC;AAClC,qBAAqC;AACrC,kBAAqB;AAErB,MAAM,sBAAkB,wCAAkB,gBAAI,EAAE,cAAc,MAAM,CAAC,EAAE,MAAM,OAAO;AAAA,EAClF;AACF,EAAE;AAEK,MAAM,YAAY,CAAC;AAAA,EACxB,iBAAiB,CAAC;AAAA,EAClB,cAAc;AAAA,EACd,WAAW,MAAM;AAAA,EAAC;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,iDAAsB,EAAE,eAAe,YAAY,SAAS,oBAAoB,CAAC;AAEjF,MAAI,cAAc;AAGlB,UAAQ,MAAM;AAAA,IACZ,KAAK;AACH,oBAAc;AACd;AAAA,IACF,KAAK;AACH,oBAAc;AACd;AAAA,IACF;AACE;AAAA,EACJ;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,YAAY,EAAE,MAAM;AAAA,MACpB;AAAA,MACA,OACE;AAAA,QAAC;AAAA;AAAA,UACC,eAAY;AAAA,UACZ;AAAA,UACA;AAAA,UACA;AAAA,UACC,GAAG;AAAA;AAAA,MACN;AAAA,MAEF,YACE,SAAS,4CAAC,+BAAY,WAAU,sBAAqB,eAAY,sBAAqB,SAAS,UAAU;AAAA,MAE3G,UAAU;AAAA;AAAA,EACZ;AAEJ;",
6
- "names": []
7
- }
@@ -1,112 +0,0 @@
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 LabeledDropdownPills_exports = {};
30
- __export(LabeledDropdownPills_exports, {
31
- DSLabeledDropdownPillsWithSchema: () => DSLabeledDropdownPillsWithSchema,
32
- LabeledDropdownPills: () => LabeledDropdownPills
33
- });
34
- module.exports = __toCommonJS(LabeledDropdownPills_exports);
35
- var React = __toESM(require("react"));
36
- var import_jsx_runtime = require("react/jsx-runtime");
37
- var import_ds_utilities = require("@elliemae/ds-utilities");
38
- var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
39
- var import_PillGroup = require("./PillGroup.js");
40
- var import_LabeledDropdownSinglePill = require("./LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js");
41
- var import_LabeledDropdownMultiPill = require("./LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js");
42
- var import_LabeledDropdownCascadeMenuPill = require("./LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js");
43
- const DropdownPills = {
44
- single: import_LabeledDropdownSinglePill.LabeledDropdownSinglePill,
45
- multi: import_LabeledDropdownMultiPill.LabeledDropdownMultiPills,
46
- cascaded: import_LabeledDropdownCascadeMenuPill.LabeledDropdownCascadeMenuPill
47
- };
48
- const createDropdownPill = (type) => DropdownPills[type] || DropdownPills.single;
49
- const LabeledDropdownPills = ({
50
- label = "",
51
- value,
52
- type,
53
- onFocusNextGroup,
54
- onFocusPreviousGroup,
55
- onFocusGroupSet,
56
- maxWidth,
57
- minWidth,
58
- fixed,
59
- className,
60
- ...menuProps
61
- }) => {
62
- const Component = createDropdownPill(type);
63
- (0, import_ds_utilities.useDeprecateComponent)({ componentName: "ds-pills", version: "TBD Date: 2023 Q3" });
64
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
65
- import_PillGroup.PillGroup,
66
- {
67
- onFocusGroupSet,
68
- onFocusNextGroup,
69
- onFocusPreviousGroup,
70
- containerProps: { className },
71
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ...menuProps, label, maxWidth, minWidth, value, fixed })
72
- }
73
- );
74
- };
75
- const props = {
76
- /** pill type */
77
- type: import_ds_props_helpers.PropTypes.oneOf(["single", "multi", "cascaded"]).description("pill type"),
78
- /** focus next group callback */
79
- onFocusNextGroup: import_ds_props_helpers.PropTypes.func.description("focus next group callback"),
80
- /** focus prev group callback */
81
- onFocusPreviousGroup: import_ds_props_helpers.PropTypes.func.description("focus prev group callback"),
82
- /** focus group set callback */
83
- onFocusGroupSet: import_ds_props_helpers.PropTypes.func.description("focus group set callback"),
84
- /** pill max width */
85
- maxWidth: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number]).description("pill max width"),
86
- /** pill min width */
87
- minWidth: import_ds_props_helpers.PropTypes.oneOfType([import_ds_props_helpers.PropTypes.string, import_ds_props_helpers.PropTypes.number]).description("pill min width"),
88
- /** fixed pill */
89
- fixed: import_ds_props_helpers.PropTypes.bool.description("fixed pill"),
90
- /** pill label text */
91
- label: import_ds_props_helpers.PropTypes.string.isRequired.description("pill label text"),
92
- /** additional className */
93
- className: import_ds_props_helpers.PropTypes.string.description("Additional className"),
94
- /** pill value */
95
- value: import_ds_props_helpers.PropTypes.oneOfType([
96
- import_ds_props_helpers.PropTypes.arrayOf(
97
- import_ds_props_helpers.PropTypes.shape({
98
- id: import_ds_props_helpers.PropTypes.string,
99
- label: import_ds_props_helpers.PropTypes.string
100
- })
101
- ),
102
- import_ds_props_helpers.PropTypes.shape({
103
- id: import_ds_props_helpers.PropTypes.string,
104
- label: import_ds_props_helpers.PropTypes.string
105
- })
106
- ]).description("pill value")
107
- };
108
- LabeledDropdownPills.propTypes = props;
109
- LabeledDropdownPills.displayName = "LabeledDropdownPills";
110
- const DSLabeledDropdownPillsWithSchema = (0, import_ds_props_helpers.describe)(LabeledDropdownPills);
111
- DSLabeledDropdownPillsWithSchema.propTypes = props;
112
- //# sourceMappingURL=LabeledDropdownPills.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/deprecated/LabeledDropdownPills.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable eslint-comments/no-unlimited-disable */\n/* eslint-disable */\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { PropTypes, describe } from '@elliemae/ds-props-helpers';\nimport { PillGroup } from './PillGroup.js';\nimport { LabeledDropdownSinglePill } from './LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js';\nimport { LabeledDropdownMultiPills } from './LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js';\nimport { LabeledDropdownCascadeMenuPill } from './LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js';\n\nconst DropdownPills = {\n single: LabeledDropdownSinglePill,\n multi: LabeledDropdownMultiPills,\n cascaded: LabeledDropdownCascadeMenuPill,\n};\n\nconst createDropdownPill = (type) => DropdownPills[type] || DropdownPills.single;\n\nconst LabeledDropdownPills = ({\n label = '',\n value,\n type,\n onFocusNextGroup,\n onFocusPreviousGroup,\n onFocusGroupSet,\n maxWidth,\n minWidth,\n fixed,\n className,\n ...menuProps\n}) => {\n const Component = createDropdownPill(type);\n useDeprecateComponent({ componentName: 'ds-pills', version: 'TBD Date: 2023 Q3' });\n\n return (\n <PillGroup\n onFocusGroupSet={onFocusGroupSet}\n onFocusNextGroup={onFocusNextGroup}\n onFocusPreviousGroup={onFocusPreviousGroup}\n containerProps={{ className }}\n >\n <Component {...menuProps} label={label} maxWidth={maxWidth} minWidth={minWidth} value={value} fixed={fixed} />\n </PillGroup>\n );\n};\n\nconst props = {\n /** pill type */\n type: PropTypes.oneOf(['single', 'multi', 'cascaded']).description('pill type'),\n /** focus next group callback */\n onFocusNextGroup: PropTypes.func.description('focus next group callback'),\n /** focus prev group callback */\n onFocusPreviousGroup: PropTypes.func.description('focus prev group callback'),\n /** focus group set callback */\n onFocusGroupSet: PropTypes.func.description('focus group set callback'),\n /** pill max width */\n maxWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('pill max width'),\n /** pill min width */\n minWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('pill min width'),\n /** fixed pill */\n fixed: PropTypes.bool.description('fixed pill'),\n /** pill label text */\n label: PropTypes.string.isRequired.description('pill label text'),\n /** additional className */\n className: PropTypes.string.description('Additional className'),\n /** pill value */\n value: PropTypes.oneOfType([\n PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string,\n label: PropTypes.string,\n }),\n ),\n PropTypes.shape({\n id: PropTypes.string,\n label: PropTypes.string,\n }),\n ]).description('pill value'),\n};\n\nLabeledDropdownPills.propTypes = props;\nLabeledDropdownPills.displayName = 'LabeledDropdownPills';\nconst DSLabeledDropdownPillsWithSchema = describe(LabeledDropdownPills);\nDSLabeledDropdownPillsWithSchema.propTypes = props;\n\nexport { LabeledDropdownPills, DSLabeledDropdownPillsWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD2CjB;AAtCN,0BAAsC;AACtC,8BAAoC;AACpC,uBAA0B;AAC1B,uCAA0C;AAC1C,sCAA0C;AAC1C,4CAA+C;AAE/C,MAAM,gBAAgB;AAAA,EACpB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,UAAU;AACZ;AAEA,MAAM,qBAAqB,CAAC,SAAS,cAAc,IAAI,KAAK,cAAc;AAE1E,MAAM,uBAAuB,CAAC;AAAA,EAC5B,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,YAAY,mBAAmB,IAAI;AACzC,iDAAsB,EAAE,eAAe,YAAY,SAAS,oBAAoB,CAAC;AAEjF,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,gBAAgB,EAAE,UAAU;AAAA,MAE5B,sDAAC,aAAW,GAAG,WAAW,OAAc,UAAoB,UAAoB,OAAc,OAAc;AAAA;AAAA,EAC9G;AAEJ;AAEA,MAAM,QAAQ;AAAA;AAAA,EAEZ,MAAM,kCAAU,MAAM,CAAC,UAAU,SAAS,UAAU,CAAC,EAAE,YAAY,WAAW;AAAA;AAAA,EAE9E,kBAAkB,kCAAU,KAAK,YAAY,2BAA2B;AAAA;AAAA,EAExE,sBAAsB,kCAAU,KAAK,YAAY,2BAA2B;AAAA;AAAA,EAE5E,iBAAiB,kCAAU,KAAK,YAAY,0BAA0B;AAAA;AAAA,EAEtE,UAAU,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB;AAAA;AAAA,EAEhG,UAAU,kCAAU,UAAU,CAAC,kCAAU,QAAQ,kCAAU,MAAM,CAAC,EAAE,YAAY,gBAAgB;AAAA;AAAA,EAEhG,OAAO,kCAAU,KAAK,YAAY,YAAY;AAAA;AAAA,EAE9C,OAAO,kCAAU,OAAO,WAAW,YAAY,iBAAiB;AAAA;AAAA,EAEhE,WAAW,kCAAU,OAAO,YAAY,sBAAsB;AAAA;AAAA,EAE9D,OAAO,kCAAU,UAAU;AAAA,IACzB,kCAAU;AAAA,MACR,kCAAU,MAAM;AAAA,QACd,IAAI,kCAAU;AAAA,QACd,OAAO,kCAAU;AAAA,MACnB,CAAC;AAAA,IACH;AAAA,IACA,kCAAU,MAAM;AAAA,MACd,IAAI,kCAAU;AAAA,MACd,OAAO,kCAAU;AAAA,IACnB,CAAC;AAAA,EACH,CAAC,EAAE,YAAY,YAAY;AAC7B;AAEA,qBAAqB,YAAY;AACjC,qBAAqB,cAAc;AACnC,MAAM,uCAAmC,kCAAS,oBAAoB;AACtE,iCAAiC,YAAY;",
6
- "names": []
7
- }