@usefragments/ui 1.1.1 → 1.2.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.
Files changed (141) hide show
  1. package/dist/assets/ui.css +327 -274
  2. package/dist/components/Checkbox/Checkbox.module.scss.cjs +11 -11
  3. package/dist/components/Checkbox/Checkbox.module.scss.js +11 -11
  4. package/dist/components/Chip/Chip.module.scss.cjs +15 -15
  5. package/dist/components/Chip/Chip.module.scss.js +15 -15
  6. package/dist/components/Combobox/index.cjs +106 -9
  7. package/dist/components/Combobox/index.d.ts.map +1 -1
  8. package/dist/components/Combobox/index.js +106 -9
  9. package/dist/components/DataTable/DataTable.module.scss.cjs +37 -34
  10. package/dist/components/DataTable/DataTable.module.scss.js +37 -34
  11. package/dist/components/Main/Main.module.scss.cjs +26 -0
  12. package/dist/components/Main/Main.module.scss.js +26 -0
  13. package/dist/components/Main/index.cjs +128 -0
  14. package/dist/components/Main/index.d.ts +22 -0
  15. package/dist/components/Main/index.d.ts.map +1 -0
  16. package/dist/components/Main/index.js +111 -0
  17. package/dist/components/Table/Table.module.scss.cjs +19 -19
  18. package/dist/components/Table/Table.module.scss.js +19 -19
  19. package/dist/components/TableOfContents/TableOfContents.module.scss.cjs +15 -15
  20. package/dist/components/TableOfContents/TableOfContents.module.scss.js +15 -15
  21. package/dist/components/TableOfContents/index.cjs +22 -42
  22. package/dist/components/TableOfContents/index.d.ts +3 -3
  23. package/dist/components/TableOfContents/index.d.ts.map +1 -1
  24. package/dist/components/TableOfContents/index.js +22 -42
  25. package/dist/index.cjs +87 -85
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +2 -0
  29. package/fragments.json +1 -1
  30. package/package.json +7 -2
  31. package/src/components/Checkbox/Checkbox.contract.json +5 -24
  32. package/src/components/Checkbox/Checkbox.module.scss +4 -2
  33. package/src/components/Chip/Chip.contract.json +11 -28
  34. package/src/components/Chip/Chip.module.scss +21 -45
  35. package/src/components/Combobox/Combobox.contract.json +6 -24
  36. package/src/components/Combobox/index.tsx +132 -6
  37. package/src/components/DataTable/DataTable.module.scss +31 -8
  38. package/src/components/Main/Main.contract.json +79 -0
  39. package/src/components/Main/Main.module.scss +31 -0
  40. package/src/components/Main/index.tsx +124 -0
  41. package/src/components/Table/Table.module.scss +22 -5
  42. package/src/components/TableOfContents/TableOfContents.contract.json +6 -16
  43. package/src/components/TableOfContents/TableOfContents.module.scss +10 -13
  44. package/src/components/TableOfContents/index.tsx +27 -38
  45. package/src/index.ts +3 -0
  46. package/src/tokens/_component-properties.scss +1 -0
  47. package/dist/components/Cloud/DashboardLayoutPrototypes.shared.d.ts +0 -33
  48. package/dist/components/Cloud/DashboardLayoutPrototypes.shared.d.ts.map +0 -1
  49. package/dist/components/Cloud/DashboardLayoutPrototypes.shell.d.ts +0 -11
  50. package/dist/components/Cloud/DashboardLayoutPrototypes.shell.d.ts.map +0 -1
  51. package/dist/components/Cloud/PullRequestsPrototypes.content.d.ts +0 -5
  52. package/dist/components/Cloud/PullRequestsPrototypes.content.d.ts.map +0 -1
  53. package/dist/components/Cloud/PullRequestsPrototypes.detail-panels.d.ts +0 -4
  54. package/dist/components/Cloud/PullRequestsPrototypes.detail-panels.d.ts.map +0 -1
  55. package/dist/components/Cloud/PullRequestsPrototypes.detail.d.ts +0 -3
  56. package/dist/components/Cloud/PullRequestsPrototypes.detail.d.ts.map +0 -1
  57. package/dist/components/Cloud/PullRequestsPrototypes.id-data.d.ts +0 -86
  58. package/dist/components/Cloud/PullRequestsPrototypes.id-data.d.ts.map +0 -1
  59. package/dist/components/Cloud/PullRequestsPrototypes.id-page.d.ts +0 -2
  60. package/dist/components/Cloud/PullRequestsPrototypes.id-page.d.ts.map +0 -1
  61. package/src/components/Accordion/Accordion.stories.tsx +0 -106
  62. package/src/components/Alert/Alert.stories.tsx +0 -119
  63. package/src/components/AppShell/AppShell.stories.tsx +0 -156
  64. package/src/components/Avatar/Avatar.stories.tsx +0 -74
  65. package/src/components/Badge/Badge.stories.tsx +0 -92
  66. package/src/components/BentoGrid/BentoGrid.stories.tsx +0 -98
  67. package/src/components/Box/Box.stories.tsx +0 -150
  68. package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +0 -87
  69. package/src/components/Button/Button.stories.tsx +0 -103
  70. package/src/components/ButtonGroup/ButtonGroup.stories.tsx +0 -97
  71. package/src/components/Card/Card.stories.tsx +0 -144
  72. package/src/components/Chart/Chart.stories.tsx +0 -119
  73. package/src/components/Checkbox/Checkbox.stories.tsx +0 -68
  74. package/src/components/Chip/Chip.stories.tsx +0 -70
  75. package/src/components/Cloud/CloudGovernanceShell.module.scss +0 -88
  76. package/src/components/Cloud/CloudGovernanceShell.stories.tsx +0 -446
  77. package/src/components/Cloud/ControlSizing.module.scss +0 -49
  78. package/src/components/Cloud/ControlSizing.stories.tsx +0 -238
  79. package/src/components/Cloud/DashboardLayoutPrototypes.module.scss +0 -462
  80. package/src/components/Cloud/DashboardLayoutPrototypes.shared.tsx +0 -375
  81. package/src/components/Cloud/DashboardLayoutPrototypes.shell.tsx +0 -147
  82. package/src/components/Cloud/DashboardLayoutPrototypes.stories.tsx +0 -328
  83. package/src/components/Cloud/PullRequestsPrototypes.content.tsx +0 -283
  84. package/src/components/Cloud/PullRequestsPrototypes.detail-panels.tsx +0 -381
  85. package/src/components/Cloud/PullRequestsPrototypes.detail.tsx +0 -204
  86. package/src/components/Cloud/PullRequestsPrototypes.id-data.ts +0 -395
  87. package/src/components/Cloud/PullRequestsPrototypes.id-page.tsx +0 -349
  88. package/src/components/Cloud/PullRequestsPrototypes.stories.tsx +0 -81
  89. package/src/components/CodeBlock/CodeBlock.stories.tsx +0 -147
  90. package/src/components/Collapsible/Collapsible.stories.tsx +0 -94
  91. package/src/components/ColorPicker/ColorPicker.stories.tsx +0 -74
  92. package/src/components/Combobox/Combobox.stories.tsx +0 -133
  93. package/src/components/Command/Command.stories.tsx +0 -102
  94. package/src/components/ConversationList/ConversationList.stories.tsx +0 -93
  95. package/src/components/DataTable/DataTable.stories.tsx +0 -129
  96. package/src/components/DatePicker/DatePicker.stories.tsx +0 -129
  97. package/src/components/Dialog/Dialog.stories.tsx +0 -154
  98. package/src/components/Drawer/Drawer.stories.tsx +0 -144
  99. package/src/components/Editor/Editor.stories.tsx +0 -99
  100. package/src/components/EmptyState/EmptyState.stories.tsx +0 -97
  101. package/src/components/Field/Field.stories.tsx +0 -109
  102. package/src/components/Fieldset/Fieldset.stories.tsx +0 -116
  103. package/src/components/Form/Form.stories.tsx +0 -142
  104. package/src/components/Grid/Grid.stories.tsx +0 -125
  105. package/src/components/Header/Header.stories.tsx +0 -133
  106. package/src/components/Icon/Icon.stories.tsx +0 -80
  107. package/src/components/IconButton/IconButton.stories.tsx +0 -78
  108. package/src/components/Image/Image.stories.tsx +0 -109
  109. package/src/components/Input/Input.stories.tsx +0 -104
  110. package/src/components/Link/Link.stories.tsx +0 -67
  111. package/src/components/List/List.stories.tsx +0 -95
  112. package/src/components/Listbox/Listbox.stories.tsx +0 -81
  113. package/src/components/Loading/Loading.stories.tsx +0 -69
  114. package/src/components/Markdown/Markdown.stories.tsx +0 -75
  115. package/src/components/Menu/Menu.stories.tsx +0 -113
  116. package/src/components/Message/Message.stories.tsx +0 -85
  117. package/src/components/NavigationMenu/NavigationMenu.stories.tsx +0 -161
  118. package/src/components/Pagination/Pagination.stories.tsx +0 -81
  119. package/src/components/Popover/Popover.stories.tsx +0 -152
  120. package/src/components/Progress/Progress.stories.tsx +0 -64
  121. package/src/components/Prompt/Prompt.stories.tsx +0 -93
  122. package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -107
  123. package/src/components/ScrollArea/ScrollArea.stories.tsx +0 -97
  124. package/src/components/Select/Select.stories.tsx +0 -127
  125. package/src/components/Separator/Separator.stories.tsx +0 -84
  126. package/src/components/Sidebar/Sidebar.stories.tsx +0 -122
  127. package/src/components/Skeleton/Skeleton.stories.tsx +0 -80
  128. package/src/components/Slider/Slider.stories.tsx +0 -73
  129. package/src/components/Stack/Stack.stories.tsx +0 -73
  130. package/src/components/Switch/Switch.stories.tsx +0 -59
  131. package/src/components/Table/Table.stories.tsx +0 -219
  132. package/src/components/TableOfContents/TableOfContents.stories.tsx +0 -120
  133. package/src/components/Tabs/Tabs.stories.tsx +0 -136
  134. package/src/components/Text/Text.stories.tsx +0 -133
  135. package/src/components/Textarea/Textarea.stories.tsx +0 -107
  136. package/src/components/Theme/Theme.stories.tsx +0 -95
  137. package/src/components/ThinkingIndicator/ThinkingIndicator.stories.tsx +0 -85
  138. package/src/components/Toast/Toast.stories.tsx +0 -91
  139. package/src/components/ToggleGroup/ToggleGroup.stories.tsx +0 -114
  140. package/src/components/Tooltip/Tooltip.stories.tsx +0 -95
  141. package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +0 -78
@@ -1,37 +1,38 @@
1
- const wrapper = "_wrapper_pscwk_1";
2
- const table = "_table_pscwk_8";
3
- const caption = "_caption_pscwk_16";
4
- const captionHidden = "_captionHidden_pscwk_25";
5
- const sm = "_sm_pscwk_37";
6
- const th = "_th_pscwk_37";
7
- const td = "_td_pscwk_38";
8
- const md = "_md_pscwk_43";
9
- const thead = "_thead_pscwk_49";
10
- const headerRow = "_headerRow_pscwk_55";
11
- const headerContent = "_headerContent_pscwk_75";
12
- const thSortable = "_thSortable_pscwk_81";
13
- const sortButton = "_sortButton_pscwk_85";
14
- const sortIndicator = "_sortIndicator_pscwk_124";
15
- const row = "_row_pscwk_151";
16
- const clickable = "_clickable_pscwk_162";
17
- const selected = "_selected_pscwk_176";
18
- const striped = "_striped_pscwk_190";
19
- const bordered = "_bordered_pscwk_206";
20
- const fixedLayout = "_fixedLayout_pscwk_213";
21
- const densityCondensed = "_densityCondensed_pscwk_217";
22
- const densityRegular = "_densityRegular_pscwk_221";
23
- const densityRelaxed = "_densityRelaxed_pscwk_225";
24
- const truncate = "_truncate_pscwk_249";
25
- const skeletonBar = "_skeletonBar_pscwk_255";
26
- const dataTableShimmer = "_dataTableShimmer_pscwk_1";
27
- const checkboxCell = "_checkboxCell_pscwk_280";
28
- const expandCell = "_expandCell_pscwk_286";
29
- const expandButton = "_expandButton_pscwk_292";
30
- const expandIcon = "_expandIcon_pscwk_325";
31
- const expandIconOpen = "_expandIconOpen_pscwk_331";
32
- const subRow = "_subRow_pscwk_335";
33
- const emptyState = "_emptyState_pscwk_342";
34
- const emptyMessage = "_emptyMessage_pscwk_349";
1
+ const wrapper = "_wrapper_1nxxb_1";
2
+ const table = "_table_1nxxb_11";
3
+ const caption = "_caption_1nxxb_19";
4
+ const captionHidden = "_captionHidden_1nxxb_28";
5
+ const sm = "_sm_1nxxb_40";
6
+ const th = "_th_1nxxb_40";
7
+ const td = "_td_1nxxb_41";
8
+ const md = "_md_1nxxb_46";
9
+ const thead = "_thead_1nxxb_52";
10
+ const headerRow = "_headerRow_1nxxb_58";
11
+ const headerContent = "_headerContent_1nxxb_78";
12
+ const thSortable = "_thSortable_1nxxb_84";
13
+ const sortButton = "_sortButton_1nxxb_88";
14
+ const sortIndicator = "_sortIndicator_1nxxb_127";
15
+ const tbody = "_tbody_1nxxb_154";
16
+ const row = "_row_1nxxb_159";
17
+ const clickable = "_clickable_1nxxb_170";
18
+ const selected = "_selected_1nxxb_184";
19
+ const striped = "_striped_1nxxb_198";
20
+ const bordered = "_bordered_1nxxb_214";
21
+ const fixedLayout = "_fixedLayout_1nxxb_221";
22
+ const densityCondensed = "_densityCondensed_1nxxb_225";
23
+ const densityRegular = "_densityRegular_1nxxb_229";
24
+ const densityRelaxed = "_densityRelaxed_1nxxb_233";
25
+ const truncate = "_truncate_1nxxb_257";
26
+ const skeletonBar = "_skeletonBar_1nxxb_263";
27
+ const dataTableShimmer = "_dataTableShimmer_1nxxb_1";
28
+ const checkboxCell = "_checkboxCell_1nxxb_288";
29
+ const expandCell = "_expandCell_1nxxb_294";
30
+ const expandButton = "_expandButton_1nxxb_300";
31
+ const expandIcon = "_expandIcon_1nxxb_333";
32
+ const expandIconOpen = "_expandIconOpen_1nxxb_339";
33
+ const subRow = "_subRow_1nxxb_343";
34
+ const emptyState = "_emptyState_1nxxb_350";
35
+ const emptyMessage = "_emptyMessage_1nxxb_357";
35
36
  const styles = {
36
37
  wrapper,
37
38
  table,
@@ -47,6 +48,7 @@ const styles = {
47
48
  thSortable,
48
49
  sortButton,
49
50
  sortIndicator,
51
+ tbody,
50
52
  row,
51
53
  clickable,
52
54
  selected,
@@ -98,6 +100,7 @@ export {
98
100
  striped,
99
101
  subRow,
100
102
  table,
103
+ tbody,
101
104
  td,
102
105
  th,
103
106
  thSortable,
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const root = "_root_1wv9j_1";
4
+ const full = "_full_1wv9j_10";
5
+ const narrow = "_narrow_1wv9j_14";
6
+ const header = "_header_1wv9j_18";
7
+ const description = "_description_1wv9j_19";
8
+ const content = "_content_1wv9j_20";
9
+ const footer = "_footer_1wv9j_21";
10
+ const styles = {
11
+ root,
12
+ full,
13
+ narrow,
14
+ header,
15
+ description,
16
+ content,
17
+ footer
18
+ };
19
+ exports.content = content;
20
+ exports.default = styles;
21
+ exports.description = description;
22
+ exports.footer = footer;
23
+ exports.full = full;
24
+ exports.header = header;
25
+ exports.narrow = narrow;
26
+ exports.root = root;
@@ -0,0 +1,26 @@
1
+ const root = "_root_1wv9j_1";
2
+ const full = "_full_1wv9j_10";
3
+ const narrow = "_narrow_1wv9j_14";
4
+ const header = "_header_1wv9j_18";
5
+ const description = "_description_1wv9j_19";
6
+ const content = "_content_1wv9j_20";
7
+ const footer = "_footer_1wv9j_21";
8
+ const styles = {
9
+ root,
10
+ full,
11
+ narrow,
12
+ header,
13
+ description,
14
+ content,
15
+ footer
16
+ };
17
+ export {
18
+ content,
19
+ styles as default,
20
+ description,
21
+ footer,
22
+ full,
23
+ header,
24
+ narrow,
25
+ root
26
+ };
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const jsxRuntime = require("react/jsx-runtime");
4
+ const React = require("react");
5
+ const index = require("../Stack/index.cjs");
6
+ const Main_module = require("./Main.module.scss.cjs");
7
+ function _interopNamespaceDefault(e) {
8
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
9
+ if (e) {
10
+ for (const k in e) {
11
+ if (k !== "default") {
12
+ const d = Object.getOwnPropertyDescriptor(e, k);
13
+ Object.defineProperty(n, k, d.get ? d : {
14
+ enumerable: true,
15
+ get: () => e[k]
16
+ });
17
+ }
18
+ }
19
+ }
20
+ n.default = e;
21
+ return Object.freeze(n);
22
+ }
23
+ const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
24
+ function joinClasses(...classes) {
25
+ return classes.filter(Boolean).join(" ");
26
+ }
27
+ const MainRoot = React__namespace.forwardRef(function MainRoot2({ as = "main", children, className, measure = "full", ...htmlProps }, ref) {
28
+ return /* @__PURE__ */ jsxRuntime.jsx(
29
+ index.Stack,
30
+ {
31
+ ...htmlProps,
32
+ ref,
33
+ as,
34
+ direction: "column",
35
+ gap: "lg",
36
+ className: joinClasses(
37
+ Main_module.default.root,
38
+ measure === "narrow" ? Main_module.default.narrow : Main_module.default.full,
39
+ className
40
+ ),
41
+ "data-main-measure": measure,
42
+ children
43
+ }
44
+ );
45
+ });
46
+ function MainHeader({
47
+ as = "header",
48
+ direction = "column",
49
+ gap = "sm",
50
+ className,
51
+ ...props
52
+ }) {
53
+ return /* @__PURE__ */ jsxRuntime.jsx(
54
+ index.Stack,
55
+ {
56
+ ...props,
57
+ as,
58
+ direction,
59
+ gap,
60
+ className: joinClasses(Main_module.default.header, className)
61
+ }
62
+ );
63
+ }
64
+ function MainDescription({
65
+ as = "div",
66
+ direction = "column",
67
+ gap = "xs",
68
+ className,
69
+ ...props
70
+ }) {
71
+ return /* @__PURE__ */ jsxRuntime.jsx(
72
+ index.Stack,
73
+ {
74
+ ...props,
75
+ as,
76
+ direction,
77
+ gap,
78
+ className: joinClasses(Main_module.default.description, className)
79
+ }
80
+ );
81
+ }
82
+ function MainContent({
83
+ as = "div",
84
+ direction = "column",
85
+ gap = "lg",
86
+ className,
87
+ ...props
88
+ }) {
89
+ return /* @__PURE__ */ jsxRuntime.jsx(
90
+ index.Stack,
91
+ {
92
+ ...props,
93
+ as,
94
+ direction,
95
+ gap,
96
+ className: joinClasses(Main_module.default.content, className)
97
+ }
98
+ );
99
+ }
100
+ function MainFooter({
101
+ as = "footer",
102
+ direction = "row",
103
+ gap = "sm",
104
+ justify = "end",
105
+ wrap = true,
106
+ className,
107
+ ...props
108
+ }) {
109
+ return /* @__PURE__ */ jsxRuntime.jsx(
110
+ index.Stack,
111
+ {
112
+ ...props,
113
+ as,
114
+ direction,
115
+ gap,
116
+ justify,
117
+ wrap,
118
+ className: joinClasses(Main_module.default.footer, className)
119
+ }
120
+ );
121
+ }
122
+ const Main = Object.assign(MainRoot, {
123
+ Header: MainHeader,
124
+ Description: MainDescription,
125
+ Content: MainContent,
126
+ Footer: MainFooter
127
+ });
128
+ exports.Main = Main;
@@ -0,0 +1,22 @@
1
+ import * as React from "react";
2
+ import { type StackProps } from "../Stack";
3
+ export type MainMeasure = "full" | "narrow";
4
+ export interface MainProps extends Omit<StackProps, "as" | "children" | "direction" | "gap"> {
5
+ as?: StackProps["as"];
6
+ children: React.ReactNode;
7
+ /** Maximum readable width for the page content. */
8
+ measure?: MainMeasure;
9
+ }
10
+ export type MainRegionProps = StackProps;
11
+ declare function MainHeader({ as, direction, gap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
12
+ declare function MainDescription({ as, direction, gap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
13
+ declare function MainContent({ as, direction, gap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
14
+ declare function MainFooter({ as, direction, gap, justify, wrap, className, ...props }: MainRegionProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare const Main: React.ForwardRefExoticComponent<MainProps & React.RefAttributes<HTMLElement>> & {
16
+ Header: typeof MainHeader;
17
+ Description: typeof MainDescription;
18
+ Content: typeof MainContent;
19
+ Footer: typeof MainFooter;
20
+ };
21
+ export {};
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Main/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE5C,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,CAAC;IAC1F,EAAE,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,mDAAmD;IACnD,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;AA6BzC,iBAAS,UAAU,CAAC,EAClB,EAAa,EACb,SAAoB,EACpB,GAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAUjB;AAED,iBAAS,eAAe,CAAC,EACvB,EAAU,EACV,SAAoB,EACpB,GAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAUjB;AAED,iBAAS,WAAW,CAAC,EACnB,EAAU,EACV,SAAoB,EACpB,GAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAUjB;AAED,iBAAS,UAAU,CAAC,EAClB,EAAa,EACb,SAAiB,EACjB,GAAU,EACV,OAAe,EACf,IAAW,EACX,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAYjB;AAED,eAAO,MAAM,IAAI;;;;;CAKf,CAAC"}
@@ -0,0 +1,111 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import * as React from "react";
3
+ import { Stack } from "../Stack/index.js";
4
+ import styles from "./Main.module.scss.js";
5
+ function joinClasses(...classes) {
6
+ return classes.filter(Boolean).join(" ");
7
+ }
8
+ const MainRoot = React.forwardRef(function MainRoot2({ as = "main", children, className, measure = "full", ...htmlProps }, ref) {
9
+ return /* @__PURE__ */ jsx(
10
+ Stack,
11
+ {
12
+ ...htmlProps,
13
+ ref,
14
+ as,
15
+ direction: "column",
16
+ gap: "lg",
17
+ className: joinClasses(
18
+ styles.root,
19
+ measure === "narrow" ? styles.narrow : styles.full,
20
+ className
21
+ ),
22
+ "data-main-measure": measure,
23
+ children
24
+ }
25
+ );
26
+ });
27
+ function MainHeader({
28
+ as = "header",
29
+ direction = "column",
30
+ gap = "sm",
31
+ className,
32
+ ...props
33
+ }) {
34
+ return /* @__PURE__ */ jsx(
35
+ Stack,
36
+ {
37
+ ...props,
38
+ as,
39
+ direction,
40
+ gap,
41
+ className: joinClasses(styles.header, className)
42
+ }
43
+ );
44
+ }
45
+ function MainDescription({
46
+ as = "div",
47
+ direction = "column",
48
+ gap = "xs",
49
+ className,
50
+ ...props
51
+ }) {
52
+ return /* @__PURE__ */ jsx(
53
+ Stack,
54
+ {
55
+ ...props,
56
+ as,
57
+ direction,
58
+ gap,
59
+ className: joinClasses(styles.description, className)
60
+ }
61
+ );
62
+ }
63
+ function MainContent({
64
+ as = "div",
65
+ direction = "column",
66
+ gap = "lg",
67
+ className,
68
+ ...props
69
+ }) {
70
+ return /* @__PURE__ */ jsx(
71
+ Stack,
72
+ {
73
+ ...props,
74
+ as,
75
+ direction,
76
+ gap,
77
+ className: joinClasses(styles.content, className)
78
+ }
79
+ );
80
+ }
81
+ function MainFooter({
82
+ as = "footer",
83
+ direction = "row",
84
+ gap = "sm",
85
+ justify = "end",
86
+ wrap = true,
87
+ className,
88
+ ...props
89
+ }) {
90
+ return /* @__PURE__ */ jsx(
91
+ Stack,
92
+ {
93
+ ...props,
94
+ as,
95
+ direction,
96
+ gap,
97
+ justify,
98
+ wrap,
99
+ className: joinClasses(styles.footer, className)
100
+ }
101
+ );
102
+ }
103
+ const Main = Object.assign(MainRoot, {
104
+ Header: MainHeader,
105
+ Description: MainDescription,
106
+ Content: MainContent,
107
+ Footer: MainFooter
108
+ });
109
+ export {
110
+ Main
111
+ };
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const wrapper = "_wrapper_kwz0l_1";
4
- const table = "_table_kwz0l_6";
5
- const caption = "_caption_kwz0l_14";
6
- const captionHidden = "_captionHidden_kwz0l_23";
7
- const sm = "_sm_kwz0l_35";
8
- const th = "_th_kwz0l_35";
9
- const td = "_td_kwz0l_36";
10
- const md = "_md_kwz0l_41";
11
- const compact = "_compact_kwz0l_47";
12
- const tabular = "_tabular_kwz0l_62";
13
- const thead = "_thead_kwz0l_66";
14
- const headerContent = "_headerContent_kwz0l_89";
15
- const row = "_row_kwz0l_95";
16
- const selected = "_selected_kwz0l_109";
17
- const tfoot = "_tfoot_kwz0l_123";
18
- const striped = "_striped_kwz0l_131";
19
- const tbody = "_tbody_kwz0l_131";
20
- const bordered = "_bordered_kwz0l_139";
3
+ const wrapper = "_wrapper_1talf_1";
4
+ const table = "_table_1talf_6";
5
+ const caption = "_caption_1talf_14";
6
+ const captionHidden = "_captionHidden_1talf_23";
7
+ const sm = "_sm_1talf_35";
8
+ const th = "_th_1talf_35";
9
+ const td = "_td_1talf_36";
10
+ const md = "_md_1talf_41";
11
+ const compact = "_compact_1talf_47";
12
+ const tabular = "_tabular_1talf_62";
13
+ const thead = "_thead_1talf_66";
14
+ const headerContent = "_headerContent_1talf_89";
15
+ const tbody = "_tbody_1talf_95";
16
+ const row = "_row_1talf_100";
17
+ const selected = "_selected_1talf_117";
18
+ const tfoot = "_tfoot_1talf_137";
19
+ const striped = "_striped_1talf_145";
20
+ const bordered = "_bordered_1talf_153";
21
21
  const styles = {
22
22
  wrapper,
23
23
  table,
@@ -31,11 +31,11 @@ const styles = {
31
31
  tabular,
32
32
  thead,
33
33
  headerContent,
34
+ tbody,
34
35
  row,
35
36
  selected,
36
37
  tfoot,
37
38
  striped,
38
- tbody,
39
39
  bordered
40
40
  };
41
41
  exports.bordered = bordered;
@@ -1,21 +1,21 @@
1
- const wrapper = "_wrapper_kwz0l_1";
2
- const table = "_table_kwz0l_6";
3
- const caption = "_caption_kwz0l_14";
4
- const captionHidden = "_captionHidden_kwz0l_23";
5
- const sm = "_sm_kwz0l_35";
6
- const th = "_th_kwz0l_35";
7
- const td = "_td_kwz0l_36";
8
- const md = "_md_kwz0l_41";
9
- const compact = "_compact_kwz0l_47";
10
- const tabular = "_tabular_kwz0l_62";
11
- const thead = "_thead_kwz0l_66";
12
- const headerContent = "_headerContent_kwz0l_89";
13
- const row = "_row_kwz0l_95";
14
- const selected = "_selected_kwz0l_109";
15
- const tfoot = "_tfoot_kwz0l_123";
16
- const striped = "_striped_kwz0l_131";
17
- const tbody = "_tbody_kwz0l_131";
18
- const bordered = "_bordered_kwz0l_139";
1
+ const wrapper = "_wrapper_1talf_1";
2
+ const table = "_table_1talf_6";
3
+ const caption = "_caption_1talf_14";
4
+ const captionHidden = "_captionHidden_1talf_23";
5
+ const sm = "_sm_1talf_35";
6
+ const th = "_th_1talf_35";
7
+ const td = "_td_1talf_36";
8
+ const md = "_md_1talf_41";
9
+ const compact = "_compact_1talf_47";
10
+ const tabular = "_tabular_1talf_62";
11
+ const thead = "_thead_1talf_66";
12
+ const headerContent = "_headerContent_1talf_89";
13
+ const tbody = "_tbody_1talf_95";
14
+ const row = "_row_1talf_100";
15
+ const selected = "_selected_1talf_117";
16
+ const tfoot = "_tfoot_1talf_137";
17
+ const striped = "_striped_1talf_145";
18
+ const bordered = "_bordered_1talf_153";
19
19
  const styles = {
20
20
  wrapper,
21
21
  table,
@@ -29,11 +29,11 @@ const styles = {
29
29
  tabular,
30
30
  thead,
31
31
  headerContent,
32
+ tbody,
32
33
  row,
33
34
  selected,
34
35
  tfoot,
35
36
  striped,
36
- tbody,
37
37
  bordered
38
38
  };
39
39
  export {
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "_root_jqtij_1";
4
- const title = "_title_jqtij_13";
5
- const list = "_list_jqtij_18";
6
- const item = "_item_jqtij_29";
7
- const groupHeaderRow = "_groupHeaderRow_jqtij_30";
8
- const link = "_link_jqtij_123";
9
- const linkLabel = "_linkLabel_jqtij_150";
10
- const leading = "_leading_jqtij_158";
11
- const trailing = "_trailing_jqtij_159";
12
- const active = "_active_jqtij_171";
13
- const groupHeader = "_groupHeader_jqtij_30";
14
- const groupHeaderInteractive = "_groupHeaderInteractive_jqtij_196";
15
- const groupHeaderActive = "_groupHeaderActive_jqtij_209";
16
- const groupChevron = "_groupChevron_jqtij_213";
17
- const groupLabel = "_groupLabel_jqtij_231";
3
+ const root = "_root_1bf9l_1";
4
+ const title = "_title_1bf9l_13";
5
+ const list = "_list_1bf9l_18";
6
+ const item = "_item_1bf9l_28";
7
+ const groupHeaderRow = "_groupHeaderRow_1bf9l_29";
8
+ const link = "_link_1bf9l_122";
9
+ const linkLabel = "_linkLabel_1bf9l_149";
10
+ const leading = "_leading_1bf9l_157";
11
+ const trailing = "_trailing_1bf9l_158";
12
+ const active = "_active_1bf9l_170";
13
+ const groupHeader = "_groupHeader_1bf9l_29";
14
+ const groupHeaderInteractive = "_groupHeaderInteractive_1bf9l_195";
15
+ const groupHeaderActive = "_groupHeaderActive_1bf9l_208";
16
+ const groupChevron = "_groupChevron_1bf9l_212";
17
+ const groupLabel = "_groupLabel_1bf9l_230";
18
18
  const styles = {
19
19
  root,
20
20
  title,
@@ -1,18 +1,18 @@
1
- const root = "_root_jqtij_1";
2
- const title = "_title_jqtij_13";
3
- const list = "_list_jqtij_18";
4
- const item = "_item_jqtij_29";
5
- const groupHeaderRow = "_groupHeaderRow_jqtij_30";
6
- const link = "_link_jqtij_123";
7
- const linkLabel = "_linkLabel_jqtij_150";
8
- const leading = "_leading_jqtij_158";
9
- const trailing = "_trailing_jqtij_159";
10
- const active = "_active_jqtij_171";
11
- const groupHeader = "_groupHeader_jqtij_30";
12
- const groupHeaderInteractive = "_groupHeaderInteractive_jqtij_196";
13
- const groupHeaderActive = "_groupHeaderActive_jqtij_209";
14
- const groupChevron = "_groupChevron_jqtij_213";
15
- const groupLabel = "_groupLabel_jqtij_231";
1
+ const root = "_root_1bf9l_1";
2
+ const title = "_title_1bf9l_13";
3
+ const list = "_list_1bf9l_18";
4
+ const item = "_item_1bf9l_28";
5
+ const groupHeaderRow = "_groupHeaderRow_1bf9l_29";
6
+ const link = "_link_1bf9l_122";
7
+ const linkLabel = "_linkLabel_1bf9l_149";
8
+ const leading = "_leading_1bf9l_157";
9
+ const trailing = "_trailing_1bf9l_158";
10
+ const active = "_active_1bf9l_170";
11
+ const groupHeader = "_groupHeader_1bf9l_29";
12
+ const groupHeaderInteractive = "_groupHeaderInteractive_1bf9l_195";
13
+ const groupHeaderActive = "_groupHeaderActive_1bf9l_208";
14
+ const groupChevron = "_groupChevron_1bf9l_212";
15
+ const groupLabel = "_groupLabel_1bf9l_230";
16
16
  const styles = {
17
17
  root,
18
18
  title,