@plasmicpkgs/react-aria 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/common.d.ts +2 -0
- package/dist/react-aria.esm.js +317 -193
- package/dist/react-aria.esm.js.map +1 -1
- package/dist/react-aria.js +316 -192
- package/dist/react-aria.js.map +1 -1
- package/dist/registerButton.d.ts +1 -0
- package/dist/registerSwitch.d.ts +5 -0
- package/package.json +2 -2
- package/skinny/common-52c26d37.esm.js +52 -0
- package/skinny/common-52c26d37.esm.js.map +1 -0
- package/skinny/common-e74a9214.cjs.js +54 -0
- package/skinny/common-e74a9214.cjs.js.map +1 -0
- package/skinny/common.d.ts +2 -0
- package/skinny/registerButton.cjs.js +20 -18
- package/skinny/registerButton.cjs.js.map +1 -1
- package/skinny/registerButton.d.ts +1 -0
- package/skinny/registerButton.esm.js +20 -18
- package/skinny/registerButton.esm.js.map +1 -1
- package/skinny/registerSwitch.cjs.js +83 -0
- package/skinny/registerSwitch.cjs.js.map +1 -0
- package/skinny/registerSwitch.d.ts +5 -0
- package/skinny/registerSwitch.esm.js +80 -0
- package/skinny/registerSwitch.esm.js.map +1 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var reactAriaComponents = require('react-aria-components');
|
|
5
|
+
var common = require('./common-e74a9214.cjs.js');
|
|
5
6
|
var utils = require('./utils-1190a0a9.cjs.js');
|
|
6
7
|
require('@plasmicapp/host/registerComponent');
|
|
7
8
|
|
|
@@ -10,6 +11,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
11
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
11
12
|
|
|
12
13
|
var __defProp = Object.defineProperty;
|
|
14
|
+
var __defProps = Object.defineProperties;
|
|
15
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
13
16
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
14
17
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
15
18
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -25,6 +28,7 @@ var __spreadValues = (a, b) => {
|
|
|
25
28
|
}
|
|
26
29
|
return a;
|
|
27
30
|
};
|
|
31
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
28
32
|
var __objRest = (source, exclude) => {
|
|
29
33
|
var target = {};
|
|
30
34
|
for (var prop in source)
|
|
@@ -38,8 +42,9 @@ var __objRest = (source, exclude) => {
|
|
|
38
42
|
return target;
|
|
39
43
|
};
|
|
40
44
|
function BaseButton(props) {
|
|
41
|
-
const _a = props, { submitsForm, onFocusVisibleChange, children } = _a, rest = __objRest(_a, ["submitsForm", "onFocusVisibleChange", "children"]);
|
|
42
|
-
|
|
45
|
+
const _a = props, { submitsForm, onFocusVisibleChange, resetsForm, children } = _a, rest = __objRest(_a, ["submitsForm", "onFocusVisibleChange", "resetsForm", "children"]);
|
|
46
|
+
const type = submitsForm ? "submit" : resetsForm ? "reset" : "button";
|
|
47
|
+
return /* @__PURE__ */ React__default.default.createElement(reactAriaComponents.Button, __spreadValues({ type }, rest), ({ isFocusVisible }) => /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(
|
|
43
48
|
utils.ValueObserver,
|
|
44
49
|
{
|
|
45
50
|
value: isFocusVisible,
|
|
@@ -56,28 +61,25 @@ function registerButton(loader, overrides) {
|
|
|
56
61
|
displayName: "BaseButton",
|
|
57
62
|
importPath: "@plasmicpkgs/react-aria/registerButton",
|
|
58
63
|
importName: "BaseButton",
|
|
59
|
-
props: {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
isDisabled: {
|
|
65
|
-
displayName: "Disabled",
|
|
66
|
-
type: "boolean",
|
|
67
|
-
description: "Whether the button is disabled",
|
|
68
|
-
defaultValueHint: false
|
|
69
|
-
},
|
|
64
|
+
props: __spreadProps(__spreadValues({}, common.getCommonInputProps("button", [
|
|
65
|
+
"isDisabled",
|
|
66
|
+
"aria-label",
|
|
67
|
+
"children"
|
|
68
|
+
])), {
|
|
70
69
|
submitsForm: {
|
|
71
70
|
type: "boolean",
|
|
72
71
|
displayName: "Submits form?",
|
|
73
72
|
defaultValueHint: false,
|
|
73
|
+
hidden: (ps) => Boolean(ps.resetsForm),
|
|
74
74
|
description: "Whether clicking this button should submit the enclosing form.",
|
|
75
75
|
advanced: true
|
|
76
76
|
},
|
|
77
|
-
|
|
78
|
-
type: "
|
|
79
|
-
displayName: "
|
|
80
|
-
|
|
77
|
+
resetsForm: {
|
|
78
|
+
type: "boolean",
|
|
79
|
+
displayName: "Resets form?",
|
|
80
|
+
defaultValueHint: false,
|
|
81
|
+
hidden: (ps) => Boolean(ps.submitsForm),
|
|
82
|
+
description: "Whether clicking this button should reset the enclosing form.",
|
|
81
83
|
advanced: true
|
|
82
84
|
},
|
|
83
85
|
onPress: {
|
|
@@ -100,7 +102,7 @@ function registerButton(loader, overrides) {
|
|
|
100
102
|
type: "eventHandler",
|
|
101
103
|
argTypes: [{ name: "isFocusVisible", type: "boolean" }]
|
|
102
104
|
}
|
|
103
|
-
},
|
|
105
|
+
}),
|
|
104
106
|
states: {
|
|
105
107
|
isHovered: {
|
|
106
108
|
type: "readonly",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerButton.cjs.js","sources":["../src/registerButton.tsx"],"sourcesContent":["import React from \"react\";\nimport type { ButtonProps } from \"react-aria-components\";\nimport { Button } from \"react-aria-components\";\nimport {\n CodeComponentMetaOverrides,\n makeComponentName,\n Registerable,\n registerComponentHelper,\n ValueObserver,\n} from \"./utils\";\n\ninterface BaseButtonProps extends ButtonProps {\n submitsForm?: boolean;\n onFocusVisibleChange?: (isFocusVisible: boolean) => void;\n}\n\nexport function BaseButton(props: BaseButtonProps) {\n const { submitsForm, onFocusVisibleChange, children, ...rest }
|
|
1
|
+
{"version":3,"file":"registerButton.cjs.js","sources":["../src/registerButton.tsx"],"sourcesContent":["import React from \"react\";\nimport type { ButtonProps } from \"react-aria-components\";\nimport { Button } from \"react-aria-components\";\nimport { getCommonInputProps } from \"./common\";\nimport {\n CodeComponentMetaOverrides,\n makeComponentName,\n Registerable,\n registerComponentHelper,\n ValueObserver,\n} from \"./utils\";\n\ninterface BaseButtonProps extends ButtonProps {\n resetsForm?: boolean;\n submitsForm?: boolean;\n onFocusVisibleChange?: (isFocusVisible: boolean) => void;\n}\n\nexport function BaseButton(props: BaseButtonProps) {\n const { submitsForm, onFocusVisibleChange, resetsForm, children, ...rest } =\n props;\n const type = submitsForm ? \"submit\" : resetsForm ? \"reset\" : \"button\";\n return (\n <Button type={type} {...rest}>\n {({ isFocusVisible }) => (\n <>\n <ValueObserver\n value={isFocusVisible}\n onChange={onFocusVisibleChange}\n />\n {children}\n </>\n )}\n </Button>\n );\n}\n\nexport function registerButton(\n loader?: Registerable,\n overrides?: CodeComponentMetaOverrides<typeof BaseButton>\n) {\n registerComponentHelper(\n loader,\n BaseButton,\n {\n name: makeComponentName(\"button\"),\n displayName: \"BaseButton\",\n importPath: \"@plasmicpkgs/react-aria/registerButton\",\n importName: \"BaseButton\",\n props: {\n ...getCommonInputProps<BaseButtonProps>(\"button\", [\n \"isDisabled\",\n \"aria-label\",\n \"children\",\n ]),\n submitsForm: {\n type: \"boolean\",\n displayName: \"Submits form?\",\n defaultValueHint: false,\n hidden: (ps: BaseButtonProps) => Boolean(ps.resetsForm),\n description:\n \"Whether clicking this button should submit the enclosing form.\",\n advanced: true,\n },\n resetsForm: {\n type: \"boolean\",\n displayName: \"Resets form?\",\n defaultValueHint: false,\n hidden: (ps: BaseButtonProps) => Boolean(ps.submitsForm),\n description:\n \"Whether clicking this button should reset the enclosing form.\",\n advanced: true,\n },\n onPress: {\n type: \"eventHandler\",\n argTypes: [{ name: \"event\", type: \"object\" }],\n },\n onHoverChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isHovered\", type: \"boolean\" }],\n },\n onPressChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isPressed\", type: \"boolean\" }],\n },\n onFocusChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isFocused\", type: \"boolean\" }],\n },\n onFocusVisibleChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isFocusVisible\", type: \"boolean\" }],\n },\n },\n states: {\n isHovered: {\n type: \"readonly\",\n onChangeProp: \"onHoverChange\",\n variableType: \"boolean\",\n },\n isPressed: {\n type: \"readonly\",\n onChangeProp: \"onPressChange\",\n variableType: \"boolean\",\n },\n isFocused: {\n type: \"readonly\",\n onChangeProp: \"onFocusChange\",\n variableType: \"boolean\",\n },\n isFocusVisible: {\n type: \"readonly\",\n onChangeProp: \"onFocusVisibleChange\",\n variableType: \"boolean\",\n },\n },\n trapsFocus: true,\n },\n overrides\n );\n}\n"],"names":["React","Button","ValueObserver","registerComponentHelper","makeComponentName","getCommonInputProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,SAAS,WAAW,KAAwB,EAAA;AACjD,EAAA,MACE,EADM,GAAA,KAAA,EAAA,EAAA,WAAA,EAAa,oBAAsB,EAAA,UAAA,EAAY,QAnBzD,EAAA,GAoBI,EADkE,EAAA,IAAA,GAAA,SAAA,CAClE,EADkE,EAAA,CAA5D,aAAa,EAAA,sBAAA,EAAsB,YAAY,EAAA,UAAA,CAAA,CAAA,CAAA;AAEvD,EAAA,MAAM,IAAO,GAAA,WAAA,GAAc,QAAW,GAAA,UAAA,GAAa,OAAU,GAAA,QAAA,CAAA;AAC7D,EACE,uBAAAA,sBAAA,CAAA,aAAA,CAACC,6CAAO,IAAgB,EAAA,EAAA,IAAA,CAAA,EACrB,CAAC,EAAE,cAAA,uBAEAD,sBAAA,CAAA,aAAA,CAAAA,sBAAA,CAAA,QAAA,EAAA,IAAA,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{ ButtonProps } from "react-aria-components";
|
|
3
3
|
import { CodeComponentMetaOverrides, Registerable } from "./utils";
|
|
4
4
|
interface BaseButtonProps extends ButtonProps {
|
|
5
|
+
resetsForm?: boolean;
|
|
5
6
|
submitsForm?: boolean;
|
|
6
7
|
onFocusVisibleChange?: (isFocusVisible: boolean) => void;
|
|
7
8
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button } from 'react-aria-components';
|
|
3
|
+
import { g as getCommonInputProps } from './common-52c26d37.esm.js';
|
|
3
4
|
import { V as ValueObserver, r as registerComponentHelper, m as makeComponentName } from './utils-28f98072.esm.js';
|
|
4
5
|
import '@plasmicapp/host/registerComponent';
|
|
5
6
|
|
|
6
7
|
var __defProp = Object.defineProperty;
|
|
8
|
+
var __defProps = Object.defineProperties;
|
|
9
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
10
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
11
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
12
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -19,6 +22,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
22
|
}
|
|
20
23
|
return a;
|
|
21
24
|
};
|
|
25
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
22
26
|
var __objRest = (source, exclude) => {
|
|
23
27
|
var target = {};
|
|
24
28
|
for (var prop in source)
|
|
@@ -32,8 +36,9 @@ var __objRest = (source, exclude) => {
|
|
|
32
36
|
return target;
|
|
33
37
|
};
|
|
34
38
|
function BaseButton(props) {
|
|
35
|
-
const _a = props, { submitsForm, onFocusVisibleChange, children } = _a, rest = __objRest(_a, ["submitsForm", "onFocusVisibleChange", "children"]);
|
|
36
|
-
|
|
39
|
+
const _a = props, { submitsForm, onFocusVisibleChange, resetsForm, children } = _a, rest = __objRest(_a, ["submitsForm", "onFocusVisibleChange", "resetsForm", "children"]);
|
|
40
|
+
const type = submitsForm ? "submit" : resetsForm ? "reset" : "button";
|
|
41
|
+
return /* @__PURE__ */ React.createElement(Button, __spreadValues({ type }, rest), ({ isFocusVisible }) => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
37
42
|
ValueObserver,
|
|
38
43
|
{
|
|
39
44
|
value: isFocusVisible,
|
|
@@ -50,28 +55,25 @@ function registerButton(loader, overrides) {
|
|
|
50
55
|
displayName: "BaseButton",
|
|
51
56
|
importPath: "@plasmicpkgs/react-aria/registerButton",
|
|
52
57
|
importName: "BaseButton",
|
|
53
|
-
props: {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
isDisabled: {
|
|
59
|
-
displayName: "Disabled",
|
|
60
|
-
type: "boolean",
|
|
61
|
-
description: "Whether the button is disabled",
|
|
62
|
-
defaultValueHint: false
|
|
63
|
-
},
|
|
58
|
+
props: __spreadProps(__spreadValues({}, getCommonInputProps("button", [
|
|
59
|
+
"isDisabled",
|
|
60
|
+
"aria-label",
|
|
61
|
+
"children"
|
|
62
|
+
])), {
|
|
64
63
|
submitsForm: {
|
|
65
64
|
type: "boolean",
|
|
66
65
|
displayName: "Submits form?",
|
|
67
66
|
defaultValueHint: false,
|
|
67
|
+
hidden: (ps) => Boolean(ps.resetsForm),
|
|
68
68
|
description: "Whether clicking this button should submit the enclosing form.",
|
|
69
69
|
advanced: true
|
|
70
70
|
},
|
|
71
|
-
|
|
72
|
-
type: "
|
|
73
|
-
displayName: "
|
|
74
|
-
|
|
71
|
+
resetsForm: {
|
|
72
|
+
type: "boolean",
|
|
73
|
+
displayName: "Resets form?",
|
|
74
|
+
defaultValueHint: false,
|
|
75
|
+
hidden: (ps) => Boolean(ps.submitsForm),
|
|
76
|
+
description: "Whether clicking this button should reset the enclosing form.",
|
|
75
77
|
advanced: true
|
|
76
78
|
},
|
|
77
79
|
onPress: {
|
|
@@ -94,7 +96,7 @@ function registerButton(loader, overrides) {
|
|
|
94
96
|
type: "eventHandler",
|
|
95
97
|
argTypes: [{ name: "isFocusVisible", type: "boolean" }]
|
|
96
98
|
}
|
|
97
|
-
},
|
|
99
|
+
}),
|
|
98
100
|
states: {
|
|
99
101
|
isHovered: {
|
|
100
102
|
type: "readonly",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerButton.esm.js","sources":["../src/registerButton.tsx"],"sourcesContent":["import React from \"react\";\nimport type { ButtonProps } from \"react-aria-components\";\nimport { Button } from \"react-aria-components\";\nimport {\n CodeComponentMetaOverrides,\n makeComponentName,\n Registerable,\n registerComponentHelper,\n ValueObserver,\n} from \"./utils\";\n\ninterface BaseButtonProps extends ButtonProps {\n submitsForm?: boolean;\n onFocusVisibleChange?: (isFocusVisible: boolean) => void;\n}\n\nexport function BaseButton(props: BaseButtonProps) {\n const { submitsForm, onFocusVisibleChange, children, ...rest }
|
|
1
|
+
{"version":3,"file":"registerButton.esm.js","sources":["../src/registerButton.tsx"],"sourcesContent":["import React from \"react\";\nimport type { ButtonProps } from \"react-aria-components\";\nimport { Button } from \"react-aria-components\";\nimport { getCommonInputProps } from \"./common\";\nimport {\n CodeComponentMetaOverrides,\n makeComponentName,\n Registerable,\n registerComponentHelper,\n ValueObserver,\n} from \"./utils\";\n\ninterface BaseButtonProps extends ButtonProps {\n resetsForm?: boolean;\n submitsForm?: boolean;\n onFocusVisibleChange?: (isFocusVisible: boolean) => void;\n}\n\nexport function BaseButton(props: BaseButtonProps) {\n const { submitsForm, onFocusVisibleChange, resetsForm, children, ...rest } =\n props;\n const type = submitsForm ? \"submit\" : resetsForm ? \"reset\" : \"button\";\n return (\n <Button type={type} {...rest}>\n {({ isFocusVisible }) => (\n <>\n <ValueObserver\n value={isFocusVisible}\n onChange={onFocusVisibleChange}\n />\n {children}\n </>\n )}\n </Button>\n );\n}\n\nexport function registerButton(\n loader?: Registerable,\n overrides?: CodeComponentMetaOverrides<typeof BaseButton>\n) {\n registerComponentHelper(\n loader,\n BaseButton,\n {\n name: makeComponentName(\"button\"),\n displayName: \"BaseButton\",\n importPath: \"@plasmicpkgs/react-aria/registerButton\",\n importName: \"BaseButton\",\n props: {\n ...getCommonInputProps<BaseButtonProps>(\"button\", [\n \"isDisabled\",\n \"aria-label\",\n \"children\",\n ]),\n submitsForm: {\n type: \"boolean\",\n displayName: \"Submits form?\",\n defaultValueHint: false,\n hidden: (ps: BaseButtonProps) => Boolean(ps.resetsForm),\n description:\n \"Whether clicking this button should submit the enclosing form.\",\n advanced: true,\n },\n resetsForm: {\n type: \"boolean\",\n displayName: \"Resets form?\",\n defaultValueHint: false,\n hidden: (ps: BaseButtonProps) => Boolean(ps.submitsForm),\n description:\n \"Whether clicking this button should reset the enclosing form.\",\n advanced: true,\n },\n onPress: {\n type: \"eventHandler\",\n argTypes: [{ name: \"event\", type: \"object\" }],\n },\n onHoverChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isHovered\", type: \"boolean\" }],\n },\n onPressChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isPressed\", type: \"boolean\" }],\n },\n onFocusChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isFocused\", type: \"boolean\" }],\n },\n onFocusVisibleChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isFocusVisible\", type: \"boolean\" }],\n },\n },\n states: {\n isHovered: {\n type: \"readonly\",\n onChangeProp: \"onHoverChange\",\n variableType: \"boolean\",\n },\n isPressed: {\n type: \"readonly\",\n onChangeProp: \"onPressChange\",\n variableType: \"boolean\",\n },\n isFocused: {\n type: \"readonly\",\n onChangeProp: \"onFocusChange\",\n variableType: \"boolean\",\n },\n isFocusVisible: {\n type: \"readonly\",\n onChangeProp: \"onFocusVisibleChange\",\n variableType: \"boolean\",\n },\n },\n trapsFocus: true,\n },\n overrides\n );\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,SAAS,WAAW,KAAwB,EAAA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M,EAAA,UAAA;AAAA,UACN,YAAc,EAAA,eAAA;AAAA,UACd,YAAc,EAAA,SAAA;AAAA,SAChB;AAAA,QACA,SAAW,EAAA;AAAA,UACT,IAAM,EAAA,UAAA;AAAA,UACN,YAAc,EAAA,eAAA;AAAA,UACd,YAAc,EAAA,SAAA;AAAA,SAChB;AAAA,QACA,cAAgB,EAAA;AAAA,UACd,IAAM,EAAA,UAAA;AAAA,UACN,YAAc,EAAA,sBAAA;AAAA,UACd,YAAc,EAAA,SAAA;AAAA,SAChB;AAAA,OACF;AAAA,MACA,UAAY,EAAA,IAAA;AAAA,KACd;AAAA,IACA,SAAA;AAAA,GACF,CAAA;AACF;;;;"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactAriaComponents = require('react-aria-components');
|
|
4
|
+
var common = require('./common-e74a9214.cjs.js');
|
|
5
|
+
var utils = require('./utils-1190a0a9.cjs.js');
|
|
6
|
+
require('@plasmicapp/host/registerComponent');
|
|
7
|
+
require('react');
|
|
8
|
+
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __defProps = Object.defineProperties;
|
|
11
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
12
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
15
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16
|
+
var __spreadValues = (a, b) => {
|
|
17
|
+
for (var prop in b || (b = {}))
|
|
18
|
+
if (__hasOwnProp.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
if (__getOwnPropSymbols)
|
|
21
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
22
|
+
if (__propIsEnum.call(b, prop))
|
|
23
|
+
__defNormalProp(a, prop, b[prop]);
|
|
24
|
+
}
|
|
25
|
+
return a;
|
|
26
|
+
};
|
|
27
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
28
|
+
const BaseSwitch = reactAriaComponents.Switch;
|
|
29
|
+
function registerSwitch(loader, overrides) {
|
|
30
|
+
utils.registerComponentHelper(
|
|
31
|
+
loader,
|
|
32
|
+
BaseSwitch,
|
|
33
|
+
{
|
|
34
|
+
name: utils.makeComponentName("switch"),
|
|
35
|
+
displayName: "BaseSwitch",
|
|
36
|
+
importPath: "@plasmicpkgs/react-aria/registerSwitch",
|
|
37
|
+
importName: "BaseSwitch",
|
|
38
|
+
props: __spreadProps(__spreadValues({}, common.getCommonInputProps("switch", [
|
|
39
|
+
"name",
|
|
40
|
+
"isDisabled",
|
|
41
|
+
"isReadOnly",
|
|
42
|
+
"autoFocus",
|
|
43
|
+
"aria-label",
|
|
44
|
+
"children"
|
|
45
|
+
])), {
|
|
46
|
+
value: {
|
|
47
|
+
type: "boolean",
|
|
48
|
+
editOnly: true,
|
|
49
|
+
uncontrolledProp: "defaultSelected",
|
|
50
|
+
description: "Whether the switch is toggled on",
|
|
51
|
+
defaultValueHint: false
|
|
52
|
+
},
|
|
53
|
+
onChange: {
|
|
54
|
+
type: "eventHandler",
|
|
55
|
+
argTypes: [{ name: "isSelected", type: "boolean" }]
|
|
56
|
+
},
|
|
57
|
+
onHoverChange: {
|
|
58
|
+
type: "eventHandler",
|
|
59
|
+
argTypes: [{ name: "isHovered", type: "boolean" }]
|
|
60
|
+
}
|
|
61
|
+
}),
|
|
62
|
+
states: {
|
|
63
|
+
isSelected: {
|
|
64
|
+
type: "writable",
|
|
65
|
+
valueProp: "value",
|
|
66
|
+
onChangeProp: "onChange",
|
|
67
|
+
variableType: "boolean"
|
|
68
|
+
},
|
|
69
|
+
isHovered: {
|
|
70
|
+
type: "readonly",
|
|
71
|
+
onChangeProp: "onHoverChange",
|
|
72
|
+
variableType: "boolean"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
trapsFocus: true
|
|
76
|
+
},
|
|
77
|
+
overrides
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
exports.BaseSwitch = BaseSwitch;
|
|
82
|
+
exports.registerSwitch = registerSwitch;
|
|
83
|
+
//# sourceMappingURL=registerSwitch.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registerSwitch.cjs.js","sources":["../src/registerSwitch.tsx"],"sourcesContent":["import type { SwitchProps } from \"react-aria-components\";\nimport { Switch } from \"react-aria-components\";\nimport { getCommonInputProps } from \"./common\";\nimport {\n CodeComponentMetaOverrides,\n makeComponentName,\n Registerable,\n registerComponentHelper,\n} from \"./utils\";\n\nexport const BaseSwitch = Switch;\n\nexport function registerSwitch(\n loader?: Registerable,\n overrides?: CodeComponentMetaOverrides<typeof BaseSwitch>\n) {\n registerComponentHelper(\n loader,\n BaseSwitch,\n {\n name: makeComponentName(\"switch\"),\n displayName: \"BaseSwitch\",\n importPath: \"@plasmicpkgs/react-aria/registerSwitch\",\n importName: \"BaseSwitch\",\n props: {\n ...getCommonInputProps<SwitchProps>(\"switch\", [\n \"name\",\n \"isDisabled\",\n \"isReadOnly\",\n \"autoFocus\",\n \"aria-label\",\n \"children\",\n ]),\n value: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultSelected\",\n description: \"Whether the switch is toggled on\",\n defaultValueHint: false,\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isSelected\", type: \"boolean\" }],\n },\n onHoverChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isHovered\", type: \"boolean\" }],\n },\n },\n states: {\n isSelected: {\n type: \"writable\",\n valueProp: \"value\",\n onChangeProp: \"onChange\",\n variableType: \"boolean\",\n },\n isHovered: {\n type: \"readonly\",\n onChangeProp: \"onHoverChange\",\n variableType: \"boolean\",\n },\n },\n trapsFocus: true,\n },\n overrides\n );\n}\n"],"names":["Switch","registerComponentHelper","makeComponentName","getCommonInputProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAUO,MAAM,UAAa,GAAAA,2BAAA;AAEV,SAAA,cAAA,CACd,QACA,SACA,EAAA;AACA,EAAAC,6BAAA;AAAA,IACE,MAAA;AAAA,IACA,UAAA;AAAA,IACA;AAAA,MACE,IAAA,EAAMC,wBAAkB,QAAQ,CAAA;AAAA,MAChC,WAAa,EAAA,YAAA;AAAA,MACb,UAAY,EAAA,wCAAA;AAAA,MACZ,UAAY,EAAA,YAAA;AAAA,MACZ,KAAA,EAAO,aACF,CAAA,cAAA,CAAA,EAAA,EAAAC,0BAAA,CAAiC,QAAU,EAAA;AAAA,QAC5C,MAAA;AAAA,QACA,YAAA;AAAA,QACA,YAAA;AAAA,QACA,WAAA;AAAA,QACA,YAAA;AAAA,QACA,UAAA;AAAA,OACD,CARI,CAAA,EAAA;AAAA,QASL,KAAO,EAAA;AAAA,UACL,IAAM,EAAA,SAAA;AAAA,UACN,QAAU,EAAA,IAAA;AAAA,UACV,gBAAkB,EAAA,iBAAA;AAAA,UAClB,WAAa,EAAA,kCAAA;AAAA,UACb,gBAAkB,EAAA,KAAA;AAAA,SACpB;AAAA,QACA,QAAU,EAAA;AAAA,UACR,IAAM,EAAA,cAAA;AAAA,UACN,UAAU,CAAC,EAAE,MAAM,YAAc,EAAA,IAAA,EAAM,WAAW,CAAA;AAAA,SACpD;AAAA,QACA,aAAe,EAAA;AAAA,UACb,IAAM,EAAA,cAAA;AAAA,UACN,UAAU,CAAC,EAAE,MAAM,WAAa,EAAA,IAAA,EAAM,WAAW,CAAA;AAAA,SACnD;AAAA,OACF,CAAA;AAAA,MACA,MAAQ,EAAA;AAAA,QACN,UAAY,EAAA;AAAA,UACV,IAAM,EAAA,UAAA;AAAA,UACN,SAAW,EAAA,OAAA;AAAA,UACX,YAAc,EAAA,UAAA;AAAA,UACd,YAAc,EAAA,SAAA;AAAA,SAChB;AAAA,QACA,SAAW,EAAA;AAAA,UACT,IAAM,EAAA,UAAA;AAAA,UACN,YAAc,EAAA,eAAA;AAAA,UACd,YAAc,EAAA,SAAA;AAAA,SAChB;AAAA,OACF;AAAA,MACA,UAAY,EAAA,IAAA;AAAA,KACd;AAAA,IACA,SAAA;AAAA,GACF,CAAA;AACF;;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { SwitchProps } from "react-aria-components";
|
|
3
|
+
import { CodeComponentMetaOverrides, Registerable } from "./utils";
|
|
4
|
+
export declare const BaseSwitch: (props: SwitchProps & import("react").RefAttributes<HTMLInputElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
5
|
+
export declare function registerSwitch(loader?: Registerable, overrides?: CodeComponentMetaOverrides<typeof BaseSwitch>): void;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Switch } from 'react-aria-components';
|
|
2
|
+
import { g as getCommonInputProps } from './common-52c26d37.esm.js';
|
|
3
|
+
import { r as registerComponentHelper, m as makeComponentName } from './utils-28f98072.esm.js';
|
|
4
|
+
import '@plasmicapp/host/registerComponent';
|
|
5
|
+
import 'react';
|
|
6
|
+
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __defProps = Object.defineProperties;
|
|
9
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
10
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
11
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
13
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14
|
+
var __spreadValues = (a, b) => {
|
|
15
|
+
for (var prop in b || (b = {}))
|
|
16
|
+
if (__hasOwnProp.call(b, prop))
|
|
17
|
+
__defNormalProp(a, prop, b[prop]);
|
|
18
|
+
if (__getOwnPropSymbols)
|
|
19
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
20
|
+
if (__propIsEnum.call(b, prop))
|
|
21
|
+
__defNormalProp(a, prop, b[prop]);
|
|
22
|
+
}
|
|
23
|
+
return a;
|
|
24
|
+
};
|
|
25
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
26
|
+
const BaseSwitch = Switch;
|
|
27
|
+
function registerSwitch(loader, overrides) {
|
|
28
|
+
registerComponentHelper(
|
|
29
|
+
loader,
|
|
30
|
+
BaseSwitch,
|
|
31
|
+
{
|
|
32
|
+
name: makeComponentName("switch"),
|
|
33
|
+
displayName: "BaseSwitch",
|
|
34
|
+
importPath: "@plasmicpkgs/react-aria/registerSwitch",
|
|
35
|
+
importName: "BaseSwitch",
|
|
36
|
+
props: __spreadProps(__spreadValues({}, getCommonInputProps("switch", [
|
|
37
|
+
"name",
|
|
38
|
+
"isDisabled",
|
|
39
|
+
"isReadOnly",
|
|
40
|
+
"autoFocus",
|
|
41
|
+
"aria-label",
|
|
42
|
+
"children"
|
|
43
|
+
])), {
|
|
44
|
+
value: {
|
|
45
|
+
type: "boolean",
|
|
46
|
+
editOnly: true,
|
|
47
|
+
uncontrolledProp: "defaultSelected",
|
|
48
|
+
description: "Whether the switch is toggled on",
|
|
49
|
+
defaultValueHint: false
|
|
50
|
+
},
|
|
51
|
+
onChange: {
|
|
52
|
+
type: "eventHandler",
|
|
53
|
+
argTypes: [{ name: "isSelected", type: "boolean" }]
|
|
54
|
+
},
|
|
55
|
+
onHoverChange: {
|
|
56
|
+
type: "eventHandler",
|
|
57
|
+
argTypes: [{ name: "isHovered", type: "boolean" }]
|
|
58
|
+
}
|
|
59
|
+
}),
|
|
60
|
+
states: {
|
|
61
|
+
isSelected: {
|
|
62
|
+
type: "writable",
|
|
63
|
+
valueProp: "value",
|
|
64
|
+
onChangeProp: "onChange",
|
|
65
|
+
variableType: "boolean"
|
|
66
|
+
},
|
|
67
|
+
isHovered: {
|
|
68
|
+
type: "readonly",
|
|
69
|
+
onChangeProp: "onHoverChange",
|
|
70
|
+
variableType: "boolean"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
trapsFocus: true
|
|
74
|
+
},
|
|
75
|
+
overrides
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export { BaseSwitch, registerSwitch };
|
|
80
|
+
//# sourceMappingURL=registerSwitch.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registerSwitch.esm.js","sources":["../src/registerSwitch.tsx"],"sourcesContent":["import type { SwitchProps } from \"react-aria-components\";\nimport { Switch } from \"react-aria-components\";\nimport { getCommonInputProps } from \"./common\";\nimport {\n CodeComponentMetaOverrides,\n makeComponentName,\n Registerable,\n registerComponentHelper,\n} from \"./utils\";\n\nexport const BaseSwitch = Switch;\n\nexport function registerSwitch(\n loader?: Registerable,\n overrides?: CodeComponentMetaOverrides<typeof BaseSwitch>\n) {\n registerComponentHelper(\n loader,\n BaseSwitch,\n {\n name: makeComponentName(\"switch\"),\n displayName: \"BaseSwitch\",\n importPath: \"@plasmicpkgs/react-aria/registerSwitch\",\n importName: \"BaseSwitch\",\n props: {\n ...getCommonInputProps<SwitchProps>(\"switch\", [\n \"name\",\n \"isDisabled\",\n \"isReadOnly\",\n \"autoFocus\",\n \"aria-label\",\n \"children\",\n ]),\n value: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultSelected\",\n description: \"Whether the switch is toggled on\",\n defaultValueHint: false,\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isSelected\", type: \"boolean\" }],\n },\n onHoverChange: {\n type: \"eventHandler\",\n argTypes: [{ name: \"isHovered\", type: \"boolean\" }],\n },\n },\n states: {\n isSelected: {\n type: \"writable\",\n valueProp: \"value\",\n onChangeProp: \"onChange\",\n variableType: \"boolean\",\n },\n isHovered: {\n type: \"readonly\",\n onChangeProp: \"onHoverChange\",\n variableType: \"boolean\",\n },\n },\n trapsFocus: true,\n },\n overrides\n );\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAUO,MAAM,UAAa,GAAA,OAAA;AAEV,SAAA,cAAA,CACd,QACA,SACA,EAAA;AACA,EAAA,uBAAA;AAAA,IACE,MAAA;AAAA,IACA,UAAA;AAAA,IACA;AAAA,MACE,IAAA,EAAM,kBAAkB,QAAQ,CAAA;AAAA,MAChC,WAAa,EAAA,YAAA;AAAA,MACb,UAAY,EAAA,wCAAA;AAAA,MACZ,UAAY,EAAA,YAAA;AAAA,MACZ,KAAA,EAAO,aACF,CAAA,cAAA,CAAA,EAAA,EAAA,mBAAA,CAAiC,QAAU,EAAA;AAAA,QAC5C,MAAA;AAAA,QACA,YAAA;AAAA,QACA,YAAA;AAAA,QACA,WAAA;AAAA,QACA,YAAA;AAAA,QACA,UAAA;AAAA,OACD,CARI,CAAA,EAAA;AAAA,QASL,KAAO,EAAA;AAAA,UACL,IAAM,EAAA,SAAA;AAAA,UACN,QAAU,EAAA,IAAA;AAAA,UACV,gBAAkB,EAAA,iBAAA;AAAA,UAClB,WAAa,EAAA,kCAAA;AAAA,UACb,gBAAkB,EAAA,KAAA;AAAA,SACpB;AAAA,QACA,QAAU,EAAA;AAAA,UACR,IAAM,EAAA,cAAA;AAAA,UACN,UAAU,CAAC,EAAE,MAAM,YAAc,EAAA,IAAA,EAAM,WAAW,CAAA;AAAA,SACpD;AAAA,QACA,aAAe,EAAA;AAAA,UACb,IAAM,EAAA,cAAA;AAAA,UACN,UAAU,CAAC,EAAE,MAAM,WAAa,EAAA,IAAA,EAAM,WAAW,CAAA;AAAA,SACnD;AAAA,OACF,CAAA;AAAA,MACA,MAAQ,EAAA;AAAA,QACN,UAAY,EAAA;AAAA,UACV,IAAM,EAAA,UAAA;AAAA,UACN,SAAW,EAAA,OAAA;AAAA,UACX,YAAc,EAAA,UAAA;AAAA,UACd,YAAc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