@nation-a/ui 0.10.3 → 0.10.5
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/dist/index.cjs +13 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/dist/styled-system/styles.css +6 -18
- package/dist/types/components/Button/index.d.ts +2 -2
- package/dist/types/components/IconButton/index.d.ts +2 -2
- package/dist/types/components/Input/index.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/TextArea/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5748,7 +5748,7 @@ const Button = ({ loading, disabled, loadingText, children, color, variant, size
|
|
|
5748
5748
|
}
|
|
5749
5749
|
);
|
|
5750
5750
|
};
|
|
5751
|
-
const index$
|
|
5751
|
+
const index$4 = React.memo(withPolymorphicComponent(Button));
|
|
5752
5752
|
const textRecipe = cva({
|
|
5753
5753
|
base: {
|
|
5754
5754
|
color: "currentcolor"
|
|
@@ -6190,7 +6190,7 @@ const IconButton = React.forwardRef(
|
|
|
6190
6190
|
}
|
|
6191
6191
|
);
|
|
6192
6192
|
IconButton.displayName = "IconButton";
|
|
6193
|
-
const index = withPolymorphicComponent(IconButton);
|
|
6193
|
+
const index$3 = React.memo(withPolymorphicComponent(IconButton));
|
|
6194
6194
|
var updateQueue = makeQueue();
|
|
6195
6195
|
var raf = (fn) => schedule(fn, updateQueue);
|
|
6196
6196
|
var writeQueue = makeQueue();
|
|
@@ -9758,8 +9758,8 @@ const BottomSheetFrame = React.forwardRef(
|
|
|
9758
9758
|
overflow: "hidden",
|
|
9759
9759
|
borderRadius: "40px 40px 0 0",
|
|
9760
9760
|
height: "100%",
|
|
9761
|
-
zIndex:
|
|
9762
|
-
backgroundColor: "
|
|
9761
|
+
zIndex: "modal",
|
|
9762
|
+
backgroundColor: "surface.layer_1",
|
|
9763
9763
|
shadow: "0 -15px 15px 0px rgba(0, 0, 0, 0.05)",
|
|
9764
9764
|
willChange: "auto"
|
|
9765
9765
|
}),
|
|
@@ -9792,7 +9792,7 @@ const Backdrop = React.forwardRef(
|
|
|
9792
9792
|
animated.div,
|
|
9793
9793
|
{
|
|
9794
9794
|
className: css$1({
|
|
9795
|
-
zIndex:
|
|
9795
|
+
zIndex: "overlay",
|
|
9796
9796
|
position: "fixed",
|
|
9797
9797
|
top: 0,
|
|
9798
9798
|
width: "100%",
|
|
@@ -10093,6 +10093,7 @@ const Tag = React.forwardRef(({ imageSrc, text, onDeleteClick, ...rest }, ref) =
|
|
|
10093
10093
|
] });
|
|
10094
10094
|
});
|
|
10095
10095
|
Tag.displayName = "Tag";
|
|
10096
|
+
const index$2 = React.memo(Tag);
|
|
10096
10097
|
const inputRecipe = sva({
|
|
10097
10098
|
className: "input",
|
|
10098
10099
|
slots: ["inputContainer", "requiredStar", "description", "label", "textLengthIndicator"],
|
|
@@ -10349,6 +10350,7 @@ const Input = React.forwardRef(
|
|
|
10349
10350
|
}
|
|
10350
10351
|
);
|
|
10351
10352
|
Input.displayName = "Input";
|
|
10353
|
+
const index$1 = React.memo(Input);
|
|
10352
10354
|
const Textarea = React.forwardRef(
|
|
10353
10355
|
({
|
|
10354
10356
|
value,
|
|
@@ -10427,6 +10429,7 @@ const Textarea = React.forwardRef(
|
|
|
10427
10429
|
}
|
|
10428
10430
|
);
|
|
10429
10431
|
Textarea.displayName = "Textarea";
|
|
10432
|
+
const index = React.memo(Textarea);
|
|
10430
10433
|
function definePreset(preset2) {
|
|
10431
10434
|
return preset2;
|
|
10432
10435
|
}
|
|
@@ -10993,22 +10996,22 @@ const ToastProvider = ({ children }) => {
|
|
|
10993
10996
|
};
|
|
10994
10997
|
exports.BottomSheet = BottomSheet;
|
|
10995
10998
|
exports.Box = Box2;
|
|
10996
|
-
exports.Button = index$
|
|
10999
|
+
exports.Button = index$4;
|
|
10997
11000
|
exports.Center = Center2;
|
|
10998
11001
|
exports.Dialog = Dialog;
|
|
10999
11002
|
exports.Flex = Flex2;
|
|
11000
11003
|
exports.Grid = Grid2;
|
|
11001
11004
|
exports.GridItem = GridItem2;
|
|
11002
11005
|
exports.HStack = HStack2;
|
|
11003
|
-
exports.IconButton = index;
|
|
11004
|
-
exports.Input =
|
|
11006
|
+
exports.IconButton = index$3;
|
|
11007
|
+
exports.Input = index$1;
|
|
11005
11008
|
exports.Navigation = Navigation;
|
|
11006
11009
|
exports.Portal = Portal;
|
|
11007
11010
|
exports.Spinner = Spinner;
|
|
11008
11011
|
exports.Stack = Stack2;
|
|
11009
|
-
exports.Tag =
|
|
11012
|
+
exports.Tag = index$2;
|
|
11010
11013
|
exports.Text = Text;
|
|
11011
|
-
exports.TextArea =
|
|
11014
|
+
exports.TextArea = index;
|
|
11012
11015
|
exports.ToastProvider = ToastProvider;
|
|
11013
11016
|
exports.VStack = VStack2;
|
|
11014
11017
|
exports.preset = preset;
|