@elliemae/ds-pills 1.60.0 → 2.0.0-alpha.12
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/cjs/components/Pill.js +34 -42
- package/cjs/components/PillButton.js +29 -23
- package/cjs/components/PillGroup.js +29 -37
- package/cjs/components/index.js +10 -36
- package/cjs/components/styled.js +36 -70
- package/cjs/components/types/DropdownPill.js +53 -43
- package/cjs/components/types/InputPill.js +28 -46
- package/cjs/components/types/LabelPill.js +24 -20
- package/cjs/components/types/ReadOnlyPill.js +27 -23
- package/cjs/components/types/RemovablePill.js +31 -37
- package/cjs/components/types/ValuePill.js +28 -24
- package/cjs/components/types/index.js +12 -34
- package/cjs/deprecated/DropdownPill.js +41 -44
- package/cjs/deprecated/InputPill.js +36 -27
- package/cjs/deprecated/LabeledDropdownPills.js +43 -54
- package/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js +74 -79
- package/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js +81 -116
- package/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js +95 -110
- package/cjs/deprecated/LabeledDropdownPillsTypes/utils.js +5 -8
- package/cjs/deprecated/LabeledPills.js +19 -27
- package/cjs/deprecated/OverflowPill.js +25 -42
- package/cjs/deprecated/Pill.js +48 -38
- package/cjs/deprecated/PillGroup.js +31 -18
- package/cjs/deprecated/ReadOnlyPill.js +60 -76
- package/cjs/deprecated/RemovablePill.js +19 -26
- package/cjs/deprecated/index.js +26 -51
- package/cjs/index.d.js +0 -1
- package/cjs/index.js +36 -76
- package/cjs/props.js +21 -44
- package/cjs/utils.js +7 -4
- package/esm/components/Pill.js +21 -29
- package/esm/components/PillButton.js +27 -20
- package/esm/components/PillGroup.js +27 -35
- package/esm/components/index.js +0 -26
- package/esm/components/styled.js +36 -71
- package/esm/components/types/DropdownPill.js +48 -39
- package/esm/components/types/InputPill.js +25 -43
- package/esm/components/types/LabelPill.js +21 -18
- package/esm/components/types/ReadOnlyPill.js +24 -21
- package/esm/components/types/RemovablePill.js +26 -33
- package/esm/components/types/ValuePill.js +25 -22
- package/esm/components/types/index.js +0 -22
- package/esm/deprecated/DropdownPill.js +37 -38
- package/esm/deprecated/InputPill.js +32 -23
- package/esm/deprecated/LabeledDropdownPills.js +33 -44
- package/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js +67 -70
- package/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js +72 -105
- package/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js +84 -96
- package/esm/deprecated/LabeledDropdownPillsTypes/utils.js +5 -8
- package/esm/deprecated/LabeledPills.js +14 -22
- package/esm/deprecated/OverflowPill.js +23 -39
- package/esm/deprecated/Pill.js +43 -32
- package/esm/deprecated/PillGroup.js +30 -18
- package/esm/deprecated/ReadOnlyPill.js +59 -74
- package/esm/deprecated/RemovablePill.js +18 -25
- package/esm/deprecated/index.js +0 -25
- package/esm/index.d.js +0 -1
- package/esm/index.js +0 -40
- package/esm/props.js +21 -44
- package/esm/utils.js +7 -4
- package/package.json +157 -23
- package/types/components/Pill.d.ts +5 -0
- package/types/components/PillButton.d.ts +5 -0
- package/types/components/PillGroup.d.ts +13 -0
- package/types/components/index.d.ts +3 -0
- package/types/components/styled.d.ts +24 -0
- package/types/components/types/DropdownPill.d.ts +3 -0
- package/types/components/types/InputPill.d.ts +3 -0
- package/types/components/types/LabelPill.d.ts +3 -0
- package/types/components/types/ReadOnlyPill.d.ts +3 -0
- package/types/components/types/RemovablePill.d.ts +3 -0
- package/types/components/types/ValuePill.d.ts +3 -0
- package/types/components/types/index.d.ts +6 -0
- package/types/deprecated/DropdownPill.d.ts +75 -0
- package/types/deprecated/InputPill.d.ts +10 -0
- package/types/deprecated/LabeledDropdownPills.d.ts +93 -0
- package/types/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.d.ts +15 -0
- package/types/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.d.ts +13 -0
- package/types/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.d.ts +28 -0
- package/types/deprecated/LabeledDropdownPillsTypes/utils.d.ts +1 -0
- package/types/deprecated/LabeledPills.d.ts +59 -0
- package/types/deprecated/OverflowPill.d.ts +37 -0
- package/types/deprecated/Pill.d.ts +67 -0
- package/types/deprecated/PillGroup.d.ts +56 -0
- package/types/deprecated/ReadOnlyPill.d.ts +63 -0
- package/types/deprecated/RemovablePill.d.ts +55 -0
- package/types/deprecated/index.d.ts +9 -0
- package/types/index.d.ts +3 -0
- package/types/props.d.ts +92 -0
- package/types/tests/DSPill.test.d.ts +1 -0
- package/types/tests/DSPillGroup.test.d.ts +1 -0
- package/types/tests/events/DSPill.events.keyboard.test.d.ts +1 -0
- package/types/tests/events/DSPill.events.test.d.ts +1 -0
- package/types/tests/events/DSPillGroup.events.keyboard.test.d.ts +1 -0
- package/types/tests/events/DSPillGroup.events.test.d.ts +1 -0
- package/types/utils.d.ts +4 -0
- package/cjs/components/Pill.js.map +0 -1
- package/cjs/components/PillButton.js.map +0 -1
- package/cjs/components/PillGroup.js.map +0 -1
- package/cjs/components/index.js.map +0 -1
- package/cjs/components/styled.js.map +0 -1
- package/cjs/components/types/DropdownPill.js.map +0 -1
- package/cjs/components/types/InputPill.js.map +0 -1
- package/cjs/components/types/LabelPill.js.map +0 -1
- package/cjs/components/types/ReadOnlyPill.js.map +0 -1
- package/cjs/components/types/RemovablePill.js.map +0 -1
- package/cjs/components/types/ValuePill.js.map +0 -1
- package/cjs/components/types/index.js.map +0 -1
- package/cjs/deprecated/DropdownPill.js.map +0 -1
- package/cjs/deprecated/InputPill.js.map +0 -1
- package/cjs/deprecated/LabeledDropdownPills.js.map +0 -1
- package/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js.map +0 -1
- package/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js.map +0 -1
- package/cjs/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js.map +0 -1
- package/cjs/deprecated/LabeledDropdownPillsTypes/utils.js.map +0 -1
- package/cjs/deprecated/LabeledPills.js.map +0 -1
- package/cjs/deprecated/OverflowPill.js.map +0 -1
- package/cjs/deprecated/Pill.js.map +0 -1
- package/cjs/deprecated/PillGroup.js.map +0 -1
- package/cjs/deprecated/ReadOnlyPill.js.map +0 -1
- package/cjs/deprecated/RemovablePill.js.map +0 -1
- package/cjs/deprecated/index.js.map +0 -1
- package/cjs/index.d.js.map +0 -1
- package/cjs/index.js.map +0 -1
- package/cjs/props.js.map +0 -1
- package/cjs/utils.js.map +0 -1
- package/components/Pill/package.json +0 -10
- package/components/PillButton/package.json +0 -10
- package/components/PillGroup/package.json +0 -10
- package/components/package.json +0 -10
- package/components/styled/package.json +0 -10
- package/components/types/DropdownPill/package.json +0 -10
- package/components/types/InputPill/package.json +0 -10
- package/components/types/LabelPill/package.json +0 -10
- package/components/types/ReadOnlyPill/package.json +0 -10
- package/components/types/RemovablePill/package.json +0 -10
- package/components/types/ValuePill/package.json +0 -10
- package/components/types/package.json +0 -10
- package/deprecated/DropdownPill/package.json +0 -10
- package/deprecated/InputPill/package.json +0 -10
- package/deprecated/LabeledDropdownPills/package.json +0 -10
- package/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill/package.json +0 -10
- package/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill/package.json +0 -10
- package/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill/package.json +0 -10
- package/deprecated/LabeledDropdownPillsTypes/utils/package.json +0 -10
- package/deprecated/LabeledPills/package.json +0 -10
- package/deprecated/OverflowPill/package.json +0 -10
- package/deprecated/Pill/package.json +0 -10
- package/deprecated/PillGroup/package.json +0 -10
- package/deprecated/ReadOnlyPill/package.json +0 -10
- package/deprecated/RemovablePill/package.json +0 -10
- package/deprecated/package.json +0 -10
- package/esm/components/Pill.js.map +0 -1
- package/esm/components/PillButton.js.map +0 -1
- package/esm/components/PillGroup.js.map +0 -1
- package/esm/components/index.js.map +0 -1
- package/esm/components/styled.js.map +0 -1
- package/esm/components/types/DropdownPill.js.map +0 -1
- package/esm/components/types/InputPill.js.map +0 -1
- package/esm/components/types/LabelPill.js.map +0 -1
- package/esm/components/types/ReadOnlyPill.js.map +0 -1
- package/esm/components/types/RemovablePill.js.map +0 -1
- package/esm/components/types/ValuePill.js.map +0 -1
- package/esm/components/types/index.js.map +0 -1
- package/esm/deprecated/DropdownPill.js.map +0 -1
- package/esm/deprecated/InputPill.js.map +0 -1
- package/esm/deprecated/LabeledDropdownPills.js.map +0 -1
- package/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js.map +0 -1
- package/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js.map +0 -1
- package/esm/deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js.map +0 -1
- package/esm/deprecated/LabeledDropdownPillsTypes/utils.js.map +0 -1
- package/esm/deprecated/LabeledPills.js.map +0 -1
- package/esm/deprecated/OverflowPill.js.map +0 -1
- package/esm/deprecated/Pill.js.map +0 -1
- package/esm/deprecated/PillGroup.js.map +0 -1
- package/esm/deprecated/ReadOnlyPill.js.map +0 -1
- package/esm/deprecated/RemovablePill.js.map +0 -1
- package/esm/deprecated/index.js.map +0 -1
- package/esm/index.d.js.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/props.js.map +0 -1
- package/esm/utils.js.map +0 -1
- package/props/package.json +0 -10
- package/utils/package.json +0 -10
package/cjs/deprecated/index.js
CHANGED
|
@@ -2,57 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
require('@babel/runtime/helpers/extends');
|
|
14
|
-
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
15
|
-
require('@babel/runtime/helpers/defineProperty');
|
|
16
|
-
require('react');
|
|
17
|
-
require('react-desc');
|
|
18
|
-
require('@elliemae/ds-classnames');
|
|
19
|
-
require('@elliemae/ds-shared/FocusGroup/FocusGroupManager');
|
|
20
|
-
require('./LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js');
|
|
21
|
-
require('@babel/runtime/helpers/slicedToArray');
|
|
22
|
-
require('prop-types');
|
|
23
|
-
require('@elliemae/ds-utilities');
|
|
24
|
-
require('./InputPill.js');
|
|
25
|
-
require('@elliemae/ds-icons');
|
|
26
|
-
require('@elliemae/ds-form');
|
|
27
|
-
require('./LabeledDropdownPillsTypes/utils.js');
|
|
28
|
-
require('lodash');
|
|
29
|
-
require('@elliemae/ds-dropdownmenu');
|
|
30
|
-
require('@elliemae/ds-shared/FocusGroup/useFocusGroupItem');
|
|
31
|
-
require('./LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js');
|
|
32
|
-
require('@elliemae/ds-tooltip');
|
|
33
|
-
require('./LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js');
|
|
34
|
-
require('@babel/runtime/helpers/toConsumableArray');
|
|
35
|
-
require('@elliemae/ds-modal');
|
|
36
|
-
require('@elliemae/ds-popover');
|
|
5
|
+
var Pill = require('./Pill.js');
|
|
6
|
+
var PillGroup = require('./PillGroup.js');
|
|
7
|
+
var LabeledDropdownPills = require('./LabeledDropdownPills.js');
|
|
8
|
+
var LabeledPills = require('./LabeledPills.js');
|
|
9
|
+
var DropdownPill = require('./DropdownPill.js');
|
|
10
|
+
var RemovablePill = require('./RemovablePill.js');
|
|
11
|
+
var ReadOnlyPill = require('./ReadOnlyPill.js');
|
|
12
|
+
var OverflowPill = require('./OverflowPill.js');
|
|
37
13
|
|
|
38
14
|
|
|
39
15
|
|
|
40
|
-
exports.DSPillWithSchema =
|
|
41
|
-
exports.Pill =
|
|
42
|
-
exports
|
|
43
|
-
exports.Container =
|
|
44
|
-
exports.DSPillGroupWithSchema =
|
|
45
|
-
exports.PillGroup =
|
|
46
|
-
exports.DSLabeledDropdownPillsWithSchema =
|
|
47
|
-
exports.LabeledDropdownPills =
|
|
48
|
-
exports.DSLabeledPillsWithSchema =
|
|
49
|
-
exports.LabeledPills =
|
|
50
|
-
exports.DSDropdownPillWithSchema =
|
|
51
|
-
exports.DropdownPill =
|
|
52
|
-
exports.DSRemovablePillWithSchema =
|
|
53
|
-
exports.RemovablePill =
|
|
54
|
-
exports.DSReadOnlyPillWithSchema =
|
|
55
|
-
exports.ReadOnlyPill =
|
|
56
|
-
exports.DSOverflowPillWithSchema =
|
|
57
|
-
exports.OverflowPill =
|
|
58
|
-
//# sourceMappingURL=index.js.map
|
|
16
|
+
exports.DSPillWithSchema = Pill.DSPillWithSchema;
|
|
17
|
+
exports.Pill = Pill.Pill;
|
|
18
|
+
exports["default"] = Pill.Pill;
|
|
19
|
+
exports.Container = PillGroup.Container;
|
|
20
|
+
exports.DSPillGroupWithSchema = PillGroup.DSPillGroupWithSchema;
|
|
21
|
+
exports.PillGroup = PillGroup.PillGroup;
|
|
22
|
+
exports.DSLabeledDropdownPillsWithSchema = LabeledDropdownPills.DSLabeledDropdownPillsWithSchema;
|
|
23
|
+
exports.LabeledDropdownPills = LabeledDropdownPills.LabeledDropdownPills;
|
|
24
|
+
exports.DSLabeledPillsWithSchema = LabeledPills.DSLabeledPillsWithSchema;
|
|
25
|
+
exports.LabeledPills = LabeledPills.LabeledPills;
|
|
26
|
+
exports.DSDropdownPillWithSchema = DropdownPill.DSDropdownPillWithSchema;
|
|
27
|
+
exports.DropdownPill = DropdownPill.DropdownPill;
|
|
28
|
+
exports.DSRemovablePillWithSchema = RemovablePill.DSRemovablePillWithSchema;
|
|
29
|
+
exports.RemovablePill = RemovablePill.RemovablePill;
|
|
30
|
+
exports.DSReadOnlyPillWithSchema = ReadOnlyPill.DSReadOnlyPillWithSchema;
|
|
31
|
+
exports.ReadOnlyPill = ReadOnlyPill.ReadOnlyPill;
|
|
32
|
+
exports.DSOverflowPillWithSchema = OverflowPill.DSOverflowPillWithSchema;
|
|
33
|
+
exports.OverflowPill = OverflowPill.OverflowPill;
|
package/cjs/index.d.js
CHANGED
package/cjs/index.js
CHANGED
|
@@ -2,82 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
require('@babel/runtime/helpers/extends');
|
|
17
|
-
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
18
|
-
require('@babel/runtime/helpers/defineProperty');
|
|
19
|
-
require('react');
|
|
20
|
-
require('react-desc');
|
|
21
|
-
require('@elliemae/ds-classnames');
|
|
22
|
-
require('@elliemae/ds-shared/FocusGroup/FocusGroupManager');
|
|
23
|
-
require('./deprecated/LabeledDropdownPillsTypes/LabeledDropdownSinglePill.js');
|
|
24
|
-
require('@babel/runtime/helpers/slicedToArray');
|
|
25
|
-
require('prop-types');
|
|
26
|
-
require('@elliemae/ds-utilities');
|
|
27
|
-
require('./deprecated/InputPill.js');
|
|
28
|
-
require('@elliemae/ds-icons');
|
|
29
|
-
require('@elliemae/ds-form');
|
|
30
|
-
require('./deprecated/LabeledDropdownPillsTypes/utils.js');
|
|
31
|
-
require('lodash');
|
|
32
|
-
require('./deprecated/LabeledDropdownPillsTypes/LabeledDropdownMultiPill.js');
|
|
33
|
-
require('./deprecated/LabeledDropdownPillsTypes/LabeledDropdownCascadeMenuPill.js');
|
|
34
|
-
require('@babel/runtime/helpers/toConsumableArray');
|
|
35
|
-
require('@elliemae/ds-dropdownmenu');
|
|
36
|
-
require('@elliemae/ds-shared/FocusGroup/useFocusGroupItem');
|
|
37
|
-
require('@elliemae/ds-modal');
|
|
38
|
-
require('@elliemae/ds-popover');
|
|
39
|
-
require('@elliemae/ds-tooltip');
|
|
40
|
-
require('@elliemae/ds-props-helpers');
|
|
41
|
-
require('./props.js');
|
|
42
|
-
require('./components/types/DropdownPill.js');
|
|
43
|
-
require('uid');
|
|
44
|
-
require('@elliemae/ds-truncated-tooltip-text');
|
|
45
|
-
require('./components/styled.js');
|
|
46
|
-
require('styled-components');
|
|
47
|
-
require('@elliemae/ds-grid');
|
|
48
|
-
require('@elliemae/ds-button');
|
|
49
|
-
require('./utils.js');
|
|
50
|
-
require('./components/types/InputPill.js');
|
|
51
|
-
require('./components/types/LabelPill.js');
|
|
52
|
-
require('./components/types/ReadOnlyPill.js');
|
|
53
|
-
require('./components/types/RemovablePill.js');
|
|
54
|
-
require('./components/types/ValuePill.js');
|
|
5
|
+
var Pill = require('./deprecated/Pill.js');
|
|
6
|
+
var PillGroup = require('./deprecated/PillGroup.js');
|
|
7
|
+
var LabeledDropdownPills = require('./deprecated/LabeledDropdownPills.js');
|
|
8
|
+
var LabeledPills = require('./deprecated/LabeledPills.js');
|
|
9
|
+
var DropdownPill = require('./deprecated/DropdownPill.js');
|
|
10
|
+
var RemovablePill = require('./deprecated/RemovablePill.js');
|
|
11
|
+
var ReadOnlyPill = require('./deprecated/ReadOnlyPill.js');
|
|
12
|
+
var OverflowPill = require('./deprecated/OverflowPill.js');
|
|
13
|
+
var Pill$1 = require('./components/Pill.js');
|
|
14
|
+
var PillGroup$1 = require('./components/PillGroup.js');
|
|
15
|
+
var PillButton = require('./components/PillButton.js');
|
|
55
16
|
|
|
56
17
|
|
|
57
18
|
|
|
58
|
-
exports.DSPillWithSchema =
|
|
59
|
-
exports.Pill =
|
|
60
|
-
exports
|
|
61
|
-
exports.Container =
|
|
62
|
-
exports.DSPillGroupWithSchema =
|
|
63
|
-
exports.PillGroup =
|
|
64
|
-
exports.DSLabeledDropdownPillsWithSchema =
|
|
65
|
-
exports.LabeledDropdownPills =
|
|
66
|
-
exports.DSLabeledPillsWithSchema =
|
|
67
|
-
exports.LabeledPills =
|
|
68
|
-
exports.DSDropdownPillWithSchema =
|
|
69
|
-
exports.DropdownPill =
|
|
70
|
-
exports.DSRemovablePillWithSchema =
|
|
71
|
-
exports.RemovablePill =
|
|
72
|
-
exports.DSReadOnlyPillWithSchema =
|
|
73
|
-
exports.ReadOnlyPill =
|
|
74
|
-
exports.DSOverflowPillWithSchema =
|
|
75
|
-
exports.OverflowPill =
|
|
76
|
-
exports.DSPillV2 =
|
|
77
|
-
exports.DSPillV2WithSchema =
|
|
78
|
-
exports.DSPillGroupV2 =
|
|
79
|
-
exports.DSPillGroupV2Context =
|
|
80
|
-
exports.DSPillGroupV2WithSchema =
|
|
81
|
-
exports.DSPillButton =
|
|
82
|
-
exports.DSPillButtonWithSchema =
|
|
83
|
-
//# sourceMappingURL=index.js.map
|
|
19
|
+
exports.DSPillWithSchema = Pill.DSPillWithSchema;
|
|
20
|
+
exports.Pill = Pill.Pill;
|
|
21
|
+
exports["default"] = Pill.Pill;
|
|
22
|
+
exports.Container = PillGroup.Container;
|
|
23
|
+
exports.DSPillGroupWithSchema = PillGroup.DSPillGroupWithSchema;
|
|
24
|
+
exports.PillGroup = PillGroup.PillGroup;
|
|
25
|
+
exports.DSLabeledDropdownPillsWithSchema = LabeledDropdownPills.DSLabeledDropdownPillsWithSchema;
|
|
26
|
+
exports.LabeledDropdownPills = LabeledDropdownPills.LabeledDropdownPills;
|
|
27
|
+
exports.DSLabeledPillsWithSchema = LabeledPills.DSLabeledPillsWithSchema;
|
|
28
|
+
exports.LabeledPills = LabeledPills.LabeledPills;
|
|
29
|
+
exports.DSDropdownPillWithSchema = DropdownPill.DSDropdownPillWithSchema;
|
|
30
|
+
exports.DropdownPill = DropdownPill.DropdownPill;
|
|
31
|
+
exports.DSRemovablePillWithSchema = RemovablePill.DSRemovablePillWithSchema;
|
|
32
|
+
exports.RemovablePill = RemovablePill.RemovablePill;
|
|
33
|
+
exports.DSReadOnlyPillWithSchema = ReadOnlyPill.DSReadOnlyPillWithSchema;
|
|
34
|
+
exports.ReadOnlyPill = ReadOnlyPill.ReadOnlyPill;
|
|
35
|
+
exports.DSOverflowPillWithSchema = OverflowPill.DSOverflowPillWithSchema;
|
|
36
|
+
exports.OverflowPill = OverflowPill.OverflowPill;
|
|
37
|
+
exports.DSPillV2 = Pill$1.DSPillV2;
|
|
38
|
+
exports.DSPillV2WithSchema = Pill$1.DSPillV2WithSchema;
|
|
39
|
+
exports.DSPillGroupV2 = PillGroup$1.DSPillGroupV2;
|
|
40
|
+
exports.DSPillGroupV2Context = PillGroup$1.DSPillGroupV2Context;
|
|
41
|
+
exports.DSPillGroupV2WithSchema = PillGroup$1.DSPillGroupV2WithSchema;
|
|
42
|
+
exports.DSPillButton = PillButton.DSPillButton;
|
|
43
|
+
exports.DSPillButtonWithSchema = PillButton.DSPillButtonWithSchema;
|
package/cjs/props.js
CHANGED
|
@@ -6,81 +6,59 @@ var reactDesc = require('react-desc');
|
|
|
6
6
|
var dsForm = require('@elliemae/ds-form');
|
|
7
7
|
|
|
8
8
|
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
const pillTypes = reactDesc.PropTypes.oneOf(['label', 'value', 'input', 'dropdown', 'removable', 'readonly']);
|
|
10
|
+
const DSPillV2PropTypes = {
|
|
11
11
|
label: reactDesc.PropTypes.string.description('Label to show in the pill').isRequired,
|
|
12
12
|
type: pillTypes.description('The type of pill that you want to render').isRequired,
|
|
13
|
-
innerRef: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.object, reactDesc.PropTypes.func]).description('Reference to the focuseable internal element of each pill (remove icons, inputs, dropdown, etc.)').defaultValue(
|
|
14
|
-
|
|
15
|
-
}),
|
|
13
|
+
innerRef: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.object, reactDesc.PropTypes.func]).description('Reference to the focuseable internal element of each pill (remove icons, inputs, dropdown, etc.)').defaultValue(() => null),
|
|
14
|
+
size: reactDesc.PropTypes.oneOf(['s', 'm']).description('Vertical pill size').defaultValue('m'),
|
|
16
15
|
ariaLabel: reactDesc.PropTypes.string.description('Aria label for the pill. If not provided we will use the label').defaultValue(''),
|
|
17
16
|
labelTruncated: reactDesc.PropTypes.bool.description('Whether to truncate the pills label').defaultValue(true),
|
|
18
17
|
tooltipValue: reactDesc.PropTypes.string.description('String to show as a tooltip in the value pill').defaultValue(''),
|
|
19
18
|
iconLeft: reactDesc.PropTypes.node.description('A component to show int the left of a readonly pill').defaultValue(null),
|
|
20
19
|
iconRight: reactDesc.PropTypes.node.description('A component to show in the right of a readonly pill').defaultValue(null),
|
|
21
|
-
onRemove: reactDesc.PropTypes.func.description('Callback triggered when removing a pill with the close icon').defaultValue(
|
|
22
|
-
return null;
|
|
23
|
-
}),
|
|
20
|
+
onRemove: reactDesc.PropTypes.func.description('Callback triggered when removing a pill with the close icon').defaultValue(() => null),
|
|
24
21
|
inputPlaceholder: reactDesc.PropTypes.string.description('Placeholder for the input pill').defaultValue(''),
|
|
25
|
-
onInputChange: reactDesc.PropTypes.func.description('Callback triggered when user provides input to the input pill').defaultValue(
|
|
26
|
-
|
|
27
|
-
}),
|
|
28
|
-
onInputClear: reactDesc.PropTypes.func.description('Callback triggered when the user clears an input pill').defaultValue(function () {
|
|
29
|
-
return null;
|
|
30
|
-
}),
|
|
22
|
+
onInputChange: reactDesc.PropTypes.func.description('Callback triggered when user provides input to the input pill').defaultValue(() => null),
|
|
23
|
+
onInputClear: reactDesc.PropTypes.func.description('Callback triggered when the user clears an input pill').defaultValue(() => null),
|
|
31
24
|
inputWidth: reactDesc.PropTypes.number.description('Width in pixels for the input tag in the input pill').defaultValue(150),
|
|
32
25
|
dropdownProps: reactDesc.PropTypes.object.description('Properties that will be used for the dropdown-menu').defaultValue({}),
|
|
33
|
-
onDropdownClick: reactDesc.PropTypes.func.description('Callback when dropdown button is clicked or pressed').defaultValue(
|
|
34
|
-
return null;
|
|
35
|
-
})
|
|
26
|
+
onDropdownClick: reactDesc.PropTypes.func.description('Callback when dropdown button is clicked or pressed').defaultValue(() => null)
|
|
36
27
|
};
|
|
37
|
-
|
|
28
|
+
const DSPillButtonPropTypes = {
|
|
38
29
|
type: reactDesc.PropTypes.oneOf(['only', 'left', 'right']).description('The position in which this button will be placed. Only used for css styling internally').defaultValue('right'),
|
|
39
30
|
width: reactDesc.PropTypes.string.description('Width of the button').defaultValue('100%'),
|
|
40
31
|
height: reactDesc.PropTypes.string.description('Height of the button').defaultValue('100%')
|
|
41
32
|
};
|
|
42
|
-
|
|
33
|
+
const DSPillGroupPropTypes = {
|
|
43
34
|
width: reactDesc.PropTypes.string.description('Width of the group').defaultValue('fit-content'),
|
|
44
|
-
innerRef: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.object, reactDesc.PropTypes.func]).description('Reference to the pill group wrapper').defaultValue(
|
|
45
|
-
return null;
|
|
46
|
-
})
|
|
35
|
+
innerRef: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.object, reactDesc.PropTypes.func]).description('Reference to the pill group wrapper').defaultValue(() => null)
|
|
47
36
|
};
|
|
48
|
-
|
|
49
|
-
innerRef:
|
|
50
|
-
return null;
|
|
51
|
-
},
|
|
37
|
+
const DSPillV2DefaultProps = {
|
|
38
|
+
innerRef: () => null,
|
|
52
39
|
ariaLabel: '',
|
|
40
|
+
size: 'm',
|
|
53
41
|
labelTruncated: true,
|
|
54
42
|
tooltipValue: '',
|
|
55
43
|
iconLeft: null,
|
|
56
44
|
iconRight: null,
|
|
57
|
-
onRemove:
|
|
58
|
-
return null;
|
|
59
|
-
},
|
|
45
|
+
onRemove: () => null,
|
|
60
46
|
inputPlaceholder: '',
|
|
61
|
-
onInputChange:
|
|
62
|
-
|
|
63
|
-
},
|
|
64
|
-
onInputClear: function onInputClear() {
|
|
65
|
-
return null;
|
|
66
|
-
},
|
|
47
|
+
onInputChange: () => null,
|
|
48
|
+
onInputClear: () => null,
|
|
67
49
|
inputWidth: 72,
|
|
68
50
|
inputRender: dsForm.DSInput,
|
|
69
51
|
dropdownProps: {},
|
|
70
|
-
onDropdownClick:
|
|
71
|
-
return null;
|
|
72
|
-
}
|
|
52
|
+
onDropdownClick: () => null
|
|
73
53
|
};
|
|
74
|
-
|
|
54
|
+
const DSPillButtonDefaultProps = {
|
|
75
55
|
type: 'right',
|
|
76
56
|
width: '100%',
|
|
77
57
|
height: '100%'
|
|
78
58
|
};
|
|
79
|
-
|
|
59
|
+
const DSPillGroupDefaultProps = {
|
|
80
60
|
width: 'fit-content',
|
|
81
|
-
innerRef:
|
|
82
|
-
return null;
|
|
83
|
-
}
|
|
61
|
+
innerRef: () => null
|
|
84
62
|
};
|
|
85
63
|
|
|
86
64
|
exports.DSPillButtonDefaultProps = DSPillButtonDefaultProps;
|
|
@@ -89,4 +67,3 @@ exports.DSPillGroupDefaultProps = DSPillGroupDefaultProps;
|
|
|
89
67
|
exports.DSPillGroupPropTypes = DSPillGroupPropTypes;
|
|
90
68
|
exports.DSPillV2DefaultProps = DSPillV2DefaultProps;
|
|
91
69
|
exports.DSPillV2PropTypes = DSPillV2PropTypes;
|
|
92
|
-
//# sourceMappingURL=props.js.map
|
package/cjs/utils.js
CHANGED
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
6
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
7
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
8
|
+
|
|
9
|
+
const setMultipleRefs = function () {
|
|
6
10
|
for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
7
11
|
refs[_key] = arguments[_key];
|
|
8
12
|
}
|
|
9
13
|
|
|
10
|
-
return
|
|
11
|
-
refs.forEach(
|
|
14
|
+
return _ref => {
|
|
15
|
+
refs.forEach(ref => {
|
|
12
16
|
if (!ref || !_ref) return;
|
|
13
17
|
|
|
14
18
|
if (typeof ref === 'function') {
|
|
@@ -22,4 +26,3 @@ var setMultipleRefs = function setMultipleRefs() {
|
|
|
22
26
|
};
|
|
23
27
|
|
|
24
28
|
exports.setMultipleRefs = setMultipleRefs;
|
|
25
|
-
//# sourceMappingURL=utils.js.map
|
package/esm/components/Pill.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
6
|
+
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
7
|
+
import 'react';
|
|
2
8
|
import { describe } from 'react-desc';
|
|
3
9
|
import { useMemoMergePropsWithDefault, useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';
|
|
4
10
|
import { DSPillV2PropTypes, DSPillV2DefaultProps } from '../props.js';
|
|
@@ -8,26 +14,12 @@ import { LabelPill } from './types/LabelPill.js';
|
|
|
8
14
|
import { ReadOnlyPill } from './types/ReadOnlyPill.js';
|
|
9
15
|
import { RemovablePill } from './types/RemovablePill.js';
|
|
10
16
|
import { ValuePill } from './types/ValuePill.js';
|
|
11
|
-
import '
|
|
12
|
-
import '@babel/runtime/helpers/esm/extends';
|
|
13
|
-
import '@elliemae/ds-dropdownmenu';
|
|
14
|
-
import 'uid';
|
|
15
|
-
import '@elliemae/ds-icons';
|
|
16
|
-
import '@elliemae/ds-truncated-tooltip-text';
|
|
17
|
-
import './styled.js';
|
|
18
|
-
import 'styled-components';
|
|
19
|
-
import '@elliemae/ds-grid';
|
|
20
|
-
import '@elliemae/ds-button';
|
|
21
|
-
import '../utils.js';
|
|
22
|
-
import './PillButton.js';
|
|
23
|
-
import '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
24
|
-
import '@babel/runtime/helpers/esm/slicedToArray';
|
|
25
|
-
import './PillGroup.js';
|
|
26
|
-
import '@babel/runtime/helpers/esm/toConsumableArray';
|
|
27
|
-
import '@elliemae/ds-tooltip';
|
|
17
|
+
import { jsx } from 'react/jsx-runtime';
|
|
28
18
|
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
20
|
+
|
|
21
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
22
|
+
const pillComponentGetter = {
|
|
31
23
|
dropdown: DropdownPill,
|
|
32
24
|
input: InputPill,
|
|
33
25
|
label: LabelPill,
|
|
@@ -36,17 +28,17 @@ var pillComponentGetter = {
|
|
|
36
28
|
value: ValuePill
|
|
37
29
|
};
|
|
38
30
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
useValidateTypescriptPropTypes(propsWithDefaults,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
31
|
+
const DSPillV2 = props => {
|
|
32
|
+
const propsWithDefaults = useMemoMergePropsWithDefault(props, DSPillV2DefaultProps);
|
|
33
|
+
useValidateTypescriptPropTypes(propsWithDefaults, DSPillV2PropTypes);
|
|
34
|
+
const {
|
|
35
|
+
type
|
|
36
|
+
} = propsWithDefaults;
|
|
37
|
+
const PillComponent = pillComponentGetter[type];
|
|
38
|
+
return /*#__PURE__*/jsx(PillComponent, _objectSpread({}, propsWithDefaults));
|
|
45
39
|
};
|
|
46
40
|
|
|
47
|
-
|
|
48
|
-
var DSPillV2WithSchema = describe(DSPillV2).description('Pill');
|
|
41
|
+
const DSPillV2WithSchema = describe(DSPillV2).description('Pill');
|
|
49
42
|
DSPillV2WithSchema.propTypes = DSPillV2PropTypes;
|
|
50
43
|
|
|
51
44
|
export { DSPillV2, DSPillV2WithSchema };
|
|
52
|
-
//# sourceMappingURL=Pill.js.map
|
|
@@ -1,39 +1,46 @@
|
|
|
1
|
-
import
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
6
|
+
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
7
|
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
3
|
-
import
|
|
8
|
+
import 'react';
|
|
4
9
|
import { describe } from 'react-desc';
|
|
5
10
|
import { useMemoMergePropsWithDefault, useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';
|
|
6
11
|
import { StyledPillButton } from './styled.js';
|
|
7
12
|
import { DSPillButtonPropTypes, DSPillButtonDefaultProps } from '../props.js';
|
|
8
|
-
import '
|
|
9
|
-
import '@elliemae/ds-grid';
|
|
10
|
-
import '@elliemae/ds-button';
|
|
11
|
-
import '@elliemae/ds-form';
|
|
13
|
+
import { jsx } from 'react/jsx-runtime';
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
const _excluded = ["type", "children"];
|
|
16
|
+
|
|
17
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
18
|
+
|
|
19
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
20
|
+
const typeToClassName = {
|
|
15
21
|
only: 'ds-pill-button-only',
|
|
16
22
|
left: 'ds-pill-button-left',
|
|
17
23
|
right: 'ds-pill-button-right'
|
|
18
24
|
};
|
|
19
25
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
useValidateTypescriptPropTypes(propsWithDefaults,
|
|
26
|
+
const DSPillButton = props => {
|
|
27
|
+
const propsWithDefaults = useMemoMergePropsWithDefault(props, DSPillButtonDefaultProps);
|
|
28
|
+
useValidateTypescriptPropTypes(propsWithDefaults, DSPillButtonPropTypes);
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
const {
|
|
31
|
+
type,
|
|
32
|
+
children
|
|
33
|
+
} = propsWithDefaults,
|
|
34
|
+
rest = _objectWithoutProperties(propsWithDefaults, _excluded);
|
|
27
35
|
|
|
28
|
-
return /*#__PURE__*/
|
|
36
|
+
return /*#__PURE__*/jsx(StyledPillButton, _objectSpread(_objectSpread({}, rest), {}, {
|
|
29
37
|
buttonType: "raw",
|
|
30
|
-
className: "".concat(typeToClassName[type], " ").concat(rest.className)
|
|
31
|
-
|
|
38
|
+
className: "".concat(typeToClassName[type], " ").concat(rest.className),
|
|
39
|
+
children: children
|
|
40
|
+
}));
|
|
32
41
|
};
|
|
33
42
|
|
|
34
|
-
DSPillButton.
|
|
35
|
-
var DSPillButtonWithSchema = describe(DSPillButton).description('Pill button');
|
|
43
|
+
const DSPillButtonWithSchema = describe(DSPillButton).description('Pill button');
|
|
36
44
|
DSPillButtonWithSchema.propTypes = DSPillButtonPropTypes;
|
|
37
45
|
|
|
38
46
|
export { DSPillButton, DSPillButtonWithSchema };
|
|
39
|
-
//# sourceMappingURL=PillButton.js.map
|
|
@@ -1,36 +1,31 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
|
+
import 'core-js/modules/esnext.async-iterator.map.js';
|
|
4
|
+
import 'core-js/modules/esnext.iterator.map.js';
|
|
2
5
|
import React, { createContext, useMemo, useCallback } from 'react';
|
|
3
6
|
import { describe } from 'react-desc';
|
|
4
7
|
import { uid } from 'uid';
|
|
5
8
|
import { useMemoMergePropsWithDefault, useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';
|
|
6
9
|
import { DSPillGroupPropTypes, DSPillGroupDefaultProps } from '../props.js';
|
|
7
10
|
import { StyledPillGroup } from './styled.js';
|
|
8
|
-
import '
|
|
9
|
-
import 'styled-components';
|
|
10
|
-
import '@elliemae/ds-grid';
|
|
11
|
-
import '@elliemae/ds-button';
|
|
11
|
+
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
onKeyboardRemove:
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
13
|
+
const DSPillGroupV2Context = /*#__PURE__*/createContext({
|
|
14
|
+
onKeyboardRemove: () => null
|
|
17
15
|
});
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
useValidateTypescriptPropTypes(propsWithDefaults,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
var pillIndex = elems.findIndex(function (elem) {
|
|
32
|
-
return elem.id === pillUid;
|
|
33
|
-
});
|
|
17
|
+
const DSPillGroupV2 = props => {
|
|
18
|
+
const propsWithDefaults = useMemoMergePropsWithDefault(props, DSPillGroupDefaultProps);
|
|
19
|
+
useValidateTypescriptPropTypes(propsWithDefaults, DSPillGroupPropTypes);
|
|
20
|
+
const pillGroupUid = useMemo(() => "ds-pill-group-".concat(uid()), []);
|
|
21
|
+
const {
|
|
22
|
+
children,
|
|
23
|
+
width,
|
|
24
|
+
innerRef
|
|
25
|
+
} = propsWithDefaults;
|
|
26
|
+
const onKeyboardRemove = useCallback(pillUid => {
|
|
27
|
+
const elems = [...document.querySelectorAll("#".concat(pillGroupUid, " .ds-pill-focus-point"))];
|
|
28
|
+
const pillIndex = elems.findIndex(elem => elem.id === pillUid);
|
|
34
29
|
|
|
35
30
|
if (pillIndex > 0) {
|
|
36
31
|
elems[pillIndex - 1].focus();
|
|
@@ -38,24 +33,21 @@ var DSPillGroupV2 = function DSPillGroupV2(props) {
|
|
|
38
33
|
elems[pillIndex + 1].focus();
|
|
39
34
|
}
|
|
40
35
|
}, [pillGroupUid]);
|
|
41
|
-
return /*#__PURE__*/
|
|
36
|
+
return /*#__PURE__*/_jsx(DSPillGroupV2Context.Provider, {
|
|
42
37
|
value: {
|
|
43
|
-
onKeyboardRemove
|
|
38
|
+
onKeyboardRemove
|
|
44
39
|
}
|
|
45
|
-
}, /*#__PURE__*/
|
|
40
|
+
}, void 0, /*#__PURE__*/jsx(StyledPillGroup, {
|
|
46
41
|
width: width,
|
|
47
42
|
id: pillGroupUid,
|
|
48
|
-
cols: React.Children.map(children,
|
|
49
|
-
return 'auto';
|
|
50
|
-
}),
|
|
43
|
+
cols: React.Children.map(children, () => 'auto'),
|
|
51
44
|
gutter: "2px",
|
|
52
|
-
ref: innerRef
|
|
53
|
-
|
|
45
|
+
ref: innerRef,
|
|
46
|
+
children: children
|
|
47
|
+
}));
|
|
54
48
|
};
|
|
55
49
|
|
|
56
|
-
|
|
57
|
-
var DSPillGroupV2WithSchema = describe(DSPillGroupV2);
|
|
50
|
+
const DSPillGroupV2WithSchema = describe(DSPillGroupV2);
|
|
58
51
|
DSPillGroupV2WithSchema.propTypes = DSPillGroupPropTypes;
|
|
59
52
|
|
|
60
53
|
export { DSPillGroupV2, DSPillGroupV2Context, DSPillGroupV2WithSchema };
|
|
61
|
-
//# sourceMappingURL=PillGroup.js.map
|
package/esm/components/index.js
CHANGED
|
@@ -1,29 +1,3 @@
|
|
|
1
1
|
export { DSPillV2, DSPillV2WithSchema } from './Pill.js';
|
|
2
2
|
export { DSPillGroupV2, DSPillGroupV2Context, DSPillGroupV2WithSchema } from './PillGroup.js';
|
|
3
3
|
export { DSPillButton, DSPillButtonWithSchema } from './PillButton.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import 'react-desc';
|
|
6
|
-
import '@elliemae/ds-props-helpers';
|
|
7
|
-
import '../props.js';
|
|
8
|
-
import '@elliemae/ds-form';
|
|
9
|
-
import './types/DropdownPill.js';
|
|
10
|
-
import '@babel/runtime/helpers/esm/extends';
|
|
11
|
-
import '@elliemae/ds-dropdownmenu';
|
|
12
|
-
import 'uid';
|
|
13
|
-
import '@elliemae/ds-icons';
|
|
14
|
-
import '@elliemae/ds-truncated-tooltip-text';
|
|
15
|
-
import './styled.js';
|
|
16
|
-
import 'styled-components';
|
|
17
|
-
import '@elliemae/ds-grid';
|
|
18
|
-
import '@elliemae/ds-button';
|
|
19
|
-
import '../utils.js';
|
|
20
|
-
import '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
21
|
-
import './types/InputPill.js';
|
|
22
|
-
import '@babel/runtime/helpers/esm/slicedToArray';
|
|
23
|
-
import './types/LabelPill.js';
|
|
24
|
-
import './types/ReadOnlyPill.js';
|
|
25
|
-
import './types/RemovablePill.js';
|
|
26
|
-
import '@babel/runtime/helpers/esm/toConsumableArray';
|
|
27
|
-
import './types/ValuePill.js';
|
|
28
|
-
import '@elliemae/ds-tooltip';
|
|
29
|
-
//# sourceMappingURL=index.js.map
|