@drjoshcsimmons/scl 0.1.3 → 0.1.4

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.
Files changed (88) hide show
  1. package/README.md +35 -35
  2. package/dist/index100.js +15 -50
  3. package/dist/index102.js +48 -648
  4. package/dist/index103.js +205 -167
  5. package/dist/index104.js +30 -15
  6. package/dist/index11.js +2 -2
  7. package/dist/index110.js +1 -1
  8. package/dist/index112.js +1 -1
  9. package/dist/index12.js +1 -1
  10. package/dist/index13.js +2 -2
  11. package/dist/index14.js +2 -2
  12. package/dist/index15.js +2 -2
  13. package/dist/index17.js +4 -4
  14. package/dist/index18.js +2 -2
  15. package/dist/index20.js +2 -2
  16. package/dist/index21.js +1 -1
  17. package/dist/index22.js +1 -1
  18. package/dist/index23.js +2 -2
  19. package/dist/index24.js +1 -1
  20. package/dist/index25.js +4 -4
  21. package/dist/index26.js +1 -1
  22. package/dist/index27.js +3 -3
  23. package/dist/index29.js +1 -1
  24. package/dist/index31.js +1 -1
  25. package/dist/index33.js +1 -1
  26. package/dist/index36.js +2 -2
  27. package/dist/index37.js +1 -1
  28. package/dist/index4.js +2 -2
  29. package/dist/index45.js +220 -108
  30. package/dist/index46.js +11 -33
  31. package/dist/index47.js +418 -101
  32. package/dist/index48.js +147 -59
  33. package/dist/index49.js +298 -237
  34. package/dist/index5.js +1 -1
  35. package/dist/index50.js +5 -2
  36. package/dist/index51.js +33 -237
  37. package/dist/index52.js +118 -11
  38. package/dist/index53.js +70 -15
  39. package/dist/index54.js +12 -860
  40. package/dist/index55.js +2 -2
  41. package/dist/index56.js +229 -205
  42. package/dist/index57.js +60 -11
  43. package/dist/index58.js +225 -11
  44. package/dist/index59.js +11 -60
  45. package/dist/index6.js +1 -1
  46. package/dist/index60.js +11 -254
  47. package/dist/index61.js +112 -517
  48. package/dist/index62.js +216 -197
  49. package/dist/index63.js +12 -260
  50. package/dist/index64.js +82 -12
  51. package/dist/index65.js +236 -12
  52. package/dist/index66.js +487 -392
  53. package/dist/index67.js +21 -160
  54. package/dist/index68.js +823 -299
  55. package/dist/index69.js +9 -82
  56. package/dist/index7.js +1 -1
  57. package/dist/index70.js +242 -298
  58. package/dist/index71.js +31 -12
  59. package/dist/index72.js +332 -18
  60. package/dist/index73.js +206 -201
  61. package/dist/index74.js +17 -129
  62. package/dist/index75.js +130 -31
  63. package/dist/index77.js +44 -25
  64. package/dist/index78.js +25 -5
  65. package/dist/index79.js +6 -53
  66. package/dist/index8.js +1 -1
  67. package/dist/index80.js +1 -1
  68. package/dist/index81.js +34 -4
  69. package/dist/index82.js +10 -33
  70. package/dist/index83.js +7 -68
  71. package/dist/index84.js +3 -10
  72. package/dist/index85.js +5 -54
  73. package/dist/index86.js +24 -10
  74. package/dist/index87.js +181 -30
  75. package/dist/index88.js +67 -11
  76. package/dist/index89.js +14 -5
  77. package/dist/index9.js +2 -2
  78. package/dist/index90.js +30 -25
  79. package/dist/index91.js +52 -43
  80. package/dist/index92.js +10 -7
  81. package/dist/index93.js +4 -4
  82. package/dist/index94.js +11 -123
  83. package/dist/index95.js +52 -13
  84. package/dist/index96.js +633 -118
  85. package/dist/index97.js +113 -207
  86. package/dist/index98.js +134 -13
  87. package/dist/index99.js +14 -30
  88. package/package.json +1 -1
package/dist/index69.js CHANGED
@@ -1,84 +1,11 @@
1
- import * as m from "react";
2
- import { createContextScope as $ } from "./index85.js";
3
- import { Primitive as c } from "./index87.js";
4
- import { jsx as l } from "react/jsx-runtime";
5
- var u = "Progress", d = 100, [h] = $(u), [R, _] = h(u), f = m.forwardRef(
6
- (r, e) => {
7
- const {
8
- __scopeProgress: i,
9
- value: o = null,
10
- max: a,
11
- getValueLabel: N = E,
12
- ...b
13
- } = r;
14
- (a || a === 0) && !v(a) && console.error(M(`${a}`, "Progress"));
15
- const t = v(a) ? a : d;
16
- o !== null && !p(o, t) && console.error(V(`${o}`, "Progress"));
17
- const n = p(o, t) ? o : null, I = s(n) ? N(n, t) : void 0;
18
- return /* @__PURE__ */ l(R, { scope: i, value: n, max: t, children: /* @__PURE__ */ l(
19
- c.div,
20
- {
21
- "aria-valuemax": t,
22
- "aria-valuemin": 0,
23
- "aria-valuenow": s(n) ? n : void 0,
24
- "aria-valuetext": I,
25
- role: "progressbar",
26
- "data-state": P(n, t),
27
- "data-value": n ?? void 0,
28
- "data-max": t,
29
- ...b,
30
- ref: e
31
- }
32
- ) });
33
- }
34
- );
35
- f.displayName = u;
36
- var g = "ProgressIndicator", x = m.forwardRef(
37
- (r, e) => {
38
- const { __scopeProgress: i, ...o } = r, a = _(g, i);
39
- return /* @__PURE__ */ l(
40
- c.div,
41
- {
42
- "data-state": P(a.value, a.max),
43
- "data-value": a.value ?? void 0,
44
- "data-max": a.max,
45
- ...o,
46
- ref: e
47
- }
48
- );
49
- }
50
- );
51
- x.displayName = g;
52
- function E(r, e) {
53
- return `${Math.round(r / e * 100)}%`;
54
- }
55
- function P(r, e) {
56
- return r == null ? "indeterminate" : r === e ? "complete" : "loading";
57
- }
58
- function s(r) {
59
- return typeof r == "number";
60
- }
61
- function v(r) {
62
- return s(r) && !isNaN(r) && r > 0;
63
- }
64
- function p(r, e) {
65
- return s(r) && !isNaN(r) && r <= e && r >= 0;
66
- }
67
- function M(r, e) {
68
- return `Invalid prop \`max\` of value \`${r}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${d}\`.`;
69
- }
70
- function V(r, e) {
71
- return `Invalid prop \`value\` of value \`${r}\` supplied to \`${e}\`. The \`value\` prop must be:
72
- - a positive number
73
- - less than the value passed to \`max\` (or ${d} if no \`max\` prop is set)
74
- - \`null\` or \`undefined\` if the progress is indeterminate.
75
-
76
- Defaulting to \`null\`.`;
77
- }
78
- var D = f, L = x;
1
+ import e from "./index106.js";
2
+ /**
3
+ * @license lucide-react v0.460.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const r = e("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
79
9
  export {
80
- L as Indicator,
81
- f as Progress,
82
- x as ProgressIndicator,
83
- D as Root
10
+ r as default
84
11
  };
package/dist/index7.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import * as o from "react";
3
- import { Root as s, Image as t, Fallback as d } from "./index48.js";
3
+ import { Root as s, Image as t, Fallback as d } from "./index53.js";
4
4
  import { cn as m } from "./index2.js";
5
5
  const f = o.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ l(
6
6
  s,