@plitzi/sdk-style 0.33.1 → 0.34.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 (59) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/BuilderStyleContextProvider.d.ts +11 -2
  3. package/dist/BuilderStyleContextProvider.mjs +76 -54
  4. package/dist/SdkStyleContextProvider.mjs +4 -4
  5. package/dist/StyleAdvanceEditor.mjs +30 -30
  6. package/dist/StyleMap/StyleMap.d.ts +14 -1
  7. package/dist/StyleMap/StyleMap.mjs +24 -2
  8. package/dist/StyleMap/helpers/isValueValid.mjs +1 -1
  9. package/dist/StyleReducer.d.ts +15 -4
  10. package/dist/StyleReducer.mjs +39 -18
  11. package/dist/components/InputEasing/InputEasing.mjs +21 -21
  12. package/dist/components/InputEasing/InputEasingButton.mjs +5 -5
  13. package/dist/components/InputEasing/InputEasingList.mjs +76 -76
  14. package/dist/components/Selector/Selector.mjs +29 -29
  15. package/dist/components/Selector/SelectorItem/ItemOptions.mjs +16 -16
  16. package/dist/components/Selector/SelectorItem/SelectorItem.mjs +10 -10
  17. package/dist/components/StyleInspector/Inspector.mjs +33 -33
  18. package/dist/components/StyleInspector/StyleInspector.mjs +45 -45
  19. package/dist/components/StyleInspector/StyleInspectorProvider.mjs +14 -14
  20. package/dist/components/StyleInspector/categories/Background/components/BackgroundLayer/BackgroundLayer.mjs +46 -46
  21. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopBar.mjs +20 -20
  22. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopHandle.mjs +11 -11
  23. package/dist/components/StyleInspector/categories/Border/BorderPlacements.mjs +20 -20
  24. package/dist/components/StyleInspector/categories/DisplayFlexChild/DisplayAlignSelf.mjs +12 -12
  25. package/dist/components/StyleInspector/categories/Effects/BoxShadow/BoxShadow.mjs +22 -21
  26. package/dist/components/StyleInspector/categories/Effects/BoxShadow/BoxShadowItem.mjs +66 -65
  27. package/dist/components/StyleInspector/categories/Effects/BoxShadow/helpers.d.ts +2 -0
  28. package/dist/components/StyleInspector/categories/Effects/BoxShadow/helpers.mjs +18 -0
  29. package/dist/components/StyleInspector/categories/Effects/Transition/TransitionItem.mjs +15 -15
  30. package/dist/components/StyleInspector/categories/RawStyle/RawStyle.mjs +16 -16
  31. package/dist/components/StyleInspector/categories/Spacing/SpacingEditor.mjs +12 -12
  32. package/dist/components/StyleInspector/categories/Spacing/SpacingNumber.mjs +5 -5
  33. package/dist/components/StyleInspector/categories/Typography/Typography.d.ts +1 -5
  34. package/dist/components/StyleInspector/categories/Typography/Typography.mjs +58 -57
  35. package/dist/components/StyleInspector/categories/Typography/TypographyConstants.d.ts +0 -4
  36. package/dist/components/StyleInspector/categories/Typography/TypographyConstants.mjs +2 -160
  37. package/dist/components/StyleInspector/categories/Typography/TypographyFont.d.ts +1 -4
  38. package/dist/components/StyleInspector/categories/Typography/TypographyFont.mjs +24 -17
  39. package/dist/components/StyleInspector/components/CategoryContainer/CategoryContainer.mjs +15 -15
  40. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionIconGroup.mjs +17 -17
  41. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionMetricInput.mjs +8 -8
  42. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionSelect.mjs +4 -4
  43. package/dist/components/StyleInspector/components/InspectorLabel/InspectorLabel.mjs +13 -13
  44. package/dist/components/StyleInspector/hooks/useInspectorValues.mjs +13 -13
  45. package/dist/components/StyleInspector/hooks/useStyleBinding.mjs +12 -12
  46. package/dist/components/StyleInspector/hooks/useStyleInherit.mjs +3 -3
  47. package/dist/components/StyleManager/ManagerSelector.mjs +35 -35
  48. package/dist/components/StyleManager/StyleManager.mjs +12 -12
  49. package/dist/components/StyleManager/StyleSelectorTag.mjs +20 -20
  50. package/dist/helpers/calculateInheriting.mjs +2 -2
  51. package/dist/helpers/generateStyleSelector.mjs +1 -1
  52. package/dist/helpers/processSelectorAttributes.mjs +1 -1
  53. package/dist/hooks/index.d.ts +2 -0
  54. package/dist/hooks/index.mjs +2 -0
  55. package/dist/hooks/useSpaceFonts.d.ts +10 -0
  56. package/dist/hooks/useSpaceFonts.mjs +10 -0
  57. package/dist/index.mjs +16 -16
  58. package/dist/models/SelectorForm/SelectorForm.mjs +1 -1
  59. package/package.json +26 -9
@@ -1,5 +1,5 @@
1
- import e from "./StyleMap/index.mjs";
2
- import { generateCache as t } from "./StyleHelper.mjs";
1
+ import { generateCache as e } from "./StyleHelper.mjs";
2
+ import t from "./StyleMap/index.mjs";
3
3
  import { get as n, set as r } from "@plitzi/plitzi-ui/helpers";
4
4
  import { produce as i } from "immer";
5
5
  //#region src/StyleReducer.ts
@@ -15,6 +15,9 @@ var a = {
15
15
  STYLE_ADD_VARIABLE: "STYLE_ADD_VARIABLE",
16
16
  STYLE_UPDATE_VARIABLE: "STYLE_UPDATE_VARIABLE",
17
17
  STYLE_REMOVE_VARIABLE: "STYLE_REMOVE_VARIABLE",
18
+ STYLE_ADD_FONT: "STYLE_ADD_FONT",
19
+ STYLE_UPDATE_FONT: "STYLE_UPDATE_FONT",
20
+ STYLE_REMOVE_FONT: "STYLE_REMOVE_FONT",
18
21
  STYLE_ADD_TEMPLATE: "STYLE_ADD_TEMPLATE",
19
22
  STYLE_UPDATE_SETTINGS: "STYLE_UPDATE_SETTINGS"
20
23
  }, o = (o, s) => {
@@ -26,73 +29,91 @@ var a = {
26
29
  case a.STYLE_ADD_SELECTOR: {
27
30
  let { displayMode: n, selectorType: a, selector: c, path: l, value: u, params: d } = s;
28
31
  return i(o, (i) => {
29
- e.addSelector(i, n, c, a, l, u, d) && r(i, "cache", t(i));
32
+ t.addSelector(i, n, c, a, l, u, d) && r(i, "cache", e(i));
30
33
  });
31
34
  }
32
35
  case a.STYLE_UPDATE_SELECTOR: {
33
36
  let { displayMode: n, selector: a, path: c, value: l, params: u } = s;
34
37
  return i(o, (i) => {
35
- e.updateSelector(i, n, a, c, l, u) && r(i, "cache", t(i));
38
+ t.updateSelector(i, n, a, c, l, u) && r(i, "cache", e(i));
36
39
  });
37
40
  }
38
41
  case a.STYLE_REMOVE_SELECTOR: {
39
42
  let { displayMode: n, selector: a } = s;
40
43
  return i(o, (i) => {
41
- e.removeSelector(i, n, a) && r(i, "cache", t(i));
44
+ t.removeSelector(i, n, a) && r(i, "cache", e(i));
42
45
  });
43
46
  }
44
47
  case a.STYLE_REMOVE_SELECTORS: {
45
48
  let { displayMode: n, selectors: a } = s;
46
49
  return i(o, (i) => {
47
- a.reduce((t, r) => e.removeSelector(i, n, r) || t, !1) && r(i, "cache", t(i));
50
+ a.reduce((e, r) => t.removeSelector(i, n, r) || e, !1) && r(i, "cache", e(i));
48
51
  });
49
52
  }
50
53
  case a.STYLE_ADD_SELECTOR_VARIABLE: {
51
54
  let { displayMode: n, selector: a, category: c, name: l, value: u } = s;
52
55
  return i(o, (i) => {
53
- e.addSelectorVariable(i, n, a, c, l, u) && r(i, "cache", t(i));
56
+ t.addSelectorVariable(i, n, a, c, l, u) && r(i, "cache", e(i));
54
57
  });
55
58
  }
56
59
  case a.STYLE_UPDATE_SELECTOR_VARIABLE: {
57
60
  let { displayMode: n, selector: a, category: c, name: l, value: u } = s;
58
61
  return i(o, (i) => {
59
- e.updateSelectorVariable(i, n, a, c, l, u) && r(i, "cache", t(i));
62
+ t.updateSelectorVariable(i, n, a, c, l, u) && r(i, "cache", e(i));
60
63
  });
61
64
  }
62
65
  case a.STYLE_REMOVE_SELECTOR_VARIABLE: {
63
66
  let { displayMode: n, selector: a, category: c, name: l } = s;
64
67
  return i(o, (i) => {
65
- e.removeSelectorVariable(i, n, a, c, l) && r(i, "cache", t(i));
68
+ t.removeSelectorVariable(i, n, a, c, l) && r(i, "cache", e(i));
66
69
  });
67
70
  }
68
71
  case a.STYLE_ADD_VARIABLE: {
69
72
  let { category: n, name: a, value: c } = s;
70
73
  return i(o, (i) => {
71
- e.addVariable(i, n, a, c) && r(i, "cache", t(i));
74
+ t.addVariable(i, n, a, c) && r(i, "cache", e(i));
72
75
  });
73
76
  }
74
77
  case a.STYLE_UPDATE_VARIABLE: {
75
78
  let { category: n, name: a, value: c } = s;
76
79
  return i(o, (i) => {
77
- e.updateVariable(i, n, a, c) && r(i, "cache", t(i));
80
+ t.updateVariable(i, n, a, c) && r(i, "cache", e(i));
78
81
  });
79
82
  }
80
83
  case a.STYLE_REMOVE_VARIABLE: {
81
84
  let { category: n, name: a } = s;
82
85
  return i(o, (i) => {
83
- e.removeVariable(i, n, a) && r(i, "cache", t(i));
86
+ t.removeVariable(i, n, a) && r(i, "cache", e(i));
87
+ });
88
+ }
89
+ case a.STYLE_ADD_FONT: {
90
+ let { font: e } = s;
91
+ return i(o, (n) => {
92
+ t.addFont(n, e);
93
+ });
94
+ }
95
+ case a.STYLE_UPDATE_FONT: {
96
+ let { family: e, font: n } = s;
97
+ return i(o, (r) => {
98
+ t.updateFont(r, e, n);
99
+ });
100
+ }
101
+ case a.STYLE_REMOVE_FONT: {
102
+ let { family: e } = s;
103
+ return i(o, (n) => {
104
+ t.removeFont(n, e);
84
105
  });
85
106
  }
86
107
  case a.STYLE_ADD_TEMPLATE: {
87
- let { platform: e } = s;
108
+ let { platform: t } = s;
88
109
  return i(o, (r) => {
89
110
  let i = n(r, "platform", {});
90
- Object.keys(e).forEach((t) => {
91
- i[t] = {
92
- ...n(i, t, {}),
93
- ...e[t]
111
+ Object.keys(t).forEach((e) => {
112
+ i[e] = {
113
+ ...n(i, e, {}),
114
+ ...t[e]
94
115
  };
95
- }), r.platform = i, r.cache = t(r);
116
+ }), r.platform = i, r.cache = e(r);
96
117
  });
97
118
  }
98
119
  case a.STYLE_UPDATE_SETTINGS: {
@@ -1,9 +1,9 @@
1
1
  import e from "./Curve.mjs";
2
2
  import t from "./Grid.mjs";
3
3
  import n from "./Progress.mjs";
4
- import r from "clsx";
5
- import { Component as i, createRef as a } from "react";
6
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
4
+ import { Component as r, createRef as i } from "react";
5
+ import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
6
+ import c from "clsx";
7
7
  //#region src/components/InputEasing/InputEasing.tsx
8
8
  var l = [
9
9
  .25,
@@ -15,12 +15,12 @@ var l = [
15
15
  5,
16
16
  25,
17
17
  18
18
- ], d = class extends i {
18
+ ], d = class extends r {
19
19
  props;
20
20
  state;
21
21
  constructor(e) {
22
22
  super(e), this.props = e, this.state = {
23
- inputRef: a(),
23
+ inputRef: i(),
24
24
  handle: void 0
25
25
  };
26
26
  }
@@ -59,53 +59,53 @@ var l = [
59
59
  window.removeEventListener("mousemove", this.handleMouseMove), window.removeEventListener("mouseup", this.handleMouseUp);
60
60
  };
61
61
  render() {
62
- let { children: i, value: a = l, width: u = 300, height: d = 300, handleRadius: f = 5, className: p = "", progress: m = 0, readOnly: h = !1 } = this.props, { inputRef: g } = this.state, _ = {
62
+ let { children: r, value: i = l, width: u = 300, height: d = 300, handleRadius: f = 5, className: p = "", progress: m = 0, readOnly: h = !1 } = this.props, { inputRef: g } = this.state, _ = {
63
63
  xFrom: this.x(0),
64
64
  yFrom: this.y(0),
65
65
  xTo: this.x(1),
66
66
  yTo: this.y(1)
67
- }, v = this.x(0), y = this.y(0), b = this.x(a[0]), x = this.y(a[1]), S = Math.atan2(x - y, b - v), C = b - f * Math.cos(S), w = x - f * Math.sin(S), T = this.x(1), E = this.y(1), D = this.x(a[2]), O = this.y(a[3]), k = Math.atan2(O - E, D - T), A = D - f * Math.cos(k), j = O - f * Math.sin(k);
68
- return /* @__PURE__ */ c("svg", {
69
- className: r("overflow-visible select-none", p),
67
+ }, v = this.x(0), y = this.y(0), b = this.x(i[0]), x = this.y(i[1]), S = Math.atan2(x - y, b - v), C = b - f * Math.cos(S), w = x - f * Math.sin(S), T = this.x(1), E = this.y(1), D = this.x(i[2]), O = this.y(i[3]), k = Math.atan2(O - E, D - T), A = D - f * Math.cos(k), j = O - f * Math.sin(k);
68
+ return /* @__PURE__ */ s("svg", {
69
+ className: c("overflow-visible select-none", p),
70
70
  ref: g,
71
71
  width: u,
72
72
  height: d,
73
73
  children: [
74
- /* @__PURE__ */ s(t, { ..._ }),
75
- /* @__PURE__ */ s(n, {
74
+ /* @__PURE__ */ o(t, { ..._ }),
75
+ /* @__PURE__ */ o(n, {
76
76
  ..._,
77
- value: a,
77
+ value: i,
78
78
  progress: m
79
79
  }),
80
- /* @__PURE__ */ s(e, {
80
+ /* @__PURE__ */ o(e, {
81
81
  ..._,
82
- value: a
82
+ value: i
83
83
  }),
84
- i,
85
- !h && /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ c("g", {
84
+ r,
85
+ !h && /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ s("g", {
86
86
  className: "group",
87
- children: [/* @__PURE__ */ s("line", {
87
+ children: [/* @__PURE__ */ o("line", {
88
88
  x1: C,
89
89
  y1: w,
90
90
  x2: v,
91
91
  y2: y,
92
92
  className: "stroke-blue-400 stroke-[3px] group-hover:stroke-[4px]"
93
- }), /* @__PURE__ */ s("circle", {
93
+ }), /* @__PURE__ */ o("circle", {
94
94
  cx: b,
95
95
  cy: x,
96
96
  r: f,
97
97
  onMouseDown: this.handleMouseDown("bottom"),
98
98
  className: "cursor-pointer fill-blue-400 stroke-blue-400 stroke-[3px] group-hover:fill-white group-hover:stroke-[6px]"
99
99
  })]
100
- }), /* @__PURE__ */ c("g", {
100
+ }), /* @__PURE__ */ s("g", {
101
101
  className: "group",
102
- children: [/* @__PURE__ */ s("line", {
102
+ children: [/* @__PURE__ */ o("line", {
103
103
  x1: A,
104
104
  y1: j,
105
105
  x2: T,
106
106
  y2: E,
107
107
  className: "stroke-blue-400 stroke-[3px] group-hover:stroke-[4px]"
108
- }), /* @__PURE__ */ s("circle", {
108
+ }), /* @__PURE__ */ o("circle", {
109
109
  cx: D,
110
110
  cy: O,
111
111
  r: f,
@@ -1,12 +1,12 @@
1
- import e from "clsx";
2
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import t from "clsx";
3
3
  //#region src/components/InputEasing/InputEasingButton.tsx
4
- var n = ({ children: n, title: r = "", className: i = "", onClick: a }) => /* @__PURE__ */ t("button", {
4
+ var n = ({ children: n, title: r = "", className: i = "", onClick: a }) => /* @__PURE__ */ e("button", {
5
5
  type: "button",
6
6
  title: r,
7
7
  onClick: a,
8
- className: e("m-1 h-6 w-6 rounded-sm p-1 hover:bg-gray-100", i),
9
- children: /* @__PURE__ */ t("svg", {
8
+ className: t("m-1 h-6 w-6 rounded-sm p-1 hover:bg-gray-100", i),
9
+ children: /* @__PURE__ */ e("svg", {
10
10
  viewBox: "0 0 30 30",
11
11
  className: "overflow-visible",
12
12
  children: n
@@ -1,57 +1,57 @@
1
1
  import e from "./InputEasingButton.mjs";
2
- import t from "clsx";
3
- import { useCallback as n } from "react";
4
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
+ import { useCallback as t } from "react";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import i from "clsx";
5
5
  //#region src/components/InputEasing/InputEasingList.tsx
6
6
  var a = ({ className: a = "", onChange: o }) => {
7
- let s = n((e) => () => o?.(e), [o]);
8
- return /* @__PURE__ */ i("div", {
9
- className: t("flex flex-col border-r border-gray-300", a),
7
+ let s = t((e) => () => o?.(e), [o]);
8
+ return /* @__PURE__ */ r("div", {
9
+ className: i("flex flex-col border-r border-gray-300", a),
10
10
  children: [
11
- /* @__PURE__ */ i("div", {
11
+ /* @__PURE__ */ r("div", {
12
12
  className: "flex flex-col",
13
- children: [/* @__PURE__ */ r("div", {
13
+ children: [/* @__PURE__ */ n("div", {
14
14
  className: "bg-blue-400 p-1 text-xs text-white",
15
15
  children: "Default"
16
- }), /* @__PURE__ */ i("div", {
16
+ }), /* @__PURE__ */ r("div", {
17
17
  className: "flex flex-wrap",
18
18
  children: [
19
- /* @__PURE__ */ r(e, {
19
+ /* @__PURE__ */ n(e, {
20
20
  title: "Linear",
21
21
  onClick: s("linear"),
22
- children: /* @__PURE__ */ r("path", {
22
+ children: /* @__PURE__ */ n("path", {
23
23
  d: "M30,0 C22.5,7.5 7.5,22.5 0,30",
24
24
  className: "fill-transparent stroke-current stroke-2"
25
25
  })
26
26
  }),
27
- /* @__PURE__ */ r(e, {
27
+ /* @__PURE__ */ n(e, {
28
28
  title: "Ease",
29
29
  onClick: s("ease"),
30
- children: /* @__PURE__ */ r("path", {
30
+ children: /* @__PURE__ */ n("path", {
31
31
  d: "M30,0 C7.5,0 7.5,27 0,30",
32
32
  className: "fill-transparent stroke-current stroke-2"
33
33
  })
34
34
  }),
35
- /* @__PURE__ */ r(e, {
35
+ /* @__PURE__ */ n(e, {
36
36
  title: "Ease-in",
37
37
  onClick: s("ease-in"),
38
- children: /* @__PURE__ */ r("path", {
38
+ children: /* @__PURE__ */ n("path", {
39
39
  d: "M30,0 C30,0 12.6,30 0,30",
40
40
  className: "fill-transparent stroke-current stroke-2"
41
41
  })
42
42
  }),
43
- /* @__PURE__ */ r(e, {
43
+ /* @__PURE__ */ n(e, {
44
44
  title: "Ease-out",
45
45
  onClick: s("ease-out"),
46
- children: /* @__PURE__ */ r("path", {
46
+ children: /* @__PURE__ */ n("path", {
47
47
  d: "M30,0 C17.4,0 0,30 0,30",
48
48
  className: "fill-transparent stroke-current stroke-2"
49
49
  })
50
50
  }),
51
- /* @__PURE__ */ r(e, {
51
+ /* @__PURE__ */ n(e, {
52
52
  title: "Ease-in-out",
53
53
  onClick: s("ease-in-out"),
54
- children: /* @__PURE__ */ r("path", {
54
+ children: /* @__PURE__ */ n("path", {
55
55
  d: "M30,0 C17.4,0 12.6,30 0,30",
56
56
  className: "fill-transparent stroke-current stroke-2"
57
57
  })
@@ -59,74 +59,74 @@ var a = ({ className: a = "", onChange: o }) => {
59
59
  ]
60
60
  })]
61
61
  }),
62
- /* @__PURE__ */ i("div", {
62
+ /* @__PURE__ */ r("div", {
63
63
  className: "flex flex-col",
64
- children: [/* @__PURE__ */ r("div", {
64
+ children: [/* @__PURE__ */ n("div", {
65
65
  className: "bg-blue-400 p-1 text-xs text-white",
66
66
  children: "Ease In"
67
- }), /* @__PURE__ */ i("div", {
67
+ }), /* @__PURE__ */ r("div", {
68
68
  className: "flex flex-wrap",
69
69
  children: [
70
- /* @__PURE__ */ r(e, {
70
+ /* @__PURE__ */ n(e, {
71
71
  title: "Ease In Quad",
72
72
  onClick: s("easeInQuad"),
73
- children: /* @__PURE__ */ r("path", {
73
+ children: /* @__PURE__ */ n("path", {
74
74
  d: "M30,0 C20.400000000000002,14.1 16.5,27.45 0,30",
75
75
  className: "fill-transparent stroke-current stroke-2"
76
76
  })
77
77
  }),
78
- /* @__PURE__ */ r(e, {
78
+ /* @__PURE__ */ n(e, {
79
79
  title: "Ease In Cubic",
80
80
  onClick: s("easeInCubic"),
81
- children: /* @__PURE__ */ r("path", {
81
+ children: /* @__PURE__ */ n("path", {
82
82
  d: "M30,0 C20.25,24.3 16.5,28.35 0,30",
83
83
  className: "fill-transparent stroke-current stroke-2"
84
84
  })
85
85
  }),
86
- /* @__PURE__ */ r(e, {
86
+ /* @__PURE__ */ n(e, {
87
87
  title: "Ease In Quart",
88
88
  onClick: s("easeInQuart"),
89
- children: /* @__PURE__ */ r("path", {
89
+ children: /* @__PURE__ */ n("path", {
90
90
  d: "M30,0 C25.65,28.2 22.65,28.5 0,30",
91
91
  className: "fill-transparent stroke-current stroke-2"
92
92
  })
93
93
  }),
94
- /* @__PURE__ */ r(e, {
94
+ /* @__PURE__ */ n(e, {
95
95
  title: "Ease In Quint",
96
96
  onClick: s("easeInQuint"),
97
- children: /* @__PURE__ */ r("path", {
97
+ children: /* @__PURE__ */ n("path", {
98
98
  d: "M30,0 C25.65,28.2 22.65,28.5 0,30",
99
99
  className: "fill-transparent stroke-current stroke-2"
100
100
  })
101
101
  }),
102
- /* @__PURE__ */ r(e, {
102
+ /* @__PURE__ */ n(e, {
103
103
  title: "Ease In Sine",
104
104
  onClick: s("easeInSine"),
105
- children: /* @__PURE__ */ r("path", {
105
+ children: /* @__PURE__ */ n("path", {
106
106
  d: "M30,0 C22.35,8.55 14.1,30 0,30",
107
107
  className: "fill-transparent stroke-current stroke-2"
108
108
  })
109
109
  }),
110
- /* @__PURE__ */ r(e, {
110
+ /* @__PURE__ */ n(e, {
111
111
  title: "Ease In Expo",
112
112
  onClick: s("easeInExpo"),
113
- children: /* @__PURE__ */ r("path", {
113
+ children: /* @__PURE__ */ n("path", {
114
114
  d: "M30,0 C23.85,28.95 28.5,28.5 0,30",
115
115
  className: "fill-transparent stroke-current stroke-2"
116
116
  })
117
117
  }),
118
- /* @__PURE__ */ r(e, {
118
+ /* @__PURE__ */ n(e, {
119
119
  title: "Ease In Circ",
120
120
  onClick: s("easeInCirc"),
121
- children: /* @__PURE__ */ r("path", {
121
+ children: /* @__PURE__ */ n("path", {
122
122
  d: "M30,0 C29.4,19.95 18,28.8 0,30",
123
123
  className: "fill-transparent stroke-current stroke-2"
124
124
  })
125
125
  }),
126
- /* @__PURE__ */ r(e, {
126
+ /* @__PURE__ */ n(e, {
127
127
  title: "Ease In Back",
128
128
  onClick: s("easeInBack"),
129
- children: /* @__PURE__ */ r("path", {
129
+ children: /* @__PURE__ */ n("path", {
130
130
  d: "M30,0 C22.05,28.65 18,38.4 0,30",
131
131
  className: "fill-transparent stroke-current stroke-2"
132
132
  })
@@ -134,74 +134,74 @@ var a = ({ className: a = "", onChange: o }) => {
134
134
  ]
135
135
  })]
136
136
  }),
137
- /* @__PURE__ */ i("div", {
137
+ /* @__PURE__ */ r("div", {
138
138
  className: "flex flex-col",
139
- children: [/* @__PURE__ */ r("div", {
139
+ children: [/* @__PURE__ */ n("div", {
140
140
  className: "bg-blue-400 p-1 text-xs text-white",
141
141
  children: "Ease Out"
142
- }), /* @__PURE__ */ i("div", {
142
+ }), /* @__PURE__ */ r("div", {
143
143
  className: "flex flex-wrap",
144
144
  children: [
145
- /* @__PURE__ */ r(e, {
145
+ /* @__PURE__ */ n(e, {
146
146
  title: "Ease Out Quad",
147
147
  onClick: s("easeOutQuad"),
148
- children: /* @__PURE__ */ r("path", {
148
+ children: /* @__PURE__ */ n("path", {
149
149
  d: "M30,0 C13.5,1.8000000000000007 7.5,16.2 0,30",
150
150
  className: "fill-transparent stroke-current stroke-2"
151
151
  })
152
152
  }),
153
- /* @__PURE__ */ r(e, {
153
+ /* @__PURE__ */ n(e, {
154
154
  title: "Ease Out Cubic",
155
155
  onClick: s("easeOutCubic"),
156
- children: /* @__PURE__ */ r("path", {
156
+ children: /* @__PURE__ */ n("path", {
157
157
  d: "M30,0 C10.649999999999999,0 6.45,11.7 0,30",
158
158
  className: "fill-transparent stroke-current stroke-2"
159
159
  })
160
160
  }),
161
- /* @__PURE__ */ r(e, {
161
+ /* @__PURE__ */ n(e, {
162
162
  title: "Ease Out Quart",
163
163
  onClick: s("easeOutQuart"),
164
- children: /* @__PURE__ */ r("path", {
164
+ children: /* @__PURE__ */ n("path", {
165
165
  d: "M30,0 C13.2,0 4.95,4.800000000000001 0,30",
166
166
  className: "fill-transparent stroke-current stroke-2"
167
167
  })
168
168
  }),
169
- /* @__PURE__ */ r(e, {
169
+ /* @__PURE__ */ n(e, {
170
170
  title: "Ease Out Quint",
171
171
  onClick: s("easeOutQuint"),
172
- children: /* @__PURE__ */ r("path", {
172
+ children: /* @__PURE__ */ n("path", {
173
173
  d: "M30,0 C9.6,0 6.9,0 0,30",
174
174
  className: "fill-transparent stroke-current stroke-2"
175
175
  })
176
176
  }),
177
- /* @__PURE__ */ r(e, {
177
+ /* @__PURE__ */ n(e, {
178
178
  title: "Ease Out Sine",
179
179
  onClick: s("easeOutSine"),
180
- children: /* @__PURE__ */ r("path", {
180
+ children: /* @__PURE__ */ n("path", {
181
181
  d: "M30,0 C16.95,0 11.700000000000001,12.75 0,30",
182
182
  className: "fill-transparent stroke-current stroke-2"
183
183
  })
184
184
  }),
185
- /* @__PURE__ */ r(e, {
185
+ /* @__PURE__ */ n(e, {
186
186
  title: "Ease Out Expo",
187
187
  onClick: s("easeOutExpo"),
188
- children: /* @__PURE__ */ r("path", {
188
+ children: /* @__PURE__ */ n("path", {
189
189
  d: "M30,0 C6.6,0 5.7,0 0,30",
190
190
  className: "fill-transparent stroke-current stroke-2"
191
191
  })
192
192
  }),
193
- /* @__PURE__ */ r(e, {
193
+ /* @__PURE__ */ n(e, {
194
194
  title: "Ease Out Circ",
195
195
  onClick: s("easeOutCirc"),
196
- children: /* @__PURE__ */ r("path", {
196
+ children: /* @__PURE__ */ n("path", {
197
197
  d: "M30,0 C4.95,0 2.25,5.400000000000002 0,30",
198
198
  className: "fill-transparent stroke-current stroke-2"
199
199
  })
200
200
  }),
201
- /* @__PURE__ */ r(e, {
201
+ /* @__PURE__ */ n(e, {
202
202
  title: "Ease Out Back",
203
203
  onClick: s("easeOutBack"),
204
- children: /* @__PURE__ */ r("path", {
204
+ children: /* @__PURE__ */ n("path", {
205
205
  d: "M30,0 C9.6,-8.25 5.25,3.4499999999999993 0,30",
206
206
  className: "fill-transparent stroke-current stroke-2"
207
207
  })
@@ -209,74 +209,74 @@ var a = ({ className: a = "", onChange: o }) => {
209
209
  ]
210
210
  })]
211
211
  }),
212
- /* @__PURE__ */ i("div", {
212
+ /* @__PURE__ */ r("div", {
213
213
  className: "flex flex-col",
214
- children: [/* @__PURE__ */ r("div", {
214
+ children: [/* @__PURE__ */ n("div", {
215
215
  className: "bg-blue-400 p-1 text-xs text-white",
216
216
  children: "Ease In Out"
217
- }), /* @__PURE__ */ i("div", {
217
+ }), /* @__PURE__ */ r("div", {
218
218
  className: "flex flex-wrap",
219
219
  children: [
220
- /* @__PURE__ */ r(e, {
220
+ /* @__PURE__ */ n(e, {
221
221
  title: "Ease In Out Quad",
222
222
  onClick: s("easeInOutQuad"),
223
- children: /* @__PURE__ */ r("path", {
223
+ children: /* @__PURE__ */ n("path", {
224
224
  d: "M30,0 C15.450000000000001,1.3500000000000014 13.65,29.1 0,30",
225
225
  className: "fill-transparent stroke-current stroke-2"
226
226
  })
227
227
  }),
228
- /* @__PURE__ */ r(e, {
228
+ /* @__PURE__ */ n(e, {
229
229
  title: "Ease In Out Cubic",
230
230
  onClick: s("easeInOutCubic"),
231
- children: /* @__PURE__ */ r("path", {
231
+ children: /* @__PURE__ */ n("path", {
232
232
  d: "M30,0 C10.649999999999999,0 19.35,28.65 0,30",
233
233
  className: "fill-transparent stroke-current stroke-2"
234
234
  })
235
235
  }),
236
- /* @__PURE__ */ r(e, {
236
+ /* @__PURE__ */ n(e, {
237
237
  title: "Ease In Out Quart",
238
238
  onClick: s("easeInOutQuart"),
239
- children: /* @__PURE__ */ r("path", {
239
+ children: /* @__PURE__ */ n("path", {
240
240
  d: "M30,0 C5.25,0 23.1,30 0,30",
241
241
  className: "fill-transparent stroke-current stroke-2"
242
242
  })
243
243
  }),
244
- /* @__PURE__ */ r(e, {
244
+ /* @__PURE__ */ n(e, {
245
245
  title: "Ease In Out Quint",
246
246
  onClick: s("easeInOutQuint"),
247
- children: /* @__PURE__ */ r("path", {
247
+ children: /* @__PURE__ */ n("path", {
248
248
  d: "M30,0 C2.1,0 25.8,30 0,30",
249
249
  className: "fill-transparent stroke-current stroke-2"
250
250
  })
251
251
  }),
252
- /* @__PURE__ */ r(e, {
252
+ /* @__PURE__ */ n(e, {
253
253
  title: "Ease In Out Sine",
254
254
  onClick: s("easeInOutSine"),
255
- children: /* @__PURE__ */ r("path", {
255
+ children: /* @__PURE__ */ n("path", {
256
256
  d: "M30,0 C16.5,1.5 13.35,28.5 0,30",
257
257
  className: "fill-transparent stroke-current stroke-2"
258
258
  })
259
259
  }),
260
- /* @__PURE__ */ r(e, {
260
+ /* @__PURE__ */ n(e, {
261
261
  title: "Ease In Out Expo",
262
262
  onClick: s("easeInOutExpo"),
263
- children: /* @__PURE__ */ r("path", {
263
+ children: /* @__PURE__ */ n("path", {
264
264
  d: "M30,0 C0,0 30,30 0,30",
265
265
  className: "fill-transparent stroke-current stroke-2"
266
266
  })
267
267
  }),
268
- /* @__PURE__ */ r(e, {
268
+ /* @__PURE__ */ n(e, {
269
269
  title: "Ease In Out Circ",
270
270
  onClick: s("easeInOutCirc"),
271
- children: /* @__PURE__ */ r("path", {
271
+ children: /* @__PURE__ */ n("path", {
272
272
  d: "M30,0 C4.5,4.199999999999999 23.55,25.95 0,30",
273
273
  className: "fill-transparent stroke-current stroke-2"
274
274
  })
275
275
  }),
276
- /* @__PURE__ */ r(e, {
276
+ /* @__PURE__ */ n(e, {
277
277
  title: "Ease In Out Back",
278
278
  onClick: s("easeInOutBack"),
279
- children: /* @__PURE__ */ r("path", {
279
+ children: /* @__PURE__ */ n("path", {
280
280
  d: "M30,0 C7.95,-16.5 20.400000000000002,46.5 0,30",
281
281
  className: "fill-transparent stroke-current stroke-2"
282
282
  })