@tcn/ui-layout
Advanced tools
Comparing version 0.3.28 to 0.3.29
@@ -1,2 +0,2 @@ | ||
import { Text } from '@tcn/ui-core'; | ||
import { BodyText } from '@tcn/ui-core'; | ||
import React, { useLayoutEffect, useRef, useState } from 'react'; | ||
@@ -64,4 +64,4 @@ import { Popover } from "./popover.js"; | ||
React.createElement(Popover, { anchorElement: anchorElement, open: isOpen, onClose: close, ...props }, | ||
React.createElement(StyleBox, { className: "sheet", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px' }, | ||
React.createElement(Text, { selectable: true }, "Hello World"))))); | ||
React.createElement(StyleBox, { className: "surface-primary", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px' }, | ||
React.createElement(BodyText, { selectable: true }, "Hello World"))))); | ||
} | ||
@@ -88,3 +88,3 @@ export function Focus(props) { | ||
React.createElement(Popover, { restoreFocus: true, anchorElement: anchorElement, open: isOpen, onClose: close, ...props }, | ||
React.createElement(StyleBox, { tabIndex: 0, className: "sheet", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px' }, | ||
React.createElement(StyleBox, { tabIndex: 0, className: "surface-primary", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px' }, | ||
React.createElement("button", { ref: containerRef }, "Hello World"))))); | ||
@@ -106,4 +106,4 @@ } | ||
React.createElement(Popover, { anchorElement: anchorElement, open: isOpen, onClose: close, ...props }, | ||
React.createElement(StyleBox, { className: "sheet", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px' }, | ||
React.createElement(Text, { selectable: true }, "Hello World"))))); | ||
React.createElement(StyleBox, { className: "surface-primary", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px' }, | ||
React.createElement(BodyText, { selectable: true }, "Hello World"))))); | ||
} | ||
@@ -124,5 +124,5 @@ export function ScrollWithinPopover(props) { | ||
React.createElement(Popover, { anchorElement: anchorElement, open: isOpen, onClose: close, ...props }, | ||
React.createElement(StyleBox, { className: "sheet", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px', overflow: "auto", height: "300px", width: "300px" }, | ||
React.createElement(StyleBox, { className: "surface-primary", boxShadow: "0 0 10px 1px rgba(0,0,0,0.45)", padding: "8px", borderRadius: '8px', overflow: "auto", height: "300px", width: "300px" }, | ||
React.createElement(ZStack, { height: "1000px" }, "Hello"))))); | ||
} | ||
//# sourceMappingURL=popover.stories.js.map |
@@ -1,2 +0,2 @@ | ||
import { Text } from '@tcn/ui-core'; | ||
import { BodyText } from '@tcn/ui-core'; | ||
import React from 'react'; | ||
@@ -10,4 +10,4 @@ import { adjustColor } from "./adjust_color.js"; | ||
React.createElement(ZStack, null, | ||
React.createElement(Text, { variant: "small" }, children)))); | ||
React.createElement(BodyText, { variant: "small" }, children)))); | ||
}); | ||
//# sourceMappingURL=square.js.map |
{ | ||
"name": "@tcn/ui-layout", | ||
"version": "0.3.28", | ||
"version": "0.3.29", | ||
"type": "module", | ||
@@ -64,5 +64,5 @@ "description": "TCN Layout.", | ||
"@tcn/state": "^0.0.3", | ||
"@tcn/ui-core": "^0.4.9", | ||
"@tcn/ui-core": "^0.4.12", | ||
"classnames": "^2.5.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
228514
Updated@tcn/ui-core@^0.4.12