@servicetitan/anvil2-ext-atlas 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/{artifact-card-up-tMTrn.js → artifact-card-CviyzgR9.js} +23 -3
- package/dist/artifact-card-CviyzgR9.js.map +1 -0
- package/dist/artifact-card.js +1 -1
- package/dist/artifact-panel-CNzdjBT8.js.map +1 -1
- package/dist/artifact-panel-layout-sm-DM-lO.js.map +1 -1
- package/dist/atlas-header-DtYEZIyx.js.map +1 -1
- package/dist/chat-composer-rich-BXkSuUJL.js.map +1 -1
- package/dist/chat-composer-rich.css +2 -3
- package/dist/chat-window-Eh0GzLcm.js.map +1 -1
- package/dist/content-DGEN1Tcq.js.map +1 -1
- package/dist/header-CZ2pSpzC.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/infinite-content-CUXfEs3y.js.map +1 -1
- package/dist/loader-Cj2z0xxN.js.map +1 -1
- package/dist/markdown-text-BcCCdMfH.js.map +1 -1
- package/dist/notification-card-DizmzaUo.js.map +1 -1
- package/dist/pulse-loader-DcrQsZeD.js.map +1 -1
- package/dist/single-recommendation-card-BPbfhvu_.js.map +1 -1
- package/dist/suggestion-BQxfnBot.js.map +1 -1
- package/dist/toolbox-2IgmOZuu.js.map +1 -1
- package/dist/user-message-D1KrKgfD.js.map +1 -1
- package/dist/welcome-aZxbV1rc.js.map +1 -1
- package/package.json +5 -5
- package/dist/artifact-card-up-tMTrn.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @servicetitan/anvil2-ext-atlas
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2671](https://github.com/servicetitan/hammer/pull/2671) [`b263157`](https://github.com/servicetitan/hammer/commit/b263157ce18e33b911962f673237874261d13496) Thanks [@w-a-t-s-o-n](https://github.com/w-a-t-s-o-n)! - These version bumps clear npm version numbers reserved after a security-related unpublish.
|
|
8
|
+
|
|
9
|
+
**Consumers must upgrade to the new versions.** Do **not** pin to unpublished or reserved numbers. Higher versions that still appear in the npm packument `time` field but are missing from installable `versions` must not be used — they return 404 and reject republish.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`c927b6d`](https://github.com/servicetitan/hammer/commit/c927b6d27c01885b76f8d054c27a86cdcd5bed28), [`c927b6d`](https://github.com/servicetitan/hammer/commit/c927b6d27c01885b76f8d054c27a86cdcd5bed28), [`b263157`](https://github.com/servicetitan/hammer/commit/b263157ce18e33b911962f673237874261d13496), [`0a1fa99`](https://github.com/servicetitan/hammer/commit/0a1fa993e16c904aff3b7962f3d3edf24aa8b67f), [`3a2d620`](https://github.com/servicetitan/hammer/commit/3a2d6201b9b89c66acca0130eda5798bf8d8dfdd), [`a7f1232`](https://github.com/servicetitan/hammer/commit/a7f1232fdc2fe1472aae440d82a65eeaf1985a12), [`3ae742e`](https://github.com/servicetitan/hammer/commit/3ae742e736101d38596d1c3d08c89c95d324656f), [`3a2d620`](https://github.com/servicetitan/hammer/commit/3a2d6201b9b89c66acca0130eda5798bf8d8dfdd)]:
|
|
14
|
+
- @servicetitan/anvil2@3.10.0
|
|
15
|
+
|
|
16
|
+
## 4.0.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#2476](https://github.com/servicetitan/hammer/pull/2476) [`256b569`](https://github.com/servicetitan/hammer/commit/256b569baa6d62ad423425ed21c49ce08219e507) Thanks [@w-a-t-s-o-n](https://github.com/w-a-t-s-o-n)! - [Dependencies] Update `@servicetitan/anvil2` peer dependency to `^3.4.1`
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`07b379d`](https://github.com/servicetitan/hammer/commit/07b379d01c3ccfeb2a2df159a5071f36be66b859), [`7d8fda9`](https://github.com/servicetitan/hammer/commit/7d8fda900972af51ffb217a05b5deedb9c9afb8a)]:
|
|
23
|
+
- @servicetitan/anvil2@3.4.2
|
|
24
|
+
|
|
3
25
|
## 4.0.0
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { useState, useEffect,
|
|
3
|
+
import { useMemo, useState, useEffect, forwardRef, useRef } from 'react';
|
|
4
4
|
import { c as classNames } from './index-DDXI3m_u.js';
|
|
5
5
|
import { Text, Flex, Icon } from '@servicetitan/anvil2';
|
|
6
6
|
|
|
@@ -95,6 +95,24 @@ function requireClassnames () {
|
|
|
95
95
|
var classnamesExports = requireClassnames();
|
|
96
96
|
const cx = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
97
97
|
|
|
98
|
+
function useMergeRefs(refs) {
|
|
99
|
+
return useMemo(() => mergeRefs(refs), refs);
|
|
100
|
+
}
|
|
101
|
+
function mergeRefs(refs) {
|
|
102
|
+
if (refs.every((ref) => ref == null)) {
|
|
103
|
+
return null;
|
|
104
|
+
}
|
|
105
|
+
return (value) => {
|
|
106
|
+
refs.forEach((ref) => {
|
|
107
|
+
if (typeof ref === "function") {
|
|
108
|
+
ref(value);
|
|
109
|
+
} else if (ref != null) {
|
|
110
|
+
ref.current = value;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
98
116
|
/**
|
|
99
117
|
* @typedef {Object} TokenValue
|
|
100
118
|
* @property {string} value
|
|
@@ -1431,8 +1449,10 @@ const InteractiveCard = forwardRef(
|
|
|
1431
1449
|
"aria-label": ariaLabel,
|
|
1432
1450
|
className: wrapperClassName,
|
|
1433
1451
|
style: wrapperStyle,
|
|
1452
|
+
ref: wrapperRef,
|
|
1434
1453
|
...restWrapperProps
|
|
1435
1454
|
} = wrapperProps;
|
|
1455
|
+
const mergedWrapperRef = useMergeRefs([ref, wrapperRef]);
|
|
1436
1456
|
const { "aria-label": actionAriaLabel, ...restActionProps } = actionProps;
|
|
1437
1457
|
const {
|
|
1438
1458
|
padding = "medium",
|
|
@@ -1480,7 +1500,7 @@ const InteractiveCard = forwardRef(
|
|
|
1480
1500
|
"aria-label": ariaLabel,
|
|
1481
1501
|
className: wrapperClassNames,
|
|
1482
1502
|
style: wrapperStyle,
|
|
1483
|
-
ref,
|
|
1503
|
+
ref: mergedWrapperRef,
|
|
1484
1504
|
onClick: handleWrapperClick,
|
|
1485
1505
|
onAuxClick: handleWrapperAuxClick,
|
|
1486
1506
|
children: [
|
|
@@ -1595,4 +1615,4 @@ const ArtifactCard = forwardRef(
|
|
|
1595
1615
|
);
|
|
1596
1616
|
|
|
1597
1617
|
export { ArtifactCard as A };
|
|
1598
|
-
//# sourceMappingURL=artifact-card-
|
|
1618
|
+
//# sourceMappingURL=artifact-card-CviyzgR9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-card-CviyzgR9.js","sources":["../../anvil2/dist/index-De1g9FRV.js","../../anvil2/dist/useMergeRefs-Dfmtq9cI.js","../../anvil2/dist/primitive-BXgYQTTw.js","../../anvil2/dist/useBreakpoint-BBNRlMGZ.js","../../anvil2/dist/useLayoutPropsUtil-DjqeAJZ9.js","../../anvil2/dist/getKeyboardFocusableElements-B_U9rt6y.js","../../anvil2/dist/Card-Bt0F6RTq.js","../../anvil2/dist/InteractiveCard-C0g5PxB6.js","../../anvil2/dist/assets/icons/material/round/chevron_right.svg","../src/components/artifact-card/artifact-card.tsx"],"sourcesContent":["function getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nfunction getAugmentedNamespace(n) {\n if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;\n var f = n.default;\n\tif (typeof f == \"function\") {\n\t\tvar a = function a () {\n\t\t\tif (this instanceof a) {\n return Reflect.construct(f, arguments, this.constructor);\n\t\t\t}\n\t\t\treturn f.apply(this, arguments);\n\t\t};\n\t\ta.prototype = f.prototype;\n } else a = {};\n Object.defineProperty(a, '__esModule', {value: true});\n\tObject.keys(n).forEach(function (k) {\n\t\tvar d = Object.getOwnPropertyDescriptor(n, k);\n\t\tObject.defineProperty(a, k, d.get ? d : {\n\t\t\tenumerable: true,\n\t\t\tget: function () {\n\t\t\t\treturn n[k];\n\t\t\t}\n\t\t});\n\t});\n\treturn a;\n}\n\nvar classnames = {exports: {}};\n\n/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n\nvar hasRequiredClassnames;\n\nfunction requireClassnames () {\n\tif (hasRequiredClassnames) return classnames.exports;\n\thasRequiredClassnames = 1;\n\t(function (module) {\n\t\t/* global define */\n\n\t\t(function () {\n\n\t\t\tvar hasOwn = {}.hasOwnProperty;\n\n\t\t\tfunction classNames () {\n\t\t\t\tvar classes = '';\n\n\t\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\t\tvar arg = arguments[i];\n\t\t\t\t\tif (arg) {\n\t\t\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn classes;\n\t\t\t}\n\n\t\t\tfunction parseValue (arg) {\n\t\t\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\t\t\treturn arg;\n\t\t\t\t}\n\n\t\t\t\tif (typeof arg !== 'object') {\n\t\t\t\t\treturn '';\n\t\t\t\t}\n\n\t\t\t\tif (Array.isArray(arg)) {\n\t\t\t\t\treturn classNames.apply(null, arg);\n\t\t\t\t}\n\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\treturn arg.toString();\n\t\t\t\t}\n\n\t\t\t\tvar classes = '';\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn classes;\n\t\t\t}\n\n\t\t\tfunction appendClass (value, newClass) {\n\t\t\t\tif (!newClass) {\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t\n\t\t\t\tif (value) {\n\t\t\t\t\treturn value + ' ' + newClass;\n\t\t\t\t}\n\t\t\t\n\t\t\t\treturn value + newClass;\n\t\t\t}\n\n\t\t\tif (module.exports) {\n\t\t\t\tclassNames.default = classNames;\n\t\t\t\tmodule.exports = classNames;\n\t\t\t} else {\n\t\t\t\twindow.classNames = classNames;\n\t\t\t}\n\t\t}()); \n\t} (classnames));\n\treturn classnames.exports;\n}\n\nvar classnamesExports = requireClassnames();\nconst cx = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);\n\nexport { getAugmentedNamespace as a, cx as c, getDefaultExportFromCjs as g };\n//# sourceMappingURL=index-De1g9FRV.js.map\n","import { useMemo } from 'react';\n\nfunction useMergeRefs(refs) {\n return useMemo(() => mergeRefs(refs), refs);\n}\nfunction mergeRefs(refs) {\n if (refs.every((ref) => ref == null)) {\n return null;\n }\n return (value) => {\n refs.forEach((ref) => {\n if (typeof ref === \"function\") {\n ref(value);\n } else if (ref != null) {\n ref.current = value;\n }\n });\n };\n}\n\nexport { mergeRefs as m, useMergeRefs as u };\n//# sourceMappingURL=useMergeRefs-Dfmtq9cI.js.map\n","/**\n * @typedef {Object} TokenValue\n * @property {string} value\n */\n\n/**\n * @typedef {Object} TokenWithAppearance\n * @property {string} value\n * @property {Object} extensions\n * @property {Object} extensions.appearance\n * @property {Object} extensions.appearance.dark\n * @property {string} extensions.appearance.dark.value\n */\n\n/**\n * @type {TokenValue}\n */\nconst BreakpointSm = { value: \"640px\" };\n/**\n * @type {TokenValue}\n */\nconst BreakpointMd = { value: \"768px\" };\n/**\n * @type {TokenValue}\n */\nconst BreakpointLg = { value: \"1024px\" };\n/**\n * @type {TokenValue}\n */\nconst BreakpointXl = { value: \"1280px\" };\n/**\n * @type {TokenValue}\n */\nconst BreakpointXxl = { value: \"1536px\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral0 = { value: \"#ffffff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral10 = { value: \"#fcfcfc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral20 = { value: \"#f9f9f9\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral30 = { value: \"#f6f6f6\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral40 = { value: \"#f1f1f1\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral50 = { value: \"#eeeeee\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral60 = { value: \"#ededed\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral70 = { value: \"#e8e8e8\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral80 = { value: \"#e6e6e6\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral90 = { value: \"#e5e5e5\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral100 = { value: \"#dfdfdf\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral200 = { value: \"#c4c4c4\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral300 = { value: \"#a8a8a8\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral400 = { value: \"#8b8b8b\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral500 = { value: \"#707070\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral600 = { value: \"#545454\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral700 = { value: \"#404040\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral800 = { value: \"#292929\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral900 = { value: \"#1a1a1a\" };\n/**\n * @type {TokenValue}\n */\nconst ColorNeutral950 = { value: \"#040404\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue10 = { value: \"#fafcff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue50 = { value: \"#e6f1ff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue100 = { value: \"#cce3ff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue200 = { value: \"#9ecaff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue300 = { value: \"#70b1ff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue400 = { value: \"#3d95ff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue500 = { value: \"#1a82ff\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue600 = { value: \"#0265dc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue700 = { value: \"#1d4ca3\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue800 = { value: \"#003472\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue900 = { value: \"#002047\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlue950 = { value: \"#000b19\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed10 = { value: \"#fffbfa\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed50 = { value: \"#ffe9e5\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed100 = { value: \"#ffd4cc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed200 = { value: \"#ffac9e\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed300 = { value: \"#ff8670\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed400 = { value: \"#ff5b3d\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed500 = { value: \"#ff3914\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed600 = { value: \"#d62100\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed700 = { value: \"#a31900\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed800 = { value: \"#731100\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed900 = { value: \"#470b00\" };\n/**\n * @type {TokenValue}\n */\nconst ColorRed950 = { value: \"#0a0200\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen10 = { value: \"#f5fefb\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen50 = { value: \"#d3fded\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen100 = { value: \"#b8f5dd\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen200 = { value: \"#70ebbc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen300 = { value: \"#3be3a2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen400 = { value: \"#0bd085\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen500 = { value: \"#0aa86c\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen600 = { value: \"#077e50\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen700 = { value: \"#05613e\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen800 = { value: \"#04482e\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen900 = { value: \"#022c1c\" };\n/**\n * @type {TokenValue}\n */\nconst ColorGreen950 = { value: \"#010f0a\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey10 = { value: \"#f7f9fa\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey50 = { value: \"#e9eef2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey100 = { value: \"#dce4ea\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey200 = { value: \"#b9c9d5\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey300 = { value: \"#99b1c2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey400 = { value: \"#7899b0\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey500 = { value: \"#55768e\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey600 = { value: \"#445e71\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey700 = { value: \"#344856\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey800 = { value: \"#24333d\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey900 = { value: \"#192329\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBlueGrey950 = { value: \"#090d10\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange10 = { value: \"#fff8f1\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange50 = { value: \"#ffecd6\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange100 = { value: \"#ffddb7\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange200 = { value: \"#ffc07a\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange300 = { value: \"#ffa037\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange400 = { value: \"#e37700\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange500 = { value: \"#c16500\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange600 = { value: \"#964f00\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange700 = { value: \"#693700\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange800 = { value: \"#4d2800\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange900 = { value: \"#2e1900\" };\n/**\n * @type {TokenValue}\n */\nconst ColorOrange950 = { value: \"#140b00\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan10 = { value: \"#f2fcfe\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan50 = { value: \"#daf7fc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan100 = { value: \"#c2f2fb\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan200 = { value: \"#7fe5f6\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan300 = { value: \"#45d8f2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan400 = { value: \"#10c2e2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan500 = { value: \"#0da2bd\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan600 = { value: \"#0a7a8e\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan700 = { value: \"#075563\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan800 = { value: \"#05424d\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan900 = { value: \"#032025\" };\n/**\n * @type {TokenValue}\n */\nconst ColorCyan950 = { value: \"#011013\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple10 = { value: \"#fcfbfe\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple50 = { value: \"#eeecf9\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple100 = { value: \"#e7e4f6\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple200 = { value: \"#c9c2eb\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple300 = { value: \"#b1a7e2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple400 = { value: \"#9688d7\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple500 = { value: \"#7766cc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple600 = { value: \"#5c47c2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple700 = { value: \"#3f2f8e\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple800 = { value: \"#2e2267\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple900 = { value: \"#191338\" };\n/**\n * @type {TokenValue}\n */\nconst ColorPurple950 = { value: \"#100c25\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta10 = { value: \"#fefbfd\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta50 = { value: \"#fae6f3\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta100 = { value: \"#f8ddef\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta200 = { value: \"#efb3db\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta300 = { value: \"#e892cc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta400 = { value: \"#eb61be\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta500 = { value: \"#d741a6\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta600 = { value: \"#be288d\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta700 = { value: \"#831b60\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta800 = { value: \"#591342\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta900 = { value: \"#26081c\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMagenta950 = { value: \"#15040f\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves10 = { value: \"#fffbfa\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves50 = { value: \"#fff7f5\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves100 = { value: \"#fff4f0\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves200 = { value: \"#ffe4db\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves300 = { value: \"#ffd1c2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves400 = { value: \"#ffaf94\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves500 = { value: \"#ffa78a\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves600 = { value: \"#d88569\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves700 = { value: \"#d27151\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves800 = { value: \"#823a21\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves900 = { value: \"#411d11\" };\n/**\n * @type {TokenValue}\n */\nconst ColorMauves950 = { value: \"#200e08\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime10 = { value: \"#fdfdfc\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime50 = { value: \"#eaf0db\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime100 = { value: \"#e3eccf\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime200 = { value: \"#c3d595\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime300 = { value: \"#a8c26a\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime400 = { value: \"#8aad39\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime500 = { value: \"#6b9013\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime600 = { value: \"#56750b\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime700 = { value: \"#3a5007\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime800 = { value: \"#2a3a03\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime900 = { value: \"#111801\" };\n/**\n * @type {TokenValue}\n */\nconst ColorLime950 = { value: \"#0a0f01\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow10 = { value: \"#fffef8\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow50 = { value: \"#fffcf0\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow100 = { value: \"#fff9e2\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow200 = { value: \"#fff0b1\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow300 = { value: \"#ffe278\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow400 = { value: \"#ffc902\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow500 = { value: \"#ffbe00\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow600 = { value: \"#de9500\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow700 = { value: \"#c98600\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow800 = { value: \"#704b00\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow900 = { value: \"#382500\" };\n/**\n * @type {TokenValue}\n */\nconst ColorYellow950 = { value: \"#191100\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown10 = { value: \"#fefcfb\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown50 = { value: \"#f1e3da\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown100 = { value: \"#eddace\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown200 = { value: \"#e1c1ad\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown300 = { value: \"#d4a487\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown400 = { value: \"#c5855e\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown500 = { value: \"#a9663d\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown600 = { value: \"#74462a\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown700 = { value: \"#5e3922\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown800 = { value: \"#432918\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown900 = { value: \"#1e120b\" };\n/**\n * @type {TokenValue}\n */\nconst ColorBrown950 = { value: \"#0c0704\" };\n/**\n * @type {TokenValue}\n */\nconst DurationDefault = { value: \"200ms\" };\n/**\n * @type {TokenValue}\n */\nconst DurationInstant = { value: \"0ms\" };\n/**\n * @type {TokenValue}\n */\nconst DurationFast = { value: \"100ms\" };\n/**\n * @type {TokenValue}\n */\nconst DurationSlow = { value: \"300ms\" };\n/**\n * @type {TokenValue}\n */\nconst FontFamilyBase = { value: \"'Nunito Sans', sans-serif\" };\n/**\n * @type {TokenValue}\n */\nconst FontFamilyDisplay = { value: \"'Sofia Pro', SofiaPro, sans-serif\" };\n/**\n * @type {TokenValue}\n */\nconst FontLineHeightBase = { value: \"1.5\" };\n/**\n * @type {TokenValue}\n */\nconst FontLineHeightDisplay = { value: \"1.25\" };\n/**\n * @type {TokenValue}\n */\nconst FontWeightNormal = { value: \"400\" };\n/**\n * @type {TokenValue}\n */\nconst FontWeightSemibold = { value: \"600\" };\n/**\n * @type {TokenValue}\n */\nconst FontWeightBold = { value: \"700\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize100 = { value: \"0.625rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize200 = { value: \"0.75rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize300 = { value: \"0.875rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize400 = { value: \"1rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize500 = { value: \"1.25rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize600 = { value: \"1.5rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize700 = { value: \"1.75rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize800 = { value: \"2rem\" };\n/**\n * @type {TokenValue}\n */\nconst FontSize900 = { value: \"2.25rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius0 = { value: \"0rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius1 = { value: \"0.1875rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius2 = { value: \"0.375rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius3 = { value: \"0.5625rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius4 = { value: \"0.75rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius5 = { value: \"0.9375rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius6 = { value: \"1.125rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius7 = { value: \"1.3125rem\" };\n/**\n * @type {TokenValue}\n */\nconst Radius8 = { value: \"1.5rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size0 = { value: \"0rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size1 = { value: \"0.25rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size2 = { value: \"0.5rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size3 = { value: \"0.75rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size4 = { value: \"1rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size5 = { value: \"1.25rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size6 = { value: \"1.5rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size7 = { value: \"1.75rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size8 = { value: \"2rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size9 = { value: \"2.25rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size10 = { value: \"2.5rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size11 = { value: \"2.75rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size12 = { value: \"3rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size13 = { value: \"3.25rem\" };\n/**\n * @type {TokenValue}\n */\nconst Size14 = { value: \"3.5rem\" };\n/**\n * @type {TokenValue}\n */\nconst SizeQuarter = { value: \"0.0625rem\" };\n/**\n * @type {TokenValue}\n */\nconst SizeHalf = { value: \"0.125rem\" };\n/**\n * @type {TokenValue}\n */\nconst TransitionEase = { value: \"cubic-bezier(.4, 0, .2, 1)\" };\n/**\n * @type {TokenValue}\n */\nconst TransitionEaseIn = { value: \"cubic-bezier(.4, 0, 1, 1)\" };\n/**\n * @type {TokenValue}\n */\nconst TransitionEaseOut = { value: \"cubic-bezier(0, 0, .4, 1)\" };\n/**\n * @type {TokenValue}\n */\nconst TransitionEaseInOut = { value: \"cubic-bezier(.4, 0, .6, 1)\" };\n\nconst primitive = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({\n\t__proto__: null,\n\tBreakpointLg,\n\tBreakpointMd,\n\tBreakpointSm,\n\tBreakpointXl,\n\tBreakpointXxl,\n\tColorBlue10,\n\tColorBlue100,\n\tColorBlue200,\n\tColorBlue300,\n\tColorBlue400,\n\tColorBlue50,\n\tColorBlue500,\n\tColorBlue600,\n\tColorBlue700,\n\tColorBlue800,\n\tColorBlue900,\n\tColorBlue950,\n\tColorBlueGrey10,\n\tColorBlueGrey100,\n\tColorBlueGrey200,\n\tColorBlueGrey300,\n\tColorBlueGrey400,\n\tColorBlueGrey50,\n\tColorBlueGrey500,\n\tColorBlueGrey600,\n\tColorBlueGrey700,\n\tColorBlueGrey800,\n\tColorBlueGrey900,\n\tColorBlueGrey950,\n\tColorBrown10,\n\tColorBrown100,\n\tColorBrown200,\n\tColorBrown300,\n\tColorBrown400,\n\tColorBrown50,\n\tColorBrown500,\n\tColorBrown600,\n\tColorBrown700,\n\tColorBrown800,\n\tColorBrown900,\n\tColorBrown950,\n\tColorCyan10,\n\tColorCyan100,\n\tColorCyan200,\n\tColorCyan300,\n\tColorCyan400,\n\tColorCyan50,\n\tColorCyan500,\n\tColorCyan600,\n\tColorCyan700,\n\tColorCyan800,\n\tColorCyan900,\n\tColorCyan950,\n\tColorGreen10,\n\tColorGreen100,\n\tColorGreen200,\n\tColorGreen300,\n\tColorGreen400,\n\tColorGreen50,\n\tColorGreen500,\n\tColorGreen600,\n\tColorGreen700,\n\tColorGreen800,\n\tColorGreen900,\n\tColorGreen950,\n\tColorLime10,\n\tColorLime100,\n\tColorLime200,\n\tColorLime300,\n\tColorLime400,\n\tColorLime50,\n\tColorLime500,\n\tColorLime600,\n\tColorLime700,\n\tColorLime800,\n\tColorLime900,\n\tColorLime950,\n\tColorMagenta10,\n\tColorMagenta100,\n\tColorMagenta200,\n\tColorMagenta300,\n\tColorMagenta400,\n\tColorMagenta50,\n\tColorMagenta500,\n\tColorMagenta600,\n\tColorMagenta700,\n\tColorMagenta800,\n\tColorMagenta900,\n\tColorMagenta950,\n\tColorMauves10,\n\tColorMauves100,\n\tColorMauves200,\n\tColorMauves300,\n\tColorMauves400,\n\tColorMauves50,\n\tColorMauves500,\n\tColorMauves600,\n\tColorMauves700,\n\tColorMauves800,\n\tColorMauves900,\n\tColorMauves950,\n\tColorNeutral0,\n\tColorNeutral10,\n\tColorNeutral100,\n\tColorNeutral20,\n\tColorNeutral200,\n\tColorNeutral30,\n\tColorNeutral300,\n\tColorNeutral40,\n\tColorNeutral400,\n\tColorNeutral50,\n\tColorNeutral500,\n\tColorNeutral60,\n\tColorNeutral600,\n\tColorNeutral70,\n\tColorNeutral700,\n\tColorNeutral80,\n\tColorNeutral800,\n\tColorNeutral90,\n\tColorNeutral900,\n\tColorNeutral950,\n\tColorOrange10,\n\tColorOrange100,\n\tColorOrange200,\n\tColorOrange300,\n\tColorOrange400,\n\tColorOrange50,\n\tColorOrange500,\n\tColorOrange600,\n\tColorOrange700,\n\tColorOrange800,\n\tColorOrange900,\n\tColorOrange950,\n\tColorPurple10,\n\tColorPurple100,\n\tColorPurple200,\n\tColorPurple300,\n\tColorPurple400,\n\tColorPurple50,\n\tColorPurple500,\n\tColorPurple600,\n\tColorPurple700,\n\tColorPurple800,\n\tColorPurple900,\n\tColorPurple950,\n\tColorRed10,\n\tColorRed100,\n\tColorRed200,\n\tColorRed300,\n\tColorRed400,\n\tColorRed50,\n\tColorRed500,\n\tColorRed600,\n\tColorRed700,\n\tColorRed800,\n\tColorRed900,\n\tColorRed950,\n\tColorYellow10,\n\tColorYellow100,\n\tColorYellow200,\n\tColorYellow300,\n\tColorYellow400,\n\tColorYellow50,\n\tColorYellow500,\n\tColorYellow600,\n\tColorYellow700,\n\tColorYellow800,\n\tColorYellow900,\n\tColorYellow950,\n\tDurationDefault,\n\tDurationFast,\n\tDurationInstant,\n\tDurationSlow,\n\tFontFamilyBase,\n\tFontFamilyDisplay,\n\tFontLineHeightBase,\n\tFontLineHeightDisplay,\n\tFontSize100,\n\tFontSize200,\n\tFontSize300,\n\tFontSize400,\n\tFontSize500,\n\tFontSize600,\n\tFontSize700,\n\tFontSize800,\n\tFontSize900,\n\tFontWeightBold,\n\tFontWeightNormal,\n\tFontWeightSemibold,\n\tRadius0,\n\tRadius1,\n\tRadius2,\n\tRadius3,\n\tRadius4,\n\tRadius5,\n\tRadius6,\n\tRadius7,\n\tRadius8,\n\tSize0,\n\tSize1,\n\tSize10,\n\tSize11,\n\tSize12,\n\tSize13,\n\tSize14,\n\tSize2,\n\tSize3,\n\tSize4,\n\tSize5,\n\tSize6,\n\tSize7,\n\tSize8,\n\tSize9,\n\tSizeHalf,\n\tSizeQuarter,\n\tTransitionEase,\n\tTransitionEaseIn,\n\tTransitionEaseInOut,\n\tTransitionEaseOut\n}, Symbol.toStringTag, { value: 'Module' }));\n\nexport { BreakpointXxl as B, DurationDefault as D, BreakpointXl as a, BreakpointLg as b, BreakpointMd as c, BreakpointSm as d, DurationSlow as e, primitive as p };\n//# sourceMappingURL=primitive-BXgYQTTw.js.map\n","import { useState, useEffect } from 'react';\nimport { B as BreakpointXxl, a as BreakpointXl, b as BreakpointLg, c as BreakpointMd, d as BreakpointSm } from './primitive-BXgYQTTw.js';\n\nconst breakpoints = {\n sm: parseInt(BreakpointSm.value),\n md: parseInt(BreakpointMd.value),\n lg: parseInt(BreakpointLg.value),\n xl: parseInt(BreakpointXl.value),\n xxl: parseInt(BreakpointXxl.value)\n};\nconst areBreakpointsDefined = Object.values(breakpoints).every(\n (breakpoint2) => breakpoint2\n);\nfunction getBreakpointFlags(name) {\n const breakpointOrder = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\", \"xxl\"];\n const currentIndex = breakpointOrder.indexOf(name);\n return {\n xs: currentIndex >= 0,\n sm: currentIndex >= 1,\n md: currentIndex >= 2,\n lg: currentIndex >= 3,\n xl: currentIndex >= 4,\n xxl: currentIndex >= 5\n };\n}\nfunction breakpoint(name, min, max) {\n if (globalThis.innerWidth == null || globalThis.innerHeight == null) {\n return void 0;\n }\n const viewportWidth = globalThis.innerWidth;\n const viewportHeight = globalThis.innerHeight;\n if ((min == null || viewportWidth >= min) && (max == null || viewportWidth < max)) {\n return {\n name,\n min,\n max,\n orientation: viewportHeight > viewportWidth ? \"portrait\" : \"landscape\",\n innerWidth: viewportWidth,\n innerHeight: viewportHeight,\n ...getBreakpointFlags(name)\n };\n }\n return void 0;\n}\nconst onResize = () => {\n if (!areBreakpointsDefined) {\n return;\n }\n const { sm, md, lg, xl, xxl } = breakpoints;\n return breakpoint(\"xs\", void 0, sm) ?? breakpoint(\"sm\", sm, md) ?? breakpoint(\"md\", md, lg) ?? breakpoint(\"lg\", lg, xl) ?? breakpoint(\"xl\", xl, xxl) ?? breakpoint(\"xxl\", xxl, void 0);\n};\nconst useBreakpoint = (props) => {\n const [size, setSize] = useState(onResize);\n useEffect(() => {\n if (!areBreakpointsDefined || props?.disable) return;\n const updateSize = () => {\n setSize(onResize());\n };\n globalThis.addEventListener(\"resize\", updateSize);\n return () => {\n globalThis.removeEventListener(\"resize\", updateSize);\n };\n }, [props?.disable]);\n if (props?.disable) return;\n return size;\n};\n\nexport { useBreakpoint as u };\n//# sourceMappingURL=useBreakpoint-BBNRlMGZ.js.map\n","import { useMemo } from 'react';\nimport { u as useBreakpoint } from './useBreakpoint-BBNRlMGZ.js';\nimport { p as primitive } from './primitive-BXgYQTTw.js';\n\nconst sizeToToken = (value) => {\n if (typeof value === \"undefined\") return void 0;\n let gap = value;\n const stringifiedValue = String(value);\n if (stringifiedValue === \"half\") {\n gap = `${stringifiedValue[0].toUpperCase()}${stringifiedValue.slice(1)}`;\n }\n return primitive?.[`Size${gap}`]?.value;\n};\n\nconst LAYOUT_PROP_ARR = [\n \"gridTemplateColumns\",\n \"gridTemplateRows\",\n \"gridTemplateAreas\",\n \"gridAutoColumns\",\n \"gridAutoRows\",\n \"gridArea\",\n \"gridColumn\",\n \"gridRow\",\n \"gridColumnStart\",\n \"gridColumnEnd\",\n \"gridRowStart\",\n \"gridRowEnd\",\n \"flex\",\n \"flexDirection\",\n \"flexGrow\",\n \"flexShrink\",\n \"flexBasis\",\n \"flexWrap\",\n \"order\",\n \"justifySelf\",\n \"justifyItems\",\n \"justifyContent\",\n \"alignSelf\",\n \"alignItems\",\n \"alignContent\",\n \"placeItems\",\n \"placeContent\",\n \"placeSelf\",\n \"wrap\",\n \"gap\",\n \"rowGap\",\n \"columnGap\"\n];\nconst RESPONSIVE_SIZES_ARR = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\", \"xxl\"];\nfunction useLayoutPropsUtil(props) {\n const baseSizeProps = Object.fromEntries(\n Object.entries(props).filter(\n ([key, _val]) => LAYOUT_PROP_ARR.includes(key)\n )\n );\n const responsiveSizeProps = Object.fromEntries(\n Object.entries(props).filter(\n ([key, _val]) => RESPONSIVE_SIZES_ARR.includes(key)\n )\n );\n const sizeProps = useMemo(\n () => ({\n ...responsiveSizeProps,\n base: baseSizeProps\n }),\n [baseSizeProps, responsiveSizeProps]\n );\n const componentProps = Object.fromEntries(\n Object.entries(props).filter(\n ([key, _val]) => !RESPONSIVE_SIZES_ARR.includes(key) && !LAYOUT_PROP_ARR.includes(key)\n )\n );\n const breakpoint = useBreakpoint();\n const getValue = (style) => {\n const value = (breakpoint?.xxl ? sizeProps.xxl?.[style] : void 0) ?? (breakpoint?.xl ? sizeProps.xl?.[style] : void 0) ?? (breakpoint?.lg ? sizeProps.lg?.[style] : void 0) ?? (breakpoint?.md ? sizeProps.md?.[style] : void 0) ?? (breakpoint?.sm ? sizeProps.sm?.[style] : void 0) ?? (breakpoint?.xs ? sizeProps.xs?.[style] : void 0) ?? sizeProps.base?.[style];\n if (style.toLowerCase().endsWith(\"gap\")) {\n return sizeToToken(value);\n }\n return value;\n };\n const layoutStyleObject = LAYOUT_PROP_ARR.reduce((o, key) => {\n const value = getValue(key);\n if (typeof value === \"undefined\") return o;\n return { ...o, [key]: value };\n }, {});\n return {\n layoutStyles: layoutStyleObject,\n componentProps\n };\n}\n\nexport { sizeToToken as s, useLayoutPropsUtil as u };\n//# sourceMappingURL=useLayoutPropsUtil-DjqeAJZ9.js.map\n","const KEYBOARD_FOCUSABLE_SELECTOR = 'a[href], button, input, textarea, select, details, [contenteditable]:not([contenteditable=\"false\"]), [tabindex]:not([tabindex=\"-1\"])';\nfunction getKeyboardFocusableElements(element) {\n if (!element) return [];\n const elements = element.querySelectorAll(KEYBOARD_FOCUSABLE_SELECTOR);\n return Array.from(elements).filter(\n (el) => !el.hasAttribute(\"disabled\") && !el.getAttribute(\"aria-hidden\") && !el.getAttribute(\"inert\") && !(globalThis.getComputedStyle(el).display === \"none\")\n );\n}\n\nexport { KEYBOARD_FOCUSABLE_SELECTOR as K, getKeyboardFocusableElements as g };\n//# sourceMappingURL=getKeyboardFocusableElements-B_U9rt6y.js.map\n","import { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { c as cx } from './index-De1g9FRV.js';\nimport { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DjqeAJZ9.js';\n\nimport './Card.css';const card = \"_card_of64j_1\";\nconst styles = {\n\tcard: card,\n\t\"card-section\": \"_card-section_of64j_27\",\n\t\"bg-stronger\": \"_bg-stronger_of64j_31\",\n\t\"bg-strong\": \"_bg-strong_of64j_31\",\n\t\"padding-0\": \"_padding-0_of64j_39\",\n\t\"padding-xsmall\": \"_padding-xsmall_of64j_45\",\n\t\"padding-small\": \"_padding-small_of64j_51\",\n\t\"padding-medium\": \"_padding-medium_of64j_57\",\n\t\"padding-large\": \"_padding-large_of64j_63\"\n};\n\nconst Card = forwardRef((props, ref) => {\n const { layoutStyles, componentProps } = useLayoutPropsUtil(props);\n const {\n children,\n className,\n padding = \"medium\",\n background,\n style,\n ...rest\n } = componentProps;\n const cardClassNames = cx(\n [styles[\"card\"]],\n [styles[`padding-${padding}`]],\n className,\n {\n [styles[`bg-${background}`]]: !!background\n }\n );\n const styleCombined = {\n ...style,\n ...layoutStyles\n };\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n className: cardClassNames,\n \"data-anv\": \"card\",\n style: styleCombined,\n ref,\n ...rest,\n children\n }\n );\n});\nCard.displayName = \"Card\";\n\nexport { Card as C };\n//# sourceMappingURL=Card-Bt0F6RTq.js.map\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { forwardRef, useRef } from 'react';\nimport { C as Card } from './Card-Bt0F6RTq.js';\nimport { u as useMergeRefs } from './useMergeRefs-Dfmtq9cI.js';\nimport { c as cx } from './index-De1g9FRV.js';\nimport { K as KEYBOARD_FOCUSABLE_SELECTOR } from './getKeyboardFocusableElements-B_U9rt6y.js';\n\nimport './InteractiveCard.css';const styles = {\n\t\"card-wrapper\": \"_card-wrapper_ogzk8_4\",\n\t\"card-action\": \"_card-action_ogzk8_14\",\n\t\"bg-stronger\": \"_bg-stronger_ogzk8_37\",\n\t\"bg-strong\": \"_bg-strong_ogzk8_37\",\n\t\"card-content\": \"_card-content_ogzk8_48\"\n};\n\nconst InteractiveCard = forwardRef(\n (props, ref) => {\n const {\n wrapperProps,\n actionProps,\n contentProps = {},\n children,\n \"data-interactive\": dataInteractive\n } = props;\n const {\n \"aria-label\": ariaLabel,\n className: wrapperClassName,\n style: wrapperStyle,\n ref: wrapperRef,\n ...restWrapperProps\n } = wrapperProps;\n const mergedWrapperRef = useMergeRefs([ref, wrapperRef]);\n const { \"aria-label\": actionAriaLabel, ...restActionProps } = actionProps;\n const {\n padding = \"medium\",\n background,\n className: contentClassName,\n ...restContentProps\n } = contentProps;\n const actionClassNames = cx(styles[\"card-action\"], {\n [styles[`bg-${background}`]]: !!background\n });\n const contentClassNames = cx(styles[\"card-content\"], contentClassName);\n const wrapperClassNames = cx(styles[\"card-wrapper\"], wrapperClassName);\n const isLink = \"href\" in restActionProps;\n const actionRef = useRef(null);\n const handleWrapperClick = (e) => {\n const target = e.target;\n if (target.closest(`label, ${KEYBOARD_FOCUSABLE_SELECTOR}`)) return;\n const action = actionRef.current;\n if (!action) return;\n if (isLink && (e.metaKey || e.ctrlKey || e.shiftKey)) {\n const href = action.getAttribute(\"href\");\n if (href) {\n window.open(href, \"_blank\", \"noopener,noreferrer\");\n return;\n }\n }\n action.click();\n };\n const handleWrapperAuxClick = (e) => {\n if (e.button !== 1 || !isLink) return;\n const target = e.target;\n if (target.closest(`label, ${KEYBOARD_FOCUSABLE_SELECTOR}`)) return;\n const href = actionRef.current?.getAttribute(\"href\");\n if (href) window.open(href, \"_blank\", \"noopener,noreferrer\");\n };\n return (\n // Mouse-only dead-space forwarder. Keyboard users tab to the inner <button>/<a> and activate it natively (Enter/Space)\n // The wrapper itself is never focused. Adding a keyboard listener here would double-fire the action.\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions\n /* @__PURE__ */ jsxs(\n \"div\",\n {\n ...restWrapperProps,\n role: \"group\",\n \"aria-label\": ariaLabel,\n className: wrapperClassNames,\n style: wrapperStyle,\n ref: mergedWrapperRef,\n onClick: handleWrapperClick,\n onAuxClick: handleWrapperAuxClick,\n children: [\n isLink ? /* @__PURE__ */ jsx(\n \"a\",\n {\n ...restActionProps,\n \"aria-label\": actionAriaLabel,\n className: actionClassNames,\n \"data-interactive\": dataInteractive,\n ref: actionRef\n }\n ) : /* @__PURE__ */ jsx(\n \"button\",\n {\n ...restActionProps,\n \"aria-label\": actionAriaLabel,\n className: actionClassNames,\n \"data-interactive\": dataInteractive,\n type: \"button\",\n ref: actionRef\n }\n ),\n /* @__PURE__ */ jsx(\n Card,\n {\n padding,\n className: contentClassNames,\n ...restContentProps,\n children\n }\n )\n ]\n }\n )\n );\n }\n);\nInteractiveCard.displayName = \"InteractiveCard\";\n\nexport { InteractiveCard as I };\n//# sourceMappingURL=InteractiveCard-C0g5PxB6.js.map\n","import * as React from \"react\";\nconst SvgChevronRight = (props) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, viewBox: \"0 0 24 24\", ...props }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M9.29 6.71a.996.996 0 0 0 0 1.41L13.17 12l-3.88 3.88a.996.996 0 1 0 1.41 1.41l4.59-4.59a.996.996 0 0 0 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z\" }));\nexport default SvgChevronRight;\n","import { type ComponentPropsWithoutRef, forwardRef } from \"react\";\nimport classNames from \"classnames\";\nimport { Flex, Icon, Text } from \"@servicetitan/anvil2\";\nimport { InteractiveCard } from \"@servicetitan/anvil2/beta\";\nimport IconChevronRight from \"@servicetitan/anvil2/assets/icons/material/round/chevron_right.svg\";\n\nimport styles from \"./artifact-card.module.scss\";\n\n/**\n * Props for the ArtifactCard component\n * @property {string} title - Bold heading rendered inside the card.\n * @property {string} description - Supplementary description shown beneath the title.\n * @property {boolean} [active] - When true, the card shows the active visual state. Set when the corresponding ArtifactPanel is open.\n * @property {string} [artifactId] - Identifier for the artifact this card references. Emitted as a data-artifact-id attribute for analytics and event handling.\n * @property {() => void} onClick - Called when the card is activated; consumers typically open the corresponding ArtifactPanel here.\n * @extends Omit<ComponentPropsWithoutRef<\"div\">, \"title\" | \"onClick\">\n */\nexport type ArtifactCardProps = Omit<\n ComponentPropsWithoutRef<\"div\">,\n \"title\" | \"onClick\"\n> & {\n title: string;\n description: string;\n /**\n * @default false\n */\n active?: boolean;\n artifactId?: string;\n onClick: () => void;\n};\n\n/**\n * ArtifactCard is the in-chat trigger that opens an ArtifactPanel for a\n * specific artifact surfaced by the Atlas agent.\n *\n * Features:\n * - Renders as an InteractiveCard with a bold title, description, and \"View\" chevron affordance\n * - Active state with elevated shadow when the corresponding ArtifactPanel is open\n * - Forwards artifactId as a data attribute for tracking and event wiring\n * - Whole card is clickable; entire surface activates onClick\n * - Layout adapts to narrow containers via a container query, stacking the View affordance below the title and description\n *\n * @example\n * <ArtifactCard\n * title=\"Insights for Invoice #1234\"\n * description=\"Single-visit industrial install, closed under quote with a 40% margin.\"\n * artifactId=\"insight-1\"\n * active={isOpen}\n * onClick={() => openPanel(\"insight-1\")}\n * />\n */\nexport const ArtifactCard = forwardRef<HTMLDivElement, ArtifactCardProps>(\n function ArtifactCardInner(props, ref) {\n const {\n title,\n description,\n active = false,\n artifactId,\n onClick,\n className,\n ...rest\n } = props;\n\n const wrapperClassName = classNames(\n styles.card,\n { [styles[\"card-active\"]]: active },\n className,\n );\n\n return (\n <InteractiveCard\n ref={ref}\n wrapperProps={{\n ...rest,\n \"aria-label\": title,\n className: wrapperClassName,\n ...(artifactId !== undefined && { \"data-artifact-id\": artifactId }),\n }}\n actionProps={{\n \"aria-label\": `View ${title}`,\n onClick,\n }}\n contentProps={{ padding: \"medium\" }}\n >\n <div className={styles.content}>\n <div className={styles.primary}>\n <Text\n variant=\"headline\"\n el=\"h3\"\n size=\"small\"\n className={styles.title}\n >\n {title}\n </Text>\n <Text size=\"small\">{description}</Text>\n </div>\n <Flex alignItems=\"center\" className={styles.action}>\n <Text size=\"small\" subdued>\n View\n </Text>\n <Icon svg={IconChevronRight} size=\"large\" className={styles.icon} />\n </Flex>\n </div>\n </InteractiveCard>\n );\n },\n);\n"],"names":["card","styles","IconChevronRight"],"mappings":";;;;;;AAAA,SAAS,uBAAuB,EAAE,CAAC,EAAE;AACrC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,UAAU,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC;AAClG;;AA2BA,IAAI,UAAU,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC;;AAE9B;AACA;AACA;AACA;AACA;;AAEA,IAAI,qBAAqB;;AAEzB,SAAS,iBAAiB,IAAI;AAC9B,CAAC,IAAI,qBAAqB,EAAE,OAAO,UAAU,CAAC,OAAO;AACrD,CAAC,qBAAqB,GAAG,CAAC;AAC1B,CAAC,CAAC,UAAU,MAAM,EAAE;AACpB;;AAEA,EAAE,CAAC,YAAY;;AAEf,GAAG,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc;;AAEjC,GAAG,SAAS,UAAU,IAAI;AAC1B,IAAI,IAAI,OAAO,GAAG,EAAE;;AAEpB,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC/C,KAAK,IAAI,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC;AAC3B,KAAK,IAAI,GAAG,EAAE;AACd,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;AACrD,KAAK;AACL,IAAI;;AAEJ,IAAI,OAAO,OAAO;AAClB,GAAG;;AAEH,GAAG,SAAS,UAAU,EAAE,GAAG,EAAE;AAC7B,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAA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|
package/dist/artifact-card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ArtifactCard } from './artifact-card-
|
|
1
|
+
export { A as ArtifactCard } from './artifact-card-CviyzgR9.js';
|
|
2
2
|
//# sourceMappingURL=artifact-card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-panel-CNzdjBT8.js","sources":["../../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.4.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs","../../../node_modules/.pnpm/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js","../src/components/artifact-panel/artifact-panel.tsx"],"sourcesContent":["import { warnOnce } from 'motion-utils';\nimport { useState } from 'react';\nimport { initPrefersReducedMotion } from './index.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from './state.mjs';\n\n/**\n * A hook that returns `true` if we should be using reduced motion based on the current device's Reduced Motion setting.\n *\n * This can be used to implement changes to your UI based on Reduced Motion. For instance, replacing motion-sickness inducing\n * `x`/`y` animations with `opacity`, disabling the autoplay of background videos, or turning off parallax motion.\n *\n * It will actively respond to changes and re-render your components with the latest setting.\n *\n * ```jsx\n * export function Sidebar({ isOpen }) {\n * const shouldReduceMotion = useReducedMotion()\n * const closedX = shouldReduceMotion ? 0 : \"-100%\"\n *\n * return (\n * <motion.div animate={{\n * opacity: isOpen ? 1 : 0,\n * x: isOpen ? 0 : closedX\n * }} />\n * )\n * }\n * ```\n *\n * @return boolean\n *\n * @public\n */\nfunction useReducedMotion() {\n /**\n * Lazy initialisation of prefersReducedMotion\n */\n !hasReducedMotionListener.current && initPrefersReducedMotion();\n const [shouldReduceMotion] = useState(prefersReducedMotion.current);\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\", \"reduced-motion-disabled\");\n }\n /**\n * TODO See if people miss automatically updating shouldReduceMotion setting\n */\n return shouldReduceMotion;\n}\n\nexport { useReducedMotion };\n","/*!\n* tabbable 6.4.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\n// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\nvar candidateSelectors = ['input:not([inert]):not([inert] *)', 'select:not([inert]):not([inert] *)', 'textarea:not([inert]):not([inert] *)', 'a[href]:not([inert]):not([inert] *)', 'button:not([inert]):not([inert] *)', '[tabindex]:not(slot):not([inert]):not([inert] *)', 'audio[controls]:not([inert]):not([inert] *)', 'video[controls]:not([inert]):not([inert] *)', '[contenteditable]:not([contenteditable=\"false\"]):not([inert]):not([inert] *)', 'details>summary:first-of-type:not([inert]):not([inert] *)', 'details:not([inert]):not([inert] *)'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function (element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Node} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nvar _isInert = function isInert(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');\n var inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n var result = inert || lookUp && node && (\n // closest does not exist on shadow roots, so we fall back to a manual\n // lookup upward, in case it is not defined.\n typeof node.closest === 'function' ? node.closest('[inert]') : _isInert(node.parentNode));\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nvar isContentEditable = function isContentEditable(node) {\n var _node$getAttribute2;\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert (either by itself or via its parent), then all its children are inert\n if (_isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nvar _getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (_isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = _getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n var shadowRoot = element.shadowRoot ||\n // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n var validShadowRoot = !_isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = _getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nvar hasTabIndex = function hasTabIndex(node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nvar getTabIndex = function getTabIndex(node) {\n if (!node) {\n throw new Error('No node provided');\n }\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n return 0;\n }\n }\n return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n * has tabIndex -1, but needs to be sorted by document order in order for its content to be\n * inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nvar getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {\n var tabIndex = getTabIndex(node);\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n var radioScope = node.form || getRootNode(node);\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n var radioSet;\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nvar isNodeAttached = function isNodeAttached(node) {\n var _nodeRoot;\n // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // To further complicate things, we have to look all the way up until we find a shadow HOST\n // that is attached (or find none) because the node might be in nested shadows...\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n // `ownerDocument` will be `null`, hence the optional chaining on it.\n var nodeRoot = node && getRootNode(node);\n var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n\n // in some cases, a detached node will return itself as the root instead of a document or\n // shadow root object, in which case, we shouldn't try to look further up the host chain\n var attached = false;\n if (nodeRoot && nodeRoot !== node) {\n var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n while (!attached && nodeRootHost) {\n var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n // which means we need to get the host's host and check if that parent host is contained\n // in (i.e. attached to) the document\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n }\n }\n return attached;\n};\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n return width === 0 && height === 0;\n};\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n if (displayCheck === 'full-native') {\n if ('checkVisibility' in node) {\n // Chrome >= 105, Edge >= 105, Firefox >= 106, Safari >= 17.4\n // @see https://developer.mozilla.org/en-US/docs/Web/API/Element/checkVisibility#browser_compatibility\n var visible = node.checkVisibility({\n // Checking opacity might be desirable for some use cases, but natively,\n // opacity zero elements _are_ focusable and tabbable.\n checkOpacity: false,\n opacityProperty: false,\n contentVisibilityAuto: true,\n visibilityProperty: true,\n // This is an alias for `visibilityProperty`. Contemporary browsers\n // support both. However, this alias has wider browser support (Chrome\n // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so\n // we include it anyway.\n checkVisibilityCSS: true\n });\n return !visible;\n }\n // Fall through to manual visibility checks\n }\n\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n }\n if (!displayCheck || displayCheck === 'full' ||\n // full-native can run this branch when it falls through in case\n // Element#checkVisibility is unsupported\n displayCheck === 'full-native' || displayCheck === 'legacy-full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n node = originalNode;\n }\n // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n if (isNodeAttached(node)) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n }\n\n // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n //\n // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n // nodes as visible with the 'none' fallback.__\n if (displayCheck !== 'legacy-full') {\n return true; // hidden\n }\n // else, fallback to 'none' mode and consider the node visible\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n }\n\n // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n // it's visible\n return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement;\n // check if `node` is contained in a disabled <fieldset>\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i);\n // when the first <legend> (in document order) is found\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n }\n // the disabled <fieldset> containing `node` has no <legend>\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n\n // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled || isHiddenInput(node) || isHidden(node, options) ||\n // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n return true;\n};\nvar isShadowRootTabbable = function isShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nvar _sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scopeParent;\n var element = isScope ? item.scopeParent : item;\n var candidateTabindex = getSortOrderTabIndex(element, isScope);\n var elements = isScope ? _sortByOrder(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = _getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isShadowRootTabbable\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n return _sortByOrder(candidates);\n};\nvar focusable = function focusable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = _getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n return candidates;\n};\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe:not([inert]):not([inert] *)').join(',');\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, getTabIndex, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n","import {\n ComponentPropsWithoutRef,\n ReactNode,\n forwardRef,\n useEffect,\n useId,\n useRef,\n} from \"react\";\nimport classNames from \"classnames\";\nimport { AnimatePresence, motion, useReducedMotion } from \"framer-motion\";\nimport { Button, Text, useMergeRefs } from \"@servicetitan/anvil2\";\nimport type { FocusableElement } from \"@servicetitan/anvil2\";\nimport IconClose from \"@servicetitan/anvil2/assets/icons/material/round/close.svg\";\nimport { tabbable } from \"tabbable\";\n\nimport {\n useArtifactPanelLayoutMode,\n useArtifactPanelLayoutRegistration,\n} from \"../artifact-panel-layout/context\";\nimport { getRemInPx } from \"../../utils/get-rem-in-px\";\nimport styles from \"./artifact-panel.module.scss\";\n\nconst ANIMATION_OFFSET = \"10rem\";\nconst ANIMATION_DURATION = 0.3;\n/** Panel's natural inline width — used by ArtifactPanelLayout to compute mode. */\nconst PANEL_WIDTH_REM = 35;\n\n/**\n * Props for the ArtifactPanel component\n * @property {boolean} isOpen - Whether the panel is currently rendered.\n * @property {(open: boolean) => void} onOpenChange - Called when the panel requests an open-state change (e.g. close button clicked).\n * @property {string} title - Panel heading; rendered in the header and referenced by aria-labelledby.\n * @property {string} [description] - Optional sub-header text rendered beneath the title.\n * @property {\"left\" | \"right\"} [position] - Side the panel is anchored to. Drives border placement.\n * @property {boolean} [focusOnOpen] - Move focus into the panel when it opens, and return focus to the previously focused element when it closes. Set false for agent-initiated opens so focus is not pulled away from the chat composer.\n * @property {(focusables: FocusableElement[]) => FocusableElement} [initialFocusResolver] - Pick the initial focus target when focusOnOpen is true. Defaults to the first non-close focusable.\n * @property {string | number} [triggerKey] - Optional identifier for the current artifact. When this value changes while the panel is already open, focus management treats it as a new open event: it captures the newly-focused trigger and re-shifts focus into the panel, so close-restore returns to the right element.\n * @extends Omit<ComponentPropsWithoutRef<\"aside\">, \"onDrag\" | \"onDragStart\" | \"onDragEnd\" | \"onAnimationStart\" | \"onAnimationEnd\" | \"onAnimationIteration\">\n */\nexport type ArtifactPanelProps = Omit<\n ComponentPropsWithoutRef<\"aside\">,\n | \"onDrag\"\n | \"onDragStart\"\n | \"onDragEnd\"\n | \"onAnimationStart\"\n | \"onAnimationEnd\"\n | \"onAnimationIteration\"\n> & {\n isOpen: boolean;\n onOpenChange: (open: boolean) => void;\n title: string;\n description?: string;\n /**\n * @default \"right\"\n */\n position?: \"left\" | \"right\";\n /**\n * @default true\n */\n focusOnOpen?: boolean;\n initialFocusResolver?: (focusables: FocusableElement[]) => FocusableElement;\n triggerKey?: string | number;\n children: ReactNode;\n};\n\nconst CLOSE_BUTTON_DATA_ANV = \"artifact-panel-close\";\n\nconst defaultInitialFocus = (\n focusables: FocusableElement[],\n): FocusableElement => {\n return (\n focusables.find((f) => f.dataset.anv !== CLOSE_BUTTON_DATA_ANV) ??\n focusables[0]\n );\n};\n\n/**\n * ArtifactPanel renders a side panel within the Atlas full-screen chat for\n * supplemental content such as artifacts the agent surfaces to the user.\n *\n * Features:\n * - Anchors to the left or right of the chat layout, with border placement driven by position\n * - Close button in the header for user dismissal\n * - Controlled open state via isOpen / onOpenChange\n * - Optional focus shift on open with a consumer-supplied focus resolver, and focus restoration to the trigger on close\n * - Renders an aside landmark with aria-labelledby tied to the title\n * - Accepts arbitrary children for markdown, GenUI components, or other content\n *\n * @example\n * <ArtifactPanel\n * isOpen={open}\n * onOpenChange={setOpen}\n * title=\"Supplemental info\"\n * >\n * {content}\n * </ArtifactPanel>\n */\nexport const ArtifactPanel = forwardRef<HTMLElement, ArtifactPanelProps>(\n function ArtifactPanelInner(props, ref) {\n const {\n isOpen,\n onOpenChange,\n title,\n description,\n position = \"right\",\n focusOnOpen = true,\n initialFocusResolver = defaultInitialFocus,\n triggerKey,\n children,\n className,\n ...rest\n } = props;\n\n const panelRef = useRef<HTMLElement>(null);\n const mergedRef = useMergeRefs([ref, panelRef]);\n const titleId = useId();\n const descriptionId = useId();\n const ariaDescribedBy = description ? descriptionId : undefined;\n\n // Register with the surrounding ArtifactPanelLayout so it can compute\n // whether this panel sits inline or overlays the chat. The registration\n // API is read via ref so the registration effect runs once on mount and\n // is never re-fired by context-value identity changes. Mode is read from\n // a separate, reactive context. Outside a layout, mode falls back to\n // \"inline\".\n const registration = useArtifactPanelLayoutRegistration();\n const registrationRef = useRef(registration);\n registrationRef.current = registration;\n const modeApi = useArtifactPanelLayoutMode();\n const layoutPanelId = useId();\n useEffect(() => {\n const reg = registrationRef.current;\n if (!reg) return;\n reg.registerPanel(layoutPanelId, {\n position,\n width: PANEL_WIDTH_REM * getRemInPx(),\n });\n return () => {\n registrationRef.current?.unregisterPanel(layoutPanelId);\n };\n }, [layoutPanelId, position]);\n const mode = modeApi?.getMode(layoutPanelId) ?? \"inline\";\n\n const previousFocusRef = useRef<HTMLElement | null>(null);\n const wasOpenRef = useRef(false);\n // triggerKey at the last open or swap event — used to detect swaps while\n // the panel is already open. Updated only inside the focus effect.\n const previousTriggerKeyRef = useRef<string | number | undefined>(\n triggerKey,\n );\n\n useEffect(() => {\n if (!focusOnOpen) return;\n\n const justOpened = isOpen && !wasOpenRef.current;\n const triggerChanged =\n isOpen &&\n wasOpenRef.current &&\n previousTriggerKeyRef.current !== triggerKey;\n\n if (justOpened || triggerChanged) {\n if (document.activeElement instanceof HTMLElement) {\n previousFocusRef.current = document.activeElement;\n }\n wasOpenRef.current = true;\n previousTriggerKeyRef.current = triggerKey;\n if (!panelRef.current) return;\n const focusables = tabbable(panelRef.current) as FocusableElement[];\n if (focusables.length === 0) return;\n const target = initialFocusResolver(focusables);\n target?.focus();\n return;\n }\n\n if (!isOpen && wasOpenRef.current) {\n wasOpenRef.current = false;\n previousFocusRef.current?.focus();\n previousFocusRef.current = null;\n previousTriggerKeyRef.current = triggerKey;\n }\n }, [isOpen, focusOnOpen, initialFocusResolver, triggerKey]);\n\n const panelClassName = classNames(\n styles.panel,\n position === \"left\" ? styles[\"panel-left\"] : styles[\"panel-right\"],\n mode === \"overlay\" && styles[\"panel-overlay\"],\n mode === \"overlay\" &&\n (position === \"left\"\n ? styles[\"panel-overlay-left\"]\n : styles[\"panel-overlay-right\"]),\n className,\n );\n\n const reducedMotion = useReducedMotion();\n const offsetX =\n position === \"right\" ? ANIMATION_OFFSET : `-${ANIMATION_OFFSET}`;\n const hiddenState = reducedMotion\n ? { opacity: 1, x: 0 }\n : { opacity: 0, x: offsetX };\n\n return (\n <AnimatePresence>\n {isOpen && (\n <motion.aside\n ref={mergedRef}\n aria-labelledby={titleId}\n aria-describedby={ariaDescribedBy}\n data-mode={mode}\n className={panelClassName}\n initial={hiddenState}\n animate={{ opacity: 1, x: 0 }}\n exit={hiddenState}\n transition={{ duration: ANIMATION_DURATION, ease: \"easeInOut\" }}\n {...rest}\n >\n <header className={styles.header}>\n <div className={styles[\"header-text\"]}>\n <Text id={titleId} variant=\"headline\" el=\"h2\" size=\"small\">\n {title}\n </Text>\n {description && (\n <Text id={descriptionId} size=\"small\" subdued>\n {description}\n </Text>\n )}\n </div>\n <Button\n data-anv={CLOSE_BUTTON_DATA_ANV}\n appearance=\"ghost\"\n size=\"small\"\n icon={IconClose}\n aria-label=\"Close panel\"\n onClick={() => onOpenChange(false)}\n />\n </header>\n <div className={styles.body}>{children}</div>\n </motion.aside>\n )}\n </AnimatePresence>\n );\n },\n);\n"],"names":["IconClose"],"mappings":";;;;;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,gBAAgB,GAAG;AAC5B;AACA;AACA;AACA,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,wBAAwB,EAAE;AACnE,IAAI,MAAM,CAAC,kBAAkB,CAAC,GAAG,QAAQ,CAAC,oBAAoB,CAAC,OAAO,CAAC;AACvE,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC/C,QAAQ,QAAQ,CAAC,kBAAkB,KAAK,IAAI,EAAE,wFAAwF,EAAE,yBAAyB,CAAC;AAClK,IAAI;AACJ;AACA;AACA;AACA,IAAI,OAAO,kBAAkB;AAC7B;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,kBAAkB,GAAG,CAAC,mCAAmC,EAAE,oCAAoC,EAAE,sCAAsC,EAAE,qCAAqC,EAAE,oCAAoC,EAAE,kDAAkD,EAAE,6CAA6C,EAAE,6CAA6C,EAAE,8EAA8E,EAAE,2DAA2D,EAAE,qCAAqC,CAAC;AAC/hB,IAAI,iBAAiB,kBAAkB,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC;AACnE,IAAI,SAAS,GAAG,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A,EAAK,EAAA,EAAI,eAAe,IAAA,EAAK,OAAA,EAAQ,OAAA,EAAO,IAAA,EAC1C,QAAA,EAAA,WAAA,EACH;AAAA,aAAA,EAEJ,CAAA;AAAA,4BACA,GAAA;AAAA,cAAC,MAAA;AAAA,cAAA;AAAA,gBACC,UAAA,EAAU,qBAAA;AAAA,gBACV,UAAA,EAAW,OAAA;AAAA,gBACX,IAAA,EAAK,OAAA;AAAA,gBACL,IAAA,EAAMA,QAAA;AAAA,gBACN,YAAA,EAAW,aAAA;AAAA,gBACX,OAAA,EAAS,MAAM,YAAA,CAAa,KAAK;AAAA;AAAA;AACnC,WAAA,EACF,CAAA;AAAA,0BACA,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAW,MAAA,CAAO,MAAO,QAAA,EAAS;AAAA;AAAA;AAAA,KACzC,EAEJ,CAAA;AAAA,EAEJ;AACF;;;;","x_google_ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"file":"artifact-panel-CNzdjBT8.js","sources":["../../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.4.0_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs","../../../node_modules/.pnpm/tabbable@6.4.0/node_modules/tabbable/dist/index.esm.js","../src/components/artifact-panel/artifact-panel.tsx"],"sourcesContent":["import { warnOnce } from 'motion-utils';\nimport { useState } from 'react';\nimport { initPrefersReducedMotion } from './index.mjs';\nimport { hasReducedMotionListener, prefersReducedMotion } from './state.mjs';\n\n/**\n * A hook that returns `true` if we should be using reduced motion based on the current device's Reduced Motion setting.\n *\n * This can be used to implement changes to your UI based on Reduced Motion. For instance, replacing motion-sickness inducing\n * `x`/`y` animations with `opacity`, disabling the autoplay of background videos, or turning off parallax motion.\n *\n * It will actively respond to changes and re-render your components with the latest setting.\n *\n * ```jsx\n * export function Sidebar({ isOpen }) {\n * const shouldReduceMotion = useReducedMotion()\n * const closedX = shouldReduceMotion ? 0 : \"-100%\"\n *\n * return (\n * <motion.div animate={{\n * opacity: isOpen ? 1 : 0,\n * x: isOpen ? 0 : closedX\n * }} />\n * )\n * }\n * ```\n *\n * @return boolean\n *\n * @public\n */\nfunction useReducedMotion() {\n /**\n * Lazy initialisation of prefersReducedMotion\n */\n !hasReducedMotionListener.current && initPrefersReducedMotion();\n const [shouldReduceMotion] = useState(prefersReducedMotion.current);\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(shouldReduceMotion !== true, \"You have Reduced Motion enabled on your device. Animations may not appear as expected.\", \"reduced-motion-disabled\");\n }\n /**\n * TODO See if people miss automatically updating shouldReduceMotion setting\n */\n return shouldReduceMotion;\n}\n\nexport { useReducedMotion };\n","/*!\n* tabbable 6.4.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\n// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\nvar candidateSelectors = ['input:not([inert]):not([inert] *)', 'select:not([inert]):not([inert] *)', 'textarea:not([inert]):not([inert] *)', 'a[href]:not([inert]):not([inert] *)', 'button:not([inert]):not([inert] *)', '[tabindex]:not(slot):not([inert]):not([inert] *)', 'audio[controls]:not([inert]):not([inert] *)', 'video[controls]:not([inert]):not([inert] *)', '[contenteditable]:not([contenteditable=\"false\"]):not([inert]):not([inert] *)', 'details>summary:first-of-type:not([inert]):not([inert] *)', 'details:not([inert]):not([inert] *)'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function (element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Node} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nvar _isInert = function isInert(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');\n var inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n var result = inert || lookUp && node && (\n // closest does not exist on shadow roots, so we fall back to a manual\n // lookup upward, in case it is not defined.\n typeof node.closest === 'function' ? node.closest('[inert]') : _isInert(node.parentNode));\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nvar isContentEditable = function isContentEditable(node) {\n var _node$getAttribute2;\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert (either by itself or via its parent), then all its children are inert\n if (_isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nvar _getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (_isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = _getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n var shadowRoot = element.shadowRoot ||\n // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n var validShadowRoot = !_isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = _getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nvar hasTabIndex = function hasTabIndex(node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nvar getTabIndex = function getTabIndex(node) {\n if (!node) {\n throw new Error('No node provided');\n }\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n return 0;\n }\n }\n return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n * has tabIndex -1, but needs to be sorted by document order in order for its content to be\n * inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nvar getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {\n var tabIndex = getTabIndex(node);\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n var radioScope = node.form || getRootNode(node);\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n var radioSet;\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nvar isNodeAttached = function isNodeAttached(node) {\n var _nodeRoot;\n // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // To further complicate things, we have to look all the way up until we find a shadow HOST\n // that is attached (or find none) because the node might be in nested shadows...\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n // `ownerDocument` will be `null`, hence the optional chaining on it.\n var nodeRoot = node && getRootNode(node);\n var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n\n // in some cases, a detached node will return itself as the root instead of a document or\n // shadow root object, in which case, we shouldn't try to look further up the host chain\n var attached = false;\n if (nodeRoot && nodeRoot !== node) {\n var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n while (!attached && nodeRootHost) {\n var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n // which means we need to get the host's host and check if that parent host is contained\n // in (i.e. attached to) the document\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n }\n }\n return attached;\n};\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n return width === 0 && height === 0;\n};\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n if (displayCheck === 'full-native') {\n if ('checkVisibility' in node) {\n // Chrome >= 105, Edge >= 105, Firefox >= 106, Safari >= 17.4\n // @see https://developer.mozilla.org/en-US/docs/Web/API/Element/checkVisibility#browser_compatibility\n var visible = node.checkVisibility({\n // Checking opacity might be desirable for some use cases, but natively,\n // opacity zero elements _are_ focusable and tabbable.\n checkOpacity: false,\n opacityProperty: false,\n contentVisibilityAuto: true,\n visibilityProperty: true,\n // This is an alias for `visibilityProperty`. Contemporary browsers\n // support both. However, this alias has wider browser support (Chrome\n // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so\n // we include it anyway.\n checkVisibilityCSS: true\n });\n return !visible;\n }\n // Fall through to manual visibility checks\n }\n\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n }\n if (!displayCheck || displayCheck === 'full' ||\n // full-native can run this branch when it falls through in case\n // Element#checkVisibility is unsupported\n displayCheck === 'full-native' || displayCheck === 'legacy-full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n node = originalNode;\n }\n // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n if (isNodeAttached(node)) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n }\n\n // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n //\n // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n // nodes as visible with the 'none' fallback.__\n if (displayCheck !== 'legacy-full') {\n return true; // hidden\n }\n // else, fallback to 'none' mode and consider the node visible\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n }\n\n // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n // it's visible\n return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement;\n // check if `node` is contained in a disabled <fieldset>\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i);\n // when the first <legend> (in document order) is found\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n }\n // the disabled <fieldset> containing `node` has no <legend>\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n\n // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled || isHiddenInput(node) || isHidden(node, options) ||\n // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n return true;\n};\nvar isShadowRootTabbable = function isShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nvar _sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scopeParent;\n var element = isScope ? item.scopeParent : item;\n var candidateTabindex = getSortOrderTabIndex(element, isScope);\n var elements = isScope ? _sortByOrder(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = _getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isShadowRootTabbable\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n return _sortByOrder(candidates);\n};\nvar focusable = function focusable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = _getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n return candidates;\n};\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe:not([inert]):not([inert] *)').join(',');\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, getTabIndex, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n","import {\n type ComponentPropsWithoutRef,\n type ReactNode,\n forwardRef,\n useEffect,\n useId,\n useRef,\n} from \"react\";\nimport classNames from \"classnames\";\nimport { AnimatePresence, motion, useReducedMotion } from \"framer-motion\";\nimport { Button, Text, useMergeRefs } from \"@servicetitan/anvil2\";\nimport type { FocusableElement } from \"@servicetitan/anvil2\";\nimport IconClose from \"@servicetitan/anvil2/assets/icons/material/round/close.svg\";\nimport { tabbable } from \"tabbable\";\n\nimport {\n useArtifactPanelLayoutMode,\n useArtifactPanelLayoutRegistration,\n} from \"../artifact-panel-layout/context\";\nimport { getRemInPx } from \"../../utils/get-rem-in-px\";\nimport styles from \"./artifact-panel.module.scss\";\n\nconst ANIMATION_OFFSET = \"10rem\";\nconst ANIMATION_DURATION = 0.3;\n/** Panel's natural inline width — used by ArtifactPanelLayout to compute mode. */\nconst PANEL_WIDTH_REM = 35;\n\n/**\n * Props for the ArtifactPanel component\n * @property {boolean} isOpen - Whether the panel is currently rendered.\n * @property {(open: boolean) => void} onOpenChange - Called when the panel requests an open-state change (e.g. close button clicked).\n * @property {string} title - Panel heading; rendered in the header and referenced by aria-labelledby.\n * @property {string} [description] - Optional sub-header text rendered beneath the title.\n * @property {\"left\" | \"right\"} [position] - Side the panel is anchored to. Drives border placement.\n * @property {boolean} [focusOnOpen] - Move focus into the panel when it opens, and return focus to the previously focused element when it closes. Set false for agent-initiated opens so focus is not pulled away from the chat composer.\n * @property {(focusables: FocusableElement[]) => FocusableElement} [initialFocusResolver] - Pick the initial focus target when focusOnOpen is true. Defaults to the first non-close focusable.\n * @property {string | number} [triggerKey] - Optional identifier for the current artifact. When this value changes while the panel is already open, focus management treats it as a new open event: it captures the newly-focused trigger and re-shifts focus into the panel, so close-restore returns to the right element.\n * @extends Omit<ComponentPropsWithoutRef<\"aside\">, \"onDrag\" | \"onDragStart\" | \"onDragEnd\" | \"onAnimationStart\" | \"onAnimationEnd\" | \"onAnimationIteration\">\n */\nexport type ArtifactPanelProps = Omit<\n ComponentPropsWithoutRef<\"aside\">,\n | \"onDrag\"\n | \"onDragStart\"\n | \"onDragEnd\"\n | \"onAnimationStart\"\n | \"onAnimationEnd\"\n | \"onAnimationIteration\"\n> & {\n isOpen: boolean;\n onOpenChange: (open: boolean) => void;\n title: string;\n description?: string;\n /**\n * @default \"right\"\n */\n position?: \"left\" | \"right\";\n /**\n * @default true\n */\n focusOnOpen?: boolean;\n initialFocusResolver?: (focusables: FocusableElement[]) => FocusableElement;\n triggerKey?: string | number;\n children: ReactNode;\n};\n\nconst CLOSE_BUTTON_DATA_ANV = \"artifact-panel-close\";\n\nconst defaultInitialFocus = (\n focusables: FocusableElement[],\n): FocusableElement => {\n return (\n focusables.find((f) => f.dataset.anv !== CLOSE_BUTTON_DATA_ANV) ??\n focusables[0]\n );\n};\n\n/**\n * ArtifactPanel renders a side panel within the Atlas full-screen chat for\n * supplemental content such as artifacts the agent surfaces to the user.\n *\n * Features:\n * - Anchors to the left or right of the chat layout, with border placement driven by position\n * - Close button in the header for user dismissal\n * - Controlled open state via isOpen / onOpenChange\n * - Optional focus shift on open with a consumer-supplied focus resolver, and focus restoration to the trigger on close\n * - Renders an aside landmark with aria-labelledby tied to the title\n * - Accepts arbitrary children for markdown, GenUI components, or other content\n *\n * @example\n * <ArtifactPanel\n * isOpen={open}\n * onOpenChange={setOpen}\n * title=\"Supplemental info\"\n * >\n * {content}\n * </ArtifactPanel>\n */\nexport const ArtifactPanel = forwardRef<HTMLElement, ArtifactPanelProps>(\n function ArtifactPanelInner(props, ref) {\n const {\n isOpen,\n onOpenChange,\n title,\n description,\n position = \"right\",\n focusOnOpen = true,\n initialFocusResolver = defaultInitialFocus,\n triggerKey,\n children,\n className,\n ...rest\n } = props;\n\n const panelRef = useRef<HTMLElement>(null);\n const mergedRef = useMergeRefs([ref, panelRef]);\n const titleId = useId();\n const descriptionId = useId();\n const ariaDescribedBy = description ? descriptionId : undefined;\n\n // Register with the surrounding ArtifactPanelLayout so it can compute\n // whether this panel sits inline or overlays the chat. The registration\n // API is read via ref so the registration effect runs once on mount and\n // is never re-fired by context-value identity changes. Mode is read from\n // a separate, reactive context. Outside a layout, mode falls back to\n // \"inline\".\n const registration = useArtifactPanelLayoutRegistration();\n const registrationRef = useRef(registration);\n registrationRef.current = registration;\n const modeApi = useArtifactPanelLayoutMode();\n const layoutPanelId = useId();\n useEffect(() => {\n const reg = registrationRef.current;\n if (!reg) return;\n reg.registerPanel(layoutPanelId, {\n position,\n width: PANEL_WIDTH_REM * getRemInPx(),\n });\n return () => {\n registrationRef.current?.unregisterPanel(layoutPanelId);\n };\n }, [layoutPanelId, position]);\n const mode = modeApi?.getMode(layoutPanelId) ?? \"inline\";\n\n const previousFocusRef = useRef<HTMLElement | null>(null);\n const wasOpenRef = useRef(false);\n // triggerKey at the last open or swap event — used to detect swaps while\n // the panel is already open. Updated only inside the focus effect.\n const previousTriggerKeyRef = useRef<string | number | undefined>(\n triggerKey,\n );\n\n useEffect(() => {\n if (!focusOnOpen) return;\n\n const justOpened = isOpen && !wasOpenRef.current;\n const triggerChanged =\n isOpen &&\n wasOpenRef.current &&\n previousTriggerKeyRef.current !== triggerKey;\n\n if (justOpened || triggerChanged) {\n if (document.activeElement instanceof HTMLElement) {\n previousFocusRef.current = document.activeElement;\n }\n wasOpenRef.current = true;\n previousTriggerKeyRef.current = triggerKey;\n if (!panelRef.current) return;\n const focusables = tabbable(panelRef.current) as FocusableElement[];\n if (focusables.length === 0) return;\n const target = initialFocusResolver(focusables);\n target?.focus();\n return;\n }\n\n if (!isOpen && wasOpenRef.current) {\n wasOpenRef.current = false;\n previousFocusRef.current?.focus();\n previousFocusRef.current = null;\n previousTriggerKeyRef.current = triggerKey;\n }\n }, [isOpen, focusOnOpen, initialFocusResolver, triggerKey]);\n\n const panelClassName = classNames(\n styles.panel,\n position === \"left\" ? styles[\"panel-left\"] : styles[\"panel-right\"],\n mode === \"overlay\" && styles[\"panel-overlay\"],\n mode === \"overlay\" &&\n (position === \"left\"\n ? styles[\"panel-overlay-left\"]\n : styles[\"panel-overlay-right\"]),\n className,\n );\n\n const reducedMotion = useReducedMotion();\n const offsetX =\n position === \"right\" ? ANIMATION_OFFSET : `-${ANIMATION_OFFSET}`;\n const hiddenState = reducedMotion\n ? { opacity: 1, x: 0 }\n : { opacity: 0, x: offsetX };\n\n return (\n <AnimatePresence>\n {isOpen && (\n <motion.aside\n ref={mergedRef}\n aria-labelledby={titleId}\n aria-describedby={ariaDescribedBy}\n data-mode={mode}\n className={panelClassName}\n initial={hiddenState}\n animate={{ opacity: 1, x: 0 }}\n exit={hiddenState}\n transition={{ duration: ANIMATION_DURATION, ease: \"easeInOut\" }}\n {...rest}\n >\n <header className={styles.header}>\n <div className={styles[\"header-text\"]}>\n <Text id={titleId} variant=\"headline\" el=\"h2\" size=\"small\">\n {title}\n </Text>\n {description && (\n <Text id={descriptionId} size=\"small\" subdued>\n {description}\n </Text>\n )}\n </div>\n <Button\n data-anv={CLOSE_BUTTON_DATA_ANV}\n appearance=\"ghost\"\n size=\"small\"\n icon={IconClose}\n aria-label=\"Close panel\"\n onClick={() => onOpenChange(false)}\n />\n </header>\n <div className={styles.body}>{children}</div>\n </motion.aside>\n )}\n </AnimatePresence>\n );\n },\n);\n"],"names":["IconClose"],"mappings":";;;;;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,gBAAgB,GAAG;AAC5B;AACA;AACA;AACA,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,wBAAwB,EAAE;AACnE,IAAI,MAAM,CAAC,kBAAkB,CAAC,GAAG,QAAQ,CAAC,oBAAoB,CAAC,OAAO,CAAC;AACvE,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC/C,QAAQ,QAAQ,CAAC,kBAAkB,KAAK,IAAI,EAAE,wFAAwF,EAAE,yBAAyB,C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