@maxio-com/react-ui-components 9.34.2 → 9.35.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.
@@ -38,6 +38,7 @@ Use this skill to build React components using `@maxio-com/react-ui-components`.
38
38
  - [Components / Dialog](references/components-dialog.md)
39
39
  - [Components / Drawer](references/components-drawer.md)
40
40
  - [Components / Empty State](references/components-empty-state.md)
41
+ - [Components / Environment Bar](references/components-environment-bar.md)
41
42
  - [Components / Flex](references/components-flex.md)
42
43
  - [Components / Forms / Checkbox](references/components-forms-checkbox.md)
43
44
  - [Components / Forms / ComboBox](references/components-forms-combobox.md)
@@ -0,0 +1,83 @@
1
+ # EnvironmentBar
2
+
3
+ ## Usage Guidelines
4
+
5
+ ### Overview
6
+
7
+ EnvironmentBar is a thin, persistent strip across the top of the window that tells
8
+ users which environment they are in, so a sandbox is never mistaken for live.
9
+
10
+ #### When to Use
11
+
12
+ - Use it to show persistent environment context, such as a sandbox instance, on every page of that environment.
13
+ - Place one bar per screen, across the full width of the window at the very top, above the side nav and the product's top bar. The icon and text sit on the right. The default right padding (14px) lines the text up with the Maxio top bar's last icon; to line it up with a different top bar, set the padding with a utility class, such as `pr-4`.
14
+
15
+ #### When Not to Use
16
+
17
+ - Do not use it for messages, alerts, or anything that changes or can be dismissed. Use [Banner](components-notifications-banner.md) or [Alert](components-notifications-alert.md) instead.
18
+ - Do not show it in live environments.
19
+
20
+ ### Accessibility
21
+
22
+ - The bar is static text, not a live region: screen readers read it in document order, so it is not announced on every page load.
23
+ - The bar is a region labeled "Environment", so screen-reader users can reach it from the landmarks list.
24
+ - Screen-reader users who jump straight to the main content or move by headings never pass through the bar. Also name the environment where they do land, such as a "Sandbox · " prefix in the document title, which is read on every page load and in the tab list.
25
+ - The icon is decorative and hidden from assistive technology; the text names the environment.
26
+ - Text and icon use `text-info` on `bg-info`: about 9.5:1 in light mode and 10.6:1 in dark mode.
27
+ - A label that does not fit keeps its start, the environment name, visible and truncates at the end.
28
+ - In forced-colors mode (Windows High Contrast), the background and shadow are dropped, so the bar shows a bottom border instead.
29
+
30
+ ### Content
31
+
32
+ - Use a short noun phrase that names the environment, such as "Sandbox Environment".
33
+ - Do not end with a period, and do not add instructions or links.
34
+
35
+ ### Related
36
+
37
+ - **[Banner](components-notifications-banner.md)**: Use for important page-level messages the user must notice.
38
+ - **[Alert](components-notifications-alert.md)**: Use for contextual notices inside a smaller surface.
39
+
40
+ ## React
41
+
42
+ ```tsx
43
+ import { EnvironmentBar } from '@maxio-com/react-ui-components';
44
+ ```
45
+
46
+ ## Imports
47
+
48
+ ```tsx
49
+ import { EnvironmentBar } from "@maxio-com/react-ui-components";
50
+ ```
51
+
52
+ ## Prop Types
53
+
54
+ ### EnvironmentBar
55
+
56
+ | Prop | Type | Required | Default | Description | Source |
57
+ | --- | --- | --- | --- | --- | --- |
58
+ | `children` | `string` | yes | - | The text in the bar, e.g. "Sandbox Environment" | TypeLiteral |
59
+ | `className` | `string` | no | - | Additional CSS class name to be applied to the bar | TypeLiteral |
60
+ | `data-testid` | `string` | no | - | Test ID set on the component's root element. Components with internal parts derive their IDs from it (e.g. `<id>.row.<rowId>`). | TypeLiteral |
61
+ | `icon` | `string \| null` | no | `cube` | Design-system icon before the text. Defaults to `cube`; `null` hides it | TypeLiteral |
62
+
63
+ ## Stories
64
+
65
+ ### Default
66
+
67
+ Use one bar per screen, across the full width of the window at the very top,
68
+ above the side nav and the top bar, for sandbox instances. The cube and text sit
69
+ on the right, ending where the top bar's last icon ends. The cube matches the
70
+ sandbox marker in the instance picker.
71
+
72
+ ```tsx
73
+ const Default = () => <EnvironmentBar>Sandbox Environment</EnvironmentBar>;
74
+ ```
75
+
76
+ ### Without Icon
77
+
78
+ Hide the icon only when the surrounding layout already shows an environment
79
+ marker next to the bar.
80
+
81
+ ```tsx
82
+ const WithoutIcon = () => <EnvironmentBar icon={null}>Sandbox Environment</EnvironmentBar>;
83
+ ```
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { EnvironmentBarProps } from './EnvironmentBar.types';
3
+ declare const EnvironmentBar: ({ children, icon, className, "data-testid": testId, }: EnvironmentBarProps) => React.JSX.Element;
4
+ export default EnvironmentBar;
5
+ //# sourceMappingURL=EnvironmentBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/EnvironmentBar/EnvironmentBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAO7D,QAAA,MAAM,cAAc,GAAI,uDAKrB,mBAAmB,sBAcrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { TestIdProps } from '../../utils/testId';
2
+ import type { IconVariant } from '../Icon';
3
+ export type EnvironmentBarProps = TestIdProps & {
4
+ children: string;
5
+ icon?: IconVariant | null;
6
+ className?: string;
7
+ };
8
+ //# sourceMappingURL=EnvironmentBar.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentBar.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/EnvironmentBar/EnvironmentBar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG;IAI9C,QAAQ,EAAE,MAAM,CAAC;IAIjB,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAI1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as EnvironmentBar } from './EnvironmentBar';
2
+ export type { EnvironmentBarProps } from './EnvironmentBar.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/EnvironmentBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -10,6 +10,7 @@ import DataTable, { createColumnHelper } from './DataTable';
10
10
  import { Dialog } from './Dialog';
11
11
  import { Drawer } from './Drawer';
12
12
  import { EmptyState } from './EmptyState';
13
+ import { EnvironmentBar } from './EnvironmentBar';
13
14
  import Icon from './Icon';
14
15
  import Link from './Link';
15
16
  import LoadingSpinner from './LoadingSpinner';
@@ -36,13 +37,14 @@ import { Chip } from './Chip';
36
37
  import { Flex } from './Flex';
37
38
  import { Grid } from './Grid';
38
39
  import { ListBox } from './ListBox';
39
- export { ActionList, Dialog, Drawer, Alert, Avatar, Banner, Body, Card, Breadcrumbs, BreadcrumbsItem, Button, Checkbox, CheckboxGroup, Code, ComboBox, CopyToClipboard, createColumnHelper, DataTable, Display, EmptyState, FormErrorMessage, FormHelperText, Heading, Icon, IconButton, Label, Link, LoadingSpinner, Logo, Menu, MenuButton, MenuList, Modal, NumberField, OverlayTrigger, Pagination, Popover, DialogTrigger, Pressable, ProgressBar, Radio, RadioGroup, SearchField, Select, SegmentedControl, SideNav, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, TextArea, TextField, TextInput, Tile, ToastProvider, GlobalToastProvider, useToast, ToastQueue, Toggle, Tooltip, TooltipTrigger, TopBar, Chip, Flex, Grid, ListBox, };
40
+ export { ActionList, Dialog, Drawer, Alert, Avatar, Banner, Body, Card, Breadcrumbs, BreadcrumbsItem, Button, Checkbox, CheckboxGroup, Code, ComboBox, CopyToClipboard, createColumnHelper, DataTable, Display, EmptyState, EnvironmentBar, FormErrorMessage, FormHelperText, Heading, Icon, IconButton, Label, Link, LoadingSpinner, Logo, Menu, MenuButton, MenuList, Modal, NumberField, OverlayTrigger, Pagination, Popover, DialogTrigger, Pressable, ProgressBar, Radio, RadioGroup, SearchField, Select, SegmentedControl, SideNav, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, TextArea, TextField, TextInput, Tile, ToastProvider, GlobalToastProvider, useToast, ToastQueue, Toggle, Tooltip, TooltipTrigger, TopBar, Chip, Flex, Grid, ListBox, };
40
41
  export type { PopoverProps } from './Popover/types';
41
42
  export type { DrawerProps } from './Drawer/types';
42
43
  export type { DialogProps } from './Dialog/types';
43
44
  export type { ModalProps, ModalSize } from './Modal/types';
44
45
  export type { CopyToClipboardProps, CopyToClipboardSize, CopyToClipboardVariant, } from './CopyToClipboard';
45
46
  export type { EmptyStateHeadingLevel, EmptyStateProps } from './EmptyState';
47
+ export type { EnvironmentBarProps } from './EnvironmentBar';
46
48
  export type { ComboBoxProps, NumberFieldProps, SearchFieldProps, TextAreaProps, TextFieldProps, TextInputProps, } from './forms';
47
49
  export type { SegmentedControlItemProps, SegmentedControlProps, SegmentedControlSize, } from './SegmentedControl';
48
50
  export { Calendar } from './Calendar';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,SAAS,EAAE,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,MA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MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EACV,oBAAoB,EACpB,eAAe,GAChB,MAAM,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxio-com/react-ui-components",
3
- "version": "9.34.2",
3
+ "version": "9.35.0",
4
4
  "description": "React UI components",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@
49
49
  "@floating-ui/react-dom": "^2.1.9",
50
50
  "@floating-ui/react-dom-interactions": "^0.13.3",
51
51
  "@internationalized/date": "^3.12.3",
52
- "@maxio-com/design-tokens": "^4.3.0",
52
+ "@maxio-com/design-tokens": "^4.4.0",
53
53
  "@react-aria/toast": "3.1.1",
54
54
  "@react-aria/utils": "^3.34.1",
55
55
  "@react-stately/checkbox": "^3.8.1",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "e2b8a57386993e218486fba9b9a78d3ffc31a0d4"
68
+ "gitHead": "6e7324284070fdc38072a75a20513abc29cd07da"
69
69
  }
@@ -286,6 +286,14 @@ type EmptyStateProps = {
286
286
 
287
287
  declare const EmptyState: ({ hasActiveFilters, title, headingLevel, description, actions, className, ...rest }: EmptyStateProps) => React$1.JSX.Element;
288
288
 
289
+ type EnvironmentBarProps = TestIdProps & {
290
+ children: string;
291
+ icon?: IconVariant | null;
292
+ className?: string;
293
+ };
294
+
295
+ declare const EnvironmentBar: ({ children, icon, className, "data-testid": testId, }: EnvironmentBarProps) => React$1.JSX.Element;
296
+
289
297
  type Variant = 'primary' | 'secondary' | 'tertiary' | 'high-contrast' | 'inverse';
290
298
  type Size = 'xs' | 'sm' | 'md' | 'lg';
291
299
  interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
@@ -1037,5 +1045,5 @@ type AuthLayoutProps = {
1037
1045
 
1038
1046
  declare const AuthLayout: ({ children, heading, description, sentiment, leadingElement, alert, topAddon, footer, }: AuthLayoutProps) => React$1.JSX.Element;
1039
1047
 
1040
- export { ActionList, Alert, AuthLayout, Avatar, Banner, Body, Breadcrumbs, BreadcrumbsItem, Button, Calendar, Card, Checkbox, CheckboxGroup, Chip, Code, ComboBox, CopyToClipboard, DataTable, DateField, DatePicker, DateRangePicker, Dialog, Display, Drawer, EmptyState, Flex, FormErrorMessage, FormHelperText, GlobalToastProvider, Grid, Heading, Icon, IconButton, Label, Link, ListBox, LoadingSpinner, Logo, Menu, MenuButton, MenuList, Modal, NumberField, OverlayTrigger, Pagination, Popover, ProgressBar, Radio, RadioGroup, RangeCalendar, SearchField, SegmentedControl, Select, SideNavWrapper as SideNav, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, TextArea, TextField, TextInput, Tile, ToastProvider, ToastQueue, Toggle, Tooltip, TooltipTrigger, TopBar, useElementResizeObserver, useHover, useOverlayTrigger, useToast, useWindowSize };
1041
- export type { CalendarNavigation, CalendarProps, ComboBoxProps, CopyToClipboardProps, CopyToClipboardSize, CopyToClipboardVariant, DateFieldProps, DatePickerProps, DatePreset, DateRangePickerProps, DateRangePreset, DialogProps, DrawerProps, EmptyStateHeadingLevel, EmptyStateProps, Interactions, ModalProps, ModalSize, NumberFieldProps, OverlayAriaRole, Placement, PopoverProps, RangeCalendarProps, SearchFieldProps, SegmentedControlItemProps, SegmentedControlProps, SegmentedControlSize, TextAreaProps, TextFieldProps, TextInputProps };
1048
+ export { ActionList, Alert, AuthLayout, Avatar, Banner, Body, Breadcrumbs, BreadcrumbsItem, Button, Calendar, Card, Checkbox, CheckboxGroup, Chip, Code, ComboBox, CopyToClipboard, DataTable, DateField, DatePicker, DateRangePicker, Dialog, Display, Drawer, EmptyState, EnvironmentBar, Flex, FormErrorMessage, FormHelperText, GlobalToastProvider, Grid, Heading, Icon, IconButton, Label, Link, ListBox, LoadingSpinner, Logo, Menu, MenuButton, MenuList, Modal, NumberField, OverlayTrigger, Pagination, Popover, ProgressBar, Radio, RadioGroup, RangeCalendar, SearchField, SegmentedControl, Select, SideNavWrapper as SideNav, Tab, TabList, TabPanel, TabPanels, Tabs, Tag, TextArea, TextField, TextInput, Tile, ToastProvider, ToastQueue, Toggle, Tooltip, TooltipTrigger, TopBar, useElementResizeObserver, useHover, useOverlayTrigger, useToast, useWindowSize };
1049
+ export type { CalendarNavigation, CalendarProps, ComboBoxProps, CopyToClipboardProps, CopyToClipboardSize, CopyToClipboardVariant, DateFieldProps, DatePickerProps, DatePreset, DateRangePickerProps, DateRangePreset, DialogProps, DrawerProps, EmptyStateHeadingLevel, EmptyStateProps, EnvironmentBarProps, Interactions, ModalProps, ModalSize, NumberFieldProps, OverlayAriaRole, Placement, PopoverProps, RangeCalendarProps, SearchFieldProps, SegmentedControlItemProps, SegmentedControlProps, SegmentedControlSize, TextAreaProps, TextFieldProps, TextInputProps };