@gnome-ui/react 1.30.0 → 1.32.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/InlineViewSwitcher/InlineViewSwitcher.d.ts +2 -1
- package/dist/components/TerminalView/TerminalView.d.ts +13 -0
- package/dist/components/TerminalView/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 +41 -10
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -146,3 +146,5 @@ export { ContributionGraph } from './components/ContributionGraph';
|
|
|
146
146
|
export type { ContributionGraphProps, ContributionDay } from './components/ContributionGraph';
|
|
147
147
|
export { ColumnView } from './components/ColumnView';
|
|
148
148
|
export type { ColumnViewProps, ColumnDef, ColumnViewSortState, ColumnViewSelectionMode, SortDirection, } from './components/ColumnView';
|
|
149
|
+
export { TerminalView } from './components/TerminalView';
|
|
150
|
+
export type { TerminalViewProps, TerminalVariant } from './components/TerminalView';
|
package/dist/index.js
CHANGED
|
@@ -3352,15 +3352,16 @@ function Di({ title: e, subtitle: i, leading: a, trailing: o, children: s, expan
|
|
|
3352
3352
|
});
|
|
3353
3353
|
}
|
|
3354
3354
|
var Oi = {
|
|
3355
|
-
switcher: "
|
|
3356
|
-
item: "
|
|
3357
|
-
iconOnly: "
|
|
3358
|
-
itemIcon: "
|
|
3359
|
-
itemLabel: "
|
|
3360
|
-
default: "
|
|
3361
|
-
active: "
|
|
3362
|
-
flat: "
|
|
3363
|
-
round: "
|
|
3355
|
+
switcher: "_switcher_15xk5_3",
|
|
3356
|
+
item: "_item_15xk5_10",
|
|
3357
|
+
iconOnly: "_iconOnly_15xk5_38",
|
|
3358
|
+
itemIcon: "_itemIcon_15xk5_43",
|
|
3359
|
+
itemLabel: "_itemLabel_15xk5_49",
|
|
3360
|
+
default: "_default_15xk5_55",
|
|
3361
|
+
active: "_active_15xk5_68",
|
|
3362
|
+
flat: "_flat_15xk5_121",
|
|
3363
|
+
round: "_round_15xk5_169",
|
|
3364
|
+
pill: "_pill_15xk5_235"
|
|
3364
3365
|
}, ki = a(null);
|
|
3365
3366
|
function Ai() {
|
|
3366
3367
|
let e = l(ki);
|
|
@@ -5107,7 +5108,37 @@ function Mo({ columns: e, rows: r, rowKey: i, selectionMode: a = "none", selecte
|
|
|
5107
5108
|
})
|
|
5108
5109
|
});
|
|
5109
5110
|
}
|
|
5111
|
+
var No = {
|
|
5112
|
+
terminal: "_terminal_1gr0s_3",
|
|
5113
|
+
pre: "_pre_1gr0s_18",
|
|
5114
|
+
line: "_line_1gr0s_25",
|
|
5115
|
+
success: "_success_1gr0s_41",
|
|
5116
|
+
warning: "_warning_1gr0s_45",
|
|
5117
|
+
destructive: "_destructive_1gr0s_49"
|
|
5118
|
+
};
|
|
5119
|
+
//#endregion
|
|
5120
|
+
//#region src/components/TerminalView/TerminalView.tsx
|
|
5121
|
+
function Po({ lines: e, variant: r = "default", maxLines: i = 500, autoScroll: a = !0, className: o, ...s }) {
|
|
5122
|
+
let c = m(null), l = e.slice(-i);
|
|
5123
|
+
return u(() => {
|
|
5124
|
+
a && c.current?.scrollIntoView({ block: "nearest" });
|
|
5125
|
+
}, [l.length, a]), /* @__PURE__ */ t("div", {
|
|
5126
|
+
className: [
|
|
5127
|
+
No.terminal,
|
|
5128
|
+
No[r],
|
|
5129
|
+
o
|
|
5130
|
+
].filter(Boolean).join(" "),
|
|
5131
|
+
...s,
|
|
5132
|
+
children: /* @__PURE__ */ n("pre", {
|
|
5133
|
+
className: No.pre,
|
|
5134
|
+
children: [l.map((e, n) => /* @__PURE__ */ t("div", {
|
|
5135
|
+
className: No.line,
|
|
5136
|
+
children: e
|
|
5137
|
+
}, n)), /* @__PURE__ */ t("div", { ref: c })]
|
|
5138
|
+
})
|
|
5139
|
+
});
|
|
5140
|
+
}
|
|
5110
5141
|
//#endregion
|
|
5111
|
-
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, 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 };
|
|
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 };
|
|
5112
5143
|
|
|
5113
5144
|
//# sourceMappingURL=index.js.map
|