@gearbox-protocol/permissionless-ui 1.18.0 → 1.19.0

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 (43) hide show
  1. package/dist/cjs/_virtual/index2.cjs +1 -1
  2. package/dist/cjs/components/page-title/page-title.cjs +1 -1
  3. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.cjs +1 -0
  4. package/dist/cjs/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/default-props.cjs +1 -1
  5. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.cjs +1 -0
  6. package/dist/cjs/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/index.cjs +1 -1
  7. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/inner-slider.cjs +1 -0
  8. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.cjs +1 -0
  9. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/track.cjs +1 -0
  10. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/utils/innerSliderUtils.cjs +1 -0
  11. package/dist/esm/_virtual/index2.js +1 -1
  12. package/dist/esm/components/page-title/page-title.js +49 -36
  13. package/dist/esm/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.js +210 -0
  14. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/default-props.js +1 -0
  15. package/dist/esm/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.js +170 -0
  16. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/index.js +2 -2
  17. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/inner-slider.js +116 -118
  18. package/dist/esm/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.js +258 -0
  19. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/track.js +90 -96
  20. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/utils/innerSliderUtils.js +63 -58
  21. package/dist/types/components/page-title/page-title.d.ts +4 -0
  22. package/package.json +2 -2
  23. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQuery.cjs +0 -1
  24. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQueryDispatch.cjs +0 -1
  25. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/QueryHandler.cjs +0 -1
  26. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/Util.cjs +0 -1
  27. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/index.cjs +0 -1
  28. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.cjs +0 -1
  29. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.cjs +0 -1
  30. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/inner-slider.cjs +0 -1
  31. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.cjs +0 -1
  32. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/track.cjs +0 -1
  33. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/utils/innerSliderUtils.cjs +0 -1
  34. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQuery.js +0 -71
  35. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQueryDispatch.js +0 -46
  36. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/QueryHandler.js +0 -57
  37. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/Util.js +0 -24
  38. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/index.js +0 -11
  39. package/dist/esm/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.js +0 -216
  40. package/dist/esm/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.js +0 -176
  41. package/dist/esm/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.js +0 -261
  42. /package/dist/cjs/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/initial-state.cjs +0 -0
  43. /package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/initial-state.js +0 -0
@@ -1,261 +0,0 @@
1
- import { __exports as T } from "../../../../../../_virtual/slider.js";
2
- import z from "react";
3
- import { __require as C } from "./inner-slider.js";
4
- import { __require as J } from "../../../../json2mq@0.2.0/node_modules/json2mq/index.js";
5
- import { __require as Q } from "./default-props.js";
6
- import { __require as F } from "./utils/innerSliderUtils.js";
7
- import { __require as L } from "../../../../enquire.js@2.1.6/node_modules/enquire.js/src/index.js";
8
- var M;
9
- function ne() {
10
- return M ? T : (M = 1, (function(g) {
11
- Object.defineProperty(g, "__esModule", {
12
- value: !0
13
- }), g.default = void 0;
14
- var l = S(z), U = C(), w = S(J()), j = S(Q()), _ = F();
15
- function S(r) {
16
- return r && r.__esModule ? r : { default: r };
17
- }
18
- function h(r) {
19
- "@babel/helpers - typeof";
20
- return h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
21
- return typeof e;
22
- } : function(e) {
23
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
24
- }, h(r);
25
- }
26
- function P() {
27
- return P = Object.assign ? Object.assign.bind() : function(r) {
28
- for (var e = 1; e < arguments.length; e++) {
29
- var o = arguments[e];
30
- for (var n in o)
31
- Object.prototype.hasOwnProperty.call(o, n) && (r[n] = o[n]);
32
- }
33
- return r;
34
- }, P.apply(this, arguments);
35
- }
36
- function R(r, e) {
37
- var o = Object.keys(r);
38
- if (Object.getOwnPropertySymbols) {
39
- var n = Object.getOwnPropertySymbols(r);
40
- e && (n = n.filter(function(i) {
41
- return Object.getOwnPropertyDescriptor(r, i).enumerable;
42
- })), o.push.apply(o, n);
43
- }
44
- return o;
45
- }
46
- function m(r) {
47
- for (var e = 1; e < arguments.length; e++) {
48
- var o = arguments[e] != null ? arguments[e] : {};
49
- e % 2 ? R(Object(o), !0).forEach(function(n) {
50
- f(r, n, o[n]);
51
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(o)) : R(Object(o)).forEach(function(n) {
52
- Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(o, n));
53
- });
54
- }
55
- return r;
56
- }
57
- function x(r, e) {
58
- if (!(r instanceof e))
59
- throw new TypeError("Cannot call a class as a function");
60
- }
61
- function I(r, e) {
62
- for (var o = 0; o < e.length; o++) {
63
- var n = e[o];
64
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, D(n.key), n);
65
- }
66
- }
67
- function H(r, e, o) {
68
- return e && I(r.prototype, e), Object.defineProperty(r, "prototype", { writable: !1 }), r;
69
- }
70
- function V(r, e) {
71
- if (typeof e != "function" && e !== null)
72
- throw new TypeError("Super expression must either be null or a function");
73
- r.prototype = Object.create(e && e.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), e && q(r, e);
74
- }
75
- function q(r, e) {
76
- return q = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
77
- return n.__proto__ = i, n;
78
- }, q(r, e);
79
- }
80
- function A(r) {
81
- var e = k();
82
- return function() {
83
- var n = O(r), i;
84
- if (e) {
85
- var t = O(this).constructor;
86
- i = Reflect.construct(n, arguments, t);
87
- } else
88
- i = n.apply(this, arguments);
89
- return B(this, i);
90
- };
91
- }
92
- function B(r, e) {
93
- if (e && (h(e) === "object" || typeof e == "function"))
94
- return e;
95
- if (e !== void 0)
96
- throw new TypeError("Derived constructors may only return object or undefined");
97
- return c(r);
98
- }
99
- function c(r) {
100
- if (r === void 0)
101
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
102
- return r;
103
- }
104
- function k() {
105
- try {
106
- var r = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
107
- }));
108
- } catch {
109
- }
110
- return (k = function() {
111
- return !!r;
112
- })();
113
- }
114
- function O(r) {
115
- return O = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(o) {
116
- return o.__proto__ || Object.getPrototypeOf(o);
117
- }, O(r);
118
- }
119
- function f(r, e, o) {
120
- return e = D(e), e in r ? Object.defineProperty(r, e, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = o, r;
121
- }
122
- function D(r) {
123
- var e = G(r, "string");
124
- return h(e) == "symbol" ? e : String(e);
125
- }
126
- function G(r, e) {
127
- if (h(r) != "object" || !r) return r;
128
- var o = r[Symbol.toPrimitive];
129
- if (o !== void 0) {
130
- var n = o.call(r, e);
131
- if (h(n) != "object") return n;
132
- throw new TypeError("@@toPrimitive must return a primitive value.");
133
- }
134
- return (e === "string" ? String : Number)(r);
135
- }
136
- var N = (0, _.canUseDOM)() && L();
137
- g.default = /* @__PURE__ */ (function(r) {
138
- V(o, r);
139
- var e = A(o);
140
- function o(n) {
141
- var i;
142
- return x(this, o), i = e.call(this, n), f(c(i), "innerSliderRefHandler", function(t) {
143
- return i.innerSlider = t;
144
- }), f(c(i), "slickPrev", function() {
145
- return i.innerSlider.slickPrev();
146
- }), f(c(i), "slickNext", function() {
147
- return i.innerSlider.slickNext();
148
- }), f(c(i), "slickGoTo", function(t) {
149
- var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
150
- return i.innerSlider.slickGoTo(t, d);
151
- }), f(c(i), "slickPause", function() {
152
- return i.innerSlider.pause("paused");
153
- }), f(c(i), "slickPlay", function() {
154
- return i.innerSlider.autoPlay("play");
155
- }), i.state = {
156
- breakpoint: null
157
- }, i._responsiveMediaHandlers = [], i;
158
- }
159
- return H(o, [{
160
- key: "media",
161
- value: function(i, t) {
162
- N.register(i, t), this._responsiveMediaHandlers.push({
163
- query: i,
164
- handler: t
165
- });
166
- }
167
- // handles responsive breakpoints
168
- }, {
169
- key: "componentDidMount",
170
- value: function() {
171
- var i = this;
172
- if (this.props.responsive) {
173
- var t = this.props.responsive.map(function(s) {
174
- return s.breakpoint;
175
- });
176
- t.sort(function(s, u) {
177
- return s - u;
178
- }), t.forEach(function(s, u) {
179
- var y;
180
- u === 0 ? y = (0, w.default)({
181
- minWidth: 0,
182
- maxWidth: s
183
- }) : y = (0, w.default)({
184
- minWidth: t[u - 1] + 1,
185
- maxWidth: s
186
- }), (0, _.canUseDOM)() && i.media(y, function() {
187
- i.setState({
188
- breakpoint: s
189
- });
190
- });
191
- });
192
- var d = (0, w.default)({
193
- minWidth: t.slice(-1)[0]
194
- });
195
- (0, _.canUseDOM)() && this.media(d, function() {
196
- i.setState({
197
- breakpoint: null
198
- });
199
- });
200
- }
201
- }
202
- }, {
203
- key: "componentWillUnmount",
204
- value: function() {
205
- this._responsiveMediaHandlers.forEach(function(i) {
206
- N.unregister(i.query, i.handler);
207
- });
208
- }
209
- }, {
210
- key: "render",
211
- value: function() {
212
- var i = this, t, d;
213
- this.state.breakpoint ? (d = this.props.responsive.filter(function(b) {
214
- return b.breakpoint === i.state.breakpoint;
215
- }), t = d[0].settings === "unslick" ? "unslick" : m(m(m({}, j.default), this.props), d[0].settings)) : t = m(m({}, j.default), this.props), t.centerMode && (t.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(t.slidesToScroll)), t.slidesToScroll = 1), t.fade && (t.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(t.slidesToShow)), t.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(t.slidesToScroll)), t.slidesToShow = 1, t.slidesToScroll = 1);
216
- var s = l.default.Children.toArray(this.props.children);
217
- s = s.filter(function(b) {
218
- return typeof b == "string" ? !!b.trim() : !!b;
219
- }), t.variableWidth && (t.rows > 1 || t.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), t.variableWidth = !1);
220
- for (var u = [], y = null, a = 0; a < s.length; a += t.rows * t.slidesPerRow) {
221
- for (var E = [], v = a; v < a + t.rows * t.slidesPerRow; v += t.slidesPerRow) {
222
- for (var W = [], p = v; p < v + t.slidesPerRow && (t.variableWidth && s[p].props.style && (y = s[p].props.style.width), !(p >= s.length)); p += 1)
223
- W.push(/* @__PURE__ */ l.default.cloneElement(s[p], {
224
- key: 100 * a + 10 * v + p,
225
- tabIndex: -1,
226
- style: {
227
- width: "".concat(100 / t.slidesPerRow, "%"),
228
- display: "inline-block"
229
- }
230
- }));
231
- E.push(/* @__PURE__ */ l.default.createElement("div", {
232
- key: 10 * a + v
233
- }, W));
234
- }
235
- t.variableWidth ? u.push(/* @__PURE__ */ l.default.createElement("div", {
236
- key: a,
237
- style: {
238
- width: y
239
- }
240
- }, E)) : u.push(/* @__PURE__ */ l.default.createElement("div", {
241
- key: a
242
- }, E));
243
- }
244
- if (t === "unslick") {
245
- var K = "regular slider " + (this.props.className || "");
246
- return /* @__PURE__ */ l.default.createElement("div", {
247
- className: K
248
- }, s);
249
- } else u.length <= t.slidesToShow && !t.infinite && (t.unslick = !0);
250
- return /* @__PURE__ */ l.default.createElement(U.InnerSlider, P({
251
- style: this.props.style,
252
- ref: this.innerSliderRefHandler
253
- }, (0, _.filterSettings)(t)), u);
254
- }
255
- }]), o;
256
- })(l.default.Component);
257
- })(T), T);
258
- }
259
- export {
260
- ne as __require
261
- };