@plitzi/sdk-style 0.39.1 → 0.39.2

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 (232) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/SdkStyleContextProvider.mjs +2 -3
  3. package/dist/StyleContext.mjs +1 -2
  4. package/dist/StyleHelper.mjs +1 -2
  5. package/dist/StyleMap/StyleMap.mjs +1 -2
  6. package/dist/StyleMap/helpers/getStyleItem.mjs +1 -2
  7. package/dist/StyleMap/helpers/isValueValid.mjs +1 -2
  8. package/dist/StyleMap/helpers/utils.mjs +1 -2
  9. package/dist/StyleMap/index.mjs +1 -2
  10. package/dist/StyleMap/methods/addSelector.mjs +2 -3
  11. package/dist/StyleMap/methods/updateSelector.mjs +1 -2
  12. package/dist/StyleReducer.mjs +1 -2
  13. package/dist/_virtual/_rolldown/runtime.mjs +1 -2
  14. package/dist/builder/BuilderStyleContextProvider.mjs +2 -3
  15. package/dist/builder/StyleAdvanceEditor.mjs +3 -4
  16. package/dist/builder/components/InputEasing/BezierEasing.mjs +1 -2
  17. package/dist/builder/components/InputEasing/Curve.mjs +1 -2
  18. package/dist/builder/components/InputEasing/Grid.mjs +1 -2
  19. package/dist/builder/components/InputEasing/InputEasing.mjs +1 -2
  20. package/dist/builder/components/InputEasing/InputEasingButton.mjs +1 -2
  21. package/dist/builder/components/InputEasing/InputEasingHelper.mjs +1 -2
  22. package/dist/builder/components/InputEasing/InputEasingList.mjs +1 -2
  23. package/dist/builder/components/InputEasing/Progress.mjs +1 -2
  24. package/dist/builder/components/InputEasing/index.mjs +1 -2
  25. package/dist/builder/components/Selector/Selector.mjs +1 -2
  26. package/dist/builder/components/Selector/SelectorHelper.mjs +1 -2
  27. package/dist/builder/components/Selector/SelectorItem/ItemOptions.mjs +12 -13
  28. package/dist/builder/components/Selector/SelectorItem/SelectorItem.mjs +1 -2
  29. package/dist/builder/components/Selector/SelectorItem/helpers.mjs +1 -2
  30. package/dist/builder/components/Selector/SelectorItem/index.mjs +1 -2
  31. package/dist/builder/components/Selector/SelectorSuggestions/SelectorSuggestions.mjs +1 -2
  32. package/dist/builder/components/Selector/SelectorSuggestions/SuggestionsCreator.mjs +1 -2
  33. package/dist/builder/components/Selector/SelectorSuggestions/SuggestionsList.mjs +1 -2
  34. package/dist/builder/components/Selector/SelectorSuggestions/index.mjs +1 -2
  35. package/dist/builder/components/Selector/index.mjs +1 -2
  36. package/dist/builder/components/StyleInspector/Inspector.mjs +151 -152
  37. package/dist/builder/components/StyleInspector/InspectorSearchContext.mjs +1 -2
  38. package/dist/builder/components/StyleInspector/StyleInspector.mjs +14 -15
  39. package/dist/builder/components/StyleInspector/StyleInspectorContext.mjs +0 -1
  40. package/dist/builder/components/StyleInspector/StyleInspectorProvider.mjs +7 -8
  41. package/dist/builder/components/StyleInspector/categories/Background/Background.mjs +32 -33
  42. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundAttachment/BackgroundAttachment.mjs +8 -9
  43. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundAttachment/index.mjs +1 -2
  44. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundLayer/BackgroundLayer.mjs +36 -37
  45. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundLayer/helpers.mjs +1 -2
  46. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundLayer/index.mjs +1 -2
  47. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundPosition/BackgroundPosition.mjs +11 -12
  48. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundPosition/index.mjs +1 -2
  49. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundSize/BackgroundSize.mjs +18 -19
  50. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundSize/helpers.mjs +1 -2
  51. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundSize/index.mjs +1 -2
  52. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundTile/BackgroundTile.mjs +8 -9
  53. package/dist/builder/components/StyleInspector/categories/Background/components/BackgroundTile/index.mjs +1 -2
  54. package/dist/builder/components/StyleInspector/categories/Background/components/GradientCenter/GradientCenter.mjs +8 -9
  55. package/dist/builder/components/StyleInspector/categories/Background/components/GradientCenter/index.mjs +1 -2
  56. package/dist/builder/components/StyleInspector/categories/Background/components/GradientStopBar/GradientPreviewBar.mjs +6 -7
  57. package/dist/builder/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopBar.mjs +14 -15
  58. package/dist/builder/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopEditor.mjs +1 -2
  59. package/dist/builder/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopHandle.mjs +11 -12
  60. package/dist/builder/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopTrack.mjs +1 -2
  61. package/dist/builder/components/StyleInspector/categories/Background/components/GradientStopBar/helpers.mjs +1 -2
  62. package/dist/builder/components/StyleInspector/categories/Background/components/GradientStopBar/index.mjs +1 -2
  63. package/dist/builder/components/StyleInspector/categories/Background/components/LayerGroup/LayerGroup.mjs +1 -2
  64. package/dist/builder/components/StyleInspector/categories/Background/components/LayerGroup/index.mjs +1 -2
  65. package/dist/builder/components/StyleInspector/categories/Background/helpers/backgroundParser.mjs +1 -2
  66. package/dist/builder/components/StyleInspector/categories/Background/helpers/layerValues.mjs +1 -2
  67. package/dist/builder/components/StyleInspector/categories/Background/helpers/normalizeLeft.mjs +1 -2
  68. package/dist/builder/components/StyleInspector/categories/Background/helpers/parseToBgLayers.mjs +1 -2
  69. package/dist/builder/components/StyleInspector/categories/Background/index.mjs +1 -2
  70. package/dist/builder/components/StyleInspector/categories/Background/modes/ConicGradientMode.mjs +6 -7
  71. package/dist/builder/components/StyleInspector/categories/Background/modes/ImageMode.mjs +6 -7
  72. package/dist/builder/components/StyleInspector/categories/Background/modes/LinearGradientMode.mjs +11 -12
  73. package/dist/builder/components/StyleInspector/categories/Background/modes/RadialGradientMode.mjs +19 -20
  74. package/dist/builder/components/StyleInspector/categories/Background/modes/RawMode.mjs +6 -7
  75. package/dist/builder/components/StyleInspector/categories/Background/modes/helpers.mjs +1 -2
  76. package/dist/builder/components/StyleInspector/categories/Border/Border.mjs +19 -20
  77. package/dist/builder/components/StyleInspector/categories/Border/BorderColor.mjs +1 -2
  78. package/dist/builder/components/StyleInspector/categories/Border/BorderPlacements.mjs +1 -2
  79. package/dist/builder/components/StyleInspector/categories/Border/BorderRadius.mjs +1 -2
  80. package/dist/builder/components/StyleInspector/categories/Border/BorderStyle.mjs +1 -2
  81. package/dist/builder/components/StyleInspector/categories/Border/BorderWidth.mjs +1 -2
  82. package/dist/builder/components/StyleInspector/categories/Border/index.mjs +1 -2
  83. package/dist/builder/components/StyleInspector/categories/Display/Display.mjs +26 -27
  84. package/dist/builder/components/StyleInspector/categories/Display/DisplayElements.mjs +7 -2
  85. package/dist/builder/components/StyleInspector/categories/Display/DisplayFlex.mjs +1 -2
  86. package/dist/builder/components/StyleInspector/categories/Display/DisplayFlexAlignContent.mjs +1 -2
  87. package/dist/builder/components/StyleInspector/categories/Display/DisplayFlexAlignItems.mjs +1 -2
  88. package/dist/builder/components/StyleInspector/categories/Display/DisplayFlexDirection.mjs +1 -2
  89. package/dist/builder/components/StyleInspector/categories/Display/DisplayFlexJustify.mjs +1 -2
  90. package/dist/builder/components/StyleInspector/categories/Display/DisplayGap.mjs +1 -2
  91. package/dist/builder/components/StyleInspector/categories/Display/DisplayGridTemplate.mjs +1 -2
  92. package/dist/builder/components/StyleInspector/categories/Display/index.mjs +1 -2
  93. package/dist/builder/components/StyleInspector/categories/DisplayFlexChild/DisplayAlignSelf.mjs +1 -2
  94. package/dist/builder/components/StyleInspector/categories/DisplayFlexChild/DisplayFlexChild.mjs +21 -22
  95. package/dist/builder/components/StyleInspector/categories/DisplayFlexChild/DisplayOrder.mjs +1 -2
  96. package/dist/builder/components/StyleInspector/categories/DisplayFlexChild/index.mjs +1 -2
  97. package/dist/builder/components/StyleInspector/categories/Effects/BoxShadow/BoxShadow.mjs +6 -7
  98. package/dist/builder/components/StyleInspector/categories/Effects/BoxShadow/index.mjs +1 -2
  99. package/dist/builder/components/StyleInspector/categories/Effects/Effects.mjs +36 -37
  100. package/dist/builder/components/StyleInspector/categories/Effects/Filters/Filter.mjs +14 -15
  101. package/dist/builder/components/StyleInspector/categories/Effects/Filters/FilterItem.mjs +20 -21
  102. package/dist/builder/components/StyleInspector/categories/Effects/Filters/helpers.mjs +1 -2
  103. package/dist/builder/components/StyleInspector/categories/Effects/Filters/index.mjs +1 -2
  104. package/dist/builder/components/StyleInspector/categories/Effects/Transform/Transform.mjs +8 -9
  105. package/dist/builder/components/StyleInspector/categories/Effects/Transform/TransformItem.mjs +17 -18
  106. package/dist/builder/components/StyleInspector/categories/Effects/Transform/index.mjs +1 -2
  107. package/dist/builder/components/StyleInspector/categories/Effects/Transform/transformFunctions.mjs +1 -2
  108. package/dist/builder/components/StyleInspector/categories/Effects/Transition/Transition.mjs +9 -10
  109. package/dist/builder/components/StyleInspector/categories/Effects/Transition/TransitionEasing.mjs +21 -22
  110. package/dist/builder/components/StyleInspector/categories/Effects/Transition/TransitionItem.mjs +21 -22
  111. package/dist/builder/components/StyleInspector/categories/Effects/Transition/helpers.mjs +1 -2
  112. package/dist/builder/components/StyleInspector/categories/Effects/Transition/index.mjs +1 -2
  113. package/dist/builder/components/StyleInspector/categories/Effects/index.mjs +1 -2
  114. package/dist/builder/components/StyleInspector/categories/List/List.mjs +10 -11
  115. package/dist/builder/components/StyleInspector/categories/List/index.mjs +1 -2
  116. package/dist/builder/components/StyleInspector/categories/ListItem/ListItem.mjs +10 -11
  117. package/dist/builder/components/StyleInspector/categories/ListItem/index.mjs +1 -2
  118. package/dist/builder/components/StyleInspector/categories/Others/Others.mjs +27 -28
  119. package/dist/builder/components/StyleInspector/categories/Others/OthersForm.mjs +1 -2
  120. package/dist/builder/components/StyleInspector/categories/Others/OthersInteraction.mjs +16 -17
  121. package/dist/builder/components/StyleInspector/categories/Others/OthersOutline.mjs +1 -2
  122. package/dist/builder/components/StyleInspector/categories/Others/OthersScrollSnap.mjs +1 -2
  123. package/dist/builder/components/StyleInspector/categories/Others/OthersScrollbar.mjs +1 -2
  124. package/dist/builder/components/StyleInspector/categories/Others/OthersSvg.mjs +1 -2
  125. package/dist/builder/components/StyleInspector/categories/Others/OthersTable.mjs +1 -2
  126. package/dist/builder/components/StyleInspector/categories/Others/index.mjs +1 -2
  127. package/dist/builder/components/StyleInspector/categories/Position/Position.mjs +18 -19
  128. package/dist/builder/components/StyleInspector/categories/Position/PositionAdvanced.mjs +1 -2
  129. package/dist/builder/components/StyleInspector/categories/Position/PositionAdvancedButtons.mjs +1 -2
  130. package/dist/builder/components/StyleInspector/categories/Position/PositionClear.mjs +1 -2
  131. package/dist/builder/components/StyleInspector/categories/Position/PositionFloat.mjs +1 -2
  132. package/dist/builder/components/StyleInspector/categories/Position/index.mjs +1 -2
  133. package/dist/builder/components/StyleInspector/categories/RawStyle/RawStyle.mjs +2 -3
  134. package/dist/builder/components/StyleInspector/categories/RawStyle/index.mjs +1 -2
  135. package/dist/builder/components/StyleInspector/categories/Size/Size.mjs +36 -37
  136. package/dist/builder/components/StyleInspector/categories/Size/SizeContainer.mjs +1 -2
  137. package/dist/builder/components/StyleInspector/categories/Size/SizeFit.mjs +1 -2
  138. package/dist/builder/components/StyleInspector/categories/Size/SizeOverflow.mjs +1 -2
  139. package/dist/builder/components/StyleInspector/categories/Size/SizePosition.mjs +1 -2
  140. package/dist/builder/components/StyleInspector/categories/Size/index.mjs +1 -2
  141. package/dist/builder/components/StyleInspector/categories/Spacing/Spacing.mjs +7 -8
  142. package/dist/builder/components/StyleInspector/categories/Spacing/SpacingBox.mjs +8 -9
  143. package/dist/builder/components/StyleInspector/categories/Spacing/SpacingEditor.mjs +1 -2
  144. package/dist/builder/components/StyleInspector/categories/Spacing/SpacingMargin.mjs +1 -2
  145. package/dist/builder/components/StyleInspector/categories/Spacing/SpacingNumber.mjs +1 -2
  146. package/dist/builder/components/StyleInspector/categories/Spacing/SpacingPadding.mjs +1 -2
  147. package/dist/builder/components/StyleInspector/categories/Spacing/index.mjs +1 -2
  148. package/dist/builder/components/StyleInspector/categories/Typography/Typography.mjs +48 -49
  149. package/dist/builder/components/StyleInspector/categories/Typography/TypographyAlign.mjs +1 -2
  150. package/dist/builder/components/StyleInspector/categories/Typography/TypographyBreaking.mjs +13 -14
  151. package/dist/builder/components/StyleInspector/categories/Typography/TypographyClamp.mjs +1 -2
  152. package/dist/builder/components/StyleInspector/categories/Typography/TypographyConstants.mjs +1 -2
  153. package/dist/builder/components/StyleInspector/categories/Typography/TypographyFigures.mjs +1 -2
  154. package/dist/builder/components/StyleInspector/categories/Typography/TypographyFont.mjs +7 -8
  155. package/dist/builder/components/StyleInspector/categories/Typography/TypographyStyle.mjs +10 -11
  156. package/dist/builder/components/StyleInspector/categories/Typography/TypographyTextShadow.mjs +8 -9
  157. package/dist/builder/components/StyleInspector/categories/Typography/TypographyTransform.mjs +1 -2
  158. package/dist/builder/components/StyleInspector/categories/Typography/index.mjs +1 -2
  159. package/dist/builder/components/StyleInspector/categories/Variables/Variables.mjs +7 -8
  160. package/dist/builder/components/StyleInspector/categories/Variables/index.mjs +1 -2
  161. package/dist/builder/components/StyleInspector/categories/blendModes.mjs +1 -2
  162. package/dist/builder/components/StyleInspector/categories/listMarkers.mjs +1 -2
  163. package/dist/builder/components/StyleInspector/categoryKeys.mjs +1 -2
  164. package/dist/builder/components/StyleInspector/components/AncestorRules/AncestorRuleChip.mjs +0 -1
  165. package/dist/builder/components/StyleInspector/components/AncestorRules/AncestorRules.mjs +0 -1
  166. package/dist/builder/components/StyleInspector/components/AncestorRules/index.mjs +1 -2
  167. package/dist/builder/components/StyleInspector/components/CategoryAdvanced/CategoryAdvanced.mjs +1 -2
  168. package/dist/builder/components/StyleInspector/components/CategoryAdvanced/CategoryAdvancedContext.mjs +1 -2
  169. package/dist/builder/components/StyleInspector/components/CategoryAdvanced/index.mjs +5 -6
  170. package/dist/builder/components/StyleInspector/components/CategoryContainer/CategoryContainer.mjs +6 -7
  171. package/dist/builder/components/StyleInspector/components/CategoryContainer/index.mjs +1 -2
  172. package/dist/builder/components/StyleInspector/components/CategoryOption/CategoryOption.mjs +1 -2
  173. package/dist/builder/components/StyleInspector/components/CategoryOption/categoryTypes/OptionColor.mjs +1 -2
  174. package/dist/builder/components/StyleInspector/components/CategoryOption/categoryTypes/OptionIconGroup.mjs +1 -2
  175. package/dist/builder/components/StyleInspector/components/CategoryOption/categoryTypes/OptionInput.mjs +1 -2
  176. package/dist/builder/components/StyleInspector/components/CategoryOption/categoryTypes/OptionMetricInput.mjs +1 -2
  177. package/dist/builder/components/StyleInspector/components/CategoryOption/categoryTypes/OptionSelect.mjs +1 -2
  178. package/dist/builder/components/StyleInspector/components/CategoryOption/index.mjs +1 -2
  179. package/dist/builder/components/StyleInspector/components/CategorySection/CategorySection.mjs +1 -2
  180. package/dist/builder/components/StyleInspector/components/CategorySection/index.mjs +1 -2
  181. package/dist/builder/components/StyleInspector/components/ColorSwatch/ColorSwatch.mjs +5 -6
  182. package/dist/builder/components/StyleInspector/components/ColorSwatch/helpers.mjs +1 -2
  183. package/dist/builder/components/StyleInspector/components/ColorSwatch/index.mjs +1 -2
  184. package/dist/builder/components/StyleInspector/components/InspectorDots/InspectorDots.mjs +1 -2
  185. package/dist/builder/components/StyleInspector/components/InspectorDots/index.mjs +1 -2
  186. package/dist/builder/components/StyleInspector/components/InspectorFooter/InspectorFooter.mjs +1 -2
  187. package/dist/builder/components/StyleInspector/components/InspectorFooter/helpers.mjs +2 -10
  188. package/dist/builder/components/StyleInspector/components/InspectorFooter/index.mjs +1 -2
  189. package/dist/builder/components/StyleInspector/components/InspectorLabel/InspectorLabel.mjs +3 -4
  190. package/dist/builder/components/StyleInspector/components/InspectorLabel/helpers.mjs +1 -2
  191. package/dist/builder/components/StyleInspector/components/InspectorLabel/index.mjs +1 -2
  192. package/dist/builder/components/StyleInspector/components/InspectorSearch/InspectorSearch.mjs +1 -2
  193. package/dist/builder/components/StyleInspector/components/InspectorSearch/index.mjs +1 -2
  194. package/dist/builder/components/StyleInspector/components/ShadowItem/ShadowItem.mjs +18 -19
  195. package/dist/builder/components/StyleInspector/components/ShadowItem/index.mjs +1 -2
  196. package/dist/builder/components/StyleInspector/components/ShadowList/ShadowList.mjs +8 -9
  197. package/dist/builder/components/StyleInspector/components/ShadowList/index.mjs +1 -2
  198. package/dist/builder/components/StyleInspector/components/TargetSummary/TargetSummary.mjs +0 -1
  199. package/dist/builder/components/StyleInspector/components/TargetSummary/index.mjs +1 -2
  200. package/dist/builder/components/StyleInspector/components/ValueList/ValueList.mjs +0 -1
  201. package/dist/builder/components/StyleInspector/components/ValueList/index.mjs +1 -2
  202. package/dist/builder/components/StyleInspector/components/ValueListItem/ValueListItem.mjs +0 -1
  203. package/dist/builder/components/StyleInspector/components/ValueListItem/index.mjs +1 -2
  204. package/dist/builder/components/StyleInspector/cssValues.mjs +1 -2
  205. package/dist/builder/components/StyleInspector/helpers.mjs +1 -2
  206. package/dist/builder/components/StyleInspector/hooks/useInspectorValues.mjs +1 -2
  207. package/dist/builder/components/StyleInspector/hooks/usePropertyChange.mjs +1 -2
  208. package/dist/builder/components/StyleInspector/hooks/useStyleBinding.mjs +1 -2
  209. package/dist/builder/components/StyleInspector/hooks/useStyleInherit.mjs +1 -2
  210. package/dist/builder/components/StyleInspector/index.mjs +1 -2
  211. package/dist/builder/components/StyleInspector/search.mjs +1 -2
  212. package/dist/builder/components/StyleInspector/shadowValue.mjs +1 -2
  213. package/dist/builder/components/StyleManager/ManagerSelector.mjs +0 -1
  214. package/dist/builder/components/StyleManager/StyleManager.mjs +1 -2
  215. package/dist/builder/components/StyleManager/StyleSelectorTag.mjs +0 -1
  216. package/dist/builder/components/StyleManager/index.mjs +1 -2
  217. package/dist/builder/components/index.mjs +1 -2
  218. package/dist/builder/hooks/useSpaceFonts.mjs +1 -2
  219. package/dist/builder/index.mjs +3 -3
  220. package/dist/builder/models/SelectorForm/SelectorForm.mjs +1 -2
  221. package/dist/builder/models/SelectorForm/index.mjs +1 -2
  222. package/dist/helpers/calculateInheriting.mjs +2 -3
  223. package/dist/helpers/formatCssFromSelector.mjs +1 -2
  224. package/dist/helpers/generateStyleSelector.mjs +1 -2
  225. package/dist/helpers/index.mjs +11 -12
  226. package/dist/helpers/processCssTokens.mjs +1 -2
  227. package/dist/helpers/processSelector.mjs +1 -2
  228. package/dist/helpers/processSelectorAttributes.mjs +1 -2
  229. package/dist/helpers/processSelectorName.mjs +1 -2
  230. package/dist/helpers/processSelectorVariables.mjs +1 -2
  231. package/dist/index.mjs +11 -11
  232. package/package.json +15 -12
@@ -1,29 +1,28 @@
1
- import { splitBySpaceOutsideParens as e } from "../../../cssValues.mjs";
2
- import t from "../../../components/ValueList/index.mjs";
3
- import { FILTER_SPECS as n, serializeFilter as r } from "./helpers.mjs";
4
- import i from "./FilterItem.mjs";
1
+ import e from "./FilterItem.mjs";
2
+ import { FILTER_SPECS as t, serializeFilter as n } from "./helpers.mjs";
3
+ import r from "../../../components/ValueList/index.mjs";
4
+ import { splitBySpaceOutsideParens as i } from "../../../cssValues.mjs";
5
5
  import { useCallback as a } from "react";
6
6
  import { jsx as o } from "react/jsx-runtime";
7
- //#region src/builder/components/StyleInspector/categories/Effects/Filters/Filter.tsx
7
+ // src/builder/components/StyleInspector/categories/Effects/Filters/Filter.tsx
8
8
  var s = ({ styleKey: s = "filter", label: c = "Filters", value: l, onChange: u }) => {
9
- let d = typeof l == "string" && l !== "" ? e(l) : [], f = s === "backdrop-filter" ? "Backdrop filter" : "Filter", p = a((e) => u?.(e.length > 0 ? e.join(" ") : ""), [u]), m = (e) => () => p(d.filter((t, n) => n !== e)), h = (e) => (t) => {
9
+ let d = typeof l == "string" && l !== "" ? i(l) : [], f = s === "backdrop-filter" ? "Backdrop filter" : "Filter", p = a((e) => u?.(e.length > 0 ? e.join(" ") : ""), [u]), m = (e) => () => p(d.filter((t, n) => n !== e)), h = (e) => (t) => {
10
10
  t !== d[e] && p(d.map((n, r) => r === e ? t : n));
11
11
  };
12
- return /* @__PURE__ */ o(t, {
12
+ return /* @__PURE__ */ o(r, {
13
13
  label: c,
14
14
  keys: [s],
15
15
  addLabel: `Add ${f.toLowerCase()}`,
16
- onAdd: () => p([...d, r({
16
+ onAdd: () => p([...d, n({
17
17
  name: "blur",
18
- amount: n.blur.default
18
+ amount: t.blur.default
19
19
  })]),
20
- children: d.length > 0 && d.map((e, t) => /* @__PURE__ */ o(i, {
21
- value: e,
20
+ children: d.length > 0 && d.map((t, n) => /* @__PURE__ */ o(e, {
21
+ value: t,
22
22
  title: f,
23
- onChange: h(t),
24
- onRemove: m(t)
25
- }, t))
23
+ onChange: h(n),
24
+ onRemove: m(n)
25
+ }, n))
26
26
  });
27
27
  };
28
- //#endregion
29
28
  export { s as default };
@@ -1,31 +1,31 @@
1
- import { asText as e } from "../../../cssValues.mjs";
2
- import t from "../../../components/CategoryOption/index.mjs";
3
- import n from "../../../components/ValueListItem/index.mjs";
4
- import { FILTER_GROUPS as r, FILTER_SPECS as i, parseFilter as a, serializeFilter as o } from "./helpers.mjs";
1
+ import { FILTER_GROUPS as e, FILTER_SPECS as t, parseFilter as n, serializeFilter as r } from "./helpers.mjs";
2
+ import i from "../../../components/CategoryOption/index.mjs";
3
+ import a from "../../../components/ValueListItem/index.mjs";
4
+ import { asText as o } from "../../../cssValues.mjs";
5
5
  import { useCallback as s, useRef as c } from "react";
6
6
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
7
- //#region src/builder/components/StyleInspector/categories/Effects/Filters/FilterItem.tsx
8
- var f = Object.entries(i), p = ({ value: p, title: m, onRemove: h, onChange: g }) => {
9
- let _ = a(p), v = c(_);
7
+ // src/builder/components/StyleInspector/categories/Effects/Filters/FilterItem.tsx
8
+ var f = Object.entries(t), p = ({ value: p, title: m, onRemove: h, onChange: g }) => {
9
+ let _ = n(p), v = c(_);
10
10
  v.current = _;
11
- let y = _ ? i[_.name] : void 0, b = s((t) => {
12
- let n = e(t);
13
- Object.hasOwn(i, n) && g(o({
11
+ let y = _ ? t[_.name] : void 0, b = s((e) => {
12
+ let n = o(e);
13
+ Object.hasOwn(t, n) && g(r({
14
14
  name: n,
15
- amount: i[n].default
15
+ amount: t[n].default
16
16
  }));
17
- }, [g]), x = s((t) => {
18
- v.current && g(o({
17
+ }, [g]), x = s((e) => {
18
+ v.current && g(r({
19
19
  ...v.current,
20
- amount: e(t)
20
+ amount: o(e)
21
21
  }));
22
- }, [g]), S = s((t) => g(e(t)), [g]);
23
- return /* @__PURE__ */ d(n, {
22
+ }, [g]), S = s((e) => g(o(e)), [g]);
23
+ return /* @__PURE__ */ d(a, {
24
24
  summary: p,
25
25
  title: m,
26
26
  removeLabel: `Remove ${m.toLowerCase()}`,
27
27
  onRemove: h,
28
- children: [!_ && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(t, {
28
+ children: [!_ && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(i, {
29
29
  label: "Value",
30
30
  type: "input",
31
31
  value: p,
@@ -35,19 +35,19 @@ var f = Object.entries(i), p = ({ value: p, title: m, onRemove: h, onChange: g }
35
35
  children: "A function the editor has no control for, so it is edited as written."
36
36
  })] }), _ && y && /* @__PURE__ */ d("div", {
37
37
  className: "grid grid-cols-2 gap-2",
38
- children: [/* @__PURE__ */ u(t, {
38
+ children: [/* @__PURE__ */ u(i, {
39
39
  label: "Function",
40
40
  type: "select",
41
41
  value: _.name,
42
42
  onChange: b,
43
- children: r.map((e) => /* @__PURE__ */ u("optgroup", {
43
+ children: e.map((e) => /* @__PURE__ */ u("optgroup", {
44
44
  label: e,
45
45
  children: f.filter(([, t]) => t.group === e).map(([e, t]) => /* @__PURE__ */ u("option", {
46
46
  value: e,
47
47
  children: t.label
48
48
  }, e))
49
49
  }, e))
50
- }), /* @__PURE__ */ u(t, {
50
+ }), /* @__PURE__ */ u(i, {
51
51
  label: "Amount",
52
52
  type: "metric",
53
53
  value: _.amount,
@@ -59,5 +59,4 @@ var f = Object.entries(i), p = ({ value: p, title: m, onRemove: h, onChange: g }
59
59
  })]
60
60
  });
61
61
  };
62
- //#endregion
63
62
  export { p as default };
@@ -1,4 +1,4 @@
1
- //#region src/builder/components/StyleInspector/categories/Effects/Filters/helpers.ts
1
+ // src/builder/components/StyleInspector/categories/Effects/Filters/helpers.ts
2
2
  var e = [{
3
3
  label: "%",
4
4
  value: "%"
@@ -83,5 +83,4 @@ var e = [{
83
83
  amount: n[2].trim()
84
84
  };
85
85
  }, a = ({ name: e, amount: t }) => `${e}(${t})`;
86
- //#endregion
87
86
  export { n as FILTER_GROUPS, t as FILTER_SPECS, i as parseFilter, a as serializeFilter };
@@ -1,5 +1,4 @@
1
1
  import e from "./Filter.mjs";
2
- //#region src/builder/components/StyleInspector/categories/Effects/Filters/index.ts
2
+ // src/builder/components/StyleInspector/categories/Effects/Filters/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,26 +1,25 @@
1
- import e from "../../../components/ValueList/index.mjs";
2
- import { DEFAULT_FUNCTION as t, createFunctionValue as n, parseTransforms as r, serializeTransforms as i } from "./transformFunctions.mjs";
3
- import a from "./TransformItem.mjs";
1
+ import { DEFAULT_FUNCTION as e, createFunctionValue as t, parseTransforms as n, serializeTransforms as r } from "./transformFunctions.mjs";
2
+ import i from "./TransformItem.mjs";
3
+ import a from "../../../components/ValueList/index.mjs";
4
4
  import { useCallback as o } from "react";
5
5
  import { jsx as s } from "react/jsx-runtime";
6
- //#region src/builder/components/StyleInspector/categories/Effects/Transform/Transform.tsx
6
+ // src/builder/components/StyleInspector/categories/Effects/Transform/Transform.tsx
7
7
  var c = ["transform"], l = ({ value: l, onChange: u }) => {
8
- let d = r(typeof l == "string" ? l : ""), f = o((e) => u?.(e.length > 0 ? i(e) : ""), [u]), p = (e) => () => f(d.filter((t, n) => n !== e)), m = (e) => (t) => {
8
+ let d = n(typeof l == "string" ? l : ""), f = o((e) => u?.(e.length > 0 ? r(e) : ""), [u]), p = (e) => () => f(d.filter((t, n) => n !== e)), m = (e) => (t) => {
9
9
  f(d.map((n, r) => r === e ? t : n));
10
10
  }, h = o(() => {
11
- f([...d, n(t)]);
11
+ f([...d, t(e)]);
12
12
  }, [f, d]);
13
- return /* @__PURE__ */ s(e, {
13
+ return /* @__PURE__ */ s(a, {
14
14
  label: "2D & 3D Transforms",
15
15
  keys: c,
16
16
  addLabel: "Add transform",
17
17
  onAdd: h,
18
- children: d.length > 0 && d.map((e, t) => /* @__PURE__ */ s(a, {
18
+ children: d.length > 0 && d.map((e, t) => /* @__PURE__ */ s(i, {
19
19
  value: e,
20
20
  onChange: m(t),
21
21
  onRemove: p(t)
22
22
  }, t))
23
23
  });
24
24
  };
25
- //#endregion
26
25
  export { l as default };
@@ -1,15 +1,15 @@
1
- import e from "../../../components/CategoryOption/index.mjs";
2
- import t from "../../../components/ValueListItem/index.mjs";
3
- import { TRANSFORM_FUNCTION_GROUPS as n, createFunctionValue as r, getFunctionSpec as i, serializeTransform as a, unitsForKind as o } from "./transformFunctions.mjs";
1
+ import { TRANSFORM_FUNCTION_GROUPS as e, createFunctionValue as t, getFunctionSpec as n, serializeTransform as r, unitsForKind as i } from "./transformFunctions.mjs";
2
+ import a from "../../../components/CategoryOption/index.mjs";
3
+ import o from "../../../components/ValueListItem/index.mjs";
4
4
  import { useCallback as s, useMemo as c } from "react";
5
5
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
6
- //#region src/builder/components/StyleInspector/categories/Effects/Transform/TransformItem.tsx
6
+ // src/builder/components/StyleInspector/categories/Effects/Transform/TransformItem.tsx
7
7
  var d = ({ value: d, onRemove: f, onChange: p }) => {
8
- let m = i(d.name), h = c(() => m ? m.args : d.args.map((e, t) => ({
8
+ let m = n(d.name), h = c(() => m ? m.args : d.args.map((e, t) => ({
9
9
  label: `#${t + 1}`,
10
10
  kind: "length",
11
11
  default: "0px"
12
- })), [m, d.args]), g = c(() => h.map((e, t) => d.args[t] ?? e.default), [h, d.args]), _ = s((e) => p?.(r(e)), [p]), v = s((e) => (t) => {
12
+ })), [m, d.args]), g = c(() => h.map((e, t) => d.args[t] ?? e.default), [h, d.args]), _ = s((e) => p?.(t(e)), [p]), v = s((e) => (t) => {
13
13
  let n = h.map((n, r) => r === e ? t : d.args[r] ?? n.default);
14
14
  p?.({
15
15
  name: d.name,
@@ -20,21 +20,21 @@ var d = ({ value: d, onRemove: f, onChange: p }) => {
20
20
  p,
21
21
  d.args,
22
22
  d.name
23
- ]), y = a({
23
+ ]), y = r({
24
24
  name: d.name,
25
25
  args: g
26
26
  });
27
- return /* @__PURE__ */ u(t, {
27
+ return /* @__PURE__ */ u(o, {
28
28
  summary: y,
29
29
  title: "Transform",
30
30
  removeLabel: "Remove transform",
31
31
  onRemove: f,
32
- children: [/* @__PURE__ */ u(e, {
32
+ children: [/* @__PURE__ */ u(a, {
33
33
  label: "Function",
34
34
  value: d.name,
35
35
  onChange: _,
36
36
  type: "select",
37
- children: [n.map((e) => /* @__PURE__ */ l("optgroup", {
37
+ children: [e.map((e) => /* @__PURE__ */ l("optgroup", {
38
38
  label: e.category,
39
39
  children: e.specs.map((e) => /* @__PURE__ */ l("option", {
40
40
  value: e.name,
@@ -49,17 +49,16 @@ var d = ({ value: d, onRemove: f, onChange: p }) => {
49
49
  })]
50
50
  }), /* @__PURE__ */ l("div", {
51
51
  className: "grid grid-cols-2 gap-2",
52
- children: h.map((t, n) => /* @__PURE__ */ l(e, {
53
- label: t.label,
54
- value: g[n],
55
- onChange: v(n),
52
+ children: h.map((e, t) => /* @__PURE__ */ l(a, {
53
+ label: e.label,
54
+ value: g[t],
55
+ onChange: v(t),
56
56
  type: "metric",
57
- units: o(t.kind),
58
- step: t.kind === "number" ? .1 : 1,
57
+ units: i(e.kind),
58
+ step: e.kind === "number" ? .1 : 1,
59
59
  min: -Infinity
60
- }, `${t.label}-${n}`))
60
+ }, `${e.label}-${t}`))
61
61
  })]
62
62
  });
63
63
  };
64
- //#endregion
65
64
  export { d as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./Transform.mjs";
2
- //#region src/builder/components/StyleInspector/categories/Effects/Transform/index.ts
2
+ // src/builder/components/StyleInspector/categories/Effects/Transform/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,4 +1,4 @@
1
- //#region src/builder/components/StyleInspector/categories/Effects/Transform/transformFunctions.ts
1
+ // src/builder/components/StyleInspector/categories/Effects/Transform/transformFunctions.ts
2
2
  var e = (e) => ({
3
3
  label: e,
4
4
  kind: "length",
@@ -193,5 +193,4 @@ var e = (e) => ({
193
193
  specs: [t]
194
194
  }), e;
195
195
  }, []);
196
- //#endregion
197
196
  export { i as DEFAULT_FUNCTION, r as TRANSFORM_FUNCTIONS, m as TRANSFORM_FUNCTION_GROUPS, p as createFunctionValue, c as getFunctionSpec, u as parseTransforms, d as serializeTransform, f as serializeTransforms, o as unitsForKind };
@@ -1,25 +1,24 @@
1
- import { splitByCommaOutsideParens as e } from "../../../cssValues.mjs";
2
- import t from "../../../components/ValueList/index.mjs";
3
- import { DEFAULT_TRANSITION as n, serializeTransition as r } from "./helpers.mjs";
4
- import i from "./TransitionItem.mjs";
1
+ import { DEFAULT_TRANSITION as e, serializeTransition as t } from "./helpers.mjs";
2
+ import n from "./TransitionItem.mjs";
3
+ import r from "../../../components/ValueList/index.mjs";
4
+ import { splitByCommaOutsideParens as i } from "../../../cssValues.mjs";
5
5
  import { useCallback as a } from "react";
6
6
  import { jsx as o } from "react/jsx-runtime";
7
- //#region src/builder/components/StyleInspector/categories/Effects/Transition/Transition.tsx
7
+ // src/builder/components/StyleInspector/categories/Effects/Transition/Transition.tsx
8
8
  var s = ["transition"], c = ({ value: c, onChange: l }) => {
9
- let u = typeof c == "string" && c !== "" ? e(c).map((e) => e.trim()) : [], d = a((e) => l?.(e.length > 0 ? e.join(", ") : ""), [l]), f = (e) => () => d(u.filter((t, n) => n !== e)), p = (e) => (t) => {
9
+ let u = typeof c == "string" && c !== "" ? i(c).map((e) => e.trim()) : [], d = a((e) => l?.(e.length > 0 ? e.join(", ") : ""), [l]), f = (e) => () => d(u.filter((t, n) => n !== e)), p = (e) => (t) => {
10
10
  t !== u[e] && d(u.map((n, r) => r === e ? t : n));
11
11
  };
12
- return /* @__PURE__ */ o(t, {
12
+ return /* @__PURE__ */ o(r, {
13
13
  label: "Transitions",
14
14
  keys: s,
15
15
  addLabel: "Add transition",
16
- onAdd: () => d([...u, r(n)]),
17
- children: u.length > 0 && u.map((e, t) => /* @__PURE__ */ o(i, {
16
+ onAdd: () => d([...u, t(e)]),
17
+ children: u.length > 0 && u.map((e, t) => /* @__PURE__ */ o(n, {
18
18
  value: e,
19
19
  onChange: p(t),
20
20
  onRemove: f(t)
21
21
  }, t))
22
22
  });
23
23
  };
24
- //#endregion
25
24
  export { c as default };
@@ -1,14 +1,14 @@
1
- import { easingGenerics as e } from "../../../../InputEasing/InputEasingHelper.mjs";
2
- import t from "../../../../InputEasing/InputEasingList.mjs";
3
- import n from "../../../../InputEasing/index.mjs";
4
- import { asText as r } from "../../../cssValues.mjs";
5
- import i from "../../../components/CategoryOption/index.mjs";
6
- import { bezierCss as a, easingCss as o, easingCurve as s, easingOptions as c } from "./helpers.mjs";
1
+ import { bezierCss as e, easingCss as t, easingCurve as n, easingOptions as r } from "./helpers.mjs";
2
+ import i from "../../../../InputEasing/index.mjs";
3
+ import { easingGenerics as a } from "../../../../InputEasing/InputEasingHelper.mjs";
4
+ import o from "../../../../InputEasing/InputEasingList.mjs";
5
+ import s from "../../../components/CategoryOption/index.mjs";
6
+ import { asText as c } from "../../../cssValues.mjs";
7
7
  import { useCallback as l, useEffect as u, useMemo as d, useState as f } from "react";
8
8
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
9
- //#region src/builder/components/StyleInspector/categories/Effects/Transition/TransitionEasing.tsx
10
- var h = c(e), g = 1600, _ = ({ value: c, onChange: _ }) => {
11
- let [v, y] = f(!1), [b, x] = f(!1), [S, C] = f(0), w = s(c, e), T = h.some((e) => e.value === c);
9
+ // src/builder/components/StyleInspector/categories/Effects/Transition/TransitionEasing.tsx
10
+ var h = r(a), g = 1600, _ = ({ value: r, onChange: _ }) => {
11
+ let [v, y] = f(!1), [b, x] = f(!1), [S, C] = f(0), w = n(r, a), T = h.some((e) => e.value === r);
12
12
  u(() => {
13
13
  if (!b) {
14
14
  C(0);
@@ -19,15 +19,15 @@ var h = c(e), g = 1600, _ = ({ value: c, onChange: _ }) => {
19
19
  };
20
20
  return e = requestAnimationFrame(n), () => cancelAnimationFrame(e);
21
21
  }, [b]);
22
- let E = l((e) => _(r(e)), [_]), D = l((t) => _(o(t, e)), [_]), O = l((e) => {
23
- let [t = 0, n = 0, r = 1, i = 1] = e;
24
- _(a([
25
- t,
22
+ let E = l((e) => _(c(e)), [_]), D = l((e) => _(t(e, a)), [_]), O = l((t) => {
23
+ let [n = 0, r = 0, i = 1, a = 1] = t;
24
+ _(e([
26
25
  n,
27
26
  r,
28
- i
27
+ i,
28
+ a
29
29
  ]));
30
- }, [_]), k = l(() => y((e) => !e), []), A = l(() => x((e) => !e), []), j = d(() => `Custom — ${c}`, [c]);
30
+ }, [_]), k = l(() => y((e) => !e), []), A = l(() => x((e) => !e), []), j = d(() => `Custom — ${r}`, [r]);
31
31
  return /* @__PURE__ */ m("div", {
32
32
  className: "flex flex-col gap-2",
33
33
  children: [
@@ -35,13 +35,13 @@ var h = c(e), g = 1600, _ = ({ value: c, onChange: _ }) => {
35
35
  className: "flex items-end gap-2",
36
36
  children: [/* @__PURE__ */ p("div", {
37
37
  className: "min-w-0 grow",
38
- children: /* @__PURE__ */ m(i, {
38
+ children: /* @__PURE__ */ m(s, {
39
39
  label: "Easing",
40
40
  type: "select",
41
- value: c,
41
+ value: r,
42
42
  onChange: E,
43
43
  children: [!T && /* @__PURE__ */ p("option", {
44
- value: c,
44
+ value: r,
45
45
  children: j
46
46
  }), h.map((e) => /* @__PURE__ */ p("option", {
47
47
  value: e.value,
@@ -60,12 +60,12 @@ var h = c(e), g = 1600, _ = ({ value: c, onChange: _ }) => {
60
60
  }),
61
61
  v && !w && /* @__PURE__ */ m("p", {
62
62
  className: "m-0 text-[11px] text-zinc-500 dark:text-zinc-400",
63
- children: [c, " is not a curve, so there is nothing to drag. Pick a preset to start from one."]
63
+ children: [r, " is not a curve, so there is nothing to drag. Pick a preset to start from one."]
64
64
  }),
65
65
  v && w && /* @__PURE__ */ m("div", {
66
66
  className: "flex flex-col items-center gap-2 rounded-md border border-gray-200 p-2 dark:border-zinc-700",
67
67
  children: [
68
- /* @__PURE__ */ p(n, {
68
+ /* @__PURE__ */ p(i, {
69
69
  value: w,
70
70
  progress: S,
71
71
  width: 200,
@@ -79,7 +79,7 @@ var h = c(e), g = 1600, _ = ({ value: c, onChange: _ }) => {
79
79
  onClick: A,
80
80
  children: [/* @__PURE__ */ p("i", { className: b ? "fa-solid fa-pause" : "fa-solid fa-play" }), b ? "Pause preview" : "Preview"]
81
81
  }),
82
- /* @__PURE__ */ p(t, {
82
+ /* @__PURE__ */ p(o, {
83
83
  className: "w-full border-r-0",
84
84
  onChange: D
85
85
  })
@@ -88,5 +88,4 @@ var h = c(e), g = 1600, _ = ({ value: c, onChange: _ }) => {
88
88
  ]
89
89
  });
90
90
  };
91
- //#endregion
92
91
  export { _ as default };
@@ -1,11 +1,11 @@
1
- import { asText as e } from "../../../cssValues.mjs";
2
- import t from "../../../components/CategoryOption/index.mjs";
3
- import n from "../../../components/ValueListItem/index.mjs";
4
- import { TRANSITION_PROPERTY_GROUPS as r, isListedProperty as i, parseTransition as a, serializeTransition as o, transitionSummary as s } from "./helpers.mjs";
5
- import c from "./TransitionEasing.mjs";
1
+ import { TRANSITION_PROPERTY_GROUPS as e, isListedProperty as t, parseTransition as n, serializeTransition as r, transitionSummary as i } from "./helpers.mjs";
2
+ import a from "./TransitionEasing.mjs";
3
+ import o from "../../../components/CategoryOption/index.mjs";
4
+ import s from "../../../components/ValueListItem/index.mjs";
5
+ import { asText as c } from "../../../cssValues.mjs";
6
6
  import { useCallback as l, useRef as u } from "react";
7
7
  import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
8
- //#region src/builder/components/StyleInspector/categories/Effects/Transition/TransitionItem.tsx
8
+ // src/builder/components/StyleInspector/categories/Effects/Transition/TransitionItem.tsx
9
9
  var m = [{
10
10
  label: "MS",
11
11
  value: "ms"
@@ -13,22 +13,22 @@ var m = [{
13
13
  label: "S",
14
14
  value: "s"
15
15
  }], h = ({ value: h, onRemove: g, onChange: _ }) => {
16
- let v = a(h), y = u(v);
16
+ let v = n(h), y = u(v);
17
17
  y.current = v;
18
- let b = l((t) => (n) => {
19
- let r = y.current;
20
- r && _(o({
21
- ...r,
22
- [t]: e(n)
18
+ let b = l((e) => (t) => {
19
+ let n = y.current;
20
+ n && _(r({
21
+ ...n,
22
+ [e]: c(t)
23
23
  }));
24
- }, [_]), x = l((e) => b("easing")(e), [b]), S = l((t) => _(e(t)), [_]), C = v ? s(v) : h;
25
- return /* @__PURE__ */ p(n, {
24
+ }, [_]), x = l((e) => b("easing")(e), [b]), S = l((e) => _(c(e)), [_]), C = v ? i(v) : h;
25
+ return /* @__PURE__ */ p(s, {
26
26
  summary: C,
27
27
  title: "Transition",
28
28
  removeLabel: "Remove transition",
29
29
  onRemove: g,
30
30
  children: [
31
- !v && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(t, {
31
+ !v && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(o, {
32
32
  label: "Value",
33
33
  type: "input",
34
34
  value: h,
@@ -37,18 +37,18 @@ var m = [{
37
37
  className: "m-0 text-[11px] text-zinc-500 dark:text-zinc-400",
38
38
  children: "Not a single transition the editor can split into parts (a token, for one), so it is edited as written."
39
39
  })] }),
40
- v && /* @__PURE__ */ p(t, {
40
+ v && /* @__PURE__ */ p(o, {
41
41
  label: "Property",
42
42
  type: "select",
43
43
  value: v.property,
44
44
  onChange: b("property"),
45
- children: [!i(v.property) && /* @__PURE__ */ f("optgroup", {
45
+ children: [!t(v.property) && /* @__PURE__ */ f("optgroup", {
46
46
  label: "Current",
47
47
  children: /* @__PURE__ */ f("option", {
48
48
  value: v.property,
49
49
  children: v.property
50
50
  })
51
- }), r.map((e) => /* @__PURE__ */ f("optgroup", {
51
+ }), e.map((e) => /* @__PURE__ */ f("optgroup", {
52
52
  label: e.label,
53
53
  children: e.options.map((e) => /* @__PURE__ */ f("option", {
54
54
  value: e.value,
@@ -58,14 +58,14 @@ var m = [{
58
58
  }),
59
59
  v && /* @__PURE__ */ p("div", {
60
60
  className: "grid grid-cols-2 gap-2",
61
- children: [/* @__PURE__ */ f(t, {
61
+ children: [/* @__PURE__ */ f(o, {
62
62
  label: "Duration",
63
63
  type: "metric",
64
64
  value: v.duration,
65
65
  units: m,
66
66
  min: 0,
67
67
  onChange: b("duration")
68
- }), /* @__PURE__ */ f(t, {
68
+ }), /* @__PURE__ */ f(o, {
69
69
  label: "Delay",
70
70
  type: "metric",
71
71
  value: v.delay,
@@ -74,12 +74,11 @@ var m = [{
74
74
  onChange: b("delay")
75
75
  })]
76
76
  }),
77
- v && /* @__PURE__ */ f(c, {
77
+ v && /* @__PURE__ */ f(a, {
78
78
  value: v.easing,
79
79
  onChange: x
80
80
  })
81
81
  ]
82
82
  });
83
83
  };
84
- //#endregion
85
84
  export { h as default };
@@ -1,5 +1,5 @@
1
1
  import { splitBySpaceOutsideParens as e } from "../../../cssValues.mjs";
2
- //#region src/builder/components/StyleInspector/categories/Effects/Transition/helpers.ts
2
+ // src/builder/components/StyleInspector/categories/Effects/Transition/helpers.ts
3
3
  var t = {
4
4
  property: "opacity",
5
5
  duration: "200ms",
@@ -264,5 +264,4 @@ var t = {
264
264
  ]
265
265
  }
266
266
  ], g = (e) => h.some((t) => t.options.some((t) => t.value === e));
267
- //#endregion
268
267
  export { t as DEFAULT_TRANSITION, h as TRANSITION_PROPERTY_GROUPS, u as bezierCss, d as easingCss, m as easingCurve, f as easingOptions, g as isListedProperty, a as parseTransition, s as serializeTransition, o as transitionSummary };
@@ -1,5 +1,4 @@
1
1
  import e from "./Transition.mjs";
2
- //#region src/builder/components/StyleInspector/categories/Effects/Transition/index.ts
2
+ // src/builder/components/StyleInspector/categories/Effects/Transition/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./Effects.mjs";
2
- //#region src/builder/components/StyleInspector/categories/Effects/index.ts
2
+ // src/builder/components/StyleInspector/categories/Effects/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,25 +1,25 @@
1
- import e from "../../StyleInspectorContext.mjs";
2
- import t from "../../hooks/useInspectorValues.mjs";
1
+ import { LIST_KEYS as e } from "../../categoryKeys.mjs";
2
+ import t from "../../components/CategoryContainer/index.mjs";
3
3
  import n from "../../components/CategoryOption/index.mjs";
4
4
  import r from "../../components/CategorySection/index.mjs";
5
- import { LIST_KEYS as i } from "../../categoryKeys.mjs";
6
- import a from "../../components/CategoryContainer/index.mjs";
5
+ import i from "../../hooks/useInspectorValues.mjs";
6
+ import a from "../../StyleInspectorContext.mjs";
7
7
  import { listMarkerItems as o } from "../listMarkers.mjs";
8
8
  import { memo as s, use as c, useCallback as l, useMemo as u } from "react";
9
9
  import { jsx as d } from "react/jsx-runtime";
10
10
  var f = s(({ replaceTokens: s = !1, isCollapsed: f = !0, onCollapse: p }) => {
11
- let { setValue: m } = c(e), { "list-style": h } = t({
12
- keys: i.dot,
11
+ let { setValue: m } = c(a), { "list-style": h } = i({
12
+ keys: e.dot,
13
13
  asValue: !0,
14
14
  replaceTokens: s
15
15
  }), g = l((e) => p?.("list", e), [p]), _ = l((e) => m("list-style", e), [m]), v = u(() => o(h), [h]);
16
- return /* @__PURE__ */ d(a, {
17
- title: i.title,
18
- dotKeys: i.dot,
16
+ return /* @__PURE__ */ d(t, {
17
+ title: e.title,
18
+ dotKeys: e.dot,
19
19
  isCollapsed: f,
20
20
  onCollapse: g,
21
21
  children: /* @__PURE__ */ d(r, {
22
- keys: i.dot,
22
+ keys: e.dot,
23
23
  label: "Style",
24
24
  children: /* @__PURE__ */ d(n, {
25
25
  onChange: _,
@@ -29,5 +29,4 @@ var f = s(({ replaceTokens: s = !1, isCollapsed: f = !0, onCollapse: p }) => {
29
29
  })
30
30
  });
31
31
  });
32
- //#endregion
33
32
  export { f as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./List.mjs";
2
- //#region src/builder/components/StyleInspector/categories/List/index.ts
2
+ // src/builder/components/StyleInspector/categories/List/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,25 +1,25 @@
1
- import e from "../../StyleInspectorContext.mjs";
2
- import t from "../../hooks/useInspectorValues.mjs";
1
+ import { LIST_ITEM_KEYS as e } from "../../categoryKeys.mjs";
2
+ import t from "../../components/CategoryContainer/index.mjs";
3
3
  import n from "../../components/CategoryOption/index.mjs";
4
4
  import r from "../../components/CategorySection/index.mjs";
5
- import { LIST_ITEM_KEYS as i } from "../../categoryKeys.mjs";
6
- import a from "../../components/CategoryContainer/index.mjs";
5
+ import i from "../../hooks/useInspectorValues.mjs";
6
+ import a from "../../StyleInspectorContext.mjs";
7
7
  import { listMarkerItems as o } from "../listMarkers.mjs";
8
8
  import { memo as s, use as c, useCallback as l, useMemo as u } from "react";
9
9
  import { jsx as d } from "react/jsx-runtime";
10
10
  var f = s(({ replaceTokens: s = !1, isCollapsed: f = !0, onCollapse: p }) => {
11
- let { setValue: m } = c(e), { "list-style-type": h } = t({
12
- keys: i.dot,
11
+ let { setValue: m } = c(a), { "list-style-type": h } = i({
12
+ keys: e.dot,
13
13
  asValue: !0,
14
14
  replaceTokens: s
15
15
  }), g = l((e) => p?.("listItem", e), [p]), _ = l((e) => m("list-style-type", e), [m]), v = u(() => o(h), [h]);
16
- return /* @__PURE__ */ d(a, {
17
- title: i.title,
18
- dotKeys: i.dot,
16
+ return /* @__PURE__ */ d(t, {
17
+ title: e.title,
18
+ dotKeys: e.dot,
19
19
  isCollapsed: f,
20
20
  onCollapse: g,
21
21
  children: /* @__PURE__ */ d(r, {
22
- keys: i.dot,
22
+ keys: e.dot,
23
23
  label: "Style",
24
24
  children: /* @__PURE__ */ d(n, {
25
25
  onChange: _,
@@ -29,5 +29,4 @@ var f = s(({ replaceTokens: s = !1, isCollapsed: f = !0, onCollapse: p }) => {
29
29
  })
30
30
  });
31
31
  });
32
- //#endregion
33
32
  export { f as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./ListItem.mjs";
2
- //#region src/builder/components/StyleInspector/categories/ListItem/index.ts
2
+ // src/builder/components/StyleInspector/categories/ListItem/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };