@arbor-education/design-system.components 0.12.0 → 0.13.1

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 (177) hide show
  1. package/.agent-memory/blanche-designspert/MEMORY.md +189 -0
  2. package/.agent-memory/dorothy-fact-checker/MEMORY.md +228 -0
  3. package/.agent-memory/dorothy-fact-checker/numberinput_component.md +53 -0
  4. package/.agent-memory/dorothy-fact-checker/progress_component.md +36 -0
  5. package/.agent-memory/rose-storybookspert/MEMORY.md +105 -0
  6. package/.agent-memory/sophia-componentspert/MEMORY.md +34 -0
  7. package/{.claude/agent-memory → .agent-memory}/sophia-componentspert/components.md +170 -17
  8. package/{.claude → .gather}/agents/blanche-designspert.md +7 -2
  9. package/{.claude → .gather}/agents/dorothy-fact-checker.md +7 -2
  10. package/{.claude → .gather}/agents/rose-storybookspert.md +80 -11
  11. package/{.claude → .gather}/agents/sophia-componentspert.md +9 -4
  12. package/.gather/gather.yaml +9 -0
  13. package/{CLAUDE.md → .gather/instructions/project-overview.md} +42 -9
  14. package/{.claude → .gather}/skills/analyze-design/README.md +5 -0
  15. package/{.claude → .gather}/skills/analyze-design/SKILL.md +1 -1
  16. package/.gather/skills/analyze-design/meta.md +4 -0
  17. package/{.claude → .gather}/skills/create-page/README.md +5 -0
  18. package/{.claude → .gather}/skills/create-page/design-analysis-template.md +5 -0
  19. package/.gather/skills/create-page/meta.md +4 -0
  20. package/{.claude → .gather}/skills/create-page/page-template.scss +5 -0
  21. package/{.claude → .gather}/skills/create-page/page-template.tsx +5 -0
  22. package/{.claude → .gather}/skills/map-legacy/README.md +5 -0
  23. package/.gather/skills/map-legacy/meta.md +4 -0
  24. package/{.claude → .gather}/skills/migrate-page/README.md +5 -0
  25. package/.gather/skills/migrate-page/meta.md +4 -0
  26. package/.gather/skills/write-stories/README.md +157 -0
  27. package/.gather/skills/write-stories/SKILL.md +841 -0
  28. package/.gather/skills/write-stories/meta.md +4 -0
  29. package/.ralph/storybook-upgrade/knowledge.md +308 -0
  30. package/.ralph/storybook-upgrade/prd.json +777 -0
  31. package/.ralph/storybook-upgrade/progress.md +342 -0
  32. package/.storybook/DocsTemplate.tsx +122 -0
  33. package/.storybook/preview.ts +40 -0
  34. package/.stylelintignore +2 -0
  35. package/CHANGELOG.md +12 -0
  36. package/{.claude/component-library.md → component-library.md} +27 -10
  37. package/dist/components/badge/Badge.stories.d.ts +85 -6
  38. package/dist/components/badge/Badge.stories.d.ts.map +1 -1
  39. package/dist/components/badge/Badge.stories.js +626 -27
  40. package/dist/components/badge/Badge.stories.js.map +1 -1
  41. package/dist/components/banner/Banner.stories.d.ts +129 -63
  42. package/dist/components/banner/Banner.stories.d.ts.map +1 -1
  43. package/dist/components/banner/Banner.stories.js +855 -39
  44. package/dist/components/banner/Banner.stories.js.map +1 -1
  45. package/dist/components/button/Button.stories.d.ts +148 -8
  46. package/dist/components/button/Button.stories.d.ts.map +1 -1
  47. package/dist/components/button/Button.stories.js +1089 -80
  48. package/dist/components/button/Button.stories.js.map +1 -1
  49. package/dist/components/datePicker/DatePicker.d.ts +1 -0
  50. package/dist/components/datePicker/DatePicker.d.ts.map +1 -1
  51. package/dist/components/datePicker/DatePicker.js +2 -2
  52. package/dist/components/datePicker/DatePicker.js.map +1 -1
  53. package/dist/components/datePicker/DatePicker.stories.d.ts +1 -0
  54. package/dist/components/datePicker/DatePicker.stories.d.ts.map +1 -1
  55. package/dist/components/dot/Dot.stories.d.ts +46 -11
  56. package/dist/components/dot/Dot.stories.d.ts.map +1 -1
  57. package/dist/components/dot/Dot.stories.js +504 -15
  58. package/dist/components/dot/Dot.stories.js.map +1 -1
  59. package/dist/components/dropdown/Dropdown.stories.d.ts +89 -14
  60. package/dist/components/dropdown/Dropdown.stories.d.ts.map +1 -1
  61. package/dist/components/dropdown/Dropdown.stories.js +769 -17
  62. package/dist/components/dropdown/Dropdown.stories.js.map +1 -1
  63. package/dist/components/formField/FormField.stories.d.ts +95 -35
  64. package/dist/components/formField/FormField.stories.d.ts.map +1 -1
  65. package/dist/components/formField/FormField.stories.js +1174 -69
  66. package/dist/components/formField/FormField.stories.js.map +1 -1
  67. package/dist/components/formField/inputs/checkbox/CheckboxInput.stories.d.ts +96 -9
  68. package/dist/components/formField/inputs/checkbox/CheckboxInput.stories.d.ts.map +1 -1
  69. package/dist/components/formField/inputs/checkbox/CheckboxInput.stories.js +717 -10
  70. package/dist/components/formField/inputs/checkbox/CheckboxInput.stories.js.map +1 -1
  71. package/dist/components/formField/inputs/number/NumberInput.stories.d.ts +149 -11
  72. package/dist/components/formField/inputs/number/NumberInput.stories.d.ts.map +1 -1
  73. package/dist/components/formField/inputs/number/NumberInput.stories.js +624 -10
  74. package/dist/components/formField/inputs/number/NumberInput.stories.js.map +1 -1
  75. package/dist/components/formField/inputs/radio/RadioButtonInput.stories.d.ts +74 -1
  76. package/dist/components/formField/inputs/radio/RadioButtonInput.stories.d.ts.map +1 -1
  77. package/dist/components/formField/inputs/radio/RadioButtonInput.stories.js +673 -44
  78. package/dist/components/formField/inputs/radio/RadioButtonInput.stories.js.map +1 -1
  79. package/dist/components/formField/inputs/text/TextInput.stories.d.ts +119 -1
  80. package/dist/components/formField/inputs/text/TextInput.stories.d.ts.map +1 -1
  81. package/dist/components/formField/inputs/text/TextInput.stories.js +549 -10
  82. package/dist/components/formField/inputs/text/TextInput.stories.js.map +1 -1
  83. package/dist/components/formField/inputs/textArea/TextArea.stories.d.ts +129 -4
  84. package/dist/components/formField/inputs/textArea/TextArea.stories.d.ts.map +1 -1
  85. package/dist/components/formField/inputs/textArea/TextArea.stories.js +577 -3
  86. package/dist/components/formField/inputs/textArea/TextArea.stories.js.map +1 -1
  87. package/dist/components/heading/Heading.stories.d.ts +449 -50
  88. package/dist/components/heading/Heading.stories.d.ts.map +1 -1
  89. package/dist/components/heading/Heading.stories.js +536 -60
  90. package/dist/components/heading/Heading.stories.js.map +1 -1
  91. package/dist/components/icon/Icon.stories.d.ts +81 -10
  92. package/dist/components/icon/Icon.stories.d.ts.map +1 -1
  93. package/dist/components/icon/Icon.stories.js +979 -8
  94. package/dist/components/icon/Icon.stories.js.map +1 -1
  95. package/dist/components/pill/Pill.stories.d.ts +71 -19
  96. package/dist/components/pill/Pill.stories.d.ts.map +1 -1
  97. package/dist/components/pill/Pill.stories.js +573 -14
  98. package/dist/components/pill/Pill.stories.js.map +1 -1
  99. package/dist/components/progress/Progress.stories.d.ts +75 -298
  100. package/dist/components/progress/Progress.stories.d.ts.map +1 -1
  101. package/dist/components/progress/Progress.stories.js +449 -52
  102. package/dist/components/progress/Progress.stories.js.map +1 -1
  103. package/dist/components/separator/Separator.stories.d.ts +58 -5
  104. package/dist/components/separator/Separator.stories.d.ts.map +1 -1
  105. package/dist/components/separator/Separator.stories.js +443 -4
  106. package/dist/components/separator/Separator.stories.js.map +1 -1
  107. package/dist/components/table/Table.d.ts +7 -0
  108. package/dist/components/table/Table.d.ts.map +1 -1
  109. package/dist/components/table/Table.js +9 -0
  110. package/dist/components/table/Table.js.map +1 -1
  111. package/dist/components/table/Table.stories.d.ts +1 -0
  112. package/dist/components/table/Table.stories.d.ts.map +1 -1
  113. package/dist/components/table/Table.stories.js +87 -0
  114. package/dist/components/table/Table.stories.js.map +1 -1
  115. package/dist/components/table/Table.test.js +49 -1
  116. package/dist/components/table/Table.test.js.map +1 -1
  117. package/dist/components/table/cellEditors/DateCellEditor.d.ts +3 -0
  118. package/dist/components/table/cellEditors/DateCellEditor.d.ts.map +1 -0
  119. package/dist/components/table/cellEditors/DateCellEditor.js +13 -0
  120. package/dist/components/table/cellEditors/DateCellEditor.js.map +1 -0
  121. package/dist/components/table/cellEditors/DateCellEditor.test.d.ts +2 -0
  122. package/dist/components/table/cellEditors/DateCellEditor.test.d.ts.map +1 -0
  123. package/dist/components/table/cellEditors/DateCellEditor.test.js +81 -0
  124. package/dist/components/table/cellEditors/DateCellEditor.test.js.map +1 -0
  125. package/dist/components/tag/Tag.stories.d.ts +116 -5
  126. package/dist/components/tag/Tag.stories.d.ts.map +1 -1
  127. package/dist/components/tag/Tag.stories.js +581 -28
  128. package/dist/components/tag/Tag.stories.js.map +1 -1
  129. package/dist/index.css +8 -1
  130. package/dist/index.css.map +1 -1
  131. package/dist/index.d.ts +0 -5
  132. package/dist/index.d.ts.map +1 -1
  133. package/dist/index.js +0 -5
  134. package/dist/index.js.map +1 -1
  135. package/eslint.config.mts +5 -1
  136. package/package.json +3 -3
  137. package/src/components/badge/Badge.stories.tsx +869 -42
  138. package/src/components/banner/Banner.stories.tsx +1081 -63
  139. package/src/components/button/Button.stories.tsx +1394 -99
  140. package/src/components/datePicker/DatePicker.tsx +3 -0
  141. package/src/components/dot/Dot.stories.tsx +723 -32
  142. package/src/components/dropdown/Dropdown.stories.tsx +1174 -35
  143. package/src/components/formField/FormField.stories.tsx +1522 -105
  144. package/src/components/formField/inputs/checkbox/CheckboxInput.stories.tsx +1020 -15
  145. package/src/components/formField/inputs/number/NumberInput.stories.tsx +908 -15
  146. package/src/components/formField/inputs/radio/RadioButtonInput.stories.tsx +932 -51
  147. package/src/components/formField/inputs/text/TextInput.stories.tsx +773 -13
  148. package/src/components/formField/inputs/textArea/TextArea.stories.tsx +756 -8
  149. package/src/components/heading/Heading.stories.tsx +752 -120
  150. package/src/components/icon/Icon.stories.tsx +1446 -12
  151. package/src/components/pill/Pill.stories.tsx +867 -21
  152. package/src/components/progress/Progress.stories.tsx +625 -58
  153. package/src/components/separator/Separator.stories.tsx +730 -8
  154. package/src/components/separator/separator.scss +12 -3
  155. package/src/components/table/Table.stories.tsx +102 -0
  156. package/src/components/table/Table.test.tsx +82 -3
  157. package/src/components/table/Table.tsx +9 -0
  158. package/src/components/table/cellEditors/DateCellEditor.test.tsx +109 -0
  159. package/src/components/table/cellEditors/DateCellEditor.tsx +27 -0
  160. package/src/components/tag/Tag.stories.tsx +755 -53
  161. package/src/index.ts +0 -5
  162. package/.claude/agent-memory/blanche-designspert/MEMORY.md +0 -64
  163. package/.claude/agent-memory/dorothy-fact-checker/MEMORY.md +0 -129
  164. package/.claude/agent-memory/rose-storybookspert/MEMORY.md +0 -29
  165. package/.claude/agent-memory/sophia-componentspert/MEMORY.md +0 -14
  166. package/.claude/design-assessment-daily-attendance-2026-04-10.md +0 -566
  167. package/.claude/figma-assessment-7154-58899.md +0 -404
  168. package/.claude/figma-assessment-UKQfcxnT4rlHHNuiumt4o1-11086-97537.md +0 -392
  169. package/.claude/figma-assessment-UKQfcxnT4rlHHNuiumt4o1-551-41974.md +0 -474
  170. package/.claude/figma-assessment-UKQfcxnT4rlHHNuiumt4o1-551-43094.md +0 -462
  171. package/.claude/figma-assessment-fcFK4CGzkz2fVyY3koX8ZE-7154-59061.md +0 -440
  172. package/.claude/migration-report-custom-report-writer-2026-02-19.md +0 -591
  173. /package/{.claude/agent-memory → .agent-memory}/blanche-designspert/token-review-patterns.md +0 -0
  174. /package/{.claude/agent-memory → .agent-memory}/rose-storybookspert/patterns.md +0 -0
  175. /package/{.claude → .gather}/skills/create-page/SKILL.md +0 -0
  176. /package/{.claude → .gather}/skills/map-legacy/SKILL.md +0 -0
  177. /package/{.claude → .gather}/skills/migrate-page/SKILL.md +0 -0
@@ -1,12 +1,451 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Controls, Heading as DocHeading, Markdown, Primary as DocPrimary, Stories, Subtitle, Title, } from '@storybook/addon-docs/blocks';
1
3
  import { Separator } from './Separator';
4
+ // ---------------------------------------------------------------------------
5
+ // Docs page content
6
+ // ---------------------------------------------------------------------------
7
+ const DESCRIPTION_INTRO = [
8
+ 'Separator renders a thin horizontal rule between content sections. It is a lightweight wrapper',
9
+ 'around the [Radix UI Separator primitive](https://www.radix-ui.com/primitives/docs/components/separator)',
10
+ 'that adds the `ds-separator` class and forwards all props via `...rest`.',
11
+ ].join('\n');
12
+ const USAGE_GUIDANCE = [
13
+ '### Semantic vs decorative',
14
+ '',
15
+ 'The most important prop on Separator is `decorative`. It controls whether the line is communicated',
16
+ 'to assistive technologies:',
17
+ '',
18
+ '| decorative | Role in DOM | Screen reader behaviour |',
19
+ '|---|---|---|',
20
+ '| `false` (default) | `role="separator"` | Announces a thematic break — equivalent to `<hr>` |',
21
+ '| `true` | `role="none"` | Invisible to screen readers — purely presentational |',
22
+ '',
23
+ 'Ask yourself: "If this line were invisible, would a screen reader user miss the conceptual',
24
+ 'boundary?" If yes, use `decorative={false}`. If the surrounding headings or labels already',
25
+ 'communicate the grouping, use `decorative={true}`.',
26
+ '',
27
+ '---',
28
+ '',
29
+ '### When to use',
30
+ '',
31
+ '- **Between distinct content sections** — e.g. attendance summary and report notes on a student',
32
+ ' profile, where there is a genuine thematic break',
33
+ '- **Between navigation groups** — e.g. between Academic links and People links in a sidebar,',
34
+ ' when section headings alone are not enough',
35
+ '- **Vertical dividers** — e.g. separating a value from its unit inside a stat card',
36
+ '',
37
+ '---',
38
+ '',
39
+ '### When NOT to use',
40
+ '',
41
+ '| Scenario | Use instead |',
42
+ '|---|---|',
43
+ '| Inside a Dropdown menu | `Dropdown.Separator` (has its own `ds-dropdown__separator` styles) |',
44
+ '| Between every list item | Gap tokens (`var(--spacing-small)`) — separators between every item create visual noise |',
45
+ '| Between table rows | AG Grid\'s built-in row borders |',
46
+ '| Purely decorative colour block / hero divider | A styled `<div>` with an explicit `aria-hidden` |',
47
+ ].join('\n');
48
+ const DEVELOPER_NOTES = [
49
+ '### Vertical orientation',
50
+ '',
51
+ 'Use `orientation="vertical"` for inline dividers between labelled values. The component sizes',
52
+ 'itself to `width: 1px; height: 100%` — place it inside a flex container with an explicit height',
53
+ 'so the percentage resolves correctly:',
54
+ '',
55
+ '```tsx',
56
+ '<div style={{ display: "flex", alignItems: "center", height: "var(--spacing-xxxlarge)" }}>',
57
+ ' <span>Present</span>',
58
+ ' <Separator orientation="vertical" decorative />',
59
+ ' <span>32 students</span>',
60
+ '</div>',
61
+ '```',
62
+ '',
63
+ '---',
64
+ '',
65
+ '### Forwarded refs',
66
+ '',
67
+ 'The Arbor `Separator` wrapper does **not** use `forwardRef`. Do not attempt to attach a ref to',
68
+ 'this component — use a wrapping element if you need a DOM reference.',
69
+ '',
70
+ '---',
71
+ '',
72
+ '### API overview',
73
+ '',
74
+ 'All props are forwarded to the Radix `Root` element via `...rest`. See the',
75
+ '[Radix Separator docs](https://www.radix-ui.com/primitives/docs/components/separator) for the',
76
+ 'full prop list. Key props:',
77
+ '',
78
+ '| Prop | Type | Default | Description |',
79
+ '|---|---|---|---|',
80
+ '| `orientation` | `"horizontal" \\| "vertical"` | `"horizontal"` | Layout axis |',
81
+ '| `decorative` | `boolean` | `false` | When `true`, sets `role="none"` — hides from screen readers |',
82
+ '| `className` | `string` | — | Merged with `ds-separator` via `classnames` |',
83
+ ].join('\n');
84
+ const RELATED_COMPONENTS = [
85
+ '## Related components',
86
+ '',
87
+ '[Dropdown](?path=/docs/components-dropdown--docs) (use `Dropdown.Separator` inside menus) · [Section](?path=/docs/components-section--docs)',
88
+ ].join('\n');
89
+ const PROPS_INTRO = 'The preview below is wired to the **Controls** panel — tweak any prop to see the story update in real time.';
90
+ function SeparatorDocsPage() {
91
+ return (_jsxs(_Fragment, { children: [_jsx(Title, {}), _jsx(Subtitle, {}), _jsx(Markdown, { children: DESCRIPTION_INTRO }), _jsx(DocHeading, { children: "Interactive example" }), _jsx(Markdown, { children: PROPS_INTRO }), _jsx(DocPrimary, {}), _jsx(Controls, {}), _jsx(DocHeading, { children: "Usage guidance" }), _jsx(Markdown, { children: USAGE_GUIDANCE }), _jsx(DocHeading, { children: "Developer notes" }), _jsx(Markdown, { children: DEVELOPER_NOTES }), _jsx(DocHeading, { children: "Examples" }), _jsx(Stories, { title: "" }), _jsx(Markdown, { children: RELATED_COMPONENTS })] }));
92
+ }
93
+ // ---------------------------------------------------------------------------
94
+ // Meta
95
+ // ---------------------------------------------------------------------------
2
96
  const meta = {
3
97
  title: 'Components/Separator',
4
98
  component: Separator,
5
- };
6
- export const Default = {
7
- args: {
8
- title: 'titleValue',
99
+ tags: ['autodocs'],
100
+ parameters: {
101
+ docs: {
102
+ page: SeparatorDocsPage,
103
+ },
104
+ },
105
+ argTypes: {
106
+ orientation: {
107
+ control: 'radio',
108
+ options: ['horizontal', 'vertical'],
109
+ description: [
110
+ 'Controls the layout axis of the separator line.',
111
+ '`"horizontal"` (default) renders a full-width 1px horizontal rule.',
112
+ '`"vertical"` renders a 1px vertical line sized to `height: 100%` — place it inside a flex',
113
+ 'container with an explicit height so the percentage resolves correctly.',
114
+ ].join(' '),
115
+ table: {
116
+ type: { summary: '"horizontal" | "vertical"' },
117
+ defaultValue: { summary: '"horizontal"' },
118
+ },
119
+ },
120
+ decorative: {
121
+ control: 'boolean',
122
+ description: [
123
+ 'Controls whether the separator is communicated to assistive technologies.',
124
+ 'When `false` (default), the element renders with `role="separator"` — a screen reader',
125
+ 'announces a thematic break, equivalent to an `<hr>`.',
126
+ 'When `true`, the element renders with `role="none"` and is invisible to screen readers.',
127
+ 'Use `decorative={true}` only when the surrounding content (headings, labels) already',
128
+ 'communicates the grouping and the line is purely visual.',
129
+ ].join(' '),
130
+ table: {
131
+ type: { summary: 'boolean' },
132
+ defaultValue: { summary: 'false' },
133
+ },
134
+ },
135
+ className: {
136
+ control: 'text',
137
+ description: [
138
+ 'Additional CSS class merged with `ds-separator` via the `classnames` utility.',
139
+ 'This is the primary escape hatch for colour and spacing customisation — there are no',
140
+ '`--separator-*` design tokens.',
141
+ 'Common pattern: override `background-color` with a visible token such as',
142
+ '`var(--color-grey-200)` when the separator must be visible on the default page background.',
143
+ ].join(' '),
144
+ table: {
145
+ type: { summary: 'string' },
146
+ defaultValue: { summary: 'undefined' },
147
+ },
148
+ },
9
149
  },
10
150
  };
11
151
  export default meta;
152
+ // ---------------------------------------------------------------------------
153
+ // Helper: attach a per-story description to docs
154
+ // ---------------------------------------------------------------------------
155
+ const withDescription = (story, description) => ({
156
+ ...story,
157
+ parameters: {
158
+ ...story.parameters,
159
+ docs: {
160
+ ...story.parameters?.docs,
161
+ description: {
162
+ story: description,
163
+ },
164
+ },
165
+ },
166
+ });
167
+ // ---------------------------------------------------------------------------
168
+ // Stories
169
+ // ---------------------------------------------------------------------------
170
+ export const Default = withDescription({
171
+ args: {
172
+ orientation: 'horizontal',
173
+ decorative: false,
174
+ },
175
+ render: args => (_jsx("div", { style: { padding: 'var(--spacing-xlarge)' }, children: _jsx(Separator, { ...args, style: { backgroundColor: 'var(--color-grey-200)' } }) })),
176
+ }, [
177
+ 'The interactive canvas — every prop is wired to the Controls panel below.',
178
+ 'The separator is given `background-color: var(--color-grey-200)` via an inline style **in this',
179
+ 'story wrapper only** so it remains visible against the docs page background.',
180
+ 'In production, supply a visible colour through `className` — see the WithCustomSpacing story for',
181
+ 'the recommended pattern.',
182
+ ].join(' '));
183
+ export const Vertical = withDescription({
184
+ parameters: {
185
+ docs: {
186
+ source: {
187
+ language: 'tsx',
188
+ code: `
189
+ import { Separator } from '@arbor-education/design-system.components';
190
+
191
+ <div style={{ display: 'flex', alignItems: 'center', height: 'var(--spacing-xxxlarge)' }}>
192
+ <span>Present</span>
193
+ <Separator orientation="vertical" decorative style={{ backgroundColor: 'var(--color-grey-200)' }} />
194
+ <span>32 students</span>
195
+ <Separator orientation="vertical" decorative style={{ backgroundColor: 'var(--color-grey-200)' }} />
196
+ <span>Period 3</span>
197
+ </div>
198
+ `.trim(),
199
+ },
200
+ },
201
+ },
202
+ render: () => (_jsx("div", { style: { padding: 'var(--spacing-xlarge)' }, children: _jsxs("div", { style: {
203
+ display: 'flex',
204
+ alignItems: 'center',
205
+ height: 'var(--spacing-xxxlarge)',
206
+ gap: 0,
207
+ }, children: [_jsx("span", { className: "ds-text", children: "Present" }), _jsx(Separator, { orientation: "vertical", decorative: true, style: { backgroundColor: 'var(--color-grey-200)' } }), _jsx("span", { className: "ds-text", children: "32 students" }), _jsx(Separator, { orientation: "vertical", decorative: true, style: { backgroundColor: 'var(--color-grey-200)' } }), _jsx("span", { className: "ds-text", children: "Period 3" })] }) })),
208
+ }, [
209
+ '`orientation="vertical"` renders a 1px vertical line sized to `height: 100%`.',
210
+ 'Place it inside a flex container with an explicit height so the percentage resolves correctly.',
211
+ 'Vertical separators between labelled values are almost always presentational, so',
212
+ '`decorative={true}` is the right default — the surrounding labels already communicate the grouping.',
213
+ ].join(' '));
214
+ export const SemanticVsDecorative = withDescription({
215
+ parameters: {
216
+ controls: { disable: true },
217
+ docs: {
218
+ source: {
219
+ language: 'tsx',
220
+ code: `
221
+ import { Separator } from '@arbor-education/design-system.components';
222
+
223
+ {/* Semantic — announces a thematic break to screen readers */}
224
+ <p>Attendance for Year 10 — Week ending 18 April</p>
225
+ <Separator decorative={false} style={{ backgroundColor: 'var(--color-grey-200)' }} />
226
+ <p>Overall attendance: 94.2%</p>
227
+
228
+ {/* Decorative — invisible to screen readers; surrounding headings already communicate grouping */}
229
+ <p>Attendance for Year 10 — Week ending 18 April</p>
230
+ <Separator decorative style={{ backgroundColor: 'var(--color-grey-200)' }} />
231
+ <p>Overall attendance: 94.2%</p>
232
+ `.trim(),
233
+ },
234
+ },
235
+ },
236
+ render: () => (_jsxs("div", { style: { padding: 'var(--spacing-xlarge)' }, children: [_jsx("p", { className: "ds-text", style: {
237
+ marginTop: 0,
238
+ marginBottom: 'var(--spacing-large)',
239
+ color: 'var(--color-grey-600)',
240
+ fontSize: 'var(--font-size-1-11)',
241
+ }, children: "Open your browser DevTools and inspect the two separators \u2014 the role attribute is the only difference between them visually, but it matters enormously to screen reader users." }), _jsxs("div", { style: {
242
+ display: 'flex',
243
+ gap: 'var(--spacing-xxlarge)',
244
+ alignItems: 'flex-start',
245
+ }, children: [_jsxs("div", { style: { flex: 1 }, children: [_jsx("p", { className: "ds-text", style: {
246
+ marginTop: 0,
247
+ marginBottom: 'var(--spacing-small)',
248
+ color: 'var(--color-grey-600)',
249
+ fontSize: 'var(--font-size-1-11)',
250
+ }, children: "Semantic (decorative=false) \u2014 announces a thematic break" }), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 'var(--spacing-small)' }, children: "Attendance for Year 10 \u2014 Week ending 18 April" }), _jsx(Separator, { decorative: false, style: { backgroundColor: 'var(--color-grey-200)' } }), _jsx("p", { className: "ds-text", style: { marginTop: 'var(--spacing-small)', marginBottom: 0 }, children: "Overall attendance: 94.2%" }), _jsxs("p", { className: "ds-text", style: {
251
+ marginTop: 'var(--spacing-small)',
252
+ marginBottom: 0,
253
+ padding: 'var(--spacing-small)',
254
+ backgroundColor: 'var(--color-semantic-info-050)',
255
+ borderRadius: 'var(--border-radius-small)',
256
+ fontSize: 'var(--font-size-1-11)',
257
+ color: 'var(--color-semantic-info-800)',
258
+ }, children: ["DOM:", ' ', _jsx("code", { children: "role=\"separator\"" }), ' ', "\u2014 screen reader announces \"separator\" between the heading and the stat. Use this when the two sections would feel disconnected without the boundary signal."] })] }), _jsxs("div", { style: { flex: 1 }, children: [_jsx("p", { className: "ds-text", style: {
259
+ marginTop: 0,
260
+ marginBottom: 'var(--spacing-small)',
261
+ color: 'var(--color-grey-600)',
262
+ fontSize: 'var(--font-size-1-11)',
263
+ }, children: "Decorative (decorative=true) \u2014 invisible to screen readers" }), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 'var(--spacing-small)' }, children: "Attendance for Year 10 \u2014 Week ending 18 April" }), _jsx(Separator, { decorative: true, style: { backgroundColor: 'var(--color-grey-200)' } }), _jsx("p", { className: "ds-text", style: { marginTop: 'var(--spacing-small)', marginBottom: 0 }, children: "Overall attendance: 94.2%" }), _jsxs("p", { className: "ds-text", style: {
264
+ marginTop: 'var(--spacing-small)',
265
+ marginBottom: 0,
266
+ padding: 'var(--spacing-small)',
267
+ backgroundColor: 'var(--color-semantic-warning-050)',
268
+ borderRadius: 'var(--border-radius-small)',
269
+ fontSize: 'var(--font-size-1-11)',
270
+ color: 'var(--color-semantic-warning-800)',
271
+ }, children: ["DOM:", ' ', _jsx("code", { children: "role=\"none\"" }), ' ', "\u2014 screen reader skips this element entirely. Use this when surrounding headings or labels already communicate the grouping clearly."] })] })] })] })),
272
+ }, [
273
+ 'A side-by-side teaching example showing the only meaningful difference between `decorative={false}`',
274
+ 'and `decorative={true}`: the `role` attribute.',
275
+ 'Visually the two separators look identical — the distinction is entirely for assistive technology.',
276
+ 'Open DevTools and inspect the `<div>` elements to see `role="separator"` vs `role="none"`.',
277
+ 'Controls are disabled in this story because the layout is fixed for comparison purposes.',
278
+ ].join(' '));
279
+ export const BetweenContentSections = withDescription({
280
+ parameters: {
281
+ docs: {
282
+ source: {
283
+ language: 'tsx',
284
+ code: `
285
+ import { Separator } from '@arbor-education/design-system.components';
286
+
287
+ <div style={{ maxWidth: '40rem' }}>
288
+ <p><strong>Autumn Term — Attendance Summary</strong></p>
289
+ <p>
290
+ Emma Warwick has attended 87 out of 90 scheduled sessions this term, giving an overall
291
+ attendance rate of 96.7%. There were three absences recorded: two authorised and one
292
+ unauthorised on 3 November.
293
+ </p>
294
+ <Separator style={{ backgroundColor: 'var(--color-grey-200)' }} />
295
+ <p><strong>Head of Year Report</strong></p>
296
+ <p>
297
+ Emma is performing well across all subject areas and has been commended by her form tutor
298
+ for consistent effort.
299
+ </p>
300
+ </div>
301
+ `.trim(),
302
+ },
303
+ },
304
+ },
305
+ render: () => (_jsxs("div", { style: { padding: 'var(--spacing-xlarge)', maxWidth: '40rem' }, children: [_jsx("p", { className: "ds-text", style: { marginTop: 0 }, children: _jsx("strong", { children: "Autumn Term \u2014 Attendance Summary" }) }), _jsx("p", { className: "ds-text", children: "Emma Warwick has attended 87 out of 90 scheduled sessions this term, giving an overall attendance rate of 96.7%. There were three absences recorded: two authorised (medical appointment on 14 October, family holiday approved in advance on 21 October) and one unauthorised on 3 November. No lateness has been recorded." }), _jsx(Separator, { style: { backgroundColor: 'var(--color-grey-200)' } }), _jsx("p", { className: "ds-text", style: { marginTop: 'var(--spacing-small)' }, children: _jsx("strong", { children: "Head of Year Report" }) }), _jsx("p", { className: "ds-text", style: { marginBottom: 0 }, children: "Emma is performing well across all subject areas and has been commended by her form tutor for consistent effort. Her target grade for English is currently being reviewed following a strong performance in the mock assessment. No pastoral concerns have been raised this term." })] })),
306
+ }, [
307
+ 'A realistic school management scenario: a student profile with two distinct content sections.',
308
+ 'The attendance summary and the Head of Year report are genuinely separate topics — a semantic',
309
+ 'separator (`decorative={false}`, the default) is the right choice because a screen reader user',
310
+ 'benefits from knowing there is a thematic boundary between them.',
311
+ 'Notice that the separator owns its own vertical margin via `var(--spacing-small)` — do not add',
312
+ 'extra `margin-bottom` to the paragraph above or `margin-top` to the heading below.',
313
+ ].join(' '));
314
+ export const InMenuContext = withDescription({
315
+ parameters: {
316
+ docs: {
317
+ source: {
318
+ language: 'tsx',
319
+ code: `
320
+ import { Separator } from '@arbor-education/design-system.components';
321
+
322
+ <nav aria-label="School administration">
323
+ <p>Academic</p>
324
+ <ul>
325
+ <li><a href="#year-groups">Year groups</a></li>
326
+ <li><a href="#classes">Classes</a></li>
327
+ <li><a href="#subjects">Subjects</a></li>
328
+ <li><a href="#timetables">Timetables</a></li>
329
+ </ul>
330
+
331
+ {/*
332
+ decorative={true} — the bold section headings already communicate the grouping
333
+ to screen reader users, so role="separator" would be redundant noise.
334
+ */}
335
+ <Separator
336
+ decorative
337
+ style={{ backgroundColor: 'var(--color-grey-200)', margin: 'var(--spacing-large) 0' }}
338
+ />
339
+
340
+ <p>People</p>
341
+ <ul>
342
+ <li><a href="#students">Students</a></li>
343
+ <li><a href="#staff">Staff</a></li>
344
+ <li><a href="#guardians">Guardians</a></li>
345
+ </ul>
346
+ </nav>
347
+ `.trim(),
348
+ },
349
+ },
350
+ },
351
+ render: () => (_jsx("div", { style: {
352
+ padding: 'var(--spacing-xlarge)',
353
+ maxWidth: '14rem',
354
+ border: 'var(--border-weight) solid var(--color-grey-200)',
355
+ borderRadius: 'var(--border-radius-small)',
356
+ }, children: _jsxs("nav", { "aria-label": "School administration", children: [_jsx("p", { className: "ds-text", style: {
357
+ margin: '0 0 var(--spacing-small)',
358
+ fontSize: 'var(--font-size-2-13)',
359
+ fontWeight: 'var(--font-weight-semi-bold)',
360
+ color: 'var(--section-heading-color-text)',
361
+ textTransform: 'uppercase',
362
+ letterSpacing: '0.05em',
363
+ }, children: "Academic" }), _jsxs("ul", { style: { listStyle: 'none', margin: 0, padding: 0, display: 'flex', flexDirection: 'column', gap: 'var(--spacing-small)' }, children: [_jsx("li", { children: _jsx("a", { className: "ds-text", href: "#year-groups", children: "Year groups" }) }), _jsx("li", { children: _jsx("a", { className: "ds-text", href: "#classes", children: "Classes" }) }), _jsx("li", { children: _jsx("a", { className: "ds-text", href: "#subjects", children: "Subjects" }) }), _jsx("li", { children: _jsx("a", { className: "ds-text", href: "#timetables", children: "Timetables" }) })] }), _jsx(Separator, { decorative: true, style: { backgroundColor: 'var(--color-grey-200)', margin: 'var(--spacing-large) 0' } }), _jsx("p", { className: "ds-text", style: {
364
+ margin: '0 0 var(--spacing-small)',
365
+ fontSize: 'var(--font-size-2-13)',
366
+ fontWeight: 'var(--font-weight-semi-bold)',
367
+ color: 'var(--section-heading-color-text)',
368
+ textTransform: 'uppercase',
369
+ letterSpacing: '0.05em',
370
+ }, children: "People" }), _jsxs("ul", { style: { listStyle: 'none', margin: 0, padding: 0, display: 'flex', flexDirection: 'column', gap: 'var(--spacing-small)' }, children: [_jsx("li", { children: _jsx("a", { className: "ds-text", href: "#students", children: "Students" }) }), _jsx("li", { children: _jsx("a", { className: "ds-text", href: "#staff", children: "Staff" }) }), _jsx("li", { children: _jsx("a", { className: "ds-text", href: "#guardians", children: "Guardians" }) })] })] }) })),
371
+ }, [
372
+ 'A simulated school admin sidebar navigation with two groups — Academic and People — separated',
373
+ 'by a Separator.',
374
+ 'Here `decorative={true}` is the right choice: the bold section headings ("ACADEMIC", "PEOPLE")',
375
+ 'already communicate the grouping clearly to screen reader users.',
376
+ 'Adding `role="separator"` would be redundant noise — a screen reader would announce "separator"',
377
+ 'between two headings it can already distinguish from each other.',
378
+ 'This is the inverse of the BetweenContentSections story: when context already communicates',
379
+ 'structure, the separator is purely visual.',
380
+ '**Important:** do not use this pattern inside a `Dropdown` — use `Dropdown.Separator` instead,',
381
+ 'which carries its own `ds-dropdown__separator` styles.',
382
+ ].join(' '));
383
+ export const WithCustomSpacing = withDescription({
384
+ parameters: {
385
+ docs: {
386
+ source: {
387
+ language: 'tsx',
388
+ code: `
389
+ import { Separator } from '@arbor-education/design-system.components';
390
+
391
+ {/* Default — invisible on grey-050/white surfaces; no colour applied */}
392
+ <Separator />
393
+
394
+ {/* Visible separator via inline style (demo only — use className in production) */}
395
+ <Separator style={{ backgroundColor: 'var(--color-grey-200)' }} />
396
+
397
+ {/* Strong separator with extra vertical margin */}
398
+ <Separator style={{ backgroundColor: 'var(--color-grey-400)', margin: 'var(--spacing-large) 0' }} />
399
+
400
+ {/*
401
+ Recommended production pattern — apply overrides via className in your component SCSS:
402
+
403
+ .my-section__divider {
404
+ background-color: var(--color-grey-200);
405
+ margin: var(--spacing-large) 0;
406
+ }
407
+ */}
408
+ <Separator className="my-section__divider" />
409
+ `.trim(),
410
+ },
411
+ },
412
+ },
413
+ render: () => (_jsxs("div", { style: { padding: 'var(--spacing-xlarge)', maxWidth: '40rem' }, children: [_jsx("p", { className: "ds-text", style: {
414
+ marginTop: 0,
415
+ marginBottom: 'var(--spacing-large)',
416
+ color: 'var(--color-grey-600)',
417
+ fontSize: 'var(--font-size-1-11)',
418
+ }, children: "Three separators with different className overrides \u2014 colour and spacing via CSS tokens, never hardcoded px or hex values." }), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 0 }, children: "Default colour (invisible on grey-050 background)" }), _jsx(Separator, {}), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 'var(--spacing-xlarge)', fontStyle: 'italic', color: 'var(--color-grey-600)', fontSize: 'var(--font-size-1-11)' }, children: "Above: no className \u2014 separator is invisible because --page-base-color-border = --color-grey-050" }), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 0 }, children: "Visible separator (var(--color-grey-200))" }), _jsx(Separator, { style: { backgroundColor: 'var(--color-grey-200)' } }), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 'var(--spacing-xlarge)', fontStyle: 'italic', color: 'var(--color-grey-600)', fontSize: 'var(--font-size-1-11)' }, children: "Above: inline style used here for demo clarity \u2014 in production use className with a CSS token override" }), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 0 }, children: "Strong separator (var(--color-grey-400)) \u2014 for higher-contrast boundaries" }), _jsx(Separator, { style: { backgroundColor: 'var(--color-grey-400)', margin: 'var(--spacing-large) 0' } }), _jsx("p", { className: "ds-text", style: { marginTop: 0, marginBottom: 0, fontStyle: 'italic', color: 'var(--color-grey-600)', fontSize: 'var(--font-size-1-11)' }, children: "Above: increased vertical margin via inline style \u2014 in production override the margin in a className" }), _jsxs("div", { style: {
419
+ marginTop: 'var(--spacing-xlarge)',
420
+ padding: 'var(--spacing-large)',
421
+ backgroundColor: 'var(--color-semantic-info-050)',
422
+ borderRadius: 'var(--border-radius-small)',
423
+ border: 'var(--border-weight) solid var(--color-semantic-info-100)',
424
+ }, children: [_jsx("p", { className: "ds-text", style: { margin: '0 0 var(--spacing-small)', fontWeight: 'var(--font-weight-semi-bold)', color: 'var(--color-semantic-info-800)' }, children: "Recommended className pattern (production)" }), _jsxs("p", { className: "ds-text", style: { margin: 0, color: 'var(--color-semantic-info-800)', fontSize: 'var(--font-size-1-11)' }, children: ["There are no", ' ', _jsx("code", { children: "--separator-*" }), ' ', "tokens. Apply overrides via a custom class in your component SCSS:"] }), _jsx("pre", { style: {
425
+ margin: 'var(--spacing-small) 0 0',
426
+ padding: 'var(--spacing-small)',
427
+ backgroundColor: 'var(--color-semantic-info-100)',
428
+ borderRadius: 'var(--border-radius-small)',
429
+ fontSize: 'var(--font-size-1-11)',
430
+ color: 'var(--color-semantic-info-900)',
431
+ overflowX: 'auto',
432
+ }, children: _jsx("code", { children: '.my-section__divider { background-color: var(--color-grey-200); margin: var(--spacing-large) 0; }' }) }), _jsx("pre", { style: {
433
+ margin: 'var(--spacing-small) 0 0',
434
+ padding: 'var(--spacing-small)',
435
+ backgroundColor: 'var(--color-semantic-info-100)',
436
+ borderRadius: 'var(--border-radius-small)',
437
+ fontSize: 'var(--font-size-1-11)',
438
+ color: 'var(--color-semantic-info-900)',
439
+ overflowX: 'auto',
440
+ }, children: _jsx("code", { children: '<Separator className="my-section__divider" />' }) })] })] })),
441
+ }, [
442
+ 'Demonstrates the colour visibility problem head-on and shows the three-tier spectrum of',
443
+ '`background-color` overrides.',
444
+ 'The first separator is completely invisible — this is the default behaviour on any grey-050',
445
+ 'or white surface, and it trips up nearly every first-time consumer of this component.',
446
+ 'The second and third examples use inline styles for demo clarity only.',
447
+ 'In production, always reach for `className` with a custom CSS rule and design tokens — never',
448
+ 'hardcode hex values or pixel spacing.',
449
+ 'The callout at the bottom shows the exact SCSS + JSX pattern to copy into your component.',
450
+ ].join(' '));
12
451
  //# sourceMappingURL=Separator.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.stories.js","sourceRoot":"","sources":["../../../src/components/separator/Separator.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,IAAI,GAA2B;IACnC,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,SAAS;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE,YAAY;KACpB;CACF,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Separator.stories.js","sourceRoot":"","sources":["../../../src/components/separator/Separator.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EACR,OAAO,IAAI,UAAU,EACrB,QAAQ,EACR,OAAO,IAAI,UAAU,EACrB,OAAO,EACP,QAAQ,EACR,KAAK,GACN,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,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E,KAAK,EAAE;4BACL,MAAM,EAAE,0BAA0B;4BAClC,OAAO,EAAE,sBAAsB;4BAC/B,eAAe,EAAE,gCAAgC;4BACjD,YAAY,EAAE,4BAA4B;4BAC1C,QAAQ,EAAE,uBAAuB;4BACjC,KAAK,EAAE,gCAAgC;4BACvC,SAAS,EAAE,MAAM;yBAClB,YAED,yBACG,mGAAmG,GAC/F,GACH,EACN,cACE,KAAK,EAAE;4BACL,MAAM,EAAE,0BAA0B;4BAClC,OAAO,EAAE,sBAAsB;4BAC/B,eAAe,EAAE,gCAAgC;4BACjD,YAAY,EAAE,4BAA4B;4BAC1C,QAAQ,EAAE,uBAAuB;4BACjC,KAAK,EAAE,gCAAgC;4BACvC,SAAS,EAAE,MAAM;yBAClB,YAED,yBACG,+CAA+C,GAC3C,GACH,IACF,IACF,CACP;CACF,EACD;IACE,yFAAyF;IACzF,+BAA+B;IAC/B,6FAA6F;IAC7F,uFAAuF;IACvF,wEAAwE;IACxE,8FAA8F;IAC9F,uCAAuC;IACvC,2FAA2F;CAC5F,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { type GridApi } from 'ag-grid-enterprise';
1
2
  import { type AgGridReactProps } from 'ag-grid-react';
2
3
  import { type ReactNode } from 'react';
3
4
  import { type UseTableSettingsParams } from './useTableSettings';
@@ -32,6 +33,12 @@ export declare const Table: {
32
33
  ButtonCellRenderer: (props: import("ag-grid-react").CustomCellRendererProps<any, any, any> & {
33
34
  value: import("../button/Button").ButtonProps;
34
35
  }) => import("react/jsx-runtime").JSX.Element;
36
+ BooleanCellRenderer: (props: import("ag-grid-react").CustomCellRendererProps) => import("react/jsx-runtime").JSX.Element | null;
37
+ DefaultCellRenderer: (props: import("ag-grid-react").CustomCellRendererProps) => import("react/jsx-runtime").JSX.Element;
38
+ DateCellEditor: (props: import("ag-grid-react").CustomCellEditorProps) => import("react/jsx-runtime").JSX.Element;
39
+ DefaultColDef: import("ag-grid-enterprise").ColDef<any, any>;
40
+ GridApiContext: import("react").Context<GridApi<any> | null>;
41
+ CheckboxCellRenderer: (props: import("ag-grid-react").CustomCellRendererProps) => import("react/jsx-runtime").JSX.Element;
35
42
  DefaultValueFormatter: import("ag-grid-enterprise").ValueFormatterFunc<any, any, any>;
36
43
  TableSettingsDropdown: () => import("react/jsx-runtime").JSX.Element;
37
44
  TableControls: (props: TableControlsProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/table/Table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGnE,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAUzD,OAAO,EAAoB,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAYnF,OAAO,EAAiB,KAAK,kBAAkB,EAAE,KAAK,UAAU,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1H,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAM9C,KAAK,UAAU,CAAC,KAAK,GAAG,GAAG,IAAI;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wCAAwC,CAAC,EAAE,OAAO,CAAC;IACnD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,sBAAsB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAMr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AO,CAAC;IACnD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,sBAAsB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAMrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,KAAK;YAAW,UAAU;;;;;;;;;;;;;;;;;;;;;;;;CAqJtC,CAAC;AAqBF,yBAAiB,KAAK,CAAC;IAErB,KAAY,KAAK,CAAC,KAAK,GAAG,GAAG,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC;IACnD,KAAY,aAAa,GAAG,kBAAkB,CAAC;IAC/C,KAAY,UAAU,GAAG,cAAc,CAAC;IACxC,KAAY,gBAAgB,GAAG,wBAAwB,CAAC;IACxD,KAAY,OAAO,GAAG,aAAa,CAAC;CACrC"}
@@ -24,12 +24,14 @@ import { tidyTheme } from './theme/tidyTheme';
24
24
  import { focusFirstFocusableElement } from '../../utils/focusFirstFocusableElement';
25
25
  import { BooleanFilter } from './columnFilters/BooleanFilter/BooleanFilter';
26
26
  import { TimeFilter } from './columnFilters/TimeFilter/TimeFilter';
27
+ import { DateCellEditor } from './cellEditors/DateCellEditor';
27
28
  import { TableSettingsDropdown } from './tableControls/TableSettingsDropdown';
28
29
  import { TableControls } from './tableControls/TableControls';
29
30
  import { TABLE_SPACING } from './tableConsts';
30
31
  import { TableSettingsContext } from './TableSettingsContext';
31
32
  import { BooleanCellRenderer } from './cellRenderers/BooleanCellRenderer';
32
33
  import { CheckboxCellRenderer } from './cellRenderers/CheckboxCellRenderer';
34
+ import { DefaultCellRenderer } from './cellRenderers/DefaultCellRenderer';
33
35
  setAgGridLicenseKey();
34
36
  ModuleRegistry.registerModules([AllEnterpriseModule]);
35
37
  export { TableSettingsContext } from './TableSettingsContext';
@@ -94,6 +96,7 @@ export const Table = (props) => {
94
96
  dsSelectDropdownCellRenderer: SelectDropdownCellRenderer,
95
97
  dsBooleanFilter: BooleanFilter,
96
98
  dsTimeFilter: TimeFilter,
99
+ dsDateCellEditor: DateCellEditor,
97
100
  dsCheckboxCellRenderer: CheckboxCellRenderer,
98
101
  dsBooleanCellRenderer: BooleanCellRenderer,
99
102
  ...components,
@@ -106,6 +109,12 @@ Table.RowCountInfo = RowCountInfo;
106
109
  Table.BulkActionsDropdown = BulkActionsDropdown;
107
110
  Table.HideColumnsDropdown = HideColumnsDropdown;
108
111
  Table.ButtonCellRenderer = ButtonCellRenderer;
112
+ Table.BooleanCellRenderer = BooleanCellRenderer;
113
+ Table.DefaultCellRenderer = DefaultCellRenderer;
114
+ Table.DateCellEditor = DateCellEditor;
115
+ Table.DefaultColDef = DSDefaultColDef;
116
+ Table.GridApiContext = GridApiContext;
117
+ Table.CheckboxCellRenderer = CheckboxCellRenderer;
109
118
  Table.DefaultValueFormatter = defaultValueFormatter;
110
119
  Table.TableSettingsDropdown = TableSettingsDropdown;
111
120
  Table.TableControls = TableControls;
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../src/components/table/Table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAgB,MAAM,oBAAoB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAyB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAA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ACd,KACG,IAAI,KACJ,CAAC,SAAS,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,GACnD,EACD,aAAa,IAAI,CAChB,KAAC,WAAW,mBAAc,YAAY,YACnC,aAAa,GACF,CACf,IACO,GACoB,GACR,CAC3B,CAAC;AACJ,CAAC,CAAC;AAEF,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC;AACxC,KAAK,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;AAC1C,KAAK,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC9C,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC;AAClC,KAAK,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAChD,KAAK,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAChD,KAAK,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC9C,KAAK,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAChD,KAAK,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAChD,KAAK,CAAC,cAAc,GAAG,cAAc,CAAC;AACtC,KAAK,CAAC,aAAa,GAAG,eAAe,CAAC;AACtC,KAAK,CAAC,cAAc,GAAG,cAAc,CAAC;AACtC,KAAK,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;AAClD,KAAK,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;AACpD,KAAK,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;AACpD,KAAK,CAAC,aAAa,GAAG,aAAa,CAAC;AAEpC,KAAK,CAAC,OAAO,GAAG,aAAa,CAAC"}
@@ -27,6 +27,7 @@ export declare const WithValidationClassesAdded: Story;
27
27
  export declare const TidyTable: Story;
28
28
  export declare const TableWithExplicitColours: Story;
29
29
  export declare const TableWithSemanticColors: Story;
30
+ export declare const WithDateCellEditor: Story;
30
31
  export declare const WithBooleanCellRenderer: Story;
31
32
  export declare const WithCheckboxCellRenderer: Story;
32
33
  export default meta;
@@ -1 +1 @@
1
- {"version":3,"file":"Table.stories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