@iota/apps-ui-kit 0.5.1 → 0.6.0
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 +13 -0
- package/dist/index.d.ts +9 -2
- package/dist/index.es.js +3200 -3131
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +36 -36
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/lib/components/atoms/button-segment/ButtonSegment.tsx +15 -3
- package/src/lib/components/atoms/tooltip/Tooltip.tsx +114 -13
- package/src/lib/components/molecules/segmented-button/SegmentedButton.tsx +5 -1
- package/src/lib/components/organisms/table/Table.tsx +2 -2
- package/src/lib/tailwind/responsive.presets.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @iota/apps-ui-kit
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 53d5058: Added iota names rpc methods to IotaClient and also GraphQL queries.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 6e45a2a: Fix tooltip being cut by other boxes
|
|
12
|
+
- b80df15: show horizontal scroll in underlined segmented buttons
|
|
13
|
+
- Updated dependencies [7f0803f]
|
|
14
|
+
- @iota/apps-ui-icons@0.3.1
|
|
15
|
+
|
|
3
16
|
## 0.5.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -295,7 +295,7 @@ export declare interface ButtonProps {
|
|
|
295
295
|
testId?: string;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
export declare function ButtonSegment({ icon, label, selected, disabled, onClick, type, }: ButtonSegmentProps): React.JSX.Element;
|
|
298
|
+
export declare function ButtonSegment({ icon, label, selected, disabled, onClick, type, isNested, }: ButtonSegmentProps): React.JSX.Element;
|
|
299
299
|
|
|
300
300
|
declare interface ButtonSegmentProps {
|
|
301
301
|
/**
|
|
@@ -322,6 +322,10 @@ declare interface ButtonSegmentProps {
|
|
|
322
322
|
* The type of the button.
|
|
323
323
|
*/
|
|
324
324
|
type?: ButtonSegmentType;
|
|
325
|
+
/**
|
|
326
|
+
* If the button is nested inside a parent button.
|
|
327
|
+
*/
|
|
328
|
+
isNested?: boolean;
|
|
325
329
|
}
|
|
326
330
|
|
|
327
331
|
export declare enum ButtonSegmentType {
|
|
@@ -1648,7 +1652,7 @@ export declare enum ToggleSize {
|
|
|
1648
1652
|
Default = "default"
|
|
1649
1653
|
}
|
|
1650
1654
|
|
|
1651
|
-
export declare function Tooltip({ text, position, maxWidth, children, }: PropsWithChildren<TooltipProps>):
|
|
1655
|
+
export declare function Tooltip({ text, position, maxWidth, offset, openDelay, closeDelay, children, }: PropsWithChildren<TooltipProps>): JSX_2.Element;
|
|
1652
1656
|
|
|
1653
1657
|
export declare enum TooltipPosition {
|
|
1654
1658
|
Top = "top",
|
|
@@ -1661,6 +1665,9 @@ declare interface TooltipProps {
|
|
|
1661
1665
|
text: string;
|
|
1662
1666
|
position?: TooltipPosition;
|
|
1663
1667
|
maxWidth?: string;
|
|
1668
|
+
offset?: number;
|
|
1669
|
+
openDelay?: number;
|
|
1670
|
+
closeDelay?: number;
|
|
1664
1671
|
}
|
|
1665
1672
|
|
|
1666
1673
|
export declare function truncate(value: string, startLength?: number, endLength?: number): string;
|