@aortl/admin-react 0.13.0 → 0.13.1
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/Button.d.ts +1 -1
- package/dist/Button.d.ts.map +1 -1
- package/dist/admin.scoped.css +35 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/Button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button as BaseButton } from '@base-ui/react/button';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
3
|
import { IconProp } from './icon';
|
|
4
|
-
export type ButtonVariant = "default" | "primary" | "ghost" | "danger";
|
|
4
|
+
export type ButtonVariant = "default" | "primary" | "ghost" | "muted" | "danger";
|
|
5
5
|
export type ButtonSize = "sm" | "md" | "lg";
|
|
6
6
|
export interface ButtonProps extends ComponentProps<typeof BaseButton> {
|
|
7
7
|
variant?: ButtonVariant;
|
package/dist/Button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAInD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAInD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AACjF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,OAAO,UAAU,CAAC;IACpE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;uEACmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wEAAwE;IACxE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,uFAAuF;IACvF,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAC;CACrC;AAED,wBAAgB,MAAM,CAAC,EACrB,OAAmB,EACnB,IAAW,EACX,SAAS,EACT,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,SAAS,EACT,IAAe,EACf,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,GAAG,EACH,GAAG,IAAI,EACR,EAAE,WAAW,2CA+Cb"}
|
package/dist/admin.scoped.css
CHANGED
|
@@ -704,6 +704,9 @@
|
|
|
704
704
|
:scope._ao-accordion-summary::-webkit-details-marker, :scope ._ao-accordion-summary::-webkit-details-marker {
|
|
705
705
|
display: none;
|
|
706
706
|
}
|
|
707
|
+
:scope._ao-accordion-summary > :is(i, svg), :scope ._ao-accordion-summary > :is(i, svg) {
|
|
708
|
+
flex-shrink: 0;
|
|
709
|
+
}
|
|
707
710
|
:scope._ao-accordion-summary::after, :scope ._ao-accordion-summary::after {
|
|
708
711
|
content: "";
|
|
709
712
|
width: 0.5rem;
|
|
@@ -896,6 +899,9 @@
|
|
|
896
899
|
white-space: nowrap;
|
|
897
900
|
color: var(--color-text);
|
|
898
901
|
}
|
|
902
|
+
:scope._ao-badge > :is(i, svg), :scope ._ao-badge > :is(i, svg) {
|
|
903
|
+
flex-shrink: 0;
|
|
904
|
+
}
|
|
899
905
|
:scope._ao-badge-info, :scope ._ao-badge-info {
|
|
900
906
|
border-color: var(--color-info-muted);
|
|
901
907
|
background-color: var(--color-info-muted);
|
|
@@ -1235,6 +1241,9 @@
|
|
|
1235
1241
|
width: 0.875rem;
|
|
1236
1242
|
height: 0.875rem;
|
|
1237
1243
|
}
|
|
1244
|
+
:scope._ao-breadcrumb-item > :is(i, svg), :scope ._ao-breadcrumb-item > :is(i, svg), :scope._ao-breadcrumb-separator > :is(i, svg), :scope ._ao-breadcrumb-separator > :is(i, svg) {
|
|
1245
|
+
flex-shrink: 0;
|
|
1246
|
+
}
|
|
1238
1247
|
:scope._ao-pagination > ol, :scope ._ao-pagination > ol, :scope._ao-pagination > ul, :scope ._ao-pagination > ul {
|
|
1239
1248
|
margin: calc(var(--spacing) * 0);
|
|
1240
1249
|
display: inline-flex;
|
|
@@ -1473,6 +1482,9 @@
|
|
|
1473
1482
|
opacity: 50%;
|
|
1474
1483
|
}
|
|
1475
1484
|
}
|
|
1485
|
+
:scope._ao-btn > :is(i, svg), :scope ._ao-btn > :is(i, svg) {
|
|
1486
|
+
flex-shrink: 0;
|
|
1487
|
+
}
|
|
1476
1488
|
:scope._ao-btn-primary, :scope ._ao-btn-primary {
|
|
1477
1489
|
border-color: transparent;
|
|
1478
1490
|
background-color: var(--color-primary);
|
|
@@ -1493,6 +1505,14 @@
|
|
|
1493
1505
|
}
|
|
1494
1506
|
}
|
|
1495
1507
|
}
|
|
1508
|
+
:scope._ao-btn-muted, :scope ._ao-btn-muted {
|
|
1509
|
+
background-color: var(--color-surface);
|
|
1510
|
+
&:hover {
|
|
1511
|
+
@media (hover: hover) {
|
|
1512
|
+
background-color: var(--color-surface-muted);
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1496
1516
|
:scope._ao-btn-danger, :scope ._ao-btn-danger {
|
|
1497
1517
|
border-color: transparent;
|
|
1498
1518
|
background-color: var(--color-danger);
|
|
@@ -1656,6 +1676,9 @@
|
|
|
1656
1676
|
outline-color: var(--color-primary);
|
|
1657
1677
|
}
|
|
1658
1678
|
}
|
|
1679
|
+
:scope._ao-link > :is(i, svg), :scope ._ao-link > :is(i, svg) {
|
|
1680
|
+
flex-shrink: 0;
|
|
1681
|
+
}
|
|
1659
1682
|
:scope._ao-link-external, :scope ._ao-link-external {
|
|
1660
1683
|
--link-external-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 7 7 17'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
|
|
1661
1684
|
}
|
|
@@ -2517,6 +2540,9 @@
|
|
|
2517
2540
|
font-weight: var(--font-weight-medium);
|
|
2518
2541
|
color: var(--color-text-muted);
|
|
2519
2542
|
}
|
|
2543
|
+
:scope._ao-stat-card-label > :is(i, svg), :scope ._ao-stat-card-label > :is(i, svg) {
|
|
2544
|
+
flex-shrink: 0;
|
|
2545
|
+
}
|
|
2520
2546
|
:scope._ao-stat-card-value, :scope ._ao-stat-card-value {
|
|
2521
2547
|
font-size: var(--text-2xl);
|
|
2522
2548
|
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
@@ -3075,6 +3101,9 @@
|
|
|
3075
3101
|
cursor: not-allowed;
|
|
3076
3102
|
opacity: 50%;
|
|
3077
3103
|
}
|
|
3104
|
+
:scope._ao-menu-trigger > :is(i, svg), :scope ._ao-menu-trigger > :is(i, svg), :scope._ao-menu-item > :is(i, svg), :scope ._ao-menu-item > :is(i, svg) {
|
|
3105
|
+
flex-shrink: 0;
|
|
3106
|
+
}
|
|
3078
3107
|
:scope._ao-menu-separator, :scope ._ao-menu-separator {
|
|
3079
3108
|
margin-block: calc(var(--spacing) * 1);
|
|
3080
3109
|
height: 1px;
|
|
@@ -3166,6 +3195,9 @@
|
|
|
3166
3195
|
background-color: var(--color-primary-muted);
|
|
3167
3196
|
color: var(--color-primary);
|
|
3168
3197
|
}
|
|
3198
|
+
:scope._ao-navbar-brand > :is(i, svg), :scope ._ao-navbar-brand > :is(i, svg), :scope._ao-navbar-item > :is(i, svg), :scope ._ao-navbar-item > :is(i, svg) {
|
|
3199
|
+
flex-shrink: 0;
|
|
3200
|
+
}
|
|
3169
3201
|
:scope._ao-navbar-actions, :scope ._ao-navbar-actions {
|
|
3170
3202
|
margin-left: auto;
|
|
3171
3203
|
display: flex;
|
|
@@ -3648,6 +3680,9 @@
|
|
|
3648
3680
|
:scope._ao-tabs ._ao-tab[data-selected], :scope ._ao-tabs ._ao-tab[data-selected], :scope._ao-tabs ._ao-tab[aria-selected="true"], :scope ._ao-tabs ._ao-tab[aria-selected="true"] {
|
|
3649
3681
|
color: var(--color-text);
|
|
3650
3682
|
}
|
|
3683
|
+
:scope._ao-tabs ._ao-tab > :is(i, svg), :scope ._ao-tabs ._ao-tab > :is(i, svg) {
|
|
3684
|
+
flex-shrink: 0;
|
|
3685
|
+
}
|
|
3651
3686
|
:scope._ao-tabs ._ao-tab-input, :scope ._ao-tabs ._ao-tab-input {
|
|
3652
3687
|
position: absolute;
|
|
3653
3688
|
width: 1px;
|