@gnome-ui/react 1.33.0 → 1.35.0
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/components/StatusBadge/StatusBadge.d.ts +28 -0
- package/dist/components/StatusBadge/index.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -148,3 +148,5 @@ export { ColumnView } from './components/ColumnView';
|
|
|
148
148
|
export type { ColumnViewProps, ColumnDef, ColumnViewSortState, ColumnViewSelectionMode, SortDirection, } from './components/ColumnView';
|
|
149
149
|
export { TerminalView } from './components/TerminalView';
|
|
150
150
|
export type { TerminalViewProps, TerminalVariant } from './components/TerminalView';
|
|
151
|
+
export { StatusBadge } from './components/StatusBadge';
|
|
152
|
+
export type { StatusBadgeProps, StatusBadgeVariant } from './components/StatusBadge';
|
package/dist/index.js
CHANGED
|
@@ -5138,7 +5138,29 @@ function Po({ lines: e, variant: r = "default", maxLines: i = 500, autoScroll: a
|
|
|
5138
5138
|
})
|
|
5139
5139
|
});
|
|
5140
5140
|
}
|
|
5141
|
+
var Fo = {
|
|
5142
|
+
badge: "_badge_yj13e_3",
|
|
5143
|
+
success: "_success_yj13e_18",
|
|
5144
|
+
warning: "_warning_yj13e_23",
|
|
5145
|
+
error: "_error_yj13e_28",
|
|
5146
|
+
new: "_new_yj13e_33",
|
|
5147
|
+
accent: "_accent_yj13e_38",
|
|
5148
|
+
neutral: "_neutral_yj13e_43"
|
|
5149
|
+
};
|
|
5150
|
+
//#endregion
|
|
5151
|
+
//#region src/components/StatusBadge/StatusBadge.tsx
|
|
5152
|
+
function Io({ variant: e = "neutral", className: n, children: r, ...i }) {
|
|
5153
|
+
return /* @__PURE__ */ t("span", {
|
|
5154
|
+
className: [
|
|
5155
|
+
Fo.badge,
|
|
5156
|
+
Fo[e],
|
|
5157
|
+
n
|
|
5158
|
+
].filter(Boolean).join(" "),
|
|
5159
|
+
...i,
|
|
5160
|
+
children: r
|
|
5161
|
+
});
|
|
5162
|
+
}
|
|
5141
5163
|
//#endregion
|
|
5142
|
-
export { Xn as AboutDialog, Jt as ActionRow, ae as Avatar, Pe as Badge, Oe as Banner, La as Bin, v as Blockquote, Na as BottomSheet, zr as Box, Xt as BoxedList, hi as BreakpointBin, b as Button, za as ButtonContent, _i as ButtonRow, P as Card, Ia as Carousel, Pa as CarouselIndicatorDots, Fa as CarouselIndicatorLines, Fi as CheckRow, de as Checkbox, Ur as Chip, Dr as Clamp, Mo as ColumnView, ia as ComboRow, ko as ContributionGraph, Ie as CountDownTimer, Sn as Dialog, hr as Dropdown, oa as EntryRow, Di as ExpanderRow, Me as Footer, Ei as Frame, Je as GNOME_BREAKPOINTS, Ae as HeaderBar, I as Icon, ji as InlineViewSwitcher, Mi as InlineViewSwitcherItem, Nr as Link, wi as LinkedGroup, Ca as NavigationPage, Or as NavigationSplitView, wa as NavigationView, kr as OverlaySplitView, ca as PasswordEntryRow, yo as PathBar, Tr as Popover, go as PreferencesDialog, Ja as PreferencesGroup, Xa as PreferencesPage, _e as ProgressBar, he as RadioButton, Ge as SearchBar, se as Separator, Ha as ShortcutLabel, ui as ShortcutsDialog, Mt as Sidebar, Dt as SidebarCollapsedContext, zt as SidebarItem, Pt as SidebarSection, br as Slider, Si as Spacer, Ut as SpinButton, fa as SpinRow, ee as Spinner, yi as SplitButton, qe as StatusPage, le as Switch, Pi as SwitchRow, Wt as TabBar, Gt as TabItem, Kt as TabPanel, Po as TerminalView, A as Text, pe as TextField, _o as Timeline, un as Toast, dn as Toaster, Lr as ToggleGroup, Rr as ToggleGroupItem, xi as Toolbar, Wa as ToolbarView, Rt as Tooltip, Qt as ViewSwitcher, jr as ViewSwitcherBar, $t as ViewSwitcherItem, pi as ViewSwitcherSidebar, mi as ViewSwitcherSidebarItem, Ka as WindowTitle, Vr as WrapBox, Ye as useBreakpoint, Sa as useNavigation, Ot as useSidebarCollapsed };
|
|
5164
|
+
export { Xn as AboutDialog, Jt as ActionRow, ae as Avatar, Pe as Badge, Oe as Banner, La as Bin, v as Blockquote, Na as BottomSheet, zr as Box, Xt as BoxedList, hi as BreakpointBin, b as Button, za as ButtonContent, _i as ButtonRow, P as Card, Ia as Carousel, Pa as CarouselIndicatorDots, Fa as CarouselIndicatorLines, Fi as CheckRow, de as Checkbox, Ur as Chip, Dr as Clamp, Mo as ColumnView, ia as ComboRow, ko as ContributionGraph, Ie as CountDownTimer, Sn as Dialog, hr as Dropdown, oa as EntryRow, Di as ExpanderRow, Me as Footer, Ei as Frame, Je as GNOME_BREAKPOINTS, Ae as HeaderBar, I as Icon, ji as InlineViewSwitcher, Mi as InlineViewSwitcherItem, Nr as Link, wi as LinkedGroup, Ca as NavigationPage, Or as NavigationSplitView, wa as NavigationView, kr as OverlaySplitView, ca as PasswordEntryRow, yo as PathBar, Tr as Popover, go as PreferencesDialog, Ja as PreferencesGroup, Xa as PreferencesPage, _e as ProgressBar, he as RadioButton, Ge as SearchBar, se as Separator, Ha as ShortcutLabel, ui as ShortcutsDialog, Mt as Sidebar, Dt as SidebarCollapsedContext, zt as SidebarItem, Pt as SidebarSection, br as Slider, Si as Spacer, Ut as SpinButton, fa as SpinRow, ee as Spinner, yi as SplitButton, Io as StatusBadge, qe as StatusPage, le as Switch, Pi as SwitchRow, Wt as TabBar, Gt as TabItem, Kt as TabPanel, Po as TerminalView, A as Text, pe as TextField, _o as Timeline, un as Toast, dn as Toaster, Lr as ToggleGroup, Rr as ToggleGroupItem, xi as Toolbar, Wa as ToolbarView, Rt as Tooltip, Qt as ViewSwitcher, jr as ViewSwitcherBar, $t as ViewSwitcherItem, pi as ViewSwitcherSidebar, mi as ViewSwitcherSidebarItem, Ka as WindowTitle, Vr as WrapBox, Ye as useBreakpoint, Sa as useNavigation, Ot as useSidebarCollapsed };
|
|
5143
5165
|
|
|
5144
5166
|
//# sourceMappingURL=index.js.map
|