@clubmed/trident-ui 1.3.0-beta.12 → 1.3.0-beta.13
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/.npm/_logs/2025-08-08T15_19_22_167Z-debug-0.log +19 -0
- package/.npm/_logs/2025-08-08T15_19_22_257Z-debug-0.log +14 -0
- package/CHANGELOG.md +7 -0
- package/README.md +8 -0
- package/assets/{style.css → trident-ui.css} +1 -1
- package/atoms/Clickable/Clickable.d.ts +2 -2
- package/atoms/Heading/Heading.d.ts +1 -1
- package/atoms/Heading/HeadingGroup.d.ts +2 -2
- package/atoms/Icons/Iconics.d.ts +1 -1
- package/atoms/Icons/IconsResolver.d.ts +1 -1
- package/atoms/Icons/contexts/IconsContext.d.ts +1 -1
- package/atoms/Icons/svg/SvgIcon.d.ts +1 -1
- package/atoms/Icons/svg-use/SvgUseIcon.d.ts +1 -1
- package/atoms/Image/Image.d.ts +1 -1
- package/atoms/Image/Image.js +12 -12
- package/atoms/Image/Image.js.map +1 -1
- package/atoms/Prose/Prose.d.ts +2 -2
- package/chunks/ResizeObserver.js +1 -1
- package/chunks/ResizeObserver.js.map +1 -1
- package/chunks/_commonjsHelpers.js +19 -14
- package/chunks/_commonjsHelpers.js.map +1 -1
- package/chunks/index.js +36 -33
- package/chunks/index.js.map +1 -1
- package/chunks/plugin.js +57 -46
- package/chunks/plugin.js.map +1 -1
- package/contexts/Devices/Device.d.ts +3 -3
- package/contexts/Devices/hooks/useQueries.d.ts +2 -2
- package/contexts/Devices/reducers/reducer.d.ts +2 -2
- package/contexts/TridentUIConfig.d.ts +1 -1
- package/contexts/TridentUIConfig.js +1265 -653
- package/contexts/TridentUIConfig.js.map +1 -1
- package/helpers/colors/colors.d.ts +1 -1
- package/hooks/useKeyboardControls.d.ts +1 -1
- package/hooks/useResizeObserver.d.ts +1 -1
- package/hooks/useSafeBoop.d.ts +2 -2
- package/molecules/Arrows/Arrows.d.ts +2 -2
- package/molecules/Avatar.d.ts +1 -1
- package/molecules/Avatar.js +24 -24
- package/molecules/Avatar.js.map +1 -1
- package/molecules/Backdrop.d.ts +1 -1
- package/molecules/Breadcrumb.d.ts +2 -3
- package/molecules/Breadcrumb.js +25 -36
- package/molecules/Breadcrumb.js.map +1 -1
- package/molecules/Breadcrumb.themes.d.ts +1 -1
- package/molecules/Buttons/ArrowButton.d.ts +1 -1
- package/molecules/Buttons/Button.d.ts +3 -3
- package/molecules/Buttons/ButtonAnchor.d.ts +2 -2
- package/molecules/Buttons/ButtonContent.d.ts +2 -2
- package/molecules/Buttons/FakeButton.d.ts +2 -3
- package/molecules/Buttons/InertButton.d.ts +2 -2
- package/molecules/Buttons/v2/Button.d.ts +2081 -2082
- package/molecules/Buttons/v2/Button.type.d.ts +2 -2
- package/molecules/Cards/Card.d.ts +4 -4
- package/molecules/Cards/CardBackground.d.ts +2 -2
- package/molecules/Cards/CardBackground.js +17 -17
- package/molecules/Cards/CardBackground.js.map +1 -1
- package/molecules/Cards/CardBackgroundContext.d.ts +1 -1
- package/molecules/Cards/CardClickable.d.ts +1 -1
- package/molecules/Cards/ExpandableCard.d.ts +3 -3
- package/molecules/Cards/ExpandableCard.js +41 -41
- package/molecules/Cards/ExpandableCard.js.map +1 -1
- package/molecules/Cards/v2/Card.d.ts +1 -1
- package/molecules/Cards/v2/Card.js +13 -13
- package/molecules/Cards/v2/Card.js.map +1 -1
- package/molecules/Chip.d.ts +3 -3
- package/molecules/Chip.themes.d.ts +1 -1
- package/molecules/ElasticHeight.d.ts +1 -1
- package/molecules/ElasticHeight.js +20 -21
- package/molecules/ElasticHeight.js.map +1 -1
- package/molecules/Forms/Checkboxes/Checkbox.d.ts +1 -1
- package/molecules/Forms/Checkboxes/Checkbox.js +43 -43
- package/molecules/Forms/Checkboxes/Checkbox.js.map +1 -1
- package/molecules/Forms/Checkboxes/Checkboxes.d.ts +2 -2
- package/molecules/Forms/DateField.d.ts +2 -2
- package/molecules/Forms/DateField.js +60 -61
- package/molecules/Forms/DateField.js.map +1 -1
- package/molecules/Forms/Filter.d.ts +1 -2
- package/molecules/Forms/Filter.js +29 -29
- package/molecules/Forms/Filter.js.map +1 -1
- package/molecules/Forms/FormControl.d.ts +4 -4
- package/molecules/Forms/FormLabel.d.ts +1 -1
- package/molecules/Forms/NumberField.d.ts +278 -278
- package/molecules/Forms/Password/Password.d.ts +1 -1
- package/molecules/Forms/Password/ValidationMessage.d.ts +1 -1
- package/molecules/Forms/Radios/Radio.d.ts +1 -2
- package/molecules/Forms/Radios/Radio.js +30 -30
- package/molecules/Forms/Radios/Radio.js.map +1 -1
- package/molecules/Forms/Radios/RadioGroup.d.ts +2 -2
- package/molecules/Forms/Radios/RadioGroup.js +50 -52
- package/molecules/Forms/Radios/RadioGroup.js.map +1 -1
- package/molecules/Forms/Range.d.ts +1 -2
- package/molecules/Forms/Range.js +118 -113
- package/molecules/Forms/Range.js.map +1 -1
- package/molecules/Forms/Select.d.ts +3 -3
- package/molecules/Forms/Switch.d.ts +1 -1
- package/molecules/Forms/TextField.d.ts +3 -3
- package/molecules/HamburgerIcon.d.ts +1 -1
- package/molecules/Link.d.ts +2 -2
- package/molecules/Loader.d.ts +1 -1
- package/molecules/Pagination.d.ts +2 -2
- package/molecules/Popin.d.ts +1 -1
- package/molecules/Spinner.d.ts +1 -1
- package/molecules/Tabs/Tab.d.ts +2 -3
- package/molecules/Tabs/Tab.js +41 -42
- package/molecules/Tabs/Tab.js.map +1 -1
- package/molecules/Tabs/TabList.d.ts +1 -1
- package/molecules/Tabs/TabList.js +21 -21
- package/molecules/Tabs/TabList.js.map +1 -1
- package/molecules/Tabs/TabPanel.d.ts +1 -1
- package/molecules/Tabs/TabPanel.js +13 -13
- package/molecules/Tabs/TabPanel.js.map +1 -1
- package/molecules/Tabs/Tabs.d.ts +1 -1
- package/molecules/Tabs/TabsBody.d.ts +1 -1
- package/molecules/Tabs/context/TabControl.d.ts +2 -2
- package/molecules/Tabs/hooks/tabControl.d.ts +5 -5
- package/molecules/Tag.d.ts +4 -4
- package/package.json +29 -32
- package/tailwind/plugins/animationDelay.d.ts +2 -2
- package/tailwind/plugins/hocus.d.ts +2 -2
- package/tailwind/plugins/lineClampFix.d.ts +2 -2
- package/tailwind/plugins/popover.d.ts +2 -2
- package/tailwind/plugins/startingStyle.d.ts +2 -2
- package/tailwind/plugins/transitionBehavior.d.ts +2 -2
- package/tailwind/tailwind.preset.d.ts +50 -50
- package/tests/helpers/device.d.ts +14 -0
- package/tests/helpers/device.js +13426 -0
- package/tests/helpers/device.js.map +1 -0
package/chunks/index.js
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
import { g as c } from "./_commonjsHelpers.js";
|
|
2
|
-
var
|
|
2
|
+
var e = { exports: {} };
|
|
3
3
|
/*!
|
|
4
4
|
Copyright (c) 2018 Jed Watson.
|
|
5
5
|
Licensed under the MIT License (MIT), see
|
|
6
6
|
http://jedwatson.github.io/classnames
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
function a(t) {
|
|
19
|
-
if (typeof t == "string" || typeof t == "number")
|
|
8
|
+
var a;
|
|
9
|
+
function p() {
|
|
10
|
+
return a || (a = 1, function(o) {
|
|
11
|
+
(function() {
|
|
12
|
+
var f = {}.hasOwnProperty;
|
|
13
|
+
function s() {
|
|
14
|
+
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
15
|
+
var n = arguments[r];
|
|
16
|
+
n && (t = i(t, u(n)));
|
|
17
|
+
}
|
|
20
18
|
return t;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
19
|
+
}
|
|
20
|
+
function u(t) {
|
|
21
|
+
if (typeof t == "string" || typeof t == "number")
|
|
22
|
+
return t;
|
|
23
|
+
if (typeof t != "object")
|
|
24
|
+
return "";
|
|
25
|
+
if (Array.isArray(t))
|
|
26
|
+
return s.apply(null, t);
|
|
27
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
28
|
+
return t.toString();
|
|
29
|
+
var r = "";
|
|
30
|
+
for (var n in t)
|
|
31
|
+
f.call(t, n) && t[n] && (r = i(r, n));
|
|
32
|
+
return r;
|
|
33
|
+
}
|
|
34
|
+
function i(t, r) {
|
|
35
|
+
return r ? t ? t + " " + r : t + r : t;
|
|
36
|
+
}
|
|
37
|
+
o.exports ? (s.default = s, o.exports = s) : window.classNames = s;
|
|
38
|
+
})();
|
|
39
|
+
}(e)), e.exports;
|
|
40
|
+
}
|
|
41
|
+
var l = p();
|
|
42
|
+
const x = /* @__PURE__ */ c(l);
|
|
40
43
|
export {
|
|
41
|
-
|
|
44
|
+
x as c
|
|
42
45
|
};
|
|
43
46
|
//# sourceMappingURL=index.js.map
|
package/chunks/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module"],"mappings":";;;;;;;;;;AAOA,KAAC,WAAY;AAGZ,UAAIA,IAAS,CAAA,EAAG;AAEhB,eAASC,IAAc;AAGtB,iBAFIC,IAAU,IAELC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAC1C,cAAIC,IAAM,UAAUD,CAAC;AACrB,UAAIC,MACHF,IAAUG,EAAYH,GAASI,EAAWF,CAAG,CAAC;AAAA,QAElD;AAEE,eAAOF;AAAA,MACT;AAEC,eAASI,EAAYF,GAAK;AACzB,YAAI,OAAOA,KAAQ,YAAY,OAAOA,KAAQ;AAC7C,iBAAOA;AAGR,YAAI,OAAOA,KAAQ;AAClB,iBAAO;AAGR,YAAI,MAAM,QAAQA,CAAG;AACpB,iBAAOH,EAAW,MAAM,MAAMG,CAAG;AAGlC,YAAIA,EAAI,aAAa,OAAO,UAAU,YAAY,CAACA,EAAI,SAAS,SAAQ,EAAG,SAAS,eAAe;AAClG,iBAAOA,EAAI,SAAQ;AAGpB,YAAIF,IAAU;AAEd,iBAASK,KAAOH;AACf,UAAIJ,EAAO,KAAKI,GAAKG,CAAG,KAAKH,EAAIG,CAAG,MACnCL,IAAUG,EAAYH,GAASK,CAAG;AAIpC,eAAOL;AAAA,MACT;AAEC,eAASG,EAAaG,GAAOC,GAAU;AACtC,eAAKA,IAIDD,IACIA,IAAQ,MAAMC,IAGfD,IAAQC,IAPPD;AAAA,MAQV;AAEC,MAAqCE,EAAO,WAC3CT,EAAW,UAAUA,GACrBS,YAAiBT,KAOjB,OAAO,aAAaA;AAAA,IAEtB;;;;;","x_google_ignoreList":[0]}
|
package/chunks/plugin.js
CHANGED
|
@@ -1,53 +1,64 @@
|
|
|
1
|
-
import { g
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
handler: t,
|
|
15
|
-
config: e
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
u.withOptions = function(t, e = () => ({})) {
|
|
19
|
-
const r = function(l) {
|
|
1
|
+
import { g } from "./_commonjsHelpers.js";
|
|
2
|
+
var l = {}, o = {}, c;
|
|
3
|
+
function s() {
|
|
4
|
+
return c || (c = 1, function(e) {
|
|
5
|
+
Object.defineProperty(e, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
}), Object.defineProperty(e, "default", {
|
|
8
|
+
enumerable: !0,
|
|
9
|
+
get: function() {
|
|
10
|
+
return i;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
function n(t, r) {
|
|
20
14
|
return {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
config: e(l)
|
|
15
|
+
handler: t,
|
|
16
|
+
config: r
|
|
24
17
|
};
|
|
25
|
-
};
|
|
26
|
-
return r.__isOptionsFunction = !0, r.__pluginFunction = t, r.__configFunction = e, r;
|
|
27
|
-
};
|
|
28
|
-
const i = u;
|
|
29
|
-
})(c);
|
|
30
|
-
(function(n) {
|
|
31
|
-
Object.defineProperty(n, "__esModule", {
|
|
32
|
-
value: !0
|
|
33
|
-
}), Object.defineProperty(n, "default", {
|
|
34
|
-
enumerable: !0,
|
|
35
|
-
get: function() {
|
|
36
|
-
return t;
|
|
37
18
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
19
|
+
n.withOptions = function(t, r = () => ({})) {
|
|
20
|
+
const u = function(a) {
|
|
21
|
+
return {
|
|
22
|
+
__options: a,
|
|
23
|
+
handler: t(a),
|
|
24
|
+
config: r(a)
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
return u.__isOptionsFunction = !0, u.__pluginFunction = t, u.__configFunction = r, u;
|
|
43
28
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
29
|
+
const i = n;
|
|
30
|
+
}(o)), o;
|
|
31
|
+
}
|
|
32
|
+
var d;
|
|
33
|
+
function P() {
|
|
34
|
+
return d || (d = 1, function(e) {
|
|
35
|
+
Object.defineProperty(e, "__esModule", {
|
|
36
|
+
value: !0
|
|
37
|
+
}), Object.defineProperty(e, "default", {
|
|
38
|
+
enumerable: !0,
|
|
39
|
+
get: function() {
|
|
40
|
+
return t;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
const n = /* @__PURE__ */ i(s());
|
|
44
|
+
function i(r) {
|
|
45
|
+
return r && r.__esModule ? r : {
|
|
46
|
+
default: r
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
const t = n.default;
|
|
50
|
+
}(l)), l;
|
|
51
|
+
}
|
|
52
|
+
var f, _;
|
|
53
|
+
function p() {
|
|
54
|
+
if (_) return f;
|
|
55
|
+
_ = 1;
|
|
56
|
+
let e = P();
|
|
57
|
+
return f = (e.__esModule ? e : { default: e }).default, f;
|
|
58
|
+
}
|
|
59
|
+
var v = p();
|
|
60
|
+
const h = /* @__PURE__ */ g(v);
|
|
50
61
|
export {
|
|
51
|
-
|
|
62
|
+
h as p
|
|
52
63
|
};
|
|
53
64
|
//# sourceMappingURL=plugin.js.map
|
package/chunks/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["../../node_modules/tailwindcss/lib/util/createPlugin.js","../../node_modules/tailwindcss/lib/public/create-plugin.js","../../node_modules/tailwindcss/plugin.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n","let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n"],"names":["exports","_default","createPlugin","plugin","config","pluginFunction","configFunction","optionsFunction","options","_createPlugin","_interop_require_default","require$$0","obj"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["../../node_modules/tailwindcss/lib/util/createPlugin.js","../../node_modules/tailwindcss/lib/public/create-plugin.js","../../node_modules/tailwindcss/plugin.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n","let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n"],"names":["exports","_default","createPlugin","plugin","config","pluginFunction","configFunction","optionsFunction","options","_createPlugin","_interop_require_default","require$$0","obj"],"mappings":";;;;AACA,WAAO,eAAcA,GAAU,cAAc;AAAA,MACzC,OAAO;AAAA,IACX,CAAC,GACD,OAAO,eAAeA,GAAS,WAAW;AAAA,MACtC,YAAY;AAAA,MACZ,KAAK,WAAW;AACZ,eAAOC;AAAA,MACf;AAAA,IACA,CAAC;AACD,aAASC,EAAaC,GAAQC,GAAQ;AAClC,aAAO;AAAA,QACH,SAASD;AAAA,QACT,QAAAC;AAAA;IAER;AACA,IAAAF,EAAa,cAAc,SAASG,GAAgBC,IAAiB,OAAK,CAAA,IAAK;AAC3E,YAAMC,IAAkB,SAASC,GAAS;AACtC,eAAO;AAAA,UACH,WAAWA;AAAA,UACX,SAASH,EAAeG,CAAO;AAAA,UAC/B,QAAQF,EAAeE,CAAO;AAAA;MAE1C;AACI,aAAAD,EAAgB,sBAAsB,IAGtCA,EAAgB,mBAAmBF,GACnCE,EAAgB,mBAAmBD,GAC5BC;AAAA,IACX;AACA,UAAMN,IAAWC;AAAA;;;;;AC9BjB,WAAO,eAAcF,GAAU,cAAc;AAAA,MACzC,OAAO;AAAA,IACX,CAAC,GACD,OAAO,eAAeA,GAAS,WAAW;AAAA,MACtC,YAAY;AAAA,MACZ,KAAK,WAAW;AACZ,eAAOC;AAAA,MACf;AAAA,IACA,CAAC;AACD,UAAMQ,IAA8B,gBAAAC,EAAyBC,GAA+B;AAC5F,aAASD,EAAyBE,GAAK;AACnC,aAAOA,KAAOA,EAAI,aAAaA,IAAM;AAAA,QACjC,SAASA;AAAA;IAEjB;AACA,UAAMX,IAAWQ,EAAc;AAAA;;;;;;AChB/B,MAAIP,IAAeS,EAAA;AACnBR,SAAAA,KAAkBD,EAAa,aAAaA,IAAe,EAAE,SAASA,KAAgB;;;;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { FunctionComponent, PropsWithChildren } from 'react';
|
|
2
|
+
import { Direction } from '../../types/Direction';
|
|
3
|
+
import { Devices } from '../Device';
|
|
4
4
|
interface Props {
|
|
5
5
|
device: Devices;
|
|
6
6
|
direction?: Direction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Direction } from '../../../types/Direction';
|
|
2
|
+
import { Devices } from '../../../types/Devices';
|
|
3
3
|
export declare function useQueries({ device, direction }: {
|
|
4
4
|
device: Devices;
|
|
5
5
|
direction: Direction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Direction } from '../../../types/Direction';
|
|
2
|
+
import { Devices } from '../../../types/Devices';
|
|
3
3
|
export interface DeviceState {
|
|
4
4
|
all: boolean;
|
|
5
5
|
small: boolean;
|