@react-spectrum/button 3.0.0-nightly.2969 → 3.0.0-nightly.2972

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/types.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { FocusableRef, FocusableRefValue, DOMProps, StyleProps } from "@react-types/shared";
2
- import React, { ReactElement, ElementType } from "react";
2
+ import React, { ElementType, ReactElement } from "react";
3
3
  import { SpectrumButtonProps, SpectrumActionButtonProps, ButtonProps, SpectrumLogicButtonProps, AriaButtonElementTypeProps, SpectrumToggleButtonProps } from "@react-types/button";
4
4
  /**
5
5
  * Buttons allow users to perform an action or to navigate to another page.
6
6
  * They have multiple styles for various needs, and are ideal for calling attention to
7
7
  * where a user needs to do something in order to move forward in a flow.
8
8
  */
9
- export let Button: <T extends React.ElementType = "button">(props: SpectrumButtonProps<T> & {
9
+ export let Button: <T extends ElementType = "button">(props: SpectrumButtonProps<T> & {
10
10
  ref?: FocusableRef<HTMLElement>;
11
11
  }) => ReactElement;
12
12
  /**
@@ -1 +1 @@
1
- {"mappings":";;;AA2MA;;;;GAIG;AACH,OAAA,IAAI;UAAgH,aAAa,WAAW,CAAC;MAAM,YAAY,CAAC;AC3GhK;;;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"}
1
+ {"mappings":";;;AA2MA;;;;GAIG;AACH,OAAA,IAAI,QAAsC,CAAC,CAAgC,SAAtB,WAAW,GAAG,QAAQ,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,aAAa,WAAW,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;AC3GhK;;;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/button",
3
- "version": "3.0.0-nightly.2969+2fd87d9f1",
3
+ "version": "3.0.0-nightly.2972+2cd8f0b50",
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.0.0-nightly.2969+2fd87d9f1",
40
- "@react-aria/focus": "3.0.0-nightly.2969+2fd87d9f1",
41
- "@react-aria/i18n": "3.0.0-nightly.2969+2fd87d9f1",
42
- "@react-aria/interactions": "3.0.0-nightly.2969+2fd87d9f1",
43
- "@react-aria/utils": "3.0.0-nightly.2969+2fd87d9f1",
44
- "@react-spectrum/progress": "3.0.0-nightly.2969+2fd87d9f1",
45
- "@react-spectrum/text": "3.5.6-nightly.4681+2fd87d9f1",
46
- "@react-spectrum/utils": "3.0.0-nightly.2969+2fd87d9f1",
47
- "@react-stately/toggle": "3.0.0-nightly.2969+2fd87d9f1",
48
- "@react-types/button": "3.9.5-nightly.4681+2fd87d9f1",
49
- "@react-types/shared": "3.0.0-nightly.2969+2fd87d9f1",
50
- "@spectrum-icons/ui": "3.0.0-nightly.2969+2fd87d9f1",
39
+ "@react-aria/button": "3.0.0-nightly.2972+2cd8f0b50",
40
+ "@react-aria/focus": "3.0.0-nightly.2972+2cd8f0b50",
41
+ "@react-aria/i18n": "3.0.0-nightly.2972+2cd8f0b50",
42
+ "@react-aria/interactions": "3.0.0-nightly.2972+2cd8f0b50",
43
+ "@react-aria/utils": "3.0.0-nightly.2972+2cd8f0b50",
44
+ "@react-spectrum/progress": "3.0.0-nightly.2972+2cd8f0b50",
45
+ "@react-spectrum/text": "3.5.6-nightly.4684+2cd8f0b50",
46
+ "@react-spectrum/utils": "3.0.0-nightly.2972+2cd8f0b50",
47
+ "@react-stately/toggle": "3.0.0-nightly.2972+2cd8f0b50",
48
+ "@react-types/button": "3.9.5-nightly.4684+2cd8f0b50",
49
+ "@react-types/shared": "3.0.0-nightly.2972+2cd8f0b50",
50
+ "@spectrum-icons/ui": "3.0.0-nightly.2972+2cd8f0b50",
51
51
  "@swc/helpers": "^0.5.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2969+2fd87d9f1",
55
- "@react-spectrum/test-utils-internal": "3.0.0-nightly.4681+2fd87d9f1"
54
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2972+2cd8f0b50",
55
+ "@react-spectrum/test-utils-internal": "3.0.0-nightly.4684+2cd8f0b50"
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": "2fd87d9f1d894e6b00a595cce73c6e8828029132"
64
+ "gitHead": "2cd8f0b509cd9a1d93322dd75fc1306e5f0e217f"
65
65
  }