@tcn/ui 0.13.1 → 0.15.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/README.md +1 -1
- package/dist/{Color-6BZIO3FS-C9xkPWgz.js → Color-6BZIO3FS-CKNkzBV6.js} +2 -2
- package/dist/{Color-6BZIO3FS-C9xkPWgz.js.map → Color-6BZIO3FS-CKNkzBV6.js.map} +1 -1
- package/dist/{WithTooltip-65CFNBJE-DEnh547F.js → WithTooltip-65CFNBJE-Bgt57Jw2.js} +2 -2
- package/dist/WithTooltip-65CFNBJE-Bgt57Jw2.js.map +1 -0
- package/dist/actions/__docs__/components/showcase.js +1 -1
- package/dist/actions/button/button_group/button_group.d.ts +1 -0
- package/dist/actions/button/button_group/button_group.d.ts.map +1 -1
- package/dist/actions/button/button_group/button_group.js +33 -30
- package/dist/actions/button/button_group/button_group.js.map +1 -1
- package/dist/actions/types.js +2 -0
- package/dist/actions/types.js.map +1 -0
- package/dist/aside.css +1 -1
- package/dist/containers.css +1 -0
- package/dist/containers.module-DlGySre0.js +5 -0
- package/dist/containers.module-DlGySre0.js.map +1 -0
- package/dist/floating_action_button.css +1 -0
- package/dist/form/field/common/types.js +2 -0
- package/dist/form/field/common/types.js.map +1 -0
- package/dist/form/field_set/field_set.d.ts.map +1 -1
- package/dist/form/field_set/field_set.js +11 -11
- package/dist/form/field_set/field_set.js.map +1 -1
- package/dist/formatter-EIJCOSYU-ByaSCvt6.js +6 -0
- package/dist/formatter-EIJCOSYU-ByaSCvt6.js.map +1 -0
- package/dist/inputs/mask_input/mask_config.js +2 -0
- package/dist/inputs/mask_input/mask_config.js.map +1 -0
- package/dist/inputs/mask_input/mask_cursor.js +2 -0
- package/dist/inputs/mask_input/mask_cursor.js.map +1 -0
- package/dist/inputs/multiselect/multiselect_inline_values.js +9 -7
- package/dist/inputs/multiselect/multiselect_inline_values.js.map +1 -1
- package/dist/inputs/multiselect/multiselect_values.js +4 -2
- package/dist/inputs/multiselect/multiselect_values.js.map +1 -1
- package/dist/layouts/containers/rail.d.ts.map +1 -0
- package/dist/layouts/containers/rail.js +67 -0
- package/dist/layouts/containers/rail.js.map +1 -0
- package/dist/layouts/containers/scaffold.d.ts.map +1 -0
- package/dist/layouts/containers/scaffold.js +67 -0
- package/dist/layouts/containers/scaffold.js.map +1 -0
- package/dist/layouts/containers/side/side.d.ts.map +1 -0
- package/dist/layouts/containers/side/side.js +22 -0
- package/dist/layouts/containers/side/side.js.map +1 -0
- package/dist/layouts/containers/utility_strip/utility_strip.d.ts.map +1 -0
- package/dist/layouts/{rail → containers}/utility_strip/utility_strip.js +5 -5
- package/dist/layouts/containers/utility_strip/utility_strip.js.map +1 -0
- package/dist/layouts/index.d.ts +5 -8
- package/dist/layouts/index.d.ts.map +1 -1
- package/dist/layouts/index.js +36 -38
- package/dist/layouts/index.js.map +1 -1
- package/dist/layouts/section/detail.d.ts +4 -0
- package/dist/layouts/section/detail.d.ts.map +1 -0
- package/dist/layouts/section/detail.js +11 -0
- package/dist/layouts/section/detail.js.map +1 -0
- package/dist/layouts/section/heading.js +1 -1
- package/dist/layouts/section/index.d.ts +4 -0
- package/dist/layouts/section/index.d.ts.map +1 -0
- package/dist/layouts/section/index.js +9 -0
- package/dist/layouts/section/index.js.map +1 -0
- package/dist/layouts/section/section.js +1 -1
- package/dist/mobile/actions/button/mobile_button.d.ts +6 -0
- package/dist/mobile/actions/button/mobile_button.d.ts.map +1 -0
- package/dist/mobile/actions/button/mobile_button.js +21 -0
- package/dist/mobile/actions/button/mobile_button.js.map +1 -0
- package/dist/mobile/actions/floating_action_button/floating_action_button.d.ts +6 -0
- package/dist/mobile/actions/floating_action_button/floating_action_button.d.ts.map +1 -0
- package/dist/mobile/actions/floating_action_button/floating_action_button.js +20 -0
- package/dist/mobile/actions/floating_action_button/floating_action_button.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker.d.ts +17 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker.js +80 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_body.d.ts +7 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_body.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_body.js +35 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_body.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_date.d.ts +8 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_date.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_date.js +74 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_date.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_day.d.ts +6 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_day.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_day.js +39 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_day.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_header.d.ts +9 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_header.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_header.js +163 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_header.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_input.d.ts +9 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_input.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_input.js +190 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_input.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_time_selector.d.ts +11 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_time_selector.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_time_selector.js +50 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_time_selector.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_year_selector.d.ts +7 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_year_selector.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_year_selector.js +109 -0
- package/dist/mobile/inputs/date_picker/mobile_date_picker_year_selector.js.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_overlay_header.d.ts +6 -0
- package/dist/mobile/inputs/date_picker/mobile_overlay_header.d.ts.map +1 -0
- package/dist/mobile/inputs/date_picker/mobile_overlay_header.js +34 -0
- package/dist/mobile/inputs/date_picker/mobile_overlay_header.js.map +1 -0
- package/dist/mobile/inputs/index.d.ts +5 -0
- package/dist/mobile/inputs/index.d.ts.map +1 -0
- package/dist/mobile/inputs/index.js +11 -0
- package/dist/mobile/inputs/index.js.map +1 -0
- package/dist/mobile/portal/mobile_portal.d.ts +5 -0
- package/dist/mobile/portal/mobile_portal.d.ts.map +1 -0
- package/dist/mobile/portal/mobile_portal.js +10 -0
- package/dist/mobile/portal/mobile_portal.js.map +1 -0
- package/dist/mobile/viewport/mobile_viewport.d.ts +21 -0
- package/dist/mobile/viewport/mobile_viewport.d.ts.map +1 -0
- package/dist/mobile/viewport/mobile_viewport.js +31 -0
- package/dist/mobile/viewport/mobile_viewport.js.map +1 -0
- package/dist/mobile_button.css +1 -0
- package/dist/mobile_date_picker.css +1 -0
- package/dist/mobile_date_picker_date.css +1 -0
- package/dist/mobile_date_picker_day.css +1 -0
- package/dist/mobile_date_picker_header.css +1 -0
- package/dist/mobile_date_picker_input.css +1 -0
- package/dist/mobile_date_picker_time_selector.css +1 -0
- package/dist/mobile_date_picker_year_selector.css +1 -0
- package/dist/mobile_overlay_header.css +1 -0
- package/dist/mobile_viewport.css +1 -0
- package/dist/navigation/tabs/state/link/use_tab_link.d.ts +2 -1
- package/dist/navigation/tabs/state/link/use_tab_link.d.ts.map +1 -1
- package/dist/navigation/tabs/state/link/use_tab_link.js.map +1 -1
- package/dist/overlay/tethered/types.js +2 -0
- package/dist/overlay/tethered/types.js.map +1 -0
- package/dist/panel.css +1 -1
- package/dist/phone_number_input.css +1 -1
- package/dist/section.css +1 -1
- package/dist/section.module-BXlxYmJK.js +5 -0
- package/dist/section.module-BXlxYmJK.js.map +1 -0
- package/dist/{showcase-y9D3_Y8T.js → showcase-DBFp_Epk.js} +94 -94
- package/dist/showcase-DBFp_Epk.js.map +1 -0
- package/dist/side.css +1 -1
- package/dist/stacks/box/handle_props.js +2 -0
- package/dist/stacks/box/handle_props.js.map +1 -0
- package/dist/stacks/box/types.js +2 -0
- package/dist/stacks/box/types.js.map +1 -0
- package/dist/surfaces/aside/aside.d.ts +1 -1
- package/dist/surfaces/aside/aside.d.ts.map +1 -1
- package/dist/surfaces/aside/aside.js +1 -1
- package/dist/surfaces/aside/aside.js.map +1 -1
- package/dist/surfaces/card/card.d.ts +1 -1
- package/dist/surfaces/card/card.d.ts.map +1 -1
- package/dist/surfaces/card/card.js +1 -1
- package/dist/surfaces/card/card.js.map +1 -1
- package/dist/surfaces/drawers/drawer.js +1 -1
- package/dist/surfaces/drawers/drawer.js.map +1 -1
- package/dist/surfaces/modal/modal.js +1 -1
- package/dist/surfaces/modal/modal.js.map +1 -1
- package/dist/surfaces/page/page.d.ts +1 -1
- package/dist/surfaces/page/page.d.ts.map +1 -1
- package/dist/surfaces/page/page.js +1 -1
- package/dist/surfaces/page/page.js.map +1 -1
- package/dist/surfaces/panel/panel.d.ts +1 -1
- package/dist/surfaces/panel/panel.d.ts.map +1 -1
- package/dist/surfaces/panel/panel.js +1 -1
- package/dist/surfaces/panel/panel.js.map +1 -1
- package/dist/surfaces/pop_confirm/pop_confirm.js +8 -9
- package/dist/surfaces/pop_confirm/pop_confirm.js.map +1 -1
- package/dist/surfaces/window/window.js +1 -1
- package/dist/surfaces/window/window.js.map +1 -1
- package/dist/{syntaxhighlighter-ED5Y7EFY-CqInEOwQ.js → syntaxhighlighter-ED5Y7EFY-B0ag_7lq.js} +2 -2
- package/dist/syntaxhighlighter-ED5Y7EFY-B0ag_7lq.js.map +1 -0
- package/dist/term.css +1 -0
- package/dist/themes/build_stylesheet.d.ts +2 -0
- package/dist/themes/build_stylesheet.d.ts.map +1 -0
- package/dist/themes/build_stylesheet.js +9 -0
- package/dist/themes/build_stylesheet.js.map +1 -0
- package/dist/themes/theme_variables.d.ts +7 -0
- package/dist/themes/theme_variables.d.ts.map +1 -1
- package/dist/themes/theme_variables.js +16 -9
- package/dist/themes/theme_variables.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 +314 -154
- package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
- package/dist/themes/themes/ergo/tokens/system_tokens.css +1 -0
- package/dist/themes/themes/ergo/tokens/theme_tokens.css +1 -0
- package/dist/tokens/index.d.ts +1 -0
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +4 -2
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/key/key.d.ts +8 -1
- package/dist/tokens/key/key.d.ts.map +1 -1
- package/dist/tokens/key/key.js +20 -3
- package/dist/tokens/key/key.js.map +1 -1
- package/dist/tokens/term/term.d.ts +4 -0
- package/dist/tokens/term/term.d.ts.map +1 -0
- package/dist/tokens/term/term.js +20 -0
- package/dist/tokens/term/term.js.map +1 -0
- package/dist/tokens/value/value.d.ts +8 -1
- package/dist/tokens/value/value.d.ts.map +1 -1
- package/dist/tokens/value/value.js +23 -5
- package/dist/tokens/value/value.js.map +1 -1
- package/dist/utility_strip.css +1 -1
- package/dist/utils/calendar/calendar_date.js +2 -0
- package/dist/utils/calendar/calendar_date.js.map +1 -0
- package/dist/utils/dnd/types.js +2 -0
- package/dist/utils/dnd/types.js.map +1 -0
- package/dist/utils/types/variations.d.ts +1 -0
- package/dist/utils/types/variations.d.ts.map +1 -1
- package/dist/value.css +1 -0
- package/dist/value.module-DFaCouFD.js +5 -0
- package/dist/value.module-DFaCouFD.js.map +1 -0
- package/package.json +17 -16
- package/src/actions/button/button_group/button_group.tsx +18 -10
- package/src/form/field_set/field_set.tsx +4 -2
- package/src/inputs/phone_number_input/phone_number_input.module.css +7 -5
- package/src/layouts/__stories__/composed.stories.tsx +13 -8
- package/src/layouts/__stories__/composed_stories.module.css +1 -0
- package/src/layouts/__stories__/rail.stories.tsx +23 -25
- package/src/layouts/__stories__/scaffold.stories.tsx +21 -41
- package/src/layouts/__stories__/utils/layout_theme.css +0 -4
- package/src/layouts/__stories__/utils/layout_theme_provider.tsx +8 -1
- package/src/layouts/__stories__/utils.tsx +15 -29
- package/src/layouts/containers/containers.module.css +55 -0
- package/src/layouts/{rail → containers}/rail.tsx +15 -5
- package/src/layouts/{scaffold → containers}/scaffold.tsx +15 -5
- package/src/layouts/{rail → containers}/side/side.tsx +2 -1
- package/src/layouts/index.ts +6 -8
- package/src/layouts/section/__stories__/section.stories.tsx +79 -50
- package/src/layouts/section/detail.tsx +14 -0
- package/src/layouts/section/index.ts +3 -0
- package/src/layouts/section/section.module.css +0 -36
- package/src/mobile/actions/button/mobile_button.module.css +34 -0
- package/src/mobile/actions/button/mobile_button.stories.tsx +97 -0
- package/src/mobile/actions/button/mobile_button.tsx +26 -0
- package/src/mobile/actions/floating_action_button/floating_action_button.module.css +28 -0
- package/src/mobile/actions/floating_action_button/floating_action_button.stories.tsx +102 -0
- package/src/mobile/actions/floating_action_button/floating_action_button.tsx +25 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker.module.css +22 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker.tsx +118 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_body.tsx +57 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_date.module.css +80 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_date.tsx +102 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_day.module.css +6 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_day.tsx +40 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_header.module.css +21 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_header.tsx +180 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_input.module.css +13 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_input.stories.tsx +27 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_input.tsx +240 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_time_selector.module.css +7 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_time_selector.tsx +81 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_year_selector.module.css +55 -0
- package/src/mobile/inputs/date_picker/mobile_date_picker_year_selector.tsx +119 -0
- package/src/mobile/inputs/date_picker/mobile_overlay_header.module.css +5 -0
- package/src/mobile/inputs/date_picker/mobile_overlay_header.tsx +29 -0
- package/src/mobile/inputs/index.ts +4 -0
- package/src/mobile/portal/mobile_portal.tsx +14 -0
- package/src/mobile/viewport/mobile_viewport.module.css +23 -0
- package/src/mobile/viewport/mobile_viewport.tsx +80 -0
- package/src/navigation/tabs/state/link/use_tab_link.ts +1 -1
- package/src/overlay/slide/slide.stories.tsx +6 -9
- package/src/surfaces/aside/aside.module.css +1 -0
- package/src/surfaces/aside/aside.stories.tsx +24 -38
- package/src/surfaces/aside/aside.tsx +1 -1
- package/src/surfaces/card/card.stories.tsx +5 -7
- package/src/surfaces/card/card.tsx +1 -1
- package/src/surfaces/drawers/drawer.stories.tsx +10 -13
- package/src/surfaces/drawers/drawer.tsx +1 -1
- package/src/surfaces/modal/__stories__/modal.stories.tsx +10 -13
- package/src/surfaces/modal/modal.tsx +1 -1
- package/src/surfaces/page/page.stories.tsx +28 -32
- package/src/surfaces/page/page.tsx +1 -1
- package/src/surfaces/panel/__stories__/panel.stories.tsx +199 -66
- package/src/surfaces/panel/panel.module.css +1 -1
- package/src/surfaces/panel/panel.tsx +1 -1
- package/src/surfaces/pop_confirm/pop_confirm.stories.tsx +29 -37
- package/src/surfaces/tooltip/__stories__/tooltip.stories.tsx +8 -10
- package/src/surfaces/window/window.stories.tsx +6 -15
- package/src/surfaces/window/window.tsx +1 -1
- package/src/themes/build_stylesheet.ts +5 -0
- package/src/themes/theme_variables.ts +9 -0
- package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_card.tsx +6 -8
- package/src/themes/themes/ergo/__stories__/material.stories.tsx +4 -6
- package/src/themes/themes/ergo/ergo_theme.css +208 -215
- package/src/themes/themes/ergo/ergo_theme.ts +4 -2
- package/src/themes/themes/ergo/tokens/system_tokens.css +68 -0
- package/src/themes/themes/ergo/tokens/theme_tokens.css +99 -0
- package/src/tokens/index.ts +1 -0
- package/src/tokens/key/key.tsx +23 -2
- package/src/tokens/term/term.module.css +14 -0
- package/src/tokens/term/term.stories.tsx +84 -0
- package/src/tokens/term/term.tsx +20 -0
- package/src/tokens/value/value.module.css +5 -0
- package/src/tokens/value/value.tsx +24 -2
- package/src/utils/types/variations.ts +1 -0
- package/tsconfig.json +5 -33
- package/dist/WithTooltip-65CFNBJE-DEnh547F.js.map +0 -1
- package/dist/body.css +0 -1
- package/dist/formatter-EIJCOSYU-DWmgEY3b.js +0 -6
- package/dist/formatter-EIJCOSYU-DWmgEY3b.js.map +0 -1
- package/dist/layouts/body/body.d.ts +0 -23
- package/dist/layouts/body/body.d.ts.map +0 -1
- package/dist/layouts/body/body.js +0 -20
- package/dist/layouts/body/body.js.map +0 -1
- package/dist/layouts/rail/rail.d.ts.map +0 -1
- package/dist/layouts/rail/rail.js +0 -55
- package/dist/layouts/rail/rail.js.map +0 -1
- package/dist/layouts/rail/side/side.d.ts.map +0 -1
- package/dist/layouts/rail/side/side.js +0 -21
- package/dist/layouts/rail/side/side.js.map +0 -1
- package/dist/layouts/rail/utility_strip/utility_strip.d.ts.map +0 -1
- package/dist/layouts/rail/utility_strip/utility_strip.js.map +0 -1
- package/dist/layouts/row/row.d.ts +0 -4
- package/dist/layouts/row/row.d.ts.map +0 -1
- package/dist/layouts/row/row.js +0 -11
- package/dist/layouts/row/row.js.map +0 -1
- package/dist/layouts/scaffold/scaffold.d.ts.map +0 -1
- package/dist/layouts/scaffold/scaffold.js +0 -55
- package/dist/layouts/scaffold/scaffold.js.map +0 -1
- package/dist/rail.css +0 -1
- package/dist/row.css +0 -1
- package/dist/scaffold.css +0 -1
- package/dist/section.module-0wyGkhDg.js +0 -5
- package/dist/section.module-0wyGkhDg.js.map +0 -1
- package/dist/showcase-y9D3_Y8T.js.map +0 -1
- package/dist/syntaxhighlighter-ED5Y7EFY-CqInEOwQ.js.map +0 -1
- package/src/layouts/body/body.module.css +0 -8
- package/src/layouts/body/body.tsx +0 -40
- package/src/layouts/rail/rail.module.css +0 -14
- package/src/layouts/row/row.module.css +0 -5
- package/src/layouts/row/row.tsx +0 -15
- package/src/layouts/scaffold/scaffold.module.css +0 -14
- /package/dist/layouts/{rail → containers}/rail.d.ts +0 -0
- /package/dist/layouts/{scaffold → containers}/scaffold.d.ts +0 -0
- /package/dist/layouts/{rail → containers}/side/side.d.ts +0 -0
- /package/dist/layouts/{rail → containers}/utility_strip/utility_strip.d.ts +0 -0
- /package/src/layouts/{rail → containers}/side/side.module.css +0 -0
- /package/src/layouts/{rail → containers}/utility_strip/utility_strip.module.css +0 -0
- /package/src/layouts/{rail → containers}/utility_strip/utility_strip.tsx +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Header, Scaffold
|
|
1
|
+
import { Header, Scaffold } from '../../layouts/index.js';
|
|
2
2
|
import { ZStack } from '../../stacks/z_stack.js';
|
|
3
3
|
import { BodyText } from '../../typography/index.js';
|
|
4
4
|
import { Title } from '../../typography/title/title.js';
|
|
@@ -46,14 +46,11 @@ export const SlideStory = (args: Omit<SlideProps, 'children'>) => {
|
|
|
46
46
|
<Title> This is a Slide</Title>
|
|
47
47
|
</Header>
|
|
48
48
|
</DragHandle>
|
|
49
|
-
<
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</BodyText>
|
|
55
|
-
</Scaffold>
|
|
56
|
-
</Body>
|
|
49
|
+
<Scaffold>
|
|
50
|
+
<BodyText>
|
|
51
|
+
This component is fixed to a side of a container (top, bottom, start, end).
|
|
52
|
+
</BodyText>
|
|
53
|
+
</Scaffold>
|
|
57
54
|
</Scaffold>
|
|
58
55
|
</Slide>
|
|
59
56
|
</ZStack>
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import {
|
|
3
|
-
Body,
|
|
4
|
-
Footer,
|
|
5
|
-
Header,
|
|
6
|
-
Heading,
|
|
7
|
-
Rail,
|
|
8
|
-
Scaffold,
|
|
9
|
-
Section,
|
|
10
|
-
} from '../../layouts/index.js';
|
|
2
|
+
import { Footer, Header, Heading, Rail, Scaffold, Section } from '../../layouts/index.js';
|
|
11
3
|
import { Box } from '../../stacks/index.js';
|
|
12
4
|
import { Aside } from './aside.js';
|
|
13
5
|
import { BodyText, Title } from '../../typography/index.js';
|
|
@@ -36,35 +28,29 @@ export const Baseline: Story = {
|
|
|
36
28
|
<Header>
|
|
37
29
|
<Title>Parent Container Title</Title>
|
|
38
30
|
</Header>
|
|
39
|
-
<
|
|
40
|
-
<
|
|
41
|
-
<
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<Scaffold>
|
|
63
|
-
<BodyText>Primary Content</BodyText>
|
|
64
|
-
</Scaffold>
|
|
65
|
-
</Body>
|
|
66
|
-
</Rail>
|
|
67
|
-
</Body>
|
|
31
|
+
<Rail>
|
|
32
|
+
<Aside width="240px">
|
|
33
|
+
<Header>
|
|
34
|
+
<Title>Aside - Secondary</Title>
|
|
35
|
+
</Header>
|
|
36
|
+
<Scaffold>
|
|
37
|
+
<Section hAlign="start">
|
|
38
|
+
<Heading>Aside Section</Heading>
|
|
39
|
+
<BodyText>Section Content</BodyText>
|
|
40
|
+
</Section>
|
|
41
|
+
<Section hAlign="start">
|
|
42
|
+
<Heading>Aside Section 2</Heading>
|
|
43
|
+
<BodyText>Section Content 2</BodyText>
|
|
44
|
+
</Section>
|
|
45
|
+
</Scaffold>
|
|
46
|
+
<Footer>
|
|
47
|
+
<Title>Aside Footer</Title>
|
|
48
|
+
</Footer>
|
|
49
|
+
</Aside>
|
|
50
|
+
<Scaffold>
|
|
51
|
+
<BodyText>Primary Content</BodyText>
|
|
52
|
+
</Scaffold>
|
|
53
|
+
</Rail>
|
|
68
54
|
|
|
69
55
|
<Footer>
|
|
70
56
|
<Title>Parent Container Footer</Title>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Scaffold, type ScaffoldProps } from '../../layouts/
|
|
2
|
+
import { Scaffold, type ScaffoldProps } from '../../layouts/containers/scaffold.js';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
|
|
5
5
|
import styles from './aside.module.css';
|
|
@@ -6,7 +6,7 @@ import { Box, Spacer } from '../../stacks/index.js';
|
|
|
6
6
|
import { Title } from '../../typography/title/title.js';
|
|
7
7
|
import { Button } from '../../actions/index.js';
|
|
8
8
|
import { Card } from './card.js';
|
|
9
|
-
import {
|
|
9
|
+
import { Scaffold } from '../../layouts/index.js';
|
|
10
10
|
|
|
11
11
|
// Styles
|
|
12
12
|
import styles from './card_stories.module.css';
|
|
@@ -48,12 +48,10 @@ export const Default = () => {
|
|
|
48
48
|
</Button>
|
|
49
49
|
</UtilityBar>
|
|
50
50
|
|
|
51
|
-
<
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</Scaffold>
|
|
56
|
-
</Body>
|
|
51
|
+
<Scaffold>
|
|
52
|
+
<Box className={styles['content-box']} />
|
|
53
|
+
<Box className={styles['content-box']} />
|
|
54
|
+
</Scaffold>
|
|
57
55
|
{/* Cards typically do not have a footer */}
|
|
58
56
|
{/* <Footer>
|
|
59
57
|
<Title>Footer</Title>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Scaffold, type ScaffoldProps } from '../../layouts/
|
|
3
|
+
import { Scaffold, type ScaffoldProps } from '../../layouts/containers/scaffold.js';
|
|
4
4
|
|
|
5
5
|
export interface CardProps extends Omit<ScaffoldProps, 'as' | 'children'> {
|
|
6
6
|
children?: React.ReactNode;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Button } from '../../actions/index.js';
|
|
3
3
|
import {
|
|
4
|
-
Body,
|
|
5
4
|
Footer,
|
|
6
5
|
Header,
|
|
7
6
|
Heading,
|
|
@@ -121,18 +120,16 @@ export const Baseline = ({
|
|
|
121
120
|
<BugIcon />
|
|
122
121
|
</Button>
|
|
123
122
|
</UtilityBar>
|
|
124
|
-
<
|
|
125
|
-
<
|
|
126
|
-
<Section>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<Section>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
</Scaffold>
|
|
135
|
-
</Body>
|
|
123
|
+
<Scaffold>
|
|
124
|
+
<Section>
|
|
125
|
+
<Heading>Drawer Section</Heading>
|
|
126
|
+
<BodyText>Section Content</BodyText>
|
|
127
|
+
</Section>
|
|
128
|
+
<Section>
|
|
129
|
+
<Heading>Drawer Section 2</Heading>
|
|
130
|
+
<BodyText>Section Content 2</BodyText>
|
|
131
|
+
</Section>
|
|
132
|
+
</Scaffold>
|
|
136
133
|
<Footer>
|
|
137
134
|
<Spacer />
|
|
138
135
|
<Button hierarchy="secondary">Cancel</Button>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Scaffold } from '../../layouts/
|
|
3
|
+
import { Scaffold } from '../../layouts/containers/scaffold.js';
|
|
4
4
|
import { Slide, type SlideProps } from '../../overlay/slide/slide.js';
|
|
5
5
|
|
|
6
6
|
export type DrawerProps = SlideProps;
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
Footer,
|
|
5
5
|
Header,
|
|
6
6
|
UtilityBar,
|
|
7
|
-
Body,
|
|
8
7
|
Scaffold,
|
|
9
8
|
Heading,
|
|
10
9
|
Section,
|
|
@@ -129,18 +128,16 @@ export const Baseline = ({
|
|
|
129
128
|
<BugIcon />
|
|
130
129
|
</Button>
|
|
131
130
|
</UtilityBar>
|
|
132
|
-
<
|
|
133
|
-
<
|
|
134
|
-
<Section>
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
<Section>
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
</Scaffold>
|
|
143
|
-
</Body>
|
|
131
|
+
<Scaffold>
|
|
132
|
+
<Section>
|
|
133
|
+
<Heading>Modal Section</Heading>
|
|
134
|
+
<BodyText>Section Content</BodyText>
|
|
135
|
+
</Section>
|
|
136
|
+
<Section>
|
|
137
|
+
<Heading>Modal Section 2</Heading>
|
|
138
|
+
<BodyText>Section Content 2</BodyText>
|
|
139
|
+
</Section>
|
|
140
|
+
</Scaffold>
|
|
144
141
|
<Footer>
|
|
145
142
|
<Spacer />
|
|
146
143
|
<Button hierarchy="secondary">Cancel</Button>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Frame, type FrameProps } from '../../overlay/frame/frame.js';
|
|
4
|
-
import { Scaffold } from '../../layouts/
|
|
4
|
+
import { Scaffold } from '../../layouts/containers/scaffold.js';
|
|
5
5
|
|
|
6
6
|
// Styles
|
|
7
7
|
import styles from './modal.module.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header } from '../../layouts/header/header.js';
|
|
2
|
-
import {
|
|
2
|
+
import { Footer, Rail, Scaffold } from '../../layouts/index.js';
|
|
3
3
|
import { BodyText } from '../../typography/body_text/body_text.js';
|
|
4
4
|
import { Section } from '../../layouts/section/section.js';
|
|
5
5
|
import { Title } from '../../typography/title/title.js';
|
|
@@ -20,13 +20,11 @@ export const Baseline = () => {
|
|
|
20
20
|
<Header>
|
|
21
21
|
<Title>Page Header</Title>
|
|
22
22
|
</Header>
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</Scaffold>
|
|
29
|
-
</Body>
|
|
23
|
+
<Scaffold>
|
|
24
|
+
<Section>
|
|
25
|
+
<BodyText>Page Content</BodyText>
|
|
26
|
+
</Section>
|
|
27
|
+
</Scaffold>
|
|
30
28
|
|
|
31
29
|
<Footer>
|
|
32
30
|
<Title>Page Footer</Title>
|
|
@@ -40,31 +38,29 @@ export const WithPanelBody = () => {
|
|
|
40
38
|
return (
|
|
41
39
|
<ZStack height="100%" width="100%" minHeight="600px" minWidth="600px">
|
|
42
40
|
<Page>
|
|
43
|
-
<
|
|
44
|
-
<
|
|
45
|
-
<
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</Panel>
|
|
41
|
+
<Rail>
|
|
42
|
+
<Panel>
|
|
43
|
+
<Header>
|
|
44
|
+
<Title>Primary</Title>
|
|
45
|
+
</Header>
|
|
46
|
+
<Scaffold>
|
|
47
|
+
<Section>
|
|
48
|
+
<BodyText>Page Content</BodyText>
|
|
49
|
+
</Section>
|
|
50
|
+
</Scaffold>
|
|
51
|
+
</Panel>
|
|
55
52
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</Body>
|
|
53
|
+
<Panel width="300px">
|
|
54
|
+
<Header>
|
|
55
|
+
<Title>Secondary</Title>
|
|
56
|
+
</Header>
|
|
57
|
+
<Scaffold>
|
|
58
|
+
<Section>
|
|
59
|
+
<BodyText>Supporting Content</BodyText>
|
|
60
|
+
</Section>
|
|
61
|
+
</Scaffold>
|
|
62
|
+
</Panel>
|
|
63
|
+
</Rail>
|
|
68
64
|
</Page>
|
|
69
65
|
</ZStack>
|
|
70
66
|
);
|
|
@@ -2,7 +2,7 @@ import { GridOneIcon } from '@tcn/icons/grid_one_icon.js';
|
|
|
2
2
|
import { Button } from '../../../actions/button/button/button.js';
|
|
3
3
|
import { Footer } from '../../../layouts/footer/footer.js';
|
|
4
4
|
import { Header } from '../../../layouts/header/header.js';
|
|
5
|
-
import {
|
|
5
|
+
import { Detail, Heading, Scaffold, Section } from '../../../layouts/index.js';
|
|
6
6
|
import { UtilityBar } from '../../../layouts/utility_bar/utility_bar.js';
|
|
7
7
|
import { Box, HStack, Spacer } from '../../../stacks/index.js';
|
|
8
8
|
import { Title } from '../../../typography/title/title.js';
|
|
@@ -19,7 +19,11 @@ import { ChevronsRightIcon } from '@tcn/icons/chevrons_right_icon.js';
|
|
|
19
19
|
import { ChevronRightIcon } from '@tcn/icons/chevron_right_icon.js';
|
|
20
20
|
import { Toggle } from '../../../actions/toggle/toggle.js';
|
|
21
21
|
import { CrossIcon } from '@tcn/icons/cross_icon.js';
|
|
22
|
-
import {
|
|
22
|
+
import { Card } from '../../card/card.js';
|
|
23
|
+
import { Callout } from '../../../typography/index.js';
|
|
24
|
+
import { Term } from '../../../tokens/term/term.js';
|
|
25
|
+
import { Key } from '../../../tokens/key/key.js';
|
|
26
|
+
import { Value } from '../../../tokens/value/value.js';
|
|
23
27
|
|
|
24
28
|
export default {
|
|
25
29
|
title: 'Surfaces/Panel',
|
|
@@ -47,7 +51,9 @@ const SectionMockData: React.FC<{
|
|
|
47
51
|
<Spacer />
|
|
48
52
|
<UtilGroupExample />
|
|
49
53
|
</Heading>
|
|
50
|
-
<
|
|
54
|
+
<Detail>
|
|
55
|
+
<Ipsum />
|
|
56
|
+
</Detail>
|
|
51
57
|
{children}
|
|
52
58
|
</Section>
|
|
53
59
|
);
|
|
@@ -84,27 +90,25 @@ export const Default = () => {
|
|
|
84
90
|
<UtilGroupExample />
|
|
85
91
|
</UtilityBar>
|
|
86
92
|
|
|
87
|
-
<
|
|
88
|
-
<
|
|
89
|
-
<SectionMockData depth={
|
|
90
|
-
<SectionMockData depth={
|
|
91
|
-
<SectionMockData depth={
|
|
92
|
-
<SectionMockData depth={4} count={1} />
|
|
93
|
-
</SectionMockData>
|
|
93
|
+
<Scaffold>
|
|
94
|
+
<SectionMockData depth={1} count={1}>
|
|
95
|
+
<SectionMockData depth={2} count={1}>
|
|
96
|
+
<SectionMockData depth={3} count={1}>
|
|
97
|
+
<SectionMockData depth={4} count={1} />
|
|
94
98
|
</SectionMockData>
|
|
95
99
|
</SectionMockData>
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
</SectionMockData>
|
|
101
|
+
<SectionMockData depth={1} count={2}>
|
|
102
|
+
<SectionMockData depth={2} count={1}>
|
|
103
|
+
<SectionMockData depth={3} count={1}>
|
|
104
|
+
<SectionMockData depth={4} count={1} />
|
|
101
105
|
</SectionMockData>
|
|
102
106
|
</SectionMockData>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
</
|
|
107
|
+
</SectionMockData>
|
|
108
|
+
<Ipsum />
|
|
109
|
+
<Ipsum />
|
|
110
|
+
<Ipsum />
|
|
111
|
+
</Scaffold>
|
|
108
112
|
<Footer>
|
|
109
113
|
<Title>Footer</Title>
|
|
110
114
|
<Spacer />
|
|
@@ -134,41 +138,39 @@ export const WithTable = () => {
|
|
|
134
138
|
<PlusIcon />
|
|
135
139
|
</Button>
|
|
136
140
|
</Header>
|
|
137
|
-
<
|
|
138
|
-
<
|
|
139
|
-
<
|
|
140
|
-
<
|
|
141
|
-
<
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
<
|
|
148
|
-
<
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
<
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
<
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
<
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
</Scaffold>
|
|
171
|
-
</Body>
|
|
141
|
+
<Scaffold>
|
|
142
|
+
<TTable>
|
|
143
|
+
<THead>
|
|
144
|
+
<TR>
|
|
145
|
+
<TH>Name</TH>
|
|
146
|
+
<TH>Age</TH>
|
|
147
|
+
<TH>Email</TH>
|
|
148
|
+
</TR>
|
|
149
|
+
</THead>
|
|
150
|
+
<TBody>
|
|
151
|
+
<TR>
|
|
152
|
+
<TD>Jane Smith</TD>
|
|
153
|
+
<TD>32</TD>
|
|
154
|
+
<TD>jane.smith@example.com</TD>
|
|
155
|
+
</TR>
|
|
156
|
+
<TR>
|
|
157
|
+
<TD>Samuel Barnett</TD>
|
|
158
|
+
<TD>28</TD>
|
|
159
|
+
<TD>samuel.barnett@example.com</TD>
|
|
160
|
+
</TR>
|
|
161
|
+
<TR isSelected>
|
|
162
|
+
<TD>John Doe</TD>
|
|
163
|
+
<TD>25</TD>
|
|
164
|
+
<TD>john.doe@example.com</TD>
|
|
165
|
+
</TR>
|
|
166
|
+
<TR>
|
|
167
|
+
<TD>Linda Wang</TD>
|
|
168
|
+
<TD>41</TD>
|
|
169
|
+
<TD>linda.wang@example.com</TD>
|
|
170
|
+
</TR>
|
|
171
|
+
</TBody>
|
|
172
|
+
</TTable>
|
|
173
|
+
</Scaffold>
|
|
172
174
|
<Footer>
|
|
173
175
|
<HStack gap="8px" hAlign="center">
|
|
174
176
|
<Button utility hierarchy="tertiary">
|
|
@@ -203,21 +205,152 @@ export const WithTable = () => {
|
|
|
203
205
|
<CrossIcon />
|
|
204
206
|
</Button>
|
|
205
207
|
</Header>
|
|
206
|
-
<
|
|
207
|
-
<
|
|
208
|
-
<
|
|
209
|
-
|
|
210
|
-
<
|
|
208
|
+
<Scaffold>
|
|
209
|
+
<Section>
|
|
210
|
+
<Heading>Personal Information</Heading>
|
|
211
|
+
<Detail>
|
|
212
|
+
<Callout>
|
|
211
213
|
John Doe is a software engineer at FooBaz. He is a very smart guy and he
|
|
212
214
|
loves to code.
|
|
213
|
-
</
|
|
214
|
-
<
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
215
|
+
</Callout>
|
|
216
|
+
<Term>
|
|
217
|
+
<Key>Name</Key>
|
|
218
|
+
<Value>John Doe</Value>
|
|
219
|
+
</Term>
|
|
220
|
+
<Term>
|
|
221
|
+
<Key>Age</Key>
|
|
222
|
+
<Value>25</Value>
|
|
223
|
+
</Term>
|
|
224
|
+
<Term>
|
|
225
|
+
<Key>Email</Key>
|
|
226
|
+
<Value>john.doe@example.com</Value>
|
|
227
|
+
</Term>
|
|
228
|
+
</Detail>
|
|
229
|
+
</Section>
|
|
230
|
+
</Scaffold>
|
|
219
231
|
</Panel>
|
|
220
232
|
</HStack>
|
|
221
233
|
</Box>
|
|
222
234
|
);
|
|
223
235
|
};
|
|
236
|
+
|
|
237
|
+
const CardIpsum = () => (
|
|
238
|
+
<Box
|
|
239
|
+
style={{ backgroundColor: 'rgba(0, 128, 0, 0.4)', height: '150px', width: '100%' }}
|
|
240
|
+
/>
|
|
241
|
+
);
|
|
242
|
+
|
|
243
|
+
export const WithCards = () => {
|
|
244
|
+
return (
|
|
245
|
+
<Box className={styles['stories-container']}>
|
|
246
|
+
<HStack gap="16px" height="100%" maxHeight="600px">
|
|
247
|
+
<Panel maxHeight="600px">
|
|
248
|
+
<Header>
|
|
249
|
+
<Title emphasis="strong">Cards in Sections</Title>
|
|
250
|
+
<Spacer />
|
|
251
|
+
<UtilGroupExample />
|
|
252
|
+
</Header>
|
|
253
|
+
<Scaffold>
|
|
254
|
+
<Section>
|
|
255
|
+
<Heading>Section with Cards</Heading>
|
|
256
|
+
<Detail>
|
|
257
|
+
<Card>
|
|
258
|
+
<Header>
|
|
259
|
+
<Title>Card One</Title>
|
|
260
|
+
</Header>
|
|
261
|
+
<Scaffold>
|
|
262
|
+
<CardIpsum />
|
|
263
|
+
</Scaffold>
|
|
264
|
+
</Card>
|
|
265
|
+
<Card>
|
|
266
|
+
<Header>
|
|
267
|
+
<Title>Card Two</Title>
|
|
268
|
+
</Header>
|
|
269
|
+
<Scaffold>
|
|
270
|
+
<CardIpsum />
|
|
271
|
+
</Scaffold>
|
|
272
|
+
</Card>
|
|
273
|
+
</Detail>
|
|
274
|
+
</Section>
|
|
275
|
+
<Section>
|
|
276
|
+
<Heading>Another Section with a Card</Heading>
|
|
277
|
+
<Detail>
|
|
278
|
+
<Card>
|
|
279
|
+
<Header>
|
|
280
|
+
<Title>Card Three</Title>
|
|
281
|
+
</Header>
|
|
282
|
+
<Scaffold>
|
|
283
|
+
<CardIpsum />
|
|
284
|
+
</Scaffold>
|
|
285
|
+
</Card>
|
|
286
|
+
</Detail>
|
|
287
|
+
</Section>
|
|
288
|
+
</Scaffold>
|
|
289
|
+
</Panel>
|
|
290
|
+
<Panel maxHeight="600px">
|
|
291
|
+
<Header>
|
|
292
|
+
<Title emphasis="strong">Cards without Sections</Title>
|
|
293
|
+
<Spacer />
|
|
294
|
+
<UtilGroupExample />
|
|
295
|
+
</Header>
|
|
296
|
+
<Scaffold>
|
|
297
|
+
<Detail>
|
|
298
|
+
<Card>
|
|
299
|
+
<Header>
|
|
300
|
+
<Title>Card A</Title>
|
|
301
|
+
</Header>
|
|
302
|
+
<Scaffold>
|
|
303
|
+
<CardIpsum />
|
|
304
|
+
</Scaffold>
|
|
305
|
+
</Card>
|
|
306
|
+
<Card>
|
|
307
|
+
<Header>
|
|
308
|
+
<Title>Card B</Title>
|
|
309
|
+
</Header>
|
|
310
|
+
<Scaffold>
|
|
311
|
+
<CardIpsum />
|
|
312
|
+
</Scaffold>
|
|
313
|
+
</Card>
|
|
314
|
+
<Card>
|
|
315
|
+
<Header>
|
|
316
|
+
<Title>Card C</Title>
|
|
317
|
+
</Header>
|
|
318
|
+
<Scaffold>
|
|
319
|
+
<CardIpsum />
|
|
320
|
+
</Scaffold>
|
|
321
|
+
</Card>
|
|
322
|
+
</Detail>
|
|
323
|
+
</Scaffold>
|
|
324
|
+
</Panel>
|
|
325
|
+
</HStack>
|
|
326
|
+
</Box>
|
|
327
|
+
);
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
export const WithDetailOnly = () => {
|
|
331
|
+
return (
|
|
332
|
+
<Box className={styles['stories-container']}>
|
|
333
|
+
<Panel maxHeight="400px" width="300px">
|
|
334
|
+
<Header>
|
|
335
|
+
<Title emphasis="strong">Request Details</Title>
|
|
336
|
+
</Header>
|
|
337
|
+
<Scaffold>
|
|
338
|
+
<Detail>
|
|
339
|
+
<Term>
|
|
340
|
+
<Key>Agent</Key>
|
|
341
|
+
<Value>John Doe</Value>
|
|
342
|
+
</Term>
|
|
343
|
+
<Term>
|
|
344
|
+
<Key>Start Date</Key>
|
|
345
|
+
<Value>12:00 05/27/2023</Value>
|
|
346
|
+
</Term>
|
|
347
|
+
<Term>
|
|
348
|
+
<Key>End Date</Key>
|
|
349
|
+
<Value>12:00 05/29/2023</Value>
|
|
350
|
+
</Term>
|
|
351
|
+
</Detail>
|
|
352
|
+
</Scaffold>
|
|
353
|
+
</Panel>
|
|
354
|
+
</Box>
|
|
355
|
+
);
|
|
356
|
+
};
|