@tcn/ui 0.4.0 → 0.5.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/layouts/index.d.ts +1 -0
- 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/surfaces/pop_confirm/pop_confirm.js +4 -2
- package/dist/surfaces/pop_confirm/pop_confirm.js.map +1 -1
- package/package.json +1 -1
- package/src/layouts/index.ts +1 -0
package/dist/layouts/index.d.ts
CHANGED
|
@@ -13,4 +13,5 @@ export { Header, type HeaderProps } from './header/header.js';
|
|
|
13
13
|
export { UtilityBar, type UtilityBarProps } from './utility_bar/utility_bar.js';
|
|
14
14
|
export { Row } from './row/row.js';
|
|
15
15
|
export { Section } from './section/section.js';
|
|
16
|
+
export { Heading, type HeadingOwnProps } from './section/heading.js';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/layouts/index.js
CHANGED
|
@@ -3,31 +3,33 @@ import { Divider as f } from "./divider/divider.js";
|
|
|
3
3
|
import { Grid as p } from "./grid/grid.js";
|
|
4
4
|
import { Item as d } from "./list/item.js";
|
|
5
5
|
import { List as a } from "./list/list.js";
|
|
6
|
-
import { SidebarEnd as
|
|
6
|
+
import { SidebarEnd as n } from "./sidebar_end/sidebar_end.js";
|
|
7
7
|
import { SidebarStart as y } from "./sidebar_start/sidebar_start.js";
|
|
8
|
-
import { Scaffold as
|
|
9
|
-
import { HBody as
|
|
10
|
-
import { VBody as
|
|
11
|
-
import { Footer as
|
|
12
|
-
import { Header as
|
|
13
|
-
import { UtilityBar as
|
|
14
|
-
import { Row as
|
|
15
|
-
import { Section as
|
|
8
|
+
import { Scaffold as H } from "./scaffold/scaffold.js";
|
|
9
|
+
import { HBody as c } from "./body/h_body.js";
|
|
10
|
+
import { VBody as s } from "./body/v_body.js";
|
|
11
|
+
import { Footer as v } from "./footer/footer.js";
|
|
12
|
+
import { Header as C } from "./header/header.js";
|
|
13
|
+
import { UtilityBar as E } from "./utility_bar/utility_bar.js";
|
|
14
|
+
import { Row as G } from "./row/row.js";
|
|
15
|
+
import { Section as L } from "./section/section.js";
|
|
16
|
+
import { Heading as U } from "./section/heading.js";
|
|
16
17
|
export {
|
|
17
18
|
e as Column,
|
|
18
19
|
f as Divider,
|
|
19
|
-
|
|
20
|
+
v as Footer,
|
|
20
21
|
p as Grid,
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
c as HBody,
|
|
23
|
+
C as Header,
|
|
24
|
+
U as Heading,
|
|
23
25
|
d as Item,
|
|
24
26
|
a as List,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
G as Row,
|
|
28
|
+
H as Scaffold,
|
|
29
|
+
L as Section,
|
|
30
|
+
n as SidebarEnd,
|
|
29
31
|
y as SidebarStart,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
E as UtilityBar,
|
|
33
|
+
s as VBody
|
|
32
34
|
};
|
|
33
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -17,8 +17,10 @@ import "../../layouts/header/header.js";
|
|
|
17
17
|
import "../../layouts/utility_bar/utility_bar.js";
|
|
18
18
|
import "../../layouts/row/row.js";
|
|
19
19
|
import "../../layouts/section/section.js";
|
|
20
|
+
import "../../stacks/h_stack.js";
|
|
21
|
+
import "../../section.module-0wyGkhDg.js";
|
|
20
22
|
import { PopperDismissal as s } from "../../overlay/popper/base/dismissal_decorator.js";
|
|
21
|
-
const
|
|
23
|
+
const b = f.forwardRef(
|
|
22
24
|
function({ children: r, className: m, dismissals: t = [s.CLICK_AWAY], ...i }, p) {
|
|
23
25
|
return /* @__PURE__ */ o(
|
|
24
26
|
n,
|
|
@@ -33,6 +35,6 @@ const W = f.forwardRef(
|
|
|
33
35
|
}
|
|
34
36
|
);
|
|
35
37
|
export {
|
|
36
|
-
|
|
38
|
+
b as PopConfirm
|
|
37
39
|
};
|
|
38
40
|
//# 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/package.json
CHANGED
package/src/layouts/index.ts
CHANGED
|
@@ -14,3 +14,4 @@ export { Header, type HeaderProps } from './header/header.js';
|
|
|
14
14
|
export { UtilityBar, type UtilityBarProps } from './utility_bar/utility_bar.js';
|
|
15
15
|
export { Row } from './row/row.js';
|
|
16
16
|
export { Section } from './section/section.js';
|
|
17
|
+
export { Heading, type HeadingOwnProps } from './section/heading.js';
|