@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.js
CHANGED
|
@@ -2326,7 +2326,8 @@ function PoweredByFooter() {
|
|
|
2326
2326
|
fill: "currentColor"
|
|
2327
2327
|
}
|
|
2328
2328
|
) }),
|
|
2329
|
-
/* @__PURE__ */ jsx("span", { children: "Powered by Blink" })
|
|
2329
|
+
/* @__PURE__ */ jsx("span", { children: "Powered by Blink" }),
|
|
2330
|
+
/* @__PURE__ */ jsx("span", { style: pillStyle(tokens.textMuted, tokens.border), children: "Beta Version" })
|
|
2330
2331
|
] });
|
|
2331
2332
|
}
|
|
2332
2333
|
var containerStyle3 = (color) => ({
|
|
@@ -2338,6 +2339,14 @@ var containerStyle3 = (color) => ({
|
|
|
2338
2339
|
color,
|
|
2339
2340
|
padding: "12px 0 4px"
|
|
2340
2341
|
});
|
|
2342
|
+
var pillStyle = (color, border) => ({
|
|
2343
|
+
fontSize: "0.65rem",
|
|
2344
|
+
fontWeight: 600,
|
|
2345
|
+
padding: "2px 8px",
|
|
2346
|
+
borderRadius: 999,
|
|
2347
|
+
border: `1px solid ${border}`,
|
|
2348
|
+
color
|
|
2349
|
+
});
|
|
2341
2350
|
function PrimaryButton({ children, onClick, disabled, loading, icon }) {
|
|
2342
2351
|
const { tokens } = useSwypeConfig();
|
|
2343
2352
|
const isDisabled = disabled || loading;
|