@react-spectrum/button 3.16.2 → 3.16.4
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/ActionButton.main.js +97 -0
- package/dist/ActionButton.main.js.map +1 -0
- package/dist/ActionButton.mjs +92 -0
- package/dist/ActionButton.module.js +92 -0
- package/dist/ActionButton.module.js.map +1 -0
- package/dist/Button.main.js +177 -0
- package/dist/Button.main.js.map +1 -0
- package/dist/Button.mjs +172 -0
- package/dist/Button.module.js +172 -0
- package/dist/Button.module.js.map +1 -0
- package/dist/ClearButton.main.js +75 -0
- package/dist/ClearButton.main.js.map +1 -0
- package/dist/ClearButton.mjs +70 -0
- package/dist/ClearButton.module.js +70 -0
- package/dist/ClearButton.module.js.map +1 -0
- package/dist/FieldButton.main.js +72 -0
- package/dist/FieldButton.main.js.map +1 -0
- package/dist/FieldButton.mjs +67 -0
- package/dist/FieldButton.module.js +67 -0
- package/dist/FieldButton.module.js.map +1 -0
- package/dist/LogicButton.main.js +70 -0
- package/dist/LogicButton.main.js.map +1 -0
- package/dist/LogicButton.mjs +65 -0
- package/dist/LogicButton.module.js +65 -0
- package/dist/LogicButton.module.js.map +1 -0
- package/dist/ToggleButton.main.js +90 -0
- package/dist/ToggleButton.main.js.map +1 -0
- package/dist/ToggleButton.mjs +85 -0
- package/dist/ToggleButton.module.js +85 -0
- package/dist/ToggleButton.module.js.map +1 -0
- package/dist/button_vars_css.main.js +122 -0
- package/dist/button_vars_css.main.js.map +1 -0
- package/dist/button_vars_css.mjs +124 -0
- package/dist/button_vars_css.module.js +124 -0
- package/dist/button_vars_css.module.js.map +1 -0
- package/dist/import.mjs +6 -678
- package/dist/intlStrings.main.js +108 -0
- package/dist/intlStrings.main.js.map +1 -0
- package/dist/intlStrings.mjs +110 -0
- package/dist/intlStrings.module.js +110 -0
- package/dist/intlStrings.module.js.map +1 -0
- package/dist/main.js +12 -680
- package/dist/main.js.map +1 -1
- package/dist/module.js +6 -678
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +6 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/{main.css → vars.4fe44343.css} +46 -150
- package/dist/vars.4fe44343.css.map +1 -0
- package/package.json +15 -15
- package/src/ActionButton.tsx +27 -15
- package/dist/main.css.map +0 -1
package/dist/module.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GACD,0CAA0C;ACX1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwBD,4BAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;AACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACrEA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,I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,GAAG,UAAU;QACb,GAAG,CAAA,GAAA,iBAAS,EAAE,aAAa,WAAW;QACvC,KAAK;QACL,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAK,GACL,yBACA;YACE,gCAAgC;YAChC,qCAAqC;YACrC,sCAAsC,CAAC,CAAC;YACxC,sCAAsC,gBAAgB;YACtD,sCAAsC,gBAAgB;YACtD,aAAa;YACb,eAAe;YACf,cAAc;YACd,eAAe,MAAM,UAAU;QACjC,GACA,WAAW,SAAS;qBAGxB,gCAAC,CAAA,GAAA,mBAAW;QACV,OAAO;YACL,MAAM;gBACJ,MAAM;gBACN,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YACvC;YACA,MAAM;gBACJ,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;YACvC;QACF;OACC,OAAO,aAAa,YAAY,2BAC7B,gCAAC,CAAA,GAAA,WAAG,SAAG,YACP;AAKd;AAEA;;;CAGC,GACD,IAAI,0DAAgB,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;;","sources":["packages/@react-spectrum/button/src/index.ts","packages/@react-spectrum/button/src/Button.tsx","packages/@react-spectrum/button/src/*.js","packages/@adobe/spectrum-css-temp/components/button/vars.css","packages/@react-spectrum/button/src/ActionButton.tsx","packages/@react-spectrum/button/src/FieldButton.tsx","packages/@react-spectrum/button/src/LogicButton.tsx","packages/@react-spectrum/button/src/ClearButton.tsx","packages/@react-spectrum/button/src/ToggleButton.tsx"],"sourcesContent":["/*\n * Copyright 2020 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/// <reference types=\"css-module-types\" />\nexport {Button} from './Button';\nexport {ActionButton} from './ActionButton';\nexport {FieldButton} from './FieldButton';\nexport {LogicButton} from './LogicButton';\nexport {ClearButton} from './ClearButton';\nexport {ToggleButton} from './ToggleButton';\nexport type {SpectrumActionButtonProps, SpectrumButtonProps, SpectrumLogicButtonProps, SpectrumToggleButtonProps} from '@react-types/button';\n","/*\n * Copyright 2020 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 {\n classNames,\n SlotProvider,\n useFocusableRef,\n useHasChild,\n useSlotProps,\n useStyleProps\n} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {isAppleDevice, isFirefox, mergeProps, useId} from '@react-aria/utils';\nimport {ProgressCircle} from '@react-spectrum/progress';\nimport React, {ElementType, ReactElement, useEffect, useState} from 'react';\nimport {SpectrumButtonProps} from '@react-types/button';\nimport styles from '@adobe/spectrum-css-temp/components/button/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useButton} from '@react-aria/button';\nimport {useFocus, useHover} from '@react-aria/interactions';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction disablePendingProps(props) {\n // Don't allow interaction while isPending is true\n if (props.isPending) {\n props.onPress = undefined;\n props.onPressStart = undefined;\n props.onPressEnd = undefined;\n props.onPressChange = undefined;\n props.onPressUp = undefined;\n props.onKeyDown = undefined;\n props.onKeyUp = undefined;\n props.onClick = undefined;\n props.href = undefined;\n }\n return props;\n}\n\nfunction Button<T extends ElementType = 'button'>(props: SpectrumButtonProps<T>, ref: FocusableRef<HTMLElement>) {\n props = useProviderProps(props);\n props = useSlotProps(props, 'button');\n props = disablePendingProps(props);\n let {\n elementType: Element = 'button',\n children,\n variant,\n style = variant === 'accent' || variant === 'cta' ? 'fill' : 'outline',\n staticColor,\n isDisabled,\n isPending,\n autoFocus,\n ...otherProps\n } = props;\n let domRef = useFocusableRef(ref);\n let {buttonProps, isPressed} = useButton(props, domRef);\n let {hoverProps, isHovered} = useHover({isDisabled});\n let [isFocused, onFocusChange] = useState(false);\n let {focusProps} = useFocus({onFocusChange, isDisabled});\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/button');\n let {styleProps} = useStyleProps(otherProps);\n let hasLabel = useHasChild(`.${styles['spectrum-Button-label']}`, domRef);\n let hasIcon = useHasChild(`.${styles['spectrum-Icon']}`, domRef);\n // an aria label will block children and their labels from being read, this is undesirable for pending state\n let hasAriaLabel = !!buttonProps['aria-label'] || !!buttonProps['aria-labelledby'];\n let [isProgressVisible, setIsProgressVisible] = useState(false);\n let backupButtonId = useId();\n let buttonId = buttonProps.id || backupButtonId;\n let iconId = useId();\n let textId = useId();\n let spinnerId = useId();\n\n useEffect(() => {\n let timeout: ReturnType<typeof setTimeout>;\n\n if (isPending) {\n // Start timer when isPending is set to true.\n timeout = setTimeout(() => {\n setIsProgressVisible(true);\n }, 1000);\n } else {\n // Exit loading state when isPending is set to false. */\n setIsProgressVisible(false);\n }\n return () => {\n // Clean up on unmount or when user removes isPending prop before entering loading state.\n clearTimeout(timeout);\n };\n }, [isPending]);\n\n if (variant === 'cta') {\n variant = 'accent';\n } else if (variant === 'overBackground') {\n variant = 'primary';\n staticColor = 'white';\n }\n\n const isPendingAriaLiveLabel = `${hasAriaLabel ? buttonProps['aria-label'] : ''} ${stringFormatter.format('pending')}`.trim();\n const isPendingAriaLiveLabelledby = hasAriaLabel ? (buttonProps['aria-labelledby']?.replace(buttonId, spinnerId) ?? spinnerId) : `${hasIcon ? iconId : ''} ${hasLabel ? textId : ''} ${spinnerId}`.trim();\n\n let ariaLive: 'off' | 'polite' | 'assertive' = 'polite';\n if (isAppleDevice() && (!hasAriaLabel || isFirefox())) {\n ariaLive = 'off';\n }\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')} autoFocus={autoFocus}>\n <Element\n {...styleProps}\n {...mergeProps(buttonProps, hoverProps, focusProps)}\n id={buttonId}\n ref={domRef}\n data-variant={variant}\n data-style={style}\n data-static-color={staticColor || undefined}\n aria-disabled={isPending ? 'true' : undefined}\n aria-label={isPending ? isPendingAriaLiveLabel : buttonProps['aria-label']}\n aria-labelledby={isPending ? isPendingAriaLiveLabelledby : buttonProps['aria-labelledby']}\n className={\n classNames(\n styles,\n 'spectrum-Button',\n {\n 'spectrum-Button--iconOnly': hasIcon && !hasLabel,\n 'is-disabled': isDisabled || isProgressVisible,\n 'is-active': isPressed,\n 'is-hovered': isHovered,\n 'spectrum-Button--pending': isProgressVisible\n },\n styleProps.className\n )\n }>\n <SlotProvider\n slots={{\n icon: {\n id: iconId,\n size: 'S',\n UNSAFE_className: classNames(styles, 'spectrum-Icon')\n },\n text: {\n id: textId,\n UNSAFE_className: classNames(styles, 'spectrum-Button-label')\n }\n }}>\n {typeof children === 'string'\n ? <Text>{children}</Text>\n : children}\n {isPending && (\n <div\n aria-hidden=\"true\"\n style={{visibility: isProgressVisible ? 'visible' : 'hidden'}}\n className={classNames(styles, 'spectrum-Button-circleLoader')}>\n <ProgressCircle\n aria-label={isPendingAriaLiveLabel}\n isIndeterminate\n size=\"S\"\n staticColor={staticColor} />\n </div>\n )}\n {isPending &&\n <>\n <div aria-live={isFocused ? ariaLive : 'off'}>\n {isProgressVisible &&\n <div role=\"img\" aria-labelledby={isPendingAriaLiveLabelledby} />\n }\n </div>\n {/* Adding the element here with the same labels as the button itself causes aria-live to pick up the change in Safari.\n Safari with VO unfortunately doesn't announce changes to *all* of its labels specifically for button\n https://a11ysupport.io/tests/tech__html__button-name-change#assertion-aria-aria-label_attribute-convey_name_change-html-button_element-vo_macos-safari\n The aria-live may cause extra announcements in other browsers. */}\n <div id={spinnerId} role=\"img\" aria-label={isPendingAriaLiveLabel} />\n </>\n }\n </SlotProvider>\n </Element>\n </FocusRing>\n );\n}\n\n/**\n * Buttons allow users to perform an action or to navigate to another page.\n * They have multiple styles for various needs, and are ideal for calling attention to\n * where a user needs to do something in order to move forward in a flow.\n */\nlet _Button = React.forwardRef(Button) as <T extends ElementType = 'button'>(props: SpectrumButtonProps<T> & {ref?: FocusableRef<HTMLElement>}) => ReactElement;\nexport {_Button as Button};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","/*\n * Copyright 2020 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\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2020 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 {classNames, SlotProvider, useFocusableRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport CornerTriangle from '@spectrum-icons/ui/CornerTriangle';\nimport {FocusableRef} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumActionButtonProps} from '@react-types/button';\nimport styles from '@adobe/spectrum-css-temp/components/button/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useButton} from '@react-aria/button';\nimport {useHover} from '@react-aria/interactions';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction ActionButton(props: SpectrumActionButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n props = useProviderProps(props);\n props = useSlotProps(props, 'actionButton');\n let {\n isQuiet,\n isDisabled,\n staticColor,\n children,\n autoFocus,\n // @ts-ignore (private)\n holdAffordance,\n ...otherProps\n } = props;\n\n let domRef = useFocusableRef(ref);\n let {buttonProps, isPressed} = useButton(props, domRef);\n let {hoverProps, isHovered} = useHover({isDisabled});\n let {styleProps} = useStyleProps(otherProps);\n let isTextOnly = React.Children.toArray(props.children).every(c => !React.isValidElement(c));\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')} autoFocus={autoFocus}>\n <button\n {...styleProps}\n {...mergeProps(buttonProps, hoverProps)}\n ref={domRef}\n className={\n classNames(\n styles,\n 'spectrum-ActionButton',\n {\n 'spectrum-ActionButton--quiet': isQuiet,\n 'spectrum-ActionButton--staticColor': !!staticColor,\n 'spectrum-ActionButton--staticWhite': staticColor === 'white',\n 'spectrum-ActionButton--staticBlack': staticColor === 'black',\n 'is-active': isPressed,\n 'is-disabled': isDisabled,\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n }>\n {holdAffordance &&\n <CornerTriangle UNSAFE_className={classNames(styles, 'spectrum-ActionButton-hold')} />\n }\n <SlotProvider\n slots={{\n icon: {\n size: 'S',\n UNSAFE_className: classNames(styles, 'spectrum-Icon')\n },\n text: {\n UNSAFE_className: classNames(styles, 'spectrum-ActionButton-label')\n }\n }}>\n {typeof children === 'string' || isTextOnly\n ? <Text>{children}</Text>\n : children}\n </SlotProvider>\n </button>\n </FocusRing>\n );\n}\n\n/**\n * ActionButtons allow users to perform an action.\n * They’re used for similar, task-based options within a workflow, and are ideal for interfaces where buttons aren’t meant to draw a lot of attention.\n */\nlet _ActionButton = React.forwardRef(ActionButton);\nexport {_ActionButton as ActionButton};\n","/*\n * Copyright 2020 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 {ButtonProps} from '@react-types/button';\nimport {classNames, SlotProvider, useFocusableRef, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {DOMProps, FocusableRef, StyleProps} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {RefObject} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/button/vars.css';\nimport {useButton} from '@react-aria/button';\nimport {useHover} from '@react-aria/interactions';\n\ninterface FieldButtonProps extends ButtonProps, DOMProps, StyleProps {\n isQuiet?: boolean,\n isActive?: boolean,\n validationState?: 'valid' | 'invalid',\n isInvalid?: boolean,\n focusRingClass?: string\n}\n\n// @private\nfunction FieldButton(props: FieldButtonProps, ref: FocusableRef) {\n props = useSlotProps(props, 'button');\n let {\n isQuiet,\n isDisabled,\n validationState,\n isInvalid,\n children,\n autoFocus,\n isActive,\n focusRingClass,\n ...otherProps\n } = props;\n let domRef = useFocusableRef(ref) as RefObject<HTMLButtonElement>;\n let {buttonProps, isPressed} = useButton(props, domRef);\n let {hoverProps, isHovered} = useHover({isDisabled});\n let {styleProps} = useStyleProps(otherProps);\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring', focusRingClass)} autoFocus={autoFocus}>\n <button\n {...mergeProps(buttonProps, hoverProps)}\n ref={domRef}\n className={\n classNames(\n styles,\n 'spectrum-FieldButton',\n {\n 'spectrum-FieldButton--quiet': isQuiet,\n 'is-active': isActive || isPressed,\n 'is-disabled': isDisabled,\n 'spectrum-FieldButton--invalid': isInvalid || validationState === 'invalid',\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n }>\n <SlotProvider\n slots={{\n icon: {\n size: 'S',\n UNSAFE_className: classNames(styles, 'spectrum-Icon')\n }\n }}>\n {children}\n </SlotProvider>\n </button>\n </FocusRing>\n );\n}\n\nlet _FieldButton = React.forwardRef(FieldButton);\nexport {_FieldButton as FieldButton};\n","/*\n * Copyright 2020 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 {classNames, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumLogicButtonProps} from '@react-types/button';\nimport styles from '@adobe/spectrum-css-temp/components/button/vars.css';\nimport {useButton} from '@react-aria/button';\nimport {useHover} from '@react-aria/interactions';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction LogicButton(props: SpectrumLogicButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n props = useProviderProps(props);\n let {\n variant,\n children,\n isDisabled,\n autoFocus,\n ...otherProps\n } = props;\n let domRef = useFocusableRef(ref);\n let {buttonProps, isPressed} = useButton(props, domRef);\n let {hoverProps, isHovered} = useHover({isDisabled});\n let {styleProps} = useStyleProps(otherProps);\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')} autoFocus={autoFocus}>\n <button\n {...styleProps}\n {...mergeProps(buttonProps, hoverProps)}\n ref={domRef}\n className={\n classNames(\n styles,\n 'spectrum-LogicButton',\n {\n [`spectrum-LogicButton--${variant}`]: variant,\n 'is-disabled': isDisabled,\n 'is-active': isPressed,\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n }>\n <span className={classNames(styles, 'spectrum-Button-label')}>{children}</span>\n </button>\n </FocusRing>\n );\n}\n\n/**\n * A LogicButton displays an operator within a boolean logic sequence.\n */\nlet _LogicButton = React.forwardRef(LogicButton);\nexport {_LogicButton as LogicButton};\n","/*\n * Copyright 2020 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 {AriaButtonElementTypeProps, ButtonProps} from '@react-types/button';\nimport {classNames, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport CrossSmall from '@spectrum-icons/ui/CrossSmall';\nimport {DOMProps, FocusableRef, StyleProps} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React, {ElementType} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/button/vars.css';\nimport {useButton} from '@react-aria/button';\nimport {useHover} from '@react-aria/interactions';\n\ninterface ClearButtonProps<T extends ElementType = 'button'> extends ButtonProps, AriaButtonElementTypeProps<T>, DOMProps, StyleProps {\n focusClassName?: string,\n variant?: 'overBackground',\n excludeFromTabOrder?: boolean,\n preventFocus?: boolean\n}\n\nfunction ClearButton(props: ClearButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n children = <CrossSmall UNSAFE_className={styles['spectrum-Icon']} />,\n focusClassName,\n variant,\n autoFocus,\n isDisabled,\n preventFocus,\n elementType = preventFocus ? 'div' : 'button' as ElementType,\n ...otherProps\n } = props;\n let domRef = useFocusableRef(ref);\n let {buttonProps, isPressed} = useButton({...props, elementType}, domRef);\n let {hoverProps, isHovered} = useHover({isDisabled});\n let {styleProps} = useStyleProps(otherProps);\n\n // For cases like the clear button in a search field, remove the tabIndex so\n // iOS 14 with VoiceOver doesn't focus the button and hide the keyboard when\n // moving the cursor over the clear button.\n if (preventFocus) {\n delete buttonProps.tabIndex;\n }\n\n let ElementType = elementType;\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring', focusClassName)} autoFocus={autoFocus}>\n <ElementType\n {...styleProps}\n {...mergeProps(buttonProps, hoverProps)}\n ref={domRef}\n className={\n classNames(\n styles,\n 'spectrum-ClearButton',\n {\n [`spectrum-ClearButton--${variant}`]: variant,\n 'is-disabled': isDisabled,\n 'is-active': isPressed,\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n }>\n {children}\n </ElementType>\n </FocusRing>\n );\n}\n\nlet _ClearButton = React.forwardRef(ClearButton);\nexport {_ClearButton as ClearButton};\n","/*\n * Copyright 2020 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 {classNames, SlotProvider, useFocusableRef, useStyleProps} from '@react-spectrum/utils';\nimport {FocusableRef} from '@react-types/shared';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumToggleButtonProps} from '@react-types/button';\nimport styles from '@adobe/spectrum-css-temp/components/button/vars.css';\nimport {Text} from '@react-spectrum/text';\nimport {useHover} from '@react-aria/interactions';\nimport {useProviderProps} from '@react-spectrum/provider';\nimport {useToggleButton} from '@react-aria/button';\nimport {useToggleState} from '@react-stately/toggle';\n\nfunction ToggleButton(props: SpectrumToggleButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n props = useProviderProps(props);\n let {\n isQuiet,\n isDisabled,\n isEmphasized,\n staticColor,\n children,\n autoFocus,\n ...otherProps\n } = props;\n\n let domRef = useFocusableRef(ref);\n let state = useToggleState(props);\n let {buttonProps, isPressed} = useToggleButton(props, state, domRef);\n let {hoverProps, isHovered} = useHover({isDisabled});\n let {styleProps} = useStyleProps(otherProps);\n let isTextOnly = React.Children.toArray(props.children).every(c => !React.isValidElement(c));\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')} autoFocus={autoFocus}>\n <button\n {...styleProps}\n {...mergeProps(buttonProps, hoverProps)}\n ref={domRef}\n className={\n classNames(\n styles,\n 'spectrum-ActionButton',\n {\n 'spectrum-ActionButton--quiet': isQuiet,\n 'spectrum-ActionButton--emphasized': isEmphasized,\n 'spectrum-ActionButton--staticColor': !!staticColor,\n 'spectrum-ActionButton--staticWhite': staticColor === 'white',\n 'spectrum-ActionButton--staticBlack': staticColor === 'black',\n 'is-active': isPressed,\n 'is-disabled': isDisabled,\n 'is-hovered': isHovered,\n 'is-selected': state.isSelected\n },\n styleProps.className\n )\n }>\n <SlotProvider\n slots={{\n icon: {\n size: 'S',\n UNSAFE_className: classNames(styles, 'spectrum-Icon')\n },\n text: {\n UNSAFE_className: classNames(styles, 'spectrum-ActionButton-label')\n }\n }}>\n {typeof children === 'string' || isTextOnly\n ? <Text>{children}</Text>\n : children}\n </SlotProvider>\n </button>\n </FocusRing>\n );\n}\n\n/**\n * ToggleButtons allow users to toggle a selection on or off, for example\n * switching between two states or modes.\n */\nlet _ToggleButton = React.forwardRef(ToggleButton);\nexport {_ToggleButton as ToggleButton};\n"],"names":[],"version":3,"file":"module.js.map"}
|
1
|
+
{"mappings":";;;;;;;AAAA;;;;;;;;;;CAUC,GACD,0CAA0C","sources":["packages/@react-spectrum/button/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 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/// <reference types=\"css-module-types\" />\nexport {Button} from './Button';\nexport {ActionButton} from './ActionButton';\nexport {FieldButton} from './FieldButton';\nexport {LogicButton} from './LogicButton';\nexport {ClearButton} from './ClearButton';\nexport {ToggleButton} from './ToggleButton';\nexport type {SpectrumActionButtonProps, SpectrumButtonProps, SpectrumLogicButtonProps, SpectrumToggleButtonProps} from '@react-types/button';\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/types.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { FocusableRef, DOMProps, StyleProps } from "@react-types/shared";
|
1
|
+
import { FocusableRef, FocusableRefValue, DOMProps, StyleProps } from "@react-types/shared";
|
2
2
|
import React, { ReactElement, ElementType } from "react";
|
3
3
|
import { SpectrumButtonProps, SpectrumActionButtonProps, ButtonProps, SpectrumLogicButtonProps, AriaButtonElementTypeProps, SpectrumToggleButtonProps } from "@react-types/button";
|
4
4
|
/**
|
@@ -13,7 +13,7 @@ export let Button: <T extends React.ElementType = "button">(props: SpectrumButto
|
|
13
13
|
* ActionButtons allow users to perform an action.
|
14
14
|
* They’re used for similar, task-based options within a workflow, and are ideal for interfaces where buttons aren’t meant to draw a lot of attention.
|
15
15
|
*/
|
16
|
-
export let ActionButton: React.ForwardRefExoticComponent<SpectrumActionButtonProps & React.RefAttributes<
|
16
|
+
export let ActionButton: React.ForwardRefExoticComponent<SpectrumActionButtonProps & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
17
17
|
interface FieldButtonProps extends ButtonProps, DOMProps, StyleProps {
|
18
18
|
isQuiet?: boolean;
|
19
19
|
isActive?: boolean;
|
@@ -21,23 +21,23 @@ interface FieldButtonProps extends ButtonProps, DOMProps, StyleProps {
|
|
21
21
|
isInvalid?: boolean;
|
22
22
|
focusRingClass?: string;
|
23
23
|
}
|
24
|
-
export let FieldButton: React.ForwardRefExoticComponent<FieldButtonProps & React.RefAttributes<
|
24
|
+
export let FieldButton: React.ForwardRefExoticComponent<FieldButtonProps & React.RefAttributes<FocusableRefValue<HTMLElement, HTMLElement>>>;
|
25
25
|
/**
|
26
26
|
* A LogicButton displays an operator within a boolean logic sequence.
|
27
27
|
*/
|
28
|
-
export let LogicButton: React.ForwardRefExoticComponent<SpectrumLogicButtonProps & React.RefAttributes<
|
28
|
+
export let LogicButton: React.ForwardRefExoticComponent<SpectrumLogicButtonProps & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
29
29
|
interface ClearButtonProps<T extends ElementType = 'button'> extends ButtonProps, AriaButtonElementTypeProps<T>, DOMProps, StyleProps {
|
30
30
|
focusClassName?: string;
|
31
31
|
variant?: 'overBackground';
|
32
32
|
excludeFromTabOrder?: boolean;
|
33
33
|
preventFocus?: boolean;
|
34
34
|
}
|
35
|
-
export let ClearButton: React.ForwardRefExoticComponent<ClearButtonProps<"button"> & React.RefAttributes<
|
35
|
+
export let ClearButton: React.ForwardRefExoticComponent<ClearButtonProps<"button"> & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
36
36
|
/**
|
37
37
|
* ToggleButtons allow users to toggle a selection on or off, for example
|
38
38
|
* switching between two states or modes.
|
39
39
|
*/
|
40
|
-
export let ToggleButton: React.ForwardRefExoticComponent<SpectrumToggleButtonProps & React.RefAttributes<
|
40
|
+
export let ToggleButton: React.ForwardRefExoticComponent<SpectrumToggleButtonProps & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
|
41
41
|
export type { SpectrumActionButtonProps, SpectrumButtonProps, SpectrumLogicButtonProps, SpectrumToggleButtonProps } from '@react-types/button';
|
42
42
|
|
43
43
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":";;;AA8LA;;;;GAIG;AACH,OAAA,IAAI;UAAgH,aAAa,WAAW,CAAC;MAAM,YAAY,CAAC;
|
1
|
+
{"mappings":";;;AA8LA;;;;GAIG;AACH,OAAA,IAAI;UAAgH,aAAa,WAAW,CAAC;MAAM,YAAY,CAAC;AC9FhK;;;GAGG;AACH,OAAA,IAAI,uJAA8C,CAAC;ACnFnD,0BAA2B,SAAQ,WAAW,EAAE,QAAQ,EAAE,UAAU;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAsDD,OAAA,IAAI,iIAA4C,CAAC;ACpBjD;;GAEG;AACH,OAAA,IAAI,qJAA4C,CAAC;AC1CjD,2BAA2B,CAAC,SAAS,WAAW,GAAG,QAAQ,CAAE,SAAQ,WAAW,EAAE,2BAA2B,CAAC,CAAC,EAAE,QAAQ,EAAE,UAAU;IACnI,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAmDD,OAAA,IAAI,uJAA4C,CAAC;ACQjD;;;GAGG;AACH,OAAA,IAAI,uJAA8C,CAAC;ACzEnD,YAAY,EAAC,yBAAyB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,yBAAyB,EAAC,MAAM,qBAAqB,CAAC","sources":["packages/@react-spectrum/button/src/packages/@react-spectrum/button/src/Button.tsx","packages/@react-spectrum/button/src/packages/@react-spectrum/button/src/ActionButton.tsx","packages/@react-spectrum/button/src/packages/@react-spectrum/button/src/FieldButton.tsx","packages/@react-spectrum/button/src/packages/@react-spectrum/button/src/LogicButton.tsx","packages/@react-spectrum/button/src/packages/@react-spectrum/button/src/ClearButton.tsx","packages/@react-spectrum/button/src/packages/@react-spectrum/button/src/ToggleButton.tsx","packages/@react-spectrum/button/src/packages/@react-spectrum/button/src/index.ts","packages/@react-spectrum/button/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,"/*\n * Copyright 2020 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/// <reference types=\"css-module-types\" />\nexport {Button} from './Button';\nexport {ActionButton} from './ActionButton';\nexport {FieldButton} from './FieldButton';\nexport {LogicButton} from './LogicButton';\nexport {ClearButton} from './ClearButton';\nexport {ToggleButton} from './ToggleButton';\nexport type {SpectrumActionButtonProps, SpectrumButtonProps, SpectrumLogicButtonProps, SpectrumToggleButtonProps} from '@react-types/button';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
@@ -23,11 +23,7 @@
|
|
23
23
|
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
24
24
|
}
|
25
25
|
|
26
|
-
.Dniwja_i18nFontFamily:lang(zh-SG) {
|
27
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
28
|
-
}
|
29
|
-
|
30
|
-
.Dniwja_i18nFontFamily:lang(zh-CN) {
|
26
|
+
.Dniwja_i18nFontFamily:lang(zh-SG), .Dniwja_i18nFontFamily:lang(zh-CN) {
|
31
27
|
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
32
28
|
}
|
33
29
|
|
@@ -55,13 +51,7 @@
|
|
55
51
|
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
56
52
|
display: block;
|
57
53
|
position: absolute;
|
58
|
-
|
59
|
-
bottom: 0;
|
60
|
-
left: 0;
|
61
|
-
right: 0;
|
62
|
-
}
|
63
|
-
|
64
|
-
.Dniwja_spectrum-FocusRing {
|
54
|
+
inset: 0;
|
65
55
|
}
|
66
56
|
|
67
57
|
.Dniwja_spectrum-FocusRing.Dniwja_focus-ring:after {
|
@@ -78,6 +68,16 @@
|
|
78
68
|
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
79
69
|
}
|
80
70
|
|
71
|
+
@media (forced-colors: active) {
|
72
|
+
.Dniwja_spectrum-FocusRing, .Dniwja_spectrum-FocusRing-ring, .Dniwja_spectrum-FocusRing--quiet {
|
73
|
+
--spectrum-high-contrast-focus-ring-color: Highlight;
|
74
|
+
}
|
75
|
+
|
76
|
+
:is(.Dniwja_spectrum-FocusRing, .Dniwja_spectrum-FocusRing-ring, .Dniwja_spectrum-FocusRing--quiet):after {
|
77
|
+
forced-color-adjust: none;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
81
|
.Dniwja_spectrum-BaseButton {
|
82
82
|
box-sizing: border-box;
|
83
83
|
border-radius: var(--spectrum-button-border-radius);
|
@@ -121,16 +121,11 @@ button.Dniwja_spectrum-BaseButton {
|
|
121
121
|
|
122
122
|
.Dniwja_spectrum-BaseButton::-moz-focus-inner {
|
123
123
|
border: 0;
|
124
|
-
margin-block
|
125
|
-
margin-block-end: -2px;
|
124
|
+
margin-block: -2px;
|
126
125
|
padding: 0;
|
127
126
|
}
|
128
127
|
|
129
|
-
.Dniwja_spectrum-BaseButton:disabled {
|
130
|
-
cursor: default;
|
131
|
-
}
|
132
|
-
|
133
|
-
.Dniwja_spectrum-BaseButton.Dniwja_is-disabled {
|
128
|
+
.Dniwja_spectrum-BaseButton:disabled, .Dniwja_spectrum-BaseButton.Dniwja_is-disabled {
|
134
129
|
cursor: default;
|
135
130
|
}
|
136
131
|
|
@@ -156,11 +151,7 @@ button.Dniwja_spectrum-BaseButton {
|
|
156
151
|
padding-block-end: calc(var(--spectrum-global-dimension-size-50) + 1px);
|
157
152
|
}
|
158
153
|
|
159
|
-
.Dniwja_spectrum-Button.Dniwja_is-hovered {
|
160
|
-
box-shadow: none;
|
161
|
-
}
|
162
|
-
|
163
|
-
.Dniwja_spectrum-Button:active {
|
154
|
+
.Dniwja_spectrum-Button.Dniwja_is-hovered, .Dniwja_spectrum-Button:active {
|
164
155
|
box-shadow: none;
|
165
156
|
}
|
166
157
|
|
@@ -186,11 +177,7 @@ button.Dniwja_spectrum-BaseButton {
|
|
186
177
|
transform: translate(-50%, -50%);
|
187
178
|
}
|
188
179
|
|
189
|
-
.Dniwja_spectrum-Button.Dniwja_spectrum-Button--pending .Dniwja_spectrum-Button-label {
|
190
|
-
opacity: 0;
|
191
|
-
}
|
192
|
-
|
193
|
-
.Dniwja_spectrum-Button.Dniwja_spectrum-Button--pending .Dniwja_spectrum-Icon {
|
180
|
+
.Dniwja_spectrum-Button.Dniwja_spectrum-Button--pending .Dniwja_spectrum-Button-label, .Dniwja_spectrum-Button.Dniwja_spectrum-Button--pending .Dniwja_spectrum-Icon {
|
194
181
|
opacity: 0;
|
195
182
|
}
|
196
183
|
|
@@ -228,28 +215,24 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
228
215
|
padding-inline-end: var(--spectrum-actionbutton-icon-padding-x, var(--spectrum-global-dimension-size-85));
|
229
216
|
}
|
230
217
|
|
231
|
-
.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-label:only-child {
|
232
|
-
padding-inline-start: var(--spectrum-actionbutton-text-padding-x, var(--spectrum-global-dimension-size-150));
|
233
|
-
}
|
234
|
-
|
235
|
-
.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-hold + .Dniwja_spectrum-ActionButton-label:last-child {
|
218
|
+
.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-label:only-child, .Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-hold + .Dniwja_spectrum-ActionButton-label:last-child {
|
236
219
|
padding-inline-start: var(--spectrum-actionbutton-text-padding-x, var(--spectrum-global-dimension-size-150));
|
237
220
|
}
|
238
221
|
|
239
|
-
.Dniwja_spectrum-ActionButton .Dniwja_spectrum-Icon:only-child {
|
222
|
+
.Dniwja_spectrum-ActionButton .Dniwja_spectrum-Icon:only-child, .Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionButton-hold + .Dniwja_spectrum-Icon:last-child {
|
240
223
|
padding-inline-end: var(--spectrum-actionbutton-icon-padding-x, var(--spectrum-global-dimension-size-85));
|
241
224
|
}
|
242
225
|
|
243
|
-
.Dniwja_spectrum-ActionButton .Dniwja_spectrum-
|
244
|
-
padding-inline-end:
|
226
|
+
.Dniwja_spectrum-ActionButton .Dniwja_spectrum-ActionGroup-itemIcon.Dniwja_spectrum-ActionGroup-itemIcon {
|
227
|
+
padding-inline-end: 0;
|
245
228
|
}
|
246
229
|
|
247
230
|
.Dniwja_spectrum-ActionButton-hold {
|
248
|
-
position: absolute;
|
249
231
|
bottom: var(--spectrum-actionbutton-hold-icon-padding-bottom, var(--spectrum-global-dimension-size-40));
|
232
|
+
position: absolute;
|
250
233
|
}
|
251
234
|
|
252
|
-
.Dniwja_spectrum-ActionButton-hold:not(
|
235
|
+
.Dniwja_spectrum-ActionButton-hold:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
253
236
|
right: var(--spectrum-actionbutton-hold-icon-padding-right, var(--spectrum-global-dimension-size-40));
|
254
237
|
}
|
255
238
|
|
@@ -313,28 +296,19 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
313
296
|
cursor: default;
|
314
297
|
--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
|
315
298
|
--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
|
316
|
-
|
317
|
-
line-height: normal;
|
318
|
-
position: relative;
|
319
|
-
}
|
320
|
-
|
321
|
-
.Dniwja_spectrum-FieldButton {
|
322
|
-
padding-block-start: 0;
|
323
|
-
padding-block-end: 0;
|
299
|
+
padding-block: 0;
|
324
300
|
padding-inline: var(--spectrum-dropdown-padding-x, var(--spectrum-global-dimension-size-150));
|
325
301
|
--spectrum-button-border-width: var(--spectrum-dropdown-border-size, var(--spectrum-alias-border-size-thin));
|
326
302
|
--spectrum-button-border-radius: var(--spectrum-alias-border-radius-regular, var(--spectrum-global-dimension-size-50));
|
327
303
|
transition: background-color var(--spectrum-global-animation-duration-100, .13s), box-shadow var(--spectrum-global-animation-duration-100, .13s), border-color var(--spectrum-global-animation-duration-100, .13s);
|
328
304
|
border-style: solid;
|
305
|
+
outline: none;
|
329
306
|
margin: 0;
|
307
|
+
line-height: normal;
|
308
|
+
position: relative;
|
330
309
|
}
|
331
310
|
|
332
|
-
.Dniwja_spectrum-FieldButton:disabled {
|
333
|
-
cursor: default;
|
334
|
-
border-width: 0;
|
335
|
-
}
|
336
|
-
|
337
|
-
.Dniwja_spectrum-FieldButton.Dniwja_is-disabled {
|
311
|
+
.Dniwja_spectrum-FieldButton:disabled, .Dniwja_spectrum-FieldButton.Dniwja_is-disabled {
|
338
312
|
cursor: default;
|
339
313
|
border-width: 0;
|
340
314
|
}
|
@@ -351,11 +325,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
351
325
|
padding: 0;
|
352
326
|
}
|
353
327
|
|
354
|
-
.Dniwja_spectrum-FieldButton--quiet:disabled.Dniwja_focus-ring {
|
355
|
-
box-shadow: none;
|
356
|
-
}
|
357
|
-
|
358
|
-
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-disabled.Dniwja_focus-ring {
|
328
|
+
.Dniwja_spectrum-FieldButton--quiet:disabled.Dniwja_focus-ring, .Dniwja_spectrum-FieldButton--quiet.Dniwja_is-disabled.Dniwja_focus-ring {
|
359
329
|
box-shadow: none;
|
360
330
|
}
|
361
331
|
|
@@ -370,10 +340,8 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
370
340
|
}
|
371
341
|
|
372
342
|
.Dniwja_spectrum-ClearButton > .Dniwja_spectrum-Icon {
|
373
|
-
margin-block
|
374
|
-
margin-
|
375
|
-
margin-inline-start: auto;
|
376
|
-
margin-inline-end: auto;
|
343
|
+
margin-block: 0;
|
344
|
+
margin-inline: auto;
|
377
345
|
}
|
378
346
|
|
379
347
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
@@ -482,12 +450,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
482
450
|
color: var(--spectrum-high-contrast-button-face, var(--spectrum-button-text-color-down));
|
483
451
|
}
|
484
452
|
|
485
|
-
.Dniwja_spectrum-Button[data-style="fill"]:disabled {
|
486
|
-
background-color: var(--spectrum-high-contrast-button-face, var(--spectrum-button-color-disabled));
|
487
|
-
color: var(--spectrum-high-contrast-gray-text, var(--spectrum-button-text-color-disabled));
|
488
|
-
}
|
489
|
-
|
490
|
-
.Dniwja_spectrum-Button[data-style="fill"].Dniwja_is-disabled {
|
453
|
+
.Dniwja_spectrum-Button[data-style="fill"]:disabled, .Dniwja_spectrum-Button[data-style="fill"].Dniwja_is-disabled {
|
491
454
|
background-color: var(--spectrum-high-contrast-button-face, var(--spectrum-button-color-disabled));
|
492
455
|
color: var(--spectrum-high-contrast-gray-text, var(--spectrum-button-text-color-disabled));
|
493
456
|
}
|
@@ -522,13 +485,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
522
485
|
color: var(--spectrum-high-contrast-button-text, var(--spectrum-button-text-color-down));
|
523
486
|
}
|
524
487
|
|
525
|
-
.Dniwja_spectrum-Button[data-style="outline"]:disabled {
|
526
|
-
border-color: var(--spectrum-high-contrast-gray-text, var(--spectrum-button-color-disabled));
|
527
|
-
color: var(--spectrum-high-contrast-gray-text, var(--spectrum-button-text-color-disabled));
|
528
|
-
background-color: #0000;
|
529
|
-
}
|
530
|
-
|
531
|
-
.Dniwja_spectrum-Button[data-style="outline"].Dniwja_is-disabled {
|
488
|
+
.Dniwja_spectrum-Button[data-style="outline"]:disabled, .Dniwja_spectrum-Button[data-style="outline"].Dniwja_is-disabled {
|
532
489
|
border-color: var(--spectrum-high-contrast-gray-text, var(--spectrum-button-color-disabled));
|
533
490
|
color: var(--spectrum-high-contrast-gray-text, var(--spectrum-button-text-color-disabled));
|
534
491
|
background-color: #0000;
|
@@ -1133,13 +1090,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1133
1090
|
color: var(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-quiet-text-color-down, var(--spectrum-alias-text-color-down)));
|
1134
1091
|
}
|
1135
1092
|
|
1136
|
-
.Dniwja_spectrum-ActionButton--quiet:disabled {
|
1137
|
-
background-color: var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-quiet-background-color-disabled, var(--spectrum-alias-background-color-transparent)));
|
1138
|
-
border-color: var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-quiet-border-color-disabled, var(--spectrum-alias-border-color-transparent)));
|
1139
|
-
color: var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-quiet-text-color-disabled, var(--spectrum-alias-text-color-disabled)));
|
1140
|
-
}
|
1141
|
-
|
1142
|
-
.Dniwja_spectrum-ActionButton--quiet.Dniwja_is-disabled {
|
1093
|
+
.Dniwja_spectrum-ActionButton--quiet:disabled, .Dniwja_spectrum-ActionButton--quiet.Dniwja_is-disabled {
|
1143
1094
|
background-color: var(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-quiet-background-color-disabled, var(--spectrum-alias-background-color-transparent)));
|
1144
1095
|
border-color: var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-quiet-border-color-disabled, var(--spectrum-alias-border-color-transparent)));
|
1145
1096
|
color: var(--spectrum-high-contrast-gray-text, var(--spectrum-actionbutton-quiet-text-color-disabled, var(--spectrum-alias-text-color-disabled)));
|
@@ -1226,11 +1177,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1226
1177
|
color: var(--spectrum-actionbutton-static-color);
|
1227
1178
|
}
|
1228
1179
|
|
1229
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-hovered .Dniwja_spectrum-Icon {
|
1230
|
-
fill: var(--spectrum-actionbutton-static-color);
|
1231
|
-
}
|
1232
|
-
|
1233
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-hovered .Dniwja_spectrum-ActionButton-hold {
|
1180
|
+
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-hovered .Dniwja_spectrum-Icon, .Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-hovered .Dniwja_spectrum-ActionButton-hold {
|
1234
1181
|
fill: var(--spectrum-actionbutton-static-color);
|
1235
1182
|
}
|
1236
1183
|
|
@@ -1241,19 +1188,11 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1241
1188
|
color: var(--spectrum-actionbutton-static-color);
|
1242
1189
|
}
|
1243
1190
|
|
1244
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring.Dniwja_is-hovered {
|
1245
|
-
border-color: var(--spectrum-actionbutton-static-border-color-focus);
|
1246
|
-
}
|
1247
|
-
|
1248
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring.Dniwja_is-active {
|
1191
|
+
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring.Dniwja_is-hovered, .Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring.Dniwja_is-active {
|
1249
1192
|
border-color: var(--spectrum-actionbutton-static-border-color-focus);
|
1250
1193
|
}
|
1251
1194
|
|
1252
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring .Dniwja_spectrum-Icon {
|
1253
|
-
fill: var(--spectrum-actionbutton-static-color);
|
1254
|
-
}
|
1255
|
-
|
1256
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring .Dniwja_spectrum-ActionButton-hold {
|
1195
|
+
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring .Dniwja_spectrum-Icon, .Dniwja_spectrum-ActionButton--staticColor.Dniwja_focus-ring .Dniwja_spectrum-ActionButton-hold {
|
1257
1196
|
fill: var(--spectrum-actionbutton-static-color);
|
1258
1197
|
}
|
1259
1198
|
|
@@ -1273,11 +1212,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1273
1212
|
color: var(--spectrum-actionbutton-static-color-disabled);
|
1274
1213
|
}
|
1275
1214
|
|
1276
|
-
.Dniwja_spectrum-ActionButton--staticColor:disabled .Dniwja_spectrum-Icon {
|
1277
|
-
fill: var(--spectrum-actionbutton-static-color-disabled);
|
1278
|
-
}
|
1279
|
-
|
1280
|
-
.Dniwja_spectrum-ActionButton--staticColor:disabled .Dniwja_spectrum-ActionButton-hold {
|
1215
|
+
.Dniwja_spectrum-ActionButton--staticColor:disabled .Dniwja_spectrum-Icon, .Dniwja_spectrum-ActionButton--staticColor:disabled .Dniwja_spectrum-ActionButton-hold {
|
1281
1216
|
fill: var(--spectrum-actionbutton-static-color-disabled);
|
1282
1217
|
}
|
1283
1218
|
|
@@ -1287,11 +1222,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1287
1222
|
color: var(--spectrum-actionbutton-static-color-disabled);
|
1288
1223
|
}
|
1289
1224
|
|
1290
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-disabled .Dniwja_spectrum-Icon {
|
1291
|
-
fill: var(--spectrum-actionbutton-static-color-disabled);
|
1292
|
-
}
|
1293
|
-
|
1294
|
-
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-disabled .Dniwja_spectrum-ActionButton-hold {
|
1225
|
+
.Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-disabled .Dniwja_spectrum-Icon, .Dniwja_spectrum-ActionButton--staticColor.Dniwja_is-disabled .Dniwja_spectrum-ActionButton-hold {
|
1295
1226
|
fill: var(--spectrum-actionbutton-static-color-disabled);
|
1296
1227
|
}
|
1297
1228
|
|
@@ -1456,13 +1387,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1456
1387
|
color: var(--spectrum-logicbutton-and-text-color, var(--spectrum-global-color-static-white));
|
1457
1388
|
}
|
1458
1389
|
|
1459
|
-
.Dniwja_spectrum-LogicButton--and:disabled {
|
1460
|
-
background-color: var(--spectrum-logicbutton-and-background-color-disabled, var(--spectrum-global-color-gray-200));
|
1461
|
-
border-color: var(--spectrum-logicbutton-and-border-color-disabled, var(--spectrum-global-color-gray-200));
|
1462
|
-
color: var(--spectrum-logicbutton-and-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
1463
|
-
}
|
1464
|
-
|
1465
|
-
.Dniwja_spectrum-LogicButton--and.Dniwja_is-disabled {
|
1390
|
+
.Dniwja_spectrum-LogicButton--and:disabled, .Dniwja_spectrum-LogicButton--and.Dniwja_is-disabled {
|
1466
1391
|
background-color: var(--spectrum-logicbutton-and-background-color-disabled, var(--spectrum-global-color-gray-200));
|
1467
1392
|
border-color: var(--spectrum-logicbutton-and-border-color-disabled, var(--spectrum-global-color-gray-200));
|
1468
1393
|
color: var(--spectrum-logicbutton-and-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
@@ -1480,13 +1405,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1480
1405
|
color: var(--spectrum-logicbutton-or-text-color, var(--spectrum-global-color-static-white));
|
1481
1406
|
}
|
1482
1407
|
|
1483
|
-
.Dniwja_spectrum-LogicButton--or:disabled {
|
1484
|
-
background-color: var(--spectrum-logicbutton-and-background-color-disabled, var(--spectrum-global-color-gray-200));
|
1485
|
-
border-color: var(--spectrum-logicbutton-and-border-color-disabled, var(--spectrum-global-color-gray-200));
|
1486
|
-
color: var(--spectrum-logicbutton-and-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
1487
|
-
}
|
1488
|
-
|
1489
|
-
.Dniwja_spectrum-LogicButton--or.Dniwja_is-disabled {
|
1408
|
+
.Dniwja_spectrum-LogicButton--or:disabled, .Dniwja_spectrum-LogicButton--or.Dniwja_is-disabled {
|
1490
1409
|
background-color: var(--spectrum-logicbutton-and-background-color-disabled, var(--spectrum-global-color-gray-200));
|
1491
1410
|
border-color: var(--spectrum-logicbutton-and-border-color-disabled, var(--spectrum-global-color-gray-200));
|
1492
1411
|
color: var(--spectrum-logicbutton-and-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
@@ -1566,19 +1485,11 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1566
1485
|
border-color: var(--spectrum-fieldbutton-border-color-error-hover, var(--spectrum-global-color-red-600));
|
1567
1486
|
}
|
1568
1487
|
|
1569
|
-
.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-active {
|
1570
|
-
border-color: var(--spectrum-fieldbutton-border-color-error-down, var(--spectrum-global-color-red-600));
|
1571
|
-
}
|
1572
|
-
|
1573
|
-
.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-selected {
|
1488
|
+
.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-active, .Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-selected {
|
1574
1489
|
border-color: var(--spectrum-fieldbutton-border-color-error-down, var(--spectrum-global-color-red-600));
|
1575
1490
|
}
|
1576
1491
|
|
1577
|
-
.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_focus-ring {
|
1578
|
-
border-color: var(--spectrum-fieldbutton-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
|
1579
|
-
}
|
1580
|
-
|
1581
|
-
.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-focused {
|
1492
|
+
.Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_focus-ring, .Dniwja_spectrum-FieldButton.Dniwja_spectrum-FieldButton--invalid.Dniwja_is-focused {
|
1582
1493
|
border-color: var(--spectrum-fieldbutton-border-color-error-key-focus, var(--spectrum-alias-border-color-focus));
|
1583
1494
|
}
|
1584
1495
|
|
@@ -1632,11 +1543,7 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1632
1543
|
border-color: var(--spectrum-fieldbutton-quiet-border-color-down, var(--spectrum-alias-border-color-transparent));
|
1633
1544
|
}
|
1634
1545
|
|
1635
|
-
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-active.Dniwja_focus-ring {
|
1636
|
-
background-color: var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent));
|
1637
|
-
}
|
1638
|
-
|
1639
|
-
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-active.Dniwja_is-focused {
|
1546
|
+
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-active.Dniwja_focus-ring, .Dniwja_spectrum-FieldButton--quiet.Dniwja_is-active.Dniwja_is-focused {
|
1640
1547
|
background-color: var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent));
|
1641
1548
|
}
|
1642
1549
|
|
@@ -1645,20 +1552,11 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1645
1552
|
border-color: var(--spectrum-fieldbutton-quiet-border-color-down, var(--spectrum-alias-border-color-transparent));
|
1646
1553
|
}
|
1647
1554
|
|
1648
|
-
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-selected.Dniwja_focus-ring {
|
1649
|
-
background-color: var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent));
|
1650
|
-
}
|
1651
|
-
|
1652
|
-
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-selected.Dniwja_is-focused {
|
1555
|
+
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-selected.Dniwja_focus-ring, .Dniwja_spectrum-FieldButton--quiet.Dniwja_is-selected.Dniwja_is-focused {
|
1653
1556
|
background-color: var(--spectrum-fieldbutton-quiet-background-color-key-focus, var(--spectrum-alias-background-color-transparent));
|
1654
1557
|
}
|
1655
1558
|
|
1656
|
-
.Dniwja_spectrum-FieldButton--quiet:disabled {
|
1657
|
-
background-color: var(--spectrum-fieldbutton-quiet-background-color-disabled, var(--spectrum-alias-background-color-transparent));
|
1658
|
-
color: var(--spectrum-fieldbutton-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
1659
|
-
}
|
1660
|
-
|
1661
|
-
.Dniwja_spectrum-FieldButton--quiet.Dniwja_is-disabled {
|
1559
|
+
.Dniwja_spectrum-FieldButton--quiet:disabled, .Dniwja_spectrum-FieldButton--quiet.Dniwja_is-disabled {
|
1662
1560
|
background-color: var(--spectrum-fieldbutton-quiet-background-color-disabled, var(--spectrum-alias-background-color-transparent));
|
1663
1561
|
color: var(--spectrum-fieldbutton-text-color-disabled, var(--spectrum-alias-text-color-disabled));
|
1664
1562
|
}
|
@@ -1732,7 +1630,6 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1732
1630
|
--spectrum-actionbutton-static-background-color-selected-hover: Highlight;
|
1733
1631
|
--spectrum-actionbutton-static-background-color-selected-focus: Highlight;
|
1734
1632
|
--spectrum-actionbutton-static-background-color-selected-active: Highlight;
|
1735
|
-
--spectrum-actionbutton-static-background-color-selected-disabled: GrayText;
|
1736
1633
|
--spectrum-actionbutton-static-border-color: ButtonText;
|
1737
1634
|
--spectrum-actionbutton-static-border-color-hover: Highlight;
|
1738
1635
|
--spectrum-actionbutton-static-border-color-active: ButtonText;
|
@@ -1745,5 +1642,4 @@ a.Dniwja_spectrum-Button, a.Dniwja_spectrum-ActionButton {
|
|
1745
1642
|
--spectrum-actionbutton-static-color-selected-disabled: ButtonFace;
|
1746
1643
|
}
|
1747
1644
|
}
|
1748
|
-
|
1749
|
-
/*# sourceMappingURL=main.css.map */
|
1645
|
+
/*# sourceMappingURL=vars.4fe44343.css.map */
|
@@ -0,0 +1 @@
|
|
1
|
+
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;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F;;;;;;AAME;;;;AANF;;;;;;AAME;;;;AAKF;;;;;;AAME;;;;AAIA;;;;AAVF;;;;;;AAME;;;;AAIA;;;;AAMJ;;;;;;;;;;;AAaF;;;;;;AAKE;;;;;;AAMA;;;;;;AAQF;;;;;;AAKE;;;;;;AAMA;;;;;;AAQF;;;;;;AAKE;;;;AAIA;;;;;;AAKE;;;;AAKF;;;;;AAKE;;;;AALF;;;;;AAKE;;;;AAKF;;;;;;AAME;;;;AAIA;;;;AAVF;;;;;;AAME;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAIA;;;;AAKA;;;;AAMF;;;;;AAKE;;;;AALF;;;;;AAKE;;;;AAMJ;;;;;;AAKE;;;;;AAKA;;;;AAIE;;;;AAJF;;;;AAIE;;;;AAKF;;;;;AAKE;;;;AALF;;;;;AAKE;;;;AAMF;;;;;AAOF;EACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDA;;;;EAIA","sources":["packages/@adobe/spectrum-css-temp/components/button/vars.css"],"sourcesContent":["/*\n * Copyright 2020 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\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.4fe44343.css.map"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/button",
|
3
|
-
"version": "3.16.
|
3
|
+
"version": "3.16.4",
|
4
4
|
"description": "Spectrum UI components in React",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "dist/main.js",
|
@@ -36,23 +36,23 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/button": "^3.9.
|
40
|
-
"@react-aria/focus": "^3.
|
41
|
-
"@react-aria/i18n": "^3.
|
42
|
-
"@react-aria/interactions": "^3.21.
|
43
|
-
"@react-aria/utils": "^3.
|
44
|
-
"@react-spectrum/progress": "^3.7.
|
45
|
-
"@react-spectrum/text": "^3.5.
|
46
|
-
"@react-spectrum/utils": "^3.11.
|
47
|
-
"@react-stately/toggle": "^3.7.
|
48
|
-
"@react-types/button": "^3.9.
|
49
|
-
"@react-types/shared": "^3.
|
50
|
-
"@spectrum-icons/ui": "^3.6.
|
39
|
+
"@react-aria/button": "^3.9.5",
|
40
|
+
"@react-aria/focus": "^3.17.1",
|
41
|
+
"@react-aria/i18n": "^3.11.1",
|
42
|
+
"@react-aria/interactions": "^3.21.3",
|
43
|
+
"@react-aria/utils": "^3.24.1",
|
44
|
+
"@react-spectrum/progress": "^3.7.7",
|
45
|
+
"@react-spectrum/text": "^3.5.5",
|
46
|
+
"@react-spectrum/utils": "^3.11.7",
|
47
|
+
"@react-stately/toggle": "^3.7.4",
|
48
|
+
"@react-types/button": "^3.9.4",
|
49
|
+
"@react-types/shared": "^3.23.1",
|
50
|
+
"@spectrum-icons/ui": "^3.6.7",
|
51
51
|
"@swc/helpers": "^0.5.0"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
54
54
|
"@adobe/spectrum-css-temp": "3.0.0-alpha.1",
|
55
|
-
"@react-spectrum/test-utils": "3.0.0-alpha.1"
|
55
|
+
"@react-spectrum/test-utils-internal": "3.0.0-alpha.1"
|
56
56
|
},
|
57
57
|
"peerDependencies": {
|
58
58
|
"@react-spectrum/provider": "^3.0.0",
|
@@ -61,5 +61,5 @@
|
|
61
61
|
"publishConfig": {
|
62
62
|
"access": "public"
|
63
63
|
},
|
64
|
-
"gitHead": "
|
64
|
+
"gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
|
65
65
|
}
|