app-studio 0.8.0 → 0.8.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.
- package/README.md +76 -32
- package/dist/web/app-studio.umd.production.min.global.js +3 -3
- package/dist/web/app-studio.umd.production.min.global.js.map +1 -1
- package/dist/web/index.cjs +41 -5
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.d.mts +28 -0
- package/dist/web/index.d.ts +28 -0
- package/dist/web/index.js +41 -5
- package/dist/web/index.js.map +1 -1
- package/docs/Animation.md +2 -0
- package/docs/Components.md +12 -0
- package/docs/Design.md +2 -0
- package/docs/Events.md +2 -0
- package/docs/Hooks.md +2 -0
- package/docs/IframeSupport.md +2 -0
- package/docs/Native.md +428 -0
- package/docs/Providers.md +2 -0
- package/docs/README.md +4 -1
- package/docs/Responsive.md +2 -0
- package/docs/Styling.md +2 -0
- package/docs/Theming.md +53 -0
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -1832,7 +1832,15 @@ var excludedKeys = /* @__PURE__ */ new Set([
|
|
|
1832
1832
|
"_firstLine",
|
|
1833
1833
|
"_selection",
|
|
1834
1834
|
"_backdrop",
|
|
1835
|
-
"_marker"
|
|
1835
|
+
"_marker",
|
|
1836
|
+
// Browser-specific pseudo-classes for form-control polish
|
|
1837
|
+
"_webkitAutofill",
|
|
1838
|
+
"_webkitContactsAutoFillButton",
|
|
1839
|
+
"_webkitInnerSpinButton",
|
|
1840
|
+
"_webkitOuterSpinButton",
|
|
1841
|
+
"_webkitSearchCancelButton",
|
|
1842
|
+
"_mozPlaceholder",
|
|
1843
|
+
"_mozFocusInner"
|
|
1836
1844
|
// Add more styling props here if needed
|
|
1837
1845
|
]);
|
|
1838
1846
|
var extraKeys = /* @__PURE__ */ new Set([
|
|
@@ -2616,6 +2624,14 @@ var EVENT_TO_PSEUDO = {
|
|
|
2616
2624
|
selection: "selection",
|
|
2617
2625
|
backdrop: "backdrop",
|
|
2618
2626
|
marker: "marker",
|
|
2627
|
+
// Browser-specific pseudo-classes for form-control polish
|
|
2628
|
+
webkitAutofill: "-webkit-autofill",
|
|
2629
|
+
webkitContactsAutoFillButton: "-webkit-contacts-auto-fill-button",
|
|
2630
|
+
webkitInnerSpinButton: "-webkit-inner-spin-button",
|
|
2631
|
+
webkitOuterSpinButton: "-webkit-outer-spin-button",
|
|
2632
|
+
webkitSearchCancelButton: "-webkit-search-cancel-button",
|
|
2633
|
+
mozPlaceholder: "-moz-placeholder",
|
|
2634
|
+
mozFocusInner: "-moz-focus-inner",
|
|
2619
2635
|
// Group modifiers
|
|
2620
2636
|
groupHover: "group-hover",
|
|
2621
2637
|
groupFocus: "group-focus",
|
|
@@ -2628,6 +2644,25 @@ var EVENT_TO_PSEUDO = {
|
|
|
2628
2644
|
peerDisabled: "peer-disabled",
|
|
2629
2645
|
peerChecked: "peer-checked"
|
|
2630
2646
|
};
|
|
2647
|
+
var PSEUDO_ELEMENTS = /* @__PURE__ */ new Set([
|
|
2648
|
+
"before",
|
|
2649
|
+
"after",
|
|
2650
|
+
"first-letter",
|
|
2651
|
+
"first-line",
|
|
2652
|
+
"placeholder",
|
|
2653
|
+
"selection",
|
|
2654
|
+
"backdrop",
|
|
2655
|
+
"marker",
|
|
2656
|
+
"-moz-placeholder",
|
|
2657
|
+
"-moz-focus-inner",
|
|
2658
|
+
"-webkit-contacts-auto-fill-button",
|
|
2659
|
+
"-webkit-inner-spin-button",
|
|
2660
|
+
"-webkit-outer-spin-button",
|
|
2661
|
+
"-webkit-search-cancel-button"
|
|
2662
|
+
]);
|
|
2663
|
+
var isPseudoElement = (pseudo) => PSEUDO_ELEMENTS.has(pseudo);
|
|
2664
|
+
var pseudoPrefix = (pseudo) => isPseudoElement(pseudo) ? "::" : ":";
|
|
2665
|
+
var buildPseudoSelector = (chain) => chain.split("::").filter(Boolean).map((part) => `${pseudoPrefix(part)}${part}`).join("");
|
|
2631
2666
|
var AnimationUtils = {
|
|
2632
2667
|
parseDuration(duration) {
|
|
2633
2668
|
const match = duration.match(/^([\d.]+)(ms|s)$/);
|
|
@@ -2900,9 +2935,10 @@ var UtilityClassManager = class {
|
|
|
2900
2935
|
});
|
|
2901
2936
|
});
|
|
2902
2937
|
} else {
|
|
2938
|
+
const colon = pseudoPrefix(modifier);
|
|
2903
2939
|
cssProperties2.forEach((prefixedProperty) => {
|
|
2904
2940
|
rules.push({
|
|
2905
|
-
rule: `.${escapedClassName}
|
|
2941
|
+
rule: `.${escapedClassName}${colon}${modifier} { ${prefixedProperty}: ${valueForCss}; }`,
|
|
2906
2942
|
context: "pseudo"
|
|
2907
2943
|
});
|
|
2908
2944
|
});
|
|
@@ -3122,9 +3158,9 @@ function processPseudoStyles(styles, parentPseudo = "", getColor, manager) {
|
|
|
3122
3158
|
)}-${parentPseudo.replace(/:/g, "-")}`;
|
|
3123
3159
|
const escapedClassName = pseudoClassName.replace(/[^\w-]/g, "-");
|
|
3124
3160
|
const processedValue = ValueUtils.formatValue(value, key, getColor);
|
|
3125
|
-
const rule = `.${escapedClassName}
|
|
3126
|
-
|
|
3127
|
-
)}: ${processedValue}; }`;
|
|
3161
|
+
const rule = `.${escapedClassName}${buildPseudoSelector(
|
|
3162
|
+
parentPseudo
|
|
3163
|
+
)} { ${propertyToKebabCase(key)}: ${processedValue}; }`;
|
|
3128
3164
|
(manager || utilityClassManager).injectRule(rule, "pseudo");
|
|
3129
3165
|
classes.push(escapedClassName);
|
|
3130
3166
|
}
|