aptechka 0.4.6 → 0.4.7

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.
@@ -1,28 +1,29 @@
1
1
  import { a as S, p as I } from "../attributes-69we3byR.js";
2
- import { i as Q } from "../browser-0zX67oeU.js";
3
- import { f as D, b as P, a as T, g as A } from "../dom-0S_WDL4g.js";
2
+ import { i as D } from "../browser-0zX67oeU.js";
3
+ import { f as v, b as P, a as T, g as A } from "../dom-0S_WDL4g.js";
4
4
  import { c as B, n as M, f as N, p as j, b as z, i as U, m as V, e as q, g as J, j as K, d as $, o as F, a as G, h as W, k as X, l as Y } from "../easings-BKi40vHz.js";
5
5
  import { d as _ } from "../events-_C2CztxR.js";
6
6
  import { c as L } from "../file-lxi_oXJf.js";
7
7
  import { d as te, t as ae } from "../function-C10DGppn.js";
8
- import { g as ne, a as oe, b as ie } from "../layout-HoBT_Da2.js";
9
- import { e as ue, f as le, c as ce, d as de, l as me, m as pe, r as fe, b as xe, a as he, s as ge } from "../math-BOBiC4TN.js";
10
- import { p as ye, r as we } from "../number-Bo5RdrA1.js";
11
- import { c as Ee, d as Oe, i as Se, b as Ie, a as Re, m as Qe, e as ve, o as De, p as Pe } from "../object-R34VLqhp.js";
12
- import { n as Ae } from "../polyfills-DJUYczFm.js";
13
- import { c as Be, a as Me, g as Ne, k as je, s as ze, t as Ue, u as Ve } from "../string-3lAkpJJP.js";
14
- import { g as Je, a as Ke } from "../style-j2TwriJ_.js";
8
+ import { s as ne } from "../gestures-D2Fdra_G.js";
9
+ import { g as ie, a as re, b as ue } from "../layout-HoBT_Da2.js";
10
+ import { e as ce, f as me, c as de, d as pe, l as fe, m as xe, r as he, b as ge, a as be, s as ye } from "../math-BOBiC4TN.js";
11
+ import { p as Ce, r as Ee } from "../number-Bo5RdrA1.js";
12
+ import { c as Se, d as Ie, i as Re, b as De, a as Qe, m as ve, e as Pe, o as Te, p as Ae } from "../object-R34VLqhp.js";
13
+ import { n as Be } from "../polyfills-DJUYczFm.js";
14
+ import { c as Ne, a as je, g as ze, k as Ue, s as Ve, t as qe, u as Je } from "../string-3lAkpJJP.js";
15
+ import { g as $e, a as Fe } from "../style-j2TwriJ_.js";
15
16
  function c(t, e, ...a) {
16
17
  return [...t.slice(0, e), ...a, ...t.slice(e)];
17
18
  }
18
- function d(t, e) {
19
+ function m(t, e) {
19
20
  const a = t.measureText(e), s = a.actualBoundingBoxAscent + a.actualBoundingBoxDescent, n = a.width;
20
21
  return {
21
22
  height: s,
22
23
  width: n
23
24
  };
24
25
  }
25
- function m(t) {
26
+ function d(t) {
26
27
  return Math.floor(t) + 0.5;
27
28
  }
28
29
  function p(t, e, a, s, n, o) {
@@ -79,16 +80,16 @@ function C(t) {
79
80
  return window.btoa(e);
80
81
  }
81
82
  export {
82
- ue as calculateDistance,
83
- le as calculateDistanceWithRadius,
84
- Be as camelToKebab,
85
- Me as capitalize,
86
- ce as clamp,
87
- Ee as cloneDeep,
88
- Oe as compareObjects,
83
+ ce as calculateDistance,
84
+ me as calculateDistanceWithRadius,
85
+ Ne as camelToKebab,
86
+ je as capitalize,
87
+ de as clamp,
88
+ Se as cloneDeep,
89
+ Ie as compareObjects,
89
90
  p as cover,
90
91
  L as createJSONAndSave,
91
- de as damp,
92
+ pe as damp,
92
93
  te as debounce,
93
94
  C as decode,
94
95
  _ as dispatchSizeChangeEvent,
@@ -110,46 +111,47 @@ export {
110
111
  W as easeOutQuart,
111
112
  X as easeOutQuint,
112
113
  w as encode,
113
- D as findParentElement,
114
+ v as findParentElement,
114
115
  P as findScrollParentElement,
115
- m as fixPosition,
116
- Ne as generateId,
116
+ d as fixPosition,
117
+ ze as generateId,
117
118
  T as getAllParentElements,
118
- ne as getCumulativeOffsetLeft,
119
- oe as getCumulativeOffsetTop,
120
- ie as getCumulativePosition,
119
+ ie as getCumulativeOffsetLeft,
120
+ re as getCumulativeOffsetTop,
121
+ ue as getCumulativePosition,
121
122
  A as getElement,
122
- Je as getElementTransitionDurationMS,
123
- Ke as getElementTransitionDurationS,
123
+ $e as getElementTransitionDurationMS,
124
+ Fe as getElementTransitionDurationS,
124
125
  b as getPointerPosition,
125
126
  y as getRootVariables,
126
127
  c as insert,
127
- Q as isBrowser,
128
- Se as isESClass,
129
- Ie as isNullish,
130
- Re as isObject,
131
- je as kebabToCamel,
132
- me as lerp,
128
+ D as isBrowser,
129
+ Re as isESClass,
130
+ De as isNullish,
131
+ Qe as isObject,
132
+ Ue as kebabToCamel,
133
+ fe as lerp,
133
134
  Y as linear,
134
- pe as mapRange,
135
- d as measureText,
136
- Qe as mergeDeep,
137
- ve as mixin,
135
+ xe as mapRange,
136
+ m as measureText,
137
+ ve as mergeDeep,
138
+ Pe as mixin,
138
139
  g as normalize,
139
- Ae as nullishCoalescing,
140
- De as omit,
140
+ Be as nullishCoalescing,
141
+ Te as omit,
141
142
  S as parseAttribute,
142
143
  I as parseAttributeValue,
143
- Pe as pick,
144
- ye as preciseNumber,
145
- fe as round,
146
- we as roundNumberTo,
144
+ Ae as pick,
145
+ Ce as preciseNumber,
146
+ he as round,
147
+ Ee as roundNumberTo,
147
148
  h as screenToCartesian,
148
- xe as smootherstep,
149
- he as smoothstep,
150
- ze as snakeToDotted,
151
- ge as step,
149
+ ne as setupDrag,
150
+ ge as smootherstep,
151
+ be as smoothstep,
152
+ Ve as snakeToDotted,
153
+ ye as step,
152
154
  ae as throttle,
153
- Ue as toPascalCase,
154
- Ve as uncapitalize
155
+ qe as toPascalCase,
156
+ Je as uncapitalize
155
157
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aptechka",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/denisavitski/aptechka.git"