@okshaun/components 4.1.4 → 4.1.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.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/panda.buildinfo.json +2 -2
- package/dist/{preset-BOoMi8ge.js → preset-jXQwQ5KL.js} +7 -5
- package/dist/preset-jXQwQ5KL.js.map +1 -0
- package/dist/preset.js +1 -1
- package/dist/sprite.symbol.html +1 -1
- package/dist/styles.css +4 -3
- package/package.json +1 -1
- package/src/recipes/avatar.ts +2 -2
- package/src/recipes/button.ts +1 -0
- package/src/recipes/skeleton.ts +2 -2
- package/src/recipes/tag.ts +1 -0
- package/dist/preset-BOoMi8ge.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -18,8 +18,8 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
18
18
|
import * as React from "react";
|
|
19
19
|
import React__default, { useLayoutEffect, forwardRef, useMemo, createElement, createContext, useContext, useRef, useEffect, useState, useCallback, Children, isValidElement, useId as useId$1, useSyncExternalStore, cloneElement, useReducer } from "react";
|
|
20
20
|
import * as ReactDOM from "react-dom";
|
|
21
|
-
import { c as containerSizes, b as breakpoints } from "./preset-
|
|
22
|
-
import { o } from "./preset-
|
|
21
|
+
import { c as containerSizes, b as breakpoints } from "./preset-jXQwQ5KL.js";
|
|
22
|
+
import { o } from "./preset-jXQwQ5KL.js";
|
|
23
23
|
function hasWindow() {
|
|
24
24
|
return typeof window !== "undefined";
|
|
25
25
|
}
|
|
@@ -15002,12 +15002,12 @@ const statusStyles = {
|
|
|
15002
15002
|
locked: css({ bg: "bg.neutral.bold", color: "icon.inverse" })
|
|
15003
15003
|
};
|
|
15004
15004
|
const sizeToStatusIconSize = {
|
|
15005
|
-
xs: "
|
|
15006
|
-
sm: "
|
|
15007
|
-
md: "
|
|
15008
|
-
lg: "
|
|
15009
|
-
xl: "
|
|
15010
|
-
"2xl": "
|
|
15005
|
+
xs: "4",
|
|
15006
|
+
sm: "6",
|
|
15007
|
+
md: "6",
|
|
15008
|
+
lg: "8",
|
|
15009
|
+
xl: "12",
|
|
15010
|
+
"2xl": "16"
|
|
15011
15011
|
};
|
|
15012
15012
|
function getInitials(name) {
|
|
15013
15013
|
const parts = name.trim().split(/\s+/);
|