@ltht-react/select 1.3.13

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/CHANGELOG.md ADDED
@@ -0,0 +1,176 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## 1.3.13 (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @ltht-react/select
9
+
10
+
11
+
12
+
13
+
14
+ ## 1.3.12 (2021-08-26)
15
+
16
+ **Note:** Version bump only for package @ltht-react/select
17
+
18
+
19
+
20
+
21
+
22
+ ## 1.3.11 (2021-08-23)
23
+
24
+ **Note:** Version bump only for package @ltht-react/select
25
+
26
+
27
+
28
+
29
+
30
+ ## [1.3.10](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.9...@ltht-react/select@1.3.10) (2021-08-02)
31
+
32
+ **Note:** Version bump only for package @ltht-react/select
33
+
34
+
35
+
36
+
37
+
38
+ ## [1.3.9](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.8...@ltht-react/select@1.3.9) (2021-07-14)
39
+
40
+ **Note:** Version bump only for package @ltht-react/select
41
+
42
+
43
+
44
+
45
+
46
+ ## [1.3.8](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.7...@ltht-react/select@1.3.8) (2021-07-12)
47
+
48
+ **Note:** Version bump only for package @ltht-react/select
49
+
50
+
51
+
52
+
53
+
54
+ ## [1.3.7](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.6...@ltht-react/select@1.3.7) (2021-07-07)
55
+
56
+ **Note:** Version bump only for package @ltht-react/select
57
+
58
+
59
+
60
+
61
+
62
+ ## [1.3.6](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.5...@ltht-react/select@1.3.6) (2021-07-06)
63
+
64
+ **Note:** Version bump only for package @ltht-react/select
65
+
66
+
67
+
68
+
69
+
70
+ ## [1.3.5](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.4...@ltht-react/select@1.3.5) (2021-06-29)
71
+
72
+ **Note:** Version bump only for package @ltht-react/select
73
+
74
+
75
+
76
+
77
+
78
+ ## [1.3.4](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.3...@ltht-react/select@1.3.4) (2021-06-21)
79
+
80
+ **Note:** Version bump only for package @ltht-react/select
81
+
82
+
83
+
84
+
85
+
86
+ ## [1.3.3](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.2...@ltht-react/select@1.3.3) (2021-06-03)
87
+
88
+ **Note:** Version bump only for package @ltht-react/select
89
+
90
+
91
+
92
+
93
+
94
+ ## [1.3.1](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@1.3.0...@ltht-react/select@1.3.1) (2021-04-23)
95
+
96
+ **Note:** Version bump only for package @ltht-react/select
97
+
98
+
99
+
100
+
101
+
102
+ ## [0.0.20](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.18...@ltht-react/select@0.0.20) (2020-11-19)
103
+
104
+ **Note:** Version bump only for package @ltht-react/select
105
+
106
+ ## [0.0.19](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.18...@ltht-react/select@0.0.19) (2020-10-29)
107
+
108
+ **Note:** Version bump only for package @ltht-react/select
109
+
110
+ ## [0.0.18](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.17...@ltht-react/select@0.0.18) (2020-09-10)
111
+
112
+ **Note:** Version bump only for package @ltht-react/select
113
+
114
+ ## [0.0.17](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.16...@ltht-react/select@0.0.17) (2020-09-01)
115
+
116
+ **Note:** Version bump only for package @ltht-react/select
117
+
118
+ ## [0.0.16](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.15...@ltht-react/select@0.0.16) (2020-08-21)
119
+
120
+ **Note:** Version bump only for package @ltht-react/select
121
+
122
+ ## [0.0.15](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.14...@ltht-react/select@0.0.15) (2020-08-19)
123
+
124
+ **Note:** Version bump only for package @ltht-react/select
125
+
126
+ ## [0.0.14](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.13...@ltht-react/select@0.0.14) (2020-08-19)
127
+
128
+ **Note:** Version bump only for package @ltht-react/select
129
+
130
+ ## [0.0.13](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.12...@ltht-react/select@0.0.13) (2020-08-18)
131
+
132
+ **Note:** Version bump only for package @ltht-react/select
133
+
134
+ ## [0.0.12](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.11...@ltht-react/select@0.0.12) (2020-08-11)
135
+
136
+ **Note:** Version bump only for package @ltht-react/select
137
+
138
+ ## [0.0.11](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.10...@ltht-react/select@0.0.11) (2020-08-10)
139
+
140
+ **Note:** Version bump only for package @ltht-react/select
141
+
142
+ ## [0.0.10](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.9...@ltht-react/select@0.0.10) (2020-08-05)
143
+
144
+ **Note:** Version bump only for package @ltht-react/select
145
+
146
+ ## [0.0.9](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.8...@ltht-react/select@0.0.9) (2020-08-05)
147
+
148
+ **Note:** Version bump only for package @ltht-react/select
149
+
150
+ ## [0.0.8](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.7...@ltht-react/select@0.0.8) (2020-08-05)
151
+
152
+ **Note:** Version bump only for package @ltht-react/select
153
+
154
+ ## [0.0.6](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.5...@ltht-react/select@0.0.6) (2020-08-04)
155
+
156
+ **Note:** Version bump only for package @ltht-react/select
157
+
158
+ ## [0.0.5](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.4...@ltht-react/select@0.0.5) (2020-04-14)
159
+
160
+ **Note:** Version bump only for package @ltht-react/select
161
+
162
+ ## [0.0.4](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.3...@ltht-react/select@0.0.4) (2020-04-09)
163
+
164
+ **Note:** Version bump only for package @ltht-react/select
165
+
166
+ ## [0.0.3](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.2...@ltht-react/select@0.0.3) (2020-04-08)
167
+
168
+ **Note:** Version bump only for package @ltht-react/select
169
+
170
+ ## [0.0.2](https://ssh.github.com/ltht-epr/ltht-react/compare/@ltht-react/select@0.0.1...@ltht-react/select@0.0.2) (2020-04-03)
171
+
172
+ **Note:** Version bump only for package @ltht-react/select
173
+
174
+ ## 0.0.1 (2020-03-16)
175
+
176
+ **Note:** Version bump only for package @ltht-react/select
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # Select
2
+
3
+ <!-- STORY -->
4
+
5
+ ### Import
6
+
7
+ ```js
8
+ import Select from '@ltht-react/select'
9
+ ```
10
+
11
+ ### Usage
12
+
13
+ ```jsx
14
+ <Select />
15
+ ```
@@ -0,0 +1,6 @@
1
+ import { FC, HTMLAttributes } from 'react';
2
+ declare const Option: FC<IProps>;
3
+ export interface IProps extends HTMLAttributes<HTMLSpanElement> {
4
+ active: boolean;
5
+ }
6
+ export default Option;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __rest = (this && this.__rest) || function (s, e) {
18
+ var t = {};
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
20
+ t[p] = s[p];
21
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
22
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
24
+ t[p[i]] = s[p[i]];
25
+ }
26
+ return t;
27
+ };
28
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ var jsx_runtime_1 = require("react/jsx-runtime");
33
+ var styled_1 = __importDefault(require("@emotion/styled"));
34
+ var styles_1 = require("@ltht-react/styles");
35
+ var StyledOption = styled_1.default.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n display: block;\n border: 1px solid black;\n border-top: 0;\n padding: 0.5rem 1rem;\n background: ", ";\n cursor: pointer;\n font-weight: ", ";\n transition: all 0.2s ease-in-out;\n\n &:hover {\n background-color: ", ";\n }\n"], ["\n width: 100%;\n display: block;\n border: 1px solid black;\n border-top: 0;\n padding: 0.5rem 1rem;\n background: ", ";\n cursor: pointer;\n font-weight: ", ";\n transition: all 0.2s ease-in-out;\n\n &:hover {\n background-color: ", ";\n }\n"])), function (_a) {
36
+ var active = _a.active;
37
+ return (active ? "" + styles_1.SELECT_COLOURS.OPTION_SELECTED : 'white');
38
+ }, function (_a) {
39
+ var active = _a.active;
40
+ return (active ? 'bold' : 'normal');
41
+ }, styles_1.SELECT_COLOURS.OPTION_HOVER);
42
+ var Option = function (_a) {
43
+ var children = _a.children, _b = _a.active, active = _b === void 0 ? false : _b, rest = __rest(_a, ["children", "active"]);
44
+ return (jsx_runtime_1.jsx(StyledOption, __assign({ active: active }, rest, { children: children }), void 0));
45
+ };
46
+ exports.default = Option;
47
+ var templateObject_1;
48
+ //# sourceMappingURL=option.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"option.js","sourceRoot":"","sources":["../../src/atoms/option.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAAoC;AACpC,6CAAmD;AAEnD,IAAM,YAAY,GAAG,gBAAM,CAAC,IAAI,sUAAe,4HAM/B,EAAwE,wCAEvE,EAA4C,+EAIrC,EAA2B,UAElD,KARe,UAAC,EAAU;QAAR,MAAM,YAAA;IAAO,OAAA,CAAC,MAAM,CAAC,CAAC,CAAC,KAAG,uBAAc,CAAC,eAAiB,CAAC,CAAC,CAAC,OAAO,CAAC;AAAxD,CAAwD,EAEvE,UAAC,EAAU;QAAR,MAAM,YAAA;IAAO,OAAA,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC;AAA5B,CAA4B,EAIrC,uBAAc,CAAC,YAAY,CAElD,CAAA;AAED,IAAM,MAAM,GAAe,UAAC,EAAqC;IAAnC,IAAA,QAAQ,cAAA,EAAE,cAAc,EAAd,MAAM,mBAAG,KAAK,KAAA,EAAK,IAAI,cAAnC,sBAAqC,CAAF;IAAO,OAAA,CACpE,kBAAC,YAAY,aAAC,MAAM,EAAE,MAAM,IAAM,IAAI,cACnC,QAAQ,YACI,CAChB,CAAA;CAAA,CAAA;AAUD,kBAAe,MAAM,CAAA"}
package/lib/index.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { FC, HTMLAttributes } from 'react';
2
+ import { IProps as OptionProps } from './atoms/option';
3
+ declare const Select: FC<IProps> & SelectComposition;
4
+ interface SelectComposition {
5
+ Option: FC<OptionProps>;
6
+ }
7
+ interface IProps extends HTMLAttributes<HTMLDivElement> {
8
+ activeOption?: string;
9
+ }
10
+ export default Select;
package/lib/index.js ADDED
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __rest = (this && this.__rest) || function (s, e) {
18
+ var t = {};
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
20
+ t[p] = s[p];
21
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
22
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
24
+ t[p[i]] = s[p[i]];
25
+ }
26
+ return t;
27
+ };
28
+ var __importDefault = (this && this.__importDefault) || function (mod) {
29
+ return (mod && mod.__esModule) ? mod : { "default": mod };
30
+ };
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ var jsx_runtime_1 = require("react/jsx-runtime");
33
+ var react_1 = require("react");
34
+ var styled_1 = __importDefault(require("@emotion/styled"));
35
+ var styles_1 = require("@ltht-react/styles");
36
+ var icon_1 = require("@ltht-react/icon");
37
+ var option_1 = __importDefault(require("./atoms/option"));
38
+ var StyledSelect = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n display: flex;\n flex-direction: column;\n position: relative;\n"], ["\n ", ";\n display: flex;\n flex-direction: column;\n position: relative;\n"])), styles_1.CSS_RESET);
39
+ var SelectTrigger = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n min-height: 32px;\n border: 1px solid black;\n padding: 0.5rem 1rem;\n background: white;\n cursor: pointer;\n\n ", " {\n min-height: 39px;\n }\n"], ["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n min-height: 32px;\n border: 1px solid black;\n padding: 0.5rem 1rem;\n background: white;\n cursor: pointer;\n\n ", " {\n min-height: 39px;\n }\n"])), styles_1.DESKTOP_MEDIA_QUERY);
40
+ var ActiveOption = styled_1.default.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-weight: bold;\n flex: 1;\n"], ["\n font-weight: bold;\n flex: 1;\n"])));
41
+ var SelectOptions = styled_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: 100%;\n display: ", ";\n position: absolute;\n top: 100%;\n left: 0;\n"], ["\n width: 100%;\n display: ", ";\n position: absolute;\n top: 100%;\n left: 0;\n"])), function (_a) {
42
+ var open = _a.open;
43
+ return (open ? 'block' : 'none');
44
+ });
45
+ var Select = function (_a) {
46
+ var children = _a.children, _b = _a.activeOption, activeOption = _b === void 0 ? '' : _b, rest = __rest(_a, ["children", "activeOption"]);
47
+ var _c = react_1.useState(false), open = _c[0], setOpen = _c[1];
48
+ var selectRef = react_1.useRef(null);
49
+ var handleOnEscapeKey = function (e) {
50
+ // IE11 has the key of 'Esc'
51
+ if (e.key === 'Escape' || e.key === 'Esc') {
52
+ setOpen(false);
53
+ }
54
+ };
55
+ var handleOutsideClick = function (e) {
56
+ if (selectRef.current && !selectRef.current.contains(e.target)) {
57
+ setOpen(false);
58
+ }
59
+ };
60
+ react_1.useEffect(function () {
61
+ document.addEventListener('keydown', handleOnEscapeKey, true);
62
+ document.addEventListener('click', handleOutsideClick, true);
63
+ // Cleanup
64
+ return function () {
65
+ document.removeEventListener('keydown', handleOnEscapeKey, true);
66
+ document.removeEventListener('click', handleOutsideClick, true);
67
+ };
68
+ });
69
+ return (jsx_runtime_1.jsxs(StyledSelect, __assign({}, rest, { ref: selectRef }, { children: [jsx_runtime_1.jsxs(SelectTrigger, __assign({ "data-testid": "select-trigger", onClick: function () { return setOpen(function (open) { return !open; }); } }, { children: [jsx_runtime_1.jsx(ActiveOption, __assign({ "data-testid": "select-active-option" }, { children: activeOption }), void 0),
70
+ jsx_runtime_1.jsx(icon_1.ChevronIcon, { direction: open ? 'up' : 'down', size: "small" }, void 0)] }), void 0),
71
+ jsx_runtime_1.jsx(SelectOptions, __assign({ "data-testid": "select-options", open: open, onClick: function () { return setOpen(false); } }, { children: children }), void 0)] }), void 0));
72
+ };
73
+ Select.Option = option_1.default;
74
+ exports.default = Select;
75
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
76
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAuE;AACvE,2DAAoC;AACpC,6CAAmE;AACnE,yCAA8C;AAE9C,0DAA8D;AAE9D,IAAM,YAAY,GAAG,gBAAM,CAAC,GAAG,oJAAA,MAC3B,EAAS,yEAIZ,KAJG,kBAAS,CAIZ,CAAA;AAED,IAAM,aAAa,GAAG,gBAAM,CAAC,GAAG,6TAAA,sNAW5B,EAAmB,kCAGtB,KAHG,4BAAmB,CAGtB,CAAA;AAED,IAAM,YAAY,GAAG,gBAAM,CAAC,IAAI,yGAAA,sCAG/B,IAAA,CAAA;AAED,IAAM,aAAa,GAAG,gBAAM,CAAC,GAAG,0JAAgB,+BAEnC,EAAuC,sDAInD,KAJY,UAAC,EAAQ;QAAN,IAAI,UAAA;IAAO,OAAA,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;AAAzB,CAAyB,CAInD,CAAA;AAED,IAAM,MAAM,GAAmC,UAAC,EAAwC;IAAtC,IAAA,QAAQ,cAAA,EAAE,oBAAiB,EAAjB,YAAY,mBAAG,EAAE,KAAA,EAAK,IAAI,cAAtC,4BAAwC,CAAF;IAC9E,IAAA,KAAkB,gBAAQ,CAAC,KAAK,CAAC,EAAhC,IAAI,QAAA,EAAE,OAAO,QAAmB,CAAA;IACvC,IAAM,SAAS,GAAG,cAAM,CAAiB,IAAI,CAAC,CAAA;IAE9C,IAAM,iBAAiB,GAAG,UAAC,CAAgB;QACzC,4BAA4B;QAC5B,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ,IAAI,CAAC,CAAC,GAAG,KAAK,KAAK,EAAE;YACzC,OAAO,CAAC,KAAK,CAAC,CAAA;SACf;IACH,CAAC,CAAA;IAED,IAAM,kBAAkB,GAAG,UAAC,CAAa;QACvC,IAAI,SAAS,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAc,CAAC,EAAE;YACtE,OAAO,CAAC,KAAK,CAAC,CAAA;SACf;IACH,CAAC,CAAA;IAED,iBAAS,CAAC;QACR,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,iBAAiB,EAAE,IAAI,CAAC,CAAA;QAC7D,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAA;QAE5D,UAAU;QACV,OAAO;YACL,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,iBAAiB,EAAE,IAAI,CAAC,CAAA;YAChE,QAAQ,CAAC,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAA;QACjE,CAAC,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,CACL,mBAAC,YAAY,eAAK,IAAI,IAAE,GAAG,EAAE,SAAS,iBACpC,mBAAC,aAAa,4BAAa,gBAAgB,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,UAAC,IAAI,IAAK,OAAA,CAAC,IAAI,EAAL,CAAK,CAAC,EAAxB,CAAwB,iBACjF,kBAAC,YAAY,4BAAa,sBAAsB,gBAAE,YAAY,YAAgB;oBAC9E,kBAAC,kBAAW,IAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,EAAC,OAAO,WAAG,aAC/C;YAChB,kBAAC,aAAa,4BAAa,gBAAgB,EAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,KAAK,CAAC,EAAd,CAAc,gBAClF,QAAQ,YACK,aACH,CAChB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,GAAG,gBAAM,CAAA;AActB,kBAAe,MAAM,CAAA"}
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@ltht-react/select",
3
+ "version": "1.3.13",
4
+ "description": "ltht-react atoms Select component.",
5
+ "author": "LTHT",
6
+ "homepage": "",
7
+ "license": "MIT",
8
+ "main": "lib/index.js",
9
+ "typings": "lib/index.d.ts",
10
+ "files": [
11
+ "lib"
12
+ ],
13
+ "directories": {
14
+ "lib": "lib"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "scripts": {
20
+ "clean": "rimraf lib",
21
+ "build": "yarn build:lib",
22
+ "watch": "tsc -w",
23
+ "build:lib": "tsc",
24
+ "type:check": "tsc --noEmit",
25
+ "lint": "prettylint 'src/*.{ts,tsx}'"
26
+ },
27
+ "dependencies": {
28
+ "@emotion/react": "^11.0.0",
29
+ "@emotion/styled": "^11.0.0",
30
+ "@ltht-react/icon": "^1.3.13",
31
+ "@ltht-react/styles": "^1.3.5",
32
+ "@ltht-react/types": "^1.0.9",
33
+ "@ltht-react/utils": "^1.1.11",
34
+ "react": "^17.0.0"
35
+ },
36
+ "gitHead": "2fb4ee694529d51759e27b2201553e35b9aa5f2f"
37
+ }