@swype-org/react-sdk 0.1.166 → 0.1.167
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 +10 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2329,7 +2329,8 @@ function PoweredByFooter() {
|
|
|
2329
2329
|
fill: "currentColor"
|
|
2330
2330
|
}
|
|
2331
2331
|
) }),
|
|
2332
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Powered by Blink" })
|
|
2332
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Powered by Blink" }),
|
|
2333
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: pillStyle(tokens.textMuted, tokens.border), children: "Beta Version" })
|
|
2333
2334
|
] });
|
|
2334
2335
|
}
|
|
2335
2336
|
var containerStyle3 = (color) => ({
|
|
@@ -2341,6 +2342,14 @@ var containerStyle3 = (color) => ({
|
|
|
2341
2342
|
color,
|
|
2342
2343
|
padding: "12px 0 4px"
|
|
2343
2344
|
});
|
|
2345
|
+
var pillStyle = (color, border) => ({
|
|
2346
|
+
fontSize: "0.65rem",
|
|
2347
|
+
fontWeight: 600,
|
|
2348
|
+
padding: "2px 8px",
|
|
2349
|
+
borderRadius: 999,
|
|
2350
|
+
border: `1px solid ${border}`,
|
|
2351
|
+
color
|
|
2352
|
+
});
|
|
2344
2353
|
function PrimaryButton({ children, onClick, disabled, loading, icon }) {
|
|
2345
2354
|
const { tokens } = useSwypeConfig();
|
|
2346
2355
|
const isDisabled = disabled || loading;
|