@plitzi/sdk-style 0.30.19

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 (333) hide show
  1. package/CHANGELOG.md +1398 -0
  2. package/dist/BuilderStyleContextProvider.d.ts +12 -0
  3. package/dist/BuilderStyleContextProvider.mjs +209 -0
  4. package/dist/SdkStyleContextProvider.d.ts +8 -0
  5. package/dist/SdkStyleContextProvider.mjs +16 -0
  6. package/dist/StyleAdvanceEditor.d.ts +2 -0
  7. package/dist/StyleAdvanceEditor.mjs +88 -0
  8. package/dist/StyleContext.d.ts +3 -0
  9. package/dist/StyleContext.mjs +5 -0
  10. package/dist/StyleHelper.d.ts +7 -0
  11. package/dist/StyleHelper.mjs +45 -0
  12. package/dist/StyleMap/StyleMap.d.ts +52 -0
  13. package/dist/StyleMap/StyleMap.mjs +61 -0
  14. package/dist/StyleMap/helpers/getStyleItem.d.ts +3 -0
  15. package/dist/StyleMap/helpers/getStyleItem.mjs +5 -0
  16. package/dist/StyleMap/helpers/isValueValid.d.ts +12 -0
  17. package/dist/StyleMap/helpers/isValueValid.mjs +7 -0
  18. package/dist/StyleMap/helpers/utils.d.ts +6 -0
  19. package/dist/StyleMap/helpers/utils.mjs +51 -0
  20. package/dist/StyleMap/index.d.ts +3 -0
  21. package/dist/StyleMap/index.mjs +5 -0
  22. package/dist/StyleMap/methods/addSelector.d.ts +8 -0
  23. package/dist/StyleMap/methods/addSelector.mjs +24 -0
  24. package/dist/StyleMap/methods/updateSelector.d.ts +8 -0
  25. package/dist/StyleMap/methods/updateSelector.mjs +13 -0
  26. package/dist/StyleReducer.d.ts +82 -0
  27. package/dist/StyleReducer.mjs +101 -0
  28. package/dist/_virtual/_rolldown/runtime.mjs +11 -0
  29. package/dist/components/InputEasing/BezierEasing.d.ts +1 -0
  30. package/dist/components/InputEasing/BezierEasing.mjs +34 -0
  31. package/dist/components/InputEasing/Curve.d.ts +9 -0
  32. package/dist/components/InputEasing/Curve.mjs +11 -0
  33. package/dist/components/InputEasing/Grid.d.ts +8 -0
  34. package/dist/components/InputEasing/Grid.mjs +51 -0
  35. package/dist/components/InputEasing/InputEasing.d.ts +31 -0
  36. package/dist/components/InputEasing/InputEasing.mjs +121 -0
  37. package/dist/components/InputEasing/InputEasingButton.d.ts +9 -0
  38. package/dist/components/InputEasing/InputEasingButton.mjs +16 -0
  39. package/dist/components/InputEasing/InputEasingHelper.d.ts +1 -0
  40. package/dist/components/InputEasing/InputEasingHelper.mjs +179 -0
  41. package/dist/components/InputEasing/InputEasingList.d.ts +6 -0
  42. package/dist/components/InputEasing/InputEasingList.mjs +291 -0
  43. package/dist/components/InputEasing/Progress.d.ts +10 -0
  44. package/dist/components/InputEasing/Progress.mjs +15 -0
  45. package/dist/components/InputEasing/index.d.ts +3 -0
  46. package/dist/components/InputEasing/index.mjs +5 -0
  47. package/dist/components/Selector/Selector.d.ts +16 -0
  48. package/dist/components/Selector/Selector.mjs +171 -0
  49. package/dist/components/Selector/SelectorHelper.d.ts +1 -0
  50. package/dist/components/Selector/SelectorHelper.mjs +4 -0
  51. package/dist/components/Selector/SelectorItem/ItemOptions.d.ts +9 -0
  52. package/dist/components/Selector/SelectorItem/ItemOptions.mjs +57 -0
  53. package/dist/components/Selector/SelectorItem/SelectorItem.d.ts +15 -0
  54. package/dist/components/Selector/SelectorItem/SelectorItem.mjs +50 -0
  55. package/dist/components/Selector/SelectorItem/index.d.ts +3 -0
  56. package/dist/components/Selector/SelectorItem/index.mjs +5 -0
  57. package/dist/components/Selector/SelectorSuggestions/SelectorSuggestions.d.ts +9 -0
  58. package/dist/components/Selector/SelectorSuggestions/SelectorSuggestions.mjs +23 -0
  59. package/dist/components/Selector/SelectorSuggestions/SuggestionsCreator.d.ts +7 -0
  60. package/dist/components/Selector/SelectorSuggestions/SuggestionsCreator.mjs +20 -0
  61. package/dist/components/Selector/SelectorSuggestions/SuggestionsList.d.ts +7 -0
  62. package/dist/components/Selector/SelectorSuggestions/SuggestionsList.mjs +25 -0
  63. package/dist/components/Selector/SelectorSuggestions/index.d.ts +3 -0
  64. package/dist/components/Selector/SelectorSuggestions/index.mjs +5 -0
  65. package/dist/components/Selector/index.d.ts +3 -0
  66. package/dist/components/Selector/index.mjs +5 -0
  67. package/dist/components/StyleInspector/Inspector.d.ts +15 -0
  68. package/dist/components/StyleInspector/Inspector.mjs +178 -0
  69. package/dist/components/StyleInspector/StyleInspector.d.ts +21 -0
  70. package/dist/components/StyleInspector/StyleInspector.mjs +201 -0
  71. package/dist/components/StyleInspector/StyleInspectorContext.d.ts +23 -0
  72. package/dist/components/StyleInspector/StyleInspectorContext.mjs +5 -0
  73. package/dist/components/StyleInspector/StyleInspectorProvider.d.ts +17 -0
  74. package/dist/components/StyleInspector/StyleInspectorProvider.mjs +86 -0
  75. package/dist/components/StyleInspector/categories/Background/Background.d.ts +7 -0
  76. package/dist/components/StyleInspector/categories/Background/Background.mjs +142 -0
  77. package/dist/components/StyleInspector/categories/Background/components/BackgroundLayer/BackgroundLayer.d.ts +12 -0
  78. package/dist/components/StyleInspector/categories/Background/components/BackgroundLayer/BackgroundLayer.mjs +171 -0
  79. package/dist/components/StyleInspector/categories/Background/components/BackgroundLayer/index.d.ts +3 -0
  80. package/dist/components/StyleInspector/categories/Background/components/BackgroundLayer/index.mjs +5 -0
  81. package/dist/components/StyleInspector/categories/Background/components/BackgroundPosition/BackgroundPosition.d.ts +7 -0
  82. package/dist/components/StyleInspector/categories/Background/components/BackgroundPosition/BackgroundPosition.mjs +39 -0
  83. package/dist/components/StyleInspector/categories/Background/components/BackgroundPosition/index.d.ts +3 -0
  84. package/dist/components/StyleInspector/categories/Background/components/BackgroundPosition/index.mjs +5 -0
  85. package/dist/components/StyleInspector/categories/Background/components/BackgroundSize/BackgroundSize.d.ts +7 -0
  86. package/dist/components/StyleInspector/categories/Background/components/BackgroundSize/BackgroundSize.mjs +86 -0
  87. package/dist/components/StyleInspector/categories/Background/components/BackgroundSize/index.d.ts +3 -0
  88. package/dist/components/StyleInspector/categories/Background/components/BackgroundSize/index.mjs +5 -0
  89. package/dist/components/StyleInspector/categories/Background/components/BackgroundTile/BackgroundTile.d.ts +7 -0
  90. package/dist/components/StyleInspector/categories/Background/components/BackgroundTile/BackgroundTile.mjs +47 -0
  91. package/dist/components/StyleInspector/categories/Background/components/BackgroundTile/index.d.ts +3 -0
  92. package/dist/components/StyleInspector/categories/Background/components/BackgroundTile/index.mjs +5 -0
  93. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientPreviewBar.d.ts +7 -0
  94. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientPreviewBar.mjs +20 -0
  95. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopBar.d.ts +7 -0
  96. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopBar.mjs +94 -0
  97. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopEditor.d.ts +10 -0
  98. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopEditor.mjs +48 -0
  99. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopHandle.d.ts +11 -0
  100. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopHandle.mjs +44 -0
  101. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopTrack.d.ts +9 -0
  102. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/GradientStopTrack.mjs +27 -0
  103. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/index.d.ts +3 -0
  104. package/dist/components/StyleInspector/categories/Background/components/GradientStopBar/index.mjs +5 -0
  105. package/dist/components/StyleInspector/categories/Background/helpers/backgroundParser.d.ts +56 -0
  106. package/dist/components/StyleInspector/categories/Background/helpers/backgroundParser.mjs +182 -0
  107. package/dist/components/StyleInspector/categories/Background/helpers/normalizeLeft.d.ts +2 -0
  108. package/dist/components/StyleInspector/categories/Background/helpers/normalizeLeft.mjs +10 -0
  109. package/dist/components/StyleInspector/categories/Background/helpers/parseToBgLayers.d.ts +5 -0
  110. package/dist/components/StyleInspector/categories/Background/helpers/parseToBgLayers.mjs +19 -0
  111. package/dist/components/StyleInspector/categories/Background/index.d.ts +3 -0
  112. package/dist/components/StyleInspector/categories/Background/index.mjs +5 -0
  113. package/dist/components/StyleInspector/categories/Background/modes/ConicGradientMode.d.ts +7 -0
  114. package/dist/components/StyleInspector/categories/Background/modes/ConicGradientMode.mjs +100 -0
  115. package/dist/components/StyleInspector/categories/Background/modes/ImageMode.d.ts +7 -0
  116. package/dist/components/StyleInspector/categories/Background/modes/ImageMode.mjs +80 -0
  117. package/dist/components/StyleInspector/categories/Background/modes/LinearGradientMode.d.ts +7 -0
  118. package/dist/components/StyleInspector/categories/Background/modes/LinearGradientMode.mjs +76 -0
  119. package/dist/components/StyleInspector/categories/Background/modes/RadialGradientMode.d.ts +7 -0
  120. package/dist/components/StyleInspector/categories/Background/modes/RadialGradientMode.mjs +120 -0
  121. package/dist/components/StyleInspector/categories/Border/Border.d.ts +7 -0
  122. package/dist/components/StyleInspector/categories/Border/Border.mjs +126 -0
  123. package/dist/components/StyleInspector/categories/Border/BorderColor.d.ts +8 -0
  124. package/dist/components/StyleInspector/categories/Border/BorderColor.mjs +34 -0
  125. package/dist/components/StyleInspector/categories/Border/BorderPlacements.d.ts +7 -0
  126. package/dist/components/StyleInspector/categories/Border/BorderPlacements.mjs +55 -0
  127. package/dist/components/StyleInspector/categories/Border/BorderRadius.d.ts +8 -0
  128. package/dist/components/StyleInspector/categories/Border/BorderRadius.mjs +132 -0
  129. package/dist/components/StyleInspector/categories/Border/BorderStyle.d.ts +8 -0
  130. package/dist/components/StyleInspector/categories/Border/BorderStyle.mjs +63 -0
  131. package/dist/components/StyleInspector/categories/Border/BorderWidth.d.ts +8 -0
  132. package/dist/components/StyleInspector/categories/Border/BorderWidth.mjs +34 -0
  133. package/dist/components/StyleInspector/categories/Border/index.d.ts +3 -0
  134. package/dist/components/StyleInspector/categories/Border/index.mjs +5 -0
  135. package/dist/components/StyleInspector/categories/Display/Display.d.ts +7 -0
  136. package/dist/components/StyleInspector/categories/Display/Display.mjs +120 -0
  137. package/dist/components/StyleInspector/categories/Display/DisplayElements.d.ts +7 -0
  138. package/dist/components/StyleInspector/categories/Display/DisplayElements.mjs +64 -0
  139. package/dist/components/StyleInspector/categories/Display/DisplayFlex.d.ts +8 -0
  140. package/dist/components/StyleInspector/categories/Display/DisplayFlex.mjs +46 -0
  141. package/dist/components/StyleInspector/categories/Display/DisplayFlexAlignContent.d.ts +9 -0
  142. package/dist/components/StyleInspector/categories/Display/DisplayFlexAlignContent.mjs +97 -0
  143. package/dist/components/StyleInspector/categories/Display/DisplayFlexAlignItems.d.ts +9 -0
  144. package/dist/components/StyleInspector/categories/Display/DisplayFlexAlignItems.mjs +102 -0
  145. package/dist/components/StyleInspector/categories/Display/DisplayFlexDirection.d.ts +8 -0
  146. package/dist/components/StyleInspector/categories/Display/DisplayFlexDirection.mjs +46 -0
  147. package/dist/components/StyleInspector/categories/Display/DisplayFlexJustify.d.ts +9 -0
  148. package/dist/components/StyleInspector/categories/Display/DisplayFlexJustify.mjs +88 -0
  149. package/dist/components/StyleInspector/categories/Display/DisplayGap.d.ts +8 -0
  150. package/dist/components/StyleInspector/categories/Display/DisplayGap.mjs +27 -0
  151. package/dist/components/StyleInspector/categories/Display/DisplayGridGap.d.ts +8 -0
  152. package/dist/components/StyleInspector/categories/Display/DisplayGridGap.mjs +27 -0
  153. package/dist/components/StyleInspector/categories/Display/DisplayGridTemplate.d.ts +12 -0
  154. package/dist/components/StyleInspector/categories/Display/DisplayGridTemplate.mjs +83 -0
  155. package/dist/components/StyleInspector/categories/Display/index.d.ts +3 -0
  156. package/dist/components/StyleInspector/categories/Display/index.mjs +5 -0
  157. package/dist/components/StyleInspector/categories/DisplayFlexChild/DisplayAlignSelf.d.ts +8 -0
  158. package/dist/components/StyleInspector/categories/DisplayFlexChild/DisplayAlignSelf.mjs +60 -0
  159. package/dist/components/StyleInspector/categories/DisplayFlexChild/DisplayFlexChild.d.ts +8 -0
  160. package/dist/components/StyleInspector/categories/DisplayFlexChild/DisplayFlexChild.mjs +125 -0
  161. package/dist/components/StyleInspector/categories/DisplayFlexChild/DisplayOrder.d.ts +7 -0
  162. package/dist/components/StyleInspector/categories/DisplayFlexChild/DisplayOrder.mjs +51 -0
  163. package/dist/components/StyleInspector/categories/DisplayFlexChild/index.d.ts +3 -0
  164. package/dist/components/StyleInspector/categories/DisplayFlexChild/index.mjs +5 -0
  165. package/dist/components/StyleInspector/categories/Effects/BoxShadow/BoxShadow.d.ts +7 -0
  166. package/dist/components/StyleInspector/categories/Effects/BoxShadow/BoxShadow.mjs +37 -0
  167. package/dist/components/StyleInspector/categories/Effects/BoxShadow/BoxShadowItem.d.ts +8 -0
  168. package/dist/components/StyleInspector/categories/Effects/BoxShadow/BoxShadowItem.mjs +130 -0
  169. package/dist/components/StyleInspector/categories/Effects/BoxShadow/index.d.ts +3 -0
  170. package/dist/components/StyleInspector/categories/Effects/BoxShadow/index.mjs +5 -0
  171. package/dist/components/StyleInspector/categories/Effects/Effects.d.ts +7 -0
  172. package/dist/components/StyleInspector/categories/Effects/Effects.mjs +247 -0
  173. package/dist/components/StyleInspector/categories/Effects/Filters/Filter.d.ts +7 -0
  174. package/dist/components/StyleInspector/categories/Effects/Filters/Filter.mjs +37 -0
  175. package/dist/components/StyleInspector/categories/Effects/Filters/FilterItem.d.ts +8 -0
  176. package/dist/components/StyleInspector/categories/Effects/Filters/FilterItem.mjs +129 -0
  177. package/dist/components/StyleInspector/categories/Effects/Filters/index.d.ts +3 -0
  178. package/dist/components/StyleInspector/categories/Effects/Filters/index.mjs +5 -0
  179. package/dist/components/StyleInspector/categories/Effects/Transform/Transform.d.ts +7 -0
  180. package/dist/components/StyleInspector/categories/Effects/Transform/Transform.mjs +37 -0
  181. package/dist/components/StyleInspector/categories/Effects/Transform/TransformItem.d.ts +8 -0
  182. package/dist/components/StyleInspector/categories/Effects/Transform/TransformItem.mjs +148 -0
  183. package/dist/components/StyleInspector/categories/Effects/Transform/index.d.ts +3 -0
  184. package/dist/components/StyleInspector/categories/Effects/Transform/index.mjs +5 -0
  185. package/dist/components/StyleInspector/categories/Effects/Transition/Transition.d.ts +7 -0
  186. package/dist/components/StyleInspector/categories/Effects/Transition/Transition.mjs +41 -0
  187. package/dist/components/StyleInspector/categories/Effects/Transition/TransitionItem.d.ts +8 -0
  188. package/dist/components/StyleInspector/categories/Effects/Transition/TransitionItem.mjs +365 -0
  189. package/dist/components/StyleInspector/categories/Effects/Transition/index.d.ts +3 -0
  190. package/dist/components/StyleInspector/categories/Effects/Transition/index.mjs +5 -0
  191. package/dist/components/StyleInspector/categories/Effects/index.d.ts +3 -0
  192. package/dist/components/StyleInspector/categories/Effects/index.mjs +5 -0
  193. package/dist/components/StyleInspector/categories/List/List.d.ts +7 -0
  194. package/dist/components/StyleInspector/categories/List/List.mjs +82 -0
  195. package/dist/components/StyleInspector/categories/List/index.d.ts +3 -0
  196. package/dist/components/StyleInspector/categories/List/index.mjs +5 -0
  197. package/dist/components/StyleInspector/categories/ListItem/ListItem.d.ts +7 -0
  198. package/dist/components/StyleInspector/categories/ListItem/ListItem.mjs +82 -0
  199. package/dist/components/StyleInspector/categories/ListItem/index.d.ts +3 -0
  200. package/dist/components/StyleInspector/categories/ListItem/index.mjs +5 -0
  201. package/dist/components/StyleInspector/categories/Position/Position.d.ts +7 -0
  202. package/dist/components/StyleInspector/categories/Position/Position.mjs +129 -0
  203. package/dist/components/StyleInspector/categories/Position/PositionAdvanced.d.ts +7 -0
  204. package/dist/components/StyleInspector/categories/Position/PositionAdvanced.mjs +88 -0
  205. package/dist/components/StyleInspector/categories/Position/PositionAdvancedButtons.d.ts +7 -0
  206. package/dist/components/StyleInspector/categories/Position/PositionAdvancedButtons.mjs +132 -0
  207. package/dist/components/StyleInspector/categories/Position/PositionClear.d.ts +7 -0
  208. package/dist/components/StyleInspector/categories/Position/PositionClear.mjs +45 -0
  209. package/dist/components/StyleInspector/categories/Position/PositionFloat.d.ts +7 -0
  210. package/dist/components/StyleInspector/categories/Position/PositionFloat.mjs +38 -0
  211. package/dist/components/StyleInspector/categories/Position/index.d.ts +3 -0
  212. package/dist/components/StyleInspector/categories/Position/index.mjs +5 -0
  213. package/dist/components/StyleInspector/categories/RawStyle/RawStyle.d.ts +8 -0
  214. package/dist/components/StyleInspector/categories/RawStyle/RawStyle.mjs +27 -0
  215. package/dist/components/StyleInspector/categories/RawStyle/index.d.ts +3 -0
  216. package/dist/components/StyleInspector/categories/RawStyle/index.mjs +5 -0
  217. package/dist/components/StyleInspector/categories/Size/Size.d.ts +7 -0
  218. package/dist/components/StyleInspector/categories/Size/Size.mjs +101 -0
  219. package/dist/components/StyleInspector/categories/Size/SizeFit.d.ts +7 -0
  220. package/dist/components/StyleInspector/categories/Size/SizeFit.mjs +39 -0
  221. package/dist/components/StyleInspector/categories/Size/SizeOverflow.d.ts +7 -0
  222. package/dist/components/StyleInspector/categories/Size/SizeOverflow.mjs +49 -0
  223. package/dist/components/StyleInspector/categories/Size/SizePosition.d.ts +7 -0
  224. package/dist/components/StyleInspector/categories/Size/SizePosition.mjs +30 -0
  225. package/dist/components/StyleInspector/categories/Size/index.d.ts +3 -0
  226. package/dist/components/StyleInspector/categories/Size/index.mjs +5 -0
  227. package/dist/components/StyleInspector/categories/Spacing/Spacing.d.ts +7 -0
  228. package/dist/components/StyleInspector/categories/Spacing/Spacing.mjs +72 -0
  229. package/dist/components/StyleInspector/categories/Spacing/SpacingEditor.d.ts +8 -0
  230. package/dist/components/StyleInspector/categories/Spacing/SpacingEditor.mjs +155 -0
  231. package/dist/components/StyleInspector/categories/Spacing/SpacingMargin.d.ts +19 -0
  232. package/dist/components/StyleInspector/categories/Spacing/SpacingMargin.mjs +72 -0
  233. package/dist/components/StyleInspector/categories/Spacing/SpacingNumber.d.ts +8 -0
  234. package/dist/components/StyleInspector/categories/Spacing/SpacingNumber.mjs +17 -0
  235. package/dist/components/StyleInspector/categories/Spacing/SpacingPadding.d.ts +15 -0
  236. package/dist/components/StyleInspector/categories/Spacing/SpacingPadding.mjs +69 -0
  237. package/dist/components/StyleInspector/categories/Spacing/index.d.ts +3 -0
  238. package/dist/components/StyleInspector/categories/Spacing/index.mjs +5 -0
  239. package/dist/components/StyleInspector/categories/Typography/Typography.d.ts +11 -0
  240. package/dist/components/StyleInspector/categories/Typography/Typography.mjs +224 -0
  241. package/dist/components/StyleInspector/categories/Typography/TypographyAlign.d.ts +7 -0
  242. package/dist/components/StyleInspector/categories/Typography/TypographyAlign.mjs +41 -0
  243. package/dist/components/StyleInspector/categories/Typography/TypographyConstants.d.ts +5 -0
  244. package/dist/components/StyleInspector/categories/Typography/TypographyConstants.mjs +172 -0
  245. package/dist/components/StyleInspector/categories/Typography/TypographyFont.d.ts +10 -0
  246. package/dist/components/StyleInspector/categories/Typography/TypographyFont.mjs +22 -0
  247. package/dist/components/StyleInspector/categories/Typography/TypographyStyle.d.ts +8 -0
  248. package/dist/components/StyleInspector/categories/Typography/TypographyStyle.mjs +64 -0
  249. package/dist/components/StyleInspector/categories/Typography/TypographyTextShadow.d.ts +7 -0
  250. package/dist/components/StyleInspector/categories/Typography/TypographyTextShadow.mjs +43 -0
  251. package/dist/components/StyleInspector/categories/Typography/TypographyTextShadowItem.d.ts +8 -0
  252. package/dist/components/StyleInspector/categories/Typography/TypographyTextShadowItem.mjs +83 -0
  253. package/dist/components/StyleInspector/categories/Typography/TypographyTransform.d.ts +8 -0
  254. package/dist/components/StyleInspector/categories/Typography/TypographyTransform.mjs +68 -0
  255. package/dist/components/StyleInspector/categories/Typography/index.d.ts +3 -0
  256. package/dist/components/StyleInspector/categories/Typography/index.mjs +5 -0
  257. package/dist/components/StyleInspector/categories/Variables/Variables.d.ts +7 -0
  258. package/dist/components/StyleInspector/categories/Variables/Variables.mjs +55 -0
  259. package/dist/components/StyleInspector/categories/Variables/index.d.ts +3 -0
  260. package/dist/components/StyleInspector/categories/Variables/index.mjs +5 -0
  261. package/dist/components/StyleInspector/components/CategoryContainer/CategoryContainer.d.ts +13 -0
  262. package/dist/components/StyleInspector/components/CategoryContainer/CategoryContainer.mjs +27 -0
  263. package/dist/components/StyleInspector/components/CategoryContainer/index.d.ts +3 -0
  264. package/dist/components/StyleInspector/components/CategoryContainer/index.mjs +5 -0
  265. package/dist/components/StyleInspector/components/CategoryOption/CategoryOption.d.ts +39 -0
  266. package/dist/components/StyleInspector/components/CategoryOption/CategoryOption.mjs +30 -0
  267. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionColor.d.ts +8 -0
  268. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionColor.mjs +16 -0
  269. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionIconGroup.d.ts +15 -0
  270. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionIconGroup.mjs +27 -0
  271. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionInput.d.ts +8 -0
  272. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionInput.mjs +14 -0
  273. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionMetricInput.d.ts +18 -0
  274. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionMetricInput.mjs +69 -0
  275. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionSelect.d.ts +10 -0
  276. package/dist/components/StyleInspector/components/CategoryOption/categoryTypes/OptionSelect.mjs +13 -0
  277. package/dist/components/StyleInspector/components/CategoryOption/index.d.ts +3 -0
  278. package/dist/components/StyleInspector/components/CategoryOption/index.mjs +5 -0
  279. package/dist/components/StyleInspector/components/CategorySection/CategorySection.d.ts +12 -0
  280. package/dist/components/StyleInspector/components/CategorySection/CategorySection.mjs +18 -0
  281. package/dist/components/StyleInspector/components/CategorySection/index.d.ts +3 -0
  282. package/dist/components/StyleInspector/components/CategorySection/index.mjs +5 -0
  283. package/dist/components/StyleInspector/components/InspectorDots/InspectorDots.d.ts +6 -0
  284. package/dist/components/StyleInspector/components/InspectorDots/InspectorDots.mjs +32 -0
  285. package/dist/components/StyleInspector/components/InspectorDots/index.d.ts +3 -0
  286. package/dist/components/StyleInspector/components/InspectorDots/index.mjs +5 -0
  287. package/dist/components/StyleInspector/components/InspectorLabel/InspectorLabel.d.ts +11 -0
  288. package/dist/components/StyleInspector/components/InspectorLabel/InspectorLabel.mjs +40 -0
  289. package/dist/components/StyleInspector/components/InspectorLabel/index.d.ts +3 -0
  290. package/dist/components/StyleInspector/components/InspectorLabel/index.mjs +5 -0
  291. package/dist/components/StyleInspector/hooks/useInspectorValues.d.ts +21 -0
  292. package/dist/components/StyleInspector/hooks/useInspectorValues.mjs +55 -0
  293. package/dist/components/StyleInspector/hooks/useStyleBinding.d.ts +6 -0
  294. package/dist/components/StyleInspector/hooks/useStyleBinding.mjs +20 -0
  295. package/dist/components/StyleInspector/hooks/useStyleInherit.d.ts +12 -0
  296. package/dist/components/StyleInspector/hooks/useStyleInherit.mjs +33 -0
  297. package/dist/components/StyleInspector/index.d.ts +3 -0
  298. package/dist/components/StyleInspector/index.mjs +5 -0
  299. package/dist/components/StyleManager/ManagerSelector.d.ts +11 -0
  300. package/dist/components/StyleManager/ManagerSelector.mjs +137 -0
  301. package/dist/components/StyleManager/StyleManager.d.ts +2 -0
  302. package/dist/components/StyleManager/StyleManager.mjs +47 -0
  303. package/dist/components/StyleManager/StyleSelectorTag.d.ts +12 -0
  304. package/dist/components/StyleManager/StyleSelectorTag.mjs +43 -0
  305. package/dist/components/StyleManager/index.d.ts +3 -0
  306. package/dist/components/StyleManager/index.mjs +5 -0
  307. package/dist/components/index.d.ts +3 -0
  308. package/dist/components/index.mjs +6 -0
  309. package/dist/helpers/calculateInheriting.d.ts +121 -0
  310. package/dist/helpers/calculateInheriting.mjs +141 -0
  311. package/dist/helpers/formatCssFromSelector.d.ts +8 -0
  312. package/dist/helpers/formatCssFromSelector.mjs +54 -0
  313. package/dist/helpers/generateStyleSelector.d.ts +9 -0
  314. package/dist/helpers/generateStyleSelector.mjs +19 -0
  315. package/dist/helpers/index.d.ts +10 -0
  316. package/dist/helpers/index.mjs +18 -0
  317. package/dist/helpers/processCssTokens.d.ts +8 -0
  318. package/dist/helpers/processCssTokens.mjs +16 -0
  319. package/dist/helpers/processSelector.d.ts +4 -0
  320. package/dist/helpers/processSelector.mjs +39 -0
  321. package/dist/helpers/processSelectorAttributes.d.ts +17 -0
  322. package/dist/helpers/processSelectorAttributes.mjs +94 -0
  323. package/dist/helpers/processSelectorName.d.ts +3 -0
  324. package/dist/helpers/processSelectorName.mjs +19 -0
  325. package/dist/helpers/processSelectorVariables.d.ts +7 -0
  326. package/dist/helpers/processSelectorVariables.mjs +30 -0
  327. package/dist/index.d.ts +18 -0
  328. package/dist/index.mjs +16 -0
  329. package/dist/models/SelectorForm/SelectorForm.d.ts +21 -0
  330. package/dist/models/SelectorForm/SelectorForm.mjs +73 -0
  331. package/dist/models/SelectorForm/index.d.ts +3 -0
  332. package/dist/models/SelectorForm/index.mjs +5 -0
  333. package/package.json +849 -0
@@ -0,0 +1,41 @@
1
+ import e from "../../../components/InspectorLabel/index.mjs";
2
+ import t from "./TransitionItem.mjs";
3
+ import { useCallback as n } from "react";
4
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ import o from "@plitzi/plitzi-ui/Icon";
6
+ //#region src/components/StyleInspector/categories/Effects/Transition/Transition.tsx
7
+ var s = ({ value: s, onChange: c }) => {
8
+ let l = [];
9
+ s && s !== "" && (l = s.split(/,(?![^()]*\))/gim));
10
+ let u = (e) => (t) => {
11
+ t.stopPropagation(), t.preventDefault(), l.splice(e, 1), l.length > 0 ? c?.(l.join(",")) : c?.("");
12
+ }, d = (e) => (t) => {
13
+ t !== l[e] && (l[e] = t, c?.(l.join(",")));
14
+ }, f = n(() => {
15
+ l.length > 0 ? c?.(`${s},opacity 200ms ease 0ms`) : c?.("opacity 200ms ease 0ms");
16
+ }, [
17
+ c,
18
+ l.length,
19
+ s
20
+ ]);
21
+ return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
22
+ className: "flex justify-between",
23
+ children: [/* @__PURE__ */ i(e, {
24
+ keyValue: ["transition"],
25
+ children: "Transitions"
26
+ }), /* @__PURE__ */ i(o, {
27
+ className: "cursor-pointer",
28
+ icon: "fas fa-plus",
29
+ onClick: f
30
+ })]
31
+ }), l.length > 0 && /* @__PURE__ */ i("div", {
32
+ className: "flex flex-col",
33
+ children: l.map((e, n) => /* @__PURE__ */ i(t, {
34
+ value: e,
35
+ onChange: d(n),
36
+ onRemove: u(n)
37
+ }, n))
38
+ })] });
39
+ };
40
+ //#endregion
41
+ export { s as default };
@@ -0,0 +1,8 @@
1
+ import { MouseEvent } from 'react';
2
+ export type TransitionItemProps = {
3
+ value?: string;
4
+ onChange?: (value: string) => void;
5
+ onRemove?: (e: MouseEvent) => void;
6
+ };
7
+ declare const TransitionItem: ({ value, onRemove, onChange }: TransitionItemProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default TransitionItem;
@@ -0,0 +1,365 @@
1
+ import e from "../../../../InputEasing/index.mjs";
2
+ import t from "../../../components/InspectorLabel/index.mjs";
3
+ import n from "../../../components/CategoryOption/index.mjs";
4
+ import r from "../../../components/CategorySection/index.mjs";
5
+ import { easingGenerics as i } from "../../../../InputEasing/InputEasingHelper.mjs";
6
+ import a from "../../../../InputEasing/InputEasingList.mjs";
7
+ import { useCallback as o, useRef as s, useState as c } from "react";
8
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
9
+ import d from "@plitzi/plitzi-ui/ContainerFloating";
10
+ import f from "@plitzi/plitzi-ui/Icon";
11
+ import p from "@plitzi/plitzi-ui/Input";
12
+ import m from "@plitzi/plitzi-ui/icons/EffectsTransitionEase";
13
+ //#region src/components/StyleInspector/categories/Effects/Transition/TransitionItem.tsx
14
+ var h = ({ value: h = "", onRemove: g, onChange: _ }) => {
15
+ let [v, y] = c(0), [b, x] = c(void 0), S = () => {
16
+ if (b) {
17
+ clearInterval(b), x(void 0), y(0);
18
+ return;
19
+ }
20
+ x(setInterval(() => {
21
+ y((e) => (e + .005 <= 1 ? e += .005 : e = 0, e));
22
+ }, 10));
23
+ }, C = h.split(/ (?![^()]*\))/gim), { property: w = "opacity", duration: T = "0ms", easing: E = "ease", delay: D = "0ms" } = {};
24
+ C.length === 4 && ([w, T, E, D] = C);
25
+ let O = s({
26
+ property: w,
27
+ duration: T,
28
+ easing: E,
29
+ delay: D
30
+ });
31
+ O.current = {
32
+ property: w,
33
+ duration: T,
34
+ easing: E,
35
+ delay: D
36
+ };
37
+ let k = o((e) => (t) => {
38
+ let n = { ...O.current };
39
+ if (e === "easing" && t.includes(",")) {
40
+ let r = t.split(",");
41
+ n[e] = `cubic-bezier(${r[0]}, ${r[1]}, ${r[2]}, ${r[3]})`;
42
+ } else e === "easing" && Array.isArray(t) ? n[e] = `cubic-bezier(${t[0]}, ${t[1]}, ${t[2]}, ${t[3]})` : n[e] = t;
43
+ let { duration: r, delay: i, property: a, easing: o } = n;
44
+ console.log("called", e, o, t), _?.(`${a} ${r} ${o} ${i}`);
45
+ }, [_]), A = o((e) => k("easing")(e), [k]), j = [];
46
+ return j = E in i ? i[E] : E.match(/[0-9.]+/gim), /* @__PURE__ */ u(d, {
47
+ className: "w-full",
48
+ closeOnClick: !1,
49
+ children: [/* @__PURE__ */ u(d.Trigger, {
50
+ className: "flex w-full cursor-pointer items-center justify-between rounded-sm border border-gray-300 bg-white px-2 py-0.5 select-none hover:bg-gray-100 dark:border-zinc-600 dark:bg-zinc-800 dark:hover:bg-zinc-700/60",
51
+ children: [/* @__PURE__ */ l("div", {
52
+ className: "flex items-center",
53
+ children: `${w} ${T} after ${D}`
54
+ }), /* @__PURE__ */ l("div", {
55
+ className: "flex",
56
+ children: /* @__PURE__ */ l(f, {
57
+ size: "xs",
58
+ icon: "fas fa-trash-alt",
59
+ onClick: g,
60
+ intent: "danger",
61
+ title: "Remove"
62
+ })
63
+ })]
64
+ }), /* @__PURE__ */ l(d.Content, {
65
+ className: "w-[260px]",
66
+ children: /* @__PURE__ */ u("div", {
67
+ className: "flex w-full flex-col gap-2 p-2",
68
+ children: [
69
+ /* @__PURE__ */ l(r, {
70
+ label: "Property",
71
+ children: /* @__PURE__ */ u(n, {
72
+ onChange: k("property"),
73
+ type: "select",
74
+ value: w,
75
+ children: [
76
+ /* @__PURE__ */ u("optgroup", {
77
+ label: "Common",
78
+ children: [
79
+ /* @__PURE__ */ l("option", {
80
+ value: "opacity",
81
+ children: "Opacity"
82
+ }),
83
+ /* @__PURE__ */ l("option", {
84
+ value: "margin",
85
+ children: "Margin"
86
+ }),
87
+ /* @__PURE__ */ l("option", {
88
+ value: "padding",
89
+ children: "Padding"
90
+ }),
91
+ /* @__PURE__ */ l("option", {
92
+ value: "border",
93
+ children: "Border"
94
+ }),
95
+ /* @__PURE__ */ l("option", {
96
+ value: "transform",
97
+ children: "Transform"
98
+ }),
99
+ /* @__PURE__ */ l("option", {
100
+ value: "filter",
101
+ children: "Filter"
102
+ }),
103
+ /* @__PURE__ */ l("option", {
104
+ value: "flex",
105
+ children: "Flex"
106
+ })
107
+ ]
108
+ }),
109
+ /* @__PURE__ */ u("optgroup", {
110
+ label: "Background",
111
+ children: [
112
+ /* @__PURE__ */ l("option", {
113
+ value: "background-color",
114
+ children: "Background Color"
115
+ }),
116
+ /* @__PURE__ */ l("option", {
117
+ value: "background-position",
118
+ children: "Background Position"
119
+ }),
120
+ /* @__PURE__ */ l("option", {
121
+ value: "text-shadow",
122
+ children: "Text Shadow"
123
+ }),
124
+ /* @__PURE__ */ l("option", {
125
+ value: "box-shadow",
126
+ children: "Box Shadow"
127
+ })
128
+ ]
129
+ }),
130
+ /* @__PURE__ */ u("optgroup", {
131
+ label: "Size",
132
+ children: [
133
+ /* @__PURE__ */ l("option", {
134
+ value: "width",
135
+ children: "Width"
136
+ }),
137
+ /* @__PURE__ */ l("option", {
138
+ value: "height",
139
+ children: "Height"
140
+ }),
141
+ /* @__PURE__ */ l("option", {
142
+ value: "max-width",
143
+ children: "Max Width"
144
+ }),
145
+ /* @__PURE__ */ l("option", {
146
+ value: "max-height",
147
+ children: "Max Height"
148
+ }),
149
+ /* @__PURE__ */ l("option", {
150
+ value: "min-width",
151
+ children: "Min Width"
152
+ }),
153
+ /* @__PURE__ */ l("option", {
154
+ value: "min-height",
155
+ children: "Min Height"
156
+ })
157
+ ]
158
+ }),
159
+ /* @__PURE__ */ u("optgroup", {
160
+ label: "Borders",
161
+ children: [
162
+ /* @__PURE__ */ l("option", {
163
+ value: "border-radius",
164
+ children: "Border Radius"
165
+ }),
166
+ /* @__PURE__ */ l("option", {
167
+ value: "border-color",
168
+ children: "Border Color"
169
+ }),
170
+ /* @__PURE__ */ l("option", {
171
+ value: "border-width",
172
+ children: "Border Width"
173
+ })
174
+ ]
175
+ }),
176
+ /* @__PURE__ */ u("optgroup", {
177
+ label: "Typography",
178
+ children: [
179
+ /* @__PURE__ */ l("option", {
180
+ value: "font-color",
181
+ children: "Font Color"
182
+ }),
183
+ /* @__PURE__ */ l("option", {
184
+ value: "font-size",
185
+ children: "Font Size"
186
+ }),
187
+ /* @__PURE__ */ l("option", {
188
+ value: "line-height",
189
+ children: "Line Height"
190
+ }),
191
+ /* @__PURE__ */ l("option", {
192
+ value: "letter-spacing",
193
+ children: "Letter Spacing"
194
+ }),
195
+ /* @__PURE__ */ l("option", {
196
+ value: "text-indent",
197
+ children: "Text Indent"
198
+ }),
199
+ /* @__PURE__ */ l("option", {
200
+ value: "word-spacing",
201
+ children: "Word Spacing"
202
+ })
203
+ ]
204
+ }),
205
+ /* @__PURE__ */ u("optgroup", {
206
+ label: "Position",
207
+ children: [
208
+ /* @__PURE__ */ l("option", {
209
+ value: "top",
210
+ children: "Top"
211
+ }),
212
+ /* @__PURE__ */ l("option", {
213
+ value: "left",
214
+ children: "Left"
215
+ }),
216
+ /* @__PURE__ */ l("option", {
217
+ value: "bottom",
218
+ children: "Bottom"
219
+ }),
220
+ /* @__PURE__ */ l("option", {
221
+ value: "right",
222
+ children: "Right"
223
+ }),
224
+ /* @__PURE__ */ l("option", {
225
+ value: "z-index",
226
+ children: "Z Index"
227
+ })
228
+ ]
229
+ }),
230
+ /* @__PURE__ */ u("optgroup", {
231
+ label: "Margin",
232
+ children: [
233
+ /* @__PURE__ */ l("option", {
234
+ value: "margin-bottom",
235
+ children: "Margin Bottom"
236
+ }),
237
+ /* @__PURE__ */ l("option", {
238
+ value: "margin-left",
239
+ children: "Margin Left"
240
+ }),
241
+ /* @__PURE__ */ l("option", {
242
+ value: "margin-right",
243
+ children: "Margin RIght"
244
+ }),
245
+ /* @__PURE__ */ l("option", {
246
+ value: "margin-top",
247
+ children: "Margin Top"
248
+ })
249
+ ]
250
+ }),
251
+ /* @__PURE__ */ u("optgroup", {
252
+ label: "Padding",
253
+ children: [
254
+ /* @__PURE__ */ l("option", {
255
+ value: "padding-bottom",
256
+ children: "Padding Bottom"
257
+ }),
258
+ /* @__PURE__ */ l("option", {
259
+ value: "padding-left",
260
+ children: "Padding Left"
261
+ }),
262
+ /* @__PURE__ */ l("option", {
263
+ value: "padding-right",
264
+ children: "Padding Right"
265
+ }),
266
+ /* @__PURE__ */ l("option", {
267
+ value: "padding-top",
268
+ children: "Padding Top"
269
+ })
270
+ ]
271
+ }),
272
+ /* @__PURE__ */ u("optgroup", {
273
+ label: "Flex",
274
+ children: [
275
+ /* @__PURE__ */ l("option", {
276
+ value: "flex-grow",
277
+ children: "Flex Grow"
278
+ }),
279
+ /* @__PURE__ */ l("option", {
280
+ value: "flex-shrink",
281
+ children: "Flex Shrink"
282
+ }),
283
+ /* @__PURE__ */ l("option", {
284
+ value: "flex-basis",
285
+ children: "Flex Basis"
286
+ })
287
+ ]
288
+ }),
289
+ /* @__PURE__ */ l("optgroup", {
290
+ label: "Advanced",
291
+ children: /* @__PURE__ */ l("option", {
292
+ value: "all",
293
+ children: "All Properties"
294
+ })
295
+ })
296
+ ]
297
+ })
298
+ }),
299
+ /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ l(n, {
300
+ label: "Duration",
301
+ value: T,
302
+ onChange: k("duration"),
303
+ type: "metric",
304
+ units: [{
305
+ label: "MS",
306
+ value: "ms"
307
+ }],
308
+ min: 0
309
+ }), /* @__PURE__ */ l(n, {
310
+ label: "Delay",
311
+ value: D,
312
+ onChange: k("delay"),
313
+ type: "metric",
314
+ units: [{
315
+ label: "MS",
316
+ value: "ms"
317
+ }],
318
+ min: 0
319
+ })] }),
320
+ /* @__PURE__ */ u(r, {
321
+ label: "Easing",
322
+ children: [/* @__PURE__ */ u(d, {
323
+ containerLeftOffset: -92,
324
+ containerTopOffset: 154,
325
+ closeOnClick: !1,
326
+ children: [/* @__PURE__ */ l(d.Trigger, { children: /* @__PURE__ */ l(f, {
327
+ className: "rounded-sm border border-gray-300 p-0.5 dark:border-zinc-600",
328
+ size: "xl",
329
+ children: /* @__PURE__ */ l(m, {})
330
+ }) }), /* @__PURE__ */ u(d.Content, {
331
+ className: "flex h-[456px] w-[260px] flex-col items-center overflow-y-auto",
332
+ children: [/* @__PURE__ */ l(a, {
333
+ className: "w-[260px]",
334
+ onChange: k("easing")
335
+ }), /* @__PURE__ */ u("div", {
336
+ className: "m-2 flex flex-col",
337
+ children: [/* @__PURE__ */ u("div", {
338
+ className: "flex",
339
+ onClick: S,
340
+ children: [/* @__PURE__ */ l(f, { icon: b ? "fas fa-pause" : "fas fa-play" }), /* @__PURE__ */ l(t, { children: b ? "Pause" : "Play" })]
341
+ }), /* @__PURE__ */ l(e, {
342
+ value: j,
343
+ progress: v,
344
+ height: 200,
345
+ width: 200,
346
+ handleRadius: 6
347
+ })]
348
+ })]
349
+ })]
350
+ }), /* @__PURE__ */ l(p, {
351
+ className: "w-full grow",
352
+ type: "text",
353
+ size: "xs",
354
+ value: j.toString(),
355
+ readOnly: !0,
356
+ onChange: A
357
+ })]
358
+ })
359
+ ]
360
+ })
361
+ })]
362
+ });
363
+ };
364
+ //#endregion
365
+ export { h as default };
@@ -0,0 +1,3 @@
1
+ import { default as Transition } from './Transition';
2
+ export * from './Transition';
3
+ export default Transition;
@@ -0,0 +1,5 @@
1
+ import e from "./Transition.mjs";
2
+ //#region src/components/StyleInspector/categories/Effects/Transition/index.ts
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,3 @@
1
+ import { default as Effects } from './Effects';
2
+ export * from './Effects';
3
+ export default Effects;
@@ -0,0 +1,5 @@
1
+ import e from "./Effects.mjs";
2
+ //#region src/components/StyleInspector/categories/Effects/index.ts
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ export type ListProps = {
2
+ replaceTokens?: boolean;
3
+ isCollapsed?: boolean;
4
+ onCollapse?: (category: string, isCollapsed: boolean) => void;
5
+ };
6
+ declare const _default: import('react').MemoExoticComponent<({ replaceTokens, isCollapsed, onCollapse }: ListProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export default _default;
@@ -0,0 +1,82 @@
1
+ import e from "../../StyleInspectorContext.mjs";
2
+ import t from "../../hooks/useInspectorValues.mjs";
3
+ import n from "../../components/CategoryOption/index.mjs";
4
+ import r from "../../components/CategorySection/index.mjs";
5
+ import i from "../../components/CategoryContainer/index.mjs";
6
+ import { memo as a, use as o, useCallback as s, useMemo as c } from "react";
7
+ import { jsx as l } from "react/jsx-runtime";
8
+ import u from "@plitzi/plitzi-ui/icons/XMark";
9
+ import d from "@plitzi/plitzi-ui/icons/ListCircles";
10
+ import f from "@plitzi/plitzi-ui/icons/ListDots";
11
+ import p from "@plitzi/plitzi-ui/icons/ListLetters";
12
+ import m from "@plitzi/plitzi-ui/icons/ListNumbers";
13
+ import h from "@plitzi/plitzi-ui/icons/ListRoman";
14
+ import g from "@plitzi/plitzi-ui/icons/ListSquares";
15
+ //#region src/components/StyleInspector/categories/List/List.tsx
16
+ var _ = "none", v = "circle", y = "decimal", b = "disc", x = "square", S = "lower-alpha", C = "lower-roman", w = ["list-style"], T = a(({ replaceTokens: a = !1, isCollapsed: T = !0, onCollapse: E }) => {
17
+ let { setValue: D } = o(e), { "list-style": O } = t({
18
+ keys: w,
19
+ asValue: !0,
20
+ replaceTokens: a
21
+ });
22
+ return /* @__PURE__ */ l(i, {
23
+ title: "List",
24
+ dotKeys: w,
25
+ isCollapsed: T,
26
+ onCollapse: s((e) => E?.("list", e), [E]),
27
+ children: /* @__PURE__ */ l(r, {
28
+ keys: w,
29
+ label: "Style",
30
+ children: /* @__PURE__ */ l(n, {
31
+ onChange: s((e) => D("list-style", e), [D]),
32
+ type: "iconGroup",
33
+ items: c(() => [
34
+ {
35
+ value: _,
36
+ icon: /* @__PURE__ */ l(u, {}),
37
+ description: "",
38
+ active: O === _
39
+ },
40
+ {
41
+ value: b,
42
+ icon: /* @__PURE__ */ l(f, {}),
43
+ description: "",
44
+ active: O === b
45
+ },
46
+ {
47
+ value: v,
48
+ icon: /* @__PURE__ */ l(d, {}),
49
+ description: "",
50
+ active: O === v
51
+ },
52
+ {
53
+ value: x,
54
+ icon: /* @__PURE__ */ l(g, {}),
55
+ description: "",
56
+ active: O === x
57
+ },
58
+ {
59
+ value: y,
60
+ icon: /* @__PURE__ */ l(m, {}),
61
+ description: "",
62
+ active: O === y
63
+ },
64
+ {
65
+ value: S,
66
+ icon: /* @__PURE__ */ l(p, {}),
67
+ description: "",
68
+ active: O === S
69
+ },
70
+ {
71
+ value: C,
72
+ icon: /* @__PURE__ */ l(h, {}),
73
+ description: "",
74
+ active: O === C
75
+ }
76
+ ], [O])
77
+ })
78
+ })
79
+ });
80
+ });
81
+ //#endregion
82
+ export { T as default };
@@ -0,0 +1,3 @@
1
+ import { default as List } from './List';
2
+ export * from './List';
3
+ export default List;
@@ -0,0 +1,5 @@
1
+ import e from "./List.mjs";
2
+ //#region src/components/StyleInspector/categories/List/index.ts
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ export type ListItemProps = {
2
+ replaceTokens?: boolean;
3
+ isCollapsed?: boolean;
4
+ onCollapse?: (category: string, isCollapsed: boolean) => void;
5
+ };
6
+ declare const _default: import('react').MemoExoticComponent<({ replaceTokens, isCollapsed, onCollapse }: ListItemProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export default _default;
@@ -0,0 +1,82 @@
1
+ import e from "../../StyleInspectorContext.mjs";
2
+ import t from "../../hooks/useInspectorValues.mjs";
3
+ import n from "../../components/CategoryOption/index.mjs";
4
+ import r from "../../components/CategorySection/index.mjs";
5
+ import i from "../../components/CategoryContainer/index.mjs";
6
+ import { memo as a, use as o, useCallback as s, useMemo as c } from "react";
7
+ import { jsx as l } from "react/jsx-runtime";
8
+ import u from "@plitzi/plitzi-ui/icons/XMark";
9
+ import d from "@plitzi/plitzi-ui/icons/ListCircles";
10
+ import f from "@plitzi/plitzi-ui/icons/ListDots";
11
+ import p from "@plitzi/plitzi-ui/icons/ListLetters";
12
+ import m from "@plitzi/plitzi-ui/icons/ListNumbers";
13
+ import h from "@plitzi/plitzi-ui/icons/ListRoman";
14
+ import g from "@plitzi/plitzi-ui/icons/ListSquares";
15
+ //#region src/components/StyleInspector/categories/ListItem/ListItem.tsx
16
+ var _ = ["list-style-type"], v = a(({ replaceTokens: a = !1, isCollapsed: v = !0, onCollapse: y }) => {
17
+ let { setValue: b } = o(e), { "list-style-type": x } = t({
18
+ keys: _,
19
+ asValue: !0,
20
+ replaceTokens: a
21
+ });
22
+ return /* @__PURE__ */ l(i, {
23
+ title: "List Item",
24
+ dotKeys: _,
25
+ isCollapsed: v,
26
+ onCollapse: s((e) => y?.("listItem", e), [y]),
27
+ children: /* @__PURE__ */ l(r, {
28
+ keys: _,
29
+ label: "Style",
30
+ children: /* @__PURE__ */ l(n, {
31
+ onChange: s((e) => b("list-style-type", e), [b]),
32
+ type: "iconGroup",
33
+ items: c(() => [
34
+ {
35
+ value: "none",
36
+ icon: /* @__PURE__ */ l(u, {}),
37
+ description: "",
38
+ active: x === "none"
39
+ },
40
+ {
41
+ value: "disc",
42
+ icon: /* @__PURE__ */ l(f, {}),
43
+ description: "",
44
+ active: x === "disc"
45
+ },
46
+ {
47
+ value: "circle",
48
+ icon: /* @__PURE__ */ l(d, {}),
49
+ description: "",
50
+ active: x === "circle"
51
+ },
52
+ {
53
+ value: "square",
54
+ icon: /* @__PURE__ */ l(g, {}),
55
+ description: "",
56
+ active: x === "square"
57
+ },
58
+ {
59
+ value: "decimal",
60
+ icon: /* @__PURE__ */ l(m, {}),
61
+ description: "",
62
+ active: x === "decimal"
63
+ },
64
+ {
65
+ value: "lower-alpha",
66
+ icon: /* @__PURE__ */ l(p, {}),
67
+ description: "",
68
+ active: x === "lower-alpha"
69
+ },
70
+ {
71
+ value: "lower-roman",
72
+ icon: /* @__PURE__ */ l(h, {}),
73
+ description: "",
74
+ active: x === "lower-roman"
75
+ }
76
+ ], [x])
77
+ })
78
+ })
79
+ });
80
+ });
81
+ //#endregion
82
+ export { v as default };
@@ -0,0 +1,3 @@
1
+ import { default as ListItem } from './ListItem';
2
+ export * from './ListItem';
3
+ export default ListItem;
@@ -0,0 +1,5 @@
1
+ import e from "./ListItem.mjs";
2
+ //#region src/components/StyleInspector/categories/ListItem/index.ts
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ export type PositionProps = {
2
+ replaceTokens?: boolean;
3
+ isCollapsed?: boolean;
4
+ onCollapse?: (category: string, isCollapsed: boolean) => void;
5
+ };
6
+ declare const _default: import('react').MemoExoticComponent<({ replaceTokens, isCollapsed, onCollapse }: PositionProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export default _default;