@dbcdk/react-components 0.0.167 → 0.0.169
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/package.json +1 -1
- package/dist/assets/logo.cjs +0 -87
- package/dist/assets/logo.d.ts +0 -2
- package/dist/assets/logo.js +0 -85
- package/dist/client.cjs +0 -629
- package/dist/client.d.ts +0 -89
- package/dist/client.js +0 -90
- package/dist/components/accordion/Accordion.cjs +0 -127
- package/dist/components/accordion/Accordion.d.ts +0 -36
- package/dist/components/accordion/Accordion.js +0 -121
- package/dist/components/accordion/Accordion.module.css +0 -41
- package/dist/components/accordion/components/AccordionRow.cjs +0 -129
- package/dist/components/accordion/components/AccordionRow.d.ts +0 -14
- package/dist/components/accordion/components/AccordionRow.js +0 -123
- package/dist/components/accordion/components/AccordionRow.module.css +0 -129
- package/dist/components/alert/Alert.cjs +0 -52
- package/dist/components/alert/Alert.d.ts +0 -14
- package/dist/components/alert/Alert.js +0 -46
- package/dist/components/alert/Alert.module.css +0 -102
- package/dist/components/app-header/AppHeader.cjs +0 -14
- package/dist/components/app-header/AppHeader.d.ts +0 -8
- package/dist/components/app-header/AppHeader.js +0 -8
- package/dist/components/app-header/AppHeader.module.css +0 -74
- package/dist/components/attribute-chip/AttributeChip.cjs +0 -36
- package/dist/components/attribute-chip/AttributeChip.d.ts +0 -11
- package/dist/components/attribute-chip/AttributeChip.js +0 -30
- package/dist/components/attribute-chip/AttributeChip.module.css +0 -64
- package/dist/components/avatar/Avatar.cjs +0 -111
- package/dist/components/avatar/Avatar.d.ts +0 -17
- package/dist/components/avatar/Avatar.js +0 -86
- package/dist/components/avatar/Avatar.module.css +0 -91
- package/dist/components/breadcrumbs/Breadcrumbs.cjs +0 -24
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +0 -12
- package/dist/components/breadcrumbs/Breadcrumbs.js +0 -18
- package/dist/components/breadcrumbs/Breadcrumbs.module.css +0 -77
- package/dist/components/button/Button.cjs +0 -150
- package/dist/components/button/Button.d.ts +0 -18
- package/dist/components/button/Button.js +0 -125
- package/dist/components/button/Button.module.css +0 -266
- package/dist/components/button-select/ButtonSelect.cjs +0 -35
- package/dist/components/button-select/ButtonSelect.d.ts +0 -16
- package/dist/components/button-select/ButtonSelect.js +0 -29
- package/dist/components/button-select/ButtonSelect.module.css +0 -40
- package/dist/components/card/Card.cjs +0 -109
- package/dist/components/card/Card.d.ts +0 -37
- package/dist/components/card/Card.js +0 -103
- package/dist/components/card/Card.module.css +0 -191
- package/dist/components/card/components/CardMeta.cjs +0 -62
- package/dist/components/card/components/CardMeta.d.ts +0 -16
- package/dist/components/card/components/CardMeta.js +0 -55
- package/dist/components/card/components/CardMeta.module.css +0 -55
- package/dist/components/card-container/CardContainer.cjs +0 -34
- package/dist/components/card-container/CardContainer.d.ts +0 -12
- package/dist/components/card-container/CardContainer.js +0 -28
- package/dist/components/card-container/CardContainer.module.css +0 -63
- package/dist/components/chip/Chip.cjs +0 -65
- package/dist/components/chip/Chip.d.ts +0 -16
- package/dist/components/chip/Chip.js +0 -59
- package/dist/components/chip/Chip.module.css +0 -247
- package/dist/components/circle/Circle.cjs +0 -39
- package/dist/components/circle/Circle.d.ts +0 -14
- package/dist/components/circle/Circle.js +0 -33
- package/dist/components/circle/Circle.module.css +0 -138
- package/dist/components/clear-button/ClearButton.cjs +0 -33
- package/dist/components/clear-button/ClearButton.d.ts +0 -8
- package/dist/components/clear-button/ClearButton.js +0 -27
- package/dist/components/clear-button/ClearButton.module.css +0 -26
- package/dist/components/code-block/CodeBlock.cjs +0 -107
- package/dist/components/code-block/CodeBlock.d.ts +0 -11
- package/dist/components/code-block/CodeBlock.js +0 -101
- package/dist/components/code-block/CodeBlock.module.css +0 -135
- package/dist/components/copy-button/CopyButton.cjs +0 -139
- package/dist/components/copy-button/CopyButton.d.ts +0 -13
- package/dist/components/copy-button/CopyButton.js +0 -133
- package/dist/components/copy-button/CopyButton.module.css +0 -22
- package/dist/components/datetime-picker/DateTimePicker.cjs +0 -563
- package/dist/components/datetime-picker/DateTimePicker.d.ts +0 -66
- package/dist/components/datetime-picker/DateTimePicker.js +0 -557
- package/dist/components/datetime-picker/DateTimePicker.module.css +0 -155
- package/dist/components/datetime-picker/dateTimeHelpers.cjs +0 -185
- package/dist/components/datetime-picker/dateTimeHelpers.d.ts +0 -37
- package/dist/components/datetime-picker/dateTimeHelpers.js +0 -166
- package/dist/components/divider/Divider.cjs +0 -22
- package/dist/components/divider/Divider.d.ts +0 -5
- package/dist/components/divider/Divider.js +0 -20
- package/dist/components/environment-banner/EnvironmentBanner.cjs +0 -20
- package/dist/components/environment-banner/EnvironmentBanner.d.ts +0 -13
- package/dist/components/environment-banner/EnvironmentBanner.js +0 -14
- package/dist/components/environment-banner/EnvironmentBanner.module.css +0 -54
- package/dist/components/filter-field/FilterField.cjs +0 -291
- package/dist/components/filter-field/FilterField.d.ts +0 -37
- package/dist/components/filter-field/FilterField.js +0 -284
- package/dist/components/filter-field/FilterField.module.css +0 -379
- package/dist/components/filtering/chip-multi-toggle/ChipMultiToggle.cjs +0 -115
- package/dist/components/filtering/chip-multi-toggle/ChipMultiToggle.d.ts +0 -35
- package/dist/components/filtering/chip-multi-toggle/ChipMultiToggle.js +0 -108
- package/dist/components/filtering/chip-multi-toggle/ChipMultiToggle.module.css +0 -59
- package/dist/components/forms/checkbox/Checkbox.cjs +0 -99
- package/dist/components/forms/checkbox/Checkbox.d.ts +0 -39
- package/dist/components/forms/checkbox/Checkbox.js +0 -93
- package/dist/components/forms/checkbox/Checkbox.module.css +0 -110
- package/dist/components/forms/checkbox-group/CheckboxGroup.cjs +0 -121
- package/dist/components/forms/checkbox-group/CheckboxGroup.d.ts +0 -47
- package/dist/components/forms/checkbox-group/CheckboxGroup.js +0 -115
- package/dist/components/forms/checkbox-group/CheckboxGroup.module.css +0 -115
- package/dist/components/forms/file-upload/FileUpload.cjs +0 -127
- package/dist/components/forms/file-upload/FileUpload.d.ts +0 -18
- package/dist/components/forms/file-upload/FileUpload.js +0 -121
- package/dist/components/forms/file-upload/FileUpload.module.css +0 -75
- package/dist/components/forms/form-select/FormSelect.cjs +0 -191
- package/dist/components/forms/form-select/FormSelect.d.ts +0 -35
- package/dist/components/forms/form-select/FormSelect.js +0 -166
- package/dist/components/forms/form-select/FormSelect.module.css +0 -236
- package/dist/components/forms/input/Input.cjs +0 -190
- package/dist/components/forms/input/Input.d.ts +0 -37
- package/dist/components/forms/input/Input.js +0 -184
- package/dist/components/forms/input/Input.module.css +0 -478
- package/dist/components/forms/input-container/InputContainer.cjs +0 -72
- package/dist/components/forms/input-container/InputContainer.d.ts +0 -18
- package/dist/components/forms/input-container/InputContainer.js +0 -66
- package/dist/components/forms/input-container/InputContainer.module.css +0 -59
- package/dist/components/forms/multi-select/MultiSelect.cjs +0 -229
- package/dist/components/forms/multi-select/MultiSelect.d.ts +0 -26
- package/dist/components/forms/multi-select/MultiSelect.js +0 -227
- package/dist/components/forms/radio-buttons/RadioButton.cjs +0 -94
- package/dist/components/forms/radio-buttons/RadioButton.d.ts +0 -46
- package/dist/components/forms/radio-buttons/RadioButton.js +0 -88
- package/dist/components/forms/radio-buttons/RadioButtonGroup.cjs +0 -74
- package/dist/components/forms/radio-buttons/RadioButtonGroup.d.ts +0 -25
- package/dist/components/forms/radio-buttons/RadioButtonGroup.js +0 -72
- package/dist/components/forms/radio-buttons/RadioButtons.module.css +0 -131
- package/dist/components/forms/select/Select.cjs +0 -287
- package/dist/components/forms/select/Select.d.ts +0 -24
- package/dist/components/forms/select/Select.js +0 -281
- package/dist/components/forms/select/Select.module.css +0 -41
- package/dist/components/forms/switch/Switch.cjs +0 -93
- package/dist/components/forms/switch/Switch.d.ts +0 -37
- package/dist/components/forms/switch/Switch.js +0 -87
- package/dist/components/forms/switch/Switch.module.css +0 -89
- package/dist/components/forms/text-area/Textarea.cjs +0 -118
- package/dist/components/forms/text-area/Textarea.d.ts +0 -17
- package/dist/components/forms/text-area/Textarea.js +0 -112
- package/dist/components/forms/text-area/Textarea.module.css +0 -70
- package/dist/components/forms/typeahead/Typeahead.cjs +0 -792
- package/dist/components/forms/typeahead/Typeahead.d.ts +0 -40
- package/dist/components/forms/typeahead/Typeahead.js +0 -768
- package/dist/components/forms/typeahead/Typeahead.module.css +0 -38
- package/dist/components/grid/Grid.cjs +0 -58
- package/dist/components/grid/Grid.d.ts +0 -29
- package/dist/components/grid/Grid.js +0 -51
- package/dist/components/grid/Grid.module.css +0 -44
- package/dist/components/headline/CollapsibleHeadline.cjs +0 -84
- package/dist/components/headline/CollapsibleHeadline.d.ts +0 -25
- package/dist/components/headline/CollapsibleHeadline.js +0 -78
- package/dist/components/headline/Headline.cjs +0 -59
- package/dist/components/headline/Headline.d.ts +0 -20
- package/dist/components/headline/Headline.js +0 -53
- package/dist/components/headline/Headline.module.css +0 -167
- package/dist/components/highlighted-text/HighlightedText.cjs +0 -21
- package/dist/components/highlighted-text/HighlightedText.d.ts +0 -7
- package/dist/components/highlighted-text/HighlightedText.js +0 -19
- package/dist/components/hyperlink/Hyperlink.cjs +0 -113
- package/dist/components/hyperlink/Hyperlink.d.ts +0 -24
- package/dist/components/hyperlink/Hyperlink.js +0 -88
- package/dist/components/hyperlink/Hyperlink.module.css +0 -121
- package/dist/components/icon/Icon.cjs +0 -39
- package/dist/components/icon/Icon.d.ts +0 -14
- package/dist/components/icon/Icon.js +0 -32
- package/dist/components/icon/Icon.module.css +0 -50
- package/dist/components/inline-status/InlineStatus.cjs +0 -39
- package/dist/components/inline-status/InlineStatus.d.ts +0 -11
- package/dist/components/inline-status/InlineStatus.js +0 -33
- package/dist/components/inline-status/InlineStatus.module.css +0 -98
- package/dist/components/interval-select/IntervalSelect.cjs +0 -203
- package/dist/components/interval-select/IntervalSelect.d.ts +0 -37
- package/dist/components/interval-select/IntervalSelect.js +0 -201
- package/dist/components/json-viewer/JsonNode.cjs +0 -124
- package/dist/components/json-viewer/JsonNode.d.ts +0 -3
- package/dist/components/json-viewer/JsonNode.js +0 -118
- package/dist/components/json-viewer/JsonViewer.cjs +0 -164
- package/dist/components/json-viewer/JsonViewer.d.ts +0 -4
- package/dist/components/json-viewer/JsonViewer.js +0 -158
- package/dist/components/json-viewer/JsonViewer.module.css +0 -346
- package/dist/components/json-viewer/types.cjs +0 -2
- package/dist/components/json-viewer/types.d.ts +0 -33
- package/dist/components/json-viewer/types.js +0 -1
- package/dist/components/json-viewer/useClipboardStatus.cjs +0 -15
- package/dist/components/json-viewer/useClipboardStatus.d.ts +0 -4
- package/dist/components/json-viewer/useClipboardStatus.js +0 -13
- package/dist/components/json-viewer/utils.cjs +0 -126
- package/dist/components/json-viewer/utils.d.ts +0 -17
- package/dist/components/json-viewer/utils.js +0 -111
- package/dist/components/lightbox/Lightbox.cjs +0 -291
- package/dist/components/lightbox/Lightbox.d.ts +0 -36
- package/dist/components/lightbox/Lightbox.js +0 -285
- package/dist/components/lightbox/Lightbox.module.css +0 -214
- package/dist/components/media-card/MediaCard.cjs +0 -87
- package/dist/components/media-card/MediaCard.d.ts +0 -21
- package/dist/components/media-card/MediaCard.js +0 -80
- package/dist/components/media-card/MediaCard.module.css +0 -91
- package/dist/components/menu/Menu.cjs +0 -455
- package/dist/components/menu/Menu.d.ts +0 -102
- package/dist/components/menu/Menu.js +0 -430
- package/dist/components/menu/Menu.module.css +0 -286
- package/dist/components/meta-bar/MetaBar.cjs +0 -28
- package/dist/components/meta-bar/MetaBar.d.ts +0 -12
- package/dist/components/meta-bar/MetaBar.js +0 -22
- package/dist/components/meta-bar/MetaBar.module.css +0 -27
- package/dist/components/metric-tile/MetricTile.cjs +0 -33
- package/dist/components/metric-tile/MetricTile.d.ts +0 -15
- package/dist/components/metric-tile/MetricTile.js +0 -27
- package/dist/components/metric-tile/MetricTile.module.css +0 -103
- package/dist/components/nav-bar/NavBar.cjs +0 -107
- package/dist/components/nav-bar/NavBar.d.ts +0 -44
- package/dist/components/nav-bar/NavBar.js +0 -101
- package/dist/components/nav-bar/NavBar.module.css +0 -243
- package/dist/components/overlay/fade-overlay/FadeOverlay.cjs +0 -30
- package/dist/components/overlay/fade-overlay/FadeOverlay.d.ts +0 -13
- package/dist/components/overlay/fade-overlay/FadeOverlay.js +0 -24
- package/dist/components/overlay/fade-overlay/FadeOverlay.module.css +0 -54
- package/dist/components/overlay/modal/Modal.cjs +0 -191
- package/dist/components/overlay/modal/Modal.d.ts +0 -29
- package/dist/components/overlay/modal/Modal.js +0 -185
- package/dist/components/overlay/modal/Modal.module.css +0 -112
- package/dist/components/overlay/modal/provider/ModalProvider.cjs +0 -98
- package/dist/components/overlay/modal/provider/ModalProvider.d.ts +0 -23
- package/dist/components/overlay/modal/provider/ModalProvider.js +0 -95
- package/dist/components/overlay/side-panel/SidePanel.cjs +0 -173
- package/dist/components/overlay/side-panel/SidePanel.d.ts +0 -25
- package/dist/components/overlay/side-panel/SidePanel.js +0 -167
- package/dist/components/overlay/side-panel/SidePanel.module.css +0 -177
- package/dist/components/overlay/side-panel/useSidePanel.cjs +0 -16
- package/dist/components/overlay/side-panel/useSidePanel.d.ts +0 -5
- package/dist/components/overlay/side-panel/useSidePanel.js +0 -14
- package/dist/components/overlay/tooltip/Tooltip.cjs +0 -56
- package/dist/components/overlay/tooltip/Tooltip.d.ts +0 -12
- package/dist/components/overlay/tooltip/Tooltip.js +0 -54
- package/dist/components/overlay/tooltip/Tooltip.module.css +0 -104
- package/dist/components/overlay/tooltip/TooltipProvider.cjs +0 -238
- package/dist/components/overlay/tooltip/TooltipProvider.d.ts +0 -20
- package/dist/components/overlay/tooltip/TooltipProvider.js +0 -231
- package/dist/components/overlay/tooltip/useTooltipTrigger.cjs +0 -117
- package/dist/components/overlay/tooltip/useTooltipTrigger.d.ts +0 -28
- package/dist/components/overlay/tooltip/useTooltipTrigger.js +0 -115
- package/dist/components/page/Page.cjs +0 -64
- package/dist/components/page/Page.d.ts +0 -21
- package/dist/components/page/Page.js +0 -58
- package/dist/components/page/Page.module.css +0 -95
- package/dist/components/page-layout/PageLayout.cjs +0 -126
- package/dist/components/page-layout/PageLayout.d.ts +0 -47
- package/dist/components/page-layout/PageLayout.js +0 -120
- package/dist/components/page-layout/PageLayout.module.css +0 -333
- package/dist/components/page-layout/components/footer/Footer.cjs +0 -53
- package/dist/components/page-layout/components/footer/Footer.d.ts +0 -14
- package/dist/components/page-layout/components/footer/Footer.js +0 -47
- package/dist/components/page-layout/components/footer/Footer.module.css +0 -86
- package/dist/components/pagination/Pagination.cjs +0 -161
- package/dist/components/pagination/Pagination.d.ts +0 -21
- package/dist/components/pagination/Pagination.js +0 -155
- package/dist/components/pagination/Pagination.module.css +0 -25
- package/dist/components/panel/Panel.cjs +0 -38
- package/dist/components/panel/Panel.d.ts +0 -13
- package/dist/components/panel/Panel.js +0 -32
- package/dist/components/panel/Panel.module.css +0 -30
- package/dist/components/popover/Popover.cjs +0 -331
- package/dist/components/popover/Popover.d.ts +0 -27
- package/dist/components/popover/Popover.js +0 -307
- package/dist/components/popover/Popover.module.css +0 -52
- package/dist/components/search-box/SearchBox.cjs +0 -297
- package/dist/components/search-box/SearchBox.d.ts +0 -30
- package/dist/components/search-box/SearchBox.js +0 -291
- package/dist/components/search-box/SearchBox.module.css +0 -27
- package/dist/components/section-label/SectionLabel.cjs +0 -18
- package/dist/components/section-label/SectionLabel.d.ts +0 -5
- package/dist/components/section-label/SectionLabel.js +0 -12
- package/dist/components/section-label/SectionLabel.module.css +0 -12
- package/dist/components/segmented-progress-bar/SegmentedProgressBar.cjs +0 -130
- package/dist/components/segmented-progress-bar/SegmentedProgressBar.d.ts +0 -27
- package/dist/components/segmented-progress-bar/SegmentedProgressBar.js +0 -124
- package/dist/components/segmented-progress-bar/SegmentedProgressBar.module.css +0 -187
- package/dist/components/sidebar/Sidebar.cjs +0 -41
- package/dist/components/sidebar/Sidebar.d.ts +0 -23
- package/dist/components/sidebar/Sidebar.js +0 -39
- package/dist/components/sidebar/components/SidebarItem.cjs +0 -29
- package/dist/components/sidebar/components/SidebarItem.d.ts +0 -11
- package/dist/components/sidebar/components/SidebarItem.js +0 -27
- package/dist/components/sidebar/components/SidebarItem.module.css +0 -0
- package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.cjs +0 -153
- package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.d.ts +0 -13
- package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.js +0 -147
- package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.module.css +0 -47
- package/dist/components/sidebar/components/sidebar-container/SidebarContainer.cjs +0 -220
- package/dist/components/sidebar/components/sidebar-container/SidebarContainer.d.ts +0 -18
- package/dist/components/sidebar/components/sidebar-container/SidebarContainer.js +0 -213
- package/dist/components/sidebar/components/sidebar-container/SidebarContainer.module.css +0 -293
- package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.cjs +0 -54
- package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.d.ts +0 -13
- package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.js +0 -47
- package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.module.css +0 -117
- package/dist/components/sidebar/components/sidebar-items/SidebarItems.cjs +0 -61
- package/dist/components/sidebar/components/sidebar-items/SidebarItems.d.ts +0 -4
- package/dist/components/sidebar/components/sidebar-items/SidebarItems.js +0 -55
- package/dist/components/sidebar/components/sidebar-items/SidebarItems.module.css +0 -20
- package/dist/components/sidebar/components/sidenav-filteirng/SidenavFiltering.cjs +0 -96
- package/dist/components/sidebar/components/sidenav-filteirng/SidenavFiltering.d.ts +0 -7
- package/dist/components/sidebar/components/sidenav-filteirng/SidenavFiltering.js +0 -90
- package/dist/components/sidebar/providers/SidebarProvider.cjs +0 -223
- package/dist/components/sidebar/providers/SidebarProvider.d.ts +0 -34
- package/dist/components/sidebar/providers/SidebarProvider.js +0 -220
- package/dist/components/skeleton-loader/SkeletonLoader.cjs +0 -442
- package/dist/components/skeleton-loader/SkeletonLoader.d.ts +0 -9
- package/dist/components/skeleton-loader/SkeletonLoader.js +0 -440
- package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.cjs +0 -42
- package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.d.ts +0 -11
- package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.js +0 -36
- package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.module.css +0 -55
- package/dist/components/split-button/SplitButton.cjs +0 -46
- package/dist/components/split-button/SplitButton.d.ts +0 -16
- package/dist/components/split-button/SplitButton.js +0 -40
- package/dist/components/split-button/SplitButton.module.css +0 -32
- package/dist/components/split-pane/SplitPane.cjs +0 -191
- package/dist/components/split-pane/SplitPane.d.ts +0 -21
- package/dist/components/split-pane/SplitPane.js +0 -182
- package/dist/components/split-pane/SplitPane.module.css +0 -118
- package/dist/components/split-pane/provider/SplitPaneContext.cjs +0 -129
- package/dist/components/split-pane/provider/SplitPaneContext.d.ts +0 -24
- package/dist/components/split-pane/provider/SplitPaneContext.js +0 -121
- package/dist/components/stack/Stack.cjs +0 -56
- package/dist/components/stack/Stack.d.ts +0 -26
- package/dist/components/stack/Stack.js +0 -50
- package/dist/components/stack/Stack.module.css +0 -77
- package/dist/components/state-page/StatePage.cjs +0 -48
- package/dist/components/state-page/StatePage.d.ts +0 -10
- package/dist/components/state-page/StatePage.js +0 -42
- package/dist/components/state-page/StatePage.module.css +0 -9
- package/dist/components/state-page/empty.cjs +0 -664
- package/dist/components/state-page/empty.d.ts +0 -2
- package/dist/components/state-page/empty.js +0 -662
- package/dist/components/state-page/error.cjs +0 -310
- package/dist/components/state-page/error.d.ts +0 -2
- package/dist/components/state-page/error.js +0 -308
- package/dist/components/state-page/notFound.cjs +0 -243
- package/dist/components/state-page/notFound.d.ts +0 -2
- package/dist/components/state-page/notFound.js +0 -241
- package/dist/components/sticky-footer-layout/StickyFooterLayout.cjs +0 -98
- package/dist/components/sticky-footer-layout/StickyFooterLayout.d.ts +0 -14
- package/dist/components/sticky-footer-layout/StickyFooterLayout.js +0 -96
- package/dist/components/table/Table.cjs +0 -240
- package/dist/components/table/Table.d.ts +0 -4
- package/dist/components/table/Table.js +0 -234
- package/dist/components/table/Table.module.css +0 -704
- package/dist/components/table/Table.types.cjs +0 -2
- package/dist/components/table/Table.types.d.ts +0 -91
- package/dist/components/table/Table.types.js +0 -1
- package/dist/components/table/TanstackTable.cjs +0 -191
- package/dist/components/table/TanstackTable.d.ts +0 -15
- package/dist/components/table/TanstackTable.js +0 -166
- package/dist/components/table/components/TableBody.cjs +0 -58
- package/dist/components/table/components/TableBody.d.ts +0 -28
- package/dist/components/table/components/TableBody.js +0 -52
- package/dist/components/table/components/TableHeader.cjs +0 -56
- package/dist/components/table/components/TableHeader.d.ts +0 -16
- package/dist/components/table/components/TableHeader.js +0 -50
- package/dist/components/table/components/TableHeaderCell.cjs +0 -68
- package/dist/components/table/components/TableHeaderCell.d.ts +0 -12
- package/dist/components/table/components/TableHeaderCell.js +0 -62
- package/dist/components/table/components/TablePagination.cjs +0 -2
- package/dist/components/table/components/TablePagination.d.ts +0 -0
- package/dist/components/table/components/TablePagination.js +0 -1
- package/dist/components/table/components/TableRow.cjs +0 -287
- package/dist/components/table/components/TableRow.d.ts +0 -28
- package/dist/components/table/components/TableRow.js +0 -281
- package/dist/components/table/components/TableSelectionCell.cjs +0 -41
- package/dist/components/table/components/TableSelectionCell.d.ts +0 -9
- package/dist/components/table/components/TableSelectionCell.js +0 -35
- package/dist/components/table/components/column-resizer/ColumnResizer.cjs +0 -25
- package/dist/components/table/components/column-resizer/ColumnResizer.d.ts +0 -7
- package/dist/components/table/components/column-resizer/ColumnResizer.js +0 -19
- package/dist/components/table/components/column-resizer/ColumnResizer.module.css +0 -24
- package/dist/components/table/components/empty-state/EmptyState.cjs +0 -33
- package/dist/components/table/components/empty-state/EmptyState.d.ts +0 -21
- package/dist/components/table/components/empty-state/EmptyState.js +0 -31
- package/dist/components/table/components/empty-state/EmptyState.module.css +0 -4
- package/dist/components/table/components/table-settings/TableSettings.cjs +0 -139
- package/dist/components/table/components/table-settings/TableSettings.d.ts +0 -18
- package/dist/components/table/components/table-settings/TableSettings.js +0 -137
- package/dist/components/table/hooks/useTableRowInteractions.cjs +0 -47
- package/dist/components/table/hooks/useTableRowInteractions.d.ts +0 -15
- package/dist/components/table/hooks/useTableRowInteractions.js +0 -45
- package/dist/components/table/table.classes.cjs +0 -49
- package/dist/components/table/table.classes.d.ts +0 -10
- package/dist/components/table/table.classes.js +0 -40
- package/dist/components/table/table.utils.cjs +0 -59
- package/dist/components/table/table.utils.d.ts +0 -18
- package/dist/components/table/table.utils.js +0 -46
- package/dist/components/table/tanstackTable.utils.cjs +0 -181
- package/dist/components/table/tanstackTable.utils.d.ts +0 -29
- package/dist/components/table/tanstackTable.utils.js +0 -174
- package/dist/components/tabs/Tabs.cjs +0 -187
- package/dist/components/tabs/Tabs.d.ts +0 -52
- package/dist/components/tabs/Tabs.js +0 -181
- package/dist/components/tabs/Tabs.module.css +0 -263
- package/dist/components/theme-button/ThemeButton.cjs +0 -75
- package/dist/components/theme-button/ThemeButton.d.ts +0 -8
- package/dist/components/theme-button/ThemeButton.js +0 -72
- package/dist/components/toast/Toast.cjs +0 -68
- package/dist/components/toast/Toast.d.ts +0 -15
- package/dist/components/toast/Toast.js +0 -62
- package/dist/components/toast/Toast.module.css +0 -165
- package/dist/components/toast/provider/ToastProvider.cjs +0 -105
- package/dist/components/toast/provider/ToastProvider.d.ts +0 -24
- package/dist/components/toast/provider/ToastProvider.js +0 -97
- package/dist/components/user-display/UserDisplay.cjs +0 -22
- package/dist/components/user-display/UserDisplay.d.ts +0 -10
- package/dist/components/user-display/UserDisplay.js +0 -16
- package/dist/components/user-display/UserDisplay.module.css +0 -25
- package/dist/constants/chart-colors.cjs +0 -10
- package/dist/constants/chart-colors.d.ts +0 -2
- package/dist/constants/chart-colors.js +0 -8
- package/dist/constants/chart-colors.types.cjs +0 -2
- package/dist/constants/chart-colors.types.d.ts +0 -3
- package/dist/constants/chart-colors.types.js +0 -1
- package/dist/constants/severity.cjs +0 -33
- package/dist/constants/severity.d.ts +0 -4
- package/dist/constants/severity.js +0 -29
- package/dist/constants/severity.types.cjs +0 -2
- package/dist/constants/severity.types.d.ts +0 -1
- package/dist/constants/severity.types.js +0 -1
- package/dist/constants/sizes.cjs +0 -11
- package/dist/constants/sizes.d.ts +0 -2
- package/dist/constants/sizes.js +0 -9
- package/dist/hooks/useDeviceSize.cjs +0 -33
- package/dist/hooks/useDeviceSize.d.ts +0 -2
- package/dist/hooks/useDeviceSize.js +0 -31
- package/dist/hooks/useListNavigation.cjs +0 -237
- package/dist/hooks/useListNavigation.d.ts +0 -24
- package/dist/hooks/useListNavigation.js +0 -235
- package/dist/hooks/usePagination.cjs +0 -144
- package/dist/hooks/usePagination.d.ts +0 -38
- package/dist/hooks/usePagination.js +0 -142
- package/dist/hooks/usePersistentState.cjs +0 -60
- package/dist/hooks/usePersistentState.d.ts +0 -33
- package/dist/hooks/usePersistentState.js +0 -58
- package/dist/hooks/useSorting.cjs +0 -120
- package/dist/hooks/useSorting.d.ts +0 -50
- package/dist/hooks/useSorting.js +0 -117
- package/dist/hooks/useTableData.cjs +0 -75
- package/dist/hooks/useTableData.d.ts +0 -42
- package/dist/hooks/useTableData.js +0 -73
- package/dist/hooks/useTableSelection.cjs +0 -172
- package/dist/hooks/useTableSelection.d.ts +0 -27
- package/dist/hooks/useTableSelection.js +0 -170
- package/dist/hooks/useTableSettings.cjs +0 -90
- package/dist/hooks/useTableSettings.d.ts +0 -26
- package/dist/hooks/useTableSettings.js +0 -87
- package/dist/hooks/useTheme.cjs +0 -64
- package/dist/hooks/useTheme.d.ts +0 -7
- package/dist/hooks/useTheme.js +0 -62
- package/dist/hooks/useTimeDuration.cjs +0 -75
- package/dist/hooks/useTimeDuration.d.ts +0 -26
- package/dist/hooks/useTimeDuration.js +0 -73
- package/dist/hooks/useViewportFill.cjs +0 -82
- package/dist/hooks/useViewportFill.d.ts +0 -13
- package/dist/hooks/useViewportFill.js +0 -80
- package/dist/index.cjs +0 -292
- package/dist/index.css +0 -75
- package/dist/index.d.ts +0 -42
- package/dist/index.js +0 -41
- package/dist/styles/animation.cjs +0 -9
- package/dist/styles/animation.d.ts +0 -5
- package/dist/styles/animation.js +0 -7
- package/dist/styles/css-helper-classes/flex.css +0 -113
- package/dist/styles/css-helper-classes/spacing.css +0 -312
- package/dist/styles/css-helper-classes/typography.css +0 -11
- package/dist/styles/fonts/Roboto/OFL.txt +0 -93
- package/dist/styles/fonts/Roboto/README.txt +0 -118
- package/dist/styles/fonts/Roboto/Roboto-Black.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-Bold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-ExtraBold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-ExtraBoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-ExtraLight.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-ExtraLightItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-Light.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-SemiBold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-SemiBoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-Thin.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-Black.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-BlackItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-Bold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-BoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraBold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraBoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraLight.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraLightItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-Italic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-Light.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-LightItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-Medium.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-MediumItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-Regular.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-SemiBold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-SemiBoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-Thin.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_Condensed-ThinItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Black.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-BlackItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Bold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-BoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraBold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraBoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraLight.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraLightItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Italic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Light.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-LightItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Medium.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-MediumItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Regular.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-SemiBold.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-SemiBoldItalic.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Thin.ttf +0 -0
- package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ThinItalic.ttf +0 -0
- package/dist/styles/fonts/Tajawal/OFL.txt +0 -93
- package/dist/styles/fonts/Tajawal/Tajawal-Black.ttf +0 -0
- package/dist/styles/fonts/Tajawal/Tajawal-Bold.ttf +0 -0
- package/dist/styles/fonts/Tajawal/Tajawal-ExtraBold.ttf +0 -0
- package/dist/styles/fonts/Tajawal/Tajawal-ExtraLight.ttf +0 -0
- package/dist/styles/fonts/Tajawal/Tajawal-Light.ttf +0 -0
- package/dist/styles/fonts/Tajawal/Tajawal-Medium.ttf +0 -0
- package/dist/styles/fonts/Tajawal/Tajawal-Regular.ttf +0 -0
- package/dist/styles/styles.css +0 -377
- package/dist/styles/themes/dbc/base.css +0 -141
- package/dist/styles/themes/dbc/colors.css +0 -320
- package/dist/styles/themes/filmstriben-budget/theme.css +0 -22
- package/dist/styles/themes/types.cjs +0 -2
- package/dist/styles/themes/types.d.ts +0 -16
- package/dist/styles/themes/types.js +0 -1
- package/dist/styles.css +0 -377
- package/dist/tanstack.cjs +0 -26
- package/dist/tanstack.d.ts +0 -3
- package/dist/tanstack.js +0 -3
- package/dist/themes/dbc.css +0 -3
- package/dist/themes/filmstriben-budget.css +0 -3
- package/dist/types/a11y-props.types.cjs +0 -2
- package/dist/types/a11y-props.types.d.ts +0 -8
- package/dist/types/a11y-props.types.js +0 -1
- package/dist/types/assets.d.cjs +0 -2
- package/dist/types/assets.d.js +0 -1
- package/dist/types/css.d.cjs +0 -2
- package/dist/types/css.d.js +0 -1
- package/dist/types/sizes.types.cjs +0 -2
- package/dist/types/sizes.types.d.ts +0 -2
- package/dist/types/sizes.types.js +0 -1
- package/dist/utils/arrays/nested-filtering.cjs +0 -40
- package/dist/utils/arrays/nested-filtering.d.ts +0 -9
- package/dist/utils/arrays/nested-filtering.js +0 -38
- package/dist/utils/cookie.utils.cjs +0 -44
- package/dist/utils/cookie.utils.d.ts +0 -19
- package/dist/utils/cookie.utils.js +0 -40
- package/dist/utils/date/formatDate.cjs +0 -49
- package/dist/utils/date/formatDate.d.ts +0 -28
- package/dist/utils/date/formatDate.js +0 -47
- package/dist/utils/localStorage.utils.cjs +0 -53
- package/dist/utils/localStorage.utils.d.ts +0 -19
- package/dist/utils/localStorage.utils.js +0 -49
- package/dist/utils/text/get-highlighted-segments.cjs +0 -49
- package/dist/utils/text/get-highlighted-segments.d.ts +0 -5
- package/dist/utils/text/get-highlighted-segments.js +0 -47
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const RANGE_SEP_RE = /\s*(?:–|\bto\b|\btil\b|\s-\s)\s*/i;
|
|
4
|
-
function normalizeSpaces(s) {
|
|
5
|
-
return s.trim().replace(/\s+/g, " ");
|
|
6
|
-
}
|
|
7
|
-
function splitDigitOnlyRangeParts(input) {
|
|
8
|
-
const m = /^\s*(\d{8})\s*-\s*(\d{8})\s*$/.exec(input);
|
|
9
|
-
if (!m) return null;
|
|
10
|
-
return [m[1], m[2]];
|
|
11
|
-
}
|
|
12
|
-
function splitRangeParts(input) {
|
|
13
|
-
var _a;
|
|
14
|
-
const digitOnly = splitDigitOnlyRangeParts(input);
|
|
15
|
-
if (digitOnly) return digitOnly;
|
|
16
|
-
const txt = normalizeSpaces(input);
|
|
17
|
-
const parts = txt.split(RANGE_SEP_RE);
|
|
18
|
-
if (parts.length < 2) return null;
|
|
19
|
-
const left = ((_a = parts[0]) != null ? _a : "").trim();
|
|
20
|
-
const right = parts.slice(1).join(" ").trim();
|
|
21
|
-
if (!left || !right) return null;
|
|
22
|
-
return [left, right];
|
|
23
|
-
}
|
|
24
|
-
const digits = (s) => (s.match(/\d/g) || []).join("");
|
|
25
|
-
function maskDateEU(text) {
|
|
26
|
-
const d = digits(text).slice(0, 8);
|
|
27
|
-
const dd = d.slice(0, 2);
|
|
28
|
-
const mm = d.slice(2, 4);
|
|
29
|
-
const yyyy = d.slice(4, 8);
|
|
30
|
-
let out = dd;
|
|
31
|
-
if (mm.length) out += (out ? "-" : "") + mm;
|
|
32
|
-
if (yyyy.length) out += (out ? "-" : "") + yyyy;
|
|
33
|
-
return out;
|
|
34
|
-
}
|
|
35
|
-
function maskTimeHM(text) {
|
|
36
|
-
const d = digits(text).slice(0, 4);
|
|
37
|
-
const hh = d.slice(0, 2);
|
|
38
|
-
const mm = d.slice(2, 4);
|
|
39
|
-
return mm.length ? `${hh}:${mm}` : hh;
|
|
40
|
-
}
|
|
41
|
-
function maskSingle(text, enableTime) {
|
|
42
|
-
const t = normalizeSpaces(text);
|
|
43
|
-
if (!enableTime) return maskDateEU(t);
|
|
44
|
-
const m = /^(.*?)[ T](.*)$/.exec(t);
|
|
45
|
-
if (!m) {
|
|
46
|
-
const d = digits(t);
|
|
47
|
-
if (d.length <= 8) return maskDateEU(t);
|
|
48
|
-
const datePart2 = maskDateEU(d.slice(0, 8));
|
|
49
|
-
const timePart2 = maskTimeHM(d.slice(8));
|
|
50
|
-
return timePart2 ? `${datePart2} ${timePart2}` : datePart2;
|
|
51
|
-
}
|
|
52
|
-
const datePart = maskDateEU(m[1]);
|
|
53
|
-
const timePart = maskTimeHM(m[2]);
|
|
54
|
-
return timePart ? `${datePart} ${timePart}` : datePart;
|
|
55
|
-
}
|
|
56
|
-
function maskRange(text, _enableTime) {
|
|
57
|
-
const parts = splitRangeParts(text);
|
|
58
|
-
if (!parts) return maskSingle(text, false);
|
|
59
|
-
const [left, right] = parts;
|
|
60
|
-
const a = maskSingle(left, false);
|
|
61
|
-
const b = maskSingle(right, false);
|
|
62
|
-
return `${a} \u2013 ${b}`.trim();
|
|
63
|
-
}
|
|
64
|
-
const pad2 = (n) => String(n).padStart(2, "0");
|
|
65
|
-
function isUtcIsoString(v) {
|
|
66
|
-
return typeof v === "string" && /Z$/.test(v) && !Number.isNaN(Date.parse(v));
|
|
67
|
-
}
|
|
68
|
-
function isDateOnlyString(v) {
|
|
69
|
-
if (typeof v !== "string") return false;
|
|
70
|
-
const m = /^(\d{4})-(\d{2})-(\d{2})$/.exec(v);
|
|
71
|
-
if (!m) return false;
|
|
72
|
-
const y = +m[1];
|
|
73
|
-
const mo = +m[2];
|
|
74
|
-
const d = +m[3];
|
|
75
|
-
if (mo < 1 || mo > 12) return false;
|
|
76
|
-
if (d < 1 || d > 31) return false;
|
|
77
|
-
const local = new Date(y, mo - 1, d, 0, 0, 0, 0);
|
|
78
|
-
return local.getFullYear() === y && local.getMonth() === mo - 1 && local.getDate() === d;
|
|
79
|
-
}
|
|
80
|
-
function utcMillisFromIso(iso) {
|
|
81
|
-
return Date.parse(iso);
|
|
82
|
-
}
|
|
83
|
-
function isoFromLocalDate(dLocal) {
|
|
84
|
-
return dLocal.toISOString();
|
|
85
|
-
}
|
|
86
|
-
function isoFromLocalParts(y, m0, d, hh = 0, mm = 0) {
|
|
87
|
-
const local = new Date(y, m0, d, hh, mm, 0, 0);
|
|
88
|
-
if (Number.isNaN(local.getTime())) return null;
|
|
89
|
-
if (local.getFullYear() !== y || local.getMonth() !== m0 || local.getDate() !== d || local.getHours() !== hh || local.getMinutes() !== mm) {
|
|
90
|
-
return null;
|
|
91
|
-
}
|
|
92
|
-
return local.toISOString();
|
|
93
|
-
}
|
|
94
|
-
function localDateFromIso(iso) {
|
|
95
|
-
const ms = Date.parse(iso);
|
|
96
|
-
if (Number.isNaN(ms)) return null;
|
|
97
|
-
return new Date(ms);
|
|
98
|
-
}
|
|
99
|
-
function dateOnlyFromLocalParts(y, m0, d) {
|
|
100
|
-
return `${String(y).padStart(4, "0")}-${pad2(m0 + 1)}-${pad2(d)}`;
|
|
101
|
-
}
|
|
102
|
-
function localDateFromDateOnly(s) {
|
|
103
|
-
if (!isDateOnlyString(s)) return null;
|
|
104
|
-
const m = /^(\d{4})-(\d{2})-(\d{2})$/.exec(s);
|
|
105
|
-
if (!m) return null;
|
|
106
|
-
const y = +m[1];
|
|
107
|
-
const mo0 = +m[2] - 1;
|
|
108
|
-
const d = +m[3];
|
|
109
|
-
const local = new Date(y, mo0, d, 0, 0, 0, 0);
|
|
110
|
-
if (Number.isNaN(local.getTime())) return null;
|
|
111
|
-
if (local.getFullYear() !== y || local.getMonth() !== mo0 || local.getDate() !== d) return null;
|
|
112
|
-
return local;
|
|
113
|
-
}
|
|
114
|
-
function compareDateOnly(a, b) {
|
|
115
|
-
const da = localDateFromDateOnly(a);
|
|
116
|
-
const db = localDateFromDateOnly(b);
|
|
117
|
-
if (!da || !db) return 0;
|
|
118
|
-
const ta = Date.UTC(da.getFullYear(), da.getMonth(), da.getDate());
|
|
119
|
-
const tb = Date.UTC(db.getFullYear(), db.getMonth(), db.getDate());
|
|
120
|
-
return ta - tb;
|
|
121
|
-
}
|
|
122
|
-
function toMaskedFromDate(d, enableTime) {
|
|
123
|
-
const dd = pad2(d.getDate());
|
|
124
|
-
const mm = pad2(d.getMonth() + 1);
|
|
125
|
-
const yyyy = String(d.getFullYear());
|
|
126
|
-
let out = `${dd}-${mm}-${yyyy}`;
|
|
127
|
-
if (enableTime) out += ` ${pad2(d.getHours())}:${pad2(d.getMinutes())}`;
|
|
128
|
-
return out;
|
|
129
|
-
}
|
|
130
|
-
function parseLooseDateOrDateTime(input) {
|
|
131
|
-
const txt = normalizeSpaces(input);
|
|
132
|
-
const dateTimeMatch = /^(?<date>[\d./-]{8,10})(?:[ T](?<hh>\d{1,2}):(?<mm>\d{2}))?$/i.exec(txt);
|
|
133
|
-
if (!(dateTimeMatch == null ? void 0 : dateTimeMatch.groups)) return null;
|
|
134
|
-
const raw = dateTimeMatch.groups.date;
|
|
135
|
-
const hh = dateTimeMatch.groups.hh ? parseInt(dateTimeMatch.groups.hh, 10) : 0;
|
|
136
|
-
const mm = dateTimeMatch.groups.mm ? parseInt(dateTimeMatch.groups.mm, 10) : 0;
|
|
137
|
-
if (hh < 0 || hh > 23 || mm < 0 || mm > 59) return null;
|
|
138
|
-
let y, m, d;
|
|
139
|
-
const mIso = /^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(raw);
|
|
140
|
-
if (mIso) {
|
|
141
|
-
y = +mIso[1];
|
|
142
|
-
m = +mIso[2] - 1;
|
|
143
|
-
d = +mIso[3];
|
|
144
|
-
} else {
|
|
145
|
-
const mEu = /^(\d{2})[./-](\d{2})[./-](\d{4})$/.exec(raw);
|
|
146
|
-
if (!mEu) return null;
|
|
147
|
-
d = +mEu[1];
|
|
148
|
-
m = +mEu[2] - 1;
|
|
149
|
-
y = +mEu[3];
|
|
150
|
-
}
|
|
151
|
-
const local = new Date(y, m, d, hh, mm, 0, 0);
|
|
152
|
-
if (Number.isNaN(local.getTime())) return null;
|
|
153
|
-
if (local.getFullYear() !== y || local.getMonth() !== m || local.getDate() !== d || local.getHours() !== hh || local.getMinutes() !== mm) {
|
|
154
|
-
return null;
|
|
155
|
-
}
|
|
156
|
-
return local;
|
|
157
|
-
}
|
|
158
|
-
function parseLooseRange(input) {
|
|
159
|
-
const parts = splitRangeParts(input);
|
|
160
|
-
if (!parts) return null;
|
|
161
|
-
const [a, b] = parts;
|
|
162
|
-
const s = parseLooseDateOrDateTime(a);
|
|
163
|
-
const e = parseLooseDateOrDateTime(b);
|
|
164
|
-
if (!s || !e) return null;
|
|
165
|
-
return s <= e ? { start: s, end: e } : { start: e, end: s };
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
exports.compareDateOnly = compareDateOnly;
|
|
169
|
-
exports.dateOnlyFromLocalParts = dateOnlyFromLocalParts;
|
|
170
|
-
exports.digits = digits;
|
|
171
|
-
exports.isDateOnlyString = isDateOnlyString;
|
|
172
|
-
exports.isUtcIsoString = isUtcIsoString;
|
|
173
|
-
exports.isoFromLocalDate = isoFromLocalDate;
|
|
174
|
-
exports.isoFromLocalParts = isoFromLocalParts;
|
|
175
|
-
exports.localDateFromDateOnly = localDateFromDateOnly;
|
|
176
|
-
exports.localDateFromIso = localDateFromIso;
|
|
177
|
-
exports.maskDateEU = maskDateEU;
|
|
178
|
-
exports.maskRange = maskRange;
|
|
179
|
-
exports.maskSingle = maskSingle;
|
|
180
|
-
exports.maskTimeHM = maskTimeHM;
|
|
181
|
-
exports.pad2 = pad2;
|
|
182
|
-
exports.parseLooseDateOrDateTime = parseLooseDateOrDateTime;
|
|
183
|
-
exports.parseLooseRange = parseLooseRange;
|
|
184
|
-
exports.toMaskedFromDate = toMaskedFromDate;
|
|
185
|
-
exports.utcMillisFromIso = utcMillisFromIso;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export declare const digits: (s: string) => string;
|
|
2
|
-
export declare function maskDateEU(text: string): string;
|
|
3
|
-
export declare function maskTimeHM(text: string): string;
|
|
4
|
-
export declare function maskSingle(text: string, enableTime: boolean): string;
|
|
5
|
-
export declare function maskRange(text: string, _enableTime: boolean): string;
|
|
6
|
-
export declare const pad2: (n: number) => string;
|
|
7
|
-
export type UtcIsoString = string;
|
|
8
|
-
export type DateOnlyString = string;
|
|
9
|
-
export declare function isUtcIsoString(v: unknown): v is UtcIsoString;
|
|
10
|
-
export declare function isDateOnlyString(v: unknown): v is DateOnlyString;
|
|
11
|
-
export declare function utcMillisFromIso(iso: UtcIsoString): number;
|
|
12
|
-
/** Convert a local DateTime to a UTC ISO string (Z). */
|
|
13
|
-
export declare function isoFromLocalDate(dLocal: Date): UtcIsoString;
|
|
14
|
-
/**
|
|
15
|
-
* Build a *local* Date from y/m/d/hh/mm and return UTC ISO string (Z).
|
|
16
|
-
* This keeps the UI meaning "local wall time", while emitting a stable UTC instant.
|
|
17
|
-
*
|
|
18
|
-
* DST NOTE:
|
|
19
|
-
* If the requested local wall time does not exist (spring-forward), JS will auto-correct.
|
|
20
|
-
* We detect that and return null so caller can handle it (e.g., show validation error).
|
|
21
|
-
*/
|
|
22
|
-
export declare function isoFromLocalParts(y: number, m0: number, // 0-based
|
|
23
|
-
d: number, hh?: number, mm?: number): UtcIsoString | null;
|
|
24
|
-
/** For anchoring the calendar safely from a UTC ISO string. */
|
|
25
|
-
export declare function localDateFromIso(iso: UtcIsoString): Date | null;
|
|
26
|
-
/** Date-only: build 'YYYY-MM-DD' from local parts */
|
|
27
|
-
export declare function dateOnlyFromLocalParts(y: number, m0: number, d: number): DateOnlyString;
|
|
28
|
-
/** Parse 'YYYY-MM-DD' into a local Date at midnight */
|
|
29
|
-
export declare function localDateFromDateOnly(s: DateOnlyString): Date | null;
|
|
30
|
-
/** Compare date-only strings by UTC date-only time (stable ordering) */
|
|
31
|
-
export declare function compareDateOnly(a: DateOnlyString, b: DateOnlyString): number;
|
|
32
|
-
export declare function toMaskedFromDate(d: Date, enableTime: boolean): string;
|
|
33
|
-
export declare function parseLooseDateOrDateTime(input: string): Date | null;
|
|
34
|
-
export declare function parseLooseRange(input: string): {
|
|
35
|
-
start: Date;
|
|
36
|
-
end: Date;
|
|
37
|
-
} | null;
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
const RANGE_SEP_RE = /\s*(?:–|\bto\b|\btil\b|\s-\s)\s*/i;
|
|
2
|
-
function normalizeSpaces(s) {
|
|
3
|
-
return s.trim().replace(/\s+/g, " ");
|
|
4
|
-
}
|
|
5
|
-
function splitDigitOnlyRangeParts(input) {
|
|
6
|
-
const m = /^\s*(\d{8})\s*-\s*(\d{8})\s*$/.exec(input);
|
|
7
|
-
if (!m) return null;
|
|
8
|
-
return [m[1], m[2]];
|
|
9
|
-
}
|
|
10
|
-
function splitRangeParts(input) {
|
|
11
|
-
var _a;
|
|
12
|
-
const digitOnly = splitDigitOnlyRangeParts(input);
|
|
13
|
-
if (digitOnly) return digitOnly;
|
|
14
|
-
const txt = normalizeSpaces(input);
|
|
15
|
-
const parts = txt.split(RANGE_SEP_RE);
|
|
16
|
-
if (parts.length < 2) return null;
|
|
17
|
-
const left = ((_a = parts[0]) != null ? _a : "").trim();
|
|
18
|
-
const right = parts.slice(1).join(" ").trim();
|
|
19
|
-
if (!left || !right) return null;
|
|
20
|
-
return [left, right];
|
|
21
|
-
}
|
|
22
|
-
const digits = (s) => (s.match(/\d/g) || []).join("");
|
|
23
|
-
function maskDateEU(text) {
|
|
24
|
-
const d = digits(text).slice(0, 8);
|
|
25
|
-
const dd = d.slice(0, 2);
|
|
26
|
-
const mm = d.slice(2, 4);
|
|
27
|
-
const yyyy = d.slice(4, 8);
|
|
28
|
-
let out = dd;
|
|
29
|
-
if (mm.length) out += (out ? "-" : "") + mm;
|
|
30
|
-
if (yyyy.length) out += (out ? "-" : "") + yyyy;
|
|
31
|
-
return out;
|
|
32
|
-
}
|
|
33
|
-
function maskTimeHM(text) {
|
|
34
|
-
const d = digits(text).slice(0, 4);
|
|
35
|
-
const hh = d.slice(0, 2);
|
|
36
|
-
const mm = d.slice(2, 4);
|
|
37
|
-
return mm.length ? `${hh}:${mm}` : hh;
|
|
38
|
-
}
|
|
39
|
-
function maskSingle(text, enableTime) {
|
|
40
|
-
const t = normalizeSpaces(text);
|
|
41
|
-
if (!enableTime) return maskDateEU(t);
|
|
42
|
-
const m = /^(.*?)[ T](.*)$/.exec(t);
|
|
43
|
-
if (!m) {
|
|
44
|
-
const d = digits(t);
|
|
45
|
-
if (d.length <= 8) return maskDateEU(t);
|
|
46
|
-
const datePart2 = maskDateEU(d.slice(0, 8));
|
|
47
|
-
const timePart2 = maskTimeHM(d.slice(8));
|
|
48
|
-
return timePart2 ? `${datePart2} ${timePart2}` : datePart2;
|
|
49
|
-
}
|
|
50
|
-
const datePart = maskDateEU(m[1]);
|
|
51
|
-
const timePart = maskTimeHM(m[2]);
|
|
52
|
-
return timePart ? `${datePart} ${timePart}` : datePart;
|
|
53
|
-
}
|
|
54
|
-
function maskRange(text, _enableTime) {
|
|
55
|
-
const parts = splitRangeParts(text);
|
|
56
|
-
if (!parts) return maskSingle(text, false);
|
|
57
|
-
const [left, right] = parts;
|
|
58
|
-
const a = maskSingle(left, false);
|
|
59
|
-
const b = maskSingle(right, false);
|
|
60
|
-
return `${a} \u2013 ${b}`.trim();
|
|
61
|
-
}
|
|
62
|
-
const pad2 = (n) => String(n).padStart(2, "0");
|
|
63
|
-
function isUtcIsoString(v) {
|
|
64
|
-
return typeof v === "string" && /Z$/.test(v) && !Number.isNaN(Date.parse(v));
|
|
65
|
-
}
|
|
66
|
-
function isDateOnlyString(v) {
|
|
67
|
-
if (typeof v !== "string") return false;
|
|
68
|
-
const m = /^(\d{4})-(\d{2})-(\d{2})$/.exec(v);
|
|
69
|
-
if (!m) return false;
|
|
70
|
-
const y = +m[1];
|
|
71
|
-
const mo = +m[2];
|
|
72
|
-
const d = +m[3];
|
|
73
|
-
if (mo < 1 || mo > 12) return false;
|
|
74
|
-
if (d < 1 || d > 31) return false;
|
|
75
|
-
const local = new Date(y, mo - 1, d, 0, 0, 0, 0);
|
|
76
|
-
return local.getFullYear() === y && local.getMonth() === mo - 1 && local.getDate() === d;
|
|
77
|
-
}
|
|
78
|
-
function utcMillisFromIso(iso) {
|
|
79
|
-
return Date.parse(iso);
|
|
80
|
-
}
|
|
81
|
-
function isoFromLocalDate(dLocal) {
|
|
82
|
-
return dLocal.toISOString();
|
|
83
|
-
}
|
|
84
|
-
function isoFromLocalParts(y, m0, d, hh = 0, mm = 0) {
|
|
85
|
-
const local = new Date(y, m0, d, hh, mm, 0, 0);
|
|
86
|
-
if (Number.isNaN(local.getTime())) return null;
|
|
87
|
-
if (local.getFullYear() !== y || local.getMonth() !== m0 || local.getDate() !== d || local.getHours() !== hh || local.getMinutes() !== mm) {
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
return local.toISOString();
|
|
91
|
-
}
|
|
92
|
-
function localDateFromIso(iso) {
|
|
93
|
-
const ms = Date.parse(iso);
|
|
94
|
-
if (Number.isNaN(ms)) return null;
|
|
95
|
-
return new Date(ms);
|
|
96
|
-
}
|
|
97
|
-
function dateOnlyFromLocalParts(y, m0, d) {
|
|
98
|
-
return `${String(y).padStart(4, "0")}-${pad2(m0 + 1)}-${pad2(d)}`;
|
|
99
|
-
}
|
|
100
|
-
function localDateFromDateOnly(s) {
|
|
101
|
-
if (!isDateOnlyString(s)) return null;
|
|
102
|
-
const m = /^(\d{4})-(\d{2})-(\d{2})$/.exec(s);
|
|
103
|
-
if (!m) return null;
|
|
104
|
-
const y = +m[1];
|
|
105
|
-
const mo0 = +m[2] - 1;
|
|
106
|
-
const d = +m[3];
|
|
107
|
-
const local = new Date(y, mo0, d, 0, 0, 0, 0);
|
|
108
|
-
if (Number.isNaN(local.getTime())) return null;
|
|
109
|
-
if (local.getFullYear() !== y || local.getMonth() !== mo0 || local.getDate() !== d) return null;
|
|
110
|
-
return local;
|
|
111
|
-
}
|
|
112
|
-
function compareDateOnly(a, b) {
|
|
113
|
-
const da = localDateFromDateOnly(a);
|
|
114
|
-
const db = localDateFromDateOnly(b);
|
|
115
|
-
if (!da || !db) return 0;
|
|
116
|
-
const ta = Date.UTC(da.getFullYear(), da.getMonth(), da.getDate());
|
|
117
|
-
const tb = Date.UTC(db.getFullYear(), db.getMonth(), db.getDate());
|
|
118
|
-
return ta - tb;
|
|
119
|
-
}
|
|
120
|
-
function toMaskedFromDate(d, enableTime) {
|
|
121
|
-
const dd = pad2(d.getDate());
|
|
122
|
-
const mm = pad2(d.getMonth() + 1);
|
|
123
|
-
const yyyy = String(d.getFullYear());
|
|
124
|
-
let out = `${dd}-${mm}-${yyyy}`;
|
|
125
|
-
if (enableTime) out += ` ${pad2(d.getHours())}:${pad2(d.getMinutes())}`;
|
|
126
|
-
return out;
|
|
127
|
-
}
|
|
128
|
-
function parseLooseDateOrDateTime(input) {
|
|
129
|
-
const txt = normalizeSpaces(input);
|
|
130
|
-
const dateTimeMatch = /^(?<date>[\d./-]{8,10})(?:[ T](?<hh>\d{1,2}):(?<mm>\d{2}))?$/i.exec(txt);
|
|
131
|
-
if (!(dateTimeMatch == null ? void 0 : dateTimeMatch.groups)) return null;
|
|
132
|
-
const raw = dateTimeMatch.groups.date;
|
|
133
|
-
const hh = dateTimeMatch.groups.hh ? parseInt(dateTimeMatch.groups.hh, 10) : 0;
|
|
134
|
-
const mm = dateTimeMatch.groups.mm ? parseInt(dateTimeMatch.groups.mm, 10) : 0;
|
|
135
|
-
if (hh < 0 || hh > 23 || mm < 0 || mm > 59) return null;
|
|
136
|
-
let y, m, d;
|
|
137
|
-
const mIso = /^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(raw);
|
|
138
|
-
if (mIso) {
|
|
139
|
-
y = +mIso[1];
|
|
140
|
-
m = +mIso[2] - 1;
|
|
141
|
-
d = +mIso[3];
|
|
142
|
-
} else {
|
|
143
|
-
const mEu = /^(\d{2})[./-](\d{2})[./-](\d{4})$/.exec(raw);
|
|
144
|
-
if (!mEu) return null;
|
|
145
|
-
d = +mEu[1];
|
|
146
|
-
m = +mEu[2] - 1;
|
|
147
|
-
y = +mEu[3];
|
|
148
|
-
}
|
|
149
|
-
const local = new Date(y, m, d, hh, mm, 0, 0);
|
|
150
|
-
if (Number.isNaN(local.getTime())) return null;
|
|
151
|
-
if (local.getFullYear() !== y || local.getMonth() !== m || local.getDate() !== d || local.getHours() !== hh || local.getMinutes() !== mm) {
|
|
152
|
-
return null;
|
|
153
|
-
}
|
|
154
|
-
return local;
|
|
155
|
-
}
|
|
156
|
-
function parseLooseRange(input) {
|
|
157
|
-
const parts = splitRangeParts(input);
|
|
158
|
-
if (!parts) return null;
|
|
159
|
-
const [a, b] = parts;
|
|
160
|
-
const s = parseLooseDateOrDateTime(a);
|
|
161
|
-
const e = parseLooseDateOrDateTime(b);
|
|
162
|
-
if (!s || !e) return null;
|
|
163
|
-
return s <= e ? { start: s, end: e } : { start: e, end: s };
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export { compareDateOnly, dateOnlyFromLocalParts, digits, isDateOnlyString, isUtcIsoString, isoFromLocalDate, isoFromLocalParts, localDateFromDateOnly, localDateFromIso, maskDateEU, maskRange, maskSingle, maskTimeHM, pad2, parseLooseDateOrDateTime, parseLooseRange, toMaskedFromDate, utcMillisFromIso };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
|
|
5
|
-
const spacingMap = {
|
|
6
|
-
sm: "var(--spacing-sm)",
|
|
7
|
-
md: "var(--spacing-md)",
|
|
8
|
-
lg: "var(--spacing-lg)"
|
|
9
|
-
};
|
|
10
|
-
const Divider = ({ spacing = "md" }) => {
|
|
11
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12
|
-
"div",
|
|
13
|
-
{
|
|
14
|
-
style: {
|
|
15
|
-
borderTop: "1px solid var(--color-border-subtle)",
|
|
16
|
-
marginBlock: spacingMap[spacing]
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
);
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
exports.Divider = Divider;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
const spacingMap = {
|
|
4
|
-
sm: "var(--spacing-sm)",
|
|
5
|
-
md: "var(--spacing-md)",
|
|
6
|
-
lg: "var(--spacing-lg)"
|
|
7
|
-
};
|
|
8
|
-
const Divider = ({ spacing = "md" }) => {
|
|
9
|
-
return /* @__PURE__ */ jsx(
|
|
10
|
-
"div",
|
|
11
|
-
{
|
|
12
|
-
style: {
|
|
13
|
-
borderTop: "1px solid var(--color-border-subtle)",
|
|
14
|
-
marginBlock: spacingMap[spacing]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { Divider };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var styles = require('./EnvironmentBanner.module.css');
|
|
5
|
-
|
|
6
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
|
-
|
|
8
|
-
var styles__default = /*#__PURE__*/_interopDefault(styles);
|
|
9
|
-
|
|
10
|
-
const PRESETS = {
|
|
11
|
-
production: { label: "Produktionsmilj\xF8", severity: "error" },
|
|
12
|
-
staging: { label: "Staging-milj\xF8", severity: "warning" },
|
|
13
|
-
test: { label: "Test-milj\xF8", severity: "success" }
|
|
14
|
-
};
|
|
15
|
-
function EnvironmentBanner(props) {
|
|
16
|
-
const { label, severity } = props.environment != null ? PRESETS[props.environment] : { label: props.customLabel, severity: props.customSeverity };
|
|
17
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles__default.default.banner, "data-severity": severity, role: "status", "aria-label": label, children: label });
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
exports.EnvironmentBanner = EnvironmentBanner;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { JSX } from 'react';
|
|
2
|
-
import type { Severity } from '../../constants/severity.types';
|
|
3
|
-
export type Environment = 'production' | 'staging' | 'test';
|
|
4
|
-
export type EnvironmentBannerProps = {
|
|
5
|
-
environment: Environment;
|
|
6
|
-
customLabel?: never;
|
|
7
|
-
customSeverity?: never;
|
|
8
|
-
} | {
|
|
9
|
-
environment?: never;
|
|
10
|
-
customLabel: string;
|
|
11
|
-
customSeverity: Severity;
|
|
12
|
-
};
|
|
13
|
-
export declare function EnvironmentBanner(props: EnvironmentBannerProps): JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import styles from './EnvironmentBanner.module.css';
|
|
3
|
-
|
|
4
|
-
const PRESETS = {
|
|
5
|
-
production: { label: "Produktionsmilj\xF8", severity: "error" },
|
|
6
|
-
staging: { label: "Staging-milj\xF8", severity: "warning" },
|
|
7
|
-
test: { label: "Test-milj\xF8", severity: "success" }
|
|
8
|
-
};
|
|
9
|
-
function EnvironmentBanner(props) {
|
|
10
|
-
const { label, severity } = props.environment != null ? PRESETS[props.environment] : { label: props.customLabel, severity: props.customSeverity };
|
|
11
|
-
return /* @__PURE__ */ jsx("div", { className: styles.banner, "data-severity": severity, role: "status", "aria-label": label, children: label });
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { EnvironmentBanner };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
.banner {
|
|
2
|
-
--env-banner-bg: var(--color-bg-toolbar);
|
|
3
|
-
--env-banner-fg: var(--color-fg-default);
|
|
4
|
-
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
width: 100%;
|
|
9
|
-
padding-block: var(--spacing-2xs);
|
|
10
|
-
padding-inline: var(--spacing-md);
|
|
11
|
-
background-color: var(--env-banner-bg);
|
|
12
|
-
color: var(--env-banner-fg);
|
|
13
|
-
letter-spacing: var(--letter-spacing-wide);
|
|
14
|
-
font-size: var(--font-size-md);
|
|
15
|
-
font-weight: var(--font-weight-medium);
|
|
16
|
-
text-transform: uppercase;
|
|
17
|
-
line-height: var(--line-height-normal);
|
|
18
|
-
user-select: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.banner[data-severity='success'] {
|
|
22
|
-
--env-banner-bg: var(--color-status-success);
|
|
23
|
-
--env-banner-fg: var(--color-fg-on-status-success);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.banner[data-severity='warning'] {
|
|
27
|
-
--env-banner-bg: var(--color-status-warning);
|
|
28
|
-
--env-banner-fg: var(--color-fg-on-status-warning);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.banner[data-severity='error'] {
|
|
32
|
-
--env-banner-bg: var(--color-status-error);
|
|
33
|
-
--env-banner-fg: var(--color-fg-on-status-error);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.banner[data-severity='info'] {
|
|
37
|
-
--env-banner-bg: var(--color-status-info);
|
|
38
|
-
--env-banner-fg: var(--color-fg-on-status-info);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.banner[data-severity='brand'] {
|
|
42
|
-
--env-banner-bg: var(--color-brand);
|
|
43
|
-
--env-banner-fg: var(--color-fg-on-brand);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.banner[data-severity='accent'] {
|
|
47
|
-
--env-banner-bg: var(--color-accent);
|
|
48
|
-
--env-banner-fg: var(--color-fg-on-accent);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.banner[data-severity='neutral'] {
|
|
52
|
-
--env-banner-bg: var(--color-neutral);
|
|
53
|
-
--env-banner-fg: var(--color-fg-default);
|
|
54
|
-
}
|