@dtcode/ui 0.4.0 → 0.4.2

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.
@@ -22,7 +22,7 @@ function ProviderButton({ provider, disabled }) {
22
22
  const [pending, setPending] = useState(false);
23
23
  const busy = provider.loading || pending;
24
24
  const icon = typeof provider.icon === "string" ? _jsx(Icon, { name: provider.icon, size: 20 }) : provider.icon;
25
- const content = (_jsxs(_Fragment, { children: [busy ? _jsx(Loader, { size: "sm", label: `Abrindo ${provider.label}` }) : icon, provider.label] }));
25
+ const content = (_jsxs(_Fragment, { children: [busy ? _jsx(Loader, { size: "sm", label: `${provider.label}, carregando` }) : icon, provider.label] }));
26
26
  const cls = buttonClasses({ variant: "secondary", size: "lg", block: true, loading: busy });
27
27
  if (provider.href) {
28
28
  return (_jsx("a", { href: provider.href, onClick: () => setPending(true), "aria-disabled": busy || disabled || undefined, className: cls, children: content }));
package/dist/styles.css CHANGED
@@ -353,6 +353,12 @@
353
353
  white-space: nowrap;
354
354
  direction: ltr;
355
355
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
356
+ /* O nome do ícone é uma ligadura: herdar caixa alta ou espaçamento (ex.: dentro do Badge) a desfaz
357
+ e o nome aparece como texto. */
358
+ text-transform: none;
359
+ letter-spacing: normal;
360
+ word-wrap: normal;
361
+ font-feature-settings: "liga";
356
362
  -webkit-font-smoothing: antialiased;
357
363
  user-select: none;
358
364
  flex: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtcode/ui",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Componentes React e tokens do Design System dtcode (Tailwind CSS v4).",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {