luaniverse 4.0.43 → 4.0.44
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/index.cjs +72 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +71 -2
- package/dist/index.js.map +1 -1
- package/dist/safelist.js +54 -0
- package/dist/safelist.txt +52 -2
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -19,6 +19,7 @@ var LabelPrimitive = require('@radix-ui/react-label');
|
|
|
19
19
|
var SwitchPrimitives = require('@radix-ui/react-switch');
|
|
20
20
|
var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
|
|
21
21
|
var CheckboxPrimitive = require('@radix-ui/react-checkbox');
|
|
22
|
+
var SliderPrimitive = require('@radix-ui/react-slider');
|
|
22
23
|
|
|
23
24
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
24
25
|
|
|
@@ -51,6 +52,7 @@ var LabelPrimitive__namespace = /*#__PURE__*/_interopNamespace(LabelPrimitive);
|
|
|
51
52
|
var SwitchPrimitives__namespace = /*#__PURE__*/_interopNamespace(SwitchPrimitives);
|
|
52
53
|
var RadioGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(RadioGroupPrimitive);
|
|
53
54
|
var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
|
|
55
|
+
var SliderPrimitive__namespace = /*#__PURE__*/_interopNamespace(SliderPrimitive);
|
|
54
56
|
|
|
55
57
|
var __defProp = Object.defineProperty;
|
|
56
58
|
var __export = (target, all) => {
|
|
@@ -5956,6 +5958,22 @@ var MultiSelect = React116__namespace.forwardRef(
|
|
|
5956
5958
|
}
|
|
5957
5959
|
);
|
|
5958
5960
|
MultiSelect.displayName = "MultiSelect";
|
|
5961
|
+
var Slider = React116__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5962
|
+
SliderPrimitive__namespace.Root,
|
|
5963
|
+
{
|
|
5964
|
+
ref,
|
|
5965
|
+
className: cn(
|
|
5966
|
+
"lua:relative lua:flex lua:w-full lua:touch-none lua:select-none lua:items-center",
|
|
5967
|
+
className
|
|
5968
|
+
),
|
|
5969
|
+
...props,
|
|
5970
|
+
children: [
|
|
5971
|
+
/* @__PURE__ */ jsxRuntime.jsx(SliderPrimitive__namespace.Track, { className: "lua:relative lua:h-2 lua:w-full lua:grow lua:overflow-hidden lua:rounded-full lua:bg-gray-200", children: /* @__PURE__ */ jsxRuntime.jsx(SliderPrimitive__namespace.Range, { className: "lua:absolute lua:h-full lua:bg-gradient-to-r lua:from-blue-600 lua:to-purple-600" }) }),
|
|
5972
|
+
/* @__PURE__ */ jsxRuntime.jsx(SliderPrimitive__namespace.Thumb, { className: "lua:block lua:h-5 lua:w-5 lua:rounded-full lua:border-2 lua:border-white lua:bg-purple-600 lua:shadow-lg lua:ring-offset-white lua:transition-all lua:focus-visible:outline-none lua:focus-visible:ring-2 lua:focus-visible:ring-blue-600 lua:focus-visible:ring-offset-2 lua:hover:shadow-xl lua:hover:scale-105 lua:active:scale-95 lua:disabled:bg-gray-200 lua:disabled:pointer-events-none lua:disabled:opacity-50" })
|
|
5973
|
+
]
|
|
5974
|
+
}
|
|
5975
|
+
));
|
|
5976
|
+
Slider.displayName = SliderPrimitive__namespace.Root.displayName;
|
|
5959
5977
|
|
|
5960
5978
|
// src/safelist.js
|
|
5961
5979
|
var luaniverseSafelist = [
|
|
@@ -6171,7 +6189,59 @@ var luaniverseSafelist = [
|
|
|
6171
6189
|
"lua:text-xs",
|
|
6172
6190
|
// select
|
|
6173
6191
|
"lua:max-h-96",
|
|
6174
|
-
"lua:min-w-32"
|
|
6192
|
+
"lua:min-w-32",
|
|
6193
|
+
// slider
|
|
6194
|
+
"lua:disabled:bg-gray-200",
|
|
6195
|
+
"lua:hover:shadow-xl",
|
|
6196
|
+
"lua:hover:scale-105",
|
|
6197
|
+
"lua:active:scale-95",
|
|
6198
|
+
"lua:bg-gradient-to-r",
|
|
6199
|
+
"lua:from-blue-600",
|
|
6200
|
+
"lua:to-purple-600",
|
|
6201
|
+
"lua:bg-purple-600",
|
|
6202
|
+
// input
|
|
6203
|
+
"lua:text-gray-600",
|
|
6204
|
+
"lua:cursor-not-allowed",
|
|
6205
|
+
"lua:mb-2",
|
|
6206
|
+
"lua:text-gray-900",
|
|
6207
|
+
"lua:left-3",
|
|
6208
|
+
"lua:top-1/2",
|
|
6209
|
+
"lua:-translate-y-1/2",
|
|
6210
|
+
"lua:items-center",
|
|
6211
|
+
"lua:pointer-events-none",
|
|
6212
|
+
"lua:text-gray-500",
|
|
6213
|
+
"lua:h-10",
|
|
6214
|
+
"lua:rounded-md",
|
|
6215
|
+
"lua:bg-transparent",
|
|
6216
|
+
"lua:px-3",
|
|
6217
|
+
"lua:py-2",
|
|
6218
|
+
"lua:text-base",
|
|
6219
|
+
"lua:transition-all",
|
|
6220
|
+
"lua:duration-200",
|
|
6221
|
+
"file:lua:border-0",
|
|
6222
|
+
"file:lua:bg-transparent",
|
|
6223
|
+
"file:lua:text-sm",
|
|
6224
|
+
"file:lua:font-medium",
|
|
6225
|
+
"file:lua:text-gray-900",
|
|
6226
|
+
"placeholder:lua:text-gray-500",
|
|
6227
|
+
"focus-visible:lua:outline-hidden",
|
|
6228
|
+
"focus-visible:lua:ring-2",
|
|
6229
|
+
"focus-visible:lua:ring-offset-2",
|
|
6230
|
+
"focus-visible:lua:ring-offset-white",
|
|
6231
|
+
"lua:border-gray-300",
|
|
6232
|
+
"focus-visible:lua:ring-blue-600",
|
|
6233
|
+
"lua:border-red-600",
|
|
6234
|
+
"focus-visible:lua:ring-red-600",
|
|
6235
|
+
"lua:border-green-500",
|
|
6236
|
+
"focus-visible:lua:ring-green-500",
|
|
6237
|
+
"lua:opacity-50",
|
|
6238
|
+
"placeholder:lua:text-gray-400",
|
|
6239
|
+
"lua:pr-10",
|
|
6240
|
+
"md:lua:text-sm",
|
|
6241
|
+
"lua:right-3",
|
|
6242
|
+
"lua:mt-2",
|
|
6243
|
+
"lua:text-red-600",
|
|
6244
|
+
"lua:text-green-600"
|
|
6175
6245
|
];
|
|
6176
6246
|
|
|
6177
6247
|
// src/tailwind.preset.js
|
|
@@ -6495,6 +6565,7 @@ exports.SidebarSimple = SidebarSimple;
|
|
|
6495
6565
|
exports.SignOut = SignOut;
|
|
6496
6566
|
exports.Sketch = Sketch;
|
|
6497
6567
|
exports.SketchIcon = sketch_exports;
|
|
6568
|
+
exports.Slider = Slider;
|
|
6498
6569
|
exports.Storefront = Storefront;
|
|
6499
6570
|
exports.SvgIcon = svg_exports;
|
|
6500
6571
|
exports.Switch = Switch;
|