@react-spectrum/s2 3.0.0-nightly-e228ed814-250129 → 3.0.0-nightly-016590a4a-250131
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/dist/Accordion.cjs +3 -3
- package/dist/Accordion.css +2 -2
- package/dist/Accordion.mjs +3 -3
- package/dist/ActionBar.cjs +47 -47
- package/dist/ActionBar.css +51 -51
- package/dist/ActionBar.mjs +47 -47
- package/dist/ActionButton.cjs +97 -97
- package/dist/ActionButton.css +96 -96
- package/dist/ActionButton.mjs +97 -97
- package/dist/ActionButtonGroup.cjs +11 -11
- package/dist/ActionButtonGroup.css +9 -9
- package/dist/ActionButtonGroup.mjs +11 -11
- package/dist/AlertDialog.cjs +3 -3
- package/dist/AlertDialog.css +3 -3
- package/dist/AlertDialog.mjs +3 -3
- package/dist/Avatar.cjs +17 -17
- package/dist/Avatar.css +14 -14
- package/dist/Avatar.mjs +17 -17
- package/dist/AvatarGroup.cjs +100 -100
- package/dist/AvatarGroup.css +34 -34
- package/dist/AvatarGroup.mjs +100 -100
- package/dist/Badge.cjs +92 -67
- package/dist/Badge.cjs.map +1 -1
- package/dist/Badge.css +168 -92
- package/dist/Badge.css.map +1 -1
- package/dist/Badge.mjs +92 -67
- package/dist/Badge.mjs.map +1 -1
- package/dist/Breadcrumbs.cjs +115 -115
- package/dist/Breadcrumbs.css +89 -89
- package/dist/Breadcrumbs.mjs +115 -115
- package/dist/Button.cjs +236 -152
- package/dist/Button.cjs.map +1 -1
- package/dist/Button.css +309 -165
- package/dist/Button.css.map +1 -1
- package/dist/Button.mjs +236 -152
- package/dist/Button.mjs.map +1 -1
- package/dist/ButtonGroup.cjs +19 -19
- package/dist/ButtonGroup.css +15 -15
- package/dist/ButtonGroup.mjs +19 -19
- package/dist/Card.cjs +264 -261
- package/dist/Card.cjs.map +1 -1
- package/dist/Card.css +210 -198
- package/dist/Card.css.map +1 -1
- package/dist/Card.mjs +264 -261
- package/dist/Card.mjs.map +1 -1
- package/dist/CardView.cjs +15 -15
- package/dist/CardView.css +18 -18
- package/dist/CardView.mjs +15 -15
- package/dist/CenterBaseline.cjs +1 -1
- package/dist/CenterBaseline.css +2 -2
- package/dist/CenterBaseline.mjs +1 -1
- package/dist/Checkbox.cjs +124 -73
- package/dist/Checkbox.cjs.map +1 -1
- package/dist/Checkbox.css +201 -81
- package/dist/Checkbox.css.map +1 -1
- package/dist/Checkbox.mjs +124 -73
- package/dist/Checkbox.mjs.map +1 -1
- package/dist/CheckboxGroup.cjs +49 -49
- package/dist/CheckboxGroup.css +41 -41
- package/dist/CheckboxGroup.mjs +49 -49
- package/dist/ClearButton.cjs +15 -15
- package/dist/ClearButton.css +17 -17
- package/dist/ClearButton.mjs +15 -15
- package/dist/CloseButton.cjs +35 -35
- package/dist/CloseButton.css +33 -33
- package/dist/CloseButton.mjs +35 -35
- package/dist/ColorArea.cjs +22 -22
- package/dist/ColorArea.css +15 -15
- package/dist/ColorArea.mjs +22 -22
- package/dist/ColorField.cjs +38 -38
- package/dist/ColorField.css +32 -32
- package/dist/ColorField.mjs +38 -38
- package/dist/ColorHandle.cjs +27 -21
- package/dist/ColorHandle.cjs.map +1 -1
- package/dist/ColorHandle.css +93 -45
- package/dist/ColorHandle.css.map +1 -1
- package/dist/ColorHandle.mjs +27 -21
- package/dist/ColorHandle.mjs.map +1 -1
- package/dist/ColorSlider.cjs +52 -52
- package/dist/ColorSlider.css +51 -51
- package/dist/ColorSlider.mjs +52 -52
- package/dist/ColorSwatch.cjs +27 -24
- package/dist/ColorSwatch.cjs.map +1 -1
- package/dist/ColorSwatch.css +41 -29
- package/dist/ColorSwatch.css.map +1 -1
- package/dist/ColorSwatch.mjs +27 -24
- package/dist/ColorSwatch.mjs.map +1 -1
- package/dist/ColorSwatchPicker.cjs +23 -23
- package/dist/ColorSwatchPicker.css +60 -48
- package/dist/ColorSwatchPicker.css.map +1 -1
- package/dist/ColorSwatchPicker.mjs +23 -23
- package/dist/ColorWheel.cjs +22 -22
- package/dist/ColorWheel.css +16 -16
- package/dist/ColorWheel.mjs +22 -22
- package/dist/ComboBox.cjs +80 -80
- package/dist/ComboBox.css +88 -88
- package/dist/ComboBox.mjs +80 -80
- package/dist/Content.cjs.map +1 -1
- package/dist/Content.mjs.map +1 -1
- package/dist/ContextualHelp.cjs +5 -5
- package/dist/ContextualHelp.css +38 -38
- package/dist/ContextualHelp.mjs +5 -5
- package/dist/CustomDialog.cjs +31 -31
- package/dist/CustomDialog.css +25 -25
- package/dist/CustomDialog.mjs +31 -31
- package/dist/Dialog.cjs +17 -17
- package/dist/Dialog.css +64 -64
- package/dist/Dialog.mjs +17 -17
- package/dist/Disclosure.cjs +111 -108
- package/dist/Disclosure.cjs.map +1 -1
- package/dist/Disclosure.css +124 -112
- package/dist/Disclosure.css.map +1 -1
- package/dist/Disclosure.mjs +111 -108
- package/dist/Disclosure.mjs.map +1 -1
- package/dist/Divider.cjs +26 -26
- package/dist/Divider.css +16 -16
- package/dist/Divider.mjs +26 -26
- package/dist/DropZone.cjs +56 -47
- package/dist/DropZone.cjs.map +1 -1
- package/dist/DropZone.css +80 -56
- package/dist/DropZone.css.map +1 -1
- package/dist/DropZone.mjs +56 -47
- package/dist/DropZone.mjs.map +1 -1
- package/dist/Field.cjs +204 -150
- package/dist/Field.cjs.map +1 -1
- package/dist/Field.css +246 -150
- package/dist/Field.css.map +1 -1
- package/dist/Field.mjs +204 -150
- package/dist/Field.mjs.map +1 -1
- package/dist/Form.cjs +10 -10
- package/dist/Form.css +9 -9
- package/dist/Form.mjs +10 -10
- package/dist/FullscreenDialog.cjs +5 -5
- package/dist/FullscreenDialog.css +72 -72
- package/dist/FullscreenDialog.mjs +5 -5
- package/dist/IllustratedMessage.cjs +134 -134
- package/dist/IllustratedMessage.css +69 -69
- package/dist/IllustratedMessage.mjs +134 -134
- package/dist/Image.cjs +12 -12
- package/dist/Image.css +13 -13
- package/dist/Image.mjs +12 -12
- package/dist/InlineAlert.cjs +104 -77
- package/dist/InlineAlert.cjs.map +1 -1
- package/dist/InlineAlert.css +149 -77
- package/dist/InlineAlert.css.map +1 -1
- package/dist/InlineAlert.mjs +104 -77
- package/dist/InlineAlert.mjs.map +1 -1
- package/dist/Link.cjs +31 -31
- package/dist/Link.css +30 -30
- package/dist/Link.mjs +31 -31
- package/dist/Menu.cjs +269 -264
- package/dist/Menu.cjs.map +1 -1
- package/dist/Menu.css +152 -152
- package/dist/Menu.css.map +1 -1
- package/dist/Menu.mjs +270 -265
- package/dist/Menu.mjs.map +1 -1
- package/dist/Meter.cjs +85 -85
- package/dist/Meter.css +81 -81
- package/dist/Meter.mjs +85 -85
- package/dist/Modal.cjs +48 -48
- package/dist/Modal.css +46 -46
- package/dist/Modal.mjs +48 -48
- package/dist/NumberField.cjs +115 -115
- package/dist/NumberField.css +114 -114
- package/dist/NumberField.mjs +115 -115
- package/dist/Picker.cjs +193 -175
- package/dist/Picker.cjs.map +1 -1
- package/dist/Picker.css +223 -163
- package/dist/Picker.css.map +1 -1
- package/dist/Picker.mjs +193 -175
- package/dist/Picker.mjs.map +1 -1
- package/dist/Popover.cjs +84 -78
- package/dist/Popover.cjs.map +1 -1
- package/dist/Popover.css +89 -65
- package/dist/Popover.css.map +1 -1
- package/dist/Popover.mjs +84 -78
- package/dist/Popover.mjs.map +1 -1
- package/dist/ProgressBar.cjs +98 -98
- package/dist/ProgressBar.css +92 -92
- package/dist/ProgressBar.mjs +98 -98
- package/dist/ProgressCircle.cjs +17 -17
- package/dist/ProgressCircle.css +15 -15
- package/dist/ProgressCircle.mjs +17 -17
- package/dist/Provider.cjs +4 -4
- package/dist/Provider.css +5 -5
- package/dist/Provider.mjs +4 -4
- package/dist/Radio.cjs +152 -80
- package/dist/Radio.cjs.map +1 -1
- package/dist/Radio.css +240 -96
- package/dist/Radio.css.map +1 -1
- package/dist/Radio.mjs +152 -80
- package/dist/Radio.mjs.map +1 -1
- package/dist/RadioGroup.cjs +47 -47
- package/dist/RadioGroup.css +41 -41
- package/dist/RadioGroup.mjs +47 -47
- package/dist/SearchField.cjs +42 -42
- package/dist/SearchField.css +47 -47
- package/dist/SearchField.mjs +42 -42
- package/dist/SegmentedControl.cjs +101 -89
- package/dist/SegmentedControl.cjs.map +1 -1
- package/dist/SegmentedControl.css +140 -92
- package/dist/SegmentedControl.css.map +1 -1
- package/dist/SegmentedControl.mjs +101 -89
- package/dist/SegmentedControl.mjs.map +1 -1
- package/dist/Slider.cjs +229 -196
- package/dist/Slider.cjs.map +1 -1
- package/dist/Slider.css +221 -149
- package/dist/Slider.css.map +1 -1
- package/dist/Slider.mjs +229 -196
- package/dist/Slider.mjs.map +1 -1
- package/dist/StatusLight.cjs +56 -56
- package/dist/StatusLight.css +59 -59
- package/dist/StatusLight.mjs +56 -56
- package/dist/Switch.cjs +107 -74
- package/dist/Switch.cjs.map +1 -1
- package/dist/Switch.css +141 -69
- package/dist/Switch.css.map +1 -1
- package/dist/Switch.mjs +107 -74
- package/dist/Switch.mjs.map +1 -1
- package/dist/TableView.cjs +280 -253
- package/dist/TableView.cjs.map +1 -1
- package/dist/TableView.css +199 -163
- package/dist/TableView.css.map +1 -1
- package/dist/TableView.mjs +280 -253
- package/dist/TableView.mjs.map +1 -1
- package/dist/Tabs.cjs +493 -197
- package/dist/Tabs.cjs.map +1 -1
- package/dist/Tabs.css +250 -134
- package/dist/Tabs.css.map +1 -1
- package/dist/Tabs.mjs +494 -198
- package/dist/Tabs.mjs.map +1 -1
- package/dist/TabsPicker.cjs +415 -0
- package/dist/TabsPicker.cjs.map +1 -0
- package/dist/TabsPicker.css +482 -0
- package/dist/TabsPicker.css.map +1 -0
- package/dist/TabsPicker.mjs +409 -0
- package/dist/TabsPicker.mjs.map +1 -0
- package/dist/TagGroup.cjs +148 -148
- package/dist/TagGroup.css +134 -134
- package/dist/TagGroup.mjs +148 -148
- package/dist/TextField.cjs +59 -59
- package/dist/TextField.css +62 -62
- package/dist/TextField.mjs +59 -59
- package/dist/ToggleButton.cjs +3 -3
- package/dist/ToggleButton.css +12 -12
- package/dist/ToggleButton.mjs +3 -3
- package/dist/Tooltip.cjs +60 -57
- package/dist/Tooltip.cjs.map +1 -1
- package/dist/Tooltip.css +83 -71
- package/dist/Tooltip.css.map +1 -1
- package/dist/Tooltip.mjs +60 -57
- package/dist/Tooltip.mjs.map +1 -1
- package/dist/TreeView.cjs +465 -0
- package/dist/TreeView.cjs.map +1 -0
- package/dist/TreeView.css +632 -0
- package/dist/TreeView.css.map +1 -0
- package/dist/TreeView.mjs +455 -0
- package/dist/TreeView.mjs.map +1 -0
- package/dist/main.cjs +4 -0
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +3 -1
- package/dist/module.mjs.map +1 -1
- package/dist/types.d.ts +33 -8
- package/dist/types.d.ts.map +1 -1
- package/icons/Skeleton.cjs +2 -2
- package/icons/Skeleton.css +5 -5
- package/icons/Skeleton.mjs +2 -2
- package/package.json +21 -19
- package/src/Badge.tsx +4 -1
- package/src/Content.tsx +2 -1
- package/src/Menu.tsx +2 -0
- package/src/Tabs.tsx +450 -144
- package/src/TabsPicker.tsx +350 -0
- package/src/TreeView.tsx +497 -0
- package/src/index.ts +2 -0
- package/style/__tests__/style-macro.test.js +18 -18
- package/style/dist/spectrum-theme.cjs +20 -10
- package/style/dist/spectrum-theme.cjs.map +1 -1
- package/style/dist/spectrum-theme.mjs +20 -10
- package/style/dist/spectrum-theme.mjs.map +1 -1
- package/style/dist/types.d.ts +4 -0
- package/style/dist/types.d.ts.map +1 -1
- package/style/spectrum-theme.ts +18 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;;;;;;AAuDD,MAAM,0DAAsB,CAAA,GAAA,0BAAY,EAA4B,CAAC;AAErE,SAAS;IACP,OAAO,CAAA,GAAA,uBAAS,EAAE;AACpB;AAGA,IAAI,0DAAsB,CAAA,GAAA,0BAAY,EAAkD,CAAC;AAEzF,4K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I,GAAG,CAAA,GAAA,0CAAc,EAAE;QAAC,GAAG,MAAK;QAAE,MAAM;IAAS,GAAG,iBAAiB,CAAA,GAAA,wCAAY;IACjG,IAAI,cAAC,UAAU,cAAE,UAAU,EAAC,GAAG;IAC/B,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,0BAAQ;IAE1B,qBACE,gCAAC,CAAA,GAAA,iCAAK;QACH,GAAG,MAAK;QACT,KAAK;QACL,MAAK;QACL,kHAAkH;QAClH,qBAAqB,CAAA,GAAA,+BAAQ,OAAO,CAAC;QACrC,mBAAmB;QACnB,WAAW,CAAA,cAAe,mCAAa;gBAAC,GAAG,WAAW;4BAAE;gBAAY,OAAO,cAAc;YAAK;kBAC9F,cAAA,gCAAC,CAAA,GAAA,iCAAM;YACL,WAAW;;;;;;;;cAWR;2BAAC;YAAS;;;AAGrB;AAEA;;CAEC,GACD,MAAM,0DAAY,CAAA,GAAA,uBAAS,EAAE","sources":["packages/@react-spectrum/s2/src/TreeView.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {ActionButtonGroupContext} from './ActionButtonGroup';\nimport {ActionMenuContext} from './ActionMenu';\nimport {\n Button,\n ButtonContext,\n Collection,\n Provider,\n TreeItemProps as RACTreeItemProps,\n TreeProps as RACTreeProps,\n UNSTABLE_ListLayout,\n UNSTABLE_Tree,\n UNSTABLE_TreeItem,\n UNSTABLE_TreeItemContent,\n UNSTABLE_Virtualizer,\n useContextProps\n} from 'react-aria-components';\nimport {centerBaseline} from './CenterBaseline';\nimport {Checkbox} from './Checkbox';\nimport Chevron from '../ui-icons/Chevron';\nimport {colorMix, fontRelative, lightDark, style} from '../style' with {type: 'macro'};\nimport {DOMRef, Key} from '@react-types/shared';\nimport {getAllowedOverrides, StylesPropWithHeight, UnsafeStyles} from './style-utils' with {type: 'macro'};\nimport {IconContext} from './Icon';\nimport {isAndroid} from '@react-aria/utils';\nimport {raw} from '../style/style-macro' with {type: 'macro'};\nimport React, {createContext, forwardRef, isValidElement, JSXElementConstructor, ReactElement, useContext, useMemo, useRef} from 'react';\nimport {Text, TextContext} from './Content';\nimport {useDOMRef} from '@react-spectrum/utils';\nimport {useLocale} from 'react-aria';\n\ninterface S2TreeProps {\n // Only detatched is supported right now with the current styles from Spectrum\n isDetached?: boolean,\n onAction?: (key: Key) => void,\n // not fully supported yet\n isEmphasized?: boolean\n}\n\nexport interface TreeViewProps extends Omit<RACTreeProps<any>, 'style' | 'className' | 'onRowAction' | 'selectionBehavior' | 'onScroll' | 'onCellAction' | 'dragAndDropHooks'>, UnsafeStyles, S2TreeProps {\n /** Spectrum-defined styles, returned by the `style()` macro. */\n styles?: StylesPropWithHeight\n}\n\nexport interface TreeViewItemProps<T extends object = object> extends Omit<RACTreeItemProps, 'className' | 'style'> {\n /** Whether this item has children, even if not loaded yet. */\n hasChildItems?: boolean,\n /** A list of child tree item objects used when dynamically rendering the tree item children. */\n childItems?: Iterable<T>\n}\n\ninterface TreeRendererContextValue {\n renderer?: (item) => ReactElement<any, string | JSXElementConstructor<any>>\n}\nconst TreeRendererContext = createContext<TreeRendererContextValue>({});\n\nfunction useTreeRendererContext(): TreeRendererContextValue {\n return useContext(TreeRendererContext)!;\n}\n\n\nlet InternalTreeContext = createContext<{isDetached?: boolean, isEmphasized?: boolean}>({});\n\n// TODO: the below is needed so the borders of the top and bottom row isn't cut off if the TreeView is wrapped within a container by always reserving the 2px needed for the\n// keyboard focus ring. Perhaps find a different way of rendering the outlines since the top of the item doesn't\n// scroll into view due to how the ring is offset. Alternatively, have the tree render the top/bottom outline like it does in Listview\nconst tree = style({\n userSelect: 'none',\n minHeight: 0,\n minWidth: 0,\n width: 'full',\n overflow: 'auto',\n boxSizing: 'border-box',\n justifyContent: {\n isEmpty: 'center'\n },\n alignItems: {\n isEmpty: 'center'\n },\n height: {\n isEmpty: 'full'\n },\n '--indent': {\n type: 'width',\n value: 16\n }\n}, getAllowedOverrides({height: true}));\n\nfunction TreeView(props: TreeViewProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isDetached, isEmphasized} = props;\n\n let renderer;\n if (typeof children === 'function') {\n renderer = children;\n }\n\n let domRef = useDOMRef(ref);\n\n let layout = useMemo(() => {\n return new UNSTABLE_ListLayout({\n rowHeight: isDetached ? 42 : 40\n });\n }, [isDetached]);\n\n return (\n <UNSTABLE_Virtualizer layout={layout}>\n <TreeRendererContext.Provider value={{renderer}}>\n <InternalTreeContext.Provider value={{isDetached, isEmphasized}}>\n <UNSTABLE_Tree\n {...props}\n className={({isEmpty}) => tree({isEmpty, isDetached}, props.styles)}\n selectionBehavior=\"toggle\"\n ref={domRef}>\n {props.children}\n </UNSTABLE_Tree>\n </InternalTreeContext.Provider>\n </TreeRendererContext.Provider>\n </UNSTABLE_Virtualizer>\n );\n}\n\nconst selectedBackground = lightDark(colorMix('gray-25', 'informative-900', 10), colorMix('gray-25', 'informative-700', 10));\nconst selectedActiveBackground = lightDark(colorMix('gray-25', 'informative-900', 15), colorMix('gray-25', 'informative-700', 15));\n\nconst rowBackgroundColor = {\n default: '--s2-container-bg',\n isFocusVisibleWithin: colorMix('gray-25', 'gray-900', 7),\n isHovered: colorMix('gray-25', 'gray-900', 7),\n isPressed: colorMix('gray-25', 'gray-900', 10),\n isSelected: {\n default: colorMix('gray-25', 'gray-900', 7),\n isEmphasized: selectedBackground,\n isFocusVisibleWithin: {\n default: colorMix('gray-25', 'gray-900', 10),\n isEmphasized: selectedActiveBackground\n },\n isHovered: {\n default: colorMix('gray-25', 'gray-900', 10),\n isEmphasized: selectedActiveBackground\n },\n isPressed: {\n default: colorMix('gray-25', 'gray-900', 10),\n isEmphasized: selectedActiveBackground\n }\n },\n forcedColors: {\n default: 'Background'\n }\n} as const;\n\nconst treeRow = style({\n position: 'relative',\n display: 'flex',\n height: 40,\n width: 'full',\n boxSizing: 'border-box',\n font: 'ui',\n color: 'body',\n outlineStyle: 'none',\n cursor: {\n default: 'default',\n isLink: 'pointer'\n },\n '--rowBackgroundColor': {\n type: 'backgroundColor',\n value: rowBackgroundColor\n },\n '--rowFocusIndicatorColor': {\n type: 'outlineColor',\n value: {\n default: 'focus-ring',\n forcedColors: 'Highlight'\n }\n }\n});\n\n\nconst treeCellGrid = style({\n display: 'grid',\n width: 'full',\n alignContent: 'center',\n alignItems: 'center',\n gridTemplateColumns: ['minmax(0, auto)', 'minmax(0, auto)', 'minmax(0, auto)', 40, 'minmax(0, auto)', '1fr', 'minmax(0, auto)', 'auto'],\n gridTemplateRows: '1fr',\n gridTemplateAreas: [\n 'drag-handle checkbox level-padding expand-button icon content actions actionmenu'\n ],\n backgroundColor: '--rowBackgroundColor',\n paddingEnd: 4, // account for any focus rings on the last item in the cell\n color: {\n isDisabled: {\n default: 'gray-400',\n forcedColors: 'GrayText'\n }\n },\n '--rowSelectedBorderColor': {\n type: 'outlineColor',\n value: {\n default: 'gray-800',\n isFocusVisible: 'focus-ring',\n forcedColors: 'Highlight'\n }\n },\n '--rowForcedFocusBorderColor': {\n type: 'outlineColor',\n value: {\n default: 'focus-ring',\n forcedColors: 'Highlight'\n }\n },\n borderTopColor: {\n default: 'transparent',\n isSelected: {\n isFirst: 'transparent'\n },\n isDetached: {\n default: 'transparent',\n isSelected: '--rowSelectedBorderColor'\n }\n },\n borderInlineEndColor: {\n default: 'transparent',\n isSelected: 'transparent',\n isDetached: {\n default: 'transparent',\n isSelected: '--rowSelectedBorderColor'\n }\n },\n borderBottomColor: {\n default: 'transparent',\n isSelected: 'transparent',\n isNextSelected: 'transparent',\n isNextFocused: 'transparent',\n isDetached: {\n default: 'transparent',\n isSelected: '--rowSelectedBorderColor'\n }\n },\n borderInlineStartColor: {\n default: 'transparent',\n isSelected: 'transparent',\n isDetached: {\n default: 'transparent',\n isSelected: '--rowSelectedBorderColor'\n }\n },\n borderTopWidth: {\n default: 0,\n isFirst: {\n default: 1,\n forcedColors: 0\n },\n isDetached: 1\n },\n borderBottomWidth: {\n default: 0,\n isDetached: 1\n },\n borderStartWidth: {\n default: 0,\n isDetached: 1\n },\n borderEndWidth: {\n default: 0,\n isDetached: 1\n },\n borderRadius: {\n isDetached: 'default'\n },\n borderStyle: 'solid'\n});\n\nconst treeCheckbox = style({\n gridArea: 'checkbox',\n marginStart: 12,\n marginEnd: 0,\n paddingEnd: 0\n});\n\nconst treeIcon = style({\n gridArea: 'icon',\n marginEnd: 'text-to-visual',\n '--iconPrimary': {\n type: 'fill',\n value: 'currentColor'\n }\n});\n\nconst treeContent = style({\n gridArea: 'content',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n});\n\nconst treeActions = style({\n gridArea: 'actions',\n flexGrow: 0,\n flexShrink: 0,\n /* TODO: I made this one up, confirm desired behavior. These paddings are to make sure the action group has enough padding for the focus ring */\n marginStart: 2,\n marginEnd: 4\n});\n\nconst treeActionMenu = style({\n gridArea: 'actionmenu'\n});\n\nconst cellFocus = {\n outlineStyle: {\n default: 'none',\n isFocusVisible: 'solid'\n },\n outlineOffset: -2,\n outlineWidth: 2,\n outlineColor: 'focus-ring',\n borderRadius: '[6px]'\n} as const;\n\nconst treeRowFocusIndicator = raw(`\n &:before {\n content: \"\";\n display: inline-block;\n position: sticky;\n inset-inline-start: 0;\n width: 3px;\n height: 100%;\n margin-inline-end: -3px;\n margin-block-end: 1px;\n z-index: 3;\n background-color: var(--rowFocusIndicatorColor);\n }`\n);\n\n\nexport const TreeViewItem = <T extends object>(props: TreeViewItemProps<T>) => {\n let {\n children,\n childItems,\n hasChildItems,\n href\n } = props;\n\n let content;\n let nestedRows;\n let {renderer} = useTreeRendererContext();\n let {isDetached, isEmphasized} = useContext(InternalTreeContext);\n\n if (typeof children === 'string') {\n content = <Text>{children}</Text>;\n } else {\n content = [];\n nestedRows = [];\n React.Children.forEach(children, node => {\n if (isValidElement(node) && node.type === TreeViewItem) {\n nestedRows.push(node);\n } else {\n content.push(node);\n }\n });\n }\n\n if (childItems != null && renderer) {\n nestedRows = (\n <Collection items={childItems}>\n {renderer}\n </Collection>\n );\n }\n\n return (\n <UNSTABLE_TreeItem\n {...props}\n className={(renderProps) => treeRow({...renderProps, isLink: !!href, isEmphasized}) + (renderProps.isFocusVisible && !isDetached ? ' ' + treeRowFocusIndicator : '')}>\n <UNSTABLE_TreeItemContent>\n {({isExpanded, hasChildRows, selectionMode, selectionBehavior, isDisabled, isFocusVisible, isSelected, id, state}) => {\n let isNextSelected = false;\n let isNextFocused = false;\n let keyAfter = state.collection.getKeyAfter(id);\n if (keyAfter != null) {\n isNextSelected = state.selectionManager.isSelected(keyAfter);\n }\n let isFirst = state.collection.getFirstKey() === id;\n return (\n <div className={treeCellGrid({isDisabled, isNextSelected, isSelected, isFirst, isNextFocused, isDetached})}>\n {selectionMode !== 'none' && selectionBehavior === 'toggle' && (\n // TODO: add transition?\n <div className={treeCheckbox}>\n <Checkbox\n isEmphasized={isEmphasized}\n slot=\"selection\" />\n </div>\n )}\n <div\n className={style({\n gridArea: 'level-padding',\n width: '[calc(calc(var(--tree-item-level, 0) - 1) * var(--indent))]'\n })} />\n {/* TODO: revisit when we do async loading, at the moment hasChildItems will only cause the chevron to be rendered, no aria/data attributes indicating the row's expandability are added */}\n {(hasChildRows || hasChildItems) && <ExpandableRowChevron isDisabled={isDisabled} isExpanded={isExpanded} />}\n <Provider\n values={[\n [TextContext, {styles: treeContent}],\n [IconContext, {\n render: centerBaseline({slot: 'icon', styles: treeIcon}),\n styles: style({size: fontRelative(20), flexShrink: 0})\n }],\n [ActionButtonGroupContext, {styles: treeActions}],\n [ActionMenuContext, {styles: treeActionMenu, isQuiet: true}]\n ]}>\n {content}\n </Provider>\n {isFocusVisible && isDetached && <div role=\"presentation\" className={style({...cellFocus, position: 'absolute', inset: 0})({isFocusVisible: true})} />}\n </div>\n );\n }}\n </UNSTABLE_TreeItemContent>\n {nestedRows}\n </UNSTABLE_TreeItem>\n );\n};\n\ninterface ExpandableRowChevronProps {\n isExpanded?: boolean,\n isDisabled?: boolean,\n isRTL?: boolean\n}\n\nconst expandButton = style<ExpandableRowChevronProps>({\n gridArea: 'expand-button',\n height: 'full',\n aspectRatio: 'square',\n display: 'flex',\n flexWrap: 'wrap',\n alignContent: 'center',\n justifyContent: 'center',\n outlineStyle: 'none',\n cursor: 'default',\n transform: {\n isExpanded: {\n default: 'rotate(90deg)',\n isRTL: 'rotate(-90deg)'\n }\n },\n transition: 'default',\n backgroundColor: 'transparent',\n borderStyle: 'none'\n});\n\nfunction ExpandableRowChevron(props: ExpandableRowChevronProps) {\n let expandButtonRef = useRef<HTMLButtonElement>(null);\n let [fullProps, ref] = useContextProps({...props, slot: 'chevron'}, expandButtonRef, ButtonContext);\n let {isExpanded, isDisabled} = fullProps;\n let {direction} = useLocale();\n\n return (\n <Button\n {...props}\n ref={ref}\n slot=\"chevron\"\n // Override tabindex so that grid keyboard nav skips over it. Needs -1 so android talkback can actually \"focus\" it\n excludeFromTabOrder={isAndroid() && !isDisabled}\n preventFocusOnPress\n className={renderProps => expandButton({...renderProps, isExpanded, isRTL: direction === 'rtl'})}>\n <Chevron\n className={style({\n scale: {\n direction: {\n ltr: '1',\n rtl: '-1'\n }\n },\n '--iconPrimary': {\n type: 'fill',\n value: 'currentColor'\n }\n })({direction})} />\n </Button>\n );\n}\n\n/**\n * A tree view provides users with a way to navigate nested hierarchical information.\n */\nconst _TreeView = forwardRef(TreeView);\nexport {_TreeView as TreeView};\n"],"names":[],"version":3,"file":"TreeView.cjs.map"}
|
|
@@ -0,0 +1,632 @@
|
|
|
1
|
+
@layer _.a {
|
|
2
|
+
.__Ha {
|
|
3
|
+
-webkit-user-select: none;
|
|
4
|
+
user-select: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.no {
|
|
8
|
+
min-height: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.po {
|
|
12
|
+
min-width: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.__za {
|
|
16
|
+
overflow-x: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.__Aa {
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.-_11sb0gx_k-E {
|
|
24
|
+
--indent: calc(1rem * var(--s2-scale));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.Yc {
|
|
28
|
+
position: relative;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.j2 {
|
|
32
|
+
height: calc(2.5rem * var(--s2-scale));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.__ra {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
._ga {
|
|
40
|
+
font-family: adobe-clean-variable, adobe-clean, ui-sans-serif, system-ui, sans-serif;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
._he {
|
|
44
|
+
font-size: .875rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
._ib {
|
|
48
|
+
font-variation-settings: "wght" 400;
|
|
49
|
+
font-synthesis-weight: none;
|
|
50
|
+
font-weight: 400;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
._ja {
|
|
54
|
+
line-height: 1.3;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.an {
|
|
58
|
+
color: var(--lightningcss-light, #292929) var(--lightningcss-dark, #dbdbdb);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.__Lc {
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.-_19jpv4m_b--1de2x0q {
|
|
66
|
+
--rowBackgroundColor: var(--s2-container-bg);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.-_19jpv4m_b--26tcdv {
|
|
70
|
+
--rowBackgroundColor: var(--lightningcss-light, #eee) var(--lightningcss-dark, #212121);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.-_19jpv4m_b--sogeql {
|
|
74
|
+
--rowBackgroundColor: var(--lightningcss-light, #ebefff) var(--lightningcss-dark, #151828);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.-_19jpv4m_b--17nxj1 {
|
|
78
|
+
--rowBackgroundColor: var(--lightningcss-light, #e7e7e7) var(--lightningcss-dark, #282828);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.-_19jpv4m_b--1hocwbr {
|
|
82
|
+
--rowBackgroundColor: var(--lightningcss-light, #e2e8fe) var(--lightningcss-dark, #161c34);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.-oorfdf_c-x {
|
|
86
|
+
--rowFocusIndicatorColor: var(--lightningcss-light, #4b75ff) var(--lightningcss-dark, #4069fd);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
._3f {
|
|
90
|
+
display: grid;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.kb {
|
|
94
|
+
width: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
._5c {
|
|
98
|
+
align-items: center;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.__l-r3ezpz {
|
|
102
|
+
grid-template-columns: minmax(0, auto) minmax(0, auto) minmax(0, auto) 2.5rem minmax(0, auto) 1fr minmax(0, auto) auto;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.__m-2wzs0i {
|
|
106
|
+
grid-template-rows: 1fr;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.__n-17p9pp0 {
|
|
110
|
+
grid-template-areas: "drag-handle checkbox level-padding expand-button icon content actions actionmenu";
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.b-19jpv4m {
|
|
114
|
+
background-color: var(--rowBackgroundColor);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.Gc {
|
|
118
|
+
padding-inline-end: .25rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.aj {
|
|
122
|
+
color: var(--lightningcss-light, #c6c6c6) var(--lightningcss-dark, #444);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.-fm23a5_c-n {
|
|
126
|
+
--rowSelectedBorderColor: var(--lightningcss-light, #292929) var(--lightningcss-dark, #dbdbdb);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.-fm23a5_c-x {
|
|
130
|
+
--rowSelectedBorderColor: var(--lightningcss-light, #4b75ff) var(--lightningcss-dark, #4069fd);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.-_17c7snb_c-x {
|
|
134
|
+
--rowForcedFocusBorderColor: var(--lightningcss-light, #4b75ff) var(--lightningcss-dark, #4069fd);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.xa {
|
|
138
|
+
border-top-color: #0000;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.x-fm23a5 {
|
|
142
|
+
border-top-color: var(--rowSelectedBorderColor);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.wa {
|
|
146
|
+
border-inline-end-color: #0000;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.w-fm23a5 {
|
|
150
|
+
border-inline-end-color: var(--rowSelectedBorderColor);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ya {
|
|
154
|
+
border-bottom-color: #0000;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.y-fm23a5 {
|
|
158
|
+
border-bottom-color: var(--rowSelectedBorderColor);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.va {
|
|
162
|
+
border-inline-start-color: #0000;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.v-fm23a5 {
|
|
166
|
+
border-inline-start-color: var(--rowSelectedBorderColor);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ta {
|
|
170
|
+
border-top-width: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.tb {
|
|
174
|
+
border-top-width: 1px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.ua {
|
|
178
|
+
border-bottom-width: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ub {
|
|
182
|
+
border-bottom-width: 1px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.ra {
|
|
186
|
+
border-inline-start-width: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.rb {
|
|
190
|
+
border-inline-start-width: 1px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sa {
|
|
194
|
+
border-inline-end-width: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.sb {
|
|
198
|
+
border-inline-end-width: 1px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
._zc {
|
|
202
|
+
border-start-start-radius: .5rem;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
._Ac {
|
|
206
|
+
border-start-end-radius: .5rem;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
._Bc {
|
|
210
|
+
border-end-start-radius: .5rem;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
._Cc {
|
|
214
|
+
border-end-end-radius: .5rem;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.za {
|
|
218
|
+
border-style: solid;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.__e-5dolv4 {
|
|
222
|
+
grid-column-start: checkbox;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.__f-5dolv4 {
|
|
226
|
+
grid-column-end: checkbox;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.__g-5dolv4 {
|
|
230
|
+
grid-row-start: checkbox;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.__h-5dolv4 {
|
|
234
|
+
grid-row-end: checkbox;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.Be {
|
|
238
|
+
margin-inline-start: .75rem;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.Ca {
|
|
242
|
+
margin-inline-end: 0;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.Ga {
|
|
246
|
+
padding-inline-end: 0;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.__e-qb5q8i {
|
|
250
|
+
grid-column-start: icon;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.__f-qb5q8i {
|
|
254
|
+
grid-column-end: icon;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.__g-qb5q8i {
|
|
258
|
+
grid-row-start: icon;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.__h-qb5q8i {
|
|
262
|
+
grid-row-end: icon;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.CG {
|
|
266
|
+
margin-inline-end: .428571em;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.__e-drkpd0 {
|
|
270
|
+
grid-column-start: content;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.__f-drkpd0 {
|
|
274
|
+
grid-column-end: content;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.__g-drkpd0 {
|
|
278
|
+
grid-row-start: content;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.__h-drkpd0 {
|
|
282
|
+
grid-row-end: content;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
._qa {
|
|
286
|
+
text-overflow: ellipsis;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
._tb {
|
|
290
|
+
white-space: nowrap;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.__zb {
|
|
294
|
+
overflow-x: hidden;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.__Ab {
|
|
298
|
+
overflow-y: hidden;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.__e-1k7szui {
|
|
302
|
+
grid-column-start: actions;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.__f-1k7szui {
|
|
306
|
+
grid-column-end: actions;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.__g-1k7szui {
|
|
310
|
+
grid-row-start: actions;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.__h-1k7szui {
|
|
314
|
+
grid-row-end: actions;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.__d-3t1x {
|
|
318
|
+
flex-grow: 0;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.Bb {
|
|
322
|
+
margin-inline-start: .125rem;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.Cc {
|
|
326
|
+
margin-inline-end: .25rem;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.__e-2npmt8 {
|
|
330
|
+
grid-column-start: actionmenu;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.__f-2npmt8 {
|
|
334
|
+
grid-column-end: actionmenu;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.__g-2npmt8 {
|
|
338
|
+
grid-row-start: actionmenu;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.__h-2npmt8 {
|
|
342
|
+
grid-row-end: actionmenu;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.-lc8e11:before {
|
|
346
|
+
content: "";
|
|
347
|
+
z-index: 3;
|
|
348
|
+
background-color: var(--rowFocusIndicatorColor);
|
|
349
|
+
width: 3px;
|
|
350
|
+
height: 100%;
|
|
351
|
+
margin-block-end: 1px;
|
|
352
|
+
margin-inline-end: -3px;
|
|
353
|
+
display: inline-block;
|
|
354
|
+
position: sticky;
|
|
355
|
+
inset-inline-start: 0;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.__e-u3oh8l {
|
|
359
|
+
grid-column-start: level-padding;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.__f-u3oh8l {
|
|
363
|
+
grid-column-end: level-padding;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.__g-u3oh8l {
|
|
367
|
+
grid-row-start: level-padding;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.__h-u3oh8l {
|
|
371
|
+
grid-row-end: level-padding;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.k-19lybgs {
|
|
375
|
+
width: calc(calc(var(--tree-item-level, 0) - 1) * var(--indent));
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.k-1sthc3k {
|
|
379
|
+
width: 1.42857em;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.j-1sthc3k {
|
|
383
|
+
height: 1.42857em;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.__c-3t1x {
|
|
387
|
+
flex-shrink: 0;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
._Pb {
|
|
391
|
+
outline-style: solid;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
._Q-3hmpw {
|
|
395
|
+
outline-offset: -2px;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
._Rc {
|
|
399
|
+
outline-width: 2px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.cx {
|
|
403
|
+
outline-color: var(--lightningcss-light, #4b75ff) var(--lightningcss-dark, #4069fd);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
._z-3762yr {
|
|
407
|
+
border-start-start-radius: 6px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
._A-3762yr {
|
|
411
|
+
border-start-end-radius: 6px;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
._B-3762yr {
|
|
415
|
+
border-end-start-radius: 6px;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
._C-3762yr {
|
|
419
|
+
border-end-end-radius: 6px;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.Ya {
|
|
423
|
+
position: absolute;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
._ba {
|
|
427
|
+
top: 0;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
._da {
|
|
431
|
+
bottom: 0;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.Za {
|
|
435
|
+
inset-inline-start: 0;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
._aa {
|
|
439
|
+
inset-inline-end: 0;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.__e-ajol1u {
|
|
443
|
+
grid-column-start: expand-button;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.__f-ajol1u {
|
|
447
|
+
grid-column-end: expand-button;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.__g-ajol1u {
|
|
451
|
+
grid-row-start: expand-button;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.__h-ajol1u {
|
|
455
|
+
grid-row-end: expand-button;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.jb {
|
|
459
|
+
height: 100%;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
._fb {
|
|
463
|
+
aspect-ratio: 1;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
._3d {
|
|
467
|
+
display: flex;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.__ba {
|
|
471
|
+
flex-wrap: wrap;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
._4b {
|
|
475
|
+
align-content: center;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
._6d {
|
|
479
|
+
justify-content: center;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
._Pa {
|
|
483
|
+
outline-style: none;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.__Lb {
|
|
487
|
+
cursor: default;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.X-7hkt2a {
|
|
491
|
+
transform: rotate(90deg);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.X-197phm7 {
|
|
495
|
+
transform: rotate(-90deg);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
._Sa {
|
|
499
|
+
transition-property: color, background-color, var(--gp), border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
._U-375x7f {
|
|
503
|
+
transition-duration: .15s;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
._Va {
|
|
507
|
+
transition-timing-function: cubic-bezier(.45, 0, .4, 1);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.ba {
|
|
511
|
+
background-color: #0000;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.zf {
|
|
515
|
+
border-style: none;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.V-375khm {
|
|
519
|
+
--scaleX: 1;
|
|
520
|
+
scale: var(--scaleX, 1) var(--scaleY, 1);
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.V-yizn7r {
|
|
524
|
+
--scaleX: -1;
|
|
525
|
+
scale: var(--scaleX, 1) var(--scaleY, 1);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.W-375khm {
|
|
529
|
+
--scaleY: 1;
|
|
530
|
+
scale: var(--scaleX, 1) var(--scaleY, 1);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.W-yizn7r {
|
|
534
|
+
--scaleY: -1;
|
|
535
|
+
scale: var(--scaleX, 1) var(--scaleY, 1);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.-rwx0fg_d-b {
|
|
539
|
+
--iconPrimary: currentColor;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
@layer _.b {
|
|
544
|
+
._g-enzrfpb:lang(ar) {
|
|
545
|
+
font-family: myriad-arabic, ui-sans-serif, system-ui, sans-serif;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
._j-1x99dlob:is(:lang(ja), :lang(ko), :lang(zh), :lang(zh-Hant), :lang(zh-Hans)) {
|
|
549
|
+
line-height: 1.5;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
@layer _.c {
|
|
554
|
+
._g-enzwzjc:lang(he) {
|
|
555
|
+
font-family: myriad-hebrew, ui-sans-serif, system-ui, sans-serif;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
@layer _.d {
|
|
560
|
+
._g-enzykdd:lang(ja) {
|
|
561
|
+
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
@layer _.e {
|
|
566
|
+
._g-enzzrge:lang(ko) {
|
|
567
|
+
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
@layer _.f {
|
|
572
|
+
._g-eo0c6sf:lang(zh) {
|
|
573
|
+
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
@layer _.g {
|
|
578
|
+
._g-1uotwbwg:lang(zh-hant) {
|
|
579
|
+
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
@layer _.h {
|
|
584
|
+
._g-bc1l9oh:is(:lang(zh-Hans), :lang(zh-CN), :lang(zh-SG)) {
|
|
585
|
+
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
@layer _.b.b {
|
|
590
|
+
@media not ((hover: hover) and (pointer: fine)) {
|
|
591
|
+
._hbf {
|
|
592
|
+
font-size: 1.0625rem;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.CbH {
|
|
596
|
+
margin-inline-end: .470588em;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
@layer _.b.a {
|
|
602
|
+
@media (forced-colors: active) {
|
|
603
|
+
.-_19jpv4m_b-a_____H {
|
|
604
|
+
--rowBackgroundColor: Background;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.-oorfdf_c-a_____M {
|
|
608
|
+
--rowFocusIndicatorColor: Highlight;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.aa_____O {
|
|
612
|
+
color: graytext;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.-fm23a5_c-a_____M {
|
|
616
|
+
--rowSelectedBorderColor: Highlight;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.-_17c7snb_c-a_____M {
|
|
620
|
+
--rowForcedFocusBorderColor: Highlight;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.taa {
|
|
624
|
+
border-top-width: 0;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.ca_____M {
|
|
628
|
+
outline-color: highlight;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
/*# sourceMappingURL=TreeView.css.map */
|