@dt-dds/react-dropdown 1.0.0-beta.82 → 1.0.0-beta.84
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 +21 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @dt-ui/react-dropdown
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.84
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- refactor: add anchor props to dropdown option
|
|
8
|
+
- Updated dependencies [223664b]
|
|
9
|
+
- @dt-dds/react-box@1.0.0-beta.63
|
|
10
|
+
|
|
11
|
+
## 1.0.0-beta.83
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- fix: guard against SSR access to document.body
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- Updated dependencies [223664b]
|
|
18
|
+
- @dt-dds/react-core@1.0.0-beta.54
|
|
19
|
+
- @dt-dds/react-icon@1.0.0-beta.57
|
|
20
|
+
- @dt-dds/react-icon-button@1.0.0-beta.23
|
|
21
|
+
- @dt-dds/react-typography@1.0.0-beta.45
|
|
22
|
+
- @dt-dds/react-box@1.0.0-beta.62
|
|
23
|
+
|
|
3
24
|
## 1.0.0-beta.82
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CustomTheme } from '@dt-dds/themes';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { AnchorHTMLAttributes, ElementType, MouseEvent, HTMLAttributes, RefObject } from 'react';
|
|
4
4
|
import { BaseProps } from '@dt-dds/react-core';
|
|
5
5
|
|
|
6
|
-
interface DropdownOptionProps extends BaseProps, Omit<
|
|
6
|
+
interface DropdownOptionProps extends BaseProps, Omit<AnchorHTMLAttributes<HTMLElement>, 'onClick'> {
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
isSelected?: boolean;
|
|
9
9
|
isHighlighted?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CustomTheme } from '@dt-dds/themes';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { AnchorHTMLAttributes, ElementType, MouseEvent, HTMLAttributes, RefObject } from 'react';
|
|
4
4
|
import { BaseProps } from '@dt-dds/react-core';
|
|
5
5
|
|
|
6
|
-
interface DropdownOptionProps extends BaseProps, Omit<
|
|
6
|
+
interface DropdownOptionProps extends BaseProps, Omit<AnchorHTMLAttributes<HTMLElement>, 'onClick'> {
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
isSelected?: boolean;
|
|
9
9
|
isHighlighted?: boolean;
|
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.84",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -20,11 +20,11 @@
|
|
|
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.
|
|
23
|
+
"@dt-dds/react-box": "1.0.0-beta.63",
|
|
24
|
+
"@dt-dds/react-core": "1.0.0-beta.54",
|
|
25
|
+
"@dt-dds/react-icon": "1.0.0-beta.57",
|
|
26
|
+
"@dt-dds/react-icon-button": "1.0.0-beta.23",
|
|
27
|
+
"@dt-dds/react-typography": "1.0.0-beta.45",
|
|
28
28
|
"@dt-dds/themes": "1.0.0-beta.10",
|
|
29
29
|
"focus-trap-react": "^11.0.4"
|
|
30
30
|
},
|