Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rmwc/toggleable

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/toggleable - npm Package Compare versions

Comparing version 5.0.1-alpha.0 to 5.0.2-alpha.0

347

docgen.json

@@ -18,3 +18,3 @@ {

{
"id": 9,
"id": 13,
"name": "ToggleableFoundationComponent",

@@ -28,3 +28,3 @@ "kind": 128,

{
"id": 10,
"id": 14,
"name": "P",

@@ -41,3 +41,3 @@ "kind": 131072,

{
"id": 11,
"id": 15,
"name": "S",

@@ -53,3 +53,3 @@ "kind": 131072,

{
"id": 62,
"id": 66,
"name": "SS",

@@ -63,3 +63,3 @@ "kind": 131072,

{
"id": 28,
"id": 32,
"name": "constructor",

@@ -73,3 +73,3 @@ "kind": 512,

{
"id": 29,
"id": 33,
"name": "new ToggleableFoundationComponent",

@@ -81,3 +81,3 @@ "kind": 16384,

{
"id": 30,
"id": 34,
"name": "props",

@@ -96,3 +96,3 @@ "kind": 32768,

"name": "ToggleableFoundationComponent",
"id": 9
"id": 13
},

@@ -108,3 +108,3 @@ "inheritedFrom": {

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 205,
"line": 204,
"character": 64

@@ -119,3 +119,3 @@ }

{
"id": 24,
"id": 28,
"name": "elements",

@@ -130,3 +130,3 @@ "kind": 1024,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 205,
"line": 204,
"character": 10

@@ -138,3 +138,3 @@ }

"declaration": {
"id": 25,
"id": 29,
"name": "__type",

@@ -146,3 +146,3 @@ "kind": 65536,

{
"id": 26,
"id": 30,
"name": "__index",

@@ -154,3 +154,3 @@ "kind": 8192,

{
"id": 27,
"id": 31,
"name": "key",

@@ -185,3 +185,3 @@ "kind": 32768,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 205,
"line": 204,
"character": 11

@@ -198,3 +198,3 @@ }

{
"id": 23,
"id": 27,
"name": "foundation",

@@ -209,3 +209,3 @@ "kind": 1024,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 204,
"line": 203,
"character": 12

@@ -225,3 +225,3 @@ }

{
"id": 12,
"id": 16,
"name": "generatedId",

@@ -236,3 +236,3 @@ "kind": 1024,

"fileName": "index.tsx",
"line": 26,
"line": 28,
"character": 13

@@ -248,3 +248,3 @@ }

{
"id": 22,
"id": 26,
"name": "shouldDebounce",

@@ -260,3 +260,3 @@ "kind": 1024,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 202,
"line": 201,
"character": 23

@@ -276,3 +276,3 @@ }

{
"id": 13,
"id": 17,
"name": "hasLabel",

@@ -294,3 +294,3 @@ "kind": 262144,

{
"id": 14,
"id": 18,
"name": "__get",

@@ -335,3 +335,3 @@ "kind": 524288,

"fileName": "index.tsx",
"line": 29,
"line": 31,
"character": 14

@@ -342,3 +342,3 @@ }

{
"id": 15,
"id": 19,
"name": "id",

@@ -360,3 +360,3 @@ "kind": 262144,

{
"id": 16,
"id": 20,
"name": "__get",

@@ -383,3 +383,3 @@ "kind": 524288,

"fileName": "index.tsx",
"line": 33,
"line": 35,
"character": 8

@@ -390,3 +390,3 @@ }

{
"id": 17,
"id": 21,
"name": "toggleRootProps",

@@ -408,3 +408,3 @@ "kind": 262144,

{
"id": 18,
"id": 22,
"name": "__get",

@@ -431,3 +431,3 @@ "kind": 524288,

"fileName": "index.tsx",
"line": 37,
"line": 39,
"character": 21

@@ -438,3 +438,3 @@ }

{
"id": 78,
"id": 82,
"name": "UNSAFE_componentWillMount",

@@ -449,3 +449,3 @@ "kind": 2048,

{
"id": 79,
"id": 83,
"name": "UNSAFE_componentWillMount",

@@ -496,3 +496,3 @@ "kind": 4096,

{
"id": 84,
"id": 88,
"name": "UNSAFE_componentWillReceiveProps",

@@ -507,3 +507,3 @@ "kind": 2048,

{
"id": 85,
"id": 89,
"name": "UNSAFE_componentWillReceiveProps",

@@ -533,3 +533,3 @@ "kind": 4096,

{
"id": 86,
"id": 90,
"name": "nextProps",

@@ -571,3 +571,3 @@ "kind": 32768,

{
"id": 87,
"id": 91,
"name": "nextContext",

@@ -606,3 +606,3 @@ "kind": 32768,

{
"id": 93,
"id": 97,
"name": "UNSAFE_componentWillUpdate",

@@ -617,3 +617,3 @@ "kind": 2048,

{
"id": 94,
"id": 98,
"name": "UNSAFE_componentWillUpdate",

@@ -643,3 +643,3 @@ "kind": 4096,

{
"id": 95,
"id": 99,
"name": "nextProps",

@@ -681,3 +681,3 @@ "kind": 32768,

{
"id": 96,
"id": 100,
"name": "nextState",

@@ -709,3 +709,3 @@ "kind": 32768,

{
"id": 97,
"id": 101,
"name": "nextContext",

@@ -744,3 +744,3 @@ "kind": 32768,

{
"id": 68,
"id": 72,
"name": "componentDidCatch",

@@ -755,3 +755,3 @@ "kind": 2048,

{
"id": 69,
"id": 73,
"name": "componentDidCatch",

@@ -766,3 +766,3 @@ "kind": 4096,

{
"id": 70,
"id": 74,
"name": "error",

@@ -778,3 +778,3 @@ "kind": 32768,

{
"id": 71,
"id": 75,
"name": "errorInfo",

@@ -813,3 +813,3 @@ "kind": 32768,

{
"id": 31,
"id": 35,
"name": "componentDidMount",

@@ -823,3 +823,3 @@ "kind": 2048,

{
"id": 32,
"id": 36,
"name": "componentDidMount",

@@ -846,3 +846,3 @@ "kind": 4096,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 217,
"line": 216,
"character": 19

@@ -861,3 +861,3 @@ }

{
"id": 33,
"id": 37,
"name": "componentDidUpdate",

@@ -871,3 +871,3 @@ "kind": 2048,

{
"id": 34,
"id": 38,
"name": "componentDidUpdate",

@@ -879,3 +879,3 @@ "kind": 4096,

{
"id": 35,
"id": 39,
"name": "prevProps",

@@ -928,3 +928,3 @@ "kind": 32768,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 222,
"line": 221,
"character": 20

@@ -943,3 +943,3 @@ }

{
"id": 76,
"id": 80,
"name": "componentWillMount",

@@ -954,3 +954,3 @@ "kind": 2048,

{
"id": 77,
"id": 81,
"name": "componentWillMount",

@@ -1001,3 +1001,3 @@ "kind": 4096,

{
"id": 80,
"id": 84,
"name": "componentWillReceiveProps",

@@ -1012,3 +1012,3 @@ "kind": 2048,

{
"id": 81,
"id": 85,
"name": "componentWillReceiveProps",

@@ -1038,3 +1038,3 @@ "kind": 4096,

{
"id": 82,
"id": 86,
"name": "nextProps",

@@ -1076,3 +1076,3 @@ "kind": 32768,

{
"id": 83,
"id": 87,
"name": "nextContext",

@@ -1111,3 +1111,3 @@ "kind": 32768,

{
"id": 36,
"id": 40,
"name": "componentWillUnmount",

@@ -1121,3 +1121,3 @@ "kind": 2048,

{
"id": 37,
"id": 41,
"name": "componentWillUnmount",

@@ -1144,3 +1144,3 @@ "kind": 4096,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 226,
"line": 225,
"character": 22

@@ -1159,3 +1159,3 @@ }

{
"id": 88,
"id": 92,
"name": "componentWillUpdate",

@@ -1170,3 +1170,3 @@ "kind": 2048,

{
"id": 89,
"id": 93,
"name": "componentWillUpdate",

@@ -1196,3 +1196,3 @@ "kind": 4096,

{
"id": 90,
"id": 94,
"name": "nextProps",

@@ -1234,3 +1234,3 @@ "kind": 32768,

{
"id": 91,
"id": 95,
"name": "nextState",

@@ -1262,3 +1262,3 @@ "kind": 32768,

{
"id": 92,
"id": 96,
"name": "nextContext",

@@ -1297,3 +1297,3 @@ "kind": 32768,

{
"id": 38,
"id": 42,
"name": "createElement",

@@ -1307,3 +1307,3 @@ "kind": 2048,

{
"id": 39,
"id": 43,
"name": "createElement",

@@ -1315,3 +1315,3 @@ "kind": 4096,

{
"id": 40,
"id": 44,
"name": "ElementType",

@@ -1329,3 +1329,3 @@ "kind": 131072,

{
"id": 41,
"id": 45,
"name": "elementName",

@@ -1364,3 +1364,3 @@ "kind": 32768,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 232,
"line": 231,
"character": 15

@@ -1375,3 +1375,3 @@ }

{
"id": 57,
"id": 61,
"name": "emit",

@@ -1385,3 +1385,3 @@ "kind": 2048,

{
"id": 58,
"id": 62,
"name": "emit",

@@ -1396,3 +1396,3 @@ "kind": 4096,

{
"id": 59,
"id": 63,
"name": "evtType",

@@ -1408,3 +1408,3 @@ "kind": 32768,

{
"id": 60,
"id": 64,
"name": "evtData",

@@ -1420,3 +1420,3 @@ "kind": 32768,

{
"id": 61,
"id": 65,
"name": "shouldBubble",

@@ -1452,3 +1452,3 @@ "kind": 32768,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 261,
"line": 260,
"character": 6

@@ -1463,3 +1463,3 @@ }

{
"id": 55,
"id": 59,
"name": "getDefaultFoundation",

@@ -1473,3 +1473,3 @@ "kind": 2048,

{
"id": 56,
"id": 60,
"name": "getDefaultFoundation",

@@ -1492,3 +1492,3 @@ "kind": 4096,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 256,
"line": 255,
"character": 22

@@ -1503,3 +1503,3 @@ }

{
"id": 72,
"id": 76,
"name": "getSnapshotBeforeUpdate",

@@ -1514,3 +1514,3 @@ "kind": 2048,

{
"id": 73,
"id": 77,
"name": "getSnapshotBeforeUpdate",

@@ -1526,3 +1526,3 @@ "kind": 4096,

{
"id": 74,
"id": 78,
"name": "prevProps",

@@ -1564,3 +1564,3 @@ "kind": 32768,

{
"id": 75,
"id": 79,
"name": "prevState",

@@ -1624,3 +1624,3 @@ "kind": 32768,

{
"id": 19,
"id": 23,
"name": "renderToggle",

@@ -1634,3 +1634,3 @@ "kind": 2048,

{
"id": 20,
"id": 24,
"name": "renderToggle",

@@ -1642,3 +1642,3 @@ "kind": 4096,

{
"id": 21,
"id": 25,
"name": "toggle",

@@ -1676,3 +1676,3 @@ "kind": 32768,

"fileName": "index.tsx",
"line": 56,
"line": 58,
"character": 14

@@ -1683,3 +1683,3 @@ }

{
"id": 63,
"id": 67,
"name": "shouldComponentUpdate",

@@ -1694,3 +1694,3 @@ "kind": 2048,

{
"id": 64,
"id": 68,
"name": "shouldComponentUpdate",

@@ -1706,3 +1706,3 @@ "kind": 4096,

{
"id": 65,
"id": 69,
"name": "nextProps",

@@ -1744,3 +1744,3 @@ "kind": 32768,

{
"id": 66,
"id": 70,
"name": "nextState",

@@ -1772,3 +1772,3 @@ "kind": 32768,

{
"id": 67,
"id": 71,
"name": "nextContext",

@@ -1807,3 +1807,3 @@ "kind": 32768,

{
"id": 44,
"id": 48,
"name": "sync",

@@ -1817,3 +1817,3 @@ "kind": 2048,

{
"id": 45,
"id": 49,
"name": "sync",

@@ -1825,3 +1825,3 @@ "kind": 4096,

{
"id": 46,
"id": 50,
"name": "props",

@@ -1837,3 +1837,3 @@ "kind": 32768,

{
"id": 47,
"id": 51,
"name": "prevProps",

@@ -1864,3 +1864,3 @@ "kind": 32768,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 245,
"line": 244,
"character": 6

@@ -1875,3 +1875,3 @@ }

{
"id": 48,
"id": 52,
"name": "syncProp",

@@ -1885,3 +1885,3 @@ "kind": 2048,

{
"id": 49,
"id": 53,
"name": "syncProp",

@@ -1893,3 +1893,3 @@ "kind": 4096,

{
"id": 50,
"id": 54,
"name": "prop",

@@ -1905,3 +1905,3 @@ "kind": 32768,

{
"id": 51,
"id": 55,
"name": "prevProp",

@@ -1917,3 +1917,3 @@ "kind": 32768,

{
"id": 52,
"id": 56,
"name": "callback",

@@ -1926,3 +1926,3 @@ "kind": 32768,

"declaration": {
"id": 53,
"id": 57,
"name": "__type",

@@ -1934,3 +1934,3 @@ "kind": 65536,

{
"id": 54,
"id": 58,
"name": "__call",

@@ -1949,3 +1949,3 @@ "kind": 4096,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 247,
"line": 246,
"character": 46

@@ -1971,3 +1971,3 @@ }

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 247,
"line": 246,
"character": 10

@@ -1982,3 +1982,3 @@ }

{
"id": 42,
"id": 46,
"name": "update",

@@ -1992,3 +1992,3 @@ "kind": 2048,

{
"id": 43,
"id": 47,
"name": "update",

@@ -2011,3 +2011,3 @@ "kind": 4096,

"fileName": "/Users/jamesmfriedman/Sites/rmwc/src/base/foundation-component.tsx",
"line": 241,
"line": 240,
"character": 8

@@ -2027,3 +2027,3 @@ }

"children": [
28
32
]

@@ -2035,6 +2035,6 @@ },

"children": [
24,
23,
12,
22
28,
27,
16,
26
]

@@ -2046,5 +2046,5 @@ },

"children": [
13,
15,
17
17,
19,
21
]

@@ -2056,21 +2056,21 @@ },

"children": [
78,
82,
88,
97,
72,
35,
37,
80,
84,
93,
68,
31,
33,
40,
92,
42,
61,
59,
76,
80,
36,
88,
38,
57,
55,
72,
19,
63,
44,
23,
67,
48,
42
52,
46
]

@@ -2082,3 +2082,3 @@ }

"fileName": "index.tsx",
"line": 21,
"line": 23,
"character": 42

@@ -2239,2 +2239,76 @@ }

{
"id": 9,
"name": "inputRef",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true
},
"comment": {
"shortText": "A reference to the native input."
},
"sources": [
{
"fileName": "index.tsx",
"line": 20,
"character": 10
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 10,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"signatures": [
{
"id": 11,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 12,
"name": "ref",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"name": "HTMLInputElement"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "void"
}
}
]
}
}
]
}
},
{
"id": 7,

@@ -2342,2 +2416,3 @@ "name": "label",

3,
9,
7,

@@ -2363,3 +2438,3 @@ 8,

"children": [
9
13
]

@@ -2366,0 +2441,0 @@ },

{
"name": "@rmwc/toggleable",
"version": "5.0.1-alpha.0",
"version": "5.0.2-alpha.0",
"description": "RMWC toggle module",

@@ -34,5 +34,5 @@ "main": "dist/index.js",

"dependencies": {
"@rmwc/base": "^5.0.1-alpha.0"
"@rmwc/base": "^5.0.2-alpha.0"
},
"gitHead": "f6ed58730fd20695ec0ba79d29a5c5bbd36c0552"
"gitHead": "69fbf9ddbdad8cf2b014443c386e1c125a9cee79"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc