@dt-dds/react-dropdown 1.0.0-beta.78 → 1.0.0-beta.79
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 +16 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @dt-ui/react-dropdown
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.79
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(config): update ESLint, TS, and Storybook config
|
|
8
|
+
- fix(icon-button): add missing @dt-dds/react-icon devDependency
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- Updated dependencies [223664b]
|
|
12
|
+
- @dt-dds/react-core@1.0.0-beta.52
|
|
13
|
+
- @dt-dds/react-icon@1.0.0-beta.55
|
|
14
|
+
- @dt-dds/react-icon-button@1.0.0-beta.21
|
|
15
|
+
- @dt-dds/react-typography@1.0.0-beta.43
|
|
16
|
+
- @dt-dds/themes@1.0.0-beta.10
|
|
17
|
+
- @dt-dds/react-box@1.0.0-beta.58
|
|
18
|
+
|
|
3
19
|
## 1.0.0-beta.78
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -65,9 +65,9 @@ __export(index_exports, {
|
|
|
65
65
|
module.exports = __toCommonJS(index_exports);
|
|
66
66
|
|
|
67
67
|
// src/Dropdown.tsx
|
|
68
|
-
var import_react_core2 = require("@dt-dds/react-core");
|
|
69
|
-
var import_focus_trap_react = require("focus-trap-react");
|
|
70
68
|
var import_react3 = require("react");
|
|
69
|
+
var import_focus_trap_react = require("focus-trap-react");
|
|
70
|
+
var import_react_core2 = require("@dt-dds/react-core");
|
|
71
71
|
|
|
72
72
|
// src/components/option/DropdownOption.tsx
|
|
73
73
|
var import_react = require("react");
|
|
@@ -170,8 +170,8 @@ var DropdownStyled = import_styled2.default.div`
|
|
|
170
170
|
`;
|
|
171
171
|
|
|
172
172
|
// src/hooks/useFloatingPosition.ts
|
|
173
|
-
var import_react_core = require("@dt-dds/react-core");
|
|
174
173
|
var import_react2 = require("react");
|
|
174
|
+
var import_react_core = require("@dt-dds/react-core");
|
|
175
175
|
function basePos({
|
|
176
176
|
placement,
|
|
177
177
|
anchor,
|
package/dist/index.mjs
CHANGED
|
@@ -31,9 +31,9 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
// src/Dropdown.tsx
|
|
34
|
-
import { Portal, useClickOutside } from "@dt-dds/react-core";
|
|
35
|
-
import { FocusTrap } from "focus-trap-react";
|
|
36
34
|
import { forwardRef as forwardRef2, useCallback, useRef } from "react";
|
|
35
|
+
import { FocusTrap } from "focus-trap-react";
|
|
36
|
+
import { Portal, useClickOutside } from "@dt-dds/react-core";
|
|
37
37
|
|
|
38
38
|
// src/components/option/DropdownOption.tsx
|
|
39
39
|
import {
|
|
@@ -138,8 +138,8 @@ var DropdownStyled = styled2.div`
|
|
|
138
138
|
`;
|
|
139
139
|
|
|
140
140
|
// src/hooks/useFloatingPosition.ts
|
|
141
|
-
import { DROPDOWN_MENU_Z_INDEX } from "@dt-dds/react-core";
|
|
142
141
|
import { useLayoutEffect, useState } from "react";
|
|
142
|
+
import { DROPDOWN_MENU_Z_INDEX } from "@dt-dds/react-core";
|
|
143
143
|
function basePos({
|
|
144
144
|
placement,
|
|
145
145
|
anchor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-dds/react-dropdown",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.79",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"test:update:snapshot": "jest -u"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dt-dds/react-box": "1.0.0-beta.
|
|
24
|
-
"@dt-dds/react-core": "1.0.0-beta.
|
|
25
|
-
"@dt-dds/react-icon": "1.0.0-beta.
|
|
26
|
-
"@dt-dds/react-icon-button": "1.0.0-beta.
|
|
27
|
-
"@dt-dds/react-typography": "1.0.0-beta.
|
|
28
|
-
"@dt-dds/themes": "1.0.0-beta.
|
|
23
|
+
"@dt-dds/react-box": "1.0.0-beta.58",
|
|
24
|
+
"@dt-dds/react-core": "1.0.0-beta.52",
|
|
25
|
+
"@dt-dds/react-icon": "1.0.0-beta.55",
|
|
26
|
+
"@dt-dds/react-icon-button": "1.0.0-beta.21",
|
|
27
|
+
"@dt-dds/react-typography": "1.0.0-beta.43",
|
|
28
|
+
"@dt-dds/themes": "1.0.0-beta.10",
|
|
29
29
|
"focus-trap-react": "^11.0.4"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|