@kcascend/liquid-ui 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/components/HeaderShell/HeaderShell.d.ts +2 -2
  2. package/dist/components/HeaderShell/HeaderShell.d.ts.map +1 -1
  3. package/dist/components/HeaderShell/HeaderShell.js +60 -20
  4. package/dist/components/Loading/Loading.d.ts +3 -0
  5. package/dist/components/Loading/Loading.d.ts.map +1 -0
  6. package/dist/components/Loading/Loading.js +7 -0
  7. package/dist/components/LoadingInline/LoadingInline.d.ts +3 -0
  8. package/dist/components/LoadingInline/LoadingInline.d.ts.map +1 -0
  9. package/dist/components/LoadingInline/LoadingInline.js +15 -0
  10. package/dist/components/Skeleton/Skeleton.d.ts +3 -0
  11. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
  12. package/dist/components/Skeleton/Skeleton.js +45 -0
  13. package/dist/generated/tokens.d.ts +168 -0
  14. package/dist/generated/tokens.d.ts.map +1 -1
  15. package/dist/generated/tokens.js +168 -0
  16. package/dist/governance/headerShellGovernance.d.ts.map +1 -1
  17. package/dist/governance/headerShellGovernance.js +4 -0
  18. package/dist/governance/loadingGovernance.d.ts +3 -0
  19. package/dist/governance/loadingGovernance.d.ts.map +1 -0
  20. package/dist/governance/loadingGovernance.js +11 -0
  21. package/dist/governance/loadingInlineGovernance.d.ts +3 -0
  22. package/dist/governance/loadingInlineGovernance.d.ts.map +1 -0
  23. package/dist/governance/loadingInlineGovernance.js +12 -0
  24. package/dist/governance/skeletonGovernance.d.ts +3 -0
  25. package/dist/governance/skeletonGovernance.d.ts.map +1 -0
  26. package/dist/governance/skeletonGovernance.js +11 -0
  27. package/dist/index.d.ts +7 -1
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +6 -0
  30. package/dist/styles.css +347 -36
  31. package/dist/tokens/components.css +35 -0
  32. package/dist/types.d.ts +26 -0
  33. package/dist/types.d.ts.map +1 -1
  34. package/package.json +1 -2
@@ -1,3 +1,3 @@
1
- import type { HeaderShellProps } from "../../types";
2
- export declare function HeaderShell({ activeNavigationItemId, actions, brand, className, defaultActiveNavigationItemId, menuTriggerLabel, navigationItems, navLabel, onAction, onMenuTriggerClick, onNavigationChange, showMenuTrigger, style, ...props }: HeaderShellProps): import("react/jsx-runtime").JSX.Element;
1
+ import type { HeaderShellProps } from '../../types';
2
+ export declare function HeaderShell({ activeNavigationItemId, actions, brand, className, defaultActiveNavigationItemId, menuTriggerLabel, navigationItems, navLabel, onAction, onMenuTriggerClick, onNavigationChange, showMenuTrigger, showNav, showUtilities, style, ...props }: HeaderShellProps): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=HeaderShell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderShell.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderShell/HeaderShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,aAAa,CAAC;AA2HrB,wBAAgB,WAAW,CAAC,EAC1B,sBAAsB,EACtB,OAAO,EACP,KAAK,EACL,SAAS,EACT,6BAA6B,EAC7B,gBAA8B,EAC9B,eAAe,EACf,QAAoB,EACpB,QAAQ,EACR,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,KAAK,EACL,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAgMlB"}
1
+ {"version":3,"file":"HeaderShell.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderShell/HeaderShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,aAAa,CAAC;AA2KrB,wBAAgB,WAAW,CAAC,EAC1B,sBAAsB,EACtB,OAAO,EACP,KAAK,EACL,SAAS,EACT,6BAA6B,EAC7B,gBAA8B,EAC9B,eAAe,EACf,QAAoB,EACpB,QAAQ,EACR,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,OAAc,EACd,aAAoB,EACpB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA+OlB"}
@@ -1,33 +1,41 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { useEffect, useId, useMemo, useState } from "react";
3
- import { Icon } from "../Icon/Icon";
2
+ import { useEffect, useId, useMemo, useRef, useState } from 'react';
3
+ import { Icon } from '../Icon/Icon';
4
4
  function getClassName(className) {
5
- return ["liquid-header-shell", className].filter(Boolean).join(" ");
5
+ return ['liquid-header-shell', className].filter(Boolean).join(' ');
6
6
  }
7
7
  function getFirstEnabledNavigationItem(items) {
8
8
  return items?.find((item) => !item.disabled)?.id;
9
9
  }
10
10
  function HeaderNavigationLink({ activeItemId, item, onSelect, }) {
11
11
  const isSelected = item.id === activeItemId;
12
+ const isSubmenu = item.type === 'submenu';
13
+ const submenuId = useId();
14
+ const [isSubmenuOpen, setIsSubmenuOpen] = useState(false);
15
+ if (isSubmenu) {
16
+ return (_jsxs("div", { className: "liquid-header-shell__submenu", children: [_jsxs("button", { "aria-controls": submenuId, "aria-expanded": isSubmenuOpen, "aria-haspopup": "menu", className: "liquid-header-shell__nav-link liquid-header-shell__submenu-trigger", "data-selected": isSelected ? 'true' : undefined, "data-submenu-trigger": "true", disabled: item.disabled, onClick: () => {
17
+ setIsSubmenuOpen((current) => !current);
18
+ }, type: "button", children: [_jsx("span", { children: item.label }), _jsx(Icon, { "aria-hidden": "true", name: "chevron_down", size: 16 })] }), isSubmenuOpen && item.submenuItems?.length ? (_jsx("div", { className: "liquid-header-shell__submenu-panel", id: submenuId, role: "menu", children: item.submenuItems.map((submenuItem) => (_jsx(HeaderNavigationLink, { activeItemId: activeItemId, item: submenuItem, onSelect: onSelect }, submenuItem.id))) })) : null] }));
19
+ }
12
20
  if (item.href) {
13
- return (_jsx("a", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ? "true" : undefined, href: item.href, onClick: (event) => {
21
+ return (_jsx("a", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ? 'true' : undefined, href: item.href, onClick: (event) => {
14
22
  if (item.disabled) {
15
23
  event.preventDefault();
16
24
  return;
17
25
  }
18
26
  onSelect(item);
19
- }, "aria-current": isSelected ? "page" : undefined, "aria-disabled": item.disabled ? true : undefined, children: item.label }));
27
+ }, "aria-current": isSelected ? 'page' : undefined, "aria-disabled": item.disabled ? true : undefined, children: item.label }));
20
28
  }
21
- return (_jsx("button", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ? "true" : undefined, disabled: item.disabled, onClick: () => {
29
+ return (_jsx("button", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ? 'true' : undefined, disabled: item.disabled, onClick: () => {
22
30
  if (!item.disabled) {
23
31
  onSelect(item);
24
32
  }
25
- }, type: "button", "aria-current": isSelected ? "page" : undefined, children: item.label }));
33
+ }, type: "button", "aria-current": isSelected ? 'page' : undefined, children: item.label }));
26
34
  }
27
35
  function HeaderUtilityAction({ action, showLabel = false, onAction, }) {
28
- const icon = _jsx(Icon, { name: action.icon, size: action.iconSize ?? 20 });
36
+ const icon = _jsx(Icon, { name: action.icon, size: action.iconSize ?? 24 });
29
37
  if (action.href) {
30
- return (_jsxs("a", { "aria-label": action.label, className: "liquid-header-shell__action", href: action.href, onClick: (event) => {
38
+ return (_jsxs("a", { "aria-label": action.label, "aria-controls": action.expandedControlsId, "aria-expanded": action.hasPopup ? action.expanded : undefined, "aria-haspopup": action.hasPopup ? 'dialog' : undefined, className: "liquid-header-shell__action", href: action.href, onClick: (event) => {
31
39
  if (action.disabled) {
32
40
  event.preventDefault();
33
41
  return;
@@ -35,17 +43,20 @@ function HeaderUtilityAction({ action, showLabel = false, onAction, }) {
35
43
  onAction(action);
36
44
  }, "aria-disabled": action.disabled ? true : undefined, children: [icon, showLabel ? (_jsx("span", { className: "liquid-header-shell__action-label", children: action.label })) : null] }));
37
45
  }
38
- return (_jsxs("button", { "aria-label": action.label, className: "liquid-header-shell__action", disabled: action.disabled, onClick: () => {
46
+ return (_jsxs("button", { "aria-label": action.label, "aria-controls": action.expandedControlsId, "aria-expanded": action.hasPopup ? action.expanded : undefined, "aria-haspopup": action.hasPopup ? 'dialog' : undefined, className: "liquid-header-shell__action", disabled: action.disabled, onClick: () => {
39
47
  if (!action.disabled) {
40
48
  onAction(action);
41
49
  }
42
50
  }, type: "button", children: [icon, showLabel ? (_jsx("span", { className: "liquid-header-shell__action-label", children: action.label })) : null] }));
43
51
  }
44
- export function HeaderShell({ activeNavigationItemId, actions, brand, className, defaultActiveNavigationItemId, menuTriggerLabel = "Open menu", navigationItems, navLabel = "Primary", onAction, onMenuTriggerClick, onNavigationChange, showMenuTrigger, style, ...props }) {
52
+ export function HeaderShell({ activeNavigationItemId, actions, brand, className, defaultActiveNavigationItemId, menuTriggerLabel = 'Open menu', navigationItems, navLabel = 'Primary', onAction, onMenuTriggerClick, onNavigationChange, showMenuTrigger, showNav = true, showUtilities = true, style, ...props }) {
45
53
  const fallbackActiveId = useMemo(() => getFirstEnabledNavigationItem(navigationItems), [navigationItems]);
46
54
  const [internalActiveId, setInternalActiveId] = useState(defaultActiveNavigationItemId ?? fallbackActiveId);
47
55
  const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
48
56
  const mobileAccordionId = useId();
57
+ const menuTriggerRef = useRef(null);
58
+ const mobilePanelRef = useRef(null);
59
+ const wasMobileMenuOpen = useRef(false);
49
60
  const shouldShowMenuTrigger = showMenuTrigger ?? true;
50
61
  const resolvedActiveId = activeNavigationItemId ?? internalActiveId ?? fallbackActiveId;
51
62
  const closeMobileMenu = () => {
@@ -68,32 +79,61 @@ export function HeaderShell({ activeNavigationItemId, actions, brand, className,
68
79
  onMenuTriggerClick?.();
69
80
  };
70
81
  useEffect(() => {
82
+ if (isMobileMenuOpen) {
83
+ const firstFocusable = mobilePanelRef.current?.querySelector('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');
84
+ firstFocusable?.focus();
85
+ wasMobileMenuOpen.current = true;
86
+ }
87
+ else if (wasMobileMenuOpen.current) {
88
+ menuTriggerRef.current?.focus();
89
+ wasMobileMenuOpen.current = false;
90
+ }
71
91
  if (!isMobileMenuOpen) {
72
92
  return;
73
93
  }
74
94
  const handleEscape = (event) => {
75
- if (event.key === "Escape") {
95
+ if (event.key === 'Escape') {
76
96
  closeMobileMenu();
77
97
  }
78
98
  };
79
99
  const previousOverflow = document.body.style.overflow;
80
- document.body.style.overflow = "hidden";
81
- window.addEventListener("keydown", handleEscape);
100
+ document.body.style.overflow = 'hidden';
101
+ window.addEventListener('keydown', handleEscape);
82
102
  return () => {
83
103
  document.body.style.overflow = previousOverflow;
84
- window.removeEventListener("keydown", handleEscape);
104
+ window.removeEventListener('keydown', handleEscape);
85
105
  };
86
106
  }, [isMobileMenuOpen]);
107
+ const handleMobilePanelKeyDown = (event) => {
108
+ if (event.key !== 'Tab') {
109
+ return;
110
+ }
111
+ const focusable = Array.from(mobilePanelRef.current?.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])') ?? []);
112
+ if (!focusable.length) {
113
+ return;
114
+ }
115
+ const first = focusable[0];
116
+ const last = focusable[focusable.length - 1];
117
+ if (event.shiftKey && document.activeElement === first) {
118
+ event.preventDefault();
119
+ last.focus();
120
+ }
121
+ else if (!event.shiftKey && document.activeElement === last) {
122
+ event.preventDefault();
123
+ first.focus();
124
+ }
125
+ };
87
126
  const navigationContent = (_jsx(_Fragment, { children: navigationItems.map((item) => (_jsx(HeaderNavigationLink, { activeItemId: resolvedActiveId, item: item, onSelect: handleNavigationSelect }, item.id))) }));
88
127
  const actionsContent = actions?.length ? (_jsx(_Fragment, { children: actions.map((action) => (_jsx(HeaderUtilityAction, { action: action, onAction: handleAction }, action.id))) })) : null;
89
128
  const mobileActionsContent = actions?.length ? (_jsx(_Fragment, { children: actions.map((action) => (_jsx(HeaderUtilityAction, { action: action, showLabel: true, onAction: handleAction }, `mobile:${action.id}`))) })) : null;
90
- return (_jsxs("header", { ...props, className: getClassName(className), "data-mobile-menu-enabled": shouldShowMenuTrigger ? "true" : undefined, style: style, children: [_jsxs("div", { className: "liquid-header-shell__inner", children: [_jsxs("div", { className: "liquid-header-shell__left", children: [shouldShowMenuTrigger ? (_jsx("button", { "aria-label": menuTriggerLabel, "aria-controls": mobileAccordionId, "aria-expanded": isMobileMenuOpen, className: "liquid-header-shell__action liquid-header-shell__menu-trigger", onClick: handleMenuTriggerClick, type: "button", children: _jsx(Icon, { name: isMobileMenuOpen ? "close" : "menu", size: 20 }) })) : null, _jsx("div", { className: "liquid-header-shell__brand", children: brand }), _jsx("nav", { "aria-label": navLabel, className: "liquid-header-shell__nav", children: _jsx("div", { className: "liquid-header-shell__nav-list", children: navigationContent }) })] }), actionsContent ? (_jsx("div", { className: "liquid-header-shell__actions", children: actionsContent })) : null, shouldShowMenuTrigger ? (_jsx("div", { "aria-hidden": "true", className: "liquid-header-shell__right-spacer" })) : null] }), shouldShowMenuTrigger ? (_jsxs("div", { className: "liquid-header-shell__mobile-layer", "data-open": isMobileMenuOpen ? "true" : undefined, hidden: !isMobileMenuOpen, children: [_jsx("button", { "aria-label": "Close menu", className: "liquid-header-shell__mobile-backdrop", onClick: () => {
129
+ return (_jsxs("header", { ...props, className: getClassName(className), "data-mobile-menu-enabled": shouldShowMenuTrigger ? 'true' : undefined, style: style, children: [_jsxs("div", { className: "liquid-header-shell__inner", children: [_jsxs("div", { className: "liquid-header-shell__left", children: [shouldShowMenuTrigger ? (_jsx("button", { "aria-label": menuTriggerLabel, "aria-controls": mobileAccordionId, "aria-expanded": isMobileMenuOpen, className: "liquid-header-shell__action liquid-header-shell__menu-trigger", ref: menuTriggerRef, onClick: handleMenuTriggerClick, type: "button", children: _jsx(Icon, { name: isMobileMenuOpen ? 'close' : 'menu', size: 20 }) })) : null, _jsx("div", { className: "liquid-header-shell__brand", children: brand }), showNav ? (_jsx("nav", { "aria-label": navLabel, className: "liquid-header-shell__nav", children: _jsx("div", { className: "liquid-header-shell__nav-list", children: navigationContent }) })) : null] }), showUtilities && actionsContent ? (_jsx("div", { className: "liquid-header-shell__actions", children: actionsContent })) : null, shouldShowMenuTrigger ? (_jsx("div", { "aria-hidden": "true", className: "liquid-header-shell__right-spacer" })) : null] }), shouldShowMenuTrigger ? (_jsxs("div", { className: "liquid-header-shell__mobile-layer", "data-open": isMobileMenuOpen ? 'true' : undefined, hidden: !isMobileMenuOpen, children: [_jsx("button", { "aria-label": "Close menu", className: "liquid-header-shell__mobile-backdrop", onClick: () => {
91
130
  closeMobileMenu();
92
- }, type: "button" }), _jsxs("aside", { className: "liquid-header-shell__mobile-panel", id: mobileAccordionId, role: "dialog", "aria-modal": "true", "aria-label": navLabel, onClick: (event) => {
131
+ }, type: "button" }), _jsxs("aside", { className: "liquid-header-shell__mobile-panel", id: mobileAccordionId, role: "dialog", "aria-modal": "true", "aria-label": navLabel, ref: mobilePanelRef, onClick: (event) => {
93
132
  const target = event.target;
94
- if (target.closest(".liquid-header-shell__nav-link") ||
95
- target.closest(".liquid-header-shell__action")) {
133
+ if ((!target.closest('.liquid-header-shell__submenu-trigger') &&
134
+ target.closest('.liquid-header-shell__nav-link')) ||
135
+ target.closest('.liquid-header-shell__action')) {
96
136
  closeMobileMenu();
97
137
  }
98
- }, children: [_jsx("nav", { "aria-label": navLabel, className: "liquid-header-shell__mobile-nav", children: _jsx("div", { className: "liquid-header-shell__mobile-nav-list", children: navigationContent }) }), mobileActionsContent ? (_jsx("div", { className: "liquid-header-shell__mobile-actions", children: mobileActionsContent })) : null] })] })) : null] }));
138
+ }, onKeyDown: handleMobilePanelKeyDown, children: [showNav ? (_jsx("nav", { "aria-label": navLabel, className: "liquid-header-shell__mobile-nav", children: _jsx("div", { className: "liquid-header-shell__mobile-nav-list", children: navigationContent }) })) : null, showUtilities && mobileActionsContent ? (_jsx("div", { className: "liquid-header-shell__mobile-actions", children: mobileActionsContent })) : null] })] })) : null] }));
99
139
  }
@@ -0,0 +1,3 @@
1
+ import type { LoadingProps } from '../../types';
2
+ export declare function Loading({ className, label, showLabel, style, ...props }: LoadingProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=Loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../src/components/Loading/Loading.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAMhD,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,KAAoB,EACpB,SAAiB,EACjB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,YAAY,2CAiBd"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ function getClassName(className) {
3
+ return ['liquid-loading', className].filter(Boolean).join(' ');
4
+ }
5
+ export function Loading({ className, label = 'Loading...', showLabel = false, style, ...props }) {
6
+ return (_jsxs("div", { ...props, "aria-atomic": "true", "aria-label": showLabel ? undefined : label, "aria-live": "polite", className: getClassName(className), role: "status", style: style, children: [_jsx("span", { "aria-hidden": "true", className: "liquid-loading__spinner" }), showLabel ? (_jsx("span", { className: "liquid-loading__label", children: label })) : null] }));
7
+ }
@@ -0,0 +1,3 @@
1
+ import type { LoadingInlineProps } from '../../types';
2
+ export declare function LoadingInline({ className, label, showLabel, state, style, ...props }: LoadingInlineProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=LoadingInline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingInline.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingInline/LoadingInline.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,aAAa,CAAC;AAY1E,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,KAAK,EACL,SAAgB,EAChB,KAAgB,EAChB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,kBAAkB,2CA2BpB"}
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Icon } from '../Icon/Icon';
3
+ const DEFAULT_LABELS = {
4
+ active: 'Loading...',
5
+ finish: 'Finished',
6
+ error: 'Error',
7
+ };
8
+ function getClassName(className) {
9
+ return ['liquid-loading-inline', className].filter(Boolean).join(' ');
10
+ }
11
+ export function LoadingInline({ className, label, showLabel = true, state = 'active', style, ...props }) {
12
+ const resolvedLabel = label ?? DEFAULT_LABELS[state];
13
+ const iconName = state === 'finish' ? 'check_circle' : 'error';
14
+ return (_jsxs("span", { ...props, "aria-atomic": "true", "aria-label": showLabel ? undefined : resolvedLabel, "aria-live": "polite", className: getClassName(className), "data-state": state, role: "status", style: style, children: [state === 'active' ? (_jsx("span", { "aria-hidden": "true", className: "liquid-loading-inline__spinner" })) : (_jsx("span", { className: "liquid-loading-inline__status-icon", children: _jsx(Icon, { "aria-hidden": "true", name: iconName, size: 16 }) })), showLabel ? (_jsx("span", { className: "liquid-loading-inline__label", children: resolvedLabel })) : null] }));
15
+ }
@@ -0,0 +1,3 @@
1
+ import type { SkeletonProps } from '../../types';
2
+ export declare function Skeleton({ className, heading, label, lineCount, paragraph, style, variant, width, ...props }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoBjD,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EACT,OAAe,EACf,KAAyB,EACzB,SAAa,EACb,SAAiB,EACjB,KAAK,EACL,OAAgB,EAChB,KAAc,EACd,GAAG,KAAK,EACT,EAAE,aAAa,2CAwEf"}
@@ -0,0 +1,45 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useEffect, useRef } from 'react';
3
+ // Matches Carbon's SkeletonText: fixed pseudo-random offsets keep line widths
4
+ // varied but stable across renders instead of using Math.random().
5
+ const RANDOM_OFFSETS = [
6
+ 0.973051493507435, 0.15334737213558558, 0.5671034553053769,
7
+ ];
8
+ function getRandomOffset(min, max, index) {
9
+ return (Math.floor(RANDOM_OFFSETS[index % RANDOM_OFFSETS.length] * (max - min + 1)) + min);
10
+ }
11
+ function getClassName(...classNames) {
12
+ return classNames.filter(Boolean).join(' ');
13
+ }
14
+ export function Skeleton({ className, heading = false, label = 'Loading content', lineCount = 3, paragraph = false, style, variant = 'text', width = '100%', ...props }) {
15
+ const lineRefs = useRef([]);
16
+ const lineTotal = paragraph ? Math.max(1, lineCount) : 1;
17
+ const widthIsPercent = width.includes('%');
18
+ const widthNumber = Number.parseInt(width, 10);
19
+ useEffect(() => {
20
+ if (variant !== 'text') {
21
+ return;
22
+ }
23
+ lineRefs.current.slice(0, lineTotal).forEach((line, index) => {
24
+ if (!line) {
25
+ return;
26
+ }
27
+ if (!paragraph) {
28
+ line.style.width = width;
29
+ return;
30
+ }
31
+ if (widthIsPercent) {
32
+ line.style.width = `calc(${width} - ${getRandomOffset(0, 75, index)}px)`;
33
+ }
34
+ else {
35
+ line.style.width = `${getRandomOffset(Math.max(widthNumber - 75, 0), widthNumber, index)}px`;
36
+ }
37
+ });
38
+ }, [lineTotal, paragraph, variant, width, widthIsPercent, widthNumber]);
39
+ if (variant === 'placeholder') {
40
+ return (_jsx("div", { ...props, "aria-busy": "true", "aria-label": label, className: getClassName('liquid-skeleton__placeholder', className), role: "status", style: style }));
41
+ }
42
+ return (_jsx("div", { ...props, "aria-busy": "true", "aria-label": label, className: getClassName('liquid-skeleton', className), role: "status", style: style, children: Array.from({ length: lineTotal }, (_, index) => (_jsx("p", { "aria-hidden": "true", className: getClassName('liquid-skeleton__text', heading && 'liquid-skeleton__text--heading'), ref: (node) => {
43
+ lineRefs.current[index] = node;
44
+ } }, index))) }));
45
+ }
@@ -10661,6 +10661,10 @@ export declare const tokens: {
10661
10661
  readonly type: "dimension";
10662
10662
  readonly value: "{semantic-layout.inline.sm}";
10663
10663
  };
10664
+ readonly "menu-gap": {
10665
+ readonly type: "dimension";
10666
+ readonly value: "{primitives.space.4}";
10667
+ };
10664
10668
  };
10665
10669
  readonly brand: {
10666
10670
  readonly text: {
@@ -10731,6 +10735,10 @@ export declare const tokens: {
10731
10735
  readonly type: "dimension";
10732
10736
  readonly value: "{semantic-layout.inset.md}";
10733
10737
  };
10738
+ readonly "submenu-icon-size": {
10739
+ readonly type: "dimension";
10740
+ readonly value: "{primitives.space.16}";
10741
+ };
10734
10742
  readonly background: {
10735
10743
  readonly hover: {
10736
10744
  readonly type: "color";
@@ -10745,12 +10753,20 @@ export declare const tokens: {
10745
10753
  readonly type: "color";
10746
10754
  readonly value: "{semantic-color.border.border-brand}";
10747
10755
  };
10756
+ readonly "indicator-height": {
10757
+ readonly type: "dimension";
10758
+ readonly value: "3px";
10759
+ };
10748
10760
  };
10749
10761
  readonly action: {
10750
10762
  readonly size: {
10751
10763
  readonly type: "dimension";
10752
10764
  readonly value: "{semantic-layout.control.height.lg}";
10753
10765
  };
10766
+ readonly "icon-size": {
10767
+ readonly type: "dimension";
10768
+ readonly value: "{primitives.space.24}";
10769
+ };
10754
10770
  readonly icon: {
10755
10771
  readonly default: {
10756
10772
  readonly type: "color";
@@ -10789,6 +10805,10 @@ export declare const tokens: {
10789
10805
  readonly type: "dimension";
10790
10806
  readonly value: "{semantic-layout.control.height.lg}";
10791
10807
  };
10808
+ readonly "icon-size": {
10809
+ readonly type: "dimension";
10810
+ readonly value: "{primitives.space.24}";
10811
+ };
10792
10812
  };
10793
10813
  };
10794
10814
  readonly index: {
@@ -11197,6 +11217,120 @@ export declare const tokens: {
11197
11217
  };
11198
11218
  };
11199
11219
  };
11220
+ readonly loading: {
11221
+ readonly layout: {
11222
+ readonly gap: {
11223
+ readonly type: "dimension";
11224
+ readonly value: "{primitives.space.16}";
11225
+ };
11226
+ readonly "indicator-size": {
11227
+ readonly type: "dimension";
11228
+ readonly value: "88px";
11229
+ };
11230
+ readonly "indicator-stroke-width": {
11231
+ readonly type: "dimension";
11232
+ readonly value: "8.8px";
11233
+ };
11234
+ };
11235
+ readonly color: {
11236
+ readonly indicator: {
11237
+ readonly type: "color";
11238
+ readonly value: "{semantic-color.status.status-info}";
11239
+ };
11240
+ readonly label: {
11241
+ readonly type: "color";
11242
+ readonly value: "{semantic-color.text.text-secondary}";
11243
+ };
11244
+ };
11245
+ readonly typography: {
11246
+ readonly label: {
11247
+ readonly family: {
11248
+ readonly type: "string";
11249
+ readonly value: "{semantic-type.label.label-02.family}";
11250
+ };
11251
+ readonly weight: {
11252
+ readonly type: "number";
11253
+ readonly value: "{semantic-type.label.label-02.weight}";
11254
+ };
11255
+ readonly size: {
11256
+ readonly type: "dimension";
11257
+ readonly value: "{semantic-type.label.label-02.size}";
11258
+ };
11259
+ readonly "line-height": {
11260
+ readonly type: "dimension";
11261
+ readonly value: "{semantic-type.label.label-02.line-height}";
11262
+ };
11263
+ readonly "letter-spacing": {
11264
+ readonly type: "dimension";
11265
+ readonly value: "{semantic-type.label.label-02.letter-spacing}";
11266
+ };
11267
+ };
11268
+ };
11269
+ };
11270
+ readonly "inline-loading": {
11271
+ readonly layout: {
11272
+ readonly gap: {
11273
+ readonly type: "dimension";
11274
+ readonly value: "{primitives.space.8}";
11275
+ };
11276
+ readonly "indicator-size": {
11277
+ readonly type: "dimension";
11278
+ readonly value: "16px";
11279
+ };
11280
+ readonly "indicator-stroke-width": {
11281
+ readonly type: "dimension";
11282
+ readonly value: "3px";
11283
+ };
11284
+ readonly "status-icon-size": {
11285
+ readonly type: "dimension";
11286
+ readonly value: "16px";
11287
+ };
11288
+ };
11289
+ readonly color: {
11290
+ readonly indicator: {
11291
+ readonly active: {
11292
+ readonly type: "color";
11293
+ readonly value: "{semantic-color.status.status-info}";
11294
+ };
11295
+ readonly finish: {
11296
+ readonly type: "color";
11297
+ readonly value: "{semantic-color.status.status-success}";
11298
+ };
11299
+ readonly error: {
11300
+ readonly type: "color";
11301
+ readonly value: "{semantic-color.status.status-error}";
11302
+ };
11303
+ };
11304
+ readonly label: {
11305
+ readonly type: "color";
11306
+ readonly value: "{semantic-color.text.text-secondary}";
11307
+ };
11308
+ };
11309
+ readonly typography: {
11310
+ readonly label: {
11311
+ readonly family: {
11312
+ readonly type: "string";
11313
+ readonly value: "{semantic-type.label.label-01.family}";
11314
+ };
11315
+ readonly weight: {
11316
+ readonly type: "number";
11317
+ readonly value: "{semantic-type.label.label-01.weight}";
11318
+ };
11319
+ readonly size: {
11320
+ readonly type: "dimension";
11321
+ readonly value: "{semantic-type.label.label-01.size}";
11322
+ };
11323
+ readonly "line-height": {
11324
+ readonly type: "dimension";
11325
+ readonly value: "{semantic-type.label.label-01.line-height}";
11326
+ };
11327
+ readonly "letter-spacing": {
11328
+ readonly type: "dimension";
11329
+ readonly value: "{semantic-type.label.label-01.letter-spacing}";
11330
+ };
11331
+ };
11332
+ };
11333
+ };
11200
11334
  readonly modal: {
11201
11335
  readonly layout: {
11202
11336
  readonly width: {
@@ -11837,6 +11971,40 @@ export declare const tokens: {
11837
11971
  };
11838
11972
  };
11839
11973
  };
11974
+ readonly skeleton: {
11975
+ readonly layout: {
11976
+ readonly "border-radius": {
11977
+ readonly type: "dimension";
11978
+ readonly value: "4px";
11979
+ };
11980
+ readonly "text-line-height": {
11981
+ readonly type: "dimension";
11982
+ readonly value: "16px";
11983
+ };
11984
+ readonly "text-heading-height": {
11985
+ readonly type: "dimension";
11986
+ readonly value: "24px";
11987
+ };
11988
+ readonly "text-line-gap": {
11989
+ readonly type: "dimension";
11990
+ readonly value: "{primitives.space.8}";
11991
+ };
11992
+ readonly "placeholder-height": {
11993
+ readonly type: "dimension";
11994
+ readonly value: "188px";
11995
+ };
11996
+ };
11997
+ readonly color: {
11998
+ readonly background: {
11999
+ readonly type: "color";
12000
+ readonly value: "{semantic-color.surface.surface-01}";
12001
+ };
12002
+ readonly element: {
12003
+ readonly type: "color";
12004
+ readonly value: "{semantic-color.surface.surface-01-hover}";
12005
+ };
12006
+ };
12007
+ };
11840
12008
  readonly "structured-list": {
11841
12009
  readonly layout: {
11842
12010
  readonly width: {
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/generated/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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