@tcn/ui 0.3.2 → 0.4.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/Color-6BZIO3FS-CWWwv-fq.js +1004 -0
- package/dist/Color-6BZIO3FS-CWWwv-fq.js.map +1 -0
- package/dist/{WithTooltip-IO6J4KBT-B1oq93K5.js → WithTooltip-65CFNBJE-DvcUZizH.js} +4 -4
- package/dist/WithTooltip-65CFNBJE-DvcUZizH.js.map +1 -0
- package/dist/actions/__docs__/components/showcase.d.ts.map +1 -1
- package/dist/actions/__docs__/components/showcase.js +1 -1
- package/dist/actions/button/base_button/base_button.d.ts +2 -4
- package/dist/actions/button/base_button/base_button.d.ts.map +1 -1
- package/dist/actions/button/base_button/base_button.js +35 -35
- package/dist/actions/button/base_button/base_button.js.map +1 -1
- package/dist/actions/button/button/button.d.ts +7 -1
- package/dist/actions/button/button/button.d.ts.map +1 -1
- package/dist/actions/button/button/button.js +9 -7
- package/dist/actions/button/button/button.js.map +1 -1
- package/dist/actions/button/slim_button/slim_button.d.ts +6 -1
- package/dist/actions/button/slim_button/slim_button.d.ts.map +1 -1
- package/dist/actions/button/slim_button/slim_button.js +13 -14
- package/dist/actions/button/slim_button/slim_button.js.map +1 -1
- package/dist/actions/toggle/toggle.d.ts +9 -0
- package/dist/actions/toggle/toggle.d.ts.map +1 -0
- package/dist/actions/toggle/toggle.js +21 -0
- package/dist/actions/toggle/toggle.js.map +1 -0
- package/dist/date_picker_time_selector.css +1 -1
- package/dist/feedback/lazy/lazy.js +3 -3
- package/dist/form/field/common/field_error.js +16 -9
- package/dist/form/field/common/field_error.js.map +1 -1
- package/dist/formatter-EIJCOSYU-D6nmx63h.js +6 -0
- package/dist/formatter-EIJCOSYU-D6nmx63h.js.map +1 -0
- package/dist/input.css +1 -1
- package/dist/inputs/mask_input/mask.d.ts.map +1 -1
- package/dist/inputs/mask_input/mask.js.map +1 -1
- package/dist/inputs/multiselect/multiselect_inline_values.js +3 -2
- package/dist/inputs/multiselect/multiselect_inline_values.js.map +1 -1
- package/dist/inputs/multiselect/multiselect_values.js +3 -2
- package/dist/inputs/multiselect/multiselect_values.js.map +1 -1
- package/dist/layouts/index.d.ts +2 -1
- package/dist/layouts/index.d.ts.map +1 -1
- package/dist/layouts/index.js +20 -18
- package/dist/layouts/index.js.map +1 -1
- package/dist/layouts/row/row.d.ts +4 -0
- package/dist/layouts/row/row.d.ts.map +1 -0
- package/dist/layouts/row/row.js +11 -0
- package/dist/layouts/row/row.js.map +1 -0
- package/dist/layouts/section/heading.d.ts +7 -0
- package/dist/layouts/section/heading.d.ts.map +1 -0
- package/dist/layouts/section/heading.js +9 -0
- package/dist/layouts/section/heading.js.map +1 -0
- package/dist/layouts/section/section.d.ts +4 -0
- package/dist/layouts/section/section.d.ts.map +1 -0
- package/dist/layouts/section/section.js +22 -0
- package/dist/layouts/section/section.js.map +1 -0
- package/dist/navigation/index.d.ts +7 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/index.js +17 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_bar.d.ts +7 -0
- package/dist/navigation/tabs/primitives/tabs_bar.d.ts.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_bar.js +21 -0
- package/dist/navigation/tabs/primitives/tabs_bar.js.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_list.d.ts +10 -0
- package/dist/navigation/tabs/primitives/tabs_list.d.ts.map +1 -0
- package/dist/navigation/tabs/primitives/tabs_list.js +29 -0
- package/dist/navigation/tabs/primitives/tabs_list.js.map +1 -0
- package/dist/navigation/tabs/state/context.d.ts +21 -0
- package/dist/navigation/tabs/state/context.d.ts.map +1 -0
- package/dist/navigation/tabs/state/context.js +34 -0
- package/dist/navigation/tabs/state/context.js.map +1 -0
- package/dist/navigation/tabs/state/link/tab_link.d.ts +9 -0
- package/dist/navigation/tabs/state/link/tab_link.d.ts.map +1 -0
- package/dist/navigation/tabs/state/link/tab_link.js +36 -0
- package/dist/navigation/tabs/state/link/tab_link.js.map +1 -0
- package/dist/navigation/tabs/state/link/use_tab_link.d.ts +5 -0
- package/dist/navigation/tabs/state/link/use_tab_link.d.ts.map +1 -0
- package/dist/navigation/tabs/state/link/use_tab_link.js +13 -0
- package/dist/navigation/tabs/state/link/use_tab_link.js.map +1 -0
- package/dist/navigation/tabs/state/nav_bar.d.ts +5 -0
- package/dist/navigation/tabs/state/nav_bar.d.ts.map +1 -0
- package/dist/navigation/tabs/state/nav_bar.js +36 -0
- package/dist/navigation/tabs/state/nav_bar.js.map +1 -0
- package/dist/navigation/tabs/state/tab.d.ts +6 -0
- package/dist/navigation/tabs/state/tab.d.ts.map +1 -0
- package/dist/navigation/tabs/state/tab.js +6 -0
- package/dist/navigation/tabs/state/tab.js.map +1 -0
- package/dist/overlay/carrot/base_carrot.d.ts +8 -0
- package/dist/overlay/carrot/base_carrot.d.ts.map +1 -0
- package/dist/overlay/carrot/base_carrot.js +21 -0
- package/dist/overlay/carrot/base_carrot.js.map +1 -0
- package/dist/overlay/portal/portal_platform.d.ts.map +1 -1
- package/dist/overlay/portal/portal_platform.js +3 -3
- package/dist/overlay/portal/portal_platform.js.map +1 -1
- package/dist/row.css +1 -0
- package/dist/section.css +1 -0
- package/dist/section.module-0wyGkhDg.js +5 -0
- package/dist/section.module-0wyGkhDg.js.map +1 -0
- package/dist/{showcase-WfP6kBEb.js → showcase-DK557szS.js} +18018 -16269
- package/dist/showcase-DK557szS.js.map +1 -0
- package/dist/surfaces/pop_confirm/pop_confirm.js +4 -3
- package/dist/surfaces/pop_confirm/pop_confirm.js.map +1 -1
- package/dist/{syntaxhighlighter-IQDEPFLK-BX_eF8__.js → syntaxhighlighter-ED5Y7EFY-DaMS-2cF.js} +54 -54
- package/dist/syntaxhighlighter-ED5Y7EFY-DaMS-2cF.js.map +1 -0
- package/dist/tabs_bar.css +1 -0
- package/dist/textarea.css +1 -1
- package/dist/theme_provider.css +1 -0
- package/dist/theme_provider.module-ChZQ5Xsk.js +5 -0
- package/dist/theme_provider.module-ChZQ5Xsk.js.map +1 -0
- package/dist/themes/stylesheets/reset.css +1 -1
- package/dist/themes/stylesheets/reset.js +1 -0
- package/dist/themes/stylesheets/reset.js.map +1 -1
- package/dist/themes/theme.d.ts +3 -2
- package/dist/themes/theme.d.ts.map +1 -1
- package/dist/themes/theme.js +20 -10
- package/dist/themes/theme.js.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.css +1 -1
- package/dist/themes/themes/ergo/ergo_theme.d.ts.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.js +488 -238
- package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
- package/dist/themes/themes/windows_98/windows_98.css +1 -1
- package/dist/themes/themes/windows_98/windows_98_theme.js +149 -4
- package/dist/themes/themes/windows_98/windows_98_theme.js.map +1 -1
- package/dist/tokens/bubble/bubble.js +31 -24
- package/dist/tokens/bubble/bubble.js.map +1 -1
- package/dist/tokens/chip/chip.js +15 -8
- package/dist/tokens/chip/chip.js.map +1 -1
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +5 -1
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/key/key.d.ts +3 -0
- package/dist/tokens/key/key.d.ts.map +1 -0
- package/dist/tokens/key/key.js +8 -0
- package/dist/tokens/key/key.js.map +1 -0
- package/dist/tokens/value/value.d.ts +3 -0
- package/dist/tokens/value/value.d.ts.map +1 -0
- package/dist/tokens/value/value.js +8 -0
- package/dist/tokens/value/value.js.map +1 -0
- package/dist/utils/css_utils.d.ts +9 -0
- package/dist/utils/css_utils.d.ts.map +1 -0
- package/dist/utils/css_utils.js +45 -0
- package/dist/utils/css_utils.js.map +1 -0
- package/package.json +8 -1
- package/src/actions/__docs__/actions.mdx +159 -34
- package/src/actions/__docs__/actions.stories.tsx +416 -101
- package/src/actions/__docs__/components/showcase.tsx +10 -6
- package/src/actions/button/__stories__/button.stories.tsx +10 -0
- package/src/actions/button/__stories__/toggle.stories.tsx +177 -0
- package/src/actions/button/base_button/base_button.tsx +8 -10
- package/src/actions/button/button/button.tsx +11 -2
- package/src/actions/button/slim_button/slim_button.tsx +20 -13
- package/src/actions/toggle/toggle.tsx +26 -0
- package/src/inputs/date_picker/date_picker_time_selector.module.css +0 -1
- package/src/inputs/input/input.module.css +0 -1
- package/src/inputs/mask_input/mask.ts +7 -1
- package/src/inputs/textarea/textarea.module.css +0 -1
- package/src/layouts/index.ts +3 -2
- package/src/layouts/row/row.module.css +5 -0
- package/src/layouts/row/row.tsx +15 -0
- package/src/layouts/section/__stories__/section.stories.module.css +6 -0
- package/src/layouts/section/__stories__/section.stories.tsx +152 -0
- package/src/layouts/section/heading.tsx +16 -0
- package/src/layouts/section/section.module.css +41 -0
- package/src/layouts/section/section.tsx +21 -0
- package/src/navigation/index.ts +18 -0
- package/src/navigation/tabs/__stories__/state.stories.tsx +136 -0
- package/src/navigation/tabs/__stories__/tabs.stories.tsx +40 -0
- package/src/navigation/tabs/primitives/tabs_bar.module.css +13 -0
- package/src/navigation/tabs/primitives/tabs_bar.tsx +25 -0
- package/src/navigation/tabs/primitives/tabs_list.tsx +41 -0
- package/src/navigation/tabs/state/context.tsx +61 -0
- package/src/navigation/tabs/state/link/tab_link.tsx +45 -0
- package/src/navigation/tabs/state/link/use_tab_link.ts +17 -0
- package/src/navigation/tabs/state/nav_bar.tsx +37 -0
- package/src/navigation/tabs/state/tab.tsx +12 -0
- package/src/overlay/carrot/base_carrot.tsx +24 -0
- package/src/overlay/carrot/carrot.stories.tsx +54 -0
- package/src/overlay/portal/portal_platform.tsx +1 -0
- package/src/surfaces/card/card.stories.tsx +14 -14
- package/src/surfaces/modal/__stories__/modal.stories.tsx +19 -8
- package/src/surfaces/window/window.stories.tsx +16 -10
- package/src/themes/stylesheets/reset.css +1 -0
- package/src/themes/theme.tsx +13 -4
- package/src/themes/theme_provider.module.css +6 -0
- package/src/themes/themes/ergo/__stories__/components/material_picker/sb_inverted_materials.module.css +4 -4
- package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_picker.module.css +3 -0
- package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_picker.tsx +5 -2
- package/src/themes/themes/ergo/__stories__/material.stories.tsx +2 -2
- package/src/themes/themes/ergo/__stories__/sb_materials.module.css +31 -26
- package/src/themes/themes/ergo/ergo_theme.css +484 -235
- package/src/themes/themes/ergo/ergo_theme.ts +1 -0
- package/src/themes/themes/windows_98/windows_98.css +149 -4
- package/src/tokens/index.ts +2 -0
- package/src/tokens/key/key.tsx +10 -0
- package/src/tokens/value/value.tsx +10 -0
- package/src/utils/css_utils.ts +64 -0
- package/tsconfig.json +6 -0
- package/dist/Color-ASIRERSW-B4GaVKuQ.js +0 -990
- package/dist/Color-ASIRERSW-B4GaVKuQ.js.map +0 -1
- package/dist/WithTooltip-IO6J4KBT-B1oq93K5.js.map +0 -1
- package/dist/formatter-QJ4M4OGQ-DaIl2Wi_.js +0 -6
- package/dist/formatter-QJ4M4OGQ-DaIl2Wi_.js.map +0 -1
- package/dist/layouts/list/section_header.d.ts +0 -6
- package/dist/layouts/list/section_header.d.ts.map +0 -1
- package/dist/layouts/list/section_header.js +0 -22
- package/dist/layouts/list/section_header.js.map +0 -1
- package/dist/showcase-WfP6kBEb.js.map +0 -1
- package/dist/syntaxhighlighter-IQDEPFLK-BX_eF8__.js.map +0 -1
- package/src/layouts/list/section_header.module.css +0 -20
- package/src/layouts/list/section_header.tsx +0 -21
|
@@ -7,7 +7,6 @@ import "../../divider.module-FptFV0PX.js";
|
|
|
7
7
|
import "../../layouts/grid/grid.js";
|
|
8
8
|
import "../../layouts/list/item.js";
|
|
9
9
|
import "../../layouts/list/list.js";
|
|
10
|
-
import "../../layouts/list/section_header.js";
|
|
11
10
|
import "../../layouts/sidebar_end/sidebar_end.js";
|
|
12
11
|
import "../../layouts/sidebar_start/sidebar_start.js";
|
|
13
12
|
import { Scaffold as c } from "../../layouts/scaffold/scaffold.js";
|
|
@@ -16,8 +15,10 @@ import "../../layouts/body/v_body.js";
|
|
|
16
15
|
import "../../layouts/footer/footer.js";
|
|
17
16
|
import "../../layouts/header/header.js";
|
|
18
17
|
import "../../layouts/utility_bar/utility_bar.js";
|
|
18
|
+
import "../../layouts/row/row.js";
|
|
19
|
+
import "../../layouts/section/section.js";
|
|
19
20
|
import { PopperDismissal as s } from "../../overlay/popper/base/dismissal_decorator.js";
|
|
20
|
-
const
|
|
21
|
+
const W = f.forwardRef(
|
|
21
22
|
function({ children: r, className: m, dismissals: t = [s.CLICK_AWAY], ...i }, p) {
|
|
22
23
|
return /* @__PURE__ */ o(
|
|
23
24
|
n,
|
|
@@ -32,6 +33,6 @@ const S = f.forwardRef(
|
|
|
32
33
|
}
|
|
33
34
|
);
|
|
34
35
|
export {
|
|
35
|
-
|
|
36
|
+
W as PopConfirm
|
|
36
37
|
};
|
|
37
38
|
//# sourceMappingURL=pop_confirm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop_confirm.js","sources":["../../../src/surfaces/pop_confirm/pop_confirm.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport {\n ElementPopper,\n type ElementPopperProps,\n} from '../../overlay/popper/element_popper.js';\nimport { Scaffold } from '../../layouts/index.js';\nimport { PopperDismissal } from '../../overlay/popper/base/dismissal_decorator.js';\n\nexport type PopConfirmProps = ElementPopperProps;\n\nexport const PopConfirm = React.forwardRef<HTMLDivElement, PopConfirmProps>(\n function PopConfirm(\n { children, className, dismissals = [PopperDismissal.CLICK_AWAY], ...props },\n ref\n ) {\n return (\n <ElementPopper\n ref={ref}\n className={clsx(className, 'tcn-pop-confirm')}\n dismissals={dismissals}\n {...props}\n >\n <Scaffold width={'100%'} height={'100%'}>\n {children}\n </Scaffold>\n </ElementPopper>\n );\n }\n);\n"],"names":["PopConfirm","React","children","className","dismissals","PopperDismissal","props","ref","jsx","ElementPopper","clsx","Scaffold"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pop_confirm.js","sources":["../../../src/surfaces/pop_confirm/pop_confirm.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport {\n ElementPopper,\n type ElementPopperProps,\n} from '../../overlay/popper/element_popper.js';\nimport { Scaffold } from '../../layouts/index.js';\nimport { PopperDismissal } from '../../overlay/popper/base/dismissal_decorator.js';\n\nexport type PopConfirmProps = ElementPopperProps;\n\nexport const PopConfirm = React.forwardRef<HTMLDivElement, PopConfirmProps>(\n function PopConfirm(\n { children, className, dismissals = [PopperDismissal.CLICK_AWAY], ...props },\n ref\n ) {\n return (\n <ElementPopper\n ref={ref}\n className={clsx(className, 'tcn-pop-confirm')}\n dismissals={dismissals}\n {...props}\n >\n <Scaffold width={'100%'} height={'100%'}>\n {children}\n </Scaffold>\n </ElementPopper>\n );\n }\n);\n"],"names":["PopConfirm","React","children","className","dismissals","PopperDismissal","props","ref","jsx","ElementPopper","clsx","Scaffold"],"mappings":";;;;;;;;;;;;;;;;;;;;AAWO,MAAMA,IAAaC,EAAM;AAAA,EAC9B,SACE,EAAE,UAAAC,GAAU,WAAAC,GAAW,YAAAC,IAAa,CAACC,EAAgB,UAAU,GAAG,GAAGC,EAAA,GACrEC,GACA;AACA,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,WAAWG,EAAKP,GAAW,iBAAiB;AAAA,QAC5C,YAAAC;AAAA,QACC,GAAGE;AAAA,QAEJ,4BAACK,GAAA,EAAS,OAAO,QAAQ,QAAQ,QAC9B,UAAAT,EAAA,CACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;"}
|
package/dist/{syntaxhighlighter-IQDEPFLK-BX_eF8__.js → syntaxhighlighter-ED5Y7EFY-DaMS-2cF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as mt,
|
|
1
|
+
import { c as mt, s as ht, g as yt, A as bt, _ as Z, h as xt, e as Ae, f as F, S as vt, b as St, r as wt } from "./showcase-DK557szS.js";
|
|
2
2
|
import G, { useState as We, useEffect as _t, useCallback as At } from "react";
|
|
3
3
|
function xe(e) {
|
|
4
4
|
"@babel/helpers - typeof";
|
|
@@ -40,7 +40,7 @@ function Ct(e, r) {
|
|
|
40
40
|
return n;
|
|
41
41
|
}
|
|
42
42
|
var Ft = F({
|
|
43
|
-
"
|
|
43
|
+
"../../node_modules/refractor/lang/bash.js"(e, r) {
|
|
44
44
|
r.exports = t, t.displayName = "bash", t.aliases = ["shell"];
|
|
45
45
|
function t(a) {
|
|
46
46
|
(function(n) {
|
|
@@ -258,7 +258,7 @@ var Ft = F({
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
}), Je = F({
|
|
261
|
-
"
|
|
261
|
+
"../../node_modules/refractor/lang/css.js"(e, r) {
|
|
262
262
|
r.exports = t, t.displayName = "css", t.aliases = [];
|
|
263
263
|
function t(a) {
|
|
264
264
|
(function(n) {
|
|
@@ -324,7 +324,7 @@ var Ft = F({
|
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
}), jt = F({
|
|
327
|
-
"
|
|
327
|
+
"../../node_modules/refractor/lang/graphql.js"(e, r) {
|
|
328
328
|
r.exports = t, t.displayName = "graphql", t.aliases = [];
|
|
329
329
|
function t(a) {
|
|
330
330
|
a.languages.graphql = {
|
|
@@ -451,7 +451,7 @@ var Ft = F({
|
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
}), Nt = F({
|
|
454
|
-
"
|
|
454
|
+
"../../node_modules/refractor/lang/js-extras.js"(e, r) {
|
|
455
455
|
r.exports = t, t.displayName = "jsExtras", t.aliases = [];
|
|
456
456
|
function t(a) {
|
|
457
457
|
(function(n) {
|
|
@@ -574,7 +574,7 @@ var Ft = F({
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
}), $t = F({
|
|
577
|
-
"
|
|
577
|
+
"../../node_modules/refractor/lang/json.js"(e, r) {
|
|
578
578
|
r.exports = t, t.displayName = "json", t.aliases = ["webmanifest"];
|
|
579
579
|
function t(a) {
|
|
580
580
|
a.languages.json = {
|
|
@@ -604,7 +604,7 @@ var Ft = F({
|
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
606
|
}), Qe = F({
|
|
607
|
-
"
|
|
607
|
+
"../../node_modules/refractor/lang/jsx.js"(e, r) {
|
|
608
608
|
r.exports = t, t.displayName = "jsx", t.aliases = [];
|
|
609
609
|
function t(a) {
|
|
610
610
|
(function(n) {
|
|
@@ -676,7 +676,7 @@ var Ft = F({
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
}), Ot = F({
|
|
679
|
-
"
|
|
679
|
+
"../../node_modules/refractor/lang/markdown.js"(e, r) {
|
|
680
680
|
r.exports = t, t.displayName = "markdown", t.aliases = ["md"];
|
|
681
681
|
function t(a) {
|
|
682
682
|
(function(n) {
|
|
@@ -1004,7 +1004,7 @@ var Ft = F({
|
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
}), et = F({
|
|
1007
|
-
"
|
|
1007
|
+
"../../node_modules/refractor/lang/markup.js"(e, r) {
|
|
1008
1008
|
r.exports = t, t.displayName = "markup", t.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
|
|
1009
1009
|
function t(a) {
|
|
1010
1010
|
a.languages.markup = {
|
|
@@ -1174,7 +1174,7 @@ var Ft = F({
|
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
}), tt = F({
|
|
1177
|
-
"
|
|
1177
|
+
"../../node_modules/refractor/lang/typescript.js"(e, r) {
|
|
1178
1178
|
r.exports = t, t.displayName = "typescript", t.aliases = ["ts"];
|
|
1179
1179
|
function t(a) {
|
|
1180
1180
|
(function(n) {
|
|
@@ -1225,7 +1225,7 @@ var Ft = F({
|
|
|
1225
1225
|
}
|
|
1226
1226
|
}
|
|
1227
1227
|
}), Lt = F({
|
|
1228
|
-
"
|
|
1228
|
+
"../../node_modules/refractor/lang/tsx.js"(e, r) {
|
|
1229
1229
|
var t = Qe(), a = tt();
|
|
1230
1230
|
r.exports = n, n.displayName = "tsx", n.aliases = [];
|
|
1231
1231
|
function n(o) {
|
|
@@ -1241,7 +1241,7 @@ var Ft = F({
|
|
|
1241
1241
|
}
|
|
1242
1242
|
}
|
|
1243
1243
|
}), It = F({
|
|
1244
|
-
"
|
|
1244
|
+
"../../node_modules/refractor/lang/yaml.js"(e, r) {
|
|
1245
1245
|
r.exports = t, t.displayName = "yaml", t.aliases = ["yml"];
|
|
1246
1246
|
function t(a) {
|
|
1247
1247
|
(function(n) {
|
|
@@ -1328,7 +1328,7 @@ var Ft = F({
|
|
|
1328
1328
|
}
|
|
1329
1329
|
}
|
|
1330
1330
|
}), Tt = F({
|
|
1331
|
-
"
|
|
1331
|
+
"../../node_modules/xtend/immutable.js"(e, r) {
|
|
1332
1332
|
r.exports = a;
|
|
1333
1333
|
var t = Object.prototype.hasOwnProperty;
|
|
1334
1334
|
function a() {
|
|
@@ -1341,7 +1341,7 @@ var Ft = F({
|
|
|
1341
1341
|
}
|
|
1342
1342
|
}
|
|
1343
1343
|
}), nt = F({
|
|
1344
|
-
"
|
|
1344
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/schema.js"(e, r) {
|
|
1345
1345
|
r.exports = a;
|
|
1346
1346
|
var t = a.prototype;
|
|
1347
1347
|
t.space = null, t.normal = {}, t.property = {};
|
|
@@ -1350,7 +1350,7 @@ var Ft = F({
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
}), Dt = F({
|
|
1353
|
-
"
|
|
1353
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/merge.js"(e, r) {
|
|
1354
1354
|
var t = Tt(), a = nt();
|
|
1355
1355
|
r.exports = n;
|
|
1356
1356
|
function n(o) {
|
|
@@ -1364,14 +1364,14 @@ var Ft = F({
|
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
}), Te = F({
|
|
1367
|
-
"
|
|
1367
|
+
"../../node_modules/hastscript/node_modules/property-information/normalize.js"(e, r) {
|
|
1368
1368
|
r.exports = t;
|
|
1369
1369
|
function t(a) {
|
|
1370
1370
|
return a.toLowerCase();
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
}), at = F({
|
|
1374
|
-
"
|
|
1374
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/info.js"(e, r) {
|
|
1375
1375
|
r.exports = a;
|
|
1376
1376
|
var t = a.prototype;
|
|
1377
1377
|
t.space = null, t.attribute = null, t.property = null, t.boolean = !1, t.booleanish = !1, t.overloadedBoolean = !1, t.number = !1, t.commaSeparated = !1, t.spaceSeparated = !1, t.commaOrSpaceSeparated = !1, t.mustUseProperty = !1, t.defined = !1;
|
|
@@ -1380,7 +1380,7 @@ var Ft = F({
|
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
1382
|
}), De = F({
|
|
1383
|
-
"
|
|
1383
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/types.js"(e) {
|
|
1384
1384
|
var r = 0;
|
|
1385
1385
|
e.boolean = t(), e.booleanish = t(), e.overloadedBoolean = t(), e.number = t(), e.spaceSeparated = t(), e.commaSeparated = t(), e.commaOrSpaceSeparated = t();
|
|
1386
1386
|
function t() {
|
|
@@ -1388,7 +1388,7 @@ var Ft = F({
|
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
1390
|
}), rt = F({
|
|
1391
|
-
"
|
|
1391
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js"(e, r) {
|
|
1392
1392
|
var t = at(), a = De();
|
|
1393
1393
|
r.exports = u, u.prototype = new t(), u.prototype.defined = !0;
|
|
1394
1394
|
var n = [
|
|
@@ -1410,7 +1410,7 @@ var Ft = F({
|
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
}), ve = F({
|
|
1413
|
-
"
|
|
1413
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/create.js"(e, r) {
|
|
1414
1414
|
var t = Te(), a = nt(), n = rt();
|
|
1415
1415
|
r.exports = o;
|
|
1416
1416
|
function o(u) {
|
|
@@ -1426,7 +1426,7 @@ var Ft = F({
|
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
1428
|
}), Rt = F({
|
|
1429
|
-
"
|
|
1429
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/xlink.js"(e, r) {
|
|
1430
1430
|
var t = ve();
|
|
1431
1431
|
r.exports = t({
|
|
1432
1432
|
space: "xlink",
|
|
@@ -1446,7 +1446,7 @@ var Ft = F({
|
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
}), qt = F({
|
|
1449
|
-
"
|
|
1449
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/xml.js"(e, r) {
|
|
1450
1450
|
var t = ve();
|
|
1451
1451
|
r.exports = t({
|
|
1452
1452
|
space: "xml",
|
|
@@ -1462,14 +1462,14 @@ var Ft = F({
|
|
|
1462
1462
|
}
|
|
1463
1463
|
}
|
|
1464
1464
|
}), Bt = F({
|
|
1465
|
-
"
|
|
1465
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js"(e, r) {
|
|
1466
1466
|
r.exports = t;
|
|
1467
1467
|
function t(a, n) {
|
|
1468
1468
|
return n in a ? a[n] : n;
|
|
1469
1469
|
}
|
|
1470
1470
|
}
|
|
1471
1471
|
}), ot = F({
|
|
1472
|
-
"
|
|
1472
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js"(e, r) {
|
|
1473
1473
|
var t = Bt();
|
|
1474
1474
|
r.exports = a;
|
|
1475
1475
|
function a(n, o) {
|
|
@@ -1477,7 +1477,7 @@ var Ft = F({
|
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
1479
|
}), Mt = F({
|
|
1480
|
-
"
|
|
1480
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/xmlns.js"(e, r) {
|
|
1481
1481
|
var t = ve(), a = ot();
|
|
1482
1482
|
r.exports = t({
|
|
1483
1483
|
space: "xmlns",
|
|
@@ -1492,7 +1492,7 @@ var Ft = F({
|
|
|
1492
1492
|
});
|
|
1493
1493
|
}
|
|
1494
1494
|
}), zt = F({
|
|
1495
|
-
"
|
|
1495
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/aria.js"(e, r) {
|
|
1496
1496
|
var t = De(), a = ve(), n = t.booleanish, o = t.number, u = t.spaceSeparated;
|
|
1497
1497
|
r.exports = a({
|
|
1498
1498
|
transform: d,
|
|
@@ -1553,7 +1553,7 @@ var Ft = F({
|
|
|
1553
1553
|
}
|
|
1554
1554
|
}
|
|
1555
1555
|
}), Ht = F({
|
|
1556
|
-
"
|
|
1556
|
+
"../../node_modules/hastscript/node_modules/property-information/lib/html.js"(e, r) {
|
|
1557
1557
|
var t = De(), a = ve(), n = ot(), o = t.boolean, u = t.overloadedBoolean, d = t.booleanish, l = t.number, f = t.spaceSeparated, h = t.commaSeparated;
|
|
1558
1558
|
r.exports = a({
|
|
1559
1559
|
space: "html",
|
|
@@ -1904,12 +1904,12 @@ var Ft = F({
|
|
|
1904
1904
|
});
|
|
1905
1905
|
}
|
|
1906
1906
|
}), Pt = F({
|
|
1907
|
-
"
|
|
1907
|
+
"../../node_modules/hastscript/node_modules/property-information/html.js"(e, r) {
|
|
1908
1908
|
var t = Dt(), a = Rt(), n = qt(), o = Mt(), u = zt(), d = Ht();
|
|
1909
1909
|
r.exports = t([n, a, o, u, d]);
|
|
1910
1910
|
}
|
|
1911
1911
|
}), Ut = F({
|
|
1912
|
-
"
|
|
1912
|
+
"../../node_modules/hastscript/node_modules/property-information/find.js"(e, r) {
|
|
1913
1913
|
var t = Te(), a = rt(), n = at(), o = "data";
|
|
1914
1914
|
r.exports = f;
|
|
1915
1915
|
var u = /^data[-\w.:]+$/i, d = /-[a-z]/g, l = /[A-Z]/g;
|
|
@@ -1933,7 +1933,7 @@ var Ft = F({
|
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
1935
|
}), Gt = F({
|
|
1936
|
-
"
|
|
1936
|
+
"../../node_modules/hast-util-parse-selector/index.js"(e, r) {
|
|
1937
1937
|
r.exports = a;
|
|
1938
1938
|
var t = /[#.]/g;
|
|
1939
1939
|
function a(n, o) {
|
|
@@ -1943,7 +1943,7 @@ var Ft = F({
|
|
|
1943
1943
|
}
|
|
1944
1944
|
}
|
|
1945
1945
|
}), Zt = F({
|
|
1946
|
-
"
|
|
1946
|
+
"../../node_modules/hastscript/node_modules/space-separated-tokens/index.js"(e) {
|
|
1947
1947
|
e.parse = n, e.stringify = o;
|
|
1948
1948
|
var r = "", t = " ", a = /[ \t\n\r\f]+/g;
|
|
1949
1949
|
function n(u) {
|
|
@@ -1955,7 +1955,7 @@ var Ft = F({
|
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
1957
|
}), Wt = F({
|
|
1958
|
-
"
|
|
1958
|
+
"../../node_modules/hastscript/node_modules/comma-separated-tokens/index.js"(e) {
|
|
1959
1959
|
e.parse = n, e.stringify = o;
|
|
1960
1960
|
var r = ",", t = " ", a = "";
|
|
1961
1961
|
function n(u) {
|
|
@@ -1969,7 +1969,7 @@ var Ft = F({
|
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
1971
|
}), Kt = F({
|
|
1972
|
-
"
|
|
1972
|
+
"../../node_modules/hastscript/factory.js"(e, r) {
|
|
1973
1973
|
var t = Ut(), a = Te(), n = Gt(), o = Zt().parse, u = Wt().parse;
|
|
1974
1974
|
r.exports = l;
|
|
1975
1975
|
var d = {}.hasOwnProperty;
|
|
@@ -2035,16 +2035,16 @@ var Ft = F({
|
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
2037
|
}), Xt = F({
|
|
2038
|
-
"
|
|
2038
|
+
"../../node_modules/hastscript/html.js"(e, r) {
|
|
2039
2039
|
var t = Pt(), a = Kt(), n = a(t, "div");
|
|
2040
2040
|
n.displayName = "html", r.exports = n;
|
|
2041
2041
|
}
|
|
2042
2042
|
}), Vt = F({
|
|
2043
|
-
"
|
|
2043
|
+
"../../node_modules/hastscript/index.js"(e, r) {
|
|
2044
2044
|
r.exports = Xt();
|
|
2045
2045
|
}
|
|
2046
2046
|
}), Yt = F({
|
|
2047
|
-
"
|
|
2047
|
+
"../../node_modules/refractor/node_modules/character-entities-legacy/index.json"(e, r) {
|
|
2048
2048
|
r.exports = {
|
|
2049
2049
|
AElig: "Æ",
|
|
2050
2050
|
AMP: "&",
|
|
@@ -2155,7 +2155,7 @@ var Ft = F({
|
|
|
2155
2155
|
};
|
|
2156
2156
|
}
|
|
2157
2157
|
}), Jt = F({
|
|
2158
|
-
"
|
|
2158
|
+
"../../node_modules/refractor/node_modules/character-reference-invalid/index.json"(e, r) {
|
|
2159
2159
|
r.exports = {
|
|
2160
2160
|
0: "�",
|
|
2161
2161
|
128: "€",
|
|
@@ -2188,7 +2188,7 @@ var Ft = F({
|
|
|
2188
2188
|
};
|
|
2189
2189
|
}
|
|
2190
2190
|
}), lt = F({
|
|
2191
|
-
"
|
|
2191
|
+
"../../node_modules/refractor/node_modules/is-decimal/index.js"(e, r) {
|
|
2192
2192
|
r.exports = t;
|
|
2193
2193
|
function t(a) {
|
|
2194
2194
|
var n = typeof a == "string" ? a.charCodeAt(0) : a;
|
|
@@ -2196,7 +2196,7 @@ var Ft = F({
|
|
|
2196
2196
|
}
|
|
2197
2197
|
}
|
|
2198
2198
|
}), Qt = F({
|
|
2199
|
-
"
|
|
2199
|
+
"../../node_modules/refractor/node_modules/is-hexadecimal/index.js"(e, r) {
|
|
2200
2200
|
r.exports = t;
|
|
2201
2201
|
function t(a) {
|
|
2202
2202
|
var n = typeof a == "string" ? a.charCodeAt(0) : a;
|
|
@@ -2204,7 +2204,7 @@ var Ft = F({
|
|
|
2204
2204
|
}
|
|
2205
2205
|
}
|
|
2206
2206
|
}), en = F({
|
|
2207
|
-
"
|
|
2207
|
+
"../../node_modules/refractor/node_modules/is-alphabetical/index.js"(e, r) {
|
|
2208
2208
|
r.exports = t;
|
|
2209
2209
|
function t(a) {
|
|
2210
2210
|
var n = typeof a == "string" ? a.charCodeAt(0) : a;
|
|
@@ -2212,7 +2212,7 @@ var Ft = F({
|
|
|
2212
2212
|
}
|
|
2213
2213
|
}
|
|
2214
2214
|
}), tn = F({
|
|
2215
|
-
"
|
|
2215
|
+
"../../node_modules/refractor/node_modules/is-alphanumerical/index.js"(e, r) {
|
|
2216
2216
|
var t = en(), a = lt();
|
|
2217
2217
|
r.exports = n;
|
|
2218
2218
|
function n(o) {
|
|
@@ -2220,7 +2220,7 @@ var Ft = F({
|
|
|
2220
2220
|
}
|
|
2221
2221
|
}
|
|
2222
2222
|
}), nn = F({
|
|
2223
|
-
"
|
|
2223
|
+
"../../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js"(e, r) {
|
|
2224
2224
|
var t, a = 59;
|
|
2225
2225
|
r.exports = n;
|
|
2226
2226
|
function n(o) {
|
|
@@ -2229,7 +2229,7 @@ var Ft = F({
|
|
|
2229
2229
|
}
|
|
2230
2230
|
}
|
|
2231
2231
|
}), an = F({
|
|
2232
|
-
"
|
|
2232
|
+
"../../node_modules/refractor/node_modules/parse-entities/index.js"(e, r) {
|
|
2233
2233
|
var t = Yt(), a = Jt(), n = lt(), o = Qt(), u = tn(), d = nn();
|
|
2234
2234
|
r.exports = B;
|
|
2235
2235
|
var l = {}.hasOwnProperty, f = String.fromCharCode, h = Function.prototype, C = {
|
|
@@ -2298,7 +2298,7 @@ var Ft = F({
|
|
|
2298
2298
|
}
|
|
2299
2299
|
}
|
|
2300
2300
|
}), rn = F({
|
|
2301
|
-
"
|
|
2301
|
+
"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(e, r) {
|
|
2302
2302
|
var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {}, a = (function(n) {
|
|
2303
2303
|
var o = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, u = 0, d = {}, l = {
|
|
2304
2304
|
/**
|
|
@@ -2990,7 +2990,7 @@ var Ft = F({
|
|
|
2990
2990
|
typeof r < "u" && r.exports && (r.exports = a), typeof global < "u" && (global.Prism = a);
|
|
2991
2991
|
}
|
|
2992
2992
|
}), on = F({
|
|
2993
|
-
"
|
|
2993
|
+
"../../node_modules/refractor/lang/clike.js"(e, r) {
|
|
2994
2994
|
r.exports = t, t.displayName = "clike", t.aliases = [];
|
|
2995
2995
|
function t(a) {
|
|
2996
2996
|
a.languages.clike = {
|
|
@@ -3027,7 +3027,7 @@ var Ft = F({
|
|
|
3027
3027
|
}
|
|
3028
3028
|
}
|
|
3029
3029
|
}), ln = F({
|
|
3030
|
-
"
|
|
3030
|
+
"../../node_modules/refractor/lang/javascript.js"(e, r) {
|
|
3031
3031
|
r.exports = t, t.displayName = "javascript", t.aliases = ["js"];
|
|
3032
3032
|
function t(a) {
|
|
3033
3033
|
a.languages.javascript = a.languages.extend("clike", {
|
|
@@ -3155,7 +3155,7 @@ var Ft = F({
|
|
|
3155
3155
|
}
|
|
3156
3156
|
}
|
|
3157
3157
|
}), sn = F({
|
|
3158
|
-
"
|
|
3158
|
+
"../../node_modules/refractor/core.js"(e, r) {
|
|
3159
3159
|
var t = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, a = m();
|
|
3160
3160
|
t.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
|
|
3161
3161
|
var n = Vt(), o = an(), u = rn(), d = et(), l = Je(), f = on(), h = ln();
|
|
@@ -3331,7 +3331,7 @@ function Re(e) {
|
|
|
3331
3331
|
});
|
|
3332
3332
|
}
|
|
3333
3333
|
var E = C(r.children);
|
|
3334
|
-
return G.createElement(f,
|
|
3334
|
+
return G.createElement(f, St({
|
|
3335
3335
|
key: u
|
|
3336
3336
|
}, x), E);
|
|
3337
3337
|
}
|
|
@@ -3643,7 +3643,7 @@ Be.registerLanguage = function(e, r) {
|
|
|
3643
3643
|
Be.alias = function(e, r) {
|
|
3644
3644
|
return qe.default.alias(e, r);
|
|
3645
3645
|
};
|
|
3646
|
-
var Me = Be, { window: Yn } =
|
|
3646
|
+
var Me = Be, { window: Yn } = ht, Jn = {
|
|
3647
3647
|
jsextra: Sn,
|
|
3648
3648
|
jsx: En,
|
|
3649
3649
|
json: _n,
|
|
@@ -3661,7 +3661,7 @@ Object.entries(Jn).forEach(([e, r]) => {
|
|
|
3661
3661
|
});
|
|
3662
3662
|
var Qn = (0, un.default)(2)(
|
|
3663
3663
|
(e) => Object.entries(e.code || {}).reduce((r, [t, a]) => ({ ...r, [`* .${t}`]: a }), {})
|
|
3664
|
-
), ea =
|
|
3664
|
+
), ea = xt(), ta = Ae.div(
|
|
3665
3665
|
({ theme: e }) => ({
|
|
3666
3666
|
position: "relative",
|
|
3667
3667
|
overflow: "hidden",
|
|
@@ -3678,7 +3678,7 @@ var Qn = (0, un.default)(2)(
|
|
|
3678
3678
|
content: "attr(data-line-number)"
|
|
3679
3679
|
}
|
|
3680
3680
|
} : {}
|
|
3681
|
-
), na = ({ children: e, className: r }) => G.createElement(
|
|
3681
|
+
), na = ({ children: e, className: r }) => G.createElement(vt, { horizontal: !0, vertical: !0, className: r }, e), aa = Ae(na)(
|
|
3682
3682
|
{
|
|
3683
3683
|
position: "relative"
|
|
3684
3684
|
},
|
|
@@ -3736,7 +3736,7 @@ var Qn = (0, un.default)(2)(
|
|
|
3736
3736
|
(E) => {
|
|
3737
3737
|
E.preventDefault(), ea(h).then(() => {
|
|
3738
3738
|
b(!0), Yn.setTimeout(() => b(!1), 1500);
|
|
3739
|
-
}).catch(
|
|
3739
|
+
}).catch(yt.error);
|
|
3740
3740
|
},
|
|
3741
3741
|
[h]
|
|
3742
3742
|
), S = ia(f.renderer, l);
|
|
@@ -3764,7 +3764,7 @@ var Qn = (0, un.default)(2)(
|
|
|
3764
3764
|
},
|
|
3765
3765
|
h
|
|
3766
3766
|
)),
|
|
3767
|
-
t ? G.createElement(
|
|
3767
|
+
t ? G.createElement(bt, { actionItems: [{ title: x ? "Copied" : "Copy", onClick: y }] }) : null
|
|
3768
3768
|
);
|
|
3769
3769
|
};
|
|
3770
3770
|
dt.registerLanguage = (...e) => Me.registerLanguage(...e);
|
|
@@ -3774,4 +3774,4 @@ export {
|
|
|
3774
3774
|
ca as default,
|
|
3775
3775
|
Jn as supportedLanguages
|
|
3776
3776
|
};
|
|
3777
|
-
//# sourceMappingURL=syntaxhighlighter-
|
|
3777
|
+
//# sourceMappingURL=syntaxhighlighter-ED5Y7EFY-DaMS-2cF.js.map
|